From e74dff54056aafec5fde56f8275d96d5871823ec Mon Sep 17 00:00:00 2001 From: fwx5618177 <279357596@qq.com> Date: Sun, 12 Jan 2025 17:16:49 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20fwx56181?= =?UTF-8?q?77/minerva@e35182267ff95caa2b9263e8b2887214cdcd3d42=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 659 ++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 525 insertions(+), 134 deletions(-) diff --git a/index.js b/index.js index 8c19414..03a700a 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -var gg=Object.defineProperty;var xg=(e,t,r)=>t in e?gg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var cp=(e,t,r)=>xg(e,typeof t!="symbol"?t+"":t,r);function E1(e,t){for(var r=0;ri[s]})}}}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 s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function r(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(s){if(s.ep)return;s.ep=!0;const a=r(s);fetch(s.href,a)}})();var dp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var I1={exports:{}},bl={},R1={exports:{}},Re={};/** +var f2=Object.defineProperty;var g2=(e,t,r)=>t in e?f2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Up=(e,t,r)=>g2(e,typeof t!="symbol"?t+"":t,r);function ym(e,t){for(var r=0;ri[s]})}}}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 s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function r(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(s){if(s.ep)return;s.ep=!0;const a=r(s);fetch(s.href,a)}})();var Hp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Cu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var bm={exports:{}},ql={},wm={exports:{}},Ae={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var gg=Object.defineProperty;var xg=(e,t,r)=>t in e?gg(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 Ta=Symbol.for("react.element"),vg=Symbol.for("react.portal"),jg=Symbol.for("react.fragment"),_g=Symbol.for("react.strict_mode"),yg=Symbol.for("react.profiler"),bg=Symbol.for("react.provider"),wg=Symbol.for("react.context"),Cg=Symbol.for("react.forward_ref"),kg=Symbol.for("react.suspense"),Sg=Symbol.for("react.memo"),Ng=Symbol.for("react.lazy"),up=Symbol.iterator;function zg(e){return e===null||typeof e!="object"?null:(e=up&&e[up]||e["@@iterator"],typeof e=="function"?e:null)}var P1={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A1=Object.assign,M1={};function Cs(e,t,r){this.props=e,this.context=t,this.refs=M1,this.updater=r||P1}Cs.prototype.isReactComponent={};Cs.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")};Cs.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function T1(){}T1.prototype=Cs.prototype;function Jd(e,t,r){this.props=e,this.context=t,this.refs=M1,this.updater=r||P1}var Yd=Jd.prototype=new T1;Yd.constructor=Jd;A1(Yd,Cs.prototype);Yd.isPureReactComponent=!0;var pp=Array.isArray,F1=Object.prototype.hasOwnProperty,Xd={current:null},B1={key:!0,ref:!0,__self:!0,__source:!0};function O1(e,t,r){var i,s={},a=null,o=null;if(t!=null)for(i in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)F1.call(t,i)&&!B1.hasOwnProperty(i)&&(s[i]=t[i]);var l=arguments.length-2;if(l===1)s.children=r;else if(1t in e?gg(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 Pg=y,Ag=Symbol.for("react.element"),Mg=Symbol.for("react.fragment"),Tg=Object.prototype.hasOwnProperty,Fg=Pg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Bg={key:!0,ref:!0,__self:!0,__source:!0};function U1(e,t,r){var i,s={},a=null,o=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(o=t.ref);for(i in t)Tg.call(t,i)&&!Bg.hasOwnProperty(i)&&(s[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps,t)s[i]===void 0&&(s[i]=t[i]);return{$$typeof:Ag,type:e,key:a,ref:o,props:s,_owner:Fg.current}}bl.Fragment=Mg;bl.jsx=U1;bl.jsxs=U1;I1.exports=bl;var n=I1.exports,H1={exports:{}},kn={},W1={exports:{}},q1={};/** + */var A2=y,I2=Symbol.for("react.element"),P2=Symbol.for("react.fragment"),M2=Object.prototype.hasOwnProperty,B2=A2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,T2={key:!0,ref:!0,__self:!0,__source:!0};function Rm(e,t,r){var i,s={},a=null,o=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(o=t.ref);for(i in t)M2.call(t,i)&&!T2.hasOwnProperty(i)&&(s[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps,t)s[i]===void 0&&(s[i]=t[i]);return{$$typeof:I2,type:e,key:a,ref:o,props:s,_owner:B2.current}}ql.Fragment=P2;ql.jsx=Rm;ql.jsxs=Rm;bm.exports=ql;var n=bm.exports,Am={exports:{}},Sn={},Im={exports:{}},Pm={};/** * @license React * scheduler.production.min.js * @@ -22,7 +22,7 @@ var gg=Object.defineProperty;var xg=(e,t,r)=>t in e?gg(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. - */(function(e){function t(R,M){var T=R.length;R.push(M);e:for(;0>>1,X=R[J];if(0>>1;Js(de,T))Nes(Ke,de)?(R[J]=Ke,R[Ne]=T,J=Ne):(R[J]=de,R[K]=T,J=K);else if(Nes(Ke,T))R[J]=Ke,R[Ne]=T,J=Ne;else break e}}return M}function s(R,M){var T=R.sortIndex-M.sortIndex;return T!==0?T:R.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var c=[],u=[],p=1,m=null,h=3,x=!1,_=!1,b=!1,k=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(R){for(var M=r(u);M!==null;){if(M.callback===null)i(u);else if(M.startTime<=R)i(u),M.sortIndex=M.expirationTime,t(c,M);else break;M=r(u)}}function v(R){if(b=!1,f(R),!_)if(r(c)!==null)_=!0,G(w);else{var M=r(u);M!==null&&ee(v,M.startTime-R)}}function w(R,M){_=!1,b&&(b=!1,j(S),S=-1),x=!0;var T=h;try{for(f(M),m=r(c);m!==null&&(!(m.expirationTime>M)||R&&!O());){var J=m.callback;if(typeof J=="function"){m.callback=null,h=m.priorityLevel;var X=J(m.expirationTime<=M);M=e.unstable_now(),typeof X=="function"?m.callback=X:m===r(c)&&i(c),f(M)}else i(c);m=r(c)}if(m!==null)var Ae=!0;else{var K=r(u);K!==null&&ee(v,K.startTime-M),Ae=!1}return Ae}finally{m=null,h=T,x=!1}}var g=!1,N=null,S=-1,L=5,E=-1;function O(){return!(e.unstable_now()-ER||125J?(R.sortIndex=T,t(u,R),r(c)===null&&R===r(u)&&(b?(j(S),S=-1):b=!0,ee(v,T-J))):(R.sortIndex=X,t(c,R),_||x||(_=!0,G(w))),R},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(R){var M=h;return function(){var T=h;h=M;try{return R.apply(this,arguments)}finally{h=T}}}})(q1);W1.exports=q1;var Og=W1.exports;/** + */(function(e){function t(A,M){var B=A.length;A.push(M);e:for(;0>>1,X=A[Y];if(0>>1;Ys(ue,B))zes(Ke,ue)?(A[Y]=Ke,A[ze]=B,Y=ze):(A[Y]=ue,A[K]=B,Y=K);else if(zes(Ke,B))A[Y]=Ke,A[ze]=B,Y=ze;else break e}}return M}function s(A,M){var B=A.sortIndex-M.sortIndex;return B!==0?B:A.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var c=[],d=[],p=1,h=null,m=3,g=!1,j=!1,b=!1,k=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,u=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(A){for(var M=r(d);M!==null;){if(M.callback===null)i(d);else if(M.startTime<=A)i(d),M.sortIndex=M.expirationTime,t(c,M);else break;M=r(d)}}function v(A){if(b=!1,f(A),!j)if(r(c)!==null)j=!0,G(w);else{var M=r(d);M!==null&&ee(v,M.startTime-A)}}function w(A,M){j=!1,b&&(b=!1,_(S),S=-1),g=!0;var B=m;try{for(f(M),h=r(c);h!==null&&(!(h.expirationTime>M)||A&&!F());){var Y=h.callback;if(typeof Y=="function"){h.callback=null,m=h.priorityLevel;var X=Y(h.expirationTime<=M);M=e.unstable_now(),typeof X=="function"?h.callback=X:h===r(c)&&i(c),f(M)}else i(c);h=r(c)}if(h!==null)var Pe=!0;else{var K=r(d);K!==null&&ee(v,K.startTime-M),Pe=!1}return Pe}finally{h=null,m=B,g=!1}}var x=!1,N=null,S=-1,E=5,L=-1;function F(){return!(e.unstable_now()-LA||125Y?(A.sortIndex=B,t(d,A),r(c)===null&&A===r(d)&&(b?(_(S),S=-1):b=!0,ee(v,B-Y))):(A.sortIndex=X,t(c,A),j||g||(j=!0,G(w))),A},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(A){var M=m;return function(){var B=m;m=M;try{return A.apply(this,arguments)}finally{m=B}}}})(Pm);Im.exports=Pm;var O2=Im.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,337 @@ var gg=Object.defineProperty;var xg=(e,t,r)=>t in e?gg(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 Dg=y,Cn=Og;function W(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hc=Object.prototype.hasOwnProperty,Ug=/^[: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]*$/,mp={},fp={};function Hg(e){return Hc.call(fp,e)?!0:Hc.call(mp,e)?!1:Ug.test(e)?fp[e]=!0:(mp[e]=!0,!1)}function Wg(e,t,r,i){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return i?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function qg(e,t,r,i){if(t===null||typeof t>"u"||Wg(e,t,r,i))return!0;if(i)return!1;if(r!==null)switch(r.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 on(e,t,r,i,s,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=i,this.attributeNamespace=s,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var qt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){qt[e]=new on(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];qt[t]=new on(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){qt[e]=new on(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){qt[e]=new on(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){qt[e]=new on(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){qt[e]=new on(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){qt[e]=new on(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){qt[e]=new on(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){qt[e]=new on(e,5,!1,e.toLowerCase(),null,!1,!1)});var eu=/[\-:]([a-z])/g;function tu(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(eu,tu);qt[t]=new on(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(eu,tu);qt[t]=new on(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(eu,tu);qt[t]=new on(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){qt[e]=new on(e,1,!1,e.toLowerCase(),null,!1,!1)});qt.xlinkHref=new on("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){qt[e]=new on(e,1,!1,e.toLowerCase(),null,!0,!0)});function nu(e,t,r,i){var s=qt.hasOwnProperty(t)?qt[t]:null;(s!==null?s.type!==0:i||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vd=Object.prototype.hasOwnProperty,D2=/^[: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]*$/,Kp={},Gp={};function U2(e){return vd.call(Gp,e)?!0:vd.call(Kp,e)?!1:D2.test(e)?Gp[e]=!0:(Kp[e]=!0,!1)}function H2(e,t,r,i){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return i?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function W2(e,t,r,i){if(t===null||typeof t>"u"||H2(e,t,r,i))return!0;if(i)return!1;if(r!==null)switch(r.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 ln(e,t,r,i,s,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=i,this.attributeNamespace=s,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var Vt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Vt[e]=new ln(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Vt[t]=new ln(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Vt[e]=new ln(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Vt[e]=new ln(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){Vt[e]=new ln(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Vt[e]=new ln(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Vt[e]=new ln(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Vt[e]=new ln(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Vt[e]=new ln(e,5,!1,e.toLowerCase(),null,!1,!1)});var zu=/[\-:]([a-z])/g;function Eu(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(zu,Eu);Vt[t]=new ln(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(zu,Eu);Vt[t]=new ln(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(zu,Eu);Vt[t]=new ln(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Vt[e]=new ln(e,1,!1,e.toLowerCase(),null,!1,!1)});Vt.xlinkHref=new ln("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Vt[e]=new ln(e,1,!1,e.toLowerCase(),null,!0,!0)});function Lu(e,t,r,i){var s=Vt.hasOwnProperty(t)?Vt[t]:null;(s!==null?s.type!==0:i||!(2l||s[o]!==a[l]){var c=` -`+s[o].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=o&&0<=l);break}}}finally{Xl=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Ys(e):""}function Vg(e){switch(e.tag){case 5:return Ys(e.type);case 16:return Ys("Lazy");case 13:return Ys("Suspense");case 19:return Ys("SuspenseList");case 0:case 2:case 15:return e=Zl(e.type,!1),e;case 11:return e=Zl(e.type.render,!1),e;case 1:return e=Zl(e.type,!0),e;default:return""}}function Kc(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 Xi:return"Fragment";case Yi:return"Portal";case Wc:return"Profiler";case ru:return"StrictMode";case qc:return"Suspense";case Vc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case G1:return(e.displayName||"Context")+".Consumer";case K1:return(e._context.displayName||"Context")+".Provider";case iu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case su:return t=e.displayName||null,t!==null?t:Kc(e.type)||"Memo";case Wr:t=e._payload,e=e._init;try{return Kc(e(t))}catch{}}return null}function Kg(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 Kc(t);case 8:return t===ru?"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 si(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function J1(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Gg(e){var t=J1(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var s=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){i=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return i},setValue:function(o){i=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function eo(e){e._valueTracker||(e._valueTracker=Gg(e))}function Y1(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),i="";return e&&(i=J1(e)?e.checked?"true":"false":e.value),e=i,e!==r?(t.setValue(e),!0):!1}function Mo(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 Gc(e,t){var r=t.checked;return ht({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function xp(e,t){var r=t.defaultValue==null?"":t.defaultValue,i=t.checked!=null?t.checked:t.defaultChecked;r=si(t.value!=null?t.value:r),e._wrapperState={initialChecked:i,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function X1(e,t){t=t.checked,t!=null&&nu(e,"checked",t,!1)}function Qc(e,t){X1(e,t);var r=si(t.value),i=t.type;if(r!=null)i==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(i==="submit"||i==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Jc(e,t.type,r):t.hasOwnProperty("defaultValue")&&Jc(e,t.type,si(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function vp(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!(i!=="submit"&&i!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Jc(e,t,r){(t!=="number"||Mo(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Xs=Array.isArray;function ds(e,t,r,i){if(e=e.options,t){t={};for(var s=0;s"+t.valueOf().toString()+"",t=to.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function fa(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var ra={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},Qg=["Webkit","ms","Moz","O"];Object.keys(ra).forEach(function(e){Qg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ra[t]=ra[e]})});function nm(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||ra.hasOwnProperty(e)&&ra[e]?(""+t).trim():t+"px"}function rm(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var i=r.indexOf("--")===0,s=nm(r,t[r],i);r==="float"&&(r="cssFloat"),i?e.setProperty(r,s):e[r]=s}}var Jg=ht({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 Zc(e,t){if(t){if(Jg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(W(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(W(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(W(61))}if(t.style!=null&&typeof t.style!="object")throw Error(W(62))}}function ed(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 td=null;function au(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var nd=null,us=null,ps=null;function yp(e){if(e=Oa(e)){if(typeof nd!="function")throw Error(W(280));var t=e.stateNode;t&&(t=Nl(t),nd(e.stateNode,e.type,t))}}function im(e){us?ps?ps.push(e):ps=[e]:us=e}function sm(){if(us){var e=us,t=ps;if(ps=us=null,yp(e),t)for(e=0;e>>=0,e===0?32:31-(o2(e)/l2|0)|0}var no=64,ro=4194304;function Zs(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 Oo(e,t){var r=e.pendingLanes;if(r===0)return 0;var i=0,s=e.suspendedLanes,a=e.pingedLanes,o=r&268435455;if(o!==0){var l=o&~s;l!==0?i=Zs(l):(a&=o,a!==0&&(i=Zs(a)))}else o=r&~s,o!==0?i=Zs(o):a!==0&&(i=Zs(a));if(i===0)return 0;if(t!==0&&t!==i&&!(t&s)&&(s=i&-i,a=t&-t,s>=a||s===16&&(a&4194240)!==0))return t;if(i&4&&(i|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=i;0r;r++)t.push(e);return t}function Fa(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Vn(t),e[t]=r}function p2(e,t){var r=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 i=e.eventTimes;for(e=e.expirationTimes;0=sa),Lp=" ",Ep=!1;function km(e,t){switch(e){case"keyup":return O2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zi=!1;function U2(e,t){switch(e){case"compositionend":return Sm(t);case"keypress":return t.which!==32?null:(Ep=!0,Lp);case"textInput":return e=t.data,e===Lp&&Ep?null:e;default:return null}}function H2(e,t){if(Zi)return e==="compositionend"||!mu&&km(e,t)?(e=wm(),wo=uu=Gr=null,Zi=!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:r,offset:t-e};e=i}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Ap(r)}}function Lm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Lm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Em(){for(var e=window,t=Mo();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Mo(e.document)}return t}function fu(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 X2(e){var t=Em(),r=e.focusedElem,i=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&Lm(r.ownerDocument.documentElement,r)){if(i!==null&&fu(r)){if(t=i.start,e=i.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=r.textContent.length,a=Math.min(i.start,s);i=i.end===void 0?a:Math.min(i.end,s),!e.extend&&a>i&&(s=i,i=a,a=s),s=Mp(r,a);var o=Mp(r,i);s&&o&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),a>i?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,es=null,ld=null,oa=null,cd=!1;function Tp(e,t,r){var i=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;cd||es==null||es!==Mo(i)||(i=es,"selectionStart"in i&&fu(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),oa&&ya(oa,i)||(oa=i,i=Ho(ld,"onSelect"),0rs||(e.current=fd[rs],fd[rs]=null,rs--)}function Xe(e,t){rs++,fd[rs]=e.current,e.current=t}var ai={},Zt=li(ai),pn=li(!1),$i=ai;function xs(e,t){var r=e.type.contextTypes;if(!r)return ai;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var s={},a;for(a in r)s[a]=t[a];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function hn(e){return e=e.childContextTypes,e!=null}function qo(){it(pn),it(Zt)}function Wp(e,t,r){if(Zt.current!==ai)throw Error(W(168));Xe(Zt,t),Xe(pn,r)}function Om(e,t,r){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!="function")return r;i=i.getChildContext();for(var s in i)if(!(s in t))throw Error(W(108,Kg(e)||"Unknown",s));return ht({},r,i)}function Vo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ai,$i=Zt.current,Xe(Zt,e),Xe(pn,pn.current),!0}function qp(e,t,r){var i=e.stateNode;if(!i)throw Error(W(169));r?(e=Om(e,t,$i),i.__reactInternalMemoizedMergedChildContext=e,it(pn),it(Zt),Xe(Zt,e)):it(pn),Xe(pn,r)}var br=null,zl=!1,hc=!1;function Dm(e){br===null?br=[e]:br.push(e)}function dx(e){zl=!0,Dm(e)}function ci(){if(!hc&&br!==null){hc=!0;var e=0,t=qe;try{var r=br;for(qe=1;e>=o,s-=o,wr=1<<32-Vn(t)+s|r<S?(L=N,N=null):L=N.sibling;var E=h(j,N,f[S],v);if(E===null){N===null&&(N=L);break}e&&N&&E.alternate===null&&t(j,N),d=a(E,d,S),g===null?w=E:g.sibling=E,g=E,N=L}if(S===f.length)return r(j,N),lt&&xi(j,S),w;if(N===null){for(;SS?(L=N,N=null):L=N.sibling;var O=h(j,N,E.value,v);if(O===null){N===null&&(N=L);break}e&&N&&O.alternate===null&&t(j,N),d=a(O,d,S),g===null?w=O:g.sibling=O,g=O,N=L}if(E.done)return r(j,N),lt&&xi(j,S),w;if(N===null){for(;!E.done;S++,E=f.next())E=m(j,E.value,v),E!==null&&(d=a(E,d,S),g===null?w=E:g.sibling=E,g=E);return lt&&xi(j,S),w}for(N=i(j,N);!E.done;S++,E=f.next())E=x(N,j,S,E.value,v),E!==null&&(e&&E.alternate!==null&&N.delete(E.key===null?S:E.key),d=a(E,d,S),g===null?w=E:g.sibling=E,g=E);return e&&N.forEach(function(Q){return t(j,Q)}),lt&&xi(j,S),w}function k(j,d,f,v){if(typeof f=="object"&&f!==null&&f.type===Xi&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Za:e:{for(var w=f.key,g=d;g!==null;){if(g.key===w){if(w=f.type,w===Xi){if(g.tag===7){r(j,g.sibling),d=s(g,f.props.children),d.return=j,j=d;break e}}else if(g.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Wr&&Gp(w)===g.type){r(j,g.sibling),d=s(g,f.props),d.ref=Ts(j,g,f),d.return=j,j=d;break e}r(j,g);break}else t(j,g);g=g.sibling}f.type===Xi?(d=Ni(f.props.children,j.mode,v,f.key),d.return=j,j=d):(v=Eo(f.type,f.key,f.props,null,j.mode,v),v.ref=Ts(j,d,f),v.return=j,j=v)}return o(j);case Yi:e:{for(g=f.key;d!==null;){if(d.key===g)if(d.tag===4&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){r(j,d.sibling),d=s(d,f.children||[]),d.return=j,j=d;break e}else{r(j,d);break}else t(j,d);d=d.sibling}d=yc(f,j.mode,v),d.return=j,j=d}return o(j);case Wr:return g=f._init,k(j,d,g(f._payload),v)}if(Xs(f))return _(j,d,f,v);if(Is(f))return b(j,d,f,v);uo(j,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,d!==null&&d.tag===6?(r(j,d.sibling),d=s(d,f),d.return=j,j=d):(r(j,d),d=_c(f,j.mode,v),d.return=j,j=d),o(j)):r(j,d)}return k}var js=qm(!0),Vm=qm(!1),Qo=li(null),Jo=null,as=null,ju=null;function _u(){ju=as=Jo=null}function yu(e){var t=Qo.current;it(Qo),e._currentValue=t}function vd(e,t,r){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===r)break;e=e.return}}function ms(e,t){Jo=e,ju=as=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(un=!0),e.firstContext=null)}function Tn(e){var t=e._currentValue;if(ju!==e)if(e={context:e,memoizedValue:t,next:null},as===null){if(Jo===null)throw Error(W(308));as=e,Jo.dependencies={lanes:0,firstContext:e}}else as=as.next=e;return t}var bi=null;function bu(e){bi===null?bi=[e]:bi.push(e)}function Km(e,t,r,i){var s=t.interleaved;return s===null?(r.next=r,bu(t)):(r.next=s.next,s.next=r),t.interleaved=r,Lr(e,i)}function Lr(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var qr=!1;function wu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Gm(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function kr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ti(e,t,r){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,Fe&2){var s=i.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),i.pending=t,Lr(e,r)}return s=i.interleaved,s===null?(t.next=t,bu(i)):(t.next=s.next,s.next=t),i.interleaved=t,Lr(e,r)}function ko(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var i=t.lanes;i&=e.pendingLanes,r|=i,t.lanes=r,lu(e,r)}}function Qp(e,t){var r=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,r===i)){var s=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?s=a=o:a=a.next=o,r=r.next}while(r!==null);a===null?s=a=t:a=a.next=t}else s=a=t;r={baseState:i.baseState,firstBaseUpdate:s,lastBaseUpdate:a,shared:i.shared,effects:i.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Yo(e,t,r,i){var s=e.updateQueue;qr=!1;var a=s.firstBaseUpdate,o=s.lastBaseUpdate,l=s.shared.pending;if(l!==null){s.shared.pending=null;var c=l,u=c.next;c.next=null,o===null?a=u:o.next=u,o=c;var p=e.alternate;p!==null&&(p=p.updateQueue,l=p.lastBaseUpdate,l!==o&&(l===null?p.firstBaseUpdate=u:l.next=u,p.lastBaseUpdate=c))}if(a!==null){var m=s.baseState;o=0,p=u=c=null,l=a;do{var h=l.lane,x=l.eventTime;if((i&h)===h){p!==null&&(p=p.next={eventTime:x,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var _=e,b=l;switch(h=t,x=r,b.tag){case 1:if(_=b.payload,typeof _=="function"){m=_.call(x,m,h);break e}m=_;break e;case 3:_.flags=_.flags&-65537|128;case 0:if(_=b.payload,h=typeof _=="function"?_.call(x,m,h):_,h==null)break e;m=ht({},m,h);break e;case 2:qr=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,h=s.effects,h===null?s.effects=[l]:h.push(l))}else x={eventTime:x,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},p===null?(u=p=x,c=m):p=p.next=x,o|=h;if(l=l.next,l===null){if(l=s.shared.pending,l===null)break;h=l,l=h.next,h.next=null,s.lastBaseUpdate=h,s.shared.pending=null}}while(!0);if(p===null&&(c=m),s.baseState=c,s.firstBaseUpdate=u,s.lastBaseUpdate=p,t=s.shared.interleaved,t!==null){s=t;do o|=s.lane,s=s.next;while(s!==t)}else a===null&&(s.shared.lanes=0);Ii|=o,e.lanes=o,e.memoizedState=m}}function Jp(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var i=fc.transition;fc.transition={};try{e(!1),t()}finally{qe=r,fc.transition=i}}function pf(){return Fn().memoizedState}function mx(e,t,r){var i=ri(e);if(r={lane:i,action:r,hasEagerState:!1,eagerState:null,next:null},hf(e))mf(t,r);else if(r=Km(e,t,r,i),r!==null){var s=sn();Kn(r,e,i,s),ff(r,t,i)}}function fx(e,t,r){var i=ri(e),s={lane:i,action:r,hasEagerState:!1,eagerState:null,next:null};if(hf(e))mf(t,s);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,l=a(o,r);if(s.hasEagerState=!0,s.eagerState=l,Gn(l,o)){var c=t.interleaved;c===null?(s.next=s,bu(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}r=Km(e,t,s,i),r!==null&&(s=sn(),Kn(r,e,i,s),ff(r,t,i))}}function hf(e){var t=e.alternate;return e===pt||t!==null&&t===pt}function mf(e,t){la=Zo=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function ff(e,t,r){if(r&4194240){var i=t.lanes;i&=e.pendingLanes,r|=i,t.lanes=r,lu(e,r)}}var el={readContext:Tn,useCallback:Kt,useContext:Kt,useEffect:Kt,useImperativeHandle:Kt,useInsertionEffect:Kt,useLayoutEffect:Kt,useMemo:Kt,useReducer:Kt,useRef:Kt,useState:Kt,useDebugValue:Kt,useDeferredValue:Kt,useTransition:Kt,useMutableSource:Kt,useSyncExternalStore:Kt,useId:Kt,unstable_isNewReconciler:!1},gx={readContext:Tn,useCallback:function(e,t){return ar().memoizedState=[e,t===void 0?null:t],e},useContext:Tn,useEffect:Xp,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,No(4194308,4,of.bind(null,t,e),r)},useLayoutEffect:function(e,t){return No(4194308,4,e,t)},useInsertionEffect:function(e,t){return No(4,2,e,t)},useMemo:function(e,t){var r=ar();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var i=ar();return t=r!==void 0?r(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=mx.bind(null,pt,e),[i.memoizedState,e]},useRef:function(e){var t=ar();return e={current:e},t.memoizedState=e},useState:Yp,useDebugValue:Eu,useDeferredValue:function(e){return ar().memoizedState=e},useTransition:function(){var e=Yp(!1),t=e[0];return e=hx.bind(null,e[1]),ar().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var i=pt,s=ar();if(lt){if(r===void 0)throw Error(W(407));r=r()}else{if(r=t(),At===null)throw Error(W(349));Ei&30||Xm(i,t,r)}s.memoizedState=r;var a={value:r,getSnapshot:t};return s.queue=a,Xp(ef.bind(null,i,a,e),[e]),i.flags|=2048,$a(9,Zm.bind(null,i,a,r,t),void 0,null),r},useId:function(){var e=ar(),t=At.identifierPrefix;if(lt){var r=Cr,i=wr;r=(i&~(1<<32-Vn(i)-1)).toString(32)+r,t=":"+t+"R"+r,r=Na++,0")&&(c=c.replace("",e.displayName)),c}while(1<=o&&0<=l);break}}}finally{bc=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?da(e):""}function q2(e){switch(e.tag){case 5:return da(e.type);case 16:return da("Lazy");case 13:return da("Suspense");case 19:return da("SuspenseList");case 0:case 2:case 15:return e=wc(e.type,!1),e;case 11:return e=wc(e.type.render,!1),e;case 1:return e=wc(e.type,!0),e;default:return""}}function bd(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 ls:return"Fragment";case os:return"Portal";case jd:return"Profiler";case Ru:return"StrictMode";case _d:return"Suspense";case yd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Tm:return(e.displayName||"Context")+".Consumer";case Bm:return(e._context.displayName||"Context")+".Provider";case Au:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Iu:return t=e.displayName||null,t!==null?t:bd(e.type)||"Memo";case Kr:t=e._payload,e=e._init;try{return bd(e(t))}catch{}}return null}function V2(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 bd(t);case 8:return t===Ru?"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 di(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Fm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function K2(e){var t=Fm(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var s=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){i=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return i},setValue:function(o){i=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function yo(e){e._valueTracker||(e._valueTracker=K2(e))}function Dm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),i="";return e&&(i=Fm(e)?e.checked?"true":"false":e.value),e=i,e!==r?(t.setValue(e),!0):!1}function rl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function wd(e,t){var r=t.checked;return ht({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Jp(e,t){var r=t.defaultValue==null?"":t.defaultValue,i=t.checked!=null?t.checked:t.defaultChecked;r=di(t.value!=null?t.value:r),e._wrapperState={initialChecked:i,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Um(e,t){t=t.checked,t!=null&&Lu(e,"checked",t,!1)}function Cd(e,t){Um(e,t);var r=di(t.value),i=t.type;if(r!=null)i==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(i==="submit"||i==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?kd(e,t.type,r):t.hasOwnProperty("defaultValue")&&kd(e,t.type,di(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Yp(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!(i!=="submit"&&i!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function kd(e,t,r){(t!=="number"||rl(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var ua=Array.isArray;function _s(e,t,r,i){if(e=e.options,t){t={};for(var s=0;s"+t.valueOf().toString()+"",t=bo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function La(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var ga={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},G2=["Webkit","ms","Moz","O"];Object.keys(ga).forEach(function(e){G2.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ga[t]=ga[e]})});function Vm(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||ga.hasOwnProperty(e)&&ga[e]?(""+t).trim():t+"px"}function Km(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var i=r.indexOf("--")===0,s=Vm(r,t[r],i);r==="float"&&(r="cssFloat"),i?e.setProperty(r,s):e[r]=s}}var Q2=ht({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 $d(e,t){if(t){if(Q2[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(W(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(W(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(W(61))}if(t.style!=null&&typeof t.style!="object")throw Error(W(62))}}function zd(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 Ed=null;function Pu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ld=null,ys=null,bs=null;function eh(e){if(e=so(e)){if(typeof Ld!="function")throw Error(W(280));var t=e.stateNode;t&&(t=Jl(t),Ld(e.stateNode,e.type,t))}}function Gm(e){ys?bs?bs.push(e):bs=[e]:ys=e}function Qm(){if(ys){var e=ys,t=bs;if(bs=ys=null,eh(e),t)for(e=0;e>>=0,e===0?32:31-(ax(e)/ox|0)|0}var wo=64,Co=4194304;function pa(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 ol(e,t){var r=e.pendingLanes;if(r===0)return 0;var i=0,s=e.suspendedLanes,a=e.pingedLanes,o=r&268435455;if(o!==0){var l=o&~s;l!==0?i=pa(l):(a&=o,a!==0&&(i=pa(a)))}else o=r&~s,o!==0?i=pa(o):a!==0&&(i=pa(a));if(i===0)return 0;if(t!==0&&t!==i&&!(t&s)&&(s=i&-i,a=t&-t,s>=a||s===16&&(a&4194240)!==0))return t;if(i&4&&(i|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=i;0r;r++)t.push(e);return t}function ro(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Kn(t),e[t]=r}function ux(e,t){var r=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 i=e.eventTimes;for(e=e.expirationTimes;0=va),ch=" ",dh=!1;function gf(e,t){switch(e){case"keyup":return Ox.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var cs=!1;function Dx(e,t){switch(e){case"compositionend":return xf(t);case"keypress":return t.which!==32?null:(dh=!0,ch);case"textInput":return e=t.data,e===ch&&dh?null:e;default:return null}}function Ux(e,t){if(cs)return e==="compositionend"||!Hu&&gf(e,t)?(e=mf(),Ho=Fu=Xr=null,cs=!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:r,offset:t-e};e=i}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=mh(r)}}function yf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?yf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function bf(){for(var e=window,t=rl();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=rl(e.document)}return t}function Wu(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 Yx(e){var t=bf(),r=e.focusedElem,i=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&yf(r.ownerDocument.documentElement,r)){if(i!==null&&Wu(r)){if(t=i.start,e=i.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=r.textContent.length,a=Math.min(i.start,s);i=i.end===void 0?a:Math.min(i.end,s),!e.extend&&a>i&&(s=i,i=a,a=s),s=fh(r,a);var o=fh(r,i);s&&o&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),a>i?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,ds=null,Bd=null,_a=null,Td=!1;function gh(e,t,r){var i=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Td||ds==null||ds!==rl(i)||(i=ds,"selectionStart"in i&&Wu(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),_a&&Ba(_a,i)||(_a=i,i=dl(Bd,"onSelect"),0hs||(e.current=Wd[hs],Wd[hs]=null,hs--)}function Xe(e,t){hs++,Wd[hs]=e.current,e.current=t}var ui={},en=hi(ui),hn=hi(!1),Bi=ui;function Ns(e,t){var r=e.type.contextTypes;if(!r)return ui;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var s={},a;for(a in r)s[a]=t[a];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function mn(e){return e=e.childContextTypes,e!=null}function pl(){it(hn),it(en)}function wh(e,t,r){if(en.current!==ui)throw Error(W(168));Xe(en,t),Xe(hn,r)}function Lf(e,t,r){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!="function")return r;i=i.getChildContext();for(var s in i)if(!(s in t))throw Error(W(108,V2(e)||"Unknown",s));return ht({},r,i)}function hl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ui,Bi=en.current,Xe(en,e),Xe(hn,hn.current),!0}function Ch(e,t,r){var i=e.stateNode;if(!i)throw Error(W(169));r?(e=Lf(e,t,Bi),i.__reactInternalMemoizedMergedChildContext=e,it(hn),it(en),Xe(en,e)):it(hn),Xe(hn,r)}var Cr=null,Yl=!1,Bc=!1;function Rf(e){Cr===null?Cr=[e]:Cr.push(e)}function cv(e){Yl=!0,Rf(e)}function mi(){if(!Bc&&Cr!==null){Bc=!0;var e=0,t=qe;try{var r=Cr;for(qe=1;e>=o,s-=o,kr=1<<32-Kn(t)+s|r<S?(E=N,N=null):E=N.sibling;var L=m(_,N,f[S],v);if(L===null){N===null&&(N=E);break}e&&N&&L.alternate===null&&t(_,N),u=a(L,u,S),x===null?w=L:x.sibling=L,x=L,N=E}if(S===f.length)return r(_,N),lt&&Ci(_,S),w;if(N===null){for(;SS?(E=N,N=null):E=N.sibling;var F=m(_,N,L.value,v);if(F===null){N===null&&(N=E);break}e&&N&&F.alternate===null&&t(_,N),u=a(F,u,S),x===null?w=F:x.sibling=F,x=F,N=E}if(L.done)return r(_,N),lt&&Ci(_,S),w;if(N===null){for(;!L.done;S++,L=f.next())L=h(_,L.value,v),L!==null&&(u=a(L,u,S),x===null?w=L:x.sibling=L,x=L);return lt&&Ci(_,S),w}for(N=i(_,N);!L.done;S++,L=f.next())L=g(N,_,S,L.value,v),L!==null&&(e&&L.alternate!==null&&N.delete(L.key===null?S:L.key),u=a(L,u,S),x===null?w=L:x.sibling=L,x=L);return e&&N.forEach(function(J){return t(_,J)}),lt&&Ci(_,S),w}function k(_,u,f,v){if(typeof f=="object"&&f!==null&&f.type===ls&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case _o:e:{for(var w=f.key,x=u;x!==null;){if(x.key===w){if(w=f.type,w===ls){if(x.tag===7){r(_,x.sibling),u=s(x,f.props.children),u.return=_,_=u;break e}}else if(x.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Kr&&Nh(w)===x.type){r(_,x.sibling),u=s(x,f.props),u.ref=Qs(_,x,f),u.return=_,_=u;break e}r(_,x);break}else t(_,x);x=x.sibling}f.type===ls?(u=Pi(f.props.children,_.mode,v,f.key),u.return=_,_=u):(v=Yo(f.type,f.key,f.props,null,_.mode,v),v.ref=Qs(_,u,f),v.return=_,_=v)}return o(_);case os:e:{for(x=f.key;u!==null;){if(u.key===x)if(u.tag===4&&u.stateNode.containerInfo===f.containerInfo&&u.stateNode.implementation===f.implementation){r(_,u.sibling),u=s(u,f.children||[]),u.return=_,_=u;break e}else{r(_,u);break}else t(_,u);u=u.sibling}u=qc(f,_.mode,v),u.return=_,_=u}return o(_);case Kr:return x=f._init,k(_,u,x(f._payload),v)}if(ua(f))return j(_,u,f,v);if(Ws(f))return b(_,u,f,v);Lo(_,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,u!==null&&u.tag===6?(r(_,u.sibling),u=s(u,f),u.return=_,_=u):(r(_,u),u=Wc(f,_.mode,v),u.return=_,_=u),o(_)):r(_,u)}return k}var zs=Mf(!0),Bf=Mf(!1),gl=hi(null),xl=null,gs=null,Gu=null;function Qu(){Gu=gs=xl=null}function Ju(e){var t=gl.current;it(gl),e._currentValue=t}function Kd(e,t,r){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===r)break;e=e.return}}function Cs(e,t){xl=e,Gu=gs=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(pn=!0),e.firstContext=null)}function Tn(e){var t=e._currentValue;if(Gu!==e)if(e={context:e,memoizedValue:t,next:null},gs===null){if(xl===null)throw Error(W(308));gs=e,xl.dependencies={lanes:0,firstContext:e}}else gs=gs.next=e;return t}var zi=null;function Yu(e){zi===null?zi=[e]:zi.push(e)}function Tf(e,t,r,i){var s=t.interleaved;return s===null?(r.next=r,Yu(t)):(r.next=s.next,s.next=r),t.interleaved=r,Rr(e,i)}function Rr(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var Gr=!1;function Xu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Of(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Nr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function si(e,t,r){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,Te&2){var s=i.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),i.pending=t,Rr(e,r)}return s=i.interleaved,s===null?(t.next=t,Yu(i)):(t.next=s.next,s.next=t),i.interleaved=t,Rr(e,r)}function qo(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var i=t.lanes;i&=e.pendingLanes,r|=i,t.lanes=r,Bu(e,r)}}function $h(e,t){var r=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,r===i)){var s=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?s=a=o:a=a.next=o,r=r.next}while(r!==null);a===null?s=a=t:a=a.next=t}else s=a=t;r={baseState:i.baseState,firstBaseUpdate:s,lastBaseUpdate:a,shared:i.shared,effects:i.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function vl(e,t,r,i){var s=e.updateQueue;Gr=!1;var a=s.firstBaseUpdate,o=s.lastBaseUpdate,l=s.shared.pending;if(l!==null){s.shared.pending=null;var c=l,d=c.next;c.next=null,o===null?a=d:o.next=d,o=c;var p=e.alternate;p!==null&&(p=p.updateQueue,l=p.lastBaseUpdate,l!==o&&(l===null?p.firstBaseUpdate=d:l.next=d,p.lastBaseUpdate=c))}if(a!==null){var h=s.baseState;o=0,p=d=c=null,l=a;do{var m=l.lane,g=l.eventTime;if((i&m)===m){p!==null&&(p=p.next={eventTime:g,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var j=e,b=l;switch(m=t,g=r,b.tag){case 1:if(j=b.payload,typeof j=="function"){h=j.call(g,h,m);break e}h=j;break e;case 3:j.flags=j.flags&-65537|128;case 0:if(j=b.payload,m=typeof j=="function"?j.call(g,h,m):j,m==null)break e;h=ht({},h,m);break e;case 2:Gr=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,m=s.effects,m===null?s.effects=[l]:m.push(l))}else g={eventTime:g,lane:m,tag:l.tag,payload:l.payload,callback:l.callback,next:null},p===null?(d=p=g,c=h):p=p.next=g,o|=m;if(l=l.next,l===null){if(l=s.shared.pending,l===null)break;m=l,l=m.next,m.next=null,s.lastBaseUpdate=m,s.shared.pending=null}}while(!0);if(p===null&&(c=h),s.baseState=c,s.firstBaseUpdate=d,s.lastBaseUpdate=p,t=s.shared.interleaved,t!==null){s=t;do o|=s.lane,s=s.next;while(s!==t)}else a===null&&(s.shared.lanes=0);Fi|=o,e.lanes=o,e.memoizedState=h}}function zh(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var i=Oc.transition;Oc.transition={};try{e(!1),t()}finally{qe=r,Oc.transition=i}}function n0(){return On().memoizedState}function hv(e,t,r){var i=oi(e);if(r={lane:i,action:r,hasEagerState:!1,eagerState:null,next:null},r0(e))i0(t,r);else if(r=Tf(e,t,r,i),r!==null){var s=an();Gn(r,e,i,s),s0(r,t,i)}}function mv(e,t,r){var i=oi(e),s={lane:i,action:r,hasEagerState:!1,eagerState:null,next:null};if(r0(e))i0(t,s);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,l=a(o,r);if(s.hasEagerState=!0,s.eagerState=l,Qn(l,o)){var c=t.interleaved;c===null?(s.next=s,Yu(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}r=Tf(e,t,s,i),r!==null&&(s=an(),Gn(r,e,i,s),s0(r,t,i))}}function r0(e){var t=e.alternate;return e===pt||t!==null&&t===pt}function i0(e,t){ya=_l=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function s0(e,t,r){if(r&4194240){var i=t.lanes;i&=e.pendingLanes,r|=i,t.lanes=r,Bu(e,r)}}var yl={readContext:Tn,useCallback:Gt,useContext:Gt,useEffect:Gt,useImperativeHandle:Gt,useInsertionEffect:Gt,useLayoutEffect:Gt,useMemo:Gt,useReducer:Gt,useRef:Gt,useState:Gt,useDebugValue:Gt,useDeferredValue:Gt,useTransition:Gt,useMutableSource:Gt,useSyncExternalStore:Gt,useId:Gt,unstable_isNewReconciler:!1},fv={readContext:Tn,useCallback:function(e,t){return lr().memoizedState=[e,t===void 0?null:t],e},useContext:Tn,useEffect:Lh,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Ko(4194308,4,Yf.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Ko(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ko(4,2,e,t)},useMemo:function(e,t){var r=lr();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var i=lr();return t=r!==void 0?r(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=hv.bind(null,pt,e),[i.memoizedState,e]},useRef:function(e){var t=lr();return e={current:e},t.memoizedState=e},useState:Eh,useDebugValue:ap,useDeferredValue:function(e){return lr().memoizedState=e},useTransition:function(){var e=Eh(!1),t=e[0];return e=pv.bind(null,e[1]),lr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var i=pt,s=lr();if(lt){if(r===void 0)throw Error(W(407));r=r()}else{if(r=t(),Mt===null)throw Error(W(349));Oi&30||Hf(i,t,r)}s.memoizedState=r;var a={value:r,getSnapshot:t};return s.queue=a,Lh(qf.bind(null,i,a,e),[e]),i.flags|=2048,qa(9,Wf.bind(null,i,a,r,t),void 0,null),r},useId:function(){var e=lr(),t=Mt.identifierPrefix;if(lt){var r=Sr,i=kr;r=(i&~(1<<32-Kn(i)-1)).toString(32)+r,t=":"+t+"R"+r,r=Ha++,0<\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=o.createElement(r,{is:i.is}):(e=o.createElement(r),r==="select"&&(o=e,i.multiple?o.multiple=!0:i.size&&(o.size=i.size))):e=o.createElementNS(e,r),e[lr]=t,e[Ca]=i,kf(e,t,!1,!1),t.stateNode=e;e:{switch(o=ed(r,i),r){case"dialog":nt("cancel",e),nt("close",e),s=i;break;case"iframe":case"object":case"embed":nt("load",e),s=i;break;case"video":case"audio":for(s=0;sbs&&(t.flags|=128,i=!0,Fs(a,!1),t.lanes=4194304)}else{if(!i)if(e=Xo(o),e!==null){if(t.flags|=128,i=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Fs(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!lt)return Gt(t),null}else 2*bt()-a.renderingStartTime>bs&&r!==1073741824&&(t.flags|=128,i=!0,Fs(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(r=a.last,r!==null?r.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=bt(),t.sibling=null,r=ut.current,Xe(ut,i?r&1|2:r&1),t):(Gt(t),null);case 22:case 23:return Tu(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?jn&1073741824&&(Gt(t),t.subtreeFlags&6&&(t.flags|=8192)):Gt(t),null;case 24:return null;case 25:return null}throw Error(W(156,t.tag))}function Cx(e,t){switch(xu(t),t.tag){case 1:return hn(t.type)&&qo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _s(),it(pn),it(Zt),Su(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ku(t),null;case 13:if(it(ut),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(W(340));vs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return it(ut),null;case 4:return _s(),null;case 10:return yu(t.type._context),null;case 22:case 23:return Tu(),null;case 24:return null;default:return null}}var ho=!1,Xt=!1,kx=typeof WeakSet=="function"?WeakSet:Set,se=null;function os(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(i){_t(e,t,i)}else r.current=null}function Nd(e,t,r){try{r()}catch(i){_t(e,t,i)}}var ch=!1;function Sx(e,t){if(dd=Do,e=Em(),fu(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var i=r.getSelection&&r.getSelection();if(i&&i.rangeCount!==0){r=i.anchorNode;var s=i.anchorOffset,a=i.focusNode;i=i.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var o=0,l=-1,c=-1,u=0,p=0,m=e,h=null;t:for(;;){for(var x;m!==r||s!==0&&m.nodeType!==3||(l=o+s),m!==a||i!==0&&m.nodeType!==3||(c=o+i),m.nodeType===3&&(o+=m.nodeValue.length),(x=m.firstChild)!==null;)h=m,m=x;for(;;){if(m===e)break t;if(h===r&&++u===s&&(l=o),h===a&&++p===i&&(c=o),(x=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=x}r=l===-1||c===-1?null:{start:l,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(ud={focusedElem:e,selectionRange:r},Do=!1,se=t;se!==null;)if(t=se,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,se=e;else for(;se!==null;){t=se;try{var _=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(_!==null){var b=_.memoizedProps,k=_.memoizedState,j=t.stateNode,d=j.getSnapshotBeforeUpdate(t.elementType===t.type?b:Un(t.type,b),k);j.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(W(163))}}catch(v){_t(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,se=e;break}se=t.return}return _=ch,ch=!1,_}function ca(e,t,r){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var s=i=i.next;do{if((s.tag&e)===e){var a=s.destroy;s.destroy=void 0,a!==void 0&&Nd(t,r,a)}s=s.next}while(s!==i)}}function El(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var i=r.create;r.destroy=i()}r=r.next}while(r!==t)}}function zd(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function zf(e){var t=e.alternate;t!==null&&(e.alternate=null,zf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[lr],delete t[Ca],delete t[md],delete t[lx],delete t[cx])),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 $f(e){return e.tag===5||e.tag===3||e.tag===4}function dh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$f(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 $d(e,t,r){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Wo));else if(i!==4&&(e=e.child,e!==null))for($d(e,t,r),e=e.sibling;e!==null;)$d(e,t,r),e=e.sibling}function Ld(e,t,r){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(Ld(e,t,r),e=e.sibling;e!==null;)Ld(e,t,r),e=e.sibling}var Ht=null,Hn=!1;function Or(e,t,r){for(r=r.child;r!==null;)Lf(e,t,r),r=r.sibling}function Lf(e,t,r){if(ur&&typeof ur.onCommitFiberUnmount=="function")try{ur.onCommitFiberUnmount(wl,r)}catch{}switch(r.tag){case 5:Xt||os(r,t);case 6:var i=Ht,s=Hn;Ht=null,Or(e,t,r),Ht=i,Hn=s,Ht!==null&&(Hn?(e=Ht,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Ht.removeChild(r.stateNode));break;case 18:Ht!==null&&(Hn?(e=Ht,r=r.stateNode,e.nodeType===8?pc(e.parentNode,r):e.nodeType===1&&pc(e,r),ja(e)):pc(Ht,r.stateNode));break;case 4:i=Ht,s=Hn,Ht=r.stateNode.containerInfo,Hn=!0,Or(e,t,r),Ht=i,Hn=s;break;case 0:case 11:case 14:case 15:if(!Xt&&(i=r.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){s=i=i.next;do{var a=s,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&Nd(r,t,o),s=s.next}while(s!==i)}Or(e,t,r);break;case 1:if(!Xt&&(os(r,t),i=r.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=r.memoizedProps,i.state=r.memoizedState,i.componentWillUnmount()}catch(l){_t(r,t,l)}Or(e,t,r);break;case 21:Or(e,t,r);break;case 22:r.mode&1?(Xt=(i=Xt)||r.memoizedState!==null,Or(e,t,r),Xt=i):Or(e,t,r);break;default:Or(e,t,r)}}function uh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new kx),t.forEach(function(i){var s=Ax.bind(null,e,i);r.has(i)||(r.add(i),i.then(s,s))})}}function On(e,t){var r=t.deletions;if(r!==null)for(var i=0;is&&(s=o),i&=~a}if(i=s,i=bt()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*zx(i/1960))-i,10e?16:e,Qr===null)var i=!1;else{if(e=Qr,Qr=null,rl=0,Fe&6)throw Error(W(331));var s=Fe;for(Fe|=4,se=e.current;se!==null;){var a=se,o=a.child;if(se.flags&16){var l=a.deletions;if(l!==null){for(var c=0;cbt()-Au?Si(e,0):Pu|=r),mn(e,t)}function Ff(e,t){t===0&&(e.mode&1?(t=ro,ro<<=1,!(ro&130023424)&&(ro=4194304)):t=1);var r=sn();e=Lr(e,t),e!==null&&(Fa(e,t,r),mn(e,r))}function Px(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Ff(e,r)}function Ax(e,t){var r=0;switch(e.tag){case 13:var i=e.stateNode,s=e.memoizedState;s!==null&&(r=s.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(W(314))}i!==null&&i.delete(t),Ff(e,r)}var Bf;Bf=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||pn.current)un=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return un=!1,bx(e,t,r);un=!!(e.flags&131072)}else un=!1,lt&&t.flags&1048576&&Um(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;zo(e,t),e=t.pendingProps;var s=xs(t,Zt.current);ms(t,r),s=zu(null,t,i,e,s,r);var a=$u();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,hn(i)?(a=!0,Vo(t)):a=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,wu(t),s.updater=Ll,t.stateNode=s,s._reactInternals=t,_d(t,i,e,r),t=wd(null,t,i,!0,a,r)):(t.tag=0,lt&&a&&gu(t),rn(null,t,s,r),t=t.child),t;case 16:i=t.elementType;e:{switch(zo(e,t),e=t.pendingProps,s=i._init,i=s(i._payload),t.type=i,s=t.tag=Tx(i),e=Un(i,e),s){case 0:t=bd(null,t,i,e,r);break e;case 1:t=ah(null,t,i,e,r);break e;case 11:t=ih(null,t,i,e,r);break e;case 14:t=sh(null,t,i,Un(i.type,e),r);break e}throw Error(W(306,i,""))}return t;case 0:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Un(i,s),bd(e,t,i,s,r);case 1:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Un(i,s),ah(e,t,i,s,r);case 3:e:{if(bf(t),e===null)throw Error(W(387));i=t.pendingProps,a=t.memoizedState,s=a.element,Gm(e,t),Yo(t,i,null,r);var o=t.memoizedState;if(i=o.element,a.isDehydrated)if(a={element:i,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){s=ys(Error(W(423)),t),t=oh(e,t,i,r,s);break e}else if(i!==s){s=ys(Error(W(424)),t),t=oh(e,t,i,r,s);break e}else for(bn=ei(t.stateNode.containerInfo.firstChild),wn=t,lt=!0,qn=null,r=Vm(t,null,i,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(vs(),i===s){t=Er(e,t,r);break e}rn(e,t,i,r)}t=t.child}return t;case 5:return Qm(t),e===null&&xd(t),i=t.type,s=t.pendingProps,a=e!==null?e.memoizedProps:null,o=s.children,pd(i,s)?o=null:a!==null&&pd(i,a)&&(t.flags|=32),yf(e,t),rn(e,t,o,r),t.child;case 6:return e===null&&xd(t),null;case 13:return wf(e,t,r);case 4:return Cu(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=js(t,null,i,r):rn(e,t,i,r),t.child;case 11:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Un(i,s),ih(e,t,i,s,r);case 7:return rn(e,t,t.pendingProps,r),t.child;case 8:return rn(e,t,t.pendingProps.children,r),t.child;case 12:return rn(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(i=t.type._context,s=t.pendingProps,a=t.memoizedProps,o=s.value,Xe(Qo,i._currentValue),i._currentValue=o,a!==null)if(Gn(a.value,o)){if(a.children===s.children&&!pn.current){t=Er(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var l=a.dependencies;if(l!==null){o=a.child;for(var c=l.firstContext;c!==null;){if(c.context===i){if(a.tag===1){c=kr(-1,r&-r),c.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var p=u.pending;p===null?c.next=c:(c.next=p.next,p.next=c),u.pending=c}}a.lanes|=r,c=a.alternate,c!==null&&(c.lanes|=r),vd(a.return,r,t),l.lanes|=r;break}c=c.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(W(341));o.lanes|=r,l=o.alternate,l!==null&&(l.lanes|=r),vd(o,r,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}rn(e,t,s.children,r),t=t.child}return t;case 9:return s=t.type,i=t.pendingProps.children,ms(t,r),s=Tn(s),i=i(s),t.flags|=1,rn(e,t,i,r),t.child;case 14:return i=t.type,s=Un(i,t.pendingProps),s=Un(i.type,s),sh(e,t,i,s,r);case 15:return jf(e,t,t.type,t.pendingProps,r);case 17:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Un(i,s),zo(e,t),t.tag=1,hn(i)?(e=!0,Vo(t)):e=!1,ms(t,r),gf(t,i,s),_d(t,i,s,r),wd(null,t,i,!0,e,r);case 19:return Cf(e,t,r);case 22:return _f(e,t,r)}throw Error(W(156,t.tag))};function Of(e,t){return pm(e,t)}function Mx(e,t,r,i){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function An(e,t,r,i){return new Mx(e,t,r,i)}function Bu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Tx(e){if(typeof e=="function")return Bu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===iu)return 11;if(e===su)return 14}return 2}function ii(e,t){var r=e.alternate;return r===null?(r=An(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Eo(e,t,r,i,s,a){var o=2;if(i=e,typeof e=="function")Bu(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Xi:return Ni(r.children,s,a,t);case ru:o=8,s|=8;break;case Wc:return e=An(12,r,t,s|2),e.elementType=Wc,e.lanes=a,e;case qc:return e=An(13,r,t,s),e.elementType=qc,e.lanes=a,e;case Vc:return e=An(19,r,t,s),e.elementType=Vc,e.lanes=a,e;case Q1:return Rl(r,s,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case K1:o=10;break e;case G1:o=9;break e;case iu:o=11;break e;case su:o=14;break e;case Wr:o=16,i=null;break e}throw Error(W(130,e==null?e:typeof e,""))}return t=An(o,r,t,s),t.elementType=e,t.type=i,t.lanes=a,t}function Ni(e,t,r,i){return e=An(7,e,i,t),e.lanes=r,e}function Rl(e,t,r,i){return e=An(22,e,i,t),e.elementType=Q1,e.lanes=r,e.stateNode={isHidden:!1},e}function _c(e,t,r){return e=An(6,e,null,t),e.lanes=r,e}function yc(e,t,r){return t=An(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fx(e,t,r,i,s){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=tc(0),this.expirationTimes=tc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tc(0),this.identifierPrefix=i,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Ou(e,t,r,i,s,a,o,l,c){return e=new Fx(e,t,r,l,c),t===1?(t=1,a===!0&&(t|=8)):t=0,a=An(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:i,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},wu(a),e}function Bx(e,t,r){var i=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Wf)}catch(e){console.error(e)}}Wf(),H1.exports=kn;var Ua=H1.exports;const Wu=Qd(Ua),Wx=E1({__proto__:null,default:Wu},[Ua]);var qf,jh=Ua;qf=jh.createRoot,jh.hydrateRoot;/** +`+a.stack}return{value:e,source:t,stack:s,digest:null}}function Uc(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Jd(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var vv=typeof WeakMap=="function"?WeakMap:Map;function o0(e,t,r){r=Nr(-1,r),r.tag=3,r.payload={element:null};var i=t.value;return r.callback=function(){wl||(wl=!0,au=i),Jd(e,t)},r}function l0(e,t,r){r=Nr(-1,r),r.tag=3;var i=e.type.getDerivedStateFromError;if(typeof i=="function"){var s=t.value;r.payload=function(){return i(s)},r.callback=function(){Jd(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){Jd(e,t),typeof i!="function"&&(ai===null?ai=new Set([this]):ai.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),r}function Ih(e,t,r){var i=e.pingCache;if(i===null){i=e.pingCache=new vv;var s=new Set;i.set(t,s)}else s=i.get(t),s===void 0&&(s=new Set,i.set(t,s));s.has(r)||(s.add(r),e=Rv.bind(null,e,t,r),t.then(e,e))}function Ph(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 Mh(e,t,r,i,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Nr(-1,1),t.tag=2,si(r,t,1))),r.lanes|=1),e)}var jv=Pr.ReactCurrentOwner,pn=!1;function sn(e,t,r,i){t.child=e===null?Bf(t,null,r,i):zs(t,e.child,r,i)}function Bh(e,t,r,i,s){r=r.render;var a=t.ref;return Cs(t,s),i=rp(e,t,r,i,a,s),r=ip(),e!==null&&!pn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Ar(e,t,s)):(lt&&r&&qu(t),t.flags|=1,sn(e,t,i,s),t.child)}function Th(e,t,r,i,s){if(e===null){var a=r.type;return typeof a=="function"&&!mp(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,c0(e,t,a,i,s)):(e=Yo(r.type,null,i,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&s)){var o=a.memoizedProps;if(r=r.compare,r=r!==null?r:Ba,r(o,i)&&e.ref===t.ref)return Ar(e,t,s)}return t.flags|=1,e=li(a,i),e.ref=t.ref,e.return=t,t.child=e}function c0(e,t,r,i,s){if(e!==null){var a=e.memoizedProps;if(Ba(a,i)&&e.ref===t.ref)if(pn=!1,t.pendingProps=i=a,(e.lanes&s)!==0)e.flags&131072&&(pn=!0);else return t.lanes=e.lanes,Ar(e,t,s)}return Yd(e,t,r,i,s)}function d0(e,t,r){var i=t.pendingProps,s=i.children,a=e!==null?e.memoizedState:null;if(i.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Xe(vs,_n),_n|=r;else{if(!(r&1073741824))return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Xe(vs,_n),_n|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=a!==null?a.baseLanes:r,Xe(vs,_n),_n|=i}else a!==null?(i=a.baseLanes|r,t.memoizedState=null):i=r,Xe(vs,_n),_n|=i;return sn(e,t,s,r),t.child}function u0(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Yd(e,t,r,i,s){var a=mn(r)?Bi:en.current;return a=Ns(t,a),Cs(t,s),r=rp(e,t,r,i,a,s),i=ip(),e!==null&&!pn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Ar(e,t,s)):(lt&&i&&qu(t),t.flags|=1,sn(e,t,r,s),t.child)}function Oh(e,t,r,i,s){if(mn(r)){var a=!0;hl(t)}else a=!1;if(Cs(t,s),t.stateNode===null)Go(e,t),a0(t,r,i),Qd(t,r,i,s),i=!0;else if(e===null){var o=t.stateNode,l=t.memoizedProps;o.props=l;var c=o.context,d=r.contextType;typeof d=="object"&&d!==null?d=Tn(d):(d=mn(r)?Bi:en.current,d=Ns(t,d));var p=r.getDerivedStateFromProps,h=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function";h||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==i||c!==d)&&Ah(t,o,i,d),Gr=!1;var m=t.memoizedState;o.state=m,vl(t,i,o,s),c=t.memoizedState,l!==i||m!==c||hn.current||Gr?(typeof p=="function"&&(Gd(t,r,p,i),c=t.memoizedState),(l=Gr||Rh(t,r,l,i,m,c,d))?(h||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=c),o.props=i,o.state=c,o.context=d,i=l):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{o=t.stateNode,Of(e,t),l=t.memoizedProps,d=t.type===t.elementType?l:Hn(t.type,l),o.props=d,h=t.pendingProps,m=o.context,c=r.contextType,typeof c=="object"&&c!==null?c=Tn(c):(c=mn(r)?Bi:en.current,c=Ns(t,c));var g=r.getDerivedStateFromProps;(p=typeof g=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==h||m!==c)&&Ah(t,o,i,c),Gr=!1,m=t.memoizedState,o.state=m,vl(t,i,o,s);var j=t.memoizedState;l!==h||m!==j||hn.current||Gr?(typeof g=="function"&&(Gd(t,r,g,i),j=t.memoizedState),(d=Gr||Rh(t,r,d,i,m,j,c)||!1)?(p||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(i,j,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(i,j,c)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=j),o.props=i,o.state=j,o.context=c,i=d):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),i=!1)}return Xd(e,t,r,i,a,s)}function Xd(e,t,r,i,s,a){u0(e,t);var o=(t.flags&128)!==0;if(!i&&!o)return s&&Ch(t,r,!1),Ar(e,t,a);i=t.stateNode,jv.current=t;var l=o&&typeof r.getDerivedStateFromError!="function"?null:i.render();return t.flags|=1,e!==null&&o?(t.child=zs(t,e.child,null,a),t.child=zs(t,null,l,a)):sn(e,t,l,a),t.memoizedState=i.state,s&&Ch(t,r,!0),t.child}function p0(e){var t=e.stateNode;t.pendingContext?wh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&wh(e,t.context,!1),Zu(e,t.containerInfo)}function Fh(e,t,r,i,s){return $s(),Ku(s),t.flags|=256,sn(e,t,r,i),t.child}var Zd={dehydrated:null,treeContext:null,retryLane:0};function eu(e){return{baseLanes:e,cachePool:null,transitions:null}}function h0(e,t,r){var i=t.pendingProps,s=ut.current,a=!1,o=(t.flags&128)!==0,l;if((l=o)||(l=e!==null&&e.memoizedState===null?!1:(s&2)!==0),l?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),Xe(ut,s&1),e===null)return Vd(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):(o=i.children,e=i.fallback,a?(i=t.mode,a=t.child,o={mode:"hidden",children:o},!(i&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=nc(o,i,0,null),e=Pi(e,i,r,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=eu(r),t.memoizedState=Zd,e):op(t,o));if(s=e.memoizedState,s!==null&&(l=s.dehydrated,l!==null))return _v(e,t,o,i,l,s,r);if(a){a=i.fallback,o=t.mode,s=e.child,l=s.sibling;var c={mode:"hidden",children:i.children};return!(o&1)&&t.child!==s?(i=t.child,i.childLanes=0,i.pendingProps=c,t.deletions=null):(i=li(s,c),i.subtreeFlags=s.subtreeFlags&14680064),l!==null?a=li(l,a):(a=Pi(a,o,r,null),a.flags|=2),a.return=t,i.return=t,i.sibling=a,t.child=i,i=a,a=t.child,o=e.child.memoizedState,o=o===null?eu(r):{baseLanes:o.baseLanes|r,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~r,t.memoizedState=Zd,i}return a=e.child,e=a.sibling,i=li(a,{mode:"visible",children:i.children}),!(t.mode&1)&&(i.lanes=r),i.return=t,i.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=i,t.memoizedState=null,i}function op(e,t){return t=nc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ro(e,t,r,i){return i!==null&&Ku(i),zs(t,e.child,null,r),e=op(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function _v(e,t,r,i,s,a,o){if(r)return t.flags&256?(t.flags&=-257,i=Uc(Error(W(422))),Ro(e,t,o,i)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=i.fallback,s=t.mode,i=nc({mode:"visible",children:i.children},s,0,null),a=Pi(a,s,o,null),a.flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,t.mode&1&&zs(t,e.child,null,o),t.child.memoizedState=eu(o),t.memoizedState=Zd,a);if(!(t.mode&1))return Ro(e,t,o,null);if(s.data==="$!"){if(i=s.nextSibling&&s.nextSibling.dataset,i)var l=i.dgst;return i=l,a=Error(W(419)),i=Uc(a,i,void 0),Ro(e,t,o,i)}if(l=(o&e.childLanes)!==0,pn||l){if(i=Mt,i!==null){switch(o&-o){case 4:s=2;break;case 16:s=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:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(i.suspendedLanes|o)?0:s,s!==0&&s!==a.retryLane&&(a.retryLane=s,Rr(e,s),Gn(i,e,s,-1))}return hp(),i=Uc(Error(W(421))),Ro(e,t,o,i)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=Av.bind(null,e),s._reactRetry=t,null):(e=a.treeContext,wn=ii(s.nextSibling),Cn=t,lt=!0,Vn=null,e!==null&&(In[Pn++]=kr,In[Pn++]=Sr,In[Pn++]=Ti,kr=e.id,Sr=e.overflow,Ti=t),t=op(t,i.children),t.flags|=4096,t)}function Dh(e,t,r){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Kd(e.return,t,r)}function Hc(e,t,r,i,s){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:r,tailMode:s}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=i,a.tail=r,a.tailMode=s)}function m0(e,t,r){var i=t.pendingProps,s=i.revealOrder,a=i.tail;if(sn(e,t,i.children,r),i=ut.current,i&2)i=i&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&&Dh(e,r,t);else if(e.tag===19)Dh(e,r,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}i&=1}if(Xe(ut,i),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(r=t.child,s=null;r!==null;)e=r.alternate,e!==null&&jl(e)===null&&(s=r),r=r.sibling;r=s,r===null?(s=t.child,t.child=null):(s=r.sibling,r.sibling=null),Hc(t,!1,s,r,a);break;case"backwards":for(r=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&jl(e)===null){t.child=s;break}e=s.sibling,s.sibling=r,r=s,s=e}Hc(t,!0,r,null,a);break;case"together":Hc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Go(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ar(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Fi|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(W(153));if(t.child!==null){for(e=t.child,r=li(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=li(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function yv(e,t,r){switch(t.tag){case 3:p0(t),$s();break;case 5:Ff(t);break;case 1:mn(t.type)&&hl(t);break;case 4:Zu(t,t.stateNode.containerInfo);break;case 10:var i=t.type._context,s=t.memoizedProps.value;Xe(gl,i._currentValue),i._currentValue=s;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(Xe(ut,ut.current&1),t.flags|=128,null):r&t.child.childLanes?h0(e,t,r):(Xe(ut,ut.current&1),e=Ar(e,t,r),e!==null?e.sibling:null);Xe(ut,ut.current&1);break;case 19:if(i=(r&t.childLanes)!==0,e.flags&128){if(i)return m0(e,t,r);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Xe(ut,ut.current),i)break;return null;case 22:case 23:return t.lanes=0,d0(e,t,r)}return Ar(e,t,r)}var f0,tu,g0,x0;f0=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};tu=function(){};g0=function(e,t,r,i){var s=e.memoizedProps;if(s!==i){e=t.stateNode,Ei(mr.current);var a=null;switch(r){case"input":s=wd(e,s),i=wd(e,i),a=[];break;case"select":s=ht({},s,{value:void 0}),i=ht({},i,{value:void 0}),a=[];break;case"textarea":s=Sd(e,s),i=Sd(e,i),a=[];break;default:typeof s.onClick!="function"&&typeof i.onClick=="function"&&(e.onclick=ul)}$d(r,i);var o;r=null;for(d in s)if(!i.hasOwnProperty(d)&&s.hasOwnProperty(d)&&s[d]!=null)if(d==="style"){var l=s[d];for(o in l)l.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(Ea.hasOwnProperty(d)?a||(a=[]):(a=a||[]).push(d,null));for(d in i){var c=i[d];if(l=s!=null?s[d]:void 0,i.hasOwnProperty(d)&&c!==l&&(c!=null||l!=null))if(d==="style")if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(r||(r={}),r[o]=c[o])}else r||(a||(a=[]),a.push(d,r)),r=c;else d==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(a=a||[]).push(d,c)):d==="children"?typeof c!="string"&&typeof c!="number"||(a=a||[]).push(d,""+c):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(Ea.hasOwnProperty(d)?(c!=null&&d==="onScroll"&&nt("scroll",e),a||l===c||(a=[])):(a=a||[]).push(d,c))}r&&(a=a||[]).push("style",r);var d=a;(t.updateQueue=d)&&(t.flags|=4)}};x0=function(e,t,r,i){r!==i&&(t.flags|=4)};function Js(e,t){if(!lt)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var i=null;r!==null;)r.alternate!==null&&(i=r),r=r.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Qt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,i=0;if(t)for(var s=e.child;s!==null;)r|=s.lanes|s.childLanes,i|=s.subtreeFlags&14680064,i|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)r|=s.lanes|s.childLanes,i|=s.subtreeFlags,i|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=i,e.childLanes=r,t}function bv(e,t,r){var i=t.pendingProps;switch(Vu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qt(t),null;case 1:return mn(t.type)&&pl(),Qt(t),null;case 3:return i=t.stateNode,Es(),it(hn),it(en),tp(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Eo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Vn!==null&&(cu(Vn),Vn=null))),tu(e,t),Qt(t),null;case 5:ep(t);var s=Ei(Ua.current);if(r=t.type,e!==null&&t.stateNode!=null)g0(e,t,r,i,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(W(166));return Qt(t),null}if(e=Ei(mr.current),Eo(t)){i=t.stateNode,r=t.type;var a=t.memoizedProps;switch(i[dr]=t,i[Fa]=a,e=(t.mode&1)!==0,r){case"dialog":nt("cancel",i),nt("close",i);break;case"iframe":case"object":case"embed":nt("load",i);break;case"video":case"audio":for(s=0;s<\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=o.createElement(r,{is:i.is}):(e=o.createElement(r),r==="select"&&(o=e,i.multiple?o.multiple=!0:i.size&&(o.size=i.size))):e=o.createElementNS(e,r),e[dr]=t,e[Fa]=i,f0(e,t,!1,!1),t.stateNode=e;e:{switch(o=zd(r,i),r){case"dialog":nt("cancel",e),nt("close",e),s=i;break;case"iframe":case"object":case"embed":nt("load",e),s=i;break;case"video":case"audio":for(s=0;sRs&&(t.flags|=128,i=!0,Js(a,!1),t.lanes=4194304)}else{if(!i)if(e=jl(o),e!==null){if(t.flags|=128,i=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Js(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!lt)return Qt(t),null}else 2*bt()-a.renderingStartTime>Rs&&r!==1073741824&&(t.flags|=128,i=!0,Js(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(r=a.last,r!==null?r.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=bt(),t.sibling=null,r=ut.current,Xe(ut,i?r&1|2:r&1),t):(Qt(t),null);case 22:case 23:return pp(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?_n&1073741824&&(Qt(t),t.subtreeFlags&6&&(t.flags|=8192)):Qt(t),null;case 24:return null;case 25:return null}throw Error(W(156,t.tag))}function wv(e,t){switch(Vu(t),t.tag){case 1:return mn(t.type)&&pl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Es(),it(hn),it(en),tp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ep(t),null;case 13:if(it(ut),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(W(340));$s()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return it(ut),null;case 4:return Es(),null;case 10:return Ju(t.type._context),null;case 22:case 23:return pp(),null;case 24:return null;default:return null}}var Ao=!1,Zt=!1,Cv=typeof WeakSet=="function"?WeakSet:Set,ae=null;function xs(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(i){_t(e,t,i)}else r.current=null}function nu(e,t,r){try{r()}catch(i){_t(e,t,i)}}var Uh=!1;function kv(e,t){if(Od=ll,e=bf(),Wu(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var i=r.getSelection&&r.getSelection();if(i&&i.rangeCount!==0){r=i.anchorNode;var s=i.anchorOffset,a=i.focusNode;i=i.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var o=0,l=-1,c=-1,d=0,p=0,h=e,m=null;t:for(;;){for(var g;h!==r||s!==0&&h.nodeType!==3||(l=o+s),h!==a||i!==0&&h.nodeType!==3||(c=o+i),h.nodeType===3&&(o+=h.nodeValue.length),(g=h.firstChild)!==null;)m=h,h=g;for(;;){if(h===e)break t;if(m===r&&++d===s&&(l=o),m===a&&++p===i&&(c=o),(g=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=g}r=l===-1||c===-1?null:{start:l,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(Fd={focusedElem:e,selectionRange:r},ll=!1,ae=t;ae!==null;)if(t=ae,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ae=e;else for(;ae!==null;){t=ae;try{var j=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(j!==null){var b=j.memoizedProps,k=j.memoizedState,_=t.stateNode,u=_.getSnapshotBeforeUpdate(t.elementType===t.type?b:Hn(t.type,b),k);_.__reactInternalSnapshotBeforeUpdate=u}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(W(163))}}catch(v){_t(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,ae=e;break}ae=t.return}return j=Uh,Uh=!1,j}function ba(e,t,r){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var s=i=i.next;do{if((s.tag&e)===e){var a=s.destroy;s.destroy=void 0,a!==void 0&&nu(t,r,a)}s=s.next}while(s!==i)}}function ec(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var i=r.create;r.destroy=i()}r=r.next}while(r!==t)}}function ru(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function v0(e){var t=e.alternate;t!==null&&(e.alternate=null,v0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[dr],delete t[Fa],delete t[Hd],delete t[ov],delete t[lv])),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 j0(e){return e.tag===5||e.tag===3||e.tag===4}function Hh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||j0(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 iu(e,t,r){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=ul));else if(i!==4&&(e=e.child,e!==null))for(iu(e,t,r),e=e.sibling;e!==null;)iu(e,t,r),e=e.sibling}function su(e,t,r){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(su(e,t,r),e=e.sibling;e!==null;)su(e,t,r),e=e.sibling}var Wt=null,Wn=!1;function Hr(e,t,r){for(r=r.child;r!==null;)_0(e,t,r),r=r.sibling}function _0(e,t,r){if(hr&&typeof hr.onCommitFiberUnmount=="function")try{hr.onCommitFiberUnmount(Vl,r)}catch{}switch(r.tag){case 5:Zt||xs(r,t);case 6:var i=Wt,s=Wn;Wt=null,Hr(e,t,r),Wt=i,Wn=s,Wt!==null&&(Wn?(e=Wt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Wt.removeChild(r.stateNode));break;case 18:Wt!==null&&(Wn?(e=Wt,r=r.stateNode,e.nodeType===8?Mc(e.parentNode,r):e.nodeType===1&&Mc(e,r),Pa(e)):Mc(Wt,r.stateNode));break;case 4:i=Wt,s=Wn,Wt=r.stateNode.containerInfo,Wn=!0,Hr(e,t,r),Wt=i,Wn=s;break;case 0:case 11:case 14:case 15:if(!Zt&&(i=r.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){s=i=i.next;do{var a=s,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&nu(r,t,o),s=s.next}while(s!==i)}Hr(e,t,r);break;case 1:if(!Zt&&(xs(r,t),i=r.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=r.memoizedProps,i.state=r.memoizedState,i.componentWillUnmount()}catch(l){_t(r,t,l)}Hr(e,t,r);break;case 21:Hr(e,t,r);break;case 22:r.mode&1?(Zt=(i=Zt)||r.memoizedState!==null,Hr(e,t,r),Zt=i):Hr(e,t,r);break;default:Hr(e,t,r)}}function Wh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new Cv),t.forEach(function(i){var s=Iv.bind(null,e,i);r.has(i)||(r.add(i),i.then(s,s))})}}function Dn(e,t){var r=t.deletions;if(r!==null)for(var i=0;is&&(s=o),i&=~a}if(i=s,i=bt()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Nv(i/1960))-i,10e?16:e,Zr===null)var i=!1;else{if(e=Zr,Zr=null,Cl=0,Te&6)throw Error(W(331));var s=Te;for(Te|=4,ae=e.current;ae!==null;){var a=ae,o=a.child;if(ae.flags&16){var l=a.deletions;if(l!==null){for(var c=0;cbt()-dp?Ii(e,0):cp|=r),fn(e,t)}function $0(e,t){t===0&&(e.mode&1?(t=Co,Co<<=1,!(Co&130023424)&&(Co=4194304)):t=1);var r=an();e=Rr(e,t),e!==null&&(ro(e,t,r),fn(e,r))}function Av(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),$0(e,r)}function Iv(e,t){var r=0;switch(e.tag){case 13:var i=e.stateNode,s=e.memoizedState;s!==null&&(r=s.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(W(314))}i!==null&&i.delete(t),$0(e,r)}var z0;z0=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||hn.current)pn=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return pn=!1,yv(e,t,r);pn=!!(e.flags&131072)}else pn=!1,lt&&t.flags&1048576&&Af(t,fl,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;Go(e,t),e=t.pendingProps;var s=Ns(t,en.current);Cs(t,r),s=rp(null,t,i,e,s,r);var a=ip();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,mn(i)?(a=!0,hl(t)):a=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Xu(t),s.updater=Zl,t.stateNode=s,s._reactInternals=t,Qd(t,i,e,r),t=Xd(null,t,i,!0,a,r)):(t.tag=0,lt&&a&&qu(t),sn(null,t,s,r),t=t.child),t;case 16:i=t.elementType;e:{switch(Go(e,t),e=t.pendingProps,s=i._init,i=s(i._payload),t.type=i,s=t.tag=Mv(i),e=Hn(i,e),s){case 0:t=Yd(null,t,i,e,r);break e;case 1:t=Oh(null,t,i,e,r);break e;case 11:t=Bh(null,t,i,e,r);break e;case 14:t=Th(null,t,i,Hn(i.type,e),r);break e}throw Error(W(306,i,""))}return t;case 0:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Hn(i,s),Yd(e,t,i,s,r);case 1:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Hn(i,s),Oh(e,t,i,s,r);case 3:e:{if(p0(t),e===null)throw Error(W(387));i=t.pendingProps,a=t.memoizedState,s=a.element,Of(e,t),vl(t,i,null,r);var o=t.memoizedState;if(i=o.element,a.isDehydrated)if(a={element:i,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){s=Ls(Error(W(423)),t),t=Fh(e,t,i,r,s);break e}else if(i!==s){s=Ls(Error(W(424)),t),t=Fh(e,t,i,r,s);break e}else for(wn=ii(t.stateNode.containerInfo.firstChild),Cn=t,lt=!0,Vn=null,r=Bf(t,null,i,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if($s(),i===s){t=Ar(e,t,r);break e}sn(e,t,i,r)}t=t.child}return t;case 5:return Ff(t),e===null&&Vd(t),i=t.type,s=t.pendingProps,a=e!==null?e.memoizedProps:null,o=s.children,Dd(i,s)?o=null:a!==null&&Dd(i,a)&&(t.flags|=32),u0(e,t),sn(e,t,o,r),t.child;case 6:return e===null&&Vd(t),null;case 13:return h0(e,t,r);case 4:return Zu(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=zs(t,null,i,r):sn(e,t,i,r),t.child;case 11:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Hn(i,s),Bh(e,t,i,s,r);case 7:return sn(e,t,t.pendingProps,r),t.child;case 8:return sn(e,t,t.pendingProps.children,r),t.child;case 12:return sn(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(i=t.type._context,s=t.pendingProps,a=t.memoizedProps,o=s.value,Xe(gl,i._currentValue),i._currentValue=o,a!==null)if(Qn(a.value,o)){if(a.children===s.children&&!hn.current){t=Ar(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var l=a.dependencies;if(l!==null){o=a.child;for(var c=l.firstContext;c!==null;){if(c.context===i){if(a.tag===1){c=Nr(-1,r&-r),c.tag=2;var d=a.updateQueue;if(d!==null){d=d.shared;var p=d.pending;p===null?c.next=c:(c.next=p.next,p.next=c),d.pending=c}}a.lanes|=r,c=a.alternate,c!==null&&(c.lanes|=r),Kd(a.return,r,t),l.lanes|=r;break}c=c.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(W(341));o.lanes|=r,l=o.alternate,l!==null&&(l.lanes|=r),Kd(o,r,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}sn(e,t,s.children,r),t=t.child}return t;case 9:return s=t.type,i=t.pendingProps.children,Cs(t,r),s=Tn(s),i=i(s),t.flags|=1,sn(e,t,i,r),t.child;case 14:return i=t.type,s=Hn(i,t.pendingProps),s=Hn(i.type,s),Th(e,t,i,s,r);case 15:return c0(e,t,t.type,t.pendingProps,r);case 17:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Hn(i,s),Go(e,t),t.tag=1,mn(i)?(e=!0,hl(t)):e=!1,Cs(t,r),a0(t,i,s),Qd(t,i,s,r),Xd(null,t,i,!0,e,r);case 19:return m0(e,t,r);case 22:return d0(e,t,r)}throw Error(W(156,t.tag))};function E0(e,t){return nf(e,t)}function Pv(e,t,r,i){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mn(e,t,r,i){return new Pv(e,t,r,i)}function mp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Mv(e){if(typeof e=="function")return mp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Au)return 11;if(e===Iu)return 14}return 2}function li(e,t){var r=e.alternate;return r===null?(r=Mn(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Yo(e,t,r,i,s,a){var o=2;if(i=e,typeof e=="function")mp(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case ls:return Pi(r.children,s,a,t);case Ru:o=8,s|=8;break;case jd:return e=Mn(12,r,t,s|2),e.elementType=jd,e.lanes=a,e;case _d:return e=Mn(13,r,t,s),e.elementType=_d,e.lanes=a,e;case yd:return e=Mn(19,r,t,s),e.elementType=yd,e.lanes=a,e;case Om:return nc(r,s,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Bm:o=10;break e;case Tm:o=9;break e;case Au:o=11;break e;case Iu:o=14;break e;case Kr:o=16,i=null;break e}throw Error(W(130,e==null?e:typeof e,""))}return t=Mn(o,r,t,s),t.elementType=e,t.type=i,t.lanes=a,t}function Pi(e,t,r,i){return e=Mn(7,e,i,t),e.lanes=r,e}function nc(e,t,r,i){return e=Mn(22,e,i,t),e.elementType=Om,e.lanes=r,e.stateNode={isHidden:!1},e}function Wc(e,t,r){return e=Mn(6,e,null,t),e.lanes=r,e}function qc(e,t,r){return t=Mn(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bv(e,t,r,i,s){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=kc(0),this.expirationTimes=kc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kc(0),this.identifierPrefix=i,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function fp(e,t,r,i,s,a,o,l,c){return e=new Bv(e,t,r,l,c),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Mn(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:i,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Xu(a),e}function Tv(e,t,r){var i=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(I0)}catch(e){console.error(e)}}I0(),Am.exports=Sn;var oo=Am.exports;const jp=Cu(oo),Hv=ym({__proto__:null,default:jp},[oo]);var P0,Xh=oo;P0=Xh.createRoot,Xh.hydrateRoot;/** + * @license + * Copyright 2019 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const Xo=globalThis,_p=Xo.ShadowRoot&&(Xo.ShadyCSS===void 0||Xo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yp=Symbol(),Zh=new WeakMap;let M0=class{constructor(t,r,i){if(this._$cssResult$=!0,i!==yp)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o;const r=this.t;if(_p&&t===void 0){const i=r!==void 0&&r.length===1;i&&(t=Zh.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&Zh.set(r,t))}return t}toString(){return this.cssText}};const B0=e=>new M0(typeof e=="string"?e:e+"",void 0,yp),Wv=(e,...t)=>{const r=e.length===1?e[0]:t.reduce((i,s,a)=>i+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+e[a+1],e[0]);return new M0(r,e,yp)},qv=(e,t)=>{if(_p)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(const r of t){const i=document.createElement("style"),s=Xo.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=r.cssText,e.appendChild(i)}},e1=_p?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(const i of t.cssRules)r+=i.cssText;return B0(r)})(e):e;/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const{is:Vv,defineProperty:Kv,getOwnPropertyDescriptor:Gv,getOwnPropertyNames:Qv,getOwnPropertySymbols:Jv,getPrototypeOf:Yv}=Object,ci=globalThis,t1=ci.trustedTypes,Xv=t1?t1.emptyScript:"",Vc=ci.reactiveElementPolyfillSupport,ka=(e,t)=>e,Nl={toAttribute(e,t){switch(t){case Boolean:e=e?Xv:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},bp=(e,t)=>!Vv(e,t),n1={attribute:!0,type:String,converter:Nl,reflect:!1,hasChanged:bp};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),ci.litPropertyMetadata??(ci.litPropertyMetadata=new WeakMap);class as extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=n1){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){const i=Symbol(),s=this.getPropertyDescriptor(t,i,r);s!==void 0&&Kv(this.prototype,t,s)}}static getPropertyDescriptor(t,r,i){const{get:s,set:a}=Gv(this.prototype,t)??{get(){return this[r]},set(o){this[r]=o}};return{get(){return s==null?void 0:s.call(this)},set(o){const l=s==null?void 0:s.call(this);a.call(this,o),this.requestUpdate(t,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??n1}static _$Ei(){if(this.hasOwnProperty(ka("elementProperties")))return;const t=Yv(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(ka("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ka("properties"))){const r=this.properties,i=[...Qv(r),...Jv(r)];for(const s of i)this.createProperty(s,r[s])}const t=this[Symbol.metadata];if(t!==null){const r=litPropertyMetadata.get(t);if(r!==void 0)for(const[i,s]of r)this.elementProperties.set(i,s)}this._$Eh=new Map;for(const[r,i]of this.elementProperties){const s=this._$Eu(r,i);s!==void 0&&this._$Eh.set(s,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const r=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const s of i)r.unshift(e1(s))}else t!==void 0&&r.push(e1(t));return r}static _$Eu(t,r){const i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(r=>r(this))}addController(t){var r;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((r=t.hostConnected)==null||r.call(t))}removeController(t){var r;(r=this._$EO)==null||r.delete(t)}_$E_(){const t=new Map,r=this.constructor.elementProperties;for(const i of r.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return qv(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(r=>{var i;return(i=r.hostConnected)==null?void 0:i.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(r=>{var i;return(i=r.hostDisconnected)==null?void 0:i.call(r)})}attributeChangedCallback(t,r,i){this._$AK(t,i)}_$EC(t,r){var a;const i=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,i);if(s!==void 0&&i.reflect===!0){const o=(((a=i.converter)==null?void 0:a.toAttribute)!==void 0?i.converter:Nl).toAttribute(r,i.type);this._$Em=t,o==null?this.removeAttribute(s):this.setAttribute(s,o),this._$Em=null}}_$AK(t,r){var a;const i=this.constructor,s=i._$Eh.get(t);if(s!==void 0&&this._$Em!==s){const o=i.getPropertyOptions(s),l=typeof o.converter=="function"?{fromAttribute:o.converter}:((a=o.converter)==null?void 0:a.fromAttribute)!==void 0?o.converter:Nl;this._$Em=s,this[s]=l.fromAttribute(r,o.type),this._$Em=null}}requestUpdate(t,r,i){if(t!==void 0){if(i??(i=this.constructor.getPropertyOptions(t)),!(i.hasChanged??bp)(this[t],r))return;this.P(t,r,i)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,r,i){this._$AL.has(t)||this._$AL.set(t,r),i.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[a,o]of this._$Ep)this[a]=o;this._$Ep=void 0}const s=this.constructor.elementProperties;if(s.size>0)for(const[a,o]of s)o.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.P(a,this[a],o)}let t=!1;const r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),(i=this._$EO)==null||i.forEach(s=>{var a;return(a=s.hostUpdate)==null?void 0:a.call(s)}),this.update(r)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(r)}willUpdate(t){}_$AE(t){var r;(r=this._$EO)==null||r.forEach(i=>{var s;return(s=i.hostUpdated)==null?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(r=>this._$EC(r,this[r]))),this._$EU()}updated(t){}firstUpdated(t){}}as.elementStyles=[],as.shadowRootOptions={mode:"open"},as[ka("elementProperties")]=new Map,as[ka("finalized")]=new Map,Vc==null||Vc({ReactiveElement:as}),(ci.reactiveElementVersions??(ci.reactiveElementVersions=[])).push("2.0.4");/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const Sa=globalThis,$l=Sa.trustedTypes,r1=$l?$l.createPolicy("lit-html",{createHTML:e=>e}):void 0,T0="$lit$",Yr=`lit$${Math.random().toFixed(9).slice(2)}$`,O0="?"+Yr,Zv=`<${O0}>`,Ui=document,Ka=()=>Ui.createComment(""),Ga=e=>e===null||typeof e!="object"&&typeof e!="function",wp=Array.isArray,e4=e=>wp(e)||typeof(e==null?void 0:e[Symbol.iterator])=="function",Kc=`[ +\f\r]`,Xs=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,i1=/-->/g,s1=/>/g,xi=RegExp(`>|${Kc}(?:([^\\s"'>=/]+)(${Kc}*=${Kc}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),a1=/'/g,o1=/"/g,F0=/^(?:script|style|textarea|title)$/i,t4=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Gc=t4(1),As=Symbol.for("lit-noChange"),Pt=Symbol.for("lit-nothing"),l1=new WeakMap,Li=Ui.createTreeWalker(Ui,129);function D0(e,t){if(!wp(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return r1!==void 0?r1.createHTML(t):t}const n4=(e,t)=>{const r=e.length-1,i=[];let s,a=t===2?"":t===3?"":"",o=Xs;for(let l=0;l"?(o=s??Xs,h=-1):p[1]===void 0?h=-2:(h=o.lastIndex-p[2].length,d=p[1],o=p[3]===void 0?xi:p[3]==='"'?o1:a1):o===o1||o===a1?o=xi:o===i1||o===s1?o=Xs:(o=xi,s=void 0);const g=o===xi&&e[l+1].startsWith("/>")?" ":"";a+=o===Xs?c+Zv:h>=0?(i.push(d),c.slice(0,h)+T0+c.slice(h)+Yr+g):c+Yr+(h===-2?l:g)}return[D0(e,a+(e[r]||"")+(t===2?"":t===3?"":"")),i]};class Qa{constructor({strings:t,_$litType$:r},i){let s;this.parts=[];let a=0,o=0;const l=t.length-1,c=this.parts,[d,p]=n4(t,r);if(this.el=Qa.createElement(d,i),Li.currentNode=this.el.content,r===2||r===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=Li.nextNode())!==null&&c.length0){s.textContent=$l?$l.emptyScript:"";for(let g=0;g2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Pt}_$AI(t,r=this,i,s){const a=this.strings;let o=!1;if(a===void 0)t=Is(this,t,r,0),o=!Ga(t)||t!==this._$AH&&t!==As,o&&(this._$AH=t);else{const l=t;let c,d;for(t=a[0],c=0;c{const i=(r==null?void 0:r.renderBefore)??t;let s=i._$litPart$;if(s===void 0){const a=(r==null?void 0:r.renderBefore)??null;i._$litPart$=s=new lo(t.insertBefore(Ka(),a),a,void 0,r??{})}return s._$AI(e),s};/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */let Na=class extends as{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var r;const t=super.createRenderRoot();return(r=this.renderOptions).renderBefore??(r.renderBefore=t.firstChild),t}update(t){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=l4(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return As}};var _m;Na._$litElement$=!0,Na.finalized=!0,(_m=globalThis.litElementHydrateSupport)==null||_m.call(globalThis,{LitElement:Na});const Jc=globalThis.litElementPolyfillSupport;Jc==null||Jc({LitElement:Na});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const c4=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const d4={attribute:!0,type:String,converter:Nl,reflect:!1,hasChanged:bp},u4=(e=d4,t,r)=>{const{kind:i,metadata:s}=r;let a=globalThis.litPropertyMetadata.get(s);if(a===void 0&&globalThis.litPropertyMetadata.set(s,a=new Map),a.set(r.name,e),i==="accessor"){const{name:o}=r;return{set(l){const c=t.get.call(this);t.set.call(this,l),this.requestUpdate(o,c,e)},init(l){return l!==void 0&&this.P(o,void 0,e),l}}}if(i==="setter"){const{name:o}=r;return function(l){const c=this[o];t.call(this,l),this.requestUpdate(o,c,e)}}throw Error("Unsupported decorator location: "+i)};function fi(e){return(t,r)=>typeof r=="object"?u4(e,t,r):((i,s,a)=>{const o=s.hasOwnProperty(a);return s.constructor.createProperty(a,o?{...i,wrapped:!0}:i),o?Object.getOwnPropertyDescriptor(s,a):void 0})(e,t,r)}const p4=Wv` + :host { + display: inline-block; + --primary-color: #3b82f6; + --primary-hover: #2563eb; + --secondary-color: #6b7280; + --secondary-hover: #4b5563; + --success-color: #10b981; + --success-hover: #059669; + --warning-color: #f59e0b; + --warning-hover: #d97706; + --error-color: #ef4444; + --error-hover: #dc2626; + --info-color: #3b82f6; + --info-hover: #2563eb; + --ghost-color: transparent; + --ghost-hover: rgba(0, 0, 0, 0.05); + --disabled-color: #e5e7eb; + --disabled-text: #9ca3af; + --ripple-color: rgba(255, 255, 255, 0.7); + --retry-color: #f59e0b; + --retry-hover: #d97706; + --back-color: #6b7280; + --back-hover: #4b5563; + } + + .button { + position: relative; + display: inline-flex; + align-items: center; + justify-content: center; + padding: 0.5rem 1rem; + font-size: 1rem; + font-weight: 500; + line-height: 1.5; + border: none; + cursor: pointer; + transition: all 0.2s ease-in-out; + overflow: hidden; + outline: none; + user-select: none; + } + + /* Variants */ + .variant-primary { + background-color: var(--primary-color); + color: white; + } + + .variant-primary:hover:not(:disabled) { + background-color: var(--primary-hover); + } + + .variant-secondary { + background-color: var(--secondary-color); + color: white; + } + + .variant-secondary:hover:not(:disabled) { + background-color: var(--secondary-hover); + } + + .variant-success { + background-color: var(--success-color); + color: white; + } + + .variant-success:hover:not(:disabled) { + background-color: var(--success-hover); + } + + .variant-warning { + background-color: var(--warning-color); + color: white; + } + + .variant-warning:hover:not(:disabled) { + background-color: var(--warning-hover); + } + + .variant-error { + background-color: var(--error-color); + color: white; + } + + .variant-error:hover:not(:disabled) { + background-color: var(--error-hover); + } + + .variant-info { + background-color: var(--info-color); + color: white; + } + + .variant-info:hover:not(:disabled) { + background-color: var(--info-hover); + } + + .variant-ghost { + background-color: var(--ghost-color); + color: var(--primary-color); + } + + .variant-ghost:hover:not(:disabled) { + background-color: var(--ghost-hover); + } + + .variant-retry { + background-color: var(--retry-color); + color: white; + } + + .variant-retry:hover:not(:disabled) { + background-color: var(--retry-hover); + } + + .variant-back { + background-color: var(--back-color); + color: white; + } + + .variant-back:hover:not(:disabled) { + background-color: var(--back-hover); + } + + /* Sizes */ + .size-tiny { + padding: 0.25rem 0.5rem; + font-size: 0.75rem; + } + + .size-small { + padding: 0.375rem 0.75rem; + font-size: 0.875rem; + } + + .size-medium { + padding: 0.5rem 1rem; + font-size: 1rem; + } + + .size-large { + padding: 0.75rem 1.5rem; + font-size: 1.125rem; + } + + /* Shapes */ + .shape-square { + border-radius: 0; + } + + .shape-rounded { + border-radius: 0.375rem; + } + + .shape-circle { + border-radius: 9999px; + } + + .shape-pill { + border-radius: 9999px; + padding-left: 1.5rem; + padding-right: 1.5rem; + } + + /* States */ + .disabled, + :disabled { + background-color: var(--disabled-color) !important; + color: var(--disabled-text) !important; + cursor: not-allowed; + pointer-events: none; + } + + .loading { + cursor: wait; + pointer-events: none; + } + + .active { + transform: scale(0.98); + } + + /* Modifiers */ + .block { + width: 100%; + } + + .elevation { + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); + } + + .elevation:hover:not(:disabled) { + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + } + + .animation { + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); + } + + .animation:hover:not(:disabled) { + transform: translateY(-2px); + } + + .outlined { + background-color: transparent; + border: 1px solid currentColor; + } + + .gradient { + background: linear-gradient(45deg, var(--primary-color), var(--info-color)); + } + + .transparent { + background-color: transparent; + } + + .borderless { + border: none; + } + + .compact { + padding: 0.25rem 0.5rem; + } + + .uppercase { + text-transform: uppercase; + } + + .lowercase { + text-transform: lowercase; + } + + .capitalize { + text-transform: capitalize; + } + + /* Icons */ + .icon { + display: inline-flex; + align-items: center; + justify-content: center; + } + + .icon.left { + margin-right: 0.5rem; + } + + .icon.right { + margin-left: 0.5rem; + } + + /* Loading Spinner */ + .loading-spinner { + display: inline-block; + width: 1em; + height: 1em; + border: 2px solid currentColor; + border-right-color: transparent; + border-radius: 50%; + animation: spin 0.75s linear infinite; + } + + /* Ripple Effect */ + .ripple { + position: absolute; + border-radius: 50%; + transform: scale(0); + animation: ripple 0.6s linear; + background-color: var(--ripple-color); + } + + @keyframes spin { + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } + } + + @keyframes ripple { + to { + transform: scale(4); + opacity: 0; + } + } +`;var h4=Object.defineProperty,m4=Object.getOwnPropertyDescriptor,Mr=(e,t,r,i)=>{for(var s=i>1?void 0:i?m4(t,r):t,a=e.length-1,o;a>=0;a--)(o=e[a])&&(s=(i?o(t,r,s):o(s))||s);return i&&s&&h4(t,r,s),s};let Jn=class extends Na{constructor(){super(...arguments),this.variant="primary",this.size="medium",this.shape="rounded",this.borderRadius="medium",this.disabled=!1,this.loading=!1,this.active=!1,this.ariaLabel=""}handleClick(e){if(this.disabled||this.loading){e.preventDefault(),e.stopPropagation();return}this.createRippleEffect(e)}createRippleEffect(e){var c;const t=(c=this.shadowRoot)==null?void 0:c.querySelector(".button"),r=document.createElement("span"),i=t.getBoundingClientRect(),s=Math.max(i.width,i.height),a=e.clientX-i.left-s/2,o=e.clientY-i.top-s/2;r.style.width=r.style.height=`${s}px`,r.style.left=`${a}px`,r.style.top=`${o}px`,r.classList.add("ripple");const l=t.querySelector(".ripple");l&&l.remove(),t.appendChild(r),r.addEventListener("animationend",()=>{r.remove()})}render(){return Gc` + + `}generateClasses(){return["button",`variant-${this.variant}`,`size-${this.size}`,`shape-${this.shape}`,`border-radius-${this.borderRadius}`,this.loading&&"loading",this.active&&"active",this.disabled&&"disabled"].filter(Boolean).join(" ")}};Jn.styles=B0(p4);Mr([fi({type:String,reflect:!0})],Jn.prototype,"variant",2);Mr([fi({type:String,reflect:!0})],Jn.prototype,"size",2);Mr([fi({type:String,reflect:!0})],Jn.prototype,"shape",2);Mr([fi({type:String,reflect:!0})],Jn.prototype,"borderRadius",2);Mr([fi({type:Boolean,reflect:!0})],Jn.prototype,"disabled",2);Mr([fi({type:Boolean,reflect:!0})],Jn.prototype,"loading",2);Mr([fi({type:Boolean,reflect:!0})],Jn.prototype,"active",2);Mr([fi({type:String})],Jn.prototype,"ariaLabel",2);Jn=Mr([c4("minerva-button")],Jn);/** * @remix-run/router v1.18.0 * * Copyright (c) Remix Software Inc. @@ -46,9 +369,9 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function dt(){return dt=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Pi(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Vx(){return Math.random().toString(36).substr(2,8)}function yh(e,t){return{usr:e.state,key:e.key,idx:t}}function Ea(e,t,r,i){return r===void 0&&(r=null),dt({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Pr(t):t,{state:r,key:t&&t.key||i||Vx()})}function Ai(e){let{pathname:t="/",search:r="",hash:i=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function Pr(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}function Kx(e,t,r,i){i===void 0&&(i={});let{window:s=document.defaultView,v5Compat:a=!1}=i,o=s.history,l=kt.Pop,c=null,u=p();u==null&&(u=0,o.replaceState(dt({},o.state,{idx:u}),""));function p(){return(o.state||{idx:null}).idx}function m(){l=kt.Pop;let k=p(),j=k==null?null:k-u;u=k,c&&c({action:l,location:b.location,delta:j})}function h(k,j){l=kt.Push;let d=Ea(b.location,k,j);r&&r(d,k),u=p()+1;let f=yh(d,u),v=b.createHref(d);try{o.pushState(f,"",v)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;s.location.assign(v)}a&&c&&c({action:l,location:b.location,delta:1})}function x(k,j){l=kt.Replace;let d=Ea(b.location,k,j);r&&r(d,k),u=p();let f=yh(d,u),v=b.createHref(d);o.replaceState(f,"",v),a&&c&&c({action:l,location:b.location,delta:0})}function _(k){let j=s.location.origin!=="null"?s.location.origin:s.location.href,d=typeof k=="string"?k:Ai(k);return d=d.replace(/ $/,"%20"),ke(j,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,j)}let b={get action(){return l},get location(){return e(s,o)},listen(k){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(_h,m),c=k,()=>{s.removeEventListener(_h,m),c=null}},createHref(k){return t(s,k)},createURL:_,encodeLocation(k){let j=_(k);return{pathname:j.pathname,search:j.search,hash:j.hash}},push:h,replace:x,go(k){return o.go(k)}};return b}var Ye;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ye||(Ye={}));const Gx=new Set(["lazy","caseSensitive","path","id","index","children"]);function Qx(e){return e.index===!0}function Ia(e,t,r,i){return r===void 0&&(r=[]),i===void 0&&(i={}),e.map((s,a)=>{let o=[...r,String(a)],l=typeof s.id=="string"?s.id:o.join("-");if(ke(s.index!==!0||!s.children,"Cannot specify children on an index route"),ke(!i[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),Qx(s)){let c=dt({},s,t(s),{id:l});return i[l]=c,c}else{let c=dt({},s,t(s),{id:l,children:void 0});return i[l]=c,s.children&&(c.children=Ia(s.children,t,o,i)),c}})}function ji(e,t,r){return r===void 0&&(r="/"),Io(e,t,r,!1)}function Io(e,t,r,i){let s=typeof t=="string"?Pr(t):t,a=Ir(s.pathname||"/",r);if(a==null)return null;let o=Vf(e);Yx(o);let l=null;for(let c=0;l==null&&c{let c={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};c.relativePath.startsWith("/")&&(ke(c.relativePath.startsWith(i),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+i+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(i.length));let u=Sr([i,c.relativePath]),p=r.concat(c);a.children&&a.children.length>0&&(ke(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Vf(a.children,t,p,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:i4(u,a.index),routesMeta:p})};return e.forEach((a,o)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))s(a,o);else for(let c of Kf(a.path))s(a,o,c)}),t}function Kf(e){let t=e.split("/");if(t.length===0)return[];let[r,...i]=t,s=r.endsWith("?"),a=r.replace(/\?$/,"");if(i.length===0)return s?[a,""]:[a];let o=Kf(i.join("/")),l=[];return l.push(...o.map(c=>c===""?a:[a,c].join("/"))),s&&l.push(...o),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function Yx(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:s4(t.routesMeta.map(i=>i.childrenIndex),r.routesMeta.map(i=>i.childrenIndex)))}const Xx=/^:[\w-]+$/,Zx=3,e4=2,t4=1,n4=10,r4=-2,bh=e=>e==="*";function i4(e,t){let r=e.split("/"),i=r.length;return r.some(bh)&&(i+=r4),t&&(i+=e4),r.filter(s=>!bh(s)).reduce((s,a)=>s+(Xx.test(a)?Zx:a===""?t4:n4),i)}function s4(e,t){return e.length===t.length&&e.slice(0,-1).every((i,s)=>i===t[s])?e[e.length-1]-t[t.length-1]:0}function a4(e,t,r){r===void 0&&(r=!1);let{routesMeta:i}=e,s={},a="/",o=[];for(let l=0;l{let{paramName:h,isOptional:x}=p;if(h==="*"){let b=l[m]||"";o=a.slice(0,a.length-b.length).replace(/(.)\/+$/,"$1")}const _=l[m];return x&&!_?u[h]=void 0:u[h]=(_||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:o,pattern:e}}function o4(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Pi(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let i=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,c)=>(i.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(i.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),i]}function l4(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Pi(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Ir(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,i=e.charAt(r);return i&&i!=="/"?null:e.slice(r)||"/"}function c4(e,t){t===void 0&&(t="/");let{pathname:r,search:i="",hash:s=""}=typeof e=="string"?Pr(e):e;return{pathname:r?r.startsWith("/")?r:d4(r,t):t,search:p4(i),hash:h4(s)}}function d4(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?r.length>1&&r.pop():s!=="."&&r.push(s)}),r.length>1?r.join("/"):"/"}function bc(e,t,r,i){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(i)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Gf(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Fl(e,t){let r=Gf(e);return t?r.map((i,s)=>s===r.length-1?i.pathname:i.pathnameBase):r.map(i=>i.pathnameBase)}function Bl(e,t,r,i){i===void 0&&(i=!1);let s;typeof e=="string"?s=Pr(e):(s=dt({},e),ke(!s.pathname||!s.pathname.includes("?"),bc("?","pathname","search",s)),ke(!s.pathname||!s.pathname.includes("#"),bc("#","pathname","hash",s)),ke(!s.search||!s.search.includes("#"),bc("#","search","hash",s)));let a=e===""||s.pathname==="",o=a?"/":s.pathname,l;if(o==null)l=r;else{let m=t.length-1;if(!i&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),m-=1;s.pathname=h.join("/")}l=m>=0?t[m]:"/"}let c=c4(s,l),u=o&&o!=="/"&&o.endsWith("/"),p=(a||o===".")&&r.endsWith("/");return!c.pathname.endsWith("/")&&(u||p)&&(c.pathname+="/"),c}const Sr=e=>e.join("/").replace(/\/\/+/g,"/"),u4=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),p4=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,h4=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class qu{constructor(t,r,i,s){s===void 0&&(s=!1),this.status=t,this.statusText=r||"",this.internal=s,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}}function Ol(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Qf=["post","put","patch","delete"],m4=new Set(Qf),f4=["get",...Qf],g4=new Set(f4),x4=new Set([301,302,303,307,308]),v4=new Set([307,308]),wc={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},j4={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Os={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Vu=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,_4=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Jf="remix-router-transitions";function y4(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",i=!r;ke(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(e.mapRouteProperties)s=e.mapRouteProperties;else if(e.detectErrorBoundary){let $=e.detectErrorBoundary;s=I=>({hasErrorBoundary:$(I)})}else s=_4;let a={},o=Ia(e.routes,s,void 0,a),l,c=e.basename||"/",u=e.unstable_dataStrategy||S4,p=e.unstable_patchRoutesOnMiss,m=dt({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),h=null,x=new Set,_=null,b=null,k=null,j=e.hydrationData!=null,d=ji(o,e.history.location,c),f=null;if(d==null&&!p){let $=nn(404,{pathname:e.history.location.pathname}),{matches:I,route:P}=Ih(o);d=I,f={[P.id]:$}}d&&p&&!e.hydrationData&&Ql(d,o,e.history.location.pathname).active&&(d=null);let v;if(!d)v=!1,d=[];else if(d.some($=>$.route.lazy))v=!1;else if(!d.some($=>$.route.loader))v=!0;else if(m.v7_partialHydration){let $=e.hydrationData?e.hydrationData.loaderData:null,I=e.hydrationData?e.hydrationData.errors:null,P=B=>B.route.loader?typeof B.route.loader=="function"&&B.route.loader.hydrate===!0?!1:$&&$[B.route.id]!==void 0||I&&I[B.route.id]!==void 0:!0;if(I){let B=d.findIndex(re=>I[re.route.id]!==void 0);v=d.slice(0,B+1).every(P)}else v=d.every(P)}else v=e.hydrationData!=null;let w,g={historyAction:e.history.action,location:e.history.location,matches:d,initialized:v,navigation:wc,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||f,fetchers:new Map,blockers:new Map},N=kt.Pop,S=!1,L,E=!1,O=new Map,Q=null,q=!1,U=!1,D=[],G=[],ee=new Map,R=0,M=-1,T=new Map,J=new Set,X=new Map,Ae=new Map,K=new Set,de=new Map,Ne=new Map,Ke=new Map,Mt=!1;function wt(){if(h=e.history.listen($=>{let{action:I,location:P,delta:B}=$;if(Mt){Mt=!1;return}Pi(Ne.size===0||B!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let re=sp({currentLocation:g.location,nextLocation:P,historyAction:I});if(re&&B!=null){Mt=!0,e.history.go(B*-1),Va(re,{state:"blocked",location:P,proceed(){Va(re,{state:"proceeding",proceed:void 0,reset:void 0,location:P}),e.history.go(B)},reset(){let ce=new Map(g.blockers);ce.set(re,Os),Ue({blockers:ce})}});return}return di(I,P)}),r){B4(t,O);let $=()=>O4(t,O);t.addEventListener("pagehide",$),Q=()=>t.removeEventListener("pagehide",$)}return g.initialized||di(kt.Pop,g.location,{initialHydration:!0}),w}function Tt(){h&&h(),Q&&Q(),x.clear(),L&&L.abort(),g.fetchers.forEach(($,I)=>qa(I)),g.blockers.forEach(($,I)=>ip(I))}function It($){return x.add($),()=>x.delete($)}function Ue($,I){I===void 0&&(I={}),g=dt({},g,$);let P=[],B=[];m.v7_fetcherPersist&&g.fetchers.forEach((re,ce)=>{re.state==="idle"&&(K.has(ce)?B.push(ce):P.push(ce))}),[...x].forEach(re=>re(g,{deletedFetchers:B,unstable_viewTransitionOpts:I.viewTransitionOpts,unstable_flushSync:I.flushSync===!0})),m.v7_fetcherPersist&&(P.forEach(re=>g.fetchers.delete(re)),B.forEach(re=>qa(re)))}function ne($,I,P){var B,re;let{flushSync:ce}=P===void 0?{}:P,xe=g.actionData!=null&&g.navigation.formMethod!=null&&Wn(g.navigation.formMethod)&&g.navigation.state==="loading"&&((B=$.state)==null?void 0:B._isRedirect)!==!0,Z;I.actionData?Object.keys(I.actionData).length>0?Z=I.actionData:Z=null:xe?Z=g.actionData:Z=null;let we=I.loaderData?Lh(g.loaderData,I.loaderData,I.matches||[],I.errors):g.loaderData,ue=g.blockers;ue.size>0&&(ue=new Map(ue),ue.forEach((He,Ge)=>ue.set(Ge,Os)));let pe=S===!0||g.navigation.formMethod!=null&&Wn(g.navigation.formMethod)&&((re=$.state)==null?void 0:re._isRedirect)!==!0;l&&(o=l,l=void 0),q||N===kt.Pop||(N===kt.Push?e.history.push($,$.state):N===kt.Replace&&e.history.replace($,$.state));let Ve;if(N===kt.Pop){let He=O.get(g.location.pathname);He&&He.has($.pathname)?Ve={currentLocation:g.location,nextLocation:$}:O.has($.pathname)&&(Ve={currentLocation:$,nextLocation:g.location})}else if(E){let He=O.get(g.location.pathname);He?He.add($.pathname):(He=new Set([$.pathname]),O.set(g.location.pathname,He)),Ve={currentLocation:g.location,nextLocation:$}}Ue(dt({},I,{actionData:Z,loaderData:we,historyAction:N,location:$,initialized:!0,navigation:wc,revalidation:"idle",restoreScrollPosition:op($,I.matches||g.matches),preventScrollReset:pe,blockers:ue}),{viewTransitionOpts:Ve,flushSync:ce===!0}),N=kt.Pop,S=!1,E=!1,q=!1,U=!1,D=[],G=[]}async function ye($,I){if(typeof $=="number"){e.history.go($);return}let P=Ad(g.location,g.matches,c,m.v7_prependBasename,$,m.v7_relativeSplatPath,I==null?void 0:I.fromRouteId,I==null?void 0:I.relative),{path:B,submission:re,error:ce}=wh(m.v7_normalizeFormMethod,!1,P,I),xe=g.location,Z=Ea(g.location,B,I&&I.state);Z=dt({},Z,e.history.encodeLocation(Z));let we=I&&I.replace!=null?I.replace:void 0,ue=kt.Push;we===!0?ue=kt.Replace:we===!1||re!=null&&Wn(re.formMethod)&&re.formAction===g.location.pathname+g.location.search&&(ue=kt.Replace);let pe=I&&"preventScrollReset"in I?I.preventScrollReset===!0:void 0,Ve=(I&&I.unstable_flushSync)===!0,He=sp({currentLocation:xe,nextLocation:Z,historyAction:ue});if(He){Va(He,{state:"blocked",location:Z,proceed(){Va(He,{state:"proceeding",proceed:void 0,reset:void 0,location:Z}),ye($,I)},reset(){let Ge=new Map(g.blockers);Ge.set(He,Os),Ue({blockers:Ge})}});return}return await di(ue,Z,{submission:re,pendingError:ce,preventScrollReset:pe,replace:I&&I.replace,enableViewTransition:I&&I.unstable_viewTransition,flushSync:Ve})}function Ze(){if(Vl(),Ue({revalidation:"loading"}),g.navigation.state!=="submitting"){if(g.navigation.state==="idle"){di(g.historyAction,g.location,{startUninterruptedRevalidation:!0});return}di(N||g.historyAction,g.navigation.location,{overrideNavigation:g.navigation})}}async function di($,I,P){L&&L.abort(),L=null,N=$,q=(P&&P.startUninterruptedRevalidation)===!0,pg(g.location,g.matches),S=(P&&P.preventScrollReset)===!0,E=(P&&P.enableViewTransition)===!0;let B=l||o,re=P&&P.overrideNavigation,ce=ji(B,I,c),xe=(P&&P.flushSync)===!0,Z=Ql(ce,B,I.pathname);if(Z.active&&Z.matches&&(ce=Z.matches),!ce){let{error:Oe,notFoundMatches:Ft,route:Ct}=Kl(I.pathname);ne(I,{matches:Ft,loaderData:{},errors:{[Ct.id]:Oe}},{flushSync:xe});return}if(g.initialized&&!U&&I4(g.location,I)&&!(P&&P.submission&&Wn(P.submission.formMethod))){ne(I,{matches:ce},{flushSync:xe});return}L=new AbortController;let we=Ui(e.history,I,L.signal,P&&P.submission),ue;if(P&&P.pendingError)ue=[cs(ce).route.id,{type:Ye.error,error:P.pendingError}];else if(P&&P.submission&&Wn(P.submission.formMethod)){let Oe=await rg(we,I,P.submission,ce,Z.active,{replace:P.replace,flushSync:xe});if(Oe.shortCircuited)return;if(Oe.pendingActionResult){let[Ft,Ct]=Oe.pendingActionResult;if(_n(Ct)&&Ol(Ct.error)&&Ct.error.status===404){L=null,ne(I,{matches:Oe.matches,loaderData:{},errors:{[Ft]:Ct.error}});return}}ce=Oe.matches||ce,ue=Oe.pendingActionResult,re=Cc(I,P.submission),xe=!1,Z.active=!1,we=Ui(e.history,we.url,we.signal)}let{shortCircuited:pe,matches:Ve,loaderData:He,errors:Ge}=await ig(we,I,ce,Z.active,re,P&&P.submission,P&&P.fetcherSubmission,P&&P.replace,P&&P.initialHydration===!0,xe,ue);pe||(L=null,ne(I,dt({matches:Ve||ce},Eh(ue),{loaderData:He,errors:Ge})))}async function rg($,I,P,B,re,ce){ce===void 0&&(ce={}),Vl();let xe=T4(I,P);if(Ue({navigation:xe},{flushSync:ce.flushSync===!0}),re){let ue=await Ga(B,I.pathname,$.signal);if(ue.type==="aborted")return{shortCircuited:!0};if(ue.type==="error"){let{boundaryId:pe,error:Ve}=Ka(I.pathname,ue);return{matches:ue.partialMatches,pendingActionResult:[pe,{type:Ye.error,error:Ve}]}}else if(ue.matches)B=ue.matches;else{let{notFoundMatches:pe,error:Ve,route:He}=Kl(I.pathname);return{matches:pe,pendingActionResult:[He.id,{type:Ye.error,error:Ve}]}}}let Z,we=ta(B,I);if(!we.route.action&&!we.route.lazy)Z={type:Ye.error,error:nn(405,{method:$.method,pathname:I.pathname,routeId:we.route.id})};else if(Z=(await Ls("action",$,[we],B))[0],$.signal.aborted)return{shortCircuited:!0};if(ki(Z)){let ue;return ce&&ce.replace!=null?ue=ce.replace:ue=Nh(Z.response.headers.get("Location"),new URL($.url),c)===g.location.pathname+g.location.search,await $s($,Z,{submission:P,replace:ue}),{shortCircuited:!0}}if(Ci(Z))throw nn(400,{type:"defer-action"});if(_n(Z)){let ue=cs(B,we.route.id);return(ce&&ce.replace)!==!0&&(N=kt.Push),{matches:B,pendingActionResult:[ue.route.id,Z]}}return{matches:B,pendingActionResult:[we.route.id,Z]}}async function ig($,I,P,B,re,ce,xe,Z,we,ue,pe){let Ve=re||Cc(I,ce),He=ce||xe||Ah(Ve),Ge=!q&&(!m.v7_partialHydration||!we);if(B){if(Ge){let mt=Xu(pe);Ue(dt({navigation:Ve},mt!==void 0?{actionData:mt}:{}),{flushSync:ue})}let Se=await Ga(P,I.pathname,$.signal);if(Se.type==="aborted")return{shortCircuited:!0};if(Se.type==="error"){let{boundaryId:mt,error:fn}=Ka(I.pathname,Se);return{matches:Se.partialMatches,loaderData:{},errors:{[mt]:fn}}}else if(Se.matches)P=Se.matches;else{let{error:mt,notFoundMatches:fn,route:st}=Kl(I.pathname);return{matches:fn,loaderData:{},errors:{[st.id]:mt}}}}let Oe=l||o,[Ft,Ct]=Ch(e.history,g,P,He,I,m.v7_partialHydration&&we===!0,m.v7_skipActionErrorRevalidation,U,D,G,K,X,J,Oe,c,pe);if(Gl(Se=>!(P&&P.some(mt=>mt.route.id===Se))||Ft&&Ft.some(mt=>mt.route.id===Se)),M=++R,Ft.length===0&&Ct.length===0){let Se=np();return ne(I,dt({matches:P,loaderData:{},errors:pe&&_n(pe[1])?{[pe[0]]:pe[1].error}:null},Eh(pe),Se?{fetchers:new Map(g.fetchers)}:{}),{flushSync:ue}),{shortCircuited:!0}}if(Ge){let Se={};if(!B){Se.navigation=Ve;let mt=Xu(pe);mt!==void 0&&(Se.actionData=mt)}Ct.length>0&&(Se.fetchers=sg(Ct)),Ue(Se,{flushSync:ue})}Ct.forEach(Se=>{ee.has(Se.key)&&Fr(Se.key),Se.controller&&ee.set(Se.key,Se.controller)});let Es=()=>Ct.forEach(Se=>Fr(Se.key));L&&L.signal.addEventListener("abort",Es);let{loaderResults:Br,fetcherResults:Fi}=await Zu(g.matches,P,Ft,Ct,$);if($.signal.aborted)return{shortCircuited:!0};L&&L.signal.removeEventListener("abort",Es),Ct.forEach(Se=>ee.delete(Se.key));let Bi=Rh([...Br,...Fi]);if(Bi){if(Bi.idx>=Ft.length){let Se=Ct[Bi.idx-Ft.length].key;J.add(Se)}return await $s($,Bi.result,{replace:Z}),{shortCircuited:!0}}let{loaderData:Oi,errors:Qn}=$h(g,P,Ft,Br,pe,Ct,Fi,de);de.forEach((Se,mt)=>{Se.subscribe(fn=>{(fn||Se.done)&&de.delete(mt)})}),m.v7_partialHydration&&we&&g.errors&&Object.entries(g.errors).filter(Se=>{let[mt]=Se;return!Ft.some(fn=>fn.route.id===mt)}).forEach(Se=>{let[mt,fn]=Se;Qn=Object.assign(Qn||{},{[mt]:fn})});let Qa=np(),Ja=rp(M),Ya=Qa||Ja||Ct.length>0;return dt({matches:P,loaderData:Oi,errors:Qn},Ya?{fetchers:new Map(g.fetchers)}:{})}function Xu($){if($&&!_n($[1]))return{[$[0]]:$[1].data};if(g.actionData)return Object.keys(g.actionData).length===0?null:g.actionData}function sg($){return $.forEach(I=>{let P=g.fetchers.get(I.key),B=Ds(void 0,P?P.data:void 0);g.fetchers.set(I.key,B)}),new Map(g.fetchers)}function ag($,I,P,B){if(i)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");ee.has($)&&Fr($);let re=(B&&B.unstable_flushSync)===!0,ce=l||o,xe=Ad(g.location,g.matches,c,m.v7_prependBasename,P,m.v7_relativeSplatPath,I,B==null?void 0:B.relative),Z=ji(ce,xe,c),we=Ql(Z,ce,xe);if(we.active&&we.matches&&(Z=we.matches),!Z){hr($,I,nn(404,{pathname:xe}),{flushSync:re});return}let{path:ue,submission:pe,error:Ve}=wh(m.v7_normalizeFormMethod,!0,xe,B);if(Ve){hr($,I,Ve,{flushSync:re});return}let He=ta(Z,ue);if(S=(B&&B.preventScrollReset)===!0,pe&&Wn(pe.formMethod)){og($,I,ue,He,Z,we.active,re,pe);return}X.set($,{routeId:I,path:ue}),lg($,I,ue,He,Z,we.active,re,pe)}async function og($,I,P,B,re,ce,xe,Z){Vl(),X.delete($);function we(st){if(!st.route.action&&!st.route.lazy){let mr=nn(405,{method:Z.formMethod,pathname:P,routeId:I});return hr($,I,mr,{flushSync:xe}),!0}return!1}if(!ce&&we(B))return;let ue=g.fetchers.get($);Tr($,F4(Z,ue),{flushSync:xe});let pe=new AbortController,Ve=Ui(e.history,P,pe.signal,Z);if(ce){let st=await Ga(re,P,Ve.signal);if(st.type==="aborted")return;if(st.type==="error"){let{error:mr}=Ka(P,st);hr($,I,mr,{flushSync:xe});return}else if(st.matches){if(re=st.matches,B=ta(re,P),we(B))return}else{hr($,I,nn(404,{pathname:P}),{flushSync:xe});return}}ee.set($,pe);let He=R,Oe=(await Ls("action",Ve,[B],re))[0];if(Ve.signal.aborted){ee.get($)===pe&&ee.delete($);return}if(m.v7_fetcherPersist&&K.has($)){if(ki(Oe)||_n(Oe)){Tr($,Hr(void 0));return}}else{if(ki(Oe))if(ee.delete($),M>He){Tr($,Hr(void 0));return}else return J.add($),Tr($,Ds(Z)),$s(Ve,Oe,{fetcherSubmission:Z});if(_n(Oe)){hr($,I,Oe.error);return}}if(Ci(Oe))throw nn(400,{type:"defer-action"});let Ft=g.navigation.location||g.location,Ct=Ui(e.history,Ft,pe.signal),Es=l||o,Br=g.navigation.state!=="idle"?ji(Es,g.navigation.location,c):g.matches;ke(Br,"Didn't find any matches after fetcher action");let Fi=++R;T.set($,Fi);let Bi=Ds(Z,Oe.data);g.fetchers.set($,Bi);let[Oi,Qn]=Ch(e.history,g,Br,Z,Ft,!1,m.v7_skipActionErrorRevalidation,U,D,G,K,X,J,Es,c,[B.route.id,Oe]);Qn.filter(st=>st.key!==$).forEach(st=>{let mr=st.key,lp=g.fetchers.get(mr),fg=Ds(void 0,lp?lp.data:void 0);g.fetchers.set(mr,fg),ee.has(mr)&&Fr(mr),st.controller&&ee.set(mr,st.controller)}),Ue({fetchers:new Map(g.fetchers)});let Qa=()=>Qn.forEach(st=>Fr(st.key));pe.signal.addEventListener("abort",Qa);let{loaderResults:Ja,fetcherResults:Ya}=await Zu(g.matches,Br,Oi,Qn,Ct);if(pe.signal.aborted)return;pe.signal.removeEventListener("abort",Qa),T.delete($),ee.delete($),Qn.forEach(st=>ee.delete(st.key));let Se=Rh([...Ja,...Ya]);if(Se){if(Se.idx>=Oi.length){let st=Qn[Se.idx-Oi.length].key;J.add(st)}return $s(Ct,Se.result)}let{loaderData:mt,errors:fn}=$h(g,g.matches,Oi,Ja,void 0,Qn,Ya,de);if(g.fetchers.has($)){let st=Hr(Oe.data);g.fetchers.set($,st)}rp(Fi),g.navigation.state==="loading"&&Fi>M?(ke(N,"Expected pending action"),L&&L.abort(),ne(g.navigation.location,{matches:Br,loaderData:mt,errors:fn,fetchers:new Map(g.fetchers)})):(Ue({errors:fn,loaderData:Lh(g.loaderData,mt,Br,fn),fetchers:new Map(g.fetchers)}),U=!1)}async function lg($,I,P,B,re,ce,xe,Z){let we=g.fetchers.get($);Tr($,Ds(Z,we?we.data:void 0),{flushSync:xe});let ue=new AbortController,pe=Ui(e.history,P,ue.signal);if(ce){let Oe=await Ga(re,P,pe.signal);if(Oe.type==="aborted")return;if(Oe.type==="error"){let{error:Ft}=Ka(P,Oe);hr($,I,Ft,{flushSync:xe});return}else if(Oe.matches)re=Oe.matches,B=ta(re,P);else{hr($,I,nn(404,{pathname:P}),{flushSync:xe});return}}ee.set($,ue);let Ve=R,Ge=(await Ls("loader",pe,[B],re))[0];if(Ci(Ge)&&(Ge=await t0(Ge,pe.signal,!0)||Ge),ee.get($)===ue&&ee.delete($),!pe.signal.aborted){if(K.has($)){Tr($,Hr(void 0));return}if(ki(Ge))if(M>Ve){Tr($,Hr(void 0));return}else{J.add($),await $s(pe,Ge);return}if(_n(Ge)){hr($,I,Ge.error);return}ke(!Ci(Ge),"Unhandled fetcher deferred data"),Tr($,Hr(Ge.data))}}async function $s($,I,P){let{submission:B,fetcherSubmission:re,replace:ce}=P===void 0?{}:P;I.response.headers.has("X-Remix-Revalidate")&&(U=!0);let xe=I.response.headers.get("Location");ke(xe,"Expected a Location header on the redirect Response"),xe=Nh(xe,new URL($.url),c);let Z=Ea(g.location,xe,{_isRedirect:!0});if(r){let Ge=!1;if(I.response.headers.has("X-Remix-Reload-Document"))Ge=!0;else if(Vu.test(xe)){const Oe=e.history.createURL(xe);Ge=Oe.origin!==t.location.origin||Ir(Oe.pathname,c)==null}if(Ge){ce?t.location.replace(xe):t.location.assign(xe);return}}L=null;let we=ce===!0?kt.Replace:kt.Push,{formMethod:ue,formAction:pe,formEncType:Ve}=g.navigation;!B&&!re&&ue&&pe&&Ve&&(B=Ah(g.navigation));let He=B||re;if(v4.has(I.response.status)&&He&&Wn(He.formMethod))await di(we,Z,{submission:dt({},He,{formAction:xe}),preventScrollReset:S});else{let Ge=Cc(Z,B);await di(we,Z,{overrideNavigation:Ge,fetcherSubmission:re,preventScrollReset:S})}}async function Ls($,I,P,B){try{let re=await N4(u,$,I,P,B,a,s);return await Promise.all(re.map((ce,xe)=>{if(P4(ce)){let Z=ce.result;return{type:Ye.redirect,response:L4(Z,I,P[xe].route.id,B,c,m.v7_relativeSplatPath)}}return $4(ce)}))}catch(re){return P.map(()=>({type:Ye.error,error:re}))}}async function Zu($,I,P,B,re){let[ce,...xe]=await Promise.all([P.length?Ls("loader",re,P,I):[],...B.map(Z=>{if(Z.matches&&Z.match&&Z.controller){let we=Ui(e.history,Z.path,Z.controller.signal);return Ls("loader",we,[Z.match],Z.matches).then(ue=>ue[0])}else return Promise.resolve({type:Ye.error,error:nn(404,{pathname:Z.path})})})]);return await Promise.all([Ph($,P,ce,ce.map(()=>re.signal),!1,g.loaderData),Ph($,B.map(Z=>Z.match),xe,B.map(Z=>Z.controller?Z.controller.signal:null),!0)]),{loaderResults:ce,fetcherResults:xe}}function Vl(){U=!0,D.push(...Gl()),X.forEach(($,I)=>{ee.has(I)&&(G.push(I),Fr(I))})}function Tr($,I,P){P===void 0&&(P={}),g.fetchers.set($,I),Ue({fetchers:new Map(g.fetchers)},{flushSync:(P&&P.flushSync)===!0})}function hr($,I,P,B){B===void 0&&(B={});let re=cs(g.matches,I);qa($),Ue({errors:{[re.route.id]:P},fetchers:new Map(g.fetchers)},{flushSync:(B&&B.flushSync)===!0})}function ep($){return m.v7_fetcherPersist&&(Ae.set($,(Ae.get($)||0)+1),K.has($)&&K.delete($)),g.fetchers.get($)||j4}function qa($){let I=g.fetchers.get($);ee.has($)&&!(I&&I.state==="loading"&&T.has($))&&Fr($),X.delete($),T.delete($),J.delete($),K.delete($),g.fetchers.delete($)}function cg($){if(m.v7_fetcherPersist){let I=(Ae.get($)||0)-1;I<=0?(Ae.delete($),K.add($)):Ae.set($,I)}else qa($);Ue({fetchers:new Map(g.fetchers)})}function Fr($){let I=ee.get($);ke(I,"Expected fetch controller: "+$),I.abort(),ee.delete($)}function tp($){for(let I of $){let P=ep(I),B=Hr(P.data);g.fetchers.set(I,B)}}function np(){let $=[],I=!1;for(let P of J){let B=g.fetchers.get(P);ke(B,"Expected fetcher: "+P),B.state==="loading"&&(J.delete(P),$.push(P),I=!0)}return tp($),I}function rp($){let I=[];for(let[P,B]of T)if(B<$){let re=g.fetchers.get(P);ke(re,"Expected fetcher: "+P),re.state==="loading"&&(Fr(P),T.delete(P),I.push(P))}return tp(I),I.length>0}function dg($,I){let P=g.blockers.get($)||Os;return Ne.get($)!==I&&Ne.set($,I),P}function ip($){g.blockers.delete($),Ne.delete($)}function Va($,I){let P=g.blockers.get($)||Os;ke(P.state==="unblocked"&&I.state==="blocked"||P.state==="blocked"&&I.state==="blocked"||P.state==="blocked"&&I.state==="proceeding"||P.state==="blocked"&&I.state==="unblocked"||P.state==="proceeding"&&I.state==="unblocked","Invalid blocker state transition: "+P.state+" -> "+I.state);let B=new Map(g.blockers);B.set($,I),Ue({blockers:B})}function sp($){let{currentLocation:I,nextLocation:P,historyAction:B}=$;if(Ne.size===0)return;Ne.size>1&&Pi(!1,"A router only supports one blocker at a time");let re=Array.from(Ne.entries()),[ce,xe]=re[re.length-1],Z=g.blockers.get(ce);if(!(Z&&Z.state==="proceeding")&&xe({currentLocation:I,nextLocation:P,historyAction:B}))return ce}function Kl($){let I=nn(404,{pathname:$}),P=l||o,{matches:B,route:re}=Ih(P);return Gl(),{notFoundMatches:B,route:re,error:I}}function Ka($,I){return{boundaryId:cs(I.partialMatches).route.id,error:nn(400,{type:"route-discovery",pathname:$,message:I.error!=null&&"message"in I.error?I.error:String(I.error)})}}function Gl($){let I=[];return de.forEach((P,B)=>{(!$||$(B))&&(P.cancel(),I.push(B),de.delete(B))}),I}function ug($,I,P){if(_=$,k=I,b=P||null,!j&&g.navigation===wc){j=!0;let B=op(g.location,g.matches);B!=null&&Ue({restoreScrollPosition:B})}return()=>{_=null,k=null,b=null}}function ap($,I){return b&&b($,I.map(B=>Jx(B,g.loaderData)))||$.key}function pg($,I){if(_&&k){let P=ap($,I);_[P]=k()}}function op($,I){if(_){let P=ap($,I),B=_[P];if(typeof B=="number")return B}return null}function Ql($,I,P){if(p)if($){let B=$[$.length-1].route;if(B.path&&(B.path==="*"||B.path.endsWith("/*")))return{active:!0,matches:Io(I,P,c,!0)}}else return{active:!0,matches:Io(I,P,c,!0)||[]};return{active:!1,matches:null}}async function Ga($,I,P){let B=$,re=B.length>0?B[B.length-1].route:null;for(;;){let ce=l==null,xe=l||o;try{await k4(p,I,B,xe,a,s,Ke,P)}catch(pe){return{type:"error",error:pe,partialMatches:B}}finally{ce&&(o=[...o])}if(P.aborted)return{type:"aborted"};let Z=ji(xe,I,c),we=!1;if(Z){let pe=Z[Z.length-1].route;if(pe.index)return{type:"success",matches:Z};if(pe.path&&pe.path.length>0)if(pe.path==="*")we=!0;else return{type:"success",matches:Z}}let ue=Io(xe,I,c,!0);if(!ue||B.map(pe=>pe.route.id).join("-")===ue.map(pe=>pe.route.id).join("-"))return{type:"success",matches:we?Z:null};if(B=ue,re=B[B.length-1].route,re.path==="*")return{type:"success",matches:B}}}function hg($){a={},l=Ia($,s,void 0,a)}function mg($,I){let P=l==null;Xf($,I,l||o,a,s),P&&(o=[...o],Ue({}))}return w={get basename(){return c},get future(){return m},get state(){return g},get routes(){return o},get window(){return t},initialize:wt,subscribe:It,enableScrollRestoration:ug,navigate:ye,fetch:ag,revalidate:Ze,createHref:$=>e.history.createHref($),encodeLocation:$=>e.history.encodeLocation($),getFetcher:ep,deleteFetcher:cg,dispose:Tt,getBlocker:dg,deleteBlocker:ip,patchRoutes:mg,_internalFetchControllers:ee,_internalActiveDeferreds:de,_internalSetRoutes:hg},w}function b4(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Ad(e,t,r,i,s,a,o,l){let c,u;if(o){c=[];for(let m of t)if(c.push(m),m.route.id===o){u=m;break}}else c=t,u=t[t.length-1];let p=Bl(s||".",Fl(c,a),Ir(e.pathname,r)||e.pathname,l==="path");return s==null&&(p.search=e.search,p.hash=e.hash),(s==null||s===""||s===".")&&u&&u.route.index&&!Ku(p.search)&&(p.search=p.search?p.search.replace(/^\?/,"?index&"):"?index"),i&&r!=="/"&&(p.pathname=p.pathname==="/"?r:Sr([r,p.pathname])),Ai(p)}function wh(e,t,r,i){if(!i||!b4(i))return{path:r};if(i.formMethod&&!M4(i.formMethod))return{path:r,error:nn(405,{method:i.formMethod})};let s=()=>({path:r,error:nn(400,{type:"invalid-body"})}),a=i.formMethod||"get",o=e?a.toUpperCase():a.toLowerCase(),l=Zf(r);if(i.body!==void 0){if(i.formEncType==="text/plain"){if(!Wn(o))return s();let h=typeof i.body=="string"?i.body:i.body instanceof FormData||i.body instanceof URLSearchParams?Array.from(i.body.entries()).reduce((x,_)=>{let[b,k]=_;return""+x+b+"="+k+` -`},""):String(i.body);return{path:r,submission:{formMethod:o,formAction:l,formEncType:i.formEncType,formData:void 0,json:void 0,text:h}}}else if(i.formEncType==="application/json"){if(!Wn(o))return s();try{let h=typeof i.body=="string"?JSON.parse(i.body):i.body;return{path:r,submission:{formMethod:o,formAction:l,formEncType:i.formEncType,formData:void 0,json:h,text:void 0}}}catch{return s()}}}ke(typeof FormData=="function","FormData is not available in this environment");let c,u;if(i.formData)c=Md(i.formData),u=i.formData;else if(i.body instanceof FormData)c=Md(i.body),u=i.body;else if(i.body instanceof URLSearchParams)c=i.body,u=zh(c);else if(i.body==null)c=new URLSearchParams,u=new FormData;else try{c=new URLSearchParams(i.body),u=zh(c)}catch{return s()}let p={formMethod:o,formAction:l,formEncType:i&&i.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(Wn(p.formMethod))return{path:r,submission:p};let m=Pr(r);return t&&m.search&&Ku(m.search)&&c.append("index",""),m.search="?"+c,{path:Ai(m),submission:p}}function w4(e,t){let r=e;if(t){let i=e.findIndex(s=>s.route.id===t);i>=0&&(r=e.slice(0,i))}return r}function Ch(e,t,r,i,s,a,o,l,c,u,p,m,h,x,_,b){let k=b?_n(b[1])?b[1].error:b[1].data:void 0,j=e.createURL(t.location),d=e.createURL(s),f=b&&_n(b[1])?b[0]:void 0,v=f?w4(r,f):r,w=b?b[1].statusCode:void 0,g=o&&w&&w>=400,N=v.filter((L,E)=>{let{route:O}=L;if(O.lazy)return!0;if(O.loader==null)return!1;if(a)return typeof O.loader!="function"||O.loader.hydrate?!0:t.loaderData[O.id]===void 0&&(!t.errors||t.errors[O.id]===void 0);if(C4(t.loaderData,t.matches[E],L)||c.some(U=>U===L.route.id))return!0;let Q=t.matches[E],q=L;return kh(L,dt({currentUrl:j,currentParams:Q.params,nextUrl:d,nextParams:q.params},i,{actionResult:k,actionStatus:w,defaultShouldRevalidate:g?!1:l||j.pathname+j.search===d.pathname+d.search||j.search!==d.search||Yf(Q,q)}))}),S=[];return m.forEach((L,E)=>{if(a||!r.some(D=>D.route.id===L.routeId)||p.has(E))return;let O=ji(x,L.path,_);if(!O){S.push({key:E,routeId:L.routeId,path:L.path,matches:null,match:null,controller:null});return}let Q=t.fetchers.get(E),q=ta(O,L.path),U=!1;h.has(E)?U=!1:u.includes(E)?U=!0:Q&&Q.state!=="idle"&&Q.data===void 0?U=l:U=kh(q,dt({currentUrl:j,currentParams:t.matches[t.matches.length-1].params,nextUrl:d,nextParams:r[r.length-1].params},i,{actionResult:k,actionStatus:w,defaultShouldRevalidate:g?!1:l})),U&&S.push({key:E,routeId:L.routeId,path:L.path,matches:O,match:q,controller:new AbortController})}),[N,S]}function C4(e,t,r){let i=!t||r.route.id!==t.route.id,s=e[r.route.id]===void 0;return i||s}function Yf(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function kh(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}async function k4(e,t,r,i,s,a,o,l){let c=[t,...r.map(u=>u.route.id)].join("-");try{let u=o.get(c);u||(u=e({path:t,matches:r,patch:(p,m)=>{l.aborted||Xf(p,m,i,s,a)}}),o.set(c,u)),u&&R4(u)&&await u}finally{o.delete(c)}}function Xf(e,t,r,i,s){if(e){var a;let o=i[e];ke(o,"No route found to patch children into: routeId = "+e);let l=Ia(t,s,[e,"patch",String(((a=o.children)==null?void 0:a.length)||"0")],i);o.children?o.children.push(...l):o.children=l}else{let o=Ia(t,s,["patch",String(r.length||"0")],i);r.push(...o)}}async function Sh(e,t,r){if(!e.lazy)return;let i=await e.lazy();if(!e.lazy)return;let s=r[e.id];ke(s,"No route found in manifest");let a={};for(let o in i){let c=s[o]!==void 0&&o!=="hasErrorBoundary";Pi(!c,'Route "'+s.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!c&&!Gx.has(o)&&(a[o]=i[o])}Object.assign(s,a),Object.assign(s,dt({},t(s),{lazy:void 0}))}function S4(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function N4(e,t,r,i,s,a,o,l){let c=i.reduce((m,h)=>m.add(h.route.id),new Set),u=new Set,p=await e({matches:s.map(m=>{let h=c.has(m.route.id);return dt({},m,{shouldLoad:h,resolve:_=>(u.add(m.route.id),h?z4(t,r,m,a,o,_,l):Promise.resolve({type:Ye.data,result:void 0}))})}),request:r,params:s[0].params,context:l});return s.forEach(m=>ke(u.has(m.route.id),'`match.resolve()` was not called for route id "'+m.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),p.filter((m,h)=>c.has(s[h].route.id))}async function z4(e,t,r,i,s,a,o){let l,c,u=p=>{let m,h=new Promise((b,k)=>m=k);c=()=>m(),t.signal.addEventListener("abort",c);let x=b=>typeof p!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+r.route.id+"]"))):p({request:t,params:r.params,context:o},...b!==void 0?[b]:[]),_;return a?_=a(b=>x(b)):_=(async()=>{try{return{type:"data",result:await x()}}catch(b){return{type:"error",result:b}}})(),Promise.race([_,h])};try{let p=r.route[e];if(r.route.lazy)if(p){let m,[h]=await Promise.all([u(p).catch(x=>{m=x}),Sh(r.route,s,i)]);if(m!==void 0)throw m;l=h}else if(await Sh(r.route,s,i),p=r.route[e],p)l=await u(p);else if(e==="action"){let m=new URL(t.url),h=m.pathname+m.search;throw nn(405,{method:t.method,pathname:h,routeId:r.route.id})}else return{type:Ye.data,result:void 0};else if(p)l=await u(p);else{let m=new URL(t.url),h=m.pathname+m.search;throw nn(404,{pathname:h})}ke(l.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(p){return{type:Ye.error,result:p}}finally{c&&t.signal.removeEventListener("abort",c)}return l}async function $4(e){let{result:t,type:r,status:i}=e;if(e0(t)){let o;try{let l=t.headers.get("Content-Type");l&&/\bapplication\/json\b/.test(l)?t.body==null?o=null:o=await t.json():o=await t.text()}catch(l){return{type:Ye.error,error:l}}return r===Ye.error?{type:Ye.error,error:new qu(t.status,t.statusText,o),statusCode:t.status,headers:t.headers}:{type:Ye.data,data:o,statusCode:t.status,headers:t.headers}}if(r===Ye.error)return{type:Ye.error,error:t,statusCode:Ol(t)?t.status:i};if(A4(t)){var s,a;return{type:Ye.deferred,deferredData:t,statusCode:(s=t.init)==null?void 0:s.status,headers:((a=t.init)==null?void 0:a.headers)&&new Headers(t.init.headers)}}return{type:Ye.data,data:t,statusCode:i}}function L4(e,t,r,i,s,a){let o=e.headers.get("Location");if(ke(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!Vu.test(o)){let l=i.slice(0,i.findIndex(c=>c.route.id===r)+1);o=Ad(new URL(t.url),l,s,!0,o,a),e.headers.set("Location",o)}return e}function Nh(e,t,r){if(Vu.test(e)){let i=e,s=i.startsWith("//")?new URL(t.protocol+i):new URL(i),a=Ir(s.pathname,r)!=null;if(s.origin===t.origin&&a)return s.pathname+s.search+s.hash}return e}function Ui(e,t,r,i){let s=e.createURL(Zf(t)).toString(),a={signal:r};if(i&&Wn(i.formMethod)){let{formMethod:o,formEncType:l}=i;a.method=o.toUpperCase(),l==="application/json"?(a.headers=new Headers({"Content-Type":l}),a.body=JSON.stringify(i.json)):l==="text/plain"?a.body=i.text:l==="application/x-www-form-urlencoded"&&i.formData?a.body=Md(i.formData):a.body=i.formData}return new Request(s,a)}function Md(e){let t=new URLSearchParams;for(let[r,i]of e.entries())t.append(r,typeof i=="string"?i:i.name);return t}function zh(e){let t=new FormData;for(let[r,i]of e.entries())t.append(r,i);return t}function E4(e,t,r,i,s,a){let o={},l=null,c,u=!1,p={},m=i&&_n(i[1])?i[1].error:void 0;return r.forEach((h,x)=>{let _=t[x].route.id;if(ke(!ki(h),"Cannot handle redirect results in processLoaderData"),_n(h)){let b=h.error;m!==void 0&&(b=m,m=void 0),l=l||{};{let k=cs(e,_);l[k.route.id]==null&&(l[k.route.id]=b)}o[_]=void 0,u||(u=!0,c=Ol(h.error)?h.error.status:500),h.headers&&(p[_]=h.headers)}else Ci(h)?(s.set(_,h.deferredData),o[_]=h.deferredData.data,h.statusCode!=null&&h.statusCode!==200&&!u&&(c=h.statusCode),h.headers&&(p[_]=h.headers)):(o[_]=h.data,h.statusCode&&h.statusCode!==200&&!u&&(c=h.statusCode),h.headers&&(p[_]=h.headers))}),m!==void 0&&i&&(l={[i[0]]:m},o[i[0]]=void 0),{loaderData:o,errors:l,statusCode:c||200,loaderHeaders:p}}function $h(e,t,r,i,s,a,o,l){let{loaderData:c,errors:u}=E4(t,r,i,s,l);for(let p=0;pi.route.id===t)+1):[...e]).reverse().find(i=>i.route.hasErrorBoundary===!0)||e[0]}function Ih(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function nn(e,t){let{pathname:r,routeId:i,method:s,type:a,message:o}=t===void 0?{}:t,l="Unknown Server Error",c="Unknown @remix-run/router error";return e===400?(l="Bad Request",a==="route-discovery"?c='Unable to match URL "'+r+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error: -`+o):s&&r&&i?c="You made a "+s+' request to "'+r+'" but '+('did not provide a `loader` for route "'+i+'", ')+"so there is no way to handle the request.":a==="defer-action"?c="defer() is not supported in actions":a==="invalid-body"&&(c="Unable to encode submission body")):e===403?(l="Forbidden",c='Route "'+i+'" does not match URL "'+r+'"'):e===404?(l="Not Found",c='No route matches URL "'+r+'"'):e===405&&(l="Method Not Allowed",s&&r&&i?c="You made a "+s.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+i+'", ')+"so there is no way to handle the request.":s&&(c='Invalid request method "'+s.toUpperCase()+'"')),new qu(e||500,l,new Error(c),!0)}function Rh(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(ki(r))return{result:r,idx:t}}}function Zf(e){let t=typeof e=="string"?Pr(e):e;return Ai(dt({},t,{hash:""}))}function I4(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function R4(e){return typeof e=="object"&&e!=null&&"then"in e}function P4(e){return e0(e.result)&&x4.has(e.result.status)}function Ci(e){return e.type===Ye.deferred}function _n(e){return e.type===Ye.error}function ki(e){return(e&&e.type)===Ye.redirect}function A4(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function e0(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function M4(e){return g4.has(e.toLowerCase())}function Wn(e){return m4.has(e.toLowerCase())}async function Ph(e,t,r,i,s,a){for(let o=0;om.route.id===c.route.id),p=u!=null&&!Yf(u,c)&&(a&&a[c.route.id])!==void 0;if(Ci(l)&&(s||p)){let m=i[o];ke(m,"Expected an AbortSignal for revalidating fetcher deferred result"),await t0(l,m,s).then(h=>{h&&(r[o]=h||r[o])})}}}async function t0(e,t,r){if(r===void 0&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:Ye.data,data:e.deferredData.unwrappedData}}catch(s){return{type:Ye.error,error:s}}return{type:Ye.data,data:e.deferredData.data}}}function Ku(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function ta(e,t){let r=typeof t=="string"?Pr(t).search:t.search;if(e[e.length-1].route.index&&Ku(r||""))return e[e.length-1];let i=Gf(e);return i[i.length-1]}function Ah(e){let{formMethod:t,formAction:r,formEncType:i,text:s,formData:a,json:o}=e;if(!(!t||!r||!i)){if(s!=null)return{formMethod:t,formAction:r,formEncType:i,formData:void 0,json:void 0,text:s};if(a!=null)return{formMethod:t,formAction:r,formEncType:i,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:r,formEncType:i,formData:void 0,json:o,text:void 0}}}function Cc(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function T4(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Ds(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function F4(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Hr(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function B4(e,t){try{let r=e.sessionStorage.getItem(Jf);if(r){let i=JSON.parse(r);for(let[s,a]of Object.entries(i||{}))a&&Array.isArray(a)&&t.set(s,new Set(a||[]))}}catch{}}function O4(e,t){if(t.size>0){let r={};for(let[i,s]of t)r[i]=[...s];try{e.sessionStorage.setItem(Jf,JSON.stringify(r))}catch(i){Pi(!1,"Failed to save applied view transitions in sessionStorage ("+i+").")}}}/** + */function dt(){return dt=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Hi(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function g4(){return Math.random().toString(36).substr(2,8)}function d1(e,t){return{usr:e.state,key:e.key,idx:t}}function Ja(e,t,r,i){return r===void 0&&(r=null),dt({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Br(t):t,{state:r,key:t&&t.key||i||g4()})}function Wi(e){let{pathname:t="/",search:r="",hash:i=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function Br(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}function x4(e,t,r,i){i===void 0&&(i={});let{window:s=document.defaultView,v5Compat:a=!1}=i,o=s.history,l=kt.Pop,c=null,d=p();d==null&&(d=0,o.replaceState(dt({},o.state,{idx:d}),""));function p(){return(o.state||{idx:null}).idx}function h(){l=kt.Pop;let k=p(),_=k==null?null:k-d;d=k,c&&c({action:l,location:b.location,delta:_})}function m(k,_){l=kt.Push;let u=Ja(b.location,k,_);r&&r(u,k),d=p()+1;let f=d1(u,d),v=b.createHref(u);try{o.pushState(f,"",v)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;s.location.assign(v)}a&&c&&c({action:l,location:b.location,delta:1})}function g(k,_){l=kt.Replace;let u=Ja(b.location,k,_);r&&r(u,k),d=p();let f=d1(u,d),v=b.createHref(u);o.replaceState(f,"",v),a&&c&&c({action:l,location:b.location,delta:0})}function j(k){let _=s.location.origin!=="null"?s.location.origin:s.location.href,u=typeof k=="string"?k:Wi(k);return u=u.replace(/ $/,"%20"),Se(_,"No window.location.(origin|href) available to create URL for href: "+u),new URL(u,_)}let b={get action(){return l},get location(){return e(s,o)},listen(k){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(c1,h),c=k,()=>{s.removeEventListener(c1,h),c=null}},createHref(k){return t(s,k)},createURL:j,encodeLocation(k){let _=j(k);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:m,replace:g,go(k){return o.go(k)}};return b}var Ye;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ye||(Ye={}));const v4=new Set(["lazy","caseSensitive","path","id","index","children"]);function j4(e){return e.index===!0}function Ya(e,t,r,i){return r===void 0&&(r=[]),i===void 0&&(i={}),e.map((s,a)=>{let o=[...r,String(a)],l=typeof s.id=="string"?s.id:o.join("-");if(Se(s.index!==!0||!s.children,"Cannot specify children on an index route"),Se(!i[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),j4(s)){let c=dt({},s,t(s),{id:l});return i[l]=c,c}else{let c=dt({},s,t(s),{id:l,children:void 0});return i[l]=c,s.children&&(c.children=Ya(s.children,t,o,i)),c}})}function Si(e,t,r){return r===void 0&&(r="/"),Zo(e,t,r,!1)}function Zo(e,t,r,i){let s=typeof t=="string"?Br(t):t,a=Ir(s.pathname||"/",r);if(a==null)return null;let o=U0(e);y4(o);let l=null;for(let c=0;l==null&&c{let c={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};c.relativePath.startsWith("/")&&(Se(c.relativePath.startsWith(i),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+i+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(i.length));let d=$r([i,c.relativePath]),p=r.concat(c);a.children&&a.children.length>0&&(Se(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+d+'".')),U0(a.children,t,p,d)),!(a.path==null&&!a.index)&&t.push({path:d,score:$4(d,a.index),routesMeta:p})};return e.forEach((a,o)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))s(a,o);else for(let c of H0(a.path))s(a,o,c)}),t}function H0(e){let t=e.split("/");if(t.length===0)return[];let[r,...i]=t,s=r.endsWith("?"),a=r.replace(/\?$/,"");if(i.length===0)return s?[a,""]:[a];let o=H0(i.join("/")),l=[];return l.push(...o.map(c=>c===""?a:[a,c].join("/"))),s&&l.push(...o),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function y4(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:z4(t.routesMeta.map(i=>i.childrenIndex),r.routesMeta.map(i=>i.childrenIndex)))}const b4=/^:[\w-]+$/,w4=3,C4=2,k4=1,S4=10,N4=-2,u1=e=>e==="*";function $4(e,t){let r=e.split("/"),i=r.length;return r.some(u1)&&(i+=N4),t&&(i+=C4),r.filter(s=>!u1(s)).reduce((s,a)=>s+(b4.test(a)?w4:a===""?k4:S4),i)}function z4(e,t){return e.length===t.length&&e.slice(0,-1).every((i,s)=>i===t[s])?e[e.length-1]-t[t.length-1]:0}function E4(e,t,r){r===void 0&&(r=!1);let{routesMeta:i}=e,s={},a="/",o=[];for(let l=0;l{let{paramName:m,isOptional:g}=p;if(m==="*"){let b=l[h]||"";o=a.slice(0,a.length-b.length).replace(/(.)\/+$/,"$1")}const j=l[h];return g&&!j?d[m]=void 0:d[m]=(j||"").replace(/%2F/g,"/"),d},{}),pathname:a,pathnameBase:o,pattern:e}}function L4(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Hi(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let i=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,c)=>(i.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(i.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),i]}function R4(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Hi(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Ir(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,i=e.charAt(r);return i&&i!=="/"?null:e.slice(r)||"/"}function A4(e,t){t===void 0&&(t="/");let{pathname:r,search:i="",hash:s=""}=typeof e=="string"?Br(e):e;return{pathname:r?r.startsWith("/")?r:I4(r,t):t,search:M4(i),hash:B4(s)}}function I4(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?r.length>1&&r.pop():s!=="."&&r.push(s)}),r.length>1?r.join("/"):"/"}function Yc(e,t,r,i){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(i)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function W0(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function lc(e,t){let r=W0(e);return t?r.map((i,s)=>s===r.length-1?i.pathname:i.pathnameBase):r.map(i=>i.pathnameBase)}function cc(e,t,r,i){i===void 0&&(i=!1);let s;typeof e=="string"?s=Br(e):(s=dt({},e),Se(!s.pathname||!s.pathname.includes("?"),Yc("?","pathname","search",s)),Se(!s.pathname||!s.pathname.includes("#"),Yc("#","pathname","hash",s)),Se(!s.search||!s.search.includes("#"),Yc("#","search","hash",s)));let a=e===""||s.pathname==="",o=a?"/":s.pathname,l;if(o==null)l=r;else{let h=t.length-1;if(!i&&o.startsWith("..")){let m=o.split("/");for(;m[0]==="..";)m.shift(),h-=1;s.pathname=m.join("/")}l=h>=0?t[h]:"/"}let c=A4(s,l),d=o&&o!=="/"&&o.endsWith("/"),p=(a||o===".")&&r.endsWith("/");return!c.pathname.endsWith("/")&&(d||p)&&(c.pathname+="/"),c}const $r=e=>e.join("/").replace(/\/\/+/g,"/"),P4=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),M4=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,B4=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Cp{constructor(t,r,i,s){s===void 0&&(s=!1),this.status=t,this.statusText=r||"",this.internal=s,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}}function dc(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const q0=["post","put","patch","delete"],T4=new Set(q0),O4=["get",...q0],F4=new Set(O4),D4=new Set([301,302,303,307,308]),U4=new Set([307,308]),Xc={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},H4={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Zs={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},kp=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,W4=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),V0="remix-router-transitions";function q4(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",i=!r;Se(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(e.mapRouteProperties)s=e.mapRouteProperties;else if(e.detectErrorBoundary){let z=e.detectErrorBoundary;s=R=>({hasErrorBoundary:z(R)})}else s=W4;let a={},o=Ya(e.routes,s,void 0,a),l,c=e.basename||"/",d=e.unstable_dataStrategy||J4,p=e.unstable_patchRoutesOnMiss,h=dt({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),m=null,g=new Set,j=null,b=null,k=null,_=e.hydrationData!=null,u=Si(o,e.history.location,c),f=null;if(u==null&&!p){let z=rn(404,{pathname:e.history.location.pathname}),{matches:R,route:I}=y1(o);u=R,f={[I.id]:z}}u&&p&&!e.hydrationData&&jc(u,o,e.history.location.pathname).active&&(u=null);let v;if(!u)v=!1,u=[];else if(u.some(z=>z.route.lazy))v=!1;else if(!u.some(z=>z.route.loader))v=!0;else if(h.v7_partialHydration){let z=e.hydrationData?e.hydrationData.loaderData:null,R=e.hydrationData?e.hydrationData.errors:null,I=O=>O.route.loader?typeof O.route.loader=="function"&&O.route.loader.hydrate===!0?!1:z&&z[O.route.id]!==void 0||R&&R[O.route.id]!==void 0:!0;if(R){let O=u.findIndex(ie=>R[ie.route.id]!==void 0);v=u.slice(0,O+1).every(I)}else v=u.every(I)}else v=e.hydrationData!=null;let w,x={historyAction:e.history.action,location:e.history.location,matches:u,initialized:v,navigation:Xc,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||f,fetchers:new Map,blockers:new Map},N=kt.Pop,S=!1,E,L=!1,F=new Map,J=null,q=!1,U=!1,D=[],G=[],ee=new Map,A=0,M=-1,B=new Map,Y=new Set,X=new Map,Pe=new Map,K=new Set,ue=new Map,ze=new Map,Ke=new Map,Bt=!1;function wt(){if(m=e.history.listen(z=>{let{action:R,location:I,delta:O}=z;if(Bt){Bt=!1;return}Hi(ze.size===0||O!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let ie=Tp({currentLocation:x.location,nextLocation:I,historyAction:R});if(ie&&O!=null){Bt=!0,e.history.go(O*-1),ho(ie,{state:"blocked",location:I,proceed(){ho(ie,{state:"proceeding",proceed:void 0,reset:void 0,location:I}),e.history.go(O)},reset(){let de=new Map(x.blockers);de.set(ie,Zs),Ue({blockers:de})}});return}return gi(R,I)}),r){c3(t,F);let z=()=>d3(t,F);t.addEventListener("pagehide",z),J=()=>t.removeEventListener("pagehide",z)}return x.initialized||gi(kt.Pop,x.location,{initialHydration:!0}),w}function Tt(){m&&m(),J&&J(),g.clear(),E&&E.abort(),x.fetchers.forEach((z,R)=>po(R)),x.blockers.forEach((z,R)=>Bp(R))}function Rt(z){return g.add(z),()=>g.delete(z)}function Ue(z,R){R===void 0&&(R={}),x=dt({},x,z);let I=[],O=[];h.v7_fetcherPersist&&x.fetchers.forEach((ie,de)=>{ie.state==="idle"&&(K.has(de)?O.push(de):I.push(de))}),[...g].forEach(ie=>ie(x,{deletedFetchers:O,unstable_viewTransitionOpts:R.viewTransitionOpts,unstable_flushSync:R.flushSync===!0})),h.v7_fetcherPersist&&(I.forEach(ie=>x.fetchers.delete(ie)),O.forEach(ie=>po(ie)))}function re(z,R,I){var O,ie;let{flushSync:de}=I===void 0?{}:I,ve=x.actionData!=null&&x.navigation.formMethod!=null&&qn(x.navigation.formMethod)&&x.navigation.state==="loading"&&((O=z.state)==null?void 0:O._isRedirect)!==!0,Z;R.actionData?Object.keys(R.actionData).length>0?Z=R.actionData:Z=null:ve?Z=x.actionData:Z=null;let Ce=R.loaderData?j1(x.loaderData,R.loaderData,R.matches||[],R.errors):x.loaderData,pe=x.blockers;pe.size>0&&(pe=new Map(pe),pe.forEach((He,Ge)=>pe.set(Ge,Zs)));let he=S===!0||x.navigation.formMethod!=null&&qn(x.navigation.formMethod)&&((ie=z.state)==null?void 0:ie._isRedirect)!==!0;l&&(o=l,l=void 0),q||N===kt.Pop||(N===kt.Push?e.history.push(z,z.state):N===kt.Replace&&e.history.replace(z,z.state));let Ve;if(N===kt.Pop){let He=F.get(x.location.pathname);He&&He.has(z.pathname)?Ve={currentLocation:x.location,nextLocation:z}:F.has(z.pathname)&&(Ve={currentLocation:z,nextLocation:x.location})}else if(L){let He=F.get(x.location.pathname);He?He.add(z.pathname):(He=new Set([z.pathname]),F.set(x.location.pathname,He)),Ve={currentLocation:x.location,nextLocation:z}}Ue(dt({},R,{actionData:Z,loaderData:Ce,historyAction:N,location:z,initialized:!0,navigation:Xc,revalidation:"idle",restoreScrollPosition:Fp(z,R.matches||x.matches),preventScrollReset:he,blockers:pe}),{viewTransitionOpts:Ve,flushSync:de===!0}),N=kt.Pop,S=!1,L=!1,q=!1,U=!1,D=[],G=[]}async function be(z,R){if(typeof z=="number"){e.history.go(z);return}let I=du(x.location,x.matches,c,h.v7_prependBasename,z,h.v7_relativeSplatPath,R==null?void 0:R.fromRouteId,R==null?void 0:R.relative),{path:O,submission:ie,error:de}=p1(h.v7_normalizeFormMethod,!1,I,R),ve=x.location,Z=Ja(x.location,O,R&&R.state);Z=dt({},Z,e.history.encodeLocation(Z));let Ce=R&&R.replace!=null?R.replace:void 0,pe=kt.Push;Ce===!0?pe=kt.Replace:Ce===!1||ie!=null&&qn(ie.formMethod)&&ie.formAction===x.location.pathname+x.location.search&&(pe=kt.Replace);let he=R&&"preventScrollReset"in R?R.preventScrollReset===!0:void 0,Ve=(R&&R.unstable_flushSync)===!0,He=Tp({currentLocation:ve,nextLocation:Z,historyAction:pe});if(He){ho(He,{state:"blocked",location:Z,proceed(){ho(He,{state:"proceeding",proceed:void 0,reset:void 0,location:Z}),be(z,R)},reset(){let Ge=new Map(x.blockers);Ge.set(He,Zs),Ue({blockers:Ge})}});return}return await gi(pe,Z,{submission:ie,pendingError:de,preventScrollReset:he,replace:R&&R.replace,enableViewTransition:R&&R.unstable_viewTransition,flushSync:Ve})}function Ze(){if(gc(),Ue({revalidation:"loading"}),x.navigation.state!=="submitting"){if(x.navigation.state==="idle"){gi(x.historyAction,x.location,{startUninterruptedRevalidation:!0});return}gi(N||x.historyAction,x.navigation.location,{overrideNavigation:x.navigation})}}async function gi(z,R,I){E&&E.abort(),E=null,N=z,q=(I&&I.startUninterruptedRevalidation)===!0,u2(x.location,x.matches),S=(I&&I.preventScrollReset)===!0,L=(I&&I.enableViewTransition)===!0;let O=l||o,ie=I&&I.overrideNavigation,de=Si(O,R,c),ve=(I&&I.flushSync)===!0,Z=jc(de,O,R.pathname);if(Z.active&&Z.matches&&(de=Z.matches),!de){let{error:Fe,notFoundMatches:Ot,route:Ct}=xc(R.pathname);re(R,{matches:Ot,loaderData:{},errors:{[Ct.id]:Fe}},{flushSync:ve});return}if(x.initialized&&!U&&n3(x.location,R)&&!(I&&I.submission&&qn(I.submission.formMethod))){re(R,{matches:de},{flushSync:ve});return}E=new AbortController;let Ce=Yi(e.history,R,E.signal,I&&I.submission),pe;if(I&&I.pendingError)pe=[js(de).route.id,{type:Ye.error,error:I.pendingError}];else if(I&&I.submission&&qn(I.submission.formMethod)){let Fe=await n2(Ce,R,I.submission,de,Z.active,{replace:I.replace,flushSync:ve});if(Fe.shortCircuited)return;if(Fe.pendingActionResult){let[Ot,Ct]=Fe.pendingActionResult;if(yn(Ct)&&dc(Ct.error)&&Ct.error.status===404){E=null,re(R,{matches:Fe.matches,loaderData:{},errors:{[Ot]:Ct.error}});return}}de=Fe.matches||de,pe=Fe.pendingActionResult,ie=Zc(R,I.submission),ve=!1,Z.active=!1,Ce=Yi(e.history,Ce.url,Ce.signal)}let{shortCircuited:he,matches:Ve,loaderData:He,errors:Ge}=await r2(Ce,R,de,Z.active,ie,I&&I.submission,I&&I.fetcherSubmission,I&&I.replace,I&&I.initialHydration===!0,ve,pe);he||(E=null,re(R,dt({matches:Ve||de},_1(pe),{loaderData:He,errors:Ge})))}async function n2(z,R,I,O,ie,de){de===void 0&&(de={}),gc();let ve=o3(R,I);if(Ue({navigation:ve},{flushSync:de.flushSync===!0}),ie){let pe=await fo(O,R.pathname,z.signal);if(pe.type==="aborted")return{shortCircuited:!0};if(pe.type==="error"){let{boundaryId:he,error:Ve}=mo(R.pathname,pe);return{matches:pe.partialMatches,pendingActionResult:[he,{type:Ye.error,error:Ve}]}}else if(pe.matches)O=pe.matches;else{let{notFoundMatches:he,error:Ve,route:He}=xc(R.pathname);return{matches:he,pendingActionResult:[He.id,{type:Ye.error,error:Ve}]}}}let Z,Ce=ma(O,R);if(!Ce.route.action&&!Ce.route.lazy)Z={type:Ye.error,error:rn(405,{method:z.method,pathname:R.pathname,routeId:Ce.route.id})};else if(Z=(await Us("action",z,[Ce],O))[0],z.signal.aborted)return{shortCircuited:!0};if(Ai(Z)){let pe;return de&&de.replace!=null?pe=de.replace:pe=g1(Z.response.headers.get("Location"),new URL(z.url),c)===x.location.pathname+x.location.search,await Ds(z,Z,{submission:I,replace:pe}),{shortCircuited:!0}}if(Ri(Z))throw rn(400,{type:"defer-action"});if(yn(Z)){let pe=js(O,Ce.route.id);return(de&&de.replace)!==!0&&(N=kt.Push),{matches:O,pendingActionResult:[pe.route.id,Z]}}return{matches:O,pendingActionResult:[Ce.route.id,Z]}}async function r2(z,R,I,O,ie,de,ve,Z,Ce,pe,he){let Ve=ie||Zc(R,de),He=de||ve||C1(Ve),Ge=!q&&(!h.v7_partialHydration||!Ce);if(O){if(Ge){let mt=Lp(he);Ue(dt({navigation:Ve},mt!==void 0?{actionData:mt}:{}),{flushSync:pe})}let Ne=await fo(I,R.pathname,z.signal);if(Ne.type==="aborted")return{shortCircuited:!0};if(Ne.type==="error"){let{boundaryId:mt,error:gn}=mo(R.pathname,Ne);return{matches:Ne.partialMatches,loaderData:{},errors:{[mt]:gn}}}else if(Ne.matches)I=Ne.matches;else{let{error:mt,notFoundMatches:gn,route:st}=xc(R.pathname);return{matches:gn,loaderData:{},errors:{[st.id]:mt}}}}let Fe=l||o,[Ot,Ct]=h1(e.history,x,I,He,R,h.v7_partialHydration&&Ce===!0,h.v7_skipActionErrorRevalidation,U,D,G,K,X,Y,Fe,c,he);if(vc(Ne=>!(I&&I.some(mt=>mt.route.id===Ne))||Ot&&Ot.some(mt=>mt.route.id===Ne)),M=++A,Ot.length===0&&Ct.length===0){let Ne=Pp();return re(R,dt({matches:I,loaderData:{},errors:he&&yn(he[1])?{[he[0]]:he[1].error}:null},_1(he),Ne?{fetchers:new Map(x.fetchers)}:{}),{flushSync:pe}),{shortCircuited:!0}}if(Ge){let Ne={};if(!O){Ne.navigation=Ve;let mt=Lp(he);mt!==void 0&&(Ne.actionData=mt)}Ct.length>0&&(Ne.fetchers=i2(Ct)),Ue(Ne,{flushSync:pe})}Ct.forEach(Ne=>{ee.has(Ne.key)&&Dr(Ne.key),Ne.controller&&ee.set(Ne.key,Ne.controller)});let Hs=()=>Ct.forEach(Ne=>Dr(Ne.key));E&&E.signal.addEventListener("abort",Hs);let{loaderResults:Ur,fetcherResults:Ki}=await Rp(x.matches,I,Ot,Ct,z);if(z.signal.aborted)return{shortCircuited:!0};E&&E.signal.removeEventListener("abort",Hs),Ct.forEach(Ne=>ee.delete(Ne.key));let Gi=b1([...Ur,...Ki]);if(Gi){if(Gi.idx>=Ot.length){let Ne=Ct[Gi.idx-Ot.length].key;Y.add(Ne)}return await Ds(z,Gi.result,{replace:Z}),{shortCircuited:!0}}let{loaderData:Qi,errors:Yn}=v1(x,I,Ot,Ur,he,Ct,Ki,ue);ue.forEach((Ne,mt)=>{Ne.subscribe(gn=>{(gn||Ne.done)&&ue.delete(mt)})}),h.v7_partialHydration&&Ce&&x.errors&&Object.entries(x.errors).filter(Ne=>{let[mt]=Ne;return!Ot.some(gn=>gn.route.id===mt)}).forEach(Ne=>{let[mt,gn]=Ne;Yn=Object.assign(Yn||{},{[mt]:gn})});let go=Pp(),xo=Mp(M),vo=go||xo||Ct.length>0;return dt({matches:I,loaderData:Qi,errors:Yn},vo?{fetchers:new Map(x.fetchers)}:{})}function Lp(z){if(z&&!yn(z[1]))return{[z[0]]:z[1].data};if(x.actionData)return Object.keys(x.actionData).length===0?null:x.actionData}function i2(z){return z.forEach(R=>{let I=x.fetchers.get(R.key),O=ea(void 0,I?I.data:void 0);x.fetchers.set(R.key,O)}),new Map(x.fetchers)}function s2(z,R,I,O){if(i)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");ee.has(z)&&Dr(z);let ie=(O&&O.unstable_flushSync)===!0,de=l||o,ve=du(x.location,x.matches,c,h.v7_prependBasename,I,h.v7_relativeSplatPath,R,O==null?void 0:O.relative),Z=Si(de,ve,c),Ce=jc(Z,de,ve);if(Ce.active&&Ce.matches&&(Z=Ce.matches),!Z){fr(z,R,rn(404,{pathname:ve}),{flushSync:ie});return}let{path:pe,submission:he,error:Ve}=p1(h.v7_normalizeFormMethod,!0,ve,O);if(Ve){fr(z,R,Ve,{flushSync:ie});return}let He=ma(Z,pe);if(S=(O&&O.preventScrollReset)===!0,he&&qn(he.formMethod)){a2(z,R,pe,He,Z,Ce.active,ie,he);return}X.set(z,{routeId:R,path:pe}),o2(z,R,pe,He,Z,Ce.active,ie,he)}async function a2(z,R,I,O,ie,de,ve,Z){gc(),X.delete(z);function Ce(st){if(!st.route.action&&!st.route.lazy){let gr=rn(405,{method:Z.formMethod,pathname:I,routeId:R});return fr(z,R,gr,{flushSync:ve}),!0}return!1}if(!de&&Ce(O))return;let pe=x.fetchers.get(z);Fr(z,l3(Z,pe),{flushSync:ve});let he=new AbortController,Ve=Yi(e.history,I,he.signal,Z);if(de){let st=await fo(ie,I,Ve.signal);if(st.type==="aborted")return;if(st.type==="error"){let{error:gr}=mo(I,st);fr(z,R,gr,{flushSync:ve});return}else if(st.matches){if(ie=st.matches,O=ma(ie,I),Ce(O))return}else{fr(z,R,rn(404,{pathname:I}),{flushSync:ve});return}}ee.set(z,he);let He=A,Fe=(await Us("action",Ve,[O],ie))[0];if(Ve.signal.aborted){ee.get(z)===he&&ee.delete(z);return}if(h.v7_fetcherPersist&&K.has(z)){if(Ai(Fe)||yn(Fe)){Fr(z,Vr(void 0));return}}else{if(Ai(Fe))if(ee.delete(z),M>He){Fr(z,Vr(void 0));return}else return Y.add(z),Fr(z,ea(Z)),Ds(Ve,Fe,{fetcherSubmission:Z});if(yn(Fe)){fr(z,R,Fe.error);return}}if(Ri(Fe))throw rn(400,{type:"defer-action"});let Ot=x.navigation.location||x.location,Ct=Yi(e.history,Ot,he.signal),Hs=l||o,Ur=x.navigation.state!=="idle"?Si(Hs,x.navigation.location,c):x.matches;Se(Ur,"Didn't find any matches after fetcher action");let Ki=++A;B.set(z,Ki);let Gi=ea(Z,Fe.data);x.fetchers.set(z,Gi);let[Qi,Yn]=h1(e.history,x,Ur,Z,Ot,!1,h.v7_skipActionErrorRevalidation,U,D,G,K,X,Y,Hs,c,[O.route.id,Fe]);Yn.filter(st=>st.key!==z).forEach(st=>{let gr=st.key,Dp=x.fetchers.get(gr),m2=ea(void 0,Dp?Dp.data:void 0);x.fetchers.set(gr,m2),ee.has(gr)&&Dr(gr),st.controller&&ee.set(gr,st.controller)}),Ue({fetchers:new Map(x.fetchers)});let go=()=>Yn.forEach(st=>Dr(st.key));he.signal.addEventListener("abort",go);let{loaderResults:xo,fetcherResults:vo}=await Rp(x.matches,Ur,Qi,Yn,Ct);if(he.signal.aborted)return;he.signal.removeEventListener("abort",go),B.delete(z),ee.delete(z),Yn.forEach(st=>ee.delete(st.key));let Ne=b1([...xo,...vo]);if(Ne){if(Ne.idx>=Qi.length){let st=Yn[Ne.idx-Qi.length].key;Y.add(st)}return Ds(Ct,Ne.result)}let{loaderData:mt,errors:gn}=v1(x,x.matches,Qi,xo,void 0,Yn,vo,ue);if(x.fetchers.has(z)){let st=Vr(Fe.data);x.fetchers.set(z,st)}Mp(Ki),x.navigation.state==="loading"&&Ki>M?(Se(N,"Expected pending action"),E&&E.abort(),re(x.navigation.location,{matches:Ur,loaderData:mt,errors:gn,fetchers:new Map(x.fetchers)})):(Ue({errors:gn,loaderData:j1(x.loaderData,mt,Ur,gn),fetchers:new Map(x.fetchers)}),U=!1)}async function o2(z,R,I,O,ie,de,ve,Z){let Ce=x.fetchers.get(z);Fr(z,ea(Z,Ce?Ce.data:void 0),{flushSync:ve});let pe=new AbortController,he=Yi(e.history,I,pe.signal);if(de){let Fe=await fo(ie,I,he.signal);if(Fe.type==="aborted")return;if(Fe.type==="error"){let{error:Ot}=mo(I,Fe);fr(z,R,Ot,{flushSync:ve});return}else if(Fe.matches)ie=Fe.matches,O=ma(ie,I);else{fr(z,R,rn(404,{pathname:I}),{flushSync:ve});return}}ee.set(z,pe);let Ve=A,Ge=(await Us("loader",he,[O],ie))[0];if(Ri(Ge)&&(Ge=await Y0(Ge,he.signal,!0)||Ge),ee.get(z)===pe&&ee.delete(z),!he.signal.aborted){if(K.has(z)){Fr(z,Vr(void 0));return}if(Ai(Ge))if(M>Ve){Fr(z,Vr(void 0));return}else{Y.add(z),await Ds(he,Ge);return}if(yn(Ge)){fr(z,R,Ge.error);return}Se(!Ri(Ge),"Unhandled fetcher deferred data"),Fr(z,Vr(Ge.data))}}async function Ds(z,R,I){let{submission:O,fetcherSubmission:ie,replace:de}=I===void 0?{}:I;R.response.headers.has("X-Remix-Revalidate")&&(U=!0);let ve=R.response.headers.get("Location");Se(ve,"Expected a Location header on the redirect Response"),ve=g1(ve,new URL(z.url),c);let Z=Ja(x.location,ve,{_isRedirect:!0});if(r){let Ge=!1;if(R.response.headers.has("X-Remix-Reload-Document"))Ge=!0;else if(kp.test(ve)){const Fe=e.history.createURL(ve);Ge=Fe.origin!==t.location.origin||Ir(Fe.pathname,c)==null}if(Ge){de?t.location.replace(ve):t.location.assign(ve);return}}E=null;let Ce=de===!0?kt.Replace:kt.Push,{formMethod:pe,formAction:he,formEncType:Ve}=x.navigation;!O&&!ie&&pe&&he&&Ve&&(O=C1(x.navigation));let He=O||ie;if(U4.has(R.response.status)&&He&&qn(He.formMethod))await gi(Ce,Z,{submission:dt({},He,{formAction:ve}),preventScrollReset:S});else{let Ge=Zc(Z,O);await gi(Ce,Z,{overrideNavigation:Ge,fetcherSubmission:ie,preventScrollReset:S})}}async function Us(z,R,I,O){try{let ie=await Y4(d,z,R,I,O,a,s);return await Promise.all(ie.map((de,ve)=>{if(i3(de)){let Z=de.result;return{type:Ye.redirect,response:e3(Z,R,I[ve].route.id,O,c,h.v7_relativeSplatPath)}}return Z4(de)}))}catch(ie){return I.map(()=>({type:Ye.error,error:ie}))}}async function Rp(z,R,I,O,ie){let[de,...ve]=await Promise.all([I.length?Us("loader",ie,I,R):[],...O.map(Z=>{if(Z.matches&&Z.match&&Z.controller){let Ce=Yi(e.history,Z.path,Z.controller.signal);return Us("loader",Ce,[Z.match],Z.matches).then(pe=>pe[0])}else return Promise.resolve({type:Ye.error,error:rn(404,{pathname:Z.path})})})]);return await Promise.all([w1(z,I,de,de.map(()=>ie.signal),!1,x.loaderData),w1(z,O.map(Z=>Z.match),ve,O.map(Z=>Z.controller?Z.controller.signal:null),!0)]),{loaderResults:de,fetcherResults:ve}}function gc(){U=!0,D.push(...vc()),X.forEach((z,R)=>{ee.has(R)&&(G.push(R),Dr(R))})}function Fr(z,R,I){I===void 0&&(I={}),x.fetchers.set(z,R),Ue({fetchers:new Map(x.fetchers)},{flushSync:(I&&I.flushSync)===!0})}function fr(z,R,I,O){O===void 0&&(O={});let ie=js(x.matches,R);po(z),Ue({errors:{[ie.route.id]:I},fetchers:new Map(x.fetchers)},{flushSync:(O&&O.flushSync)===!0})}function Ap(z){return h.v7_fetcherPersist&&(Pe.set(z,(Pe.get(z)||0)+1),K.has(z)&&K.delete(z)),x.fetchers.get(z)||H4}function po(z){let R=x.fetchers.get(z);ee.has(z)&&!(R&&R.state==="loading"&&B.has(z))&&Dr(z),X.delete(z),B.delete(z),Y.delete(z),K.delete(z),x.fetchers.delete(z)}function l2(z){if(h.v7_fetcherPersist){let R=(Pe.get(z)||0)-1;R<=0?(Pe.delete(z),K.add(z)):Pe.set(z,R)}else po(z);Ue({fetchers:new Map(x.fetchers)})}function Dr(z){let R=ee.get(z);Se(R,"Expected fetch controller: "+z),R.abort(),ee.delete(z)}function Ip(z){for(let R of z){let I=Ap(R),O=Vr(I.data);x.fetchers.set(R,O)}}function Pp(){let z=[],R=!1;for(let I of Y){let O=x.fetchers.get(I);Se(O,"Expected fetcher: "+I),O.state==="loading"&&(Y.delete(I),z.push(I),R=!0)}return Ip(z),R}function Mp(z){let R=[];for(let[I,O]of B)if(O0}function c2(z,R){let I=x.blockers.get(z)||Zs;return ze.get(z)!==R&&ze.set(z,R),I}function Bp(z){x.blockers.delete(z),ze.delete(z)}function ho(z,R){let I=x.blockers.get(z)||Zs;Se(I.state==="unblocked"&&R.state==="blocked"||I.state==="blocked"&&R.state==="blocked"||I.state==="blocked"&&R.state==="proceeding"||I.state==="blocked"&&R.state==="unblocked"||I.state==="proceeding"&&R.state==="unblocked","Invalid blocker state transition: "+I.state+" -> "+R.state);let O=new Map(x.blockers);O.set(z,R),Ue({blockers:O})}function Tp(z){let{currentLocation:R,nextLocation:I,historyAction:O}=z;if(ze.size===0)return;ze.size>1&&Hi(!1,"A router only supports one blocker at a time");let ie=Array.from(ze.entries()),[de,ve]=ie[ie.length-1],Z=x.blockers.get(de);if(!(Z&&Z.state==="proceeding")&&ve({currentLocation:R,nextLocation:I,historyAction:O}))return de}function xc(z){let R=rn(404,{pathname:z}),I=l||o,{matches:O,route:ie}=y1(I);return vc(),{notFoundMatches:O,route:ie,error:R}}function mo(z,R){return{boundaryId:js(R.partialMatches).route.id,error:rn(400,{type:"route-discovery",pathname:z,message:R.error!=null&&"message"in R.error?R.error:String(R.error)})}}function vc(z){let R=[];return ue.forEach((I,O)=>{(!z||z(O))&&(I.cancel(),R.push(O),ue.delete(O))}),R}function d2(z,R,I){if(j=z,k=R,b=I||null,!_&&x.navigation===Xc){_=!0;let O=Fp(x.location,x.matches);O!=null&&Ue({restoreScrollPosition:O})}return()=>{j=null,k=null,b=null}}function Op(z,R){return b&&b(z,R.map(O=>_4(O,x.loaderData)))||z.key}function u2(z,R){if(j&&k){let I=Op(z,R);j[I]=k()}}function Fp(z,R){if(j){let I=Op(z,R),O=j[I];if(typeof O=="number")return O}return null}function jc(z,R,I){if(p)if(z){let O=z[z.length-1].route;if(O.path&&(O.path==="*"||O.path.endsWith("/*")))return{active:!0,matches:Zo(R,I,c,!0)}}else return{active:!0,matches:Zo(R,I,c,!0)||[]};return{active:!1,matches:null}}async function fo(z,R,I){let O=z,ie=O.length>0?O[O.length-1].route:null;for(;;){let de=l==null,ve=l||o;try{await Q4(p,R,O,ve,a,s,Ke,I)}catch(he){return{type:"error",error:he,partialMatches:O}}finally{de&&(o=[...o])}if(I.aborted)return{type:"aborted"};let Z=Si(ve,R,c),Ce=!1;if(Z){let he=Z[Z.length-1].route;if(he.index)return{type:"success",matches:Z};if(he.path&&he.path.length>0)if(he.path==="*")Ce=!0;else return{type:"success",matches:Z}}let pe=Zo(ve,R,c,!0);if(!pe||O.map(he=>he.route.id).join("-")===pe.map(he=>he.route.id).join("-"))return{type:"success",matches:Ce?Z:null};if(O=pe,ie=O[O.length-1].route,ie.path==="*")return{type:"success",matches:O}}}function p2(z){a={},l=Ya(z,s,void 0,a)}function h2(z,R){let I=l==null;G0(z,R,l||o,a,s),I&&(o=[...o],Ue({}))}return w={get basename(){return c},get future(){return h},get state(){return x},get routes(){return o},get window(){return t},initialize:wt,subscribe:Rt,enableScrollRestoration:d2,navigate:be,fetch:s2,revalidate:Ze,createHref:z=>e.history.createHref(z),encodeLocation:z=>e.history.encodeLocation(z),getFetcher:Ap,deleteFetcher:l2,dispose:Tt,getBlocker:c2,deleteBlocker:Bp,patchRoutes:h2,_internalFetchControllers:ee,_internalActiveDeferreds:ue,_internalSetRoutes:p2},w}function V4(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function du(e,t,r,i,s,a,o,l){let c,d;if(o){c=[];for(let h of t)if(c.push(h),h.route.id===o){d=h;break}}else c=t,d=t[t.length-1];let p=cc(s||".",lc(c,a),Ir(e.pathname,r)||e.pathname,l==="path");return s==null&&(p.search=e.search,p.hash=e.hash),(s==null||s===""||s===".")&&d&&d.route.index&&!Sp(p.search)&&(p.search=p.search?p.search.replace(/^\?/,"?index&"):"?index"),i&&r!=="/"&&(p.pathname=p.pathname==="/"?r:$r([r,p.pathname])),Wi(p)}function p1(e,t,r,i){if(!i||!V4(i))return{path:r};if(i.formMethod&&!a3(i.formMethod))return{path:r,error:rn(405,{method:i.formMethod})};let s=()=>({path:r,error:rn(400,{type:"invalid-body"})}),a=i.formMethod||"get",o=e?a.toUpperCase():a.toLowerCase(),l=Q0(r);if(i.body!==void 0){if(i.formEncType==="text/plain"){if(!qn(o))return s();let m=typeof i.body=="string"?i.body:i.body instanceof FormData||i.body instanceof URLSearchParams?Array.from(i.body.entries()).reduce((g,j)=>{let[b,k]=j;return""+g+b+"="+k+` +`},""):String(i.body);return{path:r,submission:{formMethod:o,formAction:l,formEncType:i.formEncType,formData:void 0,json:void 0,text:m}}}else if(i.formEncType==="application/json"){if(!qn(o))return s();try{let m=typeof i.body=="string"?JSON.parse(i.body):i.body;return{path:r,submission:{formMethod:o,formAction:l,formEncType:i.formEncType,formData:void 0,json:m,text:void 0}}}catch{return s()}}}Se(typeof FormData=="function","FormData is not available in this environment");let c,d;if(i.formData)c=uu(i.formData),d=i.formData;else if(i.body instanceof FormData)c=uu(i.body),d=i.body;else if(i.body instanceof URLSearchParams)c=i.body,d=x1(c);else if(i.body==null)c=new URLSearchParams,d=new FormData;else try{c=new URLSearchParams(i.body),d=x1(c)}catch{return s()}let p={formMethod:o,formAction:l,formEncType:i&&i.formEncType||"application/x-www-form-urlencoded",formData:d,json:void 0,text:void 0};if(qn(p.formMethod))return{path:r,submission:p};let h=Br(r);return t&&h.search&&Sp(h.search)&&c.append("index",""),h.search="?"+c,{path:Wi(h),submission:p}}function K4(e,t){let r=e;if(t){let i=e.findIndex(s=>s.route.id===t);i>=0&&(r=e.slice(0,i))}return r}function h1(e,t,r,i,s,a,o,l,c,d,p,h,m,g,j,b){let k=b?yn(b[1])?b[1].error:b[1].data:void 0,_=e.createURL(t.location),u=e.createURL(s),f=b&&yn(b[1])?b[0]:void 0,v=f?K4(r,f):r,w=b?b[1].statusCode:void 0,x=o&&w&&w>=400,N=v.filter((E,L)=>{let{route:F}=E;if(F.lazy)return!0;if(F.loader==null)return!1;if(a)return typeof F.loader!="function"||F.loader.hydrate?!0:t.loaderData[F.id]===void 0&&(!t.errors||t.errors[F.id]===void 0);if(G4(t.loaderData,t.matches[L],E)||c.some(U=>U===E.route.id))return!0;let J=t.matches[L],q=E;return m1(E,dt({currentUrl:_,currentParams:J.params,nextUrl:u,nextParams:q.params},i,{actionResult:k,actionStatus:w,defaultShouldRevalidate:x?!1:l||_.pathname+_.search===u.pathname+u.search||_.search!==u.search||K0(J,q)}))}),S=[];return h.forEach((E,L)=>{if(a||!r.some(D=>D.route.id===E.routeId)||p.has(L))return;let F=Si(g,E.path,j);if(!F){S.push({key:L,routeId:E.routeId,path:E.path,matches:null,match:null,controller:null});return}let J=t.fetchers.get(L),q=ma(F,E.path),U=!1;m.has(L)?U=!1:d.includes(L)?U=!0:J&&J.state!=="idle"&&J.data===void 0?U=l:U=m1(q,dt({currentUrl:_,currentParams:t.matches[t.matches.length-1].params,nextUrl:u,nextParams:r[r.length-1].params},i,{actionResult:k,actionStatus:w,defaultShouldRevalidate:x?!1:l})),U&&S.push({key:L,routeId:E.routeId,path:E.path,matches:F,match:q,controller:new AbortController})}),[N,S]}function G4(e,t,r){let i=!t||r.route.id!==t.route.id,s=e[r.route.id]===void 0;return i||s}function K0(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function m1(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}async function Q4(e,t,r,i,s,a,o,l){let c=[t,...r.map(d=>d.route.id)].join("-");try{let d=o.get(c);d||(d=e({path:t,matches:r,patch:(p,h)=>{l.aborted||G0(p,h,i,s,a)}}),o.set(c,d)),d&&r3(d)&&await d}finally{o.delete(c)}}function G0(e,t,r,i,s){if(e){var a;let o=i[e];Se(o,"No route found to patch children into: routeId = "+e);let l=Ya(t,s,[e,"patch",String(((a=o.children)==null?void 0:a.length)||"0")],i);o.children?o.children.push(...l):o.children=l}else{let o=Ya(t,s,["patch",String(r.length||"0")],i);r.push(...o)}}async function f1(e,t,r){if(!e.lazy)return;let i=await e.lazy();if(!e.lazy)return;let s=r[e.id];Se(s,"No route found in manifest");let a={};for(let o in i){let c=s[o]!==void 0&&o!=="hasErrorBoundary";Hi(!c,'Route "'+s.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!c&&!v4.has(o)&&(a[o]=i[o])}Object.assign(s,a),Object.assign(s,dt({},t(s),{lazy:void 0}))}function J4(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function Y4(e,t,r,i,s,a,o,l){let c=i.reduce((h,m)=>h.add(m.route.id),new Set),d=new Set,p=await e({matches:s.map(h=>{let m=c.has(h.route.id);return dt({},h,{shouldLoad:m,resolve:j=>(d.add(h.route.id),m?X4(t,r,h,a,o,j,l):Promise.resolve({type:Ye.data,result:void 0}))})}),request:r,params:s[0].params,context:l});return s.forEach(h=>Se(d.has(h.route.id),'`match.resolve()` was not called for route id "'+h.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),p.filter((h,m)=>c.has(s[m].route.id))}async function X4(e,t,r,i,s,a,o){let l,c,d=p=>{let h,m=new Promise((b,k)=>h=k);c=()=>h(),t.signal.addEventListener("abort",c);let g=b=>typeof p!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+r.route.id+"]"))):p({request:t,params:r.params,context:o},...b!==void 0?[b]:[]),j;return a?j=a(b=>g(b)):j=(async()=>{try{return{type:"data",result:await g()}}catch(b){return{type:"error",result:b}}})(),Promise.race([j,m])};try{let p=r.route[e];if(r.route.lazy)if(p){let h,[m]=await Promise.all([d(p).catch(g=>{h=g}),f1(r.route,s,i)]);if(h!==void 0)throw h;l=m}else if(await f1(r.route,s,i),p=r.route[e],p)l=await d(p);else if(e==="action"){let h=new URL(t.url),m=h.pathname+h.search;throw rn(405,{method:t.method,pathname:m,routeId:r.route.id})}else return{type:Ye.data,result:void 0};else if(p)l=await d(p);else{let h=new URL(t.url),m=h.pathname+h.search;throw rn(404,{pathname:m})}Se(l.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(p){return{type:Ye.error,result:p}}finally{c&&t.signal.removeEventListener("abort",c)}return l}async function Z4(e){let{result:t,type:r,status:i}=e;if(J0(t)){let o;try{let l=t.headers.get("Content-Type");l&&/\bapplication\/json\b/.test(l)?t.body==null?o=null:o=await t.json():o=await t.text()}catch(l){return{type:Ye.error,error:l}}return r===Ye.error?{type:Ye.error,error:new Cp(t.status,t.statusText,o),statusCode:t.status,headers:t.headers}:{type:Ye.data,data:o,statusCode:t.status,headers:t.headers}}if(r===Ye.error)return{type:Ye.error,error:t,statusCode:dc(t)?t.status:i};if(s3(t)){var s,a;return{type:Ye.deferred,deferredData:t,statusCode:(s=t.init)==null?void 0:s.status,headers:((a=t.init)==null?void 0:a.headers)&&new Headers(t.init.headers)}}return{type:Ye.data,data:t,statusCode:i}}function e3(e,t,r,i,s,a){let o=e.headers.get("Location");if(Se(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!kp.test(o)){let l=i.slice(0,i.findIndex(c=>c.route.id===r)+1);o=du(new URL(t.url),l,s,!0,o,a),e.headers.set("Location",o)}return e}function g1(e,t,r){if(kp.test(e)){let i=e,s=i.startsWith("//")?new URL(t.protocol+i):new URL(i),a=Ir(s.pathname,r)!=null;if(s.origin===t.origin&&a)return s.pathname+s.search+s.hash}return e}function Yi(e,t,r,i){let s=e.createURL(Q0(t)).toString(),a={signal:r};if(i&&qn(i.formMethod)){let{formMethod:o,formEncType:l}=i;a.method=o.toUpperCase(),l==="application/json"?(a.headers=new Headers({"Content-Type":l}),a.body=JSON.stringify(i.json)):l==="text/plain"?a.body=i.text:l==="application/x-www-form-urlencoded"&&i.formData?a.body=uu(i.formData):a.body=i.formData}return new Request(s,a)}function uu(e){let t=new URLSearchParams;for(let[r,i]of e.entries())t.append(r,typeof i=="string"?i:i.name);return t}function x1(e){let t=new FormData;for(let[r,i]of e.entries())t.append(r,i);return t}function t3(e,t,r,i,s,a){let o={},l=null,c,d=!1,p={},h=i&&yn(i[1])?i[1].error:void 0;return r.forEach((m,g)=>{let j=t[g].route.id;if(Se(!Ai(m),"Cannot handle redirect results in processLoaderData"),yn(m)){let b=m.error;h!==void 0&&(b=h,h=void 0),l=l||{};{let k=js(e,j);l[k.route.id]==null&&(l[k.route.id]=b)}o[j]=void 0,d||(d=!0,c=dc(m.error)?m.error.status:500),m.headers&&(p[j]=m.headers)}else Ri(m)?(s.set(j,m.deferredData),o[j]=m.deferredData.data,m.statusCode!=null&&m.statusCode!==200&&!d&&(c=m.statusCode),m.headers&&(p[j]=m.headers)):(o[j]=m.data,m.statusCode&&m.statusCode!==200&&!d&&(c=m.statusCode),m.headers&&(p[j]=m.headers))}),h!==void 0&&i&&(l={[i[0]]:h},o[i[0]]=void 0),{loaderData:o,errors:l,statusCode:c||200,loaderHeaders:p}}function v1(e,t,r,i,s,a,o,l){let{loaderData:c,errors:d}=t3(t,r,i,s,l);for(let p=0;pi.route.id===t)+1):[...e]).reverse().find(i=>i.route.hasErrorBoundary===!0)||e[0]}function y1(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function rn(e,t){let{pathname:r,routeId:i,method:s,type:a,message:o}=t===void 0?{}:t,l="Unknown Server Error",c="Unknown @remix-run/router error";return e===400?(l="Bad Request",a==="route-discovery"?c='Unable to match URL "'+r+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error: +`+o):s&&r&&i?c="You made a "+s+' request to "'+r+'" but '+('did not provide a `loader` for route "'+i+'", ')+"so there is no way to handle the request.":a==="defer-action"?c="defer() is not supported in actions":a==="invalid-body"&&(c="Unable to encode submission body")):e===403?(l="Forbidden",c='Route "'+i+'" does not match URL "'+r+'"'):e===404?(l="Not Found",c='No route matches URL "'+r+'"'):e===405&&(l="Method Not Allowed",s&&r&&i?c="You made a "+s.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+i+'", ')+"so there is no way to handle the request.":s&&(c='Invalid request method "'+s.toUpperCase()+'"')),new Cp(e||500,l,new Error(c),!0)}function b1(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(Ai(r))return{result:r,idx:t}}}function Q0(e){let t=typeof e=="string"?Br(e):e;return Wi(dt({},t,{hash:""}))}function n3(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function r3(e){return typeof e=="object"&&e!=null&&"then"in e}function i3(e){return J0(e.result)&&D4.has(e.result.status)}function Ri(e){return e.type===Ye.deferred}function yn(e){return e.type===Ye.error}function Ai(e){return(e&&e.type)===Ye.redirect}function s3(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function J0(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function a3(e){return F4.has(e.toLowerCase())}function qn(e){return T4.has(e.toLowerCase())}async function w1(e,t,r,i,s,a){for(let o=0;oh.route.id===c.route.id),p=d!=null&&!K0(d,c)&&(a&&a[c.route.id])!==void 0;if(Ri(l)&&(s||p)){let h=i[o];Se(h,"Expected an AbortSignal for revalidating fetcher deferred result"),await Y0(l,h,s).then(m=>{m&&(r[o]=m||r[o])})}}}async function Y0(e,t,r){if(r===void 0&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:Ye.data,data:e.deferredData.unwrappedData}}catch(s){return{type:Ye.error,error:s}}return{type:Ye.data,data:e.deferredData.data}}}function Sp(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function ma(e,t){let r=typeof t=="string"?Br(t).search:t.search;if(e[e.length-1].route.index&&Sp(r||""))return e[e.length-1];let i=W0(e);return i[i.length-1]}function C1(e){let{formMethod:t,formAction:r,formEncType:i,text:s,formData:a,json:o}=e;if(!(!t||!r||!i)){if(s!=null)return{formMethod:t,formAction:r,formEncType:i,formData:void 0,json:void 0,text:s};if(a!=null)return{formMethod:t,formAction:r,formEncType:i,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:r,formEncType:i,formData:void 0,json:o,text:void 0}}}function Zc(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function o3(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function ea(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function l3(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Vr(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function c3(e,t){try{let r=e.sessionStorage.getItem(V0);if(r){let i=JSON.parse(r);for(let[s,a]of Object.entries(i||{}))a&&Array.isArray(a)&&t.set(s,new Set(a||[]))}}catch{}}function d3(e,t){if(t.size>0){let r={};for(let[i,s]of t)r[i]=[...s];try{e.sessionStorage.setItem(V0,JSON.stringify(r))}catch(i){Hi(!1,"Failed to save applied view transitions in sessionStorage ("+i+").")}}}/** * React Router v6.25.1 * * Copyright (c) Remix Software Inc. @@ -57,7 +380,7 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ol(){return ol=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),y.useCallback(function(u,p){if(p===void 0&&(p={}),!l.current)return;if(typeof u=="number"){i.go(u);return}let m=Bl(u,JSON.parse(o),a,p.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:Sr([t,m.pathname])),(p.replace?i.replace:i.push)(m,p.state,p)},[t,i,o,a,e])}const H4=y.createContext(null);function W4(e){let t=y.useContext(Mr).outlet;return t&&y.createElement(H4.Provider,{value:e},t)}function Dl(e,t){let{relative:r}=t===void 0?{}:t,{future:i}=y.useContext(Ar),{matches:s}=y.useContext(Mr),{pathname:a}=zs(),o=JSON.stringify(Fl(s,i.v7_relativeSplatPath));return y.useMemo(()=>Bl(e,JSON.parse(o),a,r==="path"),[e,o,a,r])}function q4(e,t,r,i){Ns()||ke(!1);let{navigator:s}=y.useContext(Ar),{matches:a}=y.useContext(Mr),o=a[a.length-1],l=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=zs(),p;p=u;let m=p.pathname||"/",h=m;if(c!=="/"){let b=c.replace(/^\//,"").split("/");h="/"+m.replace(/^\//,"").split("/").slice(b.length).join("/")}let x=ji(e,{pathname:h});return J4(x&&x.map(b=>Object.assign({},b,{params:Object.assign({},l,b.params),pathname:Sr([c,s.encodeLocation?s.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?c:Sr([c,s.encodeLocation?s.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),a,r,i)}function V4(){let e=o0(),t=Ol(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),r?y.createElement("pre",{style:s},r):null,null)}const K4=y.createElement(V4,null);class G4 extends y.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?y.createElement(Mr.Provider,{value:this.props.routeContext},y.createElement(n0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Q4(e){let{routeContext:t,match:r,children:i}=e,s=y.useContext(Ha);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),y.createElement(Mr.Provider,{value:t},i)}function J4(e,t,r,i){var s;if(t===void 0&&(t=[]),r===void 0&&(r=null),i===void 0&&(i=null),e==null){var a;if((a=r)!=null&&a.errors)e=r.matches;else return null}let o=e,l=(s=r)==null?void 0:s.errors;if(l!=null){let p=o.findIndex(m=>m.route.id&&(l==null?void 0:l[m.route.id])!==void 0);p>=0||ke(!1),o=o.slice(0,Math.min(o.length,p+1))}let c=!1,u=-1;if(r&&i&&i.v7_partialHydration)for(let p=0;p=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((p,m,h)=>{let x,_=!1,b=null,k=null;r&&(x=l&&m.route.id?l[m.route.id]:void 0,b=m.route.errorElement||K4,c&&(u<0&&h===0?(_=!0,k=null):u===h&&(_=!0,k=m.route.hydrateFallbackElement||null)));let j=t.concat(o.slice(0,h+1)),d=()=>{let f;return x?f=b:_?f=k:m.route.Component?f=y.createElement(m.route.Component,null):m.route.element?f=m.route.element:f=p,y.createElement(Q4,{match:m,routeContext:{outlet:p,matches:j,isDataRoute:r!=null},children:f})};return r&&(m.route.ErrorBoundary||m.route.errorElement||h===0)?y.createElement(G4,{location:r.location,revalidation:r.revalidation,component:b,error:x,children:d(),routeContext:{outlet:null,matches:j,isDataRoute:!0}}):d()},null)}var s0=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(s0||{}),ll=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(ll||{});function Y4(e){let t=y.useContext(Ha);return t||ke(!1),t}function X4(e){let t=y.useContext(Gu);return t||ke(!1),t}function Z4(e){let t=y.useContext(Mr);return t||ke(!1),t}function a0(e){let t=Z4(),r=t.matches[t.matches.length-1];return r.route.id||ke(!1),r.route.id}function o0(){var e;let t=y.useContext(n0),r=X4(ll.UseRouteError),i=a0(ll.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[i]}function ev(){let{router:e}=Y4(s0.UseNavigateStable),t=a0(ll.UseNavigateStable),r=y.useRef(!1);return r0(()=>{r.current=!0}),y.useCallback(function(s,a){a===void 0&&(a={}),r.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,ol({fromRouteId:t},a)))},[e,t])}function tv(e){let{to:t,replace:r,state:i,relative:s}=e;Ns()||ke(!1);let{future:a,static:o}=y.useContext(Ar),{matches:l}=y.useContext(Mr),{pathname:c}=zs(),u=i0(),p=Bl(t,Fl(l,a.v7_relativeSplatPath),c,s==="path"),m=JSON.stringify(p);return y.useEffect(()=>u(JSON.parse(m),{replace:r,state:i,relative:s}),[u,m,s,r,i]),null}function nv(e){return W4(e.context)}function rv(e){let{basename:t="/",children:r=null,location:i,navigationType:s=kt.Pop,navigator:a,static:o=!1,future:l}=e;Ns()&&ke(!1);let c=t.replace(/^\/*/,"/"),u=y.useMemo(()=>({basename:c,navigator:a,static:o,future:ol({v7_relativeSplatPath:!1},l)}),[c,l,a,o]);typeof i=="string"&&(i=Pr(i));let{pathname:p="/",search:m="",hash:h="",state:x=null,key:_="default"}=i,b=y.useMemo(()=>{let k=Ir(p,c);return k==null?null:{location:{pathname:k,search:m,hash:h,state:x,key:_},navigationType:s}},[c,p,m,h,x,_,s]);return b==null?null:y.createElement(Ar.Provider,{value:u},y.createElement(Qu.Provider,{children:r,value:b}))}new Promise(()=>{});function iv(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:y.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:y.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:y.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + */function El(){return El=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),y.useCallback(function(d,p){if(p===void 0&&(p={}),!l.current)return;if(typeof d=="number"){i.go(d);return}let h=cc(d,JSON.parse(o),a,p.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:$r([t,h.pathname])),(p.replace?i.replace:i.push)(h,p.state,p)},[t,i,o,a,e])}const h3=y.createContext(null);function m3(e){let t=y.useContext(Or).outlet;return t&&y.createElement(h3.Provider,{value:e},t)}function uc(e,t){let{relative:r}=t===void 0?{}:t,{future:i}=y.useContext(Tr),{matches:s}=y.useContext(Or),{pathname:a}=Fs(),o=JSON.stringify(lc(s,i.v7_relativeSplatPath));return y.useMemo(()=>cc(e,JSON.parse(o),a,r==="path"),[e,o,a,r])}function f3(e,t,r,i){Os()||Se(!1);let{navigator:s}=y.useContext(Tr),{matches:a}=y.useContext(Or),o=a[a.length-1],l=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let d=Fs(),p;p=d;let h=p.pathname||"/",m=h;if(c!=="/"){let b=c.replace(/^\//,"").split("/");m="/"+h.replace(/^\//,"").split("/").slice(b.length).join("/")}let g=Si(e,{pathname:m});return _3(g&&g.map(b=>Object.assign({},b,{params:Object.assign({},l,b.params),pathname:$r([c,s.encodeLocation?s.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?c:$r([c,s.encodeLocation?s.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),a,r,i)}function g3(){let e=rg(),t=dc(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),r?y.createElement("pre",{style:s},r):null,null)}const x3=y.createElement(g3,null);class v3 extends y.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?y.createElement(Or.Provider,{value:this.props.routeContext},y.createElement(X0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function j3(e){let{routeContext:t,match:r,children:i}=e,s=y.useContext(co);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),y.createElement(Or.Provider,{value:t},i)}function _3(e,t,r,i){var s;if(t===void 0&&(t=[]),r===void 0&&(r=null),i===void 0&&(i=null),e==null){var a;if((a=r)!=null&&a.errors)e=r.matches;else return null}let o=e,l=(s=r)==null?void 0:s.errors;if(l!=null){let p=o.findIndex(h=>h.route.id&&(l==null?void 0:l[h.route.id])!==void 0);p>=0||Se(!1),o=o.slice(0,Math.min(o.length,p+1))}let c=!1,d=-1;if(r&&i&&i.v7_partialHydration)for(let p=0;p=0?o=o.slice(0,d+1):o=[o[0]];break}}}return o.reduceRight((p,h,m)=>{let g,j=!1,b=null,k=null;r&&(g=l&&h.route.id?l[h.route.id]:void 0,b=h.route.errorElement||x3,c&&(d<0&&m===0?(j=!0,k=null):d===m&&(j=!0,k=h.route.hydrateFallbackElement||null)));let _=t.concat(o.slice(0,m+1)),u=()=>{let f;return g?f=b:j?f=k:h.route.Component?f=y.createElement(h.route.Component,null):h.route.element?f=h.route.element:f=p,y.createElement(j3,{match:h,routeContext:{outlet:p,matches:_,isDataRoute:r!=null},children:f})};return r&&(h.route.ErrorBoundary||h.route.errorElement||m===0)?y.createElement(v3,{location:r.location,revalidation:r.revalidation,component:b,error:g,children:u(),routeContext:{outlet:null,matches:_,isDataRoute:!0}}):u()},null)}var tg=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(tg||{}),Ll=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ll||{});function y3(e){let t=y.useContext(co);return t||Se(!1),t}function b3(e){let t=y.useContext(Np);return t||Se(!1),t}function w3(e){let t=y.useContext(Or);return t||Se(!1),t}function ng(e){let t=w3(),r=t.matches[t.matches.length-1];return r.route.id||Se(!1),r.route.id}function rg(){var e;let t=y.useContext(X0),r=b3(Ll.UseRouteError),i=ng(Ll.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[i]}function C3(){let{router:e}=y3(tg.UseNavigateStable),t=ng(Ll.UseNavigateStable),r=y.useRef(!1);return Z0(()=>{r.current=!0}),y.useCallback(function(s,a){a===void 0&&(a={}),r.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,El({fromRouteId:t},a)))},[e,t])}function k3(e){let{to:t,replace:r,state:i,relative:s}=e;Os()||Se(!1);let{future:a,static:o}=y.useContext(Tr),{matches:l}=y.useContext(Or),{pathname:c}=Fs(),d=eg(),p=cc(t,lc(l,a.v7_relativeSplatPath),c,s==="path"),h=JSON.stringify(p);return y.useEffect(()=>d(JSON.parse(h),{replace:r,state:i,relative:s}),[d,h,s,r,i]),null}function S3(e){return m3(e.context)}function N3(e){let{basename:t="/",children:r=null,location:i,navigationType:s=kt.Pop,navigator:a,static:o=!1,future:l}=e;Os()&&Se(!1);let c=t.replace(/^\/*/,"/"),d=y.useMemo(()=>({basename:c,navigator:a,static:o,future:El({v7_relativeSplatPath:!1},l)}),[c,l,a,o]);typeof i=="string"&&(i=Br(i));let{pathname:p="/",search:h="",hash:m="",state:g=null,key:j="default"}=i,b=y.useMemo(()=>{let k=Ir(p,c);return k==null?null:{location:{pathname:k,search:h,hash:m,state:g,key:j},navigationType:s}},[c,p,h,m,g,j,s]);return b==null?null:y.createElement(Tr.Provider,{value:d},y.createElement($p.Provider,{children:r,value:b}))}new Promise(()=>{});function $3(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:y.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:y.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:y.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** * React Router DOM v6.25.1 * * Copyright (c) Remix Software Inc. @@ -66,15 +389,15 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ws(){return ws=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[s]=e[s]);return r}function sv(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function av(e,t){return e.button===0&&(!t||t==="_self")&&!sv(e)}const ov=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],lv=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],cv="6";try{window.__reactRouterVersion=cv}catch{}function dv(e,t){return y4({basename:void 0,future:ws({},void 0,{v7_prependBasename:!0}),history:qx({window:void 0}),hydrationData:uv(),routes:e,mapRouteProperties:iv,unstable_dataStrategy:void 0,unstable_patchRoutesOnMiss:void 0,window:void 0}).initialize()}function uv(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=ws({},t,{errors:pv(t.errors)})),t}function pv(e){if(!e)return null;let t=Object.entries(e),r={};for(let[i,s]of t)if(s&&s.__type==="RouteErrorResponse")r[i]=new qu(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let a=window[s.__subType];if(typeof a=="function")try{let o=new a(s.message);o.stack="",r[i]=o}catch{}}if(r[i]==null){let a=new Error(s.message);a.stack="",r[i]=a}}else r[i]=s;return r}const c0=y.createContext({isTransitioning:!1}),hv=y.createContext(new Map),mv="startTransition",Mh=Rg[mv],fv="flushSync",Th=Wx[fv];function gv(e){Mh?Mh(e):e()}function Us(e){Th?Th(e):e()}class xv{constructor(){this.status="pending",this.promise=new Promise((t,r)=>{this.resolve=i=>{this.status==="pending"&&(this.status="resolved",t(i))},this.reject=i=>{this.status==="pending"&&(this.status="rejected",r(i))}})}}function vv(e){let{fallbackElement:t,router:r,future:i}=e,[s,a]=y.useState(r.state),[o,l]=y.useState(),[c,u]=y.useState({isTransitioning:!1}),[p,m]=y.useState(),[h,x]=y.useState(),[_,b]=y.useState(),k=y.useRef(new Map),{v7_startTransition:j}=i||{},d=y.useCallback(S=>{j?gv(S):S()},[j]),f=y.useCallback((S,L)=>{let{deletedFetchers:E,unstable_flushSync:O,unstable_viewTransitionOpts:Q}=L;E.forEach(U=>k.current.delete(U)),S.fetchers.forEach((U,D)=>{U.data!==void 0&&k.current.set(D,U.data)});let q=r.window==null||r.window.document==null||typeof r.window.document.startViewTransition!="function";if(!Q||q){O?Us(()=>a(S)):d(()=>a(S));return}if(O){Us(()=>{h&&(p&&p.resolve(),h.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:Q.currentLocation,nextLocation:Q.nextLocation})});let U=r.window.document.startViewTransition(()=>{Us(()=>a(S))});U.finished.finally(()=>{Us(()=>{m(void 0),x(void 0),l(void 0),u({isTransitioning:!1})})}),Us(()=>x(U));return}h?(p&&p.resolve(),h.skipTransition(),b({state:S,currentLocation:Q.currentLocation,nextLocation:Q.nextLocation})):(l(S),u({isTransitioning:!0,flushSync:!1,currentLocation:Q.currentLocation,nextLocation:Q.nextLocation}))},[r.window,h,p,k,d]);y.useLayoutEffect(()=>r.subscribe(f),[r,f]),y.useEffect(()=>{c.isTransitioning&&!c.flushSync&&m(new xv)},[c]),y.useEffect(()=>{if(p&&o&&r.window){let S=o,L=p.promise,E=r.window.document.startViewTransition(async()=>{d(()=>a(S)),await L});E.finished.finally(()=>{m(void 0),x(void 0),l(void 0),u({isTransitioning:!1})}),x(E)}},[d,o,p,r.window]),y.useEffect(()=>{p&&o&&s.location.key===o.location.key&&p.resolve()},[p,h,s.location,o]),y.useEffect(()=>{!c.isTransitioning&&_&&(l(_.state),u({isTransitioning:!0,flushSync:!1,currentLocation:_.currentLocation,nextLocation:_.nextLocation}),b(void 0))},[c.isTransitioning,_]),y.useEffect(()=>{},[]);let v=y.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:S=>r.navigate(S),push:(S,L,E)=>r.navigate(S,{state:L,preventScrollReset:E==null?void 0:E.preventScrollReset}),replace:(S,L,E)=>r.navigate(S,{replace:!0,state:L,preventScrollReset:E==null?void 0:E.preventScrollReset})}),[r]),w=r.basename||"/",g=y.useMemo(()=>({router:r,navigator:v,static:!1,basename:w}),[r,v,w]),N=y.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return y.createElement(y.Fragment,null,y.createElement(Ha.Provider,{value:g},y.createElement(Gu.Provider,{value:s},y.createElement(hv.Provider,{value:k.current},y.createElement(c0.Provider,{value:c},y.createElement(rv,{basename:w,location:s.location,navigationType:s.historyAction,navigator:v,future:N},s.initialized||r.future.v7_partialHydration?y.createElement(jv,{routes:r.routes,future:r.future,state:s}):t))))),null)}const jv=y.memo(_v);function _v(e){let{routes:t,future:r,state:i}=e;return q4(t,void 0,i,r)}const yv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",bv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ju=y.forwardRef(function(t,r){let{onClick:i,relative:s,reloadDocument:a,replace:o,state:l,target:c,to:u,preventScrollReset:p,unstable_viewTransition:m}=t,h=l0(t,ov),{basename:x}=y.useContext(Ar),_,b=!1;if(typeof u=="string"&&bv.test(u)&&(_=u,yv))try{let f=new URL(window.location.href),v=u.startsWith("//")?new URL(f.protocol+u):new URL(u),w=Ir(v.pathname,x);v.origin===f.origin&&w!=null?u=w+v.search+v.hash:b=!0}catch{}let k=D4(u,{relative:s}),j=kv(u,{replace:o,state:l,target:c,preventScrollReset:p,relative:s,unstable_viewTransition:m});function d(f){i&&i(f),f.defaultPrevented||j(f)}return y.createElement("a",ws({},h,{href:_||k,onClick:b||a?i:d,ref:r,target:c}))}),wv=y.forwardRef(function(t,r){let{"aria-current":i="page",caseSensitive:s=!1,className:a="",end:o=!1,style:l,to:c,unstable_viewTransition:u,children:p}=t,m=l0(t,lv),h=Dl(c,{relative:m.relative}),x=zs(),_=y.useContext(Gu),{navigator:b,basename:k}=y.useContext(Ar),j=_!=null&&Sv(h)&&u===!0,d=b.encodeLocation?b.encodeLocation(h).pathname:h.pathname,f=x.pathname,v=_&&_.navigation&&_.navigation.location?_.navigation.location.pathname:null;s||(f=f.toLowerCase(),v=v?v.toLowerCase():null,d=d.toLowerCase()),v&&k&&(v=Ir(v,k)||v);const w=d!=="/"&&d.endsWith("/")?d.length-1:d.length;let g=f===d||!o&&f.startsWith(d)&&f.charAt(w)==="/",N=v!=null&&(v===d||!o&&v.startsWith(d)&&v.charAt(d.length)==="/"),S={isActive:g,isPending:N,isTransitioning:j},L=g?i:void 0,E;typeof a=="function"?E=a(S):E=[a,g?"active":null,N?"pending":null,j?"transitioning":null].filter(Boolean).join(" ");let O=typeof l=="function"?l(S):l;return y.createElement(Ju,ws({},m,{"aria-current":L,className:E,ref:r,style:O,to:c,unstable_viewTransition:u}),typeof p=="function"?p(S):p)});var Td;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Td||(Td={}));var Fh;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Fh||(Fh={}));function Cv(e){let t=y.useContext(Ha);return t||ke(!1),t}function kv(e,t){let{target:r,replace:i,state:s,preventScrollReset:a,relative:o,unstable_viewTransition:l}=t===void 0?{}:t,c=i0(),u=zs(),p=Dl(e,{relative:o});return y.useCallback(m=>{if(av(m,r)){m.preventDefault();let h=i!==void 0?i:Ai(u)===Ai(p);c(e,{replace:h,state:s,preventScrollReset:a,relative:o,unstable_viewTransition:l})}},[u,c,p,i,s,r,e,a,o,l])}function Sv(e,t){t===void 0&&(t={});let r=y.useContext(c0);r==null&&ke(!1);let{basename:i}=Cv(Td.useViewTransitionState),s=Dl(e,{relative:t.relative});if(!r.isTransitioning)return!1;let a=Ir(r.currentLocation.pathname,i)||r.currentLocation.pathname,o=Ir(r.nextLocation.pathname,i)||r.nextLocation.pathname;return al(s.pathname,o)!=null||al(s.pathname,a)!=null}const Nv=(...e)=>{console!=null&&console.warn&&(zi(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},Bh={},Fd=(...e)=>{zi(e[0])&&Bh[e[0]]||(zi(e[0])&&(Bh[e[0]]=new Date),Nv(...e))},d0=(e,t)=>()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},Oh=(e,t,r)=>{e.loadNamespaces(t,d0(e,r))},Dh=(e,t,r,i)=>{zi(r)&&(r=[r]),r.forEach(s=>{e.options.ns.indexOf(s)<0&&e.options.ns.push(s)}),e.loadLanguages(t,d0(e,i))},zv=(e,t,r={})=>!t.languages||!t.languages.length?(Fd("i18n.languages were undefined or empty",t.languages),!0):t.hasLoadedNamespace(e,{lng:r.lng,precheck:(i,s)=>{var a;if(((a=r.bindI18n)==null?void 0:a.indexOf("languageChanging"))>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!s(i.isLanguageChangingTo,e))return!1}}),zi=e=>typeof e=="string",$v=e=>typeof e=="object"&&e!==null,Lv=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Ev={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},Iv=e=>Ev[e],Rv=e=>e.replace(Lv,Iv);let Bd={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Rv};const Pv=(e={})=>{Bd={...Bd,...e}},Av=()=>Bd;let u0;const Mv=e=>{u0=e},Tv=()=>u0,Fv={type:"3rdParty",init(e){Pv(e.options.react),Mv(e)}},p0=y.createContext();class Bv{constructor(){cp(this,"getUsedNamespaces",()=>Object.keys(this.usedNamespaces));this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(r=>{var i;(i=this.usedNamespaces)[r]??(i[r]=!0)})}}const Ov=(e,t)=>{const r=y.useRef();return y.useEffect(()=>{r.current=e},[e,t]),r.current},h0=(e,t,r,i)=>e.getFixedT(t,r,i),Dv=(e,t,r,i)=>y.useCallback(h0(e,t,r,i),[e,t,r,i]),$e=(e,t={})=>{var v,w,g,N;const{i18n:r}=t,{i18n:i,defaultNS:s}=y.useContext(p0)||{},a=r||i||Tv();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new Bv),!a){Fd("You will need to pass in an i18next instance by using initReactI18next");const S=(E,O)=>zi(O)?O:$v(O)&&zi(O.defaultValue)?O.defaultValue:Array.isArray(E)?E[E.length-1]:E,L=[S,{},!1];return L.t=S,L.i18n={},L.ready=!1,L}(v=a.options.react)!=null&&v.wait&&Fd("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...Av(),...a.options.react,...t},{useSuspense:l,keyPrefix:c}=o;let u=s||((w=a.options)==null?void 0:w.defaultNS);u=zi(u)?[u]:u||["translation"],(N=(g=a.reportNamespaces).addUsedNamespaces)==null||N.call(g,u);const p=(a.isInitialized||a.initializedStoreOnce)&&u.every(S=>zv(S,a,o)),m=Dv(a,t.lng||null,o.nsMode==="fallback"?u:u[0],c),h=()=>m,x=()=>h0(a,t.lng||null,o.nsMode==="fallback"?u:u[0],c),[_,b]=y.useState(h);let k=u.join();t.lng&&(k=`${t.lng}${k}`);const j=Ov(k),d=y.useRef(!0);y.useEffect(()=>{const{bindI18n:S,bindI18nStore:L}=o;d.current=!0,!p&&!l&&(t.lng?Dh(a,t.lng,u,()=>{d.current&&b(x)}):Oh(a,u,()=>{d.current&&b(x)})),p&&j&&j!==k&&d.current&&b(x);const E=()=>{d.current&&b(x)};return S&&(a==null||a.on(S,E)),L&&(a==null||a.store.on(L,E)),()=>{d.current=!1,a&&(S==null||S.split(" ").forEach(O=>a.off(O,E))),L&&a&&L.split(" ").forEach(O=>a.store.off(O,E))}},[a,k]),y.useEffect(()=>{d.current&&p&&b(h)},[a,c,p]);const f=[_,a,p];if(f.t=_,f.i18n=a,f.ready=p,p||!p&&!l)return f;throw new Promise(S=>{t.lng?Dh(a,t.lng,u,()=>S()):Oh(a,u,()=>S())})};function Uv({i18n:e,defaultNS:t,children:r}){const i=y.useMemo(()=>({i18n:e,defaultNS:t}),[e,t]);return y.createElement(p0.Provider,{value:i},r)}const Hv={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class cl{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||Hv,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=new Array(t),i=0;i{this.observers[i]||(this.observers[i]=new Map);const s=this.observers[i].get(r)||0;this.observers[i].set(r,s+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s{let[l,c]=o;for(let u=0;u{let[l,c]=o;for(let u=0;u{e=i,t=s});return r.resolve=e,r.reject=t,r}function Uh(e){return e==null?"":""+e}function Wv(e,t,r){e.forEach(i=>{t[i]&&(r[i]=t[i])})}const qv=/###/g;function pa(e,t,r){function i(l){return l&&l.indexOf("###")>-1?l.replace(qv,"."):l}function s(){return!e||typeof e=="string"}const a=typeof t!="string"?t:t.split(".");let o=0;for(;o":">",'"':""","'":"'","/":"/"};function Qv(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>Gv[t]):e}class Jv{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}const Yv=[" ",",","?","!",";"],Xv=new Jv(20);function Zv(e,t,r){t=t||"",r=r||"";const i=Yv.filter(o=>t.indexOf(o)<0&&r.indexOf(o)<0);if(i.length===0)return!0;const s=Xv.getRegExp(`(${i.map(o=>o==="?"?"\\?":o).join("|")})`);let a=!s.test(e);if(!a){const o=e.indexOf(r);o>0&&!s.test(e.substring(0,o))&&(a=!0)}return a}function Od(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const i=t.split(r);let s=e;for(let a=0;a-1&&c0?e.replace("_","-"):e}class Wh extends Ul{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,o=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,r],i&&(Array.isArray(i)?l.push(...i):typeof i=="string"&&a?l.push(...i.split(a)):l.push(i)));const c=dl(this.data,l);return!c&&!r&&!i&&t.indexOf(".")>-1&&(t=l[0],r=l[1],i=l.slice(2).join(".")),c||!o||typeof i!="string"?c:Od(this.data&&this.data[t]&&this.data[t][r],i,a)}addResource(t,r,i,s){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let l=[t,r];i&&(l=l.concat(o?i.split(o):i)),t.indexOf(".")>-1&&(l=t.split("."),s=r,r=l[1]),this.addNamespaces(r),Hh(this.data,l,s),a.silent||this.emit("added",t,r,i,s)}addResources(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const a in i)(typeof i[a]=="string"||Array.isArray(i[a]))&&this.addResource(t,r,a,i[a],{silent:!0});s.silent||this.emit("added",t,r,i)}addResourceBundle(t,r,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,r];t.indexOf(".")>-1&&(l=t.split("."),s=i,i=r,r=l[1]),this.addNamespaces(r);let c=dl(this.data,l)||{};o.skipCopy||(i=JSON.parse(JSON.stringify(i))),s?m0(c,i,a):c={...c,...i},Hh(this.data,l,c),o.silent||this.emit("added",t,r,i)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,r)}:this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(s=>r[s]&&Object.keys(r[s]).length>0)}toJSON(){return this.data}}var f0={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,i,s){return e.forEach(a=>{this.processors[a]&&(t=this.processors[a].process(t,r,i,s))}),t}};const qh={};class pl extends Ul{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Wv(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=cr.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const i=this.resolve(t,r);return i&&i.res!==void 0}extractFromKey(t,r){let i=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const s=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let a=r.ns||this.options.defaultNS||[];const o=i&&t.indexOf(i)>-1,l=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!Zv(t,i,s);if(o&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:a};const u=t.split(i);(i!==s||i===s&&this.options.ns.indexOf(u[0])>-1)&&(a=u.shift()),t=u.join(s)}return typeof a=="string"&&(a=[a]),{key:t,namespaces:a}}translate(t,r,i){if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r={...r}),r||(r={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const s=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(t[t.length-1],r),c=l[l.length-1],u=r.lng||this.language,p=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(p){const v=r.nsSeparator||this.options.nsSeparator;return s?{res:`${c}${v}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:`${c}${v}${o}`}return s?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:o}const m=this.resolve(t,r);let h=m&&m.res;const x=m&&m.usedKey||o,_=m&&m.exactUsedKey||o,b=Object.prototype.toString.apply(h),k=["[object Number]","[object Function]","[object RegExp]"],j=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,d=!this.i18nFormat||this.i18nFormat.handleAsObject;if(d&&h&&(typeof h!="string"&&typeof h!="boolean"&&typeof h!="number")&&k.indexOf(b)<0&&!(typeof j=="string"&&Array.isArray(h))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const v=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,h,{...r,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return s?(m.res=v,m.usedParams=this.getUsedParamsDetails(r),m):v}if(a){const v=Array.isArray(h),w=v?[]:{},g=v?_:x;for(const N in h)if(Object.prototype.hasOwnProperty.call(h,N)){const S=`${g}${a}${N}`;w[N]=this.translate(S,{...r,joinArrays:!1,ns:l}),w[N]===S&&(w[N]=h[N])}h=w}}else if(d&&typeof j=="string"&&Array.isArray(h))h=h.join(j),h&&(h=this.extendTranslation(h,t,r,i));else{let v=!1,w=!1;const g=r.count!==void 0&&typeof r.count!="string",N=pl.hasDefaultValue(r),S=g?this.pluralResolver.getSuffix(u,r.count,r):"",L=r.ordinal&&g?this.pluralResolver.getSuffix(u,r.count,{ordinal:!1}):"",E=g&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),O=E&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${S}`]||r[`defaultValue${L}`]||r.defaultValue;!this.isValidLookup(h)&&N&&(v=!0,h=O),this.isValidLookup(h)||(w=!0,h=o);const q=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&w?void 0:h,U=N&&O!==h&&this.options.updateMissing;if(w||v||U){if(this.logger.log(U?"updateKey":"missingKey",u,c,o,U?O:h),a){const R=this.resolve(o,{...r,keySeparator:!1});R&&R.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let D=[];const G=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&G&&G[0])for(let R=0;R{const J=N&&T!==h?T:q;this.options.missingKeyHandler?this.options.missingKeyHandler(R,c,M,J,U,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(R,c,M,J,U,r),this.emit("missingKey",R,c,M,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&g?D.forEach(R=>{const M=this.pluralResolver.getSuffixes(R,r);E&&r[`defaultValue${this.options.pluralSeparator}zero`]&&M.indexOf(`${this.options.pluralSeparator}zero`)<0&&M.push(`${this.options.pluralSeparator}zero`),M.forEach(T=>{ee([R],o+T,r[`defaultValue${T}`]||O)})}):ee(D,o,O))}h=this.extendTranslation(h,t,r,m,i),w&&h===o&&this.options.appendNamespaceToMissingKey&&(h=`${c}:${o}`),(w||v)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?h=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${o}`:o,v?h:void 0):h=this.options.parseMissingKeyHandler(h))}return s?(m.res=h,m.usedParams=this.getUsedParamsDetails(r),m):h}extendTranslation(t,r,i,s,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const u=typeof t=="string"&&(i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let p;if(u){const h=t.match(this.interpolator.nestingRegexp);p=h&&h.length}let m=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(m={...this.options.interpolation.defaultVariables,...m}),t=this.interpolator.interpolate(t,m,i.lng||this.language||s.usedLng,i),u){const h=t.match(this.interpolator.nestingRegexp),x=h&&h.length;p1&&arguments[1]!==void 0?arguments[1]:{},i,s,a,o,l;return typeof t=="string"&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(i))return;const u=this.extractFromKey(c,r),p=u.key;s=p;let m=u.namespaces;this.options.fallbackNS&&(m=m.concat(this.options.fallbackNS));const h=r.count!==void 0&&typeof r.count!="string",x=h&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),_=r.context!==void 0&&(typeof r.context=="string"||typeof r.context=="number")&&r.context!=="",b=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);m.forEach(k=>{this.isValidLookup(i)||(l=k,!qh[`${b[0]}-${k}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(qh[`${b[0]}-${k}`]=!0,this.logger.warn(`key "${s}" for languages "${b.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(j=>{if(this.isValidLookup(i))return;o=j;const d=[p];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(d,p,j,k,r);else{let v;h&&(v=this.pluralResolver.getSuffix(j,r.count,r));const w=`${this.options.pluralSeparator}zero`,g=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(h&&(d.push(p+v),r.ordinal&&v.indexOf(g)===0&&d.push(p+v.replace(g,this.options.pluralSeparator)),x&&d.push(p+w)),_){const N=`${p}${this.options.contextSeparator}${r.context}`;d.push(N),h&&(d.push(N+v),r.ordinal&&v.indexOf(g)===0&&d.push(N+v.replace(g,this.options.pluralSeparator)),x&&d.push(N+w))}}let f;for(;f=d.pop();)this.isValidLookup(i)||(a=f,i=this.getResource(j,k,f,r))}))})}),{res:i,usedKey:s,exactUsedKey:a,usedLng:o,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,r,i,s):this.resourceStore.getResource(t,r,i,s)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=t.replace&&typeof t.replace!="string";let s=i?t.replace:t;if(i&&typeof t.count<"u"&&(s.count=t.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!i){s={...s};for(const a of r)delete s[a]}return s}static hasDefaultValue(t){const r="defaultValue";for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&r===i.substring(0,r.length)&&t[i]!==void 0)return!0;return!1}}function kc(e){return e.charAt(0).toUpperCase()+e.slice(1)}class Vh{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=cr.create("languageUtils")}getScriptPartFromCode(t){if(t=ul(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=ul(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const r=["hans","hant","latn","cyrl","cans","mong","arab"];let i=t.split("-");return this.options.lowerCaseLng?i=i.map(s=>s.toLowerCase()):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=kc(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=kc(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=kc(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(i=>{if(r)return;const s=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(s))&&(r=s)}),!r&&this.options.supportedLngs&&t.forEach(i=>{if(r)return;const s=this.getLanguagePartFromCode(i);if(this.isSupportedCode(s))return r=s;r=this.options.supportedLngs.find(a=>{if(a===s)return a;if(!(a.indexOf("-")<0&&s.indexOf("-")<0)&&(a.indexOf("-")>0&&s.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===s||a.indexOf(s)===0&&s.length>1))return a})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let i=t[r];return i||(i=t[this.getScriptPartFromCode(r)]),i||(i=t[this.formatLanguageCode(r)]),i||(i=t[this.getLanguagePartFromCode(r)]),i||(i=t.default),i||[]}toResolveHierarchy(t,r){const i=this.getFallbackCodes(r||this.options.fallbackLng||[],t),s=[],a=o=>{o&&(this.isSupportedCode(o)?s.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):typeof t=="string"&&a(this.formatLanguageCode(t)),i.forEach(o=>{s.indexOf(o)<0&&a(this.formatLanguageCode(o))}),s}}let e3=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],t3={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const n3=["v1","v2","v3"],r3=["v4"],Kh={zero:0,one:1,two:2,few:3,many:4,other:5};function i3(){const e={};return e3.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:t3[t.fc]}})}),e}class s3{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=cr.create("pluralResolver"),(!this.options.compatibilityJSON||r3.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=i3()}addRule(t,r){this.rules[t]=r}getRule(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(ul(t==="dev"?"en":t),{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}getPluralFormsOfKey(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,i).map(s=>`${r}${s}`)}getSuffixes(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,r);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort((s,a)=>Kh[s]-Kh[a]).map(s=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${s}`):i.numbers.map(s=>this.getSuffix(t,s,r)):[]}getSuffix(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(t,i);return s?this.shouldUseIntlApi()?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${s.select(r)}`:this.getSuffixRetroCompatible(s,r):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,r){const i=t.noAbs?t.plurals(r):t.plurals(Math.abs(r));let s=t.numbers[i];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(s===2?s="plural":s===1&&(s=""));const a=()=>this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString();return this.options.compatibilityJSON==="v1"?s===1?"":typeof s=="number"?`_plural_${s.toString()}`:a():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!n3.includes(this.options.compatibilityJSON)}}function Gh(e,t,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=Kv(e,t,r);return!a&&s&&typeof r=="string"&&(a=Od(e,r,i),a===void 0&&(a=Od(t,r,i))),a}class a3{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=cr.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(r=>r),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:r,escapeValue:i,useRawValueToEscape:s,prefix:a,prefixEscaped:o,suffix:l,suffixEscaped:c,formatSeparator:u,unescapeSuffix:p,unescapePrefix:m,nestingPrefix:h,nestingPrefixEscaped:x,nestingSuffix:_,nestingSuffixEscaped:b,nestingOptionsSeparator:k,maxReplaces:j,alwaysFormat:d}=t.interpolation;this.escape=r!==void 0?r:Qv,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=s!==void 0?s:!1,this.prefix=a?Hi(a):o||"{{",this.suffix=l?Hi(l):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=p?"":m||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=h?Hi(h):x||Hi("$t("),this.nestingSuffix=_?Hi(_):b||Hi(")"),this.nestingOptionsSeparator=k||",",this.maxReplaces=j||1e3,this.alwaysFormat=d!==void 0?d:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,i)=>r&&r.source===i?(r.lastIndex=0,r):new RegExp(i,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,r,i,s){let a,o,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(_){return _.replace(/\$/g,"$$$$")}const p=_=>{if(_.indexOf(this.formatSeparator)<0){const d=Gh(r,c,_,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(d,void 0,i,{...s,...r,interpolationkey:_}):d}const b=_.split(this.formatSeparator),k=b.shift().trim(),j=b.join(this.formatSeparator).trim();return this.format(Gh(r,c,k,this.options.keySeparator,this.options.ignoreJSONStructure),j,i,{...s,...r,interpolationkey:k})};this.resetRegExp();const m=s&&s.missingInterpolationHandler||this.options.missingInterpolationHandler,h=s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:_=>u(_)},{regex:this.regexp,safeValue:_=>this.escapeValue?u(this.escape(_)):u(_)}].forEach(_=>{for(l=0;a=_.regex.exec(t);){const b=a[1].trim();if(o=p(b),o===void 0)if(typeof m=="function"){const j=m(t,a,s);o=typeof j=="string"?j:""}else if(s&&Object.prototype.hasOwnProperty.call(s,b))o="";else if(h){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${b} for interpolating ${t}`),o="";else typeof o!="string"&&!this.useRawValueToEscape&&(o=Uh(o));const k=_.safeValue(o);if(t=t.replace(a[0],k),h?(_.regex.lastIndex+=o.length,_.regex.lastIndex-=a[0].length):_.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,a,o;function l(c,u){const p=this.nestingOptionsSeparator;if(c.indexOf(p)<0)return c;const m=c.split(new RegExp(`${p}[ ]*{`));let h=`{${m[1]}`;c=m[0],h=this.interpolate(h,o);const x=h.match(/'/g),_=h.match(/"/g);(x&&x.length%2===0&&!_||_.length%2!==0)&&(h=h.replace(/'/g,'"'));try{o=JSON.parse(h),u&&(o={...u,...o})}catch(b){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,b),`${c}${p}${h}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,c}for(;s=this.nestingRegexp.exec(t);){let c=[];o={...i},o=o.replace&&typeof o.replace!="string"?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const p=s[1].split(this.formatSeparator).map(m=>m.trim());s[1]=p.shift(),c=p,u=!0}if(a=r(l.call(this,s[1].trim(),o),o),a&&s[0]===t&&typeof a!="string")return a;typeof a!="string"&&(a=Uh(a)),a||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${t}`),a=""),u&&(a=c.reduce((p,m)=>this.format(p,m,i.lng,{...i,interpolationkey:s[1].trim()}),a.trim())),t=t.replace(s[0],a),this.regexp.lastIndex=0}return t}}function o3(e){let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const i=e.split("(");t=i[0].toLowerCase().trim();const s=i[1].substring(0,i[1].length-1);t==="currency"&&s.indexOf(":")<0?r.currency||(r.currency=s.trim()):t==="relativetime"&&s.indexOf(":")<0?r.range||(r.range=s.trim()):s.split(";").forEach(o=>{if(o){const[l,...c]=o.split(":"),u=c.join(":").trim().replace(/^'+|'+$/g,""),p=l.trim();r[p]||(r[p]=u),u==="false"&&(r[p]=!1),u==="true"&&(r[p]=!0),isNaN(u)||(r[p]=parseInt(u,10))}})}return{formatName:t,formatOptions:r}}function Wi(e){const t={};return function(i,s,a){const o=s+JSON.stringify(a);let l=t[o];return l||(l=e(ul(s),a),t[o]=l),l(i)}}class l3{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=cr.create("formatter"),this.options=t,this.formats={number:Wi((r,i)=>{const s=new Intl.NumberFormat(r,{...i});return a=>s.format(a)}),currency:Wi((r,i)=>{const s=new Intl.NumberFormat(r,{...i,style:"currency"});return a=>s.format(a)}),datetime:Wi((r,i)=>{const s=new Intl.DateTimeFormat(r,{...i});return a=>s.format(a)}),relativetime:Wi((r,i)=>{const s=new Intl.RelativeTimeFormat(r,{...i});return a=>s.format(a,i.range||"day")}),list:Wi((r,i)=>{const s=new Intl.ListFormat(r,{...i});return a=>s.format(a)})},this.init(t)}init(t){const i=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=Wi(r)}format(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return r.split(this.formatSeparator).reduce((l,c)=>{const{formatName:u,formatOptions:p}=o3(c);if(this.formats[u]){let m=l;try{const h=s&&s.formatParams&&s.formatParams[s.interpolationkey]||{},x=h.locale||h.lng||s.locale||s.lng||i;m=this.formats[u](l,x,{...p,...s,...h})}catch(h){this.logger.warn(h)}return m}else this.logger.warn(`there was no format function for ${u}`);return l},t)}}function c3(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class d3 extends Ul{constructor(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=i,this.languageUtils=i.languageUtils,this.options=s,this.logger=cr.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(i,s.backend,s)}queueLoad(t,r,i,s){const a={},o={},l={},c={};return t.forEach(u=>{let p=!0;r.forEach(m=>{const h=`${u}|${m}`;!i.reload&&this.store.hasResourceBundle(u,m)?this.state[h]=2:this.state[h]<0||(this.state[h]===1?o[h]===void 0&&(o[h]=!0):(this.state[h]=1,p=!1,o[h]===void 0&&(o[h]=!0),a[h]===void 0&&(a[h]=!0),c[m]===void 0&&(c[m]=!0)))}),p||(l[u]=!0)}),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,r,i){const s=t.split("|"),a=s[0],o=s[1];r&&this.emit("failedLoading",a,o,r),i&&this.store.addResourceBundle(a,o,i,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2;const l={};this.queue.forEach(c=>{Vv(c.loaded,[a],o),c3(c,t),r&&c.errors.push(r),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{l[u]||(l[u]={});const p=c.loaded[u];p.length&&p.forEach(m=>{l[u][m]===void 0&&(l[u][m]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:i,tried:s,wait:a,callback:o});return}this.readingCalls++;const l=(u,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const m=this.waitingReads.shift();this.read(m.lng,m.ns,m.fcName,m.tried,m.wait,m.callback)}if(u&&p&&s{this.read.call(this,t,r,i,s+1,a*2,o)},a);return}o(u,p)},c=this.backend[i].bind(this.backend);if(c.length===2){try{const u=c(t,r);u&&typeof u.then=="function"?u.then(p=>l(null,p)).catch(l):l(null,u)}catch(u){l(u)}return}return c(t,r,l)}prepareLoading(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof r=="string"&&(r=[r]);const a=this.queueLoad(t,r,i,s);if(!a.toLoad.length)return a.pending.length||s(),null;a.toLoad.forEach(o=>{this.loadOne(o)})}load(t,r,i){this.prepareLoading(t,r,{},i)}reload(t,r,i){this.prepareLoading(t,r,{reload:!0},i)}loadOne(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const i=t.split("|"),s=i[0],a=i[1];this.read(s,a,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${r}loading namespace ${a} for language ${s} failed`,o),!o&&l&&this.logger.log(`${r}loaded namespace ${a} for language ${s}`,l),this.loaded(t,o,l)})}saveMissing(t,r,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${i}" as the namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(i==null||i==="")){if(this.backend&&this.backend.create){const c={...o,isUpdate:a},u=this.backend.create.bind(this.backend);if(u.length<6)try{let p;u.length===5?p=u(t,r,i,s,c):p=u(t,r,i,s),p&&typeof p.then=="function"?p.then(m=>l(null,m)).catch(l):l(null,p)}catch(p){l(p)}else u(t,r,i,s,l,c)}!t||!t[0]||this.store.addResource(t[0],r,i,s)}}}function Qh(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){let r={};if(typeof t[1]=="object"&&(r=t[1]),typeof t[1]=="string"&&(r.defaultValue=t[1]),typeof t[2]=="string"&&(r.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const i=t[3]||t[2];Object.keys(i).forEach(s=>{r[s]=i[s]})}return r},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Jh(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function go(){}function u3(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})}class Ra extends Ul{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Jh(t),this.services={},this.logger=cr,this.modules={external:[]},u3(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof r=="function"&&(i=r,r={}),!r.defaultNS&&r.defaultNS!==!1&&r.ns&&(typeof r.ns=="string"?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const s=Qh();this.options={...s,...this.options,...Jh(r)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...s.interpolation,...this.options.interpolation}),r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator);function a(p){return p?typeof p=="function"?new p:p:null}if(!this.options.isClone){this.modules.logger?cr.init(a(this.modules.logger),this.options):cr.init(null,this.options);let p;this.modules.formatter?p=this.modules.formatter:typeof Intl<"u"&&(p=l3);const m=new Vh(this.options);this.store=new Wh(this.options.resources,this.options);const h=this.services;h.logger=cr,h.resourceStore=this.store,h.languageUtils=m,h.pluralResolver=new s3(m,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),p&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(h.formatter=a(p),h.formatter.init(h,this.options),this.options.interpolation.format=h.formatter.format.bind(h.formatter)),h.interpolator=new a3(this.options),h.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},h.backendConnector=new d3(a(this.modules.backend),h.resourceStore,h,this.options),h.backendConnector.on("*",function(x){for(var _=arguments.length,b=new Array(_>1?_-1:0),k=1;k<_;k++)b[k-1]=arguments[k];t.emit(x,...b)}),this.modules.languageDetector&&(h.languageDetector=a(this.modules.languageDetector),h.languageDetector.init&&h.languageDetector.init(h,this.options.detection,this.options)),this.modules.i18nFormat&&(h.i18nFormat=a(this.modules.i18nFormat),h.i18nFormat.init&&h.i18nFormat.init(this)),this.translator=new pl(this.services,this.options),this.translator.on("*",function(x){for(var _=arguments.length,b=new Array(_>1?_-1:0),k=1;k<_;k++)b[k-1]=arguments[k];t.emit(x,...b)}),this.modules.external.forEach(x=>{x.init&&x.init(this)})}if(this.format=this.options.interpolation.format,i||(i=go),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const p=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);p.length>0&&p[0]!=="dev"&&(this.options.lng=p[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(p=>{this[p]=function(){return t.store[p](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(p=>{this[p]=function(){return t.store[p](...arguments),t}});const c=Hs(),u=()=>{const p=(m,h)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(h),i(m,h)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return p(null,this.t.bind(this));this.changeLanguage(this.options.lng,p)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),c}loadResources(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:go;const s=typeof t=="string"?t:this.language;if(typeof t=="function"&&(i=t),!this.options.resources||this.options.partialBundledLanguages){if(s&&s.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();const a=[],o=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(u=>{u!=="cimode"&&a.indexOf(u)<0&&a.push(u)})};s?o(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>o(c)),this.options.preload&&this.options.preload.forEach(l=>o(l)),this.services.backendConnector.load(a,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(l)})}else i(null)}reloadResources(t,r,i){const s=Hs();return t||(t=this.languages),r||(r=this.options.ns),i||(i=go),this.services.backendConnector.reload(t,r,a=>{s.resolve(),i(a)}),s}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&f0.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let r=0;r-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}}changeLanguage(t,r){var i=this;this.isLanguageChangingTo=t;const s=Hs();this.emit("languageChanging",t);const a=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,u)=>{u?(a(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,s.resolve(function(){return i.t(...arguments)}),r&&r(c,function(){return i.t(...arguments)})},l=c=>{!t&&!c&&this.services.languageDetector&&(c=[]);const u=typeof c=="string"?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||a(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,p=>{o(p,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),s}getFixedT(t,r,i){var s=this;const a=function(o,l){let c;if(typeof l!="object"){for(var u=arguments.length,p=new Array(u>2?u-2:0),m=2;m`${c.keyPrefix}${h}${_}`):x=c.keyPrefix?`${c.keyPrefix}${h}${o}`:o,s.t(x,c)};return typeof t=="string"?a.lng=t:a.lngs=t,a.ns=r,a.keyPrefix=i,a}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=r.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const o=(l,c)=>{const u=this.services.backendConnector.state[`${l}|${c}`];return u===-1||u===2};if(r.precheck){const l=r.precheck(this,o);if(l!==void 0)return l}return!!(this.hasResourceBundle(i,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(i,t)&&(!s||o(a,t)))}loadNamespaces(t,r){const i=Hs();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{i.resolve(),r&&r(s)}),i):(r&&r(),Promise.resolve())}loadLanguages(t,r){const i=Hs();typeof t=="string"&&(t=[t]);const s=this.options.preload||[],a=t.filter(o=>s.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return a.length?(this.options.preload=s.concat(a),this.loadResources(o=>{i.resolve(),r&&r(o)}),i):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const r=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],i=this.services&&this.services.languageUtils||new Vh(Qh());return r.indexOf(i.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new Ra(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:go;const i=t.forkResourceStore;i&&delete t.forkResourceStore;const s={...this.options,...t,isClone:!0},a=new Ra(s);return(t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),["store","services","language"].forEach(l=>{a[l]=this[l]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},i&&(a.store=new Wh(this.store.data,s),a.services.resourceStore=a.store),a.translator=new pl(a.services,s),a.translator.on("*",function(l){for(var c=arguments.length,u=new Array(c>1?c-1:0),p=1;p) => void",description:"Callback function triggered when the button is clicked."},children:{name:"children",type:"React.ReactNode",description:"The content to be displayed inside the button. Can be text, icons, or other elements."},className:{name:"className",type:"string",description:"Additional CSS class names to be added to the button."},ariaLabel:{name:"ariaLabel",type:"string",description:"Accessible label for screen readers. Important for buttons that only contain icons."}},examples:{title:"Examples",basic:{title:"Basic Usage",description:"The most basic usage of a button. Use the primary variant for main actions."},variants:{title:"Button Variants",description:"Different styles of buttons for different purposes. Choose the appropriate variant based on the action's importance and meaning."},sizes:{title:"Button Sizes",description:"Buttons come in four sizes: small for compact layouts, medium for general use, large for emphasis, and xlarge for prominent actions."},shapes:{title:"Button Shapes",description:"Buttons can have different shapes to match your design needs. Square for a traditional look, rounded for a modern feel, and circle for icon buttons."},borderRadius:{title:"Border Radius",description:"Customize the corner roundness of buttons. Use predefined values or specify a custom radius in pixels."},states:{title:"Button States",description:"Buttons can be in different states: normal, loading (shows a spinner), disabled (can't be clicked), and active (appears pressed)."},withIcons:{title:"Buttons with Icons",description:"Buttons can include icons to enhance visual communication. Icons can be placed before or after the text."},block:{title:"Block Button",description:"A block button spans the full width of its container. Useful for mobile interfaces or when you want to align button width with other elements."},customStyles:{title:"Custom Styles",description:"Buttons can be customized with your own styles using CSS. Here are some examples of custom styled buttons."}}},switch:{title:"Switch",description:"Switch toggles allow users to turn an option on or off.",basic:"Basic Switch",sizes:"Switch Sizes",disabled:"Disabled State",loading:"Loading State",customColors:"Custom Colors",text:"Text & Icon"},alert:{title:"Alert",description:"Alerts display important messages to users.",basic:"Basic Alerts",types:"Alert Types",withIcon:"With Icons",closable:"Closable"},textfield:{title:"Text Field",description:"Text fields let users enter and edit text.",installation:"Installation",basic_usage:"Basic Usage",examples:"Examples",sizes:"Text Field Sizes",states:"Text Field States",prefix:"Prefix and Suffix",clearable:"Clearable Input",password:"Password Input",textarea:"Text Area",properties:{title:"Properties",value:{name:"value",type:"string",description:"The value of the text field."},placeholder:{name:"placeholder",type:"string",description:"Placeholder text when the field is empty."},disabled:{name:"disabled",type:"boolean",description:"Whether the text field is disabled."},error:{name:"error",type:"boolean",description:"Whether the text field is in error state."},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"The size of the text field."}}},radio:{title:"Radio",description:"Radio buttons allow users to select one option from a set.",basic:"Basic Usage",disabled:"Disabled",group:"Radio Group",direction:"Direction",button:"Button Style"},checkbox:{title:"Checkbox",description:"Checkboxes allow users to select one or more items from a set.",basic:"Basic Checkboxes",shapes:"Checkbox Shapes",sizes:"Checkbox Sizes",customIcons:"Custom Icons",customStyles:"Custom Colors & Styles"},avatar:{title:"Avatar",description:"Avatars represent users or entities with images or initials.",basic:"Basic Usage",sizes:"Sizes",types:"Types",group:"Avatar Group",badge:"With Badge"},badge:{title:"Badge",description:"Badges are small status descriptors for UI elements.",basic:"Basic Usage",max:"Maximum",dot:"Dot Badge",status:"Status",colors:"Custom Colors"},card:{title:"Card",description:"Cards contain content and actions about a single subject.",basic:"Basic Usage",title_prop:"With Title",bordered:"Bordered",hoverable:"Hoverable",loading:"Loading",grid:"Grid Card",inner:"Inner Card"},chip:{title:"Chip",description:"Chips represent small blocks of information.",basic:"Basic Usage",variants:"Variants",sizes:"Sizes",removable:"Removable",icon:"With Icon",colors:"Custom Colors"},divider:{title:"Divider",description:"Dividers separate content into clear groups.",basic:"Basic Usage",orientation:"Text Position",type:"Divider Type",styles:"Styles"},dropdown:{title:"Dropdown",description:"Dropdowns display a list of actions or options.",basic:"Basic Usage",placement:"Placement",trigger:"Trigger",disabled:"Disabled",nested:"Nested Menu"},message:{title:"Message",description:"Messages provide feedback about user operations.",basic:"Basic Usage",types:"Message Types",duration:"Duration",loading:"Loading",promise:"Promise Interface"},progress:{title:"Progress",description:"Progress indicators express an unspecified wait time.",basic:"Basic Usage",types:"Progress Types",sizes:"Sizes",status:"Status",dynamic:"Dynamic"},skeleton:{title:"Skeleton",description:"Skeleton screens provide a low-fidelity representation of content before it's loaded.",basic:"Basic Usage",animated:"Animated",complex:"Complex Combination",active:"Active Animation"},space:{title:"Space",description:"Set the spacing between components",basic:"Basic Usage",size:"Size",align:"Alignment",direction:"Direction",customization:"Customization"},tag:{title:"Tag",description:"Used for marking and selection",basic:"Basic Usage",sizes:"Sizes",color:"Color",closable:"Closable",icon:"With Icon",customization:"Customization"},tooltip:{title:"Tooltip",description:"A simple text popup tip",basic:"Basic Usage",placement:"Placement",trigger:"Trigger",customization:"Customization"},popper:{title:"Popper",description:"Create custom popup content",basic:"Basic Usage",placement:"Placement",trigger:"Trigger",arrow:"Arrow"},searchButton:{title:"Search Button",description:"A special button for triggering search operations",basic:"Basic Usage",sizes:"Sizes",loading:"Loading",customization:"Customization"},statusIndicator:{title:"Status Indicator",description:"Display the current status of an element",basic:"Basic Usage",sizes:"Sizes",colors:"Colors",animation:"Animation"},timePicker:{title:"Time Picker",description:"For selecting a specific time",basic:"Basic Usage",format:"Format",range:"Range Selection",disabled:"Disabled"},virtualList:{title:"Virtual List",description:"Efficiently render large lists",basic:"Basic Usage",height:"Fixed Height",dynamic:"Dynamic Height",loading:"Loading"},autoComplete:{title:"Auto Complete",description:"Input with auto-complete suggestions",basic:"Basic Usage",customization:"Customization",async:"Async Loading",grouping:"Grouping"},empty:{title:"Empty",description:"Empty state placeholder",basic:"Basic Usage",customization:"Customization",image:"Image"},cascader:{title:"Cascader",description:"Cascading Selector",basic:"Basic Usage",size:"Size",multiple:"Multiple Selection",async:"Async Loading"},iconButton:{title:"Icon Button",description:"Icon buttons are buttons that only contain icons, typically used in toolbars or compact interfaces.",basic:"Basic Usage",sizes:"Sizes",variants:"Variants",states:"States"},common:{installation:"Installation",basic_usage:"Basic Usage",examples:"Examples",customization:"Customization",props:"Props",events:"Events",methods:"Methods",slots:"Slots",api:{property:"Property",description:"Description",type:"Type",default:"Default"}},pagination:{title:"Pagination",description:"A long list can be divided into several pages using Pagination, and only one page will be loaded at a time.",installation:"Installation",installation_description:"Install the Pagination component using npm or yarn.",basic_usage:"Basic Usage",basic_usage_description:"The Pagination component provides a simple way to handle large sets of data.",when_to_use:{title:"When To Use",items:["When loading/rendering all data will take a long time","When you need to browse data by switching pages","When dealing with large amounts of data"]},examples:{title:"Examples",introduction:{title:"Introduction",description:"Pagination allows you to divide large sets of content into smaller chunks and navigate between them."},basic:{title:"Basic Usage",description:"The simplest usage of pagination component."},sizes:{title:"Different Sizes",description:"Three sizes are available: small, medium (default) and large."},shapes:{title:"Different Shapes",description:"Three shapes are available: square, rounded (default) and circle."},variants:{title:"Different Variants",description:"Three variants are available: filled (default), outlined and text."},more:{title:"More Features",description:"More features like quick jumper, size changer and total display."},large:{title:"Large Data",description:"Pagination for large data sets with quick navigation and size options."},custom:{title:"Custom Rendering",description:"Customize the rendering of pagination items and navigation icons."},simple:{title:"Simple Mode",description:"Simple mode will show less page numbers in a simpler way."},disabled:{title:"Disabled State",description:"Pagination can be disabled when it's not interactive."},responsive:{title:"Responsive Layout",description:"In responsive mode, some items will be hidden on small screens."}},properties:{title:"Properties",description:"The following properties are available for the Pagination component:",current:"Current page number",total:"Total number of items",pageSize:"Number of items per page",onChange:"Callback when page or page size changes",disabled:"Whether to disable pagination",showQuickJumper:"Whether to show quick jumper",showSizeChanger:"Whether to show page size changer",pageSizeOptions:"Options for page size changer",itemRender:"Custom item renderer",showTotal:"Whether to show total number",totalRender:"Custom total text renderer",size:"Size of pagination items",shape:"Shape of pagination items",variant:"Style variant of pagination items",simple:"Whether to use simple mode",responsive:"Whether to use responsive mode",icons:"Custom icons for navigation"}}},m3={title:"Oops!",description:"Sorry, an unexpected error has occurred.",back_home:"Back to Home",refresh:"Refresh Page"},f3={title:"404",description:"Oops! The page you're looking for doesn't exist.",back_home:"Back to Home"},g3={lib:p3,components:h3,error:m3,notFound:f3},x3={title:"Minerva UI",description:"用于构建美观且无障碍的用户界面的现代 React 组件库",about:"关于","about.description":"Minerva UI 是一个全面的 React 组件库,提供一套可重用、无障碍和可定制的组件,帮助您构建现代 Web 应用程序。",installation:"安装","installation.title":"安装","installation.description":"通过在项目中安装 Minerva UI 开始使用。","installation.usage.title":"使用","installation.usage.description":"在 React 应用程序中导入和使用组件。","installation.requirements.title":"要求","installation.cdn.title":"CDN","installation.cdn.description":"您也可以直接从 CDN 使用 Minerva UI。",features:{title:"特性",modern:{title:"现代设计",description:"基于现代设计原则和最佳实践构建。"},customizable:{title:"高度可定制",description:"轻松定制组件以匹配您的品牌和设计系统。"},typescript:{title:"TypeScript 支持",description:"使用 TypeScript 编写,提供完整的类型支持以获得更好的开发体验。"},performance:{title:"性能优先",description:"通过最小化包大小和高效渲染进行性能优化。"}},getStarted:{title:"开始使用",description:"使用 Minerva UI 组件开始构建您的下一个项目。"}},v3={menu:{getting_started:"开始使用",inputs:"输入",data_display:"数据展示",feedback:"反馈",navigation:"导航"},installation:{title:"安装",description:"通过在项目中安装 Minerva UI 开始使用",package:{title:"包安装",description:"使用您喜欢的包管理器安装 Minerva UI"},setup:{title:"项目设置",description:"在 React 应用程序中设置 Minerva UI"},next:{title:"下一步",description:"了解更多关于 Minerva UI",introduction:"阅读介绍",theming:"了解主题",components:"浏览组件"}},overview:{title:"概述",description:"用于构建美观且无障碍界面的现代 React UI 库",features:{title:"主要特性",modern:{title:"现代设计",description:"基于现代设计原则和最佳实践构建。"},performance:{title:"性能优先",description:"通过最小化包大小和高效渲染进行性能优化。"},theme:{title:"主题支持",description:"全面的主题系统,允许您自定义组件的各个方面。"},responsive:{title:"响应式设计",description:"组件设计可在所有设备尺寸上无缝工作。"}},quickstart:{title:"快速开始",description:"通过安装包并导入组件快速开始使用 Minerva UI。"},support:{title:"浏览器支持",description:"Minerva UI 兼容所有现代浏览器。"}},introduction:{title:"介绍",description:"了解 Minerva UI 的特性和功能",what:{title:"什么是 Minerva UI",description:"Minerva UI 是一个现代的 React 组件库,旨在帮助您快速高效地构建美观且无障碍的用户界面。",features:{components:{title:"丰富的组件库",description:"一套遵循设计和可访问性最佳实践的预构建组件。"},customization:{title:"高度可定制",description:"灵活的主题系统,允许您自定义组件的各个方面以匹配您的品牌。"},typescript:{title:"TypeScript 支持",description:"使用 TypeScript 构建,提供完整的类型支持和代码补全,带来更好的开发体验。"}}}},theming:{title:"主题",description:"自定义组件的外观和感觉",tokens:"设计令牌",colors:"颜色系统",typography:"排版",spacing:"间距"},button:{title:"按钮",description:"按钮允许用户通过单击执行操作和做出选择。",installation:"安装",installation_description:"使用包管理器安装按钮组件。",properties:{title:"属性",variant:{name:"variant",type:"'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'retry' | 'back'",description:"按钮的视觉样式。每种变体都有其语义含义:primary 用于主要操作,secondary 用于次要操作,success 用于确认操作,warning 用于需要谨慎的操作,error 用于破坏性操作,retry 用于重试操作,back 用于导航。"},size:{name:"size",type:"'small' | 'medium' | 'large' | 'xlarge'",description:"按钮的尺寸。small 适用于紧凑空间,medium 用于一般用途,large 用于强调,xlarge 用于突出显示的操作。"},shape:{name:"shape",type:"'square' | 'rounded' | 'circle'",description:"按钮的形状。square 有锐利的边角,rounded 有柔和的边角,circle 是完全圆形的。"},borderRadius:{name:"borderRadius",type:"'none' | 'small' | 'medium' | 'large' | 'circle' | 'square' | number",description:"按钮的自定义圆角。可以是预定义的值或以像素为单位的具体数字。"},disabled:{name:"disabled",type:"boolean",description:"按钮是否禁用。禁用的按钮无法点击且显示为淡化状态。"},loading:{name:"loading",type:"boolean",description:"按钮是否处于加载状态。加载时显示加载动画并阻止点击。"},active:{name:"active",type:"boolean",description:"按钮是否处于激活状态。激活的按钮显示为按下的状态。"},onClick:{name:"onClick",type:"(event: React.MouseEvent) => void",description:"点击按钮时触发的回调函数。"},children:{name:"children",type:"React.ReactNode",description:"按钮内显示的内容。可以是文本、图标或其他元素。"},className:{name:"className",type:"string",description:"要添加到按钮的额外 CSS 类名。"},ariaLabel:{name:"ariaLabel",type:"string",description:"为屏幕阅读器提供的无障碍标签。对于仅包含图标的按钮尤为重要。"}},examples:{title:"示例",basic:{title:"基础用法",description:"按钮最基本的用法。使用 primary 变体表示主要操作。"},variants:{title:"按钮变体",description:"不同用途的按钮样式。根据操作的重要性和含义选择合适的变体。"},sizes:{title:"按钮尺寸",description:"按钮有四种尺寸:small 用于紧凑布局,medium 用于一般用途,large 用于强调,xlarge 用于突出显示的操作。"},shapes:{title:"按钮形状",description:"按钮可以有不同的形状以匹配您的设计需求。square 用于传统外观,rounded 用于现代感,circle 用于图标按钮。"},borderRadius:{title:"圆角",description:"自定义按钮的圆角。使用预定义的值或指定以像素为单位的自定义圆角。"},states:{title:"按钮状态",description:"按钮可以处于不同状态:正常、加载中(显示加载动画)、禁用(无法点击)和激活(显示为按下状态)。"},withIcons:{title:"带图标的按钮",description:"按钮可以包含图标以增强视觉交互。图标可以放在文本前面或后面。"},block:{title:"块级按钮",description:"块级按钮会占据其容器的全部宽度。适用于移动端界面或需要与其他元素对齐宽度的场景。"},customStyles:{title:"自定义样式",description:"按钮可以使用 CSS 自定义样式。这里展示了一些自定义样式的按钮示例。"}}},switch:{title:"开关",description:"开关允许用户打开或关闭选项。",basic:"基础开关",sizes:"开关尺寸",disabled:"禁用状态",loading:"加载状态",customColors:"自定义颜色",text:"文本和图标"},alert:{title:"警告提示",description:"警告提示用于向用户显示重要信息。",basic:"基础警告提示",types:"警告提示类型",withIcon:"带图标",closable:"可关闭"},textfield:{title:"文本框",description:"文本框允许用户输入和编辑文本。",installation:"安装",basic_usage:"基础用法",examples:"示例",sizes:"文本框尺寸",states:"文本框状态",prefix:"前缀和后缀",clearable:"可清除输入",password:"密码输入",textarea:"文本域",properties:{title:"属性",value:{name:"value",type:"string",description:"文本框的值。"},placeholder:{name:"placeholder",type:"string",description:"文本框为空时的占位文本。"},disabled:{name:"disabled",type:"boolean",description:"文本框是否禁用。"},error:{name:"error",type:"boolean",description:"文本框是否处于错误状态。"},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"文本框的尺寸。"}}},radio:{title:"单选框",description:"单选框允许用户从一组选项中选择一个。",basic:"基础用法",disabled:"禁用",group:"单选框组",direction:"方向",button:"按钮样式"},checkbox:{title:"复选框",description:"复选框允许用户从一组选项中选择一个或多个。",basic:"基础复选框",shapes:"复选框形状",sizes:"复选框尺寸",customIcons:"自定义图标",customStyles:"自定义颜色和样式"},avatar:{title:"头像",description:"头像用图片或字母代表用户或实体。",basic:"基础用法",sizes:"尺寸",types:"类型",group:"头像组",badge:"带徽标"},badge:{title:"徽标",description:"徽标是 UI 元素的小型状态描述符。",basic:"基础用法",max:"最大值",dot:"点状徽标",status:"状态",colors:"自定义颜色"},card:{title:"卡片",description:"卡片包含关于单个主题的内容和操作。",basic:"基础用法",title_prop:"带标题",bordered:"带边框",hoverable:"可悬浮",loading:"加载中",grid:"网格卡片",inner:"内部卡片"},chip:{title:"纸片",description:"纸片表示小块信息。",basic:"基础用法",variants:"变体",sizes:"尺寸",removable:"可移除",icon:"带图标",colors:"自定义颜色"},divider:{title:"分割线",description:"分割线将内容分成清晰的组。",basic:"基础用法",orientation:"文本位置",type:"分割线类型",styles:"样式"},dropdown:{title:"下拉菜单",description:"下拉菜单显示操作或选项列表。",basic:"基础用法",placement:"位置",trigger:"触发方式",disabled:"禁用",nested:"嵌套菜单"},message:{title:"消息",description:"消息提供关于用户操作的反馈。",basic:"基础用法",types:"消息类型",duration:"持续时间",loading:"加载中",promise:"Promise 接口"},progress:{title:"进度条",description:"进度指示器表示不确定的等待时间。",basic:"基础用法",types:"进度条类型",sizes:"尺寸",status:"状态",dynamic:"动态"},skeleton:{title:"骨架屏",description:"骨架屏在内容加载前提供低保真的表现形式。",basic:"基础用法",animated:"动画",complex:"复杂组合",active:"动态动画"},space:{title:"间距",description:"设置组件之间的间距",basic:"基础用法",size:"尺寸",align:"对齐",direction:"方向",customization:"自定义"},tag:{title:"标签",description:"用于标记和选择",basic:"基础用法",sizes:"尺寸",color:"颜色",closable:"可关闭",icon:"带图标",customization:"自定义"},tooltip:{title:"文字提示",description:"简单的文字弹出提示",basic:"基础用法",placement:"位置",trigger:"触发方式",customization:"自定义"},popper:{title:"弹出框",description:"创建自定义弹出内容",basic:"基础用法",placement:"位置",trigger:"触发方式",arrow:"箭头"},searchButton:{title:"搜索按钮",description:"用于触发搜索操作的特殊按钮",basic:"基础用法",sizes:"尺寸",loading:"加载中",customization:"自定义"},statusIndicator:{title:"状态指示器",description:"显示元素的当前状态",basic:"基础用法",sizes:"尺寸",colors:"颜色",animation:"动画"},timePicker:{title:"时间选择器",description:"用于选择特定时间",basic:"基础用法",format:"格式",range:"范围选择",disabled:"禁用"},virtualList:{title:"虚拟列表",description:"高效渲染大型列表",basic:"基础用法",height:"固定高度",dynamic:"动态高度",loading:"加载中"},autoComplete:{title:"自动完成",description:"带有自动完成建议的输入框",basic:"基础用法",customization:"自定义",async:"异步加载",grouping:"分组"},empty:{title:"空状态",description:"空状态占位符",basic:"基础用法",customization:"自定义",image:"图片"},cascader:{title:"级联选择",description:"级联选择器",basic:"基础用法",size:"尺寸",multiple:"多选",async:"异步加载"},iconButton:{title:"图标按钮",description:"图标按钮仅包含图标,通常用于工具栏或紧凑的界面中。",basic:"基础用法",sizes:"尺寸",variants:"变体",states:"状态"},common:{installation:"安装",basic_usage:"基础用法",examples:"示例",customization:"自定义",api:{property:"属性",description:"说明",type:"类型",default:"默认值"},props:"属性",events:"事件",methods:"方法",slots:"插槽"},pagination:{title:"分页",description:"采用分页的形式分隔长列表,每次只加载一个页面。",installation:"安装",installation_description:"使用 npm 或 yarn 安装分页组件。",basic_usage:"基础用法",basic_usage_description:"分页组件提供了一种简单的方式来处理大量数据。",when_to_use:{title:"何时使用",items:["当加载/渲染所有数据将花费很多时间时","可切换页码浏览数据时","数据量较大时"]},examples:{title:"示例",introduction:{title:"介绍",description:"分页组件允许您将大量内容分成较小的块,并在它们之间导航。"},basic:{title:"基本用法",description:"最简单的分页组件用法。"},sizes:{title:"不同尺寸",description:"提供三种尺寸:小、中(默认)、大。"},shapes:{title:"不同形状",description:"提供三种形状:方形、圆角(默认)、圆形。"},variants:{title:"不同变体",description:"提供三种变体:填充(默认)、描边、文本。"},more:{title:"更多功能",description:"更多功能,如快速跳转、页码选择器和总数显示。"},large:{title:"大数据",description:"大数据集的分页,带有快速导航和尺寸选项。"},custom:{title:"自定义渲染",description:"自定义分页项和导航图标的渲染。"},simple:{title:"简洁模式",description:"简洁模式下会显示较少的页码。"},disabled:{title:"禁用状态",description:"分页组件可以被禁用,此时不可交互。"},responsive:{title:"响应式布局",description:"在响应式模式下,小屏幕上会隐藏部分项目。"}},properties:{title:"属性",description:"分页组件提供以下属性:",current:"当前页码",total:"总条目数",pageSize:"每页条目数",onChange:"页码或每页条目数改变时的回调",disabled:"是否禁用分页",showQuickJumper:"是否显示快速跳转",showSizeChanger:"是否显示页码选择器",pageSizeOptions:"页码选择器的选项",itemRender:"自定义页码的渲染函数",showTotal:"是否显示总数",totalRender:"自定义总数文本的渲染函数",size:"分页的尺寸",shape:"分页项的形状",variant:"分页项的变体",simple:"是否使用简洁模式",responsive:"是否使用响应式模式",icons:"自定义导航图标"}}},j3={title:"糟糕!",description:"抱歉,发生了意外错误。",back_home:"返回首页",refresh:"刷新页面"},_3={title:"404",description:"抱歉,您访问的页面不存在。",back_home:"返回首页"},y3={lib:x3,components:v3,error:j3,notFound:_3},b3={title:"Minerva UI",description:"モダンな React コンポーネントライブラリ",about:"概要","about.description":"Minerva UI は、モダンなウェブアプリケーションを構築するための再利用可能でアクセシブルなコンポーネントを提供する包括的な React コンポーネントライブラリです。",installation:"インストール","installation.title":"インストール","installation.description":"プロジェクトに Minerva UI をインストールして始めましょう。","installation.usage.title":"使用方法","installation.usage.description":"React アプリケーションでコンポーネントをインポートして使用します。","installation.requirements.title":"要件","installation.cdn.title":"CDN","installation.cdn.description":"CDN から直接 Minerva UI を使用することもできます。",features:{title:"機能",modern:{title:"モダンなデザイン",description:"モダンなデザイン原則とベストプラクティスを念頭に置いて構築されています。"},customizable:{title:"高度にカスタマイズ可能",description:"ブランドやデザインシステムに合わせて簡単にコンポーネントをカスタマイズできます。"},typescript:{title:"TypeScript サポート",description:"より良い開発体験のために、完全な型サポートを備えた TypeScript で書かれています。"},performance:{title:"パフォーマンス重視",description:"最小限のバンドルサイズと効率的なレンダリングでパフォーマンスを最適化。"}},getStarted:{title:"はじめに",description:"Minerva UI コンポーネントで次のプロジェクトを構築しましょう。"}},w3={menu:{getting_started:"はじめに",inputs:"入力",data_display:"データ表示",feedback:"フィードバック",navigation:"ナビゲーション"},installation:{title:"インストール",description:"プロジェクトに Minerva UI をインストールして始めましょう",package:{title:"パッケージのインストール",description:"お好みのパッケージマネージャーで Minerva UI をインストール"},setup:{title:"プロジェクトの設定",description:"React アプリケーションで Minerva UI を設定"},next:{title:"次のステップ",description:"Minerva UI についてさらに学ぶ",introduction:"はじめにを読む",theming:"テーマについて学ぶ",components:"コンポーネントを見る"}},overview:{title:"概要",description:"美しくアクセシブルなインターフェースを構築するためのモダンな React UI ライブラリ",features:{title:"主な機能",modern:{title:"モダンなデザイン",description:"モダンなデザイン原則とベストプラクティスを念頭に置いて構築。"},performance:{title:"パフォーマンス重視",description:"最小限のバンドルサイズと効率的なレンダリングでパフォーマンスを最適化。"},theme:{title:"テーマサポート",description:"コンポーネントのあらゆる側面をカスタマイズできる包括的なテーマシステム。"},responsive:{title:"レスポンシブデザイン",description:"すべてのデバイスサイズで完璧に動作するように設計されたコンポーネント。"}},quickstart:{title:"クイックスタート",description:"パッケージをインストールしてコンポーネントをインポートすることで、すぐに Minerva UI を使い始めることができます。"},support:{title:"ブラウザサポート",description:"Minerva UI はすべてのモダンブラウザに対応しています。"}},introduction:{title:"はじめに",description:"Minerva UI の機能と特徴について学びましょう",what:{title:"Minerva UI とは",description:"Minerva UI は、美しくアクセシブルなユーザーインターフェースを迅速かつ効率的に構築するための現代的な React コンポーネントライブラリです。",features:{components:{title:"豊富なコンポーネント",description:"デザインとアクセシビリティのベストプラクティスに従った、包括的なプリビルドコンポーネントセット。"},customization:{title:"高度なカスタマイズ性",description:"ブランドに合わせてコンポーネントのあらゆる側面をカスタマイズできる柔軟なテーマシステム。"},typescript:{title:"TypeScript サポート",description:"完全な型サポートとコード補完を備えた、より良い開発体験のための TypeScript 実装。"}}}},theming:{title:"テーマ設定",description:"コンポーネントの外観をカスタマイズ",tokens:"デザイントークン",colors:"カラーシステム",typography:"タイポグラフィ",spacing:"スペーシング"},button:{title:"ボタン",description:"ボタンを使用すると、ユーザーは1回のタップでアクションを実行し、選択を行うことができます。",installation:"インストール",installation_description:"パッケージマネージャーを使用してボタンコンポーネントをインストールします。",properties:{title:"プロパティ",variant:{name:"variant",type:"'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'retry' | 'back'",description:"ボタンの視覚的なスタイル。各バリアントには独自の意味があります:primary はメインアクション用、secondary は重要度の低いアクション用、success は確認用、warning は注意が必要なアクション用、error は破壊的なアクション用、retry は再試行用、back はナビゲーション用です。"},size:{name:"size",type:"'small' | 'medium' | 'large' | 'xlarge'",description:"ボタンのサイズ。small は狭いスペース用、medium は一般的な用途、large は強調用、xlarge は目立つアクション用です。"},shape:{name:"shape",type:"'square' | 'rounded' | 'circle'",description:"ボタンの形状。square は鋭い角、rounded は柔らかい角、circle は完全な円形です。"},borderRadius:{name:"borderRadius",type:"'none' | 'small' | 'medium' | 'large' | 'circle' | 'square' | number",description:"ボタンのカスタム角丸。事前定義された値またはピクセル単位の具体的な数値を指定できます。"},disabled:{name:"disabled",type:"boolean",description:"ボタンが無効かどうか。無効なボタンはクリックできず、フェードアウトして表示されます。"},loading:{name:"loading",type:"boolean",description:"ボタンが読み込み中の状態かどうか。読み込み中はスピナーを表示し、クリックを防止します。"},active:{name:"active",type:"boolean",description:"ボタンがアクティブな状態かどうか。アクティブなボタンは押された状態で表示されます。"},onClick:{name:"onClick",type:"(event: React.MouseEvent) => void",description:"ボタンがクリックされたときにトリガーされるコールバック関数。"},children:{name:"children",type:"React.ReactNode",description:"ボタン内に表示されるコンテンツ。テキスト、アイコン、その他の要素を含めることができます。"},className:{name:"className",type:"string",description:"ボタンに追加するCSSクラス名。"},ariaLabel:{name:"ariaLabel",type:"string",description:"スクリーンリーダー用のアクセシブルなラベル。アイコンのみを含むボタンには特に重要です。"}},examples:{title:"例",basic:{title:"基本的な使用法",description:"ボタンの最も基本的な使用法。メインアクションにはprimaryバリアントを使用します。"},variants:{title:"ボタンのバリアント",description:"異なる目的のための異なるボタンスタイル。アクションの重要性と意味に基づいて適切なバリアントを選択します。"},sizes:{title:"ボタンのサイズ",description:"ボタンには4つのサイズがあります:コンパクトなレイアウト用のsmall、一般的な用途のmedium、強調用のlarge、目立つアクション用のxlargeです。"},shapes:{title:"ボタンの形状",description:"デザインニーズに合わせて異なる形状を選択できます。従来の外観にはsquare、モダンな印象にはrounded、アイコンボタンにはcircleを使用します。"},borderRadius:{title:"角丸",description:"ボタンの角の丸みをカスタマイズします。事前定義された値を使用するか、ピクセル単位でカスタム角丸を指定します。"},states:{title:"ボタンの状態",description:"ボタンには異なる状態があります:通常、読み込み中(スピナーを表示)、無効(クリック不可)、アクティブ(押された状態)。"},withIcons:{title:"アイコン付きボタン",description:"ボタンにはビジュアルコミュニケーションを強化するためのアイコンを含めることができます。アイコンはテキストの前後に配置できます。"},block:{title:"ブロックボタン",description:"ブロックボタンはコンテナの全幅に広がります。モバイルインターフェースやボタンの幅を他の要素と揃えたい場合に便利です。"},customStyles:{title:"カスタムスタイル",description:"ボタンはCSSを使用して独自のスタイルをカスタマイズできます。カスタムスタイルを適用したボタンの例をいくつか紹介します。"}}},switch:{title:"スイッチ",description:"スイッチはオプションのオン/オフを切り替えることができます。",basic:"基本的なスイッチ",sizes:"スイッチのサイズ",disabled:"無効状態",loading:"ローディング状態",customColors:"カスタムカラー",text:"テキストとアイコン"},alert:{title:"アラート",description:"アラートはユーザーに重要なメッセージを表示します。",basic:"基本的なアラート",types:"アラートの種類",withIcon:"アイコン付き",closable:"閉じることができる"},common:{installation:"インストール",basic_usage:"基本的な使い方",examples:"例",customization:"カスタマイズ",api:{property:"プロパティ",description:"説明",type:"型",default:"デフォルト"},props:"プロパティ",events:"イベント",methods:"メソッド",slots:"スロット"},avatar:{title:"アバター",description:"ユーザープロフィール画像を表示するためのアバターコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",sizes:"アバターのサイズ",badge:"バッジ付き"},iconButton:{title:"アイコンボタン",description:"アイコンのみを含むボタン、通常はツールバーやコンパクトなインターフェースで使用",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",sizes:"アイコンボタンのサイズ",variants:"アイコンボタンの種類",states:"アイコンボタンの状態"},progress:{title:"プログレス",description:"完了状態を表示するためのプログレスインジケーター",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"プログレスの種類",sizes:"プログレスのサイズ",states:"プログレスの状態"},message:{title:"メッセージ",description:"一時的な通知を表示するためのメッセージコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"メッセージの種類",duration:"表示時間",placement:"表示位置"},tooltip:{title:"ツールチップ",description:"追加情報を表示するためのツールチップコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",placement:"表示位置",trigger:"トリガー",delay:"表示遅延"},popper:{title:"ポッパー",description:"フローティング要素を配置するためのポッパーコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",placement:"配置位置",offset:"オフセット",arrow:"矢印付き"},searchButton:{title:"検索ボタン",description:"検索機能を統合した検索ボタンコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"ボタンの種類",sizes:"ボタンのサイズ",states:"ボタンの状態"},statusIndicator:{title:"ステータスインジケーター",description:"現在の状態を表示するためのステータスインジケーターコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"ステータスの種類",sizes:"インジケーターのサイズ",pulse:"パルスエフェクト"},timePicker:{title:"タイムピッカー",description:"時間を選択するためのタイムピッカーコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",format:"時間フォーマット",range:"時間範囲",validation:"時間の検証"},virtualList:{title:"バーチャルリスト",description:"大きなリストを効率的にレンダリングするためのバーチャルリストコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",height:"リストの高さ",itemSize:"アイテムのサイズ",scrolling:"スムーズスクロール"},autoComplete:{title:"オートコンプリート",description:"入力候補を表示するためのオートコンプリートコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",filter:"カスタムフィルター",async:"非同期データ",templates:"カスタムテンプレート"},empty:{title:"空の状態",description:"データがない場合の空の状態を表示するコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",image:"カスタム画像",description_custom:"カスタム説明",action:"アクション付き"},cascader:{title:"カスケード選択",description:"階層データから選択するためのカスケード選択コンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",options:"カスタムオプション",loading:"ローディング状態",search:"検索機能"},space:{title:"スペース",description:"レイアウトの間隔を管理するためのスペースコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",size:"スペースのサイズ",align:"配置",direction:"方向"},tag:{title:"タグ",description:"分類とフィルタリングのためのタグコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",color:"タグの色",size:"タグのサイズ",closable:"閉じることができるタグ"},textfield:{title:"テキストフィールド",description:"テキストフィールドはユーザーがテキストを入力・編集できるようにします。",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",sizes:"テキストフィールドのサイズ",states:"テキストフィールドの状態",prefix:"プレフィックスとサフィックス",clearable:"クリア可能",password:"パスワード入力",textarea:"テキストエリア",properties:{title:"プロパティ",value:{name:"value",type:"string",description:"テキストフィールドの値。"},placeholder:{name:"placeholder",type:"string",description:"フィールドが空の時のプレースホルダーテキスト。"},disabled:{name:"disabled",type:"boolean",description:"テキストフィールドが無効化されているかどうか。"},error:{name:"error",type:"boolean",description:"テキストフィールドがエラー状態かどうか。"},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"テキストフィールドのサイズ。"}}},pagination:{title:"ページネーション",description:"長いリストを複数のページに分割し、一度に1ページのみを読み込みます。",installation:"インストール",installation_description:"npm または yarn を使用してページネーションコンポーネントをインストールします。",basic_usage:"基本的な使い方",basic_usage_description:"ページネーションコンポーネントは、大量のデータを扱うためのシンプルな方法を提供します。",when_to_use:{title:"使用するとき",items:["すべてのデータの読み込み/レンダリングに時間がかかる場合","ページを切り替えてデータを閲覧する必要がある場合","大量のデータを扱う場合"]},examples:{title:"例",introduction:{title:"はじめに",description:"ページネーションを使用すると、大量のコンテンツを小さなチャンクに分割して、それらの間を移動できます。"},basic:{title:"基本的な使い方",description:"最も簡単なページネーションの使用方法です。"},sizes:{title:"サイズの違い",description:"3つのサイズが利用可能です:小、中(デフォルト)、大。"},shapes:{title:"形状の違い",description:"3つの形状が利用可能です:四角、丸角(デフォルト)、円形。"},variants:{title:"バリアントの違い",description:"3つのバリアントが利用可能です:塗りつぶし(デフォルト)、アウトライン、テキスト。"},more:{title:"その他の機能",description:"クイックジャンパー、サイズチェンジャー、合計表示などの追加機能。"},large:{title:"大規模データ",description:"クイックナビゲーションとサイズオプションを備えた大規模データセットのページネーション。"},custom:{title:"カスタムレンダリング",description:"ページネーション項目とナビゲーションアイコンのカスタマイズ。"},simple:{title:"シンプルモード",description:"シンプルモードではページ項目が少なく表示されます。"},disabled:{title:"無効状態",description:"ページネーションの無効状態です。"},responsive:{title:"レスポンシブ",description:"レスポンシブモードでは、小さな画面で一部の項目が非表示になります。"}},properties:{title:"プロパティ",description:"ページネーションコンポーネントで利用可能なプロパティ:",current:"現在のページ番号",total:"アイテムの総数",pageSize:"1ページあたりのアイテム数",onChange:"ページまたはページサイズが変更されたときのコールバック",disabled:"ページネーションを無効にするかどうか",showQuickJumper:"クイックジャンパーを表示するかどうか",showSizeChanger:"ページサイズチェンジャーを表示するかどうか",pageSizeOptions:"ページサイズチェンジャーのオプション",itemRender:"ページ項目のカスタムレンダリング関数",showTotal:"合計を表示するかどうか",totalRender:"合計テキストのカスタムレンダリング関数",size:"ページネーションのサイズ",shape:"ページネーション項目の形状",variant:"ページネーション項目のバリアント",simple:"シンプルモードを使用するかどうか",responsive:"レスポンシブモードを使用するかどうか",icons:"カスタムナビゲーションアイコン"}}},C3={title:"おっと!",description:"申し訳ありません。予期せぬエラーが発生しました。",back_home:"ホームに戻る",refresh:"ページを更新"},k3={title:"404",description:"申し訳ありません。お探しのページは存在しません。",back_home:"ホームに戻る"},S3={lib:b3,components:w3,error:C3,notFound:k3},N3={title:"Minerva UI",description:"Une bibliothèque moderne de composants React",about:"À propos","about.description":"Minerva UI est une bibliothèque complète de composants React qui fournit un ensemble de composants réutilisables, accessibles et personnalisables pour vous aider à construire des applications web modernes.",installation:"Installation","installation.title":"Installation","installation.description":"Commencez avec Minerva UI en l'installant dans votre projet.","installation.usage.title":"Utilisation","installation.usage.description":"Importez et utilisez les composants dans votre application React.","installation.requirements.title":"Prérequis","installation.cdn.title":"CDN","installation.cdn.description":"Vous pouvez également utiliser Minerva UI directement depuis un CDN.",features:{title:"Fonctionnalités",modern:{title:"Design Moderne",description:"Construit avec les principes de design modernes et les meilleures pratiques à l'esprit."},customizable:{title:"Hautement Personnalisable",description:"Personnalisez facilement les composants pour correspondre à votre marque et votre système de design."},typescript:{title:"Support TypeScript",description:"Écrit en TypeScript avec un support complet des types pour une meilleure expérience de développement."},performance:{title:"Axé sur la Performance",description:"Optimisé pour la performance avec une taille de bundle minimale et un rendu efficace."}},getStarted:{title:"Commencer",description:"Commencez à construire votre prochain projet avec les composants Minerva UI."}},z3={menu:{getting_started:"Pour Commencer",inputs:"Entrées",data_display:"Affichage des Données",feedback:"Retour",navigation:"Navigation"},installation:{title:"Installation",description:"Commencez avec Minerva UI en l'installant dans votre projet",package:{title:"Installation du Package",description:"Installez Minerva UI avec votre gestionnaire de paquets préféré"},setup:{title:"Configuration du Projet",description:"Configurez Minerva UI dans votre application React"},next:{title:"Prochaines Étapes",description:"En savoir plus sur Minerva UI",introduction:"Lire l'Introduction",theming:"Découvrir la Thématisation",components:"Parcourir les Composants"}},overview:{title:"Vue d'ensemble",description:"Une bibliothèque moderne de composants React pour construire des interfaces belles et accessibles",features:{title:"Fonctionnalités Clés",modern:{title:"Design Moderne",description:"Construit avec les principes de design modernes et les meilleures pratiques à l'esprit."},performance:{title:"Axé sur la Performance",description:"Optimisé pour la performance avec une taille de bundle minimale et un rendu efficace."},theme:{title:"Support des Thèmes",description:"Système de thèmes complet qui permet de personnaliser chaque aspect des composants."},responsive:{title:"Design Responsive",description:"Les composants sont conçus pour fonctionner parfaitement sur tous les formats d'écran."}},quickstart:{title:"Démarrage Rapide",description:"Commencez rapidement avec Minerva UI en installant le package et en important les composants."},support:{title:"Support des Navigateurs",description:"Minerva UI est compatible avec tous les navigateurs modernes."}},introduction:{title:"Introduction",description:"Découvrez les fonctionnalités et les capacités de Minerva UI",what:{title:"Qu'est-ce que Minerva UI",description:"Minerva UI est une bibliothèque moderne de composants React conçue pour vous aider à construire rapidement et efficacement des interfaces utilisateur belles et accessibles.",features:{components:{title:"Bibliothèque Riche en Composants",description:"Un ensemble complet de composants préconçus qui suivent les meilleures pratiques en matière de design et d'accessibilité."},customization:{title:"Hautement Personnalisable",description:"Système de thèmes flexible qui vous permet de personnaliser chaque aspect des composants pour correspondre à votre marque."},typescript:{title:"Support TypeScript",description:"Construit avec TypeScript pour une meilleure expérience de développement avec un support complet des types et une complétion de code."}}}},theming:{title:"Thématisation",description:"Personnalisez l'apparence de vos composants",tokens:"Tokens de Design",colors:"Système de Couleurs",typography:"Typographie",spacing:"Espacement"},button:{title:"Bouton",description:"Les boutons permettent aux utilisateurs d'effectuer des actions et de faire des choix d'un simple clic.",variants:"Variantes de Bouton",sizes:"Tailles de Bouton",states:"États de Bouton",shapes:"Formes de Bouton",customStyles:"Styles Personnalisés",basic:"Utilisation de Base",icons:"Avec Icônes",loading:"État de Chargement",block:"Bouton Block",disabled:"État Désactivé",installation:"Installation",installation_description:"Installez le composant bouton en utilisant votre gestionnaire de paquets.",properties:{title:"Propriétés",variant:{name:"variant",type:"'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'retry' | 'back'",description:"Le style visuel du bouton. Chaque variante a sa propre signification sémantique : primary pour les actions principales, secondary pour les actions secondaires, success pour les confirmations, warning pour les actions nécessitant de la prudence, error pour les actions destructrices, retry pour les réessais, back pour la navigation."},size:{name:"size",type:"'small' | 'medium' | 'large' | 'xlarge'",description:"La taille du bouton. Small pour les espaces restreints, medium pour une utilisation générale, large pour l'emphase, et xlarge pour les actions proéminentes."},shape:{name:"shape",type:"'square' | 'rounded' | 'circle'",description:"La forme du bouton. Square a des coins nets, rounded a des coins arrondis, et circle est parfaitement rond."},borderRadius:{name:"borderRadius",type:"'none' | 'small' | 'medium' | 'large' | 'circle' | 'square' | number",description:"Le rayon de bordure personnalisé du bouton. Peut être une valeur prédéfinie ou un nombre spécifique en pixels."},disabled:{name:"disabled",type:"boolean",description:"Si le bouton est désactivé. Les boutons désactivés ne peuvent pas être cliqués et apparaissent estompés."},loading:{name:"loading",type:"boolean",description:"Si le bouton est en état de chargement. Affiche un spinner et empêche les clics pendant le chargement."},active:{name:"active",type:"boolean",description:"Si le bouton est en état actif. Les boutons actifs apparaissent enfoncés."},onClick:{name:"onClick",type:"(event: React.MouseEvent) => void",description:"Fonction de rappel déclenchée lorsque le bouton est cliqué."},children:{name:"children",type:"React.ReactNode",description:"Le contenu à afficher à l'intérieur du bouton. Peut être du texte, des icônes ou d'autres éléments."},className:{name:"className",type:"string",description:"Noms de classes CSS supplémentaires à ajouter au bouton."},ariaLabel:{name:"ariaLabel",type:"string",description:"Étiquette accessible pour les lecteurs d'écran. Important pour les boutons qui ne contiennent que des icônes."}},examples:{title:"Exemples",basic:{title:"Utilisation de base",description:"L'utilisation la plus basique d'un bouton. Utilisez la variante primary pour les actions principales."},variants:{title:"Variantes de boutons",description:"Différents styles de boutons pour différents usages. Choisissez la variante appropriée en fonction de l'importance et de la signification de l'action."},sizes:{title:"Tailles de boutons",description:"Les boutons existent en quatre tailles : small pour les mises en page compactes, medium pour une utilisation générale, large pour l'emphase, et xlarge pour les actions proéminentes."},shapes:{title:"Formes de boutons",description:"Les boutons peuvent avoir différentes formes pour correspondre à vos besoins de design. Square pour un look traditionnel, rounded pour une sensation moderne, et circle pour les boutons avec icône."},borderRadius:{title:"Rayon de bordure",description:"Personnalisez l'arrondi des coins des boutons. Utilisez des valeurs prédéfinies ou spécifiez un rayon personnalisé en pixels."},states:{title:"États des boutons",description:"Les boutons peuvent être dans différents états : normal, chargement (affiche un spinner), désactivé (non cliquable), et actif (apparaît enfoncé)."},withIcons:{title:"Boutons avec icônes",description:"Les boutons peuvent inclure des icônes pour améliorer la communication visuelle. Les icônes peuvent être placées avant ou après le texte."},block:{title:"Bouton bloc",description:"Un bouton bloc occupe toute la largeur de son conteneur. Utile pour les interfaces mobiles ou lorsque vous souhaitez aligner la largeur du bouton avec d'autres éléments."},customStyles:{title:"Styles personnalisés",description:"Les boutons peuvent être personnalisés avec vos propres styles en utilisant CSS. Voici quelques exemples de boutons avec des styles personnalisés."}}},common:{installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",customization:"Personnalisation",api:{property:"Propriété",description:"Description",type:"Type",default:"Par défaut"},props:"Propriétés",events:"Événements",methods:"Méthodes",slots:"Slots"},alert:{title:"Alerte",description:"Composant d'alerte pour afficher des messages importants",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes d'Alerte",customization:"Personnalisation"},avatar:{title:"Avatar",description:"Composant d'avatar pour afficher des images de profil",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles d'Avatar",badge:"Avec Badge"},iconButton:{title:"Bouton Icône",description:"Boutons icônes contenant uniquement des icônes, généralement utilisés dans les barres d'outils",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles de Bouton Icône",variants:"Variantes de Bouton Icône",states:"États de Bouton Icône"},switch:{title:"Interrupteur",description:"Composant interrupteur pour basculer entre deux états",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles d'Interrupteur",states:"États d'Interrupteur",customization:"Personnalisation"},progress:{title:"Progression",description:"Indicateurs de progression pour montrer l'état d'avancement",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Progression",sizes:"Tailles de Progression",states:"États de Progression"},message:{title:"Message",description:"Composant de message pour afficher des notifications temporaires",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Message",duration:"Durée du Message",placement:"Placement du Message"},tooltip:{title:"Info-bulle",description:"Composant info-bulle pour afficher des informations supplémentaires",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",placement:"Placement de l'Info-bulle",trigger:"Déclencheur de l'Info-bulle",delay:"Délai de l'Info-bulle"},popper:{title:"Popper",description:"Composant popper pour positionner des éléments flottants",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",placement:"Placement du Popper",offset:"Décalage du Popper",arrow:"Avec Flèche"},searchButton:{title:"Bouton de Recherche",description:"Composant bouton de recherche avec fonctionnalité de recherche intégrée",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Bouton",sizes:"Tailles de Bouton",states:"États de Bouton"},statusIndicator:{title:"Indicateur de Statut",description:"Composant indicateur de statut pour montrer l'état actuel",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Statut",sizes:"Tailles d'Indicateur",pulse:"Avec Effet Pulsation"},timePicker:{title:"Sélecteur de Temps",description:"Composant de sélection de temps",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",format:"Format de Temps",range:"Plage de Temps",validation:"Validation de Temps"},virtualList:{title:"Liste Virtuelle",description:"Composant de liste virtuelle pour le rendu efficace de grandes listes",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",height:"Hauteur de Liste",itemSize:"Taille d'Élément",scrolling:"Défilement Fluide"},autoComplete:{title:"Auto-complétion",description:"Composant d'auto-complétion pour les suggestions de saisie",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",filter:"Filtre Personnalisé",async:"Données Asynchrones",templates:"Modèles Personnalisés"},empty:{title:"État Vide",description:"Composant d'état vide pour les scénarios sans données",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",image:"Image Personnalisée",description_custom:"Description Personnalisée",action:"Avec Action"},cascader:{title:"Sélecteur en Cascade",description:"Composant de sélection en cascade pour les données hiérarchiques",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",options:"Options Personnalisées",loading:"État de Chargement",search:"Fonction de Recherche"},space:{title:"Espace",description:"Composant espace pour gérer l'espacement de mise en page",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",size:"Taille d'Espace",align:"Alignement d'Espace",direction:"Direction d'Espace"},tag:{title:"Étiquette",description:"Composant étiquette pour la catégorisation et le filtrage",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",color:"Couleurs d'Étiquette",size:"Tailles d'Étiquette",closable:"Étiquettes Fermables"},textfield:{title:"Champ de Texte",description:"Les champs de texte permettent aux utilisateurs de saisir et de modifier du texte.",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles de Champ",states:"États du Champ",prefix:"Préfixe et Suffixe",clearable:"Effaçable",password:"Champ de Mot de Passe",textarea:"Zone de Texte",properties:{title:"Propriétés",value:{name:"value",type:"string",description:"La valeur du champ de texte."},placeholder:{name:"placeholder",type:"string",description:"Texte d'indication lorsque le champ est vide."},disabled:{name:"disabled",type:"boolean",description:"Si le champ de texte est désactivé."},error:{name:"error",type:"boolean",description:"Si le champ de texte est en état d'erreur."},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"La taille du champ de texte."}}},pagination:{title:"Pagination",description:"Une longue liste peut être divisée en plusieurs pages à l'aide de la pagination, et une seule page sera chargée à la fois.",installation:"Installation",installation_description:"Installez le composant Pagination en utilisant npm ou yarn.",basic_usage:"Utilisation de base",basic_usage_description:"Le composant Pagination fournit un moyen simple de gérer de grands ensembles de données.",when_to_use:{title:"Quand utiliser",items:["Lorsque le chargement/rendu de toutes les données prendra beaucoup de temps","Lorsque vous devez parcourir les données en changeant de page","Lorsque vous traitez de grandes quantités de données"]},examples:{title:"Exemples",introduction:{title:"Introduction",description:"La pagination vous permet de diviser de grands ensembles de contenu en plus petits morceaux et de naviguer entre eux."},basic:{title:"Utilisation de base",description:"L'utilisation la plus simple du composant de pagination."},sizes:{title:"Différentes tailles",description:"Trois tailles sont disponibles : petite, moyenne (par défaut) et grande."},shapes:{title:"Différentes formes",description:"Trois formes sont disponibles : carrée, arrondie (par défaut) et circulaire."},variants:{title:"Différentes variantes",description:"Trois variantes sont disponibles : remplie (par défaut), contourée et texte."},more:{title:"Plus de fonctionnalités",description:"Plus de fonctionnalités comme le saut rapide, le changeur de taille et l'affichage total."},large:{title:"Grandes données",description:"Pagination pour les grands ensembles de données avec navigation rapide et options de taille."},custom:{title:"Rendu personnalisé",description:"Personnalisez le rendu des éléments de pagination et des icônes de navigation."},simple:{title:"Mode simple",description:"Le mode simple affichera moins de numéros de page de manière plus simple."},disabled:{title:"État désactivé",description:"La pagination peut être désactivée lorsqu'elle n'est pas interactive."},responsive:{title:"Mise en page responsive",description:"En mode responsive, certains éléments seront masqués sur les petits écrans."}},properties:{title:"Propriétés",description:"Les propriétés suivantes sont disponibles pour le composant Pagination :",current:"Numéro de page actuel",total:"Nombre total d'éléments",pageSize:"Nombre d'éléments par page",onChange:"Callback lors du changement de page ou de taille",disabled:"Désactiver la pagination",showQuickJumper:"Afficher le saut rapide",showSizeChanger:"Afficher le changeur de taille",pageSizeOptions:"Options pour le changeur de taille",itemRender:"Fonction de rendu personnalisé",showTotal:"Afficher le nombre total",totalRender:"Fonction de rendu du texte total",size:"Taille des éléments",shape:"Forme des éléments",variant:"Variante de style",simple:"Utiliser le mode simple",responsive:"Utiliser le mode responsive",icons:"Icônes de navigation personnalisées"}}},$3={title:"Oups !",description:"Désolé, une erreur inattendue s'est produite.",back_home:"Retour à l'accueil",refresh:"Actualiser la page"},L3={title:"404",description:"Oups ! La page que vous recherchez n'existe pas.",back_home:"Retour à l'accueil"},E3={lib:N3,components:z3,error:$3,notFound:L3};Vt.use(Fv).init({resources:{en:{common:g3},zh:{common:y3},ja:{common:S3},fr:{common:E3}},defaultNS:"common",lng:navigator.language.split("-")[0],fallbackLng:"en",interpolation:{escapeValue:!1}});var g0={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Yh=je.createContext&&je.createContext(g0),I3=["attr","size","title"];function R3(e,t){if(e==null)return{};var r=P3(e,t),i,s;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}function P3(e,t){if(e==null)return{};var r={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;r[i]=e[i]}return r}function hl(){return hl=Object.assign?Object.assign.bind():function(e){for(var t=1;tje.createElement(t.tag,ml({key:r},t.attr),x0(t.child)))}function F(e){return t=>je.createElement(F3,hl({attr:ml({},e.attr)},t),x0(e.child))}function F3(e){var t=r=>{var{attr:i,size:s,title:a}=e,o=R3(e,I3),l=s||r.size||"1em",c;return r.className&&(c=r.className),e.className&&(c=(c?c+" ":"")+e.className),je.createElement("svg",hl({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,i,o,{className:c,style:ml(ml({color:e.color||r.color},r.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&je.createElement("title",null,a),e.children)};return Yh!==void 0?je.createElement(Yh.Consumer,null,r=>t(r)):t(g0)}function B3(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 112v288m144-144H112"},child:[]}]})(e)}function O3(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M186.62 464H160a16 16 0 0 1-14.57-22.6l64.46-142.25L113.1 297l-35.3 42.77C71.07 348.23 65.7 352 52 352H34.08a17.66 17.66 0 0 1-14.7-7.06c-2.38-3.21-4.72-8.65-2.44-16.41l19.82-71c.15-.53.33-1.06.53-1.58a.38.38 0 0 0 0-.15 14.82 14.82 0 0 1-.53-1.59l-19.84-71.45c-2.15-7.61.2-12.93 2.56-16.06a16.83 16.83 0 0 1 13.6-6.7H52c10.23 0 20.16 4.59 26 12l34.57 42.05 97.32-1.44-64.44-142A16 16 0 0 1 160 48h26.91a25 25 0 0 1 19.35 9.8l125.05 152 57.77-1.52c4.23-.23 15.95-.31 18.66-.31C463 208 496 225.94 496 256c0 9.46-3.78 27-29.07 38.16-14.93 6.6-34.85 9.94-59.21 9.94-2.68 0-14.37-.08-18.66-.31l-57.76-1.54-125.36 152a25 25 0 0 1-19.32 9.75z"},child:[]}]})(e)}function D3(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M153.59 110.46A21.41 21.41 0 0 0 152.48 79 62.67 62.67 0 0 0 112 64l-3.27.09h-.48C74.4 66.15 48 95.55 48.07 131c0 19 8 29.06 14.32 37.11a20.61 20.61 0 0 0 14.7 7.8c.26 0 .7.05 2 .05a19.06 19.06 0 0 0 13.75-5.89zm250.2-46.35-3.27-.1H400a62.67 62.67 0 0 0-40.52 15 21.41 21.41 0 0 0-1.11 31.44l60.77 59.65a19.06 19.06 0 0 0 13.79 5.9c1.28 0 1.72 0 2-.05a20.61 20.61 0 0 0 14.69-7.8c6.36-8.05 14.28-18.08 14.32-37.11.06-35.49-26.34-64.89-60.15-66.93z"},child:[]},{tag:"path",attr:{d:"M256.07 96c-97 0-176 78.95-176 176a175.23 175.23 0 0 0 40.81 112.56l-36.12 36.13a16 16 0 1 0 22.63 22.62l36.12-36.12a175.63 175.63 0 0 0 225.12 0l36.13 36.12a16 16 0 1 0 22.63-22.62l-36.13-36.13A175.17 175.17 0 0 0 432.07 272c0-97-78.95-176-176-176zm16 176a16 16 0 0 1-16 16h-80a16 16 0 0 1 0-32h64v-96a16 16 0 0 1 32 0z"},child:[]}]})(e)}function v0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M250.26 166.05 256 288l5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 6z"},child:[]},{tag:"path",attr:{d:"M256 367.91a20 20 0 1 1 20-20 20 20 0 0 1-20 20z"},child:[]}]})(e)}function Dd(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"rect",attr:{width:"80",height:"80",x:"64",y:"64",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"216",y:"64",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"368",y:"64",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"64",y:"216",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"216",y:"216",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"368",y:"216",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"64",y:"368",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"216",y:"368",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"368",y:"368",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]}]})(e)}function Sc(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 268 144 144 144-144M256 392V100"},child:[]}]})(e)}function U3(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m268 112 144 144-144 144m124-144H100"},child:[]}]})(e)}function H3(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 244 144-144 144 144M256 120v292"},child:[]}]})(e)}function Nc(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 244 144-144 144 144M256 120v292"},child:[]}]})(e)}function W3(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M48 322.3V189.7A29.74 29.74 0 0 1 77.7 160h137.44l24.4-32H77.7A61.77 61.77 0 0 0 16 189.7v132.6A61.77 61.77 0 0 0 77.7 384h96.85a22.57 22.57 0 0 1 .26-7.32l.15-.75.21-.73 6.5-23.2H77.7A29.74 29.74 0 0 1 48 322.3zM386.3 128h-98.64a22.69 22.69 0 0 1-.27 7.2l-.15.74-.21.73-6.54 23.33H386.3a29.74 29.74 0 0 1 29.7 29.7v132.6a29.74 29.74 0 0 1-29.7 29.7H247l-24.42 32H386.3a61.77 61.77 0 0 0 61.7-61.7V189.7a61.77 61.77 0 0 0-61.7-61.7z"},child:[]},{tag:"path",attr:{d:"M162.65 294.16a24.37 24.37 0 0 1-21.56-13 25 25 0 0 1 1.42-25.83l.31-.46.33-.44L197.62 183H89.69a20 20 0 0 0-20 20v106a20 20 0 0 0 20 20h98.42l9.78-34.86z"},child:[]},{tag:"path",attr:{d:"m276.07 280.89 27.07-35.49a5.2 5.2 0 0 0 .77-1.91 5 5 0 0 0 .08-.66 5 5 0 0 0-.08-1.29 5.11 5.11 0 0 0-.68-1.75 4.76 4.76 0 0 0-.78-.95 3.48 3.48 0 0 0-.48-.38 4 4 0 0 0-1.11-.55 4.28 4.28 0 0 0-1.31-.2h-61.62l12.12-43.21 3.23-11.5 6.21-22.16.51-1.84 7.79-27.76a3.51 3.51 0 0 0 .05-.55v-.16c0-.05 0-.26-.05-.38s0-.09 0-.14a2.2 2.2 0 0 0-.17-.45 3.77 3.77 0 0 0-.26-.39l-.09-.1a2.73 2.73 0 0 0-.25-.23l-.1-.08a3.14 3.14 0 0 0-.39-.24 2 2 0 0 0-.41-.14h-.59a2.3 2.3 0 0 0-.45 0 1.9 1.9 0 0 0-.42.15l-.13.07-.3.21-.11.1a2.4 2.4 0 0 0-.36.41l-18 23.63-13.14 17.22-9.85 12.83-63.71 83.55a5.72 5.72 0 0 0-.44.8 4.78 4.78 0 0 0-.35 1.09 4.7 4.7 0 0 0-.08 1.29 4.86 4.86 0 0 0 2 3.71 4.74 4.74 0 0 0 .54.31 4.31 4.31 0 0 0 1.89.43h61.62L194.42 380.6a3.64 3.64 0 0 0 0 .56v.15a2.32 2.32 0 0 0 .06.38.58.58 0 0 0 0 .14 2.2 2.2 0 0 0 .17.45 3.62 3.62 0 0 0 .26.38l.09.1.25.24a.39.39 0 0 1 .1.08 2.22 2.22 0 0 0 .39.23 2.83 2.83 0 0 0 .41.14h.13a1.86 1.86 0 0 0 .33 0h.13a2.32 2.32 0 0 0 .45-.06 2.05 2.05 0 0 0 .41-.16l.13-.07.3-.21.11-.09a2.4 2.4 0 0 0 .36-.41L221.82 352l17.53-23z"},child:[]},{tag:"path",attr:{d:"m319.5 256.93-.46.6L264.51 329h109.8a20 20 0 0 0 20-20V203a20 20 0 0 0-20-20H274.05l-9.74 34.73h35.24A24.35 24.35 0 0 1 321 230.5a25.21 25.21 0 0 1-1 25.79zM480 202.67a16 16 0 0 0-16 16v74.66a16 16 0 0 0 32 0v-74.66a16 16 0 0 0-16-16z"},child:[]}]})(e)}function zc(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M388 160.77a20 20 0 0 0-5.85-14.91l-112-112A20 20 0 0 0 236 48v164.52l-79-67.71a20 20 0 0 0-26 30.38L225.27 256 131 336.81a20 20 0 1 0 26 30.38l79-67.71V464a20 20 0 0 0 34.14 14.14l112-112a20 20 0 0 0-1.14-29.33L286.73 256 381 175.19a20 20 0 0 0 7-14.42zm-49.42 192.36L276 415.72V299.49zM276 212.52V96.28l62.59 62.59z"},child:[]}]})(e)}function q3(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 160c16-63.16 76.43-95.41 208-96a15.94 15.94 0 0 1 16 16v288a16 16 0 0 1-16 16c-128 0-177.45 25.81-208 64-30.37-38-80-64-208-64-9.88 0-16-8.05-16-17.93V80a15.94 15.94 0 0 1 16-16c131.57.59 192 32.84 208 96zm0 0v288"},child:[]}]})(e)}function V3(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M352 48H160a48 48 0 0 0-48 48v368l144-128 144 128V96a48 48 0 0 0-48-48z"},child:[]}]})(e)}function K3(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"272",r:"64"},child:[]},{tag:"path",attr:{d:"M432 144h-59c-3 0-6.72-1.94-9.62-5l-25.94-40.94a15.52 15.52 0 0 0-1.37-1.85C327.11 85.76 315 80 302 80h-92c-13 0-25.11 5.76-34.07 16.21a15.52 15.52 0 0 0-1.37 1.85l-25.94 41c-2.22 2.42-5.34 5-8.62 5v-8a16 16 0 0 0-16-16h-24a16 16 0 0 0-16 16v8h-4a48.05 48.05 0 0 0-48 48V384a48.05 48.05 0 0 0 48 48h352a48.05 48.05 0 0 0 48-48V192a48.05 48.05 0 0 0-48-48zM256 368a96 96 0 1 1 96-96 96.11 96.11 0 0 1-96 96z"},child:[]}]})(e)}function j0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"rect",attr:{width:"416",height:"320",x:"48",y:"96",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",rx:"56",ry:"56"},child:[]},{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"60",d:"M48 192h416M128 300h48v20h-48z"},child:[]}]})(e)}function G3(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m98 190.06 139.78 163.12a24 24 0 0 0 36.44 0L414 190.06c13.34-15.57 2.28-39.62-18.22-39.62h-279.6c-20.5 0-31.56 24.05-18.18 39.62z"},child:[]}]})(e)}function _0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"32",d:"M408 64H104a56.16 56.16 0 0 0-56 56v192a56.16 56.16 0 0 0 56 56h40v80l93.72-78.14a8 8 0 0 1 5.13-1.86H408a56.16 56.16 0 0 0 56-56V120a56.16 56.16 0 0 0-56-56z"},child:[]}]})(e)}function y0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M352 176 217.6 336 160 272"},child:[]},{tag:"rect",attr:{width:"384",height:"384",x:"64",y:"64",fill:"none",strokeLinejoin:"round",strokeWidth:"32",rx:"48",ry:"48"},child:[]}]})(e)}function $c(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm108.25 138.29-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32 122.59-145.91a16 16 0 0 1 24.5 20.58z"},child:[]}]})(e)}function Q3(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M416 128 192 384l-96-96"},child:[]}]})(e)}function Zh(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"M328 112 184 256l144 144"},child:[]}]})(e)}function e1(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m184 112 144 144-144 144"},child:[]}]})(e)}function b0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(e)}function t1(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M473.66 210c-14-10.38-31.2-18-49.36-22.11a16.11 16.11 0 0 1-12.19-12.22c-7.8-34.75-24.59-64.55-49.27-87.13C334.15 62.25 296.21 47.79 256 47.79c-35.35 0-68 11.08-94.37 32.05a150.07 150.07 0 0 0-42.06 53 16 16 0 0 1-11.31 8.87c-26.75 5.4-50.9 16.87-69.34 33.12C13.46 197.33 0 227.24 0 261.39c0 34.52 14.49 66 40.79 88.76 25.12 21.69 58.94 33.64 95.21 33.64h104V230.42l-36.69 36.69a16 16 0 0 1-23.16-.56c-5.8-6.37-5.24-16.3.85-22.39l63.69-63.68a16 16 0 0 1 22.62 0L331 244.14c6.28 6.29 6.64 16.6.39 22.91a16 16 0 0 1-22.68.06L272 230.42v153.37h124c31.34 0 59.91-8.8 80.45-24.77 23.26-18.1 35.55-44 35.55-74.83 0-29.94-13.26-55.61-38.34-74.19zM240 448.21a16 16 0 1 0 32 0v-64.42h-32z"},child:[]}]})(e)}function J3(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M430.11 347.9c-6.6-6.1-16.3-7.6-24.6-9-11.5-1.9-15.9-4-22.6-10-14.3-12.7-14.3-31.1 0-43.8l30.3-26.9c46.4-41 46.4-108.2 0-149.2-34.2-30.1-80.1-45-127.8-45-55.7 0-113.9 20.3-158.8 60.1-83.5 73.8-83.5 194.7 0 268.5 41.5 36.7 97.5 55 152.9 55.4h1.7c55.4 0 110-17.9 148.8-52.4 14.4-12.7 11.99-36.6.1-47.7z"},child:[]},{tag:"circle",attr:{cx:"144",cy:"208",r:"32"},child:[]},{tag:"circle",attr:{cx:"152",cy:"311",r:"32"},child:[]},{tag:"circle",attr:{cx:"224",cy:"144",r:"32"},child:[]},{tag:"circle",attr:{cx:"256",cy:"367",r:"48"},child:[]},{tag:"circle",attr:{cx:"328",cy:"144",r:"32"},child:[]}]})(e)}function n1(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m441 336.2-.06-.05c-9.93-9.18-22.78-11.34-32.16-12.92l-.69-.12c-9.05-1.49-10.48-2.5-14.58-6.17-2.44-2.17-5.35-5.65-5.35-9.94s2.91-7.77 5.34-9.94l30.28-26.87c25.92-22.91 40.2-53.66 40.2-86.59s-14.25-63.68-40.2-86.6c-35.89-31.59-85-49-138.37-49C223.72 48 162 71.37 116 112.11c-43.87 38.77-68 90.71-68 146.24s24.16 107.47 68 146.23c21.75 19.24 47.49 34.18 76.52 44.42a266.17 266.17 0 0 0 86.87 15h1.81c61 0 119.09-20.57 159.39-56.4 9.7-8.56 15.15-20.83 15.34-34.56.21-14.17-5.37-27.95-14.93-36.84zM112 208a32 32 0 1 1 32 32 32 32 0 0 1-32-32zm40 135a32 32 0 1 1 32-32 32 32 0 0 1-32 32zm40-199a32 32 0 1 1 32 32 32 32 0 0 1-32-32zm64 271a48 48 0 1 1 48-48 48 48 0 0 1-48 48zm72-239a32 32 0 1 1 32-32 32 32 0 0 1-32 32z"},child:[]}]})(e)}function Y3(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"rect",attr:{width:"336",height:"336",x:"128",y:"128",fill:"none",strokeLinejoin:"round",strokeWidth:"32",rx:"57",ry:"57"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m383.5 128 .5-24a56.16 56.16 0 0 0-56-56H112a64.19 64.19 0 0 0-64 64v216a56.16 56.16 0 0 0 56 56h24"},child:[]}]})(e)}function X3(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M336 176h40a40 40 0 0 1 40 40v208a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V216a40 40 0 0 1 40-40h40"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m176 272 80 80 80-80M256 48v288"},child:[]}]})(e)}function Z3(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"192",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]}]})(e)}function Lc(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"48"},child:[]},{tag:"circle",attr:{cx:"416",cy:"256",r:"48"},child:[]},{tag:"circle",attr:{cx:"96",cy:"256",r:"48"},child:[]}]})(e)}function e6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448zM248 315.85l-51.79-51.79a2 2 0 0 0-3.39 1.69 64.11 64.11 0 0 0 53.49 53.49 2 2 0 0 0 1.69-3.39zm16-119.7L315.87 248a2 2 0 0 0 3.4-1.69 64.13 64.13 0 0 0-53.55-53.55 2 2 0 0 0-1.72 3.39z"},child:[]},{tag:"path",attr:{d:"M491 273.36a32.2 32.2 0 0 0-.1-34.76c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.68 96a226.54 226.54 0 0 0-71.82 11.79 4 4 0 0 0-1.56 6.63l47.24 47.24a4 4 0 0 0 3.82 1.05 96 96 0 0 1 116 116 4 4 0 0 0 1.05 3.81l67.95 68a4 4 0 0 0 5.4.24 343.81 343.81 0 0 0 67.24-77.4zM256 352a96 96 0 0 1-93.3-118.63 4 4 0 0 0-1.05-3.81l-66.84-66.87a4 4 0 0 0-5.41-.23c-24.39 20.81-47 46.13-67.67 75.72a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.39 76.14 98.28 100.65C162.06 402 207.92 416 255.68 416a238.22 238.22 0 0 0 72.64-11.55 4 4 0 0 0 1.61-6.64l-47.47-47.46a4 4 0 0 0-3.81-1.05A96 96 0 0 1 256 352z"},child:[]}]})(e)}function t6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"64"},child:[]},{tag:"path",attr:{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 0 0-.1-34.76zM256 352a96 96 0 1 1 96-96 96.11 96.11 0 0 1-96 96z"},child:[]}]})(e)}function n6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M63.28 202a15.29 15.29 0 0 1-7.7-2 14.84 14.84 0 0 1-5.52-20.46C69.34 147.36 128 72.25 256 72.25c55.47 0 104.12 14.57 144.53 43.29 33.26 23.57 51.9 50.25 60.78 63.1a14.79 14.79 0 0 1-4 20.79 15.52 15.52 0 0 1-21.24-4C420 172.32 371 102 256 102c-112.25 0-163 64.71-179.53 92.46A15 15 0 0 1 63.28 202z"},child:[]},{tag:"path",attr:{d:"M320.49 496a15.31 15.31 0 0 1-3.79-.43c-92.85-23-127.52-115.82-128.93-119.68l-.22-.85c-.76-2.68-19.39-66.33 9.21-103.61 13.11-17 33.05-25.72 59.38-25.72 24.48 0 42.14 7.61 54.28 23.36 10 12.86 14 28.72 17.87 44 8.13 31.82 14 48.53 47.79 50.25 14.84.75 24.59-7.93 30.12-15.32 14.95-20.15 17.55-53 6.28-82C398 228.57 346.61 158 256 158c-38.68 0-74.22 12.43-102.72 35.79-23.59 19.35-42.28 46.67-51.28 74.75-16.69 52.28 5.2 134.46 5.41 135.21A14.83 14.83 0 0 1 96.54 422a15.39 15.39 0 0 1-18.74-10.6c-1-3.75-24.38-91.4-5.1-151.82 21-65.47 85.81-131.47 183.33-131.47 45.07 0 87.65 15.32 123.19 44.25 27.52 22.5 50 52.72 61.76 82.93 14.95 38.57 10.94 81.86-10.19 110.14-14.08 18.86-34.13 28.72-56.34 27.65-57.86-2.9-68.26-43.29-75.84-72.75-7.8-30.22-12.79-44.79-42.58-44.79-16.36 0-27.85 4.5-35 13.82-9.75 12.75-10.51 32.68-9.43 47.14a152.44 152.44 0 0 0 5.1 29.79c2.38 6 33.37 82 107.59 100.39a14.88 14.88 0 0 1 11 18.11 15.36 15.36 0 0 1-14.8 11.21z"},child:[]},{tag:"path",attr:{d:"M201.31 489.14a15.5 15.5 0 0 1-11.16-4.71c-37.16-39-58.18-82.61-66.09-137.14V347c-4.44-36.1 2.06-87.21 33.91-122.35 23.51-25.93 56.56-39.11 98.06-39.11 49.08 0 87.65 22.82 111.7 65.89 17.45 31.29 20.91 62.47 21 63.75a15.07 15.07 0 0 1-13.65 16.4 15.26 15.26 0 0 1-16.79-13.29A154 154 0 0 0 340.43 265c-18.64-32.89-47-49.61-84.51-49.61-32.4 0-57.75 9.75-75.19 29-25.14 27.75-30 70.5-26.55 98.78 6.93 48.22 25.46 86.58 58.18 120.86a14.7 14.7 0 0 1-.76 21.11 15.44 15.44 0 0 1-10.29 4z"},child:[]},{tag:"path",attr:{d:"M372.5 446.18c-32.5 0-60.13-9-82.24-26.89-44.42-35.79-49.4-94.08-49.62-96.54a15.27 15.27 0 0 1 30.45-2.36c.11.86 4.55 48.54 38.79 76 20.26 16.18 47.34 22.6 80.71 18.85a15.2 15.2 0 0 1 16.91 13.18 14.92 14.92 0 0 1-13.44 16.5 187 187 0 0 1-21.56 1.26zm25.68-397.39C385.5 40.54 340.54 16 256 16c-88.74 0-133.81 27.11-143.78 34a11.59 11.59 0 0 0-1.84 1.4.36.36 0 0 1-.22.1 14.87 14.87 0 0 0-5.09 11.15 15.06 15.06 0 0 0 15.31 14.85 15.56 15.56 0 0 0 8.88-2.79c.43-.32 39.22-28.82 126.77-28.82S382.58 74.29 383 74.5a15.25 15.25 0 0 0 9.21 3 15.06 15.06 0 0 0 15.29-14.89 14.9 14.9 0 0 0-9.32-13.82z"},child:[]}]})(e)}function r6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M194.82 496a18.36 18.36 0 0 1-18.1-21.53v-.11L204.83 320H96a16 16 0 0 1-12.44-26.06L302.73 23a18.45 18.45 0 0 1 32.8 13.71c0 .3-.08.59-.13.89L307.19 192H416a16 16 0 0 1 12.44 26.06L209.24 489a18.45 18.45 0 0 1-14.42 7z"},child:[]}]})(e)}function i6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M483.13 245.38C461.92 149.49 430 98.31 382.65 84.33A107.13 107.13 0 0 0 352 80c-13.71 0-25.65 3.34-38.28 6.88C298.5 91.15 281.21 96 256 96s-42.51-4.84-57.76-9.11C185.6 83.34 173.67 80 160 80a115.74 115.74 0 0 0-31.73 4.32c-47.1 13.92-79 65.08-100.52 161C4.61 348.54 16 413.71 59.69 428.83a56.62 56.62 0 0 0 18.64 3.22c29.93 0 53.93-24.93 70.33-45.34 18.53-23.1 40.22-34.82 107.34-34.82 59.95 0 84.76 8.13 106.19 34.82 13.47 16.78 26.2 28.52 38.9 35.91 16.89 9.82 33.77 12 50.16 6.37 25.82-8.81 40.62-32.1 44-69.24 2.57-28.48-1.39-65.89-12.12-114.37zM208 240h-32v32a16 16 0 0 1-32 0v-32h-32a16 16 0 0 1 0-32h32v-32a16 16 0 0 1 32 0v32h32a16 16 0 0 1 0 32zm84 4a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm44 44a20 20 0 1 1 20-19.95A20 20 0 0 1 336 288zm0-88a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm44 44a20 20 0 1 1 20-20 20 20 0 0 1-20 20z"},child:[]}]})(e)}function s6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",d:"M200 144h40v-40a40 40 0 1 0-40 40zm152-40a40 40 0 0 0-80 0v40h40a40 40 0 0 0 40-40z"},child:[]},{tag:"path",attr:{d:"M80 416a64 64 0 0 0 64 64h92a4 4 0 0 0 4-4V292a4 4 0 0 0-4-4H88a8 8 0 0 0-8 8zm160-164V144h32v108a4 4 0 0 0 4 4h140a47.93 47.93 0 0 0 16-2.75A48.09 48.09 0 0 0 464 208v-16a48 48 0 0 0-48-48h-40.54a2 2 0 0 1-1.7-3A72 72 0 0 0 256 58.82 72 72 0 0 0 138.24 141a2 2 0 0 1-1.7 3H96a48 48 0 0 0-48 48v16a48.09 48.09 0 0 0 32 45.25A47.93 47.93 0 0 0 96 256h140a4 4 0 0 0 4-4zm32-148a40 40 0 1 1 40 40h-40zm-74.86-39.9A40 40 0 0 1 240 104v40h-40a40 40 0 0 1-2.86-79.89zM276 480h92a64 64 0 0 0 64-64V296a8 8 0 0 0-8-8H276a4 4 0 0 0-4 4v184a4 4 0 0 0 4 4z"},child:[]}]})(e)}function a6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"128",cy:"96",r:"48",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"circle",attr:{cx:"256",cy:"416",r:"48",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 256v112"},child:[]},{tag:"circle",attr:{cx:"384",cy:"96",r:"48",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M128 144c0 74.67 68.92 112 128 112m128-112c0 74.67-68.92 112-128 112"},child:[]}]})(e)}function o6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M340.75 344.49c5.91-20.7 9.82-44.75 11.31-67.84a4.41 4.41 0 0 0-4.46-4.65h-71.06a4.43 4.43 0 0 0-4.47 4.39v55.3a4.44 4.44 0 0 0 4.14 4.38 273.51 273.51 0 0 1 59 11.39 4.45 4.45 0 0 0 5.54-2.97zm-17.17 32.82a260.05 260.05 0 0 0-46.6-9.09 4.42 4.42 0 0 0-4.91 4.29v65.24a4.47 4.47 0 0 0 6.76 3.7c15.9-9.27 29-24.84 40.84-45.43 1.94-3.36 4.89-9.15 6.67-12.69a4.29 4.29 0 0 0-2.76-6.02zm-88.29-8.91a256.85 256.85 0 0 0-46.56 8.82c-2.64.76-3.75 4.4-2.55 6.79 1.79 3.56 4 8.11 5.89 11.51 13 23 26.84 37.5 41.24 45.93a4.47 4.47 0 0 0 6.76-3.7v-65.27a4.16 4.16 0 0 0-4.78-4.08zm.31-96.4h-71.06a4.41 4.41 0 0 0-4.46 4.64c1.48 23.06 5.37 47.16 11.26 67.84a4.46 4.46 0 0 0 5.59 3 272.2 272.2 0 0 1 59-11.36 4.44 4.44 0 0 0 4.15-4.38V276.4a4.43 4.43 0 0 0-4.48-4.4zM277 143.78a235.8 235.8 0 0 0 46.5-9.14 4.3 4.3 0 0 0 2.76-6c-1.79-3.57-4.27-8.68-6.17-12.09-12.29-22-26.14-37.35-41.24-46a4.48 4.48 0 0 0-6.76 3.7v65.23a4.43 4.43 0 0 0 4.91 4.3zm-.46 96.22h71.06a4.39 4.39 0 0 0 4.46-4.58c-1.48-22.77-5.27-47.8-11.16-68.22a4.46 4.46 0 0 0-5.59-2.95c-19 5.74-38.79 10.43-59.09 12a4.4 4.4 0 0 0-4.15 4.32v55.11a4.4 4.4 0 0 0 4.47 4.32zM233.31 70.56c-15.42 8.57-29.17 24.43-41.47 46.37-1.91 3.41-4.19 8.11-6 11.67a4.31 4.31 0 0 0 2.76 6 225.42 225.42 0 0 0 46.54 9.17 4.43 4.43 0 0 0 4.91-4.29V74.26a4.49 4.49 0 0 0-6.74-3.7zm2.61 105.7c-20.3-1.55-40.11-6.24-59.09-12a4.46 4.46 0 0 0-5.59 2.95c-5.89 20.42-9.68 45.45-11.16 68.22a4.39 4.39 0 0 0 4.46 4.58h71.06a4.4 4.4 0 0 0 4.47-4.34v-55.09a4.4 4.4 0 0 0-4.15-4.32z"},child:[]},{tag:"path",attr:{d:"M414.39 97.61A224 224 0 1 0 97.61 414.39 224 224 0 1 0 414.39 97.61zM176.6 430.85a219.08 219.08 0 0 1-12.48-19.66c-2-3.69-4.84-9.26-6.73-13.13a7.29 7.29 0 0 0-10.31-3.16c-4.3 2.41-10 5.72-14.13 8.43a147.29 147.29 0 0 1-23.57-22.43 248.83 248.83 0 0 1 30.41-18.36c1.86-1 2.77-2.14 2.18-4.18a374.8 374.8 0 0 1-14.09-82.17 4.36 4.36 0 0 0-4.3-4.17H66.84a2 2 0 0 1-2-1.7A98.28 98.28 0 0 1 64 256a96.27 96.27 0 0 1 .86-14.29 2 2 0 0 1 2-1.7h56.74c2.29 0 4.17-1.32 4.29-3.63a372.71 372.71 0 0 1 14-81.83 4.36 4.36 0 0 0-2.19-5.11 260.63 260.63 0 0 1-29.84-17.9 169.82 169.82 0 0 1 23.14-22.8c4.08 2.68 9.4 5.71 13.66 8.11a7.89 7.89 0 0 0 11-3.42c1.88-3.87 4-8.18 6.06-11.88a221.93 221.93 0 0 1 12.54-19.91A185 185 0 0 1 256 64c28.94 0 55.9 7 80.53 18.46a202.23 202.23 0 0 1 12 19c2.59 4.66 5.34 10.37 7.66 15.32a4.29 4.29 0 0 0 5.92 1.94c5.38-2.91 11.21-6.26 16.34-9.63a171.36 171.36 0 0 1 23.2 23 244.89 244.89 0 0 1-29.06 17.31 4.35 4.35 0 0 0-2.18 5.12 348.68 348.68 0 0 1 13.85 81.4 4.33 4.33 0 0 0 4.3 4.12l56.62-.07a2 2 0 0 1 2 1.7 117.46 117.46 0 0 1 0 28.62 2 2 0 0 1-2 1.72h-56.67a4.35 4.35 0 0 0-4.3 4.17 367.4 367.4 0 0 1-13.87 81.3 4.45 4.45 0 0 0 2.19 5.19c5 2.59 10.57 5.48 15.37 8.42s9.55 6.08 14.13 9.34a172.73 172.73 0 0 1-23 22.93c-2.44-1.61-5.34-3.44-7.84-4.94-1.72-1-4.89-2.77-6.65-3.76-3.82-2.14-7.88-.54-9.79 3.4s-4.83 9.59-6.87 13.25a212.42 212.42 0 0 1-12.35 19.53C310.91 442.37 284.94 448 256 448s-54.77-5.63-79.4-17.15z"},child:[]}]})(e)}function l6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M417.84 448a16 16 0 0 1-11.35-4.72l-365.84-368a16 16 0 1 1 22.7-22.56l365.83 368A16 16 0 0 1 417.84 448zM364.92 80c-44.09 0-74.61 24.82-92.39 45.5a6 6 0 0 1-9.06 0C245.69 104.82 215.16 80 171.08 80a107.71 107.71 0 0 0-31 4.54l269.13 270.7c3-3.44 5.7-6.64 8.14-9.6 40-48.75 59.15-98.79 58.61-153C475.37 130.53 425.54 80 364.92 80zM69 149.15a115.06 115.06 0 0 0-9 43.49c-.54 54.21 18.63 104.25 58.61 153 18.77 22.87 52.8 59.45 131.39 112.8a31.88 31.88 0 0 0 36 0c20.35-13.82 37.7-26.5 52.58-38.12z"},child:[]}]})(e)}function Hl(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 448a32 32 0 0 1-18-5.57c-78.59-53.35-112.62-89.93-131.39-112.8-40-48.75-59.15-98.8-58.61-153C48.63 114.52 98.46 64 159.08 64c44.08 0 74.61 24.83 92.39 45.51a6 6 0 0 0 9.06 0C278.31 88.81 308.84 64 352.92 64c60.62 0 110.45 50.52 111.08 112.64.54 54.21-18.63 104.26-58.61 153-18.77 22.87-52.8 59.45-131.39 112.8a32 32 0 0 1-18 5.56z"},child:[]}]})(e)}function Wl(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M80 212v236a16 16 0 0 0 16 16h96V328a24 24 0 0 1 24-24h80a24 24 0 0 1 24 24v136h96a16 16 0 0 0 16-16V212"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M480 256 266.89 52c-5-5.28-16.69-5.34-21.78 0L32 256m368-77V64h-48v69"},child:[]}]})(e)}function c6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M261.56 101.28a8 8 0 0 0-11.06 0L66.4 277.15a8 8 0 0 0-2.47 5.79L63.9 448a32 32 0 0 0 32 32H192a16 16 0 0 0 16-16V328a8 8 0 0 1 8-8h80a8 8 0 0 1 8 8v136a16 16 0 0 0 16 16h96.06a32 32 0 0 0 32-32V282.94a8 8 0 0 0-2.47-5.79z"},child:[]},{tag:"path",attr:{d:"m490.91 244.15-74.8-71.56V64a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v32l-57.92-55.38C272.77 35.14 264.71 32 256 32c-8.68 0-16.72 3.14-22.14 8.63l-212.7 203.5c-6.22 6-7 15.87-1.34 22.37A16 16 0 0 0 43 267.56L250.5 69.28a8 8 0 0 1 11.06 0l207.52 198.28a16 16 0 0 0 22.59-.44c6.14-6.36 5.63-16.86-.76-22.97z"},child:[]}]})(e)}function d6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M450.29 112H142c-34 0-62 27.51-62 61.33v245.34c0 33.82 28 61.33 62 61.33h308c34 0 62-26.18 62-60V173.33c0-33.82-27.68-61.33-61.71-61.33zm-77.15 61.34a46 46 0 1 1-46.28 46 46.19 46.19 0 0 1 46.28-46.01zm-231.55 276c-17 0-29.86-13.75-29.86-30.66v-64.83l90.46-80.79a46.54 46.54 0 0 1 63.44 1.83L328.27 337l-113 112.33zM480 418.67a30.67 30.67 0 0 1-30.71 30.66H259L376.08 333a46.24 46.24 0 0 1 59.44-.16L480 370.59z"},child:[]},{tag:"path",attr:{d:"M384 32H64A64 64 0 0 0 0 96v256a64.11 64.11 0 0 0 48 62V152a72 72 0 0 1 72-72h326a64.11 64.11 0 0 0-62-48z"},child:[]}]})(e)}function u6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 256s-48-96-126-96c-54.12 0-98 43-98 96s43.88 96 98 96c37.51 0 71-22.41 94-48m32-48s48 96 126 96c54.12 0 98-43 98-96s-43.88-96-98-96c-37.51 0-71 22.41-94 48"},child:[]}]})(e)}function w0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M248 64C146.39 64 64 146.39 64 248s82.39 184 184 184 184-82.39 184-184S349.61 64 248 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M220 220h32v116"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M208 340h88"},child:[]},{tag:"path",attr:{d:"M248 130a26 26 0 1 0 26 26 26 26 0 0 0-26-26z"},child:[]}]})(e)}function Ec(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200 200-89.72 200-200S366.28 56 256 56zm0 82a26 26 0 1 1-26 26 26 26 0 0 1 26-26zm48 226h-88a16 16 0 0 1 0-32h28v-88h-16a16 16 0 0 1 0-32h32a16 16 0 0 1 16 16v104h28a16 16 0 0 1 0 32z"},child:[]}]})(e)}function p6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M48 112h288M192 64v48m80 336 96-224 96 224m-162.5-64h133M281.3 112S257 206 199 277 80 384 80 384"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 336s-35-27-72-75-56-85-56-85"},child:[]}]})(e)}function h6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m478.33 433.6-90-218a22 22 0 0 0-40.67 0l-90 218a22 22 0 1 0 40.67 16.79L316.66 406h102.67l18.33 44.39A22 22 0 0 0 458 464a22 22 0 0 0 20.32-30.4zM334.83 362 368 281.65 401.17 362zm-66.99-19.08a22 22 0 0 0-4.89-30.7c-.2-.15-15-11.13-36.49-34.73 39.65-53.68 62.11-114.75 71.27-143.49H330a22 22 0 0 0 0-44H214V70a22 22 0 0 0-44 0v20H54a22 22 0 0 0 0 44h197.25c-9.52 26.95-27.05 69.5-53.79 108.36-31.41-41.68-43.08-68.65-43.17-68.87a22 22 0 0 0-40.58 17c.58 1.38 14.55 34.23 52.86 83.93.92 1.19 1.83 2.35 2.74 3.51-39.24 44.35-77.74 71.86-93.85 80.74a22 22 0 1 0 21.07 38.63c2.16-1.18 48.6-26.89 101.63-85.59 22.52 24.08 38 35.44 38.93 36.1a22 22 0 0 0 30.75-4.9z"},child:[]}]})(e)}function C0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m434.8 137.65-149.36-68.1c-16.19-7.4-42.69-7.4-58.88 0L77.3 137.65c-17.6 8-17.6 21.09 0 29.09l148 67.5c16.89 7.7 44.69 7.7 61.58 0l148-67.5c17.52-8 17.52-21.1-.08-29.09zM160 308.52l-82.7 37.11c-17.6 8-17.6 21.1 0 29.1l148 67.5c16.89 7.69 44.69 7.69 61.58 0l148-67.5c17.6-8 17.6-21.1 0-29.1l-79.94-38.47"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m160 204.48-82.8 37.16c-17.6 8-17.6 21.1 0 29.1l148 67.49c16.89 7.7 44.69 7.7 61.58 0l148-67.49c17.7-8 17.7-21.1.1-29.1L352 204.48"},child:[]}]})(e)}function Ud(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M160 144h288M160 256h288M160 368h288"},child:[]},{tag:"circle",attr:{cx:"80",cy:"144",r:"16",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"circle",attr:{cx:"80",cy:"256",r:"16",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"circle",attr:{cx:"80",cy:"368",r:"16",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]}]})(e)}function Ic(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"192",r:"32"},child:[]},{tag:"path",attr:{d:"M256 32c-88.22 0-160 68.65-160 153 0 40.17 18.31 93.59 54.42 158.78 29 52.34 62.55 99.67 80 123.22a31.75 31.75 0 0 0 51.22 0c17.42-23.55 51-70.88 80-123.22C397.69 278.61 416 225.19 416 185c0-84.35-71.78-153-160-153zm0 224a64 64 0 1 1 64-64 64.07 64.07 0 0 1-64 64z"},child:[]}]})(e)}function m6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M368 192h-16v-80a96 96 0 1 0-192 0v80h-16a64.07 64.07 0 0 0-64 64v176a64.07 64.07 0 0 0 64 64h224a64.07 64.07 0 0 0 64-64V256a64.07 64.07 0 0 0-64-64zm-48 0H192v-80a64 64 0 1 1 128 0z"},child:[]}]})(e)}function f6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M368 192H192v-80a64 64 0 1 1 128 0 16 16 0 0 0 32 0 96 96 0 1 0-192 0v80h-16a64.07 64.07 0 0 0-64 64v176a64.07 64.07 0 0 0 64 64h224a64.07 64.07 0 0 0 64-64V256a64.07 64.07 0 0 0-64-64z"},child:[]}]})(e)}function Rc(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 32v448h448V32zm240 348c0 43.61-25.76 64.87-63.05 64.87-33.68 0-53.23-17.44-63.15-38.49l34.28-20.75c6.61 11.73 11.63 21.65 26.06 21.65 12 0 21.86-5.41 21.86-26.46V240h44zm99.35 63.87c-39.09 0-64.35-17.64-76.68-42L329 382c9 14.74 20.75 24.56 41.5 24.56 17.44 0 27.57-7.72 27.57-19.75 0-14.43-10.43-19.54-29.68-28l-10.52-4.52c-30.38-12.92-50.52-29.16-50.52-63.45 0-31.57 24.05-54.63 61.64-54.63 26.77 0 46 8.32 59.85 32.68L396 290c-7.22-12.93-15-18-27.06-18-12.33 0-20.15 7.82-20.15 18 0 12.63 7.82 17.74 25.86 25.56l10.52 4.51c35.79 15.34 55.94 31 55.94 66.16.01 37.9-29.76 57.64-69.76 57.64z"},child:[]}]})(e)}function g6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M429.76 130.07 274.33 36.85a37 37 0 0 0-36.65 0L82.24 130.06A38.2 38.2 0 0 0 64 162.83V349a38.26 38.26 0 0 0 18.24 32.8L123 406.14l.23.13c20.58 10.53 28.46 10.53 37.59 10.53 32.14 0 52.11-20.8 52.11-54.29V182a8.51 8.51 0 0 0-8.42-8.58h-22.38a8.51 8.51 0 0 0-8.42 8.58v180.51a15 15 0 0 1-6.85 13.07c-5.9 3.6-14.47 2.84-24.14-2.15l-39.06-23.51a1.1 1.1 0 0 1-.48-.92V165.46a1.32 1.32 0 0 1 .59-1.06l151.84-93a.82.82 0 0 1 .73 0l151.93 93a1.34 1.34 0 0 1 .55 1.1V349a1.28 1.28 0 0 1-.45 1l-152.06 90.65a1.22 1.22 0 0 1-.8 0l-38.83-23.06a7.8 7.8 0 0 0-7.83-.41l-.34.2c-10.72 6.35-13.6 8-23.54 11.62-1.62.59-5.43 2-5.76 5.77s3.29 6.45 6.51 8.32l51.9 31.87a35.67 35.67 0 0 0 18.3 5.07h.58a35.87 35.87 0 0 0 17.83-5.07l155.43-93.13A38.37 38.37 0 0 0 448 349V162.83a38.21 38.21 0 0 0-18.24-32.76z"},child:[]},{tag:"path",attr:{d:"M307.88 318.05c-37.29 0-45.24-10.42-47.6-27.24a8.43 8.43 0 0 0-8.22-7.32h-19.8a8.44 8.44 0 0 0-8.26 8.58c0 14.58 5.12 62.17 83.92 62.17 24.38 0 44.66-5.7 58.63-16.49S388 311.26 388 292.55c0-37.55-24.5-47.83-72.75-54.55-49.05-6.82-49.05-10.29-49.05-17.89 0-5.47 0-18.28 35.46-18.28 25.23 0 38.74 3.19 43.06 20a8.35 8.35 0 0 0 8.06 6.67h19.87a8.24 8.24 0 0 0 6.16-2.86 8.91 8.91 0 0 0 2.12-6.44c-2.57-35.55-28.56-53.58-79.24-53.58-46.06 0-73.55 20.75-73.55 55.5 0 38.1 28.49 48.87 71.29 53.33 50 5.17 50 12.71 50 19.37.03 10.38-4.28 24.23-41.55 24.23z"},child:[]}]})(e)}function x6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M314 36.38c-18.59-3.06-45.8-4.47-64.27-4.38a311.09 311.09 0 0 0-51.66 4.38c-45.74 8-54.07 24.7-54.07 55.54V128h112v16H107.62C66.06 144 32.33 193.67 32 255.12v.88a162.91 162.91 0 0 0 3.13 32c9.29 46.28 38.23 80 72.49 80H128v-54c0-31.3 20.84-59.95 55-66.1l9.87-1.23H314a56.05 56.05 0 0 0 15.06-2A52.48 52.48 0 0 0 368 193.68V91.92c0-28.92-24.68-50.73-54-55.54zM194.93 105.5a20.37 20.37 0 1 1 20.3-20.3 20.29 20.29 0 0 1-20.3 20.3z"},child:[]},{tag:"path",attr:{d:"M475.28 217c-10.7-42.61-38.41-73-70.9-73h-17.71v47.45c0 39.57-26 68.22-57.74 73.13a63.54 63.54 0 0 1-9.69.75H198.08a60 60 0 0 0-15.23 1.95C160.54 273.14 144 291.7 144 315.77v101.77c0 29 29.14 46 57.73 54.31 34.21 9.95 71.48 11.75 112.42 0 27.19-7.77 53.85-23.48 53.85-54.31V384H256v-16h148.38c29.44 0 54.95-24.93 67.45-61.31A156.83 156.83 0 0 0 480 256a160.64 160.64 0 0 0-4.72-39zM316.51 404a20.37 20.37 0 1 1-20.3 20.3 20.29 20.29 0 0 1 20.3-20.3z"},child:[]}]})(e)}function v6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M424 80H88a56.06 56.06 0 0 0-56 56v240a56.06 56.06 0 0 0 56 56h336a56.06 56.06 0 0 0 56-56V136a56.06 56.06 0 0 0-56-56zm-14.18 92.63-144 112a16 16 0 0 1-19.64 0l-144-112a16 16 0 1 1 19.64-25.26L256 251.73l134.18-104.36a16 16 0 0 1 19.64 25.26z"},child:[]}]})(e)}function k0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M80 160h352M80 256h352M80 352h352"},child:[]}]})(e)}function j6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M160 136c0-30.62 4.51-61.61 16-88C99.57 81.27 48 159.32 48 248c0 119.29 96.71 216 216 216 88.68 0 166.73-51.57 200-128-26.39 11.49-57.38 16-88 16-119.29 0-216-96.71-216-216z"},child:[]}]})(e)}function r1(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M264 480A232 232 0 0 1 32 248c0-94 54-178.28 137.61-214.67a16 16 0 0 1 21.06 21.06C181.07 76.43 176 104.66 176 136c0 110.28 89.72 200 200 200 31.34 0 59.57-5.07 81.61-14.67a16 16 0 0 1 21.06 21.06C442.28 426 358 480 264 480z"},child:[]}]})(e)}function _6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M421.84 37.37a25.86 25.86 0 0 0-22.6-4.46L199.92 86.49A32.3 32.3 0 0 0 176 118v226c0 6.74-4.36 12.56-11.11 14.83l-.12.05-52 18C92.88 383.53 80 402 80 423.91a55.54 55.54 0 0 0 23.23 45.63A54.78 54.78 0 0 0 135.34 480a55.82 55.82 0 0 0 17.75-2.93l.38-.13 21.84-7.94A47.84 47.84 0 0 0 208 423.91v-212c0-7.29 4.77-13.21 12.16-15.07l.21-.06L395 150.14a4 4 0 0 1 5 3.86v141.93c0 6.75-4.25 12.38-11.11 14.68l-.25.09-50.89 18.11A49.09 49.09 0 0 0 304 375.92a55.67 55.67 0 0 0 23.23 45.8 54.63 54.63 0 0 0 49.88 7.35l.36-.12 21.84-7.95A47.83 47.83 0 0 0 432 375.92V58a25.74 25.74 0 0 0-10.16-20.63z"},child:[]}]})(e)}function y6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M448 464a15.92 15.92 0 0 1-11.31-4.69l-384-384a16 16 0 0 1 22.62-22.62l384 384A16 16 0 0 1 448 464zm-7.92-122.69c-1.66-2-3.29-4-4.89-5.93-22-26.61-35.31-42.67-35.31-118 0-39-9.33-71-27.72-95-13.56-17.73-31.89-31.18-56.05-41.12a3 3 0 0 1-.82-.67C306.6 51.49 282.82 32 256 32s-50.59 19.49-59.28 48.56a3.13 3.13 0 0 1-.81.65 157.88 157.88 0 0 0-21.88 11 8 8 0 0 0-1.49 12.49l261.78 261.74a8 8 0 0 0 13.6-6.63 35.39 35.39 0 0 0-7.84-18.5zM112.14 217.35c0 75.36-13.29 91.42-35.31 118-1.6 1.93-3.23 3.89-4.89 5.93a35.16 35.16 0 0 0-4.65 37.62c6.17 13 19.32 21.07 34.33 21.07H312.8a8 8 0 0 0 5.66-13.66l-192-192a8 8 0 0 0-13.62 5q-.7 8.69-.7 18.04zM256 480a80.06 80.06 0 0 0 70.44-42.13 4 4 0 0 0-3.54-5.87H189.12a4 4 0 0 0-3.55 5.87A80.06 80.06 0 0 0 256 480z"},child:[]}]})(e)}function Pc(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M440.08 341.31c-1.66-2-3.29-4-4.89-5.93-22-26.61-35.31-42.67-35.31-118 0-39-9.33-71-27.72-95-13.56-17.73-31.89-31.18-56.05-41.12a3 3 0 0 1-.82-.67C306.6 51.49 282.82 32 256 32s-50.59 19.49-59.28 48.56a3.13 3.13 0 0 1-.81.65c-56.38 23.21-83.78 67.74-83.78 136.14 0 75.36-13.29 91.42-35.31 118-1.6 1.93-3.23 3.89-4.89 5.93a35.16 35.16 0 0 0-4.65 37.62c6.17 13 19.32 21.07 34.33 21.07H410.5c14.94 0 28-8.06 34.19-21a35.17 35.17 0 0 0-4.61-37.66zM256 480a80.06 80.06 0 0 0 70.44-42.13 4 4 0 0 0-3.54-5.87H189.12a4 4 0 0 0-3.55 5.87A80.06 80.06 0 0 0 256 480z"},child:[]}]})(e)}function S0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M258.9 48C141.92 46.42 46.42 141.92 48 258.9c1.56 112.19 92.91 203.54 205.1 205.1 117 1.6 212.48-93.9 210.88-210.88C462.44 140.91 371.09 49.56 258.9 48zm126.42 327.25a4 4 0 0 1-6.14-.32 124.27 124.27 0 0 0-32.35-29.59C321.37 329 289.11 320 256 320s-65.37 9-90.83 25.34a124.24 124.24 0 0 0-32.35 29.58 4 4 0 0 1-6.14.32A175.32 175.32 0 0 1 80 259c-1.63-97.31 78.22-178.76 175.57-179S432 158.81 432 256a175.32 175.32 0 0 1-46.68 119.25z"},child:[]},{tag:"path",attr:{d:"M256 144c-19.72 0-37.55 7.39-50.22 20.82s-19 32-17.57 51.93C191.11 256 221.52 288 256 288s64.83-32 67.79-71.24c1.48-19.74-4.8-38.14-17.68-51.82C293.39 151.44 275.59 144 256 144z"},child:[]}]})(e)}function N0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z"},child:[]},{tag:"circle",attr:{cx:"256",cy:"256",r:"144"},child:[]}]})(e)}function b6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"36"},child:[]},{tag:"path",attr:{d:"M190.24 341.77a22 22 0 0 1-16.46-7.38 118 118 0 0 1 0-156.76 22 22 0 1 1 32.87 29.24 74 74 0 0 0 0 98.29 22 22 0 0 1-16.43 36.61zm131.52 0a22 22 0 0 1-16.43-36.61 74 74 0 0 0 0-98.29 22 22 0 1 1 32.87-29.24 118 118 0 0 1 0 156.76 22 22 0 0 1-16.44 7.38z"},child:[]},{tag:"path",attr:{d:"M139.29 392.72a21.92 21.92 0 0 1-16.08-7 190 190 0 0 1 0-259.49 22 22 0 1 1 32.13 30.06 146 146 0 0 0 0 199.38 22 22 0 0 1-16.06 37zm233.42 0a22 22 0 0 1-16.06-37 146 146 0 0 0 0-199.38 22 22 0 1 1 32.13-30.06 190 190 0 0 1 0 259.49 21.92 21.92 0 0 1-16.07 6.95z"},child:[]},{tag:"path",attr:{d:"M429 438a22 22 0 0 1-16.39-36.67 218.34 218.34 0 0 0 0-290.66 22 22 0 0 1 32.78-29.34 262.34 262.34 0 0 1 0 349.34A22 22 0 0 1 429 438zm-346 0a21.94 21.94 0 0 1-16.41-7.33 262.34 262.34 0 0 1 0-349.34 22 22 0 0 1 32.78 29.34 218.34 218.34 0 0 0 0 290.66A22 22 0 0 1 83 438z"},child:[]}]})(e)}function w6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M320 146s24.36-12-64-12a160 160 0 1 0 160 160"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m256 58 80 80-80 80"},child:[]}]})(e)}function z0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M400 256H112"},child:[]}]})(e)}function Ro(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M461.81 53.81a4.4 4.4 0 0 0-3.3-3.39c-54.38-13.3-180 34.09-248.13 102.17a294.9 294.9 0 0 0-33.09 39.08c-21-1.9-42-.3-59.88 7.5-50.49 22.2-65.18 80.18-69.28 105.07a9 9 0 0 0 9.8 10.4l81.07-8.9a180.29 180.29 0 0 0 1.1 18.3 18.15 18.15 0 0 0 5.3 11.09l31.39 31.39a18.15 18.15 0 0 0 11.1 5.3 179.91 179.91 0 0 0 18.19 1.1l-8.89 81a9 9 0 0 0 10.39 9.79c24.9-4 83-18.69 105.07-69.17 7.8-17.9 9.4-38.79 7.6-59.69a293.91 293.91 0 0 0 39.19-33.09c68.38-68 115.47-190.86 102.37-247.95zM298.66 213.67a42.7 42.7 0 1 1 60.38 0 42.65 42.65 0 0 1-60.38 0z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M109.64 352a45.06 45.06 0 0 0-26.35 12.84C65.67 382.52 64 448 64 448s65.52-1.67 83.15-19.31A44.73 44.73 0 0 0 160 402.32"},child:[]}]})(e)}function C6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M328.85 156.79a26.69 26.69 0 1 0 18.88 7.81 26.6 26.6 0 0 0-18.88-7.81z"},child:[]},{tag:"path",attr:{d:"M477.44 50.06a.29.29 0 0 1 0-.09 20.4 20.4 0 0 0-15.13-15.3c-29.8-7.27-76.68.48-128.63 21.28-52.36 21-101.42 52-134.58 85.22A320.7 320.7 0 0 0 169.55 175c-22.33-1-42 2.18-58.57 9.41-57.74 25.41-74.23 90.44-78.62 117.14a25 25 0 0 0 27.19 29h.13l64.32-7.02c.08.82.17 1.57.24 2.26a34.36 34.36 0 0 0 9.9 20.72l31.39 31.41a34.27 34.27 0 0 0 20.71 9.91l2.15.23-7 64.24v.13A25 25 0 0 0 206 480a25.25 25.25 0 0 0 4.15-.34C237 475.34 302 459.05 327.34 401c7.17-16.46 10.34-36.05 9.45-58.34a314.78 314.78 0 0 0 33.95-29.55c33.43-33.26 64.53-81.92 85.31-133.52 20.69-51.36 28.48-98.59 21.39-129.53zM370.38 224.94a58.77 58.77 0 1 1 0-83.07 58.3 58.3 0 0 1 0 83.07z"},child:[]},{tag:"path",attr:{d:"M161.93 386.44a16 16 0 0 0-11 2.67c-6.39 4.37-12.81 8.69-19.29 12.9-13.11 8.52-28.79-6.44-21-20l12.15-21a16 16 0 0 0-15.16-24.91A61.25 61.25 0 0 0 72 353.56c-3.66 3.67-14.79 14.81-20.78 57.26A357.94 357.94 0 0 0 48 447.59 16 16 0 0 0 64 464h.4a359.87 359.87 0 0 0 36.8-3.2c42.47-6 53.61-17.14 57.27-20.8a60.49 60.49 0 0 0 17.39-35.74 16 16 0 0 0-13.93-17.82z"},child:[]}]})(e)}function k6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m465.94 119.76-73.7-73.7A47.68 47.68 0 0 0 358.3 32H96a64 64 0 0 0-64 64v320a64 64 0 0 0 64 64h320a64 64 0 0 0 64-64V153.7a47.68 47.68 0 0 0-14.06-33.94zM120 112h176a8 8 0 0 1 8 8v48a8 8 0 0 1-8 8H120a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8zm139.75 319.91a80 80 0 1 1 76.16-76.16 80.06 80.06 0 0 1-76.16 76.16z"},child:[]},{tag:"circle",attr:{cx:"256",cy:"352",r:"48"},child:[]}]})(e)}function i1(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M338.29 338.29 448 448"},child:[]}]})(e)}function S6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M456.69 421.39 362.6 327.3a173.81 173.81 0 0 0 34.84-104.58C397.44 126.38 319.06 48 222.72 48S48 126.38 48 222.72s78.38 174.72 174.72 174.72A173.81 173.81 0 0 0 327.3 362.6l94.09 94.09a25 25 0 0 0 35.3-35.3zM97.92 222.72a124.8 124.8 0 1 1 124.8 124.8 124.95 124.95 0 0 1-124.8-124.8z"},child:[]}]})(e)}function $0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"32",d:"M336 320H32L184 48l152 272zm-70.68-125.49A144 144 0 1 1 192 320"},child:[]}]})(e)}function L0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M463.1 112.37C373.68 96.33 336.71 84.45 256 48c-80.71 36.45-117.68 48.33-207.1 64.37C32.7 369.13 240.58 457.79 256 464c15.42-6.21 223.3-94.87 207.1-351.63z"},child:[]}]})(e)}function N6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M479.07 111.35a16 16 0 0 0-13.15-14.75C379.89 81.18 343.69 69.12 266 34.16c-7.76-2.89-12.57-2.84-20 0-77.69 35-113.89 47-199.92 62.44a16 16 0 0 0-13.15 14.75c-3.85 61.1 4.34 118 24.36 169.15a348.86 348.86 0 0 0 71.43 112.41c44.67 47.43 94.2 75.12 119.74 85.6a20 20 0 0 0 15.11 0c27-10.92 74.69-37.82 119.71-85.62a348.86 348.86 0 0 0 71.43-112.39c20.02-51.14 28.21-108.05 24.36-169.15z"},child:[]}]})(e)}function z6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M208 512a24.84 24.84 0 0 1-23.34-16l-39.84-103.6a16.06 16.06 0 0 0-9.19-9.19L32 343.34a25 25 0 0 1 0-46.68l103.6-39.84a16.06 16.06 0 0 0 9.19-9.19L184.66 144a25 25 0 0 1 46.68 0l39.84 103.6a16.06 16.06 0 0 0 9.19 9.19l103 39.63a25.49 25.49 0 0 1 16.63 24.1 24.82 24.82 0 0 1-16 22.82l-103.6 39.84a16.06 16.06 0 0 0-9.19 9.19L231.34 496A24.84 24.84 0 0 1 208 512zm66.85-254.84zM88 176a14.67 14.67 0 0 1-13.69-9.4l-16.86-43.84a7.28 7.28 0 0 0-4.21-4.21L9.4 101.69a14.67 14.67 0 0 1 0-27.38l43.84-16.86a7.31 7.31 0 0 0 4.21-4.21L74.16 9.79A15 15 0 0 1 86.23.11a14.67 14.67 0 0 1 15.46 9.29l16.86 43.84a7.31 7.31 0 0 0 4.21 4.21l43.84 16.86a14.67 14.67 0 0 1 0 27.38l-43.84 16.86a7.28 7.28 0 0 0-4.21 4.21l-16.86 43.84A14.67 14.67 0 0 1 88 176zm312 80a16 16 0 0 1-14.93-10.26l-22.84-59.37a8 8 0 0 0-4.6-4.6l-59.37-22.84a16 16 0 0 1 0-29.86l59.37-22.84a8 8 0 0 0 4.6-4.6l22.67-58.95a16.45 16.45 0 0 1 13.17-10.57 16 16 0 0 1 16.86 10.15l22.84 59.37a8 8 0 0 0 4.6 4.6l59.37 22.84a16 16 0 0 1 0 29.86l-59.37 22.84a8 8 0 0 0-4.6 4.6l-22.84 59.37A16 16 0 0 1 400 256z"},child:[]}]})(e)}function $6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m326.1 231.9-47.5 75.5a31 31 0 0 1-7 7 30.11 30.11 0 0 1-35-49l75.5-47.5a10.23 10.23 0 0 1 11.7 0 10.06 10.06 0 0 1 2.3 14z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 64C132.3 64 32 164.2 32 287.9a223.18 223.18 0 0 0 56.3 148.5c1.1 1.2 2.1 2.4 3.2 3.5a25.19 25.19 0 0 0 37.1-.1 173.13 173.13 0 0 1 254.8 0 25.19 25.19 0 0 0 37.1.1l3.2-3.5A223.18 223.18 0 0 0 480 287.9C480 164.2 379.7 64 256 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 128v32m160 128h-32m-256 0H96m69.49-90.51-22.63-22.63m203.65 22.63 22.63-22.63"},child:[]}]})(e)}function L6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M425.7 118.25A240 240 0 0 0 76.32 447l.18.2c.33.35.64.71 1 1.05.74.84 1.58 1.79 2.57 2.78a41.17 41.17 0 0 0 60.36-.42 157.13 157.13 0 0 1 231.26 0 41.18 41.18 0 0 0 60.65.06l3.21-3.5.18-.2a239.93 239.93 0 0 0-10-328.76zM240 128a16 16 0 0 1 32 0v32a16 16 0 0 1-32 0zM128 304H96a16 16 0 0 1 0-32h32a16 16 0 0 1 0 32zm48.8-95.2a16 16 0 0 1-22.62 0l-22.63-22.62a16 16 0 0 1 22.63-22.63l22.62 22.63a16 16 0 0 1 0 22.62zm149.3 23.1-47.5 75.5a31 31 0 0 1-7 7 30.11 30.11 0 0 1-35-49l75.5-47.5a10.23 10.23 0 0 1 11.7 0 10.06 10.06 0 0 1 2.3 14zm31.72-23.1a16 16 0 0 1-22.62-22.62l22.62-22.63a16 16 0 0 1 22.63 22.63zm65.88 227.6zM416 304h-32a16 16 0 0 1 0-32h32a16 16 0 0 1 0 32z"},child:[]}]})(e)}function E0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M394 480a16 16 0 0 1-9.39-3L256 383.76 127.39 477a16 16 0 0 1-24.55-18.08L153 310.35 23 221.2a16 16 0 0 1 9-29.2h160.38l48.4-148.95a16 16 0 0 1 30.44 0l48.4 149H480a16 16 0 0 1 9.05 29.2L359 310.35l50.13 148.53A16 16 0 0 1 394 480z"},child:[]}]})(e)}function E6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 48v48m0 320v48m147.08-355.08-33.94 33.94M142.86 369.14l-33.94 33.94M464 256h-48m-320 0H48m355.08 147.08-33.94-33.94M142.86 142.86l-33.94-33.94"},child:[]},{tag:"circle",attr:{cx:"256",cy:"256",r:"80",fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32"},child:[]}]})(e)}function s1(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 118a22 22 0 0 1-22-22V48a22 22 0 0 1 44 0v48a22 22 0 0 1-22 22zm0 368a22 22 0 0 1-22-22v-48a22 22 0 0 1 44 0v48a22 22 0 0 1-22 22zm113.14-321.14a22 22 0 0 1-15.56-37.55l33.94-33.94a22 22 0 0 1 31.11 31.11l-33.94 33.94a21.93 21.93 0 0 1-15.55 6.44zM108.92 425.08a22 22 0 0 1-15.55-37.56l33.94-33.94a22 22 0 1 1 31.11 31.11l-33.94 33.94a21.94 21.94 0 0 1-15.56 6.45zM464 278h-48a22 22 0 0 1 0-44h48a22 22 0 0 1 0 44zm-368 0H48a22 22 0 0 1 0-44h48a22 22 0 0 1 0 44zm307.08 147.08a21.94 21.94 0 0 1-15.56-6.45l-33.94-33.94a22 22 0 0 1 31.11-31.11l33.94 33.94a22 22 0 0 1-15.55 37.56zM142.86 164.86a21.89 21.89 0 0 1-15.55-6.44l-33.94-33.94a22 22 0 0 1 31.11-31.11l33.94 33.94a22 22 0 0 1-15.56 37.55zM256 358a102 102 0 1 1 102-102 102.12 102.12 0 0 1-102 102z"},child:[]}]})(e)}function fl(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M434.67 285.59v-29.8c0-98.73-80.24-178.79-179.2-178.79a179 179 0 0 0-140.14 67.36m-38.53 82v29.8C76.8 355 157 435 256 435a180.45 180.45 0 0 0 140-66.92"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m32 256 44-44 46 44m358 0-44 44-46-44"},child:[]}]})(e)}function I0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m32 415.5 120-320 120 320m-42-112H74m252-64c12.19-28.69 41-48 74-48h0c46 0 80 32 80 80v144"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M320 358.5c0 36 26.86 58 60 58 54 0 100-27 100-106v-15c-20 0-58 1-92 5-32.77 3.86-68 19-68 58z"},child:[]}]})(e)}function I6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M320 287.18V81c0-35.12-27.89-64.42-63-64.95a64.08 64.08 0 0 0-65 64v207.13a8 8 0 0 1-3.18 6.37A113.48 113.48 0 0 0 144 384a112 112 0 0 0 224 0 113.48 113.48 0 0 0-44.82-90.45 8 8 0 0 1-3.18-6.37zM254.07 432a48 48 0 0 1-22-89.54 16 16 0 0 0 8-13.84V112.45c0-8.61 6.62-16 15.23-16.43A16 16 0 0 1 272 112v216.58a16.18 16.18 0 0 0 8.15 13.94A48 48 0 0 1 254.07 432z"},child:[]}]})(e)}function R6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m472.06 334-144.16-6.13c-4.61-.36-23.9-1.21-23.9-25.87 0-23.81 19.16-25.33 24.14-25.88L472.06 270c12.67.13 23.94 14.43 23.94 32s-11.27 31.87-23.94 32zM330.61 202.33 437.35 194C450 194 464 210.68 464 227.88v.33c0 16.32-11.14 29.62-24.88 29.79l-108.45-1.73C304 253 304 236.83 304 229.88c0-22.88 21.8-27.15 26.61-27.55zM421.85 480l-89.37-8.93C308 470.14 304 453.82 304 443.59c0-18.38 13.41-24.6 26.67-24.6l91-3c14.54.23 26.32 14.5 26.32 32s-11.67 31.67-26.14 32.01zm34.36-71.5-126.4-6.21c-9.39-.63-25.81-3-25.81-26.37 0-12 4.35-25.61 25-27.53l127.19-3.88c13.16.14 23.81 13.49 23.81 31.4s-10.65 32.43-23.79 32.58z"},child:[]},{tag:"path",attr:{fill:"none",d:"M133.55 238.06A15.85 15.85 0 0 1 126 240a15.82 15.82 0 0 0 7.51-1.92zm40.59-69.28.13-.23-.13.23c-20.5 35.51-30.36 54.95-33.82 62 3.47-7.07 13.34-26.51 33.82-62z"},child:[]},{tag:"path",attr:{d:"m139.34 232.84 1-2a16.27 16.27 0 0 1-6.77 7.25 16.35 16.35 0 0 0 5.77-5.25z"},child:[]},{tag:"path",attr:{d:"M316.06 52.62C306.63 39.32 291 32 272 32a16 16 0 0 0-14.31 8.84c-3 6.07-15.25 24-28.19 42.91-18 26.33-40.35 59.07-55.23 84.8l-.13.23c-20.48 35.49-30.35 54.93-33.82 62l-1 2a16.35 16.35 0 0 1-5.79 5.22 15.82 15.82 0 0 1-7.53 2h-25.31A84.69 84.69 0 0 0 16 324.69v38.61a84.69 84.69 0 0 0 84.69 84.7h48.79a17.55 17.55 0 0 1 9.58 2.89C182 465.87 225.34 480 272 480c7.45 0 14.19-.14 20.27-.38a8 8 0 0 0 6.2-12.68l-.1-.14C289.8 454.41 288 441 288 432a61.2 61.2 0 0 1 5.19-24.77 17.36 17.36 0 0 0 0-14.05 63.81 63.81 0 0 1 0-50.39 17.32 17.32 0 0 0 0-14 62.15 62.15 0 0 1 0-49.59 18.13 18.13 0 0 0 0-14.68A60.33 60.33 0 0 1 288 239c0-8.2 2-21.3 8-31.19a15.63 15.63 0 0 0 1.14-13.64c-.38-1-.76-2.07-1.13-3.17a24.84 24.84 0 0 1-.86-11.58c3-19.34 9.67-36.29 16.74-54.16 3.08-7.78 6.27-15.82 9.22-24.26 6.14-17.57 4.3-35.2-5.05-48.38z"},child:[]}]})(e)}function P6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 128v144h96"},child:[]}]})(e)}function R0(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"368",cy:"256",r:"128",fill:"none",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"rect",attr:{width:"480",height:"256",x:"16",y:"128",fill:"none",strokeLinejoin:"round",strokeWidth:"32",rx:"128",ry:"128"},child:[]}]})(e)}function A6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",d:"M296 64h-80a7.91 7.91 0 0 0-8 8v24h96V72a7.91 7.91 0 0 0-8-8z"},child:[]},{tag:"path",attr:{d:"M432 96h-96V72a40 40 0 0 0-40-40h-80a40 40 0 0 0-40 40v24H80a16 16 0 0 0 0 32h17l19 304.92c1.42 26.85 22 47.08 48 47.08h184c26.13 0 46.3-19.78 48-47l19-305h17a16 16 0 0 0 0-32zM192.57 416H192a16 16 0 0 1-16-15.43l-8-224a16 16 0 1 1 32-1.14l8 224A16 16 0 0 1 192.57 416zM272 400a16 16 0 0 1-32 0V176a16 16 0 0 1 32 0zm32-304h-96V72a7.91 7.91 0 0 1 8-8h80a7.91 7.91 0 0 1 8 8zm32 304.57A16 16 0 0 1 320 416h-.58A16 16 0 0 1 304 399.43l8-224a16 16 0 1 1 32 1.14z"},child:[]}]})(e)}function M6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M416 432 64 80"},child:[]},{tag:"path",attr:{d:"M243.33 98.86a23.89 23.89 0 0 0-25.55 1.82l-.66.51-28.52 23.35a8 8 0 0 0-.59 11.85l54.33 54.33a8 8 0 0 0 13.66-5.66v-64.49a24.51 24.51 0 0 0-12.67-21.71zm8 236.43L96.69 180.69A16 16 0 0 0 85.38 176H56a24 24 0 0 0-24 24v112a24 24 0 0 0 24 24h69.76l92 75.31a23.9 23.9 0 0 0 25.87 1.69A24.51 24.51 0 0 0 256 391.45v-44.86a16 16 0 0 0-4.67-11.3zM352 256c0-24.56-5.81-47.87-17.75-71.27a16 16 0 1 0-28.5 14.55C315.34 218.06 320 236.62 320 256q0 4-.31 8.13a8 8 0 0 0 2.32 6.25l14.36 14.36a8 8 0 0 0 13.55-4.31A146 146 0 0 0 352 256zm64 0c0-51.18-13.08-83.89-34.18-120.06a16 16 0 0 0-27.64 16.12C373.07 184.44 384 211.83 384 256c0 23.83-3.29 42.88-9.37 60.65a8 8 0 0 0 1.9 8.26L389 337.4a8 8 0 0 0 13.13-2.79C411 311.76 416 287.26 416 256z"},child:[]},{tag:"path",attr:{d:"M480 256c0-74.25-20.19-121.11-50.51-168.61a16 16 0 1 0-27 17.22C429.82 147.38 448 189.5 448 256c0 46.19-8.43 80.27-22.43 110.53a8 8 0 0 0 1.59 9l11.92 11.92a8 8 0 0 0 12.92-2.16C471.6 344.9 480 305 480 256z"},child:[]}]})(e)}function T6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M449.07 399.08 278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0 0 80 446.25h340.89a32 32 0 0 0 28.18-47.17zm-198.6-1.83a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm21.72-201.15-5.74 122a16 16 0 0 1-32 0l-5.74-121.95a21.73 21.73 0 0 1 21.5-22.69h.21a21.74 21.74 0 0 1 21.73 22.7z"},child:[]}]})(e)}function F6(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M265.12 60.12a12 12 0 0 0-18.23 0C215.23 97.15 112 225.17 112 320c0 88.37 55.64 144 144 144s144-55.63 144-144c0-94.83-103.23-222.85-134.88-259.88zM272 412a12 12 0 0 1-11.34-16 11.89 11.89 0 0 1 11.41-8A60.06 60.06 0 0 0 332 328.07a11.89 11.89 0 0 1 8-11.41A12 12 0 0 1 356 328a84.09 84.09 0 0 1-84 84z"},child:[]}]})(e)}function Ac(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M346.65 304.3a136 136 0 0 0-180.71 0 21 21 0 1 0 27.91 31.38 94 94 0 0 1 124.89 0 21 21 0 0 0 27.91-31.4z"},child:[]},{tag:"path",attr:{d:"M256.28 183.7a221.47 221.47 0 0 0-151.8 59.92 21 21 0 1 0 28.68 30.67 180.28 180.28 0 0 1 246.24 0 21 21 0 1 0 28.68-30.67 221.47 221.47 0 0 0-151.8-59.92z"},child:[]},{tag:"path",attr:{d:"M462 175.86a309 309 0 0 0-411.44 0 21 21 0 1 0 28 31.29 267 267 0 0 1 355.43 0 21 21 0 0 0 28-31.31z"},child:[]},{tag:"circle",attr:{cx:"256.28",cy:"393.41",r:"32"},child:[]}]})(e)}const B6="_sidebar_1nu6q_42",O6="_header_1nu6q_60",D6="_logo_1nu6q_66",U6="_icon_1nu6q_78",H6="_nav_1nu6q_85",W6="_section_1nu6q_88",q6="_title_1nu6q_94",V6="_list_1nu6q_103",K6="_item_1nu6q_108",G6="_active_1nu6q_124",Q6="_itemIcon_1nu6q_133",J6="_text_1nu6q_141",Y6="_open_1nu6q_159",gn={sidebar:B6,header:O6,logo:D6,icon:U6,nav:H6,section:W6,title:q6,list:V6,item:K6,active:G6,itemIcon:Q6,text:J6,open:Y6,"accordion-down":"_accordion-down_1nu6q_1","accordion-up":"_accordion-up_1nu6q_1"};var P0={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** + */function Ps(){return Ps=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[s]=e[s]);return r}function z3(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function E3(e,t){return e.button===0&&(!t||t==="_self")&&!z3(e)}const L3=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],R3=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],A3="6";try{window.__reactRouterVersion=A3}catch{}function I3(e,t){return q4({basename:void 0,future:Ps({},void 0,{v7_prependBasename:!0}),history:f4({window:void 0}),hydrationData:P3(),routes:e,mapRouteProperties:$3,unstable_dataStrategy:void 0,unstable_patchRoutesOnMiss:void 0,window:void 0}).initialize()}function P3(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Ps({},t,{errors:M3(t.errors)})),t}function M3(e){if(!e)return null;let t=Object.entries(e),r={};for(let[i,s]of t)if(s&&s.__type==="RouteErrorResponse")r[i]=new Cp(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let a=window[s.__subType];if(typeof a=="function")try{let o=new a(s.message);o.stack="",r[i]=o}catch{}}if(r[i]==null){let a=new Error(s.message);a.stack="",r[i]=a}}else r[i]=s;return r}const sg=y.createContext({isTransitioning:!1}),B3=y.createContext(new Map),T3="startTransition",k1=R2[T3],O3="flushSync",S1=Hv[O3];function F3(e){k1?k1(e):e()}function ta(e){S1?S1(e):e()}class D3{constructor(){this.status="pending",this.promise=new Promise((t,r)=>{this.resolve=i=>{this.status==="pending"&&(this.status="resolved",t(i))},this.reject=i=>{this.status==="pending"&&(this.status="rejected",r(i))}})}}function U3(e){let{fallbackElement:t,router:r,future:i}=e,[s,a]=y.useState(r.state),[o,l]=y.useState(),[c,d]=y.useState({isTransitioning:!1}),[p,h]=y.useState(),[m,g]=y.useState(),[j,b]=y.useState(),k=y.useRef(new Map),{v7_startTransition:_}=i||{},u=y.useCallback(S=>{_?F3(S):S()},[_]),f=y.useCallback((S,E)=>{let{deletedFetchers:L,unstable_flushSync:F,unstable_viewTransitionOpts:J}=E;L.forEach(U=>k.current.delete(U)),S.fetchers.forEach((U,D)=>{U.data!==void 0&&k.current.set(D,U.data)});let q=r.window==null||r.window.document==null||typeof r.window.document.startViewTransition!="function";if(!J||q){F?ta(()=>a(S)):u(()=>a(S));return}if(F){ta(()=>{m&&(p&&p.resolve(),m.skipTransition()),d({isTransitioning:!0,flushSync:!0,currentLocation:J.currentLocation,nextLocation:J.nextLocation})});let U=r.window.document.startViewTransition(()=>{ta(()=>a(S))});U.finished.finally(()=>{ta(()=>{h(void 0),g(void 0),l(void 0),d({isTransitioning:!1})})}),ta(()=>g(U));return}m?(p&&p.resolve(),m.skipTransition(),b({state:S,currentLocation:J.currentLocation,nextLocation:J.nextLocation})):(l(S),d({isTransitioning:!0,flushSync:!1,currentLocation:J.currentLocation,nextLocation:J.nextLocation}))},[r.window,m,p,k,u]);y.useLayoutEffect(()=>r.subscribe(f),[r,f]),y.useEffect(()=>{c.isTransitioning&&!c.flushSync&&h(new D3)},[c]),y.useEffect(()=>{if(p&&o&&r.window){let S=o,E=p.promise,L=r.window.document.startViewTransition(async()=>{u(()=>a(S)),await E});L.finished.finally(()=>{h(void 0),g(void 0),l(void 0),d({isTransitioning:!1})}),g(L)}},[u,o,p,r.window]),y.useEffect(()=>{p&&o&&s.location.key===o.location.key&&p.resolve()},[p,m,s.location,o]),y.useEffect(()=>{!c.isTransitioning&&j&&(l(j.state),d({isTransitioning:!0,flushSync:!1,currentLocation:j.currentLocation,nextLocation:j.nextLocation}),b(void 0))},[c.isTransitioning,j]),y.useEffect(()=>{},[]);let v=y.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:S=>r.navigate(S),push:(S,E,L)=>r.navigate(S,{state:E,preventScrollReset:L==null?void 0:L.preventScrollReset}),replace:(S,E,L)=>r.navigate(S,{replace:!0,state:E,preventScrollReset:L==null?void 0:L.preventScrollReset})}),[r]),w=r.basename||"/",x=y.useMemo(()=>({router:r,navigator:v,static:!1,basename:w}),[r,v,w]),N=y.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return y.createElement(y.Fragment,null,y.createElement(co.Provider,{value:x},y.createElement(Np.Provider,{value:s},y.createElement(B3.Provider,{value:k.current},y.createElement(sg.Provider,{value:c},y.createElement(N3,{basename:w,location:s.location,navigationType:s.historyAction,navigator:v,future:N},s.initialized||r.future.v7_partialHydration?y.createElement(H3,{routes:r.routes,future:r.future,state:s}):t))))),null)}const H3=y.memo(W3);function W3(e){let{routes:t,future:r,state:i}=e;return f3(t,void 0,i,r)}const q3=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",V3=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zp=y.forwardRef(function(t,r){let{onClick:i,relative:s,reloadDocument:a,replace:o,state:l,target:c,to:d,preventScrollReset:p,unstable_viewTransition:h}=t,m=ig(t,L3),{basename:g}=y.useContext(Tr),j,b=!1;if(typeof d=="string"&&V3.test(d)&&(j=d,q3))try{let f=new URL(window.location.href),v=d.startsWith("//")?new URL(f.protocol+d):new URL(d),w=Ir(v.pathname,g);v.origin===f.origin&&w!=null?d=w+v.search+v.hash:b=!0}catch{}let k=u3(d,{relative:s}),_=Q3(d,{replace:o,state:l,target:c,preventScrollReset:p,relative:s,unstable_viewTransition:h});function u(f){i&&i(f),f.defaultPrevented||_(f)}return y.createElement("a",Ps({},m,{href:j||k,onClick:b||a?i:u,ref:r,target:c}))}),K3=y.forwardRef(function(t,r){let{"aria-current":i="page",caseSensitive:s=!1,className:a="",end:o=!1,style:l,to:c,unstable_viewTransition:d,children:p}=t,h=ig(t,R3),m=uc(c,{relative:h.relative}),g=Fs(),j=y.useContext(Np),{navigator:b,basename:k}=y.useContext(Tr),_=j!=null&&J3(m)&&d===!0,u=b.encodeLocation?b.encodeLocation(m).pathname:m.pathname,f=g.pathname,v=j&&j.navigation&&j.navigation.location?j.navigation.location.pathname:null;s||(f=f.toLowerCase(),v=v?v.toLowerCase():null,u=u.toLowerCase()),v&&k&&(v=Ir(v,k)||v);const w=u!=="/"&&u.endsWith("/")?u.length-1:u.length;let x=f===u||!o&&f.startsWith(u)&&f.charAt(w)==="/",N=v!=null&&(v===u||!o&&v.startsWith(u)&&v.charAt(u.length)==="/"),S={isActive:x,isPending:N,isTransitioning:_},E=x?i:void 0,L;typeof a=="function"?L=a(S):L=[a,x?"active":null,N?"pending":null,_?"transitioning":null].filter(Boolean).join(" ");let F=typeof l=="function"?l(S):l;return y.createElement(zp,Ps({},h,{"aria-current":E,className:L,ref:r,style:F,to:c,unstable_viewTransition:d}),typeof p=="function"?p(S):p)});var pu;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(pu||(pu={}));var N1;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(N1||(N1={}));function G3(e){let t=y.useContext(co);return t||Se(!1),t}function Q3(e,t){let{target:r,replace:i,state:s,preventScrollReset:a,relative:o,unstable_viewTransition:l}=t===void 0?{}:t,c=eg(),d=Fs(),p=uc(e,{relative:o});return y.useCallback(h=>{if(E3(h,r)){h.preventDefault();let m=i!==void 0?i:Wi(d)===Wi(p);c(e,{replace:m,state:s,preventScrollReset:a,relative:o,unstable_viewTransition:l})}},[d,c,p,i,s,r,e,a,o,l])}function J3(e,t){t===void 0&&(t={});let r=y.useContext(sg);r==null&&Se(!1);let{basename:i}=G3(pu.useViewTransitionState),s=uc(e,{relative:t.relative});if(!r.isTransitioning)return!1;let a=Ir(r.currentLocation.pathname,i)||r.currentLocation.pathname,o=Ir(r.nextLocation.pathname,i)||r.nextLocation.pathname;return zl(s.pathname,o)!=null||zl(s.pathname,a)!=null}const Y3=(...e)=>{console!=null&&console.warn&&(Mi(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},$1={},hu=(...e)=>{Mi(e[0])&&$1[e[0]]||(Mi(e[0])&&($1[e[0]]=new Date),Y3(...e))},ag=(e,t)=>()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},z1=(e,t,r)=>{e.loadNamespaces(t,ag(e,r))},E1=(e,t,r,i)=>{Mi(r)&&(r=[r]),r.forEach(s=>{e.options.ns.indexOf(s)<0&&e.options.ns.push(s)}),e.loadLanguages(t,ag(e,i))},X3=(e,t,r={})=>!t.languages||!t.languages.length?(hu("i18n.languages were undefined or empty",t.languages),!0):t.hasLoadedNamespace(e,{lng:r.lng,precheck:(i,s)=>{var a;if(((a=r.bindI18n)==null?void 0:a.indexOf("languageChanging"))>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!s(i.isLanguageChangingTo,e))return!1}}),Mi=e=>typeof e=="string",Z3=e=>typeof e=="object"&&e!==null,e6=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,t6={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},n6=e=>t6[e],r6=e=>e.replace(e6,n6);let mu={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:r6};const i6=(e={})=>{mu={...mu,...e}},s6=()=>mu;let og;const a6=e=>{og=e},o6=()=>og,l6={type:"3rdParty",init(e){i6(e.options.react),a6(e)}},lg=y.createContext();class c6{constructor(){Up(this,"getUsedNamespaces",()=>Object.keys(this.usedNamespaces));this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(r=>{var i;(i=this.usedNamespaces)[r]??(i[r]=!0)})}}const d6=(e,t)=>{const r=y.useRef();return y.useEffect(()=>{r.current=e},[e,t]),r.current},cg=(e,t,r,i)=>e.getFixedT(t,r,i),u6=(e,t,r,i)=>y.useCallback(cg(e,t,r,i),[e,t,r,i]),$e=(e,t={})=>{var v,w,x,N;const{i18n:r}=t,{i18n:i,defaultNS:s}=y.useContext(lg)||{},a=r||i||o6();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new c6),!a){hu("You will need to pass in an i18next instance by using initReactI18next");const S=(L,F)=>Mi(F)?F:Z3(F)&&Mi(F.defaultValue)?F.defaultValue:Array.isArray(L)?L[L.length-1]:L,E=[S,{},!1];return E.t=S,E.i18n={},E.ready=!1,E}(v=a.options.react)!=null&&v.wait&&hu("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...s6(),...a.options.react,...t},{useSuspense:l,keyPrefix:c}=o;let d=s||((w=a.options)==null?void 0:w.defaultNS);d=Mi(d)?[d]:d||["translation"],(N=(x=a.reportNamespaces).addUsedNamespaces)==null||N.call(x,d);const p=(a.isInitialized||a.initializedStoreOnce)&&d.every(S=>X3(S,a,o)),h=u6(a,t.lng||null,o.nsMode==="fallback"?d:d[0],c),m=()=>h,g=()=>cg(a,t.lng||null,o.nsMode==="fallback"?d:d[0],c),[j,b]=y.useState(m);let k=d.join();t.lng&&(k=`${t.lng}${k}`);const _=d6(k),u=y.useRef(!0);y.useEffect(()=>{const{bindI18n:S,bindI18nStore:E}=o;u.current=!0,!p&&!l&&(t.lng?E1(a,t.lng,d,()=>{u.current&&b(g)}):z1(a,d,()=>{u.current&&b(g)})),p&&_&&_!==k&&u.current&&b(g);const L=()=>{u.current&&b(g)};return S&&(a==null||a.on(S,L)),E&&(a==null||a.store.on(E,L)),()=>{u.current=!1,a&&(S==null||S.split(" ").forEach(F=>a.off(F,L))),E&&a&&E.split(" ").forEach(F=>a.store.off(F,L))}},[a,k]),y.useEffect(()=>{u.current&&p&&b(m)},[a,c,p]);const f=[j,a,p];if(f.t=j,f.i18n=a,f.ready=p,p||!p&&!l)return f;throw new Promise(S=>{t.lng?E1(a,t.lng,d,()=>S()):z1(a,d,()=>S())})};function p6({i18n:e,defaultNS:t,children:r}){const i=y.useMemo(()=>({i18n:e,defaultNS:t}),[e,t]);return y.createElement(lg.Provider,{value:i},r)}const h6={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class Rl{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||h6,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=new Array(t),i=0;i{this.observers[i]||(this.observers[i]=new Map);const s=this.observers[i].get(r)||0;this.observers[i].set(r,s+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s{let[l,c]=o;for(let d=0;d{let[l,c]=o;for(let d=0;d{e=i,t=s});return r.resolve=e,r.reject=t,r}function L1(e){return e==null?"":""+e}function m6(e,t,r){e.forEach(i=>{t[i]&&(r[i]=t[i])})}const f6=/###/g;function $a(e,t,r){function i(l){return l&&l.indexOf("###")>-1?l.replace(f6,"."):l}function s(){return!e||typeof e=="string"}const a=typeof t!="string"?t:t.split(".");let o=0;for(;o":">",'"':""","'":"'","/":"/"};function j6(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>v6[t]):e}class _6{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}const y6=[" ",",","?","!",";"],b6=new _6(20);function w6(e,t,r){t=t||"",r=r||"";const i=y6.filter(o=>t.indexOf(o)<0&&r.indexOf(o)<0);if(i.length===0)return!0;const s=b6.getRegExp(`(${i.map(o=>o==="?"?"\\?":o).join("|")})`);let a=!s.test(e);if(!a){const o=e.indexOf(r);o>0&&!s.test(e.substring(0,o))&&(a=!0)}return a}function fu(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const i=t.split(r);let s=e;for(let a=0;a-1&&c0?e.replace("_","-"):e}class A1 extends pc{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,o=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,r],i&&(Array.isArray(i)?l.push(...i):typeof i=="string"&&a?l.push(...i.split(a)):l.push(i)));const c=Al(this.data,l);return!c&&!r&&!i&&t.indexOf(".")>-1&&(t=l[0],r=l[1],i=l.slice(2).join(".")),c||!o||typeof i!="string"?c:fu(this.data&&this.data[t]&&this.data[t][r],i,a)}addResource(t,r,i,s){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let l=[t,r];i&&(l=l.concat(o?i.split(o):i)),t.indexOf(".")>-1&&(l=t.split("."),s=r,r=l[1]),this.addNamespaces(r),R1(this.data,l,s),a.silent||this.emit("added",t,r,i,s)}addResources(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const a in i)(typeof i[a]=="string"||Array.isArray(i[a]))&&this.addResource(t,r,a,i[a],{silent:!0});s.silent||this.emit("added",t,r,i)}addResourceBundle(t,r,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,r];t.indexOf(".")>-1&&(l=t.split("."),s=i,i=r,r=l[1]),this.addNamespaces(r);let c=Al(this.data,l)||{};o.skipCopy||(i=JSON.parse(JSON.stringify(i))),s?dg(c,i,a):c={...c,...i},R1(this.data,l,c),o.silent||this.emit("added",t,r,i)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,r)}:this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(s=>r[s]&&Object.keys(r[s]).length>0)}toJSON(){return this.data}}var ug={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,i,s){return e.forEach(a=>{this.processors[a]&&(t=this.processors[a].process(t,r,i,s))}),t}};const I1={};class Pl extends pc{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),m6(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ur.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const i=this.resolve(t,r);return i&&i.res!==void 0}extractFromKey(t,r){let i=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const s=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let a=r.ns||this.options.defaultNS||[];const o=i&&t.indexOf(i)>-1,l=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!w6(t,i,s);if(o&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:a};const d=t.split(i);(i!==s||i===s&&this.options.ns.indexOf(d[0])>-1)&&(a=d.shift()),t=d.join(s)}return typeof a=="string"&&(a=[a]),{key:t,namespaces:a}}translate(t,r,i){if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r={...r}),r||(r={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const s=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(t[t.length-1],r),c=l[l.length-1],d=r.lng||this.language,p=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&d.toLowerCase()==="cimode"){if(p){const v=r.nsSeparator||this.options.nsSeparator;return s?{res:`${c}${v}${o}`,usedKey:o,exactUsedKey:o,usedLng:d,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:`${c}${v}${o}`}return s?{res:o,usedKey:o,exactUsedKey:o,usedLng:d,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:o}const h=this.resolve(t,r);let m=h&&h.res;const g=h&&h.usedKey||o,j=h&&h.exactUsedKey||o,b=Object.prototype.toString.apply(m),k=["[object Number]","[object Function]","[object RegExp]"],_=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,u=!this.i18nFormat||this.i18nFormat.handleAsObject;if(u&&m&&(typeof m!="string"&&typeof m!="boolean"&&typeof m!="number")&&k.indexOf(b)<0&&!(typeof _=="string"&&Array.isArray(m))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const v=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,m,{...r,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return s?(h.res=v,h.usedParams=this.getUsedParamsDetails(r),h):v}if(a){const v=Array.isArray(m),w=v?[]:{},x=v?j:g;for(const N in m)if(Object.prototype.hasOwnProperty.call(m,N)){const S=`${x}${a}${N}`;w[N]=this.translate(S,{...r,joinArrays:!1,ns:l}),w[N]===S&&(w[N]=m[N])}m=w}}else if(u&&typeof _=="string"&&Array.isArray(m))m=m.join(_),m&&(m=this.extendTranslation(m,t,r,i));else{let v=!1,w=!1;const x=r.count!==void 0&&typeof r.count!="string",N=Pl.hasDefaultValue(r),S=x?this.pluralResolver.getSuffix(d,r.count,r):"",E=r.ordinal&&x?this.pluralResolver.getSuffix(d,r.count,{ordinal:!1}):"",L=x&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),F=L&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${S}`]||r[`defaultValue${E}`]||r.defaultValue;!this.isValidLookup(m)&&N&&(v=!0,m=F),this.isValidLookup(m)||(w=!0,m=o);const q=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&w?void 0:m,U=N&&F!==m&&this.options.updateMissing;if(w||v||U){if(this.logger.log(U?"updateKey":"missingKey",d,c,o,U?F:m),a){const A=this.resolve(o,{...r,keySeparator:!1});A&&A.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let D=[];const G=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&G&&G[0])for(let A=0;A{const Y=N&&B!==m?B:q;this.options.missingKeyHandler?this.options.missingKeyHandler(A,c,M,Y,U,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(A,c,M,Y,U,r),this.emit("missingKey",A,c,M,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&x?D.forEach(A=>{const M=this.pluralResolver.getSuffixes(A,r);L&&r[`defaultValue${this.options.pluralSeparator}zero`]&&M.indexOf(`${this.options.pluralSeparator}zero`)<0&&M.push(`${this.options.pluralSeparator}zero`),M.forEach(B=>{ee([A],o+B,r[`defaultValue${B}`]||F)})}):ee(D,o,F))}m=this.extendTranslation(m,t,r,h,i),w&&m===o&&this.options.appendNamespaceToMissingKey&&(m=`${c}:${o}`),(w||v)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${o}`:o,v?m:void 0):m=this.options.parseMissingKeyHandler(m))}return s?(h.res=m,h.usedParams=this.getUsedParamsDetails(r),h):m}extendTranslation(t,r,i,s,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const d=typeof t=="string"&&(i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let p;if(d){const m=t.match(this.interpolator.nestingRegexp);p=m&&m.length}let h=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),t=this.interpolator.interpolate(t,h,i.lng||this.language||s.usedLng,i),d){const m=t.match(this.interpolator.nestingRegexp),g=m&&m.length;p1&&arguments[1]!==void 0?arguments[1]:{},i,s,a,o,l;return typeof t=="string"&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(i))return;const d=this.extractFromKey(c,r),p=d.key;s=p;let h=d.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));const m=r.count!==void 0&&typeof r.count!="string",g=m&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),j=r.context!==void 0&&(typeof r.context=="string"||typeof r.context=="number")&&r.context!=="",b=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);h.forEach(k=>{this.isValidLookup(i)||(l=k,!I1[`${b[0]}-${k}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(I1[`${b[0]}-${k}`]=!0,this.logger.warn(`key "${s}" for languages "${b.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(_=>{if(this.isValidLookup(i))return;o=_;const u=[p];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(u,p,_,k,r);else{let v;m&&(v=this.pluralResolver.getSuffix(_,r.count,r));const w=`${this.options.pluralSeparator}zero`,x=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(m&&(u.push(p+v),r.ordinal&&v.indexOf(x)===0&&u.push(p+v.replace(x,this.options.pluralSeparator)),g&&u.push(p+w)),j){const N=`${p}${this.options.contextSeparator}${r.context}`;u.push(N),m&&(u.push(N+v),r.ordinal&&v.indexOf(x)===0&&u.push(N+v.replace(x,this.options.pluralSeparator)),g&&u.push(N+w))}}let f;for(;f=u.pop();)this.isValidLookup(i)||(a=f,i=this.getResource(_,k,f,r))}))})}),{res:i,usedKey:s,exactUsedKey:a,usedLng:o,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,r,i,s):this.resourceStore.getResource(t,r,i,s)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=t.replace&&typeof t.replace!="string";let s=i?t.replace:t;if(i&&typeof t.count<"u"&&(s.count=t.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!i){s={...s};for(const a of r)delete s[a]}return s}static hasDefaultValue(t){const r="defaultValue";for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&r===i.substring(0,r.length)&&t[i]!==void 0)return!0;return!1}}function ed(e){return e.charAt(0).toUpperCase()+e.slice(1)}class P1{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ur.create("languageUtils")}getScriptPartFromCode(t){if(t=Il(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=Il(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const r=["hans","hant","latn","cyrl","cans","mong","arab"];let i=t.split("-");return this.options.lowerCaseLng?i=i.map(s=>s.toLowerCase()):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=ed(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=ed(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=ed(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(i=>{if(r)return;const s=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(s))&&(r=s)}),!r&&this.options.supportedLngs&&t.forEach(i=>{if(r)return;const s=this.getLanguagePartFromCode(i);if(this.isSupportedCode(s))return r=s;r=this.options.supportedLngs.find(a=>{if(a===s)return a;if(!(a.indexOf("-")<0&&s.indexOf("-")<0)&&(a.indexOf("-")>0&&s.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===s||a.indexOf(s)===0&&s.length>1))return a})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let i=t[r];return i||(i=t[this.getScriptPartFromCode(r)]),i||(i=t[this.formatLanguageCode(r)]),i||(i=t[this.getLanguagePartFromCode(r)]),i||(i=t.default),i||[]}toResolveHierarchy(t,r){const i=this.getFallbackCodes(r||this.options.fallbackLng||[],t),s=[],a=o=>{o&&(this.isSupportedCode(o)?s.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):typeof t=="string"&&a(this.formatLanguageCode(t)),i.forEach(o=>{s.indexOf(o)<0&&a(this.formatLanguageCode(o))}),s}}let C6=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],k6={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const S6=["v1","v2","v3"],N6=["v4"],M1={zero:0,one:1,two:2,few:3,many:4,other:5};function $6(){const e={};return C6.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:k6[t.fc]}})}),e}class z6{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=ur.create("pluralResolver"),(!this.options.compatibilityJSON||N6.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=$6()}addRule(t,r){this.rules[t]=r}getRule(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(Il(t==="dev"?"en":t),{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}getPluralFormsOfKey(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,i).map(s=>`${r}${s}`)}getSuffixes(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,r);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort((s,a)=>M1[s]-M1[a]).map(s=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${s}`):i.numbers.map(s=>this.getSuffix(t,s,r)):[]}getSuffix(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(t,i);return s?this.shouldUseIntlApi()?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${s.select(r)}`:this.getSuffixRetroCompatible(s,r):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,r){const i=t.noAbs?t.plurals(r):t.plurals(Math.abs(r));let s=t.numbers[i];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(s===2?s="plural":s===1&&(s=""));const a=()=>this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString();return this.options.compatibilityJSON==="v1"?s===1?"":typeof s=="number"?`_plural_${s.toString()}`:a():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!S6.includes(this.options.compatibilityJSON)}}function B1(e,t,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=x6(e,t,r);return!a&&s&&typeof r=="string"&&(a=fu(e,r,i),a===void 0&&(a=fu(t,r,i))),a}class E6{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ur.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(r=>r),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:r,escapeValue:i,useRawValueToEscape:s,prefix:a,prefixEscaped:o,suffix:l,suffixEscaped:c,formatSeparator:d,unescapeSuffix:p,unescapePrefix:h,nestingPrefix:m,nestingPrefixEscaped:g,nestingSuffix:j,nestingSuffixEscaped:b,nestingOptionsSeparator:k,maxReplaces:_,alwaysFormat:u}=t.interpolation;this.escape=r!==void 0?r:j6,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=s!==void 0?s:!1,this.prefix=a?Xi(a):o||"{{",this.suffix=l?Xi(l):c||"}}",this.formatSeparator=d||",",this.unescapePrefix=p?"":h||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=m?Xi(m):g||Xi("$t("),this.nestingSuffix=j?Xi(j):b||Xi(")"),this.nestingOptionsSeparator=k||",",this.maxReplaces=_||1e3,this.alwaysFormat=u!==void 0?u:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,i)=>r&&r.source===i?(r.lastIndex=0,r):new RegExp(i,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,r,i,s){let a,o,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d(j){return j.replace(/\$/g,"$$$$")}const p=j=>{if(j.indexOf(this.formatSeparator)<0){const u=B1(r,c,j,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(u,void 0,i,{...s,...r,interpolationkey:j}):u}const b=j.split(this.formatSeparator),k=b.shift().trim(),_=b.join(this.formatSeparator).trim();return this.format(B1(r,c,k,this.options.keySeparator,this.options.ignoreJSONStructure),_,i,{...s,...r,interpolationkey:k})};this.resetRegExp();const h=s&&s.missingInterpolationHandler||this.options.missingInterpolationHandler,m=s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:j=>d(j)},{regex:this.regexp,safeValue:j=>this.escapeValue?d(this.escape(j)):d(j)}].forEach(j=>{for(l=0;a=j.regex.exec(t);){const b=a[1].trim();if(o=p(b),o===void 0)if(typeof h=="function"){const _=h(t,a,s);o=typeof _=="string"?_:""}else if(s&&Object.prototype.hasOwnProperty.call(s,b))o="";else if(m){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${b} for interpolating ${t}`),o="";else typeof o!="string"&&!this.useRawValueToEscape&&(o=L1(o));const k=j.safeValue(o);if(t=t.replace(a[0],k),m?(j.regex.lastIndex+=o.length,j.regex.lastIndex-=a[0].length):j.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,a,o;function l(c,d){const p=this.nestingOptionsSeparator;if(c.indexOf(p)<0)return c;const h=c.split(new RegExp(`${p}[ ]*{`));let m=`{${h[1]}`;c=h[0],m=this.interpolate(m,o);const g=m.match(/'/g),j=m.match(/"/g);(g&&g.length%2===0&&!j||j.length%2!==0)&&(m=m.replace(/'/g,'"'));try{o=JSON.parse(m),d&&(o={...d,...o})}catch(b){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,b),`${c}${p}${m}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,c}for(;s=this.nestingRegexp.exec(t);){let c=[];o={...i},o=o.replace&&typeof o.replace!="string"?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let d=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const p=s[1].split(this.formatSeparator).map(h=>h.trim());s[1]=p.shift(),c=p,d=!0}if(a=r(l.call(this,s[1].trim(),o),o),a&&s[0]===t&&typeof a!="string")return a;typeof a!="string"&&(a=L1(a)),a||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${t}`),a=""),d&&(a=c.reduce((p,h)=>this.format(p,h,i.lng,{...i,interpolationkey:s[1].trim()}),a.trim())),t=t.replace(s[0],a),this.regexp.lastIndex=0}return t}}function L6(e){let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const i=e.split("(");t=i[0].toLowerCase().trim();const s=i[1].substring(0,i[1].length-1);t==="currency"&&s.indexOf(":")<0?r.currency||(r.currency=s.trim()):t==="relativetime"&&s.indexOf(":")<0?r.range||(r.range=s.trim()):s.split(";").forEach(o=>{if(o){const[l,...c]=o.split(":"),d=c.join(":").trim().replace(/^'+|'+$/g,""),p=l.trim();r[p]||(r[p]=d),d==="false"&&(r[p]=!1),d==="true"&&(r[p]=!0),isNaN(d)||(r[p]=parseInt(d,10))}})}return{formatName:t,formatOptions:r}}function Zi(e){const t={};return function(i,s,a){const o=s+JSON.stringify(a);let l=t[o];return l||(l=e(Il(s),a),t[o]=l),l(i)}}class R6{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ur.create("formatter"),this.options=t,this.formats={number:Zi((r,i)=>{const s=new Intl.NumberFormat(r,{...i});return a=>s.format(a)}),currency:Zi((r,i)=>{const s=new Intl.NumberFormat(r,{...i,style:"currency"});return a=>s.format(a)}),datetime:Zi((r,i)=>{const s=new Intl.DateTimeFormat(r,{...i});return a=>s.format(a)}),relativetime:Zi((r,i)=>{const s=new Intl.RelativeTimeFormat(r,{...i});return a=>s.format(a,i.range||"day")}),list:Zi((r,i)=>{const s=new Intl.ListFormat(r,{...i});return a=>s.format(a)})},this.init(t)}init(t){const i=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=Zi(r)}format(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return r.split(this.formatSeparator).reduce((l,c)=>{const{formatName:d,formatOptions:p}=L6(c);if(this.formats[d]){let h=l;try{const m=s&&s.formatParams&&s.formatParams[s.interpolationkey]||{},g=m.locale||m.lng||s.locale||s.lng||i;h=this.formats[d](l,g,{...p,...s,...m})}catch(m){this.logger.warn(m)}return h}else this.logger.warn(`there was no format function for ${d}`);return l},t)}}function A6(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class I6 extends pc{constructor(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=i,this.languageUtils=i.languageUtils,this.options=s,this.logger=ur.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(i,s.backend,s)}queueLoad(t,r,i,s){const a={},o={},l={},c={};return t.forEach(d=>{let p=!0;r.forEach(h=>{const m=`${d}|${h}`;!i.reload&&this.store.hasResourceBundle(d,h)?this.state[m]=2:this.state[m]<0||(this.state[m]===1?o[m]===void 0&&(o[m]=!0):(this.state[m]=1,p=!1,o[m]===void 0&&(o[m]=!0),a[m]===void 0&&(a[m]=!0),c[h]===void 0&&(c[h]=!0)))}),p||(l[d]=!0)}),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,r,i){const s=t.split("|"),a=s[0],o=s[1];r&&this.emit("failedLoading",a,o,r),i&&this.store.addResourceBundle(a,o,i,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2;const l={};this.queue.forEach(c=>{g6(c.loaded,[a],o),A6(c,t),r&&c.errors.push(r),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(d=>{l[d]||(l[d]={});const p=c.loaded[d];p.length&&p.forEach(h=>{l[d][h]===void 0&&(l[d][h]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:i,tried:s,wait:a,callback:o});return}this.readingCalls++;const l=(d,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(d&&p&&s{this.read.call(this,t,r,i,s+1,a*2,o)},a);return}o(d,p)},c=this.backend[i].bind(this.backend);if(c.length===2){try{const d=c(t,r);d&&typeof d.then=="function"?d.then(p=>l(null,p)).catch(l):l(null,d)}catch(d){l(d)}return}return c(t,r,l)}prepareLoading(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof r=="string"&&(r=[r]);const a=this.queueLoad(t,r,i,s);if(!a.toLoad.length)return a.pending.length||s(),null;a.toLoad.forEach(o=>{this.loadOne(o)})}load(t,r,i){this.prepareLoading(t,r,{},i)}reload(t,r,i){this.prepareLoading(t,r,{reload:!0},i)}loadOne(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const i=t.split("|"),s=i[0],a=i[1];this.read(s,a,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${r}loading namespace ${a} for language ${s} failed`,o),!o&&l&&this.logger.log(`${r}loaded namespace ${a} for language ${s}`,l),this.loaded(t,o,l)})}saveMissing(t,r,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${i}" as the namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(i==null||i==="")){if(this.backend&&this.backend.create){const c={...o,isUpdate:a},d=this.backend.create.bind(this.backend);if(d.length<6)try{let p;d.length===5?p=d(t,r,i,s,c):p=d(t,r,i,s),p&&typeof p.then=="function"?p.then(h=>l(null,h)).catch(l):l(null,p)}catch(p){l(p)}else d(t,r,i,s,l,c)}!t||!t[0]||this.store.addResource(t[0],r,i,s)}}}function T1(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){let r={};if(typeof t[1]=="object"&&(r=t[1]),typeof t[1]=="string"&&(r.defaultValue=t[1]),typeof t[2]=="string"&&(r.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const i=t[3]||t[2];Object.keys(i).forEach(s=>{r[s]=i[s]})}return r},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function O1(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Mo(){}function P6(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})}class Xa extends pc{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=O1(t),this.services={},this.logger=ur,this.modules={external:[]},P6(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof r=="function"&&(i=r,r={}),!r.defaultNS&&r.defaultNS!==!1&&r.ns&&(typeof r.ns=="string"?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const s=T1();this.options={...s,...this.options,...O1(r)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...s.interpolation,...this.options.interpolation}),r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator);function a(p){return p?typeof p=="function"?new p:p:null}if(!this.options.isClone){this.modules.logger?ur.init(a(this.modules.logger),this.options):ur.init(null,this.options);let p;this.modules.formatter?p=this.modules.formatter:typeof Intl<"u"&&(p=R6);const h=new P1(this.options);this.store=new A1(this.options.resources,this.options);const m=this.services;m.logger=ur,m.resourceStore=this.store,m.languageUtils=h,m.pluralResolver=new z6(h,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),p&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(m.formatter=a(p),m.formatter.init(m,this.options),this.options.interpolation.format=m.formatter.format.bind(m.formatter)),m.interpolator=new E6(this.options),m.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},m.backendConnector=new I6(a(this.modules.backend),m.resourceStore,m,this.options),m.backendConnector.on("*",function(g){for(var j=arguments.length,b=new Array(j>1?j-1:0),k=1;k1?j-1:0),k=1;k{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,i||(i=Mo),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const p=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);p.length>0&&p[0]!=="dev"&&(this.options.lng=p[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(p=>{this[p]=function(){return t.store[p](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(p=>{this[p]=function(){return t.store[p](...arguments),t}});const c=na(),d=()=>{const p=(h,m)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(m),i(h,m)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return p(null,this.t.bind(this));this.changeLanguage(this.options.lng,p)};return this.options.resources||!this.options.initImmediate?d():setTimeout(d,0),c}loadResources(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Mo;const s=typeof t=="string"?t:this.language;if(typeof t=="function"&&(i=t),!this.options.resources||this.options.partialBundledLanguages){if(s&&s.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();const a=[],o=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(d=>{d!=="cimode"&&a.indexOf(d)<0&&a.push(d)})};s?o(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>o(c)),this.options.preload&&this.options.preload.forEach(l=>o(l)),this.services.backendConnector.load(a,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(l)})}else i(null)}reloadResources(t,r,i){const s=na();return t||(t=this.languages),r||(r=this.options.ns),i||(i=Mo),this.services.backendConnector.reload(t,r,a=>{s.resolve(),i(a)}),s}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&ug.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let r=0;r-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}}changeLanguage(t,r){var i=this;this.isLanguageChangingTo=t;const s=na();this.emit("languageChanging",t);const a=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,d)=>{d?(a(d),this.translator.changeLanguage(d),this.isLanguageChangingTo=void 0,this.emit("languageChanged",d),this.logger.log("languageChanged",d)):this.isLanguageChangingTo=void 0,s.resolve(function(){return i.t(...arguments)}),r&&r(c,function(){return i.t(...arguments)})},l=c=>{!t&&!c&&this.services.languageDetector&&(c=[]);const d=typeof c=="string"?c:this.services.languageUtils.getBestMatchFromCodes(c);d&&(this.language||a(d),this.translator.language||this.translator.changeLanguage(d),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(d)),this.loadResources(d,p=>{o(p,d)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),s}getFixedT(t,r,i){var s=this;const a=function(o,l){let c;if(typeof l!="object"){for(var d=arguments.length,p=new Array(d>2?d-2:0),h=2;h`${c.keyPrefix}${m}${j}`):g=c.keyPrefix?`${c.keyPrefix}${m}${o}`:o,s.t(g,c)};return typeof t=="string"?a.lng=t:a.lngs=t,a.ns=r,a.keyPrefix=i,a}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=r.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const o=(l,c)=>{const d=this.services.backendConnector.state[`${l}|${c}`];return d===-1||d===2};if(r.precheck){const l=r.precheck(this,o);if(l!==void 0)return l}return!!(this.hasResourceBundle(i,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(i,t)&&(!s||o(a,t)))}loadNamespaces(t,r){const i=na();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{i.resolve(),r&&r(s)}),i):(r&&r(),Promise.resolve())}loadLanguages(t,r){const i=na();typeof t=="string"&&(t=[t]);const s=this.options.preload||[],a=t.filter(o=>s.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return a.length?(this.options.preload=s.concat(a),this.loadResources(o=>{i.resolve(),r&&r(o)}),i):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const r=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],i=this.services&&this.services.languageUtils||new P1(T1());return r.indexOf(i.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new Xa(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Mo;const i=t.forkResourceStore;i&&delete t.forkResourceStore;const s={...this.options,...t,isClone:!0},a=new Xa(s);return(t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),["store","services","language"].forEach(l=>{a[l]=this[l]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},i&&(a.store=new A1(this.store.data,s),a.services.resourceStore=a.store),a.translator=new Pl(a.services,s),a.translator.on("*",function(l){for(var c=arguments.length,d=new Array(c>1?c-1:0),p=1;p) => void",description:"Callback function triggered when the button is clicked."},children:{name:"children",type:"React.ReactNode",description:"The content to be displayed inside the button. Can be text, icons, or other elements."},className:{name:"className",type:"string",description:"Additional CSS class names to be added to the button."},ariaLabel:{name:"ariaLabel",type:"string",description:"Accessible label for screen readers. Important for buttons that only contain icons."}},examples:{title:"Examples",basic:{title:"Basic Usage",description:"The most basic usage of a button. Use the primary variant for main actions."},variants:{title:"Button Variants",description:"Different styles of buttons for different purposes. Choose the appropriate variant based on the action's importance and meaning."},sizes:{title:"Button Sizes",description:"Buttons come in four sizes: small for compact layouts, medium for general use, large for emphasis, and xlarge for prominent actions."},shapes:{title:"Button Shapes",description:"Buttons can have different shapes to match your design needs. Square for a traditional look, rounded for a modern feel, and circle for icon buttons."},borderRadius:{title:"Border Radius",description:"Customize the corner roundness of buttons. Use predefined values or specify a custom radius in pixels."},states:{title:"Button States",description:"Buttons can be in different states: normal, loading (shows a spinner), disabled (can't be clicked), and active (appears pressed)."},withIcons:{title:"Buttons with Icons",description:"Buttons can include icons to enhance visual communication. Icons can be placed before or after the text."},block:{title:"Block Button",description:"A block button spans the full width of its container. Useful for mobile interfaces or when you want to align button width with other elements."},customStyles:{title:"Custom Styles",description:"Buttons can be customized with your own styles using CSS. Here are some examples of custom styled buttons."}}},switch:{title:"Switch",description:"Switch toggles allow users to turn an option on or off.",basic:"Basic Switch",sizes:"Switch Sizes",disabled:"Disabled State",loading:"Loading State",customColors:"Custom Colors",text:"Text & Icon"},alert:{title:"Alert",description:"Alerts display important messages to users.",basic:"Basic Alerts",types:"Alert Types",withIcon:"With Icons",closable:"Closable"},textfield:{title:"Text Field",description:"Text fields let users enter and edit text.",installation:"Installation",basic_usage:"Basic Usage",examples:"Examples",sizes:"Text Field Sizes",states:"Text Field States",prefix:"Prefix and Suffix",clearable:"Clearable Input",password:"Password Input",textarea:"Text Area",properties:{title:"Properties",value:{name:"value",type:"string",description:"The value of the text field."},placeholder:{name:"placeholder",type:"string",description:"Placeholder text when the field is empty."},disabled:{name:"disabled",type:"boolean",description:"Whether the text field is disabled."},error:{name:"error",type:"boolean",description:"Whether the text field is in error state."},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"The size of the text field."}}},radio:{title:"Radio",description:"Radio buttons allow users to select one option from a set.",basic:"Basic Usage",disabled:"Disabled",group:"Radio Group",direction:"Direction",button:"Button Style"},checkbox:{title:"Checkbox",description:"Checkboxes allow users to select one or more items from a set.",basic:"Basic Checkboxes",shapes:"Checkbox Shapes",sizes:"Checkbox Sizes",customIcons:"Custom Icons",customStyles:"Custom Colors & Styles"},avatar:{title:"Avatar",description:"Avatars represent users or entities with images or initials.",basic:"Basic Usage",sizes:"Sizes",types:"Types",group:"Avatar Group",badge:"With Badge"},badge:{title:"Badge",description:"Badges are small status descriptors for UI elements.",basic:"Basic Usage",max:"Maximum",dot:"Dot Badge",status:"Status",colors:"Custom Colors"},card:{title:"Card",description:"Cards contain content and actions about a single subject.",basic:"Basic Usage",title_prop:"With Title",bordered:"Bordered",hoverable:"Hoverable",loading:"Loading",grid:"Grid Card",inner:"Inner Card"},chip:{title:"Chip",description:"Chips represent small blocks of information.",basic:"Basic Usage",variants:"Variants",sizes:"Sizes",removable:"Removable",icon:"With Icon",colors:"Custom Colors"},divider:{title:"Divider",description:"Dividers separate content into clear groups.",basic:"Basic Usage",orientation:"Text Position",type:"Divider Type",styles:"Styles"},dropdown:{title:"Dropdown",description:"Dropdowns display a list of actions or options.",basic:"Basic Usage",placement:"Placement",trigger:"Trigger",disabled:"Disabled",nested:"Nested Menu"},message:{title:"Message",description:"Messages provide feedback about user operations.",basic:"Basic Usage",types:"Message Types",duration:"Duration",loading:"Loading",promise:"Promise Interface"},progress:{title:"Progress",description:"Progress indicators express an unspecified wait time.",basic:"Basic Usage",types:"Progress Types",sizes:"Sizes",status:"Status",dynamic:"Dynamic"},skeleton:{title:"Skeleton",description:"Skeleton screens provide a low-fidelity representation of content before it's loaded.",basic:"Basic Usage",animated:"Animated",complex:"Complex Combination",active:"Active Animation"},space:{title:"Space",description:"Set the spacing between components",basic:"Basic Usage",size:"Size",align:"Alignment",direction:"Direction",customization:"Customization"},tag:{title:"Tag",description:"Used for marking and selection",basic:"Basic Usage",sizes:"Sizes",color:"Color",closable:"Closable",icon:"With Icon",customization:"Customization"},tooltip:{title:"Tooltip",description:"A simple text popup tip",basic:"Basic Usage",placement:"Placement",trigger:"Trigger",customization:"Customization"},popper:{title:"Popper",description:"Create custom popup content",basic:"Basic Usage",placement:"Placement",trigger:"Trigger",arrow:"Arrow"},searchButton:{title:"Search Button",description:"A special button for triggering search operations",basic:"Basic Usage",sizes:"Sizes",loading:"Loading",customization:"Customization"},statusIndicator:{title:"Status Indicator",description:"Display the current status of an element",basic:"Basic Usage",sizes:"Sizes",colors:"Colors",animation:"Animation"},timePicker:{title:"Time Picker",description:"For selecting a specific time",basic:"Basic Usage",format:"Format",range:"Range Selection",disabled:"Disabled"},virtualList:{title:"Virtual List",description:"Efficiently render large lists",basic:"Basic Usage",height:"Fixed Height",dynamic:"Dynamic Height",loading:"Loading"},autoComplete:{title:"Auto Complete",description:"Input with auto-complete suggestions",basic:"Basic Usage",customization:"Customization",async:"Async Loading",grouping:"Grouping"},empty:{title:"Empty",description:"Empty state placeholder",basic:"Basic Usage",customization:"Customization",image:"Image"},cascader:{title:"Cascader",description:"Cascading Selector",basic:"Basic Usage",size:"Size",multiple:"Multiple Selection",async:"Async Loading"},iconButton:{title:"Icon Button",description:"Icon buttons are buttons that only contain icons, typically used in toolbars or compact interfaces.",basic:"Basic Usage",sizes:"Sizes",variants:"Variants",states:"States"},common:{installation:"Installation",basic_usage:"Basic Usage",examples:"Examples",customization:"Customization",props:"Props",events:"Events",methods:"Methods",slots:"Slots",api:{property:"Property",description:"Description",type:"Type",default:"Default"}},pagination:{title:"Pagination",description:"A long list can be divided into several pages using Pagination, and only one page will be loaded at a time.",installation:"Installation",installation_description:"Install the Pagination component using npm or yarn.",basic_usage:"Basic Usage",basic_usage_description:"The Pagination component provides a simple way to handle large sets of data.",when_to_use:{title:"When To Use",items:["When loading/rendering all data will take a long time","When you need to browse data by switching pages","When dealing with large amounts of data"]},examples:{title:"Examples",introduction:{title:"Introduction",description:"Pagination allows you to divide large sets of content into smaller chunks and navigate between them."},basic:{title:"Basic Usage",description:"The simplest usage of pagination component."},sizes:{title:"Different Sizes",description:"Three sizes are available: small, medium (default) and large."},shapes:{title:"Different Shapes",description:"Three shapes are available: square, rounded (default) and circle."},variants:{title:"Different Variants",description:"Three variants are available: filled (default), outlined and text."},more:{title:"More Features",description:"More features like quick jumper, size changer and total display."},large:{title:"Large Data",description:"Pagination for large data sets with quick navigation and size options."},custom:{title:"Custom Rendering",description:"Customize the rendering of pagination items and navigation icons."},simple:{title:"Simple Mode",description:"Simple mode will show less page numbers in a simpler way."},disabled:{title:"Disabled State",description:"Pagination can be disabled when it's not interactive."},responsive:{title:"Responsive Layout",description:"In responsive mode, some items will be hidden on small screens."}},properties:{title:"Properties",description:"The following properties are available for the Pagination component:",current:"Current page number",total:"Total number of items",pageSize:"Number of items per page",onChange:"Callback when page or page size changes",disabled:"Whether to disable pagination",showQuickJumper:"Whether to show quick jumper",showSizeChanger:"Whether to show page size changer",pageSizeOptions:"Options for page size changer",itemRender:"Custom item renderer",showTotal:"Whether to show total number",totalRender:"Custom total text renderer",size:"Size of pagination items",shape:"Shape of pagination items",variant:"Style variant of pagination items",simple:"Whether to use simple mode",responsive:"Whether to use responsive mode",icons:"Custom icons for navigation"}}},T6={title:"Oops!",description:"Sorry, an unexpected error has occurred.",back_home:"Back to Home",refresh:"Refresh Page"},O6={title:"404",description:"Oops! The page you're looking for doesn't exist.",back_home:"Back to Home"},F6={examples:{basic:{title:"Basic Usage",description:"Basic button variants for different contexts"},variants:{title:"Button Variants",description:"Different button styles for different purposes"},sizes:{title:"Button Sizes",description:"Buttons come in different sizes"},shapes:{title:"Button Shapes",description:"Different button shapes to match your design"},borderRadius:{title:"Border Radius",description:"Customize the button's corner roundness"},rippleEffect:{title:"Ripple Effect",description:"Add a material design-like ripple effect on click"},states:{title:"Button States",description:"Different states a button can be in"}},properties:{variant:"Button style variant",size:"Button size",shape:"Button shape",borderRadius:"Button corner roundness",disabled:"Disabled state",loading:"Loading state",active:"Active state",ariaLabel:"Accessibility label"}},D6={lib:M6,components:B6,error:T6,notFound:O6,webComponentButton:F6},U6={title:"Minerva UI",description:"用于构建美观且无障碍的用户界面的现代 React 组件库",about:"关于","about.description":"Minerva UI 是一个全面的 React 组件库,提供一套可重用、无障碍和可定制的组件,帮助您构建现代 Web 应用程序。",installation:"安装","installation.title":"安装","installation.description":"通过在项目中安装 Minerva UI 开始使用。","installation.usage.title":"使用","installation.usage.description":"在 React 应用程序中导入和使用组件。","installation.requirements.title":"要求","installation.cdn.title":"CDN","installation.cdn.description":"您也可以直接从 CDN 使用 Minerva UI。",features:{title:"特性",modern:{title:"现代设计",description:"基于现代设计原则和最佳实践构建。"},customizable:{title:"高度可定制",description:"轻松定制组件以匹配您的品牌和设计系统。"},typescript:{title:"TypeScript 支持",description:"使用 TypeScript 编写,提供完整的类型支持以获得更好的开发体验。"},performance:{title:"性能优先",description:"通过最小化包大小和高效渲染进行性能优化。"}},getStarted:{title:"开始使用",description:"使用 Minerva UI 组件开始构建您的下一个项目。"}},H6={menu:{getting_started:"开始使用",inputs:"输入",data_display:"数据展示",feedback:"反馈",navigation:"导航"},installation:{title:"安装",description:"通过在项目中安装 Minerva UI 开始使用",package:{title:"包安装",description:"使用您喜欢的包管理器安装 Minerva UI"},setup:{title:"项目设置",description:"在 React 应用程序中设置 Minerva UI"},next:{title:"下一步",description:"了解更多关于 Minerva UI",introduction:"阅读介绍",theming:"了解主题",components:"浏览组件"}},overview:{title:"概述",description:"用于构建美观且无障碍界面的现代 React UI 库",features:{title:"主要特性",modern:{title:"现代设计",description:"基于现代设计原则和最佳实践构建。"},performance:{title:"性能优先",description:"通过最小化包大小和高效渲染进行性能优化。"},theme:{title:"主题支持",description:"全面的主题系统,允许您自定义组件的各个方面。"},responsive:{title:"响应式设计",description:"组件设计可在所有设备尺寸上无缝工作。"}},quickstart:{title:"快速开始",description:"通过安装包并导入组件快速开始使用 Minerva UI。"},support:{title:"浏览器支持",description:"Minerva UI 兼容所有现代浏览器。"}},introduction:{title:"介绍",description:"了解 Minerva UI 的特性和功能",what:{title:"什么是 Minerva UI",description:"Minerva UI 是一个现代的 React 组件库,旨在帮助您快速高效地构建美观且无障碍的用户界面。",features:{components:{title:"丰富的组件库",description:"一套遵循设计和可访问性最佳实践的预构建组件。"},customization:{title:"高度可定制",description:"灵活的主题系统,允许您自定义组件的各个方面以匹配您的品牌。"},typescript:{title:"TypeScript 支持",description:"使用 TypeScript 构建,提供完整的类型支持和代码补全,带来更好的开发体验。"}}}},theming:{title:"主题",description:"自定义组件的外观和感觉",tokens:"设计令牌",colors:"颜色系统",typography:"排版",spacing:"间距"},button:{title:"按钮",description:"按钮允许用户通过单击执行操作和做出选择。",installation:"安装",installation_description:"使用包管理器安装按钮组件。",properties:{title:"属性",variant:{name:"variant",type:"'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'retry' | 'back'",description:"按钮的视觉样式。每种变体都有其语义含义:primary 用于主要操作,secondary 用于次要操作,success 用于确认操作,warning 用于需要谨慎的操作,error 用于破坏性操作,retry 用于重试操作,back 用于导航。"},size:{name:"size",type:"'small' | 'medium' | 'large' | 'xlarge'",description:"按钮的尺寸。small 适用于紧凑空间,medium 用于一般用途,large 用于强调,xlarge 用于突出显示的操作。"},shape:{name:"shape",type:"'square' | 'rounded' | 'circle'",description:"按钮的形状。square 有锐利的边角,rounded 有柔和的边角,circle 是完全圆形的。"},borderRadius:{name:"borderRadius",type:"'none' | 'small' | 'medium' | 'large' | 'circle' | 'square' | number",description:"按钮的自定义圆角。可以是预定义的值或以像素为单位的具体数字。"},disabled:{name:"disabled",type:"boolean",description:"按钮是否禁用。禁用的按钮无法点击且显示为淡化状态。"},loading:{name:"loading",type:"boolean",description:"按钮是否处于加载状态。加载时显示加载动画并阻止点击。"},active:{name:"active",type:"boolean",description:"按钮是否处于激活状态。激活的按钮显示为按下的状态。"},onClick:{name:"onClick",type:"(event: React.MouseEvent) => void",description:"点击按钮时触发的回调函数。"},children:{name:"children",type:"React.ReactNode",description:"按钮内显示的内容。可以是文本、图标或其他元素。"},className:{name:"className",type:"string",description:"要添加到按钮的额外 CSS 类名。"},ariaLabel:{name:"ariaLabel",type:"string",description:"为屏幕阅读器提供的无障碍标签。对于仅包含图标的按钮尤为重要。"}},examples:{title:"示例",basic:{title:"基础用法",description:"按钮最基本的用法。使用 primary 变体表示主要操作。"},variants:{title:"按钮变体",description:"不同用途的按钮样式。根据操作的重要性和含义选择合适的变体。"},sizes:{title:"按钮尺寸",description:"按钮有四种尺寸:small 用于紧凑布局,medium 用于一般用途,large 用于强调,xlarge 用于突出显示的操作。"},shapes:{title:"按钮形状",description:"按钮可以有不同的形状以匹配您的设计需求。square 用于传统外观,rounded 用于现代感,circle 用于图标按钮。"},borderRadius:{title:"圆角",description:"自定义按钮的圆角。使用预定义的值或指定以像素为单位的自定义圆角。"},states:{title:"按钮状态",description:"按钮可以处于不同状态:正常、加载中(显示加载动画)、禁用(无法点击)和激活(显示为按下状态)。"},withIcons:{title:"带图标的按钮",description:"按钮可以包含图标以增强视觉交互。图标可以放在文本前面或后面。"},block:{title:"块级按钮",description:"块级按钮会占据其容器的全部宽度。适用于移动端界面或需要与其他元素对齐宽度的场景。"},customStyles:{title:"自定义样式",description:"按钮可以使用 CSS 自定义样式。这里展示了一些自定义样式的按钮示例。"}}},switch:{title:"开关",description:"开关允许用户打开或关闭选项。",basic:"基础开关",sizes:"开关尺寸",disabled:"禁用状态",loading:"加载状态",customColors:"自定义颜色",text:"文本和图标"},alert:{title:"警告提示",description:"警告提示用于向用户显示重要信息。",basic:"基础警告提示",types:"警告提示类型",withIcon:"带图标",closable:"可关闭"},textfield:{title:"文本框",description:"文本框允许用户输入和编辑文本。",installation:"安装",basic_usage:"基础用法",examples:"示例",sizes:"文本框尺寸",states:"文本框状态",prefix:"前缀和后缀",clearable:"可清除输入",password:"密码输入",textarea:"文本域",properties:{title:"属性",value:{name:"value",type:"string",description:"文本框的值。"},placeholder:{name:"placeholder",type:"string",description:"文本框为空时的占位文本。"},disabled:{name:"disabled",type:"boolean",description:"文本框是否禁用。"},error:{name:"error",type:"boolean",description:"文本框是否处于错误状态。"},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"文本框的尺寸。"}}},radio:{title:"单选框",description:"单选框允许用户从一组选项中选择一个。",basic:"基础用法",disabled:"禁用",group:"单选框组",direction:"方向",button:"按钮样式"},checkbox:{title:"复选框",description:"复选框允许用户从一组选项中选择一个或多个。",basic:"基础复选框",shapes:"复选框形状",sizes:"复选框尺寸",customIcons:"自定义图标",customStyles:"自定义颜色和样式"},avatar:{title:"头像",description:"头像用图片或字母代表用户或实体。",basic:"基础用法",sizes:"尺寸",types:"类型",group:"头像组",badge:"带徽标"},badge:{title:"徽标",description:"徽标是 UI 元素的小型状态描述符。",basic:"基础用法",max:"最大值",dot:"点状徽标",status:"状态",colors:"自定义颜色"},card:{title:"卡片",description:"卡片包含关于单个主题的内容和操作。",basic:"基础用法",title_prop:"带标题",bordered:"带边框",hoverable:"可悬浮",loading:"加载中",grid:"网格卡片",inner:"内部卡片"},chip:{title:"纸片",description:"纸片表示小块信息。",basic:"基础用法",variants:"变体",sizes:"尺寸",removable:"可移除",icon:"带图标",colors:"自定义颜色"},divider:{title:"分割线",description:"分割线将内容分成清晰的组。",basic:"基础用法",orientation:"文本位置",type:"分割线类型",styles:"样式"},dropdown:{title:"下拉菜单",description:"下拉菜单显示操作或选项列表。",basic:"基础用法",placement:"位置",trigger:"触发方式",disabled:"禁用",nested:"嵌套菜单"},message:{title:"消息",description:"消息提供关于用户操作的反馈。",basic:"基础用法",types:"消息类型",duration:"持续时间",loading:"加载中",promise:"Promise 接口"},progress:{title:"进度条",description:"进度指示器表示不确定的等待时间。",basic:"基础用法",types:"进度条类型",sizes:"尺寸",status:"状态",dynamic:"动态"},skeleton:{title:"骨架屏",description:"骨架屏在内容加载前提供低保真的表现形式。",basic:"基础用法",animated:"动画",complex:"复杂组合",active:"动态动画"},space:{title:"间距",description:"设置组件之间的间距",basic:"基础用法",size:"尺寸",align:"对齐",direction:"方向",customization:"自定义"},tag:{title:"标签",description:"用于标记和选择",basic:"基础用法",sizes:"尺寸",color:"颜色",closable:"可关闭",icon:"带图标",customization:"自定义"},tooltip:{title:"文字提示",description:"简单的文字弹出提示",basic:"基础用法",placement:"位置",trigger:"触发方式",customization:"自定义"},popper:{title:"弹出框",description:"创建自定义弹出内容",basic:"基础用法",placement:"位置",trigger:"触发方式",arrow:"箭头"},searchButton:{title:"搜索按钮",description:"用于触发搜索操作的特殊按钮",basic:"基础用法",sizes:"尺寸",loading:"加载中",customization:"自定义"},statusIndicator:{title:"状态指示器",description:"显示元素的当前状态",basic:"基础用法",sizes:"尺寸",colors:"颜色",animation:"动画"},timePicker:{title:"时间选择器",description:"用于选择特定时间",basic:"基础用法",format:"格式",range:"范围选择",disabled:"禁用"},virtualList:{title:"虚拟列表",description:"高效渲染大型列表",basic:"基础用法",height:"固定高度",dynamic:"动态高度",loading:"加载中"},autoComplete:{title:"自动完成",description:"带有自动完成建议的输入框",basic:"基础用法",customization:"自定义",async:"异步加载",grouping:"分组"},empty:{title:"空状态",description:"空状态占位符",basic:"基础用法",customization:"自定义",image:"图片"},cascader:{title:"级联选择",description:"级联选择器",basic:"基础用法",size:"尺寸",multiple:"多选",async:"异步加载"},iconButton:{title:"图标按钮",description:"图标按钮仅包含图标,通常用于工具栏或紧凑的界面中。",basic:"基础用法",sizes:"尺寸",variants:"变体",states:"状态"},common:{installation:"安装",basic_usage:"基础用法",examples:"示例",customization:"自定义",api:{property:"属性",description:"说明",type:"类型",default:"默认值"},props:"属性",events:"事件",methods:"方法",slots:"插槽"},pagination:{title:"分页",description:"采用分页的形式分隔长列表,每次只加载一个页面。",installation:"安装",installation_description:"使用 npm 或 yarn 安装分页组件。",basic_usage:"基础用法",basic_usage_description:"分页组件提供了一种简单的方式来处理大量数据。",when_to_use:{title:"何时使用",items:["当加载/渲染所有数据将花费很多时间时","可切换页码浏览数据时","数据量较大时"]},examples:{title:"示例",introduction:{title:"介绍",description:"分页组件允许您将大量内容分成较小的块,并在它们之间导航。"},basic:{title:"基本用法",description:"最简单的分页组件用法。"},sizes:{title:"不同尺寸",description:"提供三种尺寸:小、中(默认)、大。"},shapes:{title:"不同形状",description:"提供三种形状:方形、圆角(默认)、圆形。"},variants:{title:"不同变体",description:"提供三种变体:填充(默认)、描边、文本。"},more:{title:"更多功能",description:"更多功能,如快速跳转、页码选择器和总数显示。"},large:{title:"大数据",description:"大数据集的分页,带有快速导航和尺寸选项。"},custom:{title:"自定义渲染",description:"自定义分页项和导航图标的渲染。"},simple:{title:"简洁模式",description:"简洁模式下会显示较少的页码。"},disabled:{title:"禁用状态",description:"分页组件可以被禁用,此时不可交互。"},responsive:{title:"响应式布局",description:"在响应式模式下,小屏幕上会隐藏部分项目。"}},properties:{title:"属性",description:"分页组件提供以下属性:",current:"当前页码",total:"总条目数",pageSize:"每页条目数",onChange:"页码或每页条目数改变时的回调",disabled:"是否禁用分页",showQuickJumper:"是否显示快速跳转",showSizeChanger:"是否显示页码选择器",pageSizeOptions:"页码选择器的选项",itemRender:"自定义页码的渲染函数",showTotal:"是否显示总数",totalRender:"自定义总数文本的渲染函数",size:"分页的尺寸",shape:"分页项的形状",variant:"分页项的变体",simple:"是否使用简洁模式",responsive:"是否使用响应式模式",icons:"自定义导航图标"}},webComponentButton:{examples:{basic:{title:"基础用法",description:"按钮的基本用法。使用 primary 变体表示主要操作。"},variants:{title:"按钮变体",description:"不同用途的按钮样式。"},sizes:{title:"按钮尺寸",description:"不同场景下使用不同尺寸的按钮。"},shapes:{title:"按钮形状",description:"按钮可以有不同的形状以匹配您的设计需求。"},borderRadius:{title:"圆角",description:"自定义按钮的圆角大小。"},rippleEffect:{title:"涟漪效果",description:"点击按钮时可以显示涟漪效果。"}}}},W6={title:"糟糕!",description:"抱歉,发生了意外错误。",back_home:"返回首页",refresh:"刷新页面"},q6={title:"404",description:"抱歉,您访问的页面不存在。",back_home:"返回首页"},V6={lib:U6,components:H6,error:W6,notFound:q6},K6={title:"Minerva UI",description:"モダンな React コンポーネントライブラリ",about:"概要","about.description":"Minerva UI は、モダンなウェブアプリケーションを構築するための再利用可能でアクセシブルなコンポーネントを提供する包括的な React コンポーネントライブラリです。",installation:"インストール","installation.title":"インストール","installation.description":"プロジェクトに Minerva UI をインストールして始めましょう。","installation.usage.title":"使用方法","installation.usage.description":"React アプリケーションでコンポーネントをインポートして使用します。","installation.requirements.title":"要件","installation.cdn.title":"CDN","installation.cdn.description":"CDN から直接 Minerva UI を使用することもできます。",features:{title:"機能",modern:{title:"モダンなデザイン",description:"モダンなデザイン原則とベストプラクティスを念頭に置いて構築されています。"},customizable:{title:"高度にカスタマイズ可能",description:"ブランドやデザインシステムに合わせて簡単にコンポーネントをカスタマイズできます。"},typescript:{title:"TypeScript サポート",description:"より良い開発体験のために、完全な型サポートを備えた TypeScript で書かれています。"},performance:{title:"パフォーマンス重視",description:"最小限のバンドルサイズと効率的なレンダリングでパフォーマンスを最適化。"}},getStarted:{title:"はじめに",description:"Minerva UI コンポーネントで次のプロジェクトを構築しましょう。"}},G6={menu:{getting_started:"はじめに",inputs:"入力",data_display:"データ表示",feedback:"フィードバック",navigation:"ナビゲーション"},installation:{title:"インストール",description:"プロジェクトに Minerva UI をインストールして始めましょう",package:{title:"パッケージのインストール",description:"お好みのパッケージマネージャーで Minerva UI をインストール"},setup:{title:"プロジェクトの設定",description:"React アプリケーションで Minerva UI を設定"},next:{title:"次のステップ",description:"Minerva UI についてさらに学ぶ",introduction:"はじめにを読む",theming:"テーマについて学ぶ",components:"コンポーネントを見る"}},overview:{title:"概要",description:"美しくアクセシブルなインターフェースを構築するためのモダンな React UI ライブラリ",features:{title:"主な機能",modern:{title:"モダンなデザイン",description:"モダンなデザイン原則とベストプラクティスを念頭に置いて構築。"},performance:{title:"パフォーマンス重視",description:"最小限のバンドルサイズと効率的なレンダリングでパフォーマンスを最適化。"},theme:{title:"テーマサポート",description:"コンポーネントのあらゆる側面をカスタマイズできる包括的なテーマシステム。"},responsive:{title:"レスポンシブデザイン",description:"すべてのデバイスサイズで完璧に動作するように設計されたコンポーネント。"}},quickstart:{title:"クイックスタート",description:"パッケージをインストールしてコンポーネントをインポートすることで、すぐに Minerva UI を使い始めることができます。"},support:{title:"ブラウザサポート",description:"Minerva UI はすべてのモダンブラウザに対応しています。"}},introduction:{title:"はじめに",description:"Minerva UI の機能と特徴について学びましょう",what:{title:"Minerva UI とは",description:"Minerva UI は、美しくアクセシブルなユーザーインターフェースを迅速かつ効率的に構築するための現代的な React コンポーネントライブラリです。",features:{components:{title:"豊富なコンポーネント",description:"デザインとアクセシビリティのベストプラクティスに従った、包括的なプリビルドコンポーネントセット。"},customization:{title:"高度なカスタマイズ性",description:"ブランドに合わせてコンポーネントのあらゆる側面をカスタマイズできる柔軟なテーマシステム。"},typescript:{title:"TypeScript サポート",description:"完全な型サポートとコード補完を備えた、より良い開発体験のための TypeScript 実装。"}}}},theming:{title:"テーマ設定",description:"コンポーネントの外観をカスタマイズ",tokens:"デザイントークン",colors:"カラーシステム",typography:"タイポグラフィ",spacing:"スペーシング"},button:{title:"ボタン",description:"ボタンを使用すると、ユーザーは1回のタップでアクションを実行し、選択を行うことができます。",installation:"インストール",installation_description:"パッケージマネージャーを使用してボタンコンポーネントをインストールします。",properties:{title:"プロパティ",variant:{name:"variant",type:"'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'retry' | 'back'",description:"ボタンの視覚的なスタイル。各バリアントには独自の意味があります:primary はメインアクション用、secondary は重要度の低いアクション用、success は確認用、warning は注意が必要なアクション用、error は破壊的なアクション用、retry は再試行用、back はナビゲーション用です。"},size:{name:"size",type:"'small' | 'medium' | 'large' | 'xlarge'",description:"ボタンのサイズ。small は狭いスペース用、medium は一般的な用途、large は強調用、xlarge は目立つアクション用です。"},shape:{name:"shape",type:"'square' | 'rounded' | 'circle'",description:"ボタンの形状。square は鋭い角、rounded は柔らかい角、circle は完全な円形です。"},borderRadius:{name:"borderRadius",type:"'none' | 'small' | 'medium' | 'large' | 'circle' | 'square' | number",description:"ボタンのカスタム角丸。事前定義された値またはピクセル単位の具体的な数値を指定できます。"},disabled:{name:"disabled",type:"boolean",description:"ボタンが無効かどうか。無効なボタンはクリックできず、フェードアウトして表示されます。"},loading:{name:"loading",type:"boolean",description:"ボタンが読み込み中の状態かどうか。読み込み中はスピナーを表示し、クリックを防止します。"},active:{name:"active",type:"boolean",description:"ボタンがアクティブな状態かどうか。アクティブなボタンは押された状態で表示されます。"},onClick:{name:"onClick",type:"(event: React.MouseEvent) => void",description:"ボタンがクリックされたときにトリガーされるコールバック関数。"},children:{name:"children",type:"React.ReactNode",description:"ボタン内に表示されるコンテンツ。テキスト、アイコン、その他の要素を含めることができます。"},className:{name:"className",type:"string",description:"ボタンに追加するCSSクラス名。"},ariaLabel:{name:"ariaLabel",type:"string",description:"スクリーンリーダー用のアクセシブルなラベル。アイコンのみを含むボタンには特に重要です。"}},examples:{title:"例",basic:{title:"基本的な使用法",description:"ボタンの最も基本的な使用法。メインアクションにはprimaryバリアントを使用します。"},variants:{title:"ボタンのバリアント",description:"異なる目的のための異なるボタンスタイル。アクションの重要性と意味に基づいて適切なバリアントを選択します。"},sizes:{title:"ボタンのサイズ",description:"ボタンには4つのサイズがあります:コンパクトなレイアウト用のsmall、一般的な用途のmedium、強調用のlarge、目立つアクション用のxlargeです。"},shapes:{title:"ボタンの形状",description:"デザインニーズに合わせて異なる形状を選択できます。従来の外観にはsquare、モダンな印象にはrounded、アイコンボタンにはcircleを使用します。"},borderRadius:{title:"角丸",description:"ボタンの角の丸みをカスタマイズします。事前定義された値を使用するか、ピクセル単位でカスタム角丸を指定します。"},states:{title:"ボタンの状態",description:"ボタンには異なる状態があります:通常、読み込み中(スピナーを表示)、無効(クリック不可)、アクティブ(押された状態)。"},withIcons:{title:"アイコン付きボタン",description:"ボタンにはビジュアルコミュニケーションを強化するためのアイコンを含めることができます。アイコンはテキストの前後に配置できます。"},block:{title:"ブロックボタン",description:"ブロックボタンはコンテナの全幅に広がります。モバイルインターフェースやボタンの幅を他の要素と揃えたい場合に便利です。"},customStyles:{title:"カスタムスタイル",description:"ボタンはCSSを使用して独自のスタイルをカスタマイズできます。カスタムスタイルを適用したボタンの例をいくつか紹介します。"}}},switch:{title:"スイッチ",description:"スイッチはオプションのオン/オフを切り替えることができます。",basic:"基本的なスイッチ",sizes:"スイッチのサイズ",disabled:"無効状態",loading:"ローディング状態",customColors:"カスタムカラー",text:"テキストとアイコン"},alert:{title:"アラート",description:"アラートはユーザーに重要なメッセージを表示します。",basic:"基本的なアラート",types:"アラートの種類",withIcon:"アイコン付き",closable:"閉じることができる"},common:{installation:"インストール",basic_usage:"基本的な使い方",examples:"例",customization:"カスタマイズ",api:{property:"プロパティ",description:"説明",type:"型",default:"デフォルト"},props:"プロパティ",events:"イベント",methods:"メソッド",slots:"スロット"},avatar:{title:"アバター",description:"ユーザープロフィール画像を表示するためのアバターコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",sizes:"アバターのサイズ",badge:"バッジ付き"},iconButton:{title:"アイコンボタン",description:"アイコンのみを含むボタン、通常はツールバーやコンパクトなインターフェースで使用",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",sizes:"アイコンボタンのサイズ",variants:"アイコンボタンの種類",states:"アイコンボタンの状態"},progress:{title:"プログレス",description:"完了状態を表示するためのプログレスインジケーター",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"プログレスの種類",sizes:"プログレスのサイズ",states:"プログレスの状態"},message:{title:"メッセージ",description:"一時的な通知を表示するためのメッセージコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"メッセージの種類",duration:"表示時間",placement:"表示位置"},tooltip:{title:"ツールチップ",description:"追加情報を表示するためのツールチップコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",placement:"表示位置",trigger:"トリガー",delay:"表示遅延"},popper:{title:"ポッパー",description:"フローティング要素を配置するためのポッパーコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",placement:"配置位置",offset:"オフセット",arrow:"矢印付き"},searchButton:{title:"検索ボタン",description:"検索機能を統合した検索ボタンコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"ボタンの種類",sizes:"ボタンのサイズ",states:"ボタンの状態"},statusIndicator:{title:"ステータスインジケーター",description:"現在の状態を表示するためのステータスインジケーターコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"ステータスの種類",sizes:"インジケーターのサイズ",pulse:"パルスエフェクト"},timePicker:{title:"タイムピッカー",description:"時間を選択するためのタイムピッカーコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",format:"時間フォーマット",range:"時間範囲",validation:"時間の検証"},virtualList:{title:"バーチャルリスト",description:"大きなリストを効率的にレンダリングするためのバーチャルリストコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",height:"リストの高さ",itemSize:"アイテムのサイズ",scrolling:"スムーズスクロール"},autoComplete:{title:"オートコンプリート",description:"入力候補を表示するためのオートコンプリートコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",filter:"カスタムフィルター",async:"非同期データ",templates:"カスタムテンプレート"},empty:{title:"空の状態",description:"データがない場合の空の状態を表示するコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",image:"カスタム画像",description_custom:"カスタム説明",action:"アクション付き"},cascader:{title:"カスケード選択",description:"階層データから選択するためのカスケード選択コンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",options:"カスタムオプション",loading:"ローディング状態",search:"検索機能"},space:{title:"スペース",description:"レイアウトの間隔を管理するためのスペースコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",size:"スペースのサイズ",align:"配置",direction:"方向"},tag:{title:"タグ",description:"分類とフィルタリングのためのタグコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",color:"タグの色",size:"タグのサイズ",closable:"閉じることができるタグ"},textfield:{title:"テキストフィールド",description:"テキストフィールドはユーザーがテキストを入力・編集できるようにします。",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",sizes:"テキストフィールドのサイズ",states:"テキストフィールドの状態",prefix:"プレフィックスとサフィックス",clearable:"クリア可能",password:"パスワード入力",textarea:"テキストエリア",properties:{title:"プロパティ",value:{name:"value",type:"string",description:"テキストフィールドの値。"},placeholder:{name:"placeholder",type:"string",description:"フィールドが空の時のプレースホルダーテキスト。"},disabled:{name:"disabled",type:"boolean",description:"テキストフィールドが無効化されているかどうか。"},error:{name:"error",type:"boolean",description:"テキストフィールドがエラー状態かどうか。"},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"テキストフィールドのサイズ。"}}},pagination:{title:"ページネーション",description:"長いリストを複数のページに分割し、一度に1ページのみを読み込みます。",installation:"インストール",installation_description:"npm または yarn を使用してページネーションコンポーネントをインストールします。",basic_usage:"基本的な使い方",basic_usage_description:"ページネーションコンポーネントは、大量のデータを扱うためのシンプルな方法を提供します。",when_to_use:{title:"使用するとき",items:["すべてのデータの読み込み/レンダリングに時間がかかる場合","ページを切り替えてデータを閲覧する必要がある場合","大量のデータを扱う場合"]},examples:{title:"例",introduction:{title:"はじめに",description:"ページネーションを使用すると、大量のコンテンツを小さなチャンクに分割して、それらの間を移動できます。"},basic:{title:"基本的な使い方",description:"最も簡単なページネーションの使用方法です。"},sizes:{title:"サイズの違い",description:"3つのサイズが利用可能です:小、中(デフォルト)、大。"},shapes:{title:"形状の違い",description:"3つの形状が利用可能です:四角、丸角(デフォルト)、円形。"},variants:{title:"バリアントの違い",description:"3つのバリアントが利用可能です:塗りつぶし(デフォルト)、アウトライン、テキスト。"},more:{title:"その他の機能",description:"クイックジャンパー、サイズチェンジャー、合計表示などの追加機能。"},large:{title:"大規模データ",description:"クイックナビゲーションとサイズオプションを備えた大規模データセットのページネーション。"},custom:{title:"カスタムレンダリング",description:"ページネーション項目とナビゲーションアイコンのカスタマイズ。"},simple:{title:"シンプルモード",description:"シンプルモードではページ項目が少なく表示されます。"},disabled:{title:"無効状態",description:"ページネーションの無効状態です。"},responsive:{title:"レスポンシブ",description:"レスポンシブモードでは、小さな画面で一部の項目が非表示になります。"}},properties:{title:"プロパティ",description:"ページネーションコンポーネントで利用可能なプロパティ:",current:"現在のページ番号",total:"アイテムの総数",pageSize:"1ページあたりのアイテム数",onChange:"ページまたはページサイズが変更されたときのコールバック",disabled:"ページネーションを無効にするかどうか",showQuickJumper:"クイックジャンパーを表示するかどうか",showSizeChanger:"ページサイズチェンジャーを表示するかどうか",pageSizeOptions:"ページサイズチェンジャーのオプション",itemRender:"ページ項目のカスタムレンダリング関数",showTotal:"合計を表示するかどうか",totalRender:"合計テキストのカスタムレンダリング関数",size:"ページネーションのサイズ",shape:"ページネーション項目の形状",variant:"ページネーション項目のバリアント",simple:"シンプルモードを使用するかどうか",responsive:"レスポンシブモードを使用するかどうか",icons:"カスタムナビゲーションアイコン"}},webComponentButton:{examples:{basic:{title:"基本的な使用法",description:"ボタンの基本的な使用法です。主要なアクションにはprimaryバリアントを使用します。"},variants:{title:"ボタンのバリエーション",description:"異なる用途のための異なるボタンスタイル。"},sizes:{title:"ボタンのサイズ",description:"異なる用途のための様々なサイズのボタン。"},shapes:{title:"ボタンの形状",description:"ニーズに合わせて異なる形状のボタンを選択できます。"},borderRadius:{title:"角丸",description:"ボタンの角の丸みをカスタマイズします。"},rippleEffect:{title:"リップルエフェクト",description:"クリック時にリップルエフェクトを表示できます。"}}}},Q6={title:"おっと!",description:"申し訳ありません。予期せぬエラーが発生しました。",back_home:"ホームに戻る",refresh:"ページを更新"},J6={title:"404",description:"申し訳ありません。お探しのページは存在しません。",back_home:"ホームに戻る"},Y6={lib:K6,components:G6,error:Q6,notFound:J6},X6={title:"Minerva UI",description:"Une bibliothèque moderne de composants React",about:"À propos","about.description":"Minerva UI est une bibliothèque complète de composants React qui fournit un ensemble de composants réutilisables, accessibles et personnalisables pour vous aider à construire des applications web modernes.",installation:"Installation","installation.title":"Installation","installation.description":"Commencez avec Minerva UI en l'installant dans votre projet.","installation.usage.title":"Utilisation","installation.usage.description":"Importez et utilisez les composants dans votre application React.","installation.requirements.title":"Prérequis","installation.cdn.title":"CDN","installation.cdn.description":"Vous pouvez également utiliser Minerva UI directement depuis un CDN.",features:{title:"Fonctionnalités",modern:{title:"Design Moderne",description:"Construit avec les principes de design modernes et les meilleures pratiques à l'esprit."},customizable:{title:"Hautement Personnalisable",description:"Personnalisez facilement les composants pour correspondre à votre marque et votre système de design."},typescript:{title:"Support TypeScript",description:"Écrit en TypeScript avec un support complet des types pour une meilleure expérience de développement."},performance:{title:"Axé sur la Performance",description:"Optimisé pour la performance avec une taille de bundle minimale et un rendu efficace."}},getStarted:{title:"Commencer",description:"Commencez à construire votre prochain projet avec les composants Minerva UI."}},Z6={menu:{getting_started:"Pour Commencer",inputs:"Entrées",data_display:"Affichage des Données",feedback:"Retour",navigation:"Navigation"},installation:{title:"Installation",description:"Commencez avec Minerva UI en l'installant dans votre projet",package:{title:"Installation du Package",description:"Installez Minerva UI avec votre gestionnaire de paquets préféré"},setup:{title:"Configuration du Projet",description:"Configurez Minerva UI dans votre application React"},next:{title:"Prochaines Étapes",description:"En savoir plus sur Minerva UI",introduction:"Lire l'Introduction",theming:"Découvrir la Thématisation",components:"Parcourir les Composants"}},overview:{title:"Vue d'ensemble",description:"Une bibliothèque moderne de composants React pour construire des interfaces belles et accessibles",features:{title:"Fonctionnalités Clés",modern:{title:"Design Moderne",description:"Construit avec les principes de design modernes et les meilleures pratiques à l'esprit."},performance:{title:"Axé sur la Performance",description:"Optimisé pour la performance avec une taille de bundle minimale et un rendu efficace."},theme:{title:"Support des Thèmes",description:"Système de thèmes complet qui permet de personnaliser chaque aspect des composants."},responsive:{title:"Design Responsive",description:"Les composants sont conçus pour fonctionner parfaitement sur tous les formats d'écran."}},quickstart:{title:"Démarrage Rapide",description:"Commencez rapidement avec Minerva UI en installant le package et en important les composants."},support:{title:"Support des Navigateurs",description:"Minerva UI est compatible avec tous les navigateurs modernes."}},introduction:{title:"Introduction",description:"Découvrez les fonctionnalités et les capacités de Minerva UI",what:{title:"Qu'est-ce que Minerva UI",description:"Minerva UI est une bibliothèque moderne de composants React conçue pour vous aider à construire rapidement et efficacement des interfaces utilisateur belles et accessibles.",features:{components:{title:"Bibliothèque Riche en Composants",description:"Un ensemble complet de composants préconçus qui suivent les meilleures pratiques en matière de design et d'accessibilité."},customization:{title:"Hautement Personnalisable",description:"Système de thèmes flexible qui vous permet de personnaliser chaque aspect des composants pour correspondre à votre marque."},typescript:{title:"Support TypeScript",description:"Construit avec TypeScript pour une meilleure expérience de développement avec un support complet des types et une complétion de code."}}}},theming:{title:"Thématisation",description:"Personnalisez l'apparence de vos composants",tokens:"Tokens de Design",colors:"Système de Couleurs",typography:"Typographie",spacing:"Espacement"},button:{title:"Bouton",description:"Les boutons permettent aux utilisateurs d'effectuer des actions et de faire des choix d'un simple clic.",variants:"Variantes de Bouton",sizes:"Tailles de Bouton",states:"États de Bouton",shapes:"Formes de Bouton",customStyles:"Styles Personnalisés",basic:"Utilisation de Base",icons:"Avec Icônes",loading:"État de Chargement",block:"Bouton Block",disabled:"État Désactivé",installation:"Installation",installation_description:"Installez le composant bouton en utilisant votre gestionnaire de paquets.",properties:{title:"Propriétés",variant:{name:"variant",type:"'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'retry' | 'back'",description:"Le style visuel du bouton. Chaque variante a sa propre signification sémantique : primary pour les actions principales, secondary pour les actions secondaires, success pour les confirmations, warning pour les actions nécessitant de la prudence, error pour les actions destructrices, retry pour les réessais, back pour la navigation."},size:{name:"size",type:"'small' | 'medium' | 'large' | 'xlarge'",description:"La taille du bouton. Small pour les espaces restreints, medium pour une utilisation générale, large pour l'emphase, et xlarge pour les actions proéminentes."},shape:{name:"shape",type:"'square' | 'rounded' | 'circle'",description:"La forme du bouton. Square a des coins nets, rounded a des coins arrondis, et circle est parfaitement rond."},borderRadius:{name:"borderRadius",type:"'none' | 'small' | 'medium' | 'large' | 'circle' | 'square' | number",description:"Le rayon de bordure personnalisé du bouton. Peut être une valeur prédéfinie ou un nombre spécifique en pixels."},disabled:{name:"disabled",type:"boolean",description:"Si le bouton est désactivé. Les boutons désactivés ne peuvent pas être cliqués et apparaissent estompés."},loading:{name:"loading",type:"boolean",description:"Si le bouton est en état de chargement. Affiche un spinner et empêche les clics pendant le chargement."},active:{name:"active",type:"boolean",description:"Si le bouton est en état actif. Les boutons actifs apparaissent enfoncés."},onClick:{name:"onClick",type:"(event: React.MouseEvent) => void",description:"Fonction de rappel déclenchée lorsque le bouton est cliqué."},children:{name:"children",type:"React.ReactNode",description:"Le contenu à afficher à l'intérieur du bouton. Peut être du texte, des icônes ou d'autres éléments."},className:{name:"className",type:"string",description:"Noms de classes CSS supplémentaires à ajouter au bouton."},ariaLabel:{name:"ariaLabel",type:"string",description:"Étiquette accessible pour les lecteurs d'écran. Important pour les boutons qui ne contiennent que des icônes."}},examples:{title:"Exemples",basic:{title:"Utilisation de base",description:"L'utilisation la plus basique d'un bouton. Utilisez la variante primary pour les actions principales."},variants:{title:"Variantes de boutons",description:"Différents styles de boutons pour différents usages. Choisissez la variante appropriée en fonction de l'importance et de la signification de l'action."},sizes:{title:"Tailles de boutons",description:"Les boutons existent en quatre tailles : small pour les mises en page compactes, medium pour une utilisation générale, large pour l'emphase, et xlarge pour les actions proéminentes."},shapes:{title:"Formes de boutons",description:"Les boutons peuvent avoir différentes formes pour correspondre à vos besoins de design. Square pour un look traditionnel, rounded pour une sensation moderne, et circle pour les boutons avec icône."},borderRadius:{title:"Rayon de bordure",description:"Personnalisez l'arrondi des coins des boutons. Utilisez des valeurs prédéfinies ou spécifiez un rayon personnalisé en pixels."},states:{title:"États des boutons",description:"Les boutons peuvent être dans différents états : normal, chargement (affiche un spinner), désactivé (non cliquable), et actif (apparaît enfoncé)."},withIcons:{title:"Boutons avec icônes",description:"Les boutons peuvent inclure des icônes pour améliorer la communication visuelle. Les icônes peuvent être placées avant ou après le texte."},block:{title:"Bouton bloc",description:"Un bouton bloc occupe toute la largeur de son conteneur. Utile pour les interfaces mobiles ou lorsque vous souhaitez aligner la largeur du bouton avec d'autres éléments."},customStyles:{title:"Styles personnalisés",description:"Les boutons peuvent être personnalisés avec vos propres styles en utilisant CSS. Voici quelques exemples de boutons avec des styles personnalisés."}}},common:{installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",customization:"Personnalisation",api:{property:"Propriété",description:"Description",type:"Type",default:"Par défaut"},props:"Propriétés",events:"Événements",methods:"Méthodes",slots:"Slots"},alert:{title:"Alerte",description:"Composant d'alerte pour afficher des messages importants",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes d'Alerte",customization:"Personnalisation"},avatar:{title:"Avatar",description:"Composant d'avatar pour afficher des images de profil",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles d'Avatar",badge:"Avec Badge"},iconButton:{title:"Bouton Icône",description:"Boutons icônes contenant uniquement des icônes, généralement utilisés dans les barres d'outils",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles de Bouton Icône",variants:"Variantes de Bouton Icône",states:"États de Bouton Icône"},switch:{title:"Interrupteur",description:"Composant interrupteur pour basculer entre deux états",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles d'Interrupteur",states:"États d'Interrupteur",customization:"Personnalisation"},progress:{title:"Progression",description:"Indicateurs de progression pour montrer l'état d'avancement",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Progression",sizes:"Tailles de Progression",states:"États de Progression"},message:{title:"Message",description:"Composant de message pour afficher des notifications temporaires",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Message",duration:"Durée du Message",placement:"Placement du Message"},tooltip:{title:"Info-bulle",description:"Composant info-bulle pour afficher des informations supplémentaires",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",placement:"Placement de l'Info-bulle",trigger:"Déclencheur de l'Info-bulle",delay:"Délai de l'Info-bulle"},popper:{title:"Popper",description:"Composant popper pour positionner des éléments flottants",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",placement:"Placement du Popper",offset:"Décalage du Popper",arrow:"Avec Flèche"},searchButton:{title:"Bouton de Recherche",description:"Composant bouton de recherche avec fonctionnalité de recherche intégrée",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Bouton",sizes:"Tailles de Bouton",states:"États de Bouton"},statusIndicator:{title:"Indicateur de Statut",description:"Composant indicateur de statut pour montrer l'état actuel",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Statut",sizes:"Tailles d'Indicateur",pulse:"Avec Effet Pulsation"},timePicker:{title:"Sélecteur de Temps",description:"Composant de sélection de temps",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",format:"Format de Temps",range:"Plage de Temps",validation:"Validation de Temps"},virtualList:{title:"Liste Virtuelle",description:"Composant de liste virtuelle pour le rendu efficace de grandes listes",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",height:"Hauteur de Liste",itemSize:"Taille d'Élément",scrolling:"Défilement Fluide"},autoComplete:{title:"Auto-complétion",description:"Composant d'auto-complétion pour les suggestions de saisie",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",filter:"Filtre Personnalisé",async:"Données Asynchrones",templates:"Modèles Personnalisés"},empty:{title:"État Vide",description:"Composant d'état vide pour les scénarios sans données",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",image:"Image Personnalisée",description_custom:"Description Personnalisée",action:"Avec Action"},cascader:{title:"Sélecteur en Cascade",description:"Composant de sélection en cascade pour les données hiérarchiques",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",options:"Options Personnalisées",loading:"État de Chargement",search:"Fonction de Recherche"},space:{title:"Espace",description:"Composant espace pour gérer l'espacement de mise en page",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",size:"Taille d'Espace",align:"Alignement d'Espace",direction:"Direction d'Espace"},tag:{title:"Étiquette",description:"Composant étiquette pour la catégorisation et le filtrage",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",color:"Couleurs d'Étiquette",size:"Tailles d'Étiquette",closable:"Étiquettes Fermables"},textfield:{title:"Champ de Texte",description:"Les champs de texte permettent aux utilisateurs de saisir et de modifier du texte.",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles de Champ",states:"États du Champ",prefix:"Préfixe et Suffixe",clearable:"Effaçable",password:"Champ de Mot de Passe",textarea:"Zone de Texte",properties:{title:"Propriétés",value:{name:"value",type:"string",description:"La valeur du champ de texte."},placeholder:{name:"placeholder",type:"string",description:"Texte d'indication lorsque le champ est vide."},disabled:{name:"disabled",type:"boolean",description:"Si le champ de texte est désactivé."},error:{name:"error",type:"boolean",description:"Si le champ de texte est en état d'erreur."},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"La taille du champ de texte."}}},pagination:{title:"Pagination",description:"Une longue liste peut être divisée en plusieurs pages à l'aide de la pagination, et une seule page sera chargée à la fois.",installation:"Installation",installation_description:"Installez le composant Pagination en utilisant npm ou yarn.",basic_usage:"Utilisation de base",basic_usage_description:"Le composant Pagination fournit un moyen simple de gérer de grands ensembles de données.",when_to_use:{title:"Quand utiliser",items:["Lorsque le chargement/rendu de toutes les données prendra beaucoup de temps","Lorsque vous devez parcourir les données en changeant de page","Lorsque vous traitez de grandes quantités de données"]},examples:{title:"Exemples",introduction:{title:"Introduction",description:"La pagination vous permet de diviser de grands ensembles de contenu en plus petits morceaux et de naviguer entre eux."},basic:{title:"Utilisation de base",description:"L'utilisation la plus simple du composant de pagination."},sizes:{title:"Différentes tailles",description:"Trois tailles sont disponibles : petite, moyenne (par défaut) et grande."},shapes:{title:"Différentes formes",description:"Trois formes sont disponibles : carrée, arrondie (par défaut) et circulaire."},variants:{title:"Différentes variantes",description:"Trois variantes sont disponibles : remplie (par défaut), contourée et texte."},more:{title:"Plus de fonctionnalités",description:"Plus de fonctionnalités comme le saut rapide, le changeur de taille et l'affichage total."},large:{title:"Grandes données",description:"Pagination pour les grands ensembles de données avec navigation rapide et options de taille."},custom:{title:"Rendu personnalisé",description:"Personnalisez le rendu des éléments de pagination et des icônes de navigation."},simple:{title:"Mode simple",description:"Le mode simple affichera moins de numéros de page de manière plus simple."},disabled:{title:"État désactivé",description:"La pagination peut être désactivée lorsqu'elle n'est pas interactive."},responsive:{title:"Mise en page responsive",description:"En mode responsive, certains éléments seront masqués sur les petits écrans."}},properties:{title:"Propriétés",description:"Les propriétés suivantes sont disponibles pour le composant Pagination :",current:"Numéro de page actuel",total:"Nombre total d'éléments",pageSize:"Nombre d'éléments par page",onChange:"Callback lors du changement de page ou de taille",disabled:"Désactiver la pagination",showQuickJumper:"Afficher le saut rapide",showSizeChanger:"Afficher le changeur de taille",pageSizeOptions:"Options pour le changeur de taille",itemRender:"Fonction de rendu personnalisé",showTotal:"Afficher le nombre total",totalRender:"Fonction de rendu du texte total",size:"Taille des éléments",shape:"Forme des éléments",variant:"Variante de style",simple:"Utiliser le mode simple",responsive:"Utiliser le mode responsive",icons:"Icônes de navigation personnalisées"}},webComponentButton:{examples:{basic:{title:"Utilisation de Base",description:"Utilisation basique du bouton. Utilisez la variante primary pour les actions principales."},variants:{title:"Variantes de Bouton",description:"Différents styles de boutons pour différents usages."},sizes:{title:"Tailles de Bouton",description:"Les boutons existent en différentes tailles pour différents usages."},shapes:{title:"Formes de Bouton",description:"Les boutons peuvent avoir différentes formes selon vos besoins."},borderRadius:{title:"Rayon de Bordure",description:"Personnalisez l'arrondi des coins des boutons."},rippleEffect:{title:"Effet d'Ondulation",description:"Les boutons peuvent avoir un effet d'ondulation au clic."}}}},e5={title:"Oups !",description:"Désolé, une erreur inattendue s'est produite.",back_home:"Retour à l'accueil",refresh:"Actualiser la page"},t5={title:"404",description:"Oups ! La page que vous recherchez n'existe pas.",back_home:"Retour à l'accueil"},n5={lib:X6,components:Z6,error:e5,notFound:t5};Kt.use(l6).init({resources:{en:{common:D6},zh:{common:V6},ja:{common:Y6},fr:{common:n5}},defaultNS:"common",lng:navigator.language.split("-")[0],fallbackLng:"en",interpolation:{escapeValue:!1}});var pg={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},F1=_e.createContext&&_e.createContext(pg),r5=["attr","size","title"];function i5(e,t){if(e==null)return{};var r=s5(e,t),i,s;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}function s5(e,t){if(e==null)return{};var r={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;r[i]=e[i]}return r}function Ml(){return Ml=Object.assign?Object.assign.bind():function(e){for(var t=1;t_e.createElement(t.tag,Bl({key:r},t.attr),hg(t.child)))}function T(e){return t=>_e.createElement(c5,Ml({attr:Bl({},e.attr)},t),hg(e.child))}function c5(e){var t=r=>{var{attr:i,size:s,title:a}=e,o=i5(e,r5),l=s||r.size||"1em",c;return r.className&&(c=r.className),e.className&&(c=(c?c+" ":"")+e.className),_e.createElement("svg",Ml({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,i,o,{className:c,style:Bl(Bl({color:e.color||r.color},r.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&_e.createElement("title",null,a),e.children)};return F1!==void 0?_e.createElement(F1.Consumer,null,r=>t(r)):t(pg)}function d5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 112v288m144-144H112"},child:[]}]})(e)}function u5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M186.62 464H160a16 16 0 0 1-14.57-22.6l64.46-142.25L113.1 297l-35.3 42.77C71.07 348.23 65.7 352 52 352H34.08a17.66 17.66 0 0 1-14.7-7.06c-2.38-3.21-4.72-8.65-2.44-16.41l19.82-71c.15-.53.33-1.06.53-1.58a.38.38 0 0 0 0-.15 14.82 14.82 0 0 1-.53-1.59l-19.84-71.45c-2.15-7.61.2-12.93 2.56-16.06a16.83 16.83 0 0 1 13.6-6.7H52c10.23 0 20.16 4.59 26 12l34.57 42.05 97.32-1.44-64.44-142A16 16 0 0 1 160 48h26.91a25 25 0 0 1 19.35 9.8l125.05 152 57.77-1.52c4.23-.23 15.95-.31 18.66-.31C463 208 496 225.94 496 256c0 9.46-3.78 27-29.07 38.16-14.93 6.6-34.85 9.94-59.21 9.94-2.68 0-14.37-.08-18.66-.31l-57.76-1.54-125.36 152a25 25 0 0 1-19.32 9.75z"},child:[]}]})(e)}function p5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M153.59 110.46A21.41 21.41 0 0 0 152.48 79 62.67 62.67 0 0 0 112 64l-3.27.09h-.48C74.4 66.15 48 95.55 48.07 131c0 19 8 29.06 14.32 37.11a20.61 20.61 0 0 0 14.7 7.8c.26 0 .7.05 2 .05a19.06 19.06 0 0 0 13.75-5.89zm250.2-46.35-3.27-.1H400a62.67 62.67 0 0 0-40.52 15 21.41 21.41 0 0 0-1.11 31.44l60.77 59.65a19.06 19.06 0 0 0 13.79 5.9c1.28 0 1.72 0 2-.05a20.61 20.61 0 0 0 14.69-7.8c6.36-8.05 14.28-18.08 14.32-37.11.06-35.49-26.34-64.89-60.15-66.93z"},child:[]},{tag:"path",attr:{d:"M256.07 96c-97 0-176 78.95-176 176a175.23 175.23 0 0 0 40.81 112.56l-36.12 36.13a16 16 0 1 0 22.63 22.62l36.12-36.12a175.63 175.63 0 0 0 225.12 0l36.13 36.12a16 16 0 1 0 22.63-22.62l-36.13-36.13A175.17 175.17 0 0 0 432.07 272c0-97-78.95-176-176-176zm16 176a16 16 0 0 1-16 16h-80a16 16 0 0 1 0-32h64v-96a16 16 0 0 1 32 0z"},child:[]}]})(e)}function mg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M250.26 166.05 256 288l5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 6z"},child:[]},{tag:"path",attr:{d:"M256 367.91a20 20 0 1 1 20-20 20 20 0 0 1-20 20z"},child:[]}]})(e)}function gu(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"rect",attr:{width:"80",height:"80",x:"64",y:"64",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"216",y:"64",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"368",y:"64",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"64",y:"216",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"216",y:"216",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"368",y:"216",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"64",y:"368",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"216",y:"368",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"368",y:"368",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]}]})(e)}function td(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 268 144 144 144-144M256 392V100"},child:[]}]})(e)}function h5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m268 112 144 144-144 144m124-144H100"},child:[]}]})(e)}function m5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 244 144-144 144 144M256 120v292"},child:[]}]})(e)}function nd(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 244 144-144 144 144M256 120v292"},child:[]}]})(e)}function f5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M48 322.3V189.7A29.74 29.74 0 0 1 77.7 160h137.44l24.4-32H77.7A61.77 61.77 0 0 0 16 189.7v132.6A61.77 61.77 0 0 0 77.7 384h96.85a22.57 22.57 0 0 1 .26-7.32l.15-.75.21-.73 6.5-23.2H77.7A29.74 29.74 0 0 1 48 322.3zM386.3 128h-98.64a22.69 22.69 0 0 1-.27 7.2l-.15.74-.21.73-6.54 23.33H386.3a29.74 29.74 0 0 1 29.7 29.7v132.6a29.74 29.74 0 0 1-29.7 29.7H247l-24.42 32H386.3a61.77 61.77 0 0 0 61.7-61.7V189.7a61.77 61.77 0 0 0-61.7-61.7z"},child:[]},{tag:"path",attr:{d:"M162.65 294.16a24.37 24.37 0 0 1-21.56-13 25 25 0 0 1 1.42-25.83l.31-.46.33-.44L197.62 183H89.69a20 20 0 0 0-20 20v106a20 20 0 0 0 20 20h98.42l9.78-34.86z"},child:[]},{tag:"path",attr:{d:"m276.07 280.89 27.07-35.49a5.2 5.2 0 0 0 .77-1.91 5 5 0 0 0 .08-.66 5 5 0 0 0-.08-1.29 5.11 5.11 0 0 0-.68-1.75 4.76 4.76 0 0 0-.78-.95 3.48 3.48 0 0 0-.48-.38 4 4 0 0 0-1.11-.55 4.28 4.28 0 0 0-1.31-.2h-61.62l12.12-43.21 3.23-11.5 6.21-22.16.51-1.84 7.79-27.76a3.51 3.51 0 0 0 .05-.55v-.16c0-.05 0-.26-.05-.38s0-.09 0-.14a2.2 2.2 0 0 0-.17-.45 3.77 3.77 0 0 0-.26-.39l-.09-.1a2.73 2.73 0 0 0-.25-.23l-.1-.08a3.14 3.14 0 0 0-.39-.24 2 2 0 0 0-.41-.14h-.59a2.3 2.3 0 0 0-.45 0 1.9 1.9 0 0 0-.42.15l-.13.07-.3.21-.11.1a2.4 2.4 0 0 0-.36.41l-18 23.63-13.14 17.22-9.85 12.83-63.71 83.55a5.72 5.72 0 0 0-.44.8 4.78 4.78 0 0 0-.35 1.09 4.7 4.7 0 0 0-.08 1.29 4.86 4.86 0 0 0 2 3.71 4.74 4.74 0 0 0 .54.31 4.31 4.31 0 0 0 1.89.43h61.62L194.42 380.6a3.64 3.64 0 0 0 0 .56v.15a2.32 2.32 0 0 0 .06.38.58.58 0 0 0 0 .14 2.2 2.2 0 0 0 .17.45 3.62 3.62 0 0 0 .26.38l.09.1.25.24a.39.39 0 0 1 .1.08 2.22 2.22 0 0 0 .39.23 2.83 2.83 0 0 0 .41.14h.13a1.86 1.86 0 0 0 .33 0h.13a2.32 2.32 0 0 0 .45-.06 2.05 2.05 0 0 0 .41-.16l.13-.07.3-.21.11-.09a2.4 2.4 0 0 0 .36-.41L221.82 352l17.53-23z"},child:[]},{tag:"path",attr:{d:"m319.5 256.93-.46.6L264.51 329h109.8a20 20 0 0 0 20-20V203a20 20 0 0 0-20-20H274.05l-9.74 34.73h35.24A24.35 24.35 0 0 1 321 230.5a25.21 25.21 0 0 1-1 25.79zM480 202.67a16 16 0 0 0-16 16v74.66a16 16 0 0 0 32 0v-74.66a16 16 0 0 0-16-16z"},child:[]}]})(e)}function rd(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M388 160.77a20 20 0 0 0-5.85-14.91l-112-112A20 20 0 0 0 236 48v164.52l-79-67.71a20 20 0 0 0-26 30.38L225.27 256 131 336.81a20 20 0 1 0 26 30.38l79-67.71V464a20 20 0 0 0 34.14 14.14l112-112a20 20 0 0 0-1.14-29.33L286.73 256 381 175.19a20 20 0 0 0 7-14.42zm-49.42 192.36L276 415.72V299.49zM276 212.52V96.28l62.59 62.59z"},child:[]}]})(e)}function g5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 160c16-63.16 76.43-95.41 208-96a15.94 15.94 0 0 1 16 16v288a16 16 0 0 1-16 16c-128 0-177.45 25.81-208 64-30.37-38-80-64-208-64-9.88 0-16-8.05-16-17.93V80a15.94 15.94 0 0 1 16-16c131.57.59 192 32.84 208 96zm0 0v288"},child:[]}]})(e)}function x5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M352 48H160a48 48 0 0 0-48 48v368l144-128 144 128V96a48 48 0 0 0-48-48z"},child:[]}]})(e)}function v5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"272",r:"64"},child:[]},{tag:"path",attr:{d:"M432 144h-59c-3 0-6.72-1.94-9.62-5l-25.94-40.94a15.52 15.52 0 0 0-1.37-1.85C327.11 85.76 315 80 302 80h-92c-13 0-25.11 5.76-34.07 16.21a15.52 15.52 0 0 0-1.37 1.85l-25.94 41c-2.22 2.42-5.34 5-8.62 5v-8a16 16 0 0 0-16-16h-24a16 16 0 0 0-16 16v8h-4a48.05 48.05 0 0 0-48 48V384a48.05 48.05 0 0 0 48 48h352a48.05 48.05 0 0 0 48-48V192a48.05 48.05 0 0 0-48-48zM256 368a96 96 0 1 1 96-96 96.11 96.11 0 0 1-96 96z"},child:[]}]})(e)}function fg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"rect",attr:{width:"416",height:"320",x:"48",y:"96",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",rx:"56",ry:"56"},child:[]},{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"60",d:"M48 192h416M128 300h48v20h-48z"},child:[]}]})(e)}function j5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m98 190.06 139.78 163.12a24 24 0 0 0 36.44 0L414 190.06c13.34-15.57 2.28-39.62-18.22-39.62h-279.6c-20.5 0-31.56 24.05-18.18 39.62z"},child:[]}]})(e)}function gg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"32",d:"M408 64H104a56.16 56.16 0 0 0-56 56v192a56.16 56.16 0 0 0 56 56h40v80l93.72-78.14a8 8 0 0 1 5.13-1.86H408a56.16 56.16 0 0 0 56-56V120a56.16 56.16 0 0 0-56-56z"},child:[]}]})(e)}function xg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M352 176 217.6 336 160 272"},child:[]},{tag:"rect",attr:{width:"384",height:"384",x:"64",y:"64",fill:"none",strokeLinejoin:"round",strokeWidth:"32",rx:"48",ry:"48"},child:[]}]})(e)}function id(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm108.25 138.29-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32 122.59-145.91a16 16 0 0 1 24.5 20.58z"},child:[]}]})(e)}function _5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M416 128 192 384l-96-96"},child:[]}]})(e)}function U1(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"M328 112 184 256l144 144"},child:[]}]})(e)}function H1(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m184 112 144 144-144 144"},child:[]}]})(e)}function vg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(e)}function W1(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M473.66 210c-14-10.38-31.2-18-49.36-22.11a16.11 16.11 0 0 1-12.19-12.22c-7.8-34.75-24.59-64.55-49.27-87.13C334.15 62.25 296.21 47.79 256 47.79c-35.35 0-68 11.08-94.37 32.05a150.07 150.07 0 0 0-42.06 53 16 16 0 0 1-11.31 8.87c-26.75 5.4-50.9 16.87-69.34 33.12C13.46 197.33 0 227.24 0 261.39c0 34.52 14.49 66 40.79 88.76 25.12 21.69 58.94 33.64 95.21 33.64h104V230.42l-36.69 36.69a16 16 0 0 1-23.16-.56c-5.8-6.37-5.24-16.3.85-22.39l63.69-63.68a16 16 0 0 1 22.62 0L331 244.14c6.28 6.29 6.64 16.6.39 22.91a16 16 0 0 1-22.68.06L272 230.42v153.37h124c31.34 0 59.91-8.8 80.45-24.77 23.26-18.1 35.55-44 35.55-74.83 0-29.94-13.26-55.61-38.34-74.19zM240 448.21a16 16 0 1 0 32 0v-64.42h-32z"},child:[]}]})(e)}function y5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M160 368 32 256l128-112m192 224 128-112-128-112"},child:[]}]})(e)}function b5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M160 368 32 256l128-112m192 224 128-112-128-112m-48-48-96 320"},child:[]}]})(e)}function w5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M430.11 347.9c-6.6-6.1-16.3-7.6-24.6-9-11.5-1.9-15.9-4-22.6-10-14.3-12.7-14.3-31.1 0-43.8l30.3-26.9c46.4-41 46.4-108.2 0-149.2-34.2-30.1-80.1-45-127.8-45-55.7 0-113.9 20.3-158.8 60.1-83.5 73.8-83.5 194.7 0 268.5 41.5 36.7 97.5 55 152.9 55.4h1.7c55.4 0 110-17.9 148.8-52.4 14.4-12.7 11.99-36.6.1-47.7z"},child:[]},{tag:"circle",attr:{cx:"144",cy:"208",r:"32"},child:[]},{tag:"circle",attr:{cx:"152",cy:"311",r:"32"},child:[]},{tag:"circle",attr:{cx:"224",cy:"144",r:"32"},child:[]},{tag:"circle",attr:{cx:"256",cy:"367",r:"48"},child:[]},{tag:"circle",attr:{cx:"328",cy:"144",r:"32"},child:[]}]})(e)}function q1(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m441 336.2-.06-.05c-9.93-9.18-22.78-11.34-32.16-12.92l-.69-.12c-9.05-1.49-10.48-2.5-14.58-6.17-2.44-2.17-5.35-5.65-5.35-9.94s2.91-7.77 5.34-9.94l30.28-26.87c25.92-22.91 40.2-53.66 40.2-86.59s-14.25-63.68-40.2-86.6c-35.89-31.59-85-49-138.37-49C223.72 48 162 71.37 116 112.11c-43.87 38.77-68 90.71-68 146.24s24.16 107.47 68 146.23c21.75 19.24 47.49 34.18 76.52 44.42a266.17 266.17 0 0 0 86.87 15h1.81c61 0 119.09-20.57 159.39-56.4 9.7-8.56 15.15-20.83 15.34-34.56.21-14.17-5.37-27.95-14.93-36.84zM112 208a32 32 0 1 1 32 32 32 32 0 0 1-32-32zm40 135a32 32 0 1 1 32-32 32 32 0 0 1-32 32zm40-199a32 32 0 1 1 32 32 32 32 0 0 1-32-32zm64 271a48 48 0 1 1 48-48 48 48 0 0 1-48 48zm72-239a32 32 0 1 1 32-32 32 32 0 0 1-32 32z"},child:[]}]})(e)}function C5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"rect",attr:{width:"336",height:"336",x:"128",y:"128",fill:"none",strokeLinejoin:"round",strokeWidth:"32",rx:"57",ry:"57"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m383.5 128 .5-24a56.16 56.16 0 0 0-56-56H112a64.19 64.19 0 0 0-64 64v216a56.16 56.16 0 0 0 56 56h24"},child:[]}]})(e)}function k5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M336 176h40a40 40 0 0 1 40 40v208a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V216a40 40 0 0 1 40-40h40"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m176 272 80 80 80-80M256 48v288"},child:[]}]})(e)}function S5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"192",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]}]})(e)}function sd(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"48"},child:[]},{tag:"circle",attr:{cx:"416",cy:"256",r:"48"},child:[]},{tag:"circle",attr:{cx:"96",cy:"256",r:"48"},child:[]}]})(e)}function N5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448zM248 315.85l-51.79-51.79a2 2 0 0 0-3.39 1.69 64.11 64.11 0 0 0 53.49 53.49 2 2 0 0 0 1.69-3.39zm16-119.7L315.87 248a2 2 0 0 0 3.4-1.69 64.13 64.13 0 0 0-53.55-53.55 2 2 0 0 0-1.72 3.39z"},child:[]},{tag:"path",attr:{d:"M491 273.36a32.2 32.2 0 0 0-.1-34.76c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.68 96a226.54 226.54 0 0 0-71.82 11.79 4 4 0 0 0-1.56 6.63l47.24 47.24a4 4 0 0 0 3.82 1.05 96 96 0 0 1 116 116 4 4 0 0 0 1.05 3.81l67.95 68a4 4 0 0 0 5.4.24 343.81 343.81 0 0 0 67.24-77.4zM256 352a96 96 0 0 1-93.3-118.63 4 4 0 0 0-1.05-3.81l-66.84-66.87a4 4 0 0 0-5.41-.23c-24.39 20.81-47 46.13-67.67 75.72a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.39 76.14 98.28 100.65C162.06 402 207.92 416 255.68 416a238.22 238.22 0 0 0 72.64-11.55 4 4 0 0 0 1.61-6.64l-47.47-47.46a4 4 0 0 0-3.81-1.05A96 96 0 0 1 256 352z"},child:[]}]})(e)}function $5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"64"},child:[]},{tag:"path",attr:{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 0 0-.1-34.76zM256 352a96 96 0 1 1 96-96 96.11 96.11 0 0 1-96 96z"},child:[]}]})(e)}function z5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M63.28 202a15.29 15.29 0 0 1-7.7-2 14.84 14.84 0 0 1-5.52-20.46C69.34 147.36 128 72.25 256 72.25c55.47 0 104.12 14.57 144.53 43.29 33.26 23.57 51.9 50.25 60.78 63.1a14.79 14.79 0 0 1-4 20.79 15.52 15.52 0 0 1-21.24-4C420 172.32 371 102 256 102c-112.25 0-163 64.71-179.53 92.46A15 15 0 0 1 63.28 202z"},child:[]},{tag:"path",attr:{d:"M320.49 496a15.31 15.31 0 0 1-3.79-.43c-92.85-23-127.52-115.82-128.93-119.68l-.22-.85c-.76-2.68-19.39-66.33 9.21-103.61 13.11-17 33.05-25.72 59.38-25.72 24.48 0 42.14 7.61 54.28 23.36 10 12.86 14 28.72 17.87 44 8.13 31.82 14 48.53 47.79 50.25 14.84.75 24.59-7.93 30.12-15.32 14.95-20.15 17.55-53 6.28-82C398 228.57 346.61 158 256 158c-38.68 0-74.22 12.43-102.72 35.79-23.59 19.35-42.28 46.67-51.28 74.75-16.69 52.28 5.2 134.46 5.41 135.21A14.83 14.83 0 0 1 96.54 422a15.39 15.39 0 0 1-18.74-10.6c-1-3.75-24.38-91.4-5.1-151.82 21-65.47 85.81-131.47 183.33-131.47 45.07 0 87.65 15.32 123.19 44.25 27.52 22.5 50 52.72 61.76 82.93 14.95 38.57 10.94 81.86-10.19 110.14-14.08 18.86-34.13 28.72-56.34 27.65-57.86-2.9-68.26-43.29-75.84-72.75-7.8-30.22-12.79-44.79-42.58-44.79-16.36 0-27.85 4.5-35 13.82-9.75 12.75-10.51 32.68-9.43 47.14a152.44 152.44 0 0 0 5.1 29.79c2.38 6 33.37 82 107.59 100.39a14.88 14.88 0 0 1 11 18.11 15.36 15.36 0 0 1-14.8 11.21z"},child:[]},{tag:"path",attr:{d:"M201.31 489.14a15.5 15.5 0 0 1-11.16-4.71c-37.16-39-58.18-82.61-66.09-137.14V347c-4.44-36.1 2.06-87.21 33.91-122.35 23.51-25.93 56.56-39.11 98.06-39.11 49.08 0 87.65 22.82 111.7 65.89 17.45 31.29 20.91 62.47 21 63.75a15.07 15.07 0 0 1-13.65 16.4 15.26 15.26 0 0 1-16.79-13.29A154 154 0 0 0 340.43 265c-18.64-32.89-47-49.61-84.51-49.61-32.4 0-57.75 9.75-75.19 29-25.14 27.75-30 70.5-26.55 98.78 6.93 48.22 25.46 86.58 58.18 120.86a14.7 14.7 0 0 1-.76 21.11 15.44 15.44 0 0 1-10.29 4z"},child:[]},{tag:"path",attr:{d:"M372.5 446.18c-32.5 0-60.13-9-82.24-26.89-44.42-35.79-49.4-94.08-49.62-96.54a15.27 15.27 0 0 1 30.45-2.36c.11.86 4.55 48.54 38.79 76 20.26 16.18 47.34 22.6 80.71 18.85a15.2 15.2 0 0 1 16.91 13.18 14.92 14.92 0 0 1-13.44 16.5 187 187 0 0 1-21.56 1.26zm25.68-397.39C385.5 40.54 340.54 16 256 16c-88.74 0-133.81 27.11-143.78 34a11.59 11.59 0 0 0-1.84 1.4.36.36 0 0 1-.22.1 14.87 14.87 0 0 0-5.09 11.15 15.06 15.06 0 0 0 15.31 14.85 15.56 15.56 0 0 0 8.88-2.79c.43-.32 39.22-28.82 126.77-28.82S382.58 74.29 383 74.5a15.25 15.25 0 0 0 9.21 3 15.06 15.06 0 0 0 15.29-14.89 14.9 14.9 0 0 0-9.32-13.82z"},child:[]}]})(e)}function E5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M194.82 496a18.36 18.36 0 0 1-18.1-21.53v-.11L204.83 320H96a16 16 0 0 1-12.44-26.06L302.73 23a18.45 18.45 0 0 1 32.8 13.71c0 .3-.08.59-.13.89L307.19 192H416a16 16 0 0 1 12.44 26.06L209.24 489a18.45 18.45 0 0 1-14.42 7z"},child:[]}]})(e)}function L5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M483.13 245.38C461.92 149.49 430 98.31 382.65 84.33A107.13 107.13 0 0 0 352 80c-13.71 0-25.65 3.34-38.28 6.88C298.5 91.15 281.21 96 256 96s-42.51-4.84-57.76-9.11C185.6 83.34 173.67 80 160 80a115.74 115.74 0 0 0-31.73 4.32c-47.1 13.92-79 65.08-100.52 161C4.61 348.54 16 413.71 59.69 428.83a56.62 56.62 0 0 0 18.64 3.22c29.93 0 53.93-24.93 70.33-45.34 18.53-23.1 40.22-34.82 107.34-34.82 59.95 0 84.76 8.13 106.19 34.82 13.47 16.78 26.2 28.52 38.9 35.91 16.89 9.82 33.77 12 50.16 6.37 25.82-8.81 40.62-32.1 44-69.24 2.57-28.48-1.39-65.89-12.12-114.37zM208 240h-32v32a16 16 0 0 1-32 0v-32h-32a16 16 0 0 1 0-32h32v-32a16 16 0 0 1 32 0v32h32a16 16 0 0 1 0 32zm84 4a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm44 44a20 20 0 1 1 20-19.95A20 20 0 0 1 336 288zm0-88a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm44 44a20 20 0 1 1 20-20 20 20 0 0 1-20 20z"},child:[]}]})(e)}function R5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",d:"M200 144h40v-40a40 40 0 1 0-40 40zm152-40a40 40 0 0 0-80 0v40h40a40 40 0 0 0 40-40z"},child:[]},{tag:"path",attr:{d:"M80 416a64 64 0 0 0 64 64h92a4 4 0 0 0 4-4V292a4 4 0 0 0-4-4H88a8 8 0 0 0-8 8zm160-164V144h32v108a4 4 0 0 0 4 4h140a47.93 47.93 0 0 0 16-2.75A48.09 48.09 0 0 0 464 208v-16a48 48 0 0 0-48-48h-40.54a2 2 0 0 1-1.7-3A72 72 0 0 0 256 58.82 72 72 0 0 0 138.24 141a2 2 0 0 1-1.7 3H96a48 48 0 0 0-48 48v16a48.09 48.09 0 0 0 32 45.25A47.93 47.93 0 0 0 96 256h140a4 4 0 0 0 4-4zm32-148a40 40 0 1 1 40 40h-40zm-74.86-39.9A40 40 0 0 1 240 104v40h-40a40 40 0 0 1-2.86-79.89zM276 480h92a64 64 0 0 0 64-64V296a8 8 0 0 0-8-8H276a4 4 0 0 0-4 4v184a4 4 0 0 0 4 4z"},child:[]}]})(e)}function A5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"128",cy:"96",r:"48",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"circle",attr:{cx:"256",cy:"416",r:"48",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 256v112"},child:[]},{tag:"circle",attr:{cx:"384",cy:"96",r:"48",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M128 144c0 74.67 68.92 112 128 112m128-112c0 74.67-68.92 112-128 112"},child:[]}]})(e)}function I5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M340.75 344.49c5.91-20.7 9.82-44.75 11.31-67.84a4.41 4.41 0 0 0-4.46-4.65h-71.06a4.43 4.43 0 0 0-4.47 4.39v55.3a4.44 4.44 0 0 0 4.14 4.38 273.51 273.51 0 0 1 59 11.39 4.45 4.45 0 0 0 5.54-2.97zm-17.17 32.82a260.05 260.05 0 0 0-46.6-9.09 4.42 4.42 0 0 0-4.91 4.29v65.24a4.47 4.47 0 0 0 6.76 3.7c15.9-9.27 29-24.84 40.84-45.43 1.94-3.36 4.89-9.15 6.67-12.69a4.29 4.29 0 0 0-2.76-6.02zm-88.29-8.91a256.85 256.85 0 0 0-46.56 8.82c-2.64.76-3.75 4.4-2.55 6.79 1.79 3.56 4 8.11 5.89 11.51 13 23 26.84 37.5 41.24 45.93a4.47 4.47 0 0 0 6.76-3.7v-65.27a4.16 4.16 0 0 0-4.78-4.08zm.31-96.4h-71.06a4.41 4.41 0 0 0-4.46 4.64c1.48 23.06 5.37 47.16 11.26 67.84a4.46 4.46 0 0 0 5.59 3 272.2 272.2 0 0 1 59-11.36 4.44 4.44 0 0 0 4.15-4.38V276.4a4.43 4.43 0 0 0-4.48-4.4zM277 143.78a235.8 235.8 0 0 0 46.5-9.14 4.3 4.3 0 0 0 2.76-6c-1.79-3.57-4.27-8.68-6.17-12.09-12.29-22-26.14-37.35-41.24-46a4.48 4.48 0 0 0-6.76 3.7v65.23a4.43 4.43 0 0 0 4.91 4.3zm-.46 96.22h71.06a4.39 4.39 0 0 0 4.46-4.58c-1.48-22.77-5.27-47.8-11.16-68.22a4.46 4.46 0 0 0-5.59-2.95c-19 5.74-38.79 10.43-59.09 12a4.4 4.4 0 0 0-4.15 4.32v55.11a4.4 4.4 0 0 0 4.47 4.32zM233.31 70.56c-15.42 8.57-29.17 24.43-41.47 46.37-1.91 3.41-4.19 8.11-6 11.67a4.31 4.31 0 0 0 2.76 6 225.42 225.42 0 0 0 46.54 9.17 4.43 4.43 0 0 0 4.91-4.29V74.26a4.49 4.49 0 0 0-6.74-3.7zm2.61 105.7c-20.3-1.55-40.11-6.24-59.09-12a4.46 4.46 0 0 0-5.59 2.95c-5.89 20.42-9.68 45.45-11.16 68.22a4.39 4.39 0 0 0 4.46 4.58h71.06a4.4 4.4 0 0 0 4.47-4.34v-55.09a4.4 4.4 0 0 0-4.15-4.32z"},child:[]},{tag:"path",attr:{d:"M414.39 97.61A224 224 0 1 0 97.61 414.39 224 224 0 1 0 414.39 97.61zM176.6 430.85a219.08 219.08 0 0 1-12.48-19.66c-2-3.69-4.84-9.26-6.73-13.13a7.29 7.29 0 0 0-10.31-3.16c-4.3 2.41-10 5.72-14.13 8.43a147.29 147.29 0 0 1-23.57-22.43 248.83 248.83 0 0 1 30.41-18.36c1.86-1 2.77-2.14 2.18-4.18a374.8 374.8 0 0 1-14.09-82.17 4.36 4.36 0 0 0-4.3-4.17H66.84a2 2 0 0 1-2-1.7A98.28 98.28 0 0 1 64 256a96.27 96.27 0 0 1 .86-14.29 2 2 0 0 1 2-1.7h56.74c2.29 0 4.17-1.32 4.29-3.63a372.71 372.71 0 0 1 14-81.83 4.36 4.36 0 0 0-2.19-5.11 260.63 260.63 0 0 1-29.84-17.9 169.82 169.82 0 0 1 23.14-22.8c4.08 2.68 9.4 5.71 13.66 8.11a7.89 7.89 0 0 0 11-3.42c1.88-3.87 4-8.18 6.06-11.88a221.93 221.93 0 0 1 12.54-19.91A185 185 0 0 1 256 64c28.94 0 55.9 7 80.53 18.46a202.23 202.23 0 0 1 12 19c2.59 4.66 5.34 10.37 7.66 15.32a4.29 4.29 0 0 0 5.92 1.94c5.38-2.91 11.21-6.26 16.34-9.63a171.36 171.36 0 0 1 23.2 23 244.89 244.89 0 0 1-29.06 17.31 4.35 4.35 0 0 0-2.18 5.12 348.68 348.68 0 0 1 13.85 81.4 4.33 4.33 0 0 0 4.3 4.12l56.62-.07a2 2 0 0 1 2 1.7 117.46 117.46 0 0 1 0 28.62 2 2 0 0 1-2 1.72h-56.67a4.35 4.35 0 0 0-4.3 4.17 367.4 367.4 0 0 1-13.87 81.3 4.45 4.45 0 0 0 2.19 5.19c5 2.59 10.57 5.48 15.37 8.42s9.55 6.08 14.13 9.34a172.73 172.73 0 0 1-23 22.93c-2.44-1.61-5.34-3.44-7.84-4.94-1.72-1-4.89-2.77-6.65-3.76-3.82-2.14-7.88-.54-9.79 3.4s-4.83 9.59-6.87 13.25a212.42 212.42 0 0 1-12.35 19.53C310.91 442.37 284.94 448 256 448s-54.77-5.63-79.4-17.15z"},child:[]}]})(e)}function P5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M417.84 448a16 16 0 0 1-11.35-4.72l-365.84-368a16 16 0 1 1 22.7-22.56l365.83 368A16 16 0 0 1 417.84 448zM364.92 80c-44.09 0-74.61 24.82-92.39 45.5a6 6 0 0 1-9.06 0C245.69 104.82 215.16 80 171.08 80a107.71 107.71 0 0 0-31 4.54l269.13 270.7c3-3.44 5.7-6.64 8.14-9.6 40-48.75 59.15-98.79 58.61-153C475.37 130.53 425.54 80 364.92 80zM69 149.15a115.06 115.06 0 0 0-9 43.49c-.54 54.21 18.63 104.25 58.61 153 18.77 22.87 52.8 59.45 131.39 112.8a31.88 31.88 0 0 0 36 0c20.35-13.82 37.7-26.5 52.58-38.12z"},child:[]}]})(e)}function hc(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 448a32 32 0 0 1-18-5.57c-78.59-53.35-112.62-89.93-131.39-112.8-40-48.75-59.15-98.8-58.61-153C48.63 114.52 98.46 64 159.08 64c44.08 0 74.61 24.83 92.39 45.51a6 6 0 0 0 9.06 0C278.31 88.81 308.84 64 352.92 64c60.62 0 110.45 50.52 111.08 112.64.54 54.21-18.63 104.26-58.61 153-18.77 22.87-52.8 59.45-131.39 112.8a32 32 0 0 1-18 5.56z"},child:[]}]})(e)}function mc(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M80 212v236a16 16 0 0 0 16 16h96V328a24 24 0 0 1 24-24h80a24 24 0 0 1 24 24v136h96a16 16 0 0 0 16-16V212"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M480 256 266.89 52c-5-5.28-16.69-5.34-21.78 0L32 256m368-77V64h-48v69"},child:[]}]})(e)}function M5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M261.56 101.28a8 8 0 0 0-11.06 0L66.4 277.15a8 8 0 0 0-2.47 5.79L63.9 448a32 32 0 0 0 32 32H192a16 16 0 0 0 16-16V328a8 8 0 0 1 8-8h80a8 8 0 0 1 8 8v136a16 16 0 0 0 16 16h96.06a32 32 0 0 0 32-32V282.94a8 8 0 0 0-2.47-5.79z"},child:[]},{tag:"path",attr:{d:"m490.91 244.15-74.8-71.56V64a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v32l-57.92-55.38C272.77 35.14 264.71 32 256 32c-8.68 0-16.72 3.14-22.14 8.63l-212.7 203.5c-6.22 6-7 15.87-1.34 22.37A16 16 0 0 0 43 267.56L250.5 69.28a8 8 0 0 1 11.06 0l207.52 198.28a16 16 0 0 0 22.59-.44c6.14-6.36 5.63-16.86-.76-22.97z"},child:[]}]})(e)}function B5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M450.29 112H142c-34 0-62 27.51-62 61.33v245.34c0 33.82 28 61.33 62 61.33h308c34 0 62-26.18 62-60V173.33c0-33.82-27.68-61.33-61.71-61.33zm-77.15 61.34a46 46 0 1 1-46.28 46 46.19 46.19 0 0 1 46.28-46.01zm-231.55 276c-17 0-29.86-13.75-29.86-30.66v-64.83l90.46-80.79a46.54 46.54 0 0 1 63.44 1.83L328.27 337l-113 112.33zM480 418.67a30.67 30.67 0 0 1-30.71 30.66H259L376.08 333a46.24 46.24 0 0 1 59.44-.16L480 370.59z"},child:[]},{tag:"path",attr:{d:"M384 32H64A64 64 0 0 0 0 96v256a64.11 64.11 0 0 0 48 62V152a72 72 0 0 1 72-72h326a64.11 64.11 0 0 0-62-48z"},child:[]}]})(e)}function T5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 256s-48-96-126-96c-54.12 0-98 43-98 96s43.88 96 98 96c37.51 0 71-22.41 94-48m32-48s48 96 126 96c54.12 0 98-43 98-96s-43.88-96-98-96c-37.51 0-71 22.41-94 48"},child:[]}]})(e)}function jg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M248 64C146.39 64 64 146.39 64 248s82.39 184 184 184 184-82.39 184-184S349.61 64 248 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M220 220h32v116"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M208 340h88"},child:[]},{tag:"path",attr:{d:"M248 130a26 26 0 1 0 26 26 26 26 0 0 0-26-26z"},child:[]}]})(e)}function ad(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200 200-89.72 200-200S366.28 56 256 56zm0 82a26 26 0 1 1-26 26 26 26 0 0 1 26-26zm48 226h-88a16 16 0 0 1 0-32h28v-88h-16a16 16 0 0 1 0-32h32a16 16 0 0 1 16 16v104h28a16 16 0 0 1 0 32z"},child:[]}]})(e)}function O5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M48 112h288M192 64v48m80 336 96-224 96 224m-162.5-64h133M281.3 112S257 206 199 277 80 384 80 384"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 336s-35-27-72-75-56-85-56-85"},child:[]}]})(e)}function F5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m478.33 433.6-90-218a22 22 0 0 0-40.67 0l-90 218a22 22 0 1 0 40.67 16.79L316.66 406h102.67l18.33 44.39A22 22 0 0 0 458 464a22 22 0 0 0 20.32-30.4zM334.83 362 368 281.65 401.17 362zm-66.99-19.08a22 22 0 0 0-4.89-30.7c-.2-.15-15-11.13-36.49-34.73 39.65-53.68 62.11-114.75 71.27-143.49H330a22 22 0 0 0 0-44H214V70a22 22 0 0 0-44 0v20H54a22 22 0 0 0 0 44h197.25c-9.52 26.95-27.05 69.5-53.79 108.36-31.41-41.68-43.08-68.65-43.17-68.87a22 22 0 0 0-40.58 17c.58 1.38 14.55 34.23 52.86 83.93.92 1.19 1.83 2.35 2.74 3.51-39.24 44.35-77.74 71.86-93.85 80.74a22 22 0 1 0 21.07 38.63c2.16-1.18 48.6-26.89 101.63-85.59 22.52 24.08 38 35.44 38.93 36.1a22 22 0 0 0 30.75-4.9z"},child:[]}]})(e)}function _g(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m434.8 137.65-149.36-68.1c-16.19-7.4-42.69-7.4-58.88 0L77.3 137.65c-17.6 8-17.6 21.09 0 29.09l148 67.5c16.89 7.7 44.69 7.7 61.58 0l148-67.5c17.52-8 17.52-21.1-.08-29.09zM160 308.52l-82.7 37.11c-17.6 8-17.6 21.1 0 29.1l148 67.5c16.89 7.69 44.69 7.69 61.58 0l148-67.5c17.6-8 17.6-21.1 0-29.1l-79.94-38.47"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m160 204.48-82.8 37.16c-17.6 8-17.6 21.1 0 29.1l148 67.49c16.89 7.7 44.69 7.7 61.58 0l148-67.49c17.7-8 17.7-21.1.1-29.1L352 204.48"},child:[]}]})(e)}function xu(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M160 144h288M160 256h288M160 368h288"},child:[]},{tag:"circle",attr:{cx:"80",cy:"144",r:"16",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"circle",attr:{cx:"80",cy:"256",r:"16",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"circle",attr:{cx:"80",cy:"368",r:"16",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]}]})(e)}function od(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"192",r:"32"},child:[]},{tag:"path",attr:{d:"M256 32c-88.22 0-160 68.65-160 153 0 40.17 18.31 93.59 54.42 158.78 29 52.34 62.55 99.67 80 123.22a31.75 31.75 0 0 0 51.22 0c17.42-23.55 51-70.88 80-123.22C397.69 278.61 416 225.19 416 185c0-84.35-71.78-153-160-153zm0 224a64 64 0 1 1 64-64 64.07 64.07 0 0 1-64 64z"},child:[]}]})(e)}function D5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M368 192h-16v-80a96 96 0 1 0-192 0v80h-16a64.07 64.07 0 0 0-64 64v176a64.07 64.07 0 0 0 64 64h224a64.07 64.07 0 0 0 64-64V256a64.07 64.07 0 0 0-64-64zm-48 0H192v-80a64 64 0 1 1 128 0z"},child:[]}]})(e)}function U5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M368 192H192v-80a64 64 0 1 1 128 0 16 16 0 0 0 32 0 96 96 0 1 0-192 0v80h-16a64.07 64.07 0 0 0-64 64v176a64.07 64.07 0 0 0 64 64h224a64.07 64.07 0 0 0 64-64V256a64.07 64.07 0 0 0-64-64z"},child:[]}]})(e)}function ld(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 32v448h448V32zm240 348c0 43.61-25.76 64.87-63.05 64.87-33.68 0-53.23-17.44-63.15-38.49l34.28-20.75c6.61 11.73 11.63 21.65 26.06 21.65 12 0 21.86-5.41 21.86-26.46V240h44zm99.35 63.87c-39.09 0-64.35-17.64-76.68-42L329 382c9 14.74 20.75 24.56 41.5 24.56 17.44 0 27.57-7.72 27.57-19.75 0-14.43-10.43-19.54-29.68-28l-10.52-4.52c-30.38-12.92-50.52-29.16-50.52-63.45 0-31.57 24.05-54.63 61.64-54.63 26.77 0 46 8.32 59.85 32.68L396 290c-7.22-12.93-15-18-27.06-18-12.33 0-20.15 7.82-20.15 18 0 12.63 7.82 17.74 25.86 25.56l10.52 4.51c35.79 15.34 55.94 31 55.94 66.16.01 37.9-29.76 57.64-69.76 57.64z"},child:[]}]})(e)}function H5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M429.76 130.07 274.33 36.85a37 37 0 0 0-36.65 0L82.24 130.06A38.2 38.2 0 0 0 64 162.83V349a38.26 38.26 0 0 0 18.24 32.8L123 406.14l.23.13c20.58 10.53 28.46 10.53 37.59 10.53 32.14 0 52.11-20.8 52.11-54.29V182a8.51 8.51 0 0 0-8.42-8.58h-22.38a8.51 8.51 0 0 0-8.42 8.58v180.51a15 15 0 0 1-6.85 13.07c-5.9 3.6-14.47 2.84-24.14-2.15l-39.06-23.51a1.1 1.1 0 0 1-.48-.92V165.46a1.32 1.32 0 0 1 .59-1.06l151.84-93a.82.82 0 0 1 .73 0l151.93 93a1.34 1.34 0 0 1 .55 1.1V349a1.28 1.28 0 0 1-.45 1l-152.06 90.65a1.22 1.22 0 0 1-.8 0l-38.83-23.06a7.8 7.8 0 0 0-7.83-.41l-.34.2c-10.72 6.35-13.6 8-23.54 11.62-1.62.59-5.43 2-5.76 5.77s3.29 6.45 6.51 8.32l51.9 31.87a35.67 35.67 0 0 0 18.3 5.07h.58a35.87 35.87 0 0 0 17.83-5.07l155.43-93.13A38.37 38.37 0 0 0 448 349V162.83a38.21 38.21 0 0 0-18.24-32.76z"},child:[]},{tag:"path",attr:{d:"M307.88 318.05c-37.29 0-45.24-10.42-47.6-27.24a8.43 8.43 0 0 0-8.22-7.32h-19.8a8.44 8.44 0 0 0-8.26 8.58c0 14.58 5.12 62.17 83.92 62.17 24.38 0 44.66-5.7 58.63-16.49S388 311.26 388 292.55c0-37.55-24.5-47.83-72.75-54.55-49.05-6.82-49.05-10.29-49.05-17.89 0-5.47 0-18.28 35.46-18.28 25.23 0 38.74 3.19 43.06 20a8.35 8.35 0 0 0 8.06 6.67h19.87a8.24 8.24 0 0 0 6.16-2.86 8.91 8.91 0 0 0 2.12-6.44c-2.57-35.55-28.56-53.58-79.24-53.58-46.06 0-73.55 20.75-73.55 55.5 0 38.1 28.49 48.87 71.29 53.33 50 5.17 50 12.71 50 19.37.03 10.38-4.28 24.23-41.55 24.23z"},child:[]}]})(e)}function W5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M314 36.38c-18.59-3.06-45.8-4.47-64.27-4.38a311.09 311.09 0 0 0-51.66 4.38c-45.74 8-54.07 24.7-54.07 55.54V128h112v16H107.62C66.06 144 32.33 193.67 32 255.12v.88a162.91 162.91 0 0 0 3.13 32c9.29 46.28 38.23 80 72.49 80H128v-54c0-31.3 20.84-59.95 55-66.1l9.87-1.23H314a56.05 56.05 0 0 0 15.06-2A52.48 52.48 0 0 0 368 193.68V91.92c0-28.92-24.68-50.73-54-55.54zM194.93 105.5a20.37 20.37 0 1 1 20.3-20.3 20.29 20.29 0 0 1-20.3 20.3z"},child:[]},{tag:"path",attr:{d:"M475.28 217c-10.7-42.61-38.41-73-70.9-73h-17.71v47.45c0 39.57-26 68.22-57.74 73.13a63.54 63.54 0 0 1-9.69.75H198.08a60 60 0 0 0-15.23 1.95C160.54 273.14 144 291.7 144 315.77v101.77c0 29 29.14 46 57.73 54.31 34.21 9.95 71.48 11.75 112.42 0 27.19-7.77 53.85-23.48 53.85-54.31V384H256v-16h148.38c29.44 0 54.95-24.93 67.45-61.31A156.83 156.83 0 0 0 480 256a160.64 160.64 0 0 0-4.72-39zM316.51 404a20.37 20.37 0 1 1-20.3 20.3 20.29 20.29 0 0 1 20.3-20.3z"},child:[]}]})(e)}function q5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M424 80H88a56.06 56.06 0 0 0-56 56v240a56.06 56.06 0 0 0 56 56h336a56.06 56.06 0 0 0 56-56V136a56.06 56.06 0 0 0-56-56zm-14.18 92.63-144 112a16 16 0 0 1-19.64 0l-144-112a16 16 0 1 1 19.64-25.26L256 251.73l134.18-104.36a16 16 0 0 1 19.64 25.26z"},child:[]}]})(e)}function yg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M80 160h352M80 256h352M80 352h352"},child:[]}]})(e)}function V5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M160 136c0-30.62 4.51-61.61 16-88C99.57 81.27 48 159.32 48 248c0 119.29 96.71 216 216 216 88.68 0 166.73-51.57 200-128-26.39 11.49-57.38 16-88 16-119.29 0-216-96.71-216-216z"},child:[]}]})(e)}function V1(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M264 480A232 232 0 0 1 32 248c0-94 54-178.28 137.61-214.67a16 16 0 0 1 21.06 21.06C181.07 76.43 176 104.66 176 136c0 110.28 89.72 200 200 200 31.34 0 59.57-5.07 81.61-14.67a16 16 0 0 1 21.06 21.06C442.28 426 358 480 264 480z"},child:[]}]})(e)}function K5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M421.84 37.37a25.86 25.86 0 0 0-22.6-4.46L199.92 86.49A32.3 32.3 0 0 0 176 118v226c0 6.74-4.36 12.56-11.11 14.83l-.12.05-52 18C92.88 383.53 80 402 80 423.91a55.54 55.54 0 0 0 23.23 45.63A54.78 54.78 0 0 0 135.34 480a55.82 55.82 0 0 0 17.75-2.93l.38-.13 21.84-7.94A47.84 47.84 0 0 0 208 423.91v-212c0-7.29 4.77-13.21 12.16-15.07l.21-.06L395 150.14a4 4 0 0 1 5 3.86v141.93c0 6.75-4.25 12.38-11.11 14.68l-.25.09-50.89 18.11A49.09 49.09 0 0 0 304 375.92a55.67 55.67 0 0 0 23.23 45.8 54.63 54.63 0 0 0 49.88 7.35l.36-.12 21.84-7.95A47.83 47.83 0 0 0 432 375.92V58a25.74 25.74 0 0 0-10.16-20.63z"},child:[]}]})(e)}function G5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M448 464a15.92 15.92 0 0 1-11.31-4.69l-384-384a16 16 0 0 1 22.62-22.62l384 384A16 16 0 0 1 448 464zm-7.92-122.69c-1.66-2-3.29-4-4.89-5.93-22-26.61-35.31-42.67-35.31-118 0-39-9.33-71-27.72-95-13.56-17.73-31.89-31.18-56.05-41.12a3 3 0 0 1-.82-.67C306.6 51.49 282.82 32 256 32s-50.59 19.49-59.28 48.56a3.13 3.13 0 0 1-.81.65 157.88 157.88 0 0 0-21.88 11 8 8 0 0 0-1.49 12.49l261.78 261.74a8 8 0 0 0 13.6-6.63 35.39 35.39 0 0 0-7.84-18.5zM112.14 217.35c0 75.36-13.29 91.42-35.31 118-1.6 1.93-3.23 3.89-4.89 5.93a35.16 35.16 0 0 0-4.65 37.62c6.17 13 19.32 21.07 34.33 21.07H312.8a8 8 0 0 0 5.66-13.66l-192-192a8 8 0 0 0-13.62 5q-.7 8.69-.7 18.04zM256 480a80.06 80.06 0 0 0 70.44-42.13 4 4 0 0 0-3.54-5.87H189.12a4 4 0 0 0-3.55 5.87A80.06 80.06 0 0 0 256 480z"},child:[]}]})(e)}function cd(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M440.08 341.31c-1.66-2-3.29-4-4.89-5.93-22-26.61-35.31-42.67-35.31-118 0-39-9.33-71-27.72-95-13.56-17.73-31.89-31.18-56.05-41.12a3 3 0 0 1-.82-.67C306.6 51.49 282.82 32 256 32s-50.59 19.49-59.28 48.56a3.13 3.13 0 0 1-.81.65c-56.38 23.21-83.78 67.74-83.78 136.14 0 75.36-13.29 91.42-35.31 118-1.6 1.93-3.23 3.89-4.89 5.93a35.16 35.16 0 0 0-4.65 37.62c6.17 13 19.32 21.07 34.33 21.07H410.5c14.94 0 28-8.06 34.19-21a35.17 35.17 0 0 0-4.61-37.66zM256 480a80.06 80.06 0 0 0 70.44-42.13 4 4 0 0 0-3.54-5.87H189.12a4 4 0 0 0-3.55 5.87A80.06 80.06 0 0 0 256 480z"},child:[]}]})(e)}function bg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M258.9 48C141.92 46.42 46.42 141.92 48 258.9c1.56 112.19 92.91 203.54 205.1 205.1 117 1.6 212.48-93.9 210.88-210.88C462.44 140.91 371.09 49.56 258.9 48zm126.42 327.25a4 4 0 0 1-6.14-.32 124.27 124.27 0 0 0-32.35-29.59C321.37 329 289.11 320 256 320s-65.37 9-90.83 25.34a124.24 124.24 0 0 0-32.35 29.58 4 4 0 0 1-6.14.32A175.32 175.32 0 0 1 80 259c-1.63-97.31 78.22-178.76 175.57-179S432 158.81 432 256a175.32 175.32 0 0 1-46.68 119.25z"},child:[]},{tag:"path",attr:{d:"M256 144c-19.72 0-37.55 7.39-50.22 20.82s-19 32-17.57 51.93C191.11 256 221.52 288 256 288s64.83-32 67.79-71.24c1.48-19.74-4.8-38.14-17.68-51.82C293.39 151.44 275.59 144 256 144z"},child:[]}]})(e)}function wg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z"},child:[]},{tag:"circle",attr:{cx:"256",cy:"256",r:"144"},child:[]}]})(e)}function Q5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"36"},child:[]},{tag:"path",attr:{d:"M190.24 341.77a22 22 0 0 1-16.46-7.38 118 118 0 0 1 0-156.76 22 22 0 1 1 32.87 29.24 74 74 0 0 0 0 98.29 22 22 0 0 1-16.43 36.61zm131.52 0a22 22 0 0 1-16.43-36.61 74 74 0 0 0 0-98.29 22 22 0 1 1 32.87-29.24 118 118 0 0 1 0 156.76 22 22 0 0 1-16.44 7.38z"},child:[]},{tag:"path",attr:{d:"M139.29 392.72a21.92 21.92 0 0 1-16.08-7 190 190 0 0 1 0-259.49 22 22 0 1 1 32.13 30.06 146 146 0 0 0 0 199.38 22 22 0 0 1-16.06 37zm233.42 0a22 22 0 0 1-16.06-37 146 146 0 0 0 0-199.38 22 22 0 1 1 32.13-30.06 190 190 0 0 1 0 259.49 21.92 21.92 0 0 1-16.07 6.95z"},child:[]},{tag:"path",attr:{d:"M429 438a22 22 0 0 1-16.39-36.67 218.34 218.34 0 0 0 0-290.66 22 22 0 0 1 32.78-29.34 262.34 262.34 0 0 1 0 349.34A22 22 0 0 1 429 438zm-346 0a21.94 21.94 0 0 1-16.41-7.33 262.34 262.34 0 0 1 0-349.34 22 22 0 0 1 32.78 29.34 218.34 218.34 0 0 0 0 290.66A22 22 0 0 1 83 438z"},child:[]}]})(e)}function J5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M320 146s24.36-12-64-12a160 160 0 1 0 160 160"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m256 58 80 80-80 80"},child:[]}]})(e)}function Cg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M400 256H112"},child:[]}]})(e)}function el(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M461.81 53.81a4.4 4.4 0 0 0-3.3-3.39c-54.38-13.3-180 34.09-248.13 102.17a294.9 294.9 0 0 0-33.09 39.08c-21-1.9-42-.3-59.88 7.5-50.49 22.2-65.18 80.18-69.28 105.07a9 9 0 0 0 9.8 10.4l81.07-8.9a180.29 180.29 0 0 0 1.1 18.3 18.15 18.15 0 0 0 5.3 11.09l31.39 31.39a18.15 18.15 0 0 0 11.1 5.3 179.91 179.91 0 0 0 18.19 1.1l-8.89 81a9 9 0 0 0 10.39 9.79c24.9-4 83-18.69 105.07-69.17 7.8-17.9 9.4-38.79 7.6-59.69a293.91 293.91 0 0 0 39.19-33.09c68.38-68 115.47-190.86 102.37-247.95zM298.66 213.67a42.7 42.7 0 1 1 60.38 0 42.65 42.65 0 0 1-60.38 0z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M109.64 352a45.06 45.06 0 0 0-26.35 12.84C65.67 382.52 64 448 64 448s65.52-1.67 83.15-19.31A44.73 44.73 0 0 0 160 402.32"},child:[]}]})(e)}function Y5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M328.85 156.79a26.69 26.69 0 1 0 18.88 7.81 26.6 26.6 0 0 0-18.88-7.81z"},child:[]},{tag:"path",attr:{d:"M477.44 50.06a.29.29 0 0 1 0-.09 20.4 20.4 0 0 0-15.13-15.3c-29.8-7.27-76.68.48-128.63 21.28-52.36 21-101.42 52-134.58 85.22A320.7 320.7 0 0 0 169.55 175c-22.33-1-42 2.18-58.57 9.41-57.74 25.41-74.23 90.44-78.62 117.14a25 25 0 0 0 27.19 29h.13l64.32-7.02c.08.82.17 1.57.24 2.26a34.36 34.36 0 0 0 9.9 20.72l31.39 31.41a34.27 34.27 0 0 0 20.71 9.91l2.15.23-7 64.24v.13A25 25 0 0 0 206 480a25.25 25.25 0 0 0 4.15-.34C237 475.34 302 459.05 327.34 401c7.17-16.46 10.34-36.05 9.45-58.34a314.78 314.78 0 0 0 33.95-29.55c33.43-33.26 64.53-81.92 85.31-133.52 20.69-51.36 28.48-98.59 21.39-129.53zM370.38 224.94a58.77 58.77 0 1 1 0-83.07 58.3 58.3 0 0 1 0 83.07z"},child:[]},{tag:"path",attr:{d:"M161.93 386.44a16 16 0 0 0-11 2.67c-6.39 4.37-12.81 8.69-19.29 12.9-13.11 8.52-28.79-6.44-21-20l12.15-21a16 16 0 0 0-15.16-24.91A61.25 61.25 0 0 0 72 353.56c-3.66 3.67-14.79 14.81-20.78 57.26A357.94 357.94 0 0 0 48 447.59 16 16 0 0 0 64 464h.4a359.87 359.87 0 0 0 36.8-3.2c42.47-6 53.61-17.14 57.27-20.8a60.49 60.49 0 0 0 17.39-35.74 16 16 0 0 0-13.93-17.82z"},child:[]}]})(e)}function kg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m465.94 119.76-73.7-73.7A47.68 47.68 0 0 0 358.3 32H96a64 64 0 0 0-64 64v320a64 64 0 0 0 64 64h320a64 64 0 0 0 64-64V153.7a47.68 47.68 0 0 0-14.06-33.94zM120 112h176a8 8 0 0 1 8 8v48a8 8 0 0 1-8 8H120a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8zm139.75 319.91a80 80 0 1 1 76.16-76.16 80.06 80.06 0 0 1-76.16 76.16z"},child:[]},{tag:"circle",attr:{cx:"256",cy:"352",r:"48"},child:[]}]})(e)}function K1(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M338.29 338.29 448 448"},child:[]}]})(e)}function Sg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M456.69 421.39 362.6 327.3a173.81 173.81 0 0 0 34.84-104.58C397.44 126.38 319.06 48 222.72 48S48 126.38 48 222.72s78.38 174.72 174.72 174.72A173.81 173.81 0 0 0 327.3 362.6l94.09 94.09a25 25 0 0 0 35.3-35.3zM97.92 222.72a124.8 124.8 0 1 1 124.8 124.8 124.95 124.95 0 0 1-124.8-124.8z"},child:[]}]})(e)}function Ng(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"32",d:"M336 320H32L184 48l152 272zm-70.68-125.49A144 144 0 1 1 192 320"},child:[]}]})(e)}function $g(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M463.1 112.37C373.68 96.33 336.71 84.45 256 48c-80.71 36.45-117.68 48.33-207.1 64.37C32.7 369.13 240.58 457.79 256 464c15.42-6.21 223.3-94.87 207.1-351.63z"},child:[]}]})(e)}function X5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M479.07 111.35a16 16 0 0 0-13.15-14.75C379.89 81.18 343.69 69.12 266 34.16c-7.76-2.89-12.57-2.84-20 0-77.69 35-113.89 47-199.92 62.44a16 16 0 0 0-13.15 14.75c-3.85 61.1 4.34 118 24.36 169.15a348.86 348.86 0 0 0 71.43 112.41c44.67 47.43 94.2 75.12 119.74 85.6a20 20 0 0 0 15.11 0c27-10.92 74.69-37.82 119.71-85.62a348.86 348.86 0 0 0 71.43-112.39c20.02-51.14 28.21-108.05 24.36-169.15z"},child:[]}]})(e)}function Z5(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M208 512a24.84 24.84 0 0 1-23.34-16l-39.84-103.6a16.06 16.06 0 0 0-9.19-9.19L32 343.34a25 25 0 0 1 0-46.68l103.6-39.84a16.06 16.06 0 0 0 9.19-9.19L184.66 144a25 25 0 0 1 46.68 0l39.84 103.6a16.06 16.06 0 0 0 9.19 9.19l103 39.63a25.49 25.49 0 0 1 16.63 24.1 24.82 24.82 0 0 1-16 22.82l-103.6 39.84a16.06 16.06 0 0 0-9.19 9.19L231.34 496A24.84 24.84 0 0 1 208 512zm66.85-254.84zM88 176a14.67 14.67 0 0 1-13.69-9.4l-16.86-43.84a7.28 7.28 0 0 0-4.21-4.21L9.4 101.69a14.67 14.67 0 0 1 0-27.38l43.84-16.86a7.31 7.31 0 0 0 4.21-4.21L74.16 9.79A15 15 0 0 1 86.23.11a14.67 14.67 0 0 1 15.46 9.29l16.86 43.84a7.31 7.31 0 0 0 4.21 4.21l43.84 16.86a14.67 14.67 0 0 1 0 27.38l-43.84 16.86a7.28 7.28 0 0 0-4.21 4.21l-16.86 43.84A14.67 14.67 0 0 1 88 176zm312 80a16 16 0 0 1-14.93-10.26l-22.84-59.37a8 8 0 0 0-4.6-4.6l-59.37-22.84a16 16 0 0 1 0-29.86l59.37-22.84a8 8 0 0 0 4.6-4.6l22.67-58.95a16.45 16.45 0 0 1 13.17-10.57 16 16 0 0 1 16.86 10.15l22.84 59.37a8 8 0 0 0 4.6 4.6l59.37 22.84a16 16 0 0 1 0 29.86l-59.37 22.84a8 8 0 0 0-4.6 4.6l-22.84 59.37A16 16 0 0 1 400 256z"},child:[]}]})(e)}function ej(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m326.1 231.9-47.5 75.5a31 31 0 0 1-7 7 30.11 30.11 0 0 1-35-49l75.5-47.5a10.23 10.23 0 0 1 11.7 0 10.06 10.06 0 0 1 2.3 14z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 64C132.3 64 32 164.2 32 287.9a223.18 223.18 0 0 0 56.3 148.5c1.1 1.2 2.1 2.4 3.2 3.5a25.19 25.19 0 0 0 37.1-.1 173.13 173.13 0 0 1 254.8 0 25.19 25.19 0 0 0 37.1.1l3.2-3.5A223.18 223.18 0 0 0 480 287.9C480 164.2 379.7 64 256 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 128v32m160 128h-32m-256 0H96m69.49-90.51-22.63-22.63m203.65 22.63 22.63-22.63"},child:[]}]})(e)}function tj(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M425.7 118.25A240 240 0 0 0 76.32 447l.18.2c.33.35.64.71 1 1.05.74.84 1.58 1.79 2.57 2.78a41.17 41.17 0 0 0 60.36-.42 157.13 157.13 0 0 1 231.26 0 41.18 41.18 0 0 0 60.65.06l3.21-3.5.18-.2a239.93 239.93 0 0 0-10-328.76zM240 128a16 16 0 0 1 32 0v32a16 16 0 0 1-32 0zM128 304H96a16 16 0 0 1 0-32h32a16 16 0 0 1 0 32zm48.8-95.2a16 16 0 0 1-22.62 0l-22.63-22.62a16 16 0 0 1 22.63-22.63l22.62 22.63a16 16 0 0 1 0 22.62zm149.3 23.1-47.5 75.5a31 31 0 0 1-7 7 30.11 30.11 0 0 1-35-49l75.5-47.5a10.23 10.23 0 0 1 11.7 0 10.06 10.06 0 0 1 2.3 14zm31.72-23.1a16 16 0 0 1-22.62-22.62l22.62-22.63a16 16 0 0 1 22.63 22.63zm65.88 227.6zM416 304h-32a16 16 0 0 1 0-32h32a16 16 0 0 1 0 32z"},child:[]}]})(e)}function zg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M394 480a16 16 0 0 1-9.39-3L256 383.76 127.39 477a16 16 0 0 1-24.55-18.08L153 310.35 23 221.2a16 16 0 0 1 9-29.2h160.38l48.4-148.95a16 16 0 0 1 30.44 0l48.4 149H480a16 16 0 0 1 9.05 29.2L359 310.35l50.13 148.53A16 16 0 0 1 394 480z"},child:[]}]})(e)}function nj(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 48v48m0 320v48m147.08-355.08-33.94 33.94M142.86 369.14l-33.94 33.94M464 256h-48m-320 0H48m355.08 147.08-33.94-33.94M142.86 142.86l-33.94-33.94"},child:[]},{tag:"circle",attr:{cx:"256",cy:"256",r:"80",fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32"},child:[]}]})(e)}function G1(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 118a22 22 0 0 1-22-22V48a22 22 0 0 1 44 0v48a22 22 0 0 1-22 22zm0 368a22 22 0 0 1-22-22v-48a22 22 0 0 1 44 0v48a22 22 0 0 1-22 22zm113.14-321.14a22 22 0 0 1-15.56-37.55l33.94-33.94a22 22 0 0 1 31.11 31.11l-33.94 33.94a21.93 21.93 0 0 1-15.55 6.44zM108.92 425.08a22 22 0 0 1-15.55-37.56l33.94-33.94a22 22 0 1 1 31.11 31.11l-33.94 33.94a21.94 21.94 0 0 1-15.56 6.45zM464 278h-48a22 22 0 0 1 0-44h48a22 22 0 0 1 0 44zm-368 0H48a22 22 0 0 1 0-44h48a22 22 0 0 1 0 44zm307.08 147.08a21.94 21.94 0 0 1-15.56-6.45l-33.94-33.94a22 22 0 0 1 31.11-31.11l33.94 33.94a22 22 0 0 1-15.55 37.56zM142.86 164.86a21.89 21.89 0 0 1-15.55-6.44l-33.94-33.94a22 22 0 0 1 31.11-31.11l33.94 33.94a22 22 0 0 1-15.56 37.55zM256 358a102 102 0 1 1 102-102 102.12 102.12 0 0 1-102 102z"},child:[]}]})(e)}function Tl(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M434.67 285.59v-29.8c0-98.73-80.24-178.79-179.2-178.79a179 179 0 0 0-140.14 67.36m-38.53 82v29.8C76.8 355 157 435 256 435a180.45 180.45 0 0 0 140-66.92"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m32 256 44-44 46 44m358 0-44 44-46-44"},child:[]}]})(e)}function Eg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m32 415.5 120-320 120 320m-42-112H74m252-64c12.19-28.69 41-48 74-48h0c46 0 80 32 80 80v144"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M320 358.5c0 36 26.86 58 60 58 54 0 100-27 100-106v-15c-20 0-58 1-92 5-32.77 3.86-68 19-68 58z"},child:[]}]})(e)}function rj(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M320 287.18V81c0-35.12-27.89-64.42-63-64.95a64.08 64.08 0 0 0-65 64v207.13a8 8 0 0 1-3.18 6.37A113.48 113.48 0 0 0 144 384a112 112 0 0 0 224 0 113.48 113.48 0 0 0-44.82-90.45 8 8 0 0 1-3.18-6.37zM254.07 432a48 48 0 0 1-22-89.54 16 16 0 0 0 8-13.84V112.45c0-8.61 6.62-16 15.23-16.43A16 16 0 0 1 272 112v216.58a16.18 16.18 0 0 0 8.15 13.94A48 48 0 0 1 254.07 432z"},child:[]}]})(e)}function ij(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m472.06 334-144.16-6.13c-4.61-.36-23.9-1.21-23.9-25.87 0-23.81 19.16-25.33 24.14-25.88L472.06 270c12.67.13 23.94 14.43 23.94 32s-11.27 31.87-23.94 32zM330.61 202.33 437.35 194C450 194 464 210.68 464 227.88v.33c0 16.32-11.14 29.62-24.88 29.79l-108.45-1.73C304 253 304 236.83 304 229.88c0-22.88 21.8-27.15 26.61-27.55zM421.85 480l-89.37-8.93C308 470.14 304 453.82 304 443.59c0-18.38 13.41-24.6 26.67-24.6l91-3c14.54.23 26.32 14.5 26.32 32s-11.67 31.67-26.14 32.01zm34.36-71.5-126.4-6.21c-9.39-.63-25.81-3-25.81-26.37 0-12 4.35-25.61 25-27.53l127.19-3.88c13.16.14 23.81 13.49 23.81 31.4s-10.65 32.43-23.79 32.58z"},child:[]},{tag:"path",attr:{fill:"none",d:"M133.55 238.06A15.85 15.85 0 0 1 126 240a15.82 15.82 0 0 0 7.51-1.92zm40.59-69.28.13-.23-.13.23c-20.5 35.51-30.36 54.95-33.82 62 3.47-7.07 13.34-26.51 33.82-62z"},child:[]},{tag:"path",attr:{d:"m139.34 232.84 1-2a16.27 16.27 0 0 1-6.77 7.25 16.35 16.35 0 0 0 5.77-5.25z"},child:[]},{tag:"path",attr:{d:"M316.06 52.62C306.63 39.32 291 32 272 32a16 16 0 0 0-14.31 8.84c-3 6.07-15.25 24-28.19 42.91-18 26.33-40.35 59.07-55.23 84.8l-.13.23c-20.48 35.49-30.35 54.93-33.82 62l-1 2a16.35 16.35 0 0 1-5.79 5.22 15.82 15.82 0 0 1-7.53 2h-25.31A84.69 84.69 0 0 0 16 324.69v38.61a84.69 84.69 0 0 0 84.69 84.7h48.79a17.55 17.55 0 0 1 9.58 2.89C182 465.87 225.34 480 272 480c7.45 0 14.19-.14 20.27-.38a8 8 0 0 0 6.2-12.68l-.1-.14C289.8 454.41 288 441 288 432a61.2 61.2 0 0 1 5.19-24.77 17.36 17.36 0 0 0 0-14.05 63.81 63.81 0 0 1 0-50.39 17.32 17.32 0 0 0 0-14 62.15 62.15 0 0 1 0-49.59 18.13 18.13 0 0 0 0-14.68A60.33 60.33 0 0 1 288 239c0-8.2 2-21.3 8-31.19a15.63 15.63 0 0 0 1.14-13.64c-.38-1-.76-2.07-1.13-3.17a24.84 24.84 0 0 1-.86-11.58c3-19.34 9.67-36.29 16.74-54.16 3.08-7.78 6.27-15.82 9.22-24.26 6.14-17.57 4.3-35.2-5.05-48.38z"},child:[]}]})(e)}function sj(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 128v144h96"},child:[]}]})(e)}function Lg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"368",cy:"256",r:"128",fill:"none",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"rect",attr:{width:"480",height:"256",x:"16",y:"128",fill:"none",strokeLinejoin:"round",strokeWidth:"32",rx:"128",ry:"128"},child:[]}]})(e)}function Rg(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",d:"M296 64h-80a7.91 7.91 0 0 0-8 8v24h96V72a7.91 7.91 0 0 0-8-8z"},child:[]},{tag:"path",attr:{d:"M432 96h-96V72a40 40 0 0 0-40-40h-80a40 40 0 0 0-40 40v24H80a16 16 0 0 0 0 32h17l19 304.92c1.42 26.85 22 47.08 48 47.08h184c26.13 0 46.3-19.78 48-47l19-305h17a16 16 0 0 0 0-32zM192.57 416H192a16 16 0 0 1-16-15.43l-8-224a16 16 0 1 1 32-1.14l8 224A16 16 0 0 1 192.57 416zM272 400a16 16 0 0 1-32 0V176a16 16 0 0 1 32 0zm32-304h-96V72a7.91 7.91 0 0 1 8-8h80a7.91 7.91 0 0 1 8 8zm32 304.57A16 16 0 0 1 320 416h-.58A16 16 0 0 1 304 399.43l8-224a16 16 0 1 1 32 1.14z"},child:[]}]})(e)}function aj(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M416 432 64 80"},child:[]},{tag:"path",attr:{d:"M243.33 98.86a23.89 23.89 0 0 0-25.55 1.82l-.66.51-28.52 23.35a8 8 0 0 0-.59 11.85l54.33 54.33a8 8 0 0 0 13.66-5.66v-64.49a24.51 24.51 0 0 0-12.67-21.71zm8 236.43L96.69 180.69A16 16 0 0 0 85.38 176H56a24 24 0 0 0-24 24v112a24 24 0 0 0 24 24h69.76l92 75.31a23.9 23.9 0 0 0 25.87 1.69A24.51 24.51 0 0 0 256 391.45v-44.86a16 16 0 0 0-4.67-11.3zM352 256c0-24.56-5.81-47.87-17.75-71.27a16 16 0 1 0-28.5 14.55C315.34 218.06 320 236.62 320 256q0 4-.31 8.13a8 8 0 0 0 2.32 6.25l14.36 14.36a8 8 0 0 0 13.55-4.31A146 146 0 0 0 352 256zm64 0c0-51.18-13.08-83.89-34.18-120.06a16 16 0 0 0-27.64 16.12C373.07 184.44 384 211.83 384 256c0 23.83-3.29 42.88-9.37 60.65a8 8 0 0 0 1.9 8.26L389 337.4a8 8 0 0 0 13.13-2.79C411 311.76 416 287.26 416 256z"},child:[]},{tag:"path",attr:{d:"M480 256c0-74.25-20.19-121.11-50.51-168.61a16 16 0 1 0-27 17.22C429.82 147.38 448 189.5 448 256c0 46.19-8.43 80.27-22.43 110.53a8 8 0 0 0 1.59 9l11.92 11.92a8 8 0 0 0 12.92-2.16C471.6 344.9 480 305 480 256z"},child:[]}]})(e)}function oj(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M449.07 399.08 278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0 0 80 446.25h340.89a32 32 0 0 0 28.18-47.17zm-198.6-1.83a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm21.72-201.15-5.74 122a16 16 0 0 1-32 0l-5.74-121.95a21.73 21.73 0 0 1 21.5-22.69h.21a21.74 21.74 0 0 1 21.73 22.7z"},child:[]}]})(e)}function lj(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M265.12 60.12a12 12 0 0 0-18.23 0C215.23 97.15 112 225.17 112 320c0 88.37 55.64 144 144 144s144-55.63 144-144c0-94.83-103.23-222.85-134.88-259.88zM272 412a12 12 0 0 1-11.34-16 11.89 11.89 0 0 1 11.41-8A60.06 60.06 0 0 0 332 328.07a11.89 11.89 0 0 1 8-11.41A12 12 0 0 1 356 328a84.09 84.09 0 0 1-84 84z"},child:[]}]})(e)}function dd(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M346.65 304.3a136 136 0 0 0-180.71 0 21 21 0 1 0 27.91 31.38 94 94 0 0 1 124.89 0 21 21 0 0 0 27.91-31.4z"},child:[]},{tag:"path",attr:{d:"M256.28 183.7a221.47 221.47 0 0 0-151.8 59.92 21 21 0 1 0 28.68 30.67 180.28 180.28 0 0 1 246.24 0 21 21 0 1 0 28.68-30.67 221.47 221.47 0 0 0-151.8-59.92z"},child:[]},{tag:"path",attr:{d:"M462 175.86a309 309 0 0 0-411.44 0 21 21 0 1 0 28 31.29 267 267 0 0 1 355.43 0 21 21 0 0 0 28-31.31z"},child:[]},{tag:"circle",attr:{cx:"256.28",cy:"393.41",r:"32"},child:[]}]})(e)}const cj="_sidebar_1nu6q_42",dj="_header_1nu6q_60",uj="_logo_1nu6q_66",pj="_icon_1nu6q_78",hj="_nav_1nu6q_85",mj="_section_1nu6q_88",fj="_title_1nu6q_94",gj="_list_1nu6q_103",xj="_item_1nu6q_108",vj="_active_1nu6q_124",jj="_itemIcon_1nu6q_133",_j="_text_1nu6q_141",yj="_open_1nu6q_159",xn={sidebar:cj,header:dj,logo:uj,icon:pj,nav:hj,section:mj,title:fj,list:gj,item:xj,active:vj,itemIcon:jj,text:_j,open:yj,"accordion-down":"_accordion-down_1nu6q_1","accordion-up":"_accordion-up_1nu6q_1"};var Ag={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @namespace * @public - */var r=function(i){var s=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,a=0,o={},l={manual:i.Prism&&i.Prism.manual,disableWorkerMessageHandler:i.Prism&&i.Prism.disableWorkerMessageHandler,util:{encode:function d(f){return f instanceof c?new c(f.type,d(f.content),f.alias):Array.isArray(f)?f.map(d):f.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(w){var d=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(w.stack)||[])[1];if(d){var f=document.getElementsByTagName("script");for(var v in f)if(f[v].src==d)return f[v]}return null}},isActive:function(d,f,v){for(var w="no-"+f;d;){var g=d.classList;if(g.contains(f))return!0;if(g.contains(w))return!1;d=d.parentElement}return!!v}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(d,f){var v=l.util.clone(l.languages[d]);for(var w in f)v[w]=f[w];return v},insertBefore:function(d,f,v,w){w=w||l.languages;var g=w[d],N={};for(var S in g)if(g.hasOwnProperty(S)){if(S==f)for(var L in v)v.hasOwnProperty(L)&&(N[L]=v[L]);v.hasOwnProperty(S)||(N[S]=g[S])}var E=w[d];return w[d]=N,l.languages.DFS(l.languages,function(O,Q){Q===E&&O!=d&&(this[O]=N)}),N},DFS:function d(f,v,w,g){g=g||{};var N=l.util.objId;for(var S in f)if(f.hasOwnProperty(S)){v.call(f,S,f[S],w||S);var L=f[S],E=l.util.type(L);E==="Object"&&!g[N(L)]?(g[N(L)]=!0,d(L,v,null,g)):E==="Array"&&!g[N(L)]&&(g[N(L)]=!0,d(L,v,S,g))}}},plugins:{},highlightAll:function(d,f){l.highlightAllUnder(document,d,f)},highlightAllUnder:function(d,f,v){var w={callback:v,container:d,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};l.hooks.run("before-highlightall",w),w.elements=Array.prototype.slice.apply(w.container.querySelectorAll(w.selector)),l.hooks.run("before-all-elements-highlight",w);for(var g=0,N;N=w.elements[g++];)l.highlightElement(N,f===!0,w.callback)},highlightElement:function(d,f,v){var w=l.util.getLanguage(d),g=l.languages[w];l.util.setLanguage(d,w);var N=d.parentElement;N&&N.nodeName.toLowerCase()==="pre"&&l.util.setLanguage(N,w);var S=d.textContent,L={element:d,language:w,grammar:g,code:S};function E(Q){L.highlightedCode=Q,l.hooks.run("before-insert",L),L.element.innerHTML=L.highlightedCode,l.hooks.run("after-highlight",L),l.hooks.run("complete",L),v&&v.call(L.element)}if(l.hooks.run("before-sanity-check",L),N=L.element.parentElement,N&&N.nodeName.toLowerCase()==="pre"&&!N.hasAttribute("tabindex")&&N.setAttribute("tabindex","0"),!L.code){l.hooks.run("complete",L),v&&v.call(L.element);return}if(l.hooks.run("before-highlight",L),!L.grammar){E(l.util.encode(L.code));return}if(f&&i.Worker){var O=new Worker(l.filename);O.onmessage=function(Q){E(Q.data)},O.postMessage(JSON.stringify({language:L.language,code:L.code,immediateClose:!0}))}else E(l.highlight(L.code,L.grammar,L.language))},highlight:function(d,f,v){var w={code:d,grammar:f,language:v};if(l.hooks.run("before-tokenize",w),!w.grammar)throw new Error('The language "'+w.language+'" has no grammar.');return w.tokens=l.tokenize(w.code,w.grammar),l.hooks.run("after-tokenize",w),c.stringify(l.util.encode(w.tokens),w.language)},tokenize:function(d,f){var v=f.rest;if(v){for(var w in v)f[w]=v[w];delete f.rest}var g=new m;return h(g,g.head,d),p(d,g,f,g.head,0),_(g)},hooks:{all:{},add:function(d,f){var v=l.hooks.all;v[d]=v[d]||[],v[d].push(f)},run:function(d,f){var v=l.hooks.all[d];if(!(!v||!v.length))for(var w=0,g;g=v[w++];)g(f)}},Token:c};i.Prism=l;function c(d,f,v,w){this.type=d,this.content=f,this.alias=v,this.length=(w||"").length|0}c.stringify=function d(f,v){if(typeof f=="string")return f;if(Array.isArray(f)){var w="";return f.forEach(function(E){w+=d(E,v)}),w}var g={type:f.type,content:d(f.content,v),tag:"span",classes:["token",f.type],attributes:{},language:v},N=f.alias;N&&(Array.isArray(N)?Array.prototype.push.apply(g.classes,N):g.classes.push(N)),l.hooks.run("wrap",g);var S="";for(var L in g.attributes)S+=" "+L+'="'+(g.attributes[L]||"").replace(/"/g,""")+'"';return"<"+g.tag+' class="'+g.classes.join(" ")+'"'+S+">"+g.content+""};function u(d,f,v,w){d.lastIndex=f;var g=d.exec(v);if(g&&w&&g[1]){var N=g[1].length;g.index+=N,g[0]=g[0].slice(N)}return g}function p(d,f,v,w,g,N){for(var S in v)if(!(!v.hasOwnProperty(S)||!v[S])){var L=v[S];L=Array.isArray(L)?L:[L];for(var E=0;E=N.reach);M+=R.value.length,R=R.next){var T=R.value;if(f.length>d.length)return;if(!(T instanceof c)){var J=1,X;if(U){if(X=u(ee,M,d,q),!X||X.index>=d.length)break;var Ne=X.index,Ae=X.index+X[0].length,K=M;for(K+=R.value.length;Ne>=K;)R=R.next,K+=R.value.length;if(K-=R.value.length,M=K,R.value instanceof c)continue;for(var de=R;de!==f.tail&&(KN.reach&&(N.reach=Tt);var It=R.prev;Mt&&(It=h(f,It,Mt),M+=Mt.length),x(f,It,J);var Ue=new c(S,Q?l.tokenize(Ke,Q):Ke,D,Ke);if(R=h(f,It,Ue),wt&&h(f,R,wt),J>1){var ne={cause:S+","+E,reach:Tt};p(d,f,v,R.prev,M,ne),N&&ne.reach>N.reach&&(N.reach=ne.reach)}}}}}}function m(){var d={value:null,prev:null,next:null},f={value:null,prev:d,next:null};d.next=f,this.head=d,this.tail=f,this.length=0}function h(d,f,v){var w=f.next,g={value:v,prev:f,next:w};return f.next=g,w.prev=g,d.length++,g}function x(d,f,v){for(var w=f.next,g=0;g/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(i){i.type==="entity"&&(i.attributes.title=i.content.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(s,a){var o={};o["language-"+a]={pattern:/(^$)/i,lookbehind:!0,inside:r.languages[a]},o.cdata=/^$/i;var l={"included-cdata":{pattern://i,inside:o}};l["language-"+a]={pattern:/[\s\S]+/,inside:r.languages[a]};var c={};c[s]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return s}),"i"),lookbehind:!0,greedy:!0,inside:l},r.languages.insertBefore("markup","cdata",c)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(i,s){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+i+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[s,"language-"+s],inside:r.languages[s]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(i){var s=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+s.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+s.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+s.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+s.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:s,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css;var a=i.languages.markup;a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(typeof r>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var i="Loading…",s=function(b,k){return"✖ Error "+b+" while fetching file: "+k},a="✖ Error: File does not exist or is empty",o={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},l="data-src-status",c="loading",u="loaded",p="failed",m="pre[data-src]:not(["+l+'="'+u+'"]):not(['+l+'="'+c+'"])';function h(b,k,j){var d=new XMLHttpRequest;d.open("GET",b,!0),d.onreadystatechange=function(){d.readyState==4&&(d.status<400&&d.responseText?k(d.responseText):d.status>=400?j(s(d.status,d.statusText)):j(a))},d.send(null)}function x(b){var k=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(b||"");if(k){var j=Number(k[1]),d=k[2],f=k[3];return d?f?[j,Number(f)]:[j,void 0]:[j,j]}}r.hooks.add("before-highlightall",function(b){b.selector+=", "+m}),r.hooks.add("before-sanity-check",function(b){var k=b.element;if(k.matches(m)){b.code="",k.setAttribute(l,c);var j=k.appendChild(document.createElement("CODE"));j.textContent=i;var d=k.getAttribute("data-src"),f=b.language;if(f==="none"){var v=(/\.(\w+)$/.exec(d)||[,"none"])[1];f=o[v]||v}r.util.setLanguage(j,f),r.util.setLanguage(k,f);var w=r.plugins.autoloader;w&&w.loadLanguages(f),h(d,function(g){k.setAttribute(l,u);var N=x(k.getAttribute("data-range"));if(N){var S=g.split(/\r\n?|\n/g),L=N[0],E=N[1]==null?S.length:N[1];L<0&&(L+=S.length),L=Math.max(0,Math.min(L-1,S.length)),E<0&&(E+=S.length),E=Math.max(0,Math.min(E,S.length)),g=S.slice(L,E).join(` -`),k.hasAttribute("data-start")||k.setAttribute("data-start",String(L+1))}j.textContent=g,r.highlightElement(j)},function(g){k.setAttribute(l,p),j.textContent=g})}}),r.plugins.fileHighlight={highlight:function(k){for(var j=(k||document).querySelectorAll(m),d=0,f;f=j[d++];)r.highlightElement(f)}};var _=!1;r.fileHighlight=function(){_||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),_=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(P0);var X6=P0.exports;const Z6=Qd(X6);(function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:r,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=i.variable[1].inside,o=0;o]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript})(Prism);Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;(function(e){var t=e.util.clone(e.languages.javascript),r=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function a(c,u){return c=c.replace(//g,function(){return r}).replace(//g,function(){return i}).replace(//g,function(){return s}),RegExp(c,u)}s=a(s).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(c){return c?typeof c=="string"?c:typeof c.content=="string"?c.content:c.content.map(o).join(""):""},l=function(c){for(var u=[],p=0;p0&&u[u.length-1].tagName===o(m.content[0].content[1])&&u.pop():m.content[m.content.length-1].content==="/>"||u.push({tagName:o(m.content[0].content[1]),openedBraces:0}):u.length>0&&m.type==="punctuation"&&m.content==="{"?u[u.length-1].openedBraces++:u.length>0&&u[u.length-1].openedBraces>0&&m.type==="punctuation"&&m.content==="}"?u[u.length-1].openedBraces--:h=!0),(h||typeof m=="string")&&u.length>0&&u[u.length-1].openedBraces===0){var x=o(m);p0&&(typeof c[p-1]=="string"||c[p-1].type==="plain-text")&&(x=o(c[p-1])+x,c.splice(p-1,1),p--),c[p]=new e.Token("plain-text",x,null,x)}m.content&&typeof m.content!="string"&&l(m.content)}};e.hooks.add("after-tokenize",function(c){c.language!=="jsx"&&c.language!=="tsx"||l(c.tokens)})})(Prism);(function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var r=e.languages.tsx.tag;r.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+r.pattern.source+")",r.pattern.flags),r.lookbehind=!0})(Prism);Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}});Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]});Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/});Prism.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}});Prism.languages.scss.atrule.inside.rest=Prism.languages.scss;(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(Prism);Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;(function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(p){return p=p.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+p+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+a+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+a+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(p){["url","bold","italic","strike","code-snippet"].forEach(function(m){p!==m&&(e.languages.markdown[p].inside.content.inside[m]=e.languages.markdown[m])})}),e.hooks.add("after-tokenize",function(p){if(p.language!=="markdown"&&p.language!=="md")return;function m(h){if(!(!h||typeof h=="string"))for(var x=0,_=h.length;x<_;x++){var b=h[x];if(b.type!=="code"){m(b.content);continue}var k=b.content[1],j=b.content[3];if(k&&j&&k.type==="code-language"&&j.type==="code-block"&&typeof k.content=="string"){var d=k.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");d=(/[a-z][\w-]*/i.exec(d)||[""])[0].toLowerCase();var f="language-"+d;j.alias?typeof j.alias=="string"?j.alias=[j.alias,f]:j.alias.push(f):j.alias=[f]}}}m(p.tokens)}),e.hooks.add("wrap",function(p){if(p.type==="code-block"){for(var m="",h=0,x=p.classes.length;h",quot:'"'},c=String.fromCodePoint||String.fromCharCode;function u(p){var m=p.replace(o,"");return m=m.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(h,x){if(x=x.toLowerCase(),x[0]==="#"){var _;return x[1]==="x"?_=parseInt(x.slice(2),16):_=Number(x.slice(1)),c(_)}else{var b=l[x];return b||h}}),m}e.languages.md=e.languages.markdown})(Prism);(function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+r.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+r.source+")?)",s=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(l,c){c=(c||"").replace(/m/g,"")+"m";var u=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return l});return RegExp(u,c)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+s+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(a),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(Prism);(function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,r=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,s=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return i}),a={pattern:RegExp(i),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function l(c,u){return c=c.replace(//g,function(){return s}).replace(//g,function(){return r}),RegExp(c,u)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:l(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[a,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:l(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:a,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker})(Prism);(function(e){var t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]})(Prism);const e5="_codeBlock_5ufwy_42",t5="_header_5ufwy_56",n5="_language_5ufwy_65",r5="_copyButton_5ufwy_72",i5="_icon_5ufwy_92",s5="_codeWrapper_5ufwy_100",a5="_pre_5ufwy_120",fr={codeBlock:e5,header:t5,language:n5,copyButton:r5,icon:i5,codeWrapper:s5,pre:a5,"line-numbers":"_line-numbers_5ufwy_137","line-numbers-rows":"_line-numbers-rows_5ufwy_145","accordion-down":"_accordion-down_5ufwy_1","accordion-up":"_accordion-up_5ufwy_1"},oe=({code:e,language:t="typescript",showLineNumbers:r=!0,live:i=!1})=>{const[s,a]=y.useState(!1),[o,l]=y.useState(null),c=y.useRef(null);y.useEffect(()=>{c.current&&Z6.highlightElement(c.current)},[e,t]),y.useEffect(()=>{if(i&&t==="jsx")try{const m=new Function("React",`return ${e}`).call(null,je).default;l(n.jsx(m,{}))}catch(m){console.error("Live preview error:",m)}},[e,i,t]);const u=async()=>{try{await navigator.clipboard.writeText(e),a(!0),setTimeout(()=>a(!1),2e3)}catch(m){console.error("Failed to copy:",m)}},p=m=>m.trim().replace(/\n$/,"");return n.jsxs("div",{className:fr.codeBlock,children:[n.jsxs("div",{className:fr.header,children:[n.jsx("span",{className:fr.language,children:t}),n.jsx("button",{className:fr.copyButton,onClick:u,children:s?n.jsx(Q3,{className:fr.icon}):n.jsx(Y3,{className:fr.icon})})]}),n.jsx("div",{className:fr.codeWrapper,children:n.jsx("pre",{className:`${fr.pre} ${r?"line-numbers":""}`,children:n.jsx("code",{ref:c,className:`language-${t}`,style:{whiteSpace:"pre"},children:p(e)})})}),i&&o&&n.jsx("div",{className:fr.preview,children:o})]})},o5="_page_989pq_42",l5="_header_989pq_47",c5="_titleWrapper_989pq_50",d5="_icon_989pq_55",u5="_section_989pq_71",p5="_features_989pq_95",h5="_codeWrapper_989pq_120",m5="_description_989pq_123",f5="_nextSteps_989pq_128",g5="_tokens_989pq_169",ge={page:o5,header:l5,titleWrapper:c5,icon:d5,section:u5,features:p5,codeWrapper:h5,description:m5,nextSteps:f5,tokens:g5,"accordion-down":"_accordion-down_989pq_1","accordion-up":"_accordion-up_989pq_1"},x5=()=>{const{t:e}=$e();return n.jsxs("div",{className:ge.page,children:[n.jsx("header",{className:ge.header,children:n.jsxs("div",{className:ge.titleWrapper,children:[n.jsx(Wl,{className:ge.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.overview.title")}),n.jsx("p",{children:e("components.overview.description")})]})]})}),n.jsxs("section",{className:ge.section,children:[n.jsx("h2",{children:e("components.overview.features.title")}),n.jsxs("ul",{className:ge.features,children:[n.jsxs("li",{children:[n.jsxs("h3",{children:["🎨 ",e("components.overview.features.modern.title")]}),n.jsx("p",{children:e("components.overview.features.modern.description")})]}),n.jsxs("li",{children:[n.jsxs("h3",{children:["🚀 ",e("components.overview.features.performance.title")]}),n.jsx("p",{children:e("components.overview.features.performance.description")})]}),n.jsxs("li",{children:[n.jsxs("h3",{children:["🌙 ",e("components.overview.features.theme.title")]}),n.jsx("p",{children:e("components.overview.features.theme.description")})]}),n.jsxs("li",{children:[n.jsxs("h3",{children:["📱 ",e("components.overview.features.responsive.title")]}),n.jsx("p",{children:e("components.overview.features.responsive.description")})]})]})]}),n.jsxs("section",{className:ge.section,children:[n.jsx("h2",{children:e("components.overview.quickstart.title")}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(oe,{code:"npm install @minerva/lib-core",language:"bash",showLineNumbers:!1})}),n.jsx("p",{className:ge.description,children:e("components.overview.quickstart.description")}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(oe,{code:`import { Button } from '@minerva/lib-core'; + */var r=function(i){var s=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,a=0,o={},l={manual:i.Prism&&i.Prism.manual,disableWorkerMessageHandler:i.Prism&&i.Prism.disableWorkerMessageHandler,util:{encode:function u(f){return f instanceof c?new c(f.type,u(f.content),f.alias):Array.isArray(f)?f.map(u):f.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(w){var u=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(w.stack)||[])[1];if(u){var f=document.getElementsByTagName("script");for(var v in f)if(f[v].src==u)return f[v]}return null}},isActive:function(u,f,v){for(var w="no-"+f;u;){var x=u.classList;if(x.contains(f))return!0;if(x.contains(w))return!1;u=u.parentElement}return!!v}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(u,f){var v=l.util.clone(l.languages[u]);for(var w in f)v[w]=f[w];return v},insertBefore:function(u,f,v,w){w=w||l.languages;var x=w[u],N={};for(var S in x)if(x.hasOwnProperty(S)){if(S==f)for(var E in v)v.hasOwnProperty(E)&&(N[E]=v[E]);v.hasOwnProperty(S)||(N[S]=x[S])}var L=w[u];return w[u]=N,l.languages.DFS(l.languages,function(F,J){J===L&&F!=u&&(this[F]=N)}),N},DFS:function u(f,v,w,x){x=x||{};var N=l.util.objId;for(var S in f)if(f.hasOwnProperty(S)){v.call(f,S,f[S],w||S);var E=f[S],L=l.util.type(E);L==="Object"&&!x[N(E)]?(x[N(E)]=!0,u(E,v,null,x)):L==="Array"&&!x[N(E)]&&(x[N(E)]=!0,u(E,v,S,x))}}},plugins:{},highlightAll:function(u,f){l.highlightAllUnder(document,u,f)},highlightAllUnder:function(u,f,v){var w={callback:v,container:u,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};l.hooks.run("before-highlightall",w),w.elements=Array.prototype.slice.apply(w.container.querySelectorAll(w.selector)),l.hooks.run("before-all-elements-highlight",w);for(var x=0,N;N=w.elements[x++];)l.highlightElement(N,f===!0,w.callback)},highlightElement:function(u,f,v){var w=l.util.getLanguage(u),x=l.languages[w];l.util.setLanguage(u,w);var N=u.parentElement;N&&N.nodeName.toLowerCase()==="pre"&&l.util.setLanguage(N,w);var S=u.textContent,E={element:u,language:w,grammar:x,code:S};function L(J){E.highlightedCode=J,l.hooks.run("before-insert",E),E.element.innerHTML=E.highlightedCode,l.hooks.run("after-highlight",E),l.hooks.run("complete",E),v&&v.call(E.element)}if(l.hooks.run("before-sanity-check",E),N=E.element.parentElement,N&&N.nodeName.toLowerCase()==="pre"&&!N.hasAttribute("tabindex")&&N.setAttribute("tabindex","0"),!E.code){l.hooks.run("complete",E),v&&v.call(E.element);return}if(l.hooks.run("before-highlight",E),!E.grammar){L(l.util.encode(E.code));return}if(f&&i.Worker){var F=new Worker(l.filename);F.onmessage=function(J){L(J.data)},F.postMessage(JSON.stringify({language:E.language,code:E.code,immediateClose:!0}))}else L(l.highlight(E.code,E.grammar,E.language))},highlight:function(u,f,v){var w={code:u,grammar:f,language:v};if(l.hooks.run("before-tokenize",w),!w.grammar)throw new Error('The language "'+w.language+'" has no grammar.');return w.tokens=l.tokenize(w.code,w.grammar),l.hooks.run("after-tokenize",w),c.stringify(l.util.encode(w.tokens),w.language)},tokenize:function(u,f){var v=f.rest;if(v){for(var w in v)f[w]=v[w];delete f.rest}var x=new h;return m(x,x.head,u),p(u,x,f,x.head,0),j(x)},hooks:{all:{},add:function(u,f){var v=l.hooks.all;v[u]=v[u]||[],v[u].push(f)},run:function(u,f){var v=l.hooks.all[u];if(!(!v||!v.length))for(var w=0,x;x=v[w++];)x(f)}},Token:c};i.Prism=l;function c(u,f,v,w){this.type=u,this.content=f,this.alias=v,this.length=(w||"").length|0}c.stringify=function u(f,v){if(typeof f=="string")return f;if(Array.isArray(f)){var w="";return f.forEach(function(L){w+=u(L,v)}),w}var x={type:f.type,content:u(f.content,v),tag:"span",classes:["token",f.type],attributes:{},language:v},N=f.alias;N&&(Array.isArray(N)?Array.prototype.push.apply(x.classes,N):x.classes.push(N)),l.hooks.run("wrap",x);var S="";for(var E in x.attributes)S+=" "+E+'="'+(x.attributes[E]||"").replace(/"/g,""")+'"';return"<"+x.tag+' class="'+x.classes.join(" ")+'"'+S+">"+x.content+""};function d(u,f,v,w){u.lastIndex=f;var x=u.exec(v);if(x&&w&&x[1]){var N=x[1].length;x.index+=N,x[0]=x[0].slice(N)}return x}function p(u,f,v,w,x,N){for(var S in v)if(!(!v.hasOwnProperty(S)||!v[S])){var E=v[S];E=Array.isArray(E)?E:[E];for(var L=0;L=N.reach);M+=A.value.length,A=A.next){var B=A.value;if(f.length>u.length)return;if(!(B instanceof c)){var Y=1,X;if(U){if(X=d(ee,M,u,q),!X||X.index>=u.length)break;var ze=X.index,Pe=X.index+X[0].length,K=M;for(K+=A.value.length;ze>=K;)A=A.next,K+=A.value.length;if(K-=A.value.length,M=K,A.value instanceof c)continue;for(var ue=A;ue!==f.tail&&(KN.reach&&(N.reach=Tt);var Rt=A.prev;Bt&&(Rt=m(f,Rt,Bt),M+=Bt.length),g(f,Rt,Y);var Ue=new c(S,J?l.tokenize(Ke,J):Ke,D,Ke);if(A=m(f,Rt,Ue),wt&&m(f,A,wt),Y>1){var re={cause:S+","+L,reach:Tt};p(u,f,v,A.prev,M,re),N&&re.reach>N.reach&&(N.reach=re.reach)}}}}}}function h(){var u={value:null,prev:null,next:null},f={value:null,prev:u,next:null};u.next=f,this.head=u,this.tail=f,this.length=0}function m(u,f,v){var w=f.next,x={value:v,prev:f,next:w};return f.next=x,w.prev=x,u.length++,x}function g(u,f,v){for(var w=f.next,x=0;x/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(i){i.type==="entity"&&(i.attributes.title=i.content.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(s,a){var o={};o["language-"+a]={pattern:/(^$)/i,lookbehind:!0,inside:r.languages[a]},o.cdata=/^$/i;var l={"included-cdata":{pattern://i,inside:o}};l["language-"+a]={pattern:/[\s\S]+/,inside:r.languages[a]};var c={};c[s]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return s}),"i"),lookbehind:!0,greedy:!0,inside:l},r.languages.insertBefore("markup","cdata",c)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(i,s){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+i+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[s,"language-"+s],inside:r.languages[s]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(i){var s=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+s.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+s.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+s.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+s.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:s,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css;var a=i.languages.markup;a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(typeof r>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var i="Loading…",s=function(b,k){return"✖ Error "+b+" while fetching file: "+k},a="✖ Error: File does not exist or is empty",o={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},l="data-src-status",c="loading",d="loaded",p="failed",h="pre[data-src]:not(["+l+'="'+d+'"]):not(['+l+'="'+c+'"])';function m(b,k,_){var u=new XMLHttpRequest;u.open("GET",b,!0),u.onreadystatechange=function(){u.readyState==4&&(u.status<400&&u.responseText?k(u.responseText):u.status>=400?_(s(u.status,u.statusText)):_(a))},u.send(null)}function g(b){var k=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(b||"");if(k){var _=Number(k[1]),u=k[2],f=k[3];return u?f?[_,Number(f)]:[_,void 0]:[_,_]}}r.hooks.add("before-highlightall",function(b){b.selector+=", "+h}),r.hooks.add("before-sanity-check",function(b){var k=b.element;if(k.matches(h)){b.code="",k.setAttribute(l,c);var _=k.appendChild(document.createElement("CODE"));_.textContent=i;var u=k.getAttribute("data-src"),f=b.language;if(f==="none"){var v=(/\.(\w+)$/.exec(u)||[,"none"])[1];f=o[v]||v}r.util.setLanguage(_,f),r.util.setLanguage(k,f);var w=r.plugins.autoloader;w&&w.loadLanguages(f),m(u,function(x){k.setAttribute(l,d);var N=g(k.getAttribute("data-range"));if(N){var S=x.split(/\r\n?|\n/g),E=N[0],L=N[1]==null?S.length:N[1];E<0&&(E+=S.length),E=Math.max(0,Math.min(E-1,S.length)),L<0&&(L+=S.length),L=Math.max(0,Math.min(L,S.length)),x=S.slice(E,L).join(` +`),k.hasAttribute("data-start")||k.setAttribute("data-start",String(E+1))}_.textContent=x,r.highlightElement(_)},function(x){k.setAttribute(l,p),_.textContent=x})}}),r.plugins.fileHighlight={highlight:function(k){for(var _=(k||document).querySelectorAll(h),u=0,f;f=_[u++];)r.highlightElement(f)}};var j=!1;r.fileHighlight=function(){j||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),j=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(Ag);var bj=Ag.exports;const wj=Cu(bj);(function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:r,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=i.variable[1].inside,o=0;o]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript})(Prism);Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;(function(e){var t=e.util.clone(e.languages.javascript),r=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function a(c,d){return c=c.replace(//g,function(){return r}).replace(//g,function(){return i}).replace(//g,function(){return s}),RegExp(c,d)}s=a(s).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(c){return c?typeof c=="string"?c:typeof c.content=="string"?c.content:c.content.map(o).join(""):""},l=function(c){for(var d=[],p=0;p0&&d[d.length-1].tagName===o(h.content[0].content[1])&&d.pop():h.content[h.content.length-1].content==="/>"||d.push({tagName:o(h.content[0].content[1]),openedBraces:0}):d.length>0&&h.type==="punctuation"&&h.content==="{"?d[d.length-1].openedBraces++:d.length>0&&d[d.length-1].openedBraces>0&&h.type==="punctuation"&&h.content==="}"?d[d.length-1].openedBraces--:m=!0),(m||typeof h=="string")&&d.length>0&&d[d.length-1].openedBraces===0){var g=o(h);p0&&(typeof c[p-1]=="string"||c[p-1].type==="plain-text")&&(g=o(c[p-1])+g,c.splice(p-1,1),p--),c[p]=new e.Token("plain-text",g,null,g)}h.content&&typeof h.content!="string"&&l(h.content)}};e.hooks.add("after-tokenize",function(c){c.language!=="jsx"&&c.language!=="tsx"||l(c.tokens)})})(Prism);(function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var r=e.languages.tsx.tag;r.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+r.pattern.source+")",r.pattern.flags),r.lookbehind=!0})(Prism);Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}});Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]});Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/});Prism.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}});Prism.languages.scss.atrule.inside.rest=Prism.languages.scss;(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(Prism);Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;(function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(p){return p=p.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+p+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+a+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+a+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(p){["url","bold","italic","strike","code-snippet"].forEach(function(h){p!==h&&(e.languages.markdown[p].inside.content.inside[h]=e.languages.markdown[h])})}),e.hooks.add("after-tokenize",function(p){if(p.language!=="markdown"&&p.language!=="md")return;function h(m){if(!(!m||typeof m=="string"))for(var g=0,j=m.length;g",quot:'"'},c=String.fromCodePoint||String.fromCharCode;function d(p){var h=p.replace(o,"");return h=h.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(m,g){if(g=g.toLowerCase(),g[0]==="#"){var j;return g[1]==="x"?j=parseInt(g.slice(2),16):j=Number(g.slice(1)),c(j)}else{var b=l[g];return b||m}}),h}e.languages.md=e.languages.markdown})(Prism);(function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+r.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+r.source+")?)",s=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(l,c){c=(c||"").replace(/m/g,"")+"m";var d=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return l});return RegExp(d,c)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+s+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(a),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(Prism);(function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,r=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,s=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return i}),a={pattern:RegExp(i),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function l(c,d){return c=c.replace(//g,function(){return s}).replace(//g,function(){return r}),RegExp(c,d)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:l(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[a,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:l(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:a,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker})(Prism);(function(e){var t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]})(Prism);const Cj="_codeBlock_5ufwy_42",kj="_header_5ufwy_56",Sj="_language_5ufwy_65",Nj="_copyButton_5ufwy_72",$j="_icon_5ufwy_92",zj="_codeWrapper_5ufwy_100",Ej="_pre_5ufwy_120",xr={codeBlock:Cj,header:kj,language:Sj,copyButton:Nj,icon:$j,codeWrapper:zj,pre:Ej,"line-numbers":"_line-numbers_5ufwy_137","line-numbers-rows":"_line-numbers-rows_5ufwy_145","accordion-down":"_accordion-down_5ufwy_1","accordion-up":"_accordion-up_5ufwy_1"},ne=({code:e,language:t="typescript",showLineNumbers:r=!0,live:i=!1})=>{const[s,a]=y.useState(!1),[o,l]=y.useState(null),c=y.useRef(null);y.useEffect(()=>{c.current&&wj.highlightElement(c.current)},[e,t]),y.useEffect(()=>{if(i&&t==="jsx")try{const h=new Function("React",`return ${e}`).call(null,_e).default;l(n.jsx(h,{}))}catch(h){console.error("Live preview error:",h)}},[e,i,t]);const d=async()=>{try{await navigator.clipboard.writeText(e),a(!0),setTimeout(()=>a(!1),2e3)}catch(h){console.error("Failed to copy:",h)}},p=h=>h.trim().replace(/\n$/,"");return n.jsxs("div",{className:xr.codeBlock,children:[n.jsxs("div",{className:xr.header,children:[n.jsx("span",{className:xr.language,children:t}),n.jsx("button",{className:xr.copyButton,onClick:d,children:s?n.jsx(_5,{className:xr.icon}):n.jsx(C5,{className:xr.icon})})]}),n.jsx("div",{className:xr.codeWrapper,children:n.jsx("pre",{className:`${xr.pre} ${r?"line-numbers":""}`,children:n.jsx("code",{ref:c,className:`language-${t}`,style:{whiteSpace:"pre"},children:p(e)})})}),i&&o&&n.jsx("div",{className:xr.preview,children:o})]})},Lj="_page_989pq_42",Rj="_header_989pq_47",Aj="_titleWrapper_989pq_50",Ij="_icon_989pq_55",Pj="_section_989pq_71",Mj="_features_989pq_95",Bj="_codeWrapper_989pq_120",Tj="_description_989pq_123",Oj="_nextSteps_989pq_128",Fj="_tokens_989pq_169",xe={page:Lj,header:Rj,titleWrapper:Aj,icon:Ij,section:Pj,features:Mj,codeWrapper:Bj,description:Tj,nextSteps:Oj,tokens:Fj,"accordion-down":"_accordion-down_989pq_1","accordion-up":"_accordion-up_989pq_1"},Dj=()=>{const{t:e}=$e();return n.jsxs("div",{className:xe.page,children:[n.jsx("header",{className:xe.header,children:n.jsxs("div",{className:xe.titleWrapper,children:[n.jsx(mc,{className:xe.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.overview.title")}),n.jsx("p",{children:e("components.overview.description")})]})]})}),n.jsxs("section",{className:xe.section,children:[n.jsx("h2",{children:e("components.overview.features.title")}),n.jsxs("ul",{className:xe.features,children:[n.jsxs("li",{children:[n.jsxs("h3",{children:["🎨 ",e("components.overview.features.modern.title")]}),n.jsx("p",{children:e("components.overview.features.modern.description")})]}),n.jsxs("li",{children:[n.jsxs("h3",{children:["🚀 ",e("components.overview.features.performance.title")]}),n.jsx("p",{children:e("components.overview.features.performance.description")})]}),n.jsxs("li",{children:[n.jsxs("h3",{children:["🌙 ",e("components.overview.features.theme.title")]}),n.jsx("p",{children:e("components.overview.features.theme.description")})]}),n.jsxs("li",{children:[n.jsxs("h3",{children:["📱 ",e("components.overview.features.responsive.title")]}),n.jsx("p",{children:e("components.overview.features.responsive.description")})]})]})]}),n.jsxs("section",{className:xe.section,children:[n.jsx("h2",{children:e("components.overview.quickstart.title")}),n.jsx("div",{className:xe.codeWrapper,children:n.jsx(ne,{code:"npm install @minerva/lib-core",language:"bash",showLineNumbers:!1})}),n.jsx("p",{className:xe.description,children:e("components.overview.quickstart.description")}),n.jsx("div",{className:xe.codeWrapper,children:n.jsx(ne,{code:`import { Button } from '@minerva/lib-core'; function App() { return ( @@ -82,7 +405,7 @@ function App() { Hello Minerva ); -}`,language:"tsx"})})]}),n.jsxs("section",{className:ge.section,children:[n.jsx("h2",{children:e("components.overview.support.title")}),n.jsx("p",{children:e("components.overview.support.description")}),n.jsxs("ul",{className:ge.browsers,children:[n.jsx("li",{children:"Chrome"}),n.jsx("li",{children:"Firefox"}),n.jsx("li",{children:"Safari"}),n.jsx("li",{children:"Edge"})]})]})]})},v5=()=>{const{t:e}=$e();return n.jsxs("div",{className:ge.page,children:[n.jsx("header",{className:ge.header,children:n.jsxs("div",{className:ge.titleWrapper,children:[n.jsx(X3,{className:ge.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.installation.title")}),n.jsx("p",{children:e("components.installation.description")})]})]})}),n.jsxs("section",{className:ge.section,children:[n.jsx("h2",{children:e("components.installation.package.title")}),n.jsx("p",{children:e("components.installation.package.description")}),n.jsx("h3",{children:"npm"}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(oe,{code:"npm install @minerva/lib-core",language:"bash",showLineNumbers:!1})}),n.jsx("h3",{children:"yarn"}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(oe,{code:"yarn add @minerva/lib-core",language:"bash",showLineNumbers:!1})}),n.jsx("h3",{children:"pnpm"}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(oe,{code:"pnpm add @minerva/lib-core",language:"bash",showLineNumbers:!1})})]}),n.jsxs("section",{className:ge.section,children:[n.jsx("h2",{children:e("components.installation.setup.title")}),n.jsx("p",{children:e("components.installation.setup.description")}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(oe,{code:`import { MinervaProvider } from '@minerva/lib-core'; +}`,language:"tsx"})})]}),n.jsxs("section",{className:xe.section,children:[n.jsx("h2",{children:e("components.overview.support.title")}),n.jsx("p",{children:e("components.overview.support.description")}),n.jsxs("ul",{className:xe.browsers,children:[n.jsx("li",{children:"Chrome"}),n.jsx("li",{children:"Firefox"}),n.jsx("li",{children:"Safari"}),n.jsx("li",{children:"Edge"})]})]})]})},Uj=()=>{const{t:e}=$e();return n.jsxs("div",{className:xe.page,children:[n.jsx("header",{className:xe.header,children:n.jsxs("div",{className:xe.titleWrapper,children:[n.jsx(k5,{className:xe.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.installation.title")}),n.jsx("p",{children:e("components.installation.description")})]})]})}),n.jsxs("section",{className:xe.section,children:[n.jsx("h2",{children:e("components.installation.package.title")}),n.jsx("p",{children:e("components.installation.package.description")}),n.jsx("h3",{children:"npm"}),n.jsx("div",{className:xe.codeWrapper,children:n.jsx(ne,{code:"npm install @minerva/lib-core",language:"bash",showLineNumbers:!1})}),n.jsx("h3",{children:"yarn"}),n.jsx("div",{className:xe.codeWrapper,children:n.jsx(ne,{code:"yarn add @minerva/lib-core",language:"bash",showLineNumbers:!1})}),n.jsx("h3",{children:"pnpm"}),n.jsx("div",{className:xe.codeWrapper,children:n.jsx(ne,{code:"pnpm add @minerva/lib-core",language:"bash",showLineNumbers:!1})})]}),n.jsxs("section",{className:xe.section,children:[n.jsx("h2",{children:e("components.installation.setup.title")}),n.jsx("p",{children:e("components.installation.setup.description")}),n.jsx("div",{className:xe.codeWrapper,children:n.jsx(ne,{code:`import { MinervaProvider } from '@minerva/lib-core'; function App() { return ( @@ -90,7 +413,7 @@ function App() { {/* Your app code */} ); -}`,language:"tsx",showLineNumbers:!1})})]}),n.jsxs("section",{className:ge.section,children:[n.jsx("h2",{children:e("components.installation.next.title")}),n.jsx("p",{children:e("components.installation.next.description")}),n.jsxs("ul",{className:ge.nextSteps,children:[n.jsx("li",{children:n.jsx("a",{href:"/introduction",children:e("components.installation.next.introduction")})}),n.jsx("li",{children:n.jsx("a",{href:"/theming",children:e("components.installation.next.theming")})}),n.jsx("li",{children:n.jsx("a",{href:"/button",children:e("components.installation.next.components")})})]})]})]})},j5=()=>{const{t:e}=$e();return n.jsxs("div",{className:ge.page,children:[n.jsx("header",{className:ge.header,children:n.jsxs("div",{className:ge.titleWrapper,children:[n.jsx(w0,{className:ge.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.introduction.title")}),n.jsx("p",{children:e("components.introduction.description")})]})]})}),n.jsxs("section",{className:ge.section,children:[n.jsx("h2",{children:e("components.introduction.what.title")}),n.jsx("p",{children:e("components.introduction.what.description")}),n.jsxs("ul",{className:ge.features,children:[n.jsxs("li",{children:[n.jsx("h3",{children:e("components.introduction.what.features.components.title")}),n.jsx("p",{children:e("components.introduction.what.features.components.description")})]}),n.jsxs("li",{children:[n.jsx("h3",{children:e("components.introduction.what.features.customization.title")}),n.jsx("p",{children:e("components.introduction.what.features.customization.description")})]}),n.jsxs("li",{children:[n.jsx("h3",{children:e("components.introduction.what.features.typescript.title")}),n.jsx("p",{children:e("components.introduction.what.features.typescript.description")})]})]})]}),n.jsxs("section",{className:ge.section,children:[n.jsx("h2",{children:e("components.introduction.usage.title")}),n.jsx("p",{children:e("components.introduction.usage.description")}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(oe,{code:`import { Button } from '@minerva/lib-core'; +}`,language:"tsx",showLineNumbers:!1})})]}),n.jsxs("section",{className:xe.section,children:[n.jsx("h2",{children:e("components.installation.next.title")}),n.jsx("p",{children:e("components.installation.next.description")}),n.jsxs("ul",{className:xe.nextSteps,children:[n.jsx("li",{children:n.jsx("a",{href:"/introduction",children:e("components.installation.next.introduction")})}),n.jsx("li",{children:n.jsx("a",{href:"/theming",children:e("components.installation.next.theming")})}),n.jsx("li",{children:n.jsx("a",{href:"/button",children:e("components.installation.next.components")})})]})]})]})},Hj=()=>{const{t:e}=$e();return n.jsxs("div",{className:xe.page,children:[n.jsx("header",{className:xe.header,children:n.jsxs("div",{className:xe.titleWrapper,children:[n.jsx(jg,{className:xe.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.introduction.title")}),n.jsx("p",{children:e("components.introduction.description")})]})]})}),n.jsxs("section",{className:xe.section,children:[n.jsx("h2",{children:e("components.introduction.what.title")}),n.jsx("p",{children:e("components.introduction.what.description")}),n.jsxs("ul",{className:xe.features,children:[n.jsxs("li",{children:[n.jsx("h3",{children:e("components.introduction.what.features.components.title")}),n.jsx("p",{children:e("components.introduction.what.features.components.description")})]}),n.jsxs("li",{children:[n.jsx("h3",{children:e("components.introduction.what.features.customization.title")}),n.jsx("p",{children:e("components.introduction.what.features.customization.description")})]}),n.jsxs("li",{children:[n.jsx("h3",{children:e("components.introduction.what.features.typescript.title")}),n.jsx("p",{children:e("components.introduction.what.features.typescript.description")})]})]})]}),n.jsxs("section",{className:xe.section,children:[n.jsx("h2",{children:e("components.introduction.usage.title")}),n.jsx("p",{children:e("components.introduction.usage.description")}),n.jsx("div",{className:xe.codeWrapper,children:n.jsx(ne,{code:`import { Button } from '@minerva/lib-core'; function App() { return ( @@ -100,7 +423,7 @@ function App() { ); -}`,language:"tsx",showLineNumbers:!1})})]}),n.jsxs("section",{className:ge.section,children:[n.jsx("h2",{children:e("components.introduction.theming.title")}),n.jsx("p",{children:e("components.introduction.theming.description")}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(oe,{code:`import { MinervaProvider, Button } from '@minerva/lib-core'; +}`,language:"tsx",showLineNumbers:!1})})]}),n.jsxs("section",{className:xe.section,children:[n.jsx("h2",{children:e("components.introduction.theming.title")}),n.jsx("p",{children:e("components.introduction.theming.description")}),n.jsx("div",{className:xe.codeWrapper,children:n.jsx(ne,{code:`import { MinervaProvider, Button } from '@minerva/lib-core'; function App() { return ( @@ -113,7 +436,7 @@ function App() { ); -}`,language:"tsx",showLineNumbers:!1})})]}),n.jsxs("section",{className:ge.section,children:[n.jsx("h2",{children:e("components.introduction.next.title")}),n.jsx("p",{children:e("components.introduction.next.description")}),n.jsxs("ul",{className:ge.nextSteps,children:[n.jsx("li",{children:n.jsx("a",{href:"/installation",children:e("components.introduction.next.installation")})}),n.jsx("li",{children:n.jsx("a",{href:"/theming",children:e("components.introduction.next.theming")})})]})]})]})},_5=()=>{const{t:e}=$e();return n.jsxs("div",{className:ge.page,children:[n.jsx("header",{className:ge.header,children:n.jsxs("div",{className:ge.titleWrapper,children:[n.jsx(C0,{className:ge.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.theming.title")}),n.jsx("p",{children:e("components.theming.description")})]})]})}),n.jsxs("section",{className:ge.section,children:[n.jsx("h2",{children:e("components.theming.overview.title")}),n.jsx("p",{children:e("components.theming.overview.description")}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(oe,{code:`import { MinervaProvider } from '@minerva/lib-core'; +}`,language:"tsx",showLineNumbers:!1})})]}),n.jsxs("section",{className:xe.section,children:[n.jsx("h2",{children:e("components.introduction.next.title")}),n.jsx("p",{children:e("components.introduction.next.description")}),n.jsxs("ul",{className:xe.nextSteps,children:[n.jsx("li",{children:n.jsx("a",{href:"/installation",children:e("components.introduction.next.installation")})}),n.jsx("li",{children:n.jsx("a",{href:"/theming",children:e("components.introduction.next.theming")})})]})]})]})},Wj=()=>{const{t:e}=$e();return n.jsxs("div",{className:xe.page,children:[n.jsx("header",{className:xe.header,children:n.jsxs("div",{className:xe.titleWrapper,children:[n.jsx(_g,{className:xe.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.theming.title")}),n.jsx("p",{children:e("components.theming.description")})]})]})}),n.jsxs("section",{className:xe.section,children:[n.jsx("h2",{children:e("components.theming.overview.title")}),n.jsx("p",{children:e("components.theming.overview.description")}),n.jsx("div",{className:xe.codeWrapper,children:n.jsx(ne,{code:`import { MinervaProvider } from '@minerva/lib-core'; const theme = { colors: { @@ -160,7 +483,7 @@ function App() { {/* Your app code */} ); -}`,language:"tsx",showLineNumbers:!1})})]}),n.jsxs("section",{className:ge.section,children:[n.jsx("h2",{children:e("components.theming.customization.title")}),n.jsx("p",{children:e("components.theming.customization.description")}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(oe,{code:`import { Button } from '@minerva/lib-core'; +}`,language:"tsx",showLineNumbers:!1})})]}),n.jsxs("section",{className:xe.section,children:[n.jsx("h2",{children:e("components.theming.customization.title")}),n.jsx("p",{children:e("components.theming.customization.description")}),n.jsx("div",{className:xe.codeWrapper,children:n.jsx(ne,{code:`import { Button } from '@minerva/lib-core'; const theme = { components: { @@ -188,7 +511,7 @@ function App() { ); -}`,language:"tsx",showLineNumbers:!1})})]}),n.jsxs("section",{className:ge.section,children:[n.jsx("h2",{children:e("components.theming.tokens.title")}),n.jsx("p",{children:e("components.theming.tokens.description")}),n.jsxs("div",{className:ge.tokens,children:[n.jsxs("div",{className:ge.tokenGroup,children:[n.jsx("h3",{children:e("components.theming.tokens.colors.title")}),n.jsxs("ul",{children:[n.jsx("li",{children:"primary"}),n.jsx("li",{children:"secondary"}),n.jsx("li",{children:"success"}),n.jsx("li",{children:"warning"}),n.jsx("li",{children:"error"})]})]}),n.jsxs("div",{className:ge.tokenGroup,children:[n.jsx("h3",{children:e("components.theming.tokens.typography.title")}),n.jsxs("ul",{children:[n.jsx("li",{children:"fonts"}),n.jsx("li",{children:"fontSizes"}),n.jsx("li",{children:"fontWeights"}),n.jsx("li",{children:"lineHeights"})]})]}),n.jsxs("div",{className:ge.tokenGroup,children:[n.jsx("h3",{children:e("components.theming.tokens.spacing.title")}),n.jsxs("ul",{children:[n.jsx("li",{children:"space"}),n.jsx("li",{children:"sizes"}),n.jsx("li",{children:"radii"})]})]})]})]})]})};function y5(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var A0={exports:{}},Ws={};/** +}`,language:"tsx",showLineNumbers:!1})})]}),n.jsxs("section",{className:xe.section,children:[n.jsx("h2",{children:e("components.theming.tokens.title")}),n.jsx("p",{children:e("components.theming.tokens.description")}),n.jsxs("div",{className:xe.tokens,children:[n.jsxs("div",{className:xe.tokenGroup,children:[n.jsx("h3",{children:e("components.theming.tokens.colors.title")}),n.jsxs("ul",{children:[n.jsx("li",{children:"primary"}),n.jsx("li",{children:"secondary"}),n.jsx("li",{children:"success"}),n.jsx("li",{children:"warning"}),n.jsx("li",{children:"error"})]})]}),n.jsxs("div",{className:xe.tokenGroup,children:[n.jsx("h3",{children:e("components.theming.tokens.typography.title")}),n.jsxs("ul",{children:[n.jsx("li",{children:"fonts"}),n.jsx("li",{children:"fontSizes"}),n.jsx("li",{children:"fontWeights"}),n.jsx("li",{children:"lineHeights"})]})]}),n.jsxs("div",{className:xe.tokenGroup,children:[n.jsx("h3",{children:e("components.theming.tokens.spacing.title")}),n.jsxs("ul",{children:[n.jsx("li",{children:"space"}),n.jsx("li",{children:"sizes"}),n.jsx("li",{children:"radii"})]})]})]})]})]})};function qj(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ig={exports:{}},ra={};/** * @license React * react-jsx-runtime.production.min.js * @@ -196,106 +519,106 @@ function App() { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var a1;function b5(){if(a1)return Ws;a1=1;var e=je,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(l,c,u){var p,m={},h=null,x=null;u!==void 0&&(h=""+u),c.key!==void 0&&(h=""+c.key),c.ref!==void 0&&(x=c.ref);for(p in c)i.call(c,p)&&!a.hasOwnProperty(p)&&(m[p]=c[p]);if(l&&l.defaultProps)for(p in c=l.defaultProps,c)m[p]===void 0&&(m[p]=c[p]);return{$$typeof:t,type:l,key:h,ref:x,props:m,_owner:s.current}}return Ws.Fragment=r,Ws.jsx=o,Ws.jsxs=o,Ws}A0.exports=b5();var C=A0.exports;const w5="_commonRippleEffect_10evj_58",C5="_avatar_10evj_58",k5="_rippleRect_10evj_1",S5="_commonErrorAnimation_10evj_84",N5="_shake_10evj_1",z5="_commonClickedAnimation_10evj_88",$5="_clickedAnimation_10evj_1",L5="_commonStarAnimation_10evj_92",E5="_starAnimation_10evj_1",I5="_circle_10evj_104",R5="_square_10evj_107",P5="_rounded_10evj_110",A5="_small_10evj_113",M5="_medium_10evj_117",T5="_large_10evj_121",F5="_stacked_10evj_135",B5="_avatarImg_10evj_144",O5="_avatarText_10evj_152",D5="_slideDown_10evj_1",U5="_fadeIn_10evj_1",qi={commonRippleEffect:w5,avatar:C5,rippleRect:k5,commonErrorAnimation:S5,shake:N5,commonClickedAnimation:z5,clickedAnimation:$5,commonStarAnimation:L5,starAnimation:E5,circle:I5,square:R5,rounded:P5,small:A5,medium:M5,large:T5,stacked:F5,avatarImg:B5,avatarText:O5,slideDown:D5,fadeIn:U5},H5=({src:e,name:t="",shape:r="circle",size:i="medium",className:s="",stacked:a=!1,...o})=>{const l=!e,c=`${qi.avatar} ${qi[r]} ${qi[i]} ${a?qi.stacked:""} ${s}`,u=t?t.charAt(0).toUpperCase():"";return C.jsxs("span",{className:c,...o,tabIndex:0,"aria-label":t||"avatar",children:[!l&&C.jsx("img",{alt:t||"avatar",className:qi.avatarImg,src:e,draggable:!1}),l&&C.jsx("span",{className:qi.avatarText,children:u})]})},rt=je.memo(H5),W5="_avatarGroup_z4rus_1",q5="_avatarGroupItem_z4rus_6",V5="_count_z4rus_18",Mc={avatarGroup:W5,avatarGroupItem:q5,count:V5},K5=({count:e,className:t="",children:r})=>C.jsxs("div",{className:`${Mc.avatarGroup} ${t}`,tabIndex:0,"aria-label":`Avatar group with ${e} more`,children:[je.Children.map(r,(i,s)=>C.jsx("div",{className:Mc.avatarGroupItem,children:i},s)),e&&C.jsxs("div",{className:Mc.count,children:["+",e]})]}),o1=je.memo(K5),G5="_commonRippleEffect_w1d5k_58",Q5="_badge_w1d5k_58",J5="_badgeWrapper_w1d5k_58",Y5="_rippleRect_w1d5k_1",X5="_commonErrorAnimation_w1d5k_84",Z5="_shake_w1d5k_1",ej="_commonClickedAnimation_w1d5k_88",tj="_clickedAnimation_w1d5k_1",nj="_commonStarAnimation_w1d5k_92",rj="_starAnimation_w1d5k_1",ij="_content_w1d5k_114",sj="_primary_w1d5k_144",aj="_secondary_w1d5k_151",oj="_success_w1d5k_158",lj="_danger_w1d5k_165",cj="_warning_w1d5k_172",dj="_info_w1d5k_179",uj="_error_w1d5k_186",pj="_light_w1d5k_193",hj="_dark_w1d5k_200",mj="_small_w1d5k_207",fj="_medium_w1d5k_211",gj="_large_w1d5k_215",xj="_icon_w1d5k_219",vj="_dot_w1d5k_241",jj="_slideDown_w1d5k_1",_j="_fadeIn_w1d5k_1",Dr={commonRippleEffect:G5,badge:Q5,badgeWrapper:J5,rippleRect:Y5,commonErrorAnimation:X5,shake:Z5,commonClickedAnimation:ej,clickedAnimation:tj,commonStarAnimation:nj,starAnimation:rj,content:ij,primary:sj,secondary:aj,success:oj,danger:lj,warning:cj,info:dj,error:uj,light:pj,dark:hj,small:mj,medium:fj,large:gj,icon:xj,"top-right":"_top-right_w1d5k_236",dot:vj,"top-left":"_top-left_w1d5k_245","bottom-right":"_bottom-right_w1d5k_254","bottom-left":"_bottom-left_w1d5k_263",slideDown:jj,fadeIn:_j},Ce=({children:e,variant:t="primary",size:r="medium",className:i="",ariaLabel:s,bgColor:a,textColor:o,icon:l,content:c,position:u="top-right",dot:p=!1,borderRadius:m,borderWidth:h,borderColor:x})=>{const _=je.isValidElement(e),b=p?null:c||(_?"Badge":e);return C.jsxs("div",{className:Dr.badgeWrapper,children:[e&&C.jsx("div",{className:Dr.content,children:e}),C.jsxs("span",{className:` - ${Dr.badge} - ${Dr[t]} - ${Dr[r]} - ${Dr[u]} - ${p?Dr.dot:""} + */var Q1;function Vj(){if(Q1)return ra;Q1=1;var e=_e,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(l,c,d){var p,h={},m=null,g=null;d!==void 0&&(m=""+d),c.key!==void 0&&(m=""+c.key),c.ref!==void 0&&(g=c.ref);for(p in c)i.call(c,p)&&!a.hasOwnProperty(p)&&(h[p]=c[p]);if(l&&l.defaultProps)for(p in c=l.defaultProps,c)h[p]===void 0&&(h[p]=c[p]);return{$$typeof:t,type:l,key:m,ref:g,props:h,_owner:s.current}}return ra.Fragment=r,ra.jsx=o,ra.jsxs=o,ra}Ig.exports=Vj();var C=Ig.exports;const Kj="_commonRippleEffect_10evj_58",Gj="_avatar_10evj_58",Qj="_rippleRect_10evj_1",Jj="_commonErrorAnimation_10evj_84",Yj="_shake_10evj_1",Xj="_commonClickedAnimation_10evj_88",Zj="_clickedAnimation_10evj_1",e_="_commonStarAnimation_10evj_92",t_="_starAnimation_10evj_1",n_="_circle_10evj_104",r_="_square_10evj_107",i_="_rounded_10evj_110",s_="_small_10evj_113",a_="_medium_10evj_117",o_="_large_10evj_121",l_="_stacked_10evj_135",c_="_avatarImg_10evj_144",d_="_avatarText_10evj_152",u_="_slideDown_10evj_1",p_="_fadeIn_10evj_1",es={commonRippleEffect:Kj,avatar:Gj,rippleRect:Qj,commonErrorAnimation:Jj,shake:Yj,commonClickedAnimation:Xj,clickedAnimation:Zj,commonStarAnimation:e_,starAnimation:t_,circle:n_,square:r_,rounded:i_,small:s_,medium:a_,large:o_,stacked:l_,avatarImg:c_,avatarText:d_,slideDown:u_,fadeIn:p_},h_=({src:e,name:t="",shape:r="circle",size:i="medium",className:s="",stacked:a=!1,...o})=>{const l=!e,c=`${es.avatar} ${es[r]} ${es[i]} ${a?es.stacked:""} ${s}`,d=t?t.charAt(0).toUpperCase():"";return C.jsxs("span",{className:c,...o,tabIndex:0,"aria-label":t||"avatar",children:[!l&&C.jsx("img",{alt:t||"avatar",className:es.avatarImg,src:e,draggable:!1}),l&&C.jsx("span",{className:es.avatarText,children:d})]})},rt=_e.memo(h_),m_="_avatarGroup_z4rus_1",f_="_avatarGroupItem_z4rus_6",g_="_count_z4rus_18",ud={avatarGroup:m_,avatarGroupItem:f_,count:g_},x_=({count:e,className:t="",children:r})=>C.jsxs("div",{className:`${ud.avatarGroup} ${t}`,tabIndex:0,"aria-label":`Avatar group with ${e} more`,children:[_e.Children.map(r,(i,s)=>C.jsx("div",{className:ud.avatarGroupItem,children:i},s)),e&&C.jsxs("div",{className:ud.count,children:["+",e]})]}),J1=_e.memo(x_),v_="_commonRippleEffect_w1d5k_58",j_="_badge_w1d5k_58",__="_badgeWrapper_w1d5k_58",y_="_rippleRect_w1d5k_1",b_="_commonErrorAnimation_w1d5k_84",w_="_shake_w1d5k_1",C_="_commonClickedAnimation_w1d5k_88",k_="_clickedAnimation_w1d5k_1",S_="_commonStarAnimation_w1d5k_92",N_="_starAnimation_w1d5k_1",$_="_content_w1d5k_114",z_="_primary_w1d5k_144",E_="_secondary_w1d5k_151",L_="_success_w1d5k_158",R_="_danger_w1d5k_165",A_="_warning_w1d5k_172",I_="_info_w1d5k_179",P_="_error_w1d5k_186",M_="_light_w1d5k_193",B_="_dark_w1d5k_200",T_="_small_w1d5k_207",O_="_medium_w1d5k_211",F_="_large_w1d5k_215",D_="_icon_w1d5k_219",U_="_dot_w1d5k_241",H_="_slideDown_w1d5k_1",W_="_fadeIn_w1d5k_1",Wr={commonRippleEffect:v_,badge:j_,badgeWrapper:__,rippleRect:y_,commonErrorAnimation:b_,shake:w_,commonClickedAnimation:C_,clickedAnimation:k_,commonStarAnimation:S_,starAnimation:N_,content:$_,primary:z_,secondary:E_,success:L_,danger:R_,warning:A_,info:I_,error:P_,light:M_,dark:B_,small:T_,medium:O_,large:F_,icon:D_,"top-right":"_top-right_w1d5k_236",dot:U_,"top-left":"_top-left_w1d5k_245","bottom-right":"_bottom-right_w1d5k_254","bottom-left":"_bottom-left_w1d5k_263",slideDown:H_,fadeIn:W_},ke=({children:e,variant:t="primary",size:r="medium",className:i="",ariaLabel:s,bgColor:a,textColor:o,icon:l,content:c,position:d="top-right",dot:p=!1,borderRadius:h,borderWidth:m,borderColor:g})=>{const j=_e.isValidElement(e),b=p?null:c||(j?"Badge":e);return C.jsxs("div",{className:Wr.badgeWrapper,children:[e&&C.jsx("div",{className:Wr.content,children:e}),C.jsxs("span",{className:` + ${Wr.badge} + ${Wr[t]} + ${Wr[r]} + ${Wr[d]} + ${p?Wr.dot:""} ${i} - `,"aria-label":s,role:"status",tabIndex:0,style:{backgroundColor:a,color:o,borderRadius:m,borderWidth:h,borderColor:x},children:[l&&C.jsx("span",{className:Dr.icon,children:l}),b]})]})};je.memo(Ce);const yj="_commonRippleEffect_37aqs_57",bj="_customButton_37aqs_57",wj="_rippleRect_37aqs_1",Cj="_commonErrorAnimation_37aqs_83",kj="_shake_37aqs_1",Sj="_commonClickedAnimation_37aqs_87",Nj="_clickedAnimation_37aqs_1",zj="_commonStarAnimation_37aqs_91",$j="_starAnimation_37aqs_1",Lj="_primary_37aqs_115",Ej="_warning_37aqs_122",Ij="_error_37aqs_129",Rj="_retry_37aqs_136",Pj="_back_37aqs_143",Aj="_small_37aqs_163",Mj="_medium_37aqs_167",Tj="_large_37aqs_171",Fj="_xlarge_37aqs_175",Bj="_borderRadiusNone_37aqs_179",Oj="_borderRadiusSmall_37aqs_182",Dj="_borderRadiusMedium_37aqs_185",Uj="_borderRadiusLarge_37aqs_188",Hj="_borderRadiusCircle_37aqs_191",Wj="_borderRadiusSquare_37aqs_205",qj="_secondary_37aqs_232",Vj="_success_37aqs_239",Kj="_active_37aqs_246",Gj="_loading_37aqs_250",Qj="_loadingWrapper_37aqs_254",Jj="_loadingSpinner_37aqs_259",Yj="_spin_37aqs_1",Xj="_rounded_37aqs_268",Zj="_square_37aqs_271",e8="_circle_37aqs_274",t8="_slideDown_37aqs_1",n8="_fadeIn_37aqs_1",gr={commonRippleEffect:yj,customButton:bj,rippleRect:wj,commonErrorAnimation:Cj,shake:kj,commonClickedAnimation:Sj,clickedAnimation:Nj,commonStarAnimation:zj,starAnimation:$j,primary:Lj,warning:Ej,error:Ij,retry:Rj,back:Pj,small:Aj,medium:Mj,large:Tj,xlarge:Fj,borderRadiusNone:Bj,borderRadiusSmall:Oj,borderRadiusMedium:Dj,borderRadiusLarge:Uj,borderRadiusCircle:Hj,borderRadiusSquare:Wj,secondary:qj,success:Vj,active:Kj,loading:Gj,loadingWrapper:Qj,loadingSpinner:Jj,spin:Yj,rounded:Xj,square:Zj,circle:e8,slideDown:t8,fadeIn:n8},z=y.forwardRef(({onClick:e,children:t,className:r="",variant:i="primary",size:s="medium",ariaLabel:a,disabled:o=!1,loading:l=!1,active:c=!1,shape:u,borderRadius:p="medium",style:m,...h},x)=>{const _=j=>{!o&&e&&e(j)},b=()=>typeof p=="number"?"":gr[`borderRadius${p.charAt(0).toUpperCase()+p.slice(1)}`],k=()=>({...typeof p=="number"?{borderRadius:`${p}px`}:{},...m});return C.jsx("button",{ref:x,className:` - ${gr.customButton} - ${gr[i]} - ${gr[s]} + `,"aria-label":s,role:"status",tabIndex:0,style:{backgroundColor:a,color:o,borderRadius:h,borderWidth:m,borderColor:g},children:[l&&C.jsx("span",{className:Wr.icon,children:l}),b]})]})};_e.memo(ke);const q_="_commonRippleEffect_37aqs_57",V_="_customButton_37aqs_57",K_="_rippleRect_37aqs_1",G_="_commonErrorAnimation_37aqs_83",Q_="_shake_37aqs_1",J_="_commonClickedAnimation_37aqs_87",Y_="_clickedAnimation_37aqs_1",X_="_commonStarAnimation_37aqs_91",Z_="_starAnimation_37aqs_1",e8="_primary_37aqs_115",t8="_warning_37aqs_122",n8="_error_37aqs_129",r8="_retry_37aqs_136",i8="_back_37aqs_143",s8="_small_37aqs_163",a8="_medium_37aqs_167",o8="_large_37aqs_171",l8="_xlarge_37aqs_175",c8="_borderRadiusNone_37aqs_179",d8="_borderRadiusSmall_37aqs_182",u8="_borderRadiusMedium_37aqs_185",p8="_borderRadiusLarge_37aqs_188",h8="_borderRadiusCircle_37aqs_191",m8="_borderRadiusSquare_37aqs_205",f8="_secondary_37aqs_232",g8="_success_37aqs_239",x8="_active_37aqs_246",v8="_loading_37aqs_250",j8="_loadingWrapper_37aqs_254",_8="_loadingSpinner_37aqs_259",y8="_spin_37aqs_1",b8="_rounded_37aqs_268",w8="_square_37aqs_271",C8="_circle_37aqs_274",k8="_slideDown_37aqs_1",S8="_fadeIn_37aqs_1",vr={commonRippleEffect:q_,customButton:V_,rippleRect:K_,commonErrorAnimation:G_,shake:Q_,commonClickedAnimation:J_,clickedAnimation:Y_,commonStarAnimation:X_,starAnimation:Z_,primary:e8,warning:t8,error:n8,retry:r8,back:i8,small:s8,medium:a8,large:o8,xlarge:l8,borderRadiusNone:c8,borderRadiusSmall:d8,borderRadiusMedium:u8,borderRadiusLarge:p8,borderRadiusCircle:h8,borderRadiusSquare:m8,secondary:f8,success:g8,active:x8,loading:v8,loadingWrapper:j8,loadingSpinner:_8,spin:y8,rounded:b8,square:w8,circle:C8,slideDown:k8,fadeIn:S8},$=y.forwardRef(({onClick:e,children:t,className:r="",variant:i="primary",size:s="medium",ariaLabel:a,disabled:o=!1,loading:l=!1,active:c=!1,shape:d,borderRadius:p="medium",style:h,...m},g)=>{const j=_=>{!o&&e&&e(_)},b=()=>typeof p=="number"?"":vr[`borderRadius${p.charAt(0).toUpperCase()+p.slice(1)}`],k=()=>({...typeof p=="number"?{borderRadius:`${p}px`}:{},...h});return C.jsx("button",{ref:g,className:` + ${vr.customButton} + ${vr[i]} + ${vr[s]} ${b()} - ${u?gr[u]:""} - ${c?gr.active:""} - ${l?gr.loading:""} + ${d?vr[d]:""} + ${c?vr.active:""} + ${l?vr.loading:""} ${r} - `,onClick:_,"aria-label":a,role:"button",tabIndex:0,disabled:o||l,style:k(),...h,children:l?C.jsxs("span",{className:gr.loadingWrapper,children:[C.jsx("span",{className:gr.loadingSpinner}),t]}):t})});z.displayName="Button";const r8="_card_62upv_2",i8="_outlined_62upv_14",s8="_shadow_62upv_18",a8="_elevated_62upv_22",o8="_filled_62upv_26",l8="_noHeader_62upv_31",c8="_cardHeader_62upv_31",d8="_noFooter_62upv_34",u8="_cardFooter_62upv_34",p8="_noHeaderFooter_62upv_37",h8="_cardTitle_62upv_45",m8="_cardDescription_62upv_53",f8="_cardContent_62upv_60",g8="_cardButton_62upv_75",x8="_fadeIn_62upv_95",v8="_slideIn_62upv_106",j8="_zoomIn_62upv_117",Nr={card:r8,default:"_default_62upv_10",outlined:i8,shadow:s8,elevated:a8,filled:o8,noHeader:l8,cardHeader:c8,noFooter:d8,cardFooter:u8,noHeaderFooter:p8,cardTitle:h8,cardDescription:m8,cardContent:f8,cardButton:g8,fadeIn:x8,slideIn:v8,zoomIn:j8},Yt=({children:e,variant:t="default",type:r="default",className:i=""})=>{const s=`${Nr.card} ${Nr[t]} ${Nr[r]} ${i}`;return C.jsx("div",{className:s,children:e})},Yn=({children:e,className:t="",bgColor:r,textColor:i})=>{const s={backgroundColor:r,color:i};return C.jsx("div",{className:`${Nr.cardHeader} ${t}`,style:s,children:e})},Xn=({children:e,className:t=""})=>C.jsx("h3",{className:`${Nr.cardTitle} ${t}`,children:e}),Zn=({children:e,className:t=""})=>C.jsx("p",{className:`${Nr.cardDescription} ${t}`,children:e}),Nn=({children:e,className:t="",bgColor:r,textColor:i,animation:s})=>{const a={backgroundColor:r,color:i},o=`${Nr.cardContent} ${s?Nr[s]:""} ${t}`;return C.jsx("div",{className:o,style:a,children:e})},er=({children:e,className:t="",bgColor:r,textColor:i})=>{const s={backgroundColor:r,color:i};return C.jsx("div",{className:`${Nr.cardFooter} ${t}`,style:s,children:e})};je.memo(Yt);const _8="_dropdown_9sgb2_2",y8="_trigger_9sgb2_6",b8="_menu_9sgb2_12",w8="_fadeIn_9sgb2_1",C8="_menuList_9sgb2_27",k8="_down_9sgb2_49",S8="_up_9sgb2_53",N8="_left_9sgb2_57",z8="_right_9sgb2_61",$8="_menuItem_9sgb2_65",L8="_disabled_9sgb2_78",ui={dropdown:_8,trigger:y8,menu:b8,fadeIn:w8,menuList:C8,down:k8,up:S8,left:N8,right:z8,menuItem:$8,disabled:L8},E8=({className:e="",ariaLabel:t,disabled:r=!1,items:i=[],onSelect:s,menuBgColor:a="#f8f9fa",menuTextColor:o="#000000",menuBoxShadow:l="0 4px 6px rgba(0, 0, 0, 0.1)",direction:c="down",children:u})=>{const[p,m]=y.useState(!1),h=y.useRef(null),x=y.useRef(null),_=()=>{r||m(!p)},b=d=>{s&&!d.disabled&&s(d),m(!1)},k=d=>{h.current&&!h.current.contains(d.target)&&m(!1)},j=d=>{const f=d.relatedTarget;h.current&&x.current&&!h.current.contains(f)&&!x.current.contains(f)&&m(!1)};return y.useEffect(()=>(document.addEventListener("mousedown",k),document.addEventListener("focusout",j),()=>{document.removeEventListener("mousedown",k),document.removeEventListener("focusout",j)}),[]),C.jsxs("div",{className:`${ui.dropdown} ${e}`,"aria-label":t,role:"menu",tabIndex:0,"aria-disabled":r,ref:h,children:[C.jsx("div",{className:ui.trigger,onClick:_,children:u||C.jsx(z,{size:"small",disabled:r,children:"Dropdown"})}),p&&C.jsx("div",{ref:x,className:`${ui.menu} ${ui[c]}`,style:{backgroundColor:a,boxShadow:l},tabIndex:-1,children:C.jsx("ul",{className:ui.menuList,role:"menu",tabIndex:-1,children:i.map((d,f)=>C.jsx("li",{className:`${ui.menuItem} ${d.disabled?ui.disabled:""}`,onClick:()=>b(d),style:{color:d.disabled?"#c0c0c0":o},role:"menuitem",tabIndex:d.disabled?-1:0,children:d.label},f))})})]})},tr=je.memo(E8);var M0={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},l1=je.createContext&&je.createContext(M0),I8=["attr","size","title"];function R8(e,t){if(e==null)return{};var r=P8(e,t),i,s;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}function P8(e,t){if(e==null)return{};var r={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;r[i]=e[i]}return r}function gl(){return gl=Object.assign?Object.assign.bind():function(e){for(var t=1;tje.createElement(t.tag,xl({key:r},t.attr),T0(t.child)))}function Le(e){return t=>je.createElement(F8,gl({attr:xl({},e.attr)},t),T0(e.child))}function F8(e){var t=r=>{var{attr:i,size:s,title:a}=e,o=R8(e,I8),l=s||r.size||"1em",c;return r.className&&(c=r.className),e.className&&(c=(c?c+" ":"")+e.className),je.createElement("svg",gl({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,i,o,{className:c,style:xl(xl({color:e.color||r.color},r.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&je.createElement("title",null,a),e.children)};return l1!==void 0?je.createElement(l1.Consumer,null,r=>t(r)):t(M0)}function B8(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 448c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160H32v288zm160-212c0-6.6 5.4-12 12-12h104c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-8zM480 32H32C14.3 32 0 46.3 0 64v48c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16V64c0-17.7-14.3-32-32-32z"},child:[]}]})(e)}function O8(e){return Le({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"},child:[]}]})(e)}function D8(e){return Le({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M0 512V48C0 21.49 21.49 0 48 0h288c26.51 0 48 21.49 48 48v464L192 400 0 512z"},child:[]}]})(e)}function U8(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"},child:[]}]})(e)}function H8(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"},child:[]}]})(e)}function Hd(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8Zm92.49,313h0l-20,25a16,16,0,0,1-22.49,2.5h0l-67-49.72a40,40,0,0,1-15-31.23V112a16,16,0,0,1,16-16h32a16,16,0,0,1,16,16V256l58,42.5A16,16,0,0,1,348.49,321Z"},child:[]}]})(e)}function W8(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"},child:[]}]})(e)}function d1(e){return Le({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},child:[]}]})(e)}function q8(e){return Le({tag:"svg",attr:{viewBox:"0 0 192 512"},child:[{tag:"path",attr:{d:"M176 432c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zM25.26 25.199l13.6 272C39.499 309.972 50.041 320 62.83 320h66.34c12.789 0 23.331-10.028 23.97-22.801l13.6-272C167.425 11.49 156.496 0 142.77 0H49.23C35.504 0 24.575 11.49 25.26 25.199z"},child:[]}]})(e)}function V8(e){return Le({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"},child:[]}]})(e)}function F0(e){return Le({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"},child:[]}]})(e)}function K8(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M349.565 98.783C295.978 98.783 251.721 64 184.348 64c-24.955 0-47.309 4.384-68.045 12.013a55.947 55.947 0 0 0 3.586-23.562C118.117 24.015 94.806 1.206 66.338.048 34.345-1.254 8 24.296 8 56c0 19.026 9.497 35.825 24 45.945V488c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-94.4c28.311-12.064 63.582-22.122 114.435-22.122 53.588 0 97.844 34.783 165.217 34.783 48.169 0 86.667-16.294 122.505-40.858C506.84 359.452 512 349.571 512 339.045v-243.1c0-23.393-24.269-38.87-45.485-29.016-34.338 15.948-76.454 31.854-116.95 31.854z"},child:[]}]})(e)}function G8(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"},child:[]}]})(e)}function B0(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},child:[]}]})(e)}function Q8(e){return Le({tag:"svg",attr:{viewBox:"0 0 192 512"},child:[{tag:"path",attr:{d:"M20 424.229h20V279.771H20c-11.046 0-20-8.954-20-20V212c0-11.046 8.954-20 20-20h112c11.046 0 20 8.954 20 20v212.229h20c11.046 0 20 8.954 20 20V492c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20v-47.771c0-11.046 8.954-20 20-20zM96 0C56.235 0 24 32.235 24 72s32.235 72 72 72 72-32.235 72-72S135.764 0 96 0z"},child:[]}]})(e)}function J8(e){return Le({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"},child:[]}]})(e)}function Y8(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"},child:[]}]})(e)}function X8(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"},child:[]}]})(e)}function Z8(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"},child:[]}]})(e)}function u1(e){return Le({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"},child:[]}]})(e)}function e_(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M0 56v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56zm40 200c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24zm272 256c-20.183 0-29.485-39.293-33.931-57.795-5.206-21.666-10.589-44.07-25.393-58.902-32.469-32.524-49.503-73.967-89.117-113.111a11.98 11.98 0 0 1-3.558-8.521V59.901c0-6.541 5.243-11.878 11.783-11.998 15.831-.29 36.694-9.079 52.651-16.178C256.189 17.598 295.709.017 343.995 0h2.844c42.777 0 93.363.413 113.774 29.737 8.392 12.057 10.446 27.034 6.148 44.632 16.312 17.053 25.063 48.863 16.382 74.757 17.544 23.432 19.143 56.132 9.308 79.469l.11.11c11.893 11.949 19.523 31.259 19.439 49.197-.156 30.352-26.157 58.098-59.553 58.098H350.723C358.03 364.34 384 388.132 384 430.548 384 504 336 512 312 512z"},child:[]}]})(e)}function t_(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M104 224H24c-13.255 0-24 10.745-24 24v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V248c0-13.255-10.745-24-24-24zM64 472c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zM384 81.452c0 42.416-25.97 66.208-33.277 94.548h101.723c33.397 0 59.397 27.746 59.553 58.098.084 17.938-7.546 37.249-19.439 49.197l-.11.11c9.836 23.337 8.237 56.037-9.308 79.469 8.681 25.895-.069 57.704-16.382 74.757 4.298 17.598 2.244 32.575-6.148 44.632C440.202 511.587 389.616 512 346.839 512l-2.845-.001c-48.287-.017-87.806-17.598-119.56-31.725-15.957-7.099-36.821-15.887-52.651-16.178-6.54-.12-11.783-5.457-11.783-11.998v-213.77c0-3.2 1.282-6.271 3.558-8.521 39.614-39.144 56.648-80.587 89.117-113.111 14.804-14.832 20.188-37.236 25.393-58.902C282.515 39.293 291.817 0 312 0c24 0 72 8 72 81.452z"},child:[]}]})(e)}function n_(e){return Le({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M298.028 214.267L285.793 96H328c13.255 0 24-10.745 24-24V24c0-13.255-10.745-24-24-24H56C42.745 0 32 10.745 32 24v48c0 13.255 10.745 24 24 24h42.207L85.972 214.267C37.465 236.82 0 277.261 0 328c0 13.255 10.745 24 24 24h136v104.007c0 1.242.289 2.467.845 3.578l24 48c2.941 5.882 11.364 5.893 14.311 0l24-48a8.008 8.008 0 0 0 .845-3.578V352h136c13.255 0 24-10.745 24-24-.001-51.183-37.983-91.42-85.973-113.733z"},child:[]}]})(e)}function r_(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"},child:[]}]})(e)}function Yu(e){return Le({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(e)}function i_(e){return Le({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M624 208h-64v-64c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v64h-64c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h64v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-64h64c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm-400 48c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"},child:[]}]})(e)}function s_(e){return Le({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M476 480H324a36 36 0 0 1-36-36V96h-96v156a36 36 0 0 1-36 36H16a16 16 0 0 1-16-16v-32a16 16 0 0 1 16-16h112V68a36 36 0 0 1 36-36h152a36 36 0 0 1 36 36v348h96V260a36 36 0 0 1 36-36h140a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16H512v156a36 36 0 0 1-36 36z"},child:[]}]})(e)}const a_="_commonRippleEffect_ouk9h_57",o_="_searchButton_ouk9h_57",l_="_rippleRect_ouk9h_1",c_="_commonErrorAnimation_ouk9h_83",d_="_shake_ouk9h_231",u_="_commonClickedAnimation_ouk9h_87",p_="_clickedAnimation_ouk9h_1",h_="_commonStarAnimation_ouk9h_91",m_="_starAnimation_ouk9h_1",f_="_circle_ouk9h_112",g_="_square_ouk9h_115",x_="_rounded_ouk9h_118",v_="_primary_ouk9h_121",j_="_warning_ouk9h_128",__="_error_ouk9h_135",y_="_success_ouk9h_145",b_="_info_ouk9h_152",w_="_loading_ouk9h_166",C_="_loader_ouk9h_170",k_="_spin_ouk9h_1",S_="_icon_ouk9h_196",N_="_small_ouk9h_202",z_="_medium_ouk9h_206",$_="_large_ouk9h_210",L_="_xlarge_ouk9h_214",E_="_children_ouk9h_218",I_="_expand_ouk9h_225",R_="_shrink_ouk9h_228",P_="_slideDown_ouk9h_1",A_="_fadeIn_ouk9h_1",xr={commonRippleEffect:a_,searchButton:o_,rippleRect:l_,commonErrorAnimation:c_,shake:d_,commonClickedAnimation:u_,clickedAnimation:p_,commonStarAnimation:h_,starAnimation:m_,circle:f_,square:g_,rounded:x_,primary:v_,warning:j_,error:__,success:y_,info:b_,loading:w_,loader:C_,spin:k_,icon:S_,small:N_,medium:z_,large:$_,xlarge:L_,children:E_,expand:I_,shrink:R_,slideDown:P_,fadeIn:A_},M_=({onClick:e,className:t="",ariaLabel:r,disabled:i=!1,shape:s="circle",variant:a="primary",animation:o="none",size:l="medium",color:c,iconColor:u="#ffffff",bgColor:p,loading:m=!1,children:h})=>{const x=b=>{!i&&e&&e(b)},_=h?"square":s;return C.jsxs("button",{className:`${xr.searchButton} ${xr[_]} ${xr[a]} ${xr[l]} ${o!=="none"?xr[o]:""} ${m?xr.loading:""} ${t}`,onClick:x,"aria-label":r,role:"button",tabIndex:0,disabled:i,style:{backgroundColor:p,color:c,fill:u},children:[m?C.jsx("div",{className:xr.loader}):C.jsx(Y8,{className:xr.icon,color:u}),h&&C.jsx("span",{className:xr.children,children:h})]})},ie=je.memo(M_),T_="_commonRippleEffect_s29xq_57",F_="_rippleRect_s29xq_1",B_="_commonErrorAnimation_s29xq_83",O_="_statusIndicator_s29xq_83",D_="_clicked_s29xq_83",U_="_error_s29xq_83",H_="_shake_s29xq_1",W_="_commonClickedAnimation_s29xq_87",q_="_clickedAnimation_s29xq_1",V_="_commonStarAnimation_s29xq_91",K_="_stars_s29xq_91",G_="_starAnimation_s29xq_1",Q_="_wrapper_s29xq_95",J_="_circle_s29xq_143",Y_="_square_s29xq_146",X_="_rounded_s29xq_149",Z_="_success_s29xq_152",ey="_warning_s29xq_166",ty="_info_s29xq_173",ny="_icon_s29xq_197",ry="_small_s29xq_225",iy="_medium_s29xq_232",sy="_large_s29xq_239",ay="_online_s29xq_246",oy="_offline_s29xq_249",ly="_away_s29xq_252",cy="_busy_s29xq_255",dy="_label_s29xq_279",uy="_slideDown_s29xq_1",py="_fadeIn_s29xq_1",ln={commonRippleEffect:T_,rippleRect:F_,commonErrorAnimation:B_,statusIndicator:O_,clicked:D_,error:U_,shake:H_,commonClickedAnimation:W_,clickedAnimation:q_,commonStarAnimation:V_,stars:K_,starAnimation:G_,wrapper:Q_,circle:J_,square:Y_,rounded:X_,success:Z_,warning:ey,info:ty,icon:ny,small:ry,medium:iy,large:sy,online:ay,offline:oy,away:ly,busy:cy,label:dy,slideDown:uy,fadeIn:py},hy=({className:e="",ariaLabel:t,disabled:r=!1,status:i="success",shape:s="circle",type:a,showLabel:o=!1,size:l="medium",color:c})=>{const u={success:C.jsx(U8,{className:ln.icon}),error:C.jsx(Yu,{className:ln.icon}),warning:C.jsx(q8,{className:ln.icon}),info:C.jsx(Q8,{className:ln.icon})},p={online:"在线",offline:"离线",away:"离开",busy:"忙碌"},m=x=>{if(!r){const _=x.currentTarget;_.classList.add(ln.clicked),setTimeout(()=>{_.classList.remove(ln.clicked)},1e3)}},h=a==="custom"&&c?{backgroundColor:c}:{};return C.jsxs("div",{className:ln.wrapper,children:[C.jsxs("div",{className:` - ${ln.statusIndicator} - ${ln[i]} - ${ln[s]} - ${a?ln[a]:""} - ${ln[l]} + `,onClick:j,"aria-label":a,role:"button",tabIndex:0,disabled:o||l,style:k(),...m,children:l?C.jsxs("span",{className:vr.loadingWrapper,children:[C.jsx("span",{className:vr.loadingSpinner}),t]}):t})});$.displayName="Button";const N8="_card_62upv_2",$8="_outlined_62upv_14",z8="_shadow_62upv_18",E8="_elevated_62upv_22",L8="_filled_62upv_26",R8="_noHeader_62upv_31",A8="_cardHeader_62upv_31",I8="_noFooter_62upv_34",P8="_cardFooter_62upv_34",M8="_noHeaderFooter_62upv_37",B8="_cardTitle_62upv_45",T8="_cardDescription_62upv_53",O8="_cardContent_62upv_60",F8="_cardButton_62upv_75",D8="_fadeIn_62upv_95",U8="_slideIn_62upv_106",H8="_zoomIn_62upv_117",zr={card:N8,default:"_default_62upv_10",outlined:$8,shadow:z8,elevated:E8,filled:L8,noHeader:R8,cardHeader:A8,noFooter:I8,cardFooter:P8,noHeaderFooter:M8,cardTitle:B8,cardDescription:T8,cardContent:O8,cardButton:F8,fadeIn:D8,slideIn:U8,zoomIn:H8},Xt=({children:e,variant:t="default",type:r="default",className:i=""})=>{const s=`${zr.card} ${zr[t]} ${zr[r]} ${i}`;return C.jsx("div",{className:s,children:e})},Zn=({children:e,className:t="",bgColor:r,textColor:i})=>{const s={backgroundColor:r,color:i};return C.jsx("div",{className:`${zr.cardHeader} ${t}`,style:s,children:e})},er=({children:e,className:t=""})=>C.jsx("h3",{className:`${zr.cardTitle} ${t}`,children:e}),tr=({children:e,className:t=""})=>C.jsx("p",{className:`${zr.cardDescription} ${t}`,children:e}),$n=({children:e,className:t="",bgColor:r,textColor:i,animation:s})=>{const a={backgroundColor:r,color:i},o=`${zr.cardContent} ${s?zr[s]:""} ${t}`;return C.jsx("div",{className:o,style:a,children:e})},nr=({children:e,className:t="",bgColor:r,textColor:i})=>{const s={backgroundColor:r,color:i};return C.jsx("div",{className:`${zr.cardFooter} ${t}`,style:s,children:e})};_e.memo(Xt);const W8="_dropdown_9sgb2_2",q8="_trigger_9sgb2_6",V8="_menu_9sgb2_12",K8="_fadeIn_9sgb2_1",G8="_menuList_9sgb2_27",Q8="_down_9sgb2_49",J8="_up_9sgb2_53",Y8="_left_9sgb2_57",X8="_right_9sgb2_61",Z8="_menuItem_9sgb2_65",ey="_disabled_9sgb2_78",vi={dropdown:W8,trigger:q8,menu:V8,fadeIn:K8,menuList:G8,down:Q8,up:J8,left:Y8,right:X8,menuItem:Z8,disabled:ey},ty=({className:e="",ariaLabel:t,disabled:r=!1,items:i=[],onSelect:s,menuBgColor:a="#f8f9fa",menuTextColor:o="#000000",menuBoxShadow:l="0 4px 6px rgba(0, 0, 0, 0.1)",direction:c="down",children:d})=>{const[p,h]=y.useState(!1),m=y.useRef(null),g=y.useRef(null),j=()=>{r||h(!p)},b=u=>{s&&!u.disabled&&s(u),h(!1)},k=u=>{m.current&&!m.current.contains(u.target)&&h(!1)},_=u=>{const f=u.relatedTarget;m.current&&g.current&&!m.current.contains(f)&&!g.current.contains(f)&&h(!1)};return y.useEffect(()=>(document.addEventListener("mousedown",k),document.addEventListener("focusout",_),()=>{document.removeEventListener("mousedown",k),document.removeEventListener("focusout",_)}),[]),C.jsxs("div",{className:`${vi.dropdown} ${e}`,"aria-label":t,role:"menu",tabIndex:0,"aria-disabled":r,ref:m,children:[C.jsx("div",{className:vi.trigger,onClick:j,children:d||C.jsx($,{size:"small",disabled:r,children:"Dropdown"})}),p&&C.jsx("div",{ref:g,className:`${vi.menu} ${vi[c]}`,style:{backgroundColor:a,boxShadow:l},tabIndex:-1,children:C.jsx("ul",{className:vi.menuList,role:"menu",tabIndex:-1,children:i.map((u,f)=>C.jsx("li",{className:`${vi.menuItem} ${u.disabled?vi.disabled:""}`,onClick:()=>b(u),style:{color:u.disabled?"#c0c0c0":o},role:"menuitem",tabIndex:u.disabled?-1:0,children:u.label},f))})})]})},rr=_e.memo(ty);var Pg={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Y1=_e.createContext&&_e.createContext(Pg),ny=["attr","size","title"];function ry(e,t){if(e==null)return{};var r=iy(e,t),i,s;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}function iy(e,t){if(e==null)return{};var r={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;r[i]=e[i]}return r}function Ol(){return Ol=Object.assign?Object.assign.bind():function(e){for(var t=1;t_e.createElement(t.tag,Fl({key:r},t.attr),Mg(t.child)))}function Le(e){return t=>_e.createElement(ly,Ol({attr:Fl({},e.attr)},t),Mg(e.child))}function ly(e){var t=r=>{var{attr:i,size:s,title:a}=e,o=ry(e,ny),l=s||r.size||"1em",c;return r.className&&(c=r.className),e.className&&(c=(c?c+" ":"")+e.className),_e.createElement("svg",Ol({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,i,o,{className:c,style:Fl(Fl({color:e.color||r.color},r.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&_e.createElement("title",null,a),e.children)};return Y1!==void 0?_e.createElement(Y1.Consumer,null,r=>t(r)):t(Pg)}function cy(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 448c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160H32v288zm160-212c0-6.6 5.4-12 12-12h104c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-8zM480 32H32C14.3 32 0 46.3 0 64v48c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16V64c0-17.7-14.3-32-32-32z"},child:[]}]})(e)}function dy(e){return Le({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"},child:[]}]})(e)}function uy(e){return Le({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M0 512V48C0 21.49 21.49 0 48 0h288c26.51 0 48 21.49 48 48v464L192 400 0 512z"},child:[]}]})(e)}function py(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"},child:[]}]})(e)}function hy(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"},child:[]}]})(e)}function vu(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8Zm92.49,313h0l-20,25a16,16,0,0,1-22.49,2.5h0l-67-49.72a40,40,0,0,1-15-31.23V112a16,16,0,0,1,16-16h32a16,16,0,0,1,16,16V256l58,42.5A16,16,0,0,1,348.49,321Z"},child:[]}]})(e)}function my(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"},child:[]}]})(e)}function Z1(e){return Le({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},child:[]}]})(e)}function fy(e){return Le({tag:"svg",attr:{viewBox:"0 0 192 512"},child:[{tag:"path",attr:{d:"M176 432c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zM25.26 25.199l13.6 272C39.499 309.972 50.041 320 62.83 320h66.34c12.789 0 23.331-10.028 23.97-22.801l13.6-272C167.425 11.49 156.496 0 142.77 0H49.23C35.504 0 24.575 11.49 25.26 25.199z"},child:[]}]})(e)}function gy(e){return Le({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"},child:[]}]})(e)}function Bg(e){return Le({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"},child:[]}]})(e)}function xy(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M349.565 98.783C295.978 98.783 251.721 64 184.348 64c-24.955 0-47.309 4.384-68.045 12.013a55.947 55.947 0 0 0 3.586-23.562C118.117 24.015 94.806 1.206 66.338.048 34.345-1.254 8 24.296 8 56c0 19.026 9.497 35.825 24 45.945V488c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-94.4c28.311-12.064 63.582-22.122 114.435-22.122 53.588 0 97.844 34.783 165.217 34.783 48.169 0 86.667-16.294 122.505-40.858C506.84 359.452 512 349.571 512 339.045v-243.1c0-23.393-24.269-38.87-45.485-29.016-34.338 15.948-76.454 31.854-116.95 31.854z"},child:[]}]})(e)}function vy(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"},child:[]}]})(e)}function Tg(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},child:[]}]})(e)}function jy(e){return Le({tag:"svg",attr:{viewBox:"0 0 192 512"},child:[{tag:"path",attr:{d:"M20 424.229h20V279.771H20c-11.046 0-20-8.954-20-20V212c0-11.046 8.954-20 20-20h112c11.046 0 20 8.954 20 20v212.229h20c11.046 0 20 8.954 20 20V492c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20v-47.771c0-11.046 8.954-20 20-20zM96 0C56.235 0 24 32.235 24 72s32.235 72 72 72 72-32.235 72-72S135.764 0 96 0z"},child:[]}]})(e)}function _y(e){return Le({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"},child:[]}]})(e)}function yy(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"},child:[]}]})(e)}function by(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"},child:[]}]})(e)}function wy(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"},child:[]}]})(e)}function em(e){return Le({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"},child:[]}]})(e)}function Cy(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M0 56v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56zm40 200c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24zm272 256c-20.183 0-29.485-39.293-33.931-57.795-5.206-21.666-10.589-44.07-25.393-58.902-32.469-32.524-49.503-73.967-89.117-113.111a11.98 11.98 0 0 1-3.558-8.521V59.901c0-6.541 5.243-11.878 11.783-11.998 15.831-.29 36.694-9.079 52.651-16.178C256.189 17.598 295.709.017 343.995 0h2.844c42.777 0 93.363.413 113.774 29.737 8.392 12.057 10.446 27.034 6.148 44.632 16.312 17.053 25.063 48.863 16.382 74.757 17.544 23.432 19.143 56.132 9.308 79.469l.11.11c11.893 11.949 19.523 31.259 19.439 49.197-.156 30.352-26.157 58.098-59.553 58.098H350.723C358.03 364.34 384 388.132 384 430.548 384 504 336 512 312 512z"},child:[]}]})(e)}function ky(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M104 224H24c-13.255 0-24 10.745-24 24v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V248c0-13.255-10.745-24-24-24zM64 472c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zM384 81.452c0 42.416-25.97 66.208-33.277 94.548h101.723c33.397 0 59.397 27.746 59.553 58.098.084 17.938-7.546 37.249-19.439 49.197l-.11.11c9.836 23.337 8.237 56.037-9.308 79.469 8.681 25.895-.069 57.704-16.382 74.757 4.298 17.598 2.244 32.575-6.148 44.632C440.202 511.587 389.616 512 346.839 512l-2.845-.001c-48.287-.017-87.806-17.598-119.56-31.725-15.957-7.099-36.821-15.887-52.651-16.178-6.54-.12-11.783-5.457-11.783-11.998v-213.77c0-3.2 1.282-6.271 3.558-8.521 39.614-39.144 56.648-80.587 89.117-113.111 14.804-14.832 20.188-37.236 25.393-58.902C282.515 39.293 291.817 0 312 0c24 0 72 8 72 81.452z"},child:[]}]})(e)}function Sy(e){return Le({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M298.028 214.267L285.793 96H328c13.255 0 24-10.745 24-24V24c0-13.255-10.745-24-24-24H56C42.745 0 32 10.745 32 24v48c0 13.255 10.745 24 24 24h42.207L85.972 214.267C37.465 236.82 0 277.261 0 328c0 13.255 10.745 24 24 24h136v104.007c0 1.242.289 2.467.845 3.578l24 48c2.941 5.882 11.364 5.893 14.311 0l24-48a8.008 8.008 0 0 0 .845-3.578V352h136c13.255 0 24-10.745 24-24-.001-51.183-37.983-91.42-85.973-113.733z"},child:[]}]})(e)}function Ny(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"},child:[]}]})(e)}function Ep(e){return Le({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(e)}function $y(e){return Le({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M624 208h-64v-64c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v64h-64c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h64v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-64h64c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm-400 48c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"},child:[]}]})(e)}function zy(e){return Le({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M476 480H324a36 36 0 0 1-36-36V96h-96v156a36 36 0 0 1-36 36H16a16 16 0 0 1-16-16v-32a16 16 0 0 1 16-16h112V68a36 36 0 0 1 36-36h152a36 36 0 0 1 36 36v348h96V260a36 36 0 0 1 36-36h140a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16H512v156a36 36 0 0 1-36 36z"},child:[]}]})(e)}const Ey="_commonRippleEffect_ouk9h_57",Ly="_searchButton_ouk9h_57",Ry="_rippleRect_ouk9h_1",Ay="_commonErrorAnimation_ouk9h_83",Iy="_shake_ouk9h_231",Py="_commonClickedAnimation_ouk9h_87",My="_clickedAnimation_ouk9h_1",By="_commonStarAnimation_ouk9h_91",Ty="_starAnimation_ouk9h_1",Oy="_circle_ouk9h_112",Fy="_square_ouk9h_115",Dy="_rounded_ouk9h_118",Uy="_primary_ouk9h_121",Hy="_warning_ouk9h_128",Wy="_error_ouk9h_135",qy="_success_ouk9h_145",Vy="_info_ouk9h_152",Ky="_loading_ouk9h_166",Gy="_loader_ouk9h_170",Qy="_spin_ouk9h_1",Jy="_icon_ouk9h_196",Yy="_small_ouk9h_202",Xy="_medium_ouk9h_206",Zy="_large_ouk9h_210",eb="_xlarge_ouk9h_214",tb="_children_ouk9h_218",nb="_expand_ouk9h_225",rb="_shrink_ouk9h_228",ib="_slideDown_ouk9h_1",sb="_fadeIn_ouk9h_1",jr={commonRippleEffect:Ey,searchButton:Ly,rippleRect:Ry,commonErrorAnimation:Ay,shake:Iy,commonClickedAnimation:Py,clickedAnimation:My,commonStarAnimation:By,starAnimation:Ty,circle:Oy,square:Fy,rounded:Dy,primary:Uy,warning:Hy,error:Wy,success:qy,info:Vy,loading:Ky,loader:Gy,spin:Qy,icon:Jy,small:Yy,medium:Xy,large:Zy,xlarge:eb,children:tb,expand:nb,shrink:rb,slideDown:ib,fadeIn:sb},ab=({onClick:e,className:t="",ariaLabel:r,disabled:i=!1,shape:s="circle",variant:a="primary",animation:o="none",size:l="medium",color:c,iconColor:d="#ffffff",bgColor:p,loading:h=!1,children:m})=>{const g=b=>{!i&&e&&e(b)},j=m?"square":s;return C.jsxs("button",{className:`${jr.searchButton} ${jr[j]} ${jr[a]} ${jr[l]} ${o!=="none"?jr[o]:""} ${h?jr.loading:""} ${t}`,onClick:g,"aria-label":r,role:"button",tabIndex:0,disabled:i,style:{backgroundColor:p,color:c,fill:d},children:[h?C.jsx("div",{className:jr.loader}):C.jsx(yy,{className:jr.icon,color:d}),m&&C.jsx("span",{className:jr.children,children:m})]})},se=_e.memo(ab),ob="_commonRippleEffect_s29xq_57",lb="_rippleRect_s29xq_1",cb="_commonErrorAnimation_s29xq_83",db="_statusIndicator_s29xq_83",ub="_clicked_s29xq_83",pb="_error_s29xq_83",hb="_shake_s29xq_1",mb="_commonClickedAnimation_s29xq_87",fb="_clickedAnimation_s29xq_1",gb="_commonStarAnimation_s29xq_91",xb="_stars_s29xq_91",vb="_starAnimation_s29xq_1",jb="_wrapper_s29xq_95",_b="_circle_s29xq_143",yb="_square_s29xq_146",bb="_rounded_s29xq_149",wb="_success_s29xq_152",Cb="_warning_s29xq_166",kb="_info_s29xq_173",Sb="_icon_s29xq_197",Nb="_small_s29xq_225",$b="_medium_s29xq_232",zb="_large_s29xq_239",Eb="_online_s29xq_246",Lb="_offline_s29xq_249",Rb="_away_s29xq_252",Ab="_busy_s29xq_255",Ib="_label_s29xq_279",Pb="_slideDown_s29xq_1",Mb="_fadeIn_s29xq_1",cn={commonRippleEffect:ob,rippleRect:lb,commonErrorAnimation:cb,statusIndicator:db,clicked:ub,error:pb,shake:hb,commonClickedAnimation:mb,clickedAnimation:fb,commonStarAnimation:gb,stars:xb,starAnimation:vb,wrapper:jb,circle:_b,square:yb,rounded:bb,success:wb,warning:Cb,info:kb,icon:Sb,small:Nb,medium:$b,large:zb,online:Eb,offline:Lb,away:Rb,busy:Ab,label:Ib,slideDown:Pb,fadeIn:Mb},Bb=({className:e="",ariaLabel:t,disabled:r=!1,status:i="success",shape:s="circle",type:a,showLabel:o=!1,size:l="medium",color:c})=>{const d={success:C.jsx(py,{className:cn.icon}),error:C.jsx(Ep,{className:cn.icon}),warning:C.jsx(fy,{className:cn.icon}),info:C.jsx(jy,{className:cn.icon})},p={online:"在线",offline:"离线",away:"离开",busy:"忙碌"},h=g=>{if(!r){const j=g.currentTarget;j.classList.add(cn.clicked),setTimeout(()=>{j.classList.remove(cn.clicked)},1e3)}},m=a==="custom"&&c?{backgroundColor:c}:{};return C.jsxs("div",{className:cn.wrapper,children:[C.jsxs("div",{className:` + ${cn.statusIndicator} + ${cn[i]} + ${cn[s]} + ${a?cn[a]:""} + ${cn[l]} ${e} - `,"aria-label":t,role:"status",tabIndex:0,"aria-disabled":r,onClick:m,style:h,children:[u[i],C.jsx("div",{className:ln.stars})]}),o&&a&&p[a]&&C.jsx("span",{className:ln.label,children:p[a]})]})},Pe=je.memo(hy),my="_container_y5zsl_1",fy="_containerHideBorder_y5zsl_5",gy="_defaultWidth_y5zsl_16",xy="_fullWidth_y5zsl_20",vy="_textField_y5zsl_24",jy="_focused_y5zsl_32",_y="_label_y5zsl_36",yy="_filled_y5zsl_39",by="_minimal_y5zsl_42",wy="_error_y5zsl_47",Cy="_shake_y5zsl_54",ky="_readonly_y5zsl_57",Sy="_input_y5zsl_62",Ny="_suffix_y5zsl_70",zy="_disabled_y5zsl_77",$y="_small_y5zsl_98",Ly="_shrink_y5zsl_102",Ey="_medium_y5zsl_107",Iy="_large_y5zsl_116",Ry="_inputWrapper_y5zsl_150",Py="_hideBorder_y5zsl_167",Ay="_iconLeft_y5zsl_184",My="_iconRight_y5zsl_192",Ty="_togglePasswordIcon_y5zsl_199",Fy="_clearIcon_y5zsl_203",By="_errorIcon_y5zsl_215",Oy="_errorMessage_y5zsl_220",Dy="_charCount_y5zsl_228",Qe={container:my,containerHideBorder:fy,defaultWidth:gy,fullWidth:xy,textField:vy,focused:jy,label:_y,filled:yy,minimal:by,error:wy,shake:Cy,readonly:ky,input:Sy,suffix:Ny,disabled:zy,small:$y,shrink:Ly,medium:Ey,large:Iy,inputWrapper:Ry,hideBorder:Py,iconLeft:Ay,iconRight:My,togglePasswordIcon:Ty,clearIcon:Fy,errorIcon:By,errorMessage:Oy,charCount:Dy},O0=y.forwardRef(({label:e,placeholder:t,value:r,onChange:i,helperText:s,icon:a,iconPosition:o="left",borderColor:l,hideBorder:c=!1,minimal:u=!1,borderRadius:p="0.25rem",name:m,type:h="text",showCharCount:x=!1,clearable:_=!1,fullWidth:b=!1,width:k="300px",disabled:j=!1,ariaLabel:d,readOnly:f=!1,size:v="medium",suffix:w,onBlur:g,onFocus:N,onKeyDown:S,className:L},E)=>{var O;const Q=y.useRef(null),[q,U]=y.useState(!1),[D,G]=y.useState(!!r),[ee,R]=y.useState(!1),[M,T]=y.useState(!1),[J,X]=y.useState(r||"");y.useEffect(()=>{r!==void 0&&X(r)},[r]),y.useEffect(()=>{G(!!(r||J))},[r,J]);const Ae=y.useCallback(ye=>{S==null||S(ye)},[S]),K=y.useCallback(ye=>{U(!0),N==null||N(ye)},[N]),de=y.useCallback(ye=>{U(!1),g==null||g(ye)},[g]),Ne=y.useCallback(ye=>{const Ze=ye.target.value;i?i(Ze):X(Ze)},[i]),Ke=y.useCallback(()=>{i?i(""):X("")},[i]),Mt=y.useCallback(()=>{R(!ee)},[ee]);y.useEffect(()=>{var ye;s&&(T(!0),setTimeout(()=>T(!1),500),(ye=Q.current)==null||ye.focus())},[s]);const wt=`${Qe.textField} ${q?Qe.focused:""} ${D?Qe.filled:""} ${u?Qe.minimal:""} ${s?Qe.error:""} ${c?Qe.containerHideBorder:""} ${M?Qe.shake:""} ${j?Qe.disabled:""} ${f?Qe.readonly:""} ${Qe[v]}`,Tt=`${Qe.input} ${c?Qe.hideBorder:""}`,It=`${Qe.label} ${q||D?Qe.shrink:""}`,Ue=`${Qe.container} ${c?Qe.containerHideBorder:""} ${L||""}`,ne={width:b?"100%":k,borderRadius:p,borderColor:l};return C.jsxs("div",{className:Ue,style:ne,children:[C.jsxs("div",{className:wt,style:{borderColor:l,borderRadius:p},children:[e&&!t&&!f&&C.jsx("label",{className:It,onClick:()=>{var ye;return(ye=Q==null?void 0:Q.current)==null?void 0:ye.focus()},style:{left:a&&o==="left"?"2.5rem":"0.75rem"},children:e}),C.jsxs("div",{className:Qe.inputWrapper,style:{borderRadius:p},children:[a&&o==="left"&&C.jsx("span",{className:Qe.iconLeft,children:a}),C.jsx("input",{ref:E||Q,id:m,type:h==="password"&&!ee?"password":"text",name:m,className:Tt,placeholder:q||D?"":t,value:r!==void 0?r:J,onChange:Ne,onFocus:K,onBlur:de,onKeyDown:Ae,tabIndex:0,disabled:j,readOnly:f,"aria-label":d,style:{paddingLeft:a&&o==="left"?"2rem":"",paddingRight:(a&&o==="right"?"2rem":"")+(!w&&_?"2rem":"")}}),a&&o==="right"&&C.jsx(C.Fragment,{children:h!=="password"?C.jsx("span",{className:Qe.iconRight,children:a}):C.jsx("span",{className:`${Qe.iconRight} ${Qe.togglePasswordIcon}`,onClick:Mt,children:ee?C.jsx(V8,{}):C.jsx(F0,{})})}),_&&(r||J)&&!f&&!j&&!w&&C.jsx("span",{className:Qe.clearIcon,onClick:Ke,children:C.jsx(r_,{})}),w&&C.jsx("span",{className:Qe.suffix,children:w}),s&&C.jsx("span",{className:Qe.errorIcon,children:C.jsx(d1,{})})]}),x&&C.jsx("div",{className:Qe.charCount,children:(O=r!==void 0?r:J)==null?void 0:O.length})]}),s&&C.jsxs("div",{className:Qe.errorMessage,children:[C.jsx(d1,{className:Qe.errorIcon}),s]})]})});O0.displayName="TextField";const Me=je.memo(O0),Uy="_progressIndicator_17t9k_1",Hy="_icon_17t9k_7",Wy="_small_17t9k_10",qy="_medium_17t9k_13",Vy="_large_17t9k_16",Ky="_defaultWidth_17t9k_19",Gy="_fullWidth_17t9k_22",Qy="_spinner_17t9k_26",Jy="_circle_17t9k_27",Yy="_spin_17t9k_26",Xy="_barContainer_17t9k_39",Zy="_dottedBarContainer_17t9k_40",e9="_bar_17t9k_39",t9="_barAnimation_17t9k_1",n9="_dottedBar_17t9k_40",r9="_dottedBarAnimation_17t9k_1",i9="_waveContainer_17t9k_71",s9="_wave_17t9k_71",a9="_waveAnimation_17t9k_1",Bt={progressIndicator:Uy,icon:Hy,small:Wy,medium:qy,large:Vy,defaultWidth:Ky,fullWidth:Gy,spinner:Qy,circle:Jy,spin:Yy,barContainer:Xy,dottedBarContainer:Zy,bar:e9,barAnimation:t9,dottedBar:n9,dottedBarAnimation:r9,waveContainer:i9,wave:s9,waveAnimation:a9},o9=({type:e="spinner",size:t="medium",icon:r,ariaLabel:i,className:s="",width:a,full:o=!1})=>{const l={spinner:C.jsx(Z8,{className:`${Bt.spinner} ${Bt[t]}`}),bar:C.jsx("div",{className:`${Bt.barContainer} ${Bt[t]}`,children:C.jsx("div",{className:Bt.bar})}),wave:C.jsx("div",{className:`${Bt.waveContainer} ${Bt[t]}`,children:C.jsx(s_,{className:Bt.wave})}),circle:C.jsx(H8,{className:`${Bt.circle} ${Bt[t]}`}),dottedBar:C.jsx("div",{className:`${Bt.dottedBarContainer} ${Bt[t]}`,children:C.jsx("div",{className:Bt.dottedBar})})},c=o?Bt.fullWidth:a?"":Bt.defaultWidth;return C.jsxs("div",{className:`${Bt.progressIndicator} ${s} ${c}`,"aria-label":i,role:"progressbar",tabIndex:0,style:{width:a&&!o?a:void 0},children:[r&&C.jsx("span",{className:Bt.icon,children:r}),l[e]||null]})},En=je.memo(o9),l9="_commonRippleEffect_e343o_57",c9="_checkbox_e343o_57",d9="_rippleRect_e343o_1",u9="_commonErrorAnimation_e343o_83",p9="_checkboxWrapper_e343o_83",h9="_error_e343o_83",m9="_shake_e343o_1",f9="_commonClickedAnimation_e343o_87",g9="_clickedAnimation_e343o_1",x9="_commonStarAnimation_e343o_91",v9="_starAnimation_e343o_1",j9="_disabled_e343o_108",_9="_checkmark_e343o_112",y9="_labelStart_e343o_116",b9="_labelTop_e343o_119",w9="_labelBottom_e343o_123",C9="_input_e343o_131",k9="_square_e343o_181",S9="_circle_e343o_185",N9="_rounded_e343o_189",z9="_small_e343o_193",$9="_label_e343o_116",L9="_large_e343o_207",E9="_helperTextWrapper_e343o_226",I9="_errorIcon_e343o_232",R9="_helperText_e343o_226",P9="_errorText_e343o_244",A9="_slideDown_e343o_1",M9="_fadeIn_e343o_1",tn={commonRippleEffect:l9,checkbox:c9,rippleRect:d9,commonErrorAnimation:u9,checkboxWrapper:p9,error:h9,shake:m9,commonClickedAnimation:f9,clickedAnimation:g9,commonStarAnimation:x9,starAnimation:v9,disabled:j9,checkmark:_9,labelStart:y9,labelTop:b9,labelBottom:w9,input:C9,square:k9,circle:S9,rounded:N9,small:z9,label:$9,large:L9,helperTextWrapper:E9,errorIcon:I9,helperText:R9,errorText:P9,slideDown:A9,fadeIn:M9},D0=y.forwardRef(({checked:e,defaultChecked:t,disabled:r=!1,indeterminate:i=!1,name:s,onChange:a,shape:o="square",size:l="medium",label:c,className:u="",checkmarkColor:p,boxColor:m,boxBorderColor:h,icon:x,required:_=!1,error:b=!1,errorIcon:k=C.jsx(B0,{}),helperText:j,labelPlacement:d="end"},f)=>{const v=y.useRef(null);je.useImperativeHandle(f,()=>v.current,[]),y.useEffect(()=>{v.current&&(v.current.indeterminate=i)},[i]);const w=S=>{a==null||a(S.target.checked,S)},g={...m&&{backgroundColor:m},...h&&{borderColor:h},...p&&{"--checkmark-color":p}},N=` - ${tn.checkbox} - ${tn[l]} - ${tn[o]} - ${tn[`label${d.charAt(0).toUpperCase()}${d.slice(1)}`]} - ${r?tn.disabled:""} - ${b?tn.error:""} - ${u} - `;return C.jsxs("div",{className:`${tn.checkboxWrapper} ${b?tn.error:""}`,children:[C.jsxs("label",{className:N,children:[C.jsx("input",{ref:v,type:"checkbox",className:tn.input,checked:e,defaultChecked:t,disabled:r,name:s,onChange:w,required:_}),C.jsx("span",{className:tn.checkmark,style:g,children:x&&e&&!i&&x}),c&&C.jsx("span",{className:tn.label,children:c})]}),j&&C.jsxs("div",{className:tn.helperTextWrapper,children:[b&&C.jsx("span",{className:tn.errorIcon,children:k}),C.jsx("span",{className:`${tn.helperText} ${b?tn.errorText:""}`,children:j})]})]})});D0.displayName="Checkbox";const Te=je.memo(D0),T9="_commonRippleEffect_1d9q1_57",F9="_tooltip_1d9q1_57",B9="_rippleRect_1d9q1_1",O9="_commonErrorAnimation_1d9q1_83",D9="_shake_1d9q1_1",U9="_commonClickedAnimation_1d9q1_87",H9="_clickedAnimation_1d9q1_1",W9="_commonStarAnimation_1d9q1_91",q9="_starAnimation_1d9q1_1",V9="_tooltipTrigger_1d9q1_95",K9="_show_1d9q1_117",G9="_dark_1d9q1_130",Q9="_light_1d9q1_134",J9="_info_1d9q1_139",Y9="_success_1d9q1_143",X9="_warning_1d9q1_147",Z9="_error_1d9q1_151",e7="_rounded_1d9q1_158",t7="_thought_1d9q1_162",n7="_square_1d9q1_185",r7="_followCursor_1d9q1_188",i7="_arrow_1d9q1_191",s7="_tooltipArrow_1d9q1_194",a7="_slideDown_1d9q1_1",o7="_fadeIn_1d9q1_1",vr={commonRippleEffect:T9,tooltip:F9,rippleRect:B9,commonErrorAnimation:O9,shake:D9,commonClickedAnimation:U9,clickedAnimation:H9,commonStarAnimation:W9,starAnimation:q9,tooltipTrigger:V9,show:K9,"animation-fade":"_animation-fade_1d9q1_120","animation-scale":"_animation-scale_1d9q1_123",dark:G9,light:Q9,info:J9,success:Y9,warning:X9,error:Z9,default:"_default_1d9q1_155",rounded:e7,thought:t7,square:n7,followCursor:r7,arrow:i7,tooltipArrow:s7,slideDown:a7,fadeIn:o7},l7={top:(e,t,r)=>({top:e.top-t.height-r[1],left:e.left+(e.width-t.width)/2}),"top-start":(e,t,r)=>({top:e.top-t.height-r[1],left:e.left}),"top-end":(e,t,r)=>({top:e.top-t.height-r[1],left:e.right-t.width}),bottom:(e,t,r)=>({top:e.bottom+r[1],left:e.left+(e.width-t.width)/2}),"bottom-start":(e,t,r)=>({top:e.bottom+r[1],left:e.left}),"bottom-end":(e,t,r)=>({top:e.bottom+r[1],left:e.right-t.width}),left:(e,t,r)=>({top:e.top+(e.height-t.height)/2,left:e.left-t.width-r[0]}),"left-start":(e,t,r)=>({top:e.top,left:e.left-t.width-r[0]}),"left-end":(e,t,r)=>({top:e.bottom-t.height,left:e.left-t.width-r[0]}),right:(e,t,r)=>({top:e.top+(e.height-t.height)/2,left:e.right+r[0]}),"right-start":(e,t,r)=>({top:e.top,left:e.right+r[0]}),"right-end":(e,t,r)=>({top:e.bottom-t.height,left:e.right+r[0]})},U0=y.forwardRef(({content:e,children:t,open:r,defaultOpen:i=!1,placement:s="top",variant:a="dark",shape:o="default",animation:l="fade",enterDelay:c=200,leaveDelay:u=0,offset:p=[0,8],disabled:m=!1,followCursor:h=!1,className:x="",zIndex:_=1500,bgColor:b,textColor:k,arrow:j=!1,onOpen:d,onClose:f,ariaLabel:v},w)=>{const[g,N]=y.useState(i),[S,L]=y.useState({top:0,left:0}),[E,O]=y.useState({x:0,y:0}),Q=y.useRef(null),q=y.useRef(null),U=y.useRef(),D=y.useRef(),G=r??g;y.useImperativeHandle(w,()=>({open:()=>N(!0),close:()=>N(!1),toggle:()=>N(X=>!X)}));const ee=y.useCallback(()=>{if(!Q.current||!q.current)return;if(h){L({top:E.y-q.current.offsetHeight-p[1],left:E.x-q.current.offsetWidth/2});return}const X=Q.current.getBoundingClientRect(),Ae=q.current.getBoundingClientRect(),K=l7[s];L(K(X,Ae,p))},[s,p,h,E.x,E.y]);y.useEffect(()=>{if(!G||!q.current)return;const X=requestAnimationFrame(()=>{var Ae;ee(),(Ae=q.current)==null||Ae.classList.add(vr.show)});return()=>{cancelAnimationFrame(X)}},[G,ee]),y.useEffect(()=>{if(!G)return;const X=()=>{requestAnimationFrame(ee)};return window.addEventListener("resize",X),()=>{window.removeEventListener("resize",X)}},[G,ee]);const R=()=>{m||(clearTimeout(D.current),U.current=setTimeout(()=>{N(!0),d==null||d()},c))},M=()=>{m||(clearTimeout(U.current),D.current=setTimeout(()=>{N(!1),f==null||f()},u))},T=y.useCallback(X=>{h&&(O({x:X.clientX,y:X.clientY}),requestAnimationFrame(ee))},[h,ee]);y.useEffect(()=>{if(h)return document.addEventListener("mousemove",T),()=>document.removeEventListener("mousemove",T)},[h,T]);const J=X=>{m||((X.key==="Enter"||X.key===" ")&&(X.preventDefault(),N(!0),d==null||d()),X.key==="Escape"&&G&&(N(!1),f==null||f()))};return C.jsxs(C.Fragment,{children:[C.jsx("div",{ref:Q,className:`${vr.tooltipTrigger} ${x}`,onMouseEnter:R,onMouseLeave:M,onKeyDown:J,tabIndex:0,role:"button","aria-label":v,"aria-describedby":G?"tooltip":void 0,children:t}),G&&Ua.createPortal(C.jsxs("div",{ref:q,id:"tooltip",role:"tooltip","aria-label":v,className:` - ${vr.tooltip} - ${vr[a]} - ${vr[o]} - ${vr[`animation-${l}`]} - ${h?vr.followCursor:""} - ${j?vr.arrow:""} - `,style:{...S,...b!=null&&b.includes("gradient")?{background:b}:{backgroundColor:b},color:k,zIndex:_},children:[e,j&&C.jsx("div",{className:vr.tooltipArrow,style:{...b!=null&&b.includes("gradient")?{background:b}:{backgroundColor:b}}})]}),document.body)]})});U0.displayName="Tooltip";const ve=je.memo(U0),c7="_commonRippleEffect_458vq_57",d7="_iconButton_458vq_57",u7="_rippleRect_458vq_1",p7="_commonErrorAnimation_458vq_83",h7="_shake_458vq_1",m7="_commonClickedAnimation_458vq_87",f7="_clickedAnimation_458vq_1",g7="_commonStarAnimation_458vq_91",x7="_starAnimation_458vq_1",v7="_small_458vq_107",j7="_medium_458vq_112",_7="_large_458vq_117",y7="_circle_458vq_122",b7="_square_458vq_125",w7="_disabled_458vq_131",C7="_loading_458vq_131",k7="_active_458vq_134",S7="_primary_458vq_138",N7="_secondary_458vq_148",z7="_success_458vq_158",$7="_error_458vq_168",L7="_warning_458vq_178",E7="_ripple_458vq_200",I7="_slideDown_458vq_1",R7="_fadeIn_458vq_1",pi={commonRippleEffect:c7,iconButton:d7,rippleRect:u7,commonErrorAnimation:p7,shake:h7,commonClickedAnimation:m7,clickedAnimation:f7,commonStarAnimation:g7,starAnimation:x7,small:v7,medium:j7,large:_7,circle:y7,square:b7,default:"_default_458vq_128",disabled:w7,loading:C7,active:k7,primary:S7,secondary:N7,success:z7,error:$7,warning:L7,ripple:E7,slideDown:I7,fadeIn:R7},P7=({icon:e,variant:t="default",size:r="medium",shape:i="circle",disabled:s=!1,loading:a=!1,active:o=!1,className:l="",tooltip:c,showTooltip:u=!1,color:p,activeColor:m,bgColor:h,hoverColor:x,fillColor:_,onClick:b,tabIndex:k=0,ariaLabel:j,...d})=>{const f=y.useRef(null),v=y.useMemo(()=>({color:p,backgroundColor:h,"--active-color":m,"--hover-color":x,"--fill-color":_}),[p,h,m,x,_]),w=y.useMemo(()=>`${pi.iconButton} ${pi[t]} ${pi[r]} ${pi[i]} ${s?pi.disabled:""} ${a?pi.loading:""} ${o?pi.active:""} ${l}`,[t,r,i,s,a,o,l]),g=C.jsx("button",{ref:f,className:w,disabled:s||a,onClick:b,tabIndex:s?-1:k,"aria-label":j||"icon button","aria-disabled":s||a,role:"button",style:v,...d,children:a?C.jsx(En,{size:r,type:"spinner",ariaLabel:"Loading"}):e});if(!u||!c)return g;const N=y.useMemo(()=>({...c,disabled:s||a}),[c,s,a]);return C.jsx(ve,{...N,children:g})},We=je.memo(P7),A7={favorite:{isActive:!1,activeColor:"#e91e63",inactiveColor:"#666666",activeBgColor:"#fce4ec",inactiveBgColor:"transparent",activeHoverColor:"#fce4ec",inactiveHoverColor:"rgba(233, 30, 99, 0.12)",activeFillColor:"#e91e63",inactiveFillColor:"transparent",activeTooltip:"Remove from favorites",inactiveTooltip:"Add to favorites"},bookmark:{isActive:!1,activeColor:"#ffc107",inactiveColor:"#666666",activeBgColor:"#fff8e1",inactiveBgColor:"transparent",activeHoverColor:"#fff8e1",inactiveHoverColor:"rgba(255, 193, 7, 0.12)",activeFillColor:"#ffc107",inactiveFillColor:"transparent",activeTooltip:"Remove bookmark",inactiveTooltip:"Add bookmark"},star:{isActive:!1,activeColor:"#ff9800",inactiveColor:"#666666",activeBgColor:"#fff3e0",inactiveBgColor:"transparent",activeHoverColor:"#fff3e0",inactiveHoverColor:"rgba(255, 152, 0, 0.12)",activeFillColor:"#ff9800",inactiveFillColor:"transparent",activeTooltip:"Remove star",inactiveTooltip:"Add star"},like:{isActive:!1,activeColor:"#e91e63",inactiveColor:"#666666",activeBgColor:"#fce4ec",inactiveBgColor:"transparent",activeHoverColor:"#fce4ec",inactiveHoverColor:"rgba(233, 30, 99, 0.12)",activeFillColor:"#e91e63",inactiveFillColor:"transparent",activeTooltip:"Unlike",inactiveTooltip:"Like"},follow:{isActive:!1,activeColor:"#2196f3",inactiveColor:"#666666",activeBgColor:"#e3f2fd",inactiveBgColor:"transparent",activeHoverColor:"#e3f2fd",inactiveHoverColor:"rgba(33, 150, 243, 0.12)",activeFillColor:"#2196f3",inactiveFillColor:"transparent",activeTooltip:"Unfollow",inactiveTooltip:"Follow"},share:{isActive:!1,activeColor:"#4caf50",inactiveColor:"#666666",activeBgColor:"#e8f5e9",inactiveBgColor:"transparent",activeHoverColor:"#e8f5e9",inactiveHoverColor:"rgba(76, 175, 80, 0.12)",activeFillColor:"#4caf50",inactiveFillColor:"transparent",activeTooltip:"Shared",inactiveTooltip:"Share"},notification:{isActive:!1,activeColor:"#9c27b0",inactiveColor:"#666666",activeBgColor:"#f3e5f5",inactiveBgColor:"transparent",activeHoverColor:"#f3e5f5",inactiveHoverColor:"rgba(156, 39, 176, 0.12)",activeFillColor:"#9c27b0",inactiveFillColor:"transparent",activeTooltip:"Notifications on",inactiveTooltip:"Turn on notifications"},pin:{isActive:!1,activeColor:"#f44336",inactiveColor:"#666666",activeBgColor:"#ffebee",inactiveBgColor:"transparent",activeHoverColor:"#ffebee",inactiveHoverColor:"rgba(244, 67, 54, 0.12)",activeFillColor:"#f44336",inactiveFillColor:"transparent",activeTooltip:"Unpin",inactiveTooltip:"Pin"},archive:{isActive:!1,activeColor:"#795548",inactiveColor:"#666666",activeBgColor:"#efebe9",inactiveBgColor:"transparent",activeHoverColor:"#efebe9",inactiveHoverColor:"rgba(121, 85, 72, 0.12)",activeFillColor:"#795548",inactiveFillColor:"transparent",activeTooltip:"Unarchive",inactiveTooltip:"Archive"},lock:{isActive:!1,activeColor:"#607d8b",inactiveColor:"#666666",activeBgColor:"#eceff1",inactiveBgColor:"transparent",activeHoverColor:"#eceff1",inactiveHoverColor:"rgba(96, 125, 139, 0.12)",activeFillColor:"#607d8b",inactiveFillColor:"transparent",activeTooltip:"Unlock",inactiveTooltip:"Lock"},download:{isActive:!1,activeColor:"#009688",inactiveColor:"#666666",activeBgColor:"#e0f2f1",inactiveBgColor:"transparent",activeHoverColor:"#e0f2f1",inactiveHoverColor:"rgba(0, 150, 136, 0.12)",activeFillColor:"#009688",inactiveFillColor:"transparent",activeTooltip:"Downloaded",inactiveTooltip:"Download"},visibility:{isActive:!1,activeColor:"#3f51b5",inactiveColor:"#666666",activeBgColor:"#e8eaf6",inactiveBgColor:"transparent",activeHoverColor:"#e8eaf6",inactiveHoverColor:"rgba(63, 81, 181, 0.12)",activeFillColor:"#3f51b5",inactiveFillColor:"transparent",activeTooltip:"Hide",inactiveTooltip:"Show"},clock:{isActive:!1,activeColor:"#673ab7",inactiveColor:"#666666",activeBgColor:"#ede7f6",inactiveBgColor:"transparent",activeHoverColor:"#ede7f6",inactiveHoverColor:"rgba(103, 58, 183, 0.12)",activeFillColor:"#673ab7",inactiveFillColor:"transparent",activeTooltip:"Remove from history",inactiveTooltip:"Add to history"},rate:{isActive:!1,activeColor:"#ffd700",inactiveColor:"#666666",activeBgColor:"#fff8e1",inactiveBgColor:"transparent",activeHoverColor:"#fff8e1",inactiveHoverColor:"rgba(255, 215, 0, 0.12)",activeFillColor:"#ffd700",inactiveFillColor:"transparent",activeTooltip:"Rated",inactiveTooltip:"Rate"},thumbDown:{isActive:!1,activeColor:"#f44336",inactiveColor:"#666666",activeBgColor:"#ffebee",inactiveBgColor:"transparent",activeHoverColor:"#ffebee",inactiveHoverColor:"rgba(244, 67, 54, 0.12)",activeFillColor:"#f44336",inactiveFillColor:"transparent",activeTooltip:"Remove dislike",inactiveTooltip:"Dislike"},flag:{isActive:!1,activeColor:"#ff5722",inactiveColor:"#666666",activeBgColor:"#fbe9e7",inactiveBgColor:"transparent",activeHoverColor:"#fbe9e7",inactiveHoverColor:"rgba(255, 87, 34, 0.12)",activeFillColor:"#ff5722",inactiveFillColor:"transparent",activeTooltip:"Remove flag",inactiveTooltip:"Flag"},close:{isActive:!1,activeColor:"#757575",inactiveColor:"#666666",activeBgColor:"#eeeeee",inactiveBgColor:"transparent",activeHoverColor:"#eeeeee",inactiveHoverColor:"rgba(117, 117, 117, 0.12)",activeFillColor:"#757575",inactiveFillColor:"transparent",activeTooltip:"Closed",inactiveTooltip:"Close"}},M7={favorite:G8,star:u1,bookmark:D8,like:t_,follow:i_,share:X8,notification:O8,pin:n_,archive:B8,lock:J8,download:W8,visibility:F0,clock:Hd,rate:u1,thumbDown:e_,flag:K8,close:Yu},T7=({type:e,onChange:t,initialState:r=!1,className:i,size:s="medium",shape:a="circle",disabled:o=!1})=>{const[l,c]=y.useState(r),u=A7[e],p=M7[e],m=y.useCallback(()=>{c(x=>{const _=!x;return t==null||t(_),_})},[t]),h=y.useMemo(()=>({color:l?u.activeColor:u.inactiveColor,activeColor:u.activeColor,bgColor:l?u.activeBgColor:u.inactiveBgColor,hoverColor:l?u.activeHoverColor:u.inactiveHoverColor,fillColor:l?u.activeFillColor:u.inactiveFillColor,tooltip:{content:l?u.activeTooltip:u.inactiveTooltip}}),[l,u]);return C.jsx(We,{icon:C.jsx(p,{}),active:l,onClick:m,showTooltip:!0,className:i,size:s,shape:a,disabled:o,...h})},Ot=je.memo(T7),p1={auto:{width:"auto",height:"auto"},small:{width:200,height:120},medium:{width:300,height:200},large:{width:400,height:300}},F7="_commonRippleEffect_1hsiu_57",B7="_rippleRect_1hsiu_1",O7="_commonErrorAnimation_1hsiu_83",D7="_shake_1hsiu_1",U7="_commonClickedAnimation_1hsiu_87",H7="_clickedAnimation_1hsiu_1",W7="_commonStarAnimation_1hsiu_91",q7="_starAnimation_1hsiu_1",V7="_popper_1hsiu_95",K7="_visible_1hsiu_110",G7="_tooltip_1hsiu_113",Q7="_menuItem_1hsiu_121",J7="_selectItem_1hsiu_122",Y7="_active_1hsiu_125",X7="_multiline_1hsiu_142",Z7="_tooltipItem_1hsiu_145",eb="_menu_1hsiu_121",tb="_select_1hsiu_122",nb="_fadeIn_1hsiu_1",rb="_disabled_1hsiu_199",ib="_popperArrow_1hsiu_206",sb="_popperArrowInner_1hsiu_214",ab="_primary_1hsiu_260",ob="_secondary_1hsiu_264",lb="_success_1hsiu_268",cb="_warning_1hsiu_272",db="_error_1hsiu_276",ub="_small_1hsiu_342",pb="_medium_1hsiu_346",hb="_large_1hsiu_350",mb="_popperContent_1hsiu_354",fb="_singleline_1hsiu_360",gb="_scrollable_1hsiu_393",xb="_auto_1hsiu_415",vb="_scrollbar_1hsiu_433",jb="_menuContent_1hsiu_484",_b="_selectContent_1hsiu_485",yb="_slideDown_1hsiu_1",jr={commonRippleEffect:F7,rippleRect:B7,commonErrorAnimation:O7,shake:D7,commonClickedAnimation:U7,clickedAnimation:H7,commonStarAnimation:W7,starAnimation:q7,popper:V7,visible:K7,default:"_default_1hsiu_113",tooltip:G7,menuItem:Q7,selectItem:J7,active:Y7,multiline:X7,tooltipItem:Z7,menu:eb,select:tb,fadeIn:nb,disabled:rb,popperArrow:ib,popperArrowInner:sb,primary:ab,secondary:ob,success:lb,warning:cb,error:db,"animation-fade":"_animation-fade_1hsiu_284","animation-scale":"_animation-scale_1hsiu_287",small:ub,medium:pb,large:hb,popperContent:mb,singleline:fb,scrollable:gb,auto:xb,scrollbar:vb,menuContent:jb,selectContent:_b,slideDown:yb},bb={top:(e,t,r)=>({top:e.top-t.height-r.y-8,left:e.left+(e.width-t.width)/2}),topStart:(e,t,r)=>({top:e.top-t.height-r.y,left:e.left}),topEnd:(e,t,r)=>({top:e.top-t.height-r.y,left:e.right-t.width}),bottom:(e,t,r)=>({top:e.bottom+r.y+8,left:e.left+(e.width-t.width)/2}),bottomStart:(e,t,r)=>({top:e.bottom+r.y,left:e.left}),bottomEnd:(e,t,r)=>({top:e.bottom+r.y,left:e.right-t.width}),left:(e,t,r)=>({top:e.top+(e.height-t.height)/2,left:e.left-t.width-r.x-8}),leftStart:(e,t,r)=>({top:e.top,left:e.left-t.width-r.x}),leftEnd:(e,t,r)=>({top:e.bottom-t.height,left:e.left-t.width-r.x}),right:(e,t,r)=>({top:e.top+(e.height-t.height)/2,left:e.right+r.x+8}),rightStart:(e,t,r)=>({top:e.top,left:e.right+r.x}),rightEnd:(e,t,r)=>({top:e.bottom-t.height,left:e.right+r.x})},wb=({placement:e,style:t})=>null,Cb=({anchorEl:e,visible:t,children:r,placement:i="bottom",variant:s="default",type:a="default",size:o="auto",offset:l={x:0,y:8},animation:c={duration:200,easing:"ease"},arrow:u=!1,zIndex:p=1e3,onClickAway:m,className:h="",popperStyle:x={},tabIndex:_=0,ariaLabel:b,multiline:k=!1,trigger:j="click",onVisibleChange:d,scrollable:f=!0,width:v,height:w})=>{const g=y.useRef(null),[N,S]=y.useState({top:0,left:0}),L=y.useMemo(()=>bb[i],[i]);y.useEffect(()=>{if(!t||!m)return;const q=U=>{g.current&&!g.current.contains(U.target)&&e&&!e.contains(U.target)&&m(U)};return document.addEventListener("mousedown",q),()=>document.removeEventListener("mousedown",q)},[t,e,m]);const E=y.useCallback(()=>{!e||!g.current||requestAnimationFrame(()=>{const q=e.getBoundingClientRect(),U=g.current;if(!U)return;const D=U.getBoundingClientRect(),{top:G,left:ee}=L(q,D,l),R=document.documentElement.clientWidth,M=document.documentElement.clientHeight;let T=ee,J=G;T+D.width>R&&(T=R-D.width),T<0&&(T=0),J<0&&(J=0),J+D.height>M&&(J=M-D.height),S({top:J+window.scrollY,left:T+window.scrollX})})},[e,L,l]);y.useEffect(()=>{if(!t||!e)return;E();const q=()=>{document.contains(e)&&E()};return window.addEventListener("resize",E),window.addEventListener("scroll",q,!0),()=>{window.removeEventListener("resize",E),window.removeEventListener("scroll",q,!0)}},[t,e,E]),y.useEffect(()=>{if(!t||f===!1)return;const q=D=>{const G=g.current;if(!G)return;const{scrollTop:ee,scrollHeight:R,clientHeight:M}=G,T=ee===0,J=ee+M>=R;(T&&D.deltaY<0||J&&D.deltaY>0)&&D.preventDefault()},U=g.current;return U&&U.addEventListener("wheel",q,{passive:!1}),()=>{U&&U.removeEventListener("wheel",q)}},[t,f]);const O=y.useMemo(()=>({position:"absolute",top:N.top,left:N.left,zIndex:p,transition:` + `,"aria-label":t,role:"status",tabIndex:0,"aria-disabled":r,onClick:h,style:m,children:[d[i],C.jsx("div",{className:cn.stars})]}),o&&a&&p[a]&&C.jsx("span",{className:cn.label,children:p[a]})]})},Ie=_e.memo(Bb),Tb="_container_y5zsl_1",Ob="_containerHideBorder_y5zsl_5",Fb="_defaultWidth_y5zsl_16",Db="_fullWidth_y5zsl_20",Ub="_textField_y5zsl_24",Hb="_focused_y5zsl_32",Wb="_label_y5zsl_36",qb="_filled_y5zsl_39",Vb="_minimal_y5zsl_42",Kb="_error_y5zsl_47",Gb="_shake_y5zsl_54",Qb="_readonly_y5zsl_57",Jb="_input_y5zsl_62",Yb="_suffix_y5zsl_70",Xb="_disabled_y5zsl_77",Zb="_small_y5zsl_98",e9="_shrink_y5zsl_102",t9="_medium_y5zsl_107",n9="_large_y5zsl_116",r9="_inputWrapper_y5zsl_150",i9="_hideBorder_y5zsl_167",s9="_iconLeft_y5zsl_184",a9="_iconRight_y5zsl_192",o9="_togglePasswordIcon_y5zsl_199",l9="_clearIcon_y5zsl_203",c9="_errorIcon_y5zsl_215",d9="_errorMessage_y5zsl_220",u9="_charCount_y5zsl_228",Qe={container:Tb,containerHideBorder:Ob,defaultWidth:Fb,fullWidth:Db,textField:Ub,focused:Hb,label:Wb,filled:qb,minimal:Vb,error:Kb,shake:Gb,readonly:Qb,input:Jb,suffix:Yb,disabled:Xb,small:Zb,shrink:e9,medium:t9,large:n9,inputWrapper:r9,hideBorder:i9,iconLeft:s9,iconRight:a9,togglePasswordIcon:o9,clearIcon:l9,errorIcon:c9,errorMessage:d9,charCount:u9},Og=y.forwardRef(({label:e,placeholder:t,value:r,onChange:i,helperText:s,icon:a,iconPosition:o="left",borderColor:l,hideBorder:c=!1,minimal:d=!1,borderRadius:p="0.25rem",name:h,type:m="text",showCharCount:g=!1,clearable:j=!1,fullWidth:b=!1,width:k="300px",disabled:_=!1,ariaLabel:u,readOnly:f=!1,size:v="medium",suffix:w,onBlur:x,onFocus:N,onKeyDown:S,className:E},L)=>{var F;const J=y.useRef(null),[q,U]=y.useState(!1),[D,G]=y.useState(!!r),[ee,A]=y.useState(!1),[M,B]=y.useState(!1),[Y,X]=y.useState(r||"");y.useEffect(()=>{r!==void 0&&X(r)},[r]),y.useEffect(()=>{G(!!(r||Y))},[r,Y]);const Pe=y.useCallback(be=>{S==null||S(be)},[S]),K=y.useCallback(be=>{U(!0),N==null||N(be)},[N]),ue=y.useCallback(be=>{U(!1),x==null||x(be)},[x]),ze=y.useCallback(be=>{const Ze=be.target.value;i?i(Ze):X(Ze)},[i]),Ke=y.useCallback(()=>{i?i(""):X("")},[i]),Bt=y.useCallback(()=>{A(!ee)},[ee]);y.useEffect(()=>{var be;s&&(B(!0),setTimeout(()=>B(!1),500),(be=J.current)==null||be.focus())},[s]);const wt=`${Qe.textField} ${q?Qe.focused:""} ${D?Qe.filled:""} ${d?Qe.minimal:""} ${s?Qe.error:""} ${c?Qe.containerHideBorder:""} ${M?Qe.shake:""} ${_?Qe.disabled:""} ${f?Qe.readonly:""} ${Qe[v]}`,Tt=`${Qe.input} ${c?Qe.hideBorder:""}`,Rt=`${Qe.label} ${q||D?Qe.shrink:""}`,Ue=`${Qe.container} ${c?Qe.containerHideBorder:""} ${E||""}`,re={width:b?"100%":k,borderRadius:p,borderColor:l};return C.jsxs("div",{className:Ue,style:re,children:[C.jsxs("div",{className:wt,style:{borderColor:l,borderRadius:p},children:[e&&!t&&!f&&C.jsx("label",{className:Rt,onClick:()=>{var be;return(be=J==null?void 0:J.current)==null?void 0:be.focus()},style:{left:a&&o==="left"?"2.5rem":"0.75rem"},children:e}),C.jsxs("div",{className:Qe.inputWrapper,style:{borderRadius:p},children:[a&&o==="left"&&C.jsx("span",{className:Qe.iconLeft,children:a}),C.jsx("input",{ref:L||J,id:h,type:m==="password"&&!ee?"password":"text",name:h,className:Tt,placeholder:q||D?"":t,value:r!==void 0?r:Y,onChange:ze,onFocus:K,onBlur:ue,onKeyDown:Pe,tabIndex:0,disabled:_,readOnly:f,"aria-label":u,style:{paddingLeft:a&&o==="left"?"2rem":"",paddingRight:(a&&o==="right"?"2rem":"")+(!w&&j?"2rem":"")}}),a&&o==="right"&&C.jsx(C.Fragment,{children:m!=="password"?C.jsx("span",{className:Qe.iconRight,children:a}):C.jsx("span",{className:`${Qe.iconRight} ${Qe.togglePasswordIcon}`,onClick:Bt,children:ee?C.jsx(gy,{}):C.jsx(Bg,{})})}),j&&(r||Y)&&!f&&!_&&!w&&C.jsx("span",{className:Qe.clearIcon,onClick:Ke,children:C.jsx(Ny,{})}),w&&C.jsx("span",{className:Qe.suffix,children:w}),s&&C.jsx("span",{className:Qe.errorIcon,children:C.jsx(Z1,{})})]}),g&&C.jsx("div",{className:Qe.charCount,children:(F=r!==void 0?r:Y)==null?void 0:F.length})]}),s&&C.jsxs("div",{className:Qe.errorMessage,children:[C.jsx(Z1,{className:Qe.errorIcon}),s]})]})});Og.displayName="TextField";const Me=_e.memo(Og),p9="_progressIndicator_17t9k_1",h9="_icon_17t9k_7",m9="_small_17t9k_10",f9="_medium_17t9k_13",g9="_large_17t9k_16",x9="_defaultWidth_17t9k_19",v9="_fullWidth_17t9k_22",j9="_spinner_17t9k_26",_9="_circle_17t9k_27",y9="_spin_17t9k_26",b9="_barContainer_17t9k_39",w9="_dottedBarContainer_17t9k_40",C9="_bar_17t9k_39",k9="_barAnimation_17t9k_1",S9="_dottedBar_17t9k_40",N9="_dottedBarAnimation_17t9k_1",$9="_waveContainer_17t9k_71",z9="_wave_17t9k_71",E9="_waveAnimation_17t9k_1",Ft={progressIndicator:p9,icon:h9,small:m9,medium:f9,large:g9,defaultWidth:x9,fullWidth:v9,spinner:j9,circle:_9,spin:y9,barContainer:b9,dottedBarContainer:w9,bar:C9,barAnimation:k9,dottedBar:S9,dottedBarAnimation:N9,waveContainer:$9,wave:z9,waveAnimation:E9},L9=({type:e="spinner",size:t="medium",icon:r,ariaLabel:i,className:s="",width:a,full:o=!1})=>{const l={spinner:C.jsx(wy,{className:`${Ft.spinner} ${Ft[t]}`}),bar:C.jsx("div",{className:`${Ft.barContainer} ${Ft[t]}`,children:C.jsx("div",{className:Ft.bar})}),wave:C.jsx("div",{className:`${Ft.waveContainer} ${Ft[t]}`,children:C.jsx(zy,{className:Ft.wave})}),circle:C.jsx(hy,{className:`${Ft.circle} ${Ft[t]}`}),dottedBar:C.jsx("div",{className:`${Ft.dottedBarContainer} ${Ft[t]}`,children:C.jsx("div",{className:Ft.dottedBar})})},c=o?Ft.fullWidth:a?"":Ft.defaultWidth;return C.jsxs("div",{className:`${Ft.progressIndicator} ${s} ${c}`,"aria-label":i,role:"progressbar",tabIndex:0,style:{width:a&&!o?a:void 0},children:[r&&C.jsx("span",{className:Ft.icon,children:r}),l[e]||null]})},Rn=_e.memo(L9),R9="_commonRippleEffect_e343o_57",A9="_checkbox_e343o_57",I9="_rippleRect_e343o_1",P9="_commonErrorAnimation_e343o_83",M9="_checkboxWrapper_e343o_83",B9="_error_e343o_83",T9="_shake_e343o_1",O9="_commonClickedAnimation_e343o_87",F9="_clickedAnimation_e343o_1",D9="_commonStarAnimation_e343o_91",U9="_starAnimation_e343o_1",H9="_disabled_e343o_108",W9="_checkmark_e343o_112",q9="_labelStart_e343o_116",V9="_labelTop_e343o_119",K9="_labelBottom_e343o_123",G9="_input_e343o_131",Q9="_square_e343o_181",J9="_circle_e343o_185",Y9="_rounded_e343o_189",X9="_small_e343o_193",Z9="_label_e343o_116",e7="_large_e343o_207",t7="_helperTextWrapper_e343o_226",n7="_errorIcon_e343o_232",r7="_helperText_e343o_226",i7="_errorText_e343o_244",s7="_slideDown_e343o_1",a7="_fadeIn_e343o_1",nn={commonRippleEffect:R9,checkbox:A9,rippleRect:I9,commonErrorAnimation:P9,checkboxWrapper:M9,error:B9,shake:T9,commonClickedAnimation:O9,clickedAnimation:F9,commonStarAnimation:D9,starAnimation:U9,disabled:H9,checkmark:W9,labelStart:q9,labelTop:V9,labelBottom:K9,input:G9,square:Q9,circle:J9,rounded:Y9,small:X9,label:Z9,large:e7,helperTextWrapper:t7,errorIcon:n7,helperText:r7,errorText:i7,slideDown:s7,fadeIn:a7},Fg=y.forwardRef(({checked:e,defaultChecked:t,disabled:r=!1,indeterminate:i=!1,name:s,onChange:a,shape:o="square",size:l="medium",label:c,className:d="",checkmarkColor:p,boxColor:h,boxBorderColor:m,icon:g,required:j=!1,error:b=!1,errorIcon:k=C.jsx(Tg,{}),helperText:_,labelPlacement:u="end"},f)=>{const v=y.useRef(null);_e.useImperativeHandle(f,()=>v.current,[]),y.useEffect(()=>{v.current&&(v.current.indeterminate=i)},[i]);const w=S=>{a==null||a(S.target.checked,S)},x={...h&&{backgroundColor:h},...m&&{borderColor:m},...p&&{"--checkmark-color":p}},N=` + ${nn.checkbox} + ${nn[l]} + ${nn[o]} + ${nn[`label${u.charAt(0).toUpperCase()}${u.slice(1)}`]} + ${r?nn.disabled:""} + ${b?nn.error:""} + ${d} + `;return C.jsxs("div",{className:`${nn.checkboxWrapper} ${b?nn.error:""}`,children:[C.jsxs("label",{className:N,children:[C.jsx("input",{ref:v,type:"checkbox",className:nn.input,checked:e,defaultChecked:t,disabled:r,name:s,onChange:w,required:j}),C.jsx("span",{className:nn.checkmark,style:x,children:g&&e&&!i&&g}),c&&C.jsx("span",{className:nn.label,children:c})]}),_&&C.jsxs("div",{className:nn.helperTextWrapper,children:[b&&C.jsx("span",{className:nn.errorIcon,children:k}),C.jsx("span",{className:`${nn.helperText} ${b?nn.errorText:""}`,children:_})]})]})});Fg.displayName="Checkbox";const Be=_e.memo(Fg),o7="_commonRippleEffect_1d9q1_57",l7="_tooltip_1d9q1_57",c7="_rippleRect_1d9q1_1",d7="_commonErrorAnimation_1d9q1_83",u7="_shake_1d9q1_1",p7="_commonClickedAnimation_1d9q1_87",h7="_clickedAnimation_1d9q1_1",m7="_commonStarAnimation_1d9q1_91",f7="_starAnimation_1d9q1_1",g7="_tooltipTrigger_1d9q1_95",x7="_show_1d9q1_117",v7="_dark_1d9q1_130",j7="_light_1d9q1_134",_7="_info_1d9q1_139",y7="_success_1d9q1_143",b7="_warning_1d9q1_147",w7="_error_1d9q1_151",C7="_rounded_1d9q1_158",k7="_thought_1d9q1_162",S7="_square_1d9q1_185",N7="_followCursor_1d9q1_188",$7="_arrow_1d9q1_191",z7="_tooltipArrow_1d9q1_194",E7="_slideDown_1d9q1_1",L7="_fadeIn_1d9q1_1",_r={commonRippleEffect:o7,tooltip:l7,rippleRect:c7,commonErrorAnimation:d7,shake:u7,commonClickedAnimation:p7,clickedAnimation:h7,commonStarAnimation:m7,starAnimation:f7,tooltipTrigger:g7,show:x7,"animation-fade":"_animation-fade_1d9q1_120","animation-scale":"_animation-scale_1d9q1_123",dark:v7,light:j7,info:_7,success:y7,warning:b7,error:w7,default:"_default_1d9q1_155",rounded:C7,thought:k7,square:S7,followCursor:N7,arrow:$7,tooltipArrow:z7,slideDown:E7,fadeIn:L7},R7={top:(e,t,r)=>({top:e.top-t.height-r[1],left:e.left+(e.width-t.width)/2}),"top-start":(e,t,r)=>({top:e.top-t.height-r[1],left:e.left}),"top-end":(e,t,r)=>({top:e.top-t.height-r[1],left:e.right-t.width}),bottom:(e,t,r)=>({top:e.bottom+r[1],left:e.left+(e.width-t.width)/2}),"bottom-start":(e,t,r)=>({top:e.bottom+r[1],left:e.left}),"bottom-end":(e,t,r)=>({top:e.bottom+r[1],left:e.right-t.width}),left:(e,t,r)=>({top:e.top+(e.height-t.height)/2,left:e.left-t.width-r[0]}),"left-start":(e,t,r)=>({top:e.top,left:e.left-t.width-r[0]}),"left-end":(e,t,r)=>({top:e.bottom-t.height,left:e.left-t.width-r[0]}),right:(e,t,r)=>({top:e.top+(e.height-t.height)/2,left:e.right+r[0]}),"right-start":(e,t,r)=>({top:e.top,left:e.right+r[0]}),"right-end":(e,t,r)=>({top:e.bottom-t.height,left:e.right+r[0]})},Dg=y.forwardRef(({content:e,children:t,open:r,defaultOpen:i=!1,placement:s="top",variant:a="dark",shape:o="default",animation:l="fade",enterDelay:c=200,leaveDelay:d=0,offset:p=[0,8],disabled:h=!1,followCursor:m=!1,className:g="",zIndex:j=1500,bgColor:b,textColor:k,arrow:_=!1,onOpen:u,onClose:f,ariaLabel:v},w)=>{const[x,N]=y.useState(i),[S,E]=y.useState({top:0,left:0}),[L,F]=y.useState({x:0,y:0}),J=y.useRef(null),q=y.useRef(null),U=y.useRef(),D=y.useRef(),G=r??x;y.useImperativeHandle(w,()=>({open:()=>N(!0),close:()=>N(!1),toggle:()=>N(X=>!X)}));const ee=y.useCallback(()=>{if(!J.current||!q.current)return;if(m){E({top:L.y-q.current.offsetHeight-p[1],left:L.x-q.current.offsetWidth/2});return}const X=J.current.getBoundingClientRect(),Pe=q.current.getBoundingClientRect(),K=R7[s];E(K(X,Pe,p))},[s,p,m,L.x,L.y]);y.useEffect(()=>{if(!G||!q.current)return;const X=requestAnimationFrame(()=>{var Pe;ee(),(Pe=q.current)==null||Pe.classList.add(_r.show)});return()=>{cancelAnimationFrame(X)}},[G,ee]),y.useEffect(()=>{if(!G)return;const X=()=>{requestAnimationFrame(ee)};return window.addEventListener("resize",X),()=>{window.removeEventListener("resize",X)}},[G,ee]);const A=()=>{h||(clearTimeout(D.current),U.current=setTimeout(()=>{N(!0),u==null||u()},c))},M=()=>{h||(clearTimeout(U.current),D.current=setTimeout(()=>{N(!1),f==null||f()},d))},B=y.useCallback(X=>{m&&(F({x:X.clientX,y:X.clientY}),requestAnimationFrame(ee))},[m,ee]);y.useEffect(()=>{if(m)return document.addEventListener("mousemove",B),()=>document.removeEventListener("mousemove",B)},[m,B]);const Y=X=>{h||((X.key==="Enter"||X.key===" ")&&(X.preventDefault(),N(!0),u==null||u()),X.key==="Escape"&&G&&(N(!1),f==null||f()))};return C.jsxs(C.Fragment,{children:[C.jsx("div",{ref:J,className:`${_r.tooltipTrigger} ${g}`,onMouseEnter:A,onMouseLeave:M,onKeyDown:Y,tabIndex:0,role:"button","aria-label":v,"aria-describedby":G?"tooltip":void 0,children:t}),G&&oo.createPortal(C.jsxs("div",{ref:q,id:"tooltip",role:"tooltip","aria-label":v,className:` + ${_r.tooltip} + ${_r[a]} + ${_r[o]} + ${_r[`animation-${l}`]} + ${m?_r.followCursor:""} + ${_?_r.arrow:""} + `,style:{...S,...b!=null&&b.includes("gradient")?{background:b}:{backgroundColor:b},color:k,zIndex:j},children:[e,_&&C.jsx("div",{className:_r.tooltipArrow,style:{...b!=null&&b.includes("gradient")?{background:b}:{backgroundColor:b}}})]}),document.body)]})});Dg.displayName="Tooltip";const je=_e.memo(Dg),A7="_commonRippleEffect_458vq_57",I7="_iconButton_458vq_57",P7="_rippleRect_458vq_1",M7="_commonErrorAnimation_458vq_83",B7="_shake_458vq_1",T7="_commonClickedAnimation_458vq_87",O7="_clickedAnimation_458vq_1",F7="_commonStarAnimation_458vq_91",D7="_starAnimation_458vq_1",U7="_small_458vq_107",H7="_medium_458vq_112",W7="_large_458vq_117",q7="_circle_458vq_122",V7="_square_458vq_125",K7="_disabled_458vq_131",G7="_loading_458vq_131",Q7="_active_458vq_134",J7="_primary_458vq_138",Y7="_secondary_458vq_148",X7="_success_458vq_158",Z7="_error_458vq_168",ew="_warning_458vq_178",tw="_ripple_458vq_200",nw="_slideDown_458vq_1",rw="_fadeIn_458vq_1",ji={commonRippleEffect:A7,iconButton:I7,rippleRect:P7,commonErrorAnimation:M7,shake:B7,commonClickedAnimation:T7,clickedAnimation:O7,commonStarAnimation:F7,starAnimation:D7,small:U7,medium:H7,large:W7,circle:q7,square:V7,default:"_default_458vq_128",disabled:K7,loading:G7,active:Q7,primary:J7,secondary:Y7,success:X7,error:Z7,warning:ew,ripple:tw,slideDown:nw,fadeIn:rw},iw=({icon:e,variant:t="default",size:r="medium",shape:i="circle",disabled:s=!1,loading:a=!1,active:o=!1,className:l="",tooltip:c,showTooltip:d=!1,color:p,activeColor:h,bgColor:m,hoverColor:g,fillColor:j,onClick:b,tabIndex:k=0,ariaLabel:_,...u})=>{const f=y.useRef(null),v=y.useMemo(()=>({color:p,backgroundColor:m,"--active-color":h,"--hover-color":g,"--fill-color":j}),[p,m,h,g,j]),w=y.useMemo(()=>`${ji.iconButton} ${ji[t]} ${ji[r]} ${ji[i]} ${s?ji.disabled:""} ${a?ji.loading:""} ${o?ji.active:""} ${l}`,[t,r,i,s,a,o,l]),x=C.jsx("button",{ref:f,className:w,disabled:s||a,onClick:b,tabIndex:s?-1:k,"aria-label":_||"icon button","aria-disabled":s||a,role:"button",style:v,...u,children:a?C.jsx(Rn,{size:r,type:"spinner",ariaLabel:"Loading"}):e});if(!d||!c)return x;const N=y.useMemo(()=>({...c,disabled:s||a}),[c,s,a]);return C.jsx(je,{...N,children:x})},We=_e.memo(iw),sw={favorite:{isActive:!1,activeColor:"#e91e63",inactiveColor:"#666666",activeBgColor:"#fce4ec",inactiveBgColor:"transparent",activeHoverColor:"#fce4ec",inactiveHoverColor:"rgba(233, 30, 99, 0.12)",activeFillColor:"#e91e63",inactiveFillColor:"transparent",activeTooltip:"Remove from favorites",inactiveTooltip:"Add to favorites"},bookmark:{isActive:!1,activeColor:"#ffc107",inactiveColor:"#666666",activeBgColor:"#fff8e1",inactiveBgColor:"transparent",activeHoverColor:"#fff8e1",inactiveHoverColor:"rgba(255, 193, 7, 0.12)",activeFillColor:"#ffc107",inactiveFillColor:"transparent",activeTooltip:"Remove bookmark",inactiveTooltip:"Add bookmark"},star:{isActive:!1,activeColor:"#ff9800",inactiveColor:"#666666",activeBgColor:"#fff3e0",inactiveBgColor:"transparent",activeHoverColor:"#fff3e0",inactiveHoverColor:"rgba(255, 152, 0, 0.12)",activeFillColor:"#ff9800",inactiveFillColor:"transparent",activeTooltip:"Remove star",inactiveTooltip:"Add star"},like:{isActive:!1,activeColor:"#e91e63",inactiveColor:"#666666",activeBgColor:"#fce4ec",inactiveBgColor:"transparent",activeHoverColor:"#fce4ec",inactiveHoverColor:"rgba(233, 30, 99, 0.12)",activeFillColor:"#e91e63",inactiveFillColor:"transparent",activeTooltip:"Unlike",inactiveTooltip:"Like"},follow:{isActive:!1,activeColor:"#2196f3",inactiveColor:"#666666",activeBgColor:"#e3f2fd",inactiveBgColor:"transparent",activeHoverColor:"#e3f2fd",inactiveHoverColor:"rgba(33, 150, 243, 0.12)",activeFillColor:"#2196f3",inactiveFillColor:"transparent",activeTooltip:"Unfollow",inactiveTooltip:"Follow"},share:{isActive:!1,activeColor:"#4caf50",inactiveColor:"#666666",activeBgColor:"#e8f5e9",inactiveBgColor:"transparent",activeHoverColor:"#e8f5e9",inactiveHoverColor:"rgba(76, 175, 80, 0.12)",activeFillColor:"#4caf50",inactiveFillColor:"transparent",activeTooltip:"Shared",inactiveTooltip:"Share"},notification:{isActive:!1,activeColor:"#9c27b0",inactiveColor:"#666666",activeBgColor:"#f3e5f5",inactiveBgColor:"transparent",activeHoverColor:"#f3e5f5",inactiveHoverColor:"rgba(156, 39, 176, 0.12)",activeFillColor:"#9c27b0",inactiveFillColor:"transparent",activeTooltip:"Notifications on",inactiveTooltip:"Turn on notifications"},pin:{isActive:!1,activeColor:"#f44336",inactiveColor:"#666666",activeBgColor:"#ffebee",inactiveBgColor:"transparent",activeHoverColor:"#ffebee",inactiveHoverColor:"rgba(244, 67, 54, 0.12)",activeFillColor:"#f44336",inactiveFillColor:"transparent",activeTooltip:"Unpin",inactiveTooltip:"Pin"},archive:{isActive:!1,activeColor:"#795548",inactiveColor:"#666666",activeBgColor:"#efebe9",inactiveBgColor:"transparent",activeHoverColor:"#efebe9",inactiveHoverColor:"rgba(121, 85, 72, 0.12)",activeFillColor:"#795548",inactiveFillColor:"transparent",activeTooltip:"Unarchive",inactiveTooltip:"Archive"},lock:{isActive:!1,activeColor:"#607d8b",inactiveColor:"#666666",activeBgColor:"#eceff1",inactiveBgColor:"transparent",activeHoverColor:"#eceff1",inactiveHoverColor:"rgba(96, 125, 139, 0.12)",activeFillColor:"#607d8b",inactiveFillColor:"transparent",activeTooltip:"Unlock",inactiveTooltip:"Lock"},download:{isActive:!1,activeColor:"#009688",inactiveColor:"#666666",activeBgColor:"#e0f2f1",inactiveBgColor:"transparent",activeHoverColor:"#e0f2f1",inactiveHoverColor:"rgba(0, 150, 136, 0.12)",activeFillColor:"#009688",inactiveFillColor:"transparent",activeTooltip:"Downloaded",inactiveTooltip:"Download"},visibility:{isActive:!1,activeColor:"#3f51b5",inactiveColor:"#666666",activeBgColor:"#e8eaf6",inactiveBgColor:"transparent",activeHoverColor:"#e8eaf6",inactiveHoverColor:"rgba(63, 81, 181, 0.12)",activeFillColor:"#3f51b5",inactiveFillColor:"transparent",activeTooltip:"Hide",inactiveTooltip:"Show"},clock:{isActive:!1,activeColor:"#673ab7",inactiveColor:"#666666",activeBgColor:"#ede7f6",inactiveBgColor:"transparent",activeHoverColor:"#ede7f6",inactiveHoverColor:"rgba(103, 58, 183, 0.12)",activeFillColor:"#673ab7",inactiveFillColor:"transparent",activeTooltip:"Remove from history",inactiveTooltip:"Add to history"},rate:{isActive:!1,activeColor:"#ffd700",inactiveColor:"#666666",activeBgColor:"#fff8e1",inactiveBgColor:"transparent",activeHoverColor:"#fff8e1",inactiveHoverColor:"rgba(255, 215, 0, 0.12)",activeFillColor:"#ffd700",inactiveFillColor:"transparent",activeTooltip:"Rated",inactiveTooltip:"Rate"},thumbDown:{isActive:!1,activeColor:"#f44336",inactiveColor:"#666666",activeBgColor:"#ffebee",inactiveBgColor:"transparent",activeHoverColor:"#ffebee",inactiveHoverColor:"rgba(244, 67, 54, 0.12)",activeFillColor:"#f44336",inactiveFillColor:"transparent",activeTooltip:"Remove dislike",inactiveTooltip:"Dislike"},flag:{isActive:!1,activeColor:"#ff5722",inactiveColor:"#666666",activeBgColor:"#fbe9e7",inactiveBgColor:"transparent",activeHoverColor:"#fbe9e7",inactiveHoverColor:"rgba(255, 87, 34, 0.12)",activeFillColor:"#ff5722",inactiveFillColor:"transparent",activeTooltip:"Remove flag",inactiveTooltip:"Flag"},close:{isActive:!1,activeColor:"#757575",inactiveColor:"#666666",activeBgColor:"#eeeeee",inactiveBgColor:"transparent",activeHoverColor:"#eeeeee",inactiveHoverColor:"rgba(117, 117, 117, 0.12)",activeFillColor:"#757575",inactiveFillColor:"transparent",activeTooltip:"Closed",inactiveTooltip:"Close"}},aw={favorite:vy,star:em,bookmark:uy,like:ky,follow:$y,share:by,notification:dy,pin:Sy,archive:cy,lock:_y,download:my,visibility:Bg,clock:vu,rate:em,thumbDown:Cy,flag:xy,close:Ep},ow=({type:e,onChange:t,initialState:r=!1,className:i,size:s="medium",shape:a="circle",disabled:o=!1})=>{const[l,c]=y.useState(r),d=sw[e],p=aw[e],h=y.useCallback(()=>{c(g=>{const j=!g;return t==null||t(j),j})},[t]),m=y.useMemo(()=>({color:l?d.activeColor:d.inactiveColor,activeColor:d.activeColor,bgColor:l?d.activeBgColor:d.inactiveBgColor,hoverColor:l?d.activeHoverColor:d.inactiveHoverColor,fillColor:l?d.activeFillColor:d.inactiveFillColor,tooltip:{content:l?d.activeTooltip:d.inactiveTooltip}}),[l,d]);return C.jsx(We,{icon:C.jsx(p,{}),active:l,onClick:h,showTooltip:!0,className:i,size:s,shape:a,disabled:o,...m})},Dt=_e.memo(ow),tm={auto:{width:"auto",height:"auto"},small:{width:200,height:120},medium:{width:300,height:200},large:{width:400,height:300}},lw="_commonRippleEffect_1hsiu_57",cw="_rippleRect_1hsiu_1",dw="_commonErrorAnimation_1hsiu_83",uw="_shake_1hsiu_1",pw="_commonClickedAnimation_1hsiu_87",hw="_clickedAnimation_1hsiu_1",mw="_commonStarAnimation_1hsiu_91",fw="_starAnimation_1hsiu_1",gw="_popper_1hsiu_95",xw="_visible_1hsiu_110",vw="_tooltip_1hsiu_113",jw="_menuItem_1hsiu_121",_w="_selectItem_1hsiu_122",yw="_active_1hsiu_125",bw="_multiline_1hsiu_142",ww="_tooltipItem_1hsiu_145",Cw="_menu_1hsiu_121",kw="_select_1hsiu_122",Sw="_fadeIn_1hsiu_1",Nw="_disabled_1hsiu_199",$w="_popperArrow_1hsiu_206",zw="_popperArrowInner_1hsiu_214",Ew="_primary_1hsiu_260",Lw="_secondary_1hsiu_264",Rw="_success_1hsiu_268",Aw="_warning_1hsiu_272",Iw="_error_1hsiu_276",Pw="_small_1hsiu_342",Mw="_medium_1hsiu_346",Bw="_large_1hsiu_350",Tw="_popperContent_1hsiu_354",Ow="_singleline_1hsiu_360",Fw="_scrollable_1hsiu_393",Dw="_auto_1hsiu_415",Uw="_scrollbar_1hsiu_433",Hw="_menuContent_1hsiu_484",Ww="_selectContent_1hsiu_485",qw="_slideDown_1hsiu_1",yr={commonRippleEffect:lw,rippleRect:cw,commonErrorAnimation:dw,shake:uw,commonClickedAnimation:pw,clickedAnimation:hw,commonStarAnimation:mw,starAnimation:fw,popper:gw,visible:xw,default:"_default_1hsiu_113",tooltip:vw,menuItem:jw,selectItem:_w,active:yw,multiline:bw,tooltipItem:ww,menu:Cw,select:kw,fadeIn:Sw,disabled:Nw,popperArrow:$w,popperArrowInner:zw,primary:Ew,secondary:Lw,success:Rw,warning:Aw,error:Iw,"animation-fade":"_animation-fade_1hsiu_284","animation-scale":"_animation-scale_1hsiu_287",small:Pw,medium:Mw,large:Bw,popperContent:Tw,singleline:Ow,scrollable:Fw,auto:Dw,scrollbar:Uw,menuContent:Hw,selectContent:Ww,slideDown:qw},Vw={top:(e,t,r)=>({top:e.top-t.height-r.y-8,left:e.left+(e.width-t.width)/2}),topStart:(e,t,r)=>({top:e.top-t.height-r.y,left:e.left}),topEnd:(e,t,r)=>({top:e.top-t.height-r.y,left:e.right-t.width}),bottom:(e,t,r)=>({top:e.bottom+r.y+8,left:e.left+(e.width-t.width)/2}),bottomStart:(e,t,r)=>({top:e.bottom+r.y,left:e.left}),bottomEnd:(e,t,r)=>({top:e.bottom+r.y,left:e.right-t.width}),left:(e,t,r)=>({top:e.top+(e.height-t.height)/2,left:e.left-t.width-r.x-8}),leftStart:(e,t,r)=>({top:e.top,left:e.left-t.width-r.x}),leftEnd:(e,t,r)=>({top:e.bottom-t.height,left:e.left-t.width-r.x}),right:(e,t,r)=>({top:e.top+(e.height-t.height)/2,left:e.right+r.x+8}),rightStart:(e,t,r)=>({top:e.top,left:e.right+r.x}),rightEnd:(e,t,r)=>({top:e.bottom-t.height,left:e.right+r.x})},Kw=({placement:e,style:t})=>null,Gw=({anchorEl:e,visible:t,children:r,placement:i="bottom",variant:s="default",type:a="default",size:o="auto",offset:l={x:0,y:8},animation:c={duration:200,easing:"ease"},arrow:d=!1,zIndex:p=1e3,onClickAway:h,className:m="",popperStyle:g={},tabIndex:j=0,ariaLabel:b,multiline:k=!1,trigger:_="click",onVisibleChange:u,scrollable:f=!0,width:v,height:w})=>{const x=y.useRef(null),[N,S]=y.useState({top:0,left:0}),E=y.useMemo(()=>Vw[i],[i]);y.useEffect(()=>{if(!t||!h)return;const q=U=>{x.current&&!x.current.contains(U.target)&&e&&!e.contains(U.target)&&h(U)};return document.addEventListener("mousedown",q),()=>document.removeEventListener("mousedown",q)},[t,e,h]);const L=y.useCallback(()=>{!e||!x.current||requestAnimationFrame(()=>{const q=e.getBoundingClientRect(),U=x.current;if(!U)return;const D=U.getBoundingClientRect(),{top:G,left:ee}=E(q,D,l),A=document.documentElement.clientWidth,M=document.documentElement.clientHeight;let B=ee,Y=G;B+D.width>A&&(B=A-D.width),B<0&&(B=0),Y<0&&(Y=0),Y+D.height>M&&(Y=M-D.height),S({top:Y+window.scrollY,left:B+window.scrollX})})},[e,E,l]);y.useEffect(()=>{if(!t||!e)return;L();const q=()=>{document.contains(e)&&L()};return window.addEventListener("resize",L),window.addEventListener("scroll",q,!0),()=>{window.removeEventListener("resize",L),window.removeEventListener("scroll",q,!0)}},[t,e,L]),y.useEffect(()=>{if(!t||f===!1)return;const q=D=>{const G=x.current;if(!G)return;const{scrollTop:ee,scrollHeight:A,clientHeight:M}=G,B=ee===0,Y=ee+M>=A;(B&&D.deltaY<0||Y&&D.deltaY>0)&&D.preventDefault()},U=x.current;return U&&U.addEventListener("wheel",q,{passive:!1}),()=>{U&&U.removeEventListener("wheel",q)}},[t,f]);const F=y.useMemo(()=>({position:"absolute",top:N.top,left:N.left,zIndex:p,transition:` opacity ${c.duration}ms ${c.easing}, visibility ${c.duration}ms ${c.easing}, transform ${c.duration}ms ${c.easing} - `,...k?{overflowY:f?"auto":"visible",overflowX:"hidden"}:{overflowY:"hidden",overflowX:f?"auto":"hidden"},...o==="auto"?{width:v||"auto",height:w||"auto",overflowX:f?"auto":"hidden",overflowY:f?"auto":"visible"}:{width:v||p1[o].width,height:w||p1[o].height},...x}),[N.top,N.left,p,c.duration,c.easing,x,v,w,o,f,k]),Q=y.useMemo(()=>({backgroundColor:(x==null?void 0:x.backgroundColor)||"",borderColor:(x==null?void 0:x.borderColor)||""}),[x.backgroundColor,x.borderColor]);return y.useEffect(()=>{if(!e)return;const q=()=>{j!=="manual"&&(d==null||d(!t))},U=()=>{j==="hover"&&(d==null||d(!0))},D=()=>{j==="hover"&&(d==null||d(!1))},G=()=>{j==="focus"&&(d==null||d(!0))},ee=()=>{j==="focus"&&(d==null||d(!1))},R=M=>{j==="contextMenu"&&(M.preventDefault(),d==null||d(!0))};return j==="click"?e.addEventListener("click",q):j==="hover"?(e.addEventListener("mouseenter",U),e.addEventListener("mouseleave",D)):j==="focus"?(e.addEventListener("focus",G),e.addEventListener("blur",ee)):j==="contextMenu"&&e.addEventListener("contextmenu",R),()=>{e.removeEventListener("click",q),e.removeEventListener("mouseenter",U),e.removeEventListener("mouseleave",D),e.removeEventListener("focus",G),e.removeEventListener("blur",ee),e.removeEventListener("contextmenu",R)}},[e,j,t,d]),t?Ua.createPortal(C.jsxs("div",{ref:g,className:` - ${jr.popper} - ${jr[s]} - ${jr[a]} - ${jr[o]} - ${k?jr.multiline:jr.singleline} - ${t?jr.visible:""} - ${f?jr.scrollable:""} - ${h} - `,style:O,role:a==="menu"?"menu":"dialog",tabIndex:_,"aria-hidden":!t,"aria-label":b,children:[C.jsx("div",{className:jr.popperContent,children:r}),u&&C.jsx(wb,{placement:i,style:Q})]}),document.body):null},at=je.memo(Cb),kb="_commonRippleEffect_16lmm_57",Sb="_rippleRect_16lmm_1",Nb="_commonErrorAnimation_16lmm_83",zb="_shake_16lmm_1",$b="_commonClickedAnimation_16lmm_87",Lb="_clickedAnimation_16lmm_1",Eb="_commonStarAnimation_16lmm_91",Ib="_starAnimation_16lmm_1",Rb="_timePickerPanel_16lmm_95",Pb="_timeColumns_16lmm_102",Ab="_timeColumn_16lmm_102",Mb="_timeUnit_16lmm_122",Tb="_disabled_16lmm_131",Fb="_selected_16lmm_134",Bb="_slideDown_16lmm_1",Ob="_fadeIn_16lmm_1",Nt={commonRippleEffect:kb,rippleRect:Sb,commonErrorAnimation:Nb,shake:zb,commonClickedAnimation:$b,clickedAnimation:Lb,commonStarAnimation:Eb,starAnimation:Ib,timePickerPanel:Rb,timeColumns:Pb,timeColumn:Ab,timeUnit:Mb,disabled:Tb,selected:Fb,slideDown:Bb,fadeIn:Ob},Db=({value:e=new Date,format:t,use12Hours:r,showSecond:i,hourStep:s=1,minuteStep:a=1,secondStep:o=1,minTime:l,maxTime:c,onTimeChange:u,visible:p})=>{const m=y.useMemo(()=>{const _=[],b=r?1:0,k=r?12:23;for(let j=b;j<=k;j+=s){const d=l&&e.getHours()c.getHours();_.push({value:j,disabled:d,label:j.toString().padStart(2,"0")})}return _},[r,s,l,c,e]),h=y.useMemo(()=>{const _=[];for(let b=0;b<60;b+=a){const k=l&&e.getMinutes()c.getMinutes();_.push({value:b,disabled:k,label:b.toString().padStart(2,"0")})}return _},[a,l,c,e]),x=y.useMemo(()=>{const _=[];for(let b=0;b<60;b+=o){const k=l&&e.getSeconds()c.getSeconds();_.push({value:b,disabled:k,label:b.toString().padStart(2,"0")})}return _},[o,l,c,e]);return C.jsx("div",{className:Nt.timePickerPanel,children:C.jsxs("div",{className:Nt.timeColumns,children:[C.jsx("div",{className:Nt.timeColumn,children:m.map(_=>C.jsx("div",{className:` + `,...k?{overflowY:f?"auto":"visible",overflowX:"hidden"}:{overflowY:"hidden",overflowX:f?"auto":"hidden"},...o==="auto"?{width:v||"auto",height:w||"auto",overflowX:f?"auto":"hidden",overflowY:f?"auto":"visible"}:{width:v||tm[o].width,height:w||tm[o].height},...g}),[N.top,N.left,p,c.duration,c.easing,g,v,w,o,f,k]),J=y.useMemo(()=>({backgroundColor:(g==null?void 0:g.backgroundColor)||"",borderColor:(g==null?void 0:g.borderColor)||""}),[g.backgroundColor,g.borderColor]);return y.useEffect(()=>{if(!e)return;const q=()=>{_!=="manual"&&(u==null||u(!t))},U=()=>{_==="hover"&&(u==null||u(!0))},D=()=>{_==="hover"&&(u==null||u(!1))},G=()=>{_==="focus"&&(u==null||u(!0))},ee=()=>{_==="focus"&&(u==null||u(!1))},A=M=>{_==="contextMenu"&&(M.preventDefault(),u==null||u(!0))};return _==="click"?e.addEventListener("click",q):_==="hover"?(e.addEventListener("mouseenter",U),e.addEventListener("mouseleave",D)):_==="focus"?(e.addEventListener("focus",G),e.addEventListener("blur",ee)):_==="contextMenu"&&e.addEventListener("contextmenu",A),()=>{e.removeEventListener("click",q),e.removeEventListener("mouseenter",U),e.removeEventListener("mouseleave",D),e.removeEventListener("focus",G),e.removeEventListener("blur",ee),e.removeEventListener("contextmenu",A)}},[e,_,t,u]),t?oo.createPortal(C.jsxs("div",{ref:x,className:` + ${yr.popper} + ${yr[s]} + ${yr[a]} + ${yr[o]} + ${k?yr.multiline:yr.singleline} + ${t?yr.visible:""} + ${f?yr.scrollable:""} + ${m} + `,style:F,role:a==="menu"?"menu":"dialog",tabIndex:j,"aria-hidden":!t,"aria-label":b,children:[C.jsx("div",{className:yr.popperContent,children:r}),d&&C.jsx(Kw,{placement:i,style:J})]}),document.body):null},at=_e.memo(Gw),Qw="_commonRippleEffect_16lmm_57",Jw="_rippleRect_16lmm_1",Yw="_commonErrorAnimation_16lmm_83",Xw="_shake_16lmm_1",Zw="_commonClickedAnimation_16lmm_87",eC="_clickedAnimation_16lmm_1",tC="_commonStarAnimation_16lmm_91",nC="_starAnimation_16lmm_1",rC="_timePickerPanel_16lmm_95",iC="_timeColumns_16lmm_102",sC="_timeColumn_16lmm_102",aC="_timeUnit_16lmm_122",oC="_disabled_16lmm_131",lC="_selected_16lmm_134",cC="_slideDown_16lmm_1",dC="_fadeIn_16lmm_1",Nt={commonRippleEffect:Qw,rippleRect:Jw,commonErrorAnimation:Yw,shake:Xw,commonClickedAnimation:Zw,clickedAnimation:eC,commonStarAnimation:tC,starAnimation:nC,timePickerPanel:rC,timeColumns:iC,timeColumn:sC,timeUnit:aC,disabled:oC,selected:lC,slideDown:cC,fadeIn:dC},uC=({value:e=new Date,format:t,use12Hours:r,showSecond:i,hourStep:s=1,minuteStep:a=1,secondStep:o=1,minTime:l,maxTime:c,onTimeChange:d,visible:p})=>{const h=y.useMemo(()=>{const j=[],b=r?1:0,k=r?12:23;for(let _=b;_<=k;_+=s){const u=l&&e.getHours()c.getHours();j.push({value:_,disabled:u,label:_.toString().padStart(2,"0")})}return j},[r,s,l,c,e]),m=y.useMemo(()=>{const j=[];for(let b=0;b<60;b+=a){const k=l&&e.getMinutes()c.getMinutes();j.push({value:b,disabled:k,label:b.toString().padStart(2,"0")})}return j},[a,l,c,e]),g=y.useMemo(()=>{const j=[];for(let b=0;b<60;b+=o){const k=l&&e.getSeconds()c.getSeconds();j.push({value:b,disabled:k,label:b.toString().padStart(2,"0")})}return j},[o,l,c,e]);return C.jsx("div",{className:Nt.timePickerPanel,children:C.jsxs("div",{className:Nt.timeColumns,children:[C.jsx("div",{className:Nt.timeColumn,children:h.map(j=>C.jsx("div",{className:` ${Nt.timeUnit} - ${_.value===e.getHours()?Nt.selected:""} - ${_.disabled?Nt.disabled:""} - `,onClick:()=>!_.disabled&&u("hour",_.value),children:_.label},_.value))}),C.jsx("div",{className:Nt.timeColumn,children:h.map(_=>C.jsx("div",{className:` + ${j.value===e.getHours()?Nt.selected:""} + ${j.disabled?Nt.disabled:""} + `,onClick:()=>!j.disabled&&d("hour",j.value),children:j.label},j.value))}),C.jsx("div",{className:Nt.timeColumn,children:m.map(j=>C.jsx("div",{className:` ${Nt.timeUnit} - ${_.value===e.getMinutes()?Nt.selected:""} - ${_.disabled?Nt.disabled:""} - `,onClick:()=>!_.disabled&&u("minute",_.value),children:_.label},_.value))}),i&&C.jsx("div",{className:Nt.timeColumn,children:x.map(_=>C.jsx("div",{className:` + ${j.value===e.getMinutes()?Nt.selected:""} + ${j.disabled?Nt.disabled:""} + `,onClick:()=>!j.disabled&&d("minute",j.value),children:j.label},j.value))}),i&&C.jsx("div",{className:Nt.timeColumn,children:g.map(j=>C.jsx("div",{className:` ${Nt.timeUnit} - ${_.value===e.getSeconds()?Nt.selected:""} - ${_.disabled?Nt.disabled:""} - `,onClick:()=>!_.disabled&&u("second",_.value),children:_.label},_.value))}),r&&C.jsxs("div",{className:Nt.timeColumn,children:[C.jsx("div",{className:` + ${j.value===e.getSeconds()?Nt.selected:""} + ${j.disabled?Nt.disabled:""} + `,onClick:()=>!j.disabled&&d("second",j.value),children:j.label},j.value))}),r&&C.jsxs("div",{className:Nt.timeColumn,children:[C.jsx("div",{className:` ${Nt.timeUnit} ${e.getHours()<12?Nt.selected:""} - `,onClick:()=>u("ampm",0),children:"AM"}),C.jsx("div",{className:` + `,onClick:()=>d("ampm",0),children:"AM"}),C.jsx("div",{className:` ${Nt.timeUnit} ${e.getHours()>=12?Nt.selected:""} - `,onClick:()=>u("ampm",1),children:"PM"})]})]})})},Ub=je.memo(Db),Po=(e,t)=>{const r=e.getHours(),i=r%12||12,s=e.getMinutes(),a=e.getSeconds(),o=r>=12?"PM":"AM";return t.replace("HH",r.toString().padStart(2,"0")).replace("H",r.toString()).replace("hh",i.toString().padStart(2,"0")).replace("h",i.toString()).replace("mm",s.toString().padStart(2,"0")).replace("m",s.toString()).replace("ss",a.toString().padStart(2,"0")).replace("s",a.toString()).replace("a",o)},Hb=(e,t)=>{const r=new Date;let i=0,s=0,a=0,o="";const l=t.match(/(HH|H|hh|h|mm|m|ss|s|a)/g)||[],c=e.match(/(\d+|\s*[AaPp][Mm])/g)||[];return l.forEach((u,p)=>{const m=c[p];switch(u){case"HH":case"H":i=parseInt(m);break;case"hh":case"h":i=parseInt(m);break;case"mm":case"m":s=parseInt(m);break;case"ss":case"s":a=parseInt(m);break;case"a":o=m.toUpperCase();break}}),o==="PM"&&i<12?i+=12:o==="AM"&&i===12&&(i=0),r.setHours(i),r.setMinutes(s),r.setSeconds(a),r},Wb=(e,t)=>{var r;const i={"HH:mm:ss":/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/,"HH:mm":/^([01]\d|2[0-3]):([0-5]\d)$/,"hh:mm:ss a":/^(0\d|1[0-2]):([0-5]\d):([0-5]\d)\s*(AM|PM)$/i,"hh:mm a":/^(0\d|1[0-2]):([0-5]\d)\s*(AM|PM)$/i},s=Po(e,t);return((r=i[t])==null?void 0:r.test(s))??!1},qb="_commonRippleEffect_1fjt0_57",Vb="_rippleRect_1fjt0_1",Kb="_commonErrorAnimation_1fjt0_83",Gb="_shake_1fjt0_1",Qb="_commonClickedAnimation_1fjt0_87",Jb="_clickedAnimation_1fjt0_1",Yb="_commonStarAnimation_1fjt0_91",Xb="_starAnimation_1fjt0_1",Zb="_timePicker_1fjt0_95",ew="_clearButton_1fjt0_100",tw="_clockIcon_1fjt0_112",nw="_slideDown_1fjt0_1",rw="_fadeIn_1fjt0_1",Tc={commonRippleEffect:qb,rippleRect:Vb,commonErrorAnimation:Kb,shake:Gb,commonClickedAnimation:Qb,clickedAnimation:Jb,commonStarAnimation:Yb,starAnimation:Xb,timePicker:Zb,clearButton:ew,clockIcon:tw,slideDown:nw,fadeIn:rw},iw=({value:e,defaultValue:t,onChange:r,format:i="HH:mm:ss",use12Hours:s=!1,placeholder:a="Select time",disabled:o=!1,clearable:l=!0,size:c="medium",className:u="",minTime:p,maxTime:m,showSecond:h=!0,hourStep:x=1,minuteStep:_=1,secondStep:b=1})=>{const[k,j]=y.useState(e||t),[d,f]=y.useState(k?Po(k,i):""),[v,w]=y.useState(!1),g=y.useRef(null),N=y.useCallback(q=>{o||w(q)},[o]),S={hour:q=>{const U=new Date(k||new Date);return U.setHours(q),U},minute:q=>{const U=new Date(k||new Date);return U.setMinutes(q),U},second:q=>{const U=new Date(k||new Date);return U.setSeconds(q),U},ampm:q=>{const U=new Date(k||new Date),D=U.getHours(),G=q===1;return U.setHours(G?D%12+12:D%12),U}},L=y.useCallback((q,U)=>{const D=S[q](U);j(D),f(Po(D,i)),r==null||r(D)},[k,r,i]),E=y.useCallback(q=>{f(q);const U=Hb(q,i);Wb(U,i)&&(j(U),r==null||r(U))},[i,r]),O=y.useCallback(()=>{f(k?Po(k,i):"")},[k,i]),Q=y.useCallback(q=>{q.stopPropagation(),j(void 0),f(""),r==null||r(void 0)},[r]);return C.jsxs("div",{className:`${Tc.timePicker} ${u}`,children:[C.jsx(at,{visible:v,onVisibleChange:N,trigger:"click",placement:"bottomStart",type:"select",size:c,anchorEl:g.current,children:C.jsx(Ub,{value:k,format:i,use12Hours:s,showSecond:h,hourStep:x,minuteStep:_,secondStep:b,minTime:p,maxTime:m,onTimeChange:L,visible:v})}),C.jsx(Me,{ref:g,value:d,placeholder:a,label:"",onChange:E,onBlur:O,name:"time-picker",disabled:o,size:c,suffix:l&&k&&!o?C.jsx(We,{icon:C.jsx(Hd,{}),size:"small",onClick:Q,className:Tc.clearButton}):C.jsx(We,{icon:C.jsx(Hd,{}),size:"small",className:Tc.clockIcon})})]})},nr=je.memo(iw),sw="_commonRippleEffect_1of8j_57",aw="_chip_1of8j_57",ow="_clickable_1of8j_57",lw="_rippleRect_1of8j_1",cw="_commonErrorAnimation_1of8j_83",dw="_shake_1of8j_1",uw="_commonClickedAnimation_1of8j_87",pw="_clickedAnimation_1of8j_1",hw="_commonStarAnimation_1of8j_91",mw="_starAnimation_1of8j_1",fw="_small_1of8j_111",gw="_avatar_1of8j_116",xw="_icon_1of8j_122",vw="_deleteIcon_1of8j_127",jw="_medium_1of8j_132",_w="_large_1of8j_153",yw="_filled_1of8j_174",bw="_primary_1of8j_181",ww="_secondary_1of8j_188",Cw="_success_1of8j_195",kw="_error_1of8j_202",Sw="_warning_1of8j_209",Nw="_info_1of8j_216",zw="_outlined_1of8j_223",$w="_soft_1of8j_273",Lw="_disabled_1of8j_322",Ew="_selected_1of8j_326",Iw="_loading_1of8j_329",Rw="_loadingWrapper_1of8j_356",Pw="_slideDown_1of8j_1",Aw="_fadeIn_1of8j_1",xn={commonRippleEffect:sw,chip:aw,clickable:ow,rippleRect:lw,commonErrorAnimation:cw,shake:dw,commonClickedAnimation:uw,clickedAnimation:pw,commonStarAnimation:hw,starAnimation:mw,small:fw,avatar:gw,icon:xw,deleteIcon:vw,medium:jw,large:_w,filled:yw,primary:bw,secondary:ww,success:Cw,error:kw,warning:Sw,info:Nw,outlined:zw,soft:$w,disabled:Lw,selected:Ew,loading:Iw,loadingWrapper:Rw,slideDown:Pw,fadeIn:Aw},H0=y.forwardRef(({label:e,variant:t="filled",color:r="default",size:i="medium",icon:s,avatar:a,onDelete:o,onClick:l,disabled:c=!1,className:u="",deleteIcon:p,clickable:m=!1,loading:h=!1,selected:x=!1},_)=>{const b=j=>{j.stopPropagation(),o==null||o(j)},k=j=>{!c&&m&&(l==null||l(j))};return C.jsxs("div",{ref:_,className:` - ${xn.chip} - ${xn[t]} - ${xn[r]} - ${xn[i]} - ${c?xn.disabled:""} - ${m?xn.clickable:""} - ${x?xn.selected:""} - ${h?xn.loading:""} - ${u} - `,onClick:k,role:m?"button":void 0,tabIndex:m&&!c?0:void 0,children:[h?C.jsxs("div",{className:xn.loadingWrapper,children:[C.jsx(En,{width:"auto",type:"spinner",size:"small"}),C.jsx("span",{children:e})]}):C.jsxs(C.Fragment,{children:[s&&C.jsx("span",{className:xn.icon,children:s}),a&&C.jsx("span",{className:xn.avatar,children:a}),C.jsx("span",{className:xn.label,children:e})]}),o&&!c&&!h&&C.jsx("span",{className:xn.deleteIcon,onClick:b,children:p||C.jsx(Yu,{size:16})})]})});H0.displayName="Chip";const Be=je.memo(H0),Mw="_commonRippleEffect_19fqc_57",Tw="_rippleRect_19fqc_1",Fw="_commonErrorAnimation_19fqc_83",Bw="_shake_19fqc_1",Ow="_commonClickedAnimation_19fqc_87",Dw="_clickedAnimation_19fqc_1",Uw="_commonStarAnimation_19fqc_91",Hw="_starAnimation_19fqc_1",Ww="_radioWrapper_19fqc_95",qw="_error_19fqc_101",Vw="_radio_19fqc_95",Kw="_input_19fqc_113",Gw="_radioMark_19fqc_122",Qw="_disabled_19fqc_155",Jw="_labelStart_19fqc_163",Yw="_labelTop_19fqc_166",Xw="_labelBottom_19fqc_170",Zw="_primary_19fqc_174",eC="_success_19fqc_177",tC="_warning_19fqc_180",nC="_circle_19fqc_186",rC="_square_19fqc_192",iC="_rounded_19fqc_198",sC="_small_19fqc_204",aC="_label_19fqc_163",oC="_medium_19fqc_215",lC="_large_19fqc_226",cC="_radioGroup_19fqc_323",dC="_vertical_19fqc_330",uC="_horizontal_19fqc_333",pC="_helperTextWrapper_19fqc_339",hC="_helperText_19fqc_339",mC="_errorText_19fqc_352",fC="_errorIcon_19fqc_356",gC="_radioGroupWrapper_19fqc_401",xC="_slideDown_19fqc_1",vC="_fadeIn_19fqc_1",$t={commonRippleEffect:Mw,rippleRect:Tw,commonErrorAnimation:Fw,shake:Bw,commonClickedAnimation:Ow,clickedAnimation:Dw,commonStarAnimation:Uw,starAnimation:Hw,radioWrapper:Ww,error:qw,radio:Vw,input:Kw,radioMark:Gw,disabled:Qw,labelStart:Jw,labelTop:Yw,labelBottom:Xw,primary:Zw,success:eC,warning:tC,circle:nC,square:rC,rounded:iC,small:sC,label:aC,medium:oC,large:lC,radioGroup:cC,vertical:dC,horizontal:uC,helperTextWrapper:pC,helperText:hC,errorText:mC,errorIcon:fC,radioGroupWrapper:gC,slideDown:xC,fadeIn:vC},W0=y.createContext(null),q0=y.forwardRef(({value:e,defaultValue:t,name:r,onChange:i,disabled:s=!1,children:a,className:o="",direction:l="vertical",size:c="medium",error:u=!1,helperText:p,required:m=!1,color:h="#1976d2"},x)=>{const[_,b]=y.useState(t),k=(j,d)=>{s||(i?i(j,d):b(j))};return C.jsxs("div",{ref:x,className:` - ${$t.radioGroupWrapper} - ${u?$t.error:""} + `,onClick:()=>d("ampm",1),children:"PM"})]})]})})},pC=_e.memo(uC),tl=(e,t)=>{const r=e.getHours(),i=r%12||12,s=e.getMinutes(),a=e.getSeconds(),o=r>=12?"PM":"AM";return t.replace("HH",r.toString().padStart(2,"0")).replace("H",r.toString()).replace("hh",i.toString().padStart(2,"0")).replace("h",i.toString()).replace("mm",s.toString().padStart(2,"0")).replace("m",s.toString()).replace("ss",a.toString().padStart(2,"0")).replace("s",a.toString()).replace("a",o)},hC=(e,t)=>{const r=new Date;let i=0,s=0,a=0,o="";const l=t.match(/(HH|H|hh|h|mm|m|ss|s|a)/g)||[],c=e.match(/(\d+|\s*[AaPp][Mm])/g)||[];return l.forEach((d,p)=>{const h=c[p];switch(d){case"HH":case"H":i=parseInt(h);break;case"hh":case"h":i=parseInt(h);break;case"mm":case"m":s=parseInt(h);break;case"ss":case"s":a=parseInt(h);break;case"a":o=h.toUpperCase();break}}),o==="PM"&&i<12?i+=12:o==="AM"&&i===12&&(i=0),r.setHours(i),r.setMinutes(s),r.setSeconds(a),r},mC=(e,t)=>{var r;const i={"HH:mm:ss":/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/,"HH:mm":/^([01]\d|2[0-3]):([0-5]\d)$/,"hh:mm:ss a":/^(0\d|1[0-2]):([0-5]\d):([0-5]\d)\s*(AM|PM)$/i,"hh:mm a":/^(0\d|1[0-2]):([0-5]\d)\s*(AM|PM)$/i},s=tl(e,t);return((r=i[t])==null?void 0:r.test(s))??!1},fC="_commonRippleEffect_1fjt0_57",gC="_rippleRect_1fjt0_1",xC="_commonErrorAnimation_1fjt0_83",vC="_shake_1fjt0_1",jC="_commonClickedAnimation_1fjt0_87",_C="_clickedAnimation_1fjt0_1",yC="_commonStarAnimation_1fjt0_91",bC="_starAnimation_1fjt0_1",wC="_timePicker_1fjt0_95",CC="_clearButton_1fjt0_100",kC="_clockIcon_1fjt0_112",SC="_slideDown_1fjt0_1",NC="_fadeIn_1fjt0_1",pd={commonRippleEffect:fC,rippleRect:gC,commonErrorAnimation:xC,shake:vC,commonClickedAnimation:jC,clickedAnimation:_C,commonStarAnimation:yC,starAnimation:bC,timePicker:wC,clearButton:CC,clockIcon:kC,slideDown:SC,fadeIn:NC},$C=({value:e,defaultValue:t,onChange:r,format:i="HH:mm:ss",use12Hours:s=!1,placeholder:a="Select time",disabled:o=!1,clearable:l=!0,size:c="medium",className:d="",minTime:p,maxTime:h,showSecond:m=!0,hourStep:g=1,minuteStep:j=1,secondStep:b=1})=>{const[k,_]=y.useState(e||t),[u,f]=y.useState(k?tl(k,i):""),[v,w]=y.useState(!1),x=y.useRef(null),N=y.useCallback(q=>{o||w(q)},[o]),S={hour:q=>{const U=new Date(k||new Date);return U.setHours(q),U},minute:q=>{const U=new Date(k||new Date);return U.setMinutes(q),U},second:q=>{const U=new Date(k||new Date);return U.setSeconds(q),U},ampm:q=>{const U=new Date(k||new Date),D=U.getHours(),G=q===1;return U.setHours(G?D%12+12:D%12),U}},E=y.useCallback((q,U)=>{const D=S[q](U);_(D),f(tl(D,i)),r==null||r(D)},[k,r,i]),L=y.useCallback(q=>{f(q);const U=hC(q,i);mC(U,i)&&(_(U),r==null||r(U))},[i,r]),F=y.useCallback(()=>{f(k?tl(k,i):"")},[k,i]),J=y.useCallback(q=>{q.stopPropagation(),_(void 0),f(""),r==null||r(void 0)},[r]);return C.jsxs("div",{className:`${pd.timePicker} ${d}`,children:[C.jsx(at,{visible:v,onVisibleChange:N,trigger:"click",placement:"bottomStart",type:"select",size:c,anchorEl:x.current,children:C.jsx(pC,{value:k,format:i,use12Hours:s,showSecond:m,hourStep:g,minuteStep:j,secondStep:b,minTime:p,maxTime:h,onTimeChange:E,visible:v})}),C.jsx(Me,{ref:x,value:u,placeholder:a,label:"",onChange:L,onBlur:F,name:"time-picker",disabled:o,size:c,suffix:l&&k&&!o?C.jsx(We,{icon:C.jsx(vu,{}),size:"small",onClick:J,className:pd.clearButton}):C.jsx(We,{icon:C.jsx(vu,{}),size:"small",className:pd.clockIcon})})]})},ir=_e.memo($C),zC="_commonRippleEffect_1of8j_57",EC="_chip_1of8j_57",LC="_clickable_1of8j_57",RC="_rippleRect_1of8j_1",AC="_commonErrorAnimation_1of8j_83",IC="_shake_1of8j_1",PC="_commonClickedAnimation_1of8j_87",MC="_clickedAnimation_1of8j_1",BC="_commonStarAnimation_1of8j_91",TC="_starAnimation_1of8j_1",OC="_small_1of8j_111",FC="_avatar_1of8j_116",DC="_icon_1of8j_122",UC="_deleteIcon_1of8j_127",HC="_medium_1of8j_132",WC="_large_1of8j_153",qC="_filled_1of8j_174",VC="_primary_1of8j_181",KC="_secondary_1of8j_188",GC="_success_1of8j_195",QC="_error_1of8j_202",JC="_warning_1of8j_209",YC="_info_1of8j_216",XC="_outlined_1of8j_223",ZC="_soft_1of8j_273",ek="_disabled_1of8j_322",tk="_selected_1of8j_326",nk="_loading_1of8j_329",rk="_loadingWrapper_1of8j_356",ik="_slideDown_1of8j_1",sk="_fadeIn_1of8j_1",vn={commonRippleEffect:zC,chip:EC,clickable:LC,rippleRect:RC,commonErrorAnimation:AC,shake:IC,commonClickedAnimation:PC,clickedAnimation:MC,commonStarAnimation:BC,starAnimation:TC,small:OC,avatar:FC,icon:DC,deleteIcon:UC,medium:HC,large:WC,filled:qC,primary:VC,secondary:KC,success:GC,error:QC,warning:JC,info:YC,outlined:XC,soft:ZC,disabled:ek,selected:tk,loading:nk,loadingWrapper:rk,slideDown:ik,fadeIn:sk},Ug=y.forwardRef(({label:e,variant:t="filled",color:r="default",size:i="medium",icon:s,avatar:a,onDelete:o,onClick:l,disabled:c=!1,className:d="",deleteIcon:p,clickable:h=!1,loading:m=!1,selected:g=!1},j)=>{const b=_=>{_.stopPropagation(),o==null||o(_)},k=_=>{!c&&h&&(l==null||l(_))};return C.jsxs("div",{ref:j,className:` + ${vn.chip} + ${vn[t]} + ${vn[r]} + ${vn[i]} + ${c?vn.disabled:""} + ${h?vn.clickable:""} + ${g?vn.selected:""} + ${m?vn.loading:""} + ${d} + `,onClick:k,role:h?"button":void 0,tabIndex:h&&!c?0:void 0,children:[m?C.jsxs("div",{className:vn.loadingWrapper,children:[C.jsx(Rn,{width:"auto",type:"spinner",size:"small"}),C.jsx("span",{children:e})]}):C.jsxs(C.Fragment,{children:[s&&C.jsx("span",{className:vn.icon,children:s}),a&&C.jsx("span",{className:vn.avatar,children:a}),C.jsx("span",{className:vn.label,children:e})]}),o&&!c&&!m&&C.jsx("span",{className:vn.deleteIcon,onClick:b,children:p||C.jsx(Ep,{size:16})})]})});Ug.displayName="Chip";const Oe=_e.memo(Ug),ak="_commonRippleEffect_19fqc_57",ok="_rippleRect_19fqc_1",lk="_commonErrorAnimation_19fqc_83",ck="_shake_19fqc_1",dk="_commonClickedAnimation_19fqc_87",uk="_clickedAnimation_19fqc_1",pk="_commonStarAnimation_19fqc_91",hk="_starAnimation_19fqc_1",mk="_radioWrapper_19fqc_95",fk="_error_19fqc_101",gk="_radio_19fqc_95",xk="_input_19fqc_113",vk="_radioMark_19fqc_122",jk="_disabled_19fqc_155",_k="_labelStart_19fqc_163",yk="_labelTop_19fqc_166",bk="_labelBottom_19fqc_170",wk="_primary_19fqc_174",Ck="_success_19fqc_177",kk="_warning_19fqc_180",Sk="_circle_19fqc_186",Nk="_square_19fqc_192",$k="_rounded_19fqc_198",zk="_small_19fqc_204",Ek="_label_19fqc_163",Lk="_medium_19fqc_215",Rk="_large_19fqc_226",Ak="_radioGroup_19fqc_323",Ik="_vertical_19fqc_330",Pk="_horizontal_19fqc_333",Mk="_helperTextWrapper_19fqc_339",Bk="_helperText_19fqc_339",Tk="_errorText_19fqc_352",Ok="_errorIcon_19fqc_356",Fk="_radioGroupWrapper_19fqc_401",Dk="_slideDown_19fqc_1",Uk="_fadeIn_19fqc_1",zt={commonRippleEffect:ak,rippleRect:ok,commonErrorAnimation:lk,shake:ck,commonClickedAnimation:dk,clickedAnimation:uk,commonStarAnimation:pk,starAnimation:hk,radioWrapper:mk,error:fk,radio:gk,input:xk,radioMark:vk,disabled:jk,labelStart:_k,labelTop:yk,labelBottom:bk,primary:wk,success:Ck,warning:kk,circle:Sk,square:Nk,rounded:$k,small:zk,label:Ek,medium:Lk,large:Rk,radioGroup:Ak,vertical:Ik,horizontal:Pk,helperTextWrapper:Mk,helperText:Bk,errorText:Tk,errorIcon:Ok,radioGroupWrapper:Fk,slideDown:Dk,fadeIn:Uk},Hg=y.createContext(null),Wg=y.forwardRef(({value:e,defaultValue:t,name:r,onChange:i,disabled:s=!1,children:a,className:o="",direction:l="vertical",size:c="medium",error:d=!1,helperText:p,required:h=!1,color:m="#1976d2"},g)=>{const[j,b]=y.useState(t),k=(_,u)=>{s||(i?i(_,u):b(_))};return C.jsxs("div",{ref:g,className:` + ${zt.radioGroupWrapper} + ${d?zt.error:""} ${o} - `,children:[C.jsx(W0.Provider,{value:{value:e??_,onChange:k,disabled:s,name:r,size:c,color:h},children:C.jsx("div",{className:`${$t.radioGroup} ${$t[l]}`,role:"radiogroup","aria-required":m,"aria-invalid":u,children:a})}),p&&C.jsx("div",{className:`${$t.helperText} ${u?$t.errorText:""}`,children:p})]})});q0.displayName="RadioGroup";const qs=je.memo(q0),V0=y.forwardRef(({checked:e,defaultChecked:t,disabled:r=!1,name:i,value:s,onChange:a,size:o="medium",type:l="default",label:c,className:u="",color:p,bgColor:m,required:h=!1,error:x=!1,errorIcon:_=C.jsx(B0,{}),errorMessage:b,helperText:k},j)=>{const d=y.useContext(W0),f=L=>{var E;r||(d?(E=d.onChange)==null||E.call(d,s,L):a==null||a(L.target.checked,L))},v=d?d.value===s:e??t,w=d&&d.disabled||r,g=d?d.name:i,N=d&&d.size||o,S=d&&d.color||p;return C.jsxs("div",{className:` - ${$t.radioWrapper} - ${$t[N]} - ${$t[l]} - ${x?$t.error:""} - ${u} - `,children:[C.jsxs("label",{className:`${$t.radio} ${w?$t.disabled:""}`,children:[C.jsx("input",{type:"radio",ref:j,name:g,value:s,checked:v,disabled:w,onChange:f,required:h,className:$t.input}),C.jsx("span",{className:$t.radioMark,style:{backgroundColor:m,color:S}}),c&&C.jsx("span",{className:$t.label,children:c})]}),(b||k)&&C.jsxs("div",{className:$t.helperTextWrapper,children:[x&&b&&C.jsx("span",{className:$t.errorIcon,children:_}),C.jsx("span",{className:`${$t.helperText} ${x?$t.errorText:""}`,children:x?b:k})]})]})});V0.displayName="Radio";const ft=je.memo(V0),jC="_virtualList_1yzgi_1",_C="_virtualListContent_1yzgi_13",yC="_virtualListItem_1yzgi_16",bC="_loadingWrapper_1yzgi_23",Vs={virtualList:jC,virtualListContent:_C,virtualListItem:yC,loadingWrapper:bC},wC=({items:e,itemHeight:t,maxHeight:r,overscan:i=5,renderItem:s,className:a="",style:o,onLoadMore:l,loadMoreThreshold:c=100,highPerformance:u=!1,loading:p=!1,itemPadding:m=8})=>{const h=y.useRef(null),[x,_]=y.useState(0),[b,k]=y.useState(0),j=y.useRef(0),d=y.useRef(!1),f=y.useRef(),v=y.useRef(),w=y.useRef(),[g,N]=y.useState(0),S=y.useRef(null),L=y.useRef(!1);y.useEffect(()=>{if(t||L.current)return;const D=()=>{if(S.current){const ee=S.current.offsetHeight;ee>0&&(N(ee+m*2),L.current=!0)}};D();const G=new ResizeObserver(()=>{L.current||D()});return S.current&&G.observe(S.current),()=>{G.disconnect()}},[t]);const E=t||g,O=y.useMemo(()=>{if(!E)return{start:0,end:1,visibleCount:1};const D=Math.max(0,Math.floor(x/E)-i),G=Math.ceil(b/E)+2*i,ee=Math.min(e.length,D+G);return{start:D,end:ee,visibleCount:G}},[x,b,E,i,e.length]),Q=y.useCallback(D=>{u?(v.current&&cancelAnimationFrame(v.current),v.current=requestAnimationFrame(()=>{"requestIdleCallback"in window?w.current=requestIdleCallback(()=>{D()},{timeout:100}):D()})):D()},[u]),q=y.useMemo(()=>{const D=[];for(let G=O.start;G{if(!h.current)return;const{scrollTop:D,scrollHeight:G,clientHeight:ee}=h.current,R=D>j.current;j.current=D,Q(()=>{_(D),R&&l&&!d.current&&!p&&G-D-eeee&&(d.current=!0,l().finally(()=>{d.current=!1}))})},[l,p,c,Q]);return y.useEffect(()=>{const D=h.current;if(!D)return;const G=new ResizeObserver(ee=>{for(const R of ee)k(R.contentRect.height)});return G.observe(D),k(D.clientHeight),()=>{G.disconnect()}},[]),y.useEffect(()=>()=>{f.current&&clearTimeout(f.current),v.current&&cancelAnimationFrame(v.current),w.current&&"cancelIdleCallback"in window&&cancelIdleCallback(w.current)},[]),C.jsxs("div",{ref:h,className:`${Vs.virtualList} ${a}`,style:{...o,maxHeight:r,overflow:"auto",position:"relative"},onScroll:U,children:[!t&&!L.current&&e.length>0&&C.jsx("div",{ref:S,className:Vs.measureItem,"aria-hidden":"true",children:s(e[0],0)}),C.jsx("div",{style:{height:E?e.length*E:"auto",position:"relative",willChange:"transform"},className:Vs.virtualListContent,children:E>0&&q.map(D=>C.jsx("div",{style:{position:"absolute",top:0,transform:`translateY(${D.start}px)`,width:"100%",height:E,willChange:"transform",padding:m,cursor:"pointer"},className:Vs.virtualListItem,children:s(e[D.index],D.index)},e[D.index].id))}),p&&C.jsx("div",{className:Vs.loadingWrapper,children:C.jsx(En,{type:"wave",size:"small"})})]})},na=je.memo(wC);function CC(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm108.25 138.29-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32 122.59-145.91a16 16 0 0 1 24.5 20.58z"},child:[]}]})(e)}function kC(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"M328 112 184 256l144 144"},child:[]}]})(e)}function K0(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 184 144 144 144-144"},child:[]}]})(e)}function G0(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m184 112 144 144-144 144"},child:[]}]})(e)}function SC(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 328 144-144 144 144"},child:[]}]})(e)}function NC(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256z"},child:[]}]})(e)}function Wa(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(e)}function h1(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"48"},child:[]},{tag:"circle",attr:{cx:"416",cy:"256",r:"48"},child:[]},{tag:"circle",attr:{cx:"96",cy:"256",r:"48"},child:[]}]})(e)}function zC(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200 200-89.72 200-200S366.28 56 256 56zm0 82a26 26 0 1 1-26 26 26 26 0 0 1 26-26zm48 226h-88a16 16 0 0 1 0-32h28v-88h-16a16 16 0 0 1 0-32h32a16 16 0 0 1 16 16v104h28a16 16 0 0 1 0 32z"},child:[]}]})(e)}function $C(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M449.07 399.08 278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0 0 80 446.25h340.89a32 32 0 0 0 28.18-47.17zm-198.6-1.83a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm21.72-201.15-5.74 122a16 16 0 0 1-32 0l-5.74-121.95a21.73 21.73 0 0 1 21.5-22.69h.21a21.74 21.74 0 0 1 21.73 22.7z"},child:[]}]})(e)}function LC(e){return Le({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM7.41604 14H4V19H20V14H16.584C15.8124 15.7659 14.0503 17 12 17C9.94968 17 8.1876 15.7659 7.41604 14ZM20 5H4V12H9C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12H20V5Z"},child:[]}]})(e)}const EC="_commonRippleEffect_4x36w_57",IC="_empty_4x36w_57",RC="_rippleRect_4x36w_1",PC="_commonErrorAnimation_4x36w_83",AC="_shake_4x36w_1",MC="_commonClickedAnimation_4x36w_87",TC="_clickedAnimation_4x36w_1",FC="_commonStarAnimation_4x36w_91",BC="_starAnimation_4x36w_1",OC="_showShadow_4x36w_95",DC="_iconWrapper_4x36w_113",UC="_description_4x36w_122",HC="_footer_4x36w_129",WC="_defaultIcon_4x36w_133",qC="_svgFill_4x36w_140",VC="_svgStroke_4x36w_144",KC="_svgPath_4x36w_152",GC="_slideDown_4x36w_1",QC="_fadeIn_4x36w_1",hi={commonRippleEffect:EC,empty:IC,rippleRect:RC,commonErrorAnimation:PC,shake:AC,commonClickedAnimation:MC,clickedAnimation:TC,commonStarAnimation:FC,starAnimation:BC,showShadow:OC,iconWrapper:DC,description:UC,footer:HC,defaultIcon:WC,svgFill:qC,svgStroke:VC,svgPath:KC,slideDown:GC,fadeIn:QC},JC=({icon:e,description:t="No Data",className:r,style:i,children:s,useSvg:a=!1,width:o,height:l,backgroundColor:c,showShadow:u,color:p})=>{const m=()=>C.jsx(LC,{size:40,className:hi.defaultIcon}),h=()=>C.jsx("svg",{className:hi.defaultIcon,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg",children:C.jsxs("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd",children:[C.jsx("ellipse",{fill:"#f5f5f5",cx:"32",cy:"33",rx:"32",ry:"7"}),C.jsxs("g",{fillRule:"nonzero",stroke:"#d9d9d9",children:[C.jsx("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),C.jsx("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:"#fafafa"})]})]})});return C.jsxs("div",{className:`${hi.empty} ${u?hi.showShadow:""} ${r||""}`,style:{width:o,height:l,backgroundColor:c,color:p,...i},role:"status","aria-label":t==null?void 0:t.toString(),children:[C.jsx("div",{className:hi.iconWrapper,children:e||(a?C.jsx(h,{}):C.jsx(m,{}))}),t&&C.jsx("div",{className:hi.description,children:t}),s&&C.jsx("div",{className:hi.footer,children:s})]})},jt=je.memo(JC),YC="_commonRippleEffect_k9jwi_57",XC="_rippleRect_k9jwi_1",ZC="_commonErrorAnimation_k9jwi_83",ek="_shake_k9jwi_1",tk="_commonClickedAnimation_k9jwi_87",nk="_clickedAnimation_k9jwi_1",rk="_commonStarAnimation_k9jwi_91",ik="_starAnimation_k9jwi_1",sk="_autoComplete_k9jwi_95",ak="_dropdown_k9jwi_99",ok="_optionList_k9jwi_117",lk="_optionItem_k9jwi_122",ck="_disabled_k9jwi_130",dk="_highlight_k9jwi_134",uk="_basicOption_k9jwi_137",pk="_icon_k9jwi_142",hk="_content_k9jwi_147",mk="_label_k9jwi_150",fk="_description_k9jwi_154",gk="_groupLabel_k9jwi_159",xk="_tags_k9jwi_165",vk="_tag_k9jwi_165",jk="_tagClose_k9jwi_179",_k="_more_k9jwi_188",yk="_loading_k9jwi_192",bk="_empty_k9jwi_193",wk="_slideDown_k9jwi_1",Ck="_fadeIn_k9jwi_1",kk="_slideIn_k9jwi_1",gt={commonRippleEffect:YC,rippleRect:XC,commonErrorAnimation:ZC,shake:ek,commonClickedAnimation:tk,clickedAnimation:nk,commonStarAnimation:rk,starAnimation:ik,autoComplete:sk,dropdown:ak,optionList:ok,optionItem:lk,disabled:ck,highlight:dk,basicOption:uk,icon:pk,content:hk,label:mk,description:fk,groupLabel:gk,tags:xk,tag:vk,tagClose:jk,more:_k,loading:yk,empty:bk,slideDown:wk,fadeIn:Ck,slideIn:kk},Vi=({name:e,label:t,mode:r="basic",value:i,onChange:s,options:a=[],defaultValue:o="",onSelect:l,filterOption:c,groupBy:u,multiple:p=!1,maxTagCount:m,renderOption:h,renderEmpty:x,loading:_=!1,textFieldProps:b,emptyProps:k,placement:j="bottom",offset:d={x:0,y:4},dropdownBgColor:f,highlightBgColor:v,hoverBgColor:w,animation:g=!0,sortOption:N,onOptionClick:S,onDropdownVisibleChange:L,popperProps:E})=>{const[O,Q]=y.useState(!1),[q,U]=y.useState(o),[D,G]=y.useState([]),[ee,R]=y.useState(-1),[M,T]=y.useState(-1),J=y.useRef(null),X=y.useRef(null),Ae=y.useMemo(()=>{const ne=i!==void 0?i:q;return a.filter(ye=>c?c(ne,ye):ye.label.toLowerCase().includes(ne.toLowerCase()))},[a,i,q,c]),K=y.useMemo(()=>{let ne=Ae;return N&&(ne=[...ne].sort(N)),ne},[Ae,N]),de=ne=>C.jsxs("div",{className:gt.basicOption,children:[ne.icon&&C.jsx("span",{className:gt.icon,children:ne.icon}),C.jsxs("div",{className:gt.content,children:[C.jsx("div",{className:gt.label,children:ne.label}),ne.description&&C.jsx("div",{className:gt.description,children:ne.description})]})]}),Ne={ArrowDown:ne=>{ne.preventDefault(),R(ye=>ye{ne.preventDefault(),R(ye=>ye>0?ye-1:K.length-1)},Enter:()=>{ee>=0&&wt(K[ee])},Escape:()=>Q(!1)},Ke=ne=>{const ye=Ne[ne.key];ye==null||ye(ne)},Mt=ne=>{U(ne),s==null||s(ne),open||Q(!0)},wt=ne=>{if(!ne.disabled){if(p){const ye=D.some(Ze=>Ze.value===ne.value)?D.filter(Ze=>Ze.value!==ne.value):[...D,ne];G(ye),U(""),s==null||s("")}else U(ne.label),s==null||s(ne.label),Q(!1);l==null||l(ne)}},Tt=()=>{if(!p||D.length===0)return null;const ne=m&&D.length>m?D.slice(0,m):D;return C.jsxs("div",{className:gt.tags,children:[ne.map(ye=>C.jsxs("span",{className:gt.tag,children:[ye.label,C.jsx("button",{type:"button",className:gt.tagClose,onClick:Ze=>{Ze.stopPropagation(),wt(ye)},children:C.jsx(Wa,{})})]},ye.value)),m&&D.length>m&&C.jsxs("span",{className:gt.more,children:["+",D.length-m]})]})},It=ne=>{ne.disabled||(wt(ne),S==null||S(ne))},Ue=ne=>{T(ne)};return y.useEffect(()=>{L==null||L(O)},[O]),C.jsxs("div",{ref:X,className:gt.autoComplete,children:[Tt(),C.jsx(Me,{...b,label:t,name:e,ref:J,value:i!==void 0?i:q,onChange:Mt,onFocus:()=>Q(!0),onBlur:()=>setTimeout(()=>Q(!1),200),onKeyDown:Ke}),O&&C.jsx(at,{anchorEl:X.current,visible:O,placement:j,offset:d,...E,children:C.jsx("div",{className:gt.dropdown,style:{backgroundColor:f,animation:g?"slideIn 0.2s ease-out":"none","--hover-bg-color":w,"--highlight-bg-color":v},children:_?C.jsx("div",{className:gt.loading,children:C.jsx(En,{})}):K.length>0?C.jsx("div",{className:gt.optionList,children:u?Object.entries(K.reduce((ne,ye)=>{const Ze=u(ye);return ne[Ze]||(ne[Ze]=[]),ne[Ze].push(ye),ne},{})).map(([ne,ye])=>C.jsxs("div",{className:gt.optionGroup,children:[C.jsx("div",{className:gt.groupLabel,children:ne}),ye.map(Ze=>C.jsx("div",{className:`${gt.optionItem} ${Ze.disabled?gt.disabled:""} ${Ze.highlight?gt.highlight:""}`,style:{backgroundColor:M===Ze.value?w||"#f5f5f5":Ze.highlight?v||"#e3f2fd":"transparent"},onClick:()=>It(Ze),onMouseEnter:()=>Ue(Number(Ze.value)),onMouseLeave:()=>Ue(-1),children:r==="basic"?de(Ze):h?h(Ze):de(Ze)},Ze.value))]},ne)):K.map((ne,ye)=>C.jsx("div",{className:`${gt.optionItem} ${ne.disabled?gt.disabled:""} ${ne.highlight?gt.highlight:""}`,style:{backgroundColor:M===ye?w||"#f5f5f5":ne.highlight?v||"#e3f2fd":"transparent"},onClick:()=>It(ne),onMouseEnter:()=>Ue(ye),onMouseLeave:()=>Ue(-1),children:r==="basic"?de(ne):h?h(ne):de(ne)},ne.value))}):C.jsx("div",{className:gt.empty,children:(x==null?void 0:x())||C.jsx(jt,{...k})})})})]})},Sk="_commonRippleEffect_r1h8y_57",Nk="_rippleRect_r1h8y_1",zk="_commonErrorAnimation_r1h8y_83",$k="_shake_r1h8y_1",Lk="_commonClickedAnimation_r1h8y_87",Ek="_clickedAnimation_r1h8y_1",Ik="_commonStarAnimation_r1h8y_91",Rk="_starAnimation_r1h8y_1",Pk="_cascader_r1h8y_95",Ak="_selector_r1h8y_100",Mk="_focused_r1h8y_114",Tk="_disabled_r1h8y_118",Fk="_input_r1h8y_123",Bk="_clearIcon_r1h8y_144",Ok="_icon_r1h8y_160",Dk="_arrow_r1h8y_164",Uk="_open_r1h8y_174",Hk="_dropdown_r1h8y_178",Wk="_panel_r1h8y_189",qk="_column_r1h8y_197",Vk="_option_r1h8y_221",Kk="_active_r1h8y_237",Gk="_label_r1h8y_247",Qk="_expandIcon_r1h8y_254",Jk="_loading_r1h8y_259",Yk="_rotating_r1h8y_1",Xk="_searchResults_r1h8y_263",Zk="_searchOption_r1h8y_269",eS="_empty_r1h8y_281",tS="_slideDown_r1h8y_1",nS="_fadeIn_r1h8y_1",ot={commonRippleEffect:Sk,rippleRect:Nk,commonErrorAnimation:zk,shake:$k,commonClickedAnimation:Lk,clickedAnimation:Ek,commonStarAnimation:Ik,starAnimation:Rk,cascader:Pk,selector:Ak,focused:Mk,disabled:Tk,input:Fk,clearIcon:Bk,icon:Ok,arrow:Dk,open:Uk,dropdown:Hk,panel:Wk,column:qk,option:Vk,active:Kk,label:Gk,expandIcon:Qk,loading:Jk,rotating:Yk,searchResults:Xk,searchOption:Zk,empty:eS,slideDown:tS,fadeIn:nS},rS=({options:e=[],activePath:t=[],expandTrigger:r="click",maxLevel:i=6,onLevelSelect:s,optionRender:a,optionStyle:o})=>{const[l,c]=y.useState(()=>{var x;const _=[e];for(let b=0;bd.value===k.value);(x=j==null?void 0:j.children)!=null&&x.length&&_.push(j.children)}return _});y.useEffect(()=>{var x;const _=[e];for(let b=0;bd.value===k.value);(x=j==null?void 0:j.children)!=null&&x.length&&_.push(j.children)}c(_)},[t,e,i]);const[u,p]=y.useState(null),m=(x,_)=>{var b;x.disabled||(s==null||s(x,_),(b=x.children)!=null&&b.length&&_{const j=[...k.slice(0,_+1)];return j.push(x.children),j}))},h=(x,_)=>{var b;if(!x.disabled&&(p({option:x,level:_}),r==="hover"&&(b=x.children)!=null&&b.length&&_C.jsx("ul",{className:ot.column,children:x.map(b=>{var k;const j=((k=t[_])==null?void 0:k.value)===b.value,d=(u==null?void 0:u.option.value)===b.value&&u.level===_,f=b.children&&b.children.length>0;return C.jsx("li",{className:` + `,children:[C.jsx(Hg.Provider,{value:{value:e??j,onChange:k,disabled:s,name:r,size:c,color:m},children:C.jsx("div",{className:`${zt.radioGroup} ${zt[l]}`,role:"radiogroup","aria-required":h,"aria-invalid":d,children:a})}),p&&C.jsx("div",{className:`${zt.helperText} ${d?zt.errorText:""}`,children:p})]})});Wg.displayName="RadioGroup";const ia=_e.memo(Wg),qg=y.forwardRef(({checked:e,defaultChecked:t,disabled:r=!1,name:i,value:s,onChange:a,size:o="medium",type:l="default",label:c,className:d="",color:p,bgColor:h,required:m=!1,error:g=!1,errorIcon:j=C.jsx(Tg,{}),errorMessage:b,helperText:k},_)=>{const u=y.useContext(Hg),f=E=>{var L;r||(u?(L=u.onChange)==null||L.call(u,s,E):a==null||a(E.target.checked,E))},v=u?u.value===s:e??t,w=u&&u.disabled||r,x=u?u.name:i,N=u&&u.size||o,S=u&&u.color||p;return C.jsxs("div",{className:` + ${zt.radioWrapper} + ${zt[N]} + ${zt[l]} + ${g?zt.error:""} + ${d} + `,children:[C.jsxs("label",{className:`${zt.radio} ${w?zt.disabled:""}`,children:[C.jsx("input",{type:"radio",ref:_,name:x,value:s,checked:v,disabled:w,onChange:f,required:m,className:zt.input}),C.jsx("span",{className:zt.radioMark,style:{backgroundColor:h,color:S}}),c&&C.jsx("span",{className:zt.label,children:c})]}),(b||k)&&C.jsxs("div",{className:zt.helperTextWrapper,children:[g&&b&&C.jsx("span",{className:zt.errorIcon,children:j}),C.jsx("span",{className:`${zt.helperText} ${g?zt.errorText:""}`,children:g?b:k})]})]})});qg.displayName="Radio";const ft=_e.memo(qg),Hk="_virtualList_1yzgi_1",Wk="_virtualListContent_1yzgi_13",qk="_virtualListItem_1yzgi_16",Vk="_loadingWrapper_1yzgi_23",sa={virtualList:Hk,virtualListContent:Wk,virtualListItem:qk,loadingWrapper:Vk},Kk=({items:e,itemHeight:t,maxHeight:r,overscan:i=5,renderItem:s,className:a="",style:o,onLoadMore:l,loadMoreThreshold:c=100,highPerformance:d=!1,loading:p=!1,itemPadding:h=8})=>{const m=y.useRef(null),[g,j]=y.useState(0),[b,k]=y.useState(0),_=y.useRef(0),u=y.useRef(!1),f=y.useRef(),v=y.useRef(),w=y.useRef(),[x,N]=y.useState(0),S=y.useRef(null),E=y.useRef(!1);y.useEffect(()=>{if(t||E.current)return;const D=()=>{if(S.current){const ee=S.current.offsetHeight;ee>0&&(N(ee+h*2),E.current=!0)}};D();const G=new ResizeObserver(()=>{E.current||D()});return S.current&&G.observe(S.current),()=>{G.disconnect()}},[t]);const L=t||x,F=y.useMemo(()=>{if(!L)return{start:0,end:1,visibleCount:1};const D=Math.max(0,Math.floor(g/L)-i),G=Math.ceil(b/L)+2*i,ee=Math.min(e.length,D+G);return{start:D,end:ee,visibleCount:G}},[g,b,L,i,e.length]),J=y.useCallback(D=>{d?(v.current&&cancelAnimationFrame(v.current),v.current=requestAnimationFrame(()=>{"requestIdleCallback"in window?w.current=requestIdleCallback(()=>{D()},{timeout:100}):D()})):D()},[d]),q=y.useMemo(()=>{const D=[];for(let G=F.start;G{if(!m.current)return;const{scrollTop:D,scrollHeight:G,clientHeight:ee}=m.current,A=D>_.current;_.current=D,J(()=>{j(D),A&&l&&!u.current&&!p&&G-D-eeee&&(u.current=!0,l().finally(()=>{u.current=!1}))})},[l,p,c,J]);return y.useEffect(()=>{const D=m.current;if(!D)return;const G=new ResizeObserver(ee=>{for(const A of ee)k(A.contentRect.height)});return G.observe(D),k(D.clientHeight),()=>{G.disconnect()}},[]),y.useEffect(()=>()=>{f.current&&clearTimeout(f.current),v.current&&cancelAnimationFrame(v.current),w.current&&"cancelIdleCallback"in window&&cancelIdleCallback(w.current)},[]),C.jsxs("div",{ref:m,className:`${sa.virtualList} ${a}`,style:{...o,maxHeight:r,overflow:"auto",position:"relative"},onScroll:U,children:[!t&&!E.current&&e.length>0&&C.jsx("div",{ref:S,className:sa.measureItem,"aria-hidden":"true",children:s(e[0],0)}),C.jsx("div",{style:{height:L?e.length*L:"auto",position:"relative",willChange:"transform"},className:sa.virtualListContent,children:L>0&&q.map(D=>C.jsx("div",{style:{position:"absolute",top:0,transform:`translateY(${D.start}px)`,width:"100%",height:L,willChange:"transform",padding:h,cursor:"pointer"},className:sa.virtualListItem,children:s(e[D.index],D.index)},e[D.index].id))}),p&&C.jsx("div",{className:sa.loadingWrapper,children:C.jsx(Rn,{type:"wave",size:"small"})})]})},fa=_e.memo(Kk);function Gk(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm108.25 138.29-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32 122.59-145.91a16 16 0 0 1 24.5 20.58z"},child:[]}]})(e)}function Qk(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"M328 112 184 256l144 144"},child:[]}]})(e)}function Vg(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 184 144 144 144-144"},child:[]}]})(e)}function Kg(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m184 112 144 144-144 144"},child:[]}]})(e)}function Jk(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 328 144-144 144 144"},child:[]}]})(e)}function Yk(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256z"},child:[]}]})(e)}function uo(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(e)}function nm(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"48"},child:[]},{tag:"circle",attr:{cx:"416",cy:"256",r:"48"},child:[]},{tag:"circle",attr:{cx:"96",cy:"256",r:"48"},child:[]}]})(e)}function Xk(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200 200-89.72 200-200S366.28 56 256 56zm0 82a26 26 0 1 1-26 26 26 26 0 0 1 26-26zm48 226h-88a16 16 0 0 1 0-32h28v-88h-16a16 16 0 0 1 0-32h32a16 16 0 0 1 16 16v104h28a16 16 0 0 1 0 32z"},child:[]}]})(e)}function Zk(e){return Le({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M449.07 399.08 278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0 0 80 446.25h340.89a32 32 0 0 0 28.18-47.17zm-198.6-1.83a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm21.72-201.15-5.74 122a16 16 0 0 1-32 0l-5.74-121.95a21.73 21.73 0 0 1 21.5-22.69h.21a21.74 21.74 0 0 1 21.73 22.7z"},child:[]}]})(e)}function eS(e){return Le({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM7.41604 14H4V19H20V14H16.584C15.8124 15.7659 14.0503 17 12 17C9.94968 17 8.1876 15.7659 7.41604 14ZM20 5H4V12H9C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12H20V5Z"},child:[]}]})(e)}const tS="_commonRippleEffect_4x36w_57",nS="_empty_4x36w_57",rS="_rippleRect_4x36w_1",iS="_commonErrorAnimation_4x36w_83",sS="_shake_4x36w_1",aS="_commonClickedAnimation_4x36w_87",oS="_clickedAnimation_4x36w_1",lS="_commonStarAnimation_4x36w_91",cS="_starAnimation_4x36w_1",dS="_showShadow_4x36w_95",uS="_iconWrapper_4x36w_113",pS="_description_4x36w_122",hS="_footer_4x36w_129",mS="_defaultIcon_4x36w_133",fS="_svgFill_4x36w_140",gS="_svgStroke_4x36w_144",xS="_svgPath_4x36w_152",vS="_slideDown_4x36w_1",jS="_fadeIn_4x36w_1",_i={commonRippleEffect:tS,empty:nS,rippleRect:rS,commonErrorAnimation:iS,shake:sS,commonClickedAnimation:aS,clickedAnimation:oS,commonStarAnimation:lS,starAnimation:cS,showShadow:dS,iconWrapper:uS,description:pS,footer:hS,defaultIcon:mS,svgFill:fS,svgStroke:gS,svgPath:xS,slideDown:vS,fadeIn:jS},_S=({icon:e,description:t="No Data",className:r,style:i,children:s,useSvg:a=!1,width:o,height:l,backgroundColor:c,showShadow:d,color:p})=>{const h=()=>C.jsx(eS,{size:40,className:_i.defaultIcon}),m=()=>C.jsx("svg",{className:_i.defaultIcon,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg",children:C.jsxs("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd",children:[C.jsx("ellipse",{fill:"#f5f5f5",cx:"32",cy:"33",rx:"32",ry:"7"}),C.jsxs("g",{fillRule:"nonzero",stroke:"#d9d9d9",children:[C.jsx("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),C.jsx("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:"#fafafa"})]})]})});return C.jsxs("div",{className:`${_i.empty} ${d?_i.showShadow:""} ${r||""}`,style:{width:o,height:l,backgroundColor:c,color:p,...i},role:"status","aria-label":t==null?void 0:t.toString(),children:[C.jsx("div",{className:_i.iconWrapper,children:e||(a?C.jsx(m,{}):C.jsx(h,{}))}),t&&C.jsx("div",{className:_i.description,children:t}),s&&C.jsx("div",{className:_i.footer,children:s})]})},jt=_e.memo(_S),yS="_commonRippleEffect_k9jwi_57",bS="_rippleRect_k9jwi_1",wS="_commonErrorAnimation_k9jwi_83",CS="_shake_k9jwi_1",kS="_commonClickedAnimation_k9jwi_87",SS="_clickedAnimation_k9jwi_1",NS="_commonStarAnimation_k9jwi_91",$S="_starAnimation_k9jwi_1",zS="_autoComplete_k9jwi_95",ES="_dropdown_k9jwi_99",LS="_optionList_k9jwi_117",RS="_optionItem_k9jwi_122",AS="_disabled_k9jwi_130",IS="_highlight_k9jwi_134",PS="_basicOption_k9jwi_137",MS="_icon_k9jwi_142",BS="_content_k9jwi_147",TS="_label_k9jwi_150",OS="_description_k9jwi_154",FS="_groupLabel_k9jwi_159",DS="_tags_k9jwi_165",US="_tag_k9jwi_165",HS="_tagClose_k9jwi_179",WS="_more_k9jwi_188",qS="_loading_k9jwi_192",VS="_empty_k9jwi_193",KS="_slideDown_k9jwi_1",GS="_fadeIn_k9jwi_1",QS="_slideIn_k9jwi_1",gt={commonRippleEffect:yS,rippleRect:bS,commonErrorAnimation:wS,shake:CS,commonClickedAnimation:kS,clickedAnimation:SS,commonStarAnimation:NS,starAnimation:$S,autoComplete:zS,dropdown:ES,optionList:LS,optionItem:RS,disabled:AS,highlight:IS,basicOption:PS,icon:MS,content:BS,label:TS,description:OS,groupLabel:FS,tags:DS,tag:US,tagClose:HS,more:WS,loading:qS,empty:VS,slideDown:KS,fadeIn:GS,slideIn:QS},ts=({name:e,label:t,mode:r="basic",value:i,onChange:s,options:a=[],defaultValue:o="",onSelect:l,filterOption:c,groupBy:d,multiple:p=!1,maxTagCount:h,renderOption:m,renderEmpty:g,loading:j=!1,textFieldProps:b,emptyProps:k,placement:_="bottom",offset:u={x:0,y:4},dropdownBgColor:f,highlightBgColor:v,hoverBgColor:w,animation:x=!0,sortOption:N,onOptionClick:S,onDropdownVisibleChange:E,popperProps:L})=>{const[F,J]=y.useState(!1),[q,U]=y.useState(o),[D,G]=y.useState([]),[ee,A]=y.useState(-1),[M,B]=y.useState(-1),Y=y.useRef(null),X=y.useRef(null),Pe=y.useMemo(()=>{const re=i!==void 0?i:q;return a.filter(be=>c?c(re,be):be.label.toLowerCase().includes(re.toLowerCase()))},[a,i,q,c]),K=y.useMemo(()=>{let re=Pe;return N&&(re=[...re].sort(N)),re},[Pe,N]),ue=re=>C.jsxs("div",{className:gt.basicOption,children:[re.icon&&C.jsx("span",{className:gt.icon,children:re.icon}),C.jsxs("div",{className:gt.content,children:[C.jsx("div",{className:gt.label,children:re.label}),re.description&&C.jsx("div",{className:gt.description,children:re.description})]})]}),ze={ArrowDown:re=>{re.preventDefault(),A(be=>be{re.preventDefault(),A(be=>be>0?be-1:K.length-1)},Enter:()=>{ee>=0&&wt(K[ee])},Escape:()=>J(!1)},Ke=re=>{const be=ze[re.key];be==null||be(re)},Bt=re=>{U(re),s==null||s(re),open||J(!0)},wt=re=>{if(!re.disabled){if(p){const be=D.some(Ze=>Ze.value===re.value)?D.filter(Ze=>Ze.value!==re.value):[...D,re];G(be),U(""),s==null||s("")}else U(re.label),s==null||s(re.label),J(!1);l==null||l(re)}},Tt=()=>{if(!p||D.length===0)return null;const re=h&&D.length>h?D.slice(0,h):D;return C.jsxs("div",{className:gt.tags,children:[re.map(be=>C.jsxs("span",{className:gt.tag,children:[be.label,C.jsx("button",{type:"button",className:gt.tagClose,onClick:Ze=>{Ze.stopPropagation(),wt(be)},children:C.jsx(uo,{})})]},be.value)),h&&D.length>h&&C.jsxs("span",{className:gt.more,children:["+",D.length-h]})]})},Rt=re=>{re.disabled||(wt(re),S==null||S(re))},Ue=re=>{B(re)};return y.useEffect(()=>{E==null||E(F)},[F]),C.jsxs("div",{ref:X,className:gt.autoComplete,children:[Tt(),C.jsx(Me,{...b,label:t,name:e,ref:Y,value:i!==void 0?i:q,onChange:Bt,onFocus:()=>J(!0),onBlur:()=>setTimeout(()=>J(!1),200),onKeyDown:Ke}),F&&C.jsx(at,{anchorEl:X.current,visible:F,placement:_,offset:u,...L,children:C.jsx("div",{className:gt.dropdown,style:{backgroundColor:f,animation:x?"slideIn 0.2s ease-out":"none","--hover-bg-color":w,"--highlight-bg-color":v},children:j?C.jsx("div",{className:gt.loading,children:C.jsx(Rn,{})}):K.length>0?C.jsx("div",{className:gt.optionList,children:d?Object.entries(K.reduce((re,be)=>{const Ze=d(be);return re[Ze]||(re[Ze]=[]),re[Ze].push(be),re},{})).map(([re,be])=>C.jsxs("div",{className:gt.optionGroup,children:[C.jsx("div",{className:gt.groupLabel,children:re}),be.map(Ze=>C.jsx("div",{className:`${gt.optionItem} ${Ze.disabled?gt.disabled:""} ${Ze.highlight?gt.highlight:""}`,style:{backgroundColor:M===Ze.value?w||"#f5f5f5":Ze.highlight?v||"#e3f2fd":"transparent"},onClick:()=>Rt(Ze),onMouseEnter:()=>Ue(Number(Ze.value)),onMouseLeave:()=>Ue(-1),children:r==="basic"?ue(Ze):m?m(Ze):ue(Ze)},Ze.value))]},re)):K.map((re,be)=>C.jsx("div",{className:`${gt.optionItem} ${re.disabled?gt.disabled:""} ${re.highlight?gt.highlight:""}`,style:{backgroundColor:M===be?w||"#f5f5f5":re.highlight?v||"#e3f2fd":"transparent"},onClick:()=>Rt(re),onMouseEnter:()=>Ue(be),onMouseLeave:()=>Ue(-1),children:r==="basic"?ue(re):m?m(re):ue(re)},re.value))}):C.jsx("div",{className:gt.empty,children:(g==null?void 0:g())||C.jsx(jt,{...k})})})})]})},JS="_commonRippleEffect_r1h8y_57",YS="_rippleRect_r1h8y_1",XS="_commonErrorAnimation_r1h8y_83",ZS="_shake_r1h8y_1",eN="_commonClickedAnimation_r1h8y_87",tN="_clickedAnimation_r1h8y_1",nN="_commonStarAnimation_r1h8y_91",rN="_starAnimation_r1h8y_1",iN="_cascader_r1h8y_95",sN="_selector_r1h8y_100",aN="_focused_r1h8y_114",oN="_disabled_r1h8y_118",lN="_input_r1h8y_123",cN="_clearIcon_r1h8y_144",dN="_icon_r1h8y_160",uN="_arrow_r1h8y_164",pN="_open_r1h8y_174",hN="_dropdown_r1h8y_178",mN="_panel_r1h8y_189",fN="_column_r1h8y_197",gN="_option_r1h8y_221",xN="_active_r1h8y_237",vN="_label_r1h8y_247",jN="_expandIcon_r1h8y_254",_N="_loading_r1h8y_259",yN="_rotating_r1h8y_1",bN="_searchResults_r1h8y_263",wN="_searchOption_r1h8y_269",CN="_empty_r1h8y_281",kN="_slideDown_r1h8y_1",SN="_fadeIn_r1h8y_1",ot={commonRippleEffect:JS,rippleRect:YS,commonErrorAnimation:XS,shake:ZS,commonClickedAnimation:eN,clickedAnimation:tN,commonStarAnimation:nN,starAnimation:rN,cascader:iN,selector:sN,focused:aN,disabled:oN,input:lN,clearIcon:cN,icon:dN,arrow:uN,open:pN,dropdown:hN,panel:mN,column:fN,option:gN,active:xN,label:vN,expandIcon:jN,loading:_N,rotating:yN,searchResults:bN,searchOption:wN,empty:CN,slideDown:kN,fadeIn:SN},NN=({options:e=[],activePath:t=[],expandTrigger:r="click",maxLevel:i=6,onLevelSelect:s,optionRender:a,optionStyle:o})=>{const[l,c]=y.useState(()=>{var g;const j=[e];for(let b=0;bu.value===k.value);(g=_==null?void 0:_.children)!=null&&g.length&&j.push(_.children)}return j});y.useEffect(()=>{var g;const j=[e];for(let b=0;bu.value===k.value);(g=_==null?void 0:_.children)!=null&&g.length&&j.push(_.children)}c(j)},[t,e,i]);const[d,p]=y.useState(null),h=(g,j)=>{var b;g.disabled||(s==null||s(g,j),(b=g.children)!=null&&b.length&&j{const _=[...k.slice(0,j+1)];return _.push(g.children),_}))},m=(g,j)=>{var b;if(!g.disabled&&(p({option:g,level:j}),r==="hover"&&(b=g.children)!=null&&b.length&&jC.jsx("ul",{className:ot.column,children:g.map(b=>{var k;const _=((k=t[j])==null?void 0:k.value)===b.value,u=(d==null?void 0:d.option.value)===b.value&&d.level===j,f=b.children&&b.children.length>0;return C.jsx("li",{className:` ${ot.option} - ${j?ot.active:""} - ${d?ot.hover:""} + ${_?ot.active:""} + ${u?ot.hover:""} ${b.disabled?ot.disabled:""} ${b.loading?ot.loading:""} - `,style:o,onClick:()=>m(b,_),onMouseEnter:()=>h(b,_),onMouseLeave:()=>p(null),children:a?a(b,_):C.jsxs(C.Fragment,{children:[C.jsx("span",{className:ot.label,children:b.label}),f&&_{const[w,g]=y.useState(!1),[N,S]=y.useState(i||s||[]),[L,E]=y.useState([]),O=y.useRef(null),[Q,q]=y.useState(""),[U,D]=y.useState([]),G=y.useRef(null),ee=y.useCallback(K=>{K.preventDefault(),K.stopPropagation(),l||g(de=>!de)},[l]);y.useEffect(()=>{if(!w)return;const K=de=>{const Ne=de.target;O.current&&!O.current.contains(Ne)&&G.current&&!G.current.contains(Ne)&&(g(!1),q(""))};return document.addEventListener("mousedown",K),()=>{document.removeEventListener("mousedown",K)}},[w]);const R=y.useCallback((K,de)=>{S(K),E(de),q(""),D([]),a==null||a(K,de),g(!1)},[a]),M=y.useCallback(K=>{K.stopPropagation(),S([]),E([]),a==null||a([],[])},[a]),T=y.useCallback(K=>{if(q(K),!K){D([]);return}const de=(Ke,Mt=[])=>Ke.reduce((wt,Tt)=>{const It=[...Mt,Tt],Ue={...Tt,path:It};return Tt.disabled||(wt.push(Ue),Tt.children&&wt.push(...de(Tt.children,It))),wt},[]),Ne=de(r).filter(Ke=>x?x(K,Ke.path):Ke.path.some(Mt=>{var wt;return(wt=Mt.label)==null?void 0:wt.toString().toLowerCase().includes(K.toLowerCase())}));D(Ne)},[r,x]),J=()=>{if(Q&&h)return Q;if(o){const K=o(L.map(de=>String(de.label)),L);return typeof K=="string"?K:""}return L.map(K=>String(K.label)).join(" / ")||""},X=y.useCallback(()=>{if(!G.current||!O.current)return;const K=O.current.getBoundingClientRect(),de=G.current,Ne=window.innerHeight,{bottom:Ke,left:Mt,height:wt}=K,Tt=de.offsetHeight||300,It=Ne-Ke,Ue=Ke-wt,ne=It>=Tt||It>=Ue;de.style.position="fixed",de.style.left=`${Mt}px`,de.style.width=`${K.width}px`,de.style.zIndex="1000",ne?(de.style.top=`${Ke}px`,de.style.bottom="auto",de.style.maxHeight=`${It-8}px`):(de.style.bottom=`${Ne-(Ke-wt)}px`,de.style.top="auto",de.style.maxHeight=`${Ue-8}px`)},[]),Ae=()=>w?Wu.createPortal(C.jsx("div",{ref:G,className:`${ot.dropdown} ${b||""}`,style:{position:"fixed",visibility:"hidden",...f},onClick:K=>{K.preventDefault(),K.stopPropagation()},children:Q&&h?C.jsx("div",{className:ot.searchResults,children:U.length>0?U.map(K=>C.jsx("div",{className:ot.searchOption,onClick:()=>{const de=K.path.map(Ne=>Ne.value);R(de,K.path)},children:K.path.map(de=>de.label).join(" / ")},`${K.value}-${K.path.length}`)):C.jsx("div",{className:ot.empty,children:"No results found"})}):C.jsx(rS,{label:e,name:t,options:r,activePath:L,expandTrigger:p,maxLevel:d,optionStyle:v,onLevelSelect:(K,de)=>{const Ne=L.slice(0,de).concat(K);(!K.children||K.isLeaf)&&R(Ne.map(Ke=>Ke.value),Ne),_&&!K.children&&!K.isLeaf&&_(Ne)},optionRender:k})}),document.body):null;return y.useEffect(()=>{if(!w||!G.current)return;const K=requestAnimationFrame(()=>{G.current&&(G.current.style.visibility="visible",X())});return()=>cancelAnimationFrame(K)},[w,X]),C.jsxs("div",{className:`${ot.cascader} ${m||""}`,ref:O,style:{width:j},children:[C.jsxs("div",{className:`${ot.selector} ${l?ot.disabled:""} ${w?ot.focused:""}`,onClick:ee,children:[C.jsx(Me,{label:e,name:t,value:J(),readOnly:!h,disabled:l,placeholder:c,className:ot.input,onChange:K=>h&&T(K),onFocus:()=>!l&&g(!0)}),u&&N.length>0&&!l&&C.jsx("span",{className:ot.clearIcon,onClick:K=>{K.stopPropagation(),M(K),q(""),D([])},children:C.jsx(Wa,{className:ot.icon})}),C.jsx("span",{className:`${ot.arrow} ${w?ot.open:""}`,children:C.jsx(K0,{className:ot.icon})})]}),Ae()]})};var Q0={exports:{}};/*! + `,style:o,onClick:()=>h(b,j),onMouseEnter:()=>m(b,j),onMouseLeave:()=>p(null),children:a?a(b,j):C.jsxs(C.Fragment,{children:[C.jsx("span",{className:ot.label,children:b.label}),f&&j{const[w,x]=y.useState(!1),[N,S]=y.useState(i||s||[]),[E,L]=y.useState([]),F=y.useRef(null),[J,q]=y.useState(""),[U,D]=y.useState([]),G=y.useRef(null),ee=y.useCallback(K=>{K.preventDefault(),K.stopPropagation(),l||x(ue=>!ue)},[l]);y.useEffect(()=>{if(!w)return;const K=ue=>{const ze=ue.target;F.current&&!F.current.contains(ze)&&G.current&&!G.current.contains(ze)&&(x(!1),q(""))};return document.addEventListener("mousedown",K),()=>{document.removeEventListener("mousedown",K)}},[w]);const A=y.useCallback((K,ue)=>{S(K),L(ue),q(""),D([]),a==null||a(K,ue),x(!1)},[a]),M=y.useCallback(K=>{K.stopPropagation(),S([]),L([]),a==null||a([],[])},[a]),B=y.useCallback(K=>{if(q(K),!K){D([]);return}const ue=(Ke,Bt=[])=>Ke.reduce((wt,Tt)=>{const Rt=[...Bt,Tt],Ue={...Tt,path:Rt};return Tt.disabled||(wt.push(Ue),Tt.children&&wt.push(...ue(Tt.children,Rt))),wt},[]),ze=ue(r).filter(Ke=>g?g(K,Ke.path):Ke.path.some(Bt=>{var wt;return(wt=Bt.label)==null?void 0:wt.toString().toLowerCase().includes(K.toLowerCase())}));D(ze)},[r,g]),Y=()=>{if(J&&m)return J;if(o){const K=o(E.map(ue=>String(ue.label)),E);return typeof K=="string"?K:""}return E.map(K=>String(K.label)).join(" / ")||""},X=y.useCallback(()=>{if(!G.current||!F.current)return;const K=F.current.getBoundingClientRect(),ue=G.current,ze=window.innerHeight,{bottom:Ke,left:Bt,height:wt}=K,Tt=ue.offsetHeight||300,Rt=ze-Ke,Ue=Ke-wt,re=Rt>=Tt||Rt>=Ue;ue.style.position="fixed",ue.style.left=`${Bt}px`,ue.style.width=`${K.width}px`,ue.style.zIndex="1000",re?(ue.style.top=`${Ke}px`,ue.style.bottom="auto",ue.style.maxHeight=`${Rt-8}px`):(ue.style.bottom=`${ze-(Ke-wt)}px`,ue.style.top="auto",ue.style.maxHeight=`${Ue-8}px`)},[]),Pe=()=>w?jp.createPortal(C.jsx("div",{ref:G,className:`${ot.dropdown} ${b||""}`,style:{position:"fixed",visibility:"hidden",...f},onClick:K=>{K.preventDefault(),K.stopPropagation()},children:J&&m?C.jsx("div",{className:ot.searchResults,children:U.length>0?U.map(K=>C.jsx("div",{className:ot.searchOption,onClick:()=>{const ue=K.path.map(ze=>ze.value);A(ue,K.path)},children:K.path.map(ue=>ue.label).join(" / ")},`${K.value}-${K.path.length}`)):C.jsx("div",{className:ot.empty,children:"No results found"})}):C.jsx(NN,{label:e,name:t,options:r,activePath:E,expandTrigger:p,maxLevel:u,optionStyle:v,onLevelSelect:(K,ue)=>{const ze=E.slice(0,ue).concat(K);(!K.children||K.isLeaf)&&A(ze.map(Ke=>Ke.value),ze),j&&!K.children&&!K.isLeaf&&j(ze)},optionRender:k})}),document.body):null;return y.useEffect(()=>{if(!w||!G.current)return;const K=requestAnimationFrame(()=>{G.current&&(G.current.style.visibility="visible",X())});return()=>cancelAnimationFrame(K)},[w,X]),C.jsxs("div",{className:`${ot.cascader} ${h||""}`,ref:F,style:{width:_},children:[C.jsxs("div",{className:`${ot.selector} ${l?ot.disabled:""} ${w?ot.focused:""}`,onClick:ee,children:[C.jsx(Me,{label:e,name:t,value:Y(),readOnly:!m,disabled:l,placeholder:c,className:ot.input,onChange:K=>m&&B(K),onFocus:()=>!l&&x(!0)}),d&&N.length>0&&!l&&C.jsx("span",{className:ot.clearIcon,onClick:K=>{K.stopPropagation(),M(K),q(""),D([])},children:C.jsx(uo,{className:ot.icon})}),C.jsx("span",{className:`${ot.arrow} ${w?ot.open:""}`,children:C.jsx(Vg,{className:ot.icon})})]}),Pe()]})};var Gg={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a="",o=0;o{if(!o)return C.jsx(C.Fragment,{children:a});const k=()=>_||b?null:Array(u).fill(null).map((w,g)=>C.jsx("div",{className:yn(zt.skeleton,zt[e],zt[`animation-${t}`]),style:{width:typeof r=="number"?`${r}px`:r,height:typeof i=="number"?`${i}px`:i,borderRadius:l,...c}},g)),j=()=>p?C.jsx("div",{className:yn(zt.skeleton,zt.avatar,zt[`animation-${t}`],zt[`avatar-${h}`]),style:{width:typeof m=="number"?`${m}px`:m,height:typeof m=="number"?`${m}px`:m}}):null,d=()=>{if(!_)return null;const w=[{width:"100%",height:"16px"},{width:"100%",height:"16px"},{width:"92%",height:"16px"},{width:"60%",height:"16px"}];return C.jsx("div",{className:zt.paragraph,children:w.map((g,N)=>C.jsx("div",{className:yn(zt.skeleton,zt[`animation-${t}`]),style:{width:g.width,height:g.height}},`p-${N}`))})},f=()=>b?C.jsx("div",{className:yn(zt.skeleton,zt.title,zt[`animation-${t}`])}):null,v=()=>e==="card"?C.jsxs("div",{className:yn(zt.card,{[zt.active]:x}),children:[j(),C.jsxs("div",{className:zt.cardContent,children:[f(),d()]})]}):C.jsxs(C.Fragment,{children:[j(),C.jsxs("div",{className:zt.content,children:[f(),k(),d()]})]});return C.jsx("div",{className:yn(zt.skeletonRoot,{[zt.withAvatar]:p},s),children:v()})},IS="_commonRippleEffect_14peo_57",RS="_alert_14peo_57",PS="_closeButton_14peo_57",AS="_collapsible_14peo_57",MS="_expandButton_14peo_57",TS="_rippleRect_14peo_1",FS="_commonErrorAnimation_14peo_83",BS="_shake_14peo_1",OS="_commonClickedAnimation_14peo_87",DS="_clickedAnimation_14peo_1",US="_commonStarAnimation_14peo_91",HS="_starAnimation_14peo_1",WS="_withElevation_14peo_104",qS="_rounded_14peo_107",VS="_title_14peo_110",KS="_small_14peo_130",GS="_icon_14peo_134",QS="_medium_14peo_137",JS="_large_14peo_144",YS="_info_14peo_151",XS="_filled_14peo_155",ZS="_outlined_14peo_159",eN="_success_14peo_163",tN="_warning_14peo_175",nN="_error_14peo_187",rN="_banner_14peo_199",iN="_content_14peo_208",sN="_message_14peo_215",aN="_action_14peo_218",oN="_withAnimation_14peo_236",lN="_alertSlideIn_14peo_1",cN="_alertFadeIn_14peo_1",dN="_alertBounce_14peo_1",uN="_alertZoom_14peo_1",pN="_expanded_14peo_248",hN="_expandContent_14peo_1",mN="_slideDown_14peo_1",fN="_fadeIn_14peo_1",xt={commonRippleEffect:IS,alert:RS,closeButton:PS,collapsible:AS,expandButton:MS,rippleRect:TS,commonErrorAnimation:FS,shake:BS,commonClickedAnimation:OS,clickedAnimation:DS,commonStarAnimation:US,starAnimation:HS,withElevation:WS,rounded:qS,title:VS,small:KS,icon:GS,medium:QS,large:JS,info:YS,filled:XS,outlined:ZS,success:eN,warning:tN,error:nN,banner:rN,content:iN,message:sN,action:aN,withAnimation:oN,"animation-slideIn":"_animation-slideIn_14peo_236",alertSlideIn:lN,"animation-fadeIn":"_animation-fadeIn_14peo_239",alertFadeIn:cN,"animation-bounce":"_animation-bounce_14peo_242",alertBounce:dN,"animation-zoom":"_animation-zoom_14peo_245",alertZoom:uN,expanded:pN,expandContent:hN,slideDown:mN,fadeIn:fN},gN={info:C.jsx(zC,{}),success:C.jsx(CC,{}),warning:C.jsx($C,{}),error:C.jsx(NC,{})},xN=["slideIn","fadeIn","bounce","zoom"],Ee=({title:e,children:t,variant:r="info",size:i="medium",type:s="default",showIcon:a=!0,icon:o,closable:l=!1,closeIcon:c,onClose:u,animation:p=!0,animationName:m="slideIn",className:h,style:x,action:_,outlined:b=!1,filled:k=!1,banner:j=!1,elevation:d=!1,rounded:f=!0,borderRadius:v,collapsible:w=!1,defaultExpanded:g=!0,onExpand:N})=>{const[S,L]=y.useState(!0),[E,O]=y.useState(g),Q=y.useCallback(G=>{L(!1),u==null||u(G)},[u]),q=y.useCallback(()=>{O(G=>(N==null||N(!G),!G))},[N]);if(!S)return null;const U=yn(xt.alert,xt[r],xt[i],xt[s],{[xt.withIcon]:a,[xt.withTitle]:e,[xt.outlined]:b,[xt.filled]:k,[xt.banner]:j,[xt.withAnimation]:p,[xt[`animation-${m}`]]:p&&xN.includes(m),[xt.withElevation]:d,[xt.rounded]:f,[xt.expanded]:E,[xt.collapsible]:w},h),D={...x,...v&&{borderRadius:v}};return C.jsxs("div",{className:U,style:D,role:"alert","data-variant":r,"data-size":i,"data-type":s,children:[a&&C.jsx("span",{className:xt.icon,role:"img","aria-label":`${r} icon`,children:o||gN[r]}),C.jsxs("div",{className:xt.content,children:[e&&C.jsxs("div",{className:xt.title,children:[e,w&&C.jsx("button",{className:xt.expandButton,onClick:q,"aria-label":E?"收起":"展开","aria-expanded":E,children:E?C.jsx(SC,{}):C.jsx(K0,{})})]}),(!w||E)&&C.jsx("div",{className:xt.message,children:t})]}),_&&C.jsx("div",{className:xt.action,children:_}),l&&C.jsx("button",{className:xt.closeButton,onClick:Q,"aria-label":"Close",type:"button",children:c||C.jsx(Wa,{})})]})},vN="_commonRippleEffect_18hxg_57",jN="_rippleRect_18hxg_1",_N="_commonErrorAnimation_18hxg_83",yN="_shake_18hxg_1",bN="_commonClickedAnimation_18hxg_87",wN="_clickedAnimation_18hxg_1",CN="_commonStarAnimation_18hxg_91",kN="_starAnimation_18hxg_1",SN="_space_18hxg_95",NN="_block_18hxg_99",zN="_horizontal_18hxg_103",$N="_vertical_18hxg_106",LN="_wrap_18hxg_109",EN="_compact_18hxg_112",IN="_item_18hxg_112",RN="_split_18hxg_152",PN="_responsive_18hxg_159",AN="_slideDown_18hxg_1",MN="_fadeIn_18hxg_1",rr={commonRippleEffect:vN,rippleRect:jN,commonErrorAnimation:_N,shake:yN,commonClickedAnimation:bN,clickedAnimation:wN,commonStarAnimation:CN,starAnimation:kN,space:SN,block:NN,horizontal:zN,vertical:$N,wrap:LN,compact:EN,item:IN,"align-start":"_align-start_18hxg_115","align-end":"_align-end_18hxg_118","align-center":"_align-center_18hxg_121","align-baseline":"_align-baseline_18hxg_124","align-stretch":"_align-stretch_18hxg_127","justify-start":"_justify-start_18hxg_130","justify-end":"_justify-end_18hxg_133","justify-center":"_justify-center_18hxg_136","justify-space-around":"_justify-space-around_18hxg_139","justify-space-between":"_justify-space-between_18hxg_142","justify-space-evenly":"_justify-space-evenly_18hxg_145",split:RN,responsive:PN,slideDown:AN,fadeIn:MN},V=({align:e,justify:t,direction:r="horizontal",size:i="medium",wrap:s=!1,split:a,compact:o=!1,block:l=!1,className:c,style:u,children:p})=>{const m=je.Children.toArray(p).filter(b=>b!=null),h=()=>{if(typeof i=="number")return i;const b={small:8,medium:16,large:24};return o?b[i]/2:b[i]},x=yn(rr.space,{[rr.vertical]:r==="vertical",[rr.horizontal]:r==="horizontal",[rr.wrap]:s,[rr.block]:l,[rr[`align-${e}`]]:e,[rr[`justify-${t}`]]:t,[rr.compact]:o},c),_={marginRight:r==="horizontal"?h():0,marginBottom:r==="vertical"||s?h():0};return C.jsx("div",{className:x,style:u,role:"group","aria-orientation":r,children:m.map((b,k)=>C.jsxs(je.Fragment,{children:[C.jsx("div",{className:rr.item,style:_,children:b}),a&&k{const m={...p,...r&&{borderColor:r},...i&&{borderWidth:i},...t==="vertical"&&s&&{height:s},...t==="horizontal"&&s&&{width:s},...a&&{marginTop:t==="horizontal"?a:0,marginBottom:t==="horizontal"?a:0,marginLeft:t==="vertical"?a:0,marginRight:t==="vertical"?a:0}},h=yn(mi.divider,mi[e],mi[t],o&&mi.withText,o&&mi[`text${l.charAt(0).toUpperCase()+l.slice(1)}`],c&&mi.elevation,u);return C.jsx("div",{className:h,style:m,children:o&&C.jsx("span",{className:mi.text,children:o})})},vt=je.memo(sz),az="_commonRippleEffect_1rurt_57",oz="_rippleRect_1rurt_1",lz="_commonErrorAnimation_1rurt_83",cz="_shake_1rurt_1",dz="_commonClickedAnimation_1rurt_87",uz="_clickedAnimation_1rurt_1",pz="_commonStarAnimation_1rurt_91",hz="_starAnimation_1rurt_1",mz="_tag_1rurt_95",fz="_small_1rurt_104",gz="_medium_1rurt_109",xz="_large_1rurt_114",vz="_square_1rurt_119",jz="_rounded_1rurt_122",_z="_circle_1rurt_125",yz="_primary_1rurt_132",bz="_success_1rurt_136",wz="_warning_1rurt_140",Cz="_error_1rurt_144",kz="_info_1rurt_148",Sz="_clickable_1rurt_152",Nz="_disabled_1rurt_152",zz="_bordered_1rurt_161",$z="_elevation_1rurt_165",Lz="_icon_1rurt_173",Ez="_content_1rurt_178",Iz="_closeIcon_1rurt_181",Rz="_ripple_1rurt_192",Pz="_rippleAnimation_1rurt_1",Az="_slideDown_1rurt_1",Mz="_fadeIn_1rurt_1",zn={commonRippleEffect:az,rippleRect:oz,commonErrorAnimation:lz,shake:cz,commonClickedAnimation:dz,clickedAnimation:uz,commonStarAnimation:pz,starAnimation:hz,tag:mz,small:fz,medium:gz,large:xz,square:vz,rounded:jz,circle:_z,default:"_default_1rurt_128",primary:yz,success:bz,warning:wz,error:Cz,info:kz,clickable:Sz,disabled:Nz,bordered:zz,elevation:$z,icon:Lz,content:Ez,closeIcon:Iz,ripple:Rz,rippleAnimation:Pz,slideDown:Az,fadeIn:Mz},_e=({children:e,variant:t="default",size:r="medium",shape:i="rounded",closable:s=!1,onClose:a,clickable:o=!1,onClick:l,icon:c,bordered:u=!1,elevation:p=!1,bgColor:m,textColor:h,borderColor:x,className:_,style:b,disabled:k=!1,closeIcon:j,ripple:d=!0})=>{const f=y.useCallback(N=>{N.stopPropagation(),!k&&a&&a(N)},[k,a]),v=y.useCallback(N=>{!k&&o&&l&&l(N)},[k,o,l]),w=y.useCallback(N=>{if(!d||k)return;const S=N.currentTarget,L=S.getBoundingClientRect(),E=document.createElement("span"),O=Math.max(L.width,L.height),Q=O/2;E.style.width=E.style.height=`${O}px`,E.style.left=`${N.clientX-L.left-Q}px`,E.style.top=`${N.clientY-L.top-Q}px`,E.className=zn.ripple,S.appendChild(E),setTimeout(()=>{S.removeChild(E)},600)},[d,k]),g={...b,backgroundColor:m,color:h,borderColor:x};return C.jsxs("div",{className:yn(zn.tag,zn[t],zn[r],zn[i],{[zn.clickable]:o&&!k,[zn.bordered]:u,[zn.elevation]:p,[zn.disabled]:k},_),style:g,onClick:N=>{v(N),w(N)},children:[c&&C.jsx("span",{className:zn.icon,children:c}),C.jsx("span",{className:zn.content,children:e}),s&&C.jsx("span",{className:zn.closeIcon,onClick:f,children:j||C.jsx(Wa,{})})]})},Tz="_commonRippleEffect_63kgx_57",Fz="_rippleRect_63kgx_1",Bz="_commonErrorAnimation_63kgx_83",Oz="_shake_63kgx_1",Dz="_commonClickedAnimation_63kgx_87",Uz="_clickedAnimation_63kgx_1",Hz="_commonStarAnimation_63kgx_91",Wz="_starAnimation_63kgx_1",qz="_disabled_63kgx_105",Vz="_label_63kgx_109",Kz="_switchBase_63kgx_135",Gz="_track_63kgx_154",Qz="_checked_63kgx_161",Jz="_thumb_63kgx_165",Yz="_checkedLarge_63kgx_184",Xz="_square_63kgx_194",Zz="_loading_63kgx_197",e$="_switchLoading_63kgx_1",t$="_rippleEffect_63kgx_208",n$="_ripple_63kgx_208",r$="_small_63kgx_225",i$="_large_63kgx_243",s$="_primary_63kgx_259",a$="_secondary_63kgx_267",o$="_success_63kgx_274",l$="_warning_63kgx_281",c$="_error_63kgx_288",d$="_icon_63kgx_295",u$="_loadingIcon_63kgx_314",p$="_slideDown_63kgx_1",h$="_fadeIn_63kgx_1",Dt={commonRippleEffect:Tz,rippleRect:Fz,commonErrorAnimation:Bz,shake:Oz,commonClickedAnimation:Dz,clickedAnimation:Uz,commonStarAnimation:Hz,starAnimation:Wz,switch:"_switch_63kgx_95",disabled:qz,"label-start":"_label-start_63kgx_109",label:Vz,"label-end":"_label-end_63kgx_115","label-top":"_label-top_63kgx_118","label-bottom":"_label-bottom_63kgx_124",switchBase:Kz,track:Gz,checked:Qz,thumb:Jz,checkedLarge:Yz,square:Xz,loading:Zz,switchLoading:e$,rippleEffect:t$,ripple:n$,small:r$,large:i$,primary:s$,secondary:a$,success:o$,warning:l$,error:c$,icon:d$,loadingIcon:u$,slideDown:p$,fadeIn:h$},H=({checked:e,defaultChecked:t=!1,disabled:r=!1,size:i="medium",color:s="primary",shape:a="round",label:o,labelPlacement:l="end",loading:c=!1,ripple:u=!0,className:p,labelStyle:m,trackStyle:h,thumbStyle:x,onChange:_,onFocus:b,onBlur:k,icon:j,iconPlacement:d="start"})=>{const[f,v]=y.useState(e??t),[w,g]=y.useState(!1),N=y.useRef(null);y.useEffect(()=>{e!==void 0&&v(e)},[e]);const S=U=>{r||c||(e===void 0&&v(U.target.checked),_==null||_(U.target.checked,U))},L=()=>{!u||r||c||(g(!0),setTimeout(()=>g(!1),400))},E=yn(Dt.switch,Dt[i],{[Dt.checked]:f,[Dt.checkedLarge]:f&&i==="large",[Dt.disabled]:r,[Dt.loading]:c,[Dt.square]:a==="square",[Dt.ripple]:u&&w,[Dt[s]]:Object.prototype.hasOwnProperty.call(Dt,s)},p),O={...f&&!r&&!Object.prototype.hasOwnProperty.call(Dt,s)?{backgroundColor:s,color:s}:{},...x},Q=()=>o?C.jsx("span",{className:Dt.label,children:o}):null,q=()=>j?C.jsx("span",{className:Dt.icon,children:j}):null;return C.jsxs("label",{className:E,style:m,ref:N,onClick:L,children:[l==="start"&&Q(),C.jsxs("div",{className:Dt.switchBase,children:[C.jsx("input",{type:"checkbox",checked:f,disabled:r||c,onChange:S,onFocus:b,onBlur:k}),C.jsx("div",{className:Dt.track,style:h}),C.jsx("div",{className:Dt.thumb,style:O,children:d==="start"&&q()}),u&&C.jsx("div",{className:Dt.rippleEffect})]}),d==="end"&&q(),l==="end"&&Q()]})};var J0,m1=Wu;J0=m1.createRoot,m1.hydrateRoot;const m$="_commonRippleEffect_lmaea_57",f$="_rippleRect_lmaea_1",g$="_commonErrorAnimation_lmaea_83",x$="_shake_lmaea_1",v$="_commonClickedAnimation_lmaea_87",j$="_clickedAnimation_lmaea_1",_$="_commonStarAnimation_lmaea_91",y$="_starAnimation_lmaea_1",b$="_messageContainer_lmaea_95",w$="_top_lmaea_106",C$="_message_lmaea_95",k$="_messageSlideInTop_lmaea_1",S$="_topLeft_lmaea_114",N$="_messageSlideInLeft_lmaea_1",z$="_topRight_lmaea_121",$$="_messageSlideInRight_lmaea_1",L$="_bottom_lmaea_128",E$="_messageSlideInBottom_lmaea_1",I$="_bottomLeft_lmaea_137",R$="_messageSlideInBottomLeft_lmaea_1",P$="_bottomRight_lmaea_145",A$="_messageSlideInBottomRight_lmaea_1",M$="_messageSlideIn_lmaea_1",T$="_content_lmaea_169",F$="_icon_lmaea_177",B$="_closeButton_lmaea_181",O$="_progressBar_lmaea_200",D$="_progressSlide_lmaea_1",U$="_paused_lmaea_224",H$="_success_lmaea_227",W$="_error_lmaea_240",q$="_warning_lmaea_253",V$="_info_lmaea_266",K$="_loading_lmaea_279",G$="_loadingIcon_lmaea_285",Q$="_loadingSpin_lmaea_1",J$="_slideDown_lmaea_1",Y$="_fadeIn_lmaea_1",X$="_spin_lmaea_1",or={commonRippleEffect:m$,rippleRect:f$,commonErrorAnimation:g$,shake:x$,commonClickedAnimation:v$,clickedAnimation:j$,commonStarAnimation:_$,starAnimation:y$,messageContainer:b$,top:w$,message:C$,messageSlideInTop:k$,topLeft:S$,messageSlideInLeft:N$,topRight:z$,messageSlideInRight:$$,bottom:L$,messageSlideInBottom:E$,bottomLeft:I$,messageSlideInBottomLeft:R$,bottomRight:P$,messageSlideInBottomRight:A$,messageSlideIn:M$,content:T$,icon:F$,closeButton:B$,progressBar:O$,progressSlide:D$,paused:U$,success:H$,error:W$,warning:q$,info:V$,loading:K$,loadingIcon:G$,loadingSpin:Q$,slideDown:J$,fadeIn:Y$,spin:X$},Y0=({id:e,type:t="info",content:r,duration:i=3e3,showClose:s=!1,icon:a,className:o="",style:l,onClose:c,showProgress:u=!0,pauseOnHover:p=!0,placement:m="topRight",onClick:h,description:x,closeAriaLabel:_="Close"})=>{const[b,k]=y.useState(100),[j,d]=y.useState(!1);y.useEffect(()=>{if(i>0){const v=Date.now(),w=setInterval(()=>{if(!j){const g=Date.now()-v,N=Math.max(0,100-g/i*100);k(N),N===0&&(clearInterval(w),c==null||c(e))}},10);return()=>clearInterval(w)}},[i,j,e,c]);const f=()=>{c==null||c(e)};return C.jsxs("div",{className:`${or.message} ${or[t]} ${o}`,style:{...l,position:"fixed",...Z$(m)},onClick:h,onMouseEnter:()=>p&&d(!0),onMouseLeave:()=>p&&d(!1),role:"alert",children:[C.jsxs("div",{className:or.content,children:[a&&C.jsx("span",{className:or.icon,children:a}),C.jsx("span",{children:r})]}),s&&C.jsx("button",{className:or.closeButton,onClick:f,"aria-label":_,children:C.jsx(Wa,{})}),u&&i>0&&C.jsx("div",{className:`${or.progressBar} ${j?or.paused:""}`,style:{width:`${b}%`}})]})},Z$=e=>{switch(e){case"top":return{top:"20px",left:"50%",transform:"translateX(-50%)"};case"topLeft":return{top:"20px",left:"20px"};case"topRight":return{top:"20px",right:"20px"};case"bottom":return{bottom:"20px",left:"50%",transform:"translateX(-50%)"};case"bottomLeft":return{bottom:"20px",left:"20px"};case"bottomRight":return{bottom:"20px",right:"20px"};default:return{top:"20px",right:"20px"}}},_i={top:[],topLeft:[],topRight:[],bottom:[],bottomLeft:[],bottomRight:[]};let eL=0;const tL=e=>{const t=`message-container-${e}`;let r=document.getElementById(t);return r||(r=document.createElement("div"),r.id=t,r.className=`${or.messageContainer} ${or[e]}`,e.includes("top")?r.style.top="20px":r.style.bottom="20px",e.includes("Left")?r.style.left="24px":e.includes("Right")?r.style.right="24px":(r.style.left="50%",r.style.transform="translateX(-50%)",r.style.width="384px"),document.body.appendChild(r)),r},Wd=(e,t)=>{const r=_i[t],i=r.findIndex(s=>s.id===e);if(i>-1&&(r[i].root.unmount(),r.splice(i,1),r.length===0)){const s=document.getElementById(`message-container-${t}`);s&&document.body.removeChild(s)}},nL=e=>{const t=e.id||`message-${eL++}`,r=e.placement||"topRight",i=tL(r),s=document.createElement("div");s.className=or.messageWrapper,i.appendChild(s);const a=J0(s),o={...e,id:t,placement:r,duration:e.duration??3e3,onClose:l=>{var c;(c=e.onClose)==null||c.call(e,l),Wd(l,r)}};return _i[r].push({id:t,props:o,root:a}),a.render(C.jsx(Y0,{...o})),t},Ks=e=>t=>{const r=typeof t=="object"&&!je.isValidElement(t)?{...t,type:e}:{content:t,type:e};return nL(r)},be={success:Ks("success"),error:Ks("error"),info:Ks("info"),warning:Ks("warning"),loading:Ks("loading"),destroy:e=>{e?Object.entries(_i).forEach(([t,r])=>{r.find(i=>i.id===e)&&Wd(e,t)}):(Object.entries(_i).forEach(([t,r])=>{r.forEach(s=>{s.root.unmount()});const i=document.getElementById(`message-container-${t}`);i&&document.body.removeChild(i)}),Object.keys(_i).forEach(t=>{_i[t]=[]}))},update:(e,t)=>{Object.entries(_i).forEach(([r,i])=>{const s=i.find(a=>a.id===e);if(s){const a={...s.props,...t,onClose:o=>{var l;(l=t.onClose)==null||l.call(t,o),Wd(o,r)}};s.props=a,s.root.render(C.jsx(Y0,{...a}))}})}},rL=()=>{const e=y.useCallback((t,r)=>{const i=typeof r=="string"?{content:r,id:Date.now().toString()}:r,s=be[t](i),a=i.duration??3e3,o=()=>{let l=Promise.resolve();return{then:c=>(a>0&&(l=l.then(()=>new Promise(u=>setTimeout(()=>{Promise.resolve(c()).then(u)},a)))),o()),catch:c=>(l=l.catch(c),o()),messageId:s}};return o()},[]);return{info:t=>e("info",t),success:t=>e("success",t),warning:t=>e("warning",t),error:t=>e("error",t),loading:t=>e("loading",t),destroy:be.destroy,update:be.update}},iL="_pagination_1dnh8_27",sL="_item_1dnh8_35",aL="_active_1dnh8_64",oL="_disabled_1dnh8_76",lL="_jump_1dnh8_85",cL="_jumpWrapper_1dnh8_88",dL="_jumpHint_1dnh8_93",uL="_ripple_1dnh8_103",pL="_simpleInput_1dnh8_111",hL="_simpleDivider_1dnh8_136",mL="_jumper_1dnh8_140",fL="_sizeChanger_1dnh8_167",gL="_total_1dnh8_191",xL="_responsive_1dnh8_285",vL="_prev_1dnh8_285",jL="_next_1dnh8_285",et={pagination:iL,item:sL,active:aL,disabled:oL,jump:lL,jumpWrapper:cL,jumpHint:dL,ripple:uL,simpleInput:pL,simpleDivider:hL,jumper:mL,sizeChanger:fL,total:gL,responsive:xL,prev:vL,next:jL},Ut=({current:e=1,total:t=0,pageSize:r=10,onChange:i,disabled:s=!1,showQuickJumper:a=!1,showSizeChanger:o=!1,pageSizeOptions:l=[10,20,50,100],itemRender:c,className:u,style:p,showTotal:m=!1,totalRender:h,size:x="medium",shape:_="rounded",variant:b="filled",simple:k=!1,responsive:j=!1,icons:d={prev:C.jsx(kC,{}),next:C.jsx(G0,{}),jumpPrev:C.jsx(h1,{}),jumpNext:C.jsx(h1,{})}})=>{const[f,v]=y.useState(""),[w,g]=y.useState(r),[N,S]=y.useState([]),L=y.useRef(0),E=Math.ceil(t/w),O=y.useCallback(()=>{const M=[];let T=Math.max(1,e-Math.floor(2.5));const J=Math.min(E,T+5-1);J-T+1<5&&(T=Math.max(1,J-5+1));for(let X=T;X<=J;X++)M.push(X);return M},[e,E]),Q=y.useCallback((M,T)=>{if(!(M===e||M<1||M>E||s)){if(T){const J=T.currentTarget.getBoundingClientRect(),X={x:T.clientX-J.left,y:T.clientY-J.top,id:L.current++};S(Ae=>[...Ae,X])}i==null||i(M,w)}},[e,E,s,i,w]),q=y.useCallback(M=>{if(M.key==="Enter"){const T=parseInt(f);!isNaN(T)&&T>=1&&T<=E&&(i==null||i(T,w),v(""))}},[f,E,i,w]),U=y.useCallback(M=>{const T=parseInt(M.target.value);g(T),i==null||i(1,T)},[i]);y.useEffect(()=>{const M=setTimeout(()=>{N.length>0&&S([])},1e3);return()=>clearTimeout(M)},[N]);const D=y.useCallback((M,T)=>{const J=s||(T==="prev"?e<=1:T==="next"?e>=E:!1),X=yn(et.item,{[et.active]:T==="page"&&M===e,[et.disabled]:J,[et.prev]:T==="prev",[et.next]:T==="next",[et.jump]:T==="jump-prev"||T==="jump-next"});let Ae;switch(T){case"prev":Ae=d.prev;break;case"next":Ae=d.next;break;case"jump-prev":Ae=C.jsxs("div",{className:et.jumpWrapper,children:[d.jumpPrev,C.jsx("div",{className:et.jumpHint,children:"向前 5 页"})]});break;case"jump-next":Ae=C.jsxs("div",{className:et.jumpWrapper,children:[d.jumpNext,C.jsx("div",{className:et.jumpHint,children:"向后 5 页"})]});break;default:Ae=M}return c&&(Ae=c(M,T)),C.jsxs("div",{className:X,onClick:K=>!J&&Q(M,K),role:"button",tabIndex:J?-1:0,"aria-label":`${T==="page"?"Page ":""}${M}`,"aria-current":T==="page"&&M===e?"page":void 0,"aria-disabled":J,children:[Ae,N.map(K=>C.jsx("span",{className:et.ripple,style:{left:K.x,top:K.y}},K.id))]},`${T}-${M}`)},[e,E,c,d,Q,N,s]),G=y.useMemo(()=>{if(k)return C.jsxs(C.Fragment,{children:[D(e-1,"prev"),C.jsxs("div",{className:et.simpleInput,children:[C.jsx("input",{value:f||e,onChange:J=>v(J.target.value),onKeyDown:J=>{if(J.key==="Enter"){const X=parseInt(f);!isNaN(X)&&X>=1&&X<=E&&(i==null||i(X,w),v(""))}},onBlur:()=>v("")}),C.jsx("span",{className:et.simpleDivider,children:"/"}),C.jsx("span",{children:E})]}),D(e+1,"next")]});const M=O(),T=[];return T.push(D(e-1,"prev")),M[0]>1&&(T.push(D(1,"page")),M[0]>2&&T.push(D(e-5,"jump-prev"))),M.forEach(J=>{T.push(D(J,"page"))}),M[M.length-1]{if(!s)switch(M.key){case"ArrowLeft":Q(e-1);break;case"ArrowRight":Q(e+1);break;case"Home":Q(1);break;case"End":Q(E);break}},[e,E,s,Q]);return C.jsxs("div",{className:ee,style:p,role:"navigation","aria-label":"Pagination",onKeyDown:R,tabIndex:0,children:[m&&C.jsx("div",{className:et.total,children:h?h(t,[(e-1)*w+1,Math.min(e*w,t)]):`Total ${t} items`}),G,a&&C.jsxs("div",{className:et.jumper,children:["Go to",C.jsx("input",{value:f,onChange:M=>v(M.target.value),onKeyDown:q,"aria-label":"Jump to page"})]}),o&&C.jsx("div",{className:et.sizeChanger,children:C.jsx("select",{value:w,onChange:U,"aria-label":"Items per page",children:l.map(M=>C.jsxs("option",{value:M,children:[M," / page"]},M))})})]})},_L={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class vl{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||_L,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=new Array(t),i=0;i{this.observers[i]||(this.observers[i]=new Map);const s=this.observers[i].get(r)||0;this.observers[i].set(r,s+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s{let[o,l]=a;for(let c=0;c{let[o,l]=a;for(let c=0;c{e=i,t=s});return r.resolve=e,r.reject=t,r}function f1(e){return e==null?"":""+e}function yL(e,t,r){e.forEach(i=>{t[i]&&(r[i]=t[i])})}const bL=/###/g;function ha(e,t,r){function i(l){return l&&l.indexOf("###")>-1?l.replace(bL,"."):l}function s(){return!e||typeof e=="string"}const a=typeof t!="string"?t:t.split(".");let o=0;for(;o":">",'"':""","'":"'","/":"/"};function SL(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>kL[t]):e}class NL{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}const zL=[" ",",","?","!",";"],$L=new NL(20);function LL(e,t,r){t=t||"",r=r||"";const i=zL.filter(o=>t.indexOf(o)<0&&r.indexOf(o)<0);if(i.length===0)return!0;const s=$L.getRegExp(`(${i.map(o=>o==="?"?"\\?":o).join("|")})`);let a=!s.test(e);if(!a){const o=e.indexOf(r);o>0&&!s.test(e.substring(0,o))&&(a=!0)}return a}function qd(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const i=t.split(r);let s=e;for(let a=0;a-1&&c0?e.replace("_","-"):e}class x1 extends ql{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,o=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,r],i&&(Array.isArray(i)?l.push(...i):typeof i=="string"&&a?l.push(...i.split(a)):l.push(i)));const c=jl(this.data,l);return!c&&!r&&!i&&t.indexOf(".")>-1&&(t=l[0],r=l[1],i=l.slice(2).join(".")),c||!o||typeof i!="string"?c:qd(this.data&&this.data[t]&&this.data[t][r],i,a)}addResource(t,r,i,s){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let l=[t,r];i&&(l=l.concat(o?i.split(o):i)),t.indexOf(".")>-1&&(l=t.split("."),s=r,r=l[1]),this.addNamespaces(r),g1(this.data,l,s),a.silent||this.emit("added",t,r,i,s)}addResources(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const a in i)(typeof i[a]=="string"||Array.isArray(i[a]))&&this.addResource(t,r,a,i[a],{silent:!0});s.silent||this.emit("added",t,r,i)}addResourceBundle(t,r,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,r];t.indexOf(".")>-1&&(l=t.split("."),s=i,i=r,r=l[1]),this.addNamespaces(r);let c=jl(this.data,l)||{};o.skipCopy||(i=JSON.parse(JSON.stringify(i))),s?X0(c,i,a):c={...c,...i},g1(this.data,l,c),o.silent||this.emit("added",t,r,i)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,r)}:this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(i=>r[i]&&Object.keys(r[i]).length>0)}toJSON(){return this.data}}var Z0={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,i,s){return e.forEach(a=>{this.processors[a]&&(t=this.processors[a].process(t,r,i,s))}),t}};const v1={};class yl extends ql{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),yL(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=dr.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const i=this.resolve(t,r);return i&&i.res!==void 0}extractFromKey(t,r){let i=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const s=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let a=r.ns||this.options.defaultNS||[];const o=i&&t.indexOf(i)>-1,l=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!LL(t,i,s);if(o&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:a};const u=t.split(i);(i!==s||i===s&&this.options.ns.indexOf(u[0])>-1)&&(a=u.shift()),t=u.join(s)}return typeof a=="string"&&(a=[a]),{key:t,namespaces:a}}translate(t,r,i){if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r={...r}),r||(r={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const s=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(t[t.length-1],r),c=l[l.length-1],u=r.lng||this.language,p=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(p){const f=r.nsSeparator||this.options.nsSeparator;return s?{res:`${c}${f}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:`${c}${f}${o}`}return s?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:o}const m=this.resolve(t,r);let h=m&&m.res;const x=m&&m.usedKey||o,_=m&&m.exactUsedKey||o,b=Object.prototype.toString.apply(h),k=["[object Number]","[object Function]","[object RegExp]"],j=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,d=!this.i18nFormat||this.i18nFormat.handleAsObject;if(d&&h&&typeof h!="string"&&typeof h!="boolean"&&typeof h!="number"&&k.indexOf(b)<0&&!(typeof j=="string"&&Array.isArray(h))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const f=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,h,{...r,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return s?(m.res=f,m.usedParams=this.getUsedParamsDetails(r),m):f}if(a){const f=Array.isArray(h),v=f?[]:{},w=f?_:x;for(const g in h)if(Object.prototype.hasOwnProperty.call(h,g)){const N=`${w}${a}${g}`;v[g]=this.translate(N,{...r,joinArrays:!1,ns:l}),v[g]===N&&(v[g]=h[g])}h=v}}else if(d&&typeof j=="string"&&Array.isArray(h))h=h.join(j),h&&(h=this.extendTranslation(h,t,r,i));else{let f=!1,v=!1;const w=r.count!==void 0&&typeof r.count!="string",g=yl.hasDefaultValue(r),N=w?this.pluralResolver.getSuffix(u,r.count,r):"",S=r.ordinal&&w?this.pluralResolver.getSuffix(u,r.count,{ordinal:!1}):"",L=w&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),E=L&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${N}`]||r[`defaultValue${S}`]||r.defaultValue;!this.isValidLookup(h)&&g&&(f=!0,h=E),this.isValidLookup(h)||(v=!0,h=o);const O=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&v?void 0:h,Q=g&&E!==h&&this.options.updateMissing;if(v||f||Q){if(this.logger.log(Q?"updateKey":"missingKey",u,c,o,Q?E:h),a){const G=this.resolve(o,{...r,keySeparator:!1});G&&G.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let q=[];const U=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&U&&U[0])for(let G=0;G{const M=g&&R!==h?R:O;this.options.missingKeyHandler?this.options.missingKeyHandler(G,c,ee,M,Q,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(G,c,ee,M,Q,r),this.emit("missingKey",G,c,ee,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&w?q.forEach(G=>{const ee=this.pluralResolver.getSuffixes(G,r);L&&r[`defaultValue${this.options.pluralSeparator}zero`]&&ee.indexOf(`${this.options.pluralSeparator}zero`)<0&&ee.push(`${this.options.pluralSeparator}zero`),ee.forEach(R=>{D([G],o+R,r[`defaultValue${R}`]||E)})}):D(q,o,E))}h=this.extendTranslation(h,t,r,m,i),v&&h===o&&this.options.appendNamespaceToMissingKey&&(h=`${c}:${o}`),(v||f)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?h=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${o}`:o,f?h:void 0):h=this.options.parseMissingKeyHandler(h))}return s?(m.res=h,m.usedParams=this.getUsedParamsDetails(r),m):h}extendTranslation(t,r,i,s,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const u=typeof t=="string"&&(i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let p;if(u){const h=t.match(this.interpolator.nestingRegexp);p=h&&h.length}let m=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(m={...this.options.interpolation.defaultVariables,...m}),t=this.interpolator.interpolate(t,m,i.lng||this.language||s.usedLng,i),u){const h=t.match(this.interpolator.nestingRegexp),x=h&&h.length;p1&&arguments[1]!==void 0?arguments[1]:{},i,s,a,o,l;return typeof t=="string"&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(i))return;const u=this.extractFromKey(c,r),p=u.key;s=p;let m=u.namespaces;this.options.fallbackNS&&(m=m.concat(this.options.fallbackNS));const h=r.count!==void 0&&typeof r.count!="string",x=h&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),_=r.context!==void 0&&(typeof r.context=="string"||typeof r.context=="number")&&r.context!=="",b=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);m.forEach(k=>{this.isValidLookup(i)||(l=k,!v1[`${b[0]}-${k}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(v1[`${b[0]}-${k}`]=!0,this.logger.warn(`key "${s}" for languages "${b.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(j=>{if(this.isValidLookup(i))return;o=j;const d=[p];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(d,p,j,k,r);else{let v;h&&(v=this.pluralResolver.getSuffix(j,r.count,r));const w=`${this.options.pluralSeparator}zero`,g=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(h&&(d.push(p+v),r.ordinal&&v.indexOf(g)===0&&d.push(p+v.replace(g,this.options.pluralSeparator)),x&&d.push(p+w)),_){const N=`${p}${this.options.contextSeparator}${r.context}`;d.push(N),h&&(d.push(N+v),r.ordinal&&v.indexOf(g)===0&&d.push(N+v.replace(g,this.options.pluralSeparator)),x&&d.push(N+w))}}let f;for(;f=d.pop();)this.isValidLookup(i)||(a=f,i=this.getResource(j,k,f,r))}))})}),{res:i,usedKey:s,exactUsedKey:a,usedLng:o,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,r,i,s):this.resourceStore.getResource(t,r,i,s)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=t.replace&&typeof t.replace!="string";let s=i?t.replace:t;if(i&&typeof t.count<"u"&&(s.count=t.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!i){s={...s};for(const a of r)delete s[a]}return s}static hasDefaultValue(t){const r="defaultValue";for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&r===i.substring(0,r.length)&&t[i]!==void 0)return!0;return!1}}function Fc(e){return e.charAt(0).toUpperCase()+e.slice(1)}class j1{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=dr.create("languageUtils")}getScriptPartFromCode(t){if(t=_l(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=_l(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const r=["hans","hant","latn","cyrl","cans","mong","arab"];let i=t.split("-");return this.options.lowerCaseLng?i=i.map(s=>s.toLowerCase()):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=Fc(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=Fc(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=Fc(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(i=>{if(r)return;const s=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(s))&&(r=s)}),!r&&this.options.supportedLngs&&t.forEach(i=>{if(r)return;const s=this.getLanguagePartFromCode(i);if(this.isSupportedCode(s))return r=s;r=this.options.supportedLngs.find(a=>{if(a===s||!(a.indexOf("-")<0&&s.indexOf("-")<0)&&(a.indexOf("-")>0&&s.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===s||a.indexOf(s)===0&&s.length>1))return a})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let i=t[r];return i||(i=t[this.getScriptPartFromCode(r)]),i||(i=t[this.formatLanguageCode(r)]),i||(i=t[this.getLanguagePartFromCode(r)]),i||(i=t.default),i||[]}toResolveHierarchy(t,r){const i=this.getFallbackCodes(r||this.options.fallbackLng||[],t),s=[],a=o=>{o&&(this.isSupportedCode(o)?s.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):typeof t=="string"&&a(this.formatLanguageCode(t)),i.forEach(o=>{s.indexOf(o)<0&&a(this.formatLanguageCode(o))}),s}}let EL=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],IL={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const RL=["v1","v2","v3"],PL=["v4"],_1={zero:0,one:1,two:2,few:3,many:4,other:5};function AL(){const e={};return EL.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:IL[t.fc]}})}),e}class ML{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=dr.create("pluralResolver"),(!this.options.compatibilityJSON||PL.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=AL()}addRule(t,r){this.rules[t]=r}getRule(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(_l(t==="dev"?"en":t),{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}getPluralFormsOfKey(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,i).map(s=>`${r}${s}`)}getSuffixes(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,r);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort((s,a)=>_1[s]-_1[a]).map(s=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${s}`):i.numbers.map(s=>this.getSuffix(t,s,r)):[]}getSuffix(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(t,i);return s?this.shouldUseIntlApi()?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${s.select(r)}`:this.getSuffixRetroCompatible(s,r):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,r){const i=t.noAbs?t.plurals(r):t.plurals(Math.abs(r));let s=t.numbers[i];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(s===2?s="plural":s===1&&(s=""));const a=()=>this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString();return this.options.compatibilityJSON==="v1"?s===1?"":typeof s=="number"?`_plural_${s.toString()}`:a():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!RL.includes(this.options.compatibilityJSON)}}function y1(e,t,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=CL(e,t,r);return!a&&s&&typeof r=="string"&&(a=qd(e,r,i),a===void 0&&(a=qd(t,r,i))),a}class TL{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=dr.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(r=>r),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:r,escapeValue:i,useRawValueToEscape:s,prefix:a,prefixEscaped:o,suffix:l,suffixEscaped:c,formatSeparator:u,unescapeSuffix:p,unescapePrefix:m,nestingPrefix:h,nestingPrefixEscaped:x,nestingSuffix:_,nestingSuffixEscaped:b,nestingOptionsSeparator:k,maxReplaces:j,alwaysFormat:d}=t.interpolation;this.escape=r!==void 0?r:SL,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=s!==void 0?s:!1,this.prefix=a?Ki(a):o||"{{",this.suffix=l?Ki(l):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=p?"":m||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=h?Ki(h):x||Ki("$t("),this.nestingSuffix=_?Ki(_):b||Ki(")"),this.nestingOptionsSeparator=k||",",this.maxReplaces=j||1e3,this.alwaysFormat=d!==void 0?d:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,i)=>r&&r.source===i?(r.lastIndex=0,r):new RegExp(i,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,r,i,s){let a,o,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(x){return x.replace(/\$/g,"$$$$")}const p=x=>{if(x.indexOf(this.formatSeparator)<0){const j=y1(r,c,x,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(j,void 0,i,{...s,...r,interpolationkey:x}):j}const _=x.split(this.formatSeparator),b=_.shift().trim(),k=_.join(this.formatSeparator).trim();return this.format(y1(r,c,b,this.options.keySeparator,this.options.ignoreJSONStructure),k,i,{...s,...r,interpolationkey:b})};this.resetRegExp();const m=s&&s.missingInterpolationHandler||this.options.missingInterpolationHandler,h=s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:x=>u(x)},{regex:this.regexp,safeValue:x=>this.escapeValue?u(this.escape(x)):u(x)}].forEach(x=>{for(l=0;a=x.regex.exec(t);){const _=a[1].trim();if(o=p(_),o===void 0)if(typeof m=="function"){const k=m(t,a,s);o=typeof k=="string"?k:""}else if(s&&Object.prototype.hasOwnProperty.call(s,_))o="";else if(h){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${_} for interpolating ${t}`),o="";else typeof o!="string"&&!this.useRawValueToEscape&&(o=f1(o));const b=x.safeValue(o);if(t=t.replace(a[0],b),h?(x.regex.lastIndex+=o.length,x.regex.lastIndex-=a[0].length):x.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,a,o;function l(c,u){const p=this.nestingOptionsSeparator;if(c.indexOf(p)<0)return c;const m=c.split(new RegExp(`${p}[ ]*{`));let h=`{${m[1]}`;c=m[0],h=this.interpolate(h,o);const x=h.match(/'/g),_=h.match(/"/g);(x&&x.length%2===0&&!_||_.length%2!==0)&&(h=h.replace(/'/g,'"'));try{o=JSON.parse(h),u&&(o={...u,...o})}catch(b){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,b),`${c}${p}${h}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,c}for(;s=this.nestingRegexp.exec(t);){let c=[];o={...i},o=o.replace&&typeof o.replace!="string"?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const p=s[1].split(this.formatSeparator).map(m=>m.trim());s[1]=p.shift(),c=p,u=!0}if(a=r(l.call(this,s[1].trim(),o),o),a&&s[0]===t&&typeof a!="string")return a;typeof a!="string"&&(a=f1(a)),a||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${t}`),a=""),u&&(a=c.reduce((p,m)=>this.format(p,m,i.lng,{...i,interpolationkey:s[1].trim()}),a.trim())),t=t.replace(s[0],a),this.regexp.lastIndex=0}return t}}function FL(e){let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const i=e.split("(");t=i[0].toLowerCase().trim();const s=i[1].substring(0,i[1].length-1);t==="currency"&&s.indexOf(":")<0?r.currency||(r.currency=s.trim()):t==="relativetime"&&s.indexOf(":")<0?r.range||(r.range=s.trim()):s.split(";").forEach(a=>{if(a){const[o,...l]=a.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,""),u=o.trim();r[u]||(r[u]=c),c==="false"&&(r[u]=!1),c==="true"&&(r[u]=!0),isNaN(c)||(r[u]=parseInt(c,10))}})}return{formatName:t,formatOptions:r}}function Gi(e){const t={};return function(r,i,s){const a=i+JSON.stringify(s);let o=t[a];return o||(o=e(_l(i),s),t[a]=o),o(r)}}class BL{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=dr.create("formatter"),this.options=t,this.formats={number:Gi((r,i)=>{const s=new Intl.NumberFormat(r,{...i});return a=>s.format(a)}),currency:Gi((r,i)=>{const s=new Intl.NumberFormat(r,{...i,style:"currency"});return a=>s.format(a)}),datetime:Gi((r,i)=>{const s=new Intl.DateTimeFormat(r,{...i});return a=>s.format(a)}),relativetime:Gi((r,i)=>{const s=new Intl.RelativeTimeFormat(r,{...i});return a=>s.format(a,i.range||"day")}),list:Gi((r,i)=>{const s=new Intl.ListFormat(r,{...i});return a=>s.format(a)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=Gi(r)}format(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return r.split(this.formatSeparator).reduce((a,o)=>{const{formatName:l,formatOptions:c}=FL(o);if(this.formats[l]){let u=a;try{const p=s&&s.formatParams&&s.formatParams[s.interpolationkey]||{},m=p.locale||p.lng||s.locale||s.lng||i;u=this.formats[l](a,m,{...c,...s,...p})}catch(p){this.logger.warn(p)}return u}else this.logger.warn(`there was no format function for ${l}`);return a},t)}}function OL(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class DL extends ql{constructor(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=i,this.languageUtils=i.languageUtils,this.options=s,this.logger=dr.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(i,s.backend,s)}queueLoad(t,r,i,s){const a={},o={},l={},c={};return t.forEach(u=>{let p=!0;r.forEach(m=>{const h=`${u}|${m}`;!i.reload&&this.store.hasResourceBundle(u,m)?this.state[h]=2:this.state[h]<0||(this.state[h]===1?o[h]===void 0&&(o[h]=!0):(this.state[h]=1,p=!1,o[h]===void 0&&(o[h]=!0),a[h]===void 0&&(a[h]=!0),c[m]===void 0&&(c[m]=!0)))}),p||(l[u]=!0)}),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,r,i){const s=t.split("|"),a=s[0],o=s[1];r&&this.emit("failedLoading",a,o,r),i&&this.store.addResourceBundle(a,o,i,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2;const l={};this.queue.forEach(c=>{wL(c.loaded,[a],o),OL(c,t),r&&c.errors.push(r),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{l[u]||(l[u]={});const p=c.loaded[u];p.length&&p.forEach(m=>{l[u][m]===void 0&&(l[u][m]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:i,tried:s,wait:a,callback:o});return}this.readingCalls++;const l=(u,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const m=this.waitingReads.shift();this.read(m.lng,m.ns,m.fcName,m.tried,m.wait,m.callback)}if(u&&p&&s{this.read.call(this,t,r,i,s+1,a*2,o)},a);return}o(u,p)},c=this.backend[i].bind(this.backend);if(c.length===2){try{const u=c(t,r);u&&typeof u.then=="function"?u.then(p=>l(null,p)).catch(l):l(null,u)}catch(u){l(u)}return}return c(t,r,l)}prepareLoading(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof r=="string"&&(r=[r]);const a=this.queueLoad(t,r,i,s);if(!a.toLoad.length)return a.pending.length||s(),null;a.toLoad.forEach(o=>{this.loadOne(o)})}load(t,r,i){this.prepareLoading(t,r,{},i)}reload(t,r,i){this.prepareLoading(t,r,{reload:!0},i)}loadOne(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const i=t.split("|"),s=i[0],a=i[1];this.read(s,a,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${r}loading namespace ${a} for language ${s} failed`,o),!o&&l&&this.logger.log(`${r}loaded namespace ${a} for language ${s}`,l),this.loaded(t,o,l)})}saveMissing(t,r,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${i}" as the namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(i==null||i==="")){if(this.backend&&this.backend.create){const c={...o,isUpdate:a},u=this.backend.create.bind(this.backend);if(u.length<6)try{let p;u.length===5?p=u(t,r,i,s,c):p=u(t,r,i,s),p&&typeof p.then=="function"?p.then(m=>l(null,m)).catch(l):l(null,p)}catch(p){l(p)}else u(t,r,i,s,l,c)}!t||!t[0]||this.store.addResource(t[0],r,i,s)}}}function b1(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if(typeof e[1]=="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const r=e[3]||e[2];Object.keys(r).forEach(i=>{t[i]=r[i]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function w1(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function xo(){}function UL(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]=="function"&&(e[t]=e[t].bind(e))})}class Pa extends ql{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=w1(t),this.services={},this.logger=dr,this.modules={external:[]},UL(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof r=="function"&&(i=r,r={}),!r.defaultNS&&r.defaultNS!==!1&&r.ns&&(typeof r.ns=="string"?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const s=b1();this.options={...s,...this.options,...w1(r)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...s.interpolation,...this.options.interpolation}),r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator);function a(c){return c?typeof c=="function"?new c:c:null}if(!this.options.isClone){this.modules.logger?dr.init(a(this.modules.logger),this.options):dr.init(null,this.options);let c;this.modules.formatter?c=this.modules.formatter:typeof Intl<"u"&&(c=BL);const u=new j1(this.options);this.store=new x1(this.options.resources,this.options);const p=this.services;p.logger=dr,p.resourceStore=this.store,p.languageUtils=u,p.pluralResolver=new ML(u,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),c&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(p.formatter=a(c),p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new TL(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new DL(a(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",function(m){for(var h=arguments.length,x=new Array(h>1?h-1:0),_=1;_1?h-1:0),_=1;_{m.init&&m.init(this)})}if(this.format=this.options.interpolation.format,i||(i=xo),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&c[0]!=="dev"&&(this.options.lng=c[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(c=>{this[c]=function(){return t.store[c](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(c=>{this[c]=function(){return t.store[c](...arguments),t}});const o=Gs(),l=()=>{const c=(u,p)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(p),i(u,p)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return c(null,this.t.bind(this));this.changeLanguage(this.options.lng,c)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),o}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:xo;const i=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const s=[],a=o=>{!o||o==="cimode"||this.services.languageUtils.toResolveHierarchy(o).forEach(l=>{l!=="cimode"&&s.indexOf(l)<0&&s.push(l)})};i?a(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(o=>a(o)),this.options.preload&&this.options.preload.forEach(o=>a(o)),this.services.backendConnector.load(s,this.options.ns,o=>{!o&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(o)})}else r(null)}reloadResources(t,r,i){const s=Gs();return t||(t=this.languages),r||(r=this.options.ns),i||(i=xo),this.services.backendConnector.reload(t,r,a=>{s.resolve(),i(a)}),s}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&Z0.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let r=0;r-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}}changeLanguage(t,r){var i=this;this.isLanguageChangingTo=t;const s=Gs();this.emit("languageChanging",t);const a=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,u)=>{u?(a(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,s.resolve(function(){return i.t(...arguments)}),r&&r(c,function(){return i.t(...arguments)})},l=c=>{!t&&!c&&this.services.languageDetector&&(c=[]);const u=typeof c=="string"?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||a(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,p=>{o(p,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),s}getFixedT(t,r,i){var s=this;const a=function(o,l){let c;if(typeof l!="object"){for(var u=arguments.length,p=new Array(u>2?u-2:0),m=2;m`${c.keyPrefix}${h}${_}`):x=c.keyPrefix?`${c.keyPrefix}${h}${o}`:o,s.t(x,c)};return typeof t=="string"?a.lng=t:a.lngs=t,a.ns=r,a.keyPrefix=i,a}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=r.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const o=(l,c)=>{const u=this.services.backendConnector.state[`${l}|${c}`];return u===-1||u===2};if(r.precheck){const l=r.precheck(this,o);if(l!==void 0)return l}return!!(this.hasResourceBundle(i,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(i,t)&&(!s||o(a,t)))}loadNamespaces(t,r){const i=Gs();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{i.resolve(),r&&r(s)}),i):(r&&r(),Promise.resolve())}loadLanguages(t,r){const i=Gs();typeof t=="string"&&(t=[t]);const s=this.options.preload||[],a=t.filter(o=>s.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return a.length?(this.options.preload=s.concat(a),this.loadResources(o=>{i.resolve(),r&&r(o)}),i):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const r=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],i=this.services&&this.services.languageUtils||new j1(b1());return r.indexOf(i.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new Pa(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:xo;const i=t.forkResourceStore;i&&delete t.forkResourceStore;const s={...this.options,...t,isClone:!0},a=new Pa(s);return(t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),["store","services","language"].forEach(o=>{a[o]=this[o]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},i&&(a.store=new x1(this.store.data,s),a.services.resourceStore=a.store),a.translator=new yl(a.services,s),a.translator.on("*",function(o){for(var l=arguments.length,c=new Array(l>1?l-1:0),u=1;u",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},qL=e=>WL[e],VL=e=>e.replace(HL,qL);let C1={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:VL};const KL=(e={})=>{C1={...C1,...e}},GL={type:"3rdParty",init(e){KL(e.options.react)}};y.createContext();const QL={"avatar:default":"avatar"},JL={index:QL},YL={"avatar:default":"avatar"},XL={index:YL},ZL={en:JL,fr:XL};en.use(GL).init({resources:ZL,lng:"en",ns:["index"],defaultNS:"index",interpolation:{escapeValue:!1}});y.createContext(void 0);const eE="_page_1v5u5_42",tE="_header_1v5u5_50",nE="_section_1v5u5_69",rE="_codeWrapper_1v5u5_92",iE="_demoWrapper_1v5u5_101",sE="_examples_1v5u5_132",aE="_example_1v5u5_132",oE="_description_1v5u5_187",lE="_demo_1v5u5_101",Ie={page:eE,header:tE,section:nE,codeWrapper:rE,demoWrapper:iE,examples:sE,example:aE,description:oE,demo:lE,"accordion-down":"_accordion-down_1v5u5_1","accordion-up":"_accordion-up_1v5u5_1"},cE=()=>{const{t:e}=$e();return n.jsxs("div",{className:Ie.examples,children:[n.jsxs("div",{className:Ie.example,children:[n.jsx("h3",{children:e("components.button.examples.basic.title")}),n.jsx("p",{className:Ie.description,children:e("components.button.examples.basic.description")}),n.jsx("div",{className:Ie.demo,children:n.jsx(z,{variant:"primary",children:"Click me"})}),n.jsx("div",{className:Ie.codeWrapper,children:n.jsx(oe,{code:` +*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a="",o=0;o{if(!o)return C.jsx(C.Fragment,{children:a});const k=()=>j||b?null:Array(d).fill(null).map((w,x)=>C.jsx("div",{className:bn($t.skeleton,$t[e],$t[`animation-${t}`]),style:{width:typeof r=="number"?`${r}px`:r,height:typeof i=="number"?`${i}px`:i,borderRadius:l,...c}},x)),_=()=>p?C.jsx("div",{className:bn($t.skeleton,$t.avatar,$t[`animation-${t}`],$t[`avatar-${m}`]),style:{width:typeof h=="number"?`${h}px`:h,height:typeof h=="number"?`${h}px`:h}}):null,u=()=>{if(!j)return null;const w=[{width:"100%",height:"16px"},{width:"100%",height:"16px"},{width:"92%",height:"16px"},{width:"60%",height:"16px"}];return C.jsx("div",{className:$t.paragraph,children:w.map((x,N)=>C.jsx("div",{className:bn($t.skeleton,$t[`animation-${t}`]),style:{width:x.width,height:x.height}},`p-${N}`))})},f=()=>b?C.jsx("div",{className:bn($t.skeleton,$t.title,$t[`animation-${t}`])}):null,v=()=>e==="card"?C.jsxs("div",{className:bn($t.card,{[$t.active]:g}),children:[_(),C.jsxs("div",{className:$t.cardContent,children:[f(),u()]})]}):C.jsxs(C.Fragment,{children:[_(),C.jsxs("div",{className:$t.content,children:[f(),k(),u()]})]});return C.jsx("div",{className:bn($t.skeletonRoot,{[$t.withAvatar]:p},s),children:v()})},n$="_commonRippleEffect_14peo_57",r$="_alert_14peo_57",i$="_closeButton_14peo_57",s$="_collapsible_14peo_57",a$="_expandButton_14peo_57",o$="_rippleRect_14peo_1",l$="_commonErrorAnimation_14peo_83",c$="_shake_14peo_1",d$="_commonClickedAnimation_14peo_87",u$="_clickedAnimation_14peo_1",p$="_commonStarAnimation_14peo_91",h$="_starAnimation_14peo_1",m$="_withElevation_14peo_104",f$="_rounded_14peo_107",g$="_title_14peo_110",x$="_small_14peo_130",v$="_icon_14peo_134",j$="_medium_14peo_137",_$="_large_14peo_144",y$="_info_14peo_151",b$="_filled_14peo_155",w$="_outlined_14peo_159",C$="_success_14peo_163",k$="_warning_14peo_175",S$="_error_14peo_187",N$="_banner_14peo_199",$$="_content_14peo_208",z$="_message_14peo_215",E$="_action_14peo_218",L$="_withAnimation_14peo_236",R$="_alertSlideIn_14peo_1",A$="_alertFadeIn_14peo_1",I$="_alertBounce_14peo_1",P$="_alertZoom_14peo_1",M$="_expanded_14peo_248",B$="_expandContent_14peo_1",T$="_slideDown_14peo_1",O$="_fadeIn_14peo_1",xt={commonRippleEffect:n$,alert:r$,closeButton:i$,collapsible:s$,expandButton:a$,rippleRect:o$,commonErrorAnimation:l$,shake:c$,commonClickedAnimation:d$,clickedAnimation:u$,commonStarAnimation:p$,starAnimation:h$,withElevation:m$,rounded:f$,title:g$,small:x$,icon:v$,medium:j$,large:_$,info:y$,filled:b$,outlined:w$,success:C$,warning:k$,error:S$,banner:N$,content:$$,message:z$,action:E$,withAnimation:L$,"animation-slideIn":"_animation-slideIn_14peo_236",alertSlideIn:R$,"animation-fadeIn":"_animation-fadeIn_14peo_239",alertFadeIn:A$,"animation-bounce":"_animation-bounce_14peo_242",alertBounce:I$,"animation-zoom":"_animation-zoom_14peo_245",alertZoom:P$,expanded:M$,expandContent:B$,slideDown:T$,fadeIn:O$},F$={info:C.jsx(Xk,{}),success:C.jsx(Gk,{}),warning:C.jsx(Zk,{}),error:C.jsx(Yk,{})},D$=["slideIn","fadeIn","bounce","zoom"],Re=({title:e,children:t,variant:r="info",size:i="medium",type:s="default",showIcon:a=!0,icon:o,closable:l=!1,closeIcon:c,onClose:d,animation:p=!0,animationName:h="slideIn",className:m,style:g,action:j,outlined:b=!1,filled:k=!1,banner:_=!1,elevation:u=!1,rounded:f=!0,borderRadius:v,collapsible:w=!1,defaultExpanded:x=!0,onExpand:N})=>{const[S,E]=y.useState(!0),[L,F]=y.useState(x),J=y.useCallback(G=>{E(!1),d==null||d(G)},[d]),q=y.useCallback(()=>{F(G=>(N==null||N(!G),!G))},[N]);if(!S)return null;const U=bn(xt.alert,xt[r],xt[i],xt[s],{[xt.withIcon]:a,[xt.withTitle]:e,[xt.outlined]:b,[xt.filled]:k,[xt.banner]:_,[xt.withAnimation]:p,[xt[`animation-${h}`]]:p&&D$.includes(h),[xt.withElevation]:u,[xt.rounded]:f,[xt.expanded]:L,[xt.collapsible]:w},m),D={...g,...v&&{borderRadius:v}};return C.jsxs("div",{className:U,style:D,role:"alert","data-variant":r,"data-size":i,"data-type":s,children:[a&&C.jsx("span",{className:xt.icon,role:"img","aria-label":`${r} icon`,children:o||F$[r]}),C.jsxs("div",{className:xt.content,children:[e&&C.jsxs("div",{className:xt.title,children:[e,w&&C.jsx("button",{className:xt.expandButton,onClick:q,"aria-label":L?"收起":"展开","aria-expanded":L,children:L?C.jsx(Jk,{}):C.jsx(Vg,{})})]}),(!w||L)&&C.jsx("div",{className:xt.message,children:t})]}),j&&C.jsx("div",{className:xt.action,children:j}),l&&C.jsx("button",{className:xt.closeButton,onClick:J,"aria-label":"Close",type:"button",children:c||C.jsx(uo,{})})]})},U$="_commonRippleEffect_18hxg_57",H$="_rippleRect_18hxg_1",W$="_commonErrorAnimation_18hxg_83",q$="_shake_18hxg_1",V$="_commonClickedAnimation_18hxg_87",K$="_clickedAnimation_18hxg_1",G$="_commonStarAnimation_18hxg_91",Q$="_starAnimation_18hxg_1",J$="_space_18hxg_95",Y$="_block_18hxg_99",X$="_horizontal_18hxg_103",Z$="_vertical_18hxg_106",ez="_wrap_18hxg_109",tz="_compact_18hxg_112",nz="_item_18hxg_112",rz="_split_18hxg_152",iz="_responsive_18hxg_159",sz="_slideDown_18hxg_1",az="_fadeIn_18hxg_1",sr={commonRippleEffect:U$,rippleRect:H$,commonErrorAnimation:W$,shake:q$,commonClickedAnimation:V$,clickedAnimation:K$,commonStarAnimation:G$,starAnimation:Q$,space:J$,block:Y$,horizontal:X$,vertical:Z$,wrap:ez,compact:tz,item:nz,"align-start":"_align-start_18hxg_115","align-end":"_align-end_18hxg_118","align-center":"_align-center_18hxg_121","align-baseline":"_align-baseline_18hxg_124","align-stretch":"_align-stretch_18hxg_127","justify-start":"_justify-start_18hxg_130","justify-end":"_justify-end_18hxg_133","justify-center":"_justify-center_18hxg_136","justify-space-around":"_justify-space-around_18hxg_139","justify-space-between":"_justify-space-between_18hxg_142","justify-space-evenly":"_justify-space-evenly_18hxg_145",split:rz,responsive:iz,slideDown:sz,fadeIn:az},V=({align:e,justify:t,direction:r="horizontal",size:i="medium",wrap:s=!1,split:a,compact:o=!1,block:l=!1,className:c,style:d,children:p})=>{const h=_e.Children.toArray(p).filter(b=>b!=null),m=()=>{if(typeof i=="number")return i;const b={small:8,medium:16,large:24};return o?b[i]/2:b[i]},g=bn(sr.space,{[sr.vertical]:r==="vertical",[sr.horizontal]:r==="horizontal",[sr.wrap]:s,[sr.block]:l,[sr[`align-${e}`]]:e,[sr[`justify-${t}`]]:t,[sr.compact]:o},c),j={marginRight:r==="horizontal"?m():0,marginBottom:r==="vertical"||s?m():0};return C.jsx("div",{className:g,style:d,role:"group","aria-orientation":r,children:h.map((b,k)=>C.jsxs(_e.Fragment,{children:[C.jsx("div",{className:sr.item,style:j,children:b}),a&&k{const h={...p,...r&&{borderColor:r},...i&&{borderWidth:i},...t==="vertical"&&s&&{height:s},...t==="horizontal"&&s&&{width:s},...a&&{marginTop:t==="horizontal"?a:0,marginBottom:t==="horizontal"?a:0,marginLeft:t==="vertical"?a:0,marginRight:t==="vertical"?a:0}},m=bn(yi.divider,yi[e],yi[t],o&&yi.withText,o&&yi[`text${l.charAt(0).toUpperCase()+l.slice(1)}`],c&&yi.elevation,d);return C.jsx("div",{className:m,style:h,children:o&&C.jsx("span",{className:yi.text,children:o})})},vt=_e.memo(zz),Ez="_commonRippleEffect_1rurt_57",Lz="_rippleRect_1rurt_1",Rz="_commonErrorAnimation_1rurt_83",Az="_shake_1rurt_1",Iz="_commonClickedAnimation_1rurt_87",Pz="_clickedAnimation_1rurt_1",Mz="_commonStarAnimation_1rurt_91",Bz="_starAnimation_1rurt_1",Tz="_tag_1rurt_95",Oz="_small_1rurt_104",Fz="_medium_1rurt_109",Dz="_large_1rurt_114",Uz="_square_1rurt_119",Hz="_rounded_1rurt_122",Wz="_circle_1rurt_125",qz="_primary_1rurt_132",Vz="_success_1rurt_136",Kz="_warning_1rurt_140",Gz="_error_1rurt_144",Qz="_info_1rurt_148",Jz="_clickable_1rurt_152",Yz="_disabled_1rurt_152",Xz="_bordered_1rurt_161",Zz="_elevation_1rurt_165",eE="_icon_1rurt_173",tE="_content_1rurt_178",nE="_closeIcon_1rurt_181",rE="_ripple_1rurt_192",iE="_rippleAnimation_1rurt_1",sE="_slideDown_1rurt_1",aE="_fadeIn_1rurt_1",zn={commonRippleEffect:Ez,rippleRect:Lz,commonErrorAnimation:Rz,shake:Az,commonClickedAnimation:Iz,clickedAnimation:Pz,commonStarAnimation:Mz,starAnimation:Bz,tag:Tz,small:Oz,medium:Fz,large:Dz,square:Uz,rounded:Hz,circle:Wz,default:"_default_1rurt_128",primary:qz,success:Vz,warning:Kz,error:Gz,info:Qz,clickable:Jz,disabled:Yz,bordered:Xz,elevation:Zz,icon:eE,content:tE,closeIcon:nE,ripple:rE,rippleAnimation:iE,slideDown:sE,fadeIn:aE},ye=({children:e,variant:t="default",size:r="medium",shape:i="rounded",closable:s=!1,onClose:a,clickable:o=!1,onClick:l,icon:c,bordered:d=!1,elevation:p=!1,bgColor:h,textColor:m,borderColor:g,className:j,style:b,disabled:k=!1,closeIcon:_,ripple:u=!0})=>{const f=y.useCallback(N=>{N.stopPropagation(),!k&&a&&a(N)},[k,a]),v=y.useCallback(N=>{!k&&o&&l&&l(N)},[k,o,l]),w=y.useCallback(N=>{if(!u||k)return;const S=N.currentTarget,E=S.getBoundingClientRect(),L=document.createElement("span"),F=Math.max(E.width,E.height),J=F/2;L.style.width=L.style.height=`${F}px`,L.style.left=`${N.clientX-E.left-J}px`,L.style.top=`${N.clientY-E.top-J}px`,L.className=zn.ripple,S.appendChild(L),setTimeout(()=>{S.removeChild(L)},600)},[u,k]),x={...b,backgroundColor:h,color:m,borderColor:g};return C.jsxs("div",{className:bn(zn.tag,zn[t],zn[r],zn[i],{[zn.clickable]:o&&!k,[zn.bordered]:d,[zn.elevation]:p,[zn.disabled]:k},j),style:x,onClick:N=>{v(N),w(N)},children:[c&&C.jsx("span",{className:zn.icon,children:c}),C.jsx("span",{className:zn.content,children:e}),s&&C.jsx("span",{className:zn.closeIcon,onClick:f,children:_||C.jsx(uo,{})})]})},oE="_commonRippleEffect_63kgx_57",lE="_rippleRect_63kgx_1",cE="_commonErrorAnimation_63kgx_83",dE="_shake_63kgx_1",uE="_commonClickedAnimation_63kgx_87",pE="_clickedAnimation_63kgx_1",hE="_commonStarAnimation_63kgx_91",mE="_starAnimation_63kgx_1",fE="_disabled_63kgx_105",gE="_label_63kgx_109",xE="_switchBase_63kgx_135",vE="_track_63kgx_154",jE="_checked_63kgx_161",_E="_thumb_63kgx_165",yE="_checkedLarge_63kgx_184",bE="_square_63kgx_194",wE="_loading_63kgx_197",CE="_switchLoading_63kgx_1",kE="_rippleEffect_63kgx_208",SE="_ripple_63kgx_208",NE="_small_63kgx_225",$E="_large_63kgx_243",zE="_primary_63kgx_259",EE="_secondary_63kgx_267",LE="_success_63kgx_274",RE="_warning_63kgx_281",AE="_error_63kgx_288",IE="_icon_63kgx_295",PE="_loadingIcon_63kgx_314",ME="_slideDown_63kgx_1",BE="_fadeIn_63kgx_1",Ut={commonRippleEffect:oE,rippleRect:lE,commonErrorAnimation:cE,shake:dE,commonClickedAnimation:uE,clickedAnimation:pE,commonStarAnimation:hE,starAnimation:mE,switch:"_switch_63kgx_95",disabled:fE,"label-start":"_label-start_63kgx_109",label:gE,"label-end":"_label-end_63kgx_115","label-top":"_label-top_63kgx_118","label-bottom":"_label-bottom_63kgx_124",switchBase:xE,track:vE,checked:jE,thumb:_E,checkedLarge:yE,square:bE,loading:wE,switchLoading:CE,rippleEffect:kE,ripple:SE,small:NE,large:$E,primary:zE,secondary:EE,success:LE,warning:RE,error:AE,icon:IE,loadingIcon:PE,slideDown:ME,fadeIn:BE},H=({checked:e,defaultChecked:t=!1,disabled:r=!1,size:i="medium",color:s="primary",shape:a="round",label:o,labelPlacement:l="end",loading:c=!1,ripple:d=!0,className:p,labelStyle:h,trackStyle:m,thumbStyle:g,onChange:j,onFocus:b,onBlur:k,icon:_,iconPlacement:u="start"})=>{const[f,v]=y.useState(e??t),[w,x]=y.useState(!1),N=y.useRef(null);y.useEffect(()=>{e!==void 0&&v(e)},[e]);const S=U=>{r||c||(e===void 0&&v(U.target.checked),j==null||j(U.target.checked,U))},E=()=>{!d||r||c||(x(!0),setTimeout(()=>x(!1),400))},L=bn(Ut.switch,Ut[i],{[Ut.checked]:f,[Ut.checkedLarge]:f&&i==="large",[Ut.disabled]:r,[Ut.loading]:c,[Ut.square]:a==="square",[Ut.ripple]:d&&w,[Ut[s]]:Object.prototype.hasOwnProperty.call(Ut,s)},p),F={...f&&!r&&!Object.prototype.hasOwnProperty.call(Ut,s)?{backgroundColor:s,color:s}:{},...g},J=()=>o?C.jsx("span",{className:Ut.label,children:o}):null,q=()=>_?C.jsx("span",{className:Ut.icon,children:_}):null;return C.jsxs("label",{className:L,style:h,ref:N,onClick:E,children:[l==="start"&&J(),C.jsxs("div",{className:Ut.switchBase,children:[C.jsx("input",{type:"checkbox",checked:f,disabled:r||c,onChange:S,onFocus:b,onBlur:k}),C.jsx("div",{className:Ut.track,style:m}),C.jsx("div",{className:Ut.thumb,style:F,children:u==="start"&&q()}),d&&C.jsx("div",{className:Ut.rippleEffect})]}),u==="end"&&q(),l==="end"&&J()]})};var Qg,rm=jp;Qg=rm.createRoot,rm.hydrateRoot;const TE="_commonRippleEffect_lmaea_57",OE="_rippleRect_lmaea_1",FE="_commonErrorAnimation_lmaea_83",DE="_shake_lmaea_1",UE="_commonClickedAnimation_lmaea_87",HE="_clickedAnimation_lmaea_1",WE="_commonStarAnimation_lmaea_91",qE="_starAnimation_lmaea_1",VE="_messageContainer_lmaea_95",KE="_top_lmaea_106",GE="_message_lmaea_95",QE="_messageSlideInTop_lmaea_1",JE="_topLeft_lmaea_114",YE="_messageSlideInLeft_lmaea_1",XE="_topRight_lmaea_121",ZE="_messageSlideInRight_lmaea_1",eL="_bottom_lmaea_128",tL="_messageSlideInBottom_lmaea_1",nL="_bottomLeft_lmaea_137",rL="_messageSlideInBottomLeft_lmaea_1",iL="_bottomRight_lmaea_145",sL="_messageSlideInBottomRight_lmaea_1",aL="_messageSlideIn_lmaea_1",oL="_content_lmaea_169",lL="_icon_lmaea_177",cL="_closeButton_lmaea_181",dL="_progressBar_lmaea_200",uL="_progressSlide_lmaea_1",pL="_paused_lmaea_224",hL="_success_lmaea_227",mL="_error_lmaea_240",fL="_warning_lmaea_253",gL="_info_lmaea_266",xL="_loading_lmaea_279",vL="_loadingIcon_lmaea_285",jL="_loadingSpin_lmaea_1",_L="_slideDown_lmaea_1",yL="_fadeIn_lmaea_1",bL="_spin_lmaea_1",cr={commonRippleEffect:TE,rippleRect:OE,commonErrorAnimation:FE,shake:DE,commonClickedAnimation:UE,clickedAnimation:HE,commonStarAnimation:WE,starAnimation:qE,messageContainer:VE,top:KE,message:GE,messageSlideInTop:QE,topLeft:JE,messageSlideInLeft:YE,topRight:XE,messageSlideInRight:ZE,bottom:eL,messageSlideInBottom:tL,bottomLeft:nL,messageSlideInBottomLeft:rL,bottomRight:iL,messageSlideInBottomRight:sL,messageSlideIn:aL,content:oL,icon:lL,closeButton:cL,progressBar:dL,progressSlide:uL,paused:pL,success:hL,error:mL,warning:fL,info:gL,loading:xL,loadingIcon:vL,loadingSpin:jL,slideDown:_L,fadeIn:yL,spin:bL},Jg=({id:e,type:t="info",content:r,duration:i=3e3,showClose:s=!1,icon:a,className:o="",style:l,onClose:c,showProgress:d=!0,pauseOnHover:p=!0,placement:h="topRight",onClick:m,description:g,closeAriaLabel:j="Close"})=>{const[b,k]=y.useState(100),[_,u]=y.useState(!1);y.useEffect(()=>{if(i>0){const v=Date.now(),w=setInterval(()=>{if(!_){const x=Date.now()-v,N=Math.max(0,100-x/i*100);k(N),N===0&&(clearInterval(w),c==null||c(e))}},10);return()=>clearInterval(w)}},[i,_,e,c]);const f=()=>{c==null||c(e)};return C.jsxs("div",{className:`${cr.message} ${cr[t]} ${o}`,style:{...l,position:"fixed",...wL(h)},onClick:m,onMouseEnter:()=>p&&u(!0),onMouseLeave:()=>p&&u(!1),role:"alert",children:[C.jsxs("div",{className:cr.content,children:[a&&C.jsx("span",{className:cr.icon,children:a}),C.jsx("span",{children:r})]}),s&&C.jsx("button",{className:cr.closeButton,onClick:f,"aria-label":j,children:C.jsx(uo,{})}),d&&i>0&&C.jsx("div",{className:`${cr.progressBar} ${_?cr.paused:""}`,style:{width:`${b}%`}})]})},wL=e=>{switch(e){case"top":return{top:"20px",left:"50%",transform:"translateX(-50%)"};case"topLeft":return{top:"20px",left:"20px"};case"topRight":return{top:"20px",right:"20px"};case"bottom":return{bottom:"20px",left:"50%",transform:"translateX(-50%)"};case"bottomLeft":return{bottom:"20px",left:"20px"};case"bottomRight":return{bottom:"20px",right:"20px"};default:return{top:"20px",right:"20px"}}},Ni={top:[],topLeft:[],topRight:[],bottom:[],bottomLeft:[],bottomRight:[]};let CL=0;const kL=e=>{const t=`message-container-${e}`;let r=document.getElementById(t);return r||(r=document.createElement("div"),r.id=t,r.className=`${cr.messageContainer} ${cr[e]}`,e.includes("top")?r.style.top="20px":r.style.bottom="20px",e.includes("Left")?r.style.left="24px":e.includes("Right")?r.style.right="24px":(r.style.left="50%",r.style.transform="translateX(-50%)",r.style.width="384px"),document.body.appendChild(r)),r},ju=(e,t)=>{const r=Ni[t],i=r.findIndex(s=>s.id===e);if(i>-1&&(r[i].root.unmount(),r.splice(i,1),r.length===0)){const s=document.getElementById(`message-container-${t}`);s&&document.body.removeChild(s)}},SL=e=>{const t=e.id||`message-${CL++}`,r=e.placement||"topRight",i=kL(r),s=document.createElement("div");s.className=cr.messageWrapper,i.appendChild(s);const a=Qg(s),o={...e,id:t,placement:r,duration:e.duration??3e3,onClose:l=>{var c;(c=e.onClose)==null||c.call(e,l),ju(l,r)}};return Ni[r].push({id:t,props:o,root:a}),a.render(C.jsx(Jg,{...o})),t},aa=e=>t=>{const r=typeof t=="object"&&!_e.isValidElement(t)?{...t,type:e}:{content:t,type:e};return SL(r)},we={success:aa("success"),error:aa("error"),info:aa("info"),warning:aa("warning"),loading:aa("loading"),destroy:e=>{e?Object.entries(Ni).forEach(([t,r])=>{r.find(i=>i.id===e)&&ju(e,t)}):(Object.entries(Ni).forEach(([t,r])=>{r.forEach(s=>{s.root.unmount()});const i=document.getElementById(`message-container-${t}`);i&&document.body.removeChild(i)}),Object.keys(Ni).forEach(t=>{Ni[t]=[]}))},update:(e,t)=>{Object.entries(Ni).forEach(([r,i])=>{const s=i.find(a=>a.id===e);if(s){const a={...s.props,...t,onClose:o=>{var l;(l=t.onClose)==null||l.call(t,o),ju(o,r)}};s.props=a,s.root.render(C.jsx(Jg,{...a}))}})}},NL=()=>{const e=y.useCallback((t,r)=>{const i=typeof r=="string"?{content:r,id:Date.now().toString()}:r,s=we[t](i),a=i.duration??3e3,o=()=>{let l=Promise.resolve();return{then:c=>(a>0&&(l=l.then(()=>new Promise(d=>setTimeout(()=>{Promise.resolve(c()).then(d)},a)))),o()),catch:c=>(l=l.catch(c),o()),messageId:s}};return o()},[]);return{info:t=>e("info",t),success:t=>e("success",t),warning:t=>e("warning",t),error:t=>e("error",t),loading:t=>e("loading",t),destroy:we.destroy,update:we.update}},$L="_pagination_1dnh8_27",zL="_item_1dnh8_35",EL="_active_1dnh8_64",LL="_disabled_1dnh8_76",RL="_jump_1dnh8_85",AL="_jumpWrapper_1dnh8_88",IL="_jumpHint_1dnh8_93",PL="_ripple_1dnh8_103",ML="_simpleInput_1dnh8_111",BL="_simpleDivider_1dnh8_136",TL="_jumper_1dnh8_140",OL="_sizeChanger_1dnh8_167",FL="_total_1dnh8_191",DL="_responsive_1dnh8_285",UL="_prev_1dnh8_285",HL="_next_1dnh8_285",et={pagination:$L,item:zL,active:EL,disabled:LL,jump:RL,jumpWrapper:AL,jumpHint:IL,ripple:PL,simpleInput:ML,simpleDivider:BL,jumper:TL,sizeChanger:OL,total:FL,responsive:DL,prev:UL,next:HL},Ht=({current:e=1,total:t=0,pageSize:r=10,onChange:i,disabled:s=!1,showQuickJumper:a=!1,showSizeChanger:o=!1,pageSizeOptions:l=[10,20,50,100],itemRender:c,className:d,style:p,showTotal:h=!1,totalRender:m,size:g="medium",shape:j="rounded",variant:b="filled",simple:k=!1,responsive:_=!1,icons:u={prev:C.jsx(Qk,{}),next:C.jsx(Kg,{}),jumpPrev:C.jsx(nm,{}),jumpNext:C.jsx(nm,{})}})=>{const[f,v]=y.useState(""),[w,x]=y.useState(r),[N,S]=y.useState([]),E=y.useRef(0),L=Math.ceil(t/w),F=y.useCallback(()=>{const M=[];let B=Math.max(1,e-Math.floor(2.5));const Y=Math.min(L,B+5-1);Y-B+1<5&&(B=Math.max(1,Y-5+1));for(let X=B;X<=Y;X++)M.push(X);return M},[e,L]),J=y.useCallback((M,B)=>{if(!(M===e||M<1||M>L||s)){if(B){const Y=B.currentTarget.getBoundingClientRect(),X={x:B.clientX-Y.left,y:B.clientY-Y.top,id:E.current++};S(Pe=>[...Pe,X])}i==null||i(M,w)}},[e,L,s,i,w]),q=y.useCallback(M=>{if(M.key==="Enter"){const B=parseInt(f);!isNaN(B)&&B>=1&&B<=L&&(i==null||i(B,w),v(""))}},[f,L,i,w]),U=y.useCallback(M=>{const B=parseInt(M.target.value);x(B),i==null||i(1,B)},[i]);y.useEffect(()=>{const M=setTimeout(()=>{N.length>0&&S([])},1e3);return()=>clearTimeout(M)},[N]);const D=y.useCallback((M,B)=>{const Y=s||(B==="prev"?e<=1:B==="next"?e>=L:!1),X=bn(et.item,{[et.active]:B==="page"&&M===e,[et.disabled]:Y,[et.prev]:B==="prev",[et.next]:B==="next",[et.jump]:B==="jump-prev"||B==="jump-next"});let Pe;switch(B){case"prev":Pe=u.prev;break;case"next":Pe=u.next;break;case"jump-prev":Pe=C.jsxs("div",{className:et.jumpWrapper,children:[u.jumpPrev,C.jsx("div",{className:et.jumpHint,children:"向前 5 页"})]});break;case"jump-next":Pe=C.jsxs("div",{className:et.jumpWrapper,children:[u.jumpNext,C.jsx("div",{className:et.jumpHint,children:"向后 5 页"})]});break;default:Pe=M}return c&&(Pe=c(M,B)),C.jsxs("div",{className:X,onClick:K=>!Y&&J(M,K),role:"button",tabIndex:Y?-1:0,"aria-label":`${B==="page"?"Page ":""}${M}`,"aria-current":B==="page"&&M===e?"page":void 0,"aria-disabled":Y,children:[Pe,N.map(K=>C.jsx("span",{className:et.ripple,style:{left:K.x,top:K.y}},K.id))]},`${B}-${M}`)},[e,L,c,u,J,N,s]),G=y.useMemo(()=>{if(k)return C.jsxs(C.Fragment,{children:[D(e-1,"prev"),C.jsxs("div",{className:et.simpleInput,children:[C.jsx("input",{value:f||e,onChange:Y=>v(Y.target.value),onKeyDown:Y=>{if(Y.key==="Enter"){const X=parseInt(f);!isNaN(X)&&X>=1&&X<=L&&(i==null||i(X,w),v(""))}},onBlur:()=>v("")}),C.jsx("span",{className:et.simpleDivider,children:"/"}),C.jsx("span",{children:L})]}),D(e+1,"next")]});const M=F(),B=[];return B.push(D(e-1,"prev")),M[0]>1&&(B.push(D(1,"page")),M[0]>2&&B.push(D(e-5,"jump-prev"))),M.forEach(Y=>{B.push(D(Y,"page"))}),M[M.length-1]{if(!s)switch(M.key){case"ArrowLeft":J(e-1);break;case"ArrowRight":J(e+1);break;case"Home":J(1);break;case"End":J(L);break}},[e,L,s,J]);return C.jsxs("div",{className:ee,style:p,role:"navigation","aria-label":"Pagination",onKeyDown:A,tabIndex:0,children:[h&&C.jsx("div",{className:et.total,children:m?m(t,[(e-1)*w+1,Math.min(e*w,t)]):`Total ${t} items`}),G,a&&C.jsxs("div",{className:et.jumper,children:["Go to",C.jsx("input",{value:f,onChange:M=>v(M.target.value),onKeyDown:q,"aria-label":"Jump to page"})]}),o&&C.jsx("div",{className:et.sizeChanger,children:C.jsx("select",{value:w,onChange:U,"aria-label":"Items per page",children:l.map(M=>C.jsxs("option",{value:M,children:[M," / page"]},M))})})]})},WL={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class Dl{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||WL,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=new Array(t),i=0;i{this.observers[i]||(this.observers[i]=new Map);const s=this.observers[i].get(r)||0;this.observers[i].set(r,s+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s{let[o,l]=a;for(let c=0;c{let[o,l]=a;for(let c=0;c{e=i,t=s});return r.resolve=e,r.reject=t,r}function im(e){return e==null?"":""+e}function qL(e,t,r){e.forEach(i=>{t[i]&&(r[i]=t[i])})}const VL=/###/g;function za(e,t,r){function i(l){return l&&l.indexOf("###")>-1?l.replace(VL,"."):l}function s(){return!e||typeof e=="string"}const a=typeof t!="string"?t:t.split(".");let o=0;for(;o":">",'"':""","'":"'","/":"/"};function JL(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>QL[t]):e}class YL{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}const XL=[" ",",","?","!",";"],ZL=new YL(20);function eR(e,t,r){t=t||"",r=r||"";const i=XL.filter(o=>t.indexOf(o)<0&&r.indexOf(o)<0);if(i.length===0)return!0;const s=ZL.getRegExp(`(${i.map(o=>o==="?"?"\\?":o).join("|")})`);let a=!s.test(e);if(!a){const o=e.indexOf(r);o>0&&!s.test(e.substring(0,o))&&(a=!0)}return a}function _u(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const i=t.split(r);let s=e;for(let a=0;a-1&&c0?e.replace("_","-"):e}class am extends fc{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,o=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,r],i&&(Array.isArray(i)?l.push(...i):typeof i=="string"&&a?l.push(...i.split(a)):l.push(i)));const c=Ul(this.data,l);return!c&&!r&&!i&&t.indexOf(".")>-1&&(t=l[0],r=l[1],i=l.slice(2).join(".")),c||!o||typeof i!="string"?c:_u(this.data&&this.data[t]&&this.data[t][r],i,a)}addResource(t,r,i,s){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let l=[t,r];i&&(l=l.concat(o?i.split(o):i)),t.indexOf(".")>-1&&(l=t.split("."),s=r,r=l[1]),this.addNamespaces(r),sm(this.data,l,s),a.silent||this.emit("added",t,r,i,s)}addResources(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const a in i)(typeof i[a]=="string"||Array.isArray(i[a]))&&this.addResource(t,r,a,i[a],{silent:!0});s.silent||this.emit("added",t,r,i)}addResourceBundle(t,r,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,r];t.indexOf(".")>-1&&(l=t.split("."),s=i,i=r,r=l[1]),this.addNamespaces(r);let c=Ul(this.data,l)||{};o.skipCopy||(i=JSON.parse(JSON.stringify(i))),s?Yg(c,i,a):c={...c,...i},sm(this.data,l,c),o.silent||this.emit("added",t,r,i)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,r)}:this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(i=>r[i]&&Object.keys(r[i]).length>0)}toJSON(){return this.data}}var Xg={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,i,s){return e.forEach(a=>{this.processors[a]&&(t=this.processors[a].process(t,r,i,s))}),t}};const om={};class Wl extends fc{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),qL(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=pr.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const i=this.resolve(t,r);return i&&i.res!==void 0}extractFromKey(t,r){let i=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const s=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let a=r.ns||this.options.defaultNS||[];const o=i&&t.indexOf(i)>-1,l=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!eR(t,i,s);if(o&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:a};const d=t.split(i);(i!==s||i===s&&this.options.ns.indexOf(d[0])>-1)&&(a=d.shift()),t=d.join(s)}return typeof a=="string"&&(a=[a]),{key:t,namespaces:a}}translate(t,r,i){if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r={...r}),r||(r={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const s=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(t[t.length-1],r),c=l[l.length-1],d=r.lng||this.language,p=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&d.toLowerCase()==="cimode"){if(p){const f=r.nsSeparator||this.options.nsSeparator;return s?{res:`${c}${f}${o}`,usedKey:o,exactUsedKey:o,usedLng:d,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:`${c}${f}${o}`}return s?{res:o,usedKey:o,exactUsedKey:o,usedLng:d,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:o}const h=this.resolve(t,r);let m=h&&h.res;const g=h&&h.usedKey||o,j=h&&h.exactUsedKey||o,b=Object.prototype.toString.apply(m),k=["[object Number]","[object Function]","[object RegExp]"],_=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,u=!this.i18nFormat||this.i18nFormat.handleAsObject;if(u&&m&&typeof m!="string"&&typeof m!="boolean"&&typeof m!="number"&&k.indexOf(b)<0&&!(typeof _=="string"&&Array.isArray(m))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const f=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,m,{...r,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return s?(h.res=f,h.usedParams=this.getUsedParamsDetails(r),h):f}if(a){const f=Array.isArray(m),v=f?[]:{},w=f?j:g;for(const x in m)if(Object.prototype.hasOwnProperty.call(m,x)){const N=`${w}${a}${x}`;v[x]=this.translate(N,{...r,joinArrays:!1,ns:l}),v[x]===N&&(v[x]=m[x])}m=v}}else if(u&&typeof _=="string"&&Array.isArray(m))m=m.join(_),m&&(m=this.extendTranslation(m,t,r,i));else{let f=!1,v=!1;const w=r.count!==void 0&&typeof r.count!="string",x=Wl.hasDefaultValue(r),N=w?this.pluralResolver.getSuffix(d,r.count,r):"",S=r.ordinal&&w?this.pluralResolver.getSuffix(d,r.count,{ordinal:!1}):"",E=w&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),L=E&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${N}`]||r[`defaultValue${S}`]||r.defaultValue;!this.isValidLookup(m)&&x&&(f=!0,m=L),this.isValidLookup(m)||(v=!0,m=o);const F=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&v?void 0:m,J=x&&L!==m&&this.options.updateMissing;if(v||f||J){if(this.logger.log(J?"updateKey":"missingKey",d,c,o,J?L:m),a){const G=this.resolve(o,{...r,keySeparator:!1});G&&G.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let q=[];const U=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&U&&U[0])for(let G=0;G{const M=x&&A!==m?A:F;this.options.missingKeyHandler?this.options.missingKeyHandler(G,c,ee,M,J,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(G,c,ee,M,J,r),this.emit("missingKey",G,c,ee,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&w?q.forEach(G=>{const ee=this.pluralResolver.getSuffixes(G,r);E&&r[`defaultValue${this.options.pluralSeparator}zero`]&&ee.indexOf(`${this.options.pluralSeparator}zero`)<0&&ee.push(`${this.options.pluralSeparator}zero`),ee.forEach(A=>{D([G],o+A,r[`defaultValue${A}`]||L)})}):D(q,o,L))}m=this.extendTranslation(m,t,r,h,i),v&&m===o&&this.options.appendNamespaceToMissingKey&&(m=`${c}:${o}`),(v||f)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${o}`:o,f?m:void 0):m=this.options.parseMissingKeyHandler(m))}return s?(h.res=m,h.usedParams=this.getUsedParamsDetails(r),h):m}extendTranslation(t,r,i,s,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const d=typeof t=="string"&&(i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let p;if(d){const m=t.match(this.interpolator.nestingRegexp);p=m&&m.length}let h=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),t=this.interpolator.interpolate(t,h,i.lng||this.language||s.usedLng,i),d){const m=t.match(this.interpolator.nestingRegexp),g=m&&m.length;p1&&arguments[1]!==void 0?arguments[1]:{},i,s,a,o,l;return typeof t=="string"&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(i))return;const d=this.extractFromKey(c,r),p=d.key;s=p;let h=d.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));const m=r.count!==void 0&&typeof r.count!="string",g=m&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),j=r.context!==void 0&&(typeof r.context=="string"||typeof r.context=="number")&&r.context!=="",b=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);h.forEach(k=>{this.isValidLookup(i)||(l=k,!om[`${b[0]}-${k}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(om[`${b[0]}-${k}`]=!0,this.logger.warn(`key "${s}" for languages "${b.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(_=>{if(this.isValidLookup(i))return;o=_;const u=[p];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(u,p,_,k,r);else{let v;m&&(v=this.pluralResolver.getSuffix(_,r.count,r));const w=`${this.options.pluralSeparator}zero`,x=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(m&&(u.push(p+v),r.ordinal&&v.indexOf(x)===0&&u.push(p+v.replace(x,this.options.pluralSeparator)),g&&u.push(p+w)),j){const N=`${p}${this.options.contextSeparator}${r.context}`;u.push(N),m&&(u.push(N+v),r.ordinal&&v.indexOf(x)===0&&u.push(N+v.replace(x,this.options.pluralSeparator)),g&&u.push(N+w))}}let f;for(;f=u.pop();)this.isValidLookup(i)||(a=f,i=this.getResource(_,k,f,r))}))})}),{res:i,usedKey:s,exactUsedKey:a,usedLng:o,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,r,i,s):this.resourceStore.getResource(t,r,i,s)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=t.replace&&typeof t.replace!="string";let s=i?t.replace:t;if(i&&typeof t.count<"u"&&(s.count=t.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!i){s={...s};for(const a of r)delete s[a]}return s}static hasDefaultValue(t){const r="defaultValue";for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&r===i.substring(0,r.length)&&t[i]!==void 0)return!0;return!1}}function hd(e){return e.charAt(0).toUpperCase()+e.slice(1)}class lm{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=pr.create("languageUtils")}getScriptPartFromCode(t){if(t=Hl(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=Hl(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const r=["hans","hant","latn","cyrl","cans","mong","arab"];let i=t.split("-");return this.options.lowerCaseLng?i=i.map(s=>s.toLowerCase()):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=hd(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=hd(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=hd(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(i=>{if(r)return;const s=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(s))&&(r=s)}),!r&&this.options.supportedLngs&&t.forEach(i=>{if(r)return;const s=this.getLanguagePartFromCode(i);if(this.isSupportedCode(s))return r=s;r=this.options.supportedLngs.find(a=>{if(a===s||!(a.indexOf("-")<0&&s.indexOf("-")<0)&&(a.indexOf("-")>0&&s.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===s||a.indexOf(s)===0&&s.length>1))return a})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let i=t[r];return i||(i=t[this.getScriptPartFromCode(r)]),i||(i=t[this.formatLanguageCode(r)]),i||(i=t[this.getLanguagePartFromCode(r)]),i||(i=t.default),i||[]}toResolveHierarchy(t,r){const i=this.getFallbackCodes(r||this.options.fallbackLng||[],t),s=[],a=o=>{o&&(this.isSupportedCode(o)?s.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):typeof t=="string"&&a(this.formatLanguageCode(t)),i.forEach(o=>{s.indexOf(o)<0&&a(this.formatLanguageCode(o))}),s}}let tR=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],nR={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const rR=["v1","v2","v3"],iR=["v4"],cm={zero:0,one:1,two:2,few:3,many:4,other:5};function sR(){const e={};return tR.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:nR[t.fc]}})}),e}class aR{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=pr.create("pluralResolver"),(!this.options.compatibilityJSON||iR.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=sR()}addRule(t,r){this.rules[t]=r}getRule(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(Hl(t==="dev"?"en":t),{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}getPluralFormsOfKey(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,i).map(s=>`${r}${s}`)}getSuffixes(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,r);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort((s,a)=>cm[s]-cm[a]).map(s=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${s}`):i.numbers.map(s=>this.getSuffix(t,s,r)):[]}getSuffix(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(t,i);return s?this.shouldUseIntlApi()?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${s.select(r)}`:this.getSuffixRetroCompatible(s,r):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,r){const i=t.noAbs?t.plurals(r):t.plurals(Math.abs(r));let s=t.numbers[i];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(s===2?s="plural":s===1&&(s=""));const a=()=>this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString();return this.options.compatibilityJSON==="v1"?s===1?"":typeof s=="number"?`_plural_${s.toString()}`:a():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!rR.includes(this.options.compatibilityJSON)}}function dm(e,t,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=GL(e,t,r);return!a&&s&&typeof r=="string"&&(a=_u(e,r,i),a===void 0&&(a=_u(t,r,i))),a}class oR{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=pr.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(r=>r),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:r,escapeValue:i,useRawValueToEscape:s,prefix:a,prefixEscaped:o,suffix:l,suffixEscaped:c,formatSeparator:d,unescapeSuffix:p,unescapePrefix:h,nestingPrefix:m,nestingPrefixEscaped:g,nestingSuffix:j,nestingSuffixEscaped:b,nestingOptionsSeparator:k,maxReplaces:_,alwaysFormat:u}=t.interpolation;this.escape=r!==void 0?r:JL,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=s!==void 0?s:!1,this.prefix=a?ns(a):o||"{{",this.suffix=l?ns(l):c||"}}",this.formatSeparator=d||",",this.unescapePrefix=p?"":h||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=m?ns(m):g||ns("$t("),this.nestingSuffix=j?ns(j):b||ns(")"),this.nestingOptionsSeparator=k||",",this.maxReplaces=_||1e3,this.alwaysFormat=u!==void 0?u:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,i)=>r&&r.source===i?(r.lastIndex=0,r):new RegExp(i,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,r,i,s){let a,o,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d(g){return g.replace(/\$/g,"$$$$")}const p=g=>{if(g.indexOf(this.formatSeparator)<0){const _=dm(r,c,g,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(_,void 0,i,{...s,...r,interpolationkey:g}):_}const j=g.split(this.formatSeparator),b=j.shift().trim(),k=j.join(this.formatSeparator).trim();return this.format(dm(r,c,b,this.options.keySeparator,this.options.ignoreJSONStructure),k,i,{...s,...r,interpolationkey:b})};this.resetRegExp();const h=s&&s.missingInterpolationHandler||this.options.missingInterpolationHandler,m=s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:g=>d(g)},{regex:this.regexp,safeValue:g=>this.escapeValue?d(this.escape(g)):d(g)}].forEach(g=>{for(l=0;a=g.regex.exec(t);){const j=a[1].trim();if(o=p(j),o===void 0)if(typeof h=="function"){const k=h(t,a,s);o=typeof k=="string"?k:""}else if(s&&Object.prototype.hasOwnProperty.call(s,j))o="";else if(m){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${j} for interpolating ${t}`),o="";else typeof o!="string"&&!this.useRawValueToEscape&&(o=im(o));const b=g.safeValue(o);if(t=t.replace(a[0],b),m?(g.regex.lastIndex+=o.length,g.regex.lastIndex-=a[0].length):g.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,a,o;function l(c,d){const p=this.nestingOptionsSeparator;if(c.indexOf(p)<0)return c;const h=c.split(new RegExp(`${p}[ ]*{`));let m=`{${h[1]}`;c=h[0],m=this.interpolate(m,o);const g=m.match(/'/g),j=m.match(/"/g);(g&&g.length%2===0&&!j||j.length%2!==0)&&(m=m.replace(/'/g,'"'));try{o=JSON.parse(m),d&&(o={...d,...o})}catch(b){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,b),`${c}${p}${m}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,c}for(;s=this.nestingRegexp.exec(t);){let c=[];o={...i},o=o.replace&&typeof o.replace!="string"?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let d=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const p=s[1].split(this.formatSeparator).map(h=>h.trim());s[1]=p.shift(),c=p,d=!0}if(a=r(l.call(this,s[1].trim(),o),o),a&&s[0]===t&&typeof a!="string")return a;typeof a!="string"&&(a=im(a)),a||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${t}`),a=""),d&&(a=c.reduce((p,h)=>this.format(p,h,i.lng,{...i,interpolationkey:s[1].trim()}),a.trim())),t=t.replace(s[0],a),this.regexp.lastIndex=0}return t}}function lR(e){let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const i=e.split("(");t=i[0].toLowerCase().trim();const s=i[1].substring(0,i[1].length-1);t==="currency"&&s.indexOf(":")<0?r.currency||(r.currency=s.trim()):t==="relativetime"&&s.indexOf(":")<0?r.range||(r.range=s.trim()):s.split(";").forEach(a=>{if(a){const[o,...l]=a.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,""),d=o.trim();r[d]||(r[d]=c),c==="false"&&(r[d]=!1),c==="true"&&(r[d]=!0),isNaN(c)||(r[d]=parseInt(c,10))}})}return{formatName:t,formatOptions:r}}function rs(e){const t={};return function(r,i,s){const a=i+JSON.stringify(s);let o=t[a];return o||(o=e(Hl(i),s),t[a]=o),o(r)}}class cR{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=pr.create("formatter"),this.options=t,this.formats={number:rs((r,i)=>{const s=new Intl.NumberFormat(r,{...i});return a=>s.format(a)}),currency:rs((r,i)=>{const s=new Intl.NumberFormat(r,{...i,style:"currency"});return a=>s.format(a)}),datetime:rs((r,i)=>{const s=new Intl.DateTimeFormat(r,{...i});return a=>s.format(a)}),relativetime:rs((r,i)=>{const s=new Intl.RelativeTimeFormat(r,{...i});return a=>s.format(a,i.range||"day")}),list:rs((r,i)=>{const s=new Intl.ListFormat(r,{...i});return a=>s.format(a)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=rs(r)}format(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return r.split(this.formatSeparator).reduce((a,o)=>{const{formatName:l,formatOptions:c}=lR(o);if(this.formats[l]){let d=a;try{const p=s&&s.formatParams&&s.formatParams[s.interpolationkey]||{},h=p.locale||p.lng||s.locale||s.lng||i;d=this.formats[l](a,h,{...c,...s,...p})}catch(p){this.logger.warn(p)}return d}else this.logger.warn(`there was no format function for ${l}`);return a},t)}}function dR(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class uR extends fc{constructor(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=i,this.languageUtils=i.languageUtils,this.options=s,this.logger=pr.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(i,s.backend,s)}queueLoad(t,r,i,s){const a={},o={},l={},c={};return t.forEach(d=>{let p=!0;r.forEach(h=>{const m=`${d}|${h}`;!i.reload&&this.store.hasResourceBundle(d,h)?this.state[m]=2:this.state[m]<0||(this.state[m]===1?o[m]===void 0&&(o[m]=!0):(this.state[m]=1,p=!1,o[m]===void 0&&(o[m]=!0),a[m]===void 0&&(a[m]=!0),c[h]===void 0&&(c[h]=!0)))}),p||(l[d]=!0)}),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,r,i){const s=t.split("|"),a=s[0],o=s[1];r&&this.emit("failedLoading",a,o,r),i&&this.store.addResourceBundle(a,o,i,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2;const l={};this.queue.forEach(c=>{KL(c.loaded,[a],o),dR(c,t),r&&c.errors.push(r),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(d=>{l[d]||(l[d]={});const p=c.loaded[d];p.length&&p.forEach(h=>{l[d][h]===void 0&&(l[d][h]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:i,tried:s,wait:a,callback:o});return}this.readingCalls++;const l=(d,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(d&&p&&s{this.read.call(this,t,r,i,s+1,a*2,o)},a);return}o(d,p)},c=this.backend[i].bind(this.backend);if(c.length===2){try{const d=c(t,r);d&&typeof d.then=="function"?d.then(p=>l(null,p)).catch(l):l(null,d)}catch(d){l(d)}return}return c(t,r,l)}prepareLoading(t,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof r=="string"&&(r=[r]);const a=this.queueLoad(t,r,i,s);if(!a.toLoad.length)return a.pending.length||s(),null;a.toLoad.forEach(o=>{this.loadOne(o)})}load(t,r,i){this.prepareLoading(t,r,{},i)}reload(t,r,i){this.prepareLoading(t,r,{reload:!0},i)}loadOne(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const i=t.split("|"),s=i[0],a=i[1];this.read(s,a,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${r}loading namespace ${a} for language ${s} failed`,o),!o&&l&&this.logger.log(`${r}loaded namespace ${a} for language ${s}`,l),this.loaded(t,o,l)})}saveMissing(t,r,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${i}" as the namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(i==null||i==="")){if(this.backend&&this.backend.create){const c={...o,isUpdate:a},d=this.backend.create.bind(this.backend);if(d.length<6)try{let p;d.length===5?p=d(t,r,i,s,c):p=d(t,r,i,s),p&&typeof p.then=="function"?p.then(h=>l(null,h)).catch(l):l(null,p)}catch(p){l(p)}else d(t,r,i,s,l,c)}!t||!t[0]||this.store.addResource(t[0],r,i,s)}}}function um(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if(typeof e[1]=="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const r=e[3]||e[2];Object.keys(r).forEach(i=>{t[i]=r[i]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function pm(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Bo(){}function pR(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]=="function"&&(e[t]=e[t].bind(e))})}class Za extends fc{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=pm(t),this.services={},this.logger=pr,this.modules={external:[]},pR(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof r=="function"&&(i=r,r={}),!r.defaultNS&&r.defaultNS!==!1&&r.ns&&(typeof r.ns=="string"?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const s=um();this.options={...s,...this.options,...pm(r)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...s.interpolation,...this.options.interpolation}),r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator);function a(c){return c?typeof c=="function"?new c:c:null}if(!this.options.isClone){this.modules.logger?pr.init(a(this.modules.logger),this.options):pr.init(null,this.options);let c;this.modules.formatter?c=this.modules.formatter:typeof Intl<"u"&&(c=cR);const d=new lm(this.options);this.store=new am(this.options.resources,this.options);const p=this.services;p.logger=pr,p.resourceStore=this.store,p.languageUtils=d,p.pluralResolver=new aR(d,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),c&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(p.formatter=a(c),p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new oR(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new uR(a(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",function(h){for(var m=arguments.length,g=new Array(m>1?m-1:0),j=1;j1?m-1:0),j=1;j{h.init&&h.init(this)})}if(this.format=this.options.interpolation.format,i||(i=Bo),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&c[0]!=="dev"&&(this.options.lng=c[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(c=>{this[c]=function(){return t.store[c](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(c=>{this[c]=function(){return t.store[c](...arguments),t}});const o=oa(),l=()=>{const c=(d,p)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(p),i(d,p)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return c(null,this.t.bind(this));this.changeLanguage(this.options.lng,c)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),o}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Bo;const i=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const s=[],a=o=>{!o||o==="cimode"||this.services.languageUtils.toResolveHierarchy(o).forEach(l=>{l!=="cimode"&&s.indexOf(l)<0&&s.push(l)})};i?a(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(o=>a(o)),this.options.preload&&this.options.preload.forEach(o=>a(o)),this.services.backendConnector.load(s,this.options.ns,o=>{!o&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(o)})}else r(null)}reloadResources(t,r,i){const s=oa();return t||(t=this.languages),r||(r=this.options.ns),i||(i=Bo),this.services.backendConnector.reload(t,r,a=>{s.resolve(),i(a)}),s}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&Xg.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let r=0;r-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}}changeLanguage(t,r){var i=this;this.isLanguageChangingTo=t;const s=oa();this.emit("languageChanging",t);const a=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,d)=>{d?(a(d),this.translator.changeLanguage(d),this.isLanguageChangingTo=void 0,this.emit("languageChanged",d),this.logger.log("languageChanged",d)):this.isLanguageChangingTo=void 0,s.resolve(function(){return i.t(...arguments)}),r&&r(c,function(){return i.t(...arguments)})},l=c=>{!t&&!c&&this.services.languageDetector&&(c=[]);const d=typeof c=="string"?c:this.services.languageUtils.getBestMatchFromCodes(c);d&&(this.language||a(d),this.translator.language||this.translator.changeLanguage(d),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(d)),this.loadResources(d,p=>{o(p,d)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),s}getFixedT(t,r,i){var s=this;const a=function(o,l){let c;if(typeof l!="object"){for(var d=arguments.length,p=new Array(d>2?d-2:0),h=2;h`${c.keyPrefix}${m}${j}`):g=c.keyPrefix?`${c.keyPrefix}${m}${o}`:o,s.t(g,c)};return typeof t=="string"?a.lng=t:a.lngs=t,a.ns=r,a.keyPrefix=i,a}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=r.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const o=(l,c)=>{const d=this.services.backendConnector.state[`${l}|${c}`];return d===-1||d===2};if(r.precheck){const l=r.precheck(this,o);if(l!==void 0)return l}return!!(this.hasResourceBundle(i,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(i,t)&&(!s||o(a,t)))}loadNamespaces(t,r){const i=oa();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{i.resolve(),r&&r(s)}),i):(r&&r(),Promise.resolve())}loadLanguages(t,r){const i=oa();typeof t=="string"&&(t=[t]);const s=this.options.preload||[],a=t.filter(o=>s.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return a.length?(this.options.preload=s.concat(a),this.loadResources(o=>{i.resolve(),r&&r(o)}),i):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const r=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],i=this.services&&this.services.languageUtils||new lm(um());return r.indexOf(i.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new Za(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Bo;const i=t.forkResourceStore;i&&delete t.forkResourceStore;const s={...this.options,...t,isClone:!0},a=new Za(s);return(t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),["store","services","language"].forEach(o=>{a[o]=this[o]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},i&&(a.store=new am(this.store.data,s),a.services.resourceStore=a.store),a.translator=new Wl(a.services,s),a.translator.on("*",function(o){for(var l=arguments.length,c=new Array(l>1?l-1:0),d=1;d",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},fR=e=>mR[e],gR=e=>e.replace(hR,fR);let hm={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:gR};const xR=(e={})=>{hm={...hm,...e}},vR={type:"3rdParty",init(e){xR(e.options.react)}};y.createContext();const jR={"avatar:default":"avatar"},_R={index:jR},yR={"avatar:default":"avatar"},bR={index:yR},wR={en:_R,fr:bR};tn.use(vR).init({resources:wR,lng:"en",ns:["index"],defaultNS:"index",interpolation:{escapeValue:!1}});y.createContext(void 0);const CR="_page_1v5u5_42",kR="_header_1v5u5_50",SR="_section_1v5u5_69",NR="_codeWrapper_1v5u5_92",$R="_demoWrapper_1v5u5_101",zR="_examples_1v5u5_132",ER="_example_1v5u5_132",LR="_description_1v5u5_187",RR="_demo_1v5u5_101",le={page:CR,header:kR,section:SR,codeWrapper:NR,demoWrapper:$R,examples:zR,example:ER,description:LR,demo:RR,"accordion-down":"_accordion-down_1v5u5_1","accordion-up":"_accordion-up_1v5u5_1"},AR=()=>{const{t:e}=$e();return n.jsxs("div",{className:le.examples,children:[n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.button.examples.basic.title")}),n.jsx("p",{className:le.description,children:e("components.button.examples.basic.description")}),n.jsx("div",{className:le.demo,children:n.jsx($,{variant:"primary",children:"Click me"})}),n.jsx("div",{className:le.codeWrapper,children:n.jsx(ne,{code:` import { Button } from '@minerva/lib-core'; function App() { @@ -304,7 +627,7 @@ function App() { Click me ); -}`,language:"tsx"})})]}),n.jsxs("div",{className:Ie.example,children:[n.jsx("h3",{children:e("components.button.examples.variants.title")}),n.jsx("p",{className:Ie.description,children:e("components.button.examples.variants.description")}),n.jsxs("div",{className:Ie.demo,children:[n.jsx(z,{variant:"primary",children:"Primary"}),n.jsx(z,{variant:"secondary",children:"Secondary"}),n.jsx(z,{variant:"success",children:"Success"}),n.jsx(z,{variant:"warning",children:"Warning"}),n.jsx(z,{variant:"error",children:"Error"}),n.jsx(z,{variant:"retry",children:"Retry"}),n.jsx(z,{variant:"back",children:"Back"})]}),n.jsx("div",{className:Ie.codeWrapper,children:n.jsx(oe,{code:` +}`,language:"tsx"})})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.button.examples.variants.title")}),n.jsx("p",{className:le.description,children:e("components.button.examples.variants.description")}),n.jsxs("div",{className:le.demo,children:[n.jsx($,{variant:"primary",children:"Primary"}),n.jsx($,{variant:"secondary",children:"Secondary"}),n.jsx($,{variant:"success",children:"Success"}),n.jsx($,{variant:"warning",children:"Warning"}),n.jsx($,{variant:"error",children:"Error"}),n.jsx($,{variant:"retry",children:"Retry"}),n.jsx($,{variant:"back",children:"Back"})]}),n.jsx("div",{className:le.codeWrapper,children:n.jsx(ne,{code:` // Different button variants for different purposes @@ -312,27 +635,27 @@ function App() { -`,language:"tsx"})})]}),n.jsxs("div",{className:Ie.example,children:[n.jsx("h3",{children:e("components.button.examples.sizes.title")}),n.jsx("p",{className:Ie.description,children:e("components.button.examples.sizes.description")}),n.jsxs("div",{className:Ie.demo,children:[n.jsx(z,{size:"small",children:"Small"}),n.jsx(z,{size:"medium",children:"Medium"}),n.jsx(z,{size:"large",children:"Large"}),n.jsx(z,{size:"xlarge",children:"XLarge"})]}),n.jsx("div",{className:Ie.codeWrapper,children:n.jsx(oe,{code:` +`,language:"tsx"})})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.button.examples.sizes.title")}),n.jsx("p",{className:le.description,children:e("components.button.examples.sizes.description")}),n.jsxs("div",{className:le.demo,children:[n.jsx($,{size:"small",children:"Small"}),n.jsx($,{size:"medium",children:"Medium"}),n.jsx($,{size:"large",children:"Large"}),n.jsx($,{size:"xlarge",children:"XLarge"})]}),n.jsx("div",{className:le.codeWrapper,children:n.jsx(ne,{code:` // Different button sizes -`,language:"tsx"})})]}),n.jsxs("div",{className:Ie.example,children:[n.jsx("h3",{children:e("components.button.examples.shapes.title")}),n.jsx("p",{className:Ie.description,children:e("components.button.examples.shapes.description")}),n.jsxs("div",{className:Ie.demo,children:[n.jsx(z,{shape:"square",children:"Square"}),n.jsx(z,{shape:"rounded",children:"Rounded"}),n.jsx(z,{shape:"circle",children:"Circle"})]}),n.jsx("div",{className:Ie.codeWrapper,children:n.jsx(oe,{code:` +`,language:"tsx"})})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.button.examples.shapes.title")}),n.jsx("p",{className:le.description,children:e("components.button.examples.shapes.description")}),n.jsxs("div",{className:le.demo,children:[n.jsx($,{shape:"square",children:"Square"}),n.jsx($,{shape:"rounded",children:"Rounded"}),n.jsx($,{shape:"circle",children:"Circle"})]}),n.jsx("div",{className:le.codeWrapper,children:n.jsx(ne,{code:` // Different button shapes -`,language:"tsx"})})]}),n.jsxs("div",{className:Ie.example,children:[n.jsx("h3",{children:e("components.button.examples.borderRadius.title")}),n.jsx("p",{className:Ie.description,children:e("components.button.examples.borderRadius.description")}),n.jsxs("div",{className:Ie.demo,children:[n.jsx(z,{borderRadius:"none",children:"No Radius"}),n.jsx(z,{borderRadius:"small",children:"Small Radius"}),n.jsx(z,{borderRadius:"medium",children:"Medium Radius"}),n.jsx(z,{borderRadius:"large",children:"Large Radius"}),n.jsx(z,{borderRadius:"circle",children:"Circle Radius"}),n.jsx(z,{borderRadius:8,children:"Custom Radius"})]}),n.jsx("div",{className:Ie.codeWrapper,children:n.jsx(oe,{code:` +`,language:"tsx"})})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.button.examples.borderRadius.title")}),n.jsx("p",{className:le.description,children:e("components.button.examples.borderRadius.description")}),n.jsxs("div",{className:le.demo,children:[n.jsx($,{borderRadius:"none",children:"No Radius"}),n.jsx($,{borderRadius:"small",children:"Small Radius"}),n.jsx($,{borderRadius:"medium",children:"Medium Radius"}),n.jsx($,{borderRadius:"large",children:"Large Radius"}),n.jsx($,{borderRadius:"circle",children:"Circle Radius"}),n.jsx($,{borderRadius:8,children:"Custom Radius"})]}),n.jsx("div",{className:le.codeWrapper,children:n.jsx(ne,{code:` // Custom button border radius -`,language:"tsx"})})]}),n.jsxs("div",{className:Ie.example,children:[n.jsx("h3",{children:e("components.button.examples.states.title")}),n.jsx("p",{className:Ie.description,children:e("components.button.examples.states.description")}),n.jsxs("div",{className:Ie.demo,children:[n.jsx(z,{loading:!0,children:"Loading"}),n.jsx(z,{disabled:!0,children:"Disabled"}),n.jsx(z,{active:!0,children:"Active"})]}),n.jsx("div",{className:Ie.codeWrapper,children:n.jsx(oe,{code:` +`,language:"tsx"})})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.button.examples.states.title")}),n.jsx("p",{className:le.description,children:e("components.button.examples.states.description")}),n.jsxs("div",{className:le.demo,children:[n.jsx($,{loading:!0,children:"Loading"}),n.jsx($,{disabled:!0,children:"Disabled"}),n.jsx($,{active:!0,children:"Active"})]}),n.jsx("div",{className:le.codeWrapper,children:n.jsx(ne,{code:` // Different button states -`,language:"tsx"})})]}),n.jsxs("div",{className:Ie.example,children:[n.jsx("h3",{children:e("components.button.examples.withIcons.title")}),n.jsx("p",{className:Ie.description,children:e("components.button.examples.withIcons.description")}),n.jsxs("div",{className:Ie.demo,children:[n.jsxs(z,{variant:"primary",children:[n.jsx(S6,{})," Search"]}),n.jsxs(z,{variant:"secondary",children:[n.jsx(Hl,{})," Like"]}),n.jsxs(z,{variant:"success",children:[n.jsx(B3,{})," Add"]}),n.jsxs(z,{variant:"error",children:[n.jsx(A6,{})," Delete"]}),n.jsxs(z,{variant:"primary",children:[n.jsx(k6,{})," Save"]})]}),n.jsx("div",{className:Ie.codeWrapper,children:n.jsx(oe,{code:` +`,language:"tsx"})})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.button.examples.withIcons.title")}),n.jsx("p",{className:le.description,children:e("components.button.examples.withIcons.description")}),n.jsxs("div",{className:le.demo,children:[n.jsxs($,{variant:"primary",children:[n.jsx(Sg,{})," Search"]}),n.jsxs($,{variant:"secondary",children:[n.jsx(hc,{})," Like"]}),n.jsxs($,{variant:"success",children:[n.jsx(d5,{})," Add"]}),n.jsxs($,{variant:"error",children:[n.jsx(Rg,{})," Delete"]}),n.jsxs($,{variant:"primary",children:[n.jsx(kg,{})," Save"]})]}),n.jsx("div",{className:le.codeWrapper,children:n.jsx(ne,{code:` // Buttons with icons import { IoSearch, IoHeart, IoAdd, IoTrash, IoSave } from "react-icons/io5"; @@ -350,9 +673,9 @@ import { IoSearch, IoHeart, IoAdd, IoTrash, IoSave } from "react-icons/io5"; `,language:"tsx"})})]}),n.jsxs("div",{className:Ie.example,children:[n.jsx("h3",{children:e("components.button.examples.block.title")}),n.jsx("p",{className:Ie.description,children:e("components.button.examples.block.description")}),n.jsx("div",{className:Ie.demo,children:n.jsx(z,{style:{width:"100%"},children:"Block Button"})}),n.jsx("div",{className:Ie.codeWrapper,children:n.jsx(oe,{code:` +`,language:"tsx"})})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.button.examples.block.title")}),n.jsx("p",{className:le.description,children:e("components.button.examples.block.description")}),n.jsx("div",{className:le.demo,children:n.jsx($,{style:{width:"100%"},children:"Block Button"})}),n.jsx("div",{className:le.codeWrapper,children:n.jsx(ne,{code:` // Full width button -`,language:"tsx"})})]}),n.jsxs("div",{className:Ie.example,children:[n.jsx("h3",{children:e("components.button.examples.customStyles.title")}),n.jsx("p",{className:Ie.description,children:e("components.button.examples.customStyles.description")}),n.jsxs("div",{className:Ie.demo,children:[n.jsx(z,{style:{background:"linear-gradient(45deg, #FE6B8B 30%, #FF8E53 90%)",color:"white",padding:"0 30px",boxShadow:"0 3px 5px 2px rgba(255, 105, 135, .3)"},children:"Gradient"}),n.jsx(z,{style:{border:"2px dashed #1890ff",color:"#1890ff",background:"transparent"},children:"Dashed"}),n.jsx(z,{style:{background:"#13c2c2",color:"white",borderRadius:"24px"},children:"Custom"})]}),n.jsx("div",{className:Ie.codeWrapper,children:n.jsx(oe,{code:` +`,language:"tsx"})})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.button.examples.customStyles.title")}),n.jsx("p",{className:le.description,children:e("components.button.examples.customStyles.description")}),n.jsxs("div",{className:le.demo,children:[n.jsx($,{style:{background:"linear-gradient(45deg, #FE6B8B 30%, #FF8E53 90%)",color:"white",padding:"0 30px",boxShadow:"0 3px 5px 2px rgba(255, 105, 135, .3)"},children:"Gradient"}),n.jsx($,{style:{border:"2px dashed #1890ff",color:"#1890ff",background:"transparent"},children:"Dashed"}),n.jsx($,{style:{background:"#13c2c2",color:"white",borderRadius:"24px"},children:"Custom"})]}),n.jsx("div",{className:le.codeWrapper,children:n.jsx(ne,{code:` // Buttons with custom styles `,language:"tsx"})})]})]})},dE="_page_ntcsq_42",uE="_header_ntcsq_50",pE="_section_ntcsq_69",hE="_codeWrapper_ntcsq_92",mE="_demoWrapper_ntcsq_101",fE="_titleWrapper_ntcsq_139",gE="_icon_ntcsq_145",xE="_properties_ntcsq_195",vE="_property_ntcsq_202",jE="_badge_ntcsq_223",_E="_type_ntcsq_235",yE="_examples_ntcsq_260",bE="_example_ntcsq_260",wE="_description_ntcsq_285",CE="_demo_ntcsq_101",Y={page:dE,header:uE,section:pE,codeWrapper:hE,demoWrapper:mE,titleWrapper:fE,icon:gE,properties:xE,property:vE,badge:jE,type:_E,examples:yE,example:bE,description:wE,demo:CE,"accordion-down":"_accordion-down_ntcsq_1","accordion-up":"_accordion-up_ntcsq_1"},kE=()=>{const{t:e}=$e();return n.jsxs("div",{className:Y.page,children:[n.jsx("header",{className:Y.header,children:n.jsxs("div",{className:Y.titleWrapper,children:[n.jsx(Ro,{className:Y.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.button.title")}),n.jsx("p",{children:e("components.button.description")})]})]})}),n.jsxs("section",{className:Y.section,children:[n.jsx("h2",{children:e("components.button.installation")}),n.jsx("p",{children:e("components.button.installation_description")}),n.jsx("div",{className:Y.codeWrapper,children:n.jsx(oe,{code:"import { Button } from '@minerva/lib-core';",language:"typescript",showLineNumbers:!1})})]}),n.jsxs("section",{className:Y.section,children:[n.jsx("h2",{children:e("components.button.properties.title")}),n.jsxs("div",{className:Y.properties,children:[n.jsxs("div",{className:Y.property,children:[n.jsxs("h3",{children:["variant",n.jsx("span",{className:Y.badge,children:"required"})]}),n.jsx("code",{className:Y.type,children:'"primary" | "secondary" | "success" | "warning" | "error" | "retry" | "back"'}),n.jsx("p",{children:e("components.button.properties.variant.description")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"size"}),n.jsx("code",{className:Y.type,children:'"small" | "medium" | "large" | "xlarge"'}),n.jsx("p",{children:e("components.button.properties.size.description")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"shape"}),n.jsx("code",{className:Y.type,children:'"square" | "rounded" | "circle"'}),n.jsx("p",{children:e("components.button.properties.shape.description")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"borderRadius"}),n.jsx("code",{className:Y.type,children:'"none" | "small" | "medium" | "large" | "circle" | "square" | number'}),n.jsx("p",{children:e("components.button.properties.borderRadius.description")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"disabled"}),n.jsx("code",{className:Y.type,children:"boolean"}),n.jsx("p",{children:e("components.button.properties.disabled.description")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"loading"}),n.jsx("code",{className:Y.type,children:"boolean"}),n.jsx("p",{children:e("components.button.properties.loading.description")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"active"}),n.jsx("code",{className:Y.type,children:"boolean"}),n.jsx("p",{children:e("components.button.properties.active.description")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"onClick"}),n.jsx("code",{className:Y.type,children:"(event: React.MouseEvent) => void"}),n.jsx("p",{children:e("components.button.properties.onClick.description")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"children"}),n.jsx("code",{className:Y.type,children:"React.ReactNode"}),n.jsx("p",{children:e("components.button.properties.children.description")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"className"}),n.jsx("code",{className:Y.type,children:"string"}),n.jsx("p",{children:e("components.button.properties.className.description")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"ariaLabel"}),n.jsx("code",{className:Y.type,children:"string"}),n.jsx("p",{children:e("components.button.properties.ariaLabel.description")})]})]})]}),n.jsxs("section",{className:Y.section,children:[n.jsx("h2",{children:e("components.button.examples.title")}),n.jsx(cE,{})]})]})};function SE(e){return F({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"},child:[]}]})(e)}function Rt(e){return F({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"},child:[]}]})(e)}function eg(e){return F({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M0 512V48C0 21.49 21.49 0 48 0h288c26.51 0 48 21.49 48 48v464L192 400 0 512z"},child:[]}]})(e)}function NE(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M511.988 288.9c-.478 17.43-15.217 31.1-32.653 31.1H424v16c0 21.864-4.882 42.584-13.6 61.145l60.228 60.228c12.496 12.497 12.496 32.758 0 45.255-12.498 12.497-32.759 12.496-45.256 0l-54.736-54.736C345.886 467.965 314.351 480 280 480V236c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v244c-34.351 0-65.886-12.035-90.636-32.108l-54.736 54.736c-12.498 12.497-32.759 12.496-45.256 0-12.496-12.497-12.496-32.758 0-45.255l60.228-60.228C92.882 378.584 88 357.864 88 336v-16H32.666C15.23 320 .491 306.33.013 288.9-.484 270.816 14.028 256 32 256h56v-58.745l-46.628-46.628c-12.496-12.497-12.496-32.758 0-45.255 12.498-12.497 32.758-12.497 45.256 0L141.255 160h229.489l54.627-54.627c12.498-12.497 32.758-12.497 45.256 0 12.496 12.497 12.496 32.758 0 45.255L424 197.255V256h56c17.972 0 32.484 14.816 31.988 32.9zM257 0c-61.856 0-112 50.144-112 112h224C369 50.144 318.856 0 257 0z"},child:[]}]})(e)}function vo(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},child:[]}]})(e)}function Aa(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"},child:[]}]})(e)}function Vd(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8Zm92.49,313h0l-20,25a16,16,0,0,1-22.49,2.5h0l-67-49.72a40,40,0,0,1-15-31.23V112a16,16,0,0,1,16-16h32a16,16,0,0,1,16,16V256l58,42.5A16,16,0,0,1,348.49,321Z"},child:[]}]})(e)}function zE(e){return F({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"},child:[]}]})(e)}function Bc(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 0-70.2l42.6-24.6c4.9-2.8 7.1-8.6 5.5-14-11.1-35.6-30-67.8-54.7-94.6-3.8-4.1-10-5.1-14.8-2.3L380.8 110c-17.9-15.4-38.5-27.3-60.8-35.1V25.8c0-5.6-3.9-10.5-9.4-11.7-36.7-8.2-74.3-7.8-109.2 0-5.5 1.2-9.4 6.1-9.4 11.7V75c-22.2 7.9-42.8 19.8-60.8 35.1L88.7 85.5c-4.9-2.8-11-1.9-14.8 2.3-24.7 26.7-43.6 58.9-54.7 94.6-1.7 5.4.6 11.2 5.5 14L67.3 221c-4.3 23.2-4.3 47 0 70.2l-42.6 24.6c-4.9 2.8-7.1 8.6-5.5 14 11.1 35.6 30 67.8 54.7 94.6 3.8 4.1 10 5.1 14.8 2.3l42.6-24.6c17.9 15.4 38.5 27.3 60.8 35.1v49.2c0 5.6 3.9 10.5 9.4 11.7 36.7 8.2 74.3 7.8 109.2 0 5.5-1.2 9.4-6.1 9.4-11.7v-49.2c22.2-7.9 42.8-19.8 60.8-35.1l42.6 24.6c4.9 2.8 11 1.9 14.8-2.3 24.7-26.7 43.6-58.9 54.7-94.6 1.5-5.5-.7-11.3-5.6-14.1zM256 336c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"},child:[]}]})(e)}function $E(e){return F({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448 73.143v45.714C448 159.143 347.667 192 224 192S0 159.143 0 118.857V73.143C0 32.857 100.333 0 224 0s224 32.857 224 73.143zM448 176v102.857C448 319.143 347.667 352 224 352S0 319.143 0 278.857V176c48.125 33.143 136.208 48.572 224 48.572S399.874 209.143 448 176zm0 160v102.857C448 479.143 347.667 512 224 512S0 479.143 0 438.857V336c48.125 33.143 136.208 48.572 224 48.572S399.874 369.143 448 336z"},child:[]}]})(e)}function LE(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"},child:[]}]})(e)}function Oc(e){return F({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z"},child:[]}]})(e)}function EE(e){return F({tag:"svg",attr:{viewBox:"0 0 192 512"},child:[{tag:"path",attr:{d:"M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"},child:[]}]})(e)}function Kd(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"},child:[]}]})(e)}function k1(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},child:[]}]})(e)}function IE(e){return F({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},child:[]}]})(e)}function S1(e){return F({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm64 236c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-64c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-72v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm96-114.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"},child:[]}]})(e)}function RE(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M349.565 98.783C295.978 98.783 251.721 64 184.348 64c-24.955 0-47.309 4.384-68.045 12.013a55.947 55.947 0 0 0 3.586-23.562C118.117 24.015 94.806 1.206 66.338.048 34.345-1.254 8 24.296 8 56c0 19.026 9.497 35.825 24 45.945V488c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-94.4c28.311-12.064 63.582-22.122 114.435-22.122 53.588 0 97.844 34.783 165.217 34.783 48.169 0 86.667-16.294 122.505-40.858C506.84 359.452 512 349.571 512 339.045v-243.1c0-23.393-24.269-38.87-45.485-29.016-34.338 15.948-76.454 31.854-116.95 31.854z"},child:[]}]})(e)}function Ln(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"},child:[]}]})(e)}function PE(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"},child:[]}]})(e)}function N1(e){return F({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M567.938 243.908L462.25 85.374A48.003 48.003 0 0 0 422.311 64H153.689a48 48 0 0 0-39.938 21.374L8.062 243.908A47.994 47.994 0 0 0 0 270.533V400c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V270.533a47.994 47.994 0 0 0-8.062-26.625zM162.252 128h251.497l85.333 128H376l-32 64H232l-32-64H76.918l85.334-128z"},child:[]}]})(e)}function AE(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},child:[]}]})(e)}function Ao(e){return F({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"},child:[]}]})(e)}function tg(e){return F({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"},child:[]}]})(e)}function Gd(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"},child:[]}]})(e)}function z1(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"},child:[]}]})(e)}function Ma(e){return F({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"},child:[]}]})(e)}function ME(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M0 252.118V48C0 21.49 21.49 0 48 0h204.118a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882L293.823 497.941c-18.745 18.745-49.137 18.745-67.882 0L14.059 286.059A48 48 0 0 1 0 252.118zM112 64c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48z"},child:[]}]})(e)}function TE(e){return F({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"},child:[]}]})(e)}function ng(e){return F({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(e)}function FE(e){return F({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"},child:[]}]})(e)}function Jr(e){return F({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"},child:[]}]})(e)}const BE="_section_1h7o4_42",OE="_group_1h7o4_45",DE="_textField_1h7o4_55",$1={section:BE,group:OE,textField:DE,"accordion-down":"_accordion-down_1h7o4_1","accordion-up":"_accordion-up_1h7o4_1"},UE=()=>{const[e,t]=y.useState(""),[r,i]=y.useState(""),[s,a]=y.useState(""),o=l=>{t(l),l.length<3?a("Input must be at least 3 characters long."):a("")};return n.jsxs("div",{className:$1.section,children:[n.jsx("h3",{children:"TextField Examples"}),n.jsxs("div",{className:$1.group,children:[n.jsxs("div",{children:[n.jsx("h4",{children:"Basic TextField with Icon"}),n.jsx(Me,{name:"username",label:"Username",placeholder:"Enter your username",icon:n.jsx(Jr,{}),iconPosition:"left",borderRadius:"0.5rem",showCharCount:!0}),n.jsx("p",{children:"展示带有左侧图标的基本 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Label TextField"}),n.jsx(Me,{name:"email",label:"Email",value:r,onChange:i,icon:n.jsx(Kd,{})}),n.jsx(Me,{name:"email2",label:"Email"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Password TextField with Icon"}),n.jsx(Me,{name:"password",label:"Password",placeholder:"Enter your password",borderColor:"#ff9800",borderRadius:"0.5rem",type:"password"}),n.jsx(Me,{name:"textPassword",label:"Text Password",placeholder:"Enter your password",icon:n.jsx(Ao,{}),iconPosition:"right",borderColor:"#ff9800",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示带有右侧图标的密码输入框"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Minimal TextField"}),n.jsx(Me,{name:"minimal",label:"Minimal TextField",minimal:!0}),n.jsx("p",{children:"展示最小版本的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Error Example"}),n.jsx(Me,{name:"errorExample",label:"Error Example",placeholder:"Enter text",helperText:s,borderRadius:"0.5rem"}),n.jsx("p",{children:"展示带有错误消息的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"No Border TextField"}),n.jsx(Me,{name:"noBorder",label:"No Border",placeholder:"No border",hideBorder:!0,borderRadius:"0.5rem"}),n.jsx("p",{children:"展示无边框的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Clearable TextField"}),n.jsx(Me,{name:"clearable",label:"Email",icon:n.jsx(Kd,{}),iconPosition:"left",borderRadius:"0.5rem",clearable:!0}),n.jsx("p",{children:"展示带有清除功能的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Full Width TextField"}),n.jsx(Me,{name:"fullWidth",label:"Full Width",placeholder:"Enter text",borderRadius:"0.5rem",fullWidth:!0}),n.jsx("p",{children:"展示全宽度的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Custom Width TextField"}),n.jsx(Me,{name:"customWidth",label:"Custom Width",borderRadius:"0.5rem",width:"300px"}),n.jsx("p",{children:"展示自定义宽度的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Disabled TextField"}),n.jsx(Me,{name:"disabled",label:"Disabled",placeholder:"Disabled input",borderRadius:"0.5rem",disabled:!0}),n.jsx("p",{children:"展示禁用状态的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"TextField with and without Icon"}),n.jsx(Me,{name:"withIcon",label:"With Icon",placeholder:"With Icon",icon:n.jsx(Jr,{}),iconPosition:"left",borderRadius:"0.5rem"}),n.jsx(Me,{name:"withoutIcon",label:"Without Icon",placeholder:"Without Icon",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示带有和不带图标的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"TextField with and without Error"}),n.jsx(Me,{name:"withError",label:"With Error",placeholder:"With Error",value:e,onChange:o,helperText:s,borderRadius:"0.5rem"}),n.jsx(Me,{name:"withoutError",label:"Without Error",placeholder:"Without Error",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示带有和不带错误消息的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"TextField with and without Clearable"}),n.jsx(Me,{name:"clearableField",label:"Clearable",placeholder:"Clearable",clearable:!0,borderRadius:"0.5rem"}),n.jsx(Me,{name:"notClearable",label:"Not Clearable",placeholder:"Not Clearable",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示带有和不带清除功能的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"TextField with and without ShowCharCount"}),n.jsx(Me,{name:"showCharCount",label:"Show Char Count",placeholder:"Show Char Count",showCharCount:!0,borderRadius:"0.5rem"}),n.jsx(Me,{name:"noCharCount",label:"No Char Count",placeholder:"No Char Count",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示带有和不带字符计数的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"TextField with Different Sizes"}),n.jsx(Me,{name:"smallSize",label:"Small Size",size:"small",borderRadius:"0.5rem"}),n.jsx(Me,{name:"mediumSize",label:"Medium Size",size:"medium",borderRadius:"0.5rem"}),n.jsx(Me,{name:"largeSize",label:"Large Size",size:"large",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示不同尺寸的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"TextField with Suffix"}),n.jsx(Me,{name:"withSuffix1",label:"With Unit",suffix:n.jsx("span",{children:"kg"}),borderRadius:"0.5rem"}),n.jsx(Me,{name:"withSuffix2",label:"With Icon Suffix",suffix:n.jsx(Jr,{}),borderRadius:"0.5rem"}),n.jsx(Me,{name:"withSuffix3",label:"With Text Suffix",suffix:"@gmail.com",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示带有不同后缀的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"TextField with ReadOnly"}),n.jsx(Me,{name:"readOnly1",label:"Basic ReadOnly",value:"This is read-only text",readOnly:!0,borderRadius:"0.5rem"}),n.jsx(Me,{name:"readOnly2",label:"ReadOnly with Icon",value:"Read-only with icon",readOnly:!0,icon:n.jsx(Ao,{}),borderRadius:"0.5rem"}),n.jsx(Me,{name:"readOnly3",label:"ReadOnly with Suffix",value:"100",readOnly:!0,suffix:"USD",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示只读状态的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Combined Features"}),n.jsx(Me,{name:"combined1",label:"All Features",icon:n.jsx(Jr,{}),suffix:n.jsx("span",{children:"@company.com"}),size:"small",clearable:!0,showCharCount:!0,borderRadius:"0.5rem"}),n.jsx(Me,{name:"combined2",label:"ReadOnly Large",value:"Read-only large text",readOnly:!0,size:"large",suffix:n.jsx(Ao,{}),borderRadius:"0.5rem"}),n.jsx("p",{children:"展示组合使用多个特性的 TextField"})]})]})]})},HE="_componentPage_1sbfo_42",WE="_header_1sbfo_51",qE="_titleWrapper_1sbfo_54",VE="_icon_1sbfo_59",KE="_section_1sbfo_74",GE="_fadeIn_1sbfo_1",QE="_description_1sbfo_93",JE="_properties_1sbfo_99",YE="_property_1sbfo_105",XE="_badge_1sbfo_125",ZE="_type_1sbfo_132",eI="_examples_1sbfo_147",tI="_example_1sbfo_147",nI="_demo_1sbfo_166",rI="_codeWrapper_1sbfo_172",A={componentPage:HE,header:WE,titleWrapper:qE,icon:VE,section:KE,fadeIn:GE,description:QE,properties:JE,property:YE,badge:XE,type:ZE,examples:eI,example:tI,demo:nI,codeWrapper:rI,"accordion-down":"_accordion-down_1sbfo_1","accordion-up":"_accordion-up_1sbfo_1"},iI=()=>{const{t:e}=$e();return n.jsxs("div",{className:A.componentPage,children:[n.jsx("header",{className:A.header,children:n.jsxs("div",{className:A.titleWrapper,children:[n.jsx(I0,{className:A.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.textfield.title")}),n.jsx("p",{children:e("components.textfield.description")})]})]})}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.textfield.installation")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:"import { TextField } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.textfield.basic_usage")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:`import { TextField } from '@minerva/lib-core'; +`,language:"tsx"})})]})]})},IR="_page_ntcsq_42",PR="_header_ntcsq_50",MR="_section_ntcsq_69",BR="_codeWrapper_ntcsq_92",TR="_demoWrapper_ntcsq_101",OR="_titleWrapper_ntcsq_139",FR="_icon_ntcsq_145",DR="_properties_ntcsq_195",UR="_property_ntcsq_202",HR="_badge_ntcsq_223",WR="_type_ntcsq_235",qR="_examples_ntcsq_260",VR="_example_ntcsq_260",KR="_description_ntcsq_285",GR="_demo_ntcsq_101",Q={page:IR,header:PR,section:MR,codeWrapper:BR,demoWrapper:TR,titleWrapper:OR,icon:FR,properties:DR,property:UR,badge:HR,type:WR,examples:qR,example:VR,description:KR,demo:GR,"accordion-down":"_accordion-down_ntcsq_1","accordion-up":"_accordion-up_ntcsq_1"},QR=()=>{const{t:e}=$e();return n.jsxs("div",{className:Q.page,children:[n.jsx("header",{className:Q.header,children:n.jsxs("div",{className:Q.titleWrapper,children:[n.jsx(el,{className:Q.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.button.title")}),n.jsx("p",{children:e("components.button.description")})]})]})}),n.jsxs("section",{className:Q.section,children:[n.jsx("h2",{children:e("components.button.installation")}),n.jsx("p",{children:e("components.button.installation_description")}),n.jsx("div",{className:Q.codeWrapper,children:n.jsx(ne,{code:"import { Button } from '@minerva/lib-core';",language:"typescript",showLineNumbers:!1})})]}),n.jsxs("section",{className:Q.section,children:[n.jsx("h2",{children:e("components.button.properties.title")}),n.jsxs("div",{className:Q.properties,children:[n.jsxs("div",{className:Q.property,children:[n.jsxs("h3",{children:["variant",n.jsx("span",{className:Q.badge,children:"required"})]}),n.jsx("code",{className:Q.type,children:'"primary" | "secondary" | "success" | "warning" | "error" | "retry" | "back"'}),n.jsx("p",{children:e("components.button.properties.variant.description")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"size"}),n.jsx("code",{className:Q.type,children:'"small" | "medium" | "large" | "xlarge"'}),n.jsx("p",{children:e("components.button.properties.size.description")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"shape"}),n.jsx("code",{className:Q.type,children:'"square" | "rounded" | "circle"'}),n.jsx("p",{children:e("components.button.properties.shape.description")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"borderRadius"}),n.jsx("code",{className:Q.type,children:'"none" | "small" | "medium" | "large" | "circle" | "square" | number'}),n.jsx("p",{children:e("components.button.properties.borderRadius.description")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"disabled"}),n.jsx("code",{className:Q.type,children:"boolean"}),n.jsx("p",{children:e("components.button.properties.disabled.description")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"loading"}),n.jsx("code",{className:Q.type,children:"boolean"}),n.jsx("p",{children:e("components.button.properties.loading.description")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"active"}),n.jsx("code",{className:Q.type,children:"boolean"}),n.jsx("p",{children:e("components.button.properties.active.description")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"onClick"}),n.jsx("code",{className:Q.type,children:"(event: React.MouseEvent) => void"}),n.jsx("p",{children:e("components.button.properties.onClick.description")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"children"}),n.jsx("code",{className:Q.type,children:"React.ReactNode"}),n.jsx("p",{children:e("components.button.properties.children.description")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"className"}),n.jsx("code",{className:Q.type,children:"string"}),n.jsx("p",{children:e("components.button.properties.className.description")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"ariaLabel"}),n.jsx("code",{className:Q.type,children:"string"}),n.jsx("p",{children:e("components.button.properties.ariaLabel.description")})]})]})]}),n.jsxs("section",{className:Q.section,children:[n.jsx("h2",{children:e("components.button.examples.title")}),n.jsx(AR,{})]})]})};function JR(e){return T({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"},child:[]}]})(e)}function At(e){return T({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"},child:[]}]})(e)}function Zg(e){return T({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M0 512V48C0 21.49 21.49 0 48 0h288c26.51 0 48 21.49 48 48v464L192 400 0 512z"},child:[]}]})(e)}function YR(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M511.988 288.9c-.478 17.43-15.217 31.1-32.653 31.1H424v16c0 21.864-4.882 42.584-13.6 61.145l60.228 60.228c12.496 12.497 12.496 32.758 0 45.255-12.498 12.497-32.759 12.496-45.256 0l-54.736-54.736C345.886 467.965 314.351 480 280 480V236c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v244c-34.351 0-65.886-12.035-90.636-32.108l-54.736 54.736c-12.498 12.497-32.759 12.496-45.256 0-12.496-12.497-12.496-32.758 0-45.255l60.228-60.228C92.882 378.584 88 357.864 88 336v-16H32.666C15.23 320 .491 306.33.013 288.9-.484 270.816 14.028 256 32 256h56v-58.745l-46.628-46.628c-12.496-12.497-12.496-32.758 0-45.255 12.498-12.497 32.758-12.497 45.256 0L141.255 160h229.489l54.627-54.627c12.498-12.497 32.758-12.497 45.256 0 12.496 12.497 12.496 32.758 0 45.255L424 197.255V256h56c17.972 0 32.484 14.816 31.988 32.9zM257 0c-61.856 0-112 50.144-112 112h224C369 50.144 318.856 0 257 0z"},child:[]}]})(e)}function To(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},child:[]}]})(e)}function eo(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"},child:[]}]})(e)}function yu(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8Zm92.49,313h0l-20,25a16,16,0,0,1-22.49,2.5h0l-67-49.72a40,40,0,0,1-15-31.23V112a16,16,0,0,1,16-16h32a16,16,0,0,1,16,16V256l58,42.5A16,16,0,0,1,348.49,321Z"},child:[]}]})(e)}function XR(e){return T({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"},child:[]}]})(e)}function md(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 0-70.2l42.6-24.6c4.9-2.8 7.1-8.6 5.5-14-11.1-35.6-30-67.8-54.7-94.6-3.8-4.1-10-5.1-14.8-2.3L380.8 110c-17.9-15.4-38.5-27.3-60.8-35.1V25.8c0-5.6-3.9-10.5-9.4-11.7-36.7-8.2-74.3-7.8-109.2 0-5.5 1.2-9.4 6.1-9.4 11.7V75c-22.2 7.9-42.8 19.8-60.8 35.1L88.7 85.5c-4.9-2.8-11-1.9-14.8 2.3-24.7 26.7-43.6 58.9-54.7 94.6-1.7 5.4.6 11.2 5.5 14L67.3 221c-4.3 23.2-4.3 47 0 70.2l-42.6 24.6c-4.9 2.8-7.1 8.6-5.5 14 11.1 35.6 30 67.8 54.7 94.6 3.8 4.1 10 5.1 14.8 2.3l42.6-24.6c17.9 15.4 38.5 27.3 60.8 35.1v49.2c0 5.6 3.9 10.5 9.4 11.7 36.7 8.2 74.3 7.8 109.2 0 5.5-1.2 9.4-6.1 9.4-11.7v-49.2c22.2-7.9 42.8-19.8 60.8-35.1l42.6 24.6c4.9 2.8 11 1.9 14.8-2.3 24.7-26.7 43.6-58.9 54.7-94.6 1.5-5.5-.7-11.3-5.6-14.1zM256 336c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"},child:[]}]})(e)}function ZR(e){return T({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448 73.143v45.714C448 159.143 347.667 192 224 192S0 159.143 0 118.857V73.143C0 32.857 100.333 0 224 0s224 32.857 224 73.143zM448 176v102.857C448 319.143 347.667 352 224 352S0 319.143 0 278.857V176c48.125 33.143 136.208 48.572 224 48.572S399.874 209.143 448 176zm0 160v102.857C448 479.143 347.667 512 224 512S0 479.143 0 438.857V336c48.125 33.143 136.208 48.572 224 48.572S399.874 369.143 448 336z"},child:[]}]})(e)}function eA(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"},child:[]}]})(e)}function fd(e){return T({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z"},child:[]}]})(e)}function tA(e){return T({tag:"svg",attr:{viewBox:"0 0 192 512"},child:[{tag:"path",attr:{d:"M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"},child:[]}]})(e)}function bu(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"},child:[]}]})(e)}function mm(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},child:[]}]})(e)}function nA(e){return T({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},child:[]}]})(e)}function fm(e){return T({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm64 236c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-64c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-72v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm96-114.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"},child:[]}]})(e)}function rA(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M349.565 98.783C295.978 98.783 251.721 64 184.348 64c-24.955 0-47.309 4.384-68.045 12.013a55.947 55.947 0 0 0 3.586-23.562C118.117 24.015 94.806 1.206 66.338.048 34.345-1.254 8 24.296 8 56c0 19.026 9.497 35.825 24 45.945V488c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-94.4c28.311-12.064 63.582-22.122 114.435-22.122 53.588 0 97.844 34.783 165.217 34.783 48.169 0 86.667-16.294 122.505-40.858C506.84 359.452 512 349.571 512 339.045v-243.1c0-23.393-24.269-38.87-45.485-29.016-34.338 15.948-76.454 31.854-116.95 31.854z"},child:[]}]})(e)}function Ln(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"},child:[]}]})(e)}function iA(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"},child:[]}]})(e)}function gm(e){return T({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M567.938 243.908L462.25 85.374A48.003 48.003 0 0 0 422.311 64H153.689a48 48 0 0 0-39.938 21.374L8.062 243.908A47.994 47.994 0 0 0 0 270.533V400c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V270.533a47.994 47.994 0 0 0-8.062-26.625zM162.252 128h251.497l85.333 128H376l-32 64H232l-32-64H76.918l85.334-128z"},child:[]}]})(e)}function sA(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},child:[]}]})(e)}function nl(e){return T({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"},child:[]}]})(e)}function e2(e){return T({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"},child:[]}]})(e)}function wu(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"},child:[]}]})(e)}function xm(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"},child:[]}]})(e)}function to(e){return T({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"},child:[]}]})(e)}function aA(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M0 252.118V48C0 21.49 21.49 0 48 0h204.118a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882L293.823 497.941c-18.745 18.745-49.137 18.745-67.882 0L14.059 286.059A48 48 0 0 1 0 252.118zM112 64c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48z"},child:[]}]})(e)}function oA(e){return T({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"},child:[]}]})(e)}function t2(e){return T({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(e)}function lA(e){return T({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"},child:[]}]})(e)}function ei(e){return T({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"},child:[]}]})(e)}const cA="_section_1h7o4_42",dA="_group_1h7o4_45",uA="_textField_1h7o4_55",vm={section:cA,group:dA,textField:uA,"accordion-down":"_accordion-down_1h7o4_1","accordion-up":"_accordion-up_1h7o4_1"},pA=()=>{const[e,t]=y.useState(""),[r,i]=y.useState(""),[s,a]=y.useState(""),o=l=>{t(l),l.length<3?a("Input must be at least 3 characters long."):a("")};return n.jsxs("div",{className:vm.section,children:[n.jsx("h3",{children:"TextField Examples"}),n.jsxs("div",{className:vm.group,children:[n.jsxs("div",{children:[n.jsx("h4",{children:"Basic TextField with Icon"}),n.jsx(Me,{name:"username",label:"Username",placeholder:"Enter your username",icon:n.jsx(ei,{}),iconPosition:"left",borderRadius:"0.5rem",showCharCount:!0}),n.jsx("p",{children:"展示带有左侧图标的基本 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Label TextField"}),n.jsx(Me,{name:"email",label:"Email",value:r,onChange:i,icon:n.jsx(bu,{})}),n.jsx(Me,{name:"email2",label:"Email"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Password TextField with Icon"}),n.jsx(Me,{name:"password",label:"Password",placeholder:"Enter your password",borderColor:"#ff9800",borderRadius:"0.5rem",type:"password"}),n.jsx(Me,{name:"textPassword",label:"Text Password",placeholder:"Enter your password",icon:n.jsx(nl,{}),iconPosition:"right",borderColor:"#ff9800",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示带有右侧图标的密码输入框"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Minimal TextField"}),n.jsx(Me,{name:"minimal",label:"Minimal TextField",minimal:!0}),n.jsx("p",{children:"展示最小版本的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Error Example"}),n.jsx(Me,{name:"errorExample",label:"Error Example",placeholder:"Enter text",helperText:s,borderRadius:"0.5rem"}),n.jsx("p",{children:"展示带有错误消息的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"No Border TextField"}),n.jsx(Me,{name:"noBorder",label:"No Border",placeholder:"No border",hideBorder:!0,borderRadius:"0.5rem"}),n.jsx("p",{children:"展示无边框的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Clearable TextField"}),n.jsx(Me,{name:"clearable",label:"Email",icon:n.jsx(bu,{}),iconPosition:"left",borderRadius:"0.5rem",clearable:!0}),n.jsx("p",{children:"展示带有清除功能的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Full Width TextField"}),n.jsx(Me,{name:"fullWidth",label:"Full Width",placeholder:"Enter text",borderRadius:"0.5rem",fullWidth:!0}),n.jsx("p",{children:"展示全宽度的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Custom Width TextField"}),n.jsx(Me,{name:"customWidth",label:"Custom Width",borderRadius:"0.5rem",width:"300px"}),n.jsx("p",{children:"展示自定义宽度的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Disabled TextField"}),n.jsx(Me,{name:"disabled",label:"Disabled",placeholder:"Disabled input",borderRadius:"0.5rem",disabled:!0}),n.jsx("p",{children:"展示禁用状态的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"TextField with and without Icon"}),n.jsx(Me,{name:"withIcon",label:"With Icon",placeholder:"With Icon",icon:n.jsx(ei,{}),iconPosition:"left",borderRadius:"0.5rem"}),n.jsx(Me,{name:"withoutIcon",label:"Without Icon",placeholder:"Without Icon",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示带有和不带图标的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"TextField with and without Error"}),n.jsx(Me,{name:"withError",label:"With Error",placeholder:"With Error",value:e,onChange:o,helperText:s,borderRadius:"0.5rem"}),n.jsx(Me,{name:"withoutError",label:"Without Error",placeholder:"Without Error",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示带有和不带错误消息的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"TextField with and without Clearable"}),n.jsx(Me,{name:"clearableField",label:"Clearable",placeholder:"Clearable",clearable:!0,borderRadius:"0.5rem"}),n.jsx(Me,{name:"notClearable",label:"Not Clearable",placeholder:"Not Clearable",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示带有和不带清除功能的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"TextField with and without ShowCharCount"}),n.jsx(Me,{name:"showCharCount",label:"Show Char Count",placeholder:"Show Char Count",showCharCount:!0,borderRadius:"0.5rem"}),n.jsx(Me,{name:"noCharCount",label:"No Char Count",placeholder:"No Char Count",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示带有和不带字符计数的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"TextField with Different Sizes"}),n.jsx(Me,{name:"smallSize",label:"Small Size",size:"small",borderRadius:"0.5rem"}),n.jsx(Me,{name:"mediumSize",label:"Medium Size",size:"medium",borderRadius:"0.5rem"}),n.jsx(Me,{name:"largeSize",label:"Large Size",size:"large",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示不同尺寸的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"TextField with Suffix"}),n.jsx(Me,{name:"withSuffix1",label:"With Unit",suffix:n.jsx("span",{children:"kg"}),borderRadius:"0.5rem"}),n.jsx(Me,{name:"withSuffix2",label:"With Icon Suffix",suffix:n.jsx(ei,{}),borderRadius:"0.5rem"}),n.jsx(Me,{name:"withSuffix3",label:"With Text Suffix",suffix:"@gmail.com",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示带有不同后缀的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"TextField with ReadOnly"}),n.jsx(Me,{name:"readOnly1",label:"Basic ReadOnly",value:"This is read-only text",readOnly:!0,borderRadius:"0.5rem"}),n.jsx(Me,{name:"readOnly2",label:"ReadOnly with Icon",value:"Read-only with icon",readOnly:!0,icon:n.jsx(nl,{}),borderRadius:"0.5rem"}),n.jsx(Me,{name:"readOnly3",label:"ReadOnly with Suffix",value:"100",readOnly:!0,suffix:"USD",borderRadius:"0.5rem"}),n.jsx("p",{children:"展示只读状态的 TextField"})]}),n.jsxs("div",{children:[n.jsx("h4",{children:"Combined Features"}),n.jsx(Me,{name:"combined1",label:"All Features",icon:n.jsx(ei,{}),suffix:n.jsx("span",{children:"@company.com"}),size:"small",clearable:!0,showCharCount:!0,borderRadius:"0.5rem"}),n.jsx(Me,{name:"combined2",label:"ReadOnly Large",value:"Read-only large text",readOnly:!0,size:"large",suffix:n.jsx(nl,{}),borderRadius:"0.5rem"}),n.jsx("p",{children:"展示组合使用多个特性的 TextField"})]})]})]})},hA="_componentPage_1sbfo_42",mA="_header_1sbfo_51",fA="_titleWrapper_1sbfo_54",gA="_icon_1sbfo_59",xA="_section_1sbfo_74",vA="_fadeIn_1sbfo_1",jA="_description_1sbfo_93",_A="_properties_1sbfo_99",yA="_property_1sbfo_105",bA="_badge_1sbfo_125",wA="_type_1sbfo_132",CA="_examples_1sbfo_147",kA="_example_1sbfo_147",SA="_demo_1sbfo_166",NA="_codeWrapper_1sbfo_172",P={componentPage:hA,header:mA,titleWrapper:fA,icon:gA,section:xA,fadeIn:vA,description:jA,properties:_A,property:yA,badge:bA,type:wA,examples:CA,example:kA,demo:SA,codeWrapper:NA,"accordion-down":"_accordion-down_1sbfo_1","accordion-up":"_accordion-up_1sbfo_1"},$A=()=>{const{t:e}=$e();return n.jsxs("div",{className:P.componentPage,children:[n.jsx("header",{className:P.header,children:n.jsxs("div",{className:P.titleWrapper,children:[n.jsx(Eg,{className:P.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.textfield.title")}),n.jsx("p",{children:e("components.textfield.description")})]})]})}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.textfield.installation")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:"import { TextField } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.textfield.basic_usage")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:`import { TextField } from '@minerva/lib-core'; function App() { return ( @@ -392,7 +715,7 @@ function App() { placeholder="Enter your username" /> ); -}`,language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.textfield.examples")}),n.jsx("div",{className:A.examples,children:n.jsx(UE,{})})]})]})},sI="_section_1sc34_42",aI="_group_1sc34_54",fi={section:sI,group:aI,"accordion-down":"_accordion-down_1sc34_1","accordion-up":"_accordion-up_1sc34_1"},oI=()=>{const[e,t]=y.useState("1"),[r,i]=y.useState("");return n.jsxs("div",{className:fi.section,children:[n.jsx("h3",{children:"Basic Radio"}),n.jsxs("div",{className:fi.group,children:[n.jsx(ft,{label:"Default Radio",value:"default"}),n.jsx(ft,{label:"Checked Radio",defaultChecked:!0,value:"checked"}),n.jsx(ft,{label:"Disabled Radio",disabled:!0,value:"disabled"}),n.jsx(ft,{label:"Disabled Checked",disabled:!0,defaultChecked:!0,value:"disabled-checked"})]}),n.jsx("h3",{children:"Radio Types"}),n.jsx("div",{className:fi.group,children:n.jsxs(qs,{direction:"horizontal",children:[n.jsx(ft,{label:"Default",type:"default",defaultChecked:!0}),n.jsx(ft,{label:"Primary",type:"primary",defaultChecked:!0}),n.jsx(ft,{label:"Success",type:"success",defaultChecked:!0}),n.jsx(ft,{label:"Warning",type:"warning",defaultChecked:!0}),n.jsx(ft,{label:"Error",type:"error",defaultChecked:!0})]})}),n.jsx("h3",{children:"Radio Sizes"}),n.jsx("div",{className:fi.group,children:n.jsxs(qs,{direction:"horizontal",children:[n.jsx(ft,{label:"Small Size",size:"small",defaultChecked:!0}),n.jsx(ft,{label:"Medium Size",size:"medium",defaultChecked:!0}),n.jsx(ft,{label:"Large Size",size:"large",defaultChecked:!0})]})}),n.jsx("h3",{children:"Error States"}),n.jsx("div",{className:fi.group,children:n.jsxs(qs,{value:r,onChange:s=>i(s.toString()),error:!0,required:!0,helperText:"Please select an option",children:[n.jsx(ft,{label:"Option 1",value:"1",errorMessage:"This field is required"}),n.jsx(ft,{label:"Option 2",value:"2",errorMessage:"This field is required"})]})}),n.jsx("h3",{children:"Custom Styles"}),n.jsxs("div",{className:fi.group,children:[n.jsx(ft,{label:"Custom Color",color:"#9c27b0",defaultChecked:!0}),n.jsx(ft,{label:"Custom Background",bgColor:"#f3e5f5",color:"#f3e5f5",defaultChecked:!0})]}),n.jsx("h3",{children:"Radio Group Direction"}),n.jsxs("div",{className:fi.group,children:[n.jsxs(qs,{value:e,onChange:s=>t(s.toString()),direction:"horizontal",children:[n.jsx(ft,{label:"Horizontal 1",value:"1"}),n.jsx(ft,{label:"Horizontal 2",value:"2"}),n.jsx(ft,{label:"Horizontal 3",value:"3"})]}),n.jsxs(qs,{direction:"vertical",children:[n.jsx(ft,{label:"Vertical 1",value:"1"}),n.jsx(ft,{label:"Vertical 2",value:"2"}),n.jsx(ft,{label:"Vertical 3",value:"3"})]})]})]})},lI=()=>{const{t:e}=$e();return n.jsxs("div",{className:A.componentPage,children:[n.jsx("header",{className:A.header,children:n.jsxs("div",{className:A.titleWrapper,children:[n.jsx(N0,{className:A.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.radio.title")}),n.jsx("p",{children:e("components.radio.description")})]})]})}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.radio.installation")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:"import { Radio, RadioGroup } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.radio.basic_usage")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:`import { Radio, RadioGroup } from '@minerva/lib-core'; +}`,language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.textfield.examples")}),n.jsx("div",{className:P.examples,children:n.jsx(pA,{})})]})]})},zA="_section_1sc34_42",EA="_group_1sc34_54",bi={section:zA,group:EA,"accordion-down":"_accordion-down_1sc34_1","accordion-up":"_accordion-up_1sc34_1"},LA=()=>{const[e,t]=y.useState("1"),[r,i]=y.useState("");return n.jsxs("div",{className:bi.section,children:[n.jsx("h3",{children:"Basic Radio"}),n.jsxs("div",{className:bi.group,children:[n.jsx(ft,{label:"Default Radio",value:"default"}),n.jsx(ft,{label:"Checked Radio",defaultChecked:!0,value:"checked"}),n.jsx(ft,{label:"Disabled Radio",disabled:!0,value:"disabled"}),n.jsx(ft,{label:"Disabled Checked",disabled:!0,defaultChecked:!0,value:"disabled-checked"})]}),n.jsx("h3",{children:"Radio Types"}),n.jsx("div",{className:bi.group,children:n.jsxs(ia,{direction:"horizontal",children:[n.jsx(ft,{label:"Default",type:"default",defaultChecked:!0}),n.jsx(ft,{label:"Primary",type:"primary",defaultChecked:!0}),n.jsx(ft,{label:"Success",type:"success",defaultChecked:!0}),n.jsx(ft,{label:"Warning",type:"warning",defaultChecked:!0}),n.jsx(ft,{label:"Error",type:"error",defaultChecked:!0})]})}),n.jsx("h3",{children:"Radio Sizes"}),n.jsx("div",{className:bi.group,children:n.jsxs(ia,{direction:"horizontal",children:[n.jsx(ft,{label:"Small Size",size:"small",defaultChecked:!0}),n.jsx(ft,{label:"Medium Size",size:"medium",defaultChecked:!0}),n.jsx(ft,{label:"Large Size",size:"large",defaultChecked:!0})]})}),n.jsx("h3",{children:"Error States"}),n.jsx("div",{className:bi.group,children:n.jsxs(ia,{value:r,onChange:s=>i(s.toString()),error:!0,required:!0,helperText:"Please select an option",children:[n.jsx(ft,{label:"Option 1",value:"1",errorMessage:"This field is required"}),n.jsx(ft,{label:"Option 2",value:"2",errorMessage:"This field is required"})]})}),n.jsx("h3",{children:"Custom Styles"}),n.jsxs("div",{className:bi.group,children:[n.jsx(ft,{label:"Custom Color",color:"#9c27b0",defaultChecked:!0}),n.jsx(ft,{label:"Custom Background",bgColor:"#f3e5f5",color:"#f3e5f5",defaultChecked:!0})]}),n.jsx("h3",{children:"Radio Group Direction"}),n.jsxs("div",{className:bi.group,children:[n.jsxs(ia,{value:e,onChange:s=>t(s.toString()),direction:"horizontal",children:[n.jsx(ft,{label:"Horizontal 1",value:"1"}),n.jsx(ft,{label:"Horizontal 2",value:"2"}),n.jsx(ft,{label:"Horizontal 3",value:"3"})]}),n.jsxs(ia,{direction:"vertical",children:[n.jsx(ft,{label:"Vertical 1",value:"1"}),n.jsx(ft,{label:"Vertical 2",value:"2"}),n.jsx(ft,{label:"Vertical 3",value:"3"})]})]})]})},RA=()=>{const{t:e}=$e();return n.jsxs("div",{className:P.componentPage,children:[n.jsx("header",{className:P.header,children:n.jsxs("div",{className:P.titleWrapper,children:[n.jsx(wg,{className:P.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.radio.title")}),n.jsx("p",{children:e("components.radio.description")})]})]})}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.radio.installation")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:"import { Radio, RadioGroup } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.radio.basic_usage")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:`import { Radio, RadioGroup } from '@minerva/lib-core'; function App() { return ( @@ -402,7 +725,7 @@ function App() { Option 3 ); -}`,language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.radio.examples")}),n.jsx("div",{className:A.examples,children:n.jsx(oI,{})})]})]})},cI="_section_1th5c_42",dI="_group_1th5c_54",uI="_settingCard_1th5c_63",pI="_interactiveDemo_1th5c_75",hI="_description_1th5c_84",mI="_animationDemo_1th5c_90",fI="_pulseDemo_1th5c_96",gI="_thumb_1th5c_96",xI="_pulse_1th5c_96",vI="_bounceDemo_1th5c_99",jI="_fadeDemo_1th5c_102",_I="_track_1th5c_102",yI="_settingsPanel_1th5c_117",bI="_settingsGroup_1th5c_122",wI="_quickPanel_1th5c_136",CI="_controlPanel_1th5c_148",kI="_controlGroup_1th5c_154",SI="_homePanel_1th5c_167",ae={section:cI,group:dI,settingCard:uI,interactiveDemo:pI,description:hI,animationDemo:mI,pulseDemo:fI,thumb:gI,pulse:xI,bounceDemo:vI,fadeDemo:jI,track:_I,settingsPanel:yI,settingsGroup:bI,quickPanel:wI,controlPanel:CI,controlGroup:kI,homePanel:SI,"accordion-down":"_accordion-down_1th5c_1","accordion-up":"_accordion-up_1th5c_1"},NI=()=>{const[e,t]=y.useState(!1),[r,i]=y.useState(!0),[s,a]=y.useState(!0),[o,l]=y.useState(!1),[c,u]=y.useState(!1),[p,m]=y.useState({fingerprint:!0,faceId:!1,location:!0,analytics:!1}),[h,x]=y.useState({autoSave:!0,notifications:!0,darkMode:!1,sound:!0}),[_,b]=y.useState({camera:!1,flash:!0,waterproof:!0,temperature:!1,battery:!0,performance:!1}),[k,j]=y.useState({lights:!0,alarm:!1,gaming:!1,music:!0,radio:!1}),d=()=>{l(!0),setTimeout(()=>l(!1),2e3)},f=()=>{u(!0),setTimeout(()=>u(!1),2e3)};return n.jsxs("div",{className:ae.section,children:[n.jsxs("div",{className:ae.header,children:[n.jsx("h2",{children:"Switch 开关"}),n.jsx("p",{children:"开关选择器,用于在两个互斥状态间切换。"})]}),n.jsxs(V,{direction:"vertical",size:"large",block:!0,children:[n.jsxs("div",{children:[n.jsx("h3",{children:"基础用法"}),n.jsx("p",{className:ae.description,children:"最基本的开关用法。"}),n.jsx("div",{className:ae.group,children:n.jsxs(V,{size:"large",children:[n.jsx(H,{}),n.jsx(H,{defaultChecked:!0}),n.jsx(H,{disabled:!0}),n.jsx(H,{disabled:!0,defaultChecked:!0})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"尺寸大小"}),n.jsx("p",{className:ae.description,children:"提供三种尺寸的开关。"}),n.jsx("div",{className:ae.group,children:n.jsxs(V,{size:"large",align:"center",children:[n.jsx(H,{size:"small",label:"Small"}),n.jsx(H,{size:"medium",label:"Medium"}),n.jsx(H,{size:"large",label:"Large"})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"颜色主题"}),n.jsx("p",{className:ae.description,children:"不同状态下的开关颜色。"}),n.jsx("div",{className:ae.group,children:n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{color:"primary",label:"Primary",defaultChecked:!0}),n.jsx(H,{color:"secondary",label:"Secondary",defaultChecked:!0}),n.jsx(H,{color:"success",label:"Success",defaultChecked:!0})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{color:"warning",label:"Warning",defaultChecked:!0}),n.jsx(H,{color:"error",label:"Error",defaultChecked:!0}),n.jsx(H,{color:"#8B5CF6",label:"Custom",defaultChecked:!0})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"标签位置"}),n.jsx("p",{className:ae.description,children:"可以配置标签在开关的不同位置。"}),n.jsx("div",{className:ae.group,children:n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{label:"Start",labelPlacement:"start"}),n.jsx(H,{label:"End",labelPlacement:"end"})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{label:"Top",labelPlacement:"top"}),n.jsx(H,{label:"Bottom",labelPlacement:"bottom"})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"加载状态"}),n.jsx("p",{className:ae.description,children:"切换时可以显示加载状态。"}),n.jsx("div",{className:ae.group,children:n.jsxs(V,{size:"large",children:[n.jsx(H,{loading:!0,label:"Loading"}),n.jsx(H,{loading:!0,defaultChecked:!0,label:"Loading Checked"}),n.jsx(H,{loading:!0,disabled:!0,label:"Loading Disabled"})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"实际应用场景"}),n.jsx("p",{className:ae.description,children:"在实际应用中的一些常见场景。"}),n.jsx("div",{className:ae.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsx(H,{checked:e,onChange:v=>t(v),label:e?"Dark Mode":"Light Mode",icon:e?n.jsx(r1,{}):n.jsx(s1,{})}),n.jsx(H,{checked:r,onChange:v=>i(v),label:"通知提醒",icon:n.jsx(Pc,{}),color:"success"}),n.jsx(H,{checked:s,onChange:v=>a(v),label:s?"声音开启":"静音模式",icon:n.jsx(M6,{}),color:"warning"})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"自定义样式"}),n.jsx("p",{className:ae.description,children:"展示不同的自定义样式效果。"}),n.jsx("div",{className:ae.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{trackStyle:{backgroundColor:"rgba(139, 92, 246, 0.5)"},thumbStyle:{backgroundColor:"#8B5CF6"},labelStyle:{color:"#8B5CF6",fontWeight:500},defaultChecked:!0,label:"紫色主题"}),n.jsx(H,{trackStyle:{backgroundColor:"rgba(16, 185, 129, 0.5)"},thumbStyle:{backgroundColor:"#10B981"},labelStyle:{color:"#10B981",fontWeight:500},defaultChecked:!0,label:"绿色主题"})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{trackStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)"},thumbStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)",boxShadow:"0 3px 12px rgba(255, 107, 107, 0.4)"},labelStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",fontWeight:600},defaultChecked:!0,label:"渐变主题"}),n.jsx(H,{trackStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)"},thumbStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)",boxShadow:"0 3px 12px rgba(124, 58, 237, 0.4)"},labelStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",fontWeight:600},defaultChecked:!0,label:"紫罗兰"})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"标签样式"}),n.jsx("p",{className:ae.description,children:"展示不同的标签样式效果。"}),n.jsx("div",{className:ae.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{label:"重要选项",labelStyle:{color:"#EF4444",fontWeight:600,fontSize:"16px"},color:"error"}),n.jsx(H,{label:"可选设置",labelStyle:{color:"#6B7280",fontStyle:"italic"},color:"secondary"})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{label:n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[n.jsx("span",{style:{fontWeight:500},children:"高级设置"}),n.jsx("span",{style:{fontSize:"12px",color:"#6B7280"},children:"启用后可使用更多功能"})]}),labelStyle:{display:"flex",flexDirection:"column",gap:"4px"},color:"primary"}),n.jsx(H,{label:"实验性功能",labelStyle:{backgroundColor:"#FEF3C7",color:"#D97706",padding:"4px 8px",borderRadius:"4px",fontSize:"12px",fontWeight:500},color:"warning"})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"渐变效果"}),n.jsx("p",{className:ae.description,children:"展示带有渐变效果的开关。"}),n.jsx("div",{className:ae.group,children:n.jsxs(V,{size:"large",children:[n.jsx(H,{trackStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)"},thumbStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)",color:"#fff"},defaultChecked:!0,label:"日落渐变"}),n.jsx(H,{trackStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)"},thumbStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)",color:"#fff"},defaultChecked:!0,label:"紫罗兰"}),n.jsx(H,{trackStyle:{background:"linear-gradient(45deg, #059669 30%, #10B981 90%)"},thumbStyle:{background:"linear-gradient(45deg, #059669 30%, #10B981 90%)",color:"#fff"},defaultChecked:!0,label:"翡翠绿"})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"加载状态与动画"}),n.jsx("p",{className:ae.description,children:"展示不同状态下的加载动画。"}),n.jsx("div",{className:ae.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{loading:!0}),n.jsx(H,{loading:!0,defaultChecked:!0}),n.jsx(H,{loading:!0,disabled:!0})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{loading:!0,size:"small",label:"Small Loading"}),n.jsx(H,{loading:!0,size:"medium",label:"Medium Loading"}),n.jsx(H,{loading:!0,size:"large",label:"Large Loading"})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"自定义颜色"}),n.jsx("p",{className:ae.description,children:"展示不同颜色搭配的效果。"}),n.jsx("div",{className:ae.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{color:"#8B5CF6",label:"紫色",defaultChecked:!0}),n.jsx(H,{color:"#10B981",label:"绿色",defaultChecked:!0}),n.jsx(H,{color:"#F59E0B",label:"橙色",defaultChecked:!0})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{color:"#EC4899",label:"粉色",defaultChecked:!0}),n.jsx(H,{color:"#3B82F6",label:"蓝色",defaultChecked:!0}),n.jsx(H,{color:"#6366F1",label:"靛蓝",defaultChecked:!0})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"组合场景"}),n.jsx("p",{className:ae.description,children:"在实际应用中的组合使用场景。"}),n.jsx("div",{className:ae.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsx("div",{className:ae.settingItem,children:n.jsxs(V,{size:"large",children:[n.jsx(H,{checked:e,onChange:t,color:"#6366F1",size:"large",label:e?"深色模式已开启":"深色模式已关闭"}),n.jsx(H,{checked:r,onChange:i,color:"#10B981",label:"系统通知",loading:!1})]})}),n.jsx("div",{className:ae.settingItem,children:n.jsxs(V,{size:"large",children:[n.jsx(H,{color:"#F59E0B",label:"自动更新",defaultChecked:!0}),n.jsx(H,{color:"#EC4899",label:"位置服务"})]})})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"特殊状态"}),n.jsx("p",{className:ae.description,children:"展示各种特殊状态下的效果。"}),n.jsx("div",{className:ae.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{disabled:!0,label:"禁用状态"}),n.jsx(H,{disabled:!0,checked:!0,label:"禁用选中"}),n.jsx(H,{loading:!0,label:"加载中"})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{shape:"square",label:"方形开关"}),n.jsx(H,{ripple:!1,label:"无涟漪效果"}),n.jsx(H,{size:"small",shape:"square",label:"小方形"})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"交互反馈"}),n.jsx("p",{className:ae.description,children:"展示不同的交互状态和动画效果。"}),n.jsx("div",{className:ae.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{label:"提交更改",loading:o,icon:n.jsx(t1,{}),onClick:d}),n.jsx(H,{label:"同步数据",loading:c,icon:n.jsx(fl,{}),onClick:f})]}),n.jsxs("div",{className:ae.settingCard,children:[n.jsx("h4",{children:"快速设置"}),n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsx(H,{icon:n.jsx(Ac,{}),label:"无线网络",defaultChecked:!0}),n.jsx(H,{icon:n.jsx(zc,{}),label:"蓝牙"}),n.jsx(H,{icon:n.jsx(O3,{}),label:"飞行模式"}),n.jsx(H,{icon:n.jsx(Ic,{}),label:"定位服务",defaultChecked:!0})]})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"动态效果"}),n.jsx("p",{className:ae.description,children:"展示开关的动态交互效果。"}),n.jsx("div",{className:ae.group,children:n.jsx(V,{direction:"vertical",size:"large",children:n.jsxs("div",{className:ae.interactiveDemo,children:[n.jsx(H,{size:"large",color:"primary",label:"带有涟漪效果",ripple:!0}),n.jsx(H,{size:"large",color:"secondary",label:"悬停效果",className:ae.hoverDemo}),n.jsx(H,{size:"large",color:"success",label:"点击效果",className:ae.activeDemo})]})})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"图标与动效"}),n.jsx("p",{className:ae.description,children:"展示带有图标和动画效果的开关。"}),n.jsx("div",{className:ae.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{icon:n.jsx(Ac,{}),label:"WiFi",defaultChecked:!0,color:"primary"}),n.jsx(H,{icon:n.jsx(zc,{}),label:"蓝牙",color:"secondary"}),n.jsx(H,{icon:n.jsx(Ic,{}),label:"定位",color:"success"})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{icon:n.jsx(Pc,{}),label:"通知",loading:!0,defaultChecked:!0}),n.jsx(H,{icon:n.jsx(fl,{}),label:"同步中",loading:!0})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"高级动效"}),n.jsx("p",{className:ae.description,children:"展示更丰富的动画效果。"}),n.jsx("div",{className:ae.group,children:n.jsx(V,{direction:"vertical",size:"large",children:n.jsxs("div",{className:ae.animationDemo,children:[n.jsx(H,{size:"large",color:"primary",label:"脉冲效果",className:ae.pulseDemo,defaultChecked:!0}),n.jsx(H,{size:"large",color:"success",label:"弹性效果",className:ae.bounceDemo}),n.jsx(H,{size:"large",color:"warning",label:"渐变效果",className:ae.fadeDemo})]})})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"系统设置面板"}),n.jsx("p",{className:ae.description,children:"模拟系统设置面板的开关组合。"}),n.jsx("div",{className:ae.group,children:n.jsxs("div",{className:ae.settingsPanel,children:[n.jsxs("div",{className:ae.settingsGroup,children:[n.jsx("h4",{children:"隐私设置"}),n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsx(H,{checked:p.fingerprint,onChange:v=>m(w=>({...w,fingerprint:v})),icon:n.jsx(n6,{}),label:"指纹解锁",color:"primary"}),n.jsx(H,{checked:p.location,onChange:v=>m(w=>({...w,location:v})),icon:n.jsx(Ic,{}),label:"位置服务",color:"warning"}),n.jsx(H,{checked:p.analytics,onChange:v=>m(w=>({...w,analytics:v})),icon:n.jsx(N6,{}),label:"数据分析",color:"error"})]})]}),n.jsxs("div",{className:ae.settingsGroup,children:[n.jsx("h4",{children:"个性化"}),n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsx(H,{checked:h.autoSave,onChange:v=>x(w=>({...w,autoSave:v})),icon:n.jsx(t1,{}),label:"自动保存",color:"success"}),n.jsx(H,{checked:h.notifications,onChange:v=>x(w=>({...w,notifications:v})),icon:h.notifications?n.jsx(Pc,{}):n.jsx(y6,{}),label:h.notifications?"通知已开启":"通知已关闭",color:"primary"}),n.jsx(H,{checked:h.darkMode,onChange:v=>x(w=>({...w,darkMode:v})),icon:h.darkMode?n.jsx(r1,{}):n.jsx(s1,{}),label:h.darkMode?"深色模式":"浅色模式",color:"secondary"})]})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"动态状态切换"}),n.jsx("p",{className:ae.description,children:"展示开关状态切换时的动态效果。"}),n.jsx("div",{className:ae.group,children:n.jsx(V,{direction:"vertical",size:"large",children:n.jsxs(V,{size:"large",children:[n.jsx(H,{icon:h.sound?n.jsx(Hl,{}):n.jsx(l6,{}),label:h.sound?"已收藏":"未收藏",checked:h.sound,onChange:v=>x(w=>({...w,sound:v})),color:"#EC4899"}),n.jsx(H,{icon:p.faceId?n.jsx(t6,{}):n.jsx(e6,{}),label:p.faceId?"显示密码":"隐藏密码",checked:p.faceId,onChange:v=>m(w=>({...w,faceId:v})),color:"#6366F1"}),n.jsx(H,{icon:e?n.jsx(m6,{}):n.jsx(f6,{}),label:e?"已锁定":"未锁定",checked:e,onChange:v=>t(v),color:"#10B981"})]})})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"快捷操作面板"}),n.jsx("p",{className:ae.description,children:"常用的快捷操作组合。"}),n.jsx("div",{className:ae.group,children:n.jsx("div",{className:ae.quickPanel,children:n.jsxs(V,{wrap:!0,size:[24,16],children:[n.jsx(H,{size:"large",icon:n.jsx(Ac,{}),label:"WiFi",defaultChecked:!0,color:"primary"}),n.jsx(H,{size:"large",icon:n.jsx(zc,{}),label:"蓝牙",color:"secondary"}),n.jsx(H,{size:"large",icon:n.jsx(o6,{}),label:"漫游",color:"warning"}),n.jsx(H,{size:"large",icon:n.jsx(h6,{}),label:"翻译",color:"success"})]})})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"设备控制面板"}),n.jsx("p",{className:ae.description,children:"模拟设备控制面板的开关组合。"}),n.jsx("div",{className:ae.group,children:n.jsxs("div",{className:ae.controlPanel,children:[n.jsxs("div",{className:ae.controlGroup,children:[n.jsx("h4",{children:"相机设置"}),n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsx(H,{checked:_.camera,onChange:v=>b(w=>({...w,camera:v})),icon:n.jsx(K3,{}),label:"相机开关",color:"#3B82F6",size:"large"}),n.jsx(H,{checked:_.flash,onChange:v=>b(w=>({...w,flash:v})),icon:n.jsx(r6,{}),label:"闪光灯",color:"#F59E0B"})]})]}),n.jsxs("div",{className:ae.controlGroup,children:[n.jsx("h4",{children:"设备状态"}),n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsx(H,{checked:_.waterproof,onChange:v=>b(w=>({...w,waterproof:v})),icon:n.jsx(F6,{}),label:"防水模式",color:"#0EA5E9"}),n.jsx(H,{checked:_.temperature,onChange:v=>b(w=>({...w,temperature:v})),icon:n.jsx(I6,{}),label:"温度监控",color:"#DC2626"})]})]}),n.jsxs("div",{className:ae.controlGroup,children:[n.jsx("h4",{children:"性能设置"}),n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsx(H,{checked:_.battery,onChange:v=>b(w=>({...w,battery:v})),icon:n.jsx(W3,{}),label:"省电模式",color:"#059669"}),n.jsx(H,{checked:_.performance,onChange:v=>b(w=>({...w,performance:v})),icon:n.jsx(L6,{}),label:"高性能模式",color:"#7C3AED"})]})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"智能家居控制"}),n.jsx("p",{className:ae.description,children:"智能家居设备的控制面板。"}),n.jsx("div",{className:ae.group,children:n.jsx("div",{className:ae.homePanel,children:n.jsxs(V,{wrap:!0,size:[32,24],children:[n.jsx(H,{size:"large",checked:k.lights,onChange:v=>j(w=>({...w,lights:v})),icon:n.jsx(c6,{}),label:"智能灯光",color:"#EC4899"}),n.jsx(H,{size:"large",checked:k.alarm,onChange:v=>j(w=>({...w,alarm:v})),icon:n.jsx(D3,{}),label:"安防系统",color:"#EF4444"}),n.jsx(H,{size:"large",checked:k.gaming,onChange:v=>j(w=>({...w,gaming:v})),icon:n.jsx(i6,{}),label:"游戏模式",color:"#8B5CF6"}),n.jsx(H,{size:"large",checked:k.music,onChange:v=>j(w=>({...w,music:v})),icon:n.jsx(_6,{}),label:"音乐系统",color:"#10B981"}),n.jsx(H,{size:"large",checked:k.radio,onChange:v=>j(w=>({...w,radio:v})),icon:n.jsx(b6,{}),label:"智能广播",color:"#F97316"})]})})})]})]})]})},zI=()=>{const{t:e}=$e();return n.jsxs("div",{className:A.componentPage,children:[n.jsx("header",{className:A.header,children:n.jsxs("div",{className:A.titleWrapper,children:[n.jsx(R0,{className:A.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.switch.title")}),n.jsx("p",{children:e("components.switch.description")})]})]})}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.switch.installation")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:"import { Switch } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.switch.basic_usage")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:`import { Switch } from '@minerva/lib-core'; +}`,language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.radio.examples")}),n.jsx("div",{className:P.examples,children:n.jsx(LA,{})})]})]})},AA="_section_1th5c_42",IA="_group_1th5c_54",PA="_settingCard_1th5c_63",MA="_interactiveDemo_1th5c_75",BA="_description_1th5c_84",TA="_animationDemo_1th5c_90",OA="_pulseDemo_1th5c_96",FA="_thumb_1th5c_96",DA="_pulse_1th5c_96",UA="_bounceDemo_1th5c_99",HA="_fadeDemo_1th5c_102",WA="_track_1th5c_102",qA="_settingsPanel_1th5c_117",VA="_settingsGroup_1th5c_122",KA="_quickPanel_1th5c_136",GA="_controlPanel_1th5c_148",QA="_controlGroup_1th5c_154",JA="_homePanel_1th5c_167",oe={section:AA,group:IA,settingCard:PA,interactiveDemo:MA,description:BA,animationDemo:TA,pulseDemo:OA,thumb:FA,pulse:DA,bounceDemo:UA,fadeDemo:HA,track:WA,settingsPanel:qA,settingsGroup:VA,quickPanel:KA,controlPanel:GA,controlGroup:QA,homePanel:JA,"accordion-down":"_accordion-down_1th5c_1","accordion-up":"_accordion-up_1th5c_1"},YA=()=>{const[e,t]=y.useState(!1),[r,i]=y.useState(!0),[s,a]=y.useState(!0),[o,l]=y.useState(!1),[c,d]=y.useState(!1),[p,h]=y.useState({fingerprint:!0,faceId:!1,location:!0,analytics:!1}),[m,g]=y.useState({autoSave:!0,notifications:!0,darkMode:!1,sound:!0}),[j,b]=y.useState({camera:!1,flash:!0,waterproof:!0,temperature:!1,battery:!0,performance:!1}),[k,_]=y.useState({lights:!0,alarm:!1,gaming:!1,music:!0,radio:!1}),u=()=>{l(!0),setTimeout(()=>l(!1),2e3)},f=()=>{d(!0),setTimeout(()=>d(!1),2e3)};return n.jsxs("div",{className:oe.section,children:[n.jsxs("div",{className:oe.header,children:[n.jsx("h2",{children:"Switch 开关"}),n.jsx("p",{children:"开关选择器,用于在两个互斥状态间切换。"})]}),n.jsxs(V,{direction:"vertical",size:"large",block:!0,children:[n.jsxs("div",{children:[n.jsx("h3",{children:"基础用法"}),n.jsx("p",{className:oe.description,children:"最基本的开关用法。"}),n.jsx("div",{className:oe.group,children:n.jsxs(V,{size:"large",children:[n.jsx(H,{}),n.jsx(H,{defaultChecked:!0}),n.jsx(H,{disabled:!0}),n.jsx(H,{disabled:!0,defaultChecked:!0})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"尺寸大小"}),n.jsx("p",{className:oe.description,children:"提供三种尺寸的开关。"}),n.jsx("div",{className:oe.group,children:n.jsxs(V,{size:"large",align:"center",children:[n.jsx(H,{size:"small",label:"Small"}),n.jsx(H,{size:"medium",label:"Medium"}),n.jsx(H,{size:"large",label:"Large"})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"颜色主题"}),n.jsx("p",{className:oe.description,children:"不同状态下的开关颜色。"}),n.jsx("div",{className:oe.group,children:n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{color:"primary",label:"Primary",defaultChecked:!0}),n.jsx(H,{color:"secondary",label:"Secondary",defaultChecked:!0}),n.jsx(H,{color:"success",label:"Success",defaultChecked:!0})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{color:"warning",label:"Warning",defaultChecked:!0}),n.jsx(H,{color:"error",label:"Error",defaultChecked:!0}),n.jsx(H,{color:"#8B5CF6",label:"Custom",defaultChecked:!0})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"标签位置"}),n.jsx("p",{className:oe.description,children:"可以配置标签在开关的不同位置。"}),n.jsx("div",{className:oe.group,children:n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{label:"Start",labelPlacement:"start"}),n.jsx(H,{label:"End",labelPlacement:"end"})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{label:"Top",labelPlacement:"top"}),n.jsx(H,{label:"Bottom",labelPlacement:"bottom"})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"加载状态"}),n.jsx("p",{className:oe.description,children:"切换时可以显示加载状态。"}),n.jsx("div",{className:oe.group,children:n.jsxs(V,{size:"large",children:[n.jsx(H,{loading:!0,label:"Loading"}),n.jsx(H,{loading:!0,defaultChecked:!0,label:"Loading Checked"}),n.jsx(H,{loading:!0,disabled:!0,label:"Loading Disabled"})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"实际应用场景"}),n.jsx("p",{className:oe.description,children:"在实际应用中的一些常见场景。"}),n.jsx("div",{className:oe.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsx(H,{checked:e,onChange:v=>t(v),label:e?"Dark Mode":"Light Mode",icon:e?n.jsx(V1,{}):n.jsx(G1,{})}),n.jsx(H,{checked:r,onChange:v=>i(v),label:"通知提醒",icon:n.jsx(cd,{}),color:"success"}),n.jsx(H,{checked:s,onChange:v=>a(v),label:s?"声音开启":"静音模式",icon:n.jsx(aj,{}),color:"warning"})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"自定义样式"}),n.jsx("p",{className:oe.description,children:"展示不同的自定义样式效果。"}),n.jsx("div",{className:oe.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{trackStyle:{backgroundColor:"rgba(139, 92, 246, 0.5)"},thumbStyle:{backgroundColor:"#8B5CF6"},labelStyle:{color:"#8B5CF6",fontWeight:500},defaultChecked:!0,label:"紫色主题"}),n.jsx(H,{trackStyle:{backgroundColor:"rgba(16, 185, 129, 0.5)"},thumbStyle:{backgroundColor:"#10B981"},labelStyle:{color:"#10B981",fontWeight:500},defaultChecked:!0,label:"绿色主题"})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{trackStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)"},thumbStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)",boxShadow:"0 3px 12px rgba(255, 107, 107, 0.4)"},labelStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",fontWeight:600},defaultChecked:!0,label:"渐变主题"}),n.jsx(H,{trackStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)"},thumbStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)",boxShadow:"0 3px 12px rgba(124, 58, 237, 0.4)"},labelStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",fontWeight:600},defaultChecked:!0,label:"紫罗兰"})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"标签样式"}),n.jsx("p",{className:oe.description,children:"展示不同的标签样式效果。"}),n.jsx("div",{className:oe.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{label:"重要选项",labelStyle:{color:"#EF4444",fontWeight:600,fontSize:"16px"},color:"error"}),n.jsx(H,{label:"可选设置",labelStyle:{color:"#6B7280",fontStyle:"italic"},color:"secondary"})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{label:n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[n.jsx("span",{style:{fontWeight:500},children:"高级设置"}),n.jsx("span",{style:{fontSize:"12px",color:"#6B7280"},children:"启用后可使用更多功能"})]}),labelStyle:{display:"flex",flexDirection:"column",gap:"4px"},color:"primary"}),n.jsx(H,{label:"实验性功能",labelStyle:{backgroundColor:"#FEF3C7",color:"#D97706",padding:"4px 8px",borderRadius:"4px",fontSize:"12px",fontWeight:500},color:"warning"})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"渐变效果"}),n.jsx("p",{className:oe.description,children:"展示带有渐变效果的开关。"}),n.jsx("div",{className:oe.group,children:n.jsxs(V,{size:"large",children:[n.jsx(H,{trackStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)"},thumbStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)",color:"#fff"},defaultChecked:!0,label:"日落渐变"}),n.jsx(H,{trackStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)"},thumbStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)",color:"#fff"},defaultChecked:!0,label:"紫罗兰"}),n.jsx(H,{trackStyle:{background:"linear-gradient(45deg, #059669 30%, #10B981 90%)"},thumbStyle:{background:"linear-gradient(45deg, #059669 30%, #10B981 90%)",color:"#fff"},defaultChecked:!0,label:"翡翠绿"})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"加载状态与动画"}),n.jsx("p",{className:oe.description,children:"展示不同状态下的加载动画。"}),n.jsx("div",{className:oe.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{loading:!0}),n.jsx(H,{loading:!0,defaultChecked:!0}),n.jsx(H,{loading:!0,disabled:!0})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{loading:!0,size:"small",label:"Small Loading"}),n.jsx(H,{loading:!0,size:"medium",label:"Medium Loading"}),n.jsx(H,{loading:!0,size:"large",label:"Large Loading"})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"自定义颜色"}),n.jsx("p",{className:oe.description,children:"展示不同颜色搭配的效果。"}),n.jsx("div",{className:oe.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{color:"#8B5CF6",label:"紫色",defaultChecked:!0}),n.jsx(H,{color:"#10B981",label:"绿色",defaultChecked:!0}),n.jsx(H,{color:"#F59E0B",label:"橙色",defaultChecked:!0})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{color:"#EC4899",label:"粉色",defaultChecked:!0}),n.jsx(H,{color:"#3B82F6",label:"蓝色",defaultChecked:!0}),n.jsx(H,{color:"#6366F1",label:"靛蓝",defaultChecked:!0})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"组合场景"}),n.jsx("p",{className:oe.description,children:"在实际应用中的组合使用场景。"}),n.jsx("div",{className:oe.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsx("div",{className:oe.settingItem,children:n.jsxs(V,{size:"large",children:[n.jsx(H,{checked:e,onChange:t,color:"#6366F1",size:"large",label:e?"深色模式已开启":"深色模式已关闭"}),n.jsx(H,{checked:r,onChange:i,color:"#10B981",label:"系统通知",loading:!1})]})}),n.jsx("div",{className:oe.settingItem,children:n.jsxs(V,{size:"large",children:[n.jsx(H,{color:"#F59E0B",label:"自动更新",defaultChecked:!0}),n.jsx(H,{color:"#EC4899",label:"位置服务"})]})})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"特殊状态"}),n.jsx("p",{className:oe.description,children:"展示各种特殊状态下的效果。"}),n.jsx("div",{className:oe.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{disabled:!0,label:"禁用状态"}),n.jsx(H,{disabled:!0,checked:!0,label:"禁用选中"}),n.jsx(H,{loading:!0,label:"加载中"})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{shape:"square",label:"方形开关"}),n.jsx(H,{ripple:!1,label:"无涟漪效果"}),n.jsx(H,{size:"small",shape:"square",label:"小方形"})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"交互反馈"}),n.jsx("p",{className:oe.description,children:"展示不同的交互状态和动画效果。"}),n.jsx("div",{className:oe.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{label:"提交更改",loading:o,icon:n.jsx(W1,{}),onClick:u}),n.jsx(H,{label:"同步数据",loading:c,icon:n.jsx(Tl,{}),onClick:f})]}),n.jsxs("div",{className:oe.settingCard,children:[n.jsx("h4",{children:"快速设置"}),n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsx(H,{icon:n.jsx(dd,{}),label:"无线网络",defaultChecked:!0}),n.jsx(H,{icon:n.jsx(rd,{}),label:"蓝牙"}),n.jsx(H,{icon:n.jsx(u5,{}),label:"飞行模式"}),n.jsx(H,{icon:n.jsx(od,{}),label:"定位服务",defaultChecked:!0})]})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"动态效果"}),n.jsx("p",{className:oe.description,children:"展示开关的动态交互效果。"}),n.jsx("div",{className:oe.group,children:n.jsx(V,{direction:"vertical",size:"large",children:n.jsxs("div",{className:oe.interactiveDemo,children:[n.jsx(H,{size:"large",color:"primary",label:"带有涟漪效果",ripple:!0}),n.jsx(H,{size:"large",color:"secondary",label:"悬停效果",className:oe.hoverDemo}),n.jsx(H,{size:"large",color:"success",label:"点击效果",className:oe.activeDemo})]})})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"图标与动效"}),n.jsx("p",{className:oe.description,children:"展示带有图标和动画效果的开关。"}),n.jsx("div",{className:oe.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{size:"large",children:[n.jsx(H,{icon:n.jsx(dd,{}),label:"WiFi",defaultChecked:!0,color:"primary"}),n.jsx(H,{icon:n.jsx(rd,{}),label:"蓝牙",color:"secondary"}),n.jsx(H,{icon:n.jsx(od,{}),label:"定位",color:"success"})]}),n.jsxs(V,{size:"large",children:[n.jsx(H,{icon:n.jsx(cd,{}),label:"通知",loading:!0,defaultChecked:!0}),n.jsx(H,{icon:n.jsx(Tl,{}),label:"同步中",loading:!0})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"高级动效"}),n.jsx("p",{className:oe.description,children:"展示更丰富的动画效果。"}),n.jsx("div",{className:oe.group,children:n.jsx(V,{direction:"vertical",size:"large",children:n.jsxs("div",{className:oe.animationDemo,children:[n.jsx(H,{size:"large",color:"primary",label:"脉冲效果",className:oe.pulseDemo,defaultChecked:!0}),n.jsx(H,{size:"large",color:"success",label:"弹性效果",className:oe.bounceDemo}),n.jsx(H,{size:"large",color:"warning",label:"渐变效果",className:oe.fadeDemo})]})})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"系统设置面板"}),n.jsx("p",{className:oe.description,children:"模拟系统设置面板的开关组合。"}),n.jsx("div",{className:oe.group,children:n.jsxs("div",{className:oe.settingsPanel,children:[n.jsxs("div",{className:oe.settingsGroup,children:[n.jsx("h4",{children:"隐私设置"}),n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsx(H,{checked:p.fingerprint,onChange:v=>h(w=>({...w,fingerprint:v})),icon:n.jsx(z5,{}),label:"指纹解锁",color:"primary"}),n.jsx(H,{checked:p.location,onChange:v=>h(w=>({...w,location:v})),icon:n.jsx(od,{}),label:"位置服务",color:"warning"}),n.jsx(H,{checked:p.analytics,onChange:v=>h(w=>({...w,analytics:v})),icon:n.jsx(X5,{}),label:"数据分析",color:"error"})]})]}),n.jsxs("div",{className:oe.settingsGroup,children:[n.jsx("h4",{children:"个性化"}),n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsx(H,{checked:m.autoSave,onChange:v=>g(w=>({...w,autoSave:v})),icon:n.jsx(W1,{}),label:"自动保存",color:"success"}),n.jsx(H,{checked:m.notifications,onChange:v=>g(w=>({...w,notifications:v})),icon:m.notifications?n.jsx(cd,{}):n.jsx(G5,{}),label:m.notifications?"通知已开启":"通知已关闭",color:"primary"}),n.jsx(H,{checked:m.darkMode,onChange:v=>g(w=>({...w,darkMode:v})),icon:m.darkMode?n.jsx(V1,{}):n.jsx(G1,{}),label:m.darkMode?"深色模式":"浅色模式",color:"secondary"})]})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"动态状态切换"}),n.jsx("p",{className:oe.description,children:"展示开关状态切换时的动态效果。"}),n.jsx("div",{className:oe.group,children:n.jsx(V,{direction:"vertical",size:"large",children:n.jsxs(V,{size:"large",children:[n.jsx(H,{icon:m.sound?n.jsx(hc,{}):n.jsx(P5,{}),label:m.sound?"已收藏":"未收藏",checked:m.sound,onChange:v=>g(w=>({...w,sound:v})),color:"#EC4899"}),n.jsx(H,{icon:p.faceId?n.jsx($5,{}):n.jsx(N5,{}),label:p.faceId?"显示密码":"隐藏密码",checked:p.faceId,onChange:v=>h(w=>({...w,faceId:v})),color:"#6366F1"}),n.jsx(H,{icon:e?n.jsx(D5,{}):n.jsx(U5,{}),label:e?"已锁定":"未锁定",checked:e,onChange:v=>t(v),color:"#10B981"})]})})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"快捷操作面板"}),n.jsx("p",{className:oe.description,children:"常用的快捷操作组合。"}),n.jsx("div",{className:oe.group,children:n.jsx("div",{className:oe.quickPanel,children:n.jsxs(V,{wrap:!0,size:[24,16],children:[n.jsx(H,{size:"large",icon:n.jsx(dd,{}),label:"WiFi",defaultChecked:!0,color:"primary"}),n.jsx(H,{size:"large",icon:n.jsx(rd,{}),label:"蓝牙",color:"secondary"}),n.jsx(H,{size:"large",icon:n.jsx(I5,{}),label:"漫游",color:"warning"}),n.jsx(H,{size:"large",icon:n.jsx(F5,{}),label:"翻译",color:"success"})]})})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"设备控制面板"}),n.jsx("p",{className:oe.description,children:"模拟设备控制面板的开关组合。"}),n.jsx("div",{className:oe.group,children:n.jsxs("div",{className:oe.controlPanel,children:[n.jsxs("div",{className:oe.controlGroup,children:[n.jsx("h4",{children:"相机设置"}),n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsx(H,{checked:j.camera,onChange:v=>b(w=>({...w,camera:v})),icon:n.jsx(v5,{}),label:"相机开关",color:"#3B82F6",size:"large"}),n.jsx(H,{checked:j.flash,onChange:v=>b(w=>({...w,flash:v})),icon:n.jsx(E5,{}),label:"闪光灯",color:"#F59E0B"})]})]}),n.jsxs("div",{className:oe.controlGroup,children:[n.jsx("h4",{children:"设备状态"}),n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsx(H,{checked:j.waterproof,onChange:v=>b(w=>({...w,waterproof:v})),icon:n.jsx(lj,{}),label:"防水模式",color:"#0EA5E9"}),n.jsx(H,{checked:j.temperature,onChange:v=>b(w=>({...w,temperature:v})),icon:n.jsx(rj,{}),label:"温度监控",color:"#DC2626"})]})]}),n.jsxs("div",{className:oe.controlGroup,children:[n.jsx("h4",{children:"性能设置"}),n.jsxs(V,{direction:"vertical",size:"medium",children:[n.jsx(H,{checked:j.battery,onChange:v=>b(w=>({...w,battery:v})),icon:n.jsx(f5,{}),label:"省电模式",color:"#059669"}),n.jsx(H,{checked:j.performance,onChange:v=>b(w=>({...w,performance:v})),icon:n.jsx(tj,{}),label:"高性能模式",color:"#7C3AED"})]})]})]})})]}),n.jsxs("div",{children:[n.jsx("h3",{children:"智能家居控制"}),n.jsx("p",{className:oe.description,children:"智能家居设备的控制面板。"}),n.jsx("div",{className:oe.group,children:n.jsx("div",{className:oe.homePanel,children:n.jsxs(V,{wrap:!0,size:[32,24],children:[n.jsx(H,{size:"large",checked:k.lights,onChange:v=>_(w=>({...w,lights:v})),icon:n.jsx(M5,{}),label:"智能灯光",color:"#EC4899"}),n.jsx(H,{size:"large",checked:k.alarm,onChange:v=>_(w=>({...w,alarm:v})),icon:n.jsx(p5,{}),label:"安防系统",color:"#EF4444"}),n.jsx(H,{size:"large",checked:k.gaming,onChange:v=>_(w=>({...w,gaming:v})),icon:n.jsx(L5,{}),label:"游戏模式",color:"#8B5CF6"}),n.jsx(H,{size:"large",checked:k.music,onChange:v=>_(w=>({...w,music:v})),icon:n.jsx(K5,{}),label:"音乐系统",color:"#10B981"}),n.jsx(H,{size:"large",checked:k.radio,onChange:v=>_(w=>({...w,radio:v})),icon:n.jsx(Q5,{}),label:"智能广播",color:"#F97316"})]})})})]})]})]})},XA=()=>{const{t:e}=$e();return n.jsxs("div",{className:P.componentPage,children:[n.jsx("header",{className:P.header,children:n.jsxs("div",{className:P.titleWrapper,children:[n.jsx(Lg,{className:P.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.switch.title")}),n.jsx("p",{children:e("components.switch.description")})]})]})}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.switch.installation")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:"import { Switch } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.switch.basic_usage")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:`import { Switch } from '@minerva/lib-core'; function App() { return ( @@ -411,7 +734,7 @@ function App() { defaultChecked /> ); -}`,language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.switch.examples")}),n.jsx("div",{className:A.examples,children:n.jsx(NI,{})})]})]})},$I="_buttonGroup_dd3hq_42",LI="_section_dd3hq_48",EI="_group_dd3hq_52",Qs={buttonGroup:$I,section:LI,group:EI,"accordion-down":"_accordion-down_dd3hq_1","accordion-up":"_accordion-up_dd3hq_1"},II=()=>n.jsxs("div",{className:Qs.section,children:[n.jsx("h3",{children:"Avatar Size"}),n.jsxs("div",{className:Qs.group,children:[n.jsx(rt,{name:"Alice",shape:"circle",size:"small"}),n.jsx(rt,{name:"Bob",shape:"circle",size:"medium"}),n.jsx(rt,{name:"Charlie",shape:"circle",size:"large"}),n.jsx(rt,{name:"Bob",shape:"square",size:"small"}),n.jsx(rt,{name:"Bob",shape:"square",size:"medium"}),n.jsx(rt,{name:"Charlie",shape:"square",size:"large"}),n.jsx(rt,{name:"Charlie",shape:"rounded",size:"small"}),n.jsx(rt,{name:"Charlie",shape:"rounded",size:"medium"}),n.jsx(rt,{name:"Charlie",shape:"rounded",size:"large"})]}),n.jsx("h3",{children:"Avatar Group"}),n.jsx("div",{className:Qs.group,children:n.jsxs(o1,{count:3,children:[n.jsx(rt,{name:"Alice"}),n.jsx(rt,{name:"Bob"}),n.jsx(rt,{name:"Charlie"})]})}),n.jsx("h3",{children:"Avatar Stacked"}),n.jsx("div",{className:Qs.group,children:n.jsxs(o1,{count:3,children:[n.jsx(rt,{name:"Alice"}),n.jsx(rt,{name:"Bob",stacked:!0}),n.jsx(rt,{name:"Charlie",stacked:!0})]})}),n.jsx("h3",{children:"Avatar with Image"}),n.jsxs("div",{className:Qs.group,children:[n.jsx(rt,{src:"https://randomuser.me/api/portraits/men/1.jpg",name:"John",size:"large"}),n.jsx(rt,{name:"Jane Doe"}),n.jsx(rt,{name:"Jane Doe",src:"https://randomuser.me/api/portraits/women/1.jpg",stacked:!0}),n.jsx(rt,{name:"John Doe",src:"https://randomuser.me/api/portraits/men/2.jpg"})]})]}),RI=()=>{const{t:e}=$e();return n.jsxs("div",{className:A.componentPage,children:[n.jsx("header",{className:A.header,children:n.jsxs("div",{className:A.titleWrapper,children:[n.jsx(S0,{className:A.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.avatar.title")}),n.jsx("p",{children:e("components.avatar.description")})]})]})}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.avatar.installation")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:"import { Avatar } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.avatar.basic_usage")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:`import { Avatar } from '@minerva/lib-core'; +}`,language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.switch.examples")}),n.jsx("div",{className:P.examples,children:n.jsx(YA,{})})]})]})},ZA="_buttonGroup_dd3hq_42",eI="_section_dd3hq_48",tI="_group_dd3hq_52",la={buttonGroup:ZA,section:eI,group:tI,"accordion-down":"_accordion-down_dd3hq_1","accordion-up":"_accordion-up_dd3hq_1"},nI=()=>n.jsxs("div",{className:la.section,children:[n.jsx("h3",{children:"Avatar Size"}),n.jsxs("div",{className:la.group,children:[n.jsx(rt,{name:"Alice",shape:"circle",size:"small"}),n.jsx(rt,{name:"Bob",shape:"circle",size:"medium"}),n.jsx(rt,{name:"Charlie",shape:"circle",size:"large"}),n.jsx(rt,{name:"Bob",shape:"square",size:"small"}),n.jsx(rt,{name:"Bob",shape:"square",size:"medium"}),n.jsx(rt,{name:"Charlie",shape:"square",size:"large"}),n.jsx(rt,{name:"Charlie",shape:"rounded",size:"small"}),n.jsx(rt,{name:"Charlie",shape:"rounded",size:"medium"}),n.jsx(rt,{name:"Charlie",shape:"rounded",size:"large"})]}),n.jsx("h3",{children:"Avatar Group"}),n.jsx("div",{className:la.group,children:n.jsxs(J1,{count:3,children:[n.jsx(rt,{name:"Alice"}),n.jsx(rt,{name:"Bob"}),n.jsx(rt,{name:"Charlie"})]})}),n.jsx("h3",{children:"Avatar Stacked"}),n.jsx("div",{className:la.group,children:n.jsxs(J1,{count:3,children:[n.jsx(rt,{name:"Alice"}),n.jsx(rt,{name:"Bob",stacked:!0}),n.jsx(rt,{name:"Charlie",stacked:!0})]})}),n.jsx("h3",{children:"Avatar with Image"}),n.jsxs("div",{className:la.group,children:[n.jsx(rt,{src:"https://randomuser.me/api/portraits/men/1.jpg",name:"John",size:"large"}),n.jsx(rt,{name:"Jane Doe"}),n.jsx(rt,{name:"Jane Doe",src:"https://randomuser.me/api/portraits/women/1.jpg",stacked:!0}),n.jsx(rt,{name:"John Doe",src:"https://randomuser.me/api/portraits/men/2.jpg"})]})]}),rI=()=>{const{t:e}=$e();return n.jsxs("div",{className:P.componentPage,children:[n.jsx("header",{className:P.header,children:n.jsxs("div",{className:P.titleWrapper,children:[n.jsx(bg,{className:P.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.avatar.title")}),n.jsx("p",{children:e("components.avatar.description")})]})]})}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.avatar.installation")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:"import { Avatar } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.avatar.basic_usage")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:`import { Avatar } from '@minerva/lib-core'; function App() { return ( @@ -421,7 +744,7 @@ function App() { size="md" /> ); -}`,language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.avatar.examples")}),n.jsx("div",{className:A.examples,children:n.jsx(II,{})})]})]})},PI="_section_dex18_42",AI="_group_dex18_54",ir={section:PI,group:AI,"accordion-down":"_accordion-down_dex18_1","accordion-up":"_accordion-up_dex18_1"},MI=()=>n.jsxs("div",{className:ir.section,children:[n.jsx("h3",{children:"Badge Variants"}),n.jsxs("div",{className:ir.group,children:[n.jsx(Ce,{content:"5",variant:"primary",children:n.jsx(Rt,{size:24})}),n.jsx(Ce,{content:"New",variant:"secondary",children:n.jsx(Kd,{size:24})}),n.jsx(Ce,{content:"99+",variant:"success",children:n.jsx(Jr,{size:24})}),n.jsx(Ce,{content:"!",variant:"warning",children:n.jsx(Rt,{size:24})}),n.jsx(Ce,{content:"Error",variant:"error",children:n.jsx(Rt,{size:24})})]}),n.jsx("h3",{children:"Badge Positions"}),n.jsxs("div",{className:ir.group,children:[n.jsx(Ce,{content:"1",position:"top-right",children:n.jsx(Rt,{size:24})}),n.jsx(Ce,{content:"2",position:"top-left",children:n.jsx(Rt,{size:24})}),n.jsx(Ce,{content:"3",position:"bottom-right",children:n.jsx(Rt,{size:24})}),n.jsx(Ce,{content:"4",position:"bottom-left",children:n.jsx(Rt,{size:24})})]}),n.jsx("h3",{children:"Badge Sizes"}),n.jsxs("div",{className:ir.group,children:[n.jsx(Ce,{content:"S",size:"small",children:n.jsx(Rt,{size:24})}),n.jsx(Ce,{content:"M",size:"medium",children:n.jsx(Rt,{size:24})}),n.jsx(Ce,{content:"L",size:"large",children:n.jsx(Rt,{size:24})})]}),n.jsx("h3",{children:"Custom Styles"}),n.jsxs("div",{className:ir.group,children:[n.jsx(Ce,{content:"1",bgColor:"#6200ee",textColor:"#ffffff",borderRadius:"12px",children:n.jsx(Rt,{size:24})}),n.jsx(Ce,{content:"2",bgColor:"#ff9800",textColor:"#ffffff",borderWidth:"2px",borderColor:"#f57c00",children:n.jsx(Rt,{size:24})})]}),n.jsx("h3",{children:"Dot Badges"}),n.jsxs("div",{className:ir.group,children:[n.jsx(Ce,{dot:!0,variant:"primary",children:n.jsx(Rt,{size:24})}),n.jsx(Ce,{dot:!0,variant:"success",children:n.jsx(Rt,{size:24})}),n.jsx(Ce,{dot:!0,variant:"warning",children:n.jsx(Rt,{size:24})}),n.jsx(Ce,{dot:!0,variant:"error",children:n.jsx(Rt,{size:24})})]}),n.jsx("h3",{children:"Badge"}),n.jsxs("div",{className:ir.group,children:[n.jsx(Ce,{children:"Badge"}),n.jsx(Ce,{variant:"primary",children:n.jsx("div",{children:"1231"})}),n.jsx(Ce,{variant:"secondary",children:"q2"}),n.jsx(Ce,{variant:"success",children:"Badge"}),n.jsx(Ce,{variant:"danger",children:"Badge"}),n.jsx(Ce,{variant:"warning",children:"Badge"}),n.jsx(Ce,{variant:"info",children:"Badge"}),n.jsx(Ce,{variant:"light",children:"Badge"}),n.jsx(Ce,{variant:"dark",children:"Badge"})]}),n.jsxs("div",{className:ir.group,children:[n.jsx(Ce,{size:"small",children:"Badge"}),n.jsx(Ce,{size:"medium",children:"Badge"}),n.jsx(Ce,{size:"large",children:"Badge"})]}),n.jsx("h3",{children:"Status Badge"}),n.jsxs("div",{className:ir.buttonGroup,children:[n.jsx(Ce,{variant:"success",children:"Active"}),n.jsx(Ce,{variant:"danger",children:"Error"}),n.jsx(Ce,{variant:"warning",children:"Warning"}),n.jsx(Ce,{variant:"info",children:"Info"})]}),n.jsx("h3",{children:"Custom Color"}),n.jsxs("div",{className:ir.group,children:[n.jsx(Ce,{bgColor:"#ff0000",textColor:"#ffffff",children:"Badge"}),n.jsx(Ce,{bgColor:"#00ff00",textColor:"#ffffff",children:"Badge"}),n.jsx(Ce,{bgColor:"#0000ff",textColor:"#ffffff",children:"Badge"}),n.jsx(Ce,{bgColor:"#ffff00",textColor:"#000000",children:"Badge"}),n.jsx(Ce,{bgColor:"#ff00ff",textColor:"#ffffff",children:"Badge"}),n.jsx(Ce,{bgColor:"#00ffff",textColor:"#000000",children:"Badge"})]})]}),TI=()=>{const{t:e}=$e();return n.jsxs("div",{className:A.componentPage,children:[n.jsx("header",{className:A.header,children:n.jsxs("div",{className:A.titleWrapper,children:[n.jsx(L0,{className:A.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.badge.title")}),n.jsx("p",{children:e("components.badge.description")})]})]})}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.badge.installation")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:"import { Badge } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.badge.basic_usage")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:`import { Badge } from '@minerva/lib-core'; +}`,language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.avatar.examples")}),n.jsx("div",{className:P.examples,children:n.jsx(nI,{})})]})]})},iI="_section_dex18_42",sI="_group_dex18_54",ar={section:iI,group:sI,"accordion-down":"_accordion-down_dex18_1","accordion-up":"_accordion-up_dex18_1"},aI=()=>n.jsxs("div",{className:ar.section,children:[n.jsx("h3",{children:"Badge Variants"}),n.jsxs("div",{className:ar.group,children:[n.jsx(ke,{content:"5",variant:"primary",children:n.jsx(At,{size:24})}),n.jsx(ke,{content:"New",variant:"secondary",children:n.jsx(bu,{size:24})}),n.jsx(ke,{content:"99+",variant:"success",children:n.jsx(ei,{size:24})}),n.jsx(ke,{content:"!",variant:"warning",children:n.jsx(At,{size:24})}),n.jsx(ke,{content:"Error",variant:"error",children:n.jsx(At,{size:24})})]}),n.jsx("h3",{children:"Badge Positions"}),n.jsxs("div",{className:ar.group,children:[n.jsx(ke,{content:"1",position:"top-right",children:n.jsx(At,{size:24})}),n.jsx(ke,{content:"2",position:"top-left",children:n.jsx(At,{size:24})}),n.jsx(ke,{content:"3",position:"bottom-right",children:n.jsx(At,{size:24})}),n.jsx(ke,{content:"4",position:"bottom-left",children:n.jsx(At,{size:24})})]}),n.jsx("h3",{children:"Badge Sizes"}),n.jsxs("div",{className:ar.group,children:[n.jsx(ke,{content:"S",size:"small",children:n.jsx(At,{size:24})}),n.jsx(ke,{content:"M",size:"medium",children:n.jsx(At,{size:24})}),n.jsx(ke,{content:"L",size:"large",children:n.jsx(At,{size:24})})]}),n.jsx("h3",{children:"Custom Styles"}),n.jsxs("div",{className:ar.group,children:[n.jsx(ke,{content:"1",bgColor:"#6200ee",textColor:"#ffffff",borderRadius:"12px",children:n.jsx(At,{size:24})}),n.jsx(ke,{content:"2",bgColor:"#ff9800",textColor:"#ffffff",borderWidth:"2px",borderColor:"#f57c00",children:n.jsx(At,{size:24})})]}),n.jsx("h3",{children:"Dot Badges"}),n.jsxs("div",{className:ar.group,children:[n.jsx(ke,{dot:!0,variant:"primary",children:n.jsx(At,{size:24})}),n.jsx(ke,{dot:!0,variant:"success",children:n.jsx(At,{size:24})}),n.jsx(ke,{dot:!0,variant:"warning",children:n.jsx(At,{size:24})}),n.jsx(ke,{dot:!0,variant:"error",children:n.jsx(At,{size:24})})]}),n.jsx("h3",{children:"Badge"}),n.jsxs("div",{className:ar.group,children:[n.jsx(ke,{children:"Badge"}),n.jsx(ke,{variant:"primary",children:n.jsx("div",{children:"1231"})}),n.jsx(ke,{variant:"secondary",children:"q2"}),n.jsx(ke,{variant:"success",children:"Badge"}),n.jsx(ke,{variant:"danger",children:"Badge"}),n.jsx(ke,{variant:"warning",children:"Badge"}),n.jsx(ke,{variant:"info",children:"Badge"}),n.jsx(ke,{variant:"light",children:"Badge"}),n.jsx(ke,{variant:"dark",children:"Badge"})]}),n.jsxs("div",{className:ar.group,children:[n.jsx(ke,{size:"small",children:"Badge"}),n.jsx(ke,{size:"medium",children:"Badge"}),n.jsx(ke,{size:"large",children:"Badge"})]}),n.jsx("h3",{children:"Status Badge"}),n.jsxs("div",{className:ar.buttonGroup,children:[n.jsx(ke,{variant:"success",children:"Active"}),n.jsx(ke,{variant:"danger",children:"Error"}),n.jsx(ke,{variant:"warning",children:"Warning"}),n.jsx(ke,{variant:"info",children:"Info"})]}),n.jsx("h3",{children:"Custom Color"}),n.jsxs("div",{className:ar.group,children:[n.jsx(ke,{bgColor:"#ff0000",textColor:"#ffffff",children:"Badge"}),n.jsx(ke,{bgColor:"#00ff00",textColor:"#ffffff",children:"Badge"}),n.jsx(ke,{bgColor:"#0000ff",textColor:"#ffffff",children:"Badge"}),n.jsx(ke,{bgColor:"#ffff00",textColor:"#000000",children:"Badge"}),n.jsx(ke,{bgColor:"#ff00ff",textColor:"#ffffff",children:"Badge"}),n.jsx(ke,{bgColor:"#00ffff",textColor:"#000000",children:"Badge"})]})]}),oI=()=>{const{t:e}=$e();return n.jsxs("div",{className:P.componentPage,children:[n.jsx("header",{className:P.header,children:n.jsxs("div",{className:P.titleWrapper,children:[n.jsx($g,{className:P.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.badge.title")}),n.jsx("p",{children:e("components.badge.description")})]})]})}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.badge.installation")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:"import { Badge } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.badge.basic_usage")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:`import { Badge } from '@minerva/lib-core'; function App() { return ( @@ -429,7 +752,7 @@ function App() { New ); -}`,language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.badge.examples")}),n.jsx("div",{className:A.examples,children:n.jsx(MI,{})})]})]})},FI="_section_6zxtq_42",BI="_group_6zxtq_45",OI="_card_6zxtq_52",DI="_twoColumnLayout_6zxtq_63",UI="_imageColumn_6zxtq_72",HI="_textColumn_6zxtq_75",Ur={section:FI,group:BI,card:OI,twoColumnLayout:DI,imageColumn:UI,textColumn:HI,"accordion-down":"_accordion-down_6zxtq_1","accordion-up":"_accordion-up_6zxtq_1"},WI=()=>n.jsxs("div",{className:Ur.section,children:[n.jsx("h3",{children:"Card Variants"}),n.jsxs("div",{className:Ur.group,children:[n.jsxs(Yt,{variant:"default",children:[n.jsxs(Yn,{children:[n.jsx(Xn,{children:"Default Card"}),n.jsx(Zn,{children:"This is a default card."})]}),n.jsx(Nn,{bgColor:"#e9ecef",textColor:"#343a40",children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(er,{children:n.jsx(z,{variant:"primary",children:"Action"})})]}),n.jsxs(Yt,{variant:"outlined",children:[n.jsxs(Yn,{children:[n.jsx(Xn,{children:"Outlined Card"}),n.jsx(Zn,{children:"This is an outlined card."})]}),n.jsx(Nn,{children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(er,{children:n.jsx(z,{variant:"primary",children:"Action"})})]}),n.jsxs(Yt,{variant:"shadow",children:[n.jsxs(Yn,{children:[n.jsx(Xn,{children:"Shadow Card"}),n.jsx(Zn,{children:"This is a shadow card."})]}),n.jsx(Nn,{children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(er,{children:n.jsx(z,{variant:"primary",children:"Action"})})]}),n.jsxs(Yt,{variant:"elevated",children:[n.jsxs(Yn,{children:[n.jsx(Xn,{children:"Elevated Card"}),n.jsx(Zn,{children:"This is an elevated card."})]}),n.jsx(Nn,{children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(er,{children:n.jsx(z,{variant:"primary",children:"Action"})})]}),n.jsxs(Yt,{variant:"filled",children:[n.jsxs(Yn,{children:[n.jsx(Xn,{children:"Filled Card"}),n.jsx(Zn,{children:"This is a filled card."})]}),n.jsx(Nn,{children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(er,{children:n.jsx(z,{variant:"primary",children:"Action"})})]})]}),n.jsx("h3",{children:"Card Types"}),n.jsxs("div",{className:Ur.group,children:[n.jsxs(Yt,{type:"noHeader",children:[n.jsx(Nn,{bgColor:"#e9ecef",textColor:"#343a40",children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(er,{bgColor:"#007bff",textColor:"#ffffff",children:n.jsx(z,{variant:"primary",children:"Action"})})]}),n.jsxs(Yt,{type:"noFooter",children:[n.jsxs(Yn,{bgColor:"#28a745",textColor:"#ffffff",children:[n.jsx(Xn,{children:"No Footer Card"}),n.jsx(Zn,{children:"This card has no footer."})]}),n.jsx(Nn,{bgColor:"#d4edda",textColor:"#155724",children:n.jsx("p",{children:"Content goes here..."})})]}),n.jsx(Yt,{type:"noHeaderFooter",variant:"elevated",children:n.jsx(Nn,{bgColor:"#fff3cd",textColor:"#856404",children:n.jsxs("div",{children:[n.jsx("p",{children:"Content goes here..."}),n.jsx(z,{variant:"primary",children:"Action"})]})})})]}),n.jsx("h3",{children:"Card with Two-Column Layout"}),n.jsx("div",{className:Ur.group,children:n.jsxs(Yt,{variant:"shadow",children:[n.jsxs(Yn,{children:[n.jsx(Xn,{children:"Two-Column Card"}),n.jsx(Zn,{children:"This card has a two-column layout."})]}),n.jsxs(Nn,{className:Ur.twoColumnLayout,children:[n.jsx("div",{className:Ur.imageColumn,children:n.jsx("img",{src:"https://via.placeholder.com/150",alt:"Placeholder"})}),n.jsx("div",{className:Ur.textColumn,children:n.jsx("p",{children:"This is some text content next to an image."})})]}),n.jsx(er,{children:n.jsx(z,{variant:"primary",children:"Action"})})]})}),n.jsx("h3",{children:"Card with Animation"}),n.jsxs("div",{className:Ur.group,children:[n.jsxs(Yt,{variant:"shadow",children:[n.jsxs(Yn,{bgColor:"#007bff",textColor:"#ffffff",children:[n.jsx(Xn,{children:"Animated Card"}),n.jsx(Zn,{children:"This card has a fade-in animation."})]}),n.jsx(Nn,{bgColor:"#e9ecef",textColor:"#343a40",animation:"fadeIn",children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(er,{bgColor:"#007bff",textColor:"#ffffff",children:n.jsx(z,{variant:"primary",children:"Action"})})]}),n.jsxs(Yt,{variant:"shadow",children:[n.jsxs(Yn,{bgColor:"#28a745",textColor:"#ffffff",children:[n.jsx(Xn,{children:"Animated Card"}),n.jsx(Zn,{children:"This card has a slide-in animation."})]}),n.jsx(Nn,{bgColor:"#d4edda",textColor:"#155724",animation:"slideIn",children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(er,{bgColor:"#28a745",textColor:"#ffffff",children:n.jsx(z,{variant:"primary",children:"Action"})})]}),n.jsxs(Yt,{variant:"shadow",children:[n.jsxs(Yn,{bgColor:"#17a2b8",textColor:"#ffffff",children:[n.jsx(Xn,{children:"Animated Card"}),n.jsx(Zn,{children:"This card has a zoom-in animation."})]}),n.jsx(Nn,{bgColor:"#d1ecf1",textColor:"#0c5460",animation:"zoomIn",children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(er,{bgColor:"#17a2b8",textColor:"#ffffff",children:n.jsx(z,{variant:"primary",children:"Action"})})]})]})]}),qI=()=>{const{t:e}=$e();return n.jsxs("div",{className:A.componentPage,children:[n.jsx("header",{className:A.header,children:n.jsxs("div",{className:A.titleWrapper,children:[n.jsx(j0,{className:A.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.card.title")}),n.jsx("p",{children:e("components.card.description")})]})]})}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.card.installation")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:"import { Card } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.card.basic_usage")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:`import { Card } from '@minerva/lib-core'; +}`,language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.badge.examples")}),n.jsx("div",{className:P.examples,children:n.jsx(aI,{})})]})]})},lI="_section_6zxtq_42",cI="_group_6zxtq_45",dI="_card_6zxtq_52",uI="_twoColumnLayout_6zxtq_63",pI="_imageColumn_6zxtq_72",hI="_textColumn_6zxtq_75",qr={section:lI,group:cI,card:dI,twoColumnLayout:uI,imageColumn:pI,textColumn:hI,"accordion-down":"_accordion-down_6zxtq_1","accordion-up":"_accordion-up_6zxtq_1"},mI=()=>n.jsxs("div",{className:qr.section,children:[n.jsx("h3",{children:"Card Variants"}),n.jsxs("div",{className:qr.group,children:[n.jsxs(Xt,{variant:"default",children:[n.jsxs(Zn,{children:[n.jsx(er,{children:"Default Card"}),n.jsx(tr,{children:"This is a default card."})]}),n.jsx($n,{bgColor:"#e9ecef",textColor:"#343a40",children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(nr,{children:n.jsx($,{variant:"primary",children:"Action"})})]}),n.jsxs(Xt,{variant:"outlined",children:[n.jsxs(Zn,{children:[n.jsx(er,{children:"Outlined Card"}),n.jsx(tr,{children:"This is an outlined card."})]}),n.jsx($n,{children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(nr,{children:n.jsx($,{variant:"primary",children:"Action"})})]}),n.jsxs(Xt,{variant:"shadow",children:[n.jsxs(Zn,{children:[n.jsx(er,{children:"Shadow Card"}),n.jsx(tr,{children:"This is a shadow card."})]}),n.jsx($n,{children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(nr,{children:n.jsx($,{variant:"primary",children:"Action"})})]}),n.jsxs(Xt,{variant:"elevated",children:[n.jsxs(Zn,{children:[n.jsx(er,{children:"Elevated Card"}),n.jsx(tr,{children:"This is an elevated card."})]}),n.jsx($n,{children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(nr,{children:n.jsx($,{variant:"primary",children:"Action"})})]}),n.jsxs(Xt,{variant:"filled",children:[n.jsxs(Zn,{children:[n.jsx(er,{children:"Filled Card"}),n.jsx(tr,{children:"This is a filled card."})]}),n.jsx($n,{children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(nr,{children:n.jsx($,{variant:"primary",children:"Action"})})]})]}),n.jsx("h3",{children:"Card Types"}),n.jsxs("div",{className:qr.group,children:[n.jsxs(Xt,{type:"noHeader",children:[n.jsx($n,{bgColor:"#e9ecef",textColor:"#343a40",children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(nr,{bgColor:"#007bff",textColor:"#ffffff",children:n.jsx($,{variant:"primary",children:"Action"})})]}),n.jsxs(Xt,{type:"noFooter",children:[n.jsxs(Zn,{bgColor:"#28a745",textColor:"#ffffff",children:[n.jsx(er,{children:"No Footer Card"}),n.jsx(tr,{children:"This card has no footer."})]}),n.jsx($n,{bgColor:"#d4edda",textColor:"#155724",children:n.jsx("p",{children:"Content goes here..."})})]}),n.jsx(Xt,{type:"noHeaderFooter",variant:"elevated",children:n.jsx($n,{bgColor:"#fff3cd",textColor:"#856404",children:n.jsxs("div",{children:[n.jsx("p",{children:"Content goes here..."}),n.jsx($,{variant:"primary",children:"Action"})]})})})]}),n.jsx("h3",{children:"Card with Two-Column Layout"}),n.jsx("div",{className:qr.group,children:n.jsxs(Xt,{variant:"shadow",children:[n.jsxs(Zn,{children:[n.jsx(er,{children:"Two-Column Card"}),n.jsx(tr,{children:"This card has a two-column layout."})]}),n.jsxs($n,{className:qr.twoColumnLayout,children:[n.jsx("div",{className:qr.imageColumn,children:n.jsx("img",{src:"https://via.placeholder.com/150",alt:"Placeholder"})}),n.jsx("div",{className:qr.textColumn,children:n.jsx("p",{children:"This is some text content next to an image."})})]}),n.jsx(nr,{children:n.jsx($,{variant:"primary",children:"Action"})})]})}),n.jsx("h3",{children:"Card with Animation"}),n.jsxs("div",{className:qr.group,children:[n.jsxs(Xt,{variant:"shadow",children:[n.jsxs(Zn,{bgColor:"#007bff",textColor:"#ffffff",children:[n.jsx(er,{children:"Animated Card"}),n.jsx(tr,{children:"This card has a fade-in animation."})]}),n.jsx($n,{bgColor:"#e9ecef",textColor:"#343a40",animation:"fadeIn",children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(nr,{bgColor:"#007bff",textColor:"#ffffff",children:n.jsx($,{variant:"primary",children:"Action"})})]}),n.jsxs(Xt,{variant:"shadow",children:[n.jsxs(Zn,{bgColor:"#28a745",textColor:"#ffffff",children:[n.jsx(er,{children:"Animated Card"}),n.jsx(tr,{children:"This card has a slide-in animation."})]}),n.jsx($n,{bgColor:"#d4edda",textColor:"#155724",animation:"slideIn",children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(nr,{bgColor:"#28a745",textColor:"#ffffff",children:n.jsx($,{variant:"primary",children:"Action"})})]}),n.jsxs(Xt,{variant:"shadow",children:[n.jsxs(Zn,{bgColor:"#17a2b8",textColor:"#ffffff",children:[n.jsx(er,{children:"Animated Card"}),n.jsx(tr,{children:"This card has a zoom-in animation."})]}),n.jsx($n,{bgColor:"#d1ecf1",textColor:"#0c5460",animation:"zoomIn",children:n.jsx("p",{children:"Content goes here..."})}),n.jsx(nr,{bgColor:"#17a2b8",textColor:"#ffffff",children:n.jsx($,{variant:"primary",children:"Action"})})]})]})]}),fI=()=>{const{t:e}=$e();return n.jsxs("div",{className:P.componentPage,children:[n.jsx("header",{className:P.header,children:n.jsxs("div",{className:P.titleWrapper,children:[n.jsx(fg,{className:P.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.card.title")}),n.jsx("p",{children:e("components.card.description")})]})]})}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.card.installation")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:"import { Card } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.card.basic_usage")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:`import { Card } from '@minerva/lib-core'; function App() { return ( @@ -445,7 +768,7 @@ function App() { ); -}`,language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.card.examples")}),n.jsx("div",{className:A.examples,children:n.jsx(WI,{})})]})]})},VI="_section_15ptb_42",KI="_group_15ptb_54",$n={section:VI,group:KI,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},GI=()=>{const[e,t]=y.useState(["Chip 1","Chip 2","Chip 3"]),r=s=>{t(a=>a.filter(o=>o!==s))},i=s=>{console.log("Chip clicked",s)};return n.jsxs("div",{className:$n.section,children:[n.jsx("h3",{children:"Chip Variants"}),n.jsxs("div",{className:$n.group,children:[n.jsx(Be,{label:"Clickable Chip",variant:"filled",clickable:!0,onClick:i}),n.jsx(Be,{label:"Loading Chip",variant:"filled",loading:!0}),n.jsx(Be,{label:"Filled Chip",variant:"filled"}),n.jsx(Be,{label:"Outlined Chip",variant:"outlined"}),n.jsx(Be,{label:"Soft Chip",variant:"soft"})]}),n.jsx("h3",{children:"Chip Colors"}),n.jsxs("div",{className:$n.group,children:[n.jsx(Be,{label:"Default"}),n.jsx(Be,{label:"Primary",color:"primary"}),n.jsx(Be,{label:"Secondary",color:"secondary"}),n.jsx(Be,{label:"Success",color:"success"}),n.jsx(Be,{label:"Error",color:"error"}),n.jsx(Be,{label:"Warning",color:"warning"}),n.jsx(Be,{label:"Info",color:"info"})]}),n.jsx("h3",{children:"Chip Sizes"}),n.jsxs("div",{className:$n.group,children:[n.jsx(Be,{label:"Small",size:"small"}),n.jsx(Be,{label:"Medium",size:"medium"}),n.jsx(Be,{label:"Large",size:"large"})]}),n.jsx("h3",{children:"Chips with Icons"}),n.jsxs("div",{className:$n.group,children:[n.jsx(Be,{label:"User",icon:n.jsx(Jr,{})}),n.jsx(Be,{label:"Favorite",icon:n.jsx(Ln,{}),color:"error"}),n.jsx(Be,{label:"Star",icon:n.jsx(Ma,{}),color:"warning"})]}),n.jsx("h3",{children:"Chips with Avatar"}),n.jsxs("div",{className:$n.group,children:[n.jsx(Be,{label:"John Doe",avatar:n.jsx(rt,{src:"https://i.pravatar.cc/300?img=1",size:"small"})}),n.jsx(Be,{label:"Jane Smith",avatar:n.jsx(rt,{src:"https://i.pravatar.cc/300?img=2",size:"small"}),color:"primary"})]}),n.jsx("h3",{children:"Deletable Chips"}),n.jsx("div",{className:$n.group,children:e.map(s=>n.jsx(Be,{label:s,onDelete:()=>r(s),color:"primary"},s))}),n.jsx("h3",{children:"Clickable Chips"}),n.jsxs("div",{className:$n.group,children:[n.jsx(Be,{label:"Clickable",clickable:!0,onClick:()=>console.log("Clicked!")}),n.jsx(Be,{label:"Clickable Primary",clickable:!0,color:"primary",onClick:()=>console.log("Clicked!")})]}),n.jsx("h3",{children:"Disabled Chips"}),n.jsxs("div",{className:$n.group,children:[n.jsx(Be,{label:"Disabled",disabled:!0}),n.jsx(Be,{label:"Disabled Primary",color:"primary",disabled:!0}),n.jsx(Be,{label:"Disabled with Delete",onDelete:()=>{},color:"error",disabled:!0})]}),n.jsx("h3",{children:"Loading Chips"}),n.jsxs("div",{className:$n.group,children:[n.jsx(Be,{label:"Loading",loading:!0}),n.jsx(Be,{label:"Loading Primary",color:"primary",loading:!0})]}),n.jsx("h3",{children:"Selected Chips"}),n.jsxs("div",{className:$n.group,children:[n.jsx(Be,{label:"Selected",selected:!0}),n.jsx(Be,{label:"Selected Primary",color:"primary",selected:!0})]}),n.jsx("h3",{children:"Custom Delete Icon"}),n.jsx("div",{className:$n.group,children:n.jsx(Be,{label:"Custom Delete",onDelete:()=>{},deleteIcon:n.jsx(ng,{color:"red"})})})]})},QI=()=>{const{t:e}=$e();return n.jsxs("div",{className:A.componentPage,children:[n.jsx("header",{className:A.header,children:n.jsxs("div",{className:A.titleWrapper,children:[n.jsx(Dd,{className:A.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.chip.title")}),n.jsx("p",{children:e("components.chip.description")})]})]})}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.chip.installation")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:"import { Chip } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.chip.basic_usage")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:`import { Chip } from '@minerva/lib-core'; +}`,language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.card.examples")}),n.jsx("div",{className:P.examples,children:n.jsx(mI,{})})]})]})},gI="_section_15ptb_42",xI="_group_15ptb_54",En={section:gI,group:xI,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},vI=()=>{const[e,t]=y.useState(["Chip 1","Chip 2","Chip 3"]),r=s=>{t(a=>a.filter(o=>o!==s))},i=s=>{console.log("Chip clicked",s)};return n.jsxs("div",{className:En.section,children:[n.jsx("h3",{children:"Chip Variants"}),n.jsxs("div",{className:En.group,children:[n.jsx(Oe,{label:"Clickable Chip",variant:"filled",clickable:!0,onClick:i}),n.jsx(Oe,{label:"Loading Chip",variant:"filled",loading:!0}),n.jsx(Oe,{label:"Filled Chip",variant:"filled"}),n.jsx(Oe,{label:"Outlined Chip",variant:"outlined"}),n.jsx(Oe,{label:"Soft Chip",variant:"soft"})]}),n.jsx("h3",{children:"Chip Colors"}),n.jsxs("div",{className:En.group,children:[n.jsx(Oe,{label:"Default"}),n.jsx(Oe,{label:"Primary",color:"primary"}),n.jsx(Oe,{label:"Secondary",color:"secondary"}),n.jsx(Oe,{label:"Success",color:"success"}),n.jsx(Oe,{label:"Error",color:"error"}),n.jsx(Oe,{label:"Warning",color:"warning"}),n.jsx(Oe,{label:"Info",color:"info"})]}),n.jsx("h3",{children:"Chip Sizes"}),n.jsxs("div",{className:En.group,children:[n.jsx(Oe,{label:"Small",size:"small"}),n.jsx(Oe,{label:"Medium",size:"medium"}),n.jsx(Oe,{label:"Large",size:"large"})]}),n.jsx("h3",{children:"Chips with Icons"}),n.jsxs("div",{className:En.group,children:[n.jsx(Oe,{label:"User",icon:n.jsx(ei,{})}),n.jsx(Oe,{label:"Favorite",icon:n.jsx(Ln,{}),color:"error"}),n.jsx(Oe,{label:"Star",icon:n.jsx(to,{}),color:"warning"})]}),n.jsx("h3",{children:"Chips with Avatar"}),n.jsxs("div",{className:En.group,children:[n.jsx(Oe,{label:"John Doe",avatar:n.jsx(rt,{src:"https://i.pravatar.cc/300?img=1",size:"small"})}),n.jsx(Oe,{label:"Jane Smith",avatar:n.jsx(rt,{src:"https://i.pravatar.cc/300?img=2",size:"small"}),color:"primary"})]}),n.jsx("h3",{children:"Deletable Chips"}),n.jsx("div",{className:En.group,children:e.map(s=>n.jsx(Oe,{label:s,onDelete:()=>r(s),color:"primary"},s))}),n.jsx("h3",{children:"Clickable Chips"}),n.jsxs("div",{className:En.group,children:[n.jsx(Oe,{label:"Clickable",clickable:!0,onClick:()=>console.log("Clicked!")}),n.jsx(Oe,{label:"Clickable Primary",clickable:!0,color:"primary",onClick:()=>console.log("Clicked!")})]}),n.jsx("h3",{children:"Disabled Chips"}),n.jsxs("div",{className:En.group,children:[n.jsx(Oe,{label:"Disabled",disabled:!0}),n.jsx(Oe,{label:"Disabled Primary",color:"primary",disabled:!0}),n.jsx(Oe,{label:"Disabled with Delete",onDelete:()=>{},color:"error",disabled:!0})]}),n.jsx("h3",{children:"Loading Chips"}),n.jsxs("div",{className:En.group,children:[n.jsx(Oe,{label:"Loading",loading:!0}),n.jsx(Oe,{label:"Loading Primary",color:"primary",loading:!0})]}),n.jsx("h3",{children:"Selected Chips"}),n.jsxs("div",{className:En.group,children:[n.jsx(Oe,{label:"Selected",selected:!0}),n.jsx(Oe,{label:"Selected Primary",color:"primary",selected:!0})]}),n.jsx("h3",{children:"Custom Delete Icon"}),n.jsx("div",{className:En.group,children:n.jsx(Oe,{label:"Custom Delete",onDelete:()=>{},deleteIcon:n.jsx(t2,{color:"red"})})})]})},jI=()=>{const{t:e}=$e();return n.jsxs("div",{className:P.componentPage,children:[n.jsx("header",{className:P.header,children:n.jsxs("div",{className:P.titleWrapper,children:[n.jsx(gu,{className:P.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.chip.title")}),n.jsx("p",{children:e("components.chip.description")})]})]})}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.chip.installation")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:"import { Chip } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.chip.basic_usage")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:`import { Chip } from '@minerva/lib-core'; function App() { return ( @@ -454,7 +777,7 @@ function App() { onDelete={() => console.log('Chip deleted')} /> ); -}`,language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.chip.examples")}),n.jsx("div",{className:A.examples,children:n.jsx(GI,{})})]})]})},JI="_section_iotdo_42",YI="_group_iotdo_54",XI="_verticalContainer_iotdo_62",sr={section:JI,group:YI,verticalContainer:XI,"accordion-down":"_accordion-down_iotdo_1","accordion-up":"_accordion-up_iotdo_1"},ZI=()=>n.jsxs("div",{className:sr.section,children:[n.jsx("h3",{children:"Basic Dividers"}),n.jsxs("div",{className:sr.group,children:[n.jsx(vt,{}),n.jsx(vt,{variant:"dashed"}),n.jsx(vt,{variant:"dotted"})]}),n.jsx("h3",{children:"Colored Dividers"}),n.jsxs("div",{className:sr.group,children:[n.jsx(vt,{color:"#1976d2"}),n.jsx(vt,{color:"#4caf50"}),n.jsx(vt,{color:"#f44336"})]}),n.jsx("h3",{children:"Vertical Dividers"}),n.jsx("div",{className:sr.group,children:n.jsxs("div",{className:sr.verticalContainer,children:[n.jsx("span",{children:"Text"}),n.jsx(vt,{orientation:"vertical"}),n.jsx("span",{children:"Text"}),n.jsx(vt,{orientation:"vertical",variant:"dashed"}),n.jsx("span",{children:"Text"}),n.jsx(vt,{orientation:"vertical",variant:"dotted"}),n.jsx("span",{children:"Text"})]})}),n.jsx("h3",{children:"Dividers with Text"}),n.jsxs("div",{className:sr.group,children:[n.jsx(vt,{children:"Center Text"}),n.jsx(vt,{textAlign:"left",children:"Left Text"}),n.jsx(vt,{textAlign:"right",children:"Right Text"})]}),n.jsx("h3",{children:"Custom Styling"}),n.jsxs("div",{className:sr.group,children:[n.jsx(vt,{thickness:2,color:"#1976d2"}),n.jsx(vt,{thickness:3,variant:"dashed",color:"#4caf50"}),n.jsx(vt,{thickness:4,variant:"dotted",color:"#f44336"})]}),n.jsx("h3",{children:"With Elevation"}),n.jsxs("div",{className:sr.group,children:[n.jsx(vt,{elevation:!0}),n.jsx(vt,{elevation:!0,variant:"dashed"}),n.jsx(vt,{elevation:!0,children:"With Text"})]}),n.jsx("h3",{children:"Custom Length and Spacing"}),n.jsxs("div",{className:sr.group,children:[n.jsx(vt,{length:"50%"}),n.jsx(vt,{length:200,spacing:32}),n.jsxs("div",{className:sr.verticalContainer,style:{height:100},children:[n.jsx(vt,{orientation:"vertical",length:"80%"}),n.jsx(vt,{orientation:"vertical",length:60,spacing:24})]})]})]}),eR=()=>{const{t:e}=$e();return n.jsxs("div",{className:A.componentPage,children:[n.jsx("header",{className:A.header,children:n.jsxs("div",{className:A.titleWrapper,children:[n.jsx(z0,{className:A.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.divider.title")}),n.jsx("p",{children:e("components.divider.description")})]})]})}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.divider.installation")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:"import { Divider } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.divider.basic_usage")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:`import { Divider } from '@minerva/lib-core'; +}`,language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.chip.examples")}),n.jsx("div",{className:P.examples,children:n.jsx(vI,{})})]})]})},_I="_section_iotdo_42",yI="_group_iotdo_54",bI="_verticalContainer_iotdo_62",or={section:_I,group:yI,verticalContainer:bI,"accordion-down":"_accordion-down_iotdo_1","accordion-up":"_accordion-up_iotdo_1"},wI=()=>n.jsxs("div",{className:or.section,children:[n.jsx("h3",{children:"Basic Dividers"}),n.jsxs("div",{className:or.group,children:[n.jsx(vt,{}),n.jsx(vt,{variant:"dashed"}),n.jsx(vt,{variant:"dotted"})]}),n.jsx("h3",{children:"Colored Dividers"}),n.jsxs("div",{className:or.group,children:[n.jsx(vt,{color:"#1976d2"}),n.jsx(vt,{color:"#4caf50"}),n.jsx(vt,{color:"#f44336"})]}),n.jsx("h3",{children:"Vertical Dividers"}),n.jsx("div",{className:or.group,children:n.jsxs("div",{className:or.verticalContainer,children:[n.jsx("span",{children:"Text"}),n.jsx(vt,{orientation:"vertical"}),n.jsx("span",{children:"Text"}),n.jsx(vt,{orientation:"vertical",variant:"dashed"}),n.jsx("span",{children:"Text"}),n.jsx(vt,{orientation:"vertical",variant:"dotted"}),n.jsx("span",{children:"Text"})]})}),n.jsx("h3",{children:"Dividers with Text"}),n.jsxs("div",{className:or.group,children:[n.jsx(vt,{children:"Center Text"}),n.jsx(vt,{textAlign:"left",children:"Left Text"}),n.jsx(vt,{textAlign:"right",children:"Right Text"})]}),n.jsx("h3",{children:"Custom Styling"}),n.jsxs("div",{className:or.group,children:[n.jsx(vt,{thickness:2,color:"#1976d2"}),n.jsx(vt,{thickness:3,variant:"dashed",color:"#4caf50"}),n.jsx(vt,{thickness:4,variant:"dotted",color:"#f44336"})]}),n.jsx("h3",{children:"With Elevation"}),n.jsxs("div",{className:or.group,children:[n.jsx(vt,{elevation:!0}),n.jsx(vt,{elevation:!0,variant:"dashed"}),n.jsx(vt,{elevation:!0,children:"With Text"})]}),n.jsx("h3",{children:"Custom Length and Spacing"}),n.jsxs("div",{className:or.group,children:[n.jsx(vt,{length:"50%"}),n.jsx(vt,{length:200,spacing:32}),n.jsxs("div",{className:or.verticalContainer,style:{height:100},children:[n.jsx(vt,{orientation:"vertical",length:"80%"}),n.jsx(vt,{orientation:"vertical",length:60,spacing:24})]})]})]}),CI=()=>{const{t:e}=$e();return n.jsxs("div",{className:P.componentPage,children:[n.jsx("header",{className:P.header,children:n.jsxs("div",{className:P.titleWrapper,children:[n.jsx(Cg,{className:P.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.divider.title")}),n.jsx("p",{children:e("components.divider.description")})]})]})}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.divider.installation")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:"import { Divider } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.divider.basic_usage")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:`import { Divider } from '@minerva/lib-core'; function App() { return ( @@ -464,7 +787,7 @@ function App() {

Content below

); -}`,language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.divider.examples")}),n.jsx("div",{className:A.examples,children:n.jsx(ZI,{})})]})]})},tR="_section_ilwqc_42",nR="_group_ilwqc_56",rR="_description_ilwqc_66",iR="_visibilityDemo_ilwqc_71",sR="_controls_ilwqc_76",aR="_alertStack_ilwqc_80",oR="_horizontalAlerts_ilwqc_85",ze={section:tR,group:nR,description:rR,visibilityDemo:iR,controls:sR,alertStack:aR,horizontalAlerts:oR,"accordion-down":"_accordion-down_ilwqc_1","accordion-up":"_accordion-up_ilwqc_1"},lR=()=>{const[e,t]=y.useState(!0),r=()=>{t(!0)};return n.jsxs("div",{className:ze.section,children:[n.jsxs("div",{className:ze.header,children:[n.jsx("h2",{children:"Alert 警告提示"}),n.jsx("p",{children:"用于页面中展示重要的提示信息,适用于系统级通知、操作反馈等场景。"})]}),n.jsx("h3",{children:"Basic Alerts"}),n.jsx("p",{className:ze.description,children:"基础的警告提示,展示不同的提示类型"}),n.jsxs("div",{className:ze.group,children:[n.jsx(Ee,{variant:"info",children:"这是一条信息提示"}),n.jsx(Ee,{variant:"success",children:"这是一条成功提示"}),n.jsx(Ee,{variant:"warning",children:"这是一条警告提示"}),n.jsx(Ee,{variant:"error",children:"这是一条错误提示"})]}),n.jsx("h3",{children:"With Title"}),n.jsx("p",{className:ze.description,children:"带有标题的警告提示"}),n.jsxs("div",{className:ze.group,children:[n.jsx(Ee,{title:"信息提示标题",variant:"info",children:"这是一条带有标题的信息提示"}),n.jsx(Ee,{title:"成功提示标题",variant:"success",children:"这是一条带有标题的成功提示"})]}),n.jsx("h3",{children:"Different Sizes"}),n.jsx("p",{className:ze.description,children:"不同尺寸的警告提示"}),n.jsxs("div",{className:ze.group,children:[n.jsx(Ee,{size:"small",variant:"info",children:"这是一个小型的警告提示"}),n.jsx(Ee,{size:"medium",variant:"info",children:"这是一个中型的警告提示"}),n.jsx(Ee,{size:"large",variant:"info",children:"这是一个大型的警告提示"})]}),n.jsx("h3",{children:"Closable Alerts"}),n.jsx("p",{className:ze.description,children:"可关闭的警告提示"}),n.jsxs("div",{className:ze.group,children:[n.jsx(Ee,{closable:!0,variant:"info",onClose:()=>console.log("Alert closed"),children:"点击右侧的按钮关闭此警告"}),n.jsx(Ee,{closable:!0,closeIcon:n.jsx(b0,{color:"red"}),variant:"warning",children:"自定义关闭图标"})]}),n.jsx("h3",{children:"Custom Icons"}),n.jsx("p",{className:ze.description,children:"自定义图标的警告提示"}),n.jsxs("div",{className:ze.group,children:[n.jsx(Ee,{icon:n.jsx(Hl,{}),variant:"info",children:"使用自定义图标"}),n.jsx(Ee,{showIcon:!1,variant:"success",children:"不显示图标"})]}),n.jsx("h3",{children:"Styles Variants"}),n.jsx("p",{className:ze.description,children:"不同样式变体的警告提示"}),n.jsxs("div",{className:ze.group,children:[n.jsx(Ee,{variant:"info",outlined:!0,children:"描边样式"}),n.jsx(Ee,{variant:"success",filled:!0,children:"填充样式"}),n.jsx(Ee,{variant:"warning",banner:!0,children:"Banner样式"})]}),n.jsx("h3",{children:"With Actions"}),n.jsx("p",{className:ze.description,children:"带有操作按钮的警告提示"}),n.jsxs("div",{className:ze.group,children:[n.jsx(Ee,{variant:"info",action:n.jsx(z,{size:"small",variant:"primary",children:"查看详情"}),children:"这是一条带有操作按钮的提示"}),n.jsx(Ee,{variant:"warning",action:n.jsxs(n.Fragment,{children:[n.jsx(z,{size:"small",variant:"primary",style:{marginRight:8},children:"确认"}),n.jsx(z,{size:"small",variant:"secondary",children:"取消"})]}),children:"这是一条带有多个操作按钮的提示"})]}),n.jsx("h3",{children:"Custom Styles"}),n.jsx("p",{className:ze.description,children:"自定义样式的警告提示"}),n.jsxs("div",{className:ze.group,children:[n.jsx(Ee,{style:{background:"linear-gradient(45deg, #FE6B8B 30%, #FF8E53 90%)",color:"white"},children:"自定义渐变背景色"}),n.jsx(Ee,{style:{borderLeft:"5px solid #4caf50"},variant:"success",children:"自定义边框样式"})]}),n.jsx("h3",{children:"Collapsible Alerts"}),n.jsx("p",{className:ze.description,children:"可展开收起的警告提示"}),n.jsx("div",{className:ze.group,children:n.jsxs(Ee,{title:"可展开的警告提示",variant:"info",collapsible:!0,defaultExpanded:!1,onExpand:i=>console.log("Expanded:",i),children:["这是一段可以展开收起的内容。",n.jsx("br",{}),"可以包含多行文本。",n.jsx("br",{}),"点击标题或箭头图标即可展开/收起。"]})}),n.jsx("h3",{children:"Elevation"}),n.jsx("p",{className:ze.description,children:"带阴影效果的警告提示"}),n.jsxs("div",{className:ze.group,children:[n.jsx(Ee,{variant:"info",elevation:!0,title:"带阴影的警告提示",children:"这是一个带有阴影效果的警告提示"}),n.jsx(Ee,{variant:"success",elevation:!0,rounded:!0,borderRadius:"16px",children:"自定义圆角的警告提示"})]}),n.jsx("h3",{children:"Complex Examples"}),n.jsx("p",{className:ze.description,children:"组合使用各种特性"}),n.jsxs("div",{className:ze.group,children:[n.jsx(Ee,{variant:"info",title:"组合特性示例",icon:n.jsx(E0,{}),elevation:!0,rounded:!0,collapsible:!0,closable:!0,action:n.jsx(z,{size:"small",variant:"primary",children:"详情"}),children:"这个示例组合了多个特性: 自定义图标、阴影、圆角、可展开收起、可关闭、操作按钮等。"}),n.jsx(Ee,{variant:"success",type:"filled",title:"渐变背景示例",showIcon:!0,elevation:!0,style:{background:"linear-gradient(135deg, #28a745 0%, #20c997 100%)"},children:"使用渐变背景色的成功提示"})]}),n.jsx("h3",{children:"Animation Effects"}),n.jsx("p",{className:ze.description,children:"不同的动画效果展示"}),n.jsxs("div",{className:ze.group,children:[n.jsx(Ee,{variant:"info",animation:!0,animationName:"slideIn",children:"滑入动画效果"}),n.jsx(Ee,{variant:"success",animation:!0,animationName:"fadeIn",children:"淡入动画效果"}),n.jsx(Ee,{variant:"warning",animation:!0,animationName:"bounce",children:"弹跳动画效果"}),n.jsx(Ee,{variant:"error",animation:!0,animationName:"zoom",children:"缩放动画效果"})]}),n.jsx("h3",{children:"Visibility Control"}),n.jsx("p",{className:ze.description,children:"控制警告提示的显示和隐藏"}),n.jsx("div",{className:ze.group,children:n.jsxs("div",{className:ze.visibilityDemo,children:[e&&n.jsx(Ee,{variant:"info",closable:!0,onClose:()=>t(!1),action:n.jsx(z,{size:"small",variant:"primary",onClick:()=>t(!1),children:"知道了"}),children:"这是一个可以通过状态控制显示隐藏的提示"}),n.jsx("div",{className:ze.controls,children:n.jsx(z,{variant:"primary",onClick:r,disabled:e,children:"重新显示提示"})})]})}),n.jsx("h3",{children:"Multiple Alerts"}),n.jsx("p",{className:ze.description,children:"多个警告提示的垂直排列"}),n.jsx("div",{className:ze.group,children:n.jsxs("div",{className:ze.alertStack,children:[n.jsx(Ee,{variant:"info",children:"第一条提示信息"}),n.jsx(Ee,{variant:"success",children:"第二条提示信息"}),n.jsx(Ee,{variant:"warning",children:"第三条提示信息"})]})}),n.jsx("h3",{children:"Horizontal Layout"}),n.jsx("p",{className:ze.description,children:"水平排列的警告提示"}),n.jsx("div",{className:ze.group,children:n.jsxs("div",{className:ze.horizontalAlerts,children:[n.jsx(Ee,{variant:"info",style:{margin:0},children:"提示信息"}),n.jsx(Ee,{variant:"success",style:{margin:0},children:"成功信息"}),n.jsx(Ee,{variant:"warning",style:{margin:0},children:"警告信息"})]})}),n.jsx("h3",{children:"Responsive Layout"}),n.jsx("p",{className:ze.description,children:"在不同设备上的响应式展示"}),n.jsx("div",{className:ze.group,children:n.jsx(Ee,{variant:"info",banner:!0,title:"横幅提示",showIcon:!0,children:"这是一个横幅式的警告提示,会自适应屏幕宽度"})})]})},cR=()=>{const{t:e}=$e();return n.jsxs("div",{className:A.componentPage,children:[n.jsx("header",{className:A.header,children:n.jsxs("div",{className:A.titleWrapper,children:[n.jsx(v0,{className:A.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.alert.title")}),n.jsx("p",{children:e("components.alert.description")})]})]})}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:"Installation"}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:"import { Alert } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:"Basic Usage"}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:`import { Alert } from '@minerva/lib-core'; +}`,language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.divider.examples")}),n.jsx("div",{className:P.examples,children:n.jsx(wI,{})})]})]})},kI="_section_ilwqc_42",SI="_group_ilwqc_56",NI="_description_ilwqc_66",$I="_visibilityDemo_ilwqc_71",zI="_controls_ilwqc_76",EI="_alertStack_ilwqc_80",LI="_horizontalAlerts_ilwqc_85",Ee={section:kI,group:SI,description:NI,visibilityDemo:$I,controls:zI,alertStack:EI,horizontalAlerts:LI,"accordion-down":"_accordion-down_ilwqc_1","accordion-up":"_accordion-up_ilwqc_1"},RI=()=>{const[e,t]=y.useState(!0),r=()=>{t(!0)};return n.jsxs("div",{className:Ee.section,children:[n.jsxs("div",{className:Ee.header,children:[n.jsx("h2",{children:"Alert 警告提示"}),n.jsx("p",{children:"用于页面中展示重要的提示信息,适用于系统级通知、操作反馈等场景。"})]}),n.jsx("h3",{children:"Basic Alerts"}),n.jsx("p",{className:Ee.description,children:"基础的警告提示,展示不同的提示类型"}),n.jsxs("div",{className:Ee.group,children:[n.jsx(Re,{variant:"info",children:"这是一条信息提示"}),n.jsx(Re,{variant:"success",children:"这是一条成功提示"}),n.jsx(Re,{variant:"warning",children:"这是一条警告提示"}),n.jsx(Re,{variant:"error",children:"这是一条错误提示"})]}),n.jsx("h3",{children:"With Title"}),n.jsx("p",{className:Ee.description,children:"带有标题的警告提示"}),n.jsxs("div",{className:Ee.group,children:[n.jsx(Re,{title:"信息提示标题",variant:"info",children:"这是一条带有标题的信息提示"}),n.jsx(Re,{title:"成功提示标题",variant:"success",children:"这是一条带有标题的成功提示"})]}),n.jsx("h3",{children:"Different Sizes"}),n.jsx("p",{className:Ee.description,children:"不同尺寸的警告提示"}),n.jsxs("div",{className:Ee.group,children:[n.jsx(Re,{size:"small",variant:"info",children:"这是一个小型的警告提示"}),n.jsx(Re,{size:"medium",variant:"info",children:"这是一个中型的警告提示"}),n.jsx(Re,{size:"large",variant:"info",children:"这是一个大型的警告提示"})]}),n.jsx("h3",{children:"Closable Alerts"}),n.jsx("p",{className:Ee.description,children:"可关闭的警告提示"}),n.jsxs("div",{className:Ee.group,children:[n.jsx(Re,{closable:!0,variant:"info",onClose:()=>console.log("Alert closed"),children:"点击右侧的按钮关闭此警告"}),n.jsx(Re,{closable:!0,closeIcon:n.jsx(vg,{color:"red"}),variant:"warning",children:"自定义关闭图标"})]}),n.jsx("h3",{children:"Custom Icons"}),n.jsx("p",{className:Ee.description,children:"自定义图标的警告提示"}),n.jsxs("div",{className:Ee.group,children:[n.jsx(Re,{icon:n.jsx(hc,{}),variant:"info",children:"使用自定义图标"}),n.jsx(Re,{showIcon:!1,variant:"success",children:"不显示图标"})]}),n.jsx("h3",{children:"Styles Variants"}),n.jsx("p",{className:Ee.description,children:"不同样式变体的警告提示"}),n.jsxs("div",{className:Ee.group,children:[n.jsx(Re,{variant:"info",outlined:!0,children:"描边样式"}),n.jsx(Re,{variant:"success",filled:!0,children:"填充样式"}),n.jsx(Re,{variant:"warning",banner:!0,children:"Banner样式"})]}),n.jsx("h3",{children:"With Actions"}),n.jsx("p",{className:Ee.description,children:"带有操作按钮的警告提示"}),n.jsxs("div",{className:Ee.group,children:[n.jsx(Re,{variant:"info",action:n.jsx($,{size:"small",variant:"primary",children:"查看详情"}),children:"这是一条带有操作按钮的提示"}),n.jsx(Re,{variant:"warning",action:n.jsxs(n.Fragment,{children:[n.jsx($,{size:"small",variant:"primary",style:{marginRight:8},children:"确认"}),n.jsx($,{size:"small",variant:"secondary",children:"取消"})]}),children:"这是一条带有多个操作按钮的提示"})]}),n.jsx("h3",{children:"Custom Styles"}),n.jsx("p",{className:Ee.description,children:"自定义样式的警告提示"}),n.jsxs("div",{className:Ee.group,children:[n.jsx(Re,{style:{background:"linear-gradient(45deg, #FE6B8B 30%, #FF8E53 90%)",color:"white"},children:"自定义渐变背景色"}),n.jsx(Re,{style:{borderLeft:"5px solid #4caf50"},variant:"success",children:"自定义边框样式"})]}),n.jsx("h3",{children:"Collapsible Alerts"}),n.jsx("p",{className:Ee.description,children:"可展开收起的警告提示"}),n.jsx("div",{className:Ee.group,children:n.jsxs(Re,{title:"可展开的警告提示",variant:"info",collapsible:!0,defaultExpanded:!1,onExpand:i=>console.log("Expanded:",i),children:["这是一段可以展开收起的内容。",n.jsx("br",{}),"可以包含多行文本。",n.jsx("br",{}),"点击标题或箭头图标即可展开/收起。"]})}),n.jsx("h3",{children:"Elevation"}),n.jsx("p",{className:Ee.description,children:"带阴影效果的警告提示"}),n.jsxs("div",{className:Ee.group,children:[n.jsx(Re,{variant:"info",elevation:!0,title:"带阴影的警告提示",children:"这是一个带有阴影效果的警告提示"}),n.jsx(Re,{variant:"success",elevation:!0,rounded:!0,borderRadius:"16px",children:"自定义圆角的警告提示"})]}),n.jsx("h3",{children:"Complex Examples"}),n.jsx("p",{className:Ee.description,children:"组合使用各种特性"}),n.jsxs("div",{className:Ee.group,children:[n.jsx(Re,{variant:"info",title:"组合特性示例",icon:n.jsx(zg,{}),elevation:!0,rounded:!0,collapsible:!0,closable:!0,action:n.jsx($,{size:"small",variant:"primary",children:"详情"}),children:"这个示例组合了多个特性: 自定义图标、阴影、圆角、可展开收起、可关闭、操作按钮等。"}),n.jsx(Re,{variant:"success",type:"filled",title:"渐变背景示例",showIcon:!0,elevation:!0,style:{background:"linear-gradient(135deg, #28a745 0%, #20c997 100%)"},children:"使用渐变背景色的成功提示"})]}),n.jsx("h3",{children:"Animation Effects"}),n.jsx("p",{className:Ee.description,children:"不同的动画效果展示"}),n.jsxs("div",{className:Ee.group,children:[n.jsx(Re,{variant:"info",animation:!0,animationName:"slideIn",children:"滑入动画效果"}),n.jsx(Re,{variant:"success",animation:!0,animationName:"fadeIn",children:"淡入动画效果"}),n.jsx(Re,{variant:"warning",animation:!0,animationName:"bounce",children:"弹跳动画效果"}),n.jsx(Re,{variant:"error",animation:!0,animationName:"zoom",children:"缩放动画效果"})]}),n.jsx("h3",{children:"Visibility Control"}),n.jsx("p",{className:Ee.description,children:"控制警告提示的显示和隐藏"}),n.jsx("div",{className:Ee.group,children:n.jsxs("div",{className:Ee.visibilityDemo,children:[e&&n.jsx(Re,{variant:"info",closable:!0,onClose:()=>t(!1),action:n.jsx($,{size:"small",variant:"primary",onClick:()=>t(!1),children:"知道了"}),children:"这是一个可以通过状态控制显示隐藏的提示"}),n.jsx("div",{className:Ee.controls,children:n.jsx($,{variant:"primary",onClick:r,disabled:e,children:"重新显示提示"})})]})}),n.jsx("h3",{children:"Multiple Alerts"}),n.jsx("p",{className:Ee.description,children:"多个警告提示的垂直排列"}),n.jsx("div",{className:Ee.group,children:n.jsxs("div",{className:Ee.alertStack,children:[n.jsx(Re,{variant:"info",children:"第一条提示信息"}),n.jsx(Re,{variant:"success",children:"第二条提示信息"}),n.jsx(Re,{variant:"warning",children:"第三条提示信息"})]})}),n.jsx("h3",{children:"Horizontal Layout"}),n.jsx("p",{className:Ee.description,children:"水平排列的警告提示"}),n.jsx("div",{className:Ee.group,children:n.jsxs("div",{className:Ee.horizontalAlerts,children:[n.jsx(Re,{variant:"info",style:{margin:0},children:"提示信息"}),n.jsx(Re,{variant:"success",style:{margin:0},children:"成功信息"}),n.jsx(Re,{variant:"warning",style:{margin:0},children:"警告信息"})]})}),n.jsx("h3",{children:"Responsive Layout"}),n.jsx("p",{className:Ee.description,children:"在不同设备上的响应式展示"}),n.jsx("div",{className:Ee.group,children:n.jsx(Re,{variant:"info",banner:!0,title:"横幅提示",showIcon:!0,children:"这是一个横幅式的警告提示,会自适应屏幕宽度"})})]})},AI=()=>{const{t:e}=$e();return n.jsxs("div",{className:P.componentPage,children:[n.jsx("header",{className:P.header,children:n.jsxs("div",{className:P.titleWrapper,children:[n.jsx(mg,{className:P.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.alert.title")}),n.jsx("p",{children:e("components.alert.description")})]})]})}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:"Installation"}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:"import { Alert } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:"Basic Usage"}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:`import { Alert } from '@minerva/lib-core'; function App() { return ( @@ -474,11 +797,11 @@ function App() { description="This is an informational alert." /> ); -}`,language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:"Examples"}),n.jsx("div",{className:A.examples,children:n.jsx(lR,{})})]})]})},dR="_section_o6on8_42",uR="_demo_o6on8_51",pR="_complexContent_o6on8_69",hR="_interactive_o6on8_79",mR="_buttonIcon_o6on8_83",fR="_customMessage_o6on8_88",gR="_slideRight_o6on8_1",xR="_bounceMessage_o6on8_91",vR="_bounce_o6on8_91",jR="_positionDemo_o6on8_121",_R="_positionGrid_o6on8_131",yR="_customStyledMessage_o6on8_139",bR="_icon_o6on8_144",wR="_imageMessage_o6on8_148",CR="_messageImage_o6on8_153",kR="_animatedMessage_o6on8_160",SR="_slideAndBounce_o6on8_1",NR="_sparkleIcon_o6on8_163",zR="_sparkle_o6on8_163",$R="_badgeMessage_o6on8_167",LR="_badge_o6on8_167",ER="_complexProgress_o6on8_180",IR="_progressHeader_o6on8_183",RR="_progressBar_o6on8_188",PR="_progressFill_o6on8_196",AR="_fileInfo_o6on8_201",MR="_ratingMessage_o6on8_206",TR="_stars_o6on8_206",FR="_star_o6on8_206",BR="_pulsingIcon_o6on8_221",OR="_pulse_o6on8_1",he={section:dR,demo:uR,complexContent:pR,interactive:hR,buttonIcon:mR,customMessage:fR,slideRight:gR,bounceMessage:xR,bounce:vR,positionDemo:jR,positionGrid:_R,customStyledMessage:yR,icon:bR,imageMessage:wR,messageImage:CR,animatedMessage:kR,slideAndBounce:SR,sparkleIcon:NR,sparkle:zR,badgeMessage:$R,badge:LR,complexProgress:ER,progressHeader:IR,progressBar:RR,progressFill:PR,fileInfo:AR,ratingMessage:MR,stars:TR,star:FR,pulsingIcon:BR,pulse:OR,"accordion-down":"_accordion-down_o6on8_1","accordion-up":"_accordion-up_o6on8_1"},DR=()=>{const e=rL(),t=()=>{be.info({content:"This is a basic message",icon:n.jsx(Ec,{})})},r=()=>{be.success({content:"Operation completed successfully",icon:n.jsx($c,{}),showClose:!0})},i=()=>{be.error({content:"An error occurred",icon:n.jsx(b0,{}),duration:4e3})},s=()=>{be.warning({content:"Warning: Please check your input",icon:n.jsx(T6,{}),showClose:!0})},a=()=>{be.loading({content:"Processing your request...",duration:2e3})},o=()=>{be.info({content:"Message at top",placement:"top",icon:n.jsx(Nc,{})})},l=()=>{be.info({content:"Message at top-left",placement:"topLeft",icon:n.jsx(Nc,{})})},c=()=>{be.info({content:"Message at top-right",placement:"topRight",icon:n.jsx(Nc,{})})},u=()=>{be.info({content:"Message at bottom",placement:"bottom",icon:n.jsx(Sc,{})})},p=()=>{be.info({content:"Message at bottom-left",placement:"bottomLeft",icon:n.jsx(Sc,{})})},m=()=>{be.info({content:"Message at bottom-right",placement:"bottomRight",icon:n.jsx(Sc,{})})},h=()=>{e.info({content:"Message from useMessage hook",icon:n.jsx(Ec,{}),showClose:!0})},x=()=>{e.loading({content:"Processing...",duration:1500}).then(()=>e.success({content:"Operation completed!",icon:n.jsx($c,{}),duration:2e3}))},_=()=>{const R=e.info({content:"Initial message...",duration:0,icon:n.jsx(fl,{})});setTimeout(()=>{e.update(R,{content:"Updated message content!",type:"success",icon:n.jsx($c,{}),duration:2e3})},1500)},b=()=>{be.info({content:"This message will stay for 10 seconds",duration:1e4,showClose:!0})},k=()=>{be.success({content:"Custom icon message",icon:n.jsx(s6,{className:he.customIcon})})},j=()=>{be.info({content:"Message without icon",icon:null})},d=()=>{["info","success","warning","error"].forEach((R,M)=>{setTimeout(()=>{be[R]({content:`This is message ${M+1}`,duration:3e3})},M*300)})},f=()=>{be.info({content:n.jsxs("div",{className:he.complexContent,children:[n.jsx("h4",{children:"Complex Message Title"}),n.jsx("p",{children:"This is a message with complex content."}),n.jsx(z,{size:"small",type:"primary",children:"Take Action"})]}),duration:0,showClose:!0})},v=()=>{let R=0;const M=be.loading({content:`Processing: ${R}%`,duration:0}),T=setInterval(()=>{R+=10,R<=100?be.update(M,{content:`Processing: ${R}%`,type:R===100?"success":"loading",duration:R===100?1e3:0}):clearInterval(T)},1e3)},w=()=>{const R=be.info({content:n.jsxs("div",{className:he.interactive,children:[n.jsx("p",{children:"Do you want to proceed?"}),n.jsxs(V,{children:[n.jsx(z,{size:"small",type:"primary",onClick:()=>{be.success({content:"Action confirmed!",duration:2e3}),be.destroy(R)},children:"Yes"}),n.jsx(z,{size:"small",onClick:()=>be.destroy(R),children:"No"})]})]}),duration:0})},g=()=>{e.loading({content:"Step 1: Initializing...",duration:1500}).then(()=>e.loading({content:"Step 2: Processing...",duration:1500})).then(()=>e.loading({content:"Step 3: Finalizing...",duration:1500})).then(()=>e.success({content:"All steps completed!"}))},N=()=>{be.info({content:"Custom styled message",className:he.customStyledMessage,style:{background:"linear-gradient(45deg, #ff6b6b, #ff8e8e)",color:"#fff",border:"none"},icon:n.jsx(n1,{})})},S=()=>{be.info({content:n.jsxs("div",{className:he.imageMessage,children:[n.jsx("img",{src:"https://place-hold.it/40x40",alt:"Preview",className:he.messageImage}),n.jsx("span",{children:"Image uploaded successfully!"})]}),icon:n.jsx(d6,{})})},L=()=>{be.success({content:"Animated message",className:he.animatedMessage,icon:n.jsx(z6,{className:he.sparkleIcon})})},E=()=>{be.info({content:n.jsxs("div",{className:he.badgeMessage,children:[n.jsx("span",{className:he.badge,children:"New"}),n.jsx("span",{children:"Feature released!"})]}),icon:n.jsx(C6,{})})},O=()=>{let R=0;const M=be.info({content:n.jsxs("div",{className:he.complexProgress,children:[n.jsxs("div",{className:he.progressHeader,children:[n.jsx("span",{children:"Uploading files..."}),n.jsxs("span",{children:[R,"%"]})]}),n.jsx("div",{className:he.progressBar,children:n.jsx("div",{className:he.progressFill,style:{width:`${R}%`}})}),n.jsx("div",{className:he.fileInfo,children:"document.pdf (2.5MB)"})]}),duration:0}),T=setInterval(()=>{R+=20,R<=100?be.update(M,{content:n.jsxs("div",{className:he.complexProgress,children:[n.jsxs("div",{className:he.progressHeader,children:[n.jsx("span",{children:R===100?"Upload complete!":"Uploading files..."}),n.jsxs("span",{children:[R,"%"]})]}),n.jsx("div",{className:he.progressBar,children:n.jsx("div",{className:he.progressFill,style:{width:`${R}%`}})}),n.jsx("div",{className:he.fileInfo,children:"document.pdf (2.5MB)"})]}),type:R===100?"success":"info",duration:R===100?2e3:0}):clearInterval(T)},1e3)},Q=()=>{be.success({content:n.jsxs("div",{className:he.ratingMessage,children:[n.jsx("span",{children:"Rate your experience"}),n.jsx("div",{className:he.stars,children:[1,2,3,4,5].map(R=>n.jsx(E0,{className:he.star,onClick:()=>{be.success({content:`Thank you for rating ${R} stars!`,icon:n.jsx(R6,{})})}},R))})]}),duration:0,showClose:!0})},q=()=>{be.success({content:"Awesome job!",icon:n.jsx(Hl,{className:he.pulsingIcon}),className:he.iconAnimatedMessage})},U=()=>{be.info({content:"Colorful message with gradient",className:he.gradientMessage,style:{background:"linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%)",border:"none",color:"#1a365d"},icon:n.jsx(n1,{})})},D=()=>{be.info({content:n.jsxs("div",{className:he.notificationStyle,children:[n.jsx("h4",{children:"New Message"}),n.jsx("p",{children:"John Doe sent you a message"}),n.jsx("div",{className:he.time,children:"Just now"})]}),icon:n.jsx(v6,{className:he.mailIcon}),duration:0,showClose:!0})},G=()=>{let R=5;const M=be.info({content:n.jsxs("div",{className:he.countdown,children:[n.jsxs("span",{children:["This message will close in ",R,"s"]}),n.jsx("div",{className:he.countdownRing,children:n.jsx("svg",{viewBox:"0 0 36 36",children:n.jsx("path",{d:`M18 2.0845 +}`,language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:"Examples"}),n.jsx("div",{className:P.examples,children:n.jsx(RI,{})})]})]})},II="_section_o6on8_42",PI="_demo_o6on8_51",MI="_complexContent_o6on8_69",BI="_interactive_o6on8_79",TI="_buttonIcon_o6on8_83",OI="_customMessage_o6on8_88",FI="_slideRight_o6on8_1",DI="_bounceMessage_o6on8_91",UI="_bounce_o6on8_91",HI="_positionDemo_o6on8_121",WI="_positionGrid_o6on8_131",qI="_customStyledMessage_o6on8_139",VI="_icon_o6on8_144",KI="_imageMessage_o6on8_148",GI="_messageImage_o6on8_153",QI="_animatedMessage_o6on8_160",JI="_slideAndBounce_o6on8_1",YI="_sparkleIcon_o6on8_163",XI="_sparkle_o6on8_163",ZI="_badgeMessage_o6on8_167",eP="_badge_o6on8_167",tP="_complexProgress_o6on8_180",nP="_progressHeader_o6on8_183",rP="_progressBar_o6on8_188",iP="_progressFill_o6on8_196",sP="_fileInfo_o6on8_201",aP="_ratingMessage_o6on8_206",oP="_stars_o6on8_206",lP="_star_o6on8_206",cP="_pulsingIcon_o6on8_221",dP="_pulse_o6on8_1",me={section:II,demo:PI,complexContent:MI,interactive:BI,buttonIcon:TI,customMessage:OI,slideRight:FI,bounceMessage:DI,bounce:UI,positionDemo:HI,positionGrid:WI,customStyledMessage:qI,icon:VI,imageMessage:KI,messageImage:GI,animatedMessage:QI,slideAndBounce:JI,sparkleIcon:YI,sparkle:XI,badgeMessage:ZI,badge:eP,complexProgress:tP,progressHeader:nP,progressBar:rP,progressFill:iP,fileInfo:sP,ratingMessage:aP,stars:oP,star:lP,pulsingIcon:cP,pulse:dP,"accordion-down":"_accordion-down_o6on8_1","accordion-up":"_accordion-up_o6on8_1"},uP=()=>{const e=NL(),t=()=>{we.info({content:"This is a basic message",icon:n.jsx(ad,{})})},r=()=>{we.success({content:"Operation completed successfully",icon:n.jsx(id,{}),showClose:!0})},i=()=>{we.error({content:"An error occurred",icon:n.jsx(vg,{}),duration:4e3})},s=()=>{we.warning({content:"Warning: Please check your input",icon:n.jsx(oj,{}),showClose:!0})},a=()=>{we.loading({content:"Processing your request...",duration:2e3})},o=()=>{we.info({content:"Message at top",placement:"top",icon:n.jsx(nd,{})})},l=()=>{we.info({content:"Message at top-left",placement:"topLeft",icon:n.jsx(nd,{})})},c=()=>{we.info({content:"Message at top-right",placement:"topRight",icon:n.jsx(nd,{})})},d=()=>{we.info({content:"Message at bottom",placement:"bottom",icon:n.jsx(td,{})})},p=()=>{we.info({content:"Message at bottom-left",placement:"bottomLeft",icon:n.jsx(td,{})})},h=()=>{we.info({content:"Message at bottom-right",placement:"bottomRight",icon:n.jsx(td,{})})},m=()=>{e.info({content:"Message from useMessage hook",icon:n.jsx(ad,{}),showClose:!0})},g=()=>{e.loading({content:"Processing...",duration:1500}).then(()=>e.success({content:"Operation completed!",icon:n.jsx(id,{}),duration:2e3}))},j=()=>{const A=e.info({content:"Initial message...",duration:0,icon:n.jsx(Tl,{})});setTimeout(()=>{e.update(A,{content:"Updated message content!",type:"success",icon:n.jsx(id,{}),duration:2e3})},1500)},b=()=>{we.info({content:"This message will stay for 10 seconds",duration:1e4,showClose:!0})},k=()=>{we.success({content:"Custom icon message",icon:n.jsx(R5,{className:me.customIcon})})},_=()=>{we.info({content:"Message without icon",icon:null})},u=()=>{["info","success","warning","error"].forEach((A,M)=>{setTimeout(()=>{we[A]({content:`This is message ${M+1}`,duration:3e3})},M*300)})},f=()=>{we.info({content:n.jsxs("div",{className:me.complexContent,children:[n.jsx("h4",{children:"Complex Message Title"}),n.jsx("p",{children:"This is a message with complex content."}),n.jsx($,{size:"small",type:"primary",children:"Take Action"})]}),duration:0,showClose:!0})},v=()=>{let A=0;const M=we.loading({content:`Processing: ${A}%`,duration:0}),B=setInterval(()=>{A+=10,A<=100?we.update(M,{content:`Processing: ${A}%`,type:A===100?"success":"loading",duration:A===100?1e3:0}):clearInterval(B)},1e3)},w=()=>{const A=we.info({content:n.jsxs("div",{className:me.interactive,children:[n.jsx("p",{children:"Do you want to proceed?"}),n.jsxs(V,{children:[n.jsx($,{size:"small",type:"primary",onClick:()=>{we.success({content:"Action confirmed!",duration:2e3}),we.destroy(A)},children:"Yes"}),n.jsx($,{size:"small",onClick:()=>we.destroy(A),children:"No"})]})]}),duration:0})},x=()=>{e.loading({content:"Step 1: Initializing...",duration:1500}).then(()=>e.loading({content:"Step 2: Processing...",duration:1500})).then(()=>e.loading({content:"Step 3: Finalizing...",duration:1500})).then(()=>e.success({content:"All steps completed!"}))},N=()=>{we.info({content:"Custom styled message",className:me.customStyledMessage,style:{background:"linear-gradient(45deg, #ff6b6b, #ff8e8e)",color:"#fff",border:"none"},icon:n.jsx(q1,{})})},S=()=>{we.info({content:n.jsxs("div",{className:me.imageMessage,children:[n.jsx("img",{src:"https://place-hold.it/40x40",alt:"Preview",className:me.messageImage}),n.jsx("span",{children:"Image uploaded successfully!"})]}),icon:n.jsx(B5,{})})},E=()=>{we.success({content:"Animated message",className:me.animatedMessage,icon:n.jsx(Z5,{className:me.sparkleIcon})})},L=()=>{we.info({content:n.jsxs("div",{className:me.badgeMessage,children:[n.jsx("span",{className:me.badge,children:"New"}),n.jsx("span",{children:"Feature released!"})]}),icon:n.jsx(Y5,{})})},F=()=>{let A=0;const M=we.info({content:n.jsxs("div",{className:me.complexProgress,children:[n.jsxs("div",{className:me.progressHeader,children:[n.jsx("span",{children:"Uploading files..."}),n.jsxs("span",{children:[A,"%"]})]}),n.jsx("div",{className:me.progressBar,children:n.jsx("div",{className:me.progressFill,style:{width:`${A}%`}})}),n.jsx("div",{className:me.fileInfo,children:"document.pdf (2.5MB)"})]}),duration:0}),B=setInterval(()=>{A+=20,A<=100?we.update(M,{content:n.jsxs("div",{className:me.complexProgress,children:[n.jsxs("div",{className:me.progressHeader,children:[n.jsx("span",{children:A===100?"Upload complete!":"Uploading files..."}),n.jsxs("span",{children:[A,"%"]})]}),n.jsx("div",{className:me.progressBar,children:n.jsx("div",{className:me.progressFill,style:{width:`${A}%`}})}),n.jsx("div",{className:me.fileInfo,children:"document.pdf (2.5MB)"})]}),type:A===100?"success":"info",duration:A===100?2e3:0}):clearInterval(B)},1e3)},J=()=>{we.success({content:n.jsxs("div",{className:me.ratingMessage,children:[n.jsx("span",{children:"Rate your experience"}),n.jsx("div",{className:me.stars,children:[1,2,3,4,5].map(A=>n.jsx(zg,{className:me.star,onClick:()=>{we.success({content:`Thank you for rating ${A} stars!`,icon:n.jsx(ij,{})})}},A))})]}),duration:0,showClose:!0})},q=()=>{we.success({content:"Awesome job!",icon:n.jsx(hc,{className:me.pulsingIcon}),className:me.iconAnimatedMessage})},U=()=>{we.info({content:"Colorful message with gradient",className:me.gradientMessage,style:{background:"linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%)",border:"none",color:"#1a365d"},icon:n.jsx(q1,{})})},D=()=>{we.info({content:n.jsxs("div",{className:me.notificationStyle,children:[n.jsx("h4",{children:"New Message"}),n.jsx("p",{children:"John Doe sent you a message"}),n.jsx("div",{className:me.time,children:"Just now"})]}),icon:n.jsx(q5,{className:me.mailIcon}),duration:0,showClose:!0})},G=()=>{let A=5;const M=we.info({content:n.jsxs("div",{className:me.countdown,children:[n.jsxs("span",{children:["This message will close in ",A,"s"]}),n.jsx("div",{className:me.countdownRing,children:n.jsx("svg",{viewBox:"0 0 36 36",children:n.jsx("path",{d:`M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 - a 15.9155 15.9155 0 0 1 0 -31.831`,fill:"none",stroke:"currentColor",strokeWidth:"3",strokeDasharray:`${R*20}, 100`})})})]}),duration:0}),T=setInterval(()=>{R--,R>=0?be.update(M,{content:n.jsxs("div",{className:he.countdown,children:[n.jsxs("span",{children:["This message will close in ",R,"s"]}),n.jsx("div",{className:he.countdownRing,children:n.jsx("svg",{viewBox:"0 0 36 36",children:n.jsx("path",{d:`M18 2.0845 + a 15.9155 15.9155 0 0 1 0 -31.831`,fill:"none",stroke:"currentColor",strokeWidth:"3",strokeDasharray:`${A*20}, 100`})})})]}),duration:0}),B=setInterval(()=>{A--,A>=0?we.update(M,{content:n.jsxs("div",{className:me.countdown,children:[n.jsxs("span",{children:["This message will close in ",A,"s"]}),n.jsx("div",{className:me.countdownRing,children:n.jsx("svg",{viewBox:"0 0 36 36",children:n.jsx("path",{d:`M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 - a 15.9155 15.9155 0 0 1 0 -31.831`,fill:"none",stroke:"currentColor",strokeWidth:"3",strokeDasharray:`${R*20}, 100`})})})]})}):(clearInterval(T),be.destroy(M))},1e3)},ee=()=>{const R=[{text:"Connecting to server...",duration:1500},{text:"Fetching data...",duration:2e3},{text:"Processing response...",duration:1500},{text:"Finalizing...",duration:1e3}],M=(T=0)=>{if(T>=R.length){be.success({content:"Operation completed successfully!",duration:2e3});return}const J=R[T],X=be.loading({content:n.jsxs("div",{className:he.loadingStep,children:[n.jsxs("div",{className:he.stepInfo,children:[n.jsx("span",{children:J.text}),n.jsxs("span",{className:he.stepProgress,children:[Math.round((T+1)/R.length*100),"%"]})]}),n.jsx("div",{className:he.stepProgressBar,children:n.jsx("div",{className:he.stepProgressFill,style:{width:`${(T+1)/R.length*100}%`}})})]}),duration:J.duration});setTimeout(()=>{be.destroy(X),M(T+1)},J.duration)};M()};return n.jsxs("div",{className:he.section,children:[n.jsx("h2",{children:"Message Component"}),n.jsxs("div",{className:he.demo,children:[n.jsx("h3",{children:"Message Types"}),n.jsx("p",{children:"Different types of messages for various scenarios"}),n.jsxs(V,{wrap:!0,children:[n.jsx(z,{onClick:t,children:"Basic Info"}),n.jsx(z,{onClick:r,type:"primary",children:"Success"}),n.jsx(z,{onClick:i,danger:!0,children:"Error"}),n.jsx(z,{onClick:s,children:"Warning"}),n.jsx(z,{onClick:a,children:"Loading"})]})]}),n.jsxs("div",{className:he.demo,children:[n.jsx("h3",{children:"Message Positions"}),n.jsx("p",{children:"Control where messages appear on the screen"}),n.jsxs("div",{className:he.positionGrid,children:[n.jsxs(V,{direction:"vertical",children:[n.jsx("h4",{children:"Top Positions"}),n.jsxs(V,{children:[n.jsx(z,{onClick:l,children:"Top Left"}),n.jsx(z,{onClick:o,children:"Top Center"}),n.jsx(z,{onClick:c,children:"Top Right"})]})]}),n.jsxs(V,{direction:"vertical",children:[n.jsx("h4",{children:"Bottom Positions"}),n.jsxs(V,{children:[n.jsx(z,{onClick:p,children:"Bottom Left"}),n.jsx(z,{onClick:u,children:"Bottom Center"}),n.jsx(z,{onClick:m,children:"Bottom Right"})]})]})]})]}),n.jsxs("div",{className:he.demo,children:[n.jsx("h3",{children:"Hook Usage"}),n.jsx("p",{children:"Advanced usage with useMessage hook"}),n.jsxs(V,{children:[n.jsxs(z,{onClick:h,children:[n.jsx(Ec,{className:he.buttonIcon}),"Basic Hook"]}),n.jsxs(z,{onClick:x,children:[n.jsx(U3,{className:he.buttonIcon}),"Chain Calls"]}),n.jsxs(z,{onClick:_,children:[n.jsx(fl,{className:he.buttonIcon}),"Update Message"]})]})]}),n.jsxs("div",{className:he.demo,children:[n.jsx("h3",{children:"Advanced Features"}),n.jsx("p",{children:"Explore more complex message scenarios"}),n.jsxs(V,{wrap:!0,children:[n.jsx(z,{onClick:b,children:"Custom Duration"}),n.jsx(z,{onClick:k,children:"Custom Icon"}),n.jsx(z,{onClick:j,children:"No Icon"}),n.jsx(z,{onClick:d,children:"Multiple Messages"})]})]}),n.jsxs("div",{className:he.demo,children:[n.jsx("h3",{children:"Interactive Messages"}),n.jsx("p",{children:"Messages with rich content and interactions"}),n.jsxs(V,{wrap:!0,children:[n.jsx(z,{onClick:f,children:"Complex Content"}),n.jsx(z,{onClick:v,children:"Progress Indicator"}),n.jsx(z,{onClick:w,children:"Interactive Message"}),n.jsx(z,{onClick:g,children:"Sequential Messages"})]})]}),n.jsxs("div",{className:he.demo,children:[n.jsx("h3",{children:"Styled Messages"}),n.jsx("p",{children:"Messages with custom styles and animations"}),n.jsxs(V,{wrap:!0,children:[n.jsx(z,{onClick:N,children:"Custom Style"}),n.jsx(z,{onClick:S,children:"With Image"}),n.jsx(z,{onClick:L,children:"Animated"}),n.jsx(z,{onClick:E,children:"With Badge"}),n.jsx(z,{onClick:q,children:"Animated Icon"})]})]}),n.jsxs("div",{className:he.demo,children:[n.jsx("h3",{children:"Complex Messages"}),n.jsx("p",{children:"Messages with rich content and interactions"}),n.jsxs(V,{wrap:!0,children:[n.jsx(z,{onClick:O,children:"File Upload"}),n.jsx(z,{onClick:Q,children:"Rating Message"})]})]}),n.jsxs("div",{className:he.demo,children:[n.jsx("h3",{children:"Enhanced Messages"}),n.jsx("p",{children:"Advanced message variations with special effects"}),n.jsxs(V,{wrap:!0,children:[n.jsx(z,{onClick:U,children:"Gradient Style"}),n.jsx(z,{onClick:D,children:"Notification Style"}),n.jsx(z,{onClick:G,children:"Countdown"}),n.jsx(z,{onClick:ee,children:"Chained Loading"})]})]})]})},UR=()=>{const{t:e}=$e();return n.jsxs("div",{className:A.componentPage,children:[n.jsx("header",{className:A.header,children:n.jsxs("div",{className:A.titleWrapper,children:[n.jsx(_0,{className:A.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.message.title")}),n.jsx("p",{children:e("components.message.description")})]})]})}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:"Installation"}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:"import { Message } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:"Basic Usage"}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:`import { Message } from '@minerva/lib-core'; + a 15.9155 15.9155 0 0 1 0 -31.831`,fill:"none",stroke:"currentColor",strokeWidth:"3",strokeDasharray:`${A*20}, 100`})})})]})}):(clearInterval(B),we.destroy(M))},1e3)},ee=()=>{const A=[{text:"Connecting to server...",duration:1500},{text:"Fetching data...",duration:2e3},{text:"Processing response...",duration:1500},{text:"Finalizing...",duration:1e3}],M=(B=0)=>{if(B>=A.length){we.success({content:"Operation completed successfully!",duration:2e3});return}const Y=A[B],X=we.loading({content:n.jsxs("div",{className:me.loadingStep,children:[n.jsxs("div",{className:me.stepInfo,children:[n.jsx("span",{children:Y.text}),n.jsxs("span",{className:me.stepProgress,children:[Math.round((B+1)/A.length*100),"%"]})]}),n.jsx("div",{className:me.stepProgressBar,children:n.jsx("div",{className:me.stepProgressFill,style:{width:`${(B+1)/A.length*100}%`}})})]}),duration:Y.duration});setTimeout(()=>{we.destroy(X),M(B+1)},Y.duration)};M()};return n.jsxs("div",{className:me.section,children:[n.jsx("h2",{children:"Message Component"}),n.jsxs("div",{className:me.demo,children:[n.jsx("h3",{children:"Message Types"}),n.jsx("p",{children:"Different types of messages for various scenarios"}),n.jsxs(V,{wrap:!0,children:[n.jsx($,{onClick:t,children:"Basic Info"}),n.jsx($,{onClick:r,type:"primary",children:"Success"}),n.jsx($,{onClick:i,danger:!0,children:"Error"}),n.jsx($,{onClick:s,children:"Warning"}),n.jsx($,{onClick:a,children:"Loading"})]})]}),n.jsxs("div",{className:me.demo,children:[n.jsx("h3",{children:"Message Positions"}),n.jsx("p",{children:"Control where messages appear on the screen"}),n.jsxs("div",{className:me.positionGrid,children:[n.jsxs(V,{direction:"vertical",children:[n.jsx("h4",{children:"Top Positions"}),n.jsxs(V,{children:[n.jsx($,{onClick:l,children:"Top Left"}),n.jsx($,{onClick:o,children:"Top Center"}),n.jsx($,{onClick:c,children:"Top Right"})]})]}),n.jsxs(V,{direction:"vertical",children:[n.jsx("h4",{children:"Bottom Positions"}),n.jsxs(V,{children:[n.jsx($,{onClick:p,children:"Bottom Left"}),n.jsx($,{onClick:d,children:"Bottom Center"}),n.jsx($,{onClick:h,children:"Bottom Right"})]})]})]})]}),n.jsxs("div",{className:me.demo,children:[n.jsx("h3",{children:"Hook Usage"}),n.jsx("p",{children:"Advanced usage with useMessage hook"}),n.jsxs(V,{children:[n.jsxs($,{onClick:m,children:[n.jsx(ad,{className:me.buttonIcon}),"Basic Hook"]}),n.jsxs($,{onClick:g,children:[n.jsx(h5,{className:me.buttonIcon}),"Chain Calls"]}),n.jsxs($,{onClick:j,children:[n.jsx(Tl,{className:me.buttonIcon}),"Update Message"]})]})]}),n.jsxs("div",{className:me.demo,children:[n.jsx("h3",{children:"Advanced Features"}),n.jsx("p",{children:"Explore more complex message scenarios"}),n.jsxs(V,{wrap:!0,children:[n.jsx($,{onClick:b,children:"Custom Duration"}),n.jsx($,{onClick:k,children:"Custom Icon"}),n.jsx($,{onClick:_,children:"No Icon"}),n.jsx($,{onClick:u,children:"Multiple Messages"})]})]}),n.jsxs("div",{className:me.demo,children:[n.jsx("h3",{children:"Interactive Messages"}),n.jsx("p",{children:"Messages with rich content and interactions"}),n.jsxs(V,{wrap:!0,children:[n.jsx($,{onClick:f,children:"Complex Content"}),n.jsx($,{onClick:v,children:"Progress Indicator"}),n.jsx($,{onClick:w,children:"Interactive Message"}),n.jsx($,{onClick:x,children:"Sequential Messages"})]})]}),n.jsxs("div",{className:me.demo,children:[n.jsx("h3",{children:"Styled Messages"}),n.jsx("p",{children:"Messages with custom styles and animations"}),n.jsxs(V,{wrap:!0,children:[n.jsx($,{onClick:N,children:"Custom Style"}),n.jsx($,{onClick:S,children:"With Image"}),n.jsx($,{onClick:E,children:"Animated"}),n.jsx($,{onClick:L,children:"With Badge"}),n.jsx($,{onClick:q,children:"Animated Icon"})]})]}),n.jsxs("div",{className:me.demo,children:[n.jsx("h3",{children:"Complex Messages"}),n.jsx("p",{children:"Messages with rich content and interactions"}),n.jsxs(V,{wrap:!0,children:[n.jsx($,{onClick:F,children:"File Upload"}),n.jsx($,{onClick:J,children:"Rating Message"})]})]}),n.jsxs("div",{className:me.demo,children:[n.jsx("h3",{children:"Enhanced Messages"}),n.jsx("p",{children:"Advanced message variations with special effects"}),n.jsxs(V,{wrap:!0,children:[n.jsx($,{onClick:U,children:"Gradient Style"}),n.jsx($,{onClick:D,children:"Notification Style"}),n.jsx($,{onClick:G,children:"Countdown"}),n.jsx($,{onClick:ee,children:"Chained Loading"})]})]})]})},pP=()=>{const{t:e}=$e();return n.jsxs("div",{className:P.componentPage,children:[n.jsx("header",{className:P.header,children:n.jsxs("div",{className:P.titleWrapper,children:[n.jsx(gg,{className:P.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.message.title")}),n.jsx("p",{children:e("components.message.description")})]})]})}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:"Installation"}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:"import { Message } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:"Basic Usage"}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:`import { Message } from '@minerva/lib-core'; function App() { return ( @@ -488,7 +811,7 @@ function App() { duration={3000} /> ); -}`,language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:"Examples"}),n.jsx("div",{className:A.examples,children:n.jsx(DR,{})})]})]})},HR="_progressIndicatorExamples_1u3kn_42",WR={progressIndicatorExamples:HR,"accordion-down":"_accordion-down_1u3kn_1","accordion-up":"_accordion-up_1u3kn_1"},qR=()=>n.jsxs("div",{className:WR.progressIndicatorExamples,children:[n.jsx("h3",{children:"Spinner Progress Indicator"}),n.jsx(En,{type:"spinner",size:"medium",ariaLabel:"Loading"}),n.jsx("h3",{children:"Bar Progress Indicator"}),n.jsx(En,{type:"bar",size:"large",ariaLabel:"Loading"}),n.jsx("h3",{children:"Wave Progress Indicator"}),n.jsx(En,{type:"wave",size:"small",ariaLabel:"Loading"}),n.jsx("h3",{children:"Circle Progress Indicator"}),n.jsx(En,{type:"circle",size:"medium",ariaLabel:"Loading"}),n.jsx("h3",{children:"Dotted Bar Progress Indicator"}),n.jsx(En,{type:"dottedBar",size:"large",ariaLabel:"Loading"}),n.jsx("h3",{children:"Progress Indicator with Icon"}),n.jsx(En,{type:"spinner",size:"medium",icon:n.jsx(Aa,{}),ariaLabel:"Loading"}),n.jsx("h3",{children:"Full Width Bar Progress Indicator"}),n.jsx(En,{type:"bar",size:"large",ariaLabel:"Loading",full:!0}),n.jsx("h3",{children:"Custom Width Bar Progress Indicator"}),n.jsx(En,{type:"bar",size:"large",ariaLabel:"Loading",width:"300px"})]}),VR=()=>{const{t:e}=$e();return n.jsxs("div",{className:A.componentPage,children:[n.jsx("header",{className:A.header,children:n.jsxs("div",{className:A.titleWrapper,children:[n.jsx($6,{className:A.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.progress.title")}),n.jsx("p",{children:e("components.progress.description")})]})]})}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:"Installation"}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:"import { Progress } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:"Basic Usage"}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:`import { Progress } from '@minerva/lib-core'; +}`,language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:"Examples"}),n.jsx("div",{className:P.examples,children:n.jsx(uP,{})})]})]})},hP="_progressIndicatorExamples_1u3kn_42",mP={progressIndicatorExamples:hP,"accordion-down":"_accordion-down_1u3kn_1","accordion-up":"_accordion-up_1u3kn_1"},fP=()=>n.jsxs("div",{className:mP.progressIndicatorExamples,children:[n.jsx("h3",{children:"Spinner Progress Indicator"}),n.jsx(Rn,{type:"spinner",size:"medium",ariaLabel:"Loading"}),n.jsx("h3",{children:"Bar Progress Indicator"}),n.jsx(Rn,{type:"bar",size:"large",ariaLabel:"Loading"}),n.jsx("h3",{children:"Wave Progress Indicator"}),n.jsx(Rn,{type:"wave",size:"small",ariaLabel:"Loading"}),n.jsx("h3",{children:"Circle Progress Indicator"}),n.jsx(Rn,{type:"circle",size:"medium",ariaLabel:"Loading"}),n.jsx("h3",{children:"Dotted Bar Progress Indicator"}),n.jsx(Rn,{type:"dottedBar",size:"large",ariaLabel:"Loading"}),n.jsx("h3",{children:"Progress Indicator with Icon"}),n.jsx(Rn,{type:"spinner",size:"medium",icon:n.jsx(eo,{}),ariaLabel:"Loading"}),n.jsx("h3",{children:"Full Width Bar Progress Indicator"}),n.jsx(Rn,{type:"bar",size:"large",ariaLabel:"Loading",full:!0}),n.jsx("h3",{children:"Custom Width Bar Progress Indicator"}),n.jsx(Rn,{type:"bar",size:"large",ariaLabel:"Loading",width:"300px"})]}),gP=()=>{const{t:e}=$e();return n.jsxs("div",{className:P.componentPage,children:[n.jsx("header",{className:P.header,children:n.jsxs("div",{className:P.titleWrapper,children:[n.jsx(ej,{className:P.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.progress.title")}),n.jsx("p",{children:e("components.progress.description")})]})]})}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:"Installation"}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:"import { Progress } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:"Basic Usage"}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:`import { Progress } from '@minerva/lib-core'; function App() { return ( @@ -498,7 +821,7 @@ function App() { variant="primary" /> ); -}`,language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:"Examples"}),n.jsx("div",{className:A.examples,children:n.jsx(qR,{})})]})]})},KR="_section_maahs_42",GR="_header_maahs_46",QR="_demoBlock_maahs_60",JR="_description_maahs_80",YR="_group_maahs_86",XR="_basicDemo_maahs_91",ZR="_variantsDemo_maahs_98",eP="_variantItem_maahs_103",tP="_complexDemo_maahs_109",nP="_cardDemo_maahs_115",rP="_profileDemo_maahs_116",iP="_profileContent_maahs_122",sP="_animationsDemo_maahs_144",aP="_animationItem_maahs_149",oP="_listDemo_maahs_155",lP="_listItem_maahs_160",cP="_listContent_maahs_171",dP="_customStylesDemo_maahs_197",uP="_customItem_maahs_202",pP="_gradientSkeleton_maahs_211",hP="_buttonWrapper_maahs_216",mP="_mediaDemo_maahs_221",fP="_mediaCard_maahs_226",gP="_mediaContent_maahs_232",xP="_textDemo_maahs_238",me={section:KR,header:GR,demoBlock:QR,description:JR,group:YR,basicDemo:XR,variantsDemo:ZR,variantItem:eP,complexDemo:tP,cardDemo:nP,profileDemo:rP,profileContent:iP,animationsDemo:sP,animationItem:aP,listDemo:oP,listItem:lP,listContent:cP,customStylesDemo:dP,customItem:uP,gradientSkeleton:pP,buttonWrapper:hP,mediaDemo:mP,mediaCard:fP,mediaContent:gP,textDemo:xP,"accordion-down":"_accordion-down_maahs_1","accordion-up":"_accordion-up_maahs_1"},vP=()=>{const[e,t]=y.useState(!0),r=()=>{t(!e)};return n.jsxs("div",{className:me.section,children:[n.jsxs("div",{className:me.header,children:[n.jsx("h2",{children:"Skeleton 骨架屏"}),n.jsx("p",{children:"在需要等待加载内容的位置提供一个占位图形组合。"})]}),n.jsxs("div",{className:me.demoBlock,children:[n.jsx("h3",{children:"基础用法"}),n.jsx("p",{className:me.description,children:"最简单的占位效果。"}),n.jsx("div",{className:me.group,children:n.jsxs("div",{className:me.basicDemo,children:[n.jsx(ct,{}),n.jsx(ct,{width:"75%"}),n.jsx(ct,{width:"50%"})]})})]}),n.jsxs("div",{className:me.demoBlock,children:[n.jsx("h3",{children:"复杂文本"}),n.jsx("p",{className:me.description,children:"带标题和段落的文本组合。"}),n.jsx("div",{className:me.group,children:n.jsx("div",{className:me.textDemo,children:n.jsx(ct,{title:!0,paragraph:!0,loading:e,children:n.jsxs("div",{children:[n.jsx("h4",{children:"这是一段标题文本"}),n.jsx("p",{children:"这是一段很长的描述文本,用来测试骨架屏的显示效果。"}),n.jsx("p",{children:"这是第二段描述文本,可以包含更多的内容。"})]})})})})]}),n.jsxs("div",{className:me.demoBlock,children:[n.jsx("h3",{children:"不同变体"}),n.jsx("p",{className:me.description,children:"展示不同类型的骨架屏。"}),n.jsx("div",{className:me.group,children:n.jsxs("div",{className:me.variantsDemo,children:[n.jsxs("div",{className:me.variantItem,children:[n.jsx("h4",{children:"Text 文本"}),n.jsx(ct,{variant:"text",width:200})]}),n.jsxs("div",{className:me.variantItem,children:[n.jsx("h4",{children:"Button 按钮"}),n.jsx(ct,{variant:"button",width:120})]}),n.jsxs("div",{className:me.variantItem,children:[n.jsx("h4",{children:"Circular 圆形"}),n.jsx(ct,{variant:"circular",width:60,height:60})]}),n.jsxs("div",{className:me.variantItem,children:[n.jsx("h4",{children:"Image 图片"}),n.jsx(ct,{variant:"image",width:200,height:150})]}),n.jsxs("div",{className:me.variantItem,children:[n.jsx("h4",{children:"Rectangular 矩形"}),n.jsx(ct,{variant:"rectangular",width:200,height:100})]}),n.jsxs("div",{className:me.variantItem,children:[n.jsx("h4",{children:"Rounded 圆角"}),n.jsx(ct,{variant:"rounded",width:200,height:100})]})]})})]}),n.jsxs("div",{className:me.demoBlock,children:[n.jsx("h3",{children:"动画效果"}),n.jsx("p",{className:me.description,children:"不同的动画效果展示。"}),n.jsx("div",{className:me.group,children:n.jsxs("div",{className:me.animationsDemo,children:[n.jsxs("div",{className:me.animationItem,children:[n.jsx("h4",{children:"Pulse 脉冲"}),n.jsx(ct,{animation:"pulse",title:!0,paragraph:!0})]}),n.jsxs("div",{className:me.animationItem,children:[n.jsx("h4",{children:"Wave 波浪"}),n.jsx(ct,{animation:"wave",title:!0,paragraph:!0})]}),n.jsxs("div",{className:me.animationItem,children:[n.jsx("h4",{children:"No Animation 无动画"}),n.jsx(ct,{animation:"false",title:!0,paragraph:!0})]})]})})]}),n.jsxs("div",{className:me.demoBlock,children:[n.jsx("h3",{children:"媒体组件"}),n.jsx("p",{className:me.description,children:"常见的媒体组件骨架屏。"}),n.jsx("div",{className:me.group,children:n.jsxs("div",{className:me.mediaDemo,children:[n.jsxs("div",{className:me.mediaCard,children:[n.jsx(ct,{variant:"image",height:200}),n.jsxs("div",{className:me.mediaContent,children:[n.jsx(ct,{variant:"text",width:"80%"}),n.jsx(ct,{variant:"text",width:"60%"})]})]}),n.jsxs("div",{className:me.mediaCard,children:[n.jsx(ct,{variant:"rectangular",height:200}),n.jsxs("div",{className:me.mediaContent,children:[n.jsx(ct,{variant:"text",width:"70%"}),n.jsx(ct,{variant:"text",width:"50%"})]})]})]})})]}),n.jsxs("div",{className:me.demoBlock,children:[n.jsx("h3",{children:"列表加载"}),n.jsx("p",{className:me.description,children:"在列表中使用骨架屏。"}),n.jsxs("div",{className:me.group,children:[n.jsx("div",{className:me.listDemo,children:Array(3).fill(null).map((i,s)=>n.jsx("div",{className:me.listItem,children:n.jsx(ct,{avatar:!0,avatarSize:48,title:!0,paragraph:!0,active:!0,loading:e,children:n.jsxs("div",{className:me.listContent,children:[n.jsx("img",{src:"https://via.placeholder.com/48",alt:"avatar"}),n.jsxs("div",{children:[n.jsx("h4",{children:"列表项标题"}),n.jsx("p",{children:"这是一段很长的描述文本,用来测试列表项的显示效果"})]})]})})},s))}),n.jsx("div",{className:me.buttonWrapper,children:n.jsx(z,{onClick:r,children:e?"显示内容":"显示骨架屏"})})]})]}),n.jsxs("div",{className:me.demoBlock,children:[n.jsx("h3",{children:"自定义样式"}),n.jsx("p",{className:me.description,children:"使用自定义样式的骨架屏。"}),n.jsx("div",{className:me.group,children:n.jsxs("div",{className:me.customStylesDemo,children:[n.jsx("div",{className:me.customItem,children:n.jsx(ct,{variant:"circular",width:100,height:100,style:{backgroundColor:"#e3f2fd"}})}),n.jsx("div",{className:me.customItem,children:n.jsx(ct,{variant:"rectangular",width:200,height:100,style:{backgroundColor:"#bbdefb",borderRadius:"16px"}})}),n.jsx("div",{className:me.customItem,children:n.jsx("div",{className:me.gradientSkeleton,children:n.jsx(ct,{variant:"text",width:240,style:{background:"linear-gradient(90deg, #f3e5f5 0%, #e1bee7 50%, #f3e5f5 100%)"}})})})]})})]})]})},jP=()=>{const{t:e}=$e();return n.jsxs("div",{className:A.componentPage,children:[n.jsx("header",{className:A.header,children:n.jsxs("div",{className:A.titleWrapper,children:[n.jsx($0,{className:A.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.skeleton.title")}),n.jsx("p",{children:e("components.skeleton.description")})]})]})}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:"Installation"}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:"import { Skeleton } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:"Basic Usage"}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:`import { Skeleton } from '@minerva/lib-core'; +}`,language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:"Examples"}),n.jsx("div",{className:P.examples,children:n.jsx(fP,{})})]})]})},xP="_section_maahs_42",vP="_header_maahs_46",jP="_demoBlock_maahs_60",_P="_description_maahs_80",yP="_group_maahs_86",bP="_basicDemo_maahs_91",wP="_variantsDemo_maahs_98",CP="_variantItem_maahs_103",kP="_complexDemo_maahs_109",SP="_cardDemo_maahs_115",NP="_profileDemo_maahs_116",$P="_profileContent_maahs_122",zP="_animationsDemo_maahs_144",EP="_animationItem_maahs_149",LP="_listDemo_maahs_155",RP="_listItem_maahs_160",AP="_listContent_maahs_171",IP="_customStylesDemo_maahs_197",PP="_customItem_maahs_202",MP="_gradientSkeleton_maahs_211",BP="_buttonWrapper_maahs_216",TP="_mediaDemo_maahs_221",OP="_mediaCard_maahs_226",FP="_mediaContent_maahs_232",DP="_textDemo_maahs_238",fe={section:xP,header:vP,demoBlock:jP,description:_P,group:yP,basicDemo:bP,variantsDemo:wP,variantItem:CP,complexDemo:kP,cardDemo:SP,profileDemo:NP,profileContent:$P,animationsDemo:zP,animationItem:EP,listDemo:LP,listItem:RP,listContent:AP,customStylesDemo:IP,customItem:PP,gradientSkeleton:MP,buttonWrapper:BP,mediaDemo:TP,mediaCard:OP,mediaContent:FP,textDemo:DP,"accordion-down":"_accordion-down_maahs_1","accordion-up":"_accordion-up_maahs_1"},UP=()=>{const[e,t]=y.useState(!0),r=()=>{t(!e)};return n.jsxs("div",{className:fe.section,children:[n.jsxs("div",{className:fe.header,children:[n.jsx("h2",{children:"Skeleton 骨架屏"}),n.jsx("p",{children:"在需要等待加载内容的位置提供一个占位图形组合。"})]}),n.jsxs("div",{className:fe.demoBlock,children:[n.jsx("h3",{children:"基础用法"}),n.jsx("p",{className:fe.description,children:"最简单的占位效果。"}),n.jsx("div",{className:fe.group,children:n.jsxs("div",{className:fe.basicDemo,children:[n.jsx(ct,{}),n.jsx(ct,{width:"75%"}),n.jsx(ct,{width:"50%"})]})})]}),n.jsxs("div",{className:fe.demoBlock,children:[n.jsx("h3",{children:"复杂文本"}),n.jsx("p",{className:fe.description,children:"带标题和段落的文本组合。"}),n.jsx("div",{className:fe.group,children:n.jsx("div",{className:fe.textDemo,children:n.jsx(ct,{title:!0,paragraph:!0,loading:e,children:n.jsxs("div",{children:[n.jsx("h4",{children:"这是一段标题文本"}),n.jsx("p",{children:"这是一段很长的描述文本,用来测试骨架屏的显示效果。"}),n.jsx("p",{children:"这是第二段描述文本,可以包含更多的内容。"})]})})})})]}),n.jsxs("div",{className:fe.demoBlock,children:[n.jsx("h3",{children:"不同变体"}),n.jsx("p",{className:fe.description,children:"展示不同类型的骨架屏。"}),n.jsx("div",{className:fe.group,children:n.jsxs("div",{className:fe.variantsDemo,children:[n.jsxs("div",{className:fe.variantItem,children:[n.jsx("h4",{children:"Text 文本"}),n.jsx(ct,{variant:"text",width:200})]}),n.jsxs("div",{className:fe.variantItem,children:[n.jsx("h4",{children:"Button 按钮"}),n.jsx(ct,{variant:"button",width:120})]}),n.jsxs("div",{className:fe.variantItem,children:[n.jsx("h4",{children:"Circular 圆形"}),n.jsx(ct,{variant:"circular",width:60,height:60})]}),n.jsxs("div",{className:fe.variantItem,children:[n.jsx("h4",{children:"Image 图片"}),n.jsx(ct,{variant:"image",width:200,height:150})]}),n.jsxs("div",{className:fe.variantItem,children:[n.jsx("h4",{children:"Rectangular 矩形"}),n.jsx(ct,{variant:"rectangular",width:200,height:100})]}),n.jsxs("div",{className:fe.variantItem,children:[n.jsx("h4",{children:"Rounded 圆角"}),n.jsx(ct,{variant:"rounded",width:200,height:100})]})]})})]}),n.jsxs("div",{className:fe.demoBlock,children:[n.jsx("h3",{children:"动画效果"}),n.jsx("p",{className:fe.description,children:"不同的动画效果展示。"}),n.jsx("div",{className:fe.group,children:n.jsxs("div",{className:fe.animationsDemo,children:[n.jsxs("div",{className:fe.animationItem,children:[n.jsx("h4",{children:"Pulse 脉冲"}),n.jsx(ct,{animation:"pulse",title:!0,paragraph:!0})]}),n.jsxs("div",{className:fe.animationItem,children:[n.jsx("h4",{children:"Wave 波浪"}),n.jsx(ct,{animation:"wave",title:!0,paragraph:!0})]}),n.jsxs("div",{className:fe.animationItem,children:[n.jsx("h4",{children:"No Animation 无动画"}),n.jsx(ct,{animation:"false",title:!0,paragraph:!0})]})]})})]}),n.jsxs("div",{className:fe.demoBlock,children:[n.jsx("h3",{children:"媒体组件"}),n.jsx("p",{className:fe.description,children:"常见的媒体组件骨架屏。"}),n.jsx("div",{className:fe.group,children:n.jsxs("div",{className:fe.mediaDemo,children:[n.jsxs("div",{className:fe.mediaCard,children:[n.jsx(ct,{variant:"image",height:200}),n.jsxs("div",{className:fe.mediaContent,children:[n.jsx(ct,{variant:"text",width:"80%"}),n.jsx(ct,{variant:"text",width:"60%"})]})]}),n.jsxs("div",{className:fe.mediaCard,children:[n.jsx(ct,{variant:"rectangular",height:200}),n.jsxs("div",{className:fe.mediaContent,children:[n.jsx(ct,{variant:"text",width:"70%"}),n.jsx(ct,{variant:"text",width:"50%"})]})]})]})})]}),n.jsxs("div",{className:fe.demoBlock,children:[n.jsx("h3",{children:"列表加载"}),n.jsx("p",{className:fe.description,children:"在列表中使用骨架屏。"}),n.jsxs("div",{className:fe.group,children:[n.jsx("div",{className:fe.listDemo,children:Array(3).fill(null).map((i,s)=>n.jsx("div",{className:fe.listItem,children:n.jsx(ct,{avatar:!0,avatarSize:48,title:!0,paragraph:!0,active:!0,loading:e,children:n.jsxs("div",{className:fe.listContent,children:[n.jsx("img",{src:"https://via.placeholder.com/48",alt:"avatar"}),n.jsxs("div",{children:[n.jsx("h4",{children:"列表项标题"}),n.jsx("p",{children:"这是一段很长的描述文本,用来测试列表项的显示效果"})]})]})})},s))}),n.jsx("div",{className:fe.buttonWrapper,children:n.jsx($,{onClick:r,children:e?"显示内容":"显示骨架屏"})})]})]}),n.jsxs("div",{className:fe.demoBlock,children:[n.jsx("h3",{children:"自定义样式"}),n.jsx("p",{className:fe.description,children:"使用自定义样式的骨架屏。"}),n.jsx("div",{className:fe.group,children:n.jsxs("div",{className:fe.customStylesDemo,children:[n.jsx("div",{className:fe.customItem,children:n.jsx(ct,{variant:"circular",width:100,height:100,style:{backgroundColor:"#e3f2fd"}})}),n.jsx("div",{className:fe.customItem,children:n.jsx(ct,{variant:"rectangular",width:200,height:100,style:{backgroundColor:"#bbdefb",borderRadius:"16px"}})}),n.jsx("div",{className:fe.customItem,children:n.jsx("div",{className:fe.gradientSkeleton,children:n.jsx(ct,{variant:"text",width:240,style:{background:"linear-gradient(90deg, #f3e5f5 0%, #e1bee7 50%, #f3e5f5 100%)"}})})})]})})]})]})},HP=()=>{const{t:e}=$e();return n.jsxs("div",{className:P.componentPage,children:[n.jsx("header",{className:P.header,children:n.jsxs("div",{className:P.titleWrapper,children:[n.jsx(Ng,{className:P.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.skeleton.title")}),n.jsx("p",{children:e("components.skeleton.description")})]})]})}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:"Installation"}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:"import { Skeleton } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:"Basic Usage"}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:`import { Skeleton } from '@minerva/lib-core'; function App() { return ( @@ -509,7 +832,7 @@ function App() { animation="wave" /> ); -}`,language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:"Examples"}),n.jsx("div",{className:A.examples,children:n.jsx(vP,{})})]})]})},_P="_section_15ptb_42",yP="_group_15ptb_54",jo={section:_P,group:yP,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},bP=()=>n.jsxs("div",{className:jo.section,children:[n.jsx("h3",{children:"Dropdown direction"}),n.jsxs("div",{className:jo.group,children:[n.jsx(tr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),direction:"down"}),n.jsx(tr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),direction:"up"}),n.jsx(tr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),direction:"left"}),n.jsx(tr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),direction:"right"})]}),n.jsx("h3",{children:"Dropdown Menu Background Color"}),n.jsxs("div",{className:jo.group,children:[n.jsx(tr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),menuBgColor:"#000000",menuTextColor:"#ffffff"}),n.jsx(tr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),menuBgColor:"#ff0000",menuTextColor:"#ffffff"})]}),n.jsx("h3",{children:"Dropdown Children, Disabled"}),n.jsxs("div",{className:jo.group,children:[n.jsx(tr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),children:n.jsx("span",{children:"Dropdown"})}),n.jsx(tr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),children:n.jsx(ie,{})}),n.jsx(tr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),children:n.jsx(z,{borderRadius:"circle",children:"Menu"})}),n.jsx(tr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2",disabled:!0},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],menuBgColor:"#ff0000",menuTextColor:"#ffffff",onSelect:e=>console.log("Selected:",e),children:n.jsx(z,{variant:"warning",borderRadius:"circle",children:"Menu"})})]})]}),wP=()=>{const{t:e}=$e();return n.jsxs("div",{className:A.componentPage,children:[n.jsx("header",{className:A.header,children:n.jsxs("div",{className:A.titleWrapper,children:[n.jsx(G3,{className:A.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.dropdown.title")}),n.jsx("p",{children:e("components.dropdown.description")})]})]})}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:"Installation"}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:"import { Dropdown } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:"Basic Usage"}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:`import { Dropdown } from '@minerva/lib-core'; +}`,language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:"Examples"}),n.jsx("div",{className:P.examples,children:n.jsx(UP,{})})]})]})},WP="_section_15ptb_42",qP="_group_15ptb_54",Oo={section:WP,group:qP,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},VP=()=>n.jsxs("div",{className:Oo.section,children:[n.jsx("h3",{children:"Dropdown direction"}),n.jsxs("div",{className:Oo.group,children:[n.jsx(rr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),direction:"down"}),n.jsx(rr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),direction:"up"}),n.jsx(rr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),direction:"left"}),n.jsx(rr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),direction:"right"})]}),n.jsx("h3",{children:"Dropdown Menu Background Color"}),n.jsxs("div",{className:Oo.group,children:[n.jsx(rr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),menuBgColor:"#000000",menuTextColor:"#ffffff"}),n.jsx(rr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),menuBgColor:"#ff0000",menuTextColor:"#ffffff"})]}),n.jsx("h3",{children:"Dropdown Children, Disabled"}),n.jsxs("div",{className:Oo.group,children:[n.jsx(rr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),children:n.jsx("span",{children:"Dropdown"})}),n.jsx(rr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),children:n.jsx(se,{})}),n.jsx(rr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],onSelect:e=>console.log("Selected:",e),children:n.jsx($,{borderRadius:"circle",children:"Menu"})}),n.jsx(rr,{items:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2",disabled:!0},{label:"Option 3",value:"option3"},{label:"Option 4",value:"option4"},{label:"Option 5",value:"option5"}],menuBgColor:"#ff0000",menuTextColor:"#ffffff",onSelect:e=>console.log("Selected:",e),children:n.jsx($,{variant:"warning",borderRadius:"circle",children:"Menu"})})]})]}),KP=()=>{const{t:e}=$e();return n.jsxs("div",{className:P.componentPage,children:[n.jsx("header",{className:P.header,children:n.jsxs("div",{className:P.titleWrapper,children:[n.jsx(j5,{className:P.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.dropdown.title")}),n.jsx("p",{children:e("components.dropdown.description")})]})]})}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:"Installation"}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:"import { Dropdown } from '@minerva/lib-core';",language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:"Basic Usage"}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:`import { Dropdown } from '@minerva/lib-core'; function App() { return ( @@ -524,7 +847,7 @@ function App() { ); -}`,language:"typescript"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:"Examples"}),n.jsx("div",{className:A.examples,children:n.jsx(bP,{})})]})]})},CP="_section_p8yu0_42",kP="_group_p8yu0_54",_r={section:CP,group:kP,"accordion-down":"_accordion-down_p8yu0_1","accordion-up":"_accordion-up_p8yu0_1"},SP=()=>{const[e,t]=y.useState(!1),[r,i]=y.useState(!0),s=y.useRef(null),[a,o]=y.useState(!1),l=()=>{s.current&&(s.current.focus(),s.current.scrollIntoView({behavior:"smooth",block:"center"}),o(c=>!c))};return n.jsxs("div",{className:_r.section,children:[n.jsx("h3",{children:"Basic Checkboxes"}),n.jsxs("div",{className:_r.group,children:[n.jsx(Te,{label:"Default Checkbox"}),n.jsx(Te,{label:"Checked Checkbox",defaultChecked:!0}),n.jsx(Te,{label:"Disabled Checkbox",disabled:!0}),n.jsx(Te,{label:"Disabled Checked",disabled:!0,defaultChecked:!0}),n.jsx(Te,{label:"Indeterminate",checked:r,onChange:()=>i(!r),indeterminate:!0})]}),n.jsx("h3",{children:"Checkbox Shapes"}),n.jsxs("div",{className:_r.group,children:[n.jsx(Te,{label:"Square Checkbox",shape:"square",defaultChecked:!0}),n.jsx(Te,{label:"Rounded Checkbox",shape:"rounded",defaultChecked:!0}),n.jsx(Te,{label:"Circle Checkbox",shape:"circle",defaultChecked:!0})]}),n.jsx("h3",{children:"Checkbox Sizes"}),n.jsxs("div",{className:_r.group,children:[n.jsx(Te,{label:"Small Checkbox",size:"small",defaultChecked:!0}),n.jsx(Te,{label:"Medium Checkbox",size:"medium",defaultChecked:!0}),n.jsx(Te,{label:"Large Checkbox",size:"large",defaultChecked:!0})]}),n.jsx("h3",{children:"Custom Icons"}),n.jsxs("div",{className:_r.group,children:[n.jsx(Te,{label:"Check Icon",defaultChecked:!0,icon:n.jsx(Aa,{size:12}),boxColor:"#4caf50",checkmarkColor:"#fff"}),n.jsx(Te,{label:"Star Icon",defaultChecked:!0,icon:n.jsx(Ma,{size:12}),boxColor:"#ff9800",checkmarkColor:"#fff"}),n.jsx(Te,{label:"Heart Icon",defaultChecked:!0,icon:n.jsx(Ln,{size:12}),boxColor:"#f44336",checkmarkColor:"#fff"}),n.jsx(Te,{label:"Bell Icon",defaultChecked:!0,icon:n.jsx(Rt,{size:12}),boxColor:"#9c27b0",checkmarkColor:"#fff"}),n.jsx(Te,{label:"Bookmark Icon",defaultChecked:!0,icon:n.jsx(eg,{size:12}),boxColor:"#2196f3",checkmarkColor:"#fff"})]}),n.jsx("h3",{children:"Custom Colors & Styles"}),n.jsxs("div",{className:_r.group,children:[n.jsx(Te,{label:"Purple Theme",defaultChecked:!0,boxColor:"#9c27b0",checkmarkColor:"#ffffff",shape:"rounded"}),n.jsx(Te,{label:"Gradient Theme",defaultChecked:!0,boxColor:"linear-gradient(45deg, #2196f3, #00bcd4)",checkmarkColor:"#fff",shape:"circle"}),n.jsx(Te,{label:"Custom Border",defaultChecked:!0,boxColor:"#e91e63",boxBorderColor:"#c2185b",checkmarkColor:"#fff"}),n.jsx(Te,{label:"Gold Theme",defaultChecked:!0,boxColor:"#ffd700",boxBorderColor:"#daa520",checkmarkColor:"#000",icon:n.jsx(Ma,{size:12})}),n.jsx(Te,{label:"Custom Checkmark Color",defaultChecked:!0,checkmarkColor:"#ffffff",boxColor:"#9c27b0"}),n.jsx(Te,{label:"Custom Box Color",defaultChecked:!0,boxColor:"#e91e63",boxBorderColor:"#c2185b"}),n.jsx(Te,{label:"Gradient Background",defaultChecked:!0,boxColor:"linear-gradient(45deg, #2196f3, #00bcd4)",checkmarkColor:"#fff"})]}),n.jsx("h3",{children:"Error States & Validation"}),n.jsxs("div",{className:_r.group,children:[n.jsx(Te,{label:"Basic Error",error:!0,helperText:"This field is required"}),n.jsx(Te,{label:"Custom Error Icon",error:!0,errorIcon:n.jsx(TE,{}),helperText:"Please accept the terms"}),n.jsx(Te,{label:"Info Error Style",error:!0,errorIcon:n.jsx(AE,{color:"#1976d2"}),helperText:"Additional information needed",boxColor:"#1976d2"}),n.jsx(Te,{label:"Warning Style",error:!0,errorIcon:n.jsx(k1,{color:"#ff9800"}),helperText:"Please review your selection",boxColor:"#ff9800"})]}),n.jsx("h3",{children:"Label Placements"}),n.jsxs("div",{className:_r.group,children:[n.jsx(Te,{label:"Top Label",labelPlacement:"top",defaultChecked:!0,icon:n.jsx(vo,{}),boxColor:"#4caf50"}),n.jsx(Te,{label:"Bottom Label",labelPlacement:"bottom",defaultChecked:!0,icon:n.jsx(vo,{}),boxColor:"#2196f3"}),n.jsx(Te,{label:"Start Label",labelPlacement:"start",defaultChecked:!0,icon:n.jsx(vo,{}),boxColor:"#9c27b0"}),n.jsx(Te,{label:"End Label",labelPlacement:"end",defaultChecked:!0,icon:n.jsx(vo,{}),boxColor:"#ff9800"})]}),n.jsx("h3",{children:"Interactive Examples"}),n.jsxs("div",{className:_r.group,children:[n.jsx(Te,{label:"Controlled Checkbox",checked:e,onChange:c=>t(c),boxColor:"#2196f3",icon:n.jsx(Aa,{size:12})}),n.jsx(Te,{ref:s,label:"Animated Error State",error:a,helperText:"Click the button to trigger error animation",boxColor:"#d32f2f",errorIcon:n.jsx(k1,{}),shape:"circle"}),n.jsx(z,{onClick:l,children:"Trigger Error Animation"})]})]})},NP=()=>{const{t:e}=$e();return n.jsxs("div",{className:A.componentPage,children:[n.jsx("header",{className:A.header,children:n.jsxs("div",{className:A.titleWrapper,children:[n.jsx(y0,{className:A.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.checkbox.title")}),n.jsx("p",{children:e("components.checkbox.description")})]})]})}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.checkbox.installation")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:"import { Checkbox } from '@minerva/lib-core';"})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.checkbox.basic_usage")}),n.jsx("div",{className:A.codeWrapper,children:n.jsx(oe,{code:`import { Checkbox } from '@minerva/lib-core'; +}`,language:"typescript"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:"Examples"}),n.jsx("div",{className:P.examples,children:n.jsx(VP,{})})]})]})},GP="_section_p8yu0_42",QP="_group_p8yu0_54",br={section:GP,group:QP,"accordion-down":"_accordion-down_p8yu0_1","accordion-up":"_accordion-up_p8yu0_1"},JP=()=>{const[e,t]=y.useState(!1),[r,i]=y.useState(!0),s=y.useRef(null),[a,o]=y.useState(!1),l=()=>{s.current&&(s.current.focus(),s.current.scrollIntoView({behavior:"smooth",block:"center"}),o(c=>!c))};return n.jsxs("div",{className:br.section,children:[n.jsx("h3",{children:"Basic Checkboxes"}),n.jsxs("div",{className:br.group,children:[n.jsx(Be,{label:"Default Checkbox"}),n.jsx(Be,{label:"Checked Checkbox",defaultChecked:!0}),n.jsx(Be,{label:"Disabled Checkbox",disabled:!0}),n.jsx(Be,{label:"Disabled Checked",disabled:!0,defaultChecked:!0}),n.jsx(Be,{label:"Indeterminate",checked:r,onChange:()=>i(!r),indeterminate:!0})]}),n.jsx("h3",{children:"Checkbox Shapes"}),n.jsxs("div",{className:br.group,children:[n.jsx(Be,{label:"Square Checkbox",shape:"square",defaultChecked:!0}),n.jsx(Be,{label:"Rounded Checkbox",shape:"rounded",defaultChecked:!0}),n.jsx(Be,{label:"Circle Checkbox",shape:"circle",defaultChecked:!0})]}),n.jsx("h3",{children:"Checkbox Sizes"}),n.jsxs("div",{className:br.group,children:[n.jsx(Be,{label:"Small Checkbox",size:"small",defaultChecked:!0}),n.jsx(Be,{label:"Medium Checkbox",size:"medium",defaultChecked:!0}),n.jsx(Be,{label:"Large Checkbox",size:"large",defaultChecked:!0})]}),n.jsx("h3",{children:"Custom Icons"}),n.jsxs("div",{className:br.group,children:[n.jsx(Be,{label:"Check Icon",defaultChecked:!0,icon:n.jsx(eo,{size:12}),boxColor:"#4caf50",checkmarkColor:"#fff"}),n.jsx(Be,{label:"Star Icon",defaultChecked:!0,icon:n.jsx(to,{size:12}),boxColor:"#ff9800",checkmarkColor:"#fff"}),n.jsx(Be,{label:"Heart Icon",defaultChecked:!0,icon:n.jsx(Ln,{size:12}),boxColor:"#f44336",checkmarkColor:"#fff"}),n.jsx(Be,{label:"Bell Icon",defaultChecked:!0,icon:n.jsx(At,{size:12}),boxColor:"#9c27b0",checkmarkColor:"#fff"}),n.jsx(Be,{label:"Bookmark Icon",defaultChecked:!0,icon:n.jsx(Zg,{size:12}),boxColor:"#2196f3",checkmarkColor:"#fff"})]}),n.jsx("h3",{children:"Custom Colors & Styles"}),n.jsxs("div",{className:br.group,children:[n.jsx(Be,{label:"Purple Theme",defaultChecked:!0,boxColor:"#9c27b0",checkmarkColor:"#ffffff",shape:"rounded"}),n.jsx(Be,{label:"Gradient Theme",defaultChecked:!0,boxColor:"linear-gradient(45deg, #2196f3, #00bcd4)",checkmarkColor:"#fff",shape:"circle"}),n.jsx(Be,{label:"Custom Border",defaultChecked:!0,boxColor:"#e91e63",boxBorderColor:"#c2185b",checkmarkColor:"#fff"}),n.jsx(Be,{label:"Gold Theme",defaultChecked:!0,boxColor:"#ffd700",boxBorderColor:"#daa520",checkmarkColor:"#000",icon:n.jsx(to,{size:12})}),n.jsx(Be,{label:"Custom Checkmark Color",defaultChecked:!0,checkmarkColor:"#ffffff",boxColor:"#9c27b0"}),n.jsx(Be,{label:"Custom Box Color",defaultChecked:!0,boxColor:"#e91e63",boxBorderColor:"#c2185b"}),n.jsx(Be,{label:"Gradient Background",defaultChecked:!0,boxColor:"linear-gradient(45deg, #2196f3, #00bcd4)",checkmarkColor:"#fff"})]}),n.jsx("h3",{children:"Error States & Validation"}),n.jsxs("div",{className:br.group,children:[n.jsx(Be,{label:"Basic Error",error:!0,helperText:"This field is required"}),n.jsx(Be,{label:"Custom Error Icon",error:!0,errorIcon:n.jsx(oA,{}),helperText:"Please accept the terms"}),n.jsx(Be,{label:"Info Error Style",error:!0,errorIcon:n.jsx(sA,{color:"#1976d2"}),helperText:"Additional information needed",boxColor:"#1976d2"}),n.jsx(Be,{label:"Warning Style",error:!0,errorIcon:n.jsx(mm,{color:"#ff9800"}),helperText:"Please review your selection",boxColor:"#ff9800"})]}),n.jsx("h3",{children:"Label Placements"}),n.jsxs("div",{className:br.group,children:[n.jsx(Be,{label:"Top Label",labelPlacement:"top",defaultChecked:!0,icon:n.jsx(To,{}),boxColor:"#4caf50"}),n.jsx(Be,{label:"Bottom Label",labelPlacement:"bottom",defaultChecked:!0,icon:n.jsx(To,{}),boxColor:"#2196f3"}),n.jsx(Be,{label:"Start Label",labelPlacement:"start",defaultChecked:!0,icon:n.jsx(To,{}),boxColor:"#9c27b0"}),n.jsx(Be,{label:"End Label",labelPlacement:"end",defaultChecked:!0,icon:n.jsx(To,{}),boxColor:"#ff9800"})]}),n.jsx("h3",{children:"Interactive Examples"}),n.jsxs("div",{className:br.group,children:[n.jsx(Be,{label:"Controlled Checkbox",checked:e,onChange:c=>t(c),boxColor:"#2196f3",icon:n.jsx(eo,{size:12})}),n.jsx(Be,{ref:s,label:"Animated Error State",error:a,helperText:"Click the button to trigger error animation",boxColor:"#d32f2f",errorIcon:n.jsx(mm,{}),shape:"circle"}),n.jsx($,{onClick:l,children:"Trigger Error Animation"})]})]})},YP=()=>{const{t:e}=$e();return n.jsxs("div",{className:P.componentPage,children:[n.jsx("header",{className:P.header,children:n.jsxs("div",{className:P.titleWrapper,children:[n.jsx(xg,{className:P.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.checkbox.title")}),n.jsx("p",{children:e("components.checkbox.description")})]})]})}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.checkbox.installation")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:"import { Checkbox } from '@minerva/lib-core';"})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.checkbox.basic_usage")}),n.jsx("div",{className:P.codeWrapper,children:n.jsx(ne,{code:`import { Checkbox } from '@minerva/lib-core'; function App() { return ( @@ -532,19 +855,19 @@ function App() { Accept terms and conditions ); -}`})})]}),n.jsxs("section",{className:A.section,children:[n.jsx("h2",{children:e("components.checkbox.examples")}),n.jsx("div",{className:A.examples,children:n.jsx(SP,{})})]})]})},zP="_section_15ptb_42",$P="_group_15ptb_54",Dn={section:zP,group:$P,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},LP=()=>{const[e,t]=y.useState(!1),[r,i]=y.useState(!1),s=y.useCallback(()=>{t(g=>!g)},[]),a=y.useCallback(()=>{i(g=>!g)},[]),o=y.useCallback(g=>{console.log("Favorite state:",g)},[]),l=y.useCallback(g=>{console.log("Bookmark state:",g)},[]),c=y.useCallback(g=>{console.log("Star state:",g)},[]),u=y.useCallback(g=>{console.log("Like state:",g)},[]),p=y.useCallback(g=>{console.log("Follow state:",g)},[]),m=y.useCallback(g=>{console.log("Share state:",g)},[]),h=y.useCallback(g=>{console.log("Notification state:",g)},[]),x=y.useCallback(g=>{console.log("Pin state:",g)},[]),_=y.useCallback(g=>{console.log("Archive state:",g)},[]),b=y.useCallback(g=>{console.log("Lock state:",g)},[]),k=y.useCallback(g=>{console.log("Download state:",g)},[]),j=y.useCallback(g=>{console.log("Visibility state:",g)},[]),d=y.useCallback(g=>{console.log("Clock state:",g)},[]),f=y.useCallback(g=>{console.log("Rate state:",g)},[]),v=y.useCallback(g=>{console.log("Thumb down state:",g)},[]),w=y.useCallback(g=>{console.log("Flag state:",g)},[]);return n.jsxs("div",{className:Dn.section,children:[n.jsx("h3",{children:"Variants"}),n.jsxs("div",{className:Dn.group,children:[n.jsx(We,{icon:n.jsx(Ln,{}),variant:"primary",showTooltip:!0,tooltip:{content:"Dark variant",variant:"dark"}}),n.jsx(We,{icon:n.jsx(Ma,{}),variant:"secondary",showTooltip:!0,tooltip:{content:"Info variant",variant:"info"}}),n.jsx(We,{icon:n.jsx(Aa,{}),variant:"success",showTooltip:!0,tooltip:{content:"Success variant",variant:"success"}}),n.jsx(We,{icon:n.jsx(Rt,{}),variant:"warning",showTooltip:!0,tooltip:{content:"Warning variant",variant:"warning"}}),n.jsx(We,{icon:n.jsx(ng,{}),variant:"error",showTooltip:!0,tooltip:{content:"Error variant",variant:"error"}})]}),n.jsx("h3",{children:"Sizes"}),n.jsxs("div",{className:Dn.group,children:[n.jsx(We,{icon:n.jsx(Bc,{}),size:"small",showTooltip:!0,tooltip:{content:"Small size (36px)",arrow:!0}}),n.jsx(We,{icon:n.jsx(Bc,{}),size:"medium",showTooltip:!0,tooltip:{content:"Medium size (44px)",arrow:!0}}),n.jsx(We,{icon:n.jsx(Bc,{}),size:"large",showTooltip:!0,tooltip:{content:"Large size (52px)",arrow:!0}})]}),n.jsx("h3",{children:"Shapes"}),n.jsxs("div",{className:Dn.group,children:[n.jsx(We,{icon:n.jsx(z1,{}),shape:"circle",showTooltip:!0,tooltip:{content:"Circle shape",shape:"rounded"}}),n.jsx(We,{icon:n.jsx(z1,{}),shape:"square",showTooltip:!0,tooltip:{content:"Square shape",shape:"square"}})]}),n.jsx("h3",{children:"States"}),n.jsxs("div",{className:Dn.group,children:[n.jsx(We,{icon:n.jsx(Oc,{}),active:e,onClick:s,showTooltip:!0,tooltip:{content:e?"Active state":"Click to activate"}}),n.jsx(We,{icon:n.jsx(Oc,{}),disabled:!0,showTooltip:!0,tooltip:{content:"Disabled state"}}),n.jsx(We,{icon:n.jsx(Oc,{}),loading:r,onClick:a,showTooltip:!0,tooltip:{content:r?"Loading...":"Click to load"}})]}),n.jsx("h3",{children:"Custom Colors"}),n.jsx("div",{className:Dn.group,children:n.jsx(We,{icon:n.jsx(Ln,{}),color:"#e91e63",activeColor:"#c2185b",bgColor:"#fce4ec",hoverColor:"#f8bbd0",fillColor:"#e91e63",showTooltip:!0,tooltip:{content:"Custom colors"}})}),n.jsx("h3",{children:"Accessibility"}),n.jsxs("div",{className:Dn.group,children:[n.jsx(We,{icon:n.jsx(Gd,{}),ariaLabel:"Search button",tabIndex:0,showTooltip:!0,tooltip:{content:"With aria-label and tabIndex"}}),n.jsx(We,{icon:n.jsx(LE,{}),ariaLabel:"Download file",tabIndex:1,showTooltip:!0,tooltip:{content:"Press Enter to download"}})]}),n.jsx("h3",{children:"Common Use Cases"}),n.jsxs("div",{className:Dn.group,children:[n.jsx(We,{icon:n.jsx(tg,{}),variant:"primary",showTooltip:!0,tooltip:{content:"Add new item",arrow:!0,shape:"thought"}}),n.jsx(We,{icon:n.jsx(FE,{}),variant:"error",showTooltip:!0,tooltip:{content:"Delete item",arrow:!0,shape:"rounded"}}),n.jsx(We,{icon:n.jsx(EE,{}),showTooltip:!0,tooltip:{content:"More actions",arrow:!0,shape:"thought"}})]}),n.jsx("h3",{children:"Interactive Icons"}),n.jsxs("div",{className:Dn.group,children:[n.jsx(Ot,{type:"favorite",onChange:o}),n.jsx(Ot,{type:"bookmark",onChange:l}),n.jsx(Ot,{type:"star",onChange:c}),n.jsx(Ot,{type:"like",onChange:u}),n.jsx(Ot,{type:"follow",onChange:p}),n.jsx(Ot,{type:"share",onChange:m}),n.jsx(Ot,{type:"notification",onChange:h}),n.jsx(Ot,{type:"pin",onChange:x}),n.jsx(Ot,{type:"archive",onChange:_}),n.jsx(Ot,{type:"lock",onChange:b}),n.jsx(Ot,{type:"download",onChange:k}),n.jsx(Ot,{type:"visibility",onChange:j}),n.jsx(Ot,{type:"clock",onChange:d}),n.jsx(Ot,{type:"close",onChange:d}),n.jsx(Ot,{type:"rate",onChange:f}),n.jsx(Ot,{type:"thumbDown",onChange:v}),n.jsx(Ot,{type:"flag",onChange:w})]}),n.jsx("h3",{children:"Fill Color Variations"}),n.jsxs("div",{className:Dn.group,children:[n.jsx(We,{icon:n.jsx(Ln,{}),variant:"primary",fillColor:"#1976d2",showTooltip:!0,tooltip:{content:"Primary fill"}}),n.jsx(We,{icon:n.jsx(Ln,{}),variant:"success",fillColor:"#4caf50",showTooltip:!0,tooltip:{content:"Success fill"}}),n.jsx(We,{icon:n.jsx(Ln,{}),variant:"error",fillColor:"#d32f2f",showTooltip:!0,tooltip:{content:"Error fill"}}),n.jsx(We,{icon:n.jsx(Ln,{}),variant:"warning",fillColor:"#ff9800",showTooltip:!0,tooltip:{content:"Warning fill"}})]}),n.jsx("h3",{children:"Custom Active States"}),n.jsxs("div",{className:Dn.group,children:[n.jsx(We,{icon:n.jsx(Ln,{}),color:"#e91e63",activeColor:"#c2185b",bgColor:"#fce4ec",hoverColor:"#f8bbd0",fillColor:"#e91e63",active:!0,showTooltip:!0,tooltip:{content:"Custom active state"}}),n.jsx(We,{icon:n.jsx(Ln,{}),color:"#2196f3",activeColor:"#1565c0",bgColor:"#e3f2fd",hoverColor:"#bbdefb",fillColor:"#2196f3",active:!0,showTooltip:!0,tooltip:{content:"Custom active state"}}),n.jsx(We,{icon:n.jsx(Ln,{}),color:"#4caf50",activeColor:"#2e7d32",bgColor:"#e8f5e9",hoverColor:"#c8e6c9",fillColor:"#4caf50",active:!0,showTooltip:!0,tooltip:{content:"Custom active state"}})]})]})},EP="_header_1062d_42",IP="_titleWrapper_1062d_45",L1={header:EP,titleWrapper:IP,"accordion-down":"_accordion-down_1062d_1","accordion-up":"_accordion-up_1062d_1"},Bn=({title:e,description:t})=>n.jsx("div",{className:L1.header,children:n.jsxs("div",{className:L1.titleWrapper,children:[n.jsx("h1",{children:e}),n.jsx("p",{children:t})]})}),RP=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Bn,{title:e("components.iconButton.title"),description:e("components.iconButton.description")}),n.jsx(LP,{})]})},PP="_section_wqknk_42",AP="_group_wqknk_54",MP="_feature_wqknk_62",le={section:PP,group:AP,feature:MP,"accordion-down":"_accordion-down_wqknk_1","accordion-up":"_accordion-up_wqknk_1"},TP=()=>{const e=y.useRef(null),t=y.useRef(null),r=y.useRef(null),[i,s]=y.useState(!1),a=y.useCallback(()=>{s(!0)},[]),o=y.useCallback(()=>{s(!1)},[]),l=y.useCallback(()=>{s(p=>!p)},[]),c=y.useCallback(()=>{console.log("Tooltip opened")},[]),u=y.useCallback(()=>{console.log("Tooltip closed")},[]);return n.jsxs("div",{className:le.section,children:[n.jsx("h3",{children:"基础功能"}),n.jsxs("div",{className:le.group,children:[n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"基础提示"}),n.jsx(ve,{content:"基础提示",arrow:!0,children:n.jsx(z,{children:"基础提示"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"不带箭头"}),n.jsx(ve,{content:"不带箭头的提示",children:n.jsx(z,{children:"无箭头"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"禁用状态"}),n.jsx(ve,{content:"此 Tooltip 已禁用",disabled:!0,arrow:!0,children:n.jsx(z,{children:"已禁用"})})]})]}),n.jsx("h3",{children:"箭头位置"}),n.jsxs("div",{className:le.group,children:[n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"顶部箭头"}),n.jsx(ve,{content:"顶部箭头",placement:"top",arrow:!0,children:n.jsx(z,{children:"Top"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"底部箭头"}),n.jsx(ve,{content:"底部箭头",placement:"bottom",arrow:!0,children:n.jsx(z,{children:"Bottom"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"左侧箭头"}),n.jsx(ve,{content:"左侧箭头",placement:"left",arrow:!0,children:n.jsx(z,{children:"Left"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"右侧箭头"}),n.jsx(ve,{content:"右侧箭头",placement:"right",arrow:!0,children:n.jsx(z,{children:"Right"})})]})]}),n.jsx("h3",{children:"Tooltip 形状"}),n.jsxs("div",{className:le.group,children:[n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"默认形状"}),n.jsx(ve,{content:"默认形状",shape:"default",arrow:!0,children:n.jsx(z,{children:"Default"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"圆角形状"}),n.jsx(ve,{content:"圆角形状",shape:"rounded",arrow:!0,children:n.jsx(z,{children:"Rounded"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"思考泡泡"}),n.jsx(ve,{content:"思考泡泡形状",shape:"thought",children:n.jsx(z,{children:"Thought"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"方形"}),n.jsx(ve,{content:"方形",shape:"square",arrow:!0,children:n.jsx(z,{children:"Square"})})]})]}),n.jsx("h3",{children:"动画效果"}),n.jsxs("div",{className:le.group,children:[n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"淡入淡出"}),n.jsx(ve,{content:"淡入淡出效果",animation:"fade",children:n.jsx(z,{children:"Fade"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"缩放"}),n.jsx(ve,{content:"缩放效果",animation:"scale",children:n.jsx(z,{children:"Scale"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"远离"}),n.jsx(ve,{content:"远离效果",animation:"shift-away",children:n.jsx(z,{children:"Shift Away"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"靠近"}),n.jsx(ve,{content:"靠近效果",animation:"shift-toward",children:n.jsx(z,{children:"Shift Toward"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"透视"}),n.jsx(ve,{content:"透视效果",animation:"perspective",children:n.jsx(z,{children:"Perspective"})})]})]}),n.jsx("h3",{children:"交互控制"}),n.jsx("div",{className:le.group,children:n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"受控显示"}),n.jsx(ve,{content:"完全受控的 Tooltip",open:i,onOpen:a,onClose:o,children:n.jsx(z,{onClick:l,children:i?"点击关闭":"点击打开"})})]})}),n.jsx("h3",{children:"特殊交互"}),n.jsxs("div",{className:le.group,children:[n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"跟随光标"}),n.jsx(ve,{content:"跟随光标移动",followCursor:!0,children:n.jsx(z,{children:"移动光标"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"显示延迟"}),n.jsx(ve,{content:"延迟 500ms 显示",enterDelay:500,children:n.jsx(z,{children:"延迟显示"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"消失延迟"}),n.jsx(ve,{content:"延迟 500ms 消失",leaveDelay:500,children:n.jsx(z,{children:"延迟消失"})})]})]}),n.jsx("h3",{children:"自定义样式"}),n.jsxs("div",{className:le.group,children:[n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"自定义颜色"}),n.jsx(ve,{content:"自定义背景和文字颜色",bgColor:"#6200ee",textColor:"#ffffff",arrow:!0,children:n.jsx(z,{children:"自定义颜色"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"自定义偏移"}),n.jsx(ve,{content:"自定义偏移距离",offset:[0,16],arrow:!0,children:n.jsx(z,{children:"自定义偏移"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"自定义层级"}),n.jsx(ve,{content:"自定义 z-index",zIndex:2e3,arrow:!0,children:n.jsx(z,{children:"自定义层级"})})]})]}),n.jsx("h3",{children:"回调函数"}),n.jsxs("div",{className:le.group,children:[n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"显示回调"}),n.jsx(ve,{content:"触发 onOpen",onOpen:c,children:n.jsx(z,{children:"打开回调"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"关闭回调"}),n.jsx(ve,{content:"触发 onClose",onClose:u,children:n.jsx(z,{children:"关闭回调"})})]})]}),n.jsx("h3",{children:"Tooltip 变体(Variants)"}),n.jsxs("div",{className:le.group,children:[n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"亮色主题"}),n.jsx(ve,{content:"亮色主题",variant:"light",arrow:!0,children:n.jsx(z,{children:"Light"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"暗色主题"}),n.jsx(ve,{content:"暗色主题",variant:"dark",arrow:!0,children:n.jsx(z,{children:"Dark"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"信息提示"}),n.jsx(ve,{content:"信息提示样式",variant:"info",arrow:!0,children:n.jsx(z,{children:"Info"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"成功提示"}),n.jsx(ve,{content:"成功提示样式",variant:"success",arrow:!0,children:n.jsx(z,{children:"Success"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"警告提示"}),n.jsx(ve,{content:"警告提示样式",variant:"warning",arrow:!0,children:n.jsx(z,{children:"Warning"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"错误提示"}),n.jsx(ve,{content:"错误提示样式",variant:"error",arrow:!0,children:n.jsx(z,{children:"Error"})})]})]}),n.jsx("h3",{children:"详细位置(Placements)"}),n.jsxs("div",{className:le.group,children:[n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"顶部起始"}),n.jsx(ve,{content:"顶部起始位置",placement:"top-start",arrow:!0,children:n.jsx(z,{children:"Top Start"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"顶部结束"}),n.jsx(ve,{content:"顶部结束位置",placement:"top-end",arrow:!0,children:n.jsx(z,{children:"Top End"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"底部起始"}),n.jsx(ve,{content:"底部起始位置",placement:"bottom-start",arrow:!0,children:n.jsx(z,{children:"Bottom Start"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"底部结束"}),n.jsx(ve,{content:"底部结束位置",placement:"bottom-end",arrow:!0,children:n.jsx(z,{children:"Bottom End"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"左侧起始"}),n.jsx(ve,{content:"左侧起始位置",placement:"left-start",arrow:!0,children:n.jsx(z,{children:"Left Start"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"左侧结束"}),n.jsx(ve,{content:"左侧结束位置",placement:"left-end",arrow:!0,children:n.jsx(z,{children:"Left End"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"右侧起始"}),n.jsx(ve,{content:"右侧起始位置",placement:"right-start",arrow:!0,children:n.jsx(z,{children:"Right Start"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"右侧结束"}),n.jsx(ve,{content:"右侧结束位置",placement:"right-end",arrow:!0,children:n.jsx(z,{children:"Right End"})})]})]}),n.jsx("h3",{children:"自定义颜色示例"}),n.jsxs("div",{className:le.group,children:[n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"品牌色"}),n.jsx(ve,{content:"使用品牌色",bgColor:"#6200ee",textColor:"#ffffff",arrow:!0,children:n.jsx(z,{children:"品牌色"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"柔和色"}),n.jsx(ve,{content:"使用柔和色",bgColor:"#f0f7ff",textColor:"#0066cc",arrow:!0,children:n.jsx(z,{children:"柔和色"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"渐变背景"}),n.jsx(ve,{content:"渐变背景效果",bgColor:"linear-gradient(45deg, #ff6b6b, #feca57)",textColor:"#ffffff",arrow:!0,children:n.jsx(z,{children:"渐变色"})})]})]}),n.jsx("h3",{children:"Ref 方法控制"}),n.jsxs("div",{className:le.group,children:[n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"打开方法"}),n.jsx(ve,{content:"使用 ref.open() 打开",ref:e,onOpen:c,children:n.jsx(z,{onClick:()=>{var p;return(p=e.current)==null?void 0:p.open()},children:"打开"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"关闭方法"}),n.jsx(ve,{content:"使用 ref.close() 关闭",ref:t,onClose:u,children:n.jsx(z,{onClick:()=>{var p;return(p=t.current)==null?void 0:p.close()},children:"关闭"})})]}),n.jsxs("div",{className:le.feature,children:[n.jsx("h4",{children:"切换方法"}),n.jsx(ve,{content:"使用 ref.toggle() 切换",ref:r,onOpen:c,onClose:u,children:n.jsx(z,{onClick:()=>{var p;return(p=r.current)==null?void 0:p.toggle()},children:"切换显示"})})]})]})]})},FP=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Bn,{title:e("components.tooltip.title"),description:e("components.tooltip.description")}),n.jsx(TP,{})]})},BP="_section_vu6u0_43",OP="_group_vu6u0_61",DP="_demo_vu6u0_71",UP="_menuContent_vu6u0_77",HP="_selectContent_vu6u0_80",WP="_datepickerContent_vu6u0_84",qP="_colorpickerContent_vu6u0_88",VP="_cascaderContent_vu6u0_92",KP="_autocompleteContent_vu6u0_97",GP="_edgeCases_vu6u0_101",QP="_overflowContainer_vu6u0_101",JP="_scrollContainer_vu6u0_110",YP="_scrollContent_vu6u0_118",XP="_typeContent_vu6u0_124",ZP="_menuItems_vu6u0_127",eA="_menuItem_vu6u0_127",tA="_selectItem_vu6u0_128",nA="_selectItems_vu6u0_129",rA="_placementGrid_vu6u0_139",iA="_animationDemo_vu6u0_153",sA="_fast_vu6u0_153",aA="_slow_vu6u0_156",oA="_focusDemo_vu6u0_159",lA="_demoContainer_vu6u0_163",cA="_popperContent_vu6u0_171",dA="_disabled_vu6u0_204",uA="_menuIcon_vu6u0_213",pA="_menuItemContent_vu6u0_218",hA="_menuItemLabel_vu6u0_222",mA="_menuItemDescription_vu6u0_227",fA="_selectItemContent_vu6u0_243",gA="_selectItemName_vu6u0_248",xA="_selectItemEmail_vu6u0_253",vA="_selectItemStatus_vu6u0_258",jA="_virtualListItem_vu6u0_272",_A="_virtualListItemContent_vu6u0_282",yA="_virtualListItemHeader_vu6u0_287",bA="_virtualListItemName_vu6u0_294",wA="_virtualListItemActivity_vu6u0_298",CA="_virtualListItemEmail_vu6u0_303",te={section:BP,group:OP,demo:DP,menuContent:UP,selectContent:HP,datepickerContent:WP,colorpickerContent:qP,cascaderContent:VP,autocompleteContent:KP,edgeCases:GP,overflowContainer:QP,scrollContainer:JP,scrollContent:YP,typeContent:XP,menuItems:ZP,menuItem:eA,selectItem:tA,selectItems:nA,placementGrid:rA,animationDemo:iA,fast:sA,slow:aA,focusDemo:oA,demoContainer:lA,popperContent:cA,disabled:dA,menuIcon:uA,menuItemContent:pA,menuItemLabel:hA,menuItemDescription:mA,selectItemContent:fA,selectItemName:gA,selectItemEmail:xA,selectItemStatus:vA,在线:"_在线_vu6u0_263",离线:"_离线_vu6u0_267",virtualListItem:jA,virtualListItemContent:_A,virtualListItemHeader:yA,virtualListItemName:bA,virtualListItemActivity:wA,virtualListItemEmail:CA,"accordion-down":"_accordion-down_vu6u0_1","accordion-up":"_accordion-up_vu6u0_1"},kA=()=>{const[e,t]=y.useState(null),r=y.useRef({}),i=d=>{t(f=>f===d?null:d)},s=["top","topStart","topEnd","bottom","bottomStart","bottomEnd","left","leftStart","leftEnd","right","rightStart","rightEnd"],a=["default","primary","secondary","success","warning","error"],o=["default","menu","select","tooltip"],l=["auto","small","medium","large"],c=[{id:"width-height",title:"自定义尺寸",style:{width:300,height:300,padding:"16px"}},{id:"max-size",title:"max-size 设置尺寸",style:{width:300,maxHeight:400,overflow:"auto"}},{id:"min-size",title:"最小尺寸",style:{minWidth:150,minHeight:80}}],u=[{id:"default-arrow",title:"默认箭头",props:{arrow:!0}},{id:"colored-arrow",title:"彩色箭头",props:{arrow:!0,popperStyle:{backgroundColor:"#1890ff",color:"#fff"}}}],p=[{id:"quick-fade",title:"快速淡入",animation:{duration:100,easing:"ease-out"}},{id:"slow-bounce",title:"缓慢弹出",animation:{duration:800,easing:"cubic-bezier(0.68, -0.55, 0.265, 1.55)"}}],m=[{id:"offset-up",title:"向上偏移",offset:{x:0,y:-20}},{id:"offset-right",title:"向右偏移",offset:{x:20,y:0}}],h="这是一段很长的文本内容,用来测试不同尺寸下的文本展示效果。当文本内容超出容器宽度时,可以选择单行滚动或者多行折行显示。",x=[{icon:"🏠",label:"首页",description:"返回首页"},{icon:"📝",label:"编辑",description:"编辑当前内容"},{icon:"💾",label:"保存",description:"保存更改"},{icon:"🗑️",label:"删除",description:"删除当前项"},{icon:"⚙️",label:"设置",description:"系统设置"}].concat(Array(10).fill(null).map((d,f)=>({icon:"📄",label:`更多选项 ${f+1}`,description:`额外选项描述 ${f+1}`}))),_=Array(20).fill(null).map((d,f)=>({id:f,avatar:`https://i.pravatar.cc/40?img=${f}`,name:`用户 ${f+1}`,email:`user${f+1}@example.com`,status:f%3===0?"在线":"离线"})),b=Array(1e3).fill(null).map((d,f)=>({id:f,metadata:{avatar:`https://i.pravatar.cc/40?img=${f%70}`,name:`用户 ${f+1}`,email:`user${f+1}@example.com`,activity:`最近活动 ${Math.floor(Math.random()*24)} 小时前`}})),k=[{id:"size-auto",title:"Auto Size",size:"auto",content:"这是自动尺寸的 Popper,宽高会根据内容自动调整"},{id:"size-small",title:"Small Size",size:"small",content:"这是一个小尺寸的 Popper,默认宽度 200px,高度 120px"},{id:"size-medium",title:"Medium Size",size:"medium",content:"这是一个中等尺寸的 Popper,默认宽度 300px,高度 200px"},{id:"size-large",title:"Large Size",size:"large",content:"这是一个大尺寸的 Popper,默认宽度 400px,高度 300px"}],j=[{id:"auto-single",title:"Auto 单行",size:"auto",multiline:!1,content:"这是一段单行文本,超出部分会水平滚动而不是换行。".repeat(3),width:300,height:""},{id:"auto-multi",title:"Auto 多行",size:"auto",multiline:!0,content:"这是一段多行文本,会自动换行显示。".repeat(5),width:300,height:200}];return n.jsxs("div",{className:te.section,children:[n.jsx("h3",{children:"基础用法"}),n.jsx("div",{className:te.group,children:n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:d=>r.current.basic=d,onClick:()=>i("basic"),children:"基础 Popper"}),n.jsx(at,{visible:e==="basic",anchorEl:r.current.basic,onClickAway:()=>t(null),children:n.jsx("div",{className:te.popperContent,children:"这是一个基础的 Popper 示例"})})]})}),n.jsx("h3",{children:"位置展示"}),n.jsx("div",{className:te.placementGrid,children:s.map(d=>n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:f=>r.current[`placement-${d}`]=f,onClick:()=>i(`placement-${d}`),children:d}),n.jsx(at,{visible:e===`placement-${d}`,anchorEl:r.current[`placement-${d}`],placement:d,arrow:!0,onClickAway:()=>t(null),children:n.jsxs("div",{className:te.popperContent,children:[d," 位置"]})})]},d))}),n.jsx("h3",{children:"类型展示"}),n.jsx("div",{className:te.group,children:o.map(d=>n.jsxs("div",{className:te.demoContainer,children:[n.jsxs(z,{ref:f=>r.current[`type-${d}`]=f,onClick:()=>i(`type-${d}`),children:[d," 类型"]}),n.jsxs(at,{visible:e===`type-${d}`,anchorEl:r.current[`type-${d}`],type:d,height:["menu","select"].includes(d)?400:"auto",arrow:!0,onClickAway:()=>t(null),children:[d==="menu"&&n.jsx("div",{className:te.menuContent,children:x.map((f,v)=>n.jsxs("div",{className:`${te.menuItem} ${v===3?te.disabled:""}`,children:[n.jsx("span",{className:te.menuIcon,children:f.icon}),n.jsxs("div",{className:te.menuItemContent,children:[n.jsx("div",{className:te.menuItemLabel,children:f.label}),n.jsx("div",{className:te.menuItemDescription,children:f.description})]})]},v))}),d==="select"&&n.jsx("div",{className:te.selectContent,children:_.map(f=>n.jsxs("div",{className:te.selectItem,children:[n.jsx(rt,{src:f.avatar,size:"small"}),n.jsxs("div",{className:te.selectItemContent,children:[n.jsx("div",{className:te.selectItemName,children:f.name}),n.jsx("div",{className:te.selectItemEmail,children:f.email})]}),n.jsx("span",{className:`${te.selectItemStatus} ${te[f.status]}`,children:f.status})]},f.id))}),d==="tooltip"&&n.jsx("div",{className:te.tooltipContent,children:"这是一个提示信息"}),d==="default"&&n.jsx("div",{className:te.defaultContent,children:"默认内容"})]})]},d))}),n.jsx("h3",{children:"尺寸展示"}),n.jsx("h4",{children:"单行模式(横向滚动)"}),n.jsx("div",{className:te.group,children:l.map(d=>n.jsxs("div",{className:te.demoContainer,children:[n.jsxs(z,{ref:f=>r.current[`size-single-${d}`]=f,onClick:()=>i(`size-single-${d}`),children:[d," 尺寸(单行)"]}),n.jsx(at,{visible:e===`size-single-${d}`,anchorEl:r.current[`size-single-${d}`],size:d,width:d==="auto"?200:"",height:d==="auto"?"auto":"",arrow:!0,multiline:!1,onClickAway:()=>t(null),children:n.jsx("div",{className:te.popperContent,children:h})})]},`single-${d}`))}),n.jsx("h4",{children:"多行模式(自动折行)"}),n.jsx("div",{className:te.group,children:l.map(d=>n.jsxs("div",{className:te.demoContainer,children:[n.jsxs(z,{ref:f=>r.current[`size-multi-${d}`]=f,onClick:()=>i(`size-multi-${d}`),children:[d," 尺寸(多行)"]}),n.jsx(at,{visible:e===`size-multi-${d}`,anchorEl:r.current[`size-multi-${d}`],size:d,width:d==="auto"?300:"",height:d==="auto"?200:"",arrow:!0,multiline:!0,onClickAway:()=>t(null),children:n.jsx("div",{className:te.popperContent,children:h.repeat(20)})})]},`multi-${d}`))}),n.jsx("h3",{children:"样式变体"}),n.jsx("div",{className:te.group,children:a.map(d=>n.jsxs("div",{className:te.demoContainer,children:[n.jsxs(z,{ref:f=>r.current[`variant-${d}`]=f,onClick:()=>i(`variant-${d}`),variant:d==="default"?"retry":d,children:[d," 样式"]}),n.jsx(at,{visible:e===`variant-${d}`,anchorEl:r.current[`variant-${d}`],variant:d,arrow:!0,onClickAway:()=>t(null),children:n.jsxs("div",{className:te.popperContent,children:[d," 样式的 Popper"]})})]},d))}),n.jsx("h3",{children:"动画效果"}),n.jsxs("div",{className:te.group,children:[n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:d=>r.current["animation-fast"]=d,onClick:()=>i("animation-fast"),children:"快速动画"}),n.jsx(at,{visible:e==="animation-fast",anchorEl:r.current["animation-fast"],animation:{duration:5e3,easing:"ease-out"},arrow:!0,onClickAway:()=>t(null),children:n.jsx("div",{children:"快速动画效果"})})]}),n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:d=>r.current["animation-slow"]=d,onClick:()=>i("animation-slow"),children:"慢速动画"}),n.jsx(at,{visible:e==="animation-slow",anchorEl:r.current["animation-slow"],animation:{duration:5e3,easing:"ease-in-out"},arrow:!0,onClickAway:()=>t(null),children:n.jsx("div",{children:"慢速动画效果"})})]})]}),n.jsx("h3",{children:"边界情况"}),n.jsxs("div",{className:te.edgeCases,children:[n.jsx("h4",{children:"溢出容器"}),n.jsx("div",{className:te.overflowContainer,children:n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:d=>r.current.overflow=d,onClick:()=>i("overflow"),children:"溢出测试"}),n.jsx(at,{visible:e==="overflow",anchorEl:r.current.overflow,arrow:!0,onClickAway:()=>t(null),children:n.jsx("div",{children:"测试溢出行为"})})]})}),n.jsx("h4",{children:"滚动容器"}),n.jsx("div",{className:te.scrollContainer,children:n.jsx("div",{className:te.scrollContent,children:n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:d=>r.current.scroll=d,onClick:()=>i("scroll"),children:"滚动测试"}),n.jsx(at,{visible:e==="scroll",anchorEl:r.current.scroll,arrow:!0,onClickAway:()=>t(null),children:n.jsx("div",{children:"测试滚动行为"})})]})})}),n.jsx("h4",{children:"嵌套 Popper"}),n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:d=>r.current["nested-1"]=d,onClick:()=>i("nested-1"),children:"嵌套 Popper"}),n.jsx(at,{visible:e==="nested-1",anchorEl:r.current["nested-1"],arrow:!0,onClickAway:()=>t(null),children:n.jsxs("div",{style:{padding:"8px"},children:[n.jsx("div",{children:"这是第一层 Popper"}),n.jsx(z,{ref:d=>r.current["nested-2"]=d,onClick:()=>i("nested-2"),style:{marginTop:8},children:"打开嵌套层"}),n.jsx(at,{visible:e==="nested-2",anchorEl:r.current["nested-2"],arrow:!0,onClickAway:()=>t(null),children:n.jsx("div",{children:"嵌套的 Popper 内容"})})]})})]})]}),n.jsx("h3",{children:"自定义样式"}),n.jsx("div",{className:te.group,children:c.map(({id:d,title:f,style:v})=>n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:w=>r.current[d]=w,onClick:()=>i(d),children:f}),n.jsx(at,{visible:e===d,anchorEl:r.current[d],popperStyle:v,onClickAway:()=>t(null),children:n.jsxs("div",{children:[n.jsx("h4",{children:f}),n.jsx("p",{children:"自定义样式示例内容"}),v.overflow==="auto"&&n.jsx("div",{children:Array(10).fill(null).map((w,g)=>n.jsxs("p",{children:["滚动内容 ",g+1]},g))})]})})]},d))}),n.jsx("h3",{children:"箭头样式"}),n.jsx("div",{className:te.group,children:u.map(({id:d,title:f,props:v})=>n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:w=>r.current[d]=w,onClick:()=>i(d),children:f}),n.jsx(at,{visible:e===d,anchorEl:r.current[d],...v,onClickAway:()=>t(null),children:n.jsx("div",{children:f})})]},d))}),n.jsx("h3",{children:"动画效果"}),n.jsx("div",{className:te.group,children:p.map(({id:d,title:f,animation:v})=>n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:w=>r.current[d]=w,onClick:()=>i(d),children:f}),n.jsx(at,{visible:e===d,anchorEl:r.current[d],animation:v,arrow:!0,onClickAway:()=>t(null),children:n.jsx("div",{children:f})})]},d))}),n.jsx("h3",{children:"位置偏移"}),n.jsx("div",{className:te.group,children:m.map(({id:d,title:f,offset:v})=>n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:w=>r.current[d]=w,onClick:()=>i(d),children:f}),n.jsx(at,{visible:e===d,anchorEl:r.current[d],offset:v,arrow:!0,onClickAway:()=>t(null),children:n.jsx("div",{children:f})})]},d))}),n.jsx("h3",{children:"开关动画"}),n.jsx("div",{className:te.group,children:n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:d=>r.current.toggle=d,onClick:()=>i("toggle"),children:"切换显示"}),n.jsx(at,{visible:e==="toggle",anchorEl:r.current.toggle,arrow:!0,animation:{duration:300,easing:"ease-in-out"},onClickAway:()=>t(null),children:n.jsx("div",{children:"点击按钮或外部区域关闭"})})]})}),n.jsx("h3",{children:"触发方式"}),n.jsx("div",{className:te.group,children:["hover","click","contextMenu","focus","manual"].map(d=>n.jsxs("div",{className:te.demoContainer,children:[n.jsxs(z,{ref:f=>r.current[`trigger-${d}`]=f,onMouseEnter:()=>d==="hover"&&i(`trigger-${d}`),onMouseLeave:()=>d==="hover"&&t(null),onClick:()=>d==="click"&&i(`trigger-${d}`),onContextMenu:f=>{d==="contextMenu"&&(f.preventDefault(),i(`trigger-${d}`))},onFocus:()=>d==="focus"&&i(`trigger-${d}`),onBlur:()=>d==="focus"&&t(null),children:[d," 触发"]}),n.jsx(at,{visible:e===`trigger-${d}`,anchorEl:r.current[`trigger-${d}`],trigger:d,onVisibleChange:f=>{console.log(`${d} visibility changed:`,f),t(f?`trigger-${d}`:null)},onClickAway:()=>t(null),children:n.jsxs("div",{children:["通过 ",d," 触发的内容"]})})]},d))}),n.jsx("h3",{children:"虚拟滚动列表"}),n.jsx("div",{className:te.group,children:n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:d=>r.current["virtual-list"]=d,onClick:()=>i("virtual-list"),children:"显示虚拟列表"}),n.jsx(at,{visible:e==="virtual-list",anchorEl:r.current["virtual-list"],scrollable:!1,popperStyle:{padding:0},width:300,height:400,onClickAway:()=>t(null),children:n.jsx(na,{items:b,maxHeight:400,itemHeight:72,renderItem:d=>{var f,v,w,g;return n.jsxs("div",{className:te.virtualListItem,children:[n.jsx(rt,{src:(f=d.metadata)==null?void 0:f.avatar,size:"medium"}),n.jsxs("div",{className:te.virtualListItemContent,children:[n.jsxs("div",{className:te.virtualListItemHeader,children:[n.jsx("span",{className:te.virtualListItemName,children:(v=d.metadata)==null?void 0:v.name}),n.jsx("span",{className:te.virtualListItemActivity,children:(w=d.metadata)==null?void 0:w.activity})]}),n.jsx("div",{className:te.virtualListItemEmail,children:(g=d.metadata)==null?void 0:g.email})]})]})}})})]})}),n.jsx("h3",{children:"点击外部处理"}),n.jsx("div",{className:te.group,children:n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:d=>r.current.clickaway=d,onClick:()=>i("clickaway"),children:"打开菜单"}),n.jsx(at,{visible:e==="clickaway",anchorEl:r.current.clickaway,onClickAway:d=>{d.target.closest(".safe-zone")||t(null)},children:n.jsxs("div",{className:"safe-zone",children:[n.jsx("div",{children:"这是安全区域,点击不会关闭"}),n.jsx(z,{onClick:()=>t(null),children:"手动关闭"})]})})]})}),n.jsx("h3",{children:"Size 预设尺寸"}),n.jsx("div",{className:te.group,children:k.map(({id:d,title:f,size:v,content:w})=>n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:g=>r.current[d]=g,onClick:()=>i(d),children:f}),n.jsx(at,{visible:e===d,anchorEl:r.current[d],size:v,arrow:!0,onClickAway:()=>t(null),children:n.jsxs("div",{className:te.popperContent,children:[n.jsx("h4",{children:f}),n.jsx("p",{children:w})]})})]},d))}),n.jsx("h3",{children:"Auto 尺寸内容展示"}),n.jsx("div",{className:te.group,children:j.map(({id:d,title:f,size:v,multiline:w,content:g,width:N,height:S})=>n.jsxs("div",{className:te.demoContainer,children:[n.jsx(z,{ref:L=>r.current[d]=L,onClick:()=>i(d),children:f}),n.jsx(at,{visible:e===d,anchorEl:r.current[d],size:v,width:N,height:S,multiline:w,arrow:!0,onClickAway:()=>t(null),children:n.jsxs("div",{className:te.popperContent,children:[n.jsx("h4",{children:f}),n.jsx("p",{children:g})]})})]},d))})]})},SA=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Bn,{title:e("components.popper.title"),description:e("components.popper.description")}),n.jsx(kA,{})]})},NA="_section_15ptb_42",zA="_group_15ptb_54",Qt={section:NA,group:zA,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},$A=()=>{const e=()=>{console.log("Search button clicked")};return n.jsxs("div",{className:Qt.section,children:[n.jsx("h3",{children:"SearchButton"}),n.jsx("p",{children:"A button component with a search icon, used for search functionality."}),n.jsx("h3",{children:"Search Button Sizes"}),n.jsxs("div",{className:Qt.group,children:[n.jsx(ie,{size:"small"}),n.jsx(ie,{size:"medium"}),n.jsx(ie,{size:"large"})]}),n.jsx("h3",{children:"Search Button States"}),n.jsxs("div",{className:Qt.group,children:[n.jsx(ie,{disabled:!0}),n.jsx(ie,{loading:!0}),n.jsx(ie,{active:!0})]}),n.jsx("h3",{children:"Search Button Shapes"}),n.jsxs("div",{className:Qt.group,children:[n.jsx(ie,{shape:"square"}),n.jsx(ie,{shape:"rounded"}),n.jsx(ie,{shape:"circle"})]}),n.jsx("h3",{children:"Custom Styles"}),n.jsxs("div",{className:Qt.group,children:[n.jsx(ie,{bgColor:"#6200ee",textColor:"#ffffff",hoverBgColor:"#3700b3"}),n.jsx(ie,{borderRadius:"20px",borderColor:"#2196f3",borderWidth:"2px"})]}),n.jsx("h3",{children:"Search Text"}),n.jsxs("div",{className:Qt.group,children:[n.jsx(ie,{onClick:e,children:"Search"}),n.jsx(ie,{onClick:e,variant:"error",children:"Search"}),n.jsx(ie,{onClick:e,variant:"warning",children:"Search"}),n.jsx(ie,{onClick:e,variant:"success",children:"Search"}),n.jsx(ie,{onClick:e,variant:"info",children:"Search"}),n.jsx(ie,{onClick:e,shape:"square",children:"Search"}),n.jsx(ie,{onClick:e,shape:"rounded",children:"Search"}),n.jsx(ie,{onClick:e,animation:"expand",children:"Search"}),n.jsx(ie,{onClick:e,animation:"shrink",children:"Search"}),n.jsx(ie,{onClick:e,disabled:!0,children:"Search"})]}),n.jsx("h3",{children:"Search Text Size"}),n.jsxs("div",{className:Qt.group,children:[n.jsx(ie,{onClick:e,size:"small",children:"Search"}),n.jsx(ie,{onClick:e,size:"medium",children:"Search"}),n.jsx(ie,{onClick:e,size:"large",children:"Search"}),n.jsx(ie,{onClick:e,size:"xlarge",children:"Search"}),n.jsx(ie,{onClick:e,children:"Search"})]}),n.jsx("h3",{children:"Search Text Color"}),n.jsxs("div",{className:Qt.group,children:[n.jsx(ie,{onClick:e,color:"#fff",children:"Text"}),n.jsx(ie,{onClick:e,color:"#000",children:"Test case"})]}),n.jsx("h3",{children:"Search variant"}),n.jsxs("div",{className:Qt.group,children:[n.jsx(ie,{onClick:e}),n.jsx(ie,{onClick:e,variant:"error"}),n.jsx(ie,{onClick:e,variant:"warning"}),n.jsx(ie,{onClick:e,variant:"success"}),n.jsx(ie,{onClick:e,variant:"info"}),n.jsx(ie,{onClick:e,disabled:!0,iconColor:"#fff"})]}),n.jsx("h3",{children:"Search Shape"}),n.jsxs("div",{className:Qt.group,children:[n.jsx(ie,{onClick:e,shape:"square"}),n.jsx(ie,{onClick:e,shape:"rounded"}),n.jsx(ie,{onClick:e,shape:"circle"})]}),n.jsx("h3",{children:"Search Animation"}),n.jsxs("div",{className:Qt.group,children:[n.jsx(ie,{onClick:e}),n.jsx(ie,{onClick:e,animation:"none"}),n.jsx(ie,{onClick:e,animation:"expand"}),n.jsx(ie,{onClick:e,animation:"shrink"}),n.jsx(ie,{onClick:e,animation:"shake"})]}),n.jsx("h3",{children:"Search Size"}),n.jsxs("div",{className:Qt.group,children:[n.jsx(ie,{onClick:e,size:"small"}),n.jsx(ie,{onClick:e,size:"medium"}),n.jsx(ie,{onClick:e,size:"large"}),n.jsx(ie,{onClick:e,size:"xlarge"}),n.jsx(ie,{onClick:e})]}),n.jsx("h3",{children:"Search Icon Color"}),n.jsxs("div",{className:Qt.group,children:[n.jsx(ie,{onClick:e,iconColor:"#000000"}),n.jsx(ie,{onClick:e,iconColor:"#ff0000"}),n.jsx(ie,{onClick:e,iconColor:"#00ff00"}),n.jsx(ie,{onClick:e,iconColor:"#0000ff"})]}),n.jsx("h3",{children:"Search Background Color"}),n.jsxs("div",{className:Qt.group,children:[n.jsx(ie,{onClick:e,bgColor:"#000000"}),n.jsx(ie,{onClick:e,bgColor:"#ff0000"}),n.jsx(ie,{onClick:e,bgColor:"#00ff00"}),n.jsx(ie,{onClick:e,bgColor:"#0000ff"})]}),n.jsx("h3",{children:"Search Loading"}),n.jsxs("div",{className:Qt.group,children:[n.jsx(ie,{onClick:e,loading:!0}),n.jsx(ie,{onClick:e,loading:!0,variant:"error"}),n.jsx(ie,{onClick:e,loading:!0,variant:"warning"}),n.jsx(ie,{onClick:e,loading:!0,variant:"success"}),n.jsx(ie,{onClick:e,loading:!0,variant:"info"}),n.jsx(ie,{onClick:e,loading:!0,disabled:!0,iconColor:"#000"})]}),n.jsx("h3",{children:"Search Button Variants"}),n.jsxs("div",{className:Qt.group,children:[n.jsx(ie,{onClick:e}),n.jsx(ie,{variant:"primary"}),n.jsx(ie,{variant:"secondary"}),n.jsx(ie,{variant:"success",onClick:e}),n.jsx(ie,{variant:"warning",onClick:e}),n.jsx(ie,{variant:"error",onClick:e})]})]})},LA=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Bn,{title:e("components.searchButton.title"),description:e("components.searchButton.description")}),n.jsx($A,{})]})},EA="_section_15ptb_42",IA="_group_15ptb_54",gi={section:EA,group:IA,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},RA=()=>n.jsxs("div",{className:gi.section,children:[n.jsx("h3",{children:"Status Types"}),n.jsxs("div",{className:gi.group,children:[n.jsx(Pe,{type:"online",showLabel:!0}),n.jsx(Pe,{type:"offline",showLabel:!0}),n.jsx(Pe,{type:"away",showLabel:!0}),n.jsx(Pe,{type:"busy",showLabel:!0})]}),n.jsx("h3",{children:"Status Sizes"}),n.jsxs("div",{className:gi.group,children:[n.jsx(Pe,{type:"online",size:"small"}),n.jsx(Pe,{type:"online",size:"medium"}),n.jsx(Pe,{type:"online",size:"large"})]}),n.jsx("h3",{children:"Status Shapes"}),n.jsxs("div",{className:gi.group,children:[n.jsx(Pe,{type:"online",showLabel:!0}),n.jsx(Pe,{type:"offline",showLabel:!0}),n.jsx(Pe,{type:"away",showLabel:!0}),n.jsx(Pe,{type:"busy",showLabel:!0}),n.jsx(Pe,{status:"success",shape:"circle"}),n.jsx(Pe,{status:"success",shape:"square"}),n.jsx(Pe,{status:"success",shape:"rounded"})]}),n.jsx("h3",{children:"Custom Colors"}),n.jsxs("div",{className:gi.group,children:[n.jsx(Pe,{type:"custom",color:"#9c27b0"}),n.jsx(Pe,{type:"custom",color:"#ff9800"}),n.jsx(Pe,{type:"custom",color:"#2196f3"})]}),n.jsx("h3",{children:"Disabled Status"}),n.jsxs("div",{className:gi.group,children:[n.jsx(Pe,{type:"online",animated:!0}),n.jsx(Pe,{type:"offline",animated:!0}),n.jsx(Pe,{type:"away",animated:!0}),n.jsx(Pe,{type:"busy",animated:!0})]}),n.jsx("h3",{children:"Status Button"}),n.jsxs("div",{className:gi.group,children:[n.jsx(Pe,{status:"success"}),n.jsx(Pe,{status:"error"}),n.jsx(Pe,{status:"warning"}),n.jsx(Pe,{status:"info"}),n.jsx(Pe,{status:"success",shape:"square"}),n.jsx(Pe,{status:"error",shape:"square"}),n.jsx(Pe,{status:"warning",shape:"square"}),n.jsx(Pe,{status:"info",shape:"square"}),n.jsx(Pe,{status:"success",shape:"rounded"}),n.jsx(Pe,{status:"error",shape:"rounded"}),n.jsx(Pe,{status:"warning",shape:"rounded"}),n.jsx(Pe,{status:"info",shape:"rounded"}),n.jsx(Pe,{type:"online",disabled:!0}),n.jsx(Pe,{status:"success",disabled:!0}),n.jsx(Pe,{type:"custom",color:"#9c27b0",disabled:!0})]})]}),PA=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Bn,{title:e("components.statusIndicator.title"),description:e("components.statusIndicator.description")}),n.jsx(RA,{})]})},AA="_section_16f4s_42",MA="_group_16f4s_54",Qi={section:AA,group:MA,"accordion-down":"_accordion-down_16f4s_1","accordion-up":"_accordion-up_16f4s_1"},TA=()=>{const[e,t]=y.useState();return n.jsxs("div",{className:Qi.section,children:[n.jsx("h3",{children:"Basic TimePicker"}),n.jsx("div",{className:Qi.group,children:n.jsx(nr,{value:e,onChange:t,placeholder:"Select time"})}),n.jsx("h3",{children:"Time Format"}),n.jsxs("div",{className:Qi.group,children:[n.jsx(nr,{format:"HH:mm:ss",placeholder:"24-hour format"}),n.jsx(nr,{format:"hh:mm:ss a",use12Hours:!0,placeholder:"12-hour format"}),n.jsx(nr,{format:"HH:mm",showSecond:!1,placeholder:"Without seconds"})]}),n.jsx("h3",{children:"Size Variants"}),n.jsxs("div",{className:Qi.group,children:[n.jsx(nr,{size:"small",placeholder:"Small"}),n.jsx(nr,{size:"medium",placeholder:"Medium"}),n.jsx(nr,{size:"large",placeholder:"Large"})]}),n.jsx("h3",{children:"States"}),n.jsxs("div",{className:Qi.group,children:[n.jsx(nr,{disabled:!0,placeholder:"Disabled"}),n.jsx(nr,{minTime:new Date(2024,0,1,9,0,0),maxTime:new Date(2024,0,1,18,0,0),placeholder:"9:00 - 18:00"})]}),n.jsx("h3",{children:"Step Options"}),n.jsx("div",{className:Qi.group,children:n.jsx(nr,{hourStep:2,minuteStep:15,secondStep:15})})]})},FA=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Bn,{title:e("components.timePicker.title"),description:e("components.timePicker.description")}),n.jsx(TA,{})]})},BA="_section_15rlq_42",OA="_group_15rlq_54",DA="_description_15rlq_63",UA="_listItem_15rlq_69",HA="_itemHeader_15rlq_78",WA="_itemContent_15rlq_84",qA="_itemTitle_15rlq_87",VA="_itemMeta_15rlq_93",KA="_metadata_15rlq_110",GA="_status_15rlq_122",QA="_active_15rlq_127",JA="_inactive_15rlq_131",YA="_pending_15rlq_135",XA="_priority_15rlq_139",ZA="_high_15rlq_139",eM="_medium_15rlq_142",tM="_low_15rlq_145",nM="_controls_15rlq_149",rM="_info_15rlq_155",De={section:BA,group:OA,description:DA,listItem:UA,itemHeader:HA,itemContent:WA,itemTitle:qA,itemMeta:VA,metadata:KA,status:GA,active:QA,inactive:JA,pending:YA,priority:XA,high:ZA,medium:eM,low:tM,controls:nM,info:rM,"accordion-down":"_accordion-down_15rlq_1","accordion-up":"_accordion-up_15rlq_1"},Js=(e,t)=>Array.from({length:t},(r,i)=>({id:e+i,metadata:{title:`Item ${e+i}`,description:`This is the description for item ${e+i}`,timestamp:Date.now()-Math.floor(Math.random()*1e7),status:i%3===0?"active":i%3===1?"inactive":"pending",author:`User ${i%5}`,category:`Category ${i%3}`,priority:i%4===0?"high":i%4===1?"medium":"low",avatar:`https://i.pravatar.cc/150?u=${i}`}})),iM=()=>{const[e]=y.useState(()=>Js(0,100)),[t,r]=y.useState(()=>Js(0,50)),[i,s]=y.useState(!1),[a,o]=y.useState(()=>Js(0,1e3)),[l,c]=y.useState(!1),u=y.useCallback(async()=>{s(!0);try{await new Promise(x=>setTimeout(x,1e3)),r(x=>[...x,...Js(x.length,20)])}finally{s(!1)}},[]),p=y.useCallback(async x=>{c(!0);try{await new Promise(_=>setTimeout(_,1e3)),o(Js(0,x))}finally{c(!1)}},[]),m=y.useCallback(x=>{var _,b,k;return n.jsxs("div",{className:De.listItem,children:[n.jsxs("div",{className:De.itemHeader,children:[n.jsx(rt,{size:"small",src:(_=x.metadata)==null?void 0:_.avatar}),n.jsx("div",{className:De.itemTitle,children:(b=x==null?void 0:x.metadata)==null?void 0:b.title})]}),n.jsx("div",{className:De.description,children:(k=x==null?void 0:x.metadata)==null?void 0:k.description})]})},[]),h=y.useCallback(x=>{var _,b,k,j,d,f,v,w,g,N,S;return n.jsxs("div",{className:De.listItem,children:[n.jsxs("div",{className:De.itemHeader,children:[n.jsx(rt,{size:"medium",src:(_=x.metadata)==null?void 0:_.avatar}),n.jsxs("div",{className:De.itemContent,children:[n.jsx("div",{className:De.itemTitle,children:(b=x==null?void 0:x.metadata)==null?void 0:b.title}),n.jsxs("div",{className:De.itemMeta,children:[n.jsxs("span",{className:De.author,children:[n.jsx(Jr,{size:12}),(k=x.metadata)==null?void 0:k.author]}),n.jsxs("span",{className:De.timestamp,children:[n.jsx(Vd,{size:12}),new Date((j=x==null?void 0:x.metadata)==null?void 0:j.timestamp).toLocaleString()]})]})]}),((d=x==null?void 0:x.metadata)==null?void 0:d.status)&&n.jsx("div",{className:`${De.status} ${De[(f=x==null?void 0:x.metadata)==null?void 0:f.status]}`,children:(v=x==null?void 0:x.metadata)==null?void 0:v.status})]}),n.jsx("div",{className:De.description,children:(w=x==null?void 0:x.metadata)==null?void 0:w.description}),n.jsxs("div",{className:De.metadata,children:[n.jsxs("span",{className:De.category,children:[n.jsx(ME,{size:12}),(g=x==null?void 0:x.metadata)==null?void 0:g.category]}),n.jsxs("span",{className:`${De.priority} ${De[((N=x==null?void 0:x.metadata)==null?void 0:N.priority)||""]}`,children:["Priority: ",(S=x==null?void 0:x.metadata)==null?void 0:S.priority]})]})]})},[]);return n.jsxs("div",{className:De.section,children:[n.jsx("h3",{children:"Basic Virtual List"}),n.jsx("p",{className:De.description,children:"简单列表项展示"}),n.jsx("div",{className:De.group,children:n.jsx("div",{style:{width:"100%",maxWidth:400},children:n.jsx(na,{items:e,maxHeight:320,renderItem:m})})}),n.jsx("h3",{children:"Detailed Virtual List"}),n.jsx("p",{className:De.description,children:"展示更多元数据和复杂布局"}),n.jsx("div",{className:De.group,children:n.jsx("div",{style:{width:"100%",maxWidth:500},children:n.jsx(na,{style:{background:"#d3d3d3"},items:t,maxHeight:360,renderItem:h})})}),n.jsx("h3",{children:"Infinite Scroll with Rich Content"}),n.jsx("p",{className:De.description,children:"无限滚动加载更多数据,展示丰富的内容"}),n.jsxs("div",{className:De.group,children:[n.jsx("div",{style:{width:"100%",maxWidth:500},children:n.jsx(na,{items:t,maxHeight:360,onLoadMore:u,loading:i,loadMoreThreshold:150,renderItem:h})}),n.jsxs("div",{className:De.info,children:["已加载: ",t.length," 条数据"]})]}),n.jsx("h3",{children:"High Performance Mode"}),n.jsx("p",{className:De.description,children:"大数据集的高性能渲染模式,支持不同布局切换"}),n.jsxs("div",{className:De.group,children:[n.jsx("div",{style:{width:"100%",maxWidth:500},children:n.jsx(na,{items:a,maxHeight:400,highPerformance:!0,renderItem:h})}),n.jsxs("div",{className:De.controls,children:[n.jsx(z,{onClick:()=>p(2e4),variant:"primary",loading:l,children:"加载 20,000 条数据"}),n.jsx(z,{onClick:()=>p(5e4),variant:"warning",loading:l,children:"加载 50,000 条数据"}),n.jsxs("div",{className:De.count,children:["当前数据量: ",a.length.toLocaleString()," 条"]})]})]})]})},sM=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Bn,{title:e("components.virtualList.title"),description:e("components.virtualList.description")}),n.jsx(iM,{})]})},aM="_section_nsnyg_42",oM="_group_nsnyg_54",lM="_description_nsnyg_63",vn={section:aM,group:oM,description:lM,"accordion-down":"_accordion-down_nsnyg_1","accordion-up":"_accordion-up_nsnyg_1"},cM=()=>{const[e,t]=y.useState(""),[r,i]=y.useState(!1),[s,a]=y.useState([]),o=[{label:"JavaScript",value:"js",icon:n.jsx(Rc,{}),description:"Popular programming language",group:"Frontend",highlight:!0},{label:"TypeScript",value:"ts",icon:n.jsx(Rc,{}),description:"Typed superset of JavaScript",group:"Frontend"},{label:"Python",value:"py",icon:n.jsx(x6,{}),description:"General-purpose programming language",group:"Backend"},{label:"Node.js",value:"node",icon:n.jsx(g6,{}),description:"JavaScript runtime",group:"Backend",disabled:!0,style:{color:"#43853d"}}];return n.jsxs("div",{className:vn.section,children:[n.jsx("h3",{children:"Basic Mode"}),n.jsxs("p",{className:vn.description,children:["基础模式下的自动完成组件。当前选择: ",e||"未选择"]}),n.jsx("div",{className:vn.group,children:n.jsx("div",{style:{width:300},children:n.jsx(Vi,{name:"basic",label:"Programming Language",mode:"basic",value:e,onChange:t,options:o,textFieldProps:{placeholder:"Type to search...",helperText:"Basic mode with default rendering",size:"medium",clearable:!0}})})}),n.jsx("h3",{children:"Custom Mode"}),n.jsx("p",{className:vn.description,children:"自定义模式允许完全控制选项的渲染方式。"}),n.jsx("div",{className:vn.group,children:n.jsx("div",{style:{width:300},children:n.jsx(Vi,{name:"custom",label:"Custom Rendering",mode:"custom",options:o,textFieldProps:{placeholder:"Custom mode...",helperText:"Custom rendering with icons",size:"medium"},renderOption:l=>n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",padding:"8px",...l.style},children:[l.icon,n.jsxs("div",{children:[n.jsx("div",{style:{fontWeight:500},children:l.label}),n.jsx("small",{style:{color:"#666"},children:l.description})]})]})})})}),n.jsx("h3",{children:"Multiple Selection"}),n.jsxs("p",{className:vn.description,children:["多选模式下的标签展示。已选择: ",s.length]}),n.jsx("div",{className:vn.group,children:n.jsx("div",{style:{width:300},children:n.jsx(Vi,{name:"multiple",label:"Multiple Selection",options:o,multiple:!0,maxTagCount:2,value:s.map(l=>l.label).join(", "),textFieldProps:{placeholder:"Select multiple...",helperText:"Select multiple options",size:"medium"},onSelect:l=>{a(c=>c.some(p=>p.value===l.value)?c.filter(p=>p.value!==l.value):[...c,l])}})})}),n.jsx("h3",{children:"Empty and Loading States"}),n.jsx("p",{className:vn.description,children:"展示空状态和加载状态。"}),n.jsx("div",{className:vn.group,children:n.jsx("div",{style:{width:300},children:n.jsx(Vi,{name:"empty-loading",label:"States Demo",options:[],loading:r,emptyProps:{description:"No results found",icon:n.jsx(Rc,{}),style:{padding:"20px"}},textFieldProps:{placeholder:"Type to search...",helperText:r?"Loading...":"Try searching",disabled:r},popperProps:{width:400,height:400},onChange:()=>{i(!0),setTimeout(()=>i(!1),1e3)}})})}),n.jsx("h3",{children:"Popper Configuration"}),n.jsx("p",{className:vn.description,children:"自定义下拉框的位置和样式。"}),n.jsx("div",{className:vn.group,children:n.jsx("div",{style:{width:300},children:n.jsx(Vi,{name:"popper",label:"Popper Settings",options:o,placement:"bottom",offset:{x:0,y:8},dropdownBgColor:"#f8f9fa",highlightBgColor:"#e9ecef",hoverBgColor:"#dee2e6",animation:!0,textFieldProps:{placeholder:"With popper config...",size:"medium"}})})}),n.jsx("h3",{children:"Event Handling"}),n.jsxs("p",{className:vn.description,children:["展示值变化和选择事件的处理。当前值: ",e]}),n.jsx("div",{className:vn.group,children:n.jsx("div",{style:{width:300},children:n.jsx(Vi,{name:"events",label:"Event Handlers",options:o,value:e,onChange:l=>{t(l),console.log("Value changed:",l)},onSelect:l=>{t(l.label),console.log("Selected:",l)},onOptionClick:l=>console.log("Clicked:",l),onDropdownVisibleChange:l=>console.log("Dropdown:",l),textFieldProps:{placeholder:"Interact to see events...",helperText:"Watch console for events",size:"medium"}})})})]})},dM=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Bn,{title:e("components.autoComplete.title"),description:e("components.autoComplete.description")}),n.jsx(cM,{})]})},uM="_section_nsnyg_42",pM="_group_nsnyg_54",hM="_description_nsnyg_63",Je={section:uM,group:pM,description:hM,"accordion-down":"_accordion-down_nsnyg_1","accordion-up":"_accordion-up_nsnyg_1"},mM=()=>n.jsxs("div",{className:Je.section,children:[n.jsx("h3",{children:"Basic Empty State"}),n.jsx("p",{className:Je.description,children:"基础的空状态展示"}),n.jsxs("div",{className:Je.group,children:[n.jsx(jt,{description:"No Data"}),n.jsx(jt,{description:"使用 SVG 图标",useSvg:!0})]}),n.jsx("h3",{children:"Icon Variants"}),n.jsx("p",{className:Je.description,children:"不同图标类型的展示"}),n.jsxs("div",{className:Je.group,children:[n.jsx(jt,{description:"默认图标"}),n.jsx(jt,{description:"SVG 图标",useSvg:!0}),n.jsx(jt,{icon:n.jsx(N1,{size:40}),description:"自定义图标"})]}),n.jsx("h3",{children:"Custom Icons"}),n.jsx("p",{className:Je.description,children:"自定义图标的空状态"}),n.jsxs("div",{className:Je.group,children:[n.jsx(jt,{icon:n.jsx(N1,{size:40}),description:"收件箱为空"}),n.jsx(jt,{icon:n.jsx(Gd,{size:40}),description:"未找到搜索结果"}),n.jsx(jt,{icon:n.jsx(S1,{size:40}),description:"暂无文档"}),n.jsx(jt,{icon:n.jsx(PE,{size:40}),description:"暂无图片"})]}),n.jsx("h3",{children:"With Actions"}),n.jsx("p",{className:Je.description,children:"带操作按钮的空状态"}),n.jsxs("div",{className:Je.group,children:[n.jsx(jt,{description:"购物车为空",useSvg:!0,children:n.jsx(z,{variant:"primary",children:"去购物"})}),n.jsx(jt,{description:"暂无文件",icon:n.jsx(S1,{size:40}),children:n.jsx(z,{variant:"primary",children:"上传文件"})}),n.jsx(jt,{description:"数据为空",icon:n.jsx($E,{size:40}),children:n.jsxs("div",{className:Je.actions,children:[n.jsx(z,{variant:"primary",children:"导入数据"}),n.jsx(z,{children:"刷新"})]})})]}),n.jsx("h3",{children:"Custom Styles"}),n.jsx("p",{className:Je.description,children:"自定义样式的空状态"}),n.jsxs("div",{className:Je.group,children:[n.jsx(jt,{icon:n.jsx(IE,{size:40,color:"#faad14"}),description:"出错了",className:Je.warningEmpty,children:n.jsx(z,{variant:"warning",children:"重试"})}),n.jsx(jt,{useSvg:!0,description:n.jsxs("div",{className:Je.customDescription,children:[n.jsx("h4",{children:"暂无数据"}),n.jsx("p",{children:"请稍后再试"})]}),className:Je.infoEmpty})]}),n.jsx("h3",{children:"With, height, shadow, backgroundColor, color"}),n.jsxs("div",{className:Je.group,children:[n.jsx(jt,{width:"200px",height:"200px",showShadow:!0,backgroundColor:"#fff",color:"#000"}),n.jsx(jt,{width:300,height:300,showShadow:!0,backgroundColor:"#fff",color:"#000",children:n.jsx(z,{variant:"primary",children:"重新加载"})}),n.jsx(jt,{width:300,height:500,showShadow:!0,backgroundColor:"#fff",color:"#000",children:n.jsx(z,{variant:"primary",children:"重新加载"})})]}),n.jsx("h3",{children:"Complex Empty States"}),n.jsx("p",{className:Je.description,children:"复杂的空状态展示"}),n.jsxs("div",{className:Je.group,children:[n.jsx(jt,{icon:n.jsx(Gd,{size:40}),description:n.jsxs("div",{className:Je.complexDescription,children:[n.jsx("h4",{children:"未找到匹配结果"}),n.jsx("p",{children:"试试其他搜索条件"}),n.jsxs("ul",{children:[n.jsx("li",{children:"检查输入是否正确"}),n.jsx("li",{children:"使用更少的筛选条件"}),n.jsx("li",{children:"使用更通用的关键词"})]})]}),className:Je.searchEmpty,children:n.jsxs("div",{className:Je.actions,children:[n.jsx(z,{variant:"primary",children:"清除筛选"}),n.jsx(z,{children:"返回"})]})}),n.jsx(jt,{useSvg:!0,description:n.jsxs("div",{className:Je.complexDescription,children:[n.jsx("h4",{children:"数据加载失败"}),n.jsx("p",{children:"可能的原因:"}),n.jsxs("ul",{children:[n.jsx("li",{children:"网络连接不稳定"}),n.jsx("li",{children:"服务器暂时不可用"}),n.jsx("li",{children:"数据权限不足"})]})]}),className:Je.errorEmpty,children:n.jsx(z,{variant:"primary",children:"重新加载"})}),n.jsx(jt,{useSvg:!0,showShadow:!0,description:n.jsxs("div",{className:Je.complexDescription,children:[n.jsx("h4",{children:"数据加载失败"}),n.jsx("p",{children:"可能的原因:"}),n.jsxs("ul",{children:[n.jsx("li",{children:"网络连接不稳定"}),n.jsx("li",{children:"服务器暂时不可用"}),n.jsx("li",{children:"数据权限不足"})]})]}),className:Je.errorEmpty,children:n.jsx(z,{variant:"primary",children:"重新加载"})}),n.jsx(jt,{useSvg:!0,showShadow:!0,backgroundColor:"#ff9800",color:"#fff",description:n.jsxs("div",{className:Je.complexDescription,children:[n.jsx("h4",{children:"数据加载失败"}),n.jsx("p",{children:"可能的原因:"}),n.jsxs("ul",{children:[n.jsx("li",{children:"网络连接不稳定"}),n.jsx("li",{children:"服务器暂时不可用"}),n.jsx("li",{children:"数据权限不足"})]})]}),className:Je.errorEmpty,children:n.jsx(z,{variant:"primary",children:"重新加载"})})]})]}),fM=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Bn,{title:e("components.empty.title"),description:e("components.empty.description")}),n.jsx(mM,{})]})},gM="_section_erl0y_42",xM="_group_erl0y_54",vM="_description_erl0y_66",tt={section:gM,group:xM,description:vM,"accordion-down":"_accordion-down_erl0y_1","accordion-up":"_accordion-up_erl0y_1"},jM=()=>{const e=[{value:"zhejiang",label:"浙江",children:[{value:"hangzhou",label:"杭州",children:[{value:"xihu",label:"西湖"}]}]},{value:"jiangsu",label:"江苏",children:[{value:"nanjing",label:"南京",children:[{value:"zhonghuamen",label:"中华门"}]}]}],t=[{value:"level1",label:"Level 1",children:[{value:"level2",label:"Level 2",children:[{value:"level3",label:"Level 3",children:[{value:"level4",label:"Level 4",children:[{value:"level5",label:"Level 5",children:[{value:"level6",label:"Level 6"}]}]}]}]}]}],[r,i]=y.useState([]);return n.jsxs("div",{className:tt.section,children:[n.jsx("h3",{children:"Basic Usage"}),n.jsx("p",{className:tt.description,children:"基础级联选择器,支持多级选择"}),n.jsx("div",{className:tt.group,children:n.jsx("div",{style:{width:"100%",maxWidth:320},children:n.jsx(cn,{label:"Basic",name:"basic",options:e,placeholder:"请选择"})})}),n.jsx("h3",{children:"Different Sizes"}),n.jsx("p",{className:tt.description,children:"不同尺寸的级联选择器"}),n.jsxs("div",{className:tt.group,children:[n.jsx("div",{style:{width:200},children:n.jsx(cn,{label:"Small",name:"small",options:e,placeholder:"Small size"})}),n.jsx("div",{style:{width:280},children:n.jsx(cn,{label:"Medium",name:"medium",options:e,placeholder:"Medium size"})}),n.jsx("div",{style:{width:360},children:n.jsx(cn,{label:"Large",name:"large",options:e,placeholder:"Large size"})})]}),n.jsx("h3",{children:"Default Value"}),n.jsx("p",{className:tt.description,children:"设置默认值的级联选择器"}),n.jsx("div",{className:tt.group,children:n.jsx(cn,{label:"Default Value",name:"defaultValue",options:e,defaultValue:["zhejiang","hangzhou","xihu"]})}),n.jsx("h3",{children:"Controlled Mode"}),n.jsx("p",{className:tt.description,children:"受控模式的级联选择器"}),n.jsx("div",{className:tt.group,children:n.jsx(cn,{label:"Controlled",name:"controlled",options:e,value:r,onChange:s=>i(s)})}),n.jsx("h3",{children:"Custom Display"}),n.jsx("p",{className:tt.description,children:"自定义显示格式"}),n.jsx("div",{className:tt.group,children:n.jsx(cn,{label:"Custom Display",name:"customDisplay",options:e,displayRender:s=>s.join(" > ")})}),n.jsx("h3",{children:"Disabled State"}),n.jsx("p",{className:tt.description,children:"禁用状态的级联选择器"}),n.jsx("div",{className:tt.group,children:n.jsx(cn,{label:"Disabled",name:"disabled",options:e,disabled:!0,defaultValue:["zhejiang","hangzhou"]})}),n.jsx("h3",{children:"Search Mode"}),n.jsx("p",{className:tt.description,children:"可搜索的级联选择器"}),n.jsx("div",{className:tt.group,children:n.jsx(cn,{label:"Searchable",name:"searchable",options:e,width:280,showSearch:!0,filter:(s,a)=>a.some(o=>o.label.toString().toLowerCase().includes(s.toLowerCase()))})}),n.jsx("h3",{children:"Dynamic Loading"}),n.jsx("p",{className:tt.description,children:"动态加载数据的级联选择器"}),n.jsx("div",{className:tt.group,children:n.jsx(cn,{label:"Dynamic Loading",name:"dynamicLoading",options:[{value:"parent",label:"Parent Node",isLeaf:!1}],loadData:s=>{const a=s[s.length-1];a.loading=!0,setTimeout(()=>{a.loading=!1,a.children=[{label:`${a.label} Child`,value:`${a.value}-child`}]},1e3)}})}),n.jsx("h3",{children:"Custom Option Render"}),n.jsx("p",{className:tt.description,children:"自定义选项渲染"}),n.jsx("div",{className:tt.group,children:n.jsx(cn,{label:"Custom Render",name:"customRender",options:e,optionRender:(s,a)=>n.jsxs("div",{style:{padding:"4px 8px"},children:[n.jsx("span",{children:s.label}),a<2&&n.jsx("span",{style:{float:"right"},children:"→"})]})})}),n.jsx("h3",{children:"Deep Nesting"}),n.jsx("p",{className:tt.description,children:"支持最多6层级联"}),n.jsx("div",{className:tt.group,children:n.jsx(cn,{label:"Deep Nesting",name:"deepNesting",options:t,width:280})}),n.jsx("h3",{children:"Custom Styles"}),n.jsx("p",{className:tt.description,children:"自定义样式的级联选择器"}),n.jsx("div",{className:tt.group,children:n.jsx(cn,{label:"Custom Style",name:"customStyle",options:e,width:280,dropdownStyle:{background:"#f6f7f9",borderRadius:"8px"},optionStyle:{borderRadius:"4px",margin:"2px 4px"},style:{"--cascader-option-hover-bg":"#e6f4ff","--cascader-option-active-bg":"#1890ff","--cascader-option-active-color":"#ffffff"}})}),n.jsx("h3",{children:"Max Level Control"}),n.jsx("p",{className:tt.description,children:"控制最大层级数"}),n.jsx("div",{className:tt.group,children:n.jsx(cn,{label:"Max Level 3",name:"maxLevel",options:t,maxLevel:3,width:280})})]})},_M=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Bn,{title:e("components.cascader.title"),description:e("components.cascader.description")}),n.jsx(jM,{})]})},yM="_section_qa4oz_42",bM="_group_qa4oz_54",wM="_divider_qa4oz_61",Jt={section:yM,group:bM,divider:wM,"accordion-down":"_accordion-down_qa4oz_1","accordion-up":"_accordion-up_qa4oz_1"},CM=()=>{const[e,t]=y.useState("horizontal"),[r,i]=y.useState("medium"),[s,a]=y.useState(!0);return n.jsxs("div",{className:Jt.section,children:[n.jsxs("div",{className:Jt.header,children:[n.jsx("h2",{children:"Space 间距"}),n.jsx("p",{children:"设置组件之间的间距"})]}),n.jsx("h3",{children:"基础用法"}),n.jsx("p",{className:Jt.description,children:"最基础的用法,通过 size 设置间距大小"}),n.jsx("div",{className:Jt.group,children:n.jsxs(V,{size:"small",children:[n.jsx(z,{children:"按钮 1"}),n.jsx(z,{children:"按钮 2"}),n.jsx(z,{children:"按钮 3"})]})}),n.jsx("h3",{children:"垂直间距"}),n.jsx("p",{className:Jt.description,children:"可以设置垂直方向的间距"}),n.jsx("div",{className:Jt.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsx(z,{children:"按钮 1"}),n.jsx(z,{children:"按钮 2"}),n.jsx(z,{children:"按钮 3"})]})}),n.jsx("h3",{children:"间距大小"}),n.jsx("p",{className:Jt.description,children:"内置三种间距尺寸"}),n.jsx("div",{className:Jt.group,children:n.jsxs(V,{direction:"vertical",size:"large",block:!0,children:[n.jsxs(V,{size:"small",children:[n.jsx(z,{children:"Small"}),n.jsx(z,{children:"间距"}),n.jsx(z,{children:"示例"})]}),n.jsxs(V,{size:"medium",children:[n.jsx(z,{children:"Medium"}),n.jsx(z,{children:"间距"}),n.jsx(z,{children:"示例"})]}),n.jsxs(V,{size:"large",children:[n.jsx(z,{children:"Large"}),n.jsx(z,{children:"间距"}),n.jsx(z,{children:"示例"})]})]})}),n.jsx("h3",{children:"自动换行"}),n.jsx("p",{className:Jt.description,children:"当空间不足时自动换行"}),n.jsx("div",{className:Jt.group,children:n.jsx(V,{wrap:!0,children:Array.from({length:10},(o,l)=>n.jsxs(z,{children:["按钮 ",l+1]},l))})}),n.jsx("h3",{children:"对齐方式"}),n.jsx("p",{className:Jt.description,children:"设置对齐方式"}),n.jsx("div",{className:Jt.group,children:n.jsxs(V,{direction:"vertical",size:"large",block:!0,children:[n.jsxs(V,{justify:"start",block:!0,children:[n.jsx(z,{children:"左对齐"}),n.jsx(z,{children:"示例"})]}),n.jsxs(V,{justify:"center",block:!0,children:[n.jsx(z,{children:"居中对齐"}),n.jsx(z,{children:"示例"})]}),n.jsxs(V,{justify:"end",block:!0,children:[n.jsx(z,{children:"右对齐"}),n.jsx(z,{children:"示例"})]}),n.jsxs(V,{justify:"space-between",block:!0,children:[n.jsx(z,{children:"两端对齐"}),n.jsx(z,{children:"示例"})]}),n.jsxs(V,{justify:"space-around",block:!0,children:[n.jsx(z,{children:"环绕对齐"}),n.jsx(z,{children:"示例"})]})]})}),n.jsx("h3",{children:"卡片间距"}),n.jsx("p",{className:Jt.description,children:"在卡片组件中使用间距"}),n.jsx("div",{className:Jt.group,children:n.jsx(V,{direction:"vertical",size:"large",children:n.jsxs(V,{size:"large",children:[n.jsx(Yt,{children:"Card 1"}),n.jsx(Yt,{children:"Card 2"}),n.jsx(Yt,{children:"Card 3"})]})})}),n.jsx("h3",{children:"动态配置"}),n.jsx("p",{className:Jt.description,children:"动态控制 Space 的属性"}),n.jsx("div",{className:Jt.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{children:[n.jsx(z,{onClick:()=>t(o=>o==="horizontal"?"vertical":"horizontal"),children:"切换方向"}),n.jsx(z,{onClick:()=>i(o=>o==="small"?"medium":o==="medium"?"large":"small"),children:"切换大小"}),n.jsx(z,{onClick:()=>a(o=>!o),children:"切换换行"})]}),n.jsxs(V,{direction:e,size:r,wrap:s,children:[n.jsx(z,{children:"按钮 1"}),n.jsx(z,{children:"按钮 2"}),n.jsx(z,{children:"按钮 3"})]})]})})]})},kM=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Bn,{title:e("components.space.title"),description:e("components.space.description")}),n.jsx(CM,{})]})},SM="_section_1gztw_42",NM="_group_1gztw_54",zM="_description_1gztw_63",yt={section:SM,group:NM,description:zM,"accordion-down":"_accordion-down_1gztw_1","accordion-up":"_accordion-up_1gztw_1"},$M=()=>{const[e,t]=y.useState(["Tag 1","Tag 2","Tag 3","Tag 4"]),[r,i]=y.useState([]),s=o=>{t(e.filter(l=>l!==o))},a=o=>{i(l=>l.includes(o)?l.filter(c=>c!==o):[...l,o])};return n.jsxs("div",{className:yt.section,children:[n.jsxs("div",{className:yt.header,children:[n.jsx("h2",{children:"Tag 标签"}),n.jsx("p",{className:yt.description,children:"进行标记和分类的小标签"})]}),n.jsx("h3",{children:"基础用法"}),n.jsx("p",{className:yt.description,children:"基础的标签用法,可以通过设置 variant 来展示不同的状态。"}),n.jsxs("div",{className:yt.group,children:[n.jsx(_e,{children:"Default"}),n.jsx(_e,{variant:"primary",children:"Primary"}),n.jsx(_e,{variant:"success",children:"Success"}),n.jsx(_e,{variant:"warning",children:"Warning"}),n.jsx(_e,{variant:"error",children:"Error"}),n.jsx(_e,{variant:"info",children:"Info"})]}),n.jsx("h3",{children:"组合展示"}),n.jsx("p",{className:yt.description,children:"不同属性的组合展示效果。"}),n.jsx("div",{className:yt.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{wrap:!0,children:[n.jsx(_e,{bordered:!0,variant:"primary",children:"边框标签"}),n.jsx(_e,{elevation:!0,variant:"success",children:"阴影标签"}),n.jsx(_e,{icon:n.jsx(eg,{}),variant:"warning",children:"图标标签"}),n.jsx(_e,{closable:!0,variant:"error",children:"可关闭"})]}),n.jsxs(V,{wrap:!0,children:[n.jsx(_e,{bordered:!0,elevation:!0,children:"边框+阴影"}),n.jsx(_e,{icon:n.jsx(RE,{}),closable:!0,children:"图标+关闭"}),n.jsx(_e,{bordered:!0,icon:n.jsx(Vd,{}),children:"边框+图标"}),n.jsx(_e,{elevation:!0,closable:!0,variant:"primary",children:"阴影+关闭"})]})]})}),n.jsx("h3",{children:"状态标签"}),n.jsx("p",{className:yt.description,children:"用于表示状态的标签组合。"}),n.jsx("div",{className:yt.group,children:n.jsxs(V,{wrap:!0,children:[n.jsx(_e,{icon:n.jsx(Aa,{}),variant:"success",children:"已完成"}),n.jsx(_e,{icon:n.jsx(Vd,{}),variant:"warning",children:"进行中"}),n.jsx(_e,{icon:n.jsx(Ao,{}),variant:"error",children:"已锁定"}),n.jsx(_e,{icon:n.jsx(NE,{}),variant:"error",children:"Bug"}),n.jsx(_e,{icon:n.jsx(zE,{}),variant:"info",children:"开发中"}),n.jsx(_e,{icon:n.jsx(Jr,{}),variant:"primary",children:"已分配"})]})}),n.jsx("h3",{children:"可选择标签"}),n.jsx("p",{className:yt.description,children:"点击可选择,再次点击取消选择。"}),n.jsx("div",{className:yt.group,children:n.jsx(V,{wrap:!0,children:["设计","前端","后端","测试","运维"].map(o=>n.jsx(_e,{clickable:!0,variant:r.includes(o)?"primary":"default",bordered:r.includes(o),onClick:()=>a(o),children:o},o))})}),n.jsx("h3",{children:"动态编辑标签"}),n.jsx("p",{className:yt.description,children:"动态添加和删除标签。"}),n.jsx("div",{className:yt.group,children:n.jsx(V,{direction:"vertical",size:"large",children:n.jsxs(V,{wrap:!0,children:[e.map(o=>n.jsx(_e,{closable:!0,onClose:()=>s(o),variant:"primary",children:o},o)),n.jsx(_e,{clickable:!0,icon:n.jsx(tg,{}),onClick:()=>{const o=`Tag ${e.length+1}`;t([...e,o])},children:"新建标签"})]})})}),n.jsx("h3",{children:"社交标签"}),n.jsx("p",{className:yt.description,children:"用于社交媒体的标签样式。"}),n.jsx("div",{className:yt.group,children:n.jsxs(V,{wrap:!0,children:[n.jsx(_e,{icon:n.jsx(SE,{}),bgColor:"#24292e",textColor:"#ffffff",children:"GitHub"}),n.jsx(_e,{icon:n.jsx(Ln,{}),bgColor:"#ff4081",textColor:"#ffffff",children:"喜欢"}),n.jsx(_e,{icon:n.jsx(Ma,{}),bgColor:"#ffd700",textColor:"#000000",children:"收藏"})]})}),n.jsx("h3",{children:"渐变效果标签"}),n.jsx("p",{className:yt.description,children:"使用渐变背景的标签。"}),n.jsx("div",{className:yt.group,children:n.jsxs(V,{wrap:!0,children:[n.jsx(_e,{style:{background:"linear-gradient(45deg, #ff6b6b, #feca57)",color:"#ffffff"},children:"渐变标签"}),n.jsx(_e,{style:{background:"linear-gradient(45deg, #4834d4, #686de0)",color:"#ffffff"},children:"渐变标签"}),n.jsx(_e,{style:{background:"linear-gradient(45deg, #6ab04c, #badc58)",color:"#ffffff"},children:"渐变标签"})]})}),n.jsx("h3",{children:"尺寸与形状组合"}),n.jsx("p",{className:yt.description,children:"不同尺寸和形状的组合展示。"}),n.jsx("div",{className:yt.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{wrap:!0,align:"center",children:[n.jsx(_e,{size:"small",shape:"square",children:"小方形"}),n.jsx(_e,{size:"medium",shape:"square",children:"中方形"}),n.jsx(_e,{size:"large",shape:"square",children:"大方形"})]}),n.jsxs(V,{wrap:!0,align:"center",children:[n.jsx(_e,{size:"small",shape:"rounded",children:"小圆角"}),n.jsx(_e,{size:"medium",shape:"rounded",children:"中圆角"}),n.jsx(_e,{size:"large",shape:"rounded",children:"大圆角"})]}),n.jsxs(V,{wrap:!0,align:"center",children:[n.jsx(_e,{size:"small",shape:"circle",children:"小圆形"}),n.jsx(_e,{size:"medium",shape:"circle",children:"中圆形"}),n.jsx(_e,{size:"large",shape:"circle",children:"大圆形"})]})]})}),n.jsx("h3",{children:"带计数器的标签"}),n.jsx("p",{className:yt.description,children:"显示数量的标签组合。"}),n.jsx("div",{className:yt.group,children:n.jsxs(V,{wrap:!0,children:[n.jsxs(_e,{variant:"primary",children:["未读消息"," ",n.jsx(_e,{size:"small",shape:"circle",children:"99+"})]}),n.jsxs(_e,{variant:"success",children:["完成任务"," ",n.jsx(_e,{size:"small",shape:"circle",children:"23"})]}),n.jsxs(_e,{variant:"warning",children:["待处理"," ",n.jsx(_e,{size:"small",shape:"circle",children:"5"})]})]})})]})},LM=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Bn,{title:e("components.tag.title"),description:e("components.tag.description")}),n.jsx($M,{})]})},EM="_page_ibqww_42",IM="_header_ibqww_50",RM="_section_ibqww_69",PM="_codeWrapper_ibqww_92",AM="_demoWrapper_ibqww_101",MM="_examples_ibqww_132",TM="_example_ibqww_132",FM="_description_ibqww_157",BM="_tips_ibqww_164",OM="_demo_ibqww_101",DM="_apiTable_ibqww_214",fe={page:EM,header:IM,section:RM,codeWrapper:PM,demoWrapper:AM,examples:MM,example:TM,description:FM,tips:BM,demo:OM,apiTable:DM,"accordion-down":"_accordion-down_ibqww_1","accordion-up":"_accordion-up_ibqww_1"},UM=()=>{var N;const{t:e}=$e(),[t,r]=y.useState(1),[i,s]=y.useState(1),[a,o]=y.useState(1),[l,c]=y.useState(1),[u,p]=y.useState(1),[m,h]=y.useState(10),[x,_]=y.useState(1),[b,k]=y.useState(10),[j,d]=y.useState(1),[f,v]=y.useState(1),[w,g]=y.useState(1);return n.jsxs("div",{className:fe.examples,children:[n.jsxs("div",{className:fe.example,children:[n.jsx("h3",{children:e("components.pagination.examples.introduction.title")}),n.jsx("p",{className:fe.description,children:e("components.pagination.examples.introduction.description")}),n.jsxs("div",{className:fe.tips,children:[n.jsx("h4",{children:e("components.pagination.when_to_use.title")}),n.jsx("ul",{children:(N=e("components.pagination.when_to_use.items",{returnObjects:!0}))==null?void 0:N.map((S,L)=>n.jsx("li",{children:S},L))})]})]}),n.jsxs("div",{className:fe.example,children:[n.jsx("h3",{children:e("components.pagination.examples.basic.title")}),n.jsx("p",{className:fe.description,children:e("components.pagination.examples.basic.description")}),n.jsx("div",{className:fe.demo,children:n.jsx(Ut,{total:50,current:t,onChange:S=>r(S)})}),n.jsx("div",{className:fe.codeWrapper,children:n.jsx(oe,{code:`const [page, setPage] = useState(1); +}`})})]}),n.jsxs("section",{className:P.section,children:[n.jsx("h2",{children:e("components.checkbox.examples")}),n.jsx("div",{className:P.examples,children:n.jsx(JP,{})})]})]})},XP="_section_15ptb_42",ZP="_group_15ptb_54",Un={section:XP,group:ZP,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},eM=()=>{const[e,t]=y.useState(!1),[r,i]=y.useState(!1),s=y.useCallback(()=>{t(x=>!x)},[]),a=y.useCallback(()=>{i(x=>!x)},[]),o=y.useCallback(x=>{console.log("Favorite state:",x)},[]),l=y.useCallback(x=>{console.log("Bookmark state:",x)},[]),c=y.useCallback(x=>{console.log("Star state:",x)},[]),d=y.useCallback(x=>{console.log("Like state:",x)},[]),p=y.useCallback(x=>{console.log("Follow state:",x)},[]),h=y.useCallback(x=>{console.log("Share state:",x)},[]),m=y.useCallback(x=>{console.log("Notification state:",x)},[]),g=y.useCallback(x=>{console.log("Pin state:",x)},[]),j=y.useCallback(x=>{console.log("Archive state:",x)},[]),b=y.useCallback(x=>{console.log("Lock state:",x)},[]),k=y.useCallback(x=>{console.log("Download state:",x)},[]),_=y.useCallback(x=>{console.log("Visibility state:",x)},[]),u=y.useCallback(x=>{console.log("Clock state:",x)},[]),f=y.useCallback(x=>{console.log("Rate state:",x)},[]),v=y.useCallback(x=>{console.log("Thumb down state:",x)},[]),w=y.useCallback(x=>{console.log("Flag state:",x)},[]);return n.jsxs("div",{className:Un.section,children:[n.jsx("h3",{children:"Variants"}),n.jsxs("div",{className:Un.group,children:[n.jsx(We,{icon:n.jsx(Ln,{}),variant:"primary",showTooltip:!0,tooltip:{content:"Dark variant",variant:"dark"}}),n.jsx(We,{icon:n.jsx(to,{}),variant:"secondary",showTooltip:!0,tooltip:{content:"Info variant",variant:"info"}}),n.jsx(We,{icon:n.jsx(eo,{}),variant:"success",showTooltip:!0,tooltip:{content:"Success variant",variant:"success"}}),n.jsx(We,{icon:n.jsx(At,{}),variant:"warning",showTooltip:!0,tooltip:{content:"Warning variant",variant:"warning"}}),n.jsx(We,{icon:n.jsx(t2,{}),variant:"error",showTooltip:!0,tooltip:{content:"Error variant",variant:"error"}})]}),n.jsx("h3",{children:"Sizes"}),n.jsxs("div",{className:Un.group,children:[n.jsx(We,{icon:n.jsx(md,{}),size:"small",showTooltip:!0,tooltip:{content:"Small size (36px)",arrow:!0}}),n.jsx(We,{icon:n.jsx(md,{}),size:"medium",showTooltip:!0,tooltip:{content:"Medium size (44px)",arrow:!0}}),n.jsx(We,{icon:n.jsx(md,{}),size:"large",showTooltip:!0,tooltip:{content:"Large size (52px)",arrow:!0}})]}),n.jsx("h3",{children:"Shapes"}),n.jsxs("div",{className:Un.group,children:[n.jsx(We,{icon:n.jsx(xm,{}),shape:"circle",showTooltip:!0,tooltip:{content:"Circle shape",shape:"rounded"}}),n.jsx(We,{icon:n.jsx(xm,{}),shape:"square",showTooltip:!0,tooltip:{content:"Square shape",shape:"square"}})]}),n.jsx("h3",{children:"States"}),n.jsxs("div",{className:Un.group,children:[n.jsx(We,{icon:n.jsx(fd,{}),active:e,onClick:s,showTooltip:!0,tooltip:{content:e?"Active state":"Click to activate"}}),n.jsx(We,{icon:n.jsx(fd,{}),disabled:!0,showTooltip:!0,tooltip:{content:"Disabled state"}}),n.jsx(We,{icon:n.jsx(fd,{}),loading:r,onClick:a,showTooltip:!0,tooltip:{content:r?"Loading...":"Click to load"}})]}),n.jsx("h3",{children:"Custom Colors"}),n.jsx("div",{className:Un.group,children:n.jsx(We,{icon:n.jsx(Ln,{}),color:"#e91e63",activeColor:"#c2185b",bgColor:"#fce4ec",hoverColor:"#f8bbd0",fillColor:"#e91e63",showTooltip:!0,tooltip:{content:"Custom colors"}})}),n.jsx("h3",{children:"Accessibility"}),n.jsxs("div",{className:Un.group,children:[n.jsx(We,{icon:n.jsx(wu,{}),ariaLabel:"Search button",tabIndex:0,showTooltip:!0,tooltip:{content:"With aria-label and tabIndex"}}),n.jsx(We,{icon:n.jsx(eA,{}),ariaLabel:"Download file",tabIndex:1,showTooltip:!0,tooltip:{content:"Press Enter to download"}})]}),n.jsx("h3",{children:"Common Use Cases"}),n.jsxs("div",{className:Un.group,children:[n.jsx(We,{icon:n.jsx(e2,{}),variant:"primary",showTooltip:!0,tooltip:{content:"Add new item",arrow:!0,shape:"thought"}}),n.jsx(We,{icon:n.jsx(lA,{}),variant:"error",showTooltip:!0,tooltip:{content:"Delete item",arrow:!0,shape:"rounded"}}),n.jsx(We,{icon:n.jsx(tA,{}),showTooltip:!0,tooltip:{content:"More actions",arrow:!0,shape:"thought"}})]}),n.jsx("h3",{children:"Interactive Icons"}),n.jsxs("div",{className:Un.group,children:[n.jsx(Dt,{type:"favorite",onChange:o}),n.jsx(Dt,{type:"bookmark",onChange:l}),n.jsx(Dt,{type:"star",onChange:c}),n.jsx(Dt,{type:"like",onChange:d}),n.jsx(Dt,{type:"follow",onChange:p}),n.jsx(Dt,{type:"share",onChange:h}),n.jsx(Dt,{type:"notification",onChange:m}),n.jsx(Dt,{type:"pin",onChange:g}),n.jsx(Dt,{type:"archive",onChange:j}),n.jsx(Dt,{type:"lock",onChange:b}),n.jsx(Dt,{type:"download",onChange:k}),n.jsx(Dt,{type:"visibility",onChange:_}),n.jsx(Dt,{type:"clock",onChange:u}),n.jsx(Dt,{type:"close",onChange:u}),n.jsx(Dt,{type:"rate",onChange:f}),n.jsx(Dt,{type:"thumbDown",onChange:v}),n.jsx(Dt,{type:"flag",onChange:w})]}),n.jsx("h3",{children:"Fill Color Variations"}),n.jsxs("div",{className:Un.group,children:[n.jsx(We,{icon:n.jsx(Ln,{}),variant:"primary",fillColor:"#1976d2",showTooltip:!0,tooltip:{content:"Primary fill"}}),n.jsx(We,{icon:n.jsx(Ln,{}),variant:"success",fillColor:"#4caf50",showTooltip:!0,tooltip:{content:"Success fill"}}),n.jsx(We,{icon:n.jsx(Ln,{}),variant:"error",fillColor:"#d32f2f",showTooltip:!0,tooltip:{content:"Error fill"}}),n.jsx(We,{icon:n.jsx(Ln,{}),variant:"warning",fillColor:"#ff9800",showTooltip:!0,tooltip:{content:"Warning fill"}})]}),n.jsx("h3",{children:"Custom Active States"}),n.jsxs("div",{className:Un.group,children:[n.jsx(We,{icon:n.jsx(Ln,{}),color:"#e91e63",activeColor:"#c2185b",bgColor:"#fce4ec",hoverColor:"#f8bbd0",fillColor:"#e91e63",active:!0,showTooltip:!0,tooltip:{content:"Custom active state"}}),n.jsx(We,{icon:n.jsx(Ln,{}),color:"#2196f3",activeColor:"#1565c0",bgColor:"#e3f2fd",hoverColor:"#bbdefb",fillColor:"#2196f3",active:!0,showTooltip:!0,tooltip:{content:"Custom active state"}}),n.jsx(We,{icon:n.jsx(Ln,{}),color:"#4caf50",activeColor:"#2e7d32",bgColor:"#e8f5e9",hoverColor:"#c8e6c9",fillColor:"#4caf50",active:!0,showTooltip:!0,tooltip:{content:"Custom active state"}})]})]})},tM="_header_1062d_42",nM="_titleWrapper_1062d_45",jm={header:tM,titleWrapper:nM,"accordion-down":"_accordion-down_1062d_1","accordion-up":"_accordion-up_1062d_1"},Fn=({title:e,description:t})=>n.jsx("div",{className:jm.header,children:n.jsxs("div",{className:jm.titleWrapper,children:[n.jsx("h1",{children:e}),n.jsx("p",{children:t})]})}),rM=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Fn,{title:e("components.iconButton.title"),description:e("components.iconButton.description")}),n.jsx(eM,{})]})},iM="_section_wqknk_42",sM="_group_wqknk_54",aM="_feature_wqknk_62",ce={section:iM,group:sM,feature:aM,"accordion-down":"_accordion-down_wqknk_1","accordion-up":"_accordion-up_wqknk_1"},oM=()=>{const e=y.useRef(null),t=y.useRef(null),r=y.useRef(null),[i,s]=y.useState(!1),a=y.useCallback(()=>{s(!0)},[]),o=y.useCallback(()=>{s(!1)},[]),l=y.useCallback(()=>{s(p=>!p)},[]),c=y.useCallback(()=>{console.log("Tooltip opened")},[]),d=y.useCallback(()=>{console.log("Tooltip closed")},[]);return n.jsxs("div",{className:ce.section,children:[n.jsx("h3",{children:"基础功能"}),n.jsxs("div",{className:ce.group,children:[n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"基础提示"}),n.jsx(je,{content:"基础提示",arrow:!0,children:n.jsx($,{children:"基础提示"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"不带箭头"}),n.jsx(je,{content:"不带箭头的提示",children:n.jsx($,{children:"无箭头"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"禁用状态"}),n.jsx(je,{content:"此 Tooltip 已禁用",disabled:!0,arrow:!0,children:n.jsx($,{children:"已禁用"})})]})]}),n.jsx("h3",{children:"箭头位置"}),n.jsxs("div",{className:ce.group,children:[n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"顶部箭头"}),n.jsx(je,{content:"顶部箭头",placement:"top",arrow:!0,children:n.jsx($,{children:"Top"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"底部箭头"}),n.jsx(je,{content:"底部箭头",placement:"bottom",arrow:!0,children:n.jsx($,{children:"Bottom"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"左侧箭头"}),n.jsx(je,{content:"左侧箭头",placement:"left",arrow:!0,children:n.jsx($,{children:"Left"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"右侧箭头"}),n.jsx(je,{content:"右侧箭头",placement:"right",arrow:!0,children:n.jsx($,{children:"Right"})})]})]}),n.jsx("h3",{children:"Tooltip 形状"}),n.jsxs("div",{className:ce.group,children:[n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"默认形状"}),n.jsx(je,{content:"默认形状",shape:"default",arrow:!0,children:n.jsx($,{children:"Default"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"圆角形状"}),n.jsx(je,{content:"圆角形状",shape:"rounded",arrow:!0,children:n.jsx($,{children:"Rounded"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"思考泡泡"}),n.jsx(je,{content:"思考泡泡形状",shape:"thought",children:n.jsx($,{children:"Thought"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"方形"}),n.jsx(je,{content:"方形",shape:"square",arrow:!0,children:n.jsx($,{children:"Square"})})]})]}),n.jsx("h3",{children:"动画效果"}),n.jsxs("div",{className:ce.group,children:[n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"淡入淡出"}),n.jsx(je,{content:"淡入淡出效果",animation:"fade",children:n.jsx($,{children:"Fade"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"缩放"}),n.jsx(je,{content:"缩放效果",animation:"scale",children:n.jsx($,{children:"Scale"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"远离"}),n.jsx(je,{content:"远离效果",animation:"shift-away",children:n.jsx($,{children:"Shift Away"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"靠近"}),n.jsx(je,{content:"靠近效果",animation:"shift-toward",children:n.jsx($,{children:"Shift Toward"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"透视"}),n.jsx(je,{content:"透视效果",animation:"perspective",children:n.jsx($,{children:"Perspective"})})]})]}),n.jsx("h3",{children:"交互控制"}),n.jsx("div",{className:ce.group,children:n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"受控显示"}),n.jsx(je,{content:"完全受控的 Tooltip",open:i,onOpen:a,onClose:o,children:n.jsx($,{onClick:l,children:i?"点击关闭":"点击打开"})})]})}),n.jsx("h3",{children:"特殊交互"}),n.jsxs("div",{className:ce.group,children:[n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"跟随光标"}),n.jsx(je,{content:"跟随光标移动",followCursor:!0,children:n.jsx($,{children:"移动光标"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"显示延迟"}),n.jsx(je,{content:"延迟 500ms 显示",enterDelay:500,children:n.jsx($,{children:"延迟显示"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"消失延迟"}),n.jsx(je,{content:"延迟 500ms 消失",leaveDelay:500,children:n.jsx($,{children:"延迟消失"})})]})]}),n.jsx("h3",{children:"自定义样式"}),n.jsxs("div",{className:ce.group,children:[n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"自定义颜色"}),n.jsx(je,{content:"自定义背景和文字颜色",bgColor:"#6200ee",textColor:"#ffffff",arrow:!0,children:n.jsx($,{children:"自定义颜色"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"自定义偏移"}),n.jsx(je,{content:"自定义偏移距离",offset:[0,16],arrow:!0,children:n.jsx($,{children:"自定义偏移"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"自定义层级"}),n.jsx(je,{content:"自定义 z-index",zIndex:2e3,arrow:!0,children:n.jsx($,{children:"自定义层级"})})]})]}),n.jsx("h3",{children:"回调函数"}),n.jsxs("div",{className:ce.group,children:[n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"显示回调"}),n.jsx(je,{content:"触发 onOpen",onOpen:c,children:n.jsx($,{children:"打开回调"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"关闭回调"}),n.jsx(je,{content:"触发 onClose",onClose:d,children:n.jsx($,{children:"关闭回调"})})]})]}),n.jsx("h3",{children:"Tooltip 变体(Variants)"}),n.jsxs("div",{className:ce.group,children:[n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"亮色主题"}),n.jsx(je,{content:"亮色主题",variant:"light",arrow:!0,children:n.jsx($,{children:"Light"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"暗色主题"}),n.jsx(je,{content:"暗色主题",variant:"dark",arrow:!0,children:n.jsx($,{children:"Dark"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"信息提示"}),n.jsx(je,{content:"信息提示样式",variant:"info",arrow:!0,children:n.jsx($,{children:"Info"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"成功提示"}),n.jsx(je,{content:"成功提示样式",variant:"success",arrow:!0,children:n.jsx($,{children:"Success"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"警告提示"}),n.jsx(je,{content:"警告提示样式",variant:"warning",arrow:!0,children:n.jsx($,{children:"Warning"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"错误提示"}),n.jsx(je,{content:"错误提示样式",variant:"error",arrow:!0,children:n.jsx($,{children:"Error"})})]})]}),n.jsx("h3",{children:"详细位置(Placements)"}),n.jsxs("div",{className:ce.group,children:[n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"顶部起始"}),n.jsx(je,{content:"顶部起始位置",placement:"top-start",arrow:!0,children:n.jsx($,{children:"Top Start"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"顶部结束"}),n.jsx(je,{content:"顶部结束位置",placement:"top-end",arrow:!0,children:n.jsx($,{children:"Top End"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"底部起始"}),n.jsx(je,{content:"底部起始位置",placement:"bottom-start",arrow:!0,children:n.jsx($,{children:"Bottom Start"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"底部结束"}),n.jsx(je,{content:"底部结束位置",placement:"bottom-end",arrow:!0,children:n.jsx($,{children:"Bottom End"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"左侧起始"}),n.jsx(je,{content:"左侧起始位置",placement:"left-start",arrow:!0,children:n.jsx($,{children:"Left Start"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"左侧结束"}),n.jsx(je,{content:"左侧结束位置",placement:"left-end",arrow:!0,children:n.jsx($,{children:"Left End"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"右侧起始"}),n.jsx(je,{content:"右侧起始位置",placement:"right-start",arrow:!0,children:n.jsx($,{children:"Right Start"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"右侧结束"}),n.jsx(je,{content:"右侧结束位置",placement:"right-end",arrow:!0,children:n.jsx($,{children:"Right End"})})]})]}),n.jsx("h3",{children:"自定义颜色示例"}),n.jsxs("div",{className:ce.group,children:[n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"品牌色"}),n.jsx(je,{content:"使用品牌色",bgColor:"#6200ee",textColor:"#ffffff",arrow:!0,children:n.jsx($,{children:"品牌色"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"柔和色"}),n.jsx(je,{content:"使用柔和色",bgColor:"#f0f7ff",textColor:"#0066cc",arrow:!0,children:n.jsx($,{children:"柔和色"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"渐变背景"}),n.jsx(je,{content:"渐变背景效果",bgColor:"linear-gradient(45deg, #ff6b6b, #feca57)",textColor:"#ffffff",arrow:!0,children:n.jsx($,{children:"渐变色"})})]})]}),n.jsx("h3",{children:"Ref 方法控制"}),n.jsxs("div",{className:ce.group,children:[n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"打开方法"}),n.jsx(je,{content:"使用 ref.open() 打开",ref:e,onOpen:c,children:n.jsx($,{onClick:()=>{var p;return(p=e.current)==null?void 0:p.open()},children:"打开"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"关闭方法"}),n.jsx(je,{content:"使用 ref.close() 关闭",ref:t,onClose:d,children:n.jsx($,{onClick:()=>{var p;return(p=t.current)==null?void 0:p.close()},children:"关闭"})})]}),n.jsxs("div",{className:ce.feature,children:[n.jsx("h4",{children:"切换方法"}),n.jsx(je,{content:"使用 ref.toggle() 切换",ref:r,onOpen:c,onClose:d,children:n.jsx($,{onClick:()=>{var p;return(p=r.current)==null?void 0:p.toggle()},children:"切换显示"})})]})]})]})},lM=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Fn,{title:e("components.tooltip.title"),description:e("components.tooltip.description")}),n.jsx(oM,{})]})},cM="_section_vu6u0_43",dM="_group_vu6u0_61",uM="_demo_vu6u0_71",pM="_menuContent_vu6u0_77",hM="_selectContent_vu6u0_80",mM="_datepickerContent_vu6u0_84",fM="_colorpickerContent_vu6u0_88",gM="_cascaderContent_vu6u0_92",xM="_autocompleteContent_vu6u0_97",vM="_edgeCases_vu6u0_101",jM="_overflowContainer_vu6u0_101",_M="_scrollContainer_vu6u0_110",yM="_scrollContent_vu6u0_118",bM="_typeContent_vu6u0_124",wM="_menuItems_vu6u0_127",CM="_menuItem_vu6u0_127",kM="_selectItem_vu6u0_128",SM="_selectItems_vu6u0_129",NM="_placementGrid_vu6u0_139",$M="_animationDemo_vu6u0_153",zM="_fast_vu6u0_153",EM="_slow_vu6u0_156",LM="_focusDemo_vu6u0_159",RM="_demoContainer_vu6u0_163",AM="_popperContent_vu6u0_171",IM="_disabled_vu6u0_204",PM="_menuIcon_vu6u0_213",MM="_menuItemContent_vu6u0_218",BM="_menuItemLabel_vu6u0_222",TM="_menuItemDescription_vu6u0_227",OM="_selectItemContent_vu6u0_243",FM="_selectItemName_vu6u0_248",DM="_selectItemEmail_vu6u0_253",UM="_selectItemStatus_vu6u0_258",HM="_virtualListItem_vu6u0_272",WM="_virtualListItemContent_vu6u0_282",qM="_virtualListItemHeader_vu6u0_287",VM="_virtualListItemName_vu6u0_294",KM="_virtualListItemActivity_vu6u0_298",GM="_virtualListItemEmail_vu6u0_303",te={section:cM,group:dM,demo:uM,menuContent:pM,selectContent:hM,datepickerContent:mM,colorpickerContent:fM,cascaderContent:gM,autocompleteContent:xM,edgeCases:vM,overflowContainer:jM,scrollContainer:_M,scrollContent:yM,typeContent:bM,menuItems:wM,menuItem:CM,selectItem:kM,selectItems:SM,placementGrid:NM,animationDemo:$M,fast:zM,slow:EM,focusDemo:LM,demoContainer:RM,popperContent:AM,disabled:IM,menuIcon:PM,menuItemContent:MM,menuItemLabel:BM,menuItemDescription:TM,selectItemContent:OM,selectItemName:FM,selectItemEmail:DM,selectItemStatus:UM,在线:"_在线_vu6u0_263",离线:"_离线_vu6u0_267",virtualListItem:HM,virtualListItemContent:WM,virtualListItemHeader:qM,virtualListItemName:VM,virtualListItemActivity:KM,virtualListItemEmail:GM,"accordion-down":"_accordion-down_vu6u0_1","accordion-up":"_accordion-up_vu6u0_1"},QM=()=>{const[e,t]=y.useState(null),r=y.useRef({}),i=u=>{t(f=>f===u?null:u)},s=["top","topStart","topEnd","bottom","bottomStart","bottomEnd","left","leftStart","leftEnd","right","rightStart","rightEnd"],a=["default","primary","secondary","success","warning","error"],o=["default","menu","select","tooltip"],l=["auto","small","medium","large"],c=[{id:"width-height",title:"自定义尺寸",style:{width:300,height:300,padding:"16px"}},{id:"max-size",title:"max-size 设置尺寸",style:{width:300,maxHeight:400,overflow:"auto"}},{id:"min-size",title:"最小尺寸",style:{minWidth:150,minHeight:80}}],d=[{id:"default-arrow",title:"默认箭头",props:{arrow:!0}},{id:"colored-arrow",title:"彩色箭头",props:{arrow:!0,popperStyle:{backgroundColor:"#1890ff",color:"#fff"}}}],p=[{id:"quick-fade",title:"快速淡入",animation:{duration:100,easing:"ease-out"}},{id:"slow-bounce",title:"缓慢弹出",animation:{duration:800,easing:"cubic-bezier(0.68, -0.55, 0.265, 1.55)"}}],h=[{id:"offset-up",title:"向上偏移",offset:{x:0,y:-20}},{id:"offset-right",title:"向右偏移",offset:{x:20,y:0}}],m="这是一段很长的文本内容,用来测试不同尺寸下的文本展示效果。当文本内容超出容器宽度时,可以选择单行滚动或者多行折行显示。",g=[{icon:"🏠",label:"首页",description:"返回首页"},{icon:"📝",label:"编辑",description:"编辑当前内容"},{icon:"💾",label:"保存",description:"保存更改"},{icon:"🗑️",label:"删除",description:"删除当前项"},{icon:"⚙️",label:"设置",description:"系统设置"}].concat(Array(10).fill(null).map((u,f)=>({icon:"📄",label:`更多选项 ${f+1}`,description:`额外选项描述 ${f+1}`}))),j=Array(20).fill(null).map((u,f)=>({id:f,avatar:`https://i.pravatar.cc/40?img=${f}`,name:`用户 ${f+1}`,email:`user${f+1}@example.com`,status:f%3===0?"在线":"离线"})),b=Array(1e3).fill(null).map((u,f)=>({id:f,metadata:{avatar:`https://i.pravatar.cc/40?img=${f%70}`,name:`用户 ${f+1}`,email:`user${f+1}@example.com`,activity:`最近活动 ${Math.floor(Math.random()*24)} 小时前`}})),k=[{id:"size-auto",title:"Auto Size",size:"auto",content:"这是自动尺寸的 Popper,宽高会根据内容自动调整"},{id:"size-small",title:"Small Size",size:"small",content:"这是一个小尺寸的 Popper,默认宽度 200px,高度 120px"},{id:"size-medium",title:"Medium Size",size:"medium",content:"这是一个中等尺寸的 Popper,默认宽度 300px,高度 200px"},{id:"size-large",title:"Large Size",size:"large",content:"这是一个大尺寸的 Popper,默认宽度 400px,高度 300px"}],_=[{id:"auto-single",title:"Auto 单行",size:"auto",multiline:!1,content:"这是一段单行文本,超出部分会水平滚动而不是换行。".repeat(3),width:300,height:""},{id:"auto-multi",title:"Auto 多行",size:"auto",multiline:!0,content:"这是一段多行文本,会自动换行显示。".repeat(5),width:300,height:200}];return n.jsxs("div",{className:te.section,children:[n.jsx("h3",{children:"基础用法"}),n.jsx("div",{className:te.group,children:n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:u=>r.current.basic=u,onClick:()=>i("basic"),children:"基础 Popper"}),n.jsx(at,{visible:e==="basic",anchorEl:r.current.basic,onClickAway:()=>t(null),children:n.jsx("div",{className:te.popperContent,children:"这是一个基础的 Popper 示例"})})]})}),n.jsx("h3",{children:"位置展示"}),n.jsx("div",{className:te.placementGrid,children:s.map(u=>n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:f=>r.current[`placement-${u}`]=f,onClick:()=>i(`placement-${u}`),children:u}),n.jsx(at,{visible:e===`placement-${u}`,anchorEl:r.current[`placement-${u}`],placement:u,arrow:!0,onClickAway:()=>t(null),children:n.jsxs("div",{className:te.popperContent,children:[u," 位置"]})})]},u))}),n.jsx("h3",{children:"类型展示"}),n.jsx("div",{className:te.group,children:o.map(u=>n.jsxs("div",{className:te.demoContainer,children:[n.jsxs($,{ref:f=>r.current[`type-${u}`]=f,onClick:()=>i(`type-${u}`),children:[u," 类型"]}),n.jsxs(at,{visible:e===`type-${u}`,anchorEl:r.current[`type-${u}`],type:u,height:["menu","select"].includes(u)?400:"auto",arrow:!0,onClickAway:()=>t(null),children:[u==="menu"&&n.jsx("div",{className:te.menuContent,children:g.map((f,v)=>n.jsxs("div",{className:`${te.menuItem} ${v===3?te.disabled:""}`,children:[n.jsx("span",{className:te.menuIcon,children:f.icon}),n.jsxs("div",{className:te.menuItemContent,children:[n.jsx("div",{className:te.menuItemLabel,children:f.label}),n.jsx("div",{className:te.menuItemDescription,children:f.description})]})]},v))}),u==="select"&&n.jsx("div",{className:te.selectContent,children:j.map(f=>n.jsxs("div",{className:te.selectItem,children:[n.jsx(rt,{src:f.avatar,size:"small"}),n.jsxs("div",{className:te.selectItemContent,children:[n.jsx("div",{className:te.selectItemName,children:f.name}),n.jsx("div",{className:te.selectItemEmail,children:f.email})]}),n.jsx("span",{className:`${te.selectItemStatus} ${te[f.status]}`,children:f.status})]},f.id))}),u==="tooltip"&&n.jsx("div",{className:te.tooltipContent,children:"这是一个提示信息"}),u==="default"&&n.jsx("div",{className:te.defaultContent,children:"默认内容"})]})]},u))}),n.jsx("h3",{children:"尺寸展示"}),n.jsx("h4",{children:"单行模式(横向滚动)"}),n.jsx("div",{className:te.group,children:l.map(u=>n.jsxs("div",{className:te.demoContainer,children:[n.jsxs($,{ref:f=>r.current[`size-single-${u}`]=f,onClick:()=>i(`size-single-${u}`),children:[u," 尺寸(单行)"]}),n.jsx(at,{visible:e===`size-single-${u}`,anchorEl:r.current[`size-single-${u}`],size:u,width:u==="auto"?200:"",height:u==="auto"?"auto":"",arrow:!0,multiline:!1,onClickAway:()=>t(null),children:n.jsx("div",{className:te.popperContent,children:m})})]},`single-${u}`))}),n.jsx("h4",{children:"多行模式(自动折行)"}),n.jsx("div",{className:te.group,children:l.map(u=>n.jsxs("div",{className:te.demoContainer,children:[n.jsxs($,{ref:f=>r.current[`size-multi-${u}`]=f,onClick:()=>i(`size-multi-${u}`),children:[u," 尺寸(多行)"]}),n.jsx(at,{visible:e===`size-multi-${u}`,anchorEl:r.current[`size-multi-${u}`],size:u,width:u==="auto"?300:"",height:u==="auto"?200:"",arrow:!0,multiline:!0,onClickAway:()=>t(null),children:n.jsx("div",{className:te.popperContent,children:m.repeat(20)})})]},`multi-${u}`))}),n.jsx("h3",{children:"样式变体"}),n.jsx("div",{className:te.group,children:a.map(u=>n.jsxs("div",{className:te.demoContainer,children:[n.jsxs($,{ref:f=>r.current[`variant-${u}`]=f,onClick:()=>i(`variant-${u}`),variant:u==="default"?"retry":u,children:[u," 样式"]}),n.jsx(at,{visible:e===`variant-${u}`,anchorEl:r.current[`variant-${u}`],variant:u,arrow:!0,onClickAway:()=>t(null),children:n.jsxs("div",{className:te.popperContent,children:[u," 样式的 Popper"]})})]},u))}),n.jsx("h3",{children:"动画效果"}),n.jsxs("div",{className:te.group,children:[n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:u=>r.current["animation-fast"]=u,onClick:()=>i("animation-fast"),children:"快速动画"}),n.jsx(at,{visible:e==="animation-fast",anchorEl:r.current["animation-fast"],animation:{duration:5e3,easing:"ease-out"},arrow:!0,onClickAway:()=>t(null),children:n.jsx("div",{children:"快速动画效果"})})]}),n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:u=>r.current["animation-slow"]=u,onClick:()=>i("animation-slow"),children:"慢速动画"}),n.jsx(at,{visible:e==="animation-slow",anchorEl:r.current["animation-slow"],animation:{duration:5e3,easing:"ease-in-out"},arrow:!0,onClickAway:()=>t(null),children:n.jsx("div",{children:"慢速动画效果"})})]})]}),n.jsx("h3",{children:"边界情况"}),n.jsxs("div",{className:te.edgeCases,children:[n.jsx("h4",{children:"溢出容器"}),n.jsx("div",{className:te.overflowContainer,children:n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:u=>r.current.overflow=u,onClick:()=>i("overflow"),children:"溢出测试"}),n.jsx(at,{visible:e==="overflow",anchorEl:r.current.overflow,arrow:!0,onClickAway:()=>t(null),children:n.jsx("div",{children:"测试溢出行为"})})]})}),n.jsx("h4",{children:"滚动容器"}),n.jsx("div",{className:te.scrollContainer,children:n.jsx("div",{className:te.scrollContent,children:n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:u=>r.current.scroll=u,onClick:()=>i("scroll"),children:"滚动测试"}),n.jsx(at,{visible:e==="scroll",anchorEl:r.current.scroll,arrow:!0,onClickAway:()=>t(null),children:n.jsx("div",{children:"测试滚动行为"})})]})})}),n.jsx("h4",{children:"嵌套 Popper"}),n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:u=>r.current["nested-1"]=u,onClick:()=>i("nested-1"),children:"嵌套 Popper"}),n.jsx(at,{visible:e==="nested-1",anchorEl:r.current["nested-1"],arrow:!0,onClickAway:()=>t(null),children:n.jsxs("div",{style:{padding:"8px"},children:[n.jsx("div",{children:"这是第一层 Popper"}),n.jsx($,{ref:u=>r.current["nested-2"]=u,onClick:()=>i("nested-2"),style:{marginTop:8},children:"打开嵌套层"}),n.jsx(at,{visible:e==="nested-2",anchorEl:r.current["nested-2"],arrow:!0,onClickAway:()=>t(null),children:n.jsx("div",{children:"嵌套的 Popper 内容"})})]})})]})]}),n.jsx("h3",{children:"自定义样式"}),n.jsx("div",{className:te.group,children:c.map(({id:u,title:f,style:v})=>n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:w=>r.current[u]=w,onClick:()=>i(u),children:f}),n.jsx(at,{visible:e===u,anchorEl:r.current[u],popperStyle:v,onClickAway:()=>t(null),children:n.jsxs("div",{children:[n.jsx("h4",{children:f}),n.jsx("p",{children:"自定义样式示例内容"}),v.overflow==="auto"&&n.jsx("div",{children:Array(10).fill(null).map((w,x)=>n.jsxs("p",{children:["滚动内容 ",x+1]},x))})]})})]},u))}),n.jsx("h3",{children:"箭头样式"}),n.jsx("div",{className:te.group,children:d.map(({id:u,title:f,props:v})=>n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:w=>r.current[u]=w,onClick:()=>i(u),children:f}),n.jsx(at,{visible:e===u,anchorEl:r.current[u],...v,onClickAway:()=>t(null),children:n.jsx("div",{children:f})})]},u))}),n.jsx("h3",{children:"动画效果"}),n.jsx("div",{className:te.group,children:p.map(({id:u,title:f,animation:v})=>n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:w=>r.current[u]=w,onClick:()=>i(u),children:f}),n.jsx(at,{visible:e===u,anchorEl:r.current[u],animation:v,arrow:!0,onClickAway:()=>t(null),children:n.jsx("div",{children:f})})]},u))}),n.jsx("h3",{children:"位置偏移"}),n.jsx("div",{className:te.group,children:h.map(({id:u,title:f,offset:v})=>n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:w=>r.current[u]=w,onClick:()=>i(u),children:f}),n.jsx(at,{visible:e===u,anchorEl:r.current[u],offset:v,arrow:!0,onClickAway:()=>t(null),children:n.jsx("div",{children:f})})]},u))}),n.jsx("h3",{children:"开关动画"}),n.jsx("div",{className:te.group,children:n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:u=>r.current.toggle=u,onClick:()=>i("toggle"),children:"切换显示"}),n.jsx(at,{visible:e==="toggle",anchorEl:r.current.toggle,arrow:!0,animation:{duration:300,easing:"ease-in-out"},onClickAway:()=>t(null),children:n.jsx("div",{children:"点击按钮或外部区域关闭"})})]})}),n.jsx("h3",{children:"触发方式"}),n.jsx("div",{className:te.group,children:["hover","click","contextMenu","focus","manual"].map(u=>n.jsxs("div",{className:te.demoContainer,children:[n.jsxs($,{ref:f=>r.current[`trigger-${u}`]=f,onMouseEnter:()=>u==="hover"&&i(`trigger-${u}`),onMouseLeave:()=>u==="hover"&&t(null),onClick:()=>u==="click"&&i(`trigger-${u}`),onContextMenu:f=>{u==="contextMenu"&&(f.preventDefault(),i(`trigger-${u}`))},onFocus:()=>u==="focus"&&i(`trigger-${u}`),onBlur:()=>u==="focus"&&t(null),children:[u," 触发"]}),n.jsx(at,{visible:e===`trigger-${u}`,anchorEl:r.current[`trigger-${u}`],trigger:u,onVisibleChange:f=>{console.log(`${u} visibility changed:`,f),t(f?`trigger-${u}`:null)},onClickAway:()=>t(null),children:n.jsxs("div",{children:["通过 ",u," 触发的内容"]})})]},u))}),n.jsx("h3",{children:"虚拟滚动列表"}),n.jsx("div",{className:te.group,children:n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:u=>r.current["virtual-list"]=u,onClick:()=>i("virtual-list"),children:"显示虚拟列表"}),n.jsx(at,{visible:e==="virtual-list",anchorEl:r.current["virtual-list"],scrollable:!1,popperStyle:{padding:0},width:300,height:400,onClickAway:()=>t(null),children:n.jsx(fa,{items:b,maxHeight:400,itemHeight:72,renderItem:u=>{var f,v,w,x;return n.jsxs("div",{className:te.virtualListItem,children:[n.jsx(rt,{src:(f=u.metadata)==null?void 0:f.avatar,size:"medium"}),n.jsxs("div",{className:te.virtualListItemContent,children:[n.jsxs("div",{className:te.virtualListItemHeader,children:[n.jsx("span",{className:te.virtualListItemName,children:(v=u.metadata)==null?void 0:v.name}),n.jsx("span",{className:te.virtualListItemActivity,children:(w=u.metadata)==null?void 0:w.activity})]}),n.jsx("div",{className:te.virtualListItemEmail,children:(x=u.metadata)==null?void 0:x.email})]})]})}})})]})}),n.jsx("h3",{children:"点击外部处理"}),n.jsx("div",{className:te.group,children:n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:u=>r.current.clickaway=u,onClick:()=>i("clickaway"),children:"打开菜单"}),n.jsx(at,{visible:e==="clickaway",anchorEl:r.current.clickaway,onClickAway:u=>{u.target.closest(".safe-zone")||t(null)},children:n.jsxs("div",{className:"safe-zone",children:[n.jsx("div",{children:"这是安全区域,点击不会关闭"}),n.jsx($,{onClick:()=>t(null),children:"手动关闭"})]})})]})}),n.jsx("h3",{children:"Size 预设尺寸"}),n.jsx("div",{className:te.group,children:k.map(({id:u,title:f,size:v,content:w})=>n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:x=>r.current[u]=x,onClick:()=>i(u),children:f}),n.jsx(at,{visible:e===u,anchorEl:r.current[u],size:v,arrow:!0,onClickAway:()=>t(null),children:n.jsxs("div",{className:te.popperContent,children:[n.jsx("h4",{children:f}),n.jsx("p",{children:w})]})})]},u))}),n.jsx("h3",{children:"Auto 尺寸内容展示"}),n.jsx("div",{className:te.group,children:_.map(({id:u,title:f,size:v,multiline:w,content:x,width:N,height:S})=>n.jsxs("div",{className:te.demoContainer,children:[n.jsx($,{ref:E=>r.current[u]=E,onClick:()=>i(u),children:f}),n.jsx(at,{visible:e===u,anchorEl:r.current[u],size:v,width:N,height:S,multiline:w,arrow:!0,onClickAway:()=>t(null),children:n.jsxs("div",{className:te.popperContent,children:[n.jsx("h4",{children:f}),n.jsx("p",{children:x})]})})]},u))})]})},JM=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Fn,{title:e("components.popper.title"),description:e("components.popper.description")}),n.jsx(QM,{})]})},YM="_section_15ptb_42",XM="_group_15ptb_54",Jt={section:YM,group:XM,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},ZM=()=>{const e=()=>{console.log("Search button clicked")};return n.jsxs("div",{className:Jt.section,children:[n.jsx("h3",{children:"SearchButton"}),n.jsx("p",{children:"A button component with a search icon, used for search functionality."}),n.jsx("h3",{children:"Search Button Sizes"}),n.jsxs("div",{className:Jt.group,children:[n.jsx(se,{size:"small"}),n.jsx(se,{size:"medium"}),n.jsx(se,{size:"large"})]}),n.jsx("h3",{children:"Search Button States"}),n.jsxs("div",{className:Jt.group,children:[n.jsx(se,{disabled:!0}),n.jsx(se,{loading:!0}),n.jsx(se,{active:!0})]}),n.jsx("h3",{children:"Search Button Shapes"}),n.jsxs("div",{className:Jt.group,children:[n.jsx(se,{shape:"square"}),n.jsx(se,{shape:"rounded"}),n.jsx(se,{shape:"circle"})]}),n.jsx("h3",{children:"Custom Styles"}),n.jsxs("div",{className:Jt.group,children:[n.jsx(se,{bgColor:"#6200ee",textColor:"#ffffff",hoverBgColor:"#3700b3"}),n.jsx(se,{borderRadius:"20px",borderColor:"#2196f3",borderWidth:"2px"})]}),n.jsx("h3",{children:"Search Text"}),n.jsxs("div",{className:Jt.group,children:[n.jsx(se,{onClick:e,children:"Search"}),n.jsx(se,{onClick:e,variant:"error",children:"Search"}),n.jsx(se,{onClick:e,variant:"warning",children:"Search"}),n.jsx(se,{onClick:e,variant:"success",children:"Search"}),n.jsx(se,{onClick:e,variant:"info",children:"Search"}),n.jsx(se,{onClick:e,shape:"square",children:"Search"}),n.jsx(se,{onClick:e,shape:"rounded",children:"Search"}),n.jsx(se,{onClick:e,animation:"expand",children:"Search"}),n.jsx(se,{onClick:e,animation:"shrink",children:"Search"}),n.jsx(se,{onClick:e,disabled:!0,children:"Search"})]}),n.jsx("h3",{children:"Search Text Size"}),n.jsxs("div",{className:Jt.group,children:[n.jsx(se,{onClick:e,size:"small",children:"Search"}),n.jsx(se,{onClick:e,size:"medium",children:"Search"}),n.jsx(se,{onClick:e,size:"large",children:"Search"}),n.jsx(se,{onClick:e,size:"xlarge",children:"Search"}),n.jsx(se,{onClick:e,children:"Search"})]}),n.jsx("h3",{children:"Search Text Color"}),n.jsxs("div",{className:Jt.group,children:[n.jsx(se,{onClick:e,color:"#fff",children:"Text"}),n.jsx(se,{onClick:e,color:"#000",children:"Test case"})]}),n.jsx("h3",{children:"Search variant"}),n.jsxs("div",{className:Jt.group,children:[n.jsx(se,{onClick:e}),n.jsx(se,{onClick:e,variant:"error"}),n.jsx(se,{onClick:e,variant:"warning"}),n.jsx(se,{onClick:e,variant:"success"}),n.jsx(se,{onClick:e,variant:"info"}),n.jsx(se,{onClick:e,disabled:!0,iconColor:"#fff"})]}),n.jsx("h3",{children:"Search Shape"}),n.jsxs("div",{className:Jt.group,children:[n.jsx(se,{onClick:e,shape:"square"}),n.jsx(se,{onClick:e,shape:"rounded"}),n.jsx(se,{onClick:e,shape:"circle"})]}),n.jsx("h3",{children:"Search Animation"}),n.jsxs("div",{className:Jt.group,children:[n.jsx(se,{onClick:e}),n.jsx(se,{onClick:e,animation:"none"}),n.jsx(se,{onClick:e,animation:"expand"}),n.jsx(se,{onClick:e,animation:"shrink"}),n.jsx(se,{onClick:e,animation:"shake"})]}),n.jsx("h3",{children:"Search Size"}),n.jsxs("div",{className:Jt.group,children:[n.jsx(se,{onClick:e,size:"small"}),n.jsx(se,{onClick:e,size:"medium"}),n.jsx(se,{onClick:e,size:"large"}),n.jsx(se,{onClick:e,size:"xlarge"}),n.jsx(se,{onClick:e})]}),n.jsx("h3",{children:"Search Icon Color"}),n.jsxs("div",{className:Jt.group,children:[n.jsx(se,{onClick:e,iconColor:"#000000"}),n.jsx(se,{onClick:e,iconColor:"#ff0000"}),n.jsx(se,{onClick:e,iconColor:"#00ff00"}),n.jsx(se,{onClick:e,iconColor:"#0000ff"})]}),n.jsx("h3",{children:"Search Background Color"}),n.jsxs("div",{className:Jt.group,children:[n.jsx(se,{onClick:e,bgColor:"#000000"}),n.jsx(se,{onClick:e,bgColor:"#ff0000"}),n.jsx(se,{onClick:e,bgColor:"#00ff00"}),n.jsx(se,{onClick:e,bgColor:"#0000ff"})]}),n.jsx("h3",{children:"Search Loading"}),n.jsxs("div",{className:Jt.group,children:[n.jsx(se,{onClick:e,loading:!0}),n.jsx(se,{onClick:e,loading:!0,variant:"error"}),n.jsx(se,{onClick:e,loading:!0,variant:"warning"}),n.jsx(se,{onClick:e,loading:!0,variant:"success"}),n.jsx(se,{onClick:e,loading:!0,variant:"info"}),n.jsx(se,{onClick:e,loading:!0,disabled:!0,iconColor:"#000"})]}),n.jsx("h3",{children:"Search Button Variants"}),n.jsxs("div",{className:Jt.group,children:[n.jsx(se,{onClick:e}),n.jsx(se,{variant:"primary"}),n.jsx(se,{variant:"secondary"}),n.jsx(se,{variant:"success",onClick:e}),n.jsx(se,{variant:"warning",onClick:e}),n.jsx(se,{variant:"error",onClick:e})]})]})},eB=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Fn,{title:e("components.searchButton.title"),description:e("components.searchButton.description")}),n.jsx(ZM,{})]})},tB="_section_15ptb_42",nB="_group_15ptb_54",wi={section:tB,group:nB,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},rB=()=>n.jsxs("div",{className:wi.section,children:[n.jsx("h3",{children:"Status Types"}),n.jsxs("div",{className:wi.group,children:[n.jsx(Ie,{type:"online",showLabel:!0}),n.jsx(Ie,{type:"offline",showLabel:!0}),n.jsx(Ie,{type:"away",showLabel:!0}),n.jsx(Ie,{type:"busy",showLabel:!0})]}),n.jsx("h3",{children:"Status Sizes"}),n.jsxs("div",{className:wi.group,children:[n.jsx(Ie,{type:"online",size:"small"}),n.jsx(Ie,{type:"online",size:"medium"}),n.jsx(Ie,{type:"online",size:"large"})]}),n.jsx("h3",{children:"Status Shapes"}),n.jsxs("div",{className:wi.group,children:[n.jsx(Ie,{type:"online",showLabel:!0}),n.jsx(Ie,{type:"offline",showLabel:!0}),n.jsx(Ie,{type:"away",showLabel:!0}),n.jsx(Ie,{type:"busy",showLabel:!0}),n.jsx(Ie,{status:"success",shape:"circle"}),n.jsx(Ie,{status:"success",shape:"square"}),n.jsx(Ie,{status:"success",shape:"rounded"})]}),n.jsx("h3",{children:"Custom Colors"}),n.jsxs("div",{className:wi.group,children:[n.jsx(Ie,{type:"custom",color:"#9c27b0"}),n.jsx(Ie,{type:"custom",color:"#ff9800"}),n.jsx(Ie,{type:"custom",color:"#2196f3"})]}),n.jsx("h3",{children:"Disabled Status"}),n.jsxs("div",{className:wi.group,children:[n.jsx(Ie,{type:"online",animated:!0}),n.jsx(Ie,{type:"offline",animated:!0}),n.jsx(Ie,{type:"away",animated:!0}),n.jsx(Ie,{type:"busy",animated:!0})]}),n.jsx("h3",{children:"Status Button"}),n.jsxs("div",{className:wi.group,children:[n.jsx(Ie,{status:"success"}),n.jsx(Ie,{status:"error"}),n.jsx(Ie,{status:"warning"}),n.jsx(Ie,{status:"info"}),n.jsx(Ie,{status:"success",shape:"square"}),n.jsx(Ie,{status:"error",shape:"square"}),n.jsx(Ie,{status:"warning",shape:"square"}),n.jsx(Ie,{status:"info",shape:"square"}),n.jsx(Ie,{status:"success",shape:"rounded"}),n.jsx(Ie,{status:"error",shape:"rounded"}),n.jsx(Ie,{status:"warning",shape:"rounded"}),n.jsx(Ie,{status:"info",shape:"rounded"}),n.jsx(Ie,{type:"online",disabled:!0}),n.jsx(Ie,{status:"success",disabled:!0}),n.jsx(Ie,{type:"custom",color:"#9c27b0",disabled:!0})]})]}),iB=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Fn,{title:e("components.statusIndicator.title"),description:e("components.statusIndicator.description")}),n.jsx(rB,{})]})},sB="_section_16f4s_42",aB="_group_16f4s_54",is={section:sB,group:aB,"accordion-down":"_accordion-down_16f4s_1","accordion-up":"_accordion-up_16f4s_1"},oB=()=>{const[e,t]=y.useState();return n.jsxs("div",{className:is.section,children:[n.jsx("h3",{children:"Basic TimePicker"}),n.jsx("div",{className:is.group,children:n.jsx(ir,{value:e,onChange:t,placeholder:"Select time"})}),n.jsx("h3",{children:"Time Format"}),n.jsxs("div",{className:is.group,children:[n.jsx(ir,{format:"HH:mm:ss",placeholder:"24-hour format"}),n.jsx(ir,{format:"hh:mm:ss a",use12Hours:!0,placeholder:"12-hour format"}),n.jsx(ir,{format:"HH:mm",showSecond:!1,placeholder:"Without seconds"})]}),n.jsx("h3",{children:"Size Variants"}),n.jsxs("div",{className:is.group,children:[n.jsx(ir,{size:"small",placeholder:"Small"}),n.jsx(ir,{size:"medium",placeholder:"Medium"}),n.jsx(ir,{size:"large",placeholder:"Large"})]}),n.jsx("h3",{children:"States"}),n.jsxs("div",{className:is.group,children:[n.jsx(ir,{disabled:!0,placeholder:"Disabled"}),n.jsx(ir,{minTime:new Date(2024,0,1,9,0,0),maxTime:new Date(2024,0,1,18,0,0),placeholder:"9:00 - 18:00"})]}),n.jsx("h3",{children:"Step Options"}),n.jsx("div",{className:is.group,children:n.jsx(ir,{hourStep:2,minuteStep:15,secondStep:15})})]})},lB=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Fn,{title:e("components.timePicker.title"),description:e("components.timePicker.description")}),n.jsx(oB,{})]})},cB="_section_15rlq_42",dB="_group_15rlq_54",uB="_description_15rlq_63",pB="_listItem_15rlq_69",hB="_itemHeader_15rlq_78",mB="_itemContent_15rlq_84",fB="_itemTitle_15rlq_87",gB="_itemMeta_15rlq_93",xB="_metadata_15rlq_110",vB="_status_15rlq_122",jB="_active_15rlq_127",_B="_inactive_15rlq_131",yB="_pending_15rlq_135",bB="_priority_15rlq_139",wB="_high_15rlq_139",CB="_medium_15rlq_142",kB="_low_15rlq_145",SB="_controls_15rlq_149",NB="_info_15rlq_155",De={section:cB,group:dB,description:uB,listItem:pB,itemHeader:hB,itemContent:mB,itemTitle:fB,itemMeta:gB,metadata:xB,status:vB,active:jB,inactive:_B,pending:yB,priority:bB,high:wB,medium:CB,low:kB,controls:SB,info:NB,"accordion-down":"_accordion-down_15rlq_1","accordion-up":"_accordion-up_15rlq_1"},ca=(e,t)=>Array.from({length:t},(r,i)=>({id:e+i,metadata:{title:`Item ${e+i}`,description:`This is the description for item ${e+i}`,timestamp:Date.now()-Math.floor(Math.random()*1e7),status:i%3===0?"active":i%3===1?"inactive":"pending",author:`User ${i%5}`,category:`Category ${i%3}`,priority:i%4===0?"high":i%4===1?"medium":"low",avatar:`https://i.pravatar.cc/150?u=${i}`}})),$B=()=>{const[e]=y.useState(()=>ca(0,100)),[t,r]=y.useState(()=>ca(0,50)),[i,s]=y.useState(!1),[a,o]=y.useState(()=>ca(0,1e3)),[l,c]=y.useState(!1),d=y.useCallback(async()=>{s(!0);try{await new Promise(g=>setTimeout(g,1e3)),r(g=>[...g,...ca(g.length,20)])}finally{s(!1)}},[]),p=y.useCallback(async g=>{c(!0);try{await new Promise(j=>setTimeout(j,1e3)),o(ca(0,g))}finally{c(!1)}},[]),h=y.useCallback(g=>{var j,b,k;return n.jsxs("div",{className:De.listItem,children:[n.jsxs("div",{className:De.itemHeader,children:[n.jsx(rt,{size:"small",src:(j=g.metadata)==null?void 0:j.avatar}),n.jsx("div",{className:De.itemTitle,children:(b=g==null?void 0:g.metadata)==null?void 0:b.title})]}),n.jsx("div",{className:De.description,children:(k=g==null?void 0:g.metadata)==null?void 0:k.description})]})},[]),m=y.useCallback(g=>{var j,b,k,_,u,f,v,w,x,N,S;return n.jsxs("div",{className:De.listItem,children:[n.jsxs("div",{className:De.itemHeader,children:[n.jsx(rt,{size:"medium",src:(j=g.metadata)==null?void 0:j.avatar}),n.jsxs("div",{className:De.itemContent,children:[n.jsx("div",{className:De.itemTitle,children:(b=g==null?void 0:g.metadata)==null?void 0:b.title}),n.jsxs("div",{className:De.itemMeta,children:[n.jsxs("span",{className:De.author,children:[n.jsx(ei,{size:12}),(k=g.metadata)==null?void 0:k.author]}),n.jsxs("span",{className:De.timestamp,children:[n.jsx(yu,{size:12}),new Date((_=g==null?void 0:g.metadata)==null?void 0:_.timestamp).toLocaleString()]})]})]}),((u=g==null?void 0:g.metadata)==null?void 0:u.status)&&n.jsx("div",{className:`${De.status} ${De[(f=g==null?void 0:g.metadata)==null?void 0:f.status]}`,children:(v=g==null?void 0:g.metadata)==null?void 0:v.status})]}),n.jsx("div",{className:De.description,children:(w=g==null?void 0:g.metadata)==null?void 0:w.description}),n.jsxs("div",{className:De.metadata,children:[n.jsxs("span",{className:De.category,children:[n.jsx(aA,{size:12}),(x=g==null?void 0:g.metadata)==null?void 0:x.category]}),n.jsxs("span",{className:`${De.priority} ${De[((N=g==null?void 0:g.metadata)==null?void 0:N.priority)||""]}`,children:["Priority: ",(S=g==null?void 0:g.metadata)==null?void 0:S.priority]})]})]})},[]);return n.jsxs("div",{className:De.section,children:[n.jsx("h3",{children:"Basic Virtual List"}),n.jsx("p",{className:De.description,children:"简单列表项展示"}),n.jsx("div",{className:De.group,children:n.jsx("div",{style:{width:"100%",maxWidth:400},children:n.jsx(fa,{items:e,maxHeight:320,renderItem:h})})}),n.jsx("h3",{children:"Detailed Virtual List"}),n.jsx("p",{className:De.description,children:"展示更多元数据和复杂布局"}),n.jsx("div",{className:De.group,children:n.jsx("div",{style:{width:"100%",maxWidth:500},children:n.jsx(fa,{style:{background:"#d3d3d3"},items:t,maxHeight:360,renderItem:m})})}),n.jsx("h3",{children:"Infinite Scroll with Rich Content"}),n.jsx("p",{className:De.description,children:"无限滚动加载更多数据,展示丰富的内容"}),n.jsxs("div",{className:De.group,children:[n.jsx("div",{style:{width:"100%",maxWidth:500},children:n.jsx(fa,{items:t,maxHeight:360,onLoadMore:d,loading:i,loadMoreThreshold:150,renderItem:m})}),n.jsxs("div",{className:De.info,children:["已加载: ",t.length," 条数据"]})]}),n.jsx("h3",{children:"High Performance Mode"}),n.jsx("p",{className:De.description,children:"大数据集的高性能渲染模式,支持不同布局切换"}),n.jsxs("div",{className:De.group,children:[n.jsx("div",{style:{width:"100%",maxWidth:500},children:n.jsx(fa,{items:a,maxHeight:400,highPerformance:!0,renderItem:m})}),n.jsxs("div",{className:De.controls,children:[n.jsx($,{onClick:()=>p(2e4),variant:"primary",loading:l,children:"加载 20,000 条数据"}),n.jsx($,{onClick:()=>p(5e4),variant:"warning",loading:l,children:"加载 50,000 条数据"}),n.jsxs("div",{className:De.count,children:["当前数据量: ",a.length.toLocaleString()," 条"]})]})]})]})},zB=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Fn,{title:e("components.virtualList.title"),description:e("components.virtualList.description")}),n.jsx($B,{})]})},EB="_section_nsnyg_42",LB="_group_nsnyg_54",RB="_description_nsnyg_63",jn={section:EB,group:LB,description:RB,"accordion-down":"_accordion-down_nsnyg_1","accordion-up":"_accordion-up_nsnyg_1"},AB=()=>{const[e,t]=y.useState(""),[r,i]=y.useState(!1),[s,a]=y.useState([]),o=[{label:"JavaScript",value:"js",icon:n.jsx(ld,{}),description:"Popular programming language",group:"Frontend",highlight:!0},{label:"TypeScript",value:"ts",icon:n.jsx(ld,{}),description:"Typed superset of JavaScript",group:"Frontend"},{label:"Python",value:"py",icon:n.jsx(W5,{}),description:"General-purpose programming language",group:"Backend"},{label:"Node.js",value:"node",icon:n.jsx(H5,{}),description:"JavaScript runtime",group:"Backend",disabled:!0,style:{color:"#43853d"}}];return n.jsxs("div",{className:jn.section,children:[n.jsx("h3",{children:"Basic Mode"}),n.jsxs("p",{className:jn.description,children:["基础模式下的自动完成组件。当前选择: ",e||"未选择"]}),n.jsx("div",{className:jn.group,children:n.jsx("div",{style:{width:300},children:n.jsx(ts,{name:"basic",label:"Programming Language",mode:"basic",value:e,onChange:t,options:o,textFieldProps:{placeholder:"Type to search...",helperText:"Basic mode with default rendering",size:"medium",clearable:!0}})})}),n.jsx("h3",{children:"Custom Mode"}),n.jsx("p",{className:jn.description,children:"自定义模式允许完全控制选项的渲染方式。"}),n.jsx("div",{className:jn.group,children:n.jsx("div",{style:{width:300},children:n.jsx(ts,{name:"custom",label:"Custom Rendering",mode:"custom",options:o,textFieldProps:{placeholder:"Custom mode...",helperText:"Custom rendering with icons",size:"medium"},renderOption:l=>n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",padding:"8px",...l.style},children:[l.icon,n.jsxs("div",{children:[n.jsx("div",{style:{fontWeight:500},children:l.label}),n.jsx("small",{style:{color:"#666"},children:l.description})]})]})})})}),n.jsx("h3",{children:"Multiple Selection"}),n.jsxs("p",{className:jn.description,children:["多选模式下的标签展示。已选择: ",s.length]}),n.jsx("div",{className:jn.group,children:n.jsx("div",{style:{width:300},children:n.jsx(ts,{name:"multiple",label:"Multiple Selection",options:o,multiple:!0,maxTagCount:2,value:s.map(l=>l.label).join(", "),textFieldProps:{placeholder:"Select multiple...",helperText:"Select multiple options",size:"medium"},onSelect:l=>{a(c=>c.some(p=>p.value===l.value)?c.filter(p=>p.value!==l.value):[...c,l])}})})}),n.jsx("h3",{children:"Empty and Loading States"}),n.jsx("p",{className:jn.description,children:"展示空状态和加载状态。"}),n.jsx("div",{className:jn.group,children:n.jsx("div",{style:{width:300},children:n.jsx(ts,{name:"empty-loading",label:"States Demo",options:[],loading:r,emptyProps:{description:"No results found",icon:n.jsx(ld,{}),style:{padding:"20px"}},textFieldProps:{placeholder:"Type to search...",helperText:r?"Loading...":"Try searching",disabled:r},popperProps:{width:400,height:400},onChange:()=>{i(!0),setTimeout(()=>i(!1),1e3)}})})}),n.jsx("h3",{children:"Popper Configuration"}),n.jsx("p",{className:jn.description,children:"自定义下拉框的位置和样式。"}),n.jsx("div",{className:jn.group,children:n.jsx("div",{style:{width:300},children:n.jsx(ts,{name:"popper",label:"Popper Settings",options:o,placement:"bottom",offset:{x:0,y:8},dropdownBgColor:"#f8f9fa",highlightBgColor:"#e9ecef",hoverBgColor:"#dee2e6",animation:!0,textFieldProps:{placeholder:"With popper config...",size:"medium"}})})}),n.jsx("h3",{children:"Event Handling"}),n.jsxs("p",{className:jn.description,children:["展示值变化和选择事件的处理。当前值: ",e]}),n.jsx("div",{className:jn.group,children:n.jsx("div",{style:{width:300},children:n.jsx(ts,{name:"events",label:"Event Handlers",options:o,value:e,onChange:l=>{t(l),console.log("Value changed:",l)},onSelect:l=>{t(l.label),console.log("Selected:",l)},onOptionClick:l=>console.log("Clicked:",l),onDropdownVisibleChange:l=>console.log("Dropdown:",l),textFieldProps:{placeholder:"Interact to see events...",helperText:"Watch console for events",size:"medium"}})})})]})},IB=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Fn,{title:e("components.autoComplete.title"),description:e("components.autoComplete.description")}),n.jsx(AB,{})]})},PB="_section_nsnyg_42",MB="_group_nsnyg_54",BB="_description_nsnyg_63",Je={section:PB,group:MB,description:BB,"accordion-down":"_accordion-down_nsnyg_1","accordion-up":"_accordion-up_nsnyg_1"},TB=()=>n.jsxs("div",{className:Je.section,children:[n.jsx("h3",{children:"Basic Empty State"}),n.jsx("p",{className:Je.description,children:"基础的空状态展示"}),n.jsxs("div",{className:Je.group,children:[n.jsx(jt,{description:"No Data"}),n.jsx(jt,{description:"使用 SVG 图标",useSvg:!0})]}),n.jsx("h3",{children:"Icon Variants"}),n.jsx("p",{className:Je.description,children:"不同图标类型的展示"}),n.jsxs("div",{className:Je.group,children:[n.jsx(jt,{description:"默认图标"}),n.jsx(jt,{description:"SVG 图标",useSvg:!0}),n.jsx(jt,{icon:n.jsx(gm,{size:40}),description:"自定义图标"})]}),n.jsx("h3",{children:"Custom Icons"}),n.jsx("p",{className:Je.description,children:"自定义图标的空状态"}),n.jsxs("div",{className:Je.group,children:[n.jsx(jt,{icon:n.jsx(gm,{size:40}),description:"收件箱为空"}),n.jsx(jt,{icon:n.jsx(wu,{size:40}),description:"未找到搜索结果"}),n.jsx(jt,{icon:n.jsx(fm,{size:40}),description:"暂无文档"}),n.jsx(jt,{icon:n.jsx(iA,{size:40}),description:"暂无图片"})]}),n.jsx("h3",{children:"With Actions"}),n.jsx("p",{className:Je.description,children:"带操作按钮的空状态"}),n.jsxs("div",{className:Je.group,children:[n.jsx(jt,{description:"购物车为空",useSvg:!0,children:n.jsx($,{variant:"primary",children:"去购物"})}),n.jsx(jt,{description:"暂无文件",icon:n.jsx(fm,{size:40}),children:n.jsx($,{variant:"primary",children:"上传文件"})}),n.jsx(jt,{description:"数据为空",icon:n.jsx(ZR,{size:40}),children:n.jsxs("div",{className:Je.actions,children:[n.jsx($,{variant:"primary",children:"导入数据"}),n.jsx($,{children:"刷新"})]})})]}),n.jsx("h3",{children:"Custom Styles"}),n.jsx("p",{className:Je.description,children:"自定义样式的空状态"}),n.jsxs("div",{className:Je.group,children:[n.jsx(jt,{icon:n.jsx(nA,{size:40,color:"#faad14"}),description:"出错了",className:Je.warningEmpty,children:n.jsx($,{variant:"warning",children:"重试"})}),n.jsx(jt,{useSvg:!0,description:n.jsxs("div",{className:Je.customDescription,children:[n.jsx("h4",{children:"暂无数据"}),n.jsx("p",{children:"请稍后再试"})]}),className:Je.infoEmpty})]}),n.jsx("h3",{children:"With, height, shadow, backgroundColor, color"}),n.jsxs("div",{className:Je.group,children:[n.jsx(jt,{width:"200px",height:"200px",showShadow:!0,backgroundColor:"#fff",color:"#000"}),n.jsx(jt,{width:300,height:300,showShadow:!0,backgroundColor:"#fff",color:"#000",children:n.jsx($,{variant:"primary",children:"重新加载"})}),n.jsx(jt,{width:300,height:500,showShadow:!0,backgroundColor:"#fff",color:"#000",children:n.jsx($,{variant:"primary",children:"重新加载"})})]}),n.jsx("h3",{children:"Complex Empty States"}),n.jsx("p",{className:Je.description,children:"复杂的空状态展示"}),n.jsxs("div",{className:Je.group,children:[n.jsx(jt,{icon:n.jsx(wu,{size:40}),description:n.jsxs("div",{className:Je.complexDescription,children:[n.jsx("h4",{children:"未找到匹配结果"}),n.jsx("p",{children:"试试其他搜索条件"}),n.jsxs("ul",{children:[n.jsx("li",{children:"检查输入是否正确"}),n.jsx("li",{children:"使用更少的筛选条件"}),n.jsx("li",{children:"使用更通用的关键词"})]})]}),className:Je.searchEmpty,children:n.jsxs("div",{className:Je.actions,children:[n.jsx($,{variant:"primary",children:"清除筛选"}),n.jsx($,{children:"返回"})]})}),n.jsx(jt,{useSvg:!0,description:n.jsxs("div",{className:Je.complexDescription,children:[n.jsx("h4",{children:"数据加载失败"}),n.jsx("p",{children:"可能的原因:"}),n.jsxs("ul",{children:[n.jsx("li",{children:"网络连接不稳定"}),n.jsx("li",{children:"服务器暂时不可用"}),n.jsx("li",{children:"数据权限不足"})]})]}),className:Je.errorEmpty,children:n.jsx($,{variant:"primary",children:"重新加载"})}),n.jsx(jt,{useSvg:!0,showShadow:!0,description:n.jsxs("div",{className:Je.complexDescription,children:[n.jsx("h4",{children:"数据加载失败"}),n.jsx("p",{children:"可能的原因:"}),n.jsxs("ul",{children:[n.jsx("li",{children:"网络连接不稳定"}),n.jsx("li",{children:"服务器暂时不可用"}),n.jsx("li",{children:"数据权限不足"})]})]}),className:Je.errorEmpty,children:n.jsx($,{variant:"primary",children:"重新加载"})}),n.jsx(jt,{useSvg:!0,showShadow:!0,backgroundColor:"#ff9800",color:"#fff",description:n.jsxs("div",{className:Je.complexDescription,children:[n.jsx("h4",{children:"数据加载失败"}),n.jsx("p",{children:"可能的原因:"}),n.jsxs("ul",{children:[n.jsx("li",{children:"网络连接不稳定"}),n.jsx("li",{children:"服务器暂时不可用"}),n.jsx("li",{children:"数据权限不足"})]})]}),className:Je.errorEmpty,children:n.jsx($,{variant:"primary",children:"重新加载"})})]})]}),OB=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Fn,{title:e("components.empty.title"),description:e("components.empty.description")}),n.jsx(TB,{})]})},FB="_section_erl0y_42",DB="_group_erl0y_54",UB="_description_erl0y_66",tt={section:FB,group:DB,description:UB,"accordion-down":"_accordion-down_erl0y_1","accordion-up":"_accordion-up_erl0y_1"},HB=()=>{const e=[{value:"zhejiang",label:"浙江",children:[{value:"hangzhou",label:"杭州",children:[{value:"xihu",label:"西湖"}]}]},{value:"jiangsu",label:"江苏",children:[{value:"nanjing",label:"南京",children:[{value:"zhonghuamen",label:"中华门"}]}]}],t=[{value:"level1",label:"Level 1",children:[{value:"level2",label:"Level 2",children:[{value:"level3",label:"Level 3",children:[{value:"level4",label:"Level 4",children:[{value:"level5",label:"Level 5",children:[{value:"level6",label:"Level 6"}]}]}]}]}]}],[r,i]=y.useState([]);return n.jsxs("div",{className:tt.section,children:[n.jsx("h3",{children:"Basic Usage"}),n.jsx("p",{className:tt.description,children:"基础级联选择器,支持多级选择"}),n.jsx("div",{className:tt.group,children:n.jsx("div",{style:{width:"100%",maxWidth:320},children:n.jsx(dn,{label:"Basic",name:"basic",options:e,placeholder:"请选择"})})}),n.jsx("h3",{children:"Different Sizes"}),n.jsx("p",{className:tt.description,children:"不同尺寸的级联选择器"}),n.jsxs("div",{className:tt.group,children:[n.jsx("div",{style:{width:200},children:n.jsx(dn,{label:"Small",name:"small",options:e,placeholder:"Small size"})}),n.jsx("div",{style:{width:280},children:n.jsx(dn,{label:"Medium",name:"medium",options:e,placeholder:"Medium size"})}),n.jsx("div",{style:{width:360},children:n.jsx(dn,{label:"Large",name:"large",options:e,placeholder:"Large size"})})]}),n.jsx("h3",{children:"Default Value"}),n.jsx("p",{className:tt.description,children:"设置默认值的级联选择器"}),n.jsx("div",{className:tt.group,children:n.jsx(dn,{label:"Default Value",name:"defaultValue",options:e,defaultValue:["zhejiang","hangzhou","xihu"]})}),n.jsx("h3",{children:"Controlled Mode"}),n.jsx("p",{className:tt.description,children:"受控模式的级联选择器"}),n.jsx("div",{className:tt.group,children:n.jsx(dn,{label:"Controlled",name:"controlled",options:e,value:r,onChange:s=>i(s)})}),n.jsx("h3",{children:"Custom Display"}),n.jsx("p",{className:tt.description,children:"自定义显示格式"}),n.jsx("div",{className:tt.group,children:n.jsx(dn,{label:"Custom Display",name:"customDisplay",options:e,displayRender:s=>s.join(" > ")})}),n.jsx("h3",{children:"Disabled State"}),n.jsx("p",{className:tt.description,children:"禁用状态的级联选择器"}),n.jsx("div",{className:tt.group,children:n.jsx(dn,{label:"Disabled",name:"disabled",options:e,disabled:!0,defaultValue:["zhejiang","hangzhou"]})}),n.jsx("h3",{children:"Search Mode"}),n.jsx("p",{className:tt.description,children:"可搜索的级联选择器"}),n.jsx("div",{className:tt.group,children:n.jsx(dn,{label:"Searchable",name:"searchable",options:e,width:280,showSearch:!0,filter:(s,a)=>a.some(o=>o.label.toString().toLowerCase().includes(s.toLowerCase()))})}),n.jsx("h3",{children:"Dynamic Loading"}),n.jsx("p",{className:tt.description,children:"动态加载数据的级联选择器"}),n.jsx("div",{className:tt.group,children:n.jsx(dn,{label:"Dynamic Loading",name:"dynamicLoading",options:[{value:"parent",label:"Parent Node",isLeaf:!1}],loadData:s=>{const a=s[s.length-1];a.loading=!0,setTimeout(()=>{a.loading=!1,a.children=[{label:`${a.label} Child`,value:`${a.value}-child`}]},1e3)}})}),n.jsx("h3",{children:"Custom Option Render"}),n.jsx("p",{className:tt.description,children:"自定义选项渲染"}),n.jsx("div",{className:tt.group,children:n.jsx(dn,{label:"Custom Render",name:"customRender",options:e,optionRender:(s,a)=>n.jsxs("div",{style:{padding:"4px 8px"},children:[n.jsx("span",{children:s.label}),a<2&&n.jsx("span",{style:{float:"right"},children:"→"})]})})}),n.jsx("h3",{children:"Deep Nesting"}),n.jsx("p",{className:tt.description,children:"支持最多6层级联"}),n.jsx("div",{className:tt.group,children:n.jsx(dn,{label:"Deep Nesting",name:"deepNesting",options:t,width:280})}),n.jsx("h3",{children:"Custom Styles"}),n.jsx("p",{className:tt.description,children:"自定义样式的级联选择器"}),n.jsx("div",{className:tt.group,children:n.jsx(dn,{label:"Custom Style",name:"customStyle",options:e,width:280,dropdownStyle:{background:"#f6f7f9",borderRadius:"8px"},optionStyle:{borderRadius:"4px",margin:"2px 4px"},style:{"--cascader-option-hover-bg":"#e6f4ff","--cascader-option-active-bg":"#1890ff","--cascader-option-active-color":"#ffffff"}})}),n.jsx("h3",{children:"Max Level Control"}),n.jsx("p",{className:tt.description,children:"控制最大层级数"}),n.jsx("div",{className:tt.group,children:n.jsx(dn,{label:"Max Level 3",name:"maxLevel",options:t,maxLevel:3,width:280})})]})},WB=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Fn,{title:e("components.cascader.title"),description:e("components.cascader.description")}),n.jsx(HB,{})]})},qB="_section_qa4oz_42",VB="_group_qa4oz_54",KB="_divider_qa4oz_61",Yt={section:qB,group:VB,divider:KB,"accordion-down":"_accordion-down_qa4oz_1","accordion-up":"_accordion-up_qa4oz_1"},GB=()=>{const[e,t]=y.useState("horizontal"),[r,i]=y.useState("medium"),[s,a]=y.useState(!0);return n.jsxs("div",{className:Yt.section,children:[n.jsxs("div",{className:Yt.header,children:[n.jsx("h2",{children:"Space 间距"}),n.jsx("p",{children:"设置组件之间的间距"})]}),n.jsx("h3",{children:"基础用法"}),n.jsx("p",{className:Yt.description,children:"最基础的用法,通过 size 设置间距大小"}),n.jsx("div",{className:Yt.group,children:n.jsxs(V,{size:"small",children:[n.jsx($,{children:"按钮 1"}),n.jsx($,{children:"按钮 2"}),n.jsx($,{children:"按钮 3"})]})}),n.jsx("h3",{children:"垂直间距"}),n.jsx("p",{className:Yt.description,children:"可以设置垂直方向的间距"}),n.jsx("div",{className:Yt.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsx($,{children:"按钮 1"}),n.jsx($,{children:"按钮 2"}),n.jsx($,{children:"按钮 3"})]})}),n.jsx("h3",{children:"间距大小"}),n.jsx("p",{className:Yt.description,children:"内置三种间距尺寸"}),n.jsx("div",{className:Yt.group,children:n.jsxs(V,{direction:"vertical",size:"large",block:!0,children:[n.jsxs(V,{size:"small",children:[n.jsx($,{children:"Small"}),n.jsx($,{children:"间距"}),n.jsx($,{children:"示例"})]}),n.jsxs(V,{size:"medium",children:[n.jsx($,{children:"Medium"}),n.jsx($,{children:"间距"}),n.jsx($,{children:"示例"})]}),n.jsxs(V,{size:"large",children:[n.jsx($,{children:"Large"}),n.jsx($,{children:"间距"}),n.jsx($,{children:"示例"})]})]})}),n.jsx("h3",{children:"自动换行"}),n.jsx("p",{className:Yt.description,children:"当空间不足时自动换行"}),n.jsx("div",{className:Yt.group,children:n.jsx(V,{wrap:!0,children:Array.from({length:10},(o,l)=>n.jsxs($,{children:["按钮 ",l+1]},l))})}),n.jsx("h3",{children:"对齐方式"}),n.jsx("p",{className:Yt.description,children:"设置对齐方式"}),n.jsx("div",{className:Yt.group,children:n.jsxs(V,{direction:"vertical",size:"large",block:!0,children:[n.jsxs(V,{justify:"start",block:!0,children:[n.jsx($,{children:"左对齐"}),n.jsx($,{children:"示例"})]}),n.jsxs(V,{justify:"center",block:!0,children:[n.jsx($,{children:"居中对齐"}),n.jsx($,{children:"示例"})]}),n.jsxs(V,{justify:"end",block:!0,children:[n.jsx($,{children:"右对齐"}),n.jsx($,{children:"示例"})]}),n.jsxs(V,{justify:"space-between",block:!0,children:[n.jsx($,{children:"两端对齐"}),n.jsx($,{children:"示例"})]}),n.jsxs(V,{justify:"space-around",block:!0,children:[n.jsx($,{children:"环绕对齐"}),n.jsx($,{children:"示例"})]})]})}),n.jsx("h3",{children:"卡片间距"}),n.jsx("p",{className:Yt.description,children:"在卡片组件中使用间距"}),n.jsx("div",{className:Yt.group,children:n.jsx(V,{direction:"vertical",size:"large",children:n.jsxs(V,{size:"large",children:[n.jsx(Xt,{children:"Card 1"}),n.jsx(Xt,{children:"Card 2"}),n.jsx(Xt,{children:"Card 3"})]})})}),n.jsx("h3",{children:"动态配置"}),n.jsx("p",{className:Yt.description,children:"动态控制 Space 的属性"}),n.jsx("div",{className:Yt.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{children:[n.jsx($,{onClick:()=>t(o=>o==="horizontal"?"vertical":"horizontal"),children:"切换方向"}),n.jsx($,{onClick:()=>i(o=>o==="small"?"medium":o==="medium"?"large":"small"),children:"切换大小"}),n.jsx($,{onClick:()=>a(o=>!o),children:"切换换行"})]}),n.jsxs(V,{direction:e,size:r,wrap:s,children:[n.jsx($,{children:"按钮 1"}),n.jsx($,{children:"按钮 2"}),n.jsx($,{children:"按钮 3"})]})]})})]})},QB=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Fn,{title:e("components.space.title"),description:e("components.space.description")}),n.jsx(GB,{})]})},JB="_section_1gztw_42",YB="_group_1gztw_54",XB="_description_1gztw_63",yt={section:JB,group:YB,description:XB,"accordion-down":"_accordion-down_1gztw_1","accordion-up":"_accordion-up_1gztw_1"},ZB=()=>{const[e,t]=y.useState(["Tag 1","Tag 2","Tag 3","Tag 4"]),[r,i]=y.useState([]),s=o=>{t(e.filter(l=>l!==o))},a=o=>{i(l=>l.includes(o)?l.filter(c=>c!==o):[...l,o])};return n.jsxs("div",{className:yt.section,children:[n.jsxs("div",{className:yt.header,children:[n.jsx("h2",{children:"Tag 标签"}),n.jsx("p",{className:yt.description,children:"进行标记和分类的小标签"})]}),n.jsx("h3",{children:"基础用法"}),n.jsx("p",{className:yt.description,children:"基础的标签用法,可以通过设置 variant 来展示不同的状态。"}),n.jsxs("div",{className:yt.group,children:[n.jsx(ye,{children:"Default"}),n.jsx(ye,{variant:"primary",children:"Primary"}),n.jsx(ye,{variant:"success",children:"Success"}),n.jsx(ye,{variant:"warning",children:"Warning"}),n.jsx(ye,{variant:"error",children:"Error"}),n.jsx(ye,{variant:"info",children:"Info"})]}),n.jsx("h3",{children:"组合展示"}),n.jsx("p",{className:yt.description,children:"不同属性的组合展示效果。"}),n.jsx("div",{className:yt.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{wrap:!0,children:[n.jsx(ye,{bordered:!0,variant:"primary",children:"边框标签"}),n.jsx(ye,{elevation:!0,variant:"success",children:"阴影标签"}),n.jsx(ye,{icon:n.jsx(Zg,{}),variant:"warning",children:"图标标签"}),n.jsx(ye,{closable:!0,variant:"error",children:"可关闭"})]}),n.jsxs(V,{wrap:!0,children:[n.jsx(ye,{bordered:!0,elevation:!0,children:"边框+阴影"}),n.jsx(ye,{icon:n.jsx(rA,{}),closable:!0,children:"图标+关闭"}),n.jsx(ye,{bordered:!0,icon:n.jsx(yu,{}),children:"边框+图标"}),n.jsx(ye,{elevation:!0,closable:!0,variant:"primary",children:"阴影+关闭"})]})]})}),n.jsx("h3",{children:"状态标签"}),n.jsx("p",{className:yt.description,children:"用于表示状态的标签组合。"}),n.jsx("div",{className:yt.group,children:n.jsxs(V,{wrap:!0,children:[n.jsx(ye,{icon:n.jsx(eo,{}),variant:"success",children:"已完成"}),n.jsx(ye,{icon:n.jsx(yu,{}),variant:"warning",children:"进行中"}),n.jsx(ye,{icon:n.jsx(nl,{}),variant:"error",children:"已锁定"}),n.jsx(ye,{icon:n.jsx(YR,{}),variant:"error",children:"Bug"}),n.jsx(ye,{icon:n.jsx(XR,{}),variant:"info",children:"开发中"}),n.jsx(ye,{icon:n.jsx(ei,{}),variant:"primary",children:"已分配"})]})}),n.jsx("h3",{children:"可选择标签"}),n.jsx("p",{className:yt.description,children:"点击可选择,再次点击取消选择。"}),n.jsx("div",{className:yt.group,children:n.jsx(V,{wrap:!0,children:["设计","前端","后端","测试","运维"].map(o=>n.jsx(ye,{clickable:!0,variant:r.includes(o)?"primary":"default",bordered:r.includes(o),onClick:()=>a(o),children:o},o))})}),n.jsx("h3",{children:"动态编辑标签"}),n.jsx("p",{className:yt.description,children:"动态添加和删除标签。"}),n.jsx("div",{className:yt.group,children:n.jsx(V,{direction:"vertical",size:"large",children:n.jsxs(V,{wrap:!0,children:[e.map(o=>n.jsx(ye,{closable:!0,onClose:()=>s(o),variant:"primary",children:o},o)),n.jsx(ye,{clickable:!0,icon:n.jsx(e2,{}),onClick:()=>{const o=`Tag ${e.length+1}`;t([...e,o])},children:"新建标签"})]})})}),n.jsx("h3",{children:"社交标签"}),n.jsx("p",{className:yt.description,children:"用于社交媒体的标签样式。"}),n.jsx("div",{className:yt.group,children:n.jsxs(V,{wrap:!0,children:[n.jsx(ye,{icon:n.jsx(JR,{}),bgColor:"#24292e",textColor:"#ffffff",children:"GitHub"}),n.jsx(ye,{icon:n.jsx(Ln,{}),bgColor:"#ff4081",textColor:"#ffffff",children:"喜欢"}),n.jsx(ye,{icon:n.jsx(to,{}),bgColor:"#ffd700",textColor:"#000000",children:"收藏"})]})}),n.jsx("h3",{children:"渐变效果标签"}),n.jsx("p",{className:yt.description,children:"使用渐变背景的标签。"}),n.jsx("div",{className:yt.group,children:n.jsxs(V,{wrap:!0,children:[n.jsx(ye,{style:{background:"linear-gradient(45deg, #ff6b6b, #feca57)",color:"#ffffff"},children:"渐变标签"}),n.jsx(ye,{style:{background:"linear-gradient(45deg, #4834d4, #686de0)",color:"#ffffff"},children:"渐变标签"}),n.jsx(ye,{style:{background:"linear-gradient(45deg, #6ab04c, #badc58)",color:"#ffffff"},children:"渐变标签"})]})}),n.jsx("h3",{children:"尺寸与形状组合"}),n.jsx("p",{className:yt.description,children:"不同尺寸和形状的组合展示。"}),n.jsx("div",{className:yt.group,children:n.jsxs(V,{direction:"vertical",size:"large",children:[n.jsxs(V,{wrap:!0,align:"center",children:[n.jsx(ye,{size:"small",shape:"square",children:"小方形"}),n.jsx(ye,{size:"medium",shape:"square",children:"中方形"}),n.jsx(ye,{size:"large",shape:"square",children:"大方形"})]}),n.jsxs(V,{wrap:!0,align:"center",children:[n.jsx(ye,{size:"small",shape:"rounded",children:"小圆角"}),n.jsx(ye,{size:"medium",shape:"rounded",children:"中圆角"}),n.jsx(ye,{size:"large",shape:"rounded",children:"大圆角"})]}),n.jsxs(V,{wrap:!0,align:"center",children:[n.jsx(ye,{size:"small",shape:"circle",children:"小圆形"}),n.jsx(ye,{size:"medium",shape:"circle",children:"中圆形"}),n.jsx(ye,{size:"large",shape:"circle",children:"大圆形"})]})]})}),n.jsx("h3",{children:"带计数器的标签"}),n.jsx("p",{className:yt.description,children:"显示数量的标签组合。"}),n.jsx("div",{className:yt.group,children:n.jsxs(V,{wrap:!0,children:[n.jsxs(ye,{variant:"primary",children:["未读消息"," ",n.jsx(ye,{size:"small",shape:"circle",children:"99+"})]}),n.jsxs(ye,{variant:"success",children:["完成任务"," ",n.jsx(ye,{size:"small",shape:"circle",children:"23"})]}),n.jsxs(ye,{variant:"warning",children:["待处理"," ",n.jsx(ye,{size:"small",shape:"circle",children:"5"})]})]})})]})},eT=()=>{const{t:e}=$e();return n.jsxs("div",{children:[n.jsx(Fn,{title:e("components.tag.title"),description:e("components.tag.description")}),n.jsx(ZB,{})]})},tT="_page_ibqww_42",nT="_header_ibqww_50",rT="_section_ibqww_69",iT="_codeWrapper_ibqww_92",sT="_demoWrapper_ibqww_101",aT="_examples_ibqww_132",oT="_example_ibqww_132",lT="_description_ibqww_157",cT="_tips_ibqww_164",dT="_demo_ibqww_101",uT="_apiTable_ibqww_214",ge={page:tT,header:nT,section:rT,codeWrapper:iT,demoWrapper:sT,examples:aT,example:oT,description:lT,tips:cT,demo:dT,apiTable:uT,"accordion-down":"_accordion-down_ibqww_1","accordion-up":"_accordion-up_ibqww_1"},pT=()=>{var N;const{t:e}=$e(),[t,r]=y.useState(1),[i,s]=y.useState(1),[a,o]=y.useState(1),[l,c]=y.useState(1),[d,p]=y.useState(1),[h,m]=y.useState(10),[g,j]=y.useState(1),[b,k]=y.useState(10),[_,u]=y.useState(1),[f,v]=y.useState(1),[w,x]=y.useState(1);return n.jsxs("div",{className:ge.examples,children:[n.jsxs("div",{className:ge.example,children:[n.jsx("h3",{children:e("components.pagination.examples.introduction.title")}),n.jsx("p",{className:ge.description,children:e("components.pagination.examples.introduction.description")}),n.jsxs("div",{className:ge.tips,children:[n.jsx("h4",{children:e("components.pagination.when_to_use.title")}),n.jsx("ul",{children:(N=e("components.pagination.when_to_use.items",{returnObjects:!0}))==null?void 0:N.map((S,E)=>n.jsx("li",{children:S},E))})]})]}),n.jsxs("div",{className:ge.example,children:[n.jsx("h3",{children:e("components.pagination.examples.basic.title")}),n.jsx("p",{className:ge.description,children:e("components.pagination.examples.basic.description")}),n.jsx("div",{className:ge.demo,children:n.jsx(Ht,{total:50,current:t,onChange:S=>r(S)})}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(ne,{code:`const [page, setPage] = useState(1); `})})]}),n.jsxs("div",{className:fe.example,children:[n.jsx("h3",{children:e("components.pagination.examples.sizes.title")}),n.jsx("p",{className:fe.description,children:e("components.pagination.examples.sizes.description")}),n.jsxs("div",{className:fe.demo,children:[n.jsx(Ut,{total:50,size:"small",current:i,onChange:S=>s(S)}),n.jsx(Ut,{total:50,current:i,onChange:S=>s(S)}),n.jsx(Ut,{total:50,size:"large",current:i,onChange:S=>s(S)})]}),n.jsx("div",{className:fe.codeWrapper,children:n.jsx(oe,{code:` setSizePage(page)} /> +/>`})})]}),n.jsxs("div",{className:ge.example,children:[n.jsx("h3",{children:e("components.pagination.examples.sizes.title")}),n.jsx("p",{className:ge.description,children:e("components.pagination.examples.sizes.description")}),n.jsxs("div",{className:ge.demo,children:[n.jsx(Ht,{total:50,size:"small",current:i,onChange:S=>s(S)}),n.jsx(Ht,{total:50,current:i,onChange:S=>s(S)}),n.jsx(Ht,{total:50,size:"large",current:i,onChange:S=>s(S)})]}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(ne,{code:` setSizePage(page)} /> setSizePage(page)} /> - setSizePage(page)} />`})})]}),n.jsxs("div",{className:fe.example,children:[n.jsx("h3",{children:e("components.pagination.examples.shapes.title")}),n.jsx("p",{className:fe.description,children:e("components.pagination.examples.shapes.description")}),n.jsxs("div",{className:fe.demo,children:[n.jsx(Ut,{total:50,shape:"square",current:a,onChange:S=>o(S)}),n.jsx(Ut,{total:50,shape:"rounded",current:a,onChange:S=>o(S)}),n.jsx(Ut,{total:50,shape:"circle",current:a,onChange:S=>o(S)})]}),n.jsx("div",{className:fe.codeWrapper,children:n.jsx(oe,{code:` setShapePage(page)} /> + setSizePage(page)} />`})})]}),n.jsxs("div",{className:ge.example,children:[n.jsx("h3",{children:e("components.pagination.examples.shapes.title")}),n.jsx("p",{className:ge.description,children:e("components.pagination.examples.shapes.description")}),n.jsxs("div",{className:ge.demo,children:[n.jsx(Ht,{total:50,shape:"square",current:a,onChange:S=>o(S)}),n.jsx(Ht,{total:50,shape:"rounded",current:a,onChange:S=>o(S)}),n.jsx(Ht,{total:50,shape:"circle",current:a,onChange:S=>o(S)})]}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(ne,{code:` setShapePage(page)} /> setShapePage(page)} /> - setShapePage(page)} />`})})]}),n.jsxs("div",{className:fe.example,children:[n.jsx("h3",{children:e("components.pagination.examples.variants.title")}),n.jsx("p",{className:fe.description,children:e("components.pagination.examples.variants.description")}),n.jsxs("div",{className:fe.demo,children:[n.jsx(Ut,{total:50,variant:"filled",current:l,onChange:S=>c(S)}),n.jsx(Ut,{total:50,variant:"outlined",current:l,onChange:S=>c(S)}),n.jsx(Ut,{total:50,variant:"text",current:l,onChange:S=>c(S)})]}),n.jsx("div",{className:fe.codeWrapper,children:n.jsx(oe,{code:` setVariantPage(page)} /> + setShapePage(page)} />`})})]}),n.jsxs("div",{className:ge.example,children:[n.jsx("h3",{children:e("components.pagination.examples.variants.title")}),n.jsx("p",{className:ge.description,children:e("components.pagination.examples.variants.description")}),n.jsxs("div",{className:ge.demo,children:[n.jsx(Ht,{total:50,variant:"filled",current:l,onChange:S=>c(S)}),n.jsx(Ht,{total:50,variant:"outlined",current:l,onChange:S=>c(S)}),n.jsx(Ht,{total:50,variant:"text",current:l,onChange:S=>c(S)})]}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(ne,{code:` setVariantPage(page)} /> setVariantPage(page)} /> - setVariantPage(page)} />`})})]}),n.jsxs("div",{className:fe.example,children:[n.jsx("h3",{children:e("components.pagination.examples.more.title")}),n.jsx("p",{className:fe.description,children:e("components.pagination.examples.more.description")}),n.jsx("div",{className:fe.demo,children:n.jsx(Ut,{total:500,current:u,pageSize:m,showQuickJumper:!0,showSizeChanger:!0,showTotal:!0,onChange:S=>{p(S),h(S)},totalRender:(S,L)=>`${L[0]}-${L[1]} of ${S} items`})}),n.jsx("div",{className:fe.codeWrapper,children:n.jsx(oe,{code:` setVariantPage(page)} />`})})]}),n.jsxs("div",{className:ge.example,children:[n.jsx("h3",{children:e("components.pagination.examples.more.title")}),n.jsx("p",{className:ge.description,children:e("components.pagination.examples.more.description")}),n.jsx("div",{className:ge.demo,children:n.jsx(Ht,{total:500,current:d,pageSize:h,showQuickJumper:!0,showSizeChanger:!0,showTotal:!0,onChange:S=>{p(S),m(S)},totalRender:(S,E)=>`${E[0]}-${E[1]} of ${S} items`})}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(ne,{code:` setMorePage(page)} totalRender={(total, range) => \`\${range[0]}-\${range[1]} of \${total} items\`} -/>`})})]}),n.jsxs("div",{className:fe.example,children:[n.jsx("h3",{children:e("components.pagination.examples.large.title")}),n.jsx("p",{className:fe.description,children:e("components.pagination.examples.large.description")}),n.jsx("div",{className:fe.demo,children:n.jsx(Ut,{total:1e3,current:x,pageSize:b,showQuickJumper:!0,showSizeChanger:!0,showTotal:!0,onChange:S=>{_(S),k(S)}})}),n.jsx("div",{className:fe.codeWrapper,children:n.jsx(oe,{code:``})})]}),n.jsxs("div",{className:ge.example,children:[n.jsx("h3",{children:e("components.pagination.examples.large.title")}),n.jsx("p",{className:ge.description,children:e("components.pagination.examples.large.description")}),n.jsx("div",{className:ge.demo,children:n.jsx(Ht,{total:1e3,current:g,pageSize:b,showQuickJumper:!0,showSizeChanger:!0,showTotal:!0,onChange:S=>{j(S),k(S)}})}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(ne,{code:` setLargePage(page)} -/>`})})]}),n.jsxs("div",{className:fe.example,children:[n.jsx("h3",{children:e("components.pagination.examples.custom.title")}),n.jsx("p",{className:fe.description,children:e("components.pagination.examples.custom.description")}),n.jsx("div",{className:fe.demo,children:n.jsx(Ut,{total:100,current:j,onChange:S=>{d(S)},icons:{prev:n.jsx(Zh,{}),next:n.jsx(e1,{}),jumpPrev:n.jsx(Lc,{}),jumpNext:n.jsx(Lc,{})},itemRender:(S,L)=>L==="prev"?n.jsx(Zh,{}):L==="next"?n.jsx(e1,{}):L==="jump-prev"||L==="jump-next"?n.jsx(Lc,{}):L==="page"?`Page ${S}`:null})}),n.jsx("div",{className:fe.codeWrapper,children:n.jsx(oe,{code:`const [page, setPage] = useState(1); +/>`})})]}),n.jsxs("div",{className:ge.example,children:[n.jsx("h3",{children:e("components.pagination.examples.custom.title")}),n.jsx("p",{className:ge.description,children:e("components.pagination.examples.custom.description")}),n.jsx("div",{className:ge.demo,children:n.jsx(Ht,{total:100,current:_,onChange:S=>{u(S)},icons:{prev:n.jsx(U1,{}),next:n.jsx(H1,{}),jumpPrev:n.jsx(sd,{}),jumpNext:n.jsx(sd,{})},itemRender:(S,E)=>E==="prev"?n.jsx(U1,{}):E==="next"?n.jsx(H1,{}):E==="jump-prev"||E==="jump-next"?n.jsx(sd,{}):E==="page"?`Page ${S}`:null})}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(ne,{code:`const [page, setPage] = useState(1); `})})]}),n.jsxs("div",{className:fe.example,children:[n.jsx("h3",{children:e("components.pagination.examples.simple.title")}),n.jsx("p",{className:fe.description,children:e("components.pagination.examples.simple.description")}),n.jsx("div",{className:fe.demo,children:n.jsx(Ut,{total:50,simple:!0,current:f,onChange:S=>v(S)})}),n.jsx("div",{className:fe.codeWrapper,children:n.jsx(oe,{code:" setSimplePage(page)} />"})})]}),n.jsxs("div",{className:fe.example,children:[n.jsx("h3",{children:e("components.pagination.examples.disabled.title")}),n.jsx("p",{className:fe.description,children:e("components.pagination.examples.disabled.description")}),n.jsx("div",{className:fe.demo,children:n.jsx(Ut,{total:50,disabled:!0,current:f,onChange:S=>v(S)})}),n.jsx("div",{className:fe.codeWrapper,children:n.jsx(oe,{code:" setSimplePage(page)} />"})})]}),n.jsxs("div",{className:fe.example,children:[n.jsx("h3",{children:e("components.pagination.examples.responsive.title")}),n.jsx("p",{className:fe.description,children:e("components.pagination.examples.responsive.description")}),n.jsx("div",{className:fe.demo,children:n.jsx(Ut,{total:50,responsive:!0,current:w,onChange:S=>g(S)})}),n.jsx("div",{className:fe.codeWrapper,children:n.jsx(oe,{code:" setResponsivePage(page)} />"})})]}),n.jsxs("div",{className:fe.example,children:[n.jsx("h3",{children:e("components.pagination.examples.bordered.title")}),n.jsx("div",{className:fe.demo,children:n.jsx(Ut,{total:100,current:j,onChange:S=>d(S),variant:"outlined",showQuickJumper:!0,showSizeChanger:!0})}),n.jsx("div",{className:fe.codeWrapper,children:n.jsx(oe,{code:' setCustomPage(page)} variant="outlined" showQuickJumper showSizeChanger />'})})]}),n.jsxs("div",{className:fe.example,children:[n.jsx("h3",{children:"API"}),n.jsx("div",{className:fe.apiTable,children:n.jsxs("table",{children:[n.jsx("thead",{children:n.jsxs("tr",{children:[n.jsx("th",{children:e("components.common.api.property")}),n.jsx("th",{children:e("components.common.api.description")}),n.jsx("th",{children:e("components.common.api.type")}),n.jsx("th",{children:e("components.common.api.default")})]})}),n.jsxs("tbody",{children:[n.jsxs("tr",{children:[n.jsx("td",{children:"current"}),n.jsx("td",{children:e("components.pagination.properties.current")}),n.jsx("td",{children:'"number"'}),n.jsx("td",{children:"1"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"total"}),n.jsx("td",{children:e("components.pagination.properties.total")}),n.jsx("td",{children:'"number"'}),n.jsx("td",{children:"0"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"pageSize"}),n.jsx("td",{children:e("components.pagination.properties.pageSize")}),n.jsx("td",{children:'"number"'}),n.jsx("td",{children:"10"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"onChange"}),n.jsx("td",{children:e("components.pagination.properties.onChange")}),n.jsx("td",{children:'"(page: number, pageSize: number) => void"'}),n.jsx("td",{children:"-"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"disabled"}),n.jsx("td",{children:e("components.pagination.properties.disabled")}),n.jsx("td",{children:'"boolean"'}),n.jsx("td",{children:"false"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"showQuickJumper"}),n.jsx("td",{children:e("components.pagination.properties.showQuickJumper")}),n.jsx("td",{children:'"boolean"'}),n.jsx("td",{children:"false"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"showSizeChanger"}),n.jsx("td",{children:e("components.pagination.properties.showSizeChanger")}),n.jsx("td",{children:'"boolean"'}),n.jsx("td",{children:"false"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"pageSizeOptions"}),n.jsx("td",{children:e("components.pagination.properties.pageSizeOptions")}),n.jsx("td",{children:'"number[]"'}),n.jsx("td",{children:"[10, 20, 50, 100]"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"itemRender"}),n.jsx("td",{children:e("components.pagination.properties.itemRender")}),n.jsx("td",{children:'"(page: number, type: PaginationType) => ReactNode"'}),n.jsx("td",{children:"-"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"showTotal"}),n.jsx("td",{children:e("components.pagination.properties.showTotal")}),n.jsx("td",{children:'"boolean"'}),n.jsx("td",{children:"false"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"totalRender"}),n.jsx("td",{children:e("components.pagination.properties.totalRender")}),n.jsx("td",{children:'"(total: number, range: [number, number]) => ReactNode"'}),n.jsx("td",{children:"-"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"size"}),n.jsx("td",{children:e("components.pagination.properties.size")}),n.jsx("td",{children:'"small" | "medium" | "large"'}),n.jsx("td",{children:'"medium"'})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"shape"}),n.jsx("td",{children:e("components.pagination.properties.shape")}),n.jsx("td",{children:'"circle" | "rounded" | "square"'}),n.jsx("td",{children:'"rounded"'})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"variant"}),n.jsx("td",{children:e("components.pagination.properties.variant")}),n.jsx("td",{children:'"filled" | "outlined" | "text"'}),n.jsx("td",{children:'"filled"'})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"simple"}),n.jsx("td",{children:e("components.pagination.properties.simple")}),n.jsx("td",{children:'"boolean"'}),n.jsx("td",{children:"false"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"responsive"}),n.jsx("td",{children:e("components.pagination.properties.responsive")}),n.jsx("td",{children:'"boolean"'}),n.jsx("td",{children:"false"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"icons"}),n.jsx("td",{children:e("components.pagination.properties.icons")}),n.jsx("td",{children:"{ prev?: ReactNode; next?: ReactNode; jumpPrev?: ReactNode; jumpNext?: ReactNode }"}),n.jsx("td",{children:"-"})]})]})]})})]})]})},HM=()=>{const{t:e}=$e();return n.jsxs("div",{className:Y.page,children:[n.jsx("header",{className:Y.header,children:n.jsxs("div",{className:Y.titleWrapper,children:[n.jsx(Ud,{className:Y.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.pagination.title")}),n.jsx("p",{children:e("components.pagination.description")})]})]})}),n.jsxs("section",{className:Y.section,children:[n.jsx("h2",{children:e("components.pagination.installation")}),n.jsx("p",{children:e("components.pagination.installation_description")}),n.jsx("div",{className:Y.codeWrapper,children:n.jsx(oe,{code:"import { Pagination } from '@minerva/lib-core';",language:"typescript",showLineNumbers:!1})})]}),n.jsxs("section",{className:Y.section,children:[n.jsx("h2",{children:e("components.pagination.basic_usage")}),n.jsx("p",{children:e("components.pagination.basic_usage_description")}),n.jsx("div",{className:Y.codeWrapper,children:n.jsx(oe,{code:`import { Pagination } from '@minerva/lib-core'; +/>`})})]}),n.jsxs("div",{className:ge.example,children:[n.jsx("h3",{children:e("components.pagination.examples.simple.title")}),n.jsx("p",{className:ge.description,children:e("components.pagination.examples.simple.description")}),n.jsx("div",{className:ge.demo,children:n.jsx(Ht,{total:50,simple:!0,current:f,onChange:S=>v(S)})}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(ne,{code:" setSimplePage(page)} />"})})]}),n.jsxs("div",{className:ge.example,children:[n.jsx("h3",{children:e("components.pagination.examples.disabled.title")}),n.jsx("p",{className:ge.description,children:e("components.pagination.examples.disabled.description")}),n.jsx("div",{className:ge.demo,children:n.jsx(Ht,{total:50,disabled:!0,current:f,onChange:S=>v(S)})}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(ne,{code:" setSimplePage(page)} />"})})]}),n.jsxs("div",{className:ge.example,children:[n.jsx("h3",{children:e("components.pagination.examples.responsive.title")}),n.jsx("p",{className:ge.description,children:e("components.pagination.examples.responsive.description")}),n.jsx("div",{className:ge.demo,children:n.jsx(Ht,{total:50,responsive:!0,current:w,onChange:S=>x(S)})}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(ne,{code:" setResponsivePage(page)} />"})})]}),n.jsxs("div",{className:ge.example,children:[n.jsx("h3",{children:e("components.pagination.examples.bordered.title")}),n.jsx("div",{className:ge.demo,children:n.jsx(Ht,{total:100,current:_,onChange:S=>u(S),variant:"outlined",showQuickJumper:!0,showSizeChanger:!0})}),n.jsx("div",{className:ge.codeWrapper,children:n.jsx(ne,{code:' setCustomPage(page)} variant="outlined" showQuickJumper showSizeChanger />'})})]}),n.jsxs("div",{className:ge.example,children:[n.jsx("h3",{children:"API"}),n.jsx("div",{className:ge.apiTable,children:n.jsxs("table",{children:[n.jsx("thead",{children:n.jsxs("tr",{children:[n.jsx("th",{children:e("components.common.api.property")}),n.jsx("th",{children:e("components.common.api.description")}),n.jsx("th",{children:e("components.common.api.type")}),n.jsx("th",{children:e("components.common.api.default")})]})}),n.jsxs("tbody",{children:[n.jsxs("tr",{children:[n.jsx("td",{children:"current"}),n.jsx("td",{children:e("components.pagination.properties.current")}),n.jsx("td",{children:'"number"'}),n.jsx("td",{children:"1"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"total"}),n.jsx("td",{children:e("components.pagination.properties.total")}),n.jsx("td",{children:'"number"'}),n.jsx("td",{children:"0"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"pageSize"}),n.jsx("td",{children:e("components.pagination.properties.pageSize")}),n.jsx("td",{children:'"number"'}),n.jsx("td",{children:"10"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"onChange"}),n.jsx("td",{children:e("components.pagination.properties.onChange")}),n.jsx("td",{children:'"(page: number, pageSize: number) => void"'}),n.jsx("td",{children:"-"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"disabled"}),n.jsx("td",{children:e("components.pagination.properties.disabled")}),n.jsx("td",{children:'"boolean"'}),n.jsx("td",{children:"false"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"showQuickJumper"}),n.jsx("td",{children:e("components.pagination.properties.showQuickJumper")}),n.jsx("td",{children:'"boolean"'}),n.jsx("td",{children:"false"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"showSizeChanger"}),n.jsx("td",{children:e("components.pagination.properties.showSizeChanger")}),n.jsx("td",{children:'"boolean"'}),n.jsx("td",{children:"false"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"pageSizeOptions"}),n.jsx("td",{children:e("components.pagination.properties.pageSizeOptions")}),n.jsx("td",{children:'"number[]"'}),n.jsx("td",{children:"[10, 20, 50, 100]"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"itemRender"}),n.jsx("td",{children:e("components.pagination.properties.itemRender")}),n.jsx("td",{children:'"(page: number, type: PaginationType) => ReactNode"'}),n.jsx("td",{children:"-"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"showTotal"}),n.jsx("td",{children:e("components.pagination.properties.showTotal")}),n.jsx("td",{children:'"boolean"'}),n.jsx("td",{children:"false"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"totalRender"}),n.jsx("td",{children:e("components.pagination.properties.totalRender")}),n.jsx("td",{children:'"(total: number, range: [number, number]) => ReactNode"'}),n.jsx("td",{children:"-"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"size"}),n.jsx("td",{children:e("components.pagination.properties.size")}),n.jsx("td",{children:'"small" | "medium" | "large"'}),n.jsx("td",{children:'"medium"'})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"shape"}),n.jsx("td",{children:e("components.pagination.properties.shape")}),n.jsx("td",{children:'"circle" | "rounded" | "square"'}),n.jsx("td",{children:'"rounded"'})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"variant"}),n.jsx("td",{children:e("components.pagination.properties.variant")}),n.jsx("td",{children:'"filled" | "outlined" | "text"'}),n.jsx("td",{children:'"filled"'})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"simple"}),n.jsx("td",{children:e("components.pagination.properties.simple")}),n.jsx("td",{children:'"boolean"'}),n.jsx("td",{children:"false"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"responsive"}),n.jsx("td",{children:e("components.pagination.properties.responsive")}),n.jsx("td",{children:'"boolean"'}),n.jsx("td",{children:"false"})]}),n.jsxs("tr",{children:[n.jsx("td",{children:"icons"}),n.jsx("td",{children:e("components.pagination.properties.icons")}),n.jsx("td",{children:"{ prev?: ReactNode; next?: ReactNode; jumpPrev?: ReactNode; jumpNext?: ReactNode }"}),n.jsx("td",{children:"-"})]})]})]})})]})]})},hT=()=>{const{t:e}=$e();return n.jsxs("div",{className:Q.page,children:[n.jsx("header",{className:Q.header,children:n.jsxs("div",{className:Q.titleWrapper,children:[n.jsx(xu,{className:Q.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.pagination.title")}),n.jsx("p",{children:e("components.pagination.description")})]})]})}),n.jsxs("section",{className:Q.section,children:[n.jsx("h2",{children:e("components.pagination.installation")}),n.jsx("p",{children:e("components.pagination.installation_description")}),n.jsx("div",{className:Q.codeWrapper,children:n.jsx(ne,{code:"import { Pagination } from '@minerva/lib-core';",language:"typescript",showLineNumbers:!1})})]}),n.jsxs("section",{className:Q.section,children:[n.jsx("h2",{children:e("components.pagination.basic_usage")}),n.jsx("p",{children:e("components.pagination.basic_usage_description")}),n.jsx("div",{className:Q.codeWrapper,children:n.jsx(ne,{code:`import { Pagination } from '@minerva/lib-core'; function App() { return ( @@ -592,4 +915,72 @@ function App() { onChange={(page) => console.log(page)} /> ); -}`,language:"typescript",showLineNumbers:!1})})]}),n.jsxs("section",{className:Y.section,children:[n.jsx("h2",{children:e("components.pagination.properties.title")}),n.jsxs("div",{className:Y.properties,children:[n.jsxs("div",{className:Y.property,children:[n.jsxs("h3",{children:["current",n.jsx("span",{className:Y.badge,children:"required"})]}),n.jsx("code",{className:Y.type,children:"number"}),n.jsx("p",{children:e("components.pagination.properties.current")})]}),n.jsxs("div",{className:Y.property,children:[n.jsxs("h3",{children:["total",n.jsx("span",{className:Y.badge,children:"required"})]}),n.jsx("code",{className:Y.type,children:"number"}),n.jsx("p",{children:e("components.pagination.properties.total")})]}),n.jsxs("div",{className:Y.property,children:[n.jsxs("h3",{children:["pageSize",n.jsx("span",{className:Y.badge,children:"required"})]}),n.jsx("code",{className:Y.type,children:"number"}),n.jsx("p",{children:e("components.pagination.properties.pageSize")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"onChange"}),n.jsx("code",{className:Y.type,children:"(page: number, pageSize: number) => void"}),n.jsx("p",{children:e("components.pagination.properties.onChange")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"disabled"}),n.jsx("code",{className:Y.type,children:"boolean"}),n.jsx("p",{children:e("components.pagination.properties.disabled")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"showQuickJumper"}),n.jsx("code",{className:Y.type,children:"boolean"}),n.jsx("p",{children:e("components.pagination.properties.showQuickJumper")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"showSizeChanger"}),n.jsx("code",{className:Y.type,children:"boolean"}),n.jsx("p",{children:e("components.pagination.properties.showSizeChanger")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"pageSizeOptions"}),n.jsx("code",{className:Y.type,children:"number[]"}),n.jsx("p",{children:e("components.pagination.properties.pageSizeOptions")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"itemRender"}),n.jsx("code",{className:Y.type,children:"(page: number, type: 'page' | 'prev' | 'next' | 'jump-prev' | 'jump-next', element: ReactNode) => ReactNode"}),n.jsx("p",{children:e("components.pagination.properties.itemRender")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"showTotal"}),n.jsx("code",{className:Y.type,children:"boolean"}),n.jsx("p",{children:e("components.pagination.properties.showTotal")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"totalRender"}),n.jsx("code",{className:Y.type,children:"(total: number, range: [number, number]) => ReactNode"}),n.jsx("p",{children:e("components.pagination.properties.totalRender")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"size"}),n.jsx("code",{className:Y.type,children:'"small" | "medium" | "large"'}),n.jsx("p",{children:e("components.pagination.properties.size")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"shape"}),n.jsx("code",{className:Y.type,children:'"square" | "rounded" | "circle"'}),n.jsx("p",{children:e("components.pagination.properties.shape")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"variant"}),n.jsx("code",{className:Y.type,children:'"filled" | "outlined" | "text"'}),n.jsx("p",{children:e("components.pagination.properties.variant")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"simple"}),n.jsx("code",{className:Y.type,children:"boolean"}),n.jsx("p",{children:e("components.pagination.properties.simple")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"responsive"}),n.jsx("code",{className:Y.type,children:"boolean"}),n.jsx("p",{children:e("components.pagination.properties.responsive")})]}),n.jsxs("div",{className:Y.property,children:[n.jsx("h3",{children:"icons"}),n.jsx("code",{className:Y.type,children:"{ prev?: ReactNode; next?: ReactNode; jumpPrev?: ReactNode; jumpNext?: ReactNode }"}),n.jsx("p",{children:e("components.pagination.properties.icons")})]})]})]}),n.jsxs("section",{className:Y.section,children:[n.jsx("h2",{children:e("components.pagination.examples.title")}),n.jsx(UM,{})]})]})},WM=[{path:"overview",element:n.jsx(x5,{})},{path:"installation",element:n.jsx(v5,{})},{path:"introduction",element:n.jsx(j5,{})},{path:"theming",element:n.jsx(_5,{})},{path:"button",element:n.jsx(kE,{})},{path:"textfield",element:n.jsx(iI,{})},{path:"checkbox",element:n.jsx(NP,{})},{path:"radio",element:n.jsx(lI,{})},{path:"switch",element:n.jsx(zI,{})},{path:"avatar",element:n.jsx(RI,{})},{path:"badge",element:n.jsx(TI,{})},{path:"card",element:n.jsx(qI,{})},{path:"chip",element:n.jsx(QI,{})},{path:"divider",element:n.jsx(eR,{})},{path:"alert",element:n.jsx(cR,{})},{path:"message",element:n.jsx(UR,{})},{path:"progress",element:n.jsx(VR,{})},{path:"skeleton",element:n.jsx(jP,{})},{path:"dropdown",element:n.jsx(wP,{})},{path:"icon-button",element:n.jsx(RP,{})},{path:"tooltip",element:n.jsx(FP,{})},{path:"popper",element:n.jsx(SA,{})},{path:"search-button",element:n.jsx(LA,{})},{path:"status-indicator",element:n.jsx(PA,{})},{path:"time-picker",element:n.jsx(FA,{})},{path:"virtual-list",element:n.jsx(sM,{})},{path:"auto-complete",element:n.jsx(dM,{})},{path:"empty",element:n.jsx(fM,{})},{path:"cascader",element:n.jsx(_M,{})},{path:"space",element:n.jsx(kM,{})},{path:"tag",element:n.jsx(LM,{})},{path:"pagination",element:n.jsx(HM,{})}],qM=WM.map(e=>({path:e.path,element:e.element})),VM={gettingStarted:[{path:"overview",icon:n.jsx(Wl,{}),translationKey:"components.overview.title"},{path:"installation",icon:n.jsx(Ro,{}),translationKey:"components.installation.title"},{path:"introduction",icon:n.jsx(q3,{}),translationKey:"components.introduction.title"},{path:"theming",icon:n.jsx(J3,{}),translationKey:"components.theming.title"}],inputs:[{path:"button",icon:n.jsx(Ro,{}),translationKey:"components.button.title"},{path:"textfield",icon:n.jsx(I0,{}),translationKey:"components.textfield.title"},{path:"checkbox",icon:n.jsx(y0,{}),translationKey:"components.checkbox.title"},{path:"radio",icon:n.jsx(N0,{}),translationKey:"components.radio.title"}],dataDisplay:[{path:"avatar",icon:n.jsx(S0,{}),translationKey:"components.avatar.title"},{path:"badge",icon:n.jsx(L0,{}),translationKey:"components.badge.title"},{path:"card",icon:n.jsx(j0,{}),translationKey:"components.card.title"},{path:"chip",icon:n.jsx(Dd,{}),translationKey:"components.chip.title"},{path:"divider",icon:n.jsx(z0,{}),translationKey:"components.divider.title"},{path:"status-indicator",icon:n.jsx(Z3,{}),translationKey:"components.statusIndicator.title"},{path:"virtual-list",icon:n.jsx(Ud,{}),translationKey:"components.virtualList.title"},{path:"empty",icon:n.jsx(u6,{}),translationKey:"components.empty.title"},{path:"space",icon:n.jsx(Dd,{}),translationKey:"components.space.title"},{path:"tag",icon:n.jsx(V3,{}),translationKey:"components.tag.title"},{path:"switch",icon:n.jsx(R0,{}),translationKey:"components.switch.title"}],feedback:[{path:"alert",icon:n.jsx(v0,{}),translationKey:"components.alert.title"},{path:"message",icon:n.jsx(_0,{}),translationKey:"components.message.title"},{path:"progress",icon:n.jsx(P6,{}),translationKey:"components.progress.title"},{path:"skeleton",icon:n.jsx($0,{}),translationKey:"components.skeleton.title"},{path:"tooltip",icon:n.jsx(w0,{}),translationKey:"components.tooltip.title"},{path:"popper",icon:n.jsx(H3,{}),translationKey:"components.popper.title"},{path:"icon-button",icon:n.jsx(Ro,{}),translationKey:"components.iconButton.title"},{path:"search-button",icon:n.jsx(i1,{}),translationKey:"components.searchButton.title"}],navigation:[{path:"dropdown",icon:n.jsx(k0,{}),translationKey:"components.dropdown.title"},{path:"cascader",icon:n.jsx(a6,{}),translationKey:"components.cascader.title"},{path:"auto-complete",icon:n.jsx(i1,{}),translationKey:"components.autoComplete.title"},{path:"pagination",icon:n.jsx(Ud,{}),translationKey:"components.pagination.title"}]},KM=({isOpen:e,onClose:t})=>{const{t:r}=$e(),i=(s,a)=>n.jsxs("div",{className:gn.section,children:[n.jsx("div",{className:gn.title,children:r(a)}),n.jsx("div",{className:gn.list,children:VM[s].map(o=>n.jsxs(wv,{to:o.path,className:({isActive:l})=>`${gn.item} ${l?gn.active:""}`,onClick:t,children:[n.jsx("span",{className:gn.itemIcon,children:o.icon}),n.jsx("span",{className:gn.text,children:r(o.translationKey)})]},o.path))})]});return n.jsxs("aside",{className:`${gn.sidebar} ${e?gn.open:""}`,children:[n.jsx("div",{className:gn.header,children:n.jsxs("div",{className:gn.logo,children:[n.jsx(C0,{className:gn.icon}),n.jsx("span",{children:"Minerva UI"})]})}),n.jsxs("nav",{className:gn.nav,children:[i("gettingStarted","components.menu.getting_started"),i("inputs","components.menu.inputs"),i("dataDisplay","components.menu.data_display"),i("feedback","components.menu.feedback"),i("navigation","components.menu.navigation")]})]})},GM="_languageSwitcher_17180_42",QM="_icon_17180_55",JM="_select_17180_59",Dc={languageSwitcher:GM,icon:QM,select:JM,"accordion-down":"_accordion-down_17180_1","accordion-up":"_accordion-up_17180_1"},YM=()=>{const{i18n:e}=$e(),t=[{code:"en",name:"English"},{code:"zh",name:"中文"},{code:"ja",name:"日本語"},{code:"fr",name:"Français"}],r=i=>{e.changeLanguage(i)};return n.jsxs("div",{className:Dc.languageSwitcher,children:[n.jsx(p6,{className:Dc.icon}),n.jsx("select",{value:e.language,onChange:i=>r(i.target.value),className:Dc.select,children:t.map(i=>n.jsx("option",{value:i.code,children:i.name},i.code))})]})},XM="_themeSwitcher_h224d_42",ZM="_icon_h224d_62",Uc={themeSwitcher:XM,icon:ZM,"accordion-down":"_accordion-down_h224d_1","accordion-up":"_accordion-up_h224d_1"},eT=()=>{const[e,t]=y.useState("dark");y.useEffect(()=>{const i=new Date().getHours(),s=i>=18||i<6?"dark":"light";t(s),document.documentElement.setAttribute("data-theme",s)},[]);const r=()=>{const i=e==="light"?"dark":"light";t(i),document.documentElement.setAttribute("data-theme",i)};return n.jsx("button",{className:Uc.themeSwitcher,onClick:r,children:e==="light"?n.jsx(j6,{className:Uc.icon}):n.jsx(E6,{className:Uc.icon})})},tT="_layout_10zl2_42",nT="_menuButton_10zl2_51",rT="_main_10zl2_78",iT="_header_10zl2_88",sT="_headerControls_10zl2_106",aT="_content_10zl2_111",oT="_fadeIn_10zl2_1",lT="_sidebar_10zl2_127",cT="_open_10zl2_188",Ji={layout:tT,menuButton:nT,main:rT,header:iT,headerControls:sT,content:aT,fadeIn:oT,sidebar:lT,open:cT,"accordion-down":"_accordion-down_10zl2_1","accordion-up":"_accordion-up_10zl2_1"},dT=()=>{const[e,t]=y.useState(!1);return n.jsxs("div",{className:Ji.layout,children:[n.jsx("button",{className:Ji.menuButton,onClick:()=>t(!e),"aria-label":"Toggle menu",children:n.jsx(k0,{})}),n.jsx(KM,{isOpen:e,onClose:()=>t(!1)}),n.jsxs("main",{className:Ji.main,children:[n.jsx("div",{className:Ji.header,children:n.jsxs("div",{className:Ji.headerControls,children:[n.jsx(eT,{}),n.jsx(YM,{})]})}),n.jsx("div",{className:Ji.content,children:n.jsx(nv,{})})]})]})},uT="_errorPage_82vfj_42",pT="_content_82vfj_51",hT="_errorMessage_82vfj_74",mT="_actions_82vfj_84",fT="_homeLink_82vfj_89",gT="_refreshButton_82vfj_90",xT="_icon_82vfj_100",In={errorPage:uT,content:pT,errorMessage:hT,actions:mT,homeLink:fT,refreshButton:gT,icon:xT,"accordion-down":"_accordion-down_82vfj_1","accordion-up":"_accordion-up_82vfj_1"},vT=()=>{const e=o0(),{t}=$e();return n.jsx("div",{className:In.errorPage,children:n.jsxs("div",{className:In.content,children:[n.jsx("h1",{children:t("error.title")}),n.jsx("p",{children:t("error.description")}),n.jsx("p",{className:In.errorMessage,children:e.message}),n.jsxs("div",{className:In.actions,children:[n.jsxs(Ju,{to:"overview",className:In.homeLink,children:[n.jsx(Wl,{className:In.icon}),t("error.back_home")]}),n.jsxs("button",{onClick:()=>window.location.reload(),className:In.refreshButton,children:[n.jsx(w6,{className:In.icon}),t("error.refresh")]})]})]})})},jT=()=>{const{t:e}=$e();return n.jsx("div",{className:In.errorPage,children:n.jsxs("div",{className:In.content,children:[n.jsx("h1",{children:e("notFound.title")}),n.jsx("p",{children:e("notFound.description")}),n.jsxs(Ju,{to:"overview",className:In.homeLink,children:[n.jsx(Wl,{className:In.icon}),e("notFound.back_home")]})]})})},_T=dv([{path:"/",element:n.jsx(dT,{}),errorElement:n.jsx(vT,{}),children:[{index:!0,element:n.jsx(tv,{to:"overview",replace:!0})},...qM,{path:"*",element:n.jsx(jT,{})}]}]),yT=()=>n.jsx(Uv,{i18n:Vt,children:n.jsx(vv,{router:_T})}),bT=document.getElementById("root"),wT=qf(bT);wT.render(n.jsx(je.StrictMode,{children:n.jsx(yT,{})})); +}`,language:"typescript",showLineNumbers:!1})})]}),n.jsxs("section",{className:Q.section,children:[n.jsx("h2",{children:e("components.pagination.properties.title")}),n.jsxs("div",{className:Q.properties,children:[n.jsxs("div",{className:Q.property,children:[n.jsxs("h3",{children:["current",n.jsx("span",{className:Q.badge,children:"required"})]}),n.jsx("code",{className:Q.type,children:"number"}),n.jsx("p",{children:e("components.pagination.properties.current")})]}),n.jsxs("div",{className:Q.property,children:[n.jsxs("h3",{children:["total",n.jsx("span",{className:Q.badge,children:"required"})]}),n.jsx("code",{className:Q.type,children:"number"}),n.jsx("p",{children:e("components.pagination.properties.total")})]}),n.jsxs("div",{className:Q.property,children:[n.jsxs("h3",{children:["pageSize",n.jsx("span",{className:Q.badge,children:"required"})]}),n.jsx("code",{className:Q.type,children:"number"}),n.jsx("p",{children:e("components.pagination.properties.pageSize")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"onChange"}),n.jsx("code",{className:Q.type,children:"(page: number, pageSize: number) => void"}),n.jsx("p",{children:e("components.pagination.properties.onChange")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"disabled"}),n.jsx("code",{className:Q.type,children:"boolean"}),n.jsx("p",{children:e("components.pagination.properties.disabled")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"showQuickJumper"}),n.jsx("code",{className:Q.type,children:"boolean"}),n.jsx("p",{children:e("components.pagination.properties.showQuickJumper")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"showSizeChanger"}),n.jsx("code",{className:Q.type,children:"boolean"}),n.jsx("p",{children:e("components.pagination.properties.showSizeChanger")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"pageSizeOptions"}),n.jsx("code",{className:Q.type,children:"number[]"}),n.jsx("p",{children:e("components.pagination.properties.pageSizeOptions")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"itemRender"}),n.jsx("code",{className:Q.type,children:"(page: number, type: 'page' | 'prev' | 'next' | 'jump-prev' | 'jump-next', element: ReactNode) => ReactNode"}),n.jsx("p",{children:e("components.pagination.properties.itemRender")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"showTotal"}),n.jsx("code",{className:Q.type,children:"boolean"}),n.jsx("p",{children:e("components.pagination.properties.showTotal")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"totalRender"}),n.jsx("code",{className:Q.type,children:"(total: number, range: [number, number]) => ReactNode"}),n.jsx("p",{children:e("components.pagination.properties.totalRender")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"size"}),n.jsx("code",{className:Q.type,children:'"small" | "medium" | "large"'}),n.jsx("p",{children:e("components.pagination.properties.size")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"shape"}),n.jsx("code",{className:Q.type,children:'"square" | "rounded" | "circle"'}),n.jsx("p",{children:e("components.pagination.properties.shape")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"variant"}),n.jsx("code",{className:Q.type,children:'"filled" | "outlined" | "text"'}),n.jsx("p",{children:e("components.pagination.properties.variant")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"simple"}),n.jsx("code",{className:Q.type,children:"boolean"}),n.jsx("p",{children:e("components.pagination.properties.simple")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"responsive"}),n.jsx("code",{className:Q.type,children:"boolean"}),n.jsx("p",{children:e("components.pagination.properties.responsive")})]}),n.jsxs("div",{className:Q.property,children:[n.jsx("h3",{children:"icons"}),n.jsx("code",{className:Q.type,children:"{ prev?: ReactNode; next?: ReactNode; jumpPrev?: ReactNode; jumpNext?: ReactNode }"}),n.jsx("p",{children:e("components.pagination.properties.icons")})]})]})]}),n.jsxs("section",{className:Q.section,children:[n.jsx("h2",{children:e("components.pagination.examples.title")}),n.jsx(pT,{})]})]})},mT=()=>{const{t:e}=$e();return n.jsxs("div",{className:le.examples,children:[n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.webComponentButton.examples.basic.title")}),n.jsx("p",{children:e("components.webComponentButton.examples.basic.description")}),n.jsx("div",{className:le.demo,children:n.jsx("minerva-button",{variant:"primary",children:"Click me"})}),n.jsx(ne,{code:` + + Click me + + `,language:"html"})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.webComponentButton.examples.variants.title")}),n.jsx("p",{children:e("components.webComponentButton.examples.variants.description")}),n.jsxs("div",{className:le.demo,children:[n.jsx("minerva-button",{variant:"primary",children:"Primary"}),n.jsx("minerva-button",{variant:"secondary",children:"Secondary"}),n.jsx("minerva-button",{variant:"success",children:"Success"}),n.jsx("minerva-button",{variant:"warning",children:"Warning"}),n.jsx("minerva-button",{variant:"error",children:"Error"}),n.jsx("minerva-button",{variant:"retry",children:"Retry"}),n.jsx("minerva-button",{variant:"back",children:"Back"})]}),n.jsx(ne,{code:` +Primary +Secondary +Success +Warning +Error +Info +Ghost + `,language:"html"})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.webComponentButton.examples.sizes.title")}),n.jsx("p",{children:e("components.webComponentButton.examples.sizes.description")}),n.jsxs("div",{className:le.demo,children:[n.jsx("minerva-button",{size:"small",children:"Small"}),n.jsx("minerva-button",{size:"medium",children:"Medium"}),n.jsx("minerva-button",{size:"large",children:"Large"})]}),n.jsx(ne,{code:` +Tiny +Small +Medium +Large + `,language:"html"})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.webComponentButton.examples.shapes.title")}),n.jsx("p",{children:e("components.webComponentButton.examples.shapes.description")}),n.jsxs("div",{className:le.demo,children:[n.jsx("minerva-button",{shape:"square",children:"Square"}),n.jsx("minerva-button",{shape:"rounded",children:"Rounded"}),n.jsx("minerva-button",{shape:"circle",children:"Circle"})]}),n.jsx(ne,{code:` +Square +Rounded +Circle +Pill + `,language:"html"})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.webComponentButton.examples.states.title")}),n.jsx("p",{children:e("components.webComponentButton.examples.states.description")}),n.jsxs("div",{className:le.demo,children:[n.jsx("minerva-button",{loading:!0,children:"Loading"}),n.jsx("minerva-button",{disabled:!0,children:"Disabled"})]}),n.jsx(ne,{code:` +Loading +Disabled +Active + `,language:"html"})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.webComponentButton.examples.iconButtons.title")}),n.jsx("p",{children:e("components.webComponentButton.examples.iconButtons.description")}),n.jsxs("div",{className:le.demo,children:[n.jsxs("minerva-button",{variant:"primary",children:[n.jsx(Sg,{className:le.icon}),"Search"]}),n.jsxs("minerva-button",{variant:"success",children:[n.jsx(kg,{className:le.icon}),"Save"]}),n.jsxs("minerva-button",{variant:"error",children:[n.jsx(Rg,{className:le.icon}),"Delete"]})]}),n.jsx(ne,{code:` + + + Search + + + + Save + + + + Delete + + `,language:"html"})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.webComponentButton.examples.blockButtons.title")}),n.jsx("p",{children:e("components.webComponentButton.examples.blockButtons.description")}),n.jsxs("div",{className:le.demo,children:[n.jsx("minerva-button",{variant:"primary",children:"Block Button"}),n.jsx("minerva-button",{variant:"secondary",children:"Block Button"})]}),n.jsx(ne,{code:` +Block Button +Block Button + `,language:"html"})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.webComponentButton.examples.buttonGroups.title")}),n.jsx("p",{children:e("components.webComponentButton.examples.buttonGroups.description")}),n.jsxs("div",{className:`${le.demo} ${le.buttonGroup}`,children:[n.jsx("minerva-button",{variant:"primary",children:"Left"}),n.jsx("minerva-button",{variant:"primary",children:"Middle"}),n.jsx("minerva-button",{variant:"primary",children:"Right"})]}),n.jsx(ne,{code:` +
+ Left + Middle + Right +
+ `,language:"html"})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.common.examples.borderRadius.title")}),n.jsx("p",{children:e("components.common.examples.borderRadius.description")}),n.jsxs("div",{className:le.demo,children:[n.jsx("minerva-button",{size:"small",children:"Small"}),n.jsx("minerva-button",{size:"medium",children:"Medium"}),n.jsx("minerva-button",{size:"large",children:"Large"})]}),n.jsx(ne,{code:` +None +Small +Medium +Large +Circle + `,language:"html"})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.common.examples.rippleEffect.title")}),n.jsx("p",{children:e("components.common.examples.rippleEffect.description")}),n.jsx("div",{className:le.demo,children:n.jsx("minerva-button",{variant:"primary",children:"Click for ripple effect"})}),n.jsx(ne,{code:` + + Click for ripple effect + + `,language:"html"})]}),n.jsxs("div",{className:le.example,children:[n.jsx("h3",{children:e("components.webComponentButton.examples.customStyles.title")}),n.jsx("p",{children:e("components.webComponentButton.examples.customStyles.description")}),n.jsx("div",{className:le.demo,children:n.jsx("minerva-button",{variant:"primary",style:{"--primary-color":"#ff0066","--primary-hover":"#cc0052"},children:"Custom Color"})}),n.jsx(ne,{code:` + + Custom Color + + `,language:"html"})]})]})},fT=()=>{const{t:e}=$e();return n.jsxs("div",{className:Q.page,children:[n.jsx("header",{className:Q.header,children:n.jsxs("div",{className:Q.titleWrapper,children:[n.jsx(b5,{className:Q.icon}),n.jsxs("div",{children:[n.jsx("h1",{children:e("components.webComponents.title")}),n.jsx("p",{children:e("components.webComponents.description")})]})]})}),n.jsxs("section",{className:Q.section,children:[n.jsx("h2",{children:e("components.webComponents.examples.title")}),n.jsx(mT,{})]})]})},gT=[{path:"overview",element:n.jsx(Dj,{})},{path:"installation",element:n.jsx(Uj,{})},{path:"introduction",element:n.jsx(Hj,{})},{path:"theming",element:n.jsx(Wj,{})},{path:"button",element:n.jsx(QR,{})},{path:"textfield",element:n.jsx($A,{})},{path:"checkbox",element:n.jsx(YP,{})},{path:"radio",element:n.jsx(RA,{})},{path:"switch",element:n.jsx(XA,{})},{path:"avatar",element:n.jsx(rI,{})},{path:"badge",element:n.jsx(oI,{})},{path:"card",element:n.jsx(fI,{})},{path:"chip",element:n.jsx(jI,{})},{path:"divider",element:n.jsx(CI,{})},{path:"alert",element:n.jsx(AI,{})},{path:"message",element:n.jsx(pP,{})},{path:"progress",element:n.jsx(gP,{})},{path:"skeleton",element:n.jsx(HP,{})},{path:"dropdown",element:n.jsx(KP,{})},{path:"icon-button",element:n.jsx(rM,{})},{path:"tooltip",element:n.jsx(lM,{})},{path:"popper",element:n.jsx(JM,{})},{path:"search-button",element:n.jsx(eB,{})},{path:"status-indicator",element:n.jsx(iB,{})},{path:"time-picker",element:n.jsx(lB,{})},{path:"virtual-list",element:n.jsx(zB,{})},{path:"auto-complete",element:n.jsx(IB,{})},{path:"empty",element:n.jsx(OB,{})},{path:"cascader",element:n.jsx(WB,{})},{path:"space",element:n.jsx(QB,{})},{path:"tag",element:n.jsx(eT,{})},{path:"pagination",element:n.jsx(hT,{})},{path:"web-components",element:n.jsx(fT,{})}],xT=gT.map(e=>({path:e.path,element:e.element})),vT={gettingStarted:[{path:"overview",icon:n.jsx(mc,{}),translationKey:"components.overview.title"},{path:"installation",icon:n.jsx(el,{}),translationKey:"components.installation.title"},{path:"introduction",icon:n.jsx(g5,{}),translationKey:"components.introduction.title"},{path:"theming",icon:n.jsx(w5,{}),translationKey:"components.theming.title"}],inputs:[{path:"button",icon:n.jsx(el,{}),translationKey:"components.button.title"},{path:"textfield",icon:n.jsx(Eg,{}),translationKey:"components.textfield.title"},{path:"checkbox",icon:n.jsx(xg,{}),translationKey:"components.checkbox.title"},{path:"radio",icon:n.jsx(wg,{}),translationKey:"components.radio.title"}],dataDisplay:[{path:"avatar",icon:n.jsx(bg,{}),translationKey:"components.avatar.title"},{path:"badge",icon:n.jsx($g,{}),translationKey:"components.badge.title"},{path:"card",icon:n.jsx(fg,{}),translationKey:"components.card.title"},{path:"chip",icon:n.jsx(gu,{}),translationKey:"components.chip.title"},{path:"divider",icon:n.jsx(Cg,{}),translationKey:"components.divider.title"},{path:"status-indicator",icon:n.jsx(S5,{}),translationKey:"components.statusIndicator.title"},{path:"virtual-list",icon:n.jsx(xu,{}),translationKey:"components.virtualList.title"},{path:"empty",icon:n.jsx(T5,{}),translationKey:"components.empty.title"},{path:"space",icon:n.jsx(gu,{}),translationKey:"components.space.title"},{path:"tag",icon:n.jsx(x5,{}),translationKey:"components.tag.title"},{path:"switch",icon:n.jsx(Lg,{}),translationKey:"components.switch.title"}],feedback:[{path:"alert",icon:n.jsx(mg,{}),translationKey:"components.alert.title"},{path:"message",icon:n.jsx(gg,{}),translationKey:"components.message.title"},{path:"progress",icon:n.jsx(sj,{}),translationKey:"components.progress.title"},{path:"skeleton",icon:n.jsx(Ng,{}),translationKey:"components.skeleton.title"},{path:"tooltip",icon:n.jsx(jg,{}),translationKey:"components.tooltip.title"},{path:"popper",icon:n.jsx(m5,{}),translationKey:"components.popper.title"},{path:"icon-button",icon:n.jsx(el,{}),translationKey:"components.iconButton.title"},{path:"search-button",icon:n.jsx(K1,{}),translationKey:"components.searchButton.title"}],navigation:[{path:"dropdown",icon:n.jsx(yg,{}),translationKey:"components.dropdown.title"},{path:"cascader",icon:n.jsx(A5,{}),translationKey:"components.cascader.title"},{path:"auto-complete",icon:n.jsx(K1,{}),translationKey:"components.autoComplete.title"},{path:"pagination",icon:n.jsx(xu,{}),translationKey:"components.pagination.title"}],webComponents:[{path:"web-components",icon:n.jsx(y5,{}),translationKey:"components.webComponents.title"}]},jT=({isOpen:e,onClose:t})=>{const{t:r}=$e(),i=(s,a)=>n.jsxs("div",{className:xn.section,children:[n.jsx("div",{className:xn.title,children:r(a)}),n.jsx("div",{className:xn.list,children:vT[s].map(o=>n.jsxs(K3,{to:o.path,className:({isActive:l})=>`${xn.item} ${l?xn.active:""}`,onClick:t,children:[n.jsx("span",{className:xn.itemIcon,children:o.icon}),n.jsx("span",{className:xn.text,children:r(o.translationKey)})]},o.path))})]});return n.jsxs("aside",{className:`${xn.sidebar} ${e?xn.open:""}`,children:[n.jsx("div",{className:xn.header,children:n.jsxs("div",{className:xn.logo,children:[n.jsx(_g,{className:xn.icon}),n.jsx("span",{children:"Minerva UI"})]})}),n.jsxs("nav",{className:xn.nav,children:[i("gettingStarted","components.menu.getting_started"),i("inputs","components.menu.inputs"),i("dataDisplay","components.menu.data_display"),i("feedback","components.menu.feedback"),i("navigation","components.menu.navigation"),i("webComponents","components.menu.web_components")]})]})},_T="_languageSwitcher_17180_42",yT="_icon_17180_55",bT="_select_17180_59",gd={languageSwitcher:_T,icon:yT,select:bT,"accordion-down":"_accordion-down_17180_1","accordion-up":"_accordion-up_17180_1"},wT=()=>{const{i18n:e}=$e(),t=[{code:"en",name:"English"},{code:"zh",name:"中文"},{code:"ja",name:"日本語"},{code:"fr",name:"Français"}],r=i=>{e.changeLanguage(i)};return n.jsxs("div",{className:gd.languageSwitcher,children:[n.jsx(O5,{className:gd.icon}),n.jsx("select",{value:e.language,onChange:i=>r(i.target.value),className:gd.select,children:t.map(i=>n.jsx("option",{value:i.code,children:i.name},i.code))})]})},CT="_themeSwitcher_h224d_42",kT="_icon_h224d_62",xd={themeSwitcher:CT,icon:kT,"accordion-down":"_accordion-down_h224d_1","accordion-up":"_accordion-up_h224d_1"},ST=()=>{const[e,t]=y.useState("dark");y.useEffect(()=>{const i=new Date().getHours(),s=i>=18||i<6?"dark":"light";t(s),document.documentElement.setAttribute("data-theme",s)},[]);const r=()=>{const i=e==="light"?"dark":"light";t(i),document.documentElement.setAttribute("data-theme",i)};return n.jsx("button",{className:xd.themeSwitcher,onClick:r,children:e==="light"?n.jsx(V5,{className:xd.icon}):n.jsx(nj,{className:xd.icon})})},NT="_layout_10zl2_42",$T="_menuButton_10zl2_51",zT="_main_10zl2_78",ET="_header_10zl2_88",LT="_headerControls_10zl2_106",RT="_content_10zl2_111",AT="_fadeIn_10zl2_1",IT="_sidebar_10zl2_127",PT="_open_10zl2_188",ss={layout:NT,menuButton:$T,main:zT,header:ET,headerControls:LT,content:RT,fadeIn:AT,sidebar:IT,open:PT,"accordion-down":"_accordion-down_10zl2_1","accordion-up":"_accordion-up_10zl2_1"},MT=()=>{const[e,t]=y.useState(!1);return n.jsxs("div",{className:ss.layout,children:[n.jsx("button",{className:ss.menuButton,onClick:()=>t(!e),"aria-label":"Toggle menu",children:n.jsx(yg,{})}),n.jsx(jT,{isOpen:e,onClose:()=>t(!1)}),n.jsxs("main",{className:ss.main,children:[n.jsx("div",{className:ss.header,children:n.jsxs("div",{className:ss.headerControls,children:[n.jsx(ST,{}),n.jsx(wT,{})]})}),n.jsx("div",{className:ss.content,children:n.jsx(S3,{})})]})]})},BT="_errorPage_82vfj_42",TT="_content_82vfj_51",OT="_errorMessage_82vfj_74",FT="_actions_82vfj_84",DT="_homeLink_82vfj_89",UT="_refreshButton_82vfj_90",HT="_icon_82vfj_100",An={errorPage:BT,content:TT,errorMessage:OT,actions:FT,homeLink:DT,refreshButton:UT,icon:HT,"accordion-down":"_accordion-down_82vfj_1","accordion-up":"_accordion-up_82vfj_1"},WT=()=>{const e=rg(),{t}=$e();return n.jsx("div",{className:An.errorPage,children:n.jsxs("div",{className:An.content,children:[n.jsx("h1",{children:t("error.title")}),n.jsx("p",{children:t("error.description")}),n.jsx("p",{className:An.errorMessage,children:e.message}),n.jsxs("div",{className:An.actions,children:[n.jsxs(zp,{to:"overview",className:An.homeLink,children:[n.jsx(mc,{className:An.icon}),t("error.back_home")]}),n.jsxs("button",{onClick:()=>window.location.reload(),className:An.refreshButton,children:[n.jsx(J5,{className:An.icon}),t("error.refresh")]})]})]})})},qT=()=>{const{t:e}=$e();return n.jsx("div",{className:An.errorPage,children:n.jsxs("div",{className:An.content,children:[n.jsx("h1",{children:e("notFound.title")}),n.jsx("p",{children:e("notFound.description")}),n.jsxs(zp,{to:"overview",className:An.homeLink,children:[n.jsx(mc,{className:An.icon}),e("notFound.back_home")]})]})})},VT=I3([{path:"/",element:n.jsx(MT,{}),errorElement:n.jsx(WT,{}),children:[{index:!0,element:n.jsx(k3,{to:"overview",replace:!0})},...xT,{path:"*",element:n.jsx(qT,{})}]}]),KT=()=>n.jsx(p6,{i18n:Kt,children:n.jsx(U3,{router:VT})}),GT=document.getElementById("root"),QT=P0(GT);QT.render(n.jsx(_e.StrictMode,{children:n.jsx(KT,{})}));