@web-fuse/wf-components 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Display/Card/DarkCard.d.ts +0 -1
- package/dist/Display/Card/LightCard.d.ts +0 -1
- package/dist/Display/CodeBlock/CodeBlockCopy.d.ts +0 -1
- package/dist/Display/CodeBlock/CodeHeader.d.ts +0 -1
- package/dist/Display/CodeBlock/index.d.ts +0 -1
- package/dist/Display/Collapse/Collapse.d.ts +0 -1
- package/dist/Display/Collapse/index.d.ts +0 -1
- package/dist/Display/Selector/SelectorItem.d.ts +0 -1
- package/dist/Display/Selector/SelectorSubItem.d.ts +0 -1
- package/dist/Display/Selector/index.d.ts +0 -1
- package/dist/Form/Form/Form.Item.d.ts +0 -1
- package/dist/Form/Form/Form.d.ts +0 -1
- package/dist/Form/Form/index.d.ts +0 -1
- package/dist/Form/HoverLabel.d.ts +0 -1
- package/dist/Form/Input/Input.Password.d.ts +0 -1
- package/dist/Form/Input/Input.Search.d.ts +0 -1
- package/dist/Form/Input/Input.TextArea.d.ts +0 -1
- package/dist/Form/Input/Input.d.ts +0 -1
- package/dist/Form/Input/index.d.ts +0 -1
- package/dist/Layout/Main/MainSelector.d.ts +0 -1
- package/dist/Layout/Main/MainSettings.d.ts +0 -1
- package/dist/Layout/Main/index.d.ts +0 -1
- package/dist/Layout/Navbar/NavbarDropdown.d.ts +0 -1
- package/dist/Oauth/LoginContainer.d.ts +0 -1
- package/dist/Oauth/PageBackground.d.ts +0 -1
- package/dist/index.cjs.js +3 -820
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1340 -26851
- package/dist/index.es.js.map +1 -1
- package/dist/util/useMessageApi.d.ts +0 -1
- package/dist/util/wfDarkAlgorithm.d.ts +0 -1
- package/package.json +69 -67
package/dist/index.cjs.js
CHANGED
@@ -1,821 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
2
|
-
|
3
|
-
* react-jsx-runtime.production.min.js
|
4
|
-
*
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
6
|
-
*
|
7
|
-
* This source code is licensed under the MIT license found in the
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
9
|
-
*/var Zl;function Wf(){if(Zl)return Or;Zl=1;var e=E,t=Symbol.for("react.element"),o=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(l,s,c){var u,d={},g=null,y=null;c!==void 0&&(g=""+c),s.key!==void 0&&(g=""+s.key),s.ref!==void 0&&(y=s.ref);for(u in s)r.call(s,u)&&!a.hasOwnProperty(u)&&(d[u]=s[u]);if(l&&l.defaultProps)for(u in s=l.defaultProps,s)d[u]===void 0&&(d[u]=s[u]);return{$$typeof:t,type:l,key:g,ref:y,props:d,_owner:n.current}}return Or.Fragment=o,Or.jsx=i,Or.jsxs=i,Or}var Mr={};/**
|
10
|
-
* @license React
|
11
|
-
* react-jsx-runtime.development.js
|
12
|
-
*
|
13
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
14
|
-
*
|
15
|
-
* This source code is licensed under the MIT license found in the
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
17
|
-
*/var Jl;function Vf(){return Jl||(Jl=1,process.env.NODE_ENV!=="production"&&function(){var e=E,t=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),b=Symbol.iterator,h="@@iterator";function p(k){if(k===null||typeof k!="object")return null;var U=b&&k[b]||k[h];return typeof U=="function"?U:null}var S=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(k){{for(var U=arguments.length,Q=new Array(U>1?U-1:0),fe=1;fe<U;fe++)Q[fe-1]=arguments[fe];m("error",k,Q)}}function m(k,U,Q){{var fe=S.ReactDebugCurrentFrame,ze=fe.getStackAddendum();ze!==""&&(U+="%s",Q=Q.concat([ze]));var Ce=Q.map(function(ke){return String(ke)});Ce.unshift("Warning: "+U),Function.prototype.apply.call(console[k],console,Ce)}}var w=!1,x=!1,C=!1,A=!1,O=!1,$;$=Symbol.for("react.module.reference");function F(k){return!!(typeof k=="string"||typeof k=="function"||k===r||k===a||O||k===n||k===c||k===u||A||k===y||w||x||C||typeof k=="object"&&k!==null&&(k.$$typeof===g||k.$$typeof===d||k.$$typeof===i||k.$$typeof===l||k.$$typeof===s||k.$$typeof===$||k.getModuleId!==void 0))}function B(k,U,Q){var fe=k.displayName;if(fe)return fe;var ze=U.displayName||U.name||"";return ze!==""?Q+"("+ze+")":Q}function H(k){return k.displayName||"Context"}function P(k){if(k==null)return null;if(typeof k.tag=="number"&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof k=="function")return k.displayName||k.name||null;if(typeof k=="string")return k;switch(k){case r:return"Fragment";case o:return"Portal";case a:return"Profiler";case n:return"StrictMode";case c:return"Suspense";case u:return"SuspenseList"}if(typeof k=="object")switch(k.$$typeof){case l:var U=k;return H(U)+".Consumer";case i:var Q=k;return H(Q._context)+".Provider";case s:return B(k,k.render,"ForwardRef");case d:var fe=k.displayName||null;return fe!==null?fe:P(k.type)||"Memo";case g:{var ze=k,Ce=ze._payload,ke=ze._init;try{return P(ke(Ce))}catch{return null}}}return null}var R=Object.assign,D=0,T,M,z,j,_,N,V;function G(){}G.__reactDisabledLog=!0;function K(){{if(D===0){T=console.log,M=console.info,z=console.warn,j=console.error,_=console.group,N=console.groupCollapsed,V=console.groupEnd;var k={configurable:!0,enumerable:!0,value:G,writable:!0};Object.defineProperties(console,{info:k,log:k,warn:k,error:k,group:k,groupCollapsed:k,groupEnd:k})}D++}}function ee(){{if(D--,D===0){var k={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},k,{value:T}),info:R({},k,{value:M}),warn:R({},k,{value:z}),error:R({},k,{value:j}),group:R({},k,{value:_}),groupCollapsed:R({},k,{value:N}),groupEnd:R({},k,{value:V})})}D<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var X=S.ReactCurrentDispatcher,Y;function J(k,U,Q){{if(Y===void 0)try{throw Error()}catch(ze){var fe=ze.stack.trim().match(/\n( *(at )?)/);Y=fe&&fe[1]||""}return`
|
18
|
-
`+Y+k}}var oe=!1,ne;{var he=typeof WeakMap=="function"?WeakMap:Map;ne=new he}function ce(k,U){if(!k||oe)return"";{var Q=ne.get(k);if(Q!==void 0)return Q}var fe;oe=!0;var ze=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ce;Ce=X.current,X.current=null,K();try{if(U){var ke=function(){throw Error()};if(Object.defineProperty(ke.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ke,[])}catch(Ze){fe=Ze}Reflect.construct(k,[],ke)}else{try{ke.call()}catch(Ze){fe=Ze}k.call(ke.prototype)}}else{try{throw Error()}catch(Ze){fe=Ze}k()}}catch(Ze){if(Ze&&fe&&typeof Ze.stack=="string"){for(var Oe=Ze.stack.split(`
|
19
|
-
`),Qe=fe.stack.split(`
|
20
|
-
`),We=Oe.length-1,_e=Qe.length-1;We>=1&&_e>=0&&Oe[We]!==Qe[_e];)_e--;for(;We>=1&&_e>=0;We--,_e--)if(Oe[We]!==Qe[_e]){if(We!==1||_e!==1)do if(We--,_e--,_e<0||Oe[We]!==Qe[_e]){var pt=`
|
21
|
-
`+Oe[We].replace(" at new "," at ");return k.displayName&&pt.includes("<anonymous>")&&(pt=pt.replace("<anonymous>",k.displayName)),typeof k=="function"&&ne.set(k,pt),pt}while(We>=1&&_e>=0);break}}}finally{oe=!1,X.current=Ce,ee(),Error.prepareStackTrace=ze}var Vt=k?k.displayName||k.name:"",_t=Vt?J(Vt):"";return typeof k=="function"&&ne.set(k,_t),_t}function $e(k,U,Q){return ce(k,!1)}function q(k){var U=k.prototype;return!!(U&&U.isReactComponent)}function me(k,U,Q){if(k==null)return"";if(typeof k=="function")return ce(k,q(k));if(typeof k=="string")return J(k);switch(k){case c:return J("Suspense");case u:return J("SuspenseList")}if(typeof k=="object")switch(k.$$typeof){case s:return $e(k.render);case d:return me(k.type,U,Q);case g:{var fe=k,ze=fe._payload,Ce=fe._init;try{return me(Ce(ze),U,Q)}catch{}}}return""}var re=Object.prototype.hasOwnProperty,Ae={},Be=S.ReactDebugCurrentFrame;function ge(k){if(k){var U=k._owner,Q=me(k.type,k._source,U?U.type:null);Be.setExtraStackFrame(Q)}else Be.setExtraStackFrame(null)}function ue(k,U,Q,fe,ze){{var Ce=Function.call.bind(re);for(var ke in k)if(Ce(k,ke)){var Oe=void 0;try{if(typeof k[ke]!="function"){var Qe=Error((fe||"React class")+": "+Q+" type `"+ke+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof k[ke]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Qe.name="Invariant Violation",Qe}Oe=k[ke](U,ke,fe,Q,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(We){Oe=We}Oe&&!(Oe instanceof Error)&&(ge(ze),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",fe||"React class",Q,ke,typeof Oe),ge(null)),Oe instanceof Error&&!(Oe.message in Ae)&&(Ae[Oe.message]=!0,ge(ze),v("Failed %s type: %s",Q,Oe.message),ge(null))}}}var te=Array.isArray;function be(k){return te(k)}function ve(k){{var U=typeof Symbol=="function"&&Symbol.toStringTag,Q=U&&k[Symbol.toStringTag]||k.constructor.name||"Object";return Q}}function de(k){try{return xe(k),!1}catch{return!0}}function xe(k){return""+k}function Re(k){if(de(k))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ve(k)),xe(k)}var lt=S.ReactCurrentOwner,Dt={key:!0,ref:!0,__self:!0,__source:!0},Te,we,Ye;Ye={};function Ke(k){if(re.call(k,"ref")){var U=Object.getOwnPropertyDescriptor(k,"ref").get;if(U&&U.isReactWarning)return!1}return k.ref!==void 0}function Ao(k){if(re.call(k,"key")){var U=Object.getOwnPropertyDescriptor(k,"key").get;if(U&&U.isReactWarning)return!1}return k.key!==void 0}function yo(k,U){if(typeof k.ref=="string"&<.current&&U&<.current.stateNode!==U){var Q=P(lt.current.type);Ye[Q]||(v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',P(lt.current.type),k.ref),Ye[Q]=!0)}}function Oo(k,U){{var Q=function(){Te||(Te=!0,v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};Q.isReactWarning=!0,Object.defineProperty(k,"key",{get:Q,configurable:!0})}}function Wt(k,U){{var Q=function(){we||(we=!0,v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};Q.isReactWarning=!0,Object.defineProperty(k,"ref",{get:Q,configurable:!0})}}var ft=function(k,U,Q,fe,ze,Ce,ke){var Oe={$$typeof:t,type:k,key:U,ref:Q,props:ke,_owner:Ce};return Oe._store={},Object.defineProperty(Oe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Oe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.defineProperty(Oe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ze}),Object.freeze&&(Object.freeze(Oe.props),Object.freeze(Oe)),Oe};function Tt(k,U,Q,fe,ze){{var Ce,ke={},Oe=null,Qe=null;Q!==void 0&&(Re(Q),Oe=""+Q),Ao(U)&&(Re(U.key),Oe=""+U.key),Ke(U)&&(Qe=U.ref,yo(U,ze));for(Ce in U)re.call(U,Ce)&&!Dt.hasOwnProperty(Ce)&&(ke[Ce]=U[Ce]);if(k&&k.defaultProps){var We=k.defaultProps;for(Ce in We)ke[Ce]===void 0&&(ke[Ce]=We[Ce])}if(Oe||Qe){var _e=typeof k=="function"?k.displayName||k.name||"Unknown":k;Oe&&Oo(ke,_e),Qe&&Wt(ke,_e)}return ft(k,Oe,Qe,ze,fe,lt.current,ke)}}var bt=S.ReactCurrentOwner,nt=S.ReactDebugCurrentFrame;function ut(k){if(k){var U=k._owner,Q=me(k.type,k._source,U?U.type:null);nt.setExtraStackFrame(Q)}else nt.setExtraStackFrame(null)}var wt;wt=!1;function st(k){return typeof k=="object"&&k!==null&&k.$$typeof===t}function Le(){{if(bt.current){var k=P(bt.current.type);if(k)return`
|
22
|
-
|
23
|
-
Check the render method of \``+k+"`."}return""}}function Ie(k){return""}var Pe={};function Zt(k){{var U=Le();if(!U){var Q=typeof k=="string"?k:k.displayName||k.name;Q&&(U=`
|
24
|
-
|
25
|
-
Check the top-level render call using <`+Q+">.")}return U}}function De(k,U){{if(!k._store||k._store.validated||k.key!=null)return;k._store.validated=!0;var Q=Zt(U);if(Pe[Q])return;Pe[Q]=!0;var fe="";k&&k._owner&&k._owner!==bt.current&&(fe=" It was passed a child from "+P(k._owner.type)+"."),ut(k),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Q,fe),ut(null)}}function kt(k,U){{if(typeof k!="object")return;if(be(k))for(var Q=0;Q<k.length;Q++){var fe=k[Q];st(fe)&&De(fe,U)}else if(st(k))k._store&&(k._store.validated=!0);else if(k){var ze=p(k);if(typeof ze=="function"&&ze!==k.entries)for(var Ce=ze.call(k),ke;!(ke=Ce.next()).done;)st(ke.value)&&De(ke.value,U)}}}function ro(k){{var U=k.type;if(U==null||typeof U=="string")return;var Q;if(typeof U=="function")Q=U.propTypes;else if(typeof U=="object"&&(U.$$typeof===s||U.$$typeof===d))Q=U.propTypes;else return;if(Q){var fe=P(U);ue(Q,k.props,"prop",fe,k)}else if(U.PropTypes!==void 0&&!wt){wt=!0;var ze=P(U);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ze||"Unknown")}typeof U.getDefaultProps=="function"&&!U.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ve(k){{for(var U=Object.keys(k.props),Q=0;Q<U.length;Q++){var fe=U[Q];if(fe!=="children"&&fe!=="key"){ut(k),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",fe),ut(null);break}}k.ref!==null&&(ut(k),v("Invalid attribute `ref` supplied to `React.Fragment`."),ut(null))}}var Ue={};function Ge(k,U,Q,fe,ze,Ce){{var ke=F(k);if(!ke){var Oe="";(k===void 0||typeof k=="object"&&k!==null&&Object.keys(k).length===0)&&(Oe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Qe=Ie();Qe?Oe+=Qe:Oe+=Le();var We;k===null?We="null":be(k)?We="array":k!==void 0&&k.$$typeof===t?(We="<"+(P(k.type)||"Unknown")+" />",Oe=" Did you accidentally export a JSX literal instead of a component?"):We=typeof k,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",We,Oe)}var _e=Tt(k,U,Q,ze,Ce);if(_e==null)return _e;if(ke){var pt=U.children;if(pt!==void 0)if(fe)if(be(pt)){for(var Vt=0;Vt<pt.length;Vt++)kt(pt[Vt],k);Object.freeze&&Object.freeze(pt)}else v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else kt(pt,k)}if(re.call(U,"key")){var _t=P(k),Ze=Object.keys(U).filter(function(no){return no!=="key"}),So=Ze.length>0?"{key: someKey, "+Ze.join(": ..., ")+": ...}":"{key: someKey}";if(!Ue[_t+So]){var xr=Ze.length>0?"{"+Ze.join(": ..., ")+": ...}":"{}";v(`A props object containing a "key" prop is being spread into JSX:
|
26
|
-
let props = %s;
|
27
|
-
<%s {...props} />
|
28
|
-
React keys must be passed directly to JSX without using spread:
|
29
|
-
let props = %s;
|
30
|
-
<%s key={someKey} {...props} />`,So,_t,xr,_t),Ue[_t+So]=!0}}return k===r?Ve(_e):ro(_e),_e}}function gt(k,U,Q){return Ge(k,U,Q,!0)}function Ft(k,U,Q){return Ge(k,U,Q,!1)}var Jt=Ft,eo=gt;Mr.Fragment=r,Mr.jsx=Jt,Mr.jsxs=eo}()),Mr}process.env.NODE_ENV==="production"?oi.exports=Wf():oi.exports=Vf();var W=oi.exports;const Uf=se.h3`
|
31
|
-
padding-inline: 6px;
|
32
|
-
padding-bottom: 4px;
|
33
|
-
margin-block: 6px;
|
34
|
-
font-weight: ${e=>e.$strong?500:300};
|
35
|
-
color: ${e=>e.$color};
|
36
|
-
border-bottom: 2px solid ${e=>e.$color};
|
37
|
-
|
38
|
-
@media only screen and (min-width: 768px) {
|
39
|
-
font-size: 1.3rem;
|
40
|
-
}
|
41
|
-
`,Dc=({children:e,titleColor:t="#25b1ef",strong:o,style:r})=>!e&&e!==null?null:W.jsx(Uf,{$color:t,$strong:o||!1,style:r,children:e}),qf=se.div`
|
42
|
-
background: linear-gradient(60deg,rgba(75,80,85,.5),rgba(125,123,120,.5));
|
43
|
-
border-radius: 4px;
|
44
|
-
box-shadow: 0 .1em .3em rgba(0,0,0,.4);
|
45
|
-
margin-block: 16px;
|
46
|
-
padding: 12px 16px;
|
47
|
-
|
48
|
-
@media screen and (min-width: 768px) {
|
49
|
-
padding: 20px 24px;
|
50
|
-
margin-inline: 4px;
|
51
|
-
}
|
52
|
-
`,Wc=({children:e,title:t,titleColor:o,style:r})=>W.jsxs(qf,{style:r,children:[W.jsx(Dc,{titleColor:o,children:t}),e]});Wc.Title=Dc;const Gf=se.h2`
|
53
|
-
padding-inline: 8px;
|
54
|
-
padding-bottom: 2px;
|
55
|
-
margin-block: 8px;
|
56
|
-
font-weight: ${e=>e.$strong?500:300};
|
57
|
-
color: ${e=>e.$color};
|
58
|
-
font-size: 1.3rem;
|
59
|
-
border-bottom: 1px solid ${e=>e.$color};
|
60
|
-
|
61
|
-
@media screen and (min-width: 768px) {
|
62
|
-
font-size: 2rem;
|
63
|
-
border-bottom: 3px solid ${e=>e.$color};
|
64
|
-
}
|
65
|
-
`,Vc=({children:e,titleColor:t,strong:o,style:r})=>{const{token:{colorPrimary:n}}=pe.theme.useToken();return!e&&e!==null?null:W.jsx(Gf,{$color:t||n,$strong:o||!1,style:r,children:e})},Kf=se.div`
|
66
|
-
background: radial-gradient(circle at 70% 50px, ${e=>e.$bgLight} 15%, ${e=>e.$bgMain} max(50%, 350px), ${e=>e.$bgAccent} max(100%, 800px));
|
67
|
-
padding: 12px 8px;
|
68
|
-
border-radius: 0;
|
69
|
-
|
70
|
-
@media screen and (min-width: 768px) {
|
71
|
-
padding: 24px 36px;
|
72
|
-
border-radius: 12px;
|
73
|
-
}
|
74
|
-
`,Uc=({children:e,title:t,titleColor:o,style:r})=>{const{token:{colorBgContainer:n,colorBgBase:a,colorPrimaryBg:i}}=pe.theme.useToken();return W.jsxs(Kf,{$bgLight:n,$bgMain:a,$bgAccent:i,style:r,children:[W.jsx(Vc,{titleColor:o,children:t}),e]})};Uc.Title=Vc;const Xf={'code[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",maxHeight:"inherit",height:"inherit",padding:"0 1em",display:"block",overflow:"auto"},'pre[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",position:"relative",margin:".5em 0",overflow:"visible",padding:"1px",backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",marginBottom:"1em"},'pre[class*="language-"] > code':{position:"relative",zIndex:"1",borderLeft:"10px solid #358ccb",boxShadow:"-1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf",backgroundColor:"#fdfdfd",backgroundImage:"linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)",backgroundSize:"3em 3em",backgroundOrigin:"content-box",backgroundAttachment:"local"},':not(pre) > code[class*="language-"]':{backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",marginBottom:"1em",position:"relative",padding:".2em",borderRadius:"0.3em",color:"#c92c2c",border:"1px solid rgba(0, 0, 0, 0.1)",display:"inline",whiteSpace:"normal"},'pre[class*="language-"]:before':{content:"''",display:"block",position:"absolute",bottom:"0.75em",left:"0.18em",width:"40%",height:"20%",maxHeight:"13em",boxShadow:"0px 13px 8px #979797",WebkitTransform:"rotate(-2deg)",MozTransform:"rotate(-2deg)",msTransform:"rotate(-2deg)",OTransform:"rotate(-2deg)",transform:"rotate(-2deg)"},'pre[class*="language-"]:after':{content:"''",display:"block",position:"absolute",bottom:"0.75em",left:"auto",width:"40%",height:"20%",maxHeight:"13em",boxShadow:"0px 13px 8px #979797",WebkitTransform:"rotate(2deg)",MozTransform:"rotate(2deg)",msTransform:"rotate(2deg)",OTransform:"rotate(2deg)",transform:"rotate(2deg)",right:"0.75em"},comment:{color:"#7D8B99"},"block-comment":{color:"#7D8B99"},prolog:{color:"#7D8B99"},doctype:{color:"#7D8B99"},cdata:{color:"#7D8B99"},punctuation:{color:"#5F6364"},property:{color:"#c92c2c"},tag:{color:"#c92c2c"},boolean:{color:"#c92c2c"},number:{color:"#c92c2c"},"function-name":{color:"#c92c2c"},constant:{color:"#c92c2c"},symbol:{color:"#c92c2c"},deleted:{color:"#c92c2c"},selector:{color:"#2f9c0a"},"attr-name":{color:"#2f9c0a"},string:{color:"#2f9c0a"},char:{color:"#2f9c0a"},function:{color:"#2f9c0a"},builtin:{color:"#2f9c0a"},inserted:{color:"#2f9c0a"},operator:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},entity:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)",cursor:"help"},url:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},variable:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},atrule:{color:"#1990b8"},"attr-value":{color:"#1990b8"},keyword:{color:"#1990b8"},"class-name":{color:"#1990b8"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"normal"},".language-css .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},".style .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:".7"},'pre[class*="language-"].line-numbers.line-numbers':{paddingLeft:"0"},'pre[class*="language-"].line-numbers.line-numbers code':{paddingLeft:"3.8em"},'pre[class*="language-"].line-numbers.line-numbers .line-numbers-rows':{left:"0"},'pre[class*="language-"][data-line]':{paddingTop:"0",paddingBottom:"0",paddingLeft:"0"},"pre[data-line] code":{position:"relative",paddingLeft:"4em"},"pre .line-highlight":{marginTop:"0"}},Yf={'code[class*="language-"]':{color:"white",background:"none",textShadow:"0 -.1em .2em black",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"white",background:"hsl(30, 20%, 25%)",textShadow:"0 -.1em .2em black",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:".3em solid hsl(30, 20%, 40%)",borderRadius:".5em",boxShadow:"1px 1px .5em black inset"},':not(pre) > code[class*="language-"]':{background:"hsl(30, 20%, 25%)",padding:".15em .2em .05em",borderRadius:".3em",border:".13em solid hsl(30, 20%, 40%)",boxShadow:"1px 1px .3em -.1em black inset",whiteSpace:"normal"},comment:{color:"hsl(30, 20%, 50%)"},prolog:{color:"hsl(30, 20%, 50%)"},doctype:{color:"hsl(30, 20%, 50%)"},cdata:{color:"hsl(30, 20%, 50%)"},punctuation:{Opacity:".7"},namespace:{Opacity:".7"},property:{color:"hsl(350, 40%, 70%)"},tag:{color:"hsl(350, 40%, 70%)"},boolean:{color:"hsl(350, 40%, 70%)"},number:{color:"hsl(350, 40%, 70%)"},constant:{color:"hsl(350, 40%, 70%)"},symbol:{color:"hsl(350, 40%, 70%)"},selector:{color:"hsl(75, 70%, 60%)"},"attr-name":{color:"hsl(75, 70%, 60%)"},string:{color:"hsl(75, 70%, 60%)"},char:{color:"hsl(75, 70%, 60%)"},builtin:{color:"hsl(75, 70%, 60%)"},inserted:{color:"hsl(75, 70%, 60%)"},operator:{color:"hsl(40, 90%, 60%)"},entity:{color:"hsl(40, 90%, 60%)",cursor:"help"},url:{color:"hsl(40, 90%, 60%)"},".language-css .token.string":{color:"hsl(40, 90%, 60%)"},".style .token.string":{color:"hsl(40, 90%, 60%)"},variable:{color:"hsl(40, 90%, 60%)"},atrule:{color:"hsl(350, 40%, 70%)"},"attr-value":{color:"hsl(350, 40%, 70%)"},keyword:{color:"hsl(350, 40%, 70%)"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},deleted:{color:"red"}},Qf={'code[class*="language-"]':{fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"black",color:"white",boxShadow:"-.3em 0 0 .3em black, .3em 0 0 .3em black"},'pre[class*="language-"]':{fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:".4em .8em",margin:".5em 0",overflow:"auto",background:`url('data:image/svg+xml;charset=utf-8,<svg%20version%3D"1.1"%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20width%3D"100"%20height%3D"100"%20fill%3D"rgba(0%2C0%2C0%2C.2)">%0D%0A<polygon%20points%3D"0%2C50%2050%2C0%200%2C0"%20%2F>%0D%0A<polygon%20points%3D"0%2C100%2050%2C100%20100%2C50%20100%2C0"%20%2F>%0D%0A<%2Fsvg>')`,backgroundSize:"1em 1em"},':not(pre) > code[class*="language-"]':{padding:".2em",borderRadius:".3em",boxShadow:"none",whiteSpace:"normal"},comment:{color:"#aaa"},prolog:{color:"#aaa"},doctype:{color:"#aaa"},cdata:{color:"#aaa"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#0cf"},tag:{color:"#0cf"},boolean:{color:"#0cf"},number:{color:"#0cf"},constant:{color:"#0cf"},symbol:{color:"#0cf"},selector:{color:"yellow"},"attr-name":{color:"yellow"},string:{color:"yellow"},char:{color:"yellow"},builtin:{color:"yellow"},operator:{color:"yellowgreen"},entity:{color:"yellowgreen",cursor:"help"},url:{color:"yellowgreen"},".language-css .token.string":{color:"yellowgreen"},variable:{color:"yellowgreen"},inserted:{color:"yellowgreen"},atrule:{color:"deeppink"},"attr-value":{color:"deeppink"},keyword:{color:"deeppink"},regex:{color:"orange"},important:{color:"orange",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},deleted:{color:"red"},"pre.diff-highlight.diff-highlight > code .token.deleted:not(.prefix)":{backgroundColor:"rgba(255, 0, 0, .3)",display:"inline"},"pre > code.diff-highlight.diff-highlight .token.deleted:not(.prefix)":{backgroundColor:"rgba(255, 0, 0, .3)",display:"inline"},"pre.diff-highlight.diff-highlight > code .token.inserted:not(.prefix)":{backgroundColor:"rgba(0, 255, 128, .3)",display:"inline"},"pre > code.diff-highlight.diff-highlight .token.inserted:not(.prefix)":{backgroundColor:"rgba(0, 255, 128, .3)",display:"inline"}},Zf={'code[class*="language-"]':{color:"#f8f8f2",background:"none",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#272822",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#272822",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#8292a2"},prolog:{color:"#8292a2"},doctype:{color:"#8292a2"},cdata:{color:"#8292a2"},punctuation:{color:"#f8f8f2"},namespace:{Opacity:".7"},property:{color:"#f92672"},tag:{color:"#f92672"},constant:{color:"#f92672"},symbol:{color:"#f92672"},deleted:{color:"#f92672"},boolean:{color:"#ae81ff"},number:{color:"#ae81ff"},selector:{color:"#a6e22e"},"attr-name":{color:"#a6e22e"},string:{color:"#a6e22e"},char:{color:"#a6e22e"},builtin:{color:"#a6e22e"},inserted:{color:"#a6e22e"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#e6db74"},"attr-value":{color:"#e6db74"},function:{color:"#e6db74"},"class-name":{color:"#e6db74"},keyword:{color:"#66d9ef"},regex:{color:"#fd971f"},important:{color:"#fd971f",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},Jf={'code[class*="language-"]':{color:"#657b83",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#657b83",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",backgroundColor:"#fdf6e3"},'pre[class*="language-"]::-moz-selection':{background:"#073642"},'pre[class*="language-"] ::-moz-selection':{background:"#073642"},'code[class*="language-"]::-moz-selection':{background:"#073642"},'code[class*="language-"] ::-moz-selection':{background:"#073642"},'pre[class*="language-"]::selection':{background:"#073642"},'pre[class*="language-"] ::selection':{background:"#073642"},'code[class*="language-"]::selection':{background:"#073642"},'code[class*="language-"] ::selection':{background:"#073642"},':not(pre) > code[class*="language-"]':{backgroundColor:"#fdf6e3",padding:".1em",borderRadius:".3em"},comment:{color:"#93a1a1"},prolog:{color:"#93a1a1"},doctype:{color:"#93a1a1"},cdata:{color:"#93a1a1"},punctuation:{color:"#586e75"},namespace:{Opacity:".7"},property:{color:"#268bd2"},tag:{color:"#268bd2"},boolean:{color:"#268bd2"},number:{color:"#268bd2"},constant:{color:"#268bd2"},symbol:{color:"#268bd2"},deleted:{color:"#268bd2"},selector:{color:"#2aa198"},"attr-name":{color:"#2aa198"},string:{color:"#2aa198"},char:{color:"#2aa198"},builtin:{color:"#2aa198"},url:{color:"#2aa198"},inserted:{color:"#2aa198"},entity:{color:"#657b83",background:"#eee8d5",cursor:"help"},atrule:{color:"#859900"},"attr-value":{color:"#859900"},keyword:{color:"#859900"},function:{color:"#b58900"},"class-name":{color:"#b58900"},regex:{color:"#cb4b16"},important:{color:"#cb4b16",fontWeight:"bold"},variable:{color:"#cb4b16"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},eg={'code[class*="language-"]':{color:"#ccc",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#ccc",background:"#2d2d2d",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},':not(pre) > code[class*="language-"]':{background:"#2d2d2d",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#999"},"block-comment":{color:"#999"},prolog:{color:"#999"},doctype:{color:"#999"},cdata:{color:"#999"},punctuation:{color:"#ccc"},tag:{color:"#e2777a"},"attr-name":{color:"#e2777a"},namespace:{color:"#e2777a"},deleted:{color:"#e2777a"},"function-name":{color:"#6196cc"},boolean:{color:"#f08d49"},number:{color:"#f08d49"},function:{color:"#f08d49"},property:{color:"#f8c555"},"class-name":{color:"#f8c555"},constant:{color:"#f8c555"},symbol:{color:"#f8c555"},selector:{color:"#cc99cd"},important:{color:"#cc99cd",fontWeight:"bold"},atrule:{color:"#cc99cd"},keyword:{color:"#cc99cd"},builtin:{color:"#cc99cd"},string:{color:"#7ec699"},char:{color:"#7ec699"},"attr-value":{color:"#7ec699"},regex:{color:"#7ec699"},variable:{color:"#7ec699"},operator:{color:"#67cdcc"},entity:{color:"#67cdcc",cursor:"help"},url:{color:"#67cdcc"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{color:"green"}},tg={'code[class*="language-"]':{color:"white",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",textShadow:"0 -.1em .2em black",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"white",background:"hsl(0, 0%, 8%)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",textShadow:"0 -.1em .2em black",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",borderRadius:".5em",border:".3em solid hsl(0, 0%, 33%)",boxShadow:"1px 1px .5em black inset",margin:".5em 0",overflow:"auto",padding:"1em"},':not(pre) > code[class*="language-"]':{background:"hsl(0, 0%, 8%)",borderRadius:".3em",border:".13em solid hsl(0, 0%, 33%)",boxShadow:"1px 1px .3em -.1em black inset",padding:".15em .2em .05em",whiteSpace:"normal"},'pre[class*="language-"]::-moz-selection':{background:"hsla(0, 0%, 93%, 0.15)",textShadow:"none"},'pre[class*="language-"]::selection':{background:"hsla(0, 0%, 93%, 0.15)",textShadow:"none"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"]::selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"] ::selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},comment:{color:"hsl(0, 0%, 47%)"},prolog:{color:"hsl(0, 0%, 47%)"},doctype:{color:"hsl(0, 0%, 47%)"},cdata:{color:"hsl(0, 0%, 47%)"},punctuation:{Opacity:".7"},namespace:{Opacity:".7"},tag:{color:"hsl(14, 58%, 55%)"},boolean:{color:"hsl(14, 58%, 55%)"},number:{color:"hsl(14, 58%, 55%)"},deleted:{color:"hsl(14, 58%, 55%)"},keyword:{color:"hsl(53, 89%, 79%)"},property:{color:"hsl(53, 89%, 79%)"},selector:{color:"hsl(53, 89%, 79%)"},constant:{color:"hsl(53, 89%, 79%)"},symbol:{color:"hsl(53, 89%, 79%)"},builtin:{color:"hsl(53, 89%, 79%)"},"attr-name":{color:"hsl(76, 21%, 52%)"},"attr-value":{color:"hsl(76, 21%, 52%)"},string:{color:"hsl(76, 21%, 52%)"},char:{color:"hsl(76, 21%, 52%)"},operator:{color:"hsl(76, 21%, 52%)"},entity:{color:"hsl(76, 21%, 52%)",cursor:"help"},url:{color:"hsl(76, 21%, 52%)"},".language-css .token.string":{color:"hsl(76, 21%, 52%)"},".style .token.string":{color:"hsl(76, 21%, 52%)"},variable:{color:"hsl(76, 21%, 52%)"},inserted:{color:"hsl(76, 21%, 52%)"},atrule:{color:"hsl(218, 22%, 55%)"},regex:{color:"hsl(42, 75%, 65%)"},important:{color:"hsl(42, 75%, 65%)",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},".language-markup .token.tag":{color:"hsl(33, 33%, 52%)"},".language-markup .token.attr-name":{color:"hsl(33, 33%, 52%)"},".language-markup .token.punctuation":{color:"hsl(33, 33%, 52%)"},"":{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"linear-gradient(to right, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0))",borderBottom:"1px dashed hsl(0, 0%, 33%)",borderTop:"1px dashed hsl(0, 0%, 33%)",marginTop:"0.75em",zIndex:"0"},".line-highlight.line-highlight:before":{backgroundColor:"hsl(215, 15%, 59%)",color:"hsl(24, 20%, 95%)"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"hsl(215, 15%, 59%)",color:"hsl(24, 20%, 95%)"}},og={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},rg={'code[class*="language-"]':{color:"#f8f8f2",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#2b2b2b",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#2b2b2b",padding:"0.1em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#d4d0ab"},prolog:{color:"#d4d0ab"},doctype:{color:"#d4d0ab"},cdata:{color:"#d4d0ab"},punctuation:{color:"#fefefe"},property:{color:"#ffa07a"},tag:{color:"#ffa07a"},constant:{color:"#ffa07a"},symbol:{color:"#ffa07a"},deleted:{color:"#ffa07a"},boolean:{color:"#00e0e0"},number:{color:"#00e0e0"},selector:{color:"#abe338"},"attr-name":{color:"#abe338"},string:{color:"#abe338"},char:{color:"#abe338"},builtin:{color:"#abe338"},inserted:{color:"#abe338"},operator:{color:"#00e0e0"},entity:{color:"#00e0e0",cursor:"help"},url:{color:"#00e0e0"},".language-css .token.string":{color:"#00e0e0"},".style .token.string":{color:"#00e0e0"},variable:{color:"#00e0e0"},atrule:{color:"#ffd700"},"attr-value":{color:"#ffd700"},function:{color:"#ffd700"},keyword:{color:"#00e0e0"},regex:{color:"#ffd700"},important:{color:"#ffd700",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},ng={'code[class*="language-"]':{color:"#c5c8c6",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#c5c8c6",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",background:"#1d1f21"},':not(pre) > code[class*="language-"]':{background:"#1d1f21",padding:".1em",borderRadius:".3em"},comment:{color:"#7C7C7C"},prolog:{color:"#7C7C7C"},doctype:{color:"#7C7C7C"},cdata:{color:"#7C7C7C"},punctuation:{color:"#c5c8c6"},".namespace":{Opacity:".7"},property:{color:"#96CBFE"},keyword:{color:"#96CBFE"},tag:{color:"#96CBFE"},"class-name":{color:"#FFFFB6",textDecoration:"underline"},boolean:{color:"#99CC99"},constant:{color:"#99CC99"},symbol:{color:"#f92672"},deleted:{color:"#f92672"},number:{color:"#FF73FD"},selector:{color:"#A8FF60"},"attr-name":{color:"#A8FF60"},string:{color:"#A8FF60"},char:{color:"#A8FF60"},builtin:{color:"#A8FF60"},inserted:{color:"#A8FF60"},variable:{color:"#C6C5FE"},operator:{color:"#EDEDED"},entity:{color:"#FFFFB6",cursor:"help"},url:{color:"#96CBFE"},".language-css .token.string":{color:"#87C38A"},".style .token.string":{color:"#87C38A"},atrule:{color:"#F9EE98"},"attr-value":{color:"#F9EE98"},function:{color:"#DAD085"},regex:{color:"#E9C062"},important:{color:"#fd971f",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},ag={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#f5f7ff",color:"#5e6687"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#f5f7ff",color:"#5e6687",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#dfe2f1"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"]::selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#dfe2f1"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#898ea4"},prolog:{color:"#898ea4"},doctype:{color:"#898ea4"},cdata:{color:"#898ea4"},punctuation:{color:"#5e6687"},namespace:{Opacity:".7"},operator:{color:"#c76b29"},boolean:{color:"#c76b29"},number:{color:"#c76b29"},property:{color:"#c08b30"},tag:{color:"#3d8fd1"},string:{color:"#22a2c9"},selector:{color:"#6679cc"},"attr-name":{color:"#c76b29"},entity:{color:"#22a2c9",cursor:"help"},url:{color:"#22a2c9"},".language-css .token.string":{color:"#22a2c9"},".style .token.string":{color:"#22a2c9"},"attr-value":{color:"#ac9739"},keyword:{color:"#ac9739"},control:{color:"#ac9739"},directive:{color:"#ac9739"},unit:{color:"#ac9739"},statement:{color:"#22a2c9"},regex:{color:"#22a2c9"},atrule:{color:"#22a2c9"},placeholder:{color:"#3d8fd1"},variable:{color:"#3d8fd1"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #202746",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#c94922"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:"0.4em solid #c94922",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#dfe2f1"},".line-numbers .line-numbers-rows > span:before":{color:"#979db4"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(107, 115, 148, 0.2) 70%, rgba(107, 115, 148, 0))"}},ig={'code[class*="language-"]':{color:"#fff",textShadow:"0 1px 1px #000",fontFamily:'Menlo, Monaco, "Courier New", monospace',direction:"ltr",textAlign:"left",wordSpacing:"normal",whiteSpace:"pre",wordWrap:"normal",lineHeight:"1.4",background:"none",border:"0",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#fff",textShadow:"0 1px 1px #000",fontFamily:'Menlo, Monaco, "Courier New", monospace',direction:"ltr",textAlign:"left",wordSpacing:"normal",whiteSpace:"pre",wordWrap:"normal",lineHeight:"1.4",background:"#222",border:"0",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"15px",margin:"1em 0",overflow:"auto",MozBorderRadius:"8px",WebkitBorderRadius:"8px",borderRadius:"8px"},'pre[class*="language-"] code':{float:"left",padding:"0 15px 0 0"},':not(pre) > code[class*="language-"]':{background:"#222",padding:"5px 10px",lineHeight:"1",MozBorderRadius:"3px",WebkitBorderRadius:"3px",borderRadius:"3px"},comment:{color:"#797979"},prolog:{color:"#797979"},doctype:{color:"#797979"},cdata:{color:"#797979"},selector:{color:"#fff"},operator:{color:"#fff"},punctuation:{color:"#fff"},namespace:{Opacity:".7"},tag:{color:"#ffd893"},boolean:{color:"#ffd893"},atrule:{color:"#B0C975"},"attr-value":{color:"#B0C975"},hex:{color:"#B0C975"},string:{color:"#B0C975"},property:{color:"#c27628"},entity:{color:"#c27628",cursor:"help"},url:{color:"#c27628"},"attr-name":{color:"#c27628"},keyword:{color:"#c27628"},regex:{color:"#9B71C6"},function:{color:"#e5a638"},constant:{color:"#e5a638"},variable:{color:"#fdfba8"},number:{color:"#8799B0"},important:{color:"#E45734"},deliminator:{color:"#E45734"},".line-highlight.line-highlight":{background:"rgba(255, 255, 255, .2)"},".line-highlight.line-highlight:before":{top:".3em",backgroundColor:"rgba(255, 255, 255, .3)",color:"#fff",MozBorderRadius:"8px",WebkitBorderRadius:"8px",borderRadius:"8px"},".line-highlight.line-highlight[data-end]:after":{top:".3em",backgroundColor:"rgba(255, 255, 255, .3)",color:"#fff",MozBorderRadius:"8px",WebkitBorderRadius:"8px",borderRadius:"8px"},".line-numbers .line-numbers-rows > span":{borderRight:"3px #d9d336 solid"}},lg={'code[class*="language-"]':{color:"#111b27",background:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#111b27",background:"#e3eaf2",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{background:"#8da1b9"},'pre[class*="language-"] ::-moz-selection':{background:"#8da1b9"},'code[class*="language-"]::-moz-selection':{background:"#8da1b9"},'code[class*="language-"] ::-moz-selection':{background:"#8da1b9"},'pre[class*="language-"]::selection':{background:"#8da1b9"},'pre[class*="language-"] ::selection':{background:"#8da1b9"},'code[class*="language-"]::selection':{background:"#8da1b9"},'code[class*="language-"] ::selection':{background:"#8da1b9"},':not(pre) > code[class*="language-"]':{background:"#e3eaf2",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#3c526d"},prolog:{color:"#3c526d"},doctype:{color:"#3c526d"},cdata:{color:"#3c526d"},punctuation:{color:"#111b27"},"delimiter.important":{color:"#006d6d",fontWeight:"inherit"},"selector.parent":{color:"#006d6d"},tag:{color:"#006d6d"},"tag.punctuation":{color:"#006d6d"},"attr-name":{color:"#755f00"},boolean:{color:"#755f00"},"boolean.important":{color:"#755f00"},number:{color:"#755f00"},constant:{color:"#755f00"},"selector.attribute":{color:"#755f00"},"class-name":{color:"#005a8e"},key:{color:"#005a8e"},parameter:{color:"#005a8e"},property:{color:"#005a8e"},"property-access":{color:"#005a8e"},variable:{color:"#005a8e"},"attr-value":{color:"#116b00"},inserted:{color:"#116b00"},color:{color:"#116b00"},"selector.value":{color:"#116b00"},string:{color:"#116b00"},"string.url-link":{color:"#116b00"},builtin:{color:"#af00af"},"keyword-array":{color:"#af00af"},package:{color:"#af00af"},regex:{color:"#af00af"},function:{color:"#7c00aa"},"selector.class":{color:"#7c00aa"},"selector.id":{color:"#7c00aa"},"atrule.rule":{color:"#a04900"},combinator:{color:"#a04900"},keyword:{color:"#a04900"},operator:{color:"#a04900"},"pseudo-class":{color:"#a04900"},"pseudo-element":{color:"#a04900"},selector:{color:"#a04900"},unit:{color:"#a04900"},deleted:{color:"#c22f2e"},important:{color:"#c22f2e",fontWeight:"bold"},"keyword-this":{color:"#005a8e",fontWeight:"bold"},this:{color:"#005a8e",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#005a8e",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#005a8e",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#af00af"},".language-markdown .token.code":{color:"#006d6d"},".language-markdown .token.hr.punctuation":{color:"#005a8e"},".language-markdown .token.url > .token.content":{color:"#116b00"},".language-markdown .token.url-link":{color:"#755f00"},".language-markdown .token.list.punctuation":{color:"#af00af"},".language-markdown .token.table-header":{color:"#111b27"},".language-json .token.operator":{color:"#111b27"},".language-scss .token.variable":{color:"#006d6d"},"token.tab:not(:empty):before":{color:"#3c526d"},"token.cr:before":{color:"#3c526d"},"token.lf:before":{color:"#3c526d"},"token.space:before":{color:"#3c526d"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#e3eaf2",background:"#005a8e"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#e3eaf2",background:"#005a8e"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#e3eaf2",background:"#3c526d"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#e3eaf2",background:"#3c526d"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#e3eaf2",background:"#3c526d"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #8da1b92f 70%, #8da1b925)"},".line-highlight.line-highlight:before":{backgroundColor:"#3c526d",color:"#e3eaf2",boxShadow:"0 1px #8da1b9"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#3c526d",color:"#e3eaf2",boxShadow:"0 1px #8da1b9"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#3c526d1f"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #8da1b97a",background:"#d0dae77a"},".line-numbers .line-numbers-rows > span:before":{color:"#3c526dda"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#755f00"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#755f00"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#755f00"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#af00af"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#af00af"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#af00af"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#005a8e"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#005a8e"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#005a8e"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#7c00aa"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#7c00aa"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#7c00aa"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#c22f2e1f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#c22f2e1f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#116b001f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#116b001f"},".command-line .command-line-prompt":{borderRight:"1px solid #8da1b97a"},".command-line .command-line-prompt > span:before":{color:"#3c526dda"}},sg={'code[class*="language-"]':{color:"#e3eaf2",background:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#e3eaf2",background:"#111b27",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{background:"#3c526d"},'pre[class*="language-"] ::-moz-selection':{background:"#3c526d"},'code[class*="language-"]::-moz-selection':{background:"#3c526d"},'code[class*="language-"] ::-moz-selection':{background:"#3c526d"},'pre[class*="language-"]::selection':{background:"#3c526d"},'pre[class*="language-"] ::selection':{background:"#3c526d"},'code[class*="language-"]::selection':{background:"#3c526d"},'code[class*="language-"] ::selection':{background:"#3c526d"},':not(pre) > code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}},cg={'code[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",position:"relative",borderLeft:"10px solid #358ccb",boxShadow:"-1px 0 0 0 #358ccb, 0 0 0 1px #dfdfdf",backgroundColor:"#fdfdfd",backgroundImage:"linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)",backgroundSize:"3em 3em",backgroundOrigin:"content-box",backgroundAttachment:"local",margin:".5em 0",padding:"0 1em"},'pre[class*="language-"] > code':{display:"block"},':not(pre) > code[class*="language-"]':{position:"relative",padding:".2em",borderRadius:"0.3em",color:"#c92c2c",border:"1px solid rgba(0, 0, 0, 0.1)",display:"inline",whiteSpace:"normal",backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box"},comment:{color:"#7D8B99"},"block-comment":{color:"#7D8B99"},prolog:{color:"#7D8B99"},doctype:{color:"#7D8B99"},cdata:{color:"#7D8B99"},punctuation:{color:"#5F6364"},property:{color:"#c92c2c"},tag:{color:"#c92c2c"},boolean:{color:"#c92c2c"},number:{color:"#c92c2c"},"function-name":{color:"#c92c2c"},constant:{color:"#c92c2c"},symbol:{color:"#c92c2c"},deleted:{color:"#c92c2c"},selector:{color:"#2f9c0a"},"attr-name":{color:"#2f9c0a"},string:{color:"#2f9c0a"},char:{color:"#2f9c0a"},function:{color:"#2f9c0a"},builtin:{color:"#2f9c0a"},inserted:{color:"#2f9c0a"},operator:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},entity:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)",cursor:"help"},url:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},variable:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},atrule:{color:"#1990b8"},"attr-value":{color:"#1990b8"},keyword:{color:"#1990b8"},"class-name":{color:"#1990b8"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"normal"},".language-css .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},".style .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:".7"}},ug={'code[class*="language-"]':{color:"#a9b7c6",fontFamily:"Consolas, Monaco, 'Andale Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#a9b7c6",fontFamily:"Consolas, Monaco, 'Andale Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#2b2b2b"},'pre[class*="language-"]::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"] ::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"]::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"] ::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"]::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"] ::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"]::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"] ::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},':not(pre) > code[class*="language-"]':{background:"#2b2b2b",padding:".1em",borderRadius:".3em"},comment:{color:"#808080"},prolog:{color:"#808080"},cdata:{color:"#808080"},delimiter:{color:"#cc7832"},boolean:{color:"#cc7832"},keyword:{color:"#cc7832"},selector:{color:"#cc7832"},important:{color:"#cc7832"},atrule:{color:"#cc7832"},operator:{color:"#a9b7c6"},punctuation:{color:"#a9b7c6"},"attr-name":{color:"#a9b7c6"},tag:{color:"#e8bf6a"},"tag.punctuation":{color:"#e8bf6a"},doctype:{color:"#e8bf6a"},builtin:{color:"#e8bf6a"},entity:{color:"#6897bb"},number:{color:"#6897bb"},symbol:{color:"#6897bb"},property:{color:"#9876aa"},constant:{color:"#9876aa"},variable:{color:"#9876aa"},string:{color:"#6a8759"},char:{color:"#6a8759"},"attr-value":{color:"#a5c261"},"attr-value.punctuation":{color:"#a5c261"},"attr-value.punctuation:first-child":{color:"#a9b7c6"},url:{color:"#287bde",textDecoration:"underline"},function:{color:"#ffc66d"},regex:{background:"#364135"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#294436"},deleted:{background:"#484a4a"},"code.language-css .token.property":{color:"#a9b7c6"},"code.language-css .token.property + .token.punctuation":{color:"#a9b7c6"},"code.language-css .token.id":{color:"#ffc66d"},"code.language-css .token.selector > .token.class":{color:"#ffc66d"},"code.language-css .token.selector > .token.attribute":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-class":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-element":{color:"#ffc66d"}},dg={'code[class*="language-"]':{color:"#f8f8f2",background:"none",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#282a36",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#282a36",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#6272a4"},prolog:{color:"#6272a4"},doctype:{color:"#6272a4"},cdata:{color:"#6272a4"},punctuation:{color:"#f8f8f2"},".namespace":{Opacity:".7"},property:{color:"#ff79c6"},tag:{color:"#ff79c6"},constant:{color:"#ff79c6"},symbol:{color:"#ff79c6"},deleted:{color:"#ff79c6"},boolean:{color:"#bd93f9"},number:{color:"#bd93f9"},selector:{color:"#50fa7b"},"attr-name":{color:"#50fa7b"},string:{color:"#50fa7b"},char:{color:"#50fa7b"},builtin:{color:"#50fa7b"},inserted:{color:"#50fa7b"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#f1fa8c"},"attr-value":{color:"#f1fa8c"},function:{color:"#f1fa8c"},"class-name":{color:"#f1fa8c"},keyword:{color:"#8be9fd"},regex:{color:"#ffb86c"},important:{color:"#ffb86c",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},fg={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2734",color:"#9a86fd"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2734",color:"#9a86fd",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6a51e6"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6a51e6"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#6a51e6"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"]::selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#6a51e6"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#6c6783"},prolog:{color:"#6c6783"},doctype:{color:"#6c6783"},cdata:{color:"#6c6783"},punctuation:{color:"#6c6783"},namespace:{Opacity:".7"},tag:{color:"#e09142"},operator:{color:"#e09142"},number:{color:"#e09142"},property:{color:"#9a86fd"},function:{color:"#9a86fd"},"tag-id":{color:"#eeebff"},selector:{color:"#eeebff"},"atrule-id":{color:"#eeebff"},"code.language-javascript":{color:"#c4b9fe"},"attr-name":{color:"#c4b9fe"},"code.language-css":{color:"#ffcc99"},"code.language-scss":{color:"#ffcc99"},boolean:{color:"#ffcc99"},string:{color:"#ffcc99"},entity:{color:"#ffcc99",cursor:"help"},url:{color:"#ffcc99"},".language-css .token.string":{color:"#ffcc99"},".language-scss .token.string":{color:"#ffcc99"},".style .token.string":{color:"#ffcc99"},"attr-value":{color:"#ffcc99"},keyword:{color:"#ffcc99"},control:{color:"#ffcc99"},directive:{color:"#ffcc99"},unit:{color:"#ffcc99"},statement:{color:"#ffcc99"},regex:{color:"#ffcc99"},atrule:{color:"#ffcc99"},placeholder:{color:"#ffcc99"},variable:{color:"#ffcc99"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #eeebff",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#c4b9fe"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #8a75f5",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#2c2937"},".line-numbers .line-numbers-rows > span:before":{color:"#3c3949"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(224, 145, 66, 0.2) 70%, rgba(224, 145, 66, 0))"}},gg={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#322d29",color:"#88786d"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#322d29",color:"#88786d",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6f5849"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6f5849"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#6f5849"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"]::selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#6f5849"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#6a5f58"},prolog:{color:"#6a5f58"},doctype:{color:"#6a5f58"},cdata:{color:"#6a5f58"},punctuation:{color:"#6a5f58"},namespace:{Opacity:".7"},tag:{color:"#bfa05a"},operator:{color:"#bfa05a"},number:{color:"#bfa05a"},property:{color:"#88786d"},function:{color:"#88786d"},"tag-id":{color:"#fff3eb"},selector:{color:"#fff3eb"},"atrule-id":{color:"#fff3eb"},"code.language-javascript":{color:"#a48774"},"attr-name":{color:"#a48774"},"code.language-css":{color:"#fcc440"},"code.language-scss":{color:"#fcc440"},boolean:{color:"#fcc440"},string:{color:"#fcc440"},entity:{color:"#fcc440",cursor:"help"},url:{color:"#fcc440"},".language-css .token.string":{color:"#fcc440"},".language-scss .token.string":{color:"#fcc440"},".style .token.string":{color:"#fcc440"},"attr-value":{color:"#fcc440"},keyword:{color:"#fcc440"},control:{color:"#fcc440"},directive:{color:"#fcc440"},unit:{color:"#fcc440"},statement:{color:"#fcc440"},regex:{color:"#fcc440"},atrule:{color:"#fcc440"},placeholder:{color:"#fcc440"},variable:{color:"#fcc440"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #fff3eb",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#a48774"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #816d5f",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#35302b"},".line-numbers .line-numbers-rows > span:before":{color:"#46403d"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(191, 160, 90, 0.2) 70%, rgba(191, 160, 90, 0))"}},pg={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2d2a",color:"#687d68"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2d2a",color:"#687d68",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#435643"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#435643"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#435643"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#435643"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#435643"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#435643"},'code[class*="language-"]::selection':{textShadow:"none",background:"#435643"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#435643"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#535f53"},prolog:{color:"#535f53"},doctype:{color:"#535f53"},cdata:{color:"#535f53"},punctuation:{color:"#535f53"},namespace:{Opacity:".7"},tag:{color:"#a2b34d"},operator:{color:"#a2b34d"},number:{color:"#a2b34d"},property:{color:"#687d68"},function:{color:"#687d68"},"tag-id":{color:"#f0fff0"},selector:{color:"#f0fff0"},"atrule-id":{color:"#f0fff0"},"code.language-javascript":{color:"#b3d6b3"},"attr-name":{color:"#b3d6b3"},"code.language-css":{color:"#e5fb79"},"code.language-scss":{color:"#e5fb79"},boolean:{color:"#e5fb79"},string:{color:"#e5fb79"},entity:{color:"#e5fb79",cursor:"help"},url:{color:"#e5fb79"},".language-css .token.string":{color:"#e5fb79"},".language-scss .token.string":{color:"#e5fb79"},".style .token.string":{color:"#e5fb79"},"attr-value":{color:"#e5fb79"},keyword:{color:"#e5fb79"},control:{color:"#e5fb79"},directive:{color:"#e5fb79"},unit:{color:"#e5fb79"},statement:{color:"#e5fb79"},regex:{color:"#e5fb79"},atrule:{color:"#e5fb79"},placeholder:{color:"#e5fb79"},variable:{color:"#e5fb79"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #f0fff0",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#b3d6b3"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #5c705c",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#2c302c"},".line-numbers .line-numbers-rows > span:before":{color:"#3b423b"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(162, 179, 77, 0.2) 70%, rgba(162, 179, 77, 0))"}},hg={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#faf8f5",color:"#728fcb"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#faf8f5",color:"#728fcb",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"]::selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#faf8f5"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#b6ad9a"},prolog:{color:"#b6ad9a"},doctype:{color:"#b6ad9a"},cdata:{color:"#b6ad9a"},punctuation:{color:"#b6ad9a"},namespace:{Opacity:".7"},tag:{color:"#063289"},operator:{color:"#063289"},number:{color:"#063289"},property:{color:"#b29762"},function:{color:"#b29762"},"tag-id":{color:"#2d2006"},selector:{color:"#2d2006"},"atrule-id":{color:"#2d2006"},"code.language-javascript":{color:"#896724"},"attr-name":{color:"#896724"},"code.language-css":{color:"#728fcb"},"code.language-scss":{color:"#728fcb"},boolean:{color:"#728fcb"},string:{color:"#728fcb"},entity:{color:"#728fcb",cursor:"help"},url:{color:"#728fcb"},".language-css .token.string":{color:"#728fcb"},".language-scss .token.string":{color:"#728fcb"},".style .token.string":{color:"#728fcb"},"attr-value":{color:"#728fcb"},keyword:{color:"#728fcb"},control:{color:"#728fcb"},directive:{color:"#728fcb"},unit:{color:"#728fcb"},statement:{color:"#728fcb"},regex:{color:"#728fcb"},atrule:{color:"#728fcb"},placeholder:{color:"#93abdc"},variable:{color:"#93abdc"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #2d2006",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#896724"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #896724",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#ece8de"},".line-numbers .line-numbers-rows > span:before":{color:"#cdc4b1"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(45, 32, 6, 0.2) 70%, rgba(45, 32, 6, 0))"}},mg={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#1d262f",color:"#57718e"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#1d262f",color:"#57718e",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#004a9e"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#004a9e"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#004a9e"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"]::selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#004a9e"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#4a5f78"},prolog:{color:"#4a5f78"},doctype:{color:"#4a5f78"},cdata:{color:"#4a5f78"},punctuation:{color:"#4a5f78"},namespace:{Opacity:".7"},tag:{color:"#0aa370"},operator:{color:"#0aa370"},number:{color:"#0aa370"},property:{color:"#57718e"},function:{color:"#57718e"},"tag-id":{color:"#ebf4ff"},selector:{color:"#ebf4ff"},"atrule-id":{color:"#ebf4ff"},"code.language-javascript":{color:"#7eb6f6"},"attr-name":{color:"#7eb6f6"},"code.language-css":{color:"#47ebb4"},"code.language-scss":{color:"#47ebb4"},boolean:{color:"#47ebb4"},string:{color:"#47ebb4"},entity:{color:"#47ebb4",cursor:"help"},url:{color:"#47ebb4"},".language-css .token.string":{color:"#47ebb4"},".language-scss .token.string":{color:"#47ebb4"},".style .token.string":{color:"#47ebb4"},"attr-value":{color:"#47ebb4"},keyword:{color:"#47ebb4"},control:{color:"#47ebb4"},directive:{color:"#47ebb4"},unit:{color:"#47ebb4"},statement:{color:"#47ebb4"},regex:{color:"#47ebb4"},atrule:{color:"#47ebb4"},placeholder:{color:"#47ebb4"},variable:{color:"#47ebb4"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #ebf4ff",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#7eb6f6"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #34659d",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#1f2932"},".line-numbers .line-numbers-rows > span:before":{color:"#2c3847"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(10, 163, 112, 0.2) 70%, rgba(10, 163, 112, 0))"}},bg={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#24242e",color:"#767693"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#24242e",color:"#767693",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#5151e6"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#5151e6"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#5151e6"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"]::selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#5151e6"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#5b5b76"},prolog:{color:"#5b5b76"},doctype:{color:"#5b5b76"},cdata:{color:"#5b5b76"},punctuation:{color:"#5b5b76"},namespace:{Opacity:".7"},tag:{color:"#dd672c"},operator:{color:"#dd672c"},number:{color:"#dd672c"},property:{color:"#767693"},function:{color:"#767693"},"tag-id":{color:"#ebebff"},selector:{color:"#ebebff"},"atrule-id":{color:"#ebebff"},"code.language-javascript":{color:"#aaaaca"},"attr-name":{color:"#aaaaca"},"code.language-css":{color:"#fe8c52"},"code.language-scss":{color:"#fe8c52"},boolean:{color:"#fe8c52"},string:{color:"#fe8c52"},entity:{color:"#fe8c52",cursor:"help"},url:{color:"#fe8c52"},".language-css .token.string":{color:"#fe8c52"},".language-scss .token.string":{color:"#fe8c52"},".style .token.string":{color:"#fe8c52"},"attr-value":{color:"#fe8c52"},keyword:{color:"#fe8c52"},control:{color:"#fe8c52"},directive:{color:"#fe8c52"},unit:{color:"#fe8c52"},statement:{color:"#fe8c52"},regex:{color:"#fe8c52"},atrule:{color:"#fe8c52"},placeholder:{color:"#fe8c52"},variable:{color:"#fe8c52"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #ebebff",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#aaaaca"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #7676f4",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#262631"},".line-numbers .line-numbers-rows > span:before":{color:"#393949"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(221, 103, 44, 0.2) 70%, rgba(221, 103, 44, 0))"}},vg={'code[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:"1px solid #dddddd",backgroundColor:"white"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{background:"#b3d4fc"},'pre[class*="language-"]::selection':{background:"#b3d4fc"},'pre[class*="language-"] ::selection':{background:"#b3d4fc"},'code[class*="language-"]::selection':{background:"#b3d4fc"},'code[class*="language-"] ::selection':{background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{padding:".2em",paddingTop:"1px",paddingBottom:"1px",background:"#f8f8f8",border:"1px solid #dddddd"},comment:{color:"#999988",fontStyle:"italic"},prolog:{color:"#999988",fontStyle:"italic"},doctype:{color:"#999988",fontStyle:"italic"},cdata:{color:"#999988",fontStyle:"italic"},namespace:{Opacity:".7"},string:{color:"#e3116c"},"attr-value":{color:"#e3116c"},punctuation:{color:"#393A34"},operator:{color:"#393A34"},entity:{color:"#36acaa"},url:{color:"#36acaa"},symbol:{color:"#36acaa"},number:{color:"#36acaa"},boolean:{color:"#36acaa"},variable:{color:"#36acaa"},constant:{color:"#36acaa"},property:{color:"#36acaa"},regex:{color:"#36acaa"},inserted:{color:"#36acaa"},atrule:{color:"#00a4db"},keyword:{color:"#00a4db"},"attr-name":{color:"#00a4db"},".language-autohotkey .token.selector":{color:"#00a4db"},function:{color:"#9a050f",fontWeight:"bold"},deleted:{color:"#9a050f"},".language-autohotkey .token.tag":{color:"#9a050f"},tag:{color:"#00009f"},selector:{color:"#00009f"},".language-autohotkey .token.keyword":{color:"#00009f"},important:{fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},yg={'code[class*="language-"]':{color:"#ebdbb2",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#ebdbb2",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",background:"#1d2021"},'pre[class*="language-"]::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'pre[class*="language-"] ::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"]::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"] ::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'pre[class*="language-"]::selection':{color:"#fbf1c7",background:"#7c6f64"},'pre[class*="language-"] ::selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"]::selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"] ::selection':{color:"#fbf1c7",background:"#7c6f64"},':not(pre) > code[class*="language-"]':{background:"#1d2021",padding:"0.1em",borderRadius:"0.3em"},comment:{color:"#a89984"},prolog:{color:"#a89984"},cdata:{color:"#a89984"},delimiter:{color:"#fb4934"},boolean:{color:"#fb4934"},keyword:{color:"#fb4934"},selector:{color:"#fb4934"},important:{color:"#fb4934"},atrule:{color:"#fb4934"},operator:{color:"#a89984"},punctuation:{color:"#a89984"},"attr-name":{color:"#a89984"},tag:{color:"#fabd2f"},"tag.punctuation":{color:"#fabd2f"},doctype:{color:"#fabd2f"},builtin:{color:"#fabd2f"},entity:{color:"#d3869b"},number:{color:"#d3869b"},symbol:{color:"#d3869b"},property:{color:"#fb4934"},constant:{color:"#fb4934"},variable:{color:"#fb4934"},string:{color:"#b8bb26"},char:{color:"#b8bb26"},"attr-value":{color:"#a89984"},"attr-value.punctuation":{color:"#a89984"},url:{color:"#b8bb26",textDecoration:"underline"},function:{color:"#fabd2f"},regex:{background:"#b8bb26"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#a89984"},deleted:{background:"#fb4934"}},Sg={'code[class*="language-"]':{color:"#3c3836",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#3c3836",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",background:"#f9f5d7"},'pre[class*="language-"]::-moz-selection':{color:"#282828",background:"#a89984"},'pre[class*="language-"] ::-moz-selection':{color:"#282828",background:"#a89984"},'code[class*="language-"]::-moz-selection':{color:"#282828",background:"#a89984"},'code[class*="language-"] ::-moz-selection':{color:"#282828",background:"#a89984"},'pre[class*="language-"]::selection':{color:"#282828",background:"#a89984"},'pre[class*="language-"] ::selection':{color:"#282828",background:"#a89984"},'code[class*="language-"]::selection':{color:"#282828",background:"#a89984"},'code[class*="language-"] ::selection':{color:"#282828",background:"#a89984"},':not(pre) > code[class*="language-"]':{background:"#f9f5d7",padding:"0.1em",borderRadius:"0.3em"},comment:{color:"#7c6f64"},prolog:{color:"#7c6f64"},cdata:{color:"#7c6f64"},delimiter:{color:"#9d0006"},boolean:{color:"#9d0006"},keyword:{color:"#9d0006"},selector:{color:"#9d0006"},important:{color:"#9d0006"},atrule:{color:"#9d0006"},operator:{color:"#7c6f64"},punctuation:{color:"#7c6f64"},"attr-name":{color:"#7c6f64"},tag:{color:"#b57614"},"tag.punctuation":{color:"#b57614"},doctype:{color:"#b57614"},builtin:{color:"#b57614"},entity:{color:"#8f3f71"},number:{color:"#8f3f71"},symbol:{color:"#8f3f71"},property:{color:"#9d0006"},constant:{color:"#9d0006"},variable:{color:"#9d0006"},string:{color:"#797403"},char:{color:"#797403"},"attr-value":{color:"#7c6f64"},"attr-value.punctuation":{color:"#7c6f64"},url:{color:"#797403",textDecoration:"underline"},function:{color:"#b57614"},regex:{background:"#797403"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#7c6f64"},deleted:{background:"#9d0006"}},wg={"code[class*='language-']":{color:"#d6e7ff",background:"#030314",textShadow:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',fontSize:"1em",lineHeight:"1.5",letterSpacing:".2px",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",textAlign:"left",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},"pre[class*='language-']":{color:"#d6e7ff",background:"#030314",textShadow:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',fontSize:"1em",lineHeight:"1.5",letterSpacing:".2px",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",textAlign:"left",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",border:"1px solid #2a4555",borderRadius:"5px",padding:"1.5em 1em",margin:"1em 0",overflow:"auto"},"pre[class*='language-']::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"pre[class*='language-'] ::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-']::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-'] ::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"pre[class*='language-']::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"pre[class*='language-'] ::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-']::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-'] ::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},":not(pre) > code[class*='language-']":{color:"#f0f6f6",background:"#2a4555",padding:"0.2em 0.3em",borderRadius:"0.2em",boxDecorationBreak:"clone"},comment:{color:"#446e69"},prolog:{color:"#446e69"},doctype:{color:"#446e69"},cdata:{color:"#446e69"},punctuation:{color:"#d6b007"},property:{color:"#d6e7ff"},tag:{color:"#d6e7ff"},boolean:{color:"#d6e7ff"},number:{color:"#d6e7ff"},constant:{color:"#d6e7ff"},symbol:{color:"#d6e7ff"},deleted:{color:"#d6e7ff"},selector:{color:"#e60067"},"attr-name":{color:"#e60067"},builtin:{color:"#e60067"},inserted:{color:"#e60067"},string:{color:"#49c6ec"},char:{color:"#49c6ec"},operator:{color:"#ec8e01",background:"transparent"},entity:{color:"#ec8e01",background:"transparent"},url:{color:"#ec8e01",background:"transparent"},".language-css .token.string":{color:"#ec8e01",background:"transparent"},".style .token.string":{color:"#ec8e01",background:"transparent"},atrule:{color:"#0fe468"},"attr-value":{color:"#0fe468"},keyword:{color:"#0fe468"},function:{color:"#78f3e9"},"class-name":{color:"#78f3e9"},regex:{color:"#d6e7ff"},important:{color:"#d6e7ff"},variable:{color:"#d6e7ff"}},xg={'code[class*="language-"]':{fontFamily:'"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace',fontSize:"16px",lineHeight:"1.375",direction:"ltr",textAlign:"left",wordSpacing:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",background:"#322931",color:"#b9b5b8"},'pre[class*="language-"]':{fontFamily:'"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace',fontSize:"16px",lineHeight:"1.375",direction:"ltr",textAlign:"left",wordSpacing:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",background:"#322931",color:"#b9b5b8",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#797379"},prolog:{color:"#797379"},doctype:{color:"#797379"},cdata:{color:"#797379"},punctuation:{color:"#b9b5b8"},".namespace":{Opacity:".7"},null:{color:"#fd8b19"},operator:{color:"#fd8b19"},boolean:{color:"#fd8b19"},number:{color:"#fd8b19"},property:{color:"#fdcc59"},tag:{color:"#1290bf"},string:{color:"#149b93"},selector:{color:"#c85e7c"},"attr-name":{color:"#fd8b19"},entity:{color:"#149b93",cursor:"help"},url:{color:"#149b93"},".language-css .token.string":{color:"#149b93"},".style .token.string":{color:"#149b93"},"attr-value":{color:"#8fc13e"},keyword:{color:"#8fc13e"},control:{color:"#8fc13e"},directive:{color:"#8fc13e"},unit:{color:"#8fc13e"},statement:{color:"#149b93"},regex:{color:"#149b93"},atrule:{color:"#149b93"},placeholder:{color:"#1290bf"},variable:{color:"#1290bf"},important:{color:"#dd464c",fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid red",OutlineOffset:".4em"}},Cg={'code[class*="language-"]':{color:"#f8f8f2",background:"none",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#263E52",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#263E52",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#5c98cd"},prolog:{color:"#5c98cd"},doctype:{color:"#5c98cd"},cdata:{color:"#5c98cd"},punctuation:{color:"#f8f8f2"},".namespace":{Opacity:".7"},property:{color:"#F05E5D"},tag:{color:"#F05E5D"},constant:{color:"#F05E5D"},symbol:{color:"#F05E5D"},deleted:{color:"#F05E5D"},boolean:{color:"#BC94F9"},number:{color:"#BC94F9"},selector:{color:"#FCFCD6"},"attr-name":{color:"#FCFCD6"},string:{color:"#FCFCD6"},char:{color:"#FCFCD6"},builtin:{color:"#FCFCD6"},inserted:{color:"#FCFCD6"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#66D8EF"},"attr-value":{color:"#66D8EF"},function:{color:"#66D8EF"},"class-name":{color:"#66D8EF"},keyword:{color:"#6EB26E"},regex:{color:"#F05E5D"},important:{color:"#F05E5D",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},kg={'code[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#eee",background:"#2f2f2f",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#eee",background:"#2f2f2f",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",overflow:"auto",position:"relative",margin:"0.5em 0",padding:"1.25em 1em"},'code[class*="language-"]::-moz-selection':{background:"#363636"},'pre[class*="language-"]::-moz-selection':{background:"#363636"},'code[class*="language-"] ::-moz-selection':{background:"#363636"},'pre[class*="language-"] ::-moz-selection':{background:"#363636"},'code[class*="language-"]::selection':{background:"#363636"},'pre[class*="language-"]::selection':{background:"#363636"},'code[class*="language-"] ::selection':{background:"#363636"},'pre[class*="language-"] ::selection':{background:"#363636"},':not(pre) > code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#fd9170"},".language-sass > code":{color:"#fd9170"},".language-scss > code":{color:"#fd9170"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#c792ea"},"attr-name":{color:"#ffcb6b"},"attr-value":{color:"#a5e844"},attribute:{color:"#a5e844"},boolean:{color:"#c792ea"},builtin:{color:"#ffcb6b"},cdata:{color:"#80cbc4"},char:{color:"#80cbc4"},class:{color:"#ffcb6b"},"class-name":{color:"#f2ff00"},comment:{color:"#616161"},constant:{color:"#c792ea"},deleted:{color:"#ff6666"},doctype:{color:"#616161"},entity:{color:"#ff6666"},function:{color:"#c792ea"},hexcode:{color:"#f2ff00"},id:{color:"#c792ea",fontWeight:"bold"},important:{color:"#c792ea",fontWeight:"bold"},inserted:{color:"#80cbc4"},keyword:{color:"#c792ea"},number:{color:"#fd9170"},operator:{color:"#89ddff"},prolog:{color:"#616161"},property:{color:"#80cbc4"},"pseudo-class":{color:"#a5e844"},"pseudo-element":{color:"#a5e844"},punctuation:{color:"#89ddff"},regex:{color:"#f2ff00"},selector:{color:"#ff6666"},string:{color:"#a5e844"},symbol:{color:"#c792ea"},tag:{color:"#ff6666"},unit:{color:"#fd9170"},url:{color:"#ff6666"},variable:{color:"#ff6666"}},Eg={'code[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#90a4ae",background:"#fafafa",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#90a4ae",background:"#fafafa",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",overflow:"auto",position:"relative",margin:"0.5em 0",padding:"1.25em 1em"},'code[class*="language-"]::-moz-selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"]::-moz-selection':{background:"#cceae7",color:"#263238"},'code[class*="language-"] ::-moz-selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"] ::-moz-selection':{background:"#cceae7",color:"#263238"},'code[class*="language-"]::selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"]::selection':{background:"#cceae7",color:"#263238"},'code[class*="language-"] ::selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"] ::selection':{background:"#cceae7",color:"#263238"},':not(pre) > code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#f76d47"},".language-sass > code":{color:"#f76d47"},".language-scss > code":{color:"#f76d47"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#7c4dff"},"attr-name":{color:"#39adb5"},"attr-value":{color:"#f6a434"},attribute:{color:"#f6a434"},boolean:{color:"#7c4dff"},builtin:{color:"#39adb5"},cdata:{color:"#39adb5"},char:{color:"#39adb5"},class:{color:"#39adb5"},"class-name":{color:"#6182b8"},comment:{color:"#aabfc9"},constant:{color:"#7c4dff"},deleted:{color:"#e53935"},doctype:{color:"#aabfc9"},entity:{color:"#e53935"},function:{color:"#7c4dff"},hexcode:{color:"#f76d47"},id:{color:"#7c4dff",fontWeight:"bold"},important:{color:"#7c4dff",fontWeight:"bold"},inserted:{color:"#39adb5"},keyword:{color:"#7c4dff"},number:{color:"#f76d47"},operator:{color:"#39adb5"},prolog:{color:"#aabfc9"},property:{color:"#39adb5"},"pseudo-class":{color:"#f6a434"},"pseudo-element":{color:"#f6a434"},punctuation:{color:"#39adb5"},regex:{color:"#6182b8"},selector:{color:"#e53935"},string:{color:"#f6a434"},symbol:{color:"#7c4dff"},tag:{color:"#e53935"},unit:{color:"#f76d47"},url:{color:"#e53935"},variable:{color:"#e53935"}},$g={'code[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#c3cee3",background:"#263238",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#c3cee3",background:"#263238",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",overflow:"auto",position:"relative",margin:"0.5em 0",padding:"1.25em 1em"},'code[class*="language-"]::-moz-selection':{background:"#363636"},'pre[class*="language-"]::-moz-selection':{background:"#363636"},'code[class*="language-"] ::-moz-selection':{background:"#363636"},'pre[class*="language-"] ::-moz-selection':{background:"#363636"},'code[class*="language-"]::selection':{background:"#363636"},'pre[class*="language-"]::selection':{background:"#363636"},'code[class*="language-"] ::selection':{background:"#363636"},'pre[class*="language-"] ::selection':{background:"#363636"},':not(pre) > code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#fd9170"},".language-sass > code":{color:"#fd9170"},".language-scss > code":{color:"#fd9170"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#c792ea"},"attr-name":{color:"#ffcb6b"},"attr-value":{color:"#c3e88d"},attribute:{color:"#c3e88d"},boolean:{color:"#c792ea"},builtin:{color:"#ffcb6b"},cdata:{color:"#80cbc4"},char:{color:"#80cbc4"},class:{color:"#ffcb6b"},"class-name":{color:"#f2ff00"},color:{color:"#f2ff00"},comment:{color:"#546e7a"},constant:{color:"#c792ea"},deleted:{color:"#f07178"},doctype:{color:"#546e7a"},entity:{color:"#f07178"},function:{color:"#c792ea"},hexcode:{color:"#f2ff00"},id:{color:"#c792ea",fontWeight:"bold"},important:{color:"#c792ea",fontWeight:"bold"},inserted:{color:"#80cbc4"},keyword:{color:"#c792ea",fontStyle:"italic"},number:{color:"#fd9170"},operator:{color:"#89ddff"},prolog:{color:"#546e7a"},property:{color:"#80cbc4"},"pseudo-class":{color:"#c3e88d"},"pseudo-element":{color:"#c3e88d"},punctuation:{color:"#89ddff"},regex:{color:"#f2ff00"},selector:{color:"#f07178"},string:{color:"#c3e88d"},symbol:{color:"#c792ea"},tag:{color:"#f07178"},unit:{color:"#f07178"},url:{color:"#fd9170"},variable:{color:"#f07178"}},Ag={'code[class*="language-"]':{color:"#d6deeb",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",fontSize:"1em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"white",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",fontSize:"1em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",background:"#011627"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},':not(pre) > code[class*="language-"]':{color:"white",background:"#011627",padding:"0.1em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"rgb(99, 119, 119)",fontStyle:"italic"},prolog:{color:"rgb(99, 119, 119)",fontStyle:"italic"},cdata:{color:"rgb(99, 119, 119)",fontStyle:"italic"},punctuation:{color:"rgb(199, 146, 234)"},".namespace":{color:"rgb(178, 204, 214)"},deleted:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"},symbol:{color:"rgb(128, 203, 196)"},property:{color:"rgb(128, 203, 196)"},tag:{color:"rgb(127, 219, 202)"},operator:{color:"rgb(127, 219, 202)"},keyword:{color:"rgb(127, 219, 202)"},boolean:{color:"rgb(255, 88, 116)"},number:{color:"rgb(247, 140, 108)"},constant:{color:"rgb(130, 170, 255)"},function:{color:"rgb(130, 170, 255)"},builtin:{color:"rgb(130, 170, 255)"},char:{color:"rgb(130, 170, 255)"},selector:{color:"rgb(199, 146, 234)",fontStyle:"italic"},doctype:{color:"rgb(199, 146, 234)",fontStyle:"italic"},"attr-name":{color:"rgb(173, 219, 103)",fontStyle:"italic"},inserted:{color:"rgb(173, 219, 103)",fontStyle:"italic"},string:{color:"rgb(173, 219, 103)"},url:{color:"rgb(173, 219, 103)"},entity:{color:"rgb(173, 219, 103)"},".language-css .token.string":{color:"rgb(173, 219, 103)"},".style .token.string":{color:"rgb(173, 219, 103)"},"class-name":{color:"rgb(255, 203, 139)"},atrule:{color:"rgb(255, 203, 139)"},"attr-value":{color:"rgb(255, 203, 139)"},regex:{color:"rgb(214, 222, 235)"},important:{color:"rgb(214, 222, 235)",fontWeight:"bold"},variable:{color:"rgb(214, 222, 235)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},Og={'code[class*="language-"]':{color:"#f8f8f2",background:"none",fontFamily:`"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#2E3440",fontFamily:`"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#2E3440",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#636f88"},prolog:{color:"#636f88"},doctype:{color:"#636f88"},cdata:{color:"#636f88"},punctuation:{color:"#81A1C1"},".namespace":{Opacity:".7"},property:{color:"#81A1C1"},tag:{color:"#81A1C1"},constant:{color:"#81A1C1"},symbol:{color:"#81A1C1"},deleted:{color:"#81A1C1"},number:{color:"#B48EAD"},boolean:{color:"#81A1C1"},selector:{color:"#A3BE8C"},"attr-name":{color:"#A3BE8C"},string:{color:"#A3BE8C"},char:{color:"#A3BE8C"},builtin:{color:"#A3BE8C"},inserted:{color:"#A3BE8C"},operator:{color:"#81A1C1"},entity:{color:"#81A1C1",cursor:"help"},url:{color:"#81A1C1"},".language-css .token.string":{color:"#81A1C1"},".style .token.string":{color:"#81A1C1"},variable:{color:"#81A1C1"},atrule:{color:"#88C0D0"},"attr-value":{color:"#88C0D0"},function:{color:"#88C0D0"},"class-name":{color:"#88C0D0"},keyword:{color:"#81A1C1"},regex:{color:"#EBCB8B"},important:{color:"#EBCB8B",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},Mg={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}},Rg={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}},zg={'code[class*="language-"]':{MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"15px",lineHeight:"1.5",color:"#dccf8f",textShadow:"0"},'pre[class*="language-"]':{MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"15px",lineHeight:"1.5",color:"#DCCF8F",textShadow:"0",borderRadius:"5px",border:"1px solid #000",background:"#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top",padding:"12px",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},':not(pre) > code[class*="language-"]':{borderRadius:"5px",border:"1px solid #000",color:"#DCCF8F",background:"#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top",padding:"2px 6px"},namespace:{Opacity:".7"},comment:{color:"#586e75",fontStyle:"italic"},prolog:{color:"#586e75",fontStyle:"italic"},doctype:{color:"#586e75",fontStyle:"italic"},cdata:{color:"#586e75",fontStyle:"italic"},number:{color:"#b89859"},string:{color:"#468966"},char:{color:"#468966"},builtin:{color:"#468966"},inserted:{color:"#468966"},"attr-name":{color:"#b89859"},operator:{color:"#dccf8f"},entity:{color:"#dccf8f",cursor:"help"},url:{color:"#dccf8f"},".language-css .token.string":{color:"#dccf8f"},".style .token.string":{color:"#dccf8f"},selector:{color:"#859900"},regex:{color:"#859900"},atrule:{color:"#cb4b16"},keyword:{color:"#cb4b16"},"attr-value":{color:"#468966"},function:{color:"#b58900"},variable:{color:"#b58900"},placeholder:{color:"#b58900"},property:{color:"#b89859"},tag:{color:"#ffb03b"},boolean:{color:"#b89859"},constant:{color:"#b89859"},symbol:{color:"#b89859"},important:{color:"#dc322f"},statement:{color:"#dc322f"},deleted:{color:"#dc322f"},punctuation:{color:"#dccf8f"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},Tg={"code[class*='language-']":{color:"#9efeff",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",fontFamily:"'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontWeight:"400",fontSize:"17px",lineHeight:"25px",letterSpacing:"0.5px",textShadow:"0 1px #222245"},"pre[class*='language-']":{color:"#9efeff",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",fontFamily:"'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontWeight:"400",fontSize:"17px",lineHeight:"25px",letterSpacing:"0.5px",textShadow:"0 1px #222245",padding:"2em",margin:"0.5em 0",overflow:"auto",background:"#1e1e3f"},"pre[class*='language-']::-moz-selection":{color:"inherit",background:"#a599e9"},"pre[class*='language-'] ::-moz-selection":{color:"inherit",background:"#a599e9"},"code[class*='language-']::-moz-selection":{color:"inherit",background:"#a599e9"},"code[class*='language-'] ::-moz-selection":{color:"inherit",background:"#a599e9"},"pre[class*='language-']::selection":{color:"inherit",background:"#a599e9"},"pre[class*='language-'] ::selection":{color:"inherit",background:"#a599e9"},"code[class*='language-']::selection":{color:"inherit",background:"#a599e9"},"code[class*='language-'] ::selection":{color:"inherit",background:"#a599e9"},":not(pre) > code[class*='language-']":{background:"#1e1e3f",padding:"0.1em",borderRadius:"0.3em"},"":{fontWeight:"400"},comment:{color:"#b362ff"},prolog:{color:"#b362ff"},cdata:{color:"#b362ff"},delimiter:{color:"#ff9d00"},keyword:{color:"#ff9d00"},selector:{color:"#ff9d00"},important:{color:"#ff9d00"},atrule:{color:"#ff9d00"},operator:{color:"rgb(255, 180, 84)",background:"none"},"attr-name":{color:"rgb(255, 180, 84)"},punctuation:{color:"#ffffff"},boolean:{color:"rgb(255, 98, 140)"},tag:{color:"rgb(255, 157, 0)"},"tag.punctuation":{color:"rgb(255, 157, 0)"},doctype:{color:"rgb(255, 157, 0)"},builtin:{color:"rgb(255, 157, 0)"},entity:{color:"#6897bb",background:"none"},symbol:{color:"#6897bb"},number:{color:"#ff628c"},property:{color:"#ff628c"},constant:{color:"#ff628c"},variable:{color:"#ff628c"},string:{color:"#a5ff90"},char:{color:"#a5ff90"},"attr-value":{color:"#a5c261"},"attr-value.punctuation":{color:"#a5c261"},"attr-value.punctuation:first-child":{color:"#a9b7c6"},url:{color:"#287bde",textDecoration:"underline",background:"none"},function:{color:"rgb(250, 208, 0)"},regex:{background:"#364135"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#00ff00"},deleted:{background:"#ff000d"},"code.language-css .token.property":{color:"#a9b7c6"},"code.language-css .token.property + .token.punctuation":{color:"#a9b7c6"},"code.language-css .token.id":{color:"#ffc66d"},"code.language-css .token.selector > .token.class":{color:"#ffc66d"},"code.language-css .token.selector > .token.attribute":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-class":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-element":{color:"#ffc66d"},"class-name":{color:"#fb94ff"},".language-css .token.string":{background:"none"},".style .token.string":{background:"none"},".line-highlight.line-highlight":{marginTop:"36px",background:"linear-gradient(to right, rgba(179, 98, 255, 0.17), transparent)"},".line-highlight.line-highlight:before":{content:"''"},".line-highlight.line-highlight[data-end]:after":{content:"''"}},Fg={'code[class*="language-"]':{color:"#839496",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#839496",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",background:"#002b36"},':not(pre) > code[class*="language-"]':{background:"#002b36",padding:".1em",borderRadius:".3em"},comment:{color:"#586e75"},prolog:{color:"#586e75"},doctype:{color:"#586e75"},cdata:{color:"#586e75"},punctuation:{color:"#93a1a1"},".namespace":{Opacity:".7"},property:{color:"#268bd2"},keyword:{color:"#268bd2"},tag:{color:"#268bd2"},"class-name":{color:"#FFFFB6",textDecoration:"underline"},boolean:{color:"#b58900"},constant:{color:"#b58900"},symbol:{color:"#dc322f"},deleted:{color:"#dc322f"},number:{color:"#859900"},selector:{color:"#859900"},"attr-name":{color:"#859900"},string:{color:"#859900"},char:{color:"#859900"},builtin:{color:"#859900"},inserted:{color:"#859900"},variable:{color:"#268bd2"},operator:{color:"#EDEDED"},function:{color:"#268bd2"},regex:{color:"#E9C062"},important:{color:"#fd971f",fontWeight:"bold"},entity:{color:"#FFFFB6",cursor:"help"},url:{color:"#96CBFE"},".language-css .token.string":{color:"#87C38A"},".style .token.string":{color:"#87C38A"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},atrule:{color:"#F9EE98"},"attr-value":{color:"#F9EE98"}},_g={'code[class*="language-"]':{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",backgroundColor:"transparent !important",backgroundImage:"linear-gradient(to bottom, #2a2139 75%, #34294f)"},':not(pre) > code[class*="language-"]':{backgroundColor:"transparent !important",backgroundImage:"linear-gradient(to bottom, #2a2139 75%, #34294f)",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#8e8e8e"},"block-comment":{color:"#8e8e8e"},prolog:{color:"#8e8e8e"},doctype:{color:"#8e8e8e"},cdata:{color:"#8e8e8e"},punctuation:{color:"#ccc"},tag:{color:"#e2777a"},"attr-name":{color:"#e2777a"},namespace:{color:"#e2777a"},number:{color:"#e2777a"},unit:{color:"#e2777a"},hexcode:{color:"#e2777a"},deleted:{color:"#e2777a"},property:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"},selector:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"},"function-name":{color:"#6196cc"},boolean:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"},"selector.id":{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"},function:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"},"class-name":{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"},constant:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},symbol:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},important:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575",fontWeight:"bold"},atrule:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},keyword:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},"selector.class":{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},builtin:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},string:{color:"#f87c32"},char:{color:"#f87c32"},"attr-value":{color:"#f87c32"},regex:{color:"#f87c32"},variable:{color:"#f87c32"},operator:{color:"#67cdcc"},entity:{color:"#67cdcc",cursor:"help"},url:{color:"#67cdcc"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{color:"green"}},Ig={'code[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:"1px solid #dddddd",backgroundColor:"white"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{background:"#C1DEF1"},'pre[class*="language-"] ::-moz-selection':{background:"#C1DEF1"},'code[class*="language-"]::-moz-selection':{background:"#C1DEF1"},'code[class*="language-"] ::-moz-selection':{background:"#C1DEF1"},'pre[class*="language-"]::selection':{background:"#C1DEF1"},'pre[class*="language-"] ::selection':{background:"#C1DEF1"},'code[class*="language-"]::selection':{background:"#C1DEF1"},'code[class*="language-"] ::selection':{background:"#C1DEF1"},':not(pre) > code[class*="language-"]':{padding:".2em",paddingTop:"1px",paddingBottom:"1px",background:"#f8f8f8",border:"1px solid #dddddd"},comment:{color:"#008000",fontStyle:"italic"},prolog:{color:"#008000",fontStyle:"italic"},doctype:{color:"#008000",fontStyle:"italic"},cdata:{color:"#008000",fontStyle:"italic"},namespace:{Opacity:".7"},string:{color:"#A31515"},punctuation:{color:"#393A34"},operator:{color:"#393A34"},url:{color:"#36acaa"},symbol:{color:"#36acaa"},number:{color:"#36acaa"},boolean:{color:"#36acaa"},variable:{color:"#36acaa"},constant:{color:"#36acaa"},inserted:{color:"#36acaa"},atrule:{color:"#0000ff"},keyword:{color:"#0000ff"},"attr-value":{color:"#0000ff"},".language-autohotkey .token.selector":{color:"#0000ff"},".language-json .token.boolean":{color:"#0000ff"},".language-json .token.number":{color:"#0000ff"},'code[class*="language-css"]':{color:"#0000ff"},function:{color:"#393A34"},deleted:{color:"#9a050f"},".language-autohotkey .token.tag":{color:"#9a050f"},selector:{color:"#800000"},".language-autohotkey .token.keyword":{color:"#00009f"},important:{color:"#e90",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},"class-name":{color:"#2B91AF"},".language-json .token.property":{color:"#2B91AF"},tag:{color:"#800000"},"attr-name":{color:"#ff0000"},property:{color:"#ff0000"},regex:{color:"#ff0000"},entity:{color:"#ff0000"},"directive.tag.tag":{background:"#ffff00",color:"#393A34"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#a5a5a5"},".line-numbers .line-numbers-rows > span:before":{color:"#2B91AF"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(193, 222, 241, 0.2) 70%, rgba(221, 222, 241, 0))"}},Pg={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}},Ng={'code[class*="language-"]':{MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordWrap:"normal",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"14px",color:"#76d9e6",textShadow:"none"},'pre[class*="language-"]':{MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordWrap:"normal",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"14px",color:"#76d9e6",textShadow:"none",background:"#2a2a2a",padding:"15px",borderRadius:"4px",border:"1px solid #e1e1e8",overflow:"auto",position:"relative"},'pre > code[class*="language-"]':{fontSize:"1em"},':not(pre) > code[class*="language-"]':{background:"#2a2a2a",padding:"0.15em 0.2em 0.05em",borderRadius:".3em",border:"0.13em solid #7a6652",boxShadow:"1px 1px 0.3em -0.1em #000 inset"},'pre[class*="language-"] code':{whiteSpace:"pre",display:"block"},namespace:{Opacity:".7"},comment:{color:"#6f705e"},prolog:{color:"#6f705e"},doctype:{color:"#6f705e"},cdata:{color:"#6f705e"},operator:{color:"#a77afe"},boolean:{color:"#a77afe"},number:{color:"#a77afe"},"attr-name":{color:"#e6d06c"},string:{color:"#e6d06c"},entity:{color:"#e6d06c",cursor:"help"},url:{color:"#e6d06c"},".language-css .token.string":{color:"#e6d06c"},".style .token.string":{color:"#e6d06c"},selector:{color:"#a6e22d"},inserted:{color:"#a6e22d"},atrule:{color:"#ef3b7d"},"attr-value":{color:"#ef3b7d"},keyword:{color:"#ef3b7d"},important:{color:"#ef3b7d",fontWeight:"bold"},deleted:{color:"#ef3b7d"},regex:{color:"#76d9e6"},statement:{color:"#76d9e6",fontWeight:"bold"},placeholder:{color:"#fff"},variable:{color:"#fff"},bold:{fontWeight:"bold"},punctuation:{color:"#bebec5"},italic:{fontStyle:"italic"},"code.language-markup":{color:"#f9f9f9"},"code.language-markup .token.tag":{color:"#ef3b7d"},"code.language-markup .token.attr-name":{color:"#a6e22d"},"code.language-markup .token.attr-value":{color:"#e6d06c"},"code.language-markup .token.style":{color:"#76d9e6"},"code.language-markup .token.script":{color:"#76d9e6"},"code.language-markup .token.script .token.keyword":{color:"#76d9e6"},".line-highlight.line-highlight":{padding:"0",background:"rgba(255, 255, 255, 0.08)"},".line-highlight.line-highlight:before":{padding:"0.2em 0.5em",backgroundColor:"rgba(255, 255, 255, 0.4)",color:"black",height:"1em",lineHeight:"1em",boxShadow:"0 1px 1px rgba(255, 255, 255, 0.7)"},".line-highlight.line-highlight[data-end]:after":{padding:"0.2em 0.5em",backgroundColor:"rgba(255, 255, 255, 0.4)",color:"black",height:"1em",lineHeight:"1em",boxShadow:"0 1px 1px rgba(255, 255, 255, 0.7)"}},jg={'code[class*="language-"]':{color:"#22da17",fontFamily:"monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",lineHeight:"25px",fontSize:"18px",margin:"5px 0"},'pre[class*="language-"]':{color:"white",fontFamily:"monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",lineHeight:"25px",fontSize:"18px",margin:"0.5em 0",background:"#0a143c",padding:"1em",overflow:"auto"},'pre[class*="language-"] *':{fontFamily:"monospace"},':not(pre) > code[class*="language-"]':{color:"white",background:"#0a143c",padding:"0.1em",borderRadius:"0.3em",whiteSpace:"normal"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},comment:{color:"rgb(99, 119, 119)",fontStyle:"italic"},prolog:{color:"rgb(99, 119, 119)",fontStyle:"italic"},cdata:{color:"rgb(99, 119, 119)",fontStyle:"italic"},punctuation:{color:"rgb(199, 146, 234)"},".namespace":{color:"rgb(178, 204, 214)"},deleted:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"},symbol:{color:"rgb(128, 203, 196)"},property:{color:"rgb(128, 203, 196)"},tag:{color:"rgb(127, 219, 202)"},operator:{color:"rgb(127, 219, 202)"},keyword:{color:"rgb(127, 219, 202)"},boolean:{color:"rgb(255, 88, 116)"},number:{color:"rgb(247, 140, 108)"},constant:{color:"rgb(34 183 199)"},function:{color:"rgb(34 183 199)"},builtin:{color:"rgb(34 183 199)"},char:{color:"rgb(34 183 199)"},selector:{color:"rgb(199, 146, 234)",fontStyle:"italic"},doctype:{color:"rgb(199, 146, 234)",fontStyle:"italic"},"attr-name":{color:"rgb(173, 219, 103)",fontStyle:"italic"},inserted:{color:"rgb(173, 219, 103)",fontStyle:"italic"},string:{color:"rgb(173, 219, 103)"},url:{color:"rgb(173, 219, 103)"},entity:{color:"rgb(173, 219, 103)"},".language-css .token.string":{color:"rgb(173, 219, 103)"},".style .token.string":{color:"rgb(173, 219, 103)"},"class-name":{color:"rgb(255, 203, 139)"},atrule:{color:"rgb(255, 203, 139)"},"attr-value":{color:"rgb(255, 203, 139)"},regex:{color:"rgb(214, 222, 235)"},important:{color:"rgb(214, 222, 235)",fontWeight:"bold"},variable:{color:"rgb(214, 222, 235)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},Aa=Object.freeze(Object.defineProperty({__proto__:null,a11yDark:rg,atomDark:ng,base16AteliersulphurpoolLight:ag,cb:ig,coldarkCold:lg,coldarkDark:sg,coy:Xf,coyWithoutShadows:cg,darcula:ug,dark:Yf,dracula:dg,duotoneDark:fg,duotoneEarth:gg,duotoneForest:pg,duotoneLight:hg,duotoneSea:mg,duotoneSpace:bg,funky:Qf,ghcolors:vg,gruvboxDark:yg,gruvboxLight:Sg,holiTheme:wg,hopscotch:xg,lucario:Cg,materialDark:kg,materialLight:Eg,materialOceanic:$g,nightOwl:Ag,nord:Og,okaidia:Zf,oneDark:Mg,oneLight:Rg,pojoaque:zg,prism:og,shadesOfPurple:Tg,solarizedDarkAtom:Fg,solarizedlight:Jf,synthwave84:_g,tomorrow:eg,twilight:tg,vs:Ig,vscDarkPlus:Pg,xonokai:Ng,zTouch:jg},Symbol.toStringTag,{value:"Module"}));var qc=il;il.displayName="bash";il.aliases=["shell"];function il(e){(function(t){var o="\\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},n={bash:r,environment:{pattern:RegExp("\\$"+o),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("(\\{)"+o),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})/};t.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+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+o),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{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:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+o),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|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|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|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=t.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=n.variable[1].inside,l=0;l<a.length;l++)i[a[l]]=t.languages.bash[a[l]];t.languages.shell=t.languages.bash})(e)}const Hg=Qt(qc);var Bg=ll;ll.displayName="css";ll.aliases=[];function ll(e){(function(t){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,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\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,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:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var r=t.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(e)}const Lg=Qt(Bg);var Dg=sl;sl.displayName="javascript";sl.aliases=["js"];function sl(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.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}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.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:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.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:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.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:e.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"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.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")),e.languages.js=e.languages.javascript}const Wg=Qt(Dg);var Vg=cl;cl.displayName="json";cl.aliases=["webmanifest"];function cl(e){e.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"}},e.languages.webmanifest=e.languages.json}const Ug=Qt(Vg);var qg=ul;ul.displayName="markdown";ul.aliases=["md"];function ul(e){(function(t){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(d){return d=d.replace(/<inner>/g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+d+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return n}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;t.languages.markdown=t.languages.extend("markup",{}),t.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:t.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+i+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+i+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:t.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(n),alias:"important",inside:t.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__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~)<inner>)+\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(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.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(d){["url","bold","italic","strike","code-snippet"].forEach(function(g){d!==g&&(t.languages.markdown[d].inside.content.inside[g]=t.languages.markdown[g])})}),t.hooks.add("after-tokenize",function(d){if(d.language!=="markdown"&&d.language!=="md")return;function g(y){if(!(!y||typeof y=="string"))for(var b=0,h=y.length;b<h;b++){var p=y[b];if(p.type!=="code"){g(p.content);continue}var S=p.content[1],v=p.content[3];if(S&&v&&S.type==="code-language"&&v.type==="code-block"&&typeof S.content=="string"){var m=S.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");m=(/[a-z][\w-]*/i.exec(m)||[""])[0].toLowerCase();var w="language-"+m;v.alias?typeof v.alias=="string"?v.alias=[v.alias,w]:v.alias.push(w):v.alias=[w]}}}g(d.tokens)}),t.hooks.add("wrap",function(d){if(d.type==="code-block"){for(var g="",y=0,b=d.classes.length;y<b;y++){var h=d.classes[y],p=/language-(.+)/.exec(h);if(p){g=p[1];break}}var S=t.languages[g];if(S)d.content=t.highlight(u(d.content.value),S,g);else if(g&&g!=="none"&&t.plugins.autoloader){var v="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);d.attributes.id=v,t.plugins.autoloader.loadLanguages(g,function(){var m=document.getElementById(v);m&&(m.innerHTML=t.highlight(m.textContent,t.languages[g],g))})}}});var l=RegExp(t.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},c=String.fromCodePoint||String.fromCharCode;function u(d){var g=d.replace(l,"");return g=g.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(y,b){if(b=b.toLowerCase(),b[0]==="#"){var h;return b[1]==="x"?h=parseInt(b.slice(2),16):h=Number(b.slice(1)),c(h)}else{var p=s[b];return p||y}}),g}t.languages.md=t.languages.markdown})(e)}const Gg=Qt(qg);var Kg=dl;dl.displayName="markup";dl.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function dl(e){e.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\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:/<!\[CDATA\[[\s\S]*?\]\]>/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"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(o,r){var n={};n["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[r]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};a["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var i={};i[o]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return o}),"i"),lookbehind:!0,greedy:!0,inside:a},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,o){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\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:[o,"language-"+o],inside:e.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}const Xg=Qt(Kg);var Yg=fl;fl.displayName="nginx";fl.aliases=[];function fl(e){(function(t){var o=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;t.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:o}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:o}},punctuation:/[{};]/}})(e)}const Qg=Qt(Yg);var Zg=gl;gl.displayName="markupTemplating";gl.aliases=[];function gl(e){(function(t){function o(r,n){return"___"+r.toUpperCase()+n+"___"}Object.defineProperties(t.languages["markup-templating"]={},{buildPlaceholders:{value:function(r,n,a,i){if(r.language===n){var l=r.tokenStack=[];r.code=r.code.replace(a,function(s){if(typeof i=="function"&&!i(s))return s;for(var c=l.length,u;r.code.indexOf(u=o(n,c))!==-1;)++c;return l[c]=s,u}),r.grammar=t.languages.markup}}},tokenizePlaceholders:{value:function(r,n){if(r.language!==n||!r.tokenStack)return;r.grammar=t.languages[n];var a=0,i=Object.keys(r.tokenStack);function l(s){for(var c=0;c<s.length&&!(a>=i.length);c++){var u=s[c];if(typeof u=="string"||u.content&&typeof u.content=="string"){var d=i[a],g=r.tokenStack[d],y=typeof u=="string"?u:u.content,b=o(n,d),h=y.indexOf(b);if(h>-1){++a;var p=y.substring(0,h),S=new t.Token(n,t.tokenize(g,r.grammar),"language-"+n,g),v=y.substring(h+b.length),m=[];p&&m.push.apply(m,l([p])),m.push(S),v&&m.push.apply(m,l([v])),typeof u=="string"?s.splice.apply(s,[c,1].concat(m)):u.content=m}}else u.content&&l(u.content)}return s}l(r.tokens)}}})})(e)}var Jg=Zg,ep=pl;pl.displayName="php";pl.aliases=[];function pl(e){e.register(Jg),function(t){var o=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,r=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],n=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,a=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;t.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:o,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:n,operator:a,punctuation:i};var l={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:t.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:l}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:l}}];t.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:o,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,number:n,operator:a,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),t.hooks.add("before-tokenize",function(c){if(/<\?/.test(c.code)){var u=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;t.languages["markup-templating"].buildPlaceholders(c,"php",u)}}),t.hooks.add("after-tokenize",function(c){t.languages["markup-templating"].tokenizePlaceholders(c,"php")})}(e)}const tp=Qt(ep);var op=hl;hl.displayName="powershell";hl.aliases=[];function hl(e){(function(t){var o=t.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};o.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:o},boolean:o.boolean,variable:o.variable}})(e)}const rp=Qt(op);var np=qc,ap=ml;ml.displayName="shellSession";ml.aliases=[];function ml(e){e.register(np),function(t){var o=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");t.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?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return o}),"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:t.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},t.languages["sh-session"]=t.languages.shellsession=t.languages["shell-session"]}(e)}const ip=Qt(ap),lp=Object.freeze(Object.defineProperty({__proto__:null,bash:Hg,css:Lg,javascript:Wg,json:Ug,markdown:Gg,markup:Xg,nginx:Qg,php:tp,powershell:rp,shellSession:ip},Symbol.toStringTag,{value:"Module"}));var ta=E.createContext({});function He(){return He=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},He.apply(null,arguments)}function Gc(e){if(Array.isArray(e))return e}function sp(e,t){var o=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(o!=null){var r,n,a,i,l=[],s=!0,c=!1;try{if(a=(o=o.call(e)).next,t===0){if(Object(o)!==o)return;s=!1}else for(;!(s=(r=a.call(o)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(u){c=!0,n=u}finally{try{if(!s&&o.return!=null&&(i=o.return(),Object(i)!==i))return}finally{if(c)throw n}}return l}}function ri(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,r=Array(t);o<t;o++)r[o]=e[o];return r}function bl(e,t){if(e){if(typeof e=="string")return ri(e,t);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ri(e,t):void 0}}function Kc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
75
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Z(e,t){return Gc(e)||sp(e,t)||bl(e,t)||Kc()}function ye(e){"@babel/helpers - typeof";return ye=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ye(e)}function cp(e,t){if(ye(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,t||"default");if(ye(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Xc(e){var t=cp(e,"string");return ye(t)=="symbol"?t:t+""}function I(e,t,o){return(t=Xc(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function up(e,t){if(e==null)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;o[r]=e[r]}return o}function vt(e,t){if(e==null)return{};var o,r,n=up(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)o=a[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var Yc={exports:{}};/*!
|
76
|
-
Copyright (c) 2018 Jed Watson.
|
77
|
-
Licensed under the MIT License (MIT), see
|
78
|
-
http://jedwatson.github.io/classnames
|
79
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var a="",i=0;i<arguments.length;i++){var l=arguments[i];l&&(a=n(a,r(l)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return o.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var i="";for(var l in a)t.call(a,l)&&a[l]&&(i=n(i,l));return i}function n(a,i){return i?a?a+" "+i:a+i:a}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Yc);var dp=Yc.exports;const ie=Qt(dp);function dt(e,t){fp(e)&&(e="100%");var o=gp(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),o&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function yn(e){return Math.min(1,Math.max(0,e))}function fp(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function gp(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Qc(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Sn(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Fo(e){return e.length===1?"0"+e:String(e)}function pp(e,t,o){return{r:dt(e,255)*255,g:dt(t,255)*255,b:dt(o,255)*255}}function es(e,t,o){e=dt(e,255),t=dt(t,255),o=dt(o,255);var r=Math.max(e,t,o),n=Math.min(e,t,o),a=0,i=0,l=(r+n)/2;if(r===n)i=0,a=0;else{var s=r-n;switch(i=l>.5?s/(2-r-n):s/(r+n),r){case e:a=(t-o)/s+(t<o?6:0);break;case t:a=(o-e)/s+2;break;case o:a=(e-t)/s+4;break}a/=6}return{h:a,s:i,l}}function Oa(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+(t-e)*(6*o):o<1/2?t:o<2/3?e+(t-e)*(2/3-o)*6:e}function hp(e,t,o){var r,n,a;if(e=dt(e,360),t=dt(t,100),o=dt(o,100),t===0)n=o,a=o,r=o;else{var i=o<.5?o*(1+t):o+t-o*t,l=2*o-i;r=Oa(l,i,e+1/3),n=Oa(l,i,e),a=Oa(l,i,e-1/3)}return{r:r*255,g:n*255,b:a*255}}function ni(e,t,o){e=dt(e,255),t=dt(t,255),o=dt(o,255);var r=Math.max(e,t,o),n=Math.min(e,t,o),a=0,i=r,l=r-n,s=r===0?0:l/r;if(r===n)a=0;else{switch(r){case e:a=(t-o)/l+(t<o?6:0);break;case t:a=(o-e)/l+2;break;case o:a=(e-t)/l+4;break}a/=6}return{h:a,s,v:i}}function mp(e,t,o){e=dt(e,360)*6,t=dt(t,100),o=dt(o,100);var r=Math.floor(e),n=e-r,a=o*(1-t),i=o*(1-n*t),l=o*(1-(1-n)*t),s=r%6,c=[o,i,a,a,l,o][s],u=[l,o,o,i,a,a][s],d=[a,a,l,o,o,i][s];return{r:c*255,g:u*255,b:d*255}}function ai(e,t,o,r){var n=[Fo(Math.round(e).toString(16)),Fo(Math.round(t).toString(16)),Fo(Math.round(o).toString(16))];return r&&n[0].startsWith(n[0].charAt(1))&&n[1].startsWith(n[1].charAt(1))&&n[2].startsWith(n[2].charAt(1))?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0):n.join("")}function bp(e,t,o,r,n){var a=[Fo(Math.round(e).toString(16)),Fo(Math.round(t).toString(16)),Fo(Math.round(o).toString(16)),Fo(vp(r))];return n&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function vp(e){return Math.round(parseFloat(e)*255).toString(16)}function ts(e){return At(e)/255}function At(e){return parseInt(e,16)}function yp(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var ii={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function or(e){var t={r:0,g:0,b:0},o=1,r=null,n=null,a=null,i=!1,l=!1;return typeof e=="string"&&(e=xp(e)),typeof e=="object"&&(so(e.r)&&so(e.g)&&so(e.b)?(t=pp(e.r,e.g,e.b),i=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):so(e.h)&&so(e.s)&&so(e.v)?(r=Sn(e.s),n=Sn(e.v),t=mp(e.h,r,n),i=!0,l="hsv"):so(e.h)&&so(e.s)&&so(e.l)&&(r=Sn(e.s),a=Sn(e.l),t=hp(e.h,r,a),i=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(o=e.a)),o=Qc(o),{ok:i,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:o}}var Sp="[-\\+]?\\d+%?",wp="[-\\+]?\\d*\\.\\d+%?",ko="(?:".concat(wp,")|(?:").concat(Sp,")"),Ma="[\\s|\\(]+(".concat(ko,")[,|\\s]+(").concat(ko,")[,|\\s]+(").concat(ko,")\\s*\\)?"),Ra="[\\s|\\(]+(".concat(ko,")[,|\\s]+(").concat(ko,")[,|\\s]+(").concat(ko,")[,|\\s]+(").concat(ko,")\\s*\\)?"),Ut={CSS_UNIT:new RegExp(ko),rgb:new RegExp("rgb"+Ma),rgba:new RegExp("rgba"+Ra),hsl:new RegExp("hsl"+Ma),hsla:new RegExp("hsla"+Ra),hsv:new RegExp("hsv"+Ma),hsva:new RegExp("hsva"+Ra),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function xp(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(ii[e])e=ii[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var o=Ut.rgb.exec(e);return o?{r:o[1],g:o[2],b:o[3]}:(o=Ut.rgba.exec(e),o?{r:o[1],g:o[2],b:o[3],a:o[4]}:(o=Ut.hsl.exec(e),o?{h:o[1],s:o[2],l:o[3]}:(o=Ut.hsla.exec(e),o?{h:o[1],s:o[2],l:o[3],a:o[4]}:(o=Ut.hsv.exec(e),o?{h:o[1],s:o[2],v:o[3]}:(o=Ut.hsva.exec(e),o?{h:o[1],s:o[2],v:o[3],a:o[4]}:(o=Ut.hex8.exec(e),o?{r:At(o[1]),g:At(o[2]),b:At(o[3]),a:ts(o[4]),format:t?"name":"hex8"}:(o=Ut.hex6.exec(e),o?{r:At(o[1]),g:At(o[2]),b:At(o[3]),format:t?"name":"hex"}:(o=Ut.hex4.exec(e),o?{r:At(o[1]+o[1]),g:At(o[2]+o[2]),b:At(o[3]+o[3]),a:ts(o[4]+o[4]),format:t?"name":"hex8"}:(o=Ut.hex3.exec(e),o?{r:At(o[1]+o[1]),g:At(o[2]+o[2]),b:At(o[3]+o[3]),format:t?"name":"hex"}:!1)))))))))}function so(e){return!!Ut.CSS_UNIT.exec(String(e))}var Mt=function(){function e(t,o){t===void 0&&(t=""),o===void 0&&(o={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=yp(t)),this.originalInput=t;var n=or(t);this.originalInput=t,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=o.format)!==null&&r!==void 0?r:n.format,this.gradientType=o.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=n.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),o,r,n,a=t.r/255,i=t.g/255,l=t.b/255;return a<=.03928?o=a/12.92:o=Math.pow((a+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),l<=.03928?n=l/12.92:n=Math.pow((l+.055)/1.055,2.4),.2126*o+.7152*r+.0722*n},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Qc(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=ni(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=ni(this.r,this.g,this.b),o=Math.round(t.h*360),r=Math.round(t.s*100),n=Math.round(t.v*100);return this.a===1?"hsv(".concat(o,", ").concat(r,"%, ").concat(n,"%)"):"hsva(".concat(o,", ").concat(r,"%, ").concat(n,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=es(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=es(this.r,this.g,this.b),o=Math.round(t.h*360),r=Math.round(t.s*100),n=Math.round(t.l*100);return this.a===1?"hsl(".concat(o,", ").concat(r,"%, ").concat(n,"%)"):"hsla(".concat(o,", ").concat(r,"%, ").concat(n,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),ai(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),bp(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),o=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(o,", ").concat(r,")"):"rgba(".concat(t,", ").concat(o,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(o){return"".concat(Math.round(dt(o,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(o){return Math.round(dt(o,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+ai(this.r,this.g,this.b,!1),o=0,r=Object.entries(ii);o<r.length;o++){var n=r[o],a=n[0],i=n[1];if(t===i)return a}return!1},e.prototype.toString=function(t){var o=!!t;t=t??this.format;var r=!1,n=this.a<1&&this.a>=0,a=!o&&n&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var o=this.toHsl();return o.l+=t/100,o.l=yn(o.l),new e(o)},e.prototype.brighten=function(t){t===void 0&&(t=10);var o=this.toRgb();return o.r=Math.max(0,Math.min(255,o.r-Math.round(255*-(t/100)))),o.g=Math.max(0,Math.min(255,o.g-Math.round(255*-(t/100)))),o.b=Math.max(0,Math.min(255,o.b-Math.round(255*-(t/100)))),new e(o)},e.prototype.darken=function(t){t===void 0&&(t=10);var o=this.toHsl();return o.l-=t/100,o.l=yn(o.l),new e(o)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var o=this.toHsl();return o.s-=t/100,o.s=yn(o.s),new e(o)},e.prototype.saturate=function(t){t===void 0&&(t=10);var o=this.toHsl();return o.s+=t/100,o.s=yn(o.s),new e(o)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var o=this.toHsl(),r=(o.h+t)%360;return o.h=r<0?360+r:r,new e(o)},e.prototype.mix=function(t,o){o===void 0&&(o=50);var r=this.toRgb(),n=new e(t).toRgb(),a=o/100,i={r:(n.r-r.r)*a+r.r,g:(n.g-r.g)*a+r.g,b:(n.b-r.b)*a+r.b,a:(n.a-r.a)*a+r.a};return new e(i)},e.prototype.analogous=function(t,o){t===void 0&&(t=6),o===void 0&&(o=30);var r=this.toHsl(),n=360/o,a=[this];for(r.h=(r.h-(n*t>>1)+720)%360;--t;)r.h=(r.h+n)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var o=this.toHsv(),r=o.h,n=o.s,a=o.v,i=[],l=1/t;t--;)i.push(new e({h:r,s:n,v:a})),a=(a+l)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),o=t.h;return[this,new e({h:(o+72)%360,s:t.s,l:t.l}),new e({h:(o+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var o=this.toRgb(),r=new e(t).toRgb(),n=o.a+r.a*(1-o.a);return new e({r:(o.r*o.a+r.r*r.a*(1-o.a))/n,g:(o.g*o.a+r.g*r.a*(1-o.a))/n,b:(o.b*o.a+r.b*r.a*(1-o.a))/n,a:n})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var o=this.toHsl(),r=o.h,n=[this],a=360/t,i=1;i<t;i++)n.push(new e({h:(r+i*a)%360,s:o.s,l:o.l}));return n},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),wn=2,os=.16,Cp=.05,kp=.05,Ep=.15,Zc=5,Jc=4,$p=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function rs(e){var t=e.r,o=e.g,r=e.b,n=ni(t,o,r);return{h:n.h*360,s:n.s,v:n.v}}function xn(e){var t=e.r,o=e.g,r=e.b;return"#".concat(ai(t,o,r,!1))}function Ap(e,t,o){var r=o/100,n={r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b};return n}function ns(e,t,o){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=o?Math.round(e.h)-wn*t:Math.round(e.h)+wn*t:r=o?Math.round(e.h)+wn*t:Math.round(e.h)-wn*t,r<0?r+=360:r>=360&&(r-=360),r}function as(e,t,o){if(e.h===0&&e.s===0)return e.s;var r;return o?r=e.s-os*t:t===Jc?r=e.s+os:r=e.s+Cp*t,r>1&&(r=1),o&&t===Zc&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function is(e,t,o){var r;return o?r=e.v+kp*t:r=e.v-Ep*t,r>1&&(r=1),Number(r.toFixed(2))}function jr(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=[],r=or(e),n=Zc;n>0;n-=1){var a=rs(r),i=xn(or({h:ns(a,n,!0),s:as(a,n,!0),v:is(a,n,!0)}));o.push(i)}o.push(xn(r));for(var l=1;l<=Jc;l+=1){var s=rs(r),c=xn(or({h:ns(s,l),s:as(s,l),v:is(s,l)}));o.push(c)}return t.theme==="dark"?$p.map(function(u){var d=u.index,g=u.opacity,y=xn(Ap(or(t.backgroundColor||"#141414"),or(o[d]),g*100));return y}):o}var za={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},li=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];li.primary=li[5];var si=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];si.primary=si[5];var ci=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];ci.primary=ci[5];var ui=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];ui.primary=ui[5];var di=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];di.primary=di[5];var fi=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];fi.primary=fi[5];var gi=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];gi.primary=gi[5];var pi=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];pi.primary=pi[5];var Wn=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Wn.primary=Wn[5];var hi=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];hi.primary=hi[5];var mi=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];mi.primary=mi[5];var bi=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];bi.primary=bi[5];var vi=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];vi.primary=vi[5];var Ta={red:li,volcano:si,orange:ci,gold:ui,yellow:di,lime:fi,green:gi,cyan:pi,blue:Wn,geekblue:hi,purple:mi,magenta:bi,grey:vi};function ls(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),o.push.apply(o,r)}return o}function L(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?ls(Object(o),!0).forEach(function(r){I(e,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ls(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function xt(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Op(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var o=t;o;){if(o===e)return!0;o=o.parentNode}return!1}var ss="data-rc-order",cs="data-rc-priority",Mp="rc-util-key",yi=new Map;function eu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Mp}function oa(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Rp(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function vl(e){return Array.from((yi.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function tu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!xt())return null;var o=t.csp,r=t.prepend,n=t.priority,a=n===void 0?0:n,i=Rp(r),l=i==="prependQueue",s=document.createElement("style");s.setAttribute(ss,i),l&&a&&s.setAttribute(cs,"".concat(a)),o!=null&&o.nonce&&(s.nonce=o==null?void 0:o.nonce),s.innerHTML=e;var c=oa(t),u=c.firstChild;if(r){if(l){var d=(t.styles||vl(c)).filter(function(g){if(!["prepend","prependQueue"].includes(g.getAttribute(ss)))return!1;var y=Number(g.getAttribute(cs)||0);return a>=y});if(d.length)return c.insertBefore(s,d[d.length-1].nextSibling),s}c.insertBefore(s,u)}else c.appendChild(s);return s}function ou(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=oa(t);return(t.styles||vl(o)).find(function(r){return r.getAttribute(eu(t))===e})}function Hr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=ou(e,t);if(o){var r=oa(t);r.removeChild(o)}}function zp(e,t){var o=yi.get(e);if(!o||!Op(document,o)){var r=tu("",t),n=r.parentNode;yi.set(e,n),e.removeChild(r)}}function po(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=oa(o),n=vl(r),a=L(L({},o),{},{styles:n});zp(r,a);var i=ou(t,a);if(i){var l,s;if((l=a.csp)!==null&&l!==void 0&&l.nonce&&i.nonce!==((s=a.csp)===null||s===void 0?void 0:s.nonce)){var c;i.nonce=(c=a.csp)===null||c===void 0?void 0:c.nonce}return i.innerHTML!==e&&(i.innerHTML=e),i}var u=tu(e,a);return u.setAttribute(eu(a),t),u}function ru(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Tp(e){return ru(e)instanceof ShadowRoot}function Vn(e){return Tp(e)?ru(e):null}var Si={},yl=[],Fp=function(t){yl.push(t)};function lr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var o=yl.reduce(function(r,n){return n(r??"","warning")},t);o&&console.error("Warning: ".concat(o))}}function _p(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var o=yl.reduce(function(r,n){return n(r??"","note")},t);o&&console.warn("Note: ".concat(o))}}function nu(){Si={}}function au(e,t,o){!t&&!Si[o]&&(e(!1,o),Si[o]=!0)}function Xe(e,t){au(lr,e,t)}function Ip(e,t){au(_p,e,t)}Xe.preMessage=Fp;Xe.resetWarned=nu;Xe.noteOnce=Ip;function Pp(e){return e.replace(/-(.)/g,function(t,o){return o.toUpperCase()})}function wi(e,t){Xe(e,"[@ant-design/icons] ".concat(t))}function us(e){return ye(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(ye(e.icon)==="object"||typeof e.icon=="function")}function ds(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,o){var r=e[o];switch(o){case"class":t.className=r,delete t.class;break;default:delete t[o],t[Pp(o)]=r}return t},{})}function xi(e,t,o){return o?E.createElement(e.tag,L(L({key:t},ds(e.attrs)),o),(e.children||[]).map(function(r,n){return xi(r,"".concat(t,"-").concat(e.tag,"-").concat(n))})):E.createElement(e.tag,L({key:t},ds(e.attrs)),(e.children||[]).map(function(r,n){return xi(r,"".concat(t,"-").concat(e.tag,"-").concat(n))}))}function iu(e){return jr(e)[0]}function lu(e){return e?Array.isArray(e)?e:[e]:[]}var Np={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},jp=`
|
80
|
-
.anticon {
|
81
|
-
display: inline-flex;
|
82
|
-
align-items: center;
|
83
|
-
color: inherit;
|
84
|
-
font-style: normal;
|
85
|
-
line-height: 0;
|
86
|
-
text-align: center;
|
87
|
-
text-transform: none;
|
88
|
-
vertical-align: -0.125em;
|
89
|
-
text-rendering: optimizeLegibility;
|
90
|
-
-webkit-font-smoothing: antialiased;
|
91
|
-
-moz-osx-font-smoothing: grayscale;
|
92
|
-
}
|
93
|
-
|
94
|
-
.anticon > * {
|
95
|
-
line-height: 1;
|
96
|
-
}
|
97
|
-
|
98
|
-
.anticon svg {
|
99
|
-
display: inline-block;
|
100
|
-
}
|
101
|
-
|
102
|
-
.anticon::before {
|
103
|
-
display: none;
|
104
|
-
}
|
105
|
-
|
106
|
-
.anticon .anticon-icon {
|
107
|
-
display: block;
|
108
|
-
}
|
109
|
-
|
110
|
-
.anticon[tabindex] {
|
111
|
-
cursor: pointer;
|
112
|
-
}
|
113
|
-
|
114
|
-
.anticon-spin::before,
|
115
|
-
.anticon-spin {
|
116
|
-
display: inline-block;
|
117
|
-
-webkit-animation: loadingCircle 1s infinite linear;
|
118
|
-
animation: loadingCircle 1s infinite linear;
|
119
|
-
}
|
120
|
-
|
121
|
-
@-webkit-keyframes loadingCircle {
|
122
|
-
100% {
|
123
|
-
-webkit-transform: rotate(360deg);
|
124
|
-
transform: rotate(360deg);
|
125
|
-
}
|
126
|
-
}
|
127
|
-
|
128
|
-
@keyframes loadingCircle {
|
129
|
-
100% {
|
130
|
-
-webkit-transform: rotate(360deg);
|
131
|
-
transform: rotate(360deg);
|
132
|
-
}
|
133
|
-
}
|
134
|
-
`,su=function(t){var o=E.useContext(ta),r=o.csp,n=o.prefixCls,a=jp;n&&(a=a.replace(/anticon/g,n)),E.useEffect(function(){var i=t.current,l=Vn(i);po(a,"@ant-design-icons",{prepend:!0,csp:r,attachTo:l})},[])},Hp=["icon","className","onClick","style","primaryColor","secondaryColor"],Fr={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Bp(e){var t=e.primaryColor,o=e.secondaryColor;Fr.primaryColor=t,Fr.secondaryColor=o||iu(t),Fr.calculated=!!o}function Lp(){return L({},Fr)}var gr=function(t){var o=t.icon,r=t.className,n=t.onClick,a=t.style,i=t.primaryColor,l=t.secondaryColor,s=vt(t,Hp),c=f.useRef(),u=Fr;if(i&&(u={primaryColor:i,secondaryColor:l||iu(i)}),su(c),wi(us(o),"icon should be icon definiton, but got ".concat(o)),!us(o))return null;var d=o;return d&&typeof d.icon=="function"&&(d=L(L({},d),{},{icon:d.icon(u.primaryColor,u.secondaryColor)})),xi(d.icon,"svg-".concat(d.name),L(L({className:r,onClick:n,style:a,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s),{},{ref:c}))};gr.displayName="IconReact";gr.getTwoToneColors=Lp;gr.setTwoToneColors=Bp;function cu(e){var t=lu(e),o=Z(t,2),r=o[0],n=o[1];return gr.setTwoToneColors({primaryColor:r,secondaryColor:n})}function Dp(){var e=gr.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Wp=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];cu(Wn.primary);var St=f.forwardRef(function(e,t){var o=e.className,r=e.icon,n=e.spin,a=e.rotate,i=e.tabIndex,l=e.onClick,s=e.twoToneColor,c=vt(e,Wp),u=f.useContext(ta),d=u.prefixCls,g=d===void 0?"anticon":d,y=u.rootClassName,b=ie(y,g,I(I({},"".concat(g,"-").concat(r.name),!!r.name),"".concat(g,"-spin"),!!n||r.name==="loading"),o),h=i;h===void 0&&l&&(h=-1);var p=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,S=lu(s),v=Z(S,2),m=v[0],w=v[1];return f.createElement("span",He({role:"img","aria-label":r.name},c,{ref:t,tabIndex:h,onClick:l,className:b}),f.createElement(gr,{icon:r,primaryColor:m,secondaryColor:w,style:p}))});St.displayName="AntdIcon";St.getTwoToneColor=Dp;St.setTwoToneColor=cu;var Vp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},Up=function(t,o){return f.createElement(St,He({},t,{ref:o,icon:Vp}))},uu=f.forwardRef(Up);process.env.NODE_ENV!=="production"&&(uu.displayName="CheckCircleFilled");var qp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Gp=function(t,o){return f.createElement(St,He({},t,{ref:o,icon:qp}))},du=f.forwardRef(Gp);process.env.NODE_ENV!=="production"&&(du.displayName="CheckOutlined");var Kp={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},Xp=function(t,o){return f.createElement(St,He({},t,{ref:o,icon:Kp}))},Sl=f.forwardRef(Xp);process.env.NODE_ENV!=="production"&&(Sl.displayName="CloseCircleFilled");var Yp={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},Qp=function(t,o){return f.createElement(St,He({},t,{ref:o,icon:Yp}))},fu=f.forwardRef(Qp);process.env.NODE_ENV!=="production"&&(fu.displayName="CloseOutlined");var Zp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},Jp=function(t,o){return f.createElement(St,He({},t,{ref:o,icon:Zp}))},gu=f.forwardRef(Jp);process.env.NODE_ENV!=="production"&&(gu.displayName="ExclamationCircleFilled");var eh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},th=function(t,o){return f.createElement(St,He({},t,{ref:o,icon:eh}))},wl=f.forwardRef(th);process.env.NODE_ENV!=="production"&&(wl.displayName="EyeInvisibleOutlined");var oh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},rh=function(t,o){return f.createElement(St,He({},t,{ref:o,icon:oh}))},xl=f.forwardRef(rh);process.env.NODE_ENV!=="production"&&(xl.displayName="EyeOutlined");var nh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},ah=function(t,o){return f.createElement(St,He({},t,{ref:o,icon:nh}))},pu=f.forwardRef(ah);process.env.NODE_ENV!=="production"&&(pu.displayName="FileOutlined");var ih={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},lh=function(t,o){return f.createElement(St,He({},t,{ref:o,icon:ih}))},ra=f.forwardRef(lh);process.env.NODE_ENV!=="production"&&(ra.displayName="LoadingOutlined");var sh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},ch=function(t,o){return f.createElement(St,He({},t,{ref:o,icon:sh}))},hu=f.forwardRef(ch);process.env.NODE_ENV!=="production"&&(hu.displayName="QuestionCircleOutlined");var uh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},dh=function(t,o){return f.createElement(St,He({},t,{ref:o,icon:uh}))},mu=f.forwardRef(dh);process.env.NODE_ENV!=="production"&&(mu.displayName="RightOutlined");var fh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},gh=function(t,o){return f.createElement(St,He({},t,{ref:o,icon:fh}))},bu=f.forwardRef(gh);process.env.NODE_ENV!=="production"&&(bu.displayName="SearchOutlined");var Ci={exports:{}},Ne={};/**
|
135
|
-
* @license React
|
136
|
-
* react-is.production.min.js
|
137
|
-
*
|
138
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
139
|
-
*
|
140
|
-
* This source code is licensed under the MIT license found in the
|
141
|
-
* LICENSE file in the root directory of this source tree.
|
142
|
-
*/var fs;function ph(){if(fs)return Ne;fs=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function h(p){if(typeof p=="object"&&p!==null){var S=p.$$typeof;switch(S){case e:switch(p=p.type,p){case o:case n:case r:case c:case u:return p;default:switch(p=p&&p.$$typeof,p){case l:case i:case s:case g:case d:case a:return p;default:return S}}case t:return S}}}return Ne.ContextConsumer=i,Ne.ContextProvider=a,Ne.Element=e,Ne.ForwardRef=s,Ne.Fragment=o,Ne.Lazy=g,Ne.Memo=d,Ne.Portal=t,Ne.Profiler=n,Ne.StrictMode=r,Ne.Suspense=c,Ne.SuspenseList=u,Ne.isAsyncMode=function(){return!1},Ne.isConcurrentMode=function(){return!1},Ne.isContextConsumer=function(p){return h(p)===i},Ne.isContextProvider=function(p){return h(p)===a},Ne.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===e},Ne.isForwardRef=function(p){return h(p)===s},Ne.isFragment=function(p){return h(p)===o},Ne.isLazy=function(p){return h(p)===g},Ne.isMemo=function(p){return h(p)===d},Ne.isPortal=function(p){return h(p)===t},Ne.isProfiler=function(p){return h(p)===n},Ne.isStrictMode=function(p){return h(p)===r},Ne.isSuspense=function(p){return h(p)===c},Ne.isSuspenseList=function(p){return h(p)===u},Ne.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===o||p===n||p===r||p===c||p===u||p===y||typeof p=="object"&&p!==null&&(p.$$typeof===g||p.$$typeof===d||p.$$typeof===a||p.$$typeof===i||p.$$typeof===s||p.$$typeof===b||p.getModuleId!==void 0)},Ne.typeOf=h,Ne}var je={};/**
|
143
|
-
* @license React
|
144
|
-
* react-is.development.js
|
145
|
-
*
|
146
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
147
|
-
*
|
148
|
-
* This source code is licensed under the MIT license found in the
|
149
|
-
* LICENSE file in the root directory of this source tree.
|
150
|
-
*/var gs;function hh(){return gs||(gs=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),b=!1,h=!1,p=!1,S=!1,v=!1,m;m=Symbol.for("react.module.reference");function w(q){return!!(typeof q=="string"||typeof q=="function"||q===o||q===n||v||q===r||q===c||q===u||S||q===y||b||h||p||typeof q=="object"&&q!==null&&(q.$$typeof===g||q.$$typeof===d||q.$$typeof===a||q.$$typeof===i||q.$$typeof===s||q.$$typeof===m||q.getModuleId!==void 0))}function x(q){if(typeof q=="object"&&q!==null){var me=q.$$typeof;switch(me){case e:var re=q.type;switch(re){case o:case n:case r:case c:case u:return re;default:var Ae=re&&re.$$typeof;switch(Ae){case l:case i:case s:case g:case d:case a:return Ae;default:return me}}case t:return me}}}var C=i,A=a,O=e,$=s,F=o,B=g,H=d,P=t,R=n,D=r,T=c,M=u,z=!1,j=!1;function _(q){return z||(z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function N(q){return j||(j=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function V(q){return x(q)===i}function G(q){return x(q)===a}function K(q){return typeof q=="object"&&q!==null&&q.$$typeof===e}function ee(q){return x(q)===s}function X(q){return x(q)===o}function Y(q){return x(q)===g}function J(q){return x(q)===d}function oe(q){return x(q)===t}function ne(q){return x(q)===n}function he(q){return x(q)===r}function ce(q){return x(q)===c}function $e(q){return x(q)===u}je.ContextConsumer=C,je.ContextProvider=A,je.Element=O,je.ForwardRef=$,je.Fragment=F,je.Lazy=B,je.Memo=H,je.Portal=P,je.Profiler=R,je.StrictMode=D,je.Suspense=T,je.SuspenseList=M,je.isAsyncMode=_,je.isConcurrentMode=N,je.isContextConsumer=V,je.isContextProvider=G,je.isElement=K,je.isForwardRef=ee,je.isFragment=X,je.isLazy=Y,je.isMemo=J,je.isPortal=oe,je.isProfiler=ne,je.isStrictMode=he,je.isSuspense=ce,je.isSuspenseList=$e,je.isValidElementType=w,je.typeOf=x}()),je}process.env.NODE_ENV==="production"?Ci.exports=ph():Ci.exports=hh();var _r=Ci.exports;function Cl(e,t,o){var r=f.useRef({});return(!("value"in r.current)||o(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}var kl=function(t,o){typeof t=="function"?t(o):ye(t)==="object"&&t&&"current"in t&&(t.current=o)},bo=function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];var n=o.filter(Boolean);return n.length<=1?n[0]:function(a){o.forEach(function(i){kl(i,a)})}},na=function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return Cl(function(){return bo.apply(void 0,o)},o,function(n,a){return n.length!==a.length||n.every(function(i,l){return i!==a[l]})})},pr=function(t){var o,r,n=_r.isMemo(t)?t.type.type:t.type;return!(typeof n=="function"&&!((o=n.prototype)!==null&&o!==void 0&&o.render)&&n.$$typeof!==_r.ForwardRef||typeof t=="function"&&!((r=t.prototype)!==null&&r!==void 0&&r.render)&&t.$$typeof!==_r.ForwardRef)};function ps(e){return E.isValidElement(e)&&!_r.isFragment(e)}Number(E.version.split(".")[0])>=19;var mh=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],Un=f.forwardRef(function(e,t){var o=e.className,r=e.component,n=e.viewBox,a=e.spin,i=e.rotate,l=e.tabIndex,s=e.onClick,c=e.children,u=vt(e,mh),d=f.useRef(),g=na(d,t);wi(!!(r||c),"Should have `component` prop or `children`."),su(d);var y=f.useContext(ta),b=y.prefixCls,h=b===void 0?"anticon":b,p=y.rootClassName,S=ie(p,h,I({},"".concat(h,"-spin"),!!a&&!!r),o),v=ie(I({},"".concat(h,"-spin"),!!a)),m=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,w=L(L({},Np),{},{className:v,style:m,viewBox:n});n||delete w.viewBox;var x=function(){return r?f.createElement(r,w,c):c?(wi(!!n||f.Children.count(c)===1&&f.isValidElement(c)&&f.Children.only(c).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),f.createElement("svg",He({},w,{viewBox:n}),c)):null},C=l;return C===void 0&&s&&(C=-1),f.createElement("span",He({role:"img"},u,{ref:g,tabIndex:C,onClick:s,className:S}),x())});Un.displayName="AntdIcon";const vu=se.css`
|
151
|
-
display: flex;
|
152
|
-
column-gap: 12px;
|
153
|
-
align-items: baseline;
|
154
|
-
`,bh=se.div`
|
155
|
-
${vu}
|
156
|
-
padding: 12px 16px;
|
157
|
-
`,vh=se.div`
|
158
|
-
${vu}
|
159
|
-
position: absolute;
|
160
|
-
top: 8px;
|
161
|
-
right: 8px;
|
162
|
-
`,yh=({filename:e,heading:t,border:o,headerExtra:r})=>{const{token:{colorTextBase:n}}=pe.theme.useToken(),a=E.useMemo(()=>o?{border:o,borderBottom:0}:{borderBottom:"2px solid rgba(128,128,128,.3)"},[o]);return e||t?W.jsxs(bh,{style:a,children:[e&&W.jsx(pu,{style:{color:n,fontSize:14}}),W.jsx(pe.Typography.Title,{level:5,style:{margin:0},children:e||t}),W.jsx("div",{style:{marginLeft:"auto"},children:r})]}):W.jsx(vh,{children:r})},yu=e=>f.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":"true",className:"style_svg__etWmJ",...e},f.createElement("g",{fill:"currentColor"},f.createElement("path",{d:"M2.25 0A2.25 2.25 0 000 2.25v7.5A2.25 2.25 0 002.25 12h.25a.75.75 0 000-1.5h-.25a.75.75 0 01-.75-.75v-7.5a.75.75 0 01.75-.75h7.5a.75.75 0 01.75.75v.25a.75.75 0 001.5 0v-.25A2.25 2.25 0 009.75 0h-7.5z"}),f.createElement("path",{fillRule:"evenodd",d:"M6.25 4A2.25 2.25 0 004 6.25v7.5A2.25 2.25 0 006.25 16h7.5A2.25 2.25 0 0016 13.75v-7.5A2.25 2.25 0 0013.75 4h-7.5zM5.5 6.25a.75.75 0 01.75-.75h7.5a.75.75 0 01.75.75v7.5a.75.75 0 01-.75.75h-7.5a.75.75 0 01-.75-.75v-7.5z",clipRule:"evenodd"}))),Sh=({showCopy:e,copyConfig:t,text:o,onCopy:r})=>{const[n,a]=E.useState(0),i=E.useMemo(()=>n>0?W.jsx(du,{}):n<0?W.jsx(fu,{}):typeof(t==null?void 0:t.icon)>"u"?W.jsx(Un,{component:yu}):t.icon,[t==null?void 0:t.icon,n]),l=typeof(t==null?void 0:t.text)>"u"?"Copy":t.text;if(!e)return null;const s=(...c)=>{c[1]===!0?a(1):a(-1),setTimeout(a,500,0),r==null||r(...c)};return W.jsx(Bc.CopyToClipboard,{text:o||"",onCopy:s,children:W.jsx(pe.Button,{icon:i,iconPosition:"end",type:"primary",size:"small",children:l})})};Object.entries(lp).forEach(([e,t])=>{Hc.PrismLight.registerLanguage(e,t)});const wh=new RegExp("^\\s*\\$\\s"),xh=new RegExp("\\\\\\s*$"),Ch=new RegExp("^\\s*(#|//)"),kh=se.div`
|
163
|
-
position: relative;
|
164
|
-
`,Eh=E.forwardRef(({theme:e,wrapCode:t,lineNumbers:o,showCopy:r,language:n,code:a,copyConfig:i,onCopy:l,style:s,filename:c,heading:u},d)=>{const{theme:{id:g}}=pe.theme.useToken(),y=E.useMemo(()=>{let S=e;switch(S||(S=g===0?"light":"dark"),S){case"light":return"ghcolors";case"dark":return"dracula";default:return S}},[e,g]),b=E.useMemo(()=>{if(!(r&&a))return"";if(n==="shellSession"){const S=a.split(`
|
165
|
-
`),v=[];let m=!1;for(const w of S)Ch.test(w)||(m||wh.test(w))&&(m?v.push(w):v.push(w.slice(w.indexOf("$")+1).trimStart()),m=xh.test(w));return v.join(`
|
166
|
-
`)}return a||""},[r,a,n]),{background:h,border:p}=E.useMemo(()=>{if(!Aa[y])return{background:"",border:""};const S=Aa[y]['pre[class*="language-"]'],v=S.background||S.backgroundColor||"",m=S.border;return{background:v,border:m}},[y]);return W.jsxs(kh,{ref:d,style:{background:h,...s},children:[W.jsx(yh,{filename:c,heading:u,border:p,headerExtra:W.jsx(Sh,{showCopy:r,copyConfig:i,text:b,onCopy:l})}),W.jsx(Hc.PrismLight,{customStyle:{margin:0},wrapLongLines:t,showLineNumbers:o,style:Aa[y],language:n||"markdown",children:a||""})]})});function Ot(e){var t=f.useRef();t.current=e;var o=f.useCallback(function(){for(var r,n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(a))},[]);return o}var hs=process.env.NODE_ENV!=="test"&&xt()?f.useLayoutEffect:f.useEffect,ct=function(t,o){var r=f.useRef(!0);hs(function(){return t(r.current)},o),hs(function(){return r.current=!1,function(){r.current=!0}},[])},ms=function(t,o){ct(function(r){if(!r)return t()},o)};function sr(e){var t=f.useRef(!1),o=f.useState(e),r=Z(o,2),n=r[0],a=r[1];f.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(l,s){s&&t.current||a(l)}return[n,i]}function Fa(e){return e!==void 0}function hr(e,t){var o=t||{},r=o.defaultValue,n=o.value,a=o.onChange,i=o.postState,l=sr(function(){return Fa(n)?n:Fa(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),s=Z(l,2),c=s[0],u=s[1],d=n!==void 0?n:c,g=i?i(d):d,y=Ot(a),b=sr([d]),h=Z(b,2),p=h[0],S=h[1];ms(function(){var m=p[0];c!==m&&y(c,m)},[p]),ms(function(){Fa(n)||u(n)},[n]);var v=Ot(function(m,w){u(m,w),S([d],w)});return[g,v]}function oo(e,t){for(var o=e,r=0;r<t.length;r+=1){if(o==null)return;o=o[t[r]]}return o}function $h(e){if(Array.isArray(e))return ri(e)}function Su(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ah(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
167
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ae(e){return $h(e)||Su(e)||bl(e)||Ah()}function Oh(e){return Gc(e)||Su(e)||bl(e)||Kc()}function wu(e,t,o,r){if(!t.length)return o;var n=Oh(t),a=n[0],i=n.slice(1),l;return!e&&typeof a=="number"?l=[]:Array.isArray(e)?l=ae(e):l=L({},e),r&&o===void 0&&i.length===1?delete l[a][i[0]]:l[a]=wu(l[a],i,o,r),l}function qt(e,t,o){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&o===void 0&&!oo(e,t.slice(0,-1))?e:wu(e,t,o,r)}function Mh(e){return ye(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function bs(e){return Array.isArray(e)?[]:{}}var Rh=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function rr(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var r=bs(t[0]);return t.forEach(function(n){function a(i,l){var s=new Set(l),c=oo(n,i),u=Array.isArray(c);if(u||Mh(c)){if(!s.has(c)){s.add(c);var d=oo(r,i);u?r=qt(r,i,[]):(!d||ye(d)!=="object")&&(r=qt(r,i,bs(c))),Rh(c).forEach(function(g){a([].concat(ae(i),[g]),s)})}}else r=qt(r,i,c)}a([])}),r}const Jr=300,xu=se.keyframes`
|
168
|
-
from {
|
169
|
-
transform: translateY(-100%);
|
170
|
-
border-color: transparent;
|
171
|
-
}
|
172
|
-
to {
|
173
|
-
transform: translateY(0%);
|
174
|
-
border-color: #fff;
|
175
|
-
}
|
176
|
-
`,zh=se.css`animation: ${Jr}ms ease-in ${xu};`,Th=se.css`animation: ${Jr}ms ease-in reverse ${xu};`,Fh=se.div`
|
177
|
-
transition: filter ${Jr*1.3}ms ease-in-out;
|
178
|
-
cursor: pointer;
|
179
|
-
min-height: 32px;
|
180
|
-
z-index: 1;
|
181
|
-
user-select: none;
|
182
|
-
|
183
|
-
&:hover {
|
184
|
-
filter: brightness(1.15)
|
185
|
-
}
|
186
|
-
`,_h=se.div`
|
187
|
-
overflow: hidden;
|
188
|
-
transition: all ${Jr}ms ease-in-out;
|
189
|
-
width: 100%;
|
190
|
-
`,Ih=se.div`
|
191
|
-
${e=>e.$open?zh:Th};
|
192
|
-
border-radius: inherit;
|
193
|
-
border: ${e=>e.$border};
|
194
|
-
border-top: unset;
|
195
|
-
`,Cu=E.forwardRef(({open:e,onChange:t,defaultOpen:o,header:r,border:n,style:a,width:i,children:l},s)=>{const{token:c}=pe.theme.useToken(),[u,d]=E.useState(0),g=E.useCallback(()=>{var v;return d(((v=p.current)==null?void 0:v.offsetHeight)||0)},[d]),y=E.useCallback(v=>{t==null||t(v),g()},[g,t]),[b,h]=hr(!1,{defaultValue:o,value:e,onChange:y}),p=E.useRef(null);E.useImperativeHandle(s,()=>({calculateHeight:g})),E.useEffect(()=>{g(),o&&h(!0)},[g,o]);const S=()=>{h(v=>!v)};return W.jsxs("div",{style:{width:i},children:[W.jsx(Fh,{onClick:S,children:r}),W.jsx(_h,{style:Object.assign({},a,{height:b?u:0}),children:W.jsx(Ih,{ref:p,$open:b,$border:n?`1px solid ${c.colorBorder}`:"unset",children:l})})]})}),Ph=se.div`
|
196
|
-
padding: 0 12px;
|
197
|
-
align-items: center;
|
198
|
-
display: flex;
|
199
|
-
justify-content: space-between;
|
200
|
-
width: calc(100% - 2 * 12px);
|
201
|
-
border-radius: 6px;
|
202
|
-
height: 32px;
|
203
|
-
`,Nh=se.div`
|
204
|
-
display: flex;
|
205
|
-
align-items: center;
|
206
|
-
gap: 6px;
|
207
|
-
font-weight: 400;
|
208
|
-
font-style: italic;
|
209
|
-
`,jh=se(mu)`
|
210
|
-
font-size: 18px;
|
211
|
-
color: ${e=>e.color};
|
212
|
-
svg {
|
213
|
-
transition: transform ${Jr*.7}ms ease-in-out;
|
214
|
-
}
|
215
|
-
`,Hh=E.forwardRef(({open:e,onChange:t,defaultOpen:o,title:r,image:n,rightText:a,activeColor:i,inactiveColor:l,border:s,style:c,width:u,children:d},g)=>{const{token:y}=pe.theme.useToken(),[b,h]=E.useState(!1);i||(i=y.colorFill),l||(l=y.colorFillSecondary);const p=m=>{h(m),t==null||t(m)},S=()=>n?W.jsx("img",{src:n,style:{height:18},alt:"dropdown"}):W.jsx(jh,{rotate:b?90:0,color:y.colorPrimary}),v=Object.assign({borderEndStartRadius:6,borderEndEndRadius:6},c==null?void 0:c.children);return W.jsx(Cu,{ref:g,header:W.jsxs(Ph,{style:Object.assign({backgroundColor:b?i:l,borderEndStartRadius:b&&0,borderEndEndRadius:b&&0},c==null?void 0:c.header),children:[W.jsx(pe.Typography.Text,{children:r}),W.jsxs(Nh,{children:[W.jsx(pe.Typography.Text,{children:a}),S()]})]}),border:s,defaultOpen:o,open:e,onChange:p,style:v,width:u,children:d})}),Bh=se.div`
|
216
|
-
padding: 12px;
|
217
|
-
`,Lh=E.forwardRef(({children:e,style:t},o)=>{const{token:{colorFillSecondary:r}}=pe.theme.useToken();return W.jsx(Bh,{ref:o,style:{background:`linear-gradient(150deg, transparent 30%, ${r})`,...t},children:e})}),en=Hh;en.Content=Lh;en.Base=Cu;const qn=se.div`
|
218
|
-
cursor: pointer;
|
219
|
-
height: var(--row-height);
|
220
|
-
width: calc(100% - 2 * 8px);
|
221
|
-
padding: 0 8px;
|
222
|
-
margin: 0;
|
223
|
-
border-bottom: 1px solid ${e=>e.$colorBorder||"#d9d9d9"};
|
224
|
-
display: flex;
|
225
|
-
align-items: center;
|
226
|
-
justify-content: space-between;
|
227
|
-
transition: backdrop-filter .4s;
|
228
|
-
|
229
|
-
&:hover {
|
230
|
-
backdrop-filter: brightness(1.2);
|
231
|
-
}
|
232
|
-
`,ku=se(pe.Typography.Text)`
|
233
|
-
max-width: calc(100% - 3.5rem);
|
234
|
-
overflow: hidden;
|
235
|
-
text-overflow: ellipsis;
|
236
|
-
font-weight: 500;
|
237
|
-
`,Dh=se(qn)`
|
238
|
-
&:last-child {
|
239
|
-
border-bottom: unset;
|
240
|
-
}
|
241
|
-
|
242
|
-
&.active {
|
243
|
-
background-color: ${e=>e.$colorActiveBg};
|
244
|
-
}
|
245
|
-
`,Eu=({item:e,onClick:t,active:o,parentKey:r,itemRender:n})=>{const{token:{colorBorder:a,colorPrimary:i}}=pe.theme.useToken(),l=n||(u=>u);if(!e)return null;const s=[e.key];r&&s.unshift(r);const c=u=>{e&&(t==null||t({item:e,key:e.key,keyPath:s,domEvent:u}))};return l(W.jsxs(Dh,{onClick:c,className:o&&"active"||void 0,$colorBorder:a,$colorActiveBg:i,children:[W.jsx(ku,{children:e.label}),e.icon," "]}),{item:e,keyPath:s,key:e.key})},Wh=({item:e,onClick:t,itemRender:o,open:r})=>{const{token:{colorPrimary:n,colorBorder:a}}=pe.theme.useToken(),[i,l]=E.useState(!1),s=E.useRef(null),c=o||(g=>g),u=E.useCallback(async g=>{l(!!(typeof g=="boolean"?g:!i))},[i]);if(E.useEffect(()=>{typeof r=="boolean"&&u(r)},[r,u]),E.useEffect(()=>{var g;(g=s.current)==null||g.calculateHeight()},[e==null?void 0:e.children]),!e)return null;const d=g=>{r===void 0&&u(),e&&(t==null||t({item:e,key:e.key,keyPath:[e.key],domEvent:g}))};return W.jsx(en.Base,{ref:s,header:c(W.jsxs(qn,{onClick:d,style:{backgroundColor:i?n:void 0},$colorBorder:i?"transparent":a,children:[W.jsx(ku,{children:e.label}),e.icon]}),{item:e,keyPath:[e.key],key:e.key}),open:i,children:W.jsx("div",{style:{borderLeft:`1px solid ${n}`,borderRight:`2px solid ${n}`,borderBottom:`1px solid ${n}`,boxShadow:`inset 0 0 3px ${n}`},children:Array.isArray(e.children)&&e.children.map(g=>W.jsx(Eu,{itemRender:c,onClick:t,item:g,parentKey:e.key},g.key))})})},Vh=se.div`
|
246
|
-
--row-height: 48px;
|
247
|
-
--site-selector-height: 100%;
|
248
|
-
height: 100%;
|
249
|
-
|
250
|
-
position: relative;
|
251
|
-
`,$u=se.div`
|
252
|
-
height: calc(var(--row-height) - 1px);
|
253
|
-
width: calc(100% - 2 * 6px);
|
254
|
-
padding: 0 6px;
|
255
|
-
display: flex;
|
256
|
-
align-items: center;
|
257
|
-
border-bottom: 1px solid gray;
|
258
|
-
`,Uh=se.div`
|
259
|
-
height: calc(100% - 2 * var(--row-height));
|
260
|
-
overflow-y: auto;
|
261
|
-
`,qh=se($u)`
|
262
|
-
justify-content: center;
|
263
|
-
background-color: rgba(163, 163, 163, 0.1);
|
264
|
-
border-top: 1px solid gray;
|
265
|
-
border-bottom: unset;
|
266
|
-
`,Gh=E.forwardRef(({items:e,messageEmpty:t,onClick:o,loading:r,openKeys:n,bottomAddon:a,search:i,onSearchChange:l,itemRender:s},c)=>{const[u,d]=E.useState([]),{token:{colorBorder:g}}=pe.theme.useToken();E.useEffect(()=>{Array.isArray(n)&&d(n)},[n]);const y=h=>{n===void 0&&h.keyPath.length===1&&("children"in h.item?u.some(p=>p===h.key)?d(u.filter(p=>p!==h.key)):d(u.concat(h.key)):d([h.item.key])),o==null||o(h)},b=()=>r?W.jsx(qn,{$colorBorder:g,children:W.jsx(pe.Typography.Text,{children:W.jsxs(pe.Space,{children:[typeof r=="string"?r:"Loading items...",W.jsx(ra,{})]})})}):e!=null&&e.length?e.map(h=>{if("type"in h)switch(h.type){case"group":return W.jsx(Wh,{item:h,onClick:y,open:u.includes(h.key),itemRender:s},h.key)}return W.jsx(Eu,{item:h,onClick:y,active:u.includes(h.key),itemRender:s},h.key)}):W.jsx(qn,{$colorBorder:g,children:W.jsx(pe.Typography.Text,{children:t||"No items found"})});return W.jsxs(Vh,{ref:c,children:[W.jsx($u,{children:W.jsx(pe.Input.Search,{addonBefore:(e==null?void 0:e.length)||"0",onChange:h=>l==null?void 0:l(h.target.value),value:i,allowClear:!0,enterButton:"Search"})}),W.jsx(Uh,{children:b()}),W.jsx(qh,{children:a})]})}),Au=se.li`
|
267
|
-
position: relative;
|
268
|
-
text-decoration: none;
|
269
|
-
cursor: pointer;
|
270
|
-
text-align: left;
|
271
|
-
display: flex;
|
272
|
-
align-items: center;
|
273
|
-
|
274
|
-
@media only screen and not (min-width: 768px) {
|
275
|
-
padding-left: 1rem;
|
276
|
-
margin-bottom: 1rem;
|
277
|
-
}
|
278
|
-
`,Ou=se(pe.Typography.Text)`
|
279
|
-
font-size: 1.5rem;
|
280
|
-
font-weight: 600;
|
281
|
-
color: inherit;
|
282
|
-
transition: transform .3s ease-in-out;
|
283
|
-
|
284
|
-
&:hover {
|
285
|
-
transform: translateY(-2px);
|
286
|
-
}
|
287
|
-
|
288
|
-
width: max-content;
|
289
|
-
|
290
|
-
@media only screen and (min-width: 768px) {
|
291
|
-
opacity: 1;
|
292
|
-
position: relative;
|
293
|
-
}
|
294
|
-
`,Kh=se.keyframes`
|
295
|
-
0% {
|
296
|
-
opacity: 0;
|
297
|
-
transform: translate(0, 8px);
|
298
|
-
} 100% {
|
299
|
-
opacity: 1;
|
300
|
-
transform: translate(0, 0);
|
301
|
-
}
|
302
|
-
`,Xh=se.ul`
|
303
|
-
--inset: 12px;
|
304
|
-
--padding-y: 6px;
|
305
|
-
--border-radius: 0 0 var(--padding-y) var(--padding-y);
|
306
|
-
|
307
|
-
position: absolute;
|
308
|
-
top: calc(100% - var(--inset) + 2px);
|
309
|
-
animation: ${Kh} .2s;
|
310
|
-
background-color: var(--bg-color);
|
311
|
-
color: black;
|
312
|
-
padding: var(--inset) 0 var(--padding-y) 0;
|
313
|
-
margin: 0;
|
314
|
-
cursor: default;
|
315
|
-
|
316
|
-
&::before {
|
317
|
-
content: '';
|
318
|
-
position: absolute;
|
319
|
-
inset: var(--inset) 0 0 0;
|
320
|
-
border-radius: var(--border-radius);
|
321
|
-
box-shadow: .5px 1px 5px rgba(0,0,0,0.25);
|
322
|
-
z-index: -1;
|
323
|
-
}
|
324
|
-
|
325
|
-
@media only screen and (min-width: 768px) {
|
326
|
-
border-radius: var(--border-radius);
|
327
|
-
right: -6px;
|
328
|
-
}
|
329
|
-
|
330
|
-
@media only screen and not (min-width: 768px) {
|
331
|
-
width: 100%;
|
332
|
-
top: 100%;
|
333
|
-
left: 0;
|
334
|
-
}
|
335
|
-
`,Yh=se.li`
|
336
|
-
padding: .25rem .75rem;
|
337
|
-
min-width: 12rem;
|
338
|
-
font-weight: 600;
|
339
|
-
display: block;
|
340
|
-
|
341
|
-
&:hover {
|
342
|
-
background: linear-gradient(rgba(0,0,0,.1) 2%, transparent 15%, transparent 85%, rgba(0,0,0,.1) 98%);
|
343
|
-
}
|
344
|
-
`,Qh=e=>{const{item:t,onClick:o,activeKey:r,itemRender:n}=e;if(!Array.isArray(t==null?void 0:t.children))return null;const a=n||(i=>i);return t.children.map(i=>{const l=s=>{o==null||o(s,{item:i,key:i.key})};return W.jsx(Yh,{className:r===i.key&&"active"||void 0,onClick:l,children:a(i.label,{item:i,key:i.key,keyPath:[t.key,i.key]})},i.key)})},Zh=e=>{const{item:t,activeKey:o,onClick:r}=e,[n,a]=E.useState(!1),i=(s,c)=>{c?(a(!1),r==null||r(s,c)):(a(!n),t&&(r==null||r(s,{key:t==null?void 0:t.key,item:t})))},l=E.useMemo(()=>o===(t==null?void 0:t.key)||(t==null?void 0:t.children.some(s=>s.key===o)),[o,t]);return W.jsxs(Au,{className:l&&"active"||void 0,onClick:i,onMouseEnter:()=>{a(!0)},onMouseLeave:()=>{a(!1)},children:[W.jsx(Ou,{children:t==null?void 0:t.label}),W.jsx(Xh,{hidden:!n,children:W.jsx(Qh,{...e})})]})},Jh=64,em=se.div`
|
345
|
-
--bg-color: #fff;
|
346
|
-
--border-width: 3px;
|
347
|
-
--grid-padding-x: max(0px, calc(calc(100vw - 1200px) / 2));
|
348
|
-
--selector-width: 280px;
|
349
|
-
--logo-size: 48px;
|
350
|
-
|
351
|
-
display: grid;
|
352
|
-
border-bottom: var(--border-width) solid black;
|
353
|
-
background-color: var(--bg-color);
|
354
|
-
height: calc(var(--navbar-height) - var(--border-width));
|
355
|
-
|
356
|
-
user-select: none;
|
357
|
-
text-align: center;
|
358
|
-
z-index: 999;
|
359
|
-
width: 100%;
|
360
|
-
position: sticky;
|
361
|
-
top: 0;
|
362
|
-
transition: background-color .3s;
|
363
|
-
|
364
|
-
@media only screen and (min-width: 768px) {
|
365
|
-
grid-template-columns: calc(var(--grid-padding-x) + 1rem) var(--selector-width) 1rem 1fr calc(var(--grid-padding-x) + 1rem);
|
366
|
-
}
|
367
|
-
|
368
|
-
@media only screen and (min-width: 992px) {
|
369
|
-
--selector-width: 320px;
|
370
|
-
}
|
371
|
-
|
372
|
-
/* Possible solution for additional navbar items */
|
373
|
-
/* @media only screen and (min-width: calc(1200px + calc(48px + 32px) * 2)) {
|
374
|
-
grid-template-columns: var(--grid-padding-x) 0 0 1fr var(--grid-padding-x);
|
375
|
-
} */
|
376
|
-
`,tm=se.div`
|
377
|
-
width: var(--logo-size);
|
378
|
-
height: var(--logo-size);
|
379
|
-
margin: calc(calc(var(--navbar-height) - var(--logo-size)) / 2) auto;
|
380
|
-
|
381
|
-
@media only screen and (min-width: 768px) {
|
382
|
-
grid-column: 2 / 3;
|
383
|
-
}
|
384
|
-
|
385
|
-
// Using logo-size and padding
|
386
|
-
@media only screen and (min-width: calc(1200px + calc(48px + 32px) * 2)) {
|
387
|
-
grid-column: 1 / 2;
|
388
|
-
}
|
389
|
-
`,om=se.nav`
|
390
|
-
width: 100%;
|
391
|
-
transform-origin: top;
|
392
|
-
transition: transform 400ms ease-in-out;
|
393
|
-
grid-column: 4 / 5;
|
394
|
-
|
395
|
-
@media only screen and not (min-width: 768px) {
|
396
|
-
position: absolute;
|
397
|
-
background-color: rgba(0,0,0,.87);
|
398
|
-
border-bottom: 3px solid white;
|
399
|
-
top: 100%;
|
400
|
-
left: 0;
|
401
|
-
transform: scale(1, 0);
|
402
|
-
}
|
403
|
-
|
404
|
-
@media only screen and (min-width: 768px) {
|
405
|
-
display: flex;
|
406
|
-
justify-content: flex-end;
|
407
|
-
align-items: center;
|
408
|
-
transition: none;
|
409
|
-
height: var(--navbar-height);
|
410
|
-
}
|
411
|
-
`,rm=se.ul`
|
412
|
-
font-family: 'Noto Sans JP', sans-serif;
|
413
|
-
list-style-type: none;
|
414
|
-
padding-left: 0;
|
415
|
-
height: 100%;
|
416
|
-
opacity: 0;
|
417
|
-
transition: all 150ms ease-in-out;
|
418
|
-
|
419
|
-
@media only screen and (min-width: 768px) {
|
420
|
-
display: flex;
|
421
|
-
column-gap: 20px;
|
422
|
-
align-items: stretch;
|
423
|
-
opacity: unset;
|
424
|
-
}
|
425
|
-
|
426
|
-
@media only screen and (min-width: 992px) {
|
427
|
-
column-gap: 32px;
|
428
|
-
}
|
429
|
-
|
430
|
-
color: ${e=>e.$textColor};
|
431
|
-
|
432
|
-
/* For active NavLink react-router-dom */
|
433
|
-
.active {
|
434
|
-
color: ${e=>e.$activeColor};
|
435
|
-
}
|
436
|
-
`,nm=se.label`
|
437
|
-
position: absolute;
|
438
|
-
top: 0;
|
439
|
-
left: 1rem;
|
440
|
-
height: 100%;
|
441
|
-
display: flex;
|
442
|
-
align-items: center;
|
443
|
-
|
444
|
-
@media only screen and (min-width: 768px) {
|
445
|
-
display: none;
|
446
|
-
}
|
447
|
-
`,am=se.input`
|
448
|
-
display: block;
|
449
|
-
background-color: ${e=>e.$color};
|
450
|
-
height: .2em;
|
451
|
-
width: 2em;
|
452
|
-
border-radius: 1em;
|
453
|
-
position: relative;
|
454
|
-
appearance: none;
|
455
|
-
outline: unset;
|
456
|
-
transition: transform .4s ease-in-out, background-color .5s;
|
457
|
-
|
458
|
-
&::after,
|
459
|
-
&::before {
|
460
|
-
display: block;
|
461
|
-
background-color: ${e=>e.$color};
|
462
|
-
height: .2em;
|
463
|
-
width: 2em;
|
464
|
-
border-radius: 1em;
|
465
|
-
position: relative;
|
466
|
-
content: '';
|
467
|
-
position: absolute;
|
468
|
-
transition: transform .4s ease-in-out;
|
469
|
-
}
|
470
|
-
|
471
|
-
&::after {
|
472
|
-
transform: translateY(-.6em)
|
473
|
-
}
|
474
|
-
|
475
|
-
&::before {
|
476
|
-
transform: translateY(.6em)
|
477
|
-
}
|
478
|
-
|
479
|
-
&:checked {
|
480
|
-
transform: translateX(-2em);
|
481
|
-
background: transparent;
|
482
|
-
}
|
483
|
-
|
484
|
-
&:checked::after {
|
485
|
-
transform: rotateZ(45deg) translate(1.4em, -1.4em);
|
486
|
-
}
|
487
|
-
|
488
|
-
&:checked::before {
|
489
|
-
transform: rotateZ(-45deg) translate(1.4em, 1.4em);
|
490
|
-
}
|
491
|
-
`,im=e=>{const{items:t,activeKey:o,onClick:r,itemRender:n}=e,a=n||(i=>i);return Array.isArray(t)?t.map(i=>{const l=(s,c)=>{const u={item:i,key:i.key,keyPath:[i.key],domEvent:s};c&&(u.keyPath.push(c.key),u.key=c.key,u.item=c.item),r==null||r(u)};if("type"in i)switch(i.type){case"group":return W.jsx(Zh,{item:i,onClick:l,activeKey:o,itemRender:a},i.key)}return W.jsx(Au,{className:o===i.key&&"active"||void 0,onClick:l,children:a(W.jsx(Ou,{children:i.label}),{item:i,key:i.key,keyPath:[i.key]})},i.key)}):null},lm=E.forwardRef((e,t)=>{const{height:o,textColor:r,activeColor:n,logo:a,toggleColor:i,onClick:l,...s}=e,{token:{colorPrimary:c}}=pe.theme.useToken(),[u,d]=E.useState({}),[g,y]=E.useState({}),b=E.useRef(null);E.useEffect(()=>{typeof o=="number"&&o>=48?document.documentElement.style.setProperty("--navbar-height",`${Math.round(o)}px`):document.documentElement.style.setProperty("--navbar-height",`${Jh}px`)},[o]);const h=()=>{var S;(S=b.current)!=null&&S.checked?(d({transform:"scale(1,1)"}),y({opacity:1,transition:"opacity 150ms ease-in-out 250ms"})):(y({}),d({}))},p=S=>{S.domEvent.stopPropagation(),"children"in S.item||(b.current&&(b.current.checked=!1),h()),l==null||l(S)};return W.jsxs(em,{ref:t,style:{borderBottomColor:r||c},children:[W.jsx(tm,{children:a}),W.jsx(om,{style:Object.assign({borderBottomColor:n||c},u),children:W.jsx(rm,{$activeColor:n||c,$textColor:r,style:g,children:W.jsx(im,{...s,onClick:p})})}),W.jsx(nm,{htmlFor:"nav-toggle",children:W.jsx(am,{ref:b,type:"checkbox",id:"nav-toggle","aria-label":"show navigation",onChange:h,$color:i||"black"})})]})}),sm=se.div`
|
492
|
-
background: linear-gradient(-120deg, ${e=>e.$bgLight} 20%, ${e=>e.$bgDark} 80%);
|
493
|
-
overflow-y: auto;
|
494
|
-
flex: 1 1 auto;
|
495
|
-
position: relative;
|
496
|
-
|
497
|
-
height: calc(100% - var(--selector-height)); /* Adjust for site selector height */
|
498
|
-
|
499
|
-
@media only screen and (min-width: 768px) {
|
500
|
-
border-radius: 8px;
|
501
|
-
box-shadow: inset 0 0 2px 1px rgba(255,255,255,.1);
|
502
|
-
height: unset;
|
503
|
-
}
|
504
|
-
|
505
|
-
&::-webkit-scrollbar {
|
506
|
-
width: 5px;
|
507
|
-
|
508
|
-
@media only screen and not (min-width: 768px) {
|
509
|
-
display: none;
|
510
|
-
}
|
511
|
-
}
|
512
|
-
|
513
|
-
&::-webkit-scrollbar-track {
|
514
|
-
background: none;
|
515
|
-
}
|
516
|
-
|
517
|
-
&::-webkit-scrollbar-thumb {
|
518
|
-
background-color: var(--thumb-bg);
|
519
|
-
border-radius: 3px;
|
520
|
-
}
|
521
|
-
|
522
|
-
/* Decrease scrollbar height for border-radius */
|
523
|
-
&::-webkit-scrollbar-track-piece:start {
|
524
|
-
margin-top: 1em;
|
525
|
-
}
|
526
|
-
|
527
|
-
&::-webkit-scrollbar-track-piece:end {
|
528
|
-
margin-bottom: 1em;
|
529
|
-
}
|
530
|
-
`,Mu=se.div`
|
531
|
-
padding: 1rem 0;
|
532
|
-
|
533
|
-
@media only screen and (min-width: 768px) {
|
534
|
-
padding: 1.5rem;
|
535
|
-
}
|
536
|
-
|
537
|
-
@media only screen and (min-width: 992px) {
|
538
|
-
padding: 1.5rem 2.5rem;
|
539
|
-
}
|
540
|
-
`,Ru=se(pe.Flex)`
|
541
|
-
gap: 1.5rem;
|
542
|
-
|
543
|
-
@media only screen and (min-width: 768px) {
|
544
|
-
gap: 2rem;
|
545
|
-
}
|
546
|
-
`,vs=({element:e,children:t,render:o,elementProps:r})=>typeof o>"u"||o?E.createElement(e,r,t):t,cm=E.forwardRef(({children:e,flex:t,padding:o,flexProps:r},n)=>{const{theme:{id:a},token:{colorBgBase:i,colorBgContainer:l,colorBgElevated:s,colorBgLayout:c}}=pe.theme.useToken();let u=s,d=c;return a===1&&(u=i,d=l),W.jsx(sm,{ref:n,$bgDark:u,$bgLight:d,children:W.jsx(vs,{element:Mu,render:o,children:W.jsx(vs,{element:Ru,render:t,elementProps:{vertical:!0,...r},children:e})})})}),ki=36,um=se.createGlobalStyle`
|
547
|
-
#main {
|
548
|
-
--selector-height: 36px;
|
549
|
-
}
|
550
|
-
`,dm=se.div`
|
551
|
-
position: sticky;
|
552
|
-
top: calc(var(--navbar-height) + var(--main-margin-v));
|
553
|
-
box-shadow: inset 0 0 2px 1px rgba(255,255,255,.1);
|
554
|
-
border-radius: 8px;
|
555
|
-
overflow: auto;
|
556
|
-
flex: 0 0 var(--site-selector-width);
|
557
|
-
background: linear-gradient(35deg, ${e=>e.$bgDark} 20%, ${e=>e.$bgLight});
|
558
|
-
max-height: var(--main-height);
|
559
|
-
|
560
|
-
@media screen and not (min-width: 768px) {
|
561
|
-
width: 100%;
|
562
|
-
border-radius: unset;
|
563
|
-
height: calc(var(--main-height) - ${ki}px)
|
564
|
-
}
|
565
|
-
`,fm=E.forwardRef(({title:e,children:t,collapseOpen:o,onChange:r},n)=>{const{theme:{id:a},token:{colorBgBase:i,colorBgContainer:l,colorBgLayout:s}}=pe.theme.useToken(),[c,u]=E.useState(1280),[d,g]=hr(!1,{value:o});let y=i,b=s;a===1&&(y=i,b=l);const h=E.useCallback(S=>{g(S),r==null||r(S)},[g,r]);E.useEffect(()=>{const S=()=>{u(window.innerWidth)};return S(),window.addEventListener("resize",S),()=>{window.removeEventListener("resize",S)}},[]);const p=W.jsxs(dm,{ref:n,$bgDark:y,$bgLight:b,children:[W.jsx(um,{}),t]});return c<768?W.jsx("div",{style:{flex:"0 0 100%",height:ki},children:W.jsx(en,{title:e,activeColor:i,style:{header:{height:ki,borderRadius:0},children:{position:"absolute",zIndex:100,borderRadius:0}},onChange:h,open:d,children:p})}):p}),gm=se.div`
|
566
|
-
--main-margin-v: 0px;
|
567
|
-
--site-selector-width: 280px;
|
568
|
-
--main-height: calc(100vh - var(--navbar-height));
|
569
|
-
--selector-height: 0px;
|
570
|
-
|
571
|
-
position: relative;
|
572
|
-
max-width: calc(1200px - 2 * 1rem); /* Adjusted for padding */
|
573
|
-
margin: var(--main-margin-v) auto;
|
574
|
-
height: var(--main-height);
|
575
|
-
|
576
|
-
@media only screen and (min-width: 768px) {
|
577
|
-
--main-margin-v: 2rem;
|
578
|
-
--main-height: min(calc(100vh - var(--navbar-height) - 2 * var(--main-margin-v)), 85vh);
|
579
|
-
|
580
|
-
display: flex;
|
581
|
-
align-items: stretch;
|
582
|
-
column-gap: 1rem;
|
583
|
-
padding: 0 1rem;
|
584
|
-
|
585
|
-
&.content-height {
|
586
|
-
height: unset;
|
587
|
-
max-height: var(--main-height);
|
588
|
-
}
|
589
|
-
|
590
|
-
&.no-scroll {
|
591
|
-
height: unset;
|
592
|
-
min-height: var(--main-height);
|
593
|
-
max-height: unset;
|
594
|
-
}
|
595
|
-
|
596
|
-
&.content-height {
|
597
|
-
min-height: unset;
|
598
|
-
}
|
599
|
-
}
|
600
|
-
|
601
|
-
@media only screen and (min-width: 992px) {
|
602
|
-
--site-selector-width: 320px;
|
603
|
-
}
|
604
|
-
`,tn=E.forwardRef(({children:e,overflow:t,height:o="full"},r)=>{const n=[];switch(t){case"visible":n.push("no-scroll");break}switch(o){case"content":n.push("content-height");break}return W.jsx(gm,{ref:r,id:"main",className:n.join(" "),children:e})});tn.Settings=cm;tn.Selector=fm;tn.Padding=Mu;tn.Flex=Ru;const El=se(pe.Button)`
|
605
|
-
--shadow-color: ${e=>e.danger?"#f5222d":pe.theme.useToken().token.colorPrimary};
|
606
|
-
|
607
|
-
box-shadow: 1.5px 2px var(--shadow-color);
|
608
|
-
margin-bottom: 1px;
|
609
|
-
|
610
|
-
&:focus {
|
611
|
-
box-shadow: 1px 1.5px var(--shadow-color);
|
612
|
-
}
|
613
|
-
|
614
|
-
&:hover {
|
615
|
-
box-shadow: 0 0 var(--shadow-color);
|
616
|
-
}
|
617
|
-
`,zu=se(El)`
|
618
|
-
margin-left: auto;
|
619
|
-
margin-right: auto;
|
620
|
-
display: block;
|
621
|
-
width: max-content;
|
622
|
-
`,pm=se(El)`
|
623
|
-
width: max-content;
|
624
|
-
background-color: rgba(255,255,255,.05);
|
625
|
-
border: unset;
|
626
|
-
box-shadow: unset;
|
627
|
-
`,hm=se(zu)`
|
628
|
-
margin-right: unset;
|
629
|
-
`,jo=f.createContext(void 0),mm=e=>{let{children:t,size:o}=e;const r=f.useContext(jo);return f.createElement(jo.Provider,{value:o||r},t)},mr=e=>{const t=E.useContext(jo);return E.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},bm=se.div`
|
630
|
-
position: relative;
|
631
|
-
transition: max-width .4s ease-out;
|
632
|
-
`,vm=se.span`
|
633
|
-
opacity: 0;
|
634
|
-
white-space: nowrap; /* do not break line */
|
635
|
-
`,ym=se(pe.Typography.Text)`
|
636
|
-
position: absolute;
|
637
|
-
transition: all .4s ease;
|
638
|
-
z-index: 10;
|
639
|
-
cursor: text;
|
640
|
-
width: max-content;
|
641
|
-
`,Tu=E.forwardRef((e,t)=>{var v;const{name:o,size:r,children:n,colorText:a,colorTextActive:i}=e,[l,s]=E.useState({}),c=E.useRef(null),u=E.useRef(null),d=pe.Form.useWatch(o),{token:g}=pe.theme.useToken(),[y,b]=E.useState({display:"none"}),h=mr(m=>r??m),[p,S]=E.useMemo(()=>[{},{left:0,top:0,color:i||g.colorPrimary,cursor:"default",fontSize:"inherit"}],[i,g]);return E.useImperativeHandle(t,()=>c.current),E.useEffect(()=>{var w;let m=((w=c.current)==null?void 0:w.parentElement)||null;for(let x=0;x<5&&!(!m||m.classList.contains("ant-form-item-label"));x++)m=m.parentElement;m&&(m.style.overflow="visible")},[]),E.useEffect(()=>{var m;if(d)return s(S);((m=document.activeElement)==null?void 0:m.id)!==o&&s(p)},[d,o,p,S]),E.useEffect(()=>{var P,R,D,T,M,z,j,_,N,V,G,K;let m,w,x;if(!c.current)return b({display:"none"});if(typeof o!="string")return b({});const C=document.getElementById(o);if(!C)return b({});const A=((P=c.current.parentElement)==null?void 0:P.offsetLeft)||0,O=C.previousElementSibling,$=(R=C.parentElement)!=null&&R.classList.contains("ant-input-affix-wrapper")?C.parentElement:C,F=(O==null?void 0:O.classList.contains("ant-input-prefix"))||!1,B=((D=$==null?void 0:$.previousElementSibling)==null?void 0:D.classList.contains("ant-input-group-addon"))||!1;let H=0;switch(F&&(H+=C.offsetLeft),B&&(H+=$.offsetLeft),h){case"small":w=(((T=g.Input)==null?void 0:T.paddingInlineSM)||g.paddingXS)+H,m=`calc(100% + ${((M=g.Input)==null?void 0:M.paddingBlockSM)||0}px + 9px)`,x=((z=g.Input)==null?void 0:z.inputFontSizeSM)||g.fontSize;break;case"large":w=(((j=g.Input)==null?void 0:j.paddingInlineLG)||g.paddingSM)+H,m=`calc(100% + ${((_=g.Input)==null?void 0:_.paddingBlock)||7}px + 16px)`,x=((N=g.Input)==null?void 0:N.inputFontSizeLG)||g.fontSizeLG;break;default:w=(((V=g.Input)==null?void 0:V.paddingInline)||g.paddingSM)+H,m=`calc(100% + ${((G=g.Input)==null?void 0:G.paddingBlock)||4}px + 9px)`,x=((K=g.Input)==null?void 0:K.inputFontSize)||g.fontSize;break}F&&(w=H),w=w-A,b({top:m,left:w,fontSize:x})},[h,o,g]),E.useEffect(()=>{if(typeof o!="string")return;const m=document.getElementById(o);if(!m)return;const w=()=>{s(S),m.classList.remove("no-placeholder")},x=()=>{m.value.length===0&&s(p),m.value||m.classList.add("no-placeholder")};return m.value||m.classList.add("no-placeholder"),m.addEventListener("focus",w),m.addEventListener("blur",x),()=>{m.removeEventListener("focus",w),m.removeEventListener("blur",x)}},[o,p,S]),W.jsxs(bm,{style:{maxWidth:Object.is(l,S)?(v=u.current)==null?void 0:v.offsetWidth:0},children:[W.jsx(vm,{ref:u,children:n}),W.jsx(ym,{ref:c,style:Object.assign({color:a||g.colorText},y,l),children:n})]})}),Sm=se(pe.Input)`
|
642
|
-
::placeholder, &::placeholder {
|
643
|
-
transition: color .4s;
|
644
|
-
}
|
645
|
-
|
646
|
-
.no-placeholder, &.no-placeholder {
|
647
|
-
&::placeholder, ::placeholder {
|
648
|
-
color: transparent;
|
649
|
-
}
|
650
|
-
}
|
651
|
-
`;function on(e,t){var o=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(r){delete o[r]}),o}function Br(e){for(var t=0,o,r=0,n=e.length;n>=4;++r,n-=4)o=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,t=(o&65535)*1540483477+((o>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Ei(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function n(a,i){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=r.has(a);if(Xe(!s,"Warning: There may be circular references"),s)return!1;if(a===i)return!0;if(o&&l>1)return!1;r.add(a);var c=l+1;if(Array.isArray(a)){if(!Array.isArray(i)||a.length!==i.length)return!1;for(var u=0;u<a.length;u++)if(!n(a[u],i[u],c))return!1;return!0}if(a&&i&&ye(a)==="object"&&ye(i)==="object"){var d=Object.keys(a);return d.length!==Object.keys(i).length?!1:d.every(function(g){return n(a[g],i[g],c)})}return!1}return n(e,t)}function ht(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ys(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Xc(r.key),r)}}function mt(e,t,o){return t&&ys(e.prototype,t),o&&ys(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}var wm="%";function $i(e){return e.join(wm)}var xm=function(){function e(t){ht(this,e),I(this,"instanceId",void 0),I(this,"cache",new Map),this.instanceId=t}return mt(e,[{key:"get",value:function(o){return this.opGet($i(o))}},{key:"opGet",value:function(o){return this.cache.get(o)||null}},{key:"update",value:function(o,r){return this.opUpdate($i(o),r)}},{key:"opUpdate",value:function(o,r){var n=this.cache.get(o),a=r(n);a===null?this.cache.delete(o):this.cache.set(o,a)}}]),e}(),cr="data-token-hash",Xt="data-css-hash",Cm="data-cache-path",Eo="__cssinjs_instance__";function km(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(Xt,"]"))||[],o=document.head.firstChild;Array.from(t).forEach(function(n){n[Eo]=n[Eo]||e,n[Eo]===e&&document.head.insertBefore(n,o)});var r={};Array.from(document.querySelectorAll("style[".concat(Xt,"]"))).forEach(function(n){var a=n.getAttribute(Xt);if(r[a]){if(n[Eo]===e){var i;(i=n.parentNode)===null||i===void 0||i.removeChild(n)}}else r[a]=!0})}return new xm(e)}var aa=f.createContext({hashPriority:"low",cache:km(),defaultCache:!0});function Me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lr(e,t){return Lr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},Lr(e,t)}function Do(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Lr(e,t)}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Dr(e)}function $l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return($l=function(){return!!e})()}function Em(e,t){if(t&&(ye(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Me(e)}function Wo(e){var t=$l();return function(){var o,r=Dr(e);if(t){var n=Dr(this).constructor;o=Reflect.construct(r,arguments,n)}else o=r.apply(this,arguments);return Em(this,o)}}function $m(e,t){if(e.length!==t.length)return!1;for(var o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0}var Al=function(){function e(){ht(this,e),I(this,"cache",void 0),I(this,"keys",void 0),I(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return mt(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(o){var r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return o.forEach(function(l){if(!i)i=void 0;else{var s;i=(s=i)===null||s===void 0||(s=s.map)===null||s===void 0?void 0:s.get(l)}}),(r=i)!==null&&r!==void 0&&r.value&&a&&(i.value[1]=this.cacheCallTimes++),(n=i)===null||n===void 0?void 0:n.value}},{key:"get",value:function(o){var r;return(r=this.internalGet(o,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(o){return!!this.internalGet(o)}},{key:"set",value:function(o,r){var n=this;if(!this.has(o)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var a=this.keys.reduce(function(c,u){var d=Z(c,2),g=d[1];return n.internalGet(u)[1]<g?[u,n.internalGet(u)[1]]:c},[this.keys[0],this.cacheCallTimes]),i=Z(a,1),l=i[0];this.delete(l)}this.keys.push(o)}var s=this.cache;o.forEach(function(c,u){if(u===o.length-1)s.set(c,{value:[r,n.cacheCallTimes++]});else{var d=s.get(c);d?d.map||(d.map=new Map):s.set(c,{map:new Map}),s=s.get(c).map}})}},{key:"deleteByPath",value:function(o,r){var n=o.get(r[0]);if(r.length===1){var a;return n.map?o.set(r[0],{map:n.map}):o.delete(r[0]),(a=n.value)===null||a===void 0?void 0:a[0]}var i=this.deleteByPath(n.map,r.slice(1));return(!n.map||n.map.size===0)&&!n.value&&o.delete(r[0]),i}},{key:"delete",value:function(o){if(this.has(o))return this.keys=this.keys.filter(function(r){return!$m(r,o)}),this.deleteByPath(this.cache,o)}}]),e}();I(Al,"MAX_CACHE_SIZE",20);I(Al,"MAX_CACHE_OFFSET",5);var Ss=0,Fu=function(){function e(t){ht(this,e),I(this,"derivatives",void 0),I(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=Ss,t.length===0&&lr(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),Ss+=1}return mt(e,[{key:"getDerivativeToken",value:function(o){return this.derivatives.reduce(function(r,n){return n(o,r)},void 0)}}]),e}(),_a=new Al;function Ai(e){var t=Array.isArray(e)?e:[e];return _a.has(t)||_a.set(t,new Fu(t)),_a.get(t)}var Am=new WeakMap,Ia={};function Om(e,t){for(var o=Am,r=0;r<t.length;r+=1){var n=t[r];o.has(n)||o.set(n,new WeakMap),o=o.get(n)}return o.has(Ia)||o.set(Ia,e()),o.get(Ia)}var ws=new WeakMap;function Ir(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o=ws.get(e)||"";return o||(Object.keys(e).forEach(function(r){var n=e[r];o+=r,n instanceof Fu?o+=n.id:n&&ye(n)==="object"?o+=Ir(n,t):o+=n}),t&&(o=Br(o)),ws.set(e,o)),o}function xs(e,t){return Br("".concat(t,"_").concat(Ir(e,!0)))}var Oi=xt();function Ee(e){return typeof e=="number"?"".concat(e,"px"):e}function Gn(e,t,o){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(n)return e;var a=L(L({},r),{},I(I({},cr,t),Xt,o)),i=Object.keys(a).map(function(l){var s=a[l];return s?"".concat(l,'="').concat(s,'"'):null}).filter(function(l){return l}).join(" ");return"<style ".concat(i,">").concat(e,"</style>")}var _n=function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(o?"".concat(o,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},Mm=function(t,o,r){return Object.keys(t).length?".".concat(o).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(n){var a=Z(n,2),i=a[0],l=a[1];return"".concat(i,":").concat(l,";")}).join(""),"}"):""},_u=function(t,o,r){var n={},a={};return Object.entries(t).forEach(function(i){var l,s,c=Z(i,2),u=c[0],d=c[1];if(r!=null&&(l=r.preserve)!==null&&l!==void 0&&l[u])a[u]=d;else if((typeof d=="string"||typeof d=="number")&&!(r!=null&&(s=r.ignore)!==null&&s!==void 0&&s[u])){var g,y=_n(u,r==null?void 0:r.prefix);n[y]=typeof d=="number"&&!(r!=null&&(g=r.unitless)!==null&&g!==void 0&&g[u])?"".concat(d,"px"):String(d),a[u]="var(".concat(y,")")}}),[a,Mm(n,o,{scope:r==null?void 0:r.scope})]},Rm=L({},f),Cs=Rm.useInsertionEffect,zm=function(t,o,r){f.useMemo(t,r),ct(function(){return o(!0)},r)},Tm=Cs?function(e,t,o){return Cs(function(){return e(),t()},o)}:zm,Fm=L({},f),_m=Fm.useInsertionEffect,Im=function(t){var o=[],r=!1;function n(a){if(r){process.env.NODE_ENV!=="production"&&lr(!1,"[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");return}o.push(a)}return f.useEffect(function(){return r=!1,function(){r=!0,o.length&&o.forEach(function(a){return a()})}},t),n},Pm=function(){return function(t){t()}},Nm=typeof _m<"u"?Im:Pm;function jm(){return!1}var Mi=!1;function Hm(){return Mi}const Bm=process.env.NODE_ENV==="production"?jm:Hm;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){var Pa=window;if(typeof Pa.webpackHotUpdate=="function"){var Lm=Pa.webpackHotUpdate;Pa.webpackHotUpdate=function(){return Mi=!0,setTimeout(function(){Mi=!1},0),Lm.apply(void 0,arguments)}}}function Ol(e,t,o,r,n){var a=f.useContext(aa),i=a.cache,l=[e].concat(ae(t)),s=$i(l),c=Nm([s]),u=Bm(),d=function(h){i.opUpdate(s,function(p){var S=p||[void 0,void 0],v=Z(S,2),m=v[0],w=m===void 0?0:m,x=v[1],C=x;process.env.NODE_ENV!=="production"&&x&&u&&(r==null||r(C,u),C=null);var A=C||o(),O=[w,A];return h?h(O):O})};f.useMemo(function(){d()},[s]);var g=i.opGet(s);process.env.NODE_ENV!=="production"&&!g&&(d(),g=i.opGet(s));var y=g[1];return Tm(function(){n==null||n(y)},function(b){return d(function(h){var p=Z(h,2),S=p[0],v=p[1];return b&&S===0&&(n==null||n(y)),[S+1,v]}),function(){i.opUpdate(s,function(h){var p=h||[],S=Z(p,2),v=S[0],m=v===void 0?0:v,w=S[1],x=m-1;return x===0?(c(function(){(b||!i.opGet(s))&&(r==null||r(w,!1))}),null):[m-1,w]})}},[s]),y}var Dm={},Wm=process.env.NODE_ENV!=="production"?"css-dev-only-do-not-override":"css",To=new Map;function Vm(e){To.set(e,(To.get(e)||0)+1)}function Um(e,t){if(typeof document<"u"){var o=document.querySelectorAll("style[".concat(cr,'="').concat(e,'"]'));o.forEach(function(r){if(r[Eo]===t){var n;(n=r.parentNode)===null||n===void 0||n.removeChild(r)}})}}var qm=0;function Gm(e,t){To.set(e,(To.get(e)||0)-1);var o=Array.from(To.keys()),r=o.filter(function(n){var a=To.get(n)||0;return a<=0});o.length-r.length>qm&&r.forEach(function(n){Um(n,t),To.delete(n)})}var Km=function(t,o,r,n){var a=r.getDerivativeToken(t),i=L(L({},a),o);return n&&(i=n(i)),i},Iu="token";function Xm(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=E.useContext(aa),n=r.cache.instanceId,a=r.container,i=o.salt,l=i===void 0?"":i,s=o.override,c=s===void 0?Dm:s,u=o.formatToken,d=o.getComputedToken,g=o.cssVar,y=Om(function(){return Object.assign.apply(Object,[{}].concat(ae(t)))},t),b=Ir(y),h=Ir(c),p=g?Ir(g):"",S=Ol(Iu,[l,e.id,b,h,p],function(){var v,m=d?d(y,c,e):Km(y,c,e,u),w=L({},m),x="";if(g){var C=_u(m,g.key,{prefix:g.prefix,ignore:g.ignore,unitless:g.unitless,preserve:g.preserve}),A=Z(C,2);m=A[0],x=A[1]}var O=xs(m,l);m._tokenKey=O,w._tokenKey=xs(w,l);var $=(v=g==null?void 0:g.key)!==null&&v!==void 0?v:O;m._themeKey=$,Vm($);var F="".concat(Wm,"-").concat(Br(O));return m._hashId=F,[m,F,w,x,(g==null?void 0:g.key)||""]},function(v){Gm(v[0]._themeKey,n)},function(v){var m=Z(v,4),w=m[0],x=m[3];if(g&&x){var C=po(x,Br("css-variables-".concat(w._themeKey)),{mark:Xt,prepend:"queue",attachTo:a,priority:-999});C[Eo]=n,C.setAttribute(cr,w._themeKey)}});return S}var Ym=function(t,o,r){var n=Z(t,5),a=n[2],i=n[3],l=n[4],s=r||{},c=s.plain;if(!i)return null;var u=a._tokenKey,d=-999,g={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},y=Gn(i,l,u,g,c);return[d,u,y]},Qm={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Pu="comm",Nu="rule",ju="decl",Zm="@import",Jm="@keyframes",eb="@layer",Hu=Math.abs,Ml=String.fromCharCode;function Bu(e){return e.trim()}function In(e,t,o){return e.replace(t,o)}function tb(e,t,o){return e.indexOf(t,o)}function Wr(e,t){return e.charCodeAt(t)|0}function Vr(e,t,o){return e.slice(t,o)}function fo(e){return e.length}function ob(e){return e.length}function Cn(e,t){return t.push(e),e}var ia=1,ur=1,Lu=0,Ht=0,ot=0,br="";function Rl(e,t,o,r,n,a,i,l){return{value:e,root:t,parent:o,type:r,props:n,children:a,line:ia,column:ur,length:i,return:"",siblings:l}}function rb(){return ot}function nb(){return ot=Ht>0?Wr(br,--Ht):0,ur--,ot===10&&(ur=1,ia--),ot}function Yt(){return ot=Ht<Lu?Wr(br,Ht++):0,ur++,ot===10&&(ur=1,ia++),ot}function Io(){return Wr(br,Ht)}function Pn(){return Ht}function la(e,t){return Vr(br,e,t)}function Ri(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ab(e){return ia=ur=1,Lu=fo(br=e),Ht=0,[]}function ib(e){return br="",e}function Na(e){return Bu(la(Ht-1,zi(e===91?e+2:e===40?e+1:e)))}function lb(e){for(;(ot=Io())&&ot<33;)Yt();return Ri(e)>2||Ri(ot)>3?"":" "}function sb(e,t){for(;--t&&Yt()&&!(ot<48||ot>102||ot>57&&ot<65||ot>70&&ot<97););return la(e,Pn()+(t<6&&Io()==32&&Yt()==32))}function zi(e){for(;Yt();)switch(ot){case e:return Ht;case 34:case 39:e!==34&&e!==39&&zi(ot);break;case 40:e===41&&zi(e);break;case 92:Yt();break}return Ht}function cb(e,t){for(;Yt()&&e+ot!==57;)if(e+ot===84&&Io()===47)break;return"/*"+la(t,Ht-1)+"*"+Ml(e===47?e:Yt())}function ub(e){for(;!Ri(Io());)Yt();return la(e,Ht)}function db(e){return ib(Nn("",null,null,null,[""],e=ab(e),0,[0],e))}function Nn(e,t,o,r,n,a,i,l,s){for(var c=0,u=0,d=i,g=0,y=0,b=0,h=1,p=1,S=1,v=0,m="",w=n,x=a,C=r,A=m;p;)switch(b=v,v=Yt()){case 40:if(b!=108&&Wr(A,d-1)==58){tb(A+=In(Na(v),"&","&\f"),"&\f",Hu(c?l[c-1]:0))!=-1&&(S=-1);break}case 34:case 39:case 91:A+=Na(v);break;case 9:case 10:case 13:case 32:A+=lb(b);break;case 92:A+=sb(Pn()-1,7);continue;case 47:switch(Io()){case 42:case 47:Cn(fb(cb(Yt(),Pn()),t,o,s),s);break;default:A+="/"}break;case 123*h:l[c++]=fo(A)*S;case 125*h:case 59:case 0:switch(v){case 0:case 125:p=0;case 59+u:S==-1&&(A=In(A,/\f/g,"")),y>0&&fo(A)-d&&Cn(y>32?Es(A+";",r,o,d-1,s):Es(In(A," ","")+";",r,o,d-2,s),s);break;case 59:A+=";";default:if(Cn(C=ks(A,t,o,c,u,n,l,m,w=[],x=[],d,a),a),v===123)if(u===0)Nn(A,t,C,C,w,a,d,l,x);else switch(g===99&&Wr(A,3)===110?100:g){case 100:case 108:case 109:case 115:Nn(e,C,C,r&&Cn(ks(e,C,C,0,0,n,l,m,n,w=[],d,x),x),n,x,d,l,r?w:x);break;default:Nn(A,C,C,C,[""],x,0,l,x)}}c=u=y=0,h=S=1,m=A="",d=i;break;case 58:d=1+fo(A),y=b;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&nb()==125)continue}switch(A+=Ml(v),v*h){case 38:S=u>0?1:(A+="\f",-1);break;case 44:l[c++]=(fo(A)-1)*S,S=1;break;case 64:Io()===45&&(A+=Na(Yt())),g=Io(),u=d=fo(m=A+=ub(Pn())),v++;break;case 45:b===45&&fo(A)==2&&(h=0)}}return a}function ks(e,t,o,r,n,a,i,l,s,c,u,d){for(var g=n-1,y=n===0?a:[""],b=ob(y),h=0,p=0,S=0;h<r;++h)for(var v=0,m=Vr(e,g+1,g=Hu(p=i[h])),w=e;v<b;++v)(w=Bu(p>0?y[v]+" "+m:In(m,/&\f/g,y[v])))&&(s[S++]=w);return Rl(e,t,o,n===0?Nu:l,s,c,u,d)}function fb(e,t,o,r){return Rl(e,t,o,Pu,Ml(rb()),Vr(e,2,-2),0,r)}function Es(e,t,o,r,n){return Rl(e,t,o,ju,Vr(e,0,r),Vr(e,r+1,-1),r,n)}function Ti(e,t){for(var o="",r=0;r<e.length;r++)o+=t(e[r],r,e,t)||"";return o}function gb(e,t,o,r){switch(e.type){case eb:if(e.children.length)break;case Zm:case ju:return e.return=e.return||e.value;case Pu:return"";case Jm:return e.return=e.value+"{"+Ti(e.children,r)+"}";case Nu:if(!fo(e.value=e.props.join(",")))return""}return fo(o=Ti(e.children,r))?e.return=e.value+"{"+o+"}":""}function Du(e,t){var o=t.path,r=t.parentSelectors;Xe(!1,"[Ant Design CSS-in-JS] ".concat(o?"Error in ".concat(o,": "):"").concat(e).concat(r.length?" Selector: ".concat(r.join(" | ")):""))}var pb=function(t,o,r){if(t==="content"){var n=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,a=["normal","none","initial","inherit","unset"];(typeof o!="string"||a.indexOf(o)===-1&&!n.test(o)&&(o.charAt(0)!==o.charAt(o.length-1)||o.charAt(0)!=='"'&&o.charAt(0)!=="'"))&&Du("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(o,"\"'`."),r)}},hb=function(t,o,r){t==="animation"&&r.hashId&&o!=="none"&&Du("You seem to be using hashed animation '".concat(o,"', in which case 'animationName' with Keyframe as value is recommended."),r)},$s="data-ant-cssinjs-cache-path",Wu="_FILE_STYLE__",Po,Vu=!0;function mb(){if(!Po&&(Po={},xt())){var e=document.createElement("div");e.className=$s,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(n){var a=n.split(":"),i=Z(a,2),l=i[0],s=i[1];Po[l]=s});var o=document.querySelector("style[".concat($s,"]"));if(o){var r;Vu=!1,(r=o.parentNode)===null||r===void 0||r.removeChild(o)}document.body.removeChild(e)}}function bb(e){return mb(),!!Po[e]}function vb(e){var t=Po[e],o=null;if(t&&xt())if(Vu)o=Wu;else{var r=document.querySelector("style[".concat(Xt,'="').concat(Po[e],'"]'));r?o=r.innerHTML:delete Po[e]}return[o,t]}var Uu="_skip_check_",qu="_multi_value_";function jn(e){var t=Ti(db(e),gb);return t.replace(/\{%%%\:[^;];}/g,";")}function yb(e){return ye(e)==="object"&&e&&(Uu in e||qu in e)}function Sb(e,t,o){if(!t)return e;var r=".".concat(t),n=o==="low"?":where(".concat(r,")"):r,a=e.split(",").map(function(i){var l,s=i.trim().split(/\s+/),c=s[0]||"",u=((l=c.match(/^\w+/))===null||l===void 0?void 0:l[0])||"";return c="".concat(u).concat(n).concat(c.slice(u.length)),[c].concat(ae(s.slice(1))).join(" ")});return a.join(",")}var wb=function e(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},n=r.root,a=r.injectHash,i=r.parentSelectors,l=o.hashId,s=o.layer,c=o.path,u=o.hashPriority,d=o.transformers,g=d===void 0?[]:d,y=o.linters,b=y===void 0?[]:y,h="",p={};function S(w){var x=w.getName(l);if(!p[x]){var C=e(w.style,o,{root:!1,parentSelectors:i}),A=Z(C,1),O=A[0];p[x]="@keyframes ".concat(w.getName(l)).concat(O)}}function v(w){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return w.forEach(function(C){Array.isArray(C)?v(C,x):C&&x.push(C)}),x}var m=v(Array.isArray(t)?t:[t]);return m.forEach(function(w){var x=typeof w=="string"&&!n?{}:w;if(typeof x=="string")h+="".concat(x,`
|
652
|
-
`);else if(x._keyframe)S(x);else{var C=g.reduce(function(A,O){var $;return(O==null||($=O.visit)===null||$===void 0?void 0:$.call(O,A))||A},x);Object.keys(C).forEach(function(A){var O=C[A];if(ye(O)==="object"&&O&&(A!=="animationName"||!O._keyframe)&&!yb(O)){var $=!1,F=A.trim(),B=!1;(n||a)&&l?F.startsWith("@")?$=!0:F=Sb(A,l,u):n&&!l&&(F==="&"||F==="")&&(F="",B=!0);var H=e(O,o,{root:B,injectHash:$,parentSelectors:[].concat(ae(i),[F])}),P=Z(H,2),R=P[0],D=P[1];p=L(L({},p),D),h+="".concat(F).concat(R)}else{let z=function(j,_){process.env.NODE_ENV!=="production"&&(ye(O)!=="object"||!(O!=null&&O[Uu]))&&[pb,hb].concat(ae(b)).forEach(function(G){return G(j,_,{path:c,hashId:l,parentSelectors:i})});var N=j.replace(/[A-Z]/g,function(G){return"-".concat(G.toLowerCase())}),V=_;!Qm[j]&&typeof V=="number"&&V!==0&&(V="".concat(V,"px")),j==="animationName"&&_!==null&&_!==void 0&&_._keyframe&&(S(_),V=_.getName(l)),h+="".concat(N,":").concat(V,";")};var T,M=(T=O==null?void 0:O.value)!==null&&T!==void 0?T:O;ye(O)==="object"&&O!==null&&O!==void 0&&O[qu]&&Array.isArray(M)?M.forEach(function(j){z(A,j)}):z(A,M)}})}}),n?s&&(h="@layer ".concat(s.name," {").concat(h,"}"),s.dependencies&&(p["@layer ".concat(s.name)]=s.dependencies.map(function(w){return"@layer ".concat(w,", ").concat(s.name,";")}).join(`
|
653
|
-
`))):h="{".concat(h,"}"),[h,p]};function Gu(e,t){return Br("".concat(e.join("%")).concat(t))}function xb(){return null}var Ku="style";function Fi(e,t){var o=e.token,r=e.path,n=e.hashId,a=e.layer,i=e.nonce,l=e.clientOnly,s=e.order,c=s===void 0?0:s,u=f.useContext(aa),d=u.autoClear,g=u.mock,y=u.defaultCache,b=u.hashPriority,h=u.container,p=u.ssrInline,S=u.transformers,v=u.linters,m=u.cache,w=u.layer,x=o._tokenKey,C=[x];w&&C.push("layer"),C.push.apply(C,ae(r));var A=Oi;process.env.NODE_ENV!=="production"&&g!==void 0&&(A=g==="client");var O=Ol(Ku,C,function(){var P=C.join("|");if(bb(P)){var R=vb(P),D=Z(R,2),T=D[0],M=D[1];if(T)return[T,x,M,{},l,c]}var z=t(),j=wb(z,{hashId:n,hashPriority:b,layer:w?a:void 0,path:r.join("-"),transformers:S,linters:v}),_=Z(j,2),N=_[0],V=_[1],G=jn(N),K=Gu(C,G);return[G,x,K,V,l,c]},function(P,R){var D=Z(P,3),T=D[2];(R||d)&&Oi&&Hr(T,{mark:Xt})},function(P){var R=Z(P,4),D=R[0];R[1];var T=R[2],M=R[3];if(A&&D!==Wu){var z={mark:Xt,prepend:w?!1:"queue",attachTo:h,priority:c},j=typeof i=="function"?i():i;j&&(z.csp={nonce:j});var _=[],N=[];Object.keys(M).forEach(function(G){G.startsWith("@layer")?_.push(G):N.push(G)}),_.forEach(function(G){po(jn(M[G]),"_layer-".concat(G),L(L({},z),{},{prepend:!0}))});var V=po(D,T,z);V[Eo]=m.instanceId,V.setAttribute(cr,x),process.env.NODE_ENV!=="production"&&V.setAttribute(Cm,C.join("|")),N.forEach(function(G){po(jn(M[G]),"_effect-".concat(G),z)})}}),$=Z(O,3),F=$[0],B=$[1],H=$[2];return function(P){var R;return!p||A||!y?R=f.createElement(xb,null):R=f.createElement("style",He({},I(I({},cr,B),Xt,H),{dangerouslySetInnerHTML:{__html:F}})),f.createElement(f.Fragment,null,R,P)}}var Cb=function(t,o,r){var n=Z(t,6),a=n[0],i=n[1],l=n[2],s=n[3],c=n[4],u=n[5],d=r||{},g=d.plain;if(c)return null;var y=a,b={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return y=Gn(a,i,l,b,g),s&&Object.keys(s).forEach(function(h){if(!o[h]){o[h]=!0;var p=jn(s[h]),S=Gn(p,i,"_effect-".concat(h),b,g);h.startsWith("@layer")?y=S+y:y+=S}}),[u,l,y]},Xu="cssVar",kb=function(t,o){var r=t.key,n=t.prefix,a=t.unitless,i=t.ignore,l=t.token,s=t.scope,c=s===void 0?"":s,u=E.useContext(aa),d=u.cache.instanceId,g=u.container,y=l._tokenKey,b=[].concat(ae(t.path),[r,c,y]),h=Ol(Xu,b,function(){var p=o(),S=_u(p,r,{prefix:n,unitless:a,ignore:i,scope:c}),v=Z(S,2),m=v[0],w=v[1],x=Gu(b,w);return[m,w,x,r]},function(p){var S=Z(p,3),v=S[2];Oi&&Hr(v,{mark:Xt})},function(p){var S=Z(p,3),v=S[1],m=S[2];if(v){var w=po(v,m,{mark:Xt,prepend:"queue",attachTo:g,priority:-999});w[Eo]=d,w.setAttribute(cr,r)}});return h},Eb=function(t,o,r){var n=Z(t,4),a=n[1],i=n[2],l=n[3],s=r||{},c=s.plain;if(!a)return null;var u=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},g=Gn(a,l,i,d,c);return[u,i,g]};I(I(I({},Ku,Cb),Iu,Ym),Xu,Eb);var Lt=function(){function e(t,o){ht(this,e),I(this,"name",void 0),I(this,"style",void 0),I(this,"_keyframe",!0),this.name=t,this.style=o}return mt(e,[{key:"getName",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return o?"".concat(o,"-").concat(this.name):this.name}}]),e}();function Yo(e){return e.notSplit=!0,e}Yo(["borderTop","borderBottom"]),Yo(["borderTop"]),Yo(["borderBottom"]),Yo(["borderLeft","borderRight"]),Yo(["borderLeft"]),Yo(["borderRight"]);function Yu(){}let uo=null;function $b(){uo=null,nu()}let zl=Yu;process.env.NODE_ENV!=="production"&&(zl=(e,t,o)=>{Xe(e,`[antd: ${t}] ${o}`),process.env.NODE_ENV==="test"&&$b()});const Qu=f.createContext({}),Ct=process.env.NODE_ENV!=="production"?e=>{const{strict:t}=f.useContext(Qu),o=(r,n,a)=>{if(!r)if(t===!1&&n==="deprecated"){const i=uo;uo||(uo={}),uo[e]=uo[e]||[],uo[e].includes(a||"")||uo[e].push(a||""),i||console.warn("[antd] There exists deprecated usage in your code:",uo)}else process.env.NODE_ENV!=="production"&&zl(r,e,a)};return o.deprecated=(r,n,a,i)=>{o(r,"deprecated",`\`${n}\` is deprecated. Please use \`${a}\` instead.${i?` ${i}`:""}`)},o}:()=>{const e=()=>{};return e.deprecated=Yu,e},sa=zl,Zu=E.createContext(void 0);var Ab={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},Ob={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},Mb=L(L({},Ob),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const Ju={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},As={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Mb),timePickerLocale:Object.assign({},Ju)},Et="${label} is not a valid ${type}",Ho={locale:"en",Pagination:Ab,DatePicker:As,TimePicker:Ju,Calendar:As,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Et,method:Et,array:Et,object:Et,number:Et,date:Et,boolean:Et,integer:Et,float:Et,regexp:Et,email:Et,url:Et,hex:Et},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty"}};Object.assign({},Ho.Modal);let Hn=[];const Os=()=>Hn.reduce((e,t)=>Object.assign(Object.assign({},e),t),Ho.Modal);function Rb(e){if(e){const t=Object.assign({},e);return Hn.push(t),Os(),()=>{Hn=Hn.filter(o=>o!==t),Os()}}Object.assign({},Ho.Modal)}const Tl=E.createContext(void 0),zb=(e,t)=>{const o=f.useContext(Tl),r=f.useMemo(()=>{var a;const i=Ho[e],l=(a=o==null?void 0:o[e])!==null&&a!==void 0?a:{};return Object.assign(Object.assign({},typeof i=="function"?i():i),l||{})},[e,t,o]),n=f.useMemo(()=>{const a=o==null?void 0:o.locale;return o!=null&&o.exist&&!a?Ho.locale:a},[o]);return[r,n]},ed="internalMark",td=e=>{const{locale:t={},children:o,_ANT_MARK__:r}=e;if(process.env.NODE_ENV!=="production"){const a=Ct("LocaleProvider");process.env.NODE_ENV!=="production"&&a(r===ed,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale")}f.useEffect(()=>Rb(t==null?void 0:t.Modal),[t]);const n=f.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return f.createElement(Tl.Provider,{value:n},o)};process.env.NODE_ENV!=="production"&&(td.displayName="LocaleProvider");const od={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Ur=Object.assign(Object.assign({},od),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
654
|
-
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
655
|
-
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});function Tb(e,t){let{generateColorPalettes:o,generateNeutralColorPalettes:r}=t;const{colorSuccess:n,colorWarning:a,colorError:i,colorInfo:l,colorPrimary:s,colorBgBase:c,colorTextBase:u}=e,d=o(s),g=o(n),y=o(a),b=o(i),h=o(l),p=r(c,u),S=e.colorLink||e.colorInfo,v=o(S);return Object.assign(Object.assign({},p),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:g[1],colorSuccessBgHover:g[2],colorSuccessBorder:g[3],colorSuccessBorderHover:g[4],colorSuccessHover:g[4],colorSuccess:g[6],colorSuccessActive:g[7],colorSuccessTextHover:g[8],colorSuccessText:g[9],colorSuccessTextActive:g[10],colorErrorBg:b[1],colorErrorBgHover:b[2],colorErrorBgActive:b[3],colorErrorBorder:b[3],colorErrorBorderHover:b[4],colorErrorHover:b[5],colorError:b[6],colorErrorActive:b[7],colorErrorTextHover:b[8],colorErrorText:b[9],colorErrorTextActive:b[10],colorWarningBg:y[1],colorWarningBgHover:y[2],colorWarningBorder:y[3],colorWarningBorderHover:y[4],colorWarningHover:y[4],colorWarning:y[6],colorWarningActive:y[7],colorWarningTextHover:y[8],colorWarningText:y[9],colorWarningTextActive:y[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:v[4],colorLink:v[6],colorLinkActive:v[7],colorBgMask:new Mt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Fb=e=>{let t=e,o=e,r=e,n=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?o=4:e<8&&e>=7?o=5:e<14&&e>=8?o=6:e<16&&e>=14?o=7:e>=16&&(o=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?n=4:e>=8&&(n=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:o,borderRadiusLG:t,borderRadiusOuter:n}};function _b(e){const{motionUnit:t,motionBase:o,borderRadius:r,lineWidth:n}=e;return Object.assign({motionDurationFast:`${(o+t).toFixed(1)}s`,motionDurationMid:`${(o+t*2).toFixed(1)}s`,motionDurationSlow:`${(o+t*3).toFixed(1)}s`,lineWidthBold:n+1},Fb(r))}const Ib=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function Bn(e){return(e+8)/e}function Pb(e){const t=new Array(10).fill(null).map((o,r)=>{const n=r-1,a=e*Math.pow(Math.E,n/5),i=r>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return t[1]=e,t.map(o=>({size:o,lineHeight:Bn(o)}))}const Nb=e=>{const t=Pb(e),o=t.map(u=>u.size),r=t.map(u=>u.lineHeight),n=o[1],a=o[0],i=o[2],l=r[1],s=r[0],c=r[2];return{fontSizeSM:a,fontSize:n,fontSizeLG:i,fontSizeXL:o[3],fontSizeHeading1:o[6],fontSizeHeading2:o[5],fontSizeHeading3:o[4],fontSizeHeading4:o[3],fontSizeHeading5:o[2],lineHeight:l,lineHeightLG:c,lineHeightSM:s,fontHeight:Math.round(l*n),fontHeightLG:Math.round(c*i),fontHeightSM:Math.round(s*a),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function jb(e){const{sizeUnit:t,sizeStep:o}=e;return{sizeXXL:t*(o+8),sizeXL:t*(o+4),sizeLG:t*(o+2),sizeMD:t*(o+1),sizeMS:t*o,size:t*o,sizeSM:t*(o-1),sizeXS:t*(o-2),sizeXXS:t*(o-3)}}const co=(e,t)=>new Mt(e).setAlpha(t).toRgbString(),Rr=(e,t)=>new Mt(e).darken(t).toHexString(),Hb=e=>{const t=jr(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Bb=(e,t)=>{const o=e||"#fff",r=t||"#000";return{colorBgBase:o,colorTextBase:r,colorText:co(r,.88),colorTextSecondary:co(r,.65),colorTextTertiary:co(r,.45),colorTextQuaternary:co(r,.25),colorFill:co(r,.15),colorFillSecondary:co(r,.06),colorFillTertiary:co(r,.04),colorFillQuaternary:co(r,.02),colorBgLayout:Rr(o,4),colorBgContainer:Rr(o,0),colorBgElevated:Rr(o,0),colorBgSpotlight:co(r,.85),colorBgBlur:"transparent",colorBorder:Rr(o,15),colorBorderSecondary:Rr(o,6)}};function Lb(e){za.pink=za.magenta,Ta.pink=Ta.magenta;const t=Object.keys(od).map(o=>{const r=e[o]===za[o]?Ta[o]:jr(e[o]);return new Array(10).fill(1).reduce((n,a,i)=>(n[`${o}-${i+1}`]=r[i],n[`${o}${i+1}`]=r[i],n),{})}).reduce((o,r)=>(o=Object.assign(Object.assign({},o),r),o),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),Tb(e,{generateColorPalettes:Hb,generateNeutralColorPalettes:Bb})),Nb(e.fontSize)),jb(e)),Ib(e)),_b(e))}const rd=Ai(Lb),_i={token:Ur,override:{override:Ur},hashed:!0},nd=E.createContext(_i),qr="ant",ad="anticon",Db=["outlined","borderless","filled"],Wb=(e,t)=>t||(e?`${qr}-${e}`:qr),rt=f.createContext({getPrefixCls:Wb,iconPrefixCls:ad}),Vb=`-ant-${Date.now()}-${Math.random()}`;function Ub(e,t){const o={},r=(i,l)=>{let s=i.clone();return s=(l==null?void 0:l(s))||s,s.toRgbString()},n=(i,l)=>{const s=new Mt(i),c=jr(s.toRgbString());o[`${l}-color`]=r(s),o[`${l}-color-disabled`]=c[1],o[`${l}-color-hover`]=c[4],o[`${l}-color-active`]=c[6],o[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),o[`${l}-color-deprecated-bg`]=c[0],o[`${l}-color-deprecated-border`]=c[2]};if(t.primaryColor){n(t.primaryColor,"primary");const i=new Mt(t.primaryColor),l=jr(i.toRgbString());l.forEach((c,u)=>{o[`primary-${u+1}`]=c}),o["primary-color-deprecated-l-35"]=r(i,c=>c.lighten(35)),o["primary-color-deprecated-l-20"]=r(i,c=>c.lighten(20)),o["primary-color-deprecated-t-20"]=r(i,c=>c.tint(20)),o["primary-color-deprecated-t-50"]=r(i,c=>c.tint(50)),o["primary-color-deprecated-f-12"]=r(i,c=>c.setAlpha(c.getAlpha()*.12));const s=new Mt(l[0]);o["primary-color-active-deprecated-f-30"]=r(s,c=>c.setAlpha(c.getAlpha()*.3)),o["primary-color-active-deprecated-d-02"]=r(s,c=>c.darken(2))}return t.successColor&&n(t.successColor,"success"),t.warningColor&&n(t.warningColor,"warning"),t.errorColor&&n(t.errorColor,"error"),t.infoColor&&n(t.infoColor,"info"),`
|
656
|
-
:root {
|
657
|
-
${Object.keys(o).map(i=>`--${e}-${i}: ${o[i]};`).join(`
|
658
|
-
`)}
|
659
|
-
}
|
660
|
-
`.trim()}function qb(e,t){const o=Ub(e,t);xt()?po(o,`${Vb}-dynamic-theme`):process.env.NODE_ENV!=="production"&&sa(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}const Bo=f.createContext(!1),id=e=>{let{children:t,disabled:o}=e;const r=f.useContext(Bo);return f.createElement(Bo.Provider,{value:o??r},t)};function Gb(){const e=E.useContext(Bo),t=E.useContext(jo);return{componentDisabled:e,componentSize:t}}var ld=mt(function e(){ht(this,e)}),sd="CALC_UNIT",Kb=new RegExp(sd,"g");function ja(e){return typeof e=="number"?"".concat(e).concat(sd):e}var Xb=function(e){Do(o,e);var t=Wo(o);function o(r,n){var a;ht(this,o),a=t.call(this),I(Me(a),"result",""),I(Me(a),"unitlessCssVar",void 0),I(Me(a),"lowPriority",void 0);var i=ye(r);return a.unitlessCssVar=n,r instanceof o?a.result="(".concat(r.result,")"):i==="number"?a.result=ja(r):i==="string"&&(a.result=r),a}return mt(o,[{key:"add",value:function(n){return n instanceof o?this.result="".concat(this.result," + ").concat(n.getResult()):(typeof n=="number"||typeof n=="string")&&(this.result="".concat(this.result," + ").concat(ja(n))),this.lowPriority=!0,this}},{key:"sub",value:function(n){return n instanceof o?this.result="".concat(this.result," - ").concat(n.getResult()):(typeof n=="number"||typeof n=="string")&&(this.result="".concat(this.result," - ").concat(ja(n))),this.lowPriority=!0,this}},{key:"mul",value:function(n){return this.lowPriority&&(this.result="(".concat(this.result,")")),n instanceof o?this.result="".concat(this.result," * ").concat(n.getResult(!0)):(typeof n=="number"||typeof n=="string")&&(this.result="".concat(this.result," * ").concat(n)),this.lowPriority=!1,this}},{key:"div",value:function(n){return this.lowPriority&&(this.result="(".concat(this.result,")")),n instanceof o?this.result="".concat(this.result," / ").concat(n.getResult(!0)):(typeof n=="number"||typeof n=="string")&&(this.result="".concat(this.result," / ").concat(n)),this.lowPriority=!1,this}},{key:"getResult",value:function(n){return this.lowPriority||n?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(n){var a=this,i=n||{},l=i.unit,s=!0;return typeof l=="boolean"?s=l:Array.from(this.unitlessCssVar).some(function(c){return a.result.includes(c)})&&(s=!1),this.result=this.result.replace(Kb,s?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),o}(ld),Yb=function(e){Do(o,e);var t=Wo(o);function o(r){var n;return ht(this,o),n=t.call(this),I(Me(n),"result",0),r instanceof o?n.result=r.result:typeof r=="number"&&(n.result=r),n}return mt(o,[{key:"add",value:function(n){return n instanceof o?this.result+=n.result:typeof n=="number"&&(this.result+=n),this}},{key:"sub",value:function(n){return n instanceof o?this.result-=n.result:typeof n=="number"&&(this.result-=n),this}},{key:"mul",value:function(n){return n instanceof o?this.result*=n.result:typeof n=="number"&&(this.result*=n),this}},{key:"div",value:function(n){return n instanceof o?this.result/=n.result:typeof n=="number"&&(this.result/=n),this}},{key:"equal",value:function(){return this.result}}]),o}(ld),Qb=function(t,o){var r=t==="css"?Xb:Yb;return function(n){return new r(n,o)}},Ms=function(t,o){return"".concat([o,t.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function Rs(e,t,o,r){var n=L({},t[e]);if(r!=null&&r.deprecatedTokens){var a=r.deprecatedTokens;a.forEach(function(l){var s=Z(l,2),c=s[0],u=s[1];if(process.env.NODE_ENV!=="production"&&Xe(!(n!=null&&n[c]),"Component Token `".concat(String(c),"` of ").concat(String(e)," is deprecated. Please use `").concat(String(u),"` instead.")),n!=null&&n[c]||n!=null&&n[u]){var d;(d=n[u])!==null&&d!==void 0||(n[u]=n==null?void 0:n[c])}})}var i=L(L({},o),n);return Object.keys(i).forEach(function(l){i[l]===t[l]&&delete i[l]}),i}var cd=process.env.NODE_ENV!=="production"||typeof CSSINJS_STATISTIC<"u",Ii=!0;function zt(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];if(!cd)return Object.assign.apply(Object,[{}].concat(t));Ii=!1;var r={};return t.forEach(function(n){if(ye(n)==="object"){var a=Object.keys(n);a.forEach(function(i){Object.defineProperty(r,i,{configurable:!0,enumerable:!0,get:function(){return n[i]}})})}}),Ii=!0,r}var zs={};function Zb(){}var Jb=function(t){var o,r=t,n=Zb;return cd&&typeof Proxy<"u"&&(o=new Set,r=new Proxy(t,{get:function(i,l){return Ii&&o.add(l),i[l]}}),n=function(i,l){var s;zs[i]={global:Array.from(o),component:L(L({},(s=zs[i])===null||s===void 0?void 0:s.component),l)}}),{token:r,keys:o,flush:n}};function Ts(e,t,o){if(typeof o=="function"){var r;return o(zt(t,(r=t[e])!==null&&r!==void 0?r:{}))}return o??{}}function e0(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var o=arguments.length,r=new Array(o),n=0;n<o;n++)r[n]=arguments[n];return"max(".concat(r.map(function(a){return Ee(a)}).join(","),")")},min:function(){for(var o=arguments.length,r=new Array(o),n=0;n<o;n++)r[n]=arguments[n];return"min(".concat(r.map(function(a){return Ee(a)}).join(","),")")}}}var t0=1e3*60*10,o0=function(){function e(){ht(this,e),I(this,"map",new Map),I(this,"objectIDMap",new WeakMap),I(this,"nextID",0),I(this,"lastAccessBeat",new Map),I(this,"accessBeat",0)}return mt(e,[{key:"set",value:function(o,r){this.clear();var n=this.getCompositeKey(o);this.map.set(n,r),this.lastAccessBeat.set(n,Date.now())}},{key:"get",value:function(o){var r=this.getCompositeKey(o),n=this.map.get(r);return this.lastAccessBeat.set(r,Date.now()),this.accessBeat+=1,n}},{key:"getCompositeKey",value:function(o){var r=this,n=o.map(function(a){return a&&ye(a)==="object"?"obj_".concat(r.getObjectID(a)):"".concat(ye(a),"_").concat(a)});return n.join("|")}},{key:"getObjectID",value:function(o){if(this.objectIDMap.has(o))return this.objectIDMap.get(o);var r=this.nextID;return this.objectIDMap.set(o,r),this.nextID+=1,r}},{key:"clear",value:function(){var o=this;if(this.accessBeat>1e4){var r=Date.now();this.lastAccessBeat.forEach(function(n,a){r-n>t0&&(o.map.delete(a),o.lastAccessBeat.delete(a))}),this.accessBeat=0}}}]),e}(),Fs=new o0;function r0(e,t){return E.useMemo(function(){var o=Fs.get(t);if(o)return o;var r=e();return Fs.set(t,r),r},t)}var n0=function(){return{}};function a0(e){var t=e.useCSP,o=t===void 0?n0:t,r=e.useToken,n=e.usePrefix,a=e.getResetStyles,i=e.getCommonStyle,l=e.getCompUnitless;function s(g,y,b,h){var p=Array.isArray(g)?g[0]:g;function S(O){return"".concat(String(p)).concat(O.slice(0,1).toUpperCase()).concat(O.slice(1))}var v=(h==null?void 0:h.unitless)||{},m=typeof l=="function"?l(g):{},w=L(L({},m),{},I({},S("zIndexPopup"),!0));Object.keys(v).forEach(function(O){w[S(O)]=v[O]});var x=L(L({},h),{},{unitless:w,prefixToken:S}),C=u(g,y,b,x),A=c(p,b,x);return function(O){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:O,F=C(O,$),B=Z(F,2),H=B[1],P=A($),R=Z(P,2),D=R[0],T=R[1];return[D,H,T]}}function c(g,y,b){var h=b.unitless,p=b.injectStyle,S=p===void 0?!0:p,v=b.prefixToken,m=b.ignore,w=function(A){var O=A.rootCls,$=A.cssVar,F=$===void 0?{}:$,B=r(),H=B.realToken;return kb({path:[g],prefix:F.prefix,key:F.key,unitless:h,ignore:m,token:H,scope:O},function(){var P=Ts(g,H,y),R=Rs(g,H,P,{deprecatedTokens:b==null?void 0:b.deprecatedTokens});return Object.keys(P).forEach(function(D){R[v(D)]=R[D],delete R[D]}),R}),null},x=function(A){var O=r(),$=O.cssVar;return[function(F){return S&&$?E.createElement(E.Fragment,null,E.createElement(w,{rootCls:A,cssVar:$,component:g}),F):F},$==null?void 0:$.key]};return x}function u(g,y,b){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},p=Array.isArray(g)?g:[g,g],S=Z(p,1),v=S[0],m=p.join("-");return function(w){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w,C=r(),A=C.theme,O=C.realToken,$=C.hashId,F=C.token,B=C.cssVar,H=n(),P=H.rootPrefixCls,R=H.iconPrefixCls,D=o(),T=B?"css":"js",M=r0(function(){var G=new Set;return B&&Object.keys(h.unitless||{}).forEach(function(K){G.add(_n(K,B.prefix)),G.add(_n(K,Ms(v,B.prefix)))}),Qb(T,G)},[T,v,B==null?void 0:B.prefix]),z=e0(T),j=z.max,_=z.min,N={theme:A,token:F,hashId:$,nonce:function(){return D.nonce},clientOnly:h.clientOnly,layer:{name:"antd"},order:h.order||-999};Fi(L(L({},N),{},{clientOnly:!1,path:["Shared",P]}),function(){return typeof a=="function"?a(F):[]});var V=Fi(L(L({},N),{},{path:[m,w,R]}),function(){if(h.injectStyle===!1)return[];var G=Jb(F),K=G.token,ee=G.flush,X=Ts(v,O,b),Y=".".concat(w),J=Rs(v,O,X,{deprecatedTokens:h.deprecatedTokens});B&&ye(X)==="object"&&Object.keys(X).forEach(function(ce){X[ce]="var(".concat(_n(ce,Ms(v,B.prefix)),")")});var oe=zt(K,{componentCls:Y,prefixCls:w,iconCls:".".concat(R),antCls:".".concat(P),calc:M,max:j,min:_},B?X:J),ne=y(oe,{hashId:$,prefixCls:w,rootPrefixCls:P,iconPrefixCls:R});ee(v,J);var he=typeof i=="function"?i(oe,w,x,h.resetFont):null;return[h.resetStyle===!1?null:he,ne]});return[V,$]}}function d(g,y,b){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},p=u(g,y,b,L({resetStyle:!1,order:-998},h)),S=function(m){var w=m.prefixCls,x=m.rootCls,C=x===void 0?w:x;return p(w,C),null};return process.env.NODE_ENV!=="production"&&(S.displayName="SubStyle_".concat(String(Array.isArray(g)?g.join("."):g))),S}return{genStyleHooks:s,genSubStyleComponent:d,genComponentStyleHook:u}}const Kn=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],i0="5.19.4";function Ha(e){return e>=0&&e<=255}function kn(e,t){const{r:o,g:r,b:n,a}=new Mt(e).toRgb();if(a<1)return e;const{r:i,g:l,b:s}=new Mt(t).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((o-i*(1-c))/c),d=Math.round((r-l*(1-c))/c),g=Math.round((n-s*(1-c))/c);if(Ha(u)&&Ha(d)&&Ha(g))return new Mt({r:u,g:d,b:g,a:Math.round(c*100)/100}).toRgbString()}return new Mt({r:o,g:r,b:n,a:1}).toRgbString()}var l0=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};function ud(e){const{override:t}=e,o=l0(e,["override"]),r=Object.assign({},t);Object.keys(Ur).forEach(g=>{delete r[g]});const n=Object.assign(Object.assign({},o),r),a=480,i=576,l=768,s=992,c=1200,u=1600;if(n.motion===!1){const g="0s";n.motionDurationFast=g,n.motionDurationMid=g,n.motionDurationSlow=g}return Object.assign(Object.assign(Object.assign({},n),{colorFillContent:n.colorFillSecondary,colorFillContentHover:n.colorFill,colorFillAlter:n.colorFillQuaternary,colorBgContainerDisabled:n.colorFillTertiary,colorBorderBg:n.colorBgContainer,colorSplit:kn(n.colorBorderSecondary,n.colorBgContainer),colorTextPlaceholder:n.colorTextQuaternary,colorTextDisabled:n.colorTextQuaternary,colorTextHeading:n.colorText,colorTextLabel:n.colorTextSecondary,colorTextDescription:n.colorTextTertiary,colorTextLightSolid:n.colorWhite,colorHighlight:n.colorError,colorBgTextHover:n.colorFillSecondary,colorBgTextActive:n.colorFill,colorIcon:n.colorTextTertiary,colorIconHover:n.colorText,colorErrorOutline:kn(n.colorErrorBg,n.colorBgContainer),colorWarningOutline:kn(n.colorWarningBg,n.colorBgContainer),fontSizeIcon:n.fontSizeSM,lineWidthFocus:n.lineWidth*4,lineWidth:n.lineWidth,controlOutlineWidth:n.lineWidth*2,controlInteractiveSize:n.controlHeight/2,controlItemBgHover:n.colorFillTertiary,controlItemBgActive:n.colorPrimaryBg,controlItemBgActiveHover:n.colorPrimaryBgHover,controlItemBgActiveDisabled:n.colorFill,controlTmpOutline:n.colorFillQuaternary,controlOutline:kn(n.colorPrimaryBg,n.colorBgContainer),lineType:n.lineType,borderRadius:n.borderRadius,borderRadiusXS:n.borderRadiusXS,borderRadiusSM:n.borderRadiusSM,borderRadiusLG:n.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:n.sizeXXS,paddingXS:n.sizeXS,paddingSM:n.sizeSM,padding:n.size,paddingMD:n.sizeMD,paddingLG:n.sizeLG,paddingXL:n.sizeXL,paddingContentHorizontalLG:n.sizeLG,paddingContentVerticalLG:n.sizeMS,paddingContentHorizontal:n.sizeMS,paddingContentVertical:n.sizeSM,paddingContentHorizontalSM:n.size,paddingContentVerticalSM:n.sizeXS,marginXXS:n.sizeXXS,marginXS:n.sizeXS,marginSM:n.sizeSM,margin:n.size,marginMD:n.sizeMD,marginLG:n.sizeLG,marginXL:n.sizeXL,marginXXL:n.sizeXXL,boxShadow:`
|
661
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
662
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
663
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
664
|
-
`,boxShadowSecondary:`
|
665
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
666
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
667
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
668
|
-
`,boxShadowTertiary:`
|
669
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
670
|
-
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
671
|
-
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
672
|
-
`,screenXS:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:u-1,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
673
|
-
0 1px 2px -2px ${new Mt("rgba(0, 0, 0, 0.16)").toRgbString()},
|
674
|
-
0 3px 6px 0 ${new Mt("rgba(0, 0, 0, 0.12)").toRgbString()},
|
675
|
-
0 5px 12px 4px ${new Mt("rgba(0, 0, 0, 0.09)").toRgbString()}
|
676
|
-
`,boxShadowDrawerRight:`
|
677
|
-
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
678
|
-
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
679
|
-
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
680
|
-
`,boxShadowDrawerLeft:`
|
681
|
-
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
682
|
-
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
683
|
-
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
684
|
-
`,boxShadowDrawerUp:`
|
685
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
686
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
687
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
688
|
-
`,boxShadowDrawerDown:`
|
689
|
-
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
690
|
-
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
691
|
-
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
692
|
-
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var _s=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};const dd={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},s0={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},c0={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},fd=(e,t,o)=>{const r=o.getDerivativeToken(e),{override:n}=t,a=_s(t,["override"]);let i=Object.assign(Object.assign({},r),{override:n});return i=ud(i),a&&Object.entries(a).forEach(l=>{let[s,c]=l;const{theme:u}=c,d=_s(c,["theme"]);let g=d;u&&(g=fd(Object.assign(Object.assign({},i),d),{override:d},u)),i[s]=g}),i};function vo(){const{token:e,hashed:t,theme:o,override:r,cssVar:n}=E.useContext(nd),a=`${i0}-${t||""}`,i=o||rd,[l,s,c]=Xm(i,[Ur,e],{salt:a,override:r,getComputedToken:fd,formatToken:ud,cssVar:n&&{prefix:n.prefix,key:n.key,unitless:dd,ignore:s0,preserve:c0}});return[i,c,t?s:"",l,n]}const rn=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},u0=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),d0=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),f0=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),g0=(e,t,o,r)=>{const n=`[class^="${t}"], [class*=" ${t}"]`,a=o?`.${o}`:n,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let l={};return r!==!1&&(l={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[a]:Object.assign(Object.assign(Object.assign({},l),i),{[n]:i})}},p0=e=>({outline:`${Ee(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),h0=e=>({"&:focus-visible":Object.assign({},p0(e))}),gd=(e,t)=>{const[o,r]=vo();return Fi({theme:o,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>[{[`.${e}`]:Object.assign(Object.assign({},u0()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},{genStyleHooks:vr,genComponentStyleHook:m0,genSubStyleComponent:pd}=a0({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=E.useContext(rt);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,o,r,n]=vo();return{theme:e,realToken:t,hashId:o,token:r,cssVar:n}},useCSP:()=>{const{csp:e,iconPrefixCls:t}=E.useContext(rt);return gd(t,e),e??{}},getResetStyles:e=>[{"&":f0(e)}],getCommonStyle:g0,getCompUnitless:()=>dd});function b0(e,t){return Kn.reduce((o,r)=>{const n=e[`${r}1`],a=e[`${r}3`],i=e[`${r}6`],l=e[`${r}7`];return Object.assign(Object.assign({},o),t(r,{lightColor:n,lightBorderColor:a,darkColor:i,textColor:l}))},{})}const v0=Object.assign({},f),{useId:Is}=v0,y0=()=>"",S0=typeof Is>"u"?y0:Is;function w0(e,t,o){var r,n;const a=Ct("ConfigProvider"),i=e||{},l=i.inherit===!1||!t?Object.assign(Object.assign({},_i),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:_i.hashed,cssVar:t==null?void 0:t.cssVar}):t,s=S0();if(process.env.NODE_ENV!=="production"){const c=i.cssVar||l.cssVar,u=!!(typeof i.cssVar=="object"&&(!((n=i.cssVar)===null||n===void 0)&&n.key)||s);process.env.NODE_ENV!=="production"&&a(!c||u,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.")}return Cl(()=>{var c,u;if(!e)return t;const d=Object.assign({},l.components);Object.keys(e.components||{}).forEach(b=>{d[b]=Object.assign(Object.assign({},d[b]),e.components[b])});const g=`css-var-${s.replace(/:/g,"")}`,y=((c=i.cssVar)!==null&&c!==void 0?c:l.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:o==null?void 0:o.prefixCls},typeof l.cssVar=="object"?l.cssVar:{}),typeof i.cssVar=="object"?i.cssVar:{}),{key:typeof i.cssVar=="object"&&((u=i.cssVar)===null||u===void 0?void 0:u.key)||g});return Object.assign(Object.assign(Object.assign({},l),i),{token:Object.assign(Object.assign({},l.token),i.token),components:d,cssVar:y})},[i,l],(c,u)=>c.some((d,g)=>{const y=u[g];return!Ei(d,y,!0)}))}function Gr(e){return e instanceof HTMLElement||e instanceof SVGElement}function hd(e){return e&&ye(e)==="object"&&Gr(e.nativeElement)?e.nativeElement:Gr(e)?e:null}function Ln(e){var t=hd(e);if(t)return t;if(e instanceof E.Component){var o;return(o=Dn.findDOMNode)===null||o===void 0?void 0:o.call(Dn,e)}return null}var x0=["children"],md=f.createContext({});function C0(e){var t=e.children,o=vt(e,x0);return f.createElement(md.Provider,{value:o},t)}var k0=function(e){Do(o,e);var t=Wo(o);function o(){return ht(this,o),t.apply(this,arguments)}return mt(o,[{key:"render",value:function(){return this.props.children}}]),o}(f.Component);function E0(e){var t=f.useReducer(function(l){return l+1},0),o=Z(t,2),r=o[1],n=f.useRef(e),a=Ot(function(){return n.current}),i=Ot(function(l){n.current=typeof l=="function"?l(n.current):l,r()});return[a,i]}var Co="none",En="appear",$n="enter",An="leave",Ps="none",Gt="prepare",nr="start",ar="active",Fl="end",bd="prepared";function Ns(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit".concat(e)]="webkit".concat(t),o["Moz".concat(e)]="moz".concat(t),o["ms".concat(e)]="MS".concat(t),o["O".concat(e)]="o".concat(t.toLowerCase()),o}function $0(e,t){var o={animationend:Ns("Animation","AnimationEnd"),transitionend:Ns("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete o.animationend.animation,"TransitionEvent"in t||delete o.transitionend.transition),o}var A0=$0(xt(),typeof window<"u"?window:{}),vd={};if(xt()){var O0=document.createElement("div");vd=O0.style}var On={};function yd(e){if(On[e])return On[e];var t=A0[e];if(t)for(var o=Object.keys(t),r=o.length,n=0;n<r;n+=1){var a=o[n];if(Object.prototype.hasOwnProperty.call(t,a)&&a in vd)return On[e]=t[a],On[e]}return""}var Sd=yd("animationend"),wd=yd("transitionend"),xd=!!(Sd&&wd),js=Sd||"animationend",Hs=wd||"transitionend";function Bs(e,t){if(!e)return null;if(ye(e)==="object"){var o=t.replace(/-\w/g,function(r){return r[1].toUpperCase()});return e[o]}return"".concat(e,"-").concat(t)}const M0=function(e){var t=E.useRef();function o(n){n&&(n.removeEventListener(Hs,e),n.removeEventListener(js,e))}function r(n){t.current&&t.current!==n&&o(t.current),n&&n!==t.current&&(n.addEventListener(Hs,e),n.addEventListener(js,e),t.current=n)}return f.useEffect(function(){return function(){o(t.current)}},[]),[r,o]};var Cd=xt()?E.useLayoutEffect:E.useEffect,kd=function(t){return+setTimeout(t,16)},Ed=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(kd=function(t){return window.requestAnimationFrame(t)},Ed=function(t){return window.cancelAnimationFrame(t)});var Ls=0,ca=new Map;function $d(e){ca.delete(e)}var Bt=function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Ls+=1;var r=Ls;function n(a){if(a===0)$d(r),t();else{var i=kd(function(){n(a-1)});ca.set(r,i)}}return n(o),r};Bt.cancel=function(e){var t=ca.get(e);return $d(e),Ed(t)};process.env.NODE_ENV!=="production"&&(Bt.ids=function(){return ca});const R0=function(){var e=f.useRef(null);function t(){Bt.cancel(e.current)}function o(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;t();var a=Bt(function(){n<=1?r({isCanceled:function(){return a!==e.current}}):o(r,n-1)});e.current=a}return f.useEffect(function(){return function(){t()}},[]),[o,t]};var z0=[Gt,nr,ar,Fl],T0=[Gt,bd],Ad=!1,F0=!0;function Od(e){return e===ar||e===Fl}const _0=function(e,t,o){var r=sr(Ps),n=Z(r,2),a=n[0],i=n[1],l=R0(),s=Z(l,2),c=s[0],u=s[1];function d(){i(Gt,!0)}var g=t?T0:z0;return Cd(function(){if(a!==Ps&&a!==Fl){var y=g.indexOf(a),b=g[y+1],h=o(a);h===Ad?i(b,!0):b&&c(function(p){function S(){p.isCanceled()||i(b,!0)}h===!0?S():Promise.resolve(h).then(S)})}},[e,a]),f.useEffect(function(){return function(){u()}},[]),[d,a]};function I0(e,t,o,r){var n=r.motionEnter,a=n===void 0?!0:n,i=r.motionAppear,l=i===void 0?!0:i,s=r.motionLeave,c=s===void 0?!0:s,u=r.motionDeadline,d=r.motionLeaveImmediately,g=r.onAppearPrepare,y=r.onEnterPrepare,b=r.onLeavePrepare,h=r.onAppearStart,p=r.onEnterStart,S=r.onLeaveStart,v=r.onAppearActive,m=r.onEnterActive,w=r.onLeaveActive,x=r.onAppearEnd,C=r.onEnterEnd,A=r.onLeaveEnd,O=r.onVisibleChanged,$=sr(),F=Z($,2),B=F[0],H=F[1],P=E0(Co),R=Z(P,2),D=R[0],T=R[1],M=sr(null),z=Z(M,2),j=z[0],_=z[1],N=D(),V=E.useRef(!1),G=E.useRef(null);function K(){return o()}var ee=E.useRef(!1);function X(){T(Co),_(null,!0)}var Y=Ot(function(ue){var te=D();if(te!==Co){var be=K();if(!(ue&&!ue.deadline&&ue.target!==be)){var ve=ee.current,de;te===En&&ve?de=x==null?void 0:x(be,ue):te===$n&&ve?de=C==null?void 0:C(be,ue):te===An&&ve&&(de=A==null?void 0:A(be,ue)),ve&&de!==!1&&X()}}}),J=M0(Y),oe=Z(J,1),ne=oe[0],he=function(te){switch(te){case En:return I(I(I({},Gt,g),nr,h),ar,v);case $n:return I(I(I({},Gt,y),nr,p),ar,m);case An:return I(I(I({},Gt,b),nr,S),ar,w);default:return{}}},ce=f.useMemo(function(){return he(N)},[N]),$e=_0(N,!e,function(ue){if(ue===Gt){var te=ce[Gt];return te?te(K()):Ad}if(re in ce){var be;_(((be=ce[re])===null||be===void 0?void 0:be.call(ce,K(),null))||null)}return re===ar&&N!==Co&&(ne(K()),u>0&&(clearTimeout(G.current),G.current=setTimeout(function(){Y({deadline:!0})},u))),re===bd&&X(),F0}),q=Z($e,2),me=q[0],re=q[1],Ae=Od(re);ee.current=Ae,Cd(function(){H(t);var ue=V.current;V.current=!0;var te;!ue&&t&&l&&(te=En),ue&&t&&a&&(te=$n),(ue&&!t&&c||!ue&&d&&!t&&c)&&(te=An);var be=he(te);te&&(e||be[Gt])?(T(te),me()):T(Co)},[t]),E.useEffect(function(){(N===En&&!l||N===$n&&!a||N===An&&!c)&&T(Co)},[l,a,c]),E.useEffect(function(){return function(){V.current=!1,clearTimeout(G.current)}},[]);var Be=f.useRef(!1);E.useEffect(function(){B&&(Be.current=!0),B!==void 0&&N===Co&&((Be.current||B)&&(O==null||O(B)),Be.current=!0)},[B,N]);var ge=j;return ce[Gt]&&re===nr&&(ge=L({transition:"none"},ge)),[N,re,ge,B??t]}function P0(e){var t=e;ye(e)==="object"&&(t=e.transitionSupport);function o(n,a){return!!(n.motionName&&t&&a!==!1)}var r=f.forwardRef(function(n,a){var i=n.visible,l=i===void 0?!0:i,s=n.removeOnLeave,c=s===void 0?!0:s,u=n.forceRender,d=n.children,g=n.motionName,y=n.leavedClassName,b=n.eventProps,h=f.useContext(md),p=h.motion,S=o(n,p),v=E.useRef(),m=E.useRef();function w(){try{return v.current instanceof HTMLElement?v.current:Ln(m.current)}catch{return null}}var x=I0(S,l,w,n),C=Z(x,4),A=C[0],O=C[1],$=C[2],F=C[3],B=f.useRef(F);F&&(B.current=!0);var H=f.useCallback(function(j){v.current=j,kl(a,j)},[a]),P,R=L(L({},b),{},{visible:l});if(!d)P=null;else if(A===Co)F?P=d(L({},R),H):!c&&B.current&&y?P=d(L(L({},R),{},{className:y}),H):u||!c&&!y?P=d(L(L({},R),{},{style:{display:"none"}}),H):P=null;else{var D;O===Gt?D="prepare":Od(O)?D="active":O===nr&&(D="start");var T=Bs(g,"".concat(A,"-").concat(D));P=d(L(L({},R),{},{className:ie(Bs(g,A),I(I({},T,T&&D),g,typeof g=="string")),style:$}),H)}if(f.isValidElement(P)&&pr(P)){var M=P,z=M.ref;z||(P=f.cloneElement(P,{ref:H}))}return f.createElement(k0,{ref:m},P)});return r.displayName="CSSMotion",r}const yr=P0(xd);var Pi="add",Ni="keep",ji="remove",Ba="removed";function N0(e){var t;return e&&ye(e)==="object"&&"key"in e?t=e:t={key:e},L(L({},t),{},{key:String(t.key)})}function Hi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(N0)}function j0(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],o=[],r=0,n=t.length,a=Hi(e),i=Hi(t);a.forEach(function(c){for(var u=!1,d=r;d<n;d+=1){var g=i[d];if(g.key===c.key){r<d&&(o=o.concat(i.slice(r,d).map(function(y){return L(L({},y),{},{status:Pi})})),r=d),o.push(L(L({},g),{},{status:Ni})),r+=1,u=!0;break}}u||o.push(L(L({},c),{},{status:ji}))}),r<n&&(o=o.concat(i.slice(r).map(function(c){return L(L({},c),{},{status:Pi})})));var l={};o.forEach(function(c){var u=c.key;l[u]=(l[u]||0)+1});var s=Object.keys(l).filter(function(c){return l[c]>1});return s.forEach(function(c){o=o.filter(function(u){var d=u.key,g=u.status;return d!==c||g!==ji}),o.forEach(function(u){u.key===c&&(u.status=Ni)})}),o}var H0=["component","children","onVisibleChanged","onAllRemoved"],B0=["status"],L0=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function D0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:yr,o=function(r){Do(a,r);var n=Wo(a);function a(){var i;ht(this,a);for(var l=arguments.length,s=new Array(l),c=0;c<l;c++)s[c]=arguments[c];return i=n.call.apply(n,[this].concat(s)),I(Me(i),"state",{keyEntities:[]}),I(Me(i),"removeKey",function(u){var d=i.state.keyEntities,g=d.map(function(y){return y.key!==u?y:L(L({},y),{},{status:Ba})});return i.setState({keyEntities:g}),g.filter(function(y){var b=y.status;return b!==Ba}).length}),i}return mt(a,[{key:"render",value:function(){var l=this,s=this.state.keyEntities,c=this.props,u=c.component,d=c.children,g=c.onVisibleChanged,y=c.onAllRemoved,b=vt(c,H0),h=u||f.Fragment,p={};return L0.forEach(function(S){p[S]=b[S],delete b[S]}),delete b.keys,f.createElement(h,b,s.map(function(S,v){var m=S.status,w=vt(S,B0),x=m===Pi||m===Ni;return f.createElement(t,He({},p,{key:w.key,visible:x,eventProps:w,onVisibleChanged:function(A){if(g==null||g(A,{key:w.key}),!A){var O=l.removeKey(w.key);O===0&&y&&y()}}}),function(C,A){return d(L(L({},C),{},{index:v}),A)})}))}}],[{key:"getDerivedStateFromProps",value:function(l,s){var c=l.keys,u=s.keyEntities,d=Hi(c),g=j0(u,d);return{keyEntities:g.filter(function(y){var b=u.find(function(h){var p=h.key;return y.key===p});return!(b&&b.status===Ba&&y.status===ji)})}}}]),a}(f.Component);return I(o,"defaultProps",{component:"div"}),o}const W0=D0(xd);function V0(e){const{children:t}=e,[,o]=vo(),{motion:r}=o,n=f.useRef(!1);return n.current=n.current||r===!1,n.current?f.createElement(C0,{motion:r},t):t}const Md=f.memo(e=>{let{dropdownMatchSelectWidth:t}=e;return Ct("ConfigProvider").deprecated(t===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null});process.env.NODE_ENV!=="production"&&(Md.displayName="PropWarning");const U0=process.env.NODE_ENV!=="production"?Md:()=>null;var q0=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};let Bi=!1;process.env.NODE_ENV;const G0=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];let Rd;function K0(){return Rd||qr}function X0(e){return Object.keys(e).some(t=>t.endsWith("Color"))}const Y0=e=>{const{prefixCls:t,iconPrefixCls:o,theme:r,holderRender:n}=e;t!==void 0&&(Rd=t),r&&X0(r)&&(process.env.NODE_ENV!=="production"&&sa(!1,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),qb(K0(),r))},Q0=e=>{const{children:t,csp:o,autoInsertSpaceInButton:r,alert:n,anchor:a,form:i,locale:l,componentSize:s,direction:c,space:u,virtual:d,dropdownMatchSelectWidth:g,popupMatchSelectWidth:y,popupOverflow:b,legacyLocale:h,parentContext:p,iconPrefixCls:S,theme:v,componentDisabled:m,segmented:w,statistic:x,spin:C,calendar:A,carousel:O,cascader:$,collapse:F,typography:B,checkbox:H,descriptions:P,divider:R,drawer:D,skeleton:T,steps:M,image:z,layout:j,list:_,mentions:N,modal:V,progress:G,result:K,slider:ee,breadcrumb:X,menu:Y,pagination:J,input:oe,textArea:ne,empty:he,badge:ce,radio:$e,rate:q,switch:me,transfer:re,avatar:Ae,message:Be,tag:ge,table:ue,card:te,tabs:be,timeline:ve,timePicker:de,upload:xe,notification:Re,tree:lt,colorPicker:Dt,datePicker:Te,rangePicker:we,flex:Ye,wave:Ke,dropdown:Ao,warning:yo,tour:Oo,floatButtonGroup:Wt,variant:ft,inputNumber:Tt,treeSelect:bt}=e,nt=f.useCallback((Ve,Ue)=>{const{prefixCls:Ge}=e;if(Ue)return Ue;const gt=Ge||p.getPrefixCls("");return Ve?`${gt}-${Ve}`:gt},[p.getPrefixCls,e.prefixCls]),ut=S||p.iconPrefixCls||ad,wt=o||p.csp;gd(ut,wt);const st=w0(v,p.theme,{prefixCls:nt("")});process.env.NODE_ENV!=="production"&&(Bi=Bi||!!st);const Le={csp:wt,autoInsertSpaceInButton:r,alert:n,anchor:a,locale:l||h,direction:c,space:u,virtual:d,popupMatchSelectWidth:y??g,popupOverflow:b,getPrefixCls:nt,iconPrefixCls:ut,theme:st,segmented:w,statistic:x,spin:C,calendar:A,carousel:O,cascader:$,collapse:F,typography:B,checkbox:H,descriptions:P,divider:R,drawer:D,skeleton:T,steps:M,image:z,input:oe,textArea:ne,layout:j,list:_,mentions:N,modal:V,progress:G,result:K,slider:ee,breadcrumb:X,menu:Y,pagination:J,empty:he,badge:ce,radio:$e,rate:q,switch:me,transfer:re,avatar:Ae,message:Be,tag:ge,table:ue,card:te,tabs:be,timeline:ve,timePicker:de,upload:xe,notification:Re,tree:lt,colorPicker:Dt,datePicker:Te,rangePicker:we,flex:Ye,wave:Ke,dropdown:Ao,warning:yo,tour:Oo,floatButtonGroup:Wt,variant:ft,inputNumber:Tt,treeSelect:bt};process.env.NODE_ENV!=="production"&&Ct("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");const Ie=Object.assign({},p);Object.keys(Le).forEach(Ve=>{Le[Ve]!==void 0&&(Ie[Ve]=Le[Ve])}),G0.forEach(Ve=>{const Ue=e[Ve];Ue&&(Ie[Ve]=Ue)}),typeof r<"u"&&(Ie.button=Object.assign({autoInsertSpace:r},Ie.button));const Pe=Cl(()=>Ie,Ie,(Ve,Ue)=>{const Ge=Object.keys(Ve),gt=Object.keys(Ue);return Ge.length!==gt.length||Ge.some(Ft=>Ve[Ft]!==Ue[Ft])}),Zt=f.useMemo(()=>({prefixCls:ut,csp:wt}),[ut,wt]);let De=f.createElement(f.Fragment,null,f.createElement(U0,{dropdownMatchSelectWidth:g}),t);const kt=f.useMemo(()=>{var Ve,Ue,Ge,gt;return rr(((Ve=Ho.Form)===null||Ve===void 0?void 0:Ve.defaultValidateMessages)||{},((Ge=(Ue=Pe.locale)===null||Ue===void 0?void 0:Ue.Form)===null||Ge===void 0?void 0:Ge.defaultValidateMessages)||{},((gt=Pe.form)===null||gt===void 0?void 0:gt.validateMessages)||{},(i==null?void 0:i.validateMessages)||{})},[Pe,i==null?void 0:i.validateMessages]);Object.keys(kt).length>0&&(De=f.createElement(Zu.Provider,{value:kt},De)),l&&(De=f.createElement(td,{locale:l,_ANT_MARK__:ed},De)),(ut||wt)&&(De=f.createElement(ta.Provider,{value:Zt},De)),s&&(De=f.createElement(mm,{size:s},De)),De=f.createElement(V0,null,De);const ro=f.useMemo(()=>{const Ve=st||{},{algorithm:Ue,token:Ge,components:gt,cssVar:Ft}=Ve,Jt=q0(Ve,["algorithm","token","components","cssVar"]),eo=Ue&&(!Array.isArray(Ue)||Ue.length>0)?Ai(Ue):rd,k={};Object.entries(gt||{}).forEach(Q=>{let[fe,ze]=Q;const Ce=Object.assign({},ze);"algorithm"in Ce&&(Ce.algorithm===!0?Ce.theme=eo:(Array.isArray(Ce.algorithm)||typeof Ce.algorithm=="function")&&(Ce.theme=Ai(Ce.algorithm)),delete Ce.algorithm),k[fe]=Ce});const U=Object.assign(Object.assign({},Ur),Ge);return Object.assign(Object.assign({},Jt),{theme:eo,token:U,components:k,override:Object.assign({override:U},k),cssVar:Ft})},[st]);return v&&(De=f.createElement(nd.Provider,{value:ro},De)),Pe.warning&&(De=f.createElement(Qu.Provider,{value:Pe.warning},De)),m!==void 0&&(De=f.createElement(id,{disabled:m},De)),f.createElement(rt.Provider,{value:Pe},De)},Sr=e=>{const t=f.useContext(rt),o=f.useContext(Tl);return f.createElement(Q0,Object.assign({parentContext:t,legacyLocale:o},e))};Sr.ConfigContext=rt;Sr.SizeContext=jo;Sr.config=Y0;Sr.useConfig=Gb;Object.defineProperty(Sr,"SizeContext",{get:()=>(process.env.NODE_ENV!=="production"&&sa(!1,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),jo)});process.env.NODE_ENV!=="production"&&(Sr.displayName="ConfigProvider");function zd(e,t){const o=E.useRef([]),r=()=>{o.current.push(setTimeout(()=>{var n,a,i,l;!((n=e.current)===null||n===void 0)&&n.input&&((a=e.current)===null||a===void 0?void 0:a.input.getAttribute("type"))==="password"&&(!((i=e.current)===null||i===void 0)&&i.input.hasAttribute("value"))&&((l=e.current)===null||l===void 0||l.input.removeAttribute("value"))}))};return E.useEffect(()=>(t&&r(),()=>o.current.forEach(n=>{n&&clearTimeout(n)})),[]),r}function Z0(e){return!!(e.addonBefore||e.addonAfter)}function J0(e){return!!(e.prefix||e.suffix||e.allowClear)}function Ds(e,t,o){var r=t.cloneNode(!0),n=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=o,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},n}function Xn(e,t,o,r){if(o){var n=t;if(t.type==="click"){n=Ds(t,e,""),o(n);return}if(e.type!=="file"&&r!==void 0){n=Ds(t,e,r),o(n);return}o(n)}}function ev(e,t){if(e){e.focus(t);var o=t||{},r=o.cursor;if(r){var n=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(n,n);break;default:e.setSelectionRange(0,n)}}}}var Td=E.forwardRef(function(e,t){var o,r,n=e.inputElement,a=e.children,i=e.prefixCls,l=e.prefix,s=e.suffix,c=e.addonBefore,u=e.addonAfter,d=e.className,g=e.style,y=e.disabled,b=e.readOnly,h=e.focused,p=e.triggerFocus,S=e.allowClear,v=e.value,m=e.handleReset,w=e.hidden,x=e.classes,C=e.classNames,A=e.dataAttrs,O=e.styles,$=e.components,F=a??n,B=($==null?void 0:$.affixWrapper)||"span",H=($==null?void 0:$.groupWrapper)||"span",P=($==null?void 0:$.wrapper)||"span",R=($==null?void 0:$.groupAddon)||"span",D=E.useRef(null),T=function(me){var re;(re=D.current)!==null&&re!==void 0&&re.contains(me.target)&&(p==null||p())},M=J0(e),z=E.cloneElement(F,{value:v,className:ie(F.props.className,!M&&(C==null?void 0:C.variant))||null}),j=E.useRef(null);if(E.useImperativeHandle(t,function(){return{nativeElement:j.current||D.current}}),M){var _,N=null;if(S){var V,G=!y&&!b&&v,K="".concat(i,"-clear-icon"),ee=ye(S)==="object"&&S!==null&&S!==void 0&&S.clearIcon?S.clearIcon:"✖";N=E.createElement("span",{onClick:m,onMouseDown:function(me){return me.preventDefault()},className:ie(K,(V={},I(V,"".concat(K,"-hidden"),!G),I(V,"".concat(K,"-has-suffix"),!!s),V)),role:"button",tabIndex:-1},ee)}var X="".concat(i,"-affix-wrapper"),Y=ie(X,(_={},I(_,"".concat(i,"-disabled"),y),I(_,"".concat(X,"-disabled"),y),I(_,"".concat(X,"-focused"),h),I(_,"".concat(X,"-readonly"),b),I(_,"".concat(X,"-input-with-clear-btn"),s&&S&&v),_),x==null?void 0:x.affixWrapper,C==null?void 0:C.affixWrapper,C==null?void 0:C.variant),J=(s||S)&&E.createElement("span",{className:ie("".concat(i,"-suffix"),C==null?void 0:C.suffix),style:O==null?void 0:O.suffix},N,s);z=E.createElement(B,He({className:Y,style:O==null?void 0:O.affixWrapper,onClick:T},A==null?void 0:A.affixWrapper,{ref:D}),l&&E.createElement("span",{className:ie("".concat(i,"-prefix"),C==null?void 0:C.prefix),style:O==null?void 0:O.prefix},l),z,J)}if(Z0(e)){var oe="".concat(i,"-group"),ne="".concat(oe,"-addon"),he="".concat(oe,"-wrapper"),ce=ie("".concat(i,"-wrapper"),oe,x==null?void 0:x.wrapper,C==null?void 0:C.wrapper),$e=ie(he,I({},"".concat(he,"-disabled"),y),x==null?void 0:x.group,C==null?void 0:C.groupWrapper);z=E.createElement(H,{className:$e,ref:j},E.createElement(P,{className:ce},c&&E.createElement(R,{className:ne},c),z,u&&E.createElement(R,{className:ne},u)))}return E.cloneElement(z,{className:ie((o=z.props)===null||o===void 0?void 0:o.className,d)||null,style:L(L({},(r=z.props)===null||r===void 0?void 0:r.style),g),hidden:w})}),tv=["show"];function Fd(e,t){return f.useMemo(function(){var o={};t&&(o.show=ye(t)==="object"&&t.formatter?t.formatter:!!t),o=L(L({},o),e);var r=o,n=r.show,a=vt(r,tv);return L(L({},a),{},{show:!!n,showFormatter:typeof n=="function"?n:void 0,strategy:a.strategy||function(i){return i.length}})},[e,t])}var ov=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],rv=E.forwardRef(function(e,t){var o=e.autoComplete,r=e.onChange,n=e.onFocus,a=e.onBlur,i=e.onPressEnter,l=e.onKeyDown,s=e.prefixCls,c=s===void 0?"rc-input":s,u=e.disabled,d=e.htmlSize,g=e.className,y=e.maxLength,b=e.suffix,h=e.showCount,p=e.count,S=e.type,v=S===void 0?"text":S,m=e.classes,w=e.classNames,x=e.styles,C=e.onCompositionStart,A=e.onCompositionEnd,O=vt(e,ov),$=E.useState(!1),F=Z($,2),B=F[0],H=F[1],P=E.useRef(!1),R=E.useRef(null),D=E.useRef(null),T=function(te){R.current&&ev(R.current,te)},M=hr(e.defaultValue,{value:e.value}),z=Z(M,2),j=z[0],_=z[1],N=j==null?"":String(j),V=E.useState(null),G=Z(V,2),K=G[0],ee=G[1],X=Fd(p,h),Y=X.max||y,J=X.strategy(N),oe=!!Y&&J>Y;E.useImperativeHandle(t,function(){var ue;return{focus:T,blur:function(){var be;(be=R.current)===null||be===void 0||be.blur()},setSelectionRange:function(be,ve,de){var xe;(xe=R.current)===null||xe===void 0||xe.setSelectionRange(be,ve,de)},select:function(){var be;(be=R.current)===null||be===void 0||be.select()},input:R.current,nativeElement:((ue=D.current)===null||ue===void 0?void 0:ue.nativeElement)||R.current}}),E.useEffect(function(){H(function(ue){return ue&&u?!1:ue})},[u]);var ne=function(te,be,ve){var de=be;if(!P.current&&X.exceedFormatter&&X.max&&X.strategy(be)>X.max){if(de=X.exceedFormatter(be,{max:X.max}),be!==de){var xe,Re;ee([((xe=R.current)===null||xe===void 0?void 0:xe.selectionStart)||0,((Re=R.current)===null||Re===void 0?void 0:Re.selectionEnd)||0])}}else if(ve.source==="compositionEnd")return;_(de),R.current&&Xn(R.current,te,r,de)};E.useEffect(function(){if(K){var ue;(ue=R.current)===null||ue===void 0||ue.setSelectionRange.apply(ue,ae(K))}},[K]);var he=function(te){ne(te,te.target.value,{source:"change"})},ce=function(te){P.current=!1,ne(te,te.currentTarget.value,{source:"compositionEnd"}),A==null||A(te)},$e=function(te){i&&te.key==="Enter"&&i(te),l==null||l(te)},q=function(te){H(!0),n==null||n(te)},me=function(te){H(!1),a==null||a(te)},re=function(te){_(""),T(),R.current&&Xn(R.current,te,r)},Ae=oe&&"".concat(c,"-out-of-range"),Be=function(){var te=on(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames"]);return E.createElement("input",He({autoComplete:o},te,{onChange:he,onFocus:q,onBlur:me,onKeyDown:$e,className:ie(c,I({},"".concat(c,"-disabled"),u),w==null?void 0:w.input),style:x==null?void 0:x.input,ref:R,size:d,type:v,onCompositionStart:function(ve){P.current=!0,C==null||C(ve)},onCompositionEnd:ce}))},ge=function(){var te=Number(Y)>0;if(b||X.show){var be=X.showFormatter?X.showFormatter({value:N,count:J,maxLength:Y}):"".concat(J).concat(te?" / ".concat(Y):"");return E.createElement(E.Fragment,null,X.show&&E.createElement("span",{className:ie("".concat(c,"-show-count-suffix"),I({},"".concat(c,"-show-count-has-suffix"),!!b),w==null?void 0:w.count),style:L({},x==null?void 0:x.count)},be),b)}return null};return E.createElement(Td,He({},O,{prefixCls:c,className:ie(g,Ae),handleReset:re,value:N,focused:B,triggerFocus:T,suffix:ge(),disabled:u,classes:m,classNames:w,styles:x}),Be())});function yt(){yt=function(){return t};var e,t={},o=Object.prototype,r=o.hasOwnProperty,n=Object.defineProperty||function(T,M,z){T[M]=z.value},a=typeof Symbol=="function"?Symbol:{},i=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(T,M,z){return Object.defineProperty(T,M,{value:z,enumerable:!0,configurable:!0,writable:!0}),T[M]}try{c({},"")}catch{c=function(z,j,_){return z[j]=_}}function u(T,M,z,j){var _=M&&M.prototype instanceof S?M:S,N=Object.create(_.prototype),V=new R(j||[]);return n(N,"_invoke",{value:F(T,z,V)}),N}function d(T,M,z){try{return{type:"normal",arg:T.call(M,z)}}catch(j){return{type:"throw",arg:j}}}t.wrap=u;var g="suspendedStart",y="suspendedYield",b="executing",h="completed",p={};function S(){}function v(){}function m(){}var w={};c(w,i,function(){return this});var x=Object.getPrototypeOf,C=x&&x(x(D([])));C&&C!==o&&r.call(C,i)&&(w=C);var A=m.prototype=S.prototype=Object.create(w);function O(T){["next","throw","return"].forEach(function(M){c(T,M,function(z){return this._invoke(M,z)})})}function $(T,M){function z(_,N,V,G){var K=d(T[_],T,N);if(K.type!=="throw"){var ee=K.arg,X=ee.value;return X&&ye(X)=="object"&&r.call(X,"__await")?M.resolve(X.__await).then(function(Y){z("next",Y,V,G)},function(Y){z("throw",Y,V,G)}):M.resolve(X).then(function(Y){ee.value=Y,V(ee)},function(Y){return z("throw",Y,V,G)})}G(K.arg)}var j;n(this,"_invoke",{value:function(N,V){function G(){return new M(function(K,ee){z(N,V,K,ee)})}return j=j?j.then(G,G):G()}})}function F(T,M,z){var j=g;return function(_,N){if(j===b)throw Error("Generator is already running");if(j===h){if(_==="throw")throw N;return{value:e,done:!0}}for(z.method=_,z.arg=N;;){var V=z.delegate;if(V){var G=B(V,z);if(G){if(G===p)continue;return G}}if(z.method==="next")z.sent=z._sent=z.arg;else if(z.method==="throw"){if(j===g)throw j=h,z.arg;z.dispatchException(z.arg)}else z.method==="return"&&z.abrupt("return",z.arg);j=b;var K=d(T,M,z);if(K.type==="normal"){if(j=z.done?h:y,K.arg===p)continue;return{value:K.arg,done:z.done}}K.type==="throw"&&(j=h,z.method="throw",z.arg=K.arg)}}}function B(T,M){var z=M.method,j=T.iterator[z];if(j===e)return M.delegate=null,z==="throw"&&T.iterator.return&&(M.method="return",M.arg=e,B(T,M),M.method==="throw")||z!=="return"&&(M.method="throw",M.arg=new TypeError("The iterator does not provide a '"+z+"' method")),p;var _=d(j,T.iterator,M.arg);if(_.type==="throw")return M.method="throw",M.arg=_.arg,M.delegate=null,p;var N=_.arg;return N?N.done?(M[T.resultName]=N.value,M.next=T.nextLoc,M.method!=="return"&&(M.method="next",M.arg=e),M.delegate=null,p):N:(M.method="throw",M.arg=new TypeError("iterator result is not an object"),M.delegate=null,p)}function H(T){var M={tryLoc:T[0]};1 in T&&(M.catchLoc=T[1]),2 in T&&(M.finallyLoc=T[2],M.afterLoc=T[3]),this.tryEntries.push(M)}function P(T){var M=T.completion||{};M.type="normal",delete M.arg,T.completion=M}function R(T){this.tryEntries=[{tryLoc:"root"}],T.forEach(H,this),this.reset(!0)}function D(T){if(T||T===""){var M=T[i];if(M)return M.call(T);if(typeof T.next=="function")return T;if(!isNaN(T.length)){var z=-1,j=function _(){for(;++z<T.length;)if(r.call(T,z))return _.value=T[z],_.done=!1,_;return _.value=e,_.done=!0,_};return j.next=j}}throw new TypeError(ye(T)+" is not iterable")}return v.prototype=m,n(A,"constructor",{value:m,configurable:!0}),n(m,"constructor",{value:v,configurable:!0}),v.displayName=c(m,s,"GeneratorFunction"),t.isGeneratorFunction=function(T){var M=typeof T=="function"&&T.constructor;return!!M&&(M===v||(M.displayName||M.name)==="GeneratorFunction")},t.mark=function(T){return Object.setPrototypeOf?Object.setPrototypeOf(T,m):(T.__proto__=m,c(T,s,"GeneratorFunction")),T.prototype=Object.create(A),T},t.awrap=function(T){return{__await:T}},O($.prototype),c($.prototype,l,function(){return this}),t.AsyncIterator=$,t.async=function(T,M,z,j,_){_===void 0&&(_=Promise);var N=new $(u(T,M,z,j),_);return t.isGeneratorFunction(M)?N:N.next().then(function(V){return V.done?V.value:N.next()})},O(A),c(A,s,"Generator"),c(A,i,function(){return this}),c(A,"toString",function(){return"[object Generator]"}),t.keys=function(T){var M=Object(T),z=[];for(var j in M)z.push(j);return z.reverse(),function _(){for(;z.length;){var N=z.pop();if(N in M)return _.value=N,_.done=!1,_}return _.done=!0,_}},t.values=D,R.prototype={constructor:R,reset:function(M){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(P),!M)for(var z in this)z.charAt(0)==="t"&&r.call(this,z)&&!isNaN(+z.slice(1))&&(this[z]=e)},stop:function(){this.done=!0;var M=this.tryEntries[0].completion;if(M.type==="throw")throw M.arg;return this.rval},dispatchException:function(M){if(this.done)throw M;var z=this;function j(ee,X){return V.type="throw",V.arg=M,z.next=ee,X&&(z.method="next",z.arg=e),!!X}for(var _=this.tryEntries.length-1;_>=0;--_){var N=this.tryEntries[_],V=N.completion;if(N.tryLoc==="root")return j("end");if(N.tryLoc<=this.prev){var G=r.call(N,"catchLoc"),K=r.call(N,"finallyLoc");if(G&&K){if(this.prev<N.catchLoc)return j(N.catchLoc,!0);if(this.prev<N.finallyLoc)return j(N.finallyLoc)}else if(G){if(this.prev<N.catchLoc)return j(N.catchLoc,!0)}else{if(!K)throw Error("try statement without catch or finally");if(this.prev<N.finallyLoc)return j(N.finallyLoc)}}}},abrupt:function(M,z){for(var j=this.tryEntries.length-1;j>=0;--j){var _=this.tryEntries[j];if(_.tryLoc<=this.prev&&r.call(_,"finallyLoc")&&this.prev<_.finallyLoc){var N=_;break}}N&&(M==="break"||M==="continue")&&N.tryLoc<=z&&z<=N.finallyLoc&&(N=null);var V=N?N.completion:{};return V.type=M,V.arg=z,N?(this.method="next",this.next=N.finallyLoc,p):this.complete(V)},complete:function(M,z){if(M.type==="throw")throw M.arg;return M.type==="break"||M.type==="continue"?this.next=M.arg:M.type==="return"?(this.rval=this.arg=M.arg,this.method="return",this.next="end"):M.type==="normal"&&z&&(this.next=z),p},finish:function(M){for(var z=this.tryEntries.length-1;z>=0;--z){var j=this.tryEntries[z];if(j.finallyLoc===M)return this.complete(j.completion,j.afterLoc),P(j),p}},catch:function(M){for(var z=this.tryEntries.length-1;z>=0;--z){var j=this.tryEntries[z];if(j.tryLoc===M){var _=j.completion;if(_.type==="throw"){var N=_.arg;P(j)}return N}}throw Error("illegal catch attempt")},delegateYield:function(M,z,j){return this.delegate={iterator:D(M),resultName:z,nextLoc:j},this.method==="next"&&(this.arg=e),p}},t}function Ws(e,t,o,r,n,a,i){try{var l=e[a](i),s=l.value}catch(c){return void o(c)}l.done?t(s):Promise.resolve(s).then(r,n)}function Vo(e){return function(){var t=this,o=arguments;return new Promise(function(r,n){var a=e.apply(t,o);function i(s){Ws(a,r,n,i,l,"next",s)}function l(s){Ws(a,r,n,i,l,"throw",s)}i(void 0)})}}function Kr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=[];return E.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?o=o.concat(Kr(r)):_r.isFragment(r)&&r.props?o=o.concat(Kr(r.props.children,t)):o.push(r))}),o}var _o="RC_FORM_INTERNAL_HOOKS",qe=function(){Xe(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Lo=f.createContext({getFieldValue:qe,getFieldsValue:qe,getFieldError:qe,getFieldWarning:qe,getFieldsError:qe,isFieldsTouched:qe,isFieldTouched:qe,isFieldValidating:qe,isFieldsValidating:qe,resetFields:qe,setFields:qe,setFieldValue:qe,setFieldsValue:qe,validateFields:qe,submit:qe,getInternalHooks:function(){return qe(),{dispatch:qe,initEntityValue:qe,registerField:qe,useSubscribe:qe,setInitialValues:qe,destroyForm:qe,setCallbacks:qe,registerWatch:qe,getFields:qe,setValidateMessages:qe,setPreserve:qe,getInitialValue:qe}}}),Xr=f.createContext(null);function Li(e){return e==null?[]:Array.isArray(e)?e:[e]}function nv(e){return e&&!!e._init}function Di(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Wi=Di();function av(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function iv(e,t,o){if($l())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var n=new(e.bind.apply(e,r));return o&&Lr(n,o.prototype),n}function Vi(e){var t=typeof Map=="function"?new Map:void 0;return Vi=function(r){if(r===null||!av(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return iv(r,arguments,Dr(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Lr(n,r)},Vi(e)}var lv=/%[sdj%]/g,_d=function(){};typeof process<"u"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof document<"u"&&(_d=function(t,o){typeof console<"u"&&console.warn&&typeof ASYNC_VALIDATOR_NO_WARNING>"u"&&o.every(function(r){return typeof r=="string"})&&console.warn(t,o)});function Ui(e){if(!e||!e.length)return null;var t={};return e.forEach(function(o){var r=o.field;t[r]=t[r]||[],t[r].push(o)}),t}function Rt(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];var n=0,a=o.length;if(typeof e=="function")return e.apply(null,o);if(typeof e=="string"){var i=e.replace(lv,function(l){if(l==="%%")return"%";if(n>=a)return l;switch(l){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch{return"[Circular]"}break;default:return l}});return i}return e}function sv(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function it(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||sv(t)&&typeof e=="string"&&!e)}function cv(e,t,o){var r=[],n=0,a=e.length;function i(l){r.push.apply(r,ae(l||[])),n++,n===a&&o(r)}e.forEach(function(l){t(l,i)})}function Vs(e,t,o){var r=0,n=e.length;function a(i){if(i&&i.length){o(i);return}var l=r;r=r+1,l<n?t(e[l],a):o([])}a([])}function uv(e){var t=[];return Object.keys(e).forEach(function(o){t.push.apply(t,ae(e[o]||[]))}),t}var Us=function(e){Do(o,e);var t=Wo(o);function o(r,n){var a;return ht(this,o),a=t.call(this,"Async Validation Error"),I(Me(a),"errors",void 0),I(Me(a),"fields",void 0),a.errors=r,a.fields=n,a}return mt(o)}(Vi(Error));function dv(e,t,o,r,n){if(t.first){var a=new Promise(function(g,y){var b=function(S){return r(S),S.length?y(new Us(S,Ui(S))):g(n)},h=uv(e);Vs(h,o,b)});return a.catch(function(g){return g}),a}var i=t.firstFields===!0?Object.keys(e):t.firstFields||[],l=Object.keys(e),s=l.length,c=0,u=[],d=new Promise(function(g,y){var b=function(p){if(u.push.apply(u,p),c++,c===s)return r(u),u.length?y(new Us(u,Ui(u))):g(n)};l.length||(r(u),g(n)),l.forEach(function(h){var p=e[h];i.indexOf(h)!==-1?Vs(p,o,b):cv(p,o,b)})});return d.catch(function(g){return g}),d}function fv(e){return!!(e&&e.message!==void 0)}function gv(e,t){for(var o=e,r=0;r<t.length;r++){if(o==null)return o;o=o[t[r]]}return o}function qs(e,t){return function(o){var r;return e.fullFields?r=gv(t,e.fullFields):r=t[o.field||e.fullField],fv(o)?(o.field=o.field||e.fullField,o.fieldValue=r,o):{message:typeof o=="function"?o():o,fieldValue:r,field:o.field||e.fullField}}}function Gs(e,t){if(t){for(var o in t)if(t.hasOwnProperty(o)){var r=t[o];ye(r)==="object"&&ye(e[o])==="object"?e[o]=L(L({},e[o]),r):e[o]=r}}return e}var Qo="enum",pv=function(t,o,r,n,a){t[Qo]=Array.isArray(t[Qo])?t[Qo]:[],t[Qo].indexOf(o)===-1&&n.push(Rt(a.messages[Qo],t.fullField,t[Qo].join(", ")))},hv=function(t,o,r,n,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(o)||n.push(Rt(a.messages.pattern.mismatch,t.fullField,o,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(o)||n.push(Rt(a.messages.pattern.mismatch,t.fullField,o,t.pattern))}}},mv=function(t,o,r,n,a){var i=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=o,d=null,g=typeof o=="number",y=typeof o=="string",b=Array.isArray(o);if(g?d="number":y?d="string":b&&(d="array"),!d)return!1;b&&(u=o.length),y&&(u=o.replace(c,"_").length),i?u!==t.len&&n.push(Rt(a.messages[d].len,t.fullField,t.len)):l&&!s&&u<t.min?n.push(Rt(a.messages[d].min,t.fullField,t.min)):s&&!l&&u>t.max?n.push(Rt(a.messages[d].max,t.fullField,t.max)):l&&s&&(u<t.min||u>t.max)&&n.push(Rt(a.messages[d].range,t.fullField,t.min,t.max))},Id=function(t,o,r,n,a,i){t.required&&(!r.hasOwnProperty(t.field)||it(o,i||t.type))&&n.push(Rt(a.messages.required,t.fullField))},Mn;const bv=function(){if(Mn)return Mn;var e="[a-fA-F\\d:]",t=function(C){return C&&C.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},o="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",n=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(o,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(o,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(o,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(o,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(o,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(o,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(o,"|(?::").concat(r,"){1,7}|:))")],a="(?:%[0-9a-zA-Z]{1,})?",i="(?:".concat(n.join("|"),")").concat(a),l=new RegExp("(?:^".concat(o,"$)|(?:^").concat(i,"$)")),s=new RegExp("^".concat(o,"$")),c=new RegExp("^".concat(i,"$")),u=function(C){return C&&C.exact?l:new RegExp("(?:".concat(t(C)).concat(o).concat(t(C),")|(?:").concat(t(C)).concat(i).concat(t(C),")"),"g")};u.v4=function(x){return x&&x.exact?s:new RegExp("".concat(t(x)).concat(o).concat(t(x)),"g")},u.v6=function(x){return x&&x.exact?c:new RegExp("".concat(t(x)).concat(i).concat(t(x)),"g")};var d="(?:(?:[a-z]+:)?//)",g="(?:\\S+(?::\\S*)?@)?",y=u.v4().source,b=u.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",p="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",S="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",v="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',w="(?:".concat(d,"|www\\.)").concat(g,"(?:localhost|").concat(y,"|").concat(b,"|").concat(h).concat(p).concat(S,")").concat(v).concat(m);return Mn=new RegExp("(?:^".concat(w,"$)"),"i"),Mn};var Ks={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Tr={integer:function(t){return Tr.number(t)&&parseInt(t,10)===t},float:function(t){return Tr.number(t)&&!Tr.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return ye(t)==="object"&&!Tr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Ks.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(bv())},hex:function(t){return typeof t=="string"&&!!t.match(Ks.hex)}},vv=function(t,o,r,n,a){if(t.required&&o===void 0){Id(t,o,r,n,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;i.indexOf(l)>-1?Tr[l](o)||n.push(Rt(a.messages.types[l],t.fullField,t.type)):l&&ye(o)!==t.type&&n.push(Rt(a.messages.types[l],t.fullField,t.type))},yv=function(t,o,r,n,a){(/^\s+$/.test(o)||o==="")&&n.push(Rt(a.messages.whitespace,t.fullField))};const Fe={required:Id,whitespace:yv,type:vv,range:mv,enum:pv,pattern:hv};var Sv=function(t,o,r,n,a){var i=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(it(o)&&!t.required)return r();Fe.required(t,o,n,i,a)}r(i)},wv=function(t,o,r,n,a){var i=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(o==null&&!t.required)return r();Fe.required(t,o,n,i,a,"array"),o!=null&&(Fe.type(t,o,n,i,a),Fe.range(t,o,n,i,a))}r(i)},xv=function(t,o,r,n,a){var i=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(it(o)&&!t.required)return r();Fe.required(t,o,n,i,a),o!==void 0&&Fe.type(t,o,n,i,a)}r(i)},Cv=function(t,o,r,n,a){var i=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(it(o,"date")&&!t.required)return r();if(Fe.required(t,o,n,i,a),!it(o,"date")){var s;o instanceof Date?s=o:s=new Date(o),Fe.type(t,s,n,i,a),s&&Fe.range(t,s.getTime(),n,i,a)}}r(i)},kv="enum",Ev=function(t,o,r,n,a){var i=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(it(o)&&!t.required)return r();Fe.required(t,o,n,i,a),o!==void 0&&Fe[kv](t,o,n,i,a)}r(i)},$v=function(t,o,r,n,a){var i=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(it(o)&&!t.required)return r();Fe.required(t,o,n,i,a),o!==void 0&&(Fe.type(t,o,n,i,a),Fe.range(t,o,n,i,a))}r(i)},Av=function(t,o,r,n,a){var i=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(it(o)&&!t.required)return r();Fe.required(t,o,n,i,a),o!==void 0&&(Fe.type(t,o,n,i,a),Fe.range(t,o,n,i,a))}r(i)},Ov=function(t,o,r,n,a){var i=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(it(o)&&!t.required)return r();Fe.required(t,o,n,i,a),o!==void 0&&Fe.type(t,o,n,i,a)}r(i)},Mv=function(t,o,r,n,a){var i=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(o===""&&(o=void 0),it(o)&&!t.required)return r();Fe.required(t,o,n,i,a),o!==void 0&&(Fe.type(t,o,n,i,a),Fe.range(t,o,n,i,a))}r(i)},Rv=function(t,o,r,n,a){var i=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(it(o)&&!t.required)return r();Fe.required(t,o,n,i,a),o!==void 0&&Fe.type(t,o,n,i,a)}r(i)},zv=function(t,o,r,n,a){var i=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(it(o,"string")&&!t.required)return r();Fe.required(t,o,n,i,a),it(o,"string")||Fe.pattern(t,o,n,i,a)}r(i)},Tv=function(t,o,r,n,a){var i=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(it(o)&&!t.required)return r();Fe.required(t,o,n,i,a),it(o)||Fe.type(t,o,n,i,a)}r(i)},Fv=function(t,o,r,n,a){var i=[],l=Array.isArray(o)?"array":ye(o);Fe.required(t,o,n,i,a,l),r(i)},_v=function(t,o,r,n,a){var i=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(it(o,"string")&&!t.required)return r();Fe.required(t,o,n,i,a,"string"),it(o,"string")||(Fe.type(t,o,n,i,a),Fe.range(t,o,n,i,a),Fe.pattern(t,o,n,i,a),t.whitespace===!0&&Fe.whitespace(t,o,n,i,a))}r(i)},La=function(t,o,r,n,a){var i=t.type,l=[],s=t.required||!t.required&&n.hasOwnProperty(t.field);if(s){if(it(o,i)&&!t.required)return r();Fe.required(t,o,n,l,a,i),it(o,i)||Fe.type(t,o,n,l,a)}r(l)};const Pr={string:_v,method:Ov,number:Mv,boolean:xv,regexp:Tv,integer:Av,float:$v,array:wv,object:Rv,enum:Ev,pattern:zv,date:Cv,url:La,hex:La,email:La,required:Fv,any:Sv};var nn=function(){function e(t){ht(this,e),I(this,"rules",null),I(this,"_messages",Wi),this.define(t)}return mt(e,[{key:"define",value:function(o){var r=this;if(!o)throw new Error("Cannot configure a schema with no rules");if(ye(o)!=="object"||Array.isArray(o))throw new Error("Rules must be an object");this.rules={},Object.keys(o).forEach(function(n){var a=o[n];r.rules[n]=Array.isArray(a)?a:[a]})}},{key:"messages",value:function(o){return o&&(this._messages=Gs(Di(),o)),this._messages}},{key:"validate",value:function(o){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},i=o,l=n,s=a;if(typeof l=="function"&&(s=l,l={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(null,i),Promise.resolve(i);function c(b){var h=[],p={};function S(m){if(Array.isArray(m)){var w;h=(w=h).concat.apply(w,ae(m))}else h.push(m)}for(var v=0;v<b.length;v++)S(b[v]);h.length?(p=Ui(h),s(h,p)):s(null,i)}if(l.messages){var u=this.messages();u===Wi&&(u=Di()),Gs(u,l.messages),l.messages=u}else l.messages=this.messages();var d={},g=l.keys||Object.keys(this.rules);g.forEach(function(b){var h=r.rules[b],p=i[b];h.forEach(function(S){var v=S;typeof v.transform=="function"&&(i===o&&(i=L({},i)),p=i[b]=v.transform(p),p!=null&&(v.type=v.type||(Array.isArray(p)?"array":ye(p)))),typeof v=="function"?v={validator:v}:v=L({},v),v.validator=r.getValidationMethod(v),v.validator&&(v.field=b,v.fullField=v.fullField||b,v.type=r.getType(v),d[b]=d[b]||[],d[b].push({rule:v,value:p,source:i,field:b}))})});var y={};return dv(d,l,function(b,h){var p=b.rule,S=(p.type==="object"||p.type==="array")&&(ye(p.fields)==="object"||ye(p.defaultField)==="object");S=S&&(p.required||!p.required&&b.value),p.field=b.field;function v(A,O){return L(L({},O),{},{fullField:"".concat(p.fullField,".").concat(A),fullFields:p.fullFields?[].concat(ae(p.fullFields),[A]):[A]})}function m(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],O=Array.isArray(A)?A:[A];!l.suppressWarning&&O.length&&e.warning("async-validator:",O),O.length&&p.message!==void 0&&(O=[].concat(p.message));var $=O.map(qs(p,i));if(l.first&&$.length)return y[p.field]=1,h($);if(!S)h($);else{if(p.required&&!b.value)return p.message!==void 0?$=[].concat(p.message).map(qs(p,i)):l.error&&($=[l.error(p,Rt(l.messages.required,p.field))]),h($);var F={};p.defaultField&&Object.keys(b.value).map(function(P){F[P]=p.defaultField}),F=L(L({},F),b.rule.fields);var B={};Object.keys(F).forEach(function(P){var R=F[P],D=Array.isArray(R)?R:[R];B[P]=D.map(v.bind(null,P))});var H=new e(B);H.messages(l.messages),b.rule.options&&(b.rule.options.messages=l.messages,b.rule.options.error=l.error),H.validate(b.value,b.rule.options||l,function(P){var R=[];$&&$.length&&R.push.apply(R,ae($)),P&&P.length&&R.push.apply(R,ae(P)),h(R.length?R:null)})}}var w;if(p.asyncValidator)w=p.asyncValidator(p,b.value,m,b.source,l);else if(p.validator){try{w=p.validator(p,b.value,m,b.source,l)}catch(A){var x,C;(x=(C=console).error)===null||x===void 0||x.call(C,A),l.suppressValidatorError||setTimeout(function(){throw A},0),m(A.message)}w===!0?m():w===!1?m(typeof p.message=="function"?p.message(p.fullField||p.field):p.message||"".concat(p.fullField||p.field," fails")):w instanceof Array?m(w):w instanceof Error&&m(w.message)}w&&w.then&&w.then(function(){return m()},function(A){return m(A)})},function(b){c(b)},i)}},{key:"getType",value:function(o){if(o.type===void 0&&o.pattern instanceof RegExp&&(o.type="pattern"),typeof o.validator!="function"&&o.type&&!Pr.hasOwnProperty(o.type))throw new Error(Rt("Unknown rule type %s",o.type));return o.type||"string"}},{key:"getValidationMethod",value:function(o){if(typeof o.validator=="function")return o.validator;var r=Object.keys(o),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?Pr.required:Pr[this.getType(o)]||void 0}}]),e}();I(nn,"register",function(t,o){if(typeof o!="function")throw new Error("Cannot register a validator by type, validator is not a function");Pr[t]=o});I(nn,"warning",_d);I(nn,"messages",Wi);I(nn,"validators",Pr);var $t="'${name}' is not a valid ${type}",Pd={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:$t,method:$t,array:$t,object:$t,number:$t,date:$t,boolean:$t,integer:$t,float:$t,regexp:$t,email:$t,url:$t,hex:$t},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Xs=nn;function Iv(e,t){return e.replace(/\$\{\w+\}/g,function(o){var r=o.slice(2,-1);return t[r]})}var Ys="CODE_LOGIC_ERROR";function qi(e,t,o,r,n){return Gi.apply(this,arguments)}function Gi(){return Gi=Vo(yt().mark(function e(t,o,r,n,a){var i,l,s,c,u,d,g,y,b;return yt().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return i=L({},r),delete i.ruleIndex,Xs.warning=function(){},i.validator&&(l=i.validator,i.validator=function(){try{return l.apply(void 0,arguments)}catch(S){return console.error(S),Promise.reject(Ys)}}),s=null,i&&i.type==="array"&&i.defaultField&&(s=i.defaultField,delete i.defaultField),c=new Xs(I({},t,[i])),u=rr(Pd,n.validateMessages),c.messages(u),d=[],p.prev=10,p.next=13,Promise.resolve(c.validate(I({},t,o),L({},n)));case 13:p.next=18;break;case 15:p.prev=15,p.t0=p.catch(10),p.t0.errors&&(d=p.t0.errors.map(function(S,v){var m=S.message,w=m===Ys?u.default:m;return f.isValidElement(w)?f.cloneElement(w,{key:"error_".concat(v)}):w}));case 18:if(!(!d.length&&s)){p.next=23;break}return p.next=21,Promise.all(o.map(function(S,v){return qi("".concat(t,".").concat(v),S,s,n,a)}));case 21:return g=p.sent,p.abrupt("return",g.reduce(function(S,v){return[].concat(ae(S),ae(v))},[]));case 23:return y=L(L({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),b=d.map(function(S){return typeof S=="string"?Iv(S,y):S}),p.abrupt("return",b);case 26:case"end":return p.stop()}},e,null,[[10,15]])})),Gi.apply(this,arguments)}function Pv(e,t,o,r,n,a){var i=e.join("."),l=o.map(function(u,d){var g=u.validator,y=L(L({},u),{},{ruleIndex:d});return g&&(y.validator=function(b,h,p){var S=!1,v=function(){for(var x=arguments.length,C=new Array(x),A=0;A<x;A++)C[A]=arguments[A];Promise.resolve().then(function(){Xe(!S,"Your validator function has already return a promise. `callback` will be ignored."),S||p.apply(void 0,C)})},m=g(b,h,v);S=m&&typeof m.then=="function"&&typeof m.catch=="function",Xe(S,"`callback` is deprecated. Please return a promise instead."),S&&m.then(function(){p()}).catch(function(w){p(w||" ")})}),y}).sort(function(u,d){var g=u.warningOnly,y=u.ruleIndex,b=d.warningOnly,h=d.ruleIndex;return!!g==!!b?y-h:g?1:-1}),s;if(n===!0)s=new Promise(function(){var u=Vo(yt().mark(function d(g,y){var b,h,p;return yt().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:b=0;case 1:if(!(b<l.length)){v.next=12;break}return h=l[b],v.next=5,qi(i,t,h,r,a);case 5:if(p=v.sent,!p.length){v.next=9;break}return y([{errors:p,rule:h}]),v.abrupt("return");case 9:b+=1,v.next=1;break;case 12:g([]);case 13:case"end":return v.stop()}},d)}));return function(d,g){return u.apply(this,arguments)}}());else{var c=l.map(function(u){return qi(i,t,u,r,a).then(function(d){return{errors:d,rule:u}})});s=(n?jv(c):Nv(c)).then(function(u){return Promise.reject(u)})}return s.catch(function(u){return u}),s}function Nv(e){return Ki.apply(this,arguments)}function Ki(){return Ki=Vo(yt().mark(function e(t){return yt().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.all(t).then(function(n){var a,i=(a=[]).concat.apply(a,ae(n));return i}));case 1:case"end":return r.stop()}},e)})),Ki.apply(this,arguments)}function jv(e){return Xi.apply(this,arguments)}function Xi(){return Xi=Vo(yt().mark(function e(t){var o;return yt().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return o=0,n.abrupt("return",new Promise(function(a){t.forEach(function(i){i.then(function(l){l.errors.length&&a([l]),o+=1,o===t.length&&a([])})})}));case 2:case"end":return n.stop()}},e)})),Xi.apply(this,arguments)}function tt(e){return Li(e)}function Qs(e,t){var o={};return t.forEach(function(r){var n=oo(e,r);o=qt(o,r,n)}),o}function ir(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return Nd(t,r,o)})}function Nd(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!o&&e.length!==t.length?!1:t.every(function(r,n){return e[n]===r})}function Hv(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||ye(e)!=="object"||ye(t)!=="object")return!1;var o=Object.keys(e),r=Object.keys(t),n=new Set([].concat(o,r));return ae(n).every(function(a){var i=e[a],l=t[a];return typeof i=="function"&&typeof l=="function"?!0:i===l})}function Bv(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&ye(t.target)==="object"&&e in t.target?t.target[e]:t}function Zs(e,t,o){var r=e.length;if(t<0||t>=r||o<0||o>=r)return e;var n=e[t],a=t-o;return a>0?[].concat(ae(e.slice(0,o)),[n],ae(e.slice(o,t)),ae(e.slice(t+1,r))):a<0?[].concat(ae(e.slice(0,t)),ae(e.slice(t+1,o+1)),[n],ae(e.slice(o+1,r))):e}var Lv=["name"],Pt=[];function Js(e,t,o,r,n,a){return typeof e=="function"?e(t,o,"source"in a?{source:a.source}:{}):r!==n}var _l=function(e){Do(o,e);var t=Wo(o);function o(r){var n;if(ht(this,o),n=t.call(this,r),I(Me(n),"state",{resetCount:0}),I(Me(n),"cancelRegisterFunc",null),I(Me(n),"mounted",!1),I(Me(n),"touched",!1),I(Me(n),"dirty",!1),I(Me(n),"validatePromise",void 0),I(Me(n),"prevValidating",void 0),I(Me(n),"errors",Pt),I(Me(n),"warnings",Pt),I(Me(n),"cancelRegister",function(){var s=n.props,c=s.preserve,u=s.isListField,d=s.name;n.cancelRegisterFunc&&n.cancelRegisterFunc(u,c,tt(d)),n.cancelRegisterFunc=null}),I(Me(n),"getNamePath",function(){var s=n.props,c=s.name,u=s.fieldContext,d=u.prefixName,g=d===void 0?[]:d;return c!==void 0?[].concat(ae(g),ae(c)):[]}),I(Me(n),"getRules",function(){var s=n.props,c=s.rules,u=c===void 0?[]:c,d=s.fieldContext;return u.map(function(g){return typeof g=="function"?g(d):g})}),I(Me(n),"refresh",function(){n.mounted&&n.setState(function(s){var c=s.resetCount;return{resetCount:c+1}})}),I(Me(n),"metaCache",null),I(Me(n),"triggerMetaEvent",function(s){var c=n.props.onMetaChange;if(c){var u=L(L({},n.getMeta()),{},{destroy:s});Ei(n.metaCache,u)||c(u),n.metaCache=u}else n.metaCache=null}),I(Me(n),"onStoreChange",function(s,c,u){var d=n.props,g=d.shouldUpdate,y=d.dependencies,b=y===void 0?[]:y,h=d.onReset,p=u.store,S=n.getNamePath(),v=n.getValue(s),m=n.getValue(p),w=c&&ir(c,S);switch(u.type==="valueUpdate"&&u.source==="external"&&!Ei(v,m)&&(n.touched=!0,n.dirty=!0,n.validatePromise=null,n.errors=Pt,n.warnings=Pt,n.triggerMetaEvent()),u.type){case"reset":if(!c||w){n.touched=!1,n.dirty=!1,n.validatePromise=void 0,n.errors=Pt,n.warnings=Pt,n.triggerMetaEvent(),h==null||h(),n.refresh();return}break;case"remove":{if(g){n.reRender();return}break}case"setField":{var x=u.data;if(w){"touched"in x&&(n.touched=x.touched),"validating"in x&&!("originRCField"in x)&&(n.validatePromise=x.validating?Promise.resolve([]):null),"errors"in x&&(n.errors=x.errors||Pt),"warnings"in x&&(n.warnings=x.warnings||Pt),n.dirty=!0,n.triggerMetaEvent(),n.reRender();return}else if("value"in x&&ir(c,S,!0)){n.reRender();return}if(g&&!S.length&&Js(g,s,p,v,m,u)){n.reRender();return}break}case"dependenciesUpdate":{var C=b.map(tt);if(C.some(function(A){return ir(u.relatedFields,A)})){n.reRender();return}break}default:if(w||(!b.length||S.length||g)&&Js(g,s,p,v,m,u)){n.reRender();return}break}g===!0&&n.reRender()}),I(Me(n),"validateRules",function(s){var c=n.getNamePath(),u=n.getValue(),d=s||{},g=d.triggerName,y=d.validateOnly,b=y===void 0?!1:y,h=Promise.resolve().then(Vo(yt().mark(function p(){var S,v,m,w,x,C,A;return yt().wrap(function($){for(;;)switch($.prev=$.next){case 0:if(n.mounted){$.next=2;break}return $.abrupt("return",[]);case 2:if(S=n.props,v=S.validateFirst,m=v===void 0?!1:v,w=S.messageVariables,x=S.validateDebounce,C=n.getRules(),g&&(C=C.filter(function(F){return F}).filter(function(F){var B=F.validateTrigger;if(!B)return!0;var H=Li(B);return H.includes(g)})),!(x&&g)){$.next=10;break}return $.next=8,new Promise(function(F){setTimeout(F,x)});case 8:if(n.validatePromise===h){$.next=10;break}return $.abrupt("return",[]);case 10:return A=Pv(c,u,C,s,m,w),A.catch(function(F){return F}).then(function(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pt;if(n.validatePromise===h){var B;n.validatePromise=null;var H=[],P=[];(B=F.forEach)===null||B===void 0||B.call(F,function(R){var D=R.rule.warningOnly,T=R.errors,M=T===void 0?Pt:T;D?P.push.apply(P,ae(M)):H.push.apply(H,ae(M))}),n.errors=H,n.warnings=P,n.triggerMetaEvent(),n.reRender()}}),$.abrupt("return",A);case 13:case"end":return $.stop()}},p)})));return b||(n.validatePromise=h,n.dirty=!0,n.errors=Pt,n.warnings=Pt,n.triggerMetaEvent(),n.reRender()),h}),I(Me(n),"isFieldValidating",function(){return!!n.validatePromise}),I(Me(n),"isFieldTouched",function(){return n.touched}),I(Me(n),"isFieldDirty",function(){if(n.dirty||n.props.initialValue!==void 0)return!0;var s=n.props.fieldContext,c=s.getInternalHooks(_o),u=c.getInitialValue;return u(n.getNamePath())!==void 0}),I(Me(n),"getErrors",function(){return n.errors}),I(Me(n),"getWarnings",function(){return n.warnings}),I(Me(n),"isListField",function(){return n.props.isListField}),I(Me(n),"isList",function(){return n.props.isList}),I(Me(n),"isPreserve",function(){return n.props.preserve}),I(Me(n),"getMeta",function(){n.prevValidating=n.isFieldValidating();var s={touched:n.isFieldTouched(),validating:n.prevValidating,errors:n.errors,warnings:n.warnings,name:n.getNamePath(),validated:n.validatePromise===null};return s}),I(Me(n),"getOnlyChild",function(s){if(typeof s=="function"){var c=n.getMeta();return L(L({},n.getOnlyChild(s(n.getControlled(),c,n.props.fieldContext))),{},{isFunction:!0})}var u=Kr(s);return u.length!==1||!f.isValidElement(u[0])?{child:u,isFunction:!1}:{child:u[0],isFunction:!1}}),I(Me(n),"getValue",function(s){var c=n.props.fieldContext.getFieldsValue,u=n.getNamePath();return oo(s||c(!0),u)}),I(Me(n),"getControlled",function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=n.props,u=c.name,d=c.trigger,g=c.validateTrigger,y=c.getValueFromEvent,b=c.normalize,h=c.valuePropName,p=c.getValueProps,S=c.fieldContext,v=g!==void 0?g:S.validateTrigger,m=n.getNamePath(),w=S.getInternalHooks,x=S.getFieldsValue,C=w(_o),A=C.dispatch,O=n.getValue(),$=p||function(R){return I({},h,R)},F=s[d],B=u!==void 0?$(O):{};process.env.NODE_ENV!=="production"&&B&&Object.keys(B).forEach(function(R){Xe(typeof B[R]!="function","It's not recommended to generate dynamic function prop by `getValueProps`. Please pass it to child component directly (prop: ".concat(R,")"))});var H=L(L({},s),B);H[d]=function(){n.touched=!0,n.dirty=!0,n.triggerMetaEvent();for(var R,D=arguments.length,T=new Array(D),M=0;M<D;M++)T[M]=arguments[M];y?R=y.apply(void 0,T):R=Bv.apply(void 0,[h].concat(T)),b&&(R=b(R,O,x(!0))),A({type:"updateValue",namePath:m,value:R}),F&&F.apply(void 0,T)};var P=Li(v||[]);return P.forEach(function(R){var D=H[R];H[R]=function(){D&&D.apply(void 0,arguments);var T=n.props.rules;T&&T.length&&A({type:"validateField",namePath:m,triggerName:R})}}),H}),r.fieldContext){var a=r.fieldContext.getInternalHooks,i=a(_o),l=i.initEntityValue;l(Me(n))}return n}return mt(o,[{key:"componentDidMount",value:function(){var n=this.props,a=n.shouldUpdate,i=n.fieldContext;if(this.mounted=!0,i){var l=i.getInternalHooks,s=l(_o),c=s.registerField;this.cancelRegisterFunc=c(this)}a===!0&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var n=this.state.resetCount,a=this.props.children,i=this.getOnlyChild(a),l=i.child,s=i.isFunction,c;return s?c=l:f.isValidElement(l)?c=f.cloneElement(l,this.getControlled(l.props)):(Xe(!l,"`children` of Field is not validate ReactElement."),c=l),f.createElement(f.Fragment,{key:n},c)}}]),o}(f.Component);I(_l,"contextType",Lo);I(_l,"defaultProps",{trigger:"onChange",valuePropName:"value"});function Il(e){var t=e.name,o=vt(e,Lv),r=f.useContext(Lo),n=f.useContext(Xr),a=t!==void 0?tt(t):void 0,i="keep";return o.isListField||(i="_".concat((a||[]).join("_"))),process.env.NODE_ENV!=="production"&&o.preserve===!1&&o.isListField&&a.length<=1&&Xe(!1,"`preserve` should not apply on Form.List fields."),f.createElement(_l,He({key:i,name:a,isListField:!!n},o,{fieldContext:r}))}function Dv(e){var t=e.name,o=e.initialValue,r=e.children,n=e.rules,a=e.validateTrigger,i=e.isListField,l=f.useContext(Lo),s=f.useContext(Xr),c=f.useRef({keys:[],id:0}),u=c.current,d=f.useMemo(function(){var h=tt(l.prefixName)||[];return[].concat(ae(h),ae(tt(t)))},[l.prefixName,t]),g=f.useMemo(function(){return L(L({},l),{},{prefixName:d})},[l,d]),y=f.useMemo(function(){return{getKey:function(p){var S=d.length,v=p[S];return[u.keys[v],p.slice(S+1)]}}},[d]);if(typeof r!="function")return Xe(!1,"Form.List only accepts function as children."),null;var b=function(p,S,v){var m=v.source;return m==="internal"?!1:p!==S};return f.createElement(Xr.Provider,{value:y},f.createElement(Lo.Provider,{value:g},f.createElement(Il,{name:[],shouldUpdate:b,rules:n,validateTrigger:a,initialValue:o,isList:!0,isListField:i??!!s},function(h,p){var S=h.value,v=S===void 0?[]:S,m=h.onChange,w=l.getFieldValue,x=function(){var $=w(d||[]);return $||[]},C={add:function($,F){var B=x();F>=0&&F<=B.length?(u.keys=[].concat(ae(u.keys.slice(0,F)),[u.id],ae(u.keys.slice(F))),m([].concat(ae(B.slice(0,F)),[$],ae(B.slice(F))))):(process.env.NODE_ENV!=="production"&&(F<0||F>B.length)&&Xe(!1,"The second parameter of the add function should be a valid positive number."),u.keys=[].concat(ae(u.keys),[u.id]),m([].concat(ae(B),[$]))),u.id+=1},remove:function($){var F=x(),B=new Set(Array.isArray($)?$:[$]);B.size<=0||(u.keys=u.keys.filter(function(H,P){return!B.has(P)}),m(F.filter(function(H,P){return!B.has(P)})))},move:function($,F){if($!==F){var B=x();$<0||$>=B.length||F<0||F>=B.length||(u.keys=Zs(u.keys,$,F),m(Zs(B,$,F)))}}},A=v||[];return Array.isArray(A)||(A=[],process.env.NODE_ENV!=="production"&&Xe(!1,"Current value of '".concat(d.join(" > "),"' is not an array type."))),r(A.map(function(O,$){var F=u.keys[$];return F===void 0&&(u.keys[$]=u.id,F=u.keys[$],u.id+=1),{name:$,key:F,isListField:!0}}),C,p)})))}function Wv(e){var t=!1,o=e.length,r=[];return e.length?new Promise(function(n,a){e.forEach(function(i,l){i.catch(function(s){return t=!0,s}).then(function(s){o-=1,r[l]=s,!(o>0)&&(t&&a(r),n(r))})})}):Promise.resolve([])}var jd="__@field_split__";function Da(e){return e.map(function(t){return"".concat(ye(t),":").concat(t)}).join(jd)}var Zo=function(){function e(){ht(this,e),I(this,"kvs",new Map)}return mt(e,[{key:"set",value:function(o,r){this.kvs.set(Da(o),r)}},{key:"get",value:function(o){return this.kvs.get(Da(o))}},{key:"update",value:function(o,r){var n=this.get(o),a=r(n);a?this.set(o,a):this.delete(o)}},{key:"delete",value:function(o){this.kvs.delete(Da(o))}},{key:"map",value:function(o){return ae(this.kvs.entries()).map(function(r){var n=Z(r,2),a=n[0],i=n[1],l=a.split(jd);return o({key:l.map(function(s){var c=s.match(/^([^:]*):(.*)$/),u=Z(c,3),d=u[1],g=u[2];return d==="number"?Number(g):g}),value:i})})}},{key:"toJSON",value:function(){var o={};return this.map(function(r){var n=r.key,a=r.value;return o[n.join(".")]=a,null}),o}}]),e}(),Vv=["name"],Uv=mt(function e(t){var o=this;ht(this,e),I(this,"formHooked",!1),I(this,"forceRootUpdate",void 0),I(this,"subscribable",!0),I(this,"store",{}),I(this,"fieldEntities",[]),I(this,"initialValues",{}),I(this,"callbacks",{}),I(this,"validateMessages",null),I(this,"preserve",null),I(this,"lastValidatePromise",null),I(this,"getForm",function(){return{getFieldValue:o.getFieldValue,getFieldsValue:o.getFieldsValue,getFieldError:o.getFieldError,getFieldWarning:o.getFieldWarning,getFieldsError:o.getFieldsError,isFieldsTouched:o.isFieldsTouched,isFieldTouched:o.isFieldTouched,isFieldValidating:o.isFieldValidating,isFieldsValidating:o.isFieldsValidating,resetFields:o.resetFields,setFields:o.setFields,setFieldValue:o.setFieldValue,setFieldsValue:o.setFieldsValue,validateFields:o.validateFields,submit:o.submit,_init:!0,getInternalHooks:o.getInternalHooks}}),I(this,"getInternalHooks",function(r){return r===_o?(o.formHooked=!0,{dispatch:o.dispatch,initEntityValue:o.initEntityValue,registerField:o.registerField,useSubscribe:o.useSubscribe,setInitialValues:o.setInitialValues,destroyForm:o.destroyForm,setCallbacks:o.setCallbacks,setValidateMessages:o.setValidateMessages,getFields:o.getFields,setPreserve:o.setPreserve,getInitialValue:o.getInitialValue,registerWatch:o.registerWatch}):(Xe(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),I(this,"useSubscribe",function(r){o.subscribable=r}),I(this,"prevWithoutPreserves",null),I(this,"setInitialValues",function(r,n){if(o.initialValues=r||{},n){var a,i=rr(r,o.store);(a=o.prevWithoutPreserves)===null||a===void 0||a.map(function(l){var s=l.key;i=qt(i,s,oo(r,s))}),o.prevWithoutPreserves=null,o.updateStore(i)}}),I(this,"destroyForm",function(r){if(r)o.updateStore({});else{var n=new Zo;o.getFieldEntities(!0).forEach(function(a){o.isMergedPreserve(a.isPreserve())||n.set(a.getNamePath(),!0)}),o.prevWithoutPreserves=n}}),I(this,"getInitialValue",function(r){var n=oo(o.initialValues,r);return r.length?rr(n):n}),I(this,"setCallbacks",function(r){o.callbacks=r}),I(this,"setValidateMessages",function(r){o.validateMessages=r}),I(this,"setPreserve",function(r){o.preserve=r}),I(this,"watchList",[]),I(this,"registerWatch",function(r){return o.watchList.push(r),function(){o.watchList=o.watchList.filter(function(n){return n!==r})}}),I(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(o.watchList.length){var n=o.getFieldsValue(),a=o.getFieldsValue(!0);o.watchList.forEach(function(i){i(n,a,r)})}}),I(this,"timeoutId",null),I(this,"warningUnhooked",function(){process.env.NODE_ENV!=="production"&&!o.timeoutId&&typeof window<"u"&&(o.timeoutId=setTimeout(function(){o.timeoutId=null,o.formHooked||Xe(!1,"Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?")}))}),I(this,"updateStore",function(r){o.store=r}),I(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?o.fieldEntities.filter(function(n){return n.getNamePath().length}):o.fieldEntities}),I(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=new Zo;return o.getFieldEntities(r).forEach(function(a){var i=a.getNamePath();n.set(i,a)}),n}),I(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return o.getFieldEntities(!0);var n=o.getFieldsMap(!0);return r.map(function(a){var i=tt(a);return n.get(i)||{INVALIDATE_NAME_PATH:tt(a)}})}),I(this,"getFieldsValue",function(r,n){o.warningUnhooked();var a,i,l;if(r===!0||Array.isArray(r)?(a=r,i=n):r&&ye(r)==="object"&&(l=r.strict,i=r.filter),a===!0&&!i)return o.store;var s=o.getFieldEntitiesForNamePathList(Array.isArray(a)?a:null),c=[];return s.forEach(function(u){var d,g,y="INVALIDATE_NAME_PATH"in u?u.INVALIDATE_NAME_PATH:u.getNamePath();if(l){var b,h;if((b=(h=u).isList)!==null&&b!==void 0&&b.call(h))return}else if(!a&&(d=(g=u).isListField)!==null&&d!==void 0&&d.call(g))return;if(!i)c.push(y);else{var p="getMeta"in u?u.getMeta():null;i(p)&&c.push(y)}}),Qs(o.store,c.map(tt))}),I(this,"getFieldValue",function(r){o.warningUnhooked();var n=tt(r);return oo(o.store,n)}),I(this,"getFieldsError",function(r){o.warningUnhooked();var n=o.getFieldEntitiesForNamePathList(r);return n.map(function(a,i){return a&&!("INVALIDATE_NAME_PATH"in a)?{name:a.getNamePath(),errors:a.getErrors(),warnings:a.getWarnings()}:{name:tt(r[i]),errors:[],warnings:[]}})}),I(this,"getFieldError",function(r){o.warningUnhooked();var n=tt(r),a=o.getFieldsError([n])[0];return a.errors}),I(this,"getFieldWarning",function(r){o.warningUnhooked();var n=tt(r),a=o.getFieldsError([n])[0];return a.warnings}),I(this,"isFieldsTouched",function(){o.warningUnhooked();for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var i=n[0],l=n[1],s,c=!1;n.length===0?s=null:n.length===1?Array.isArray(i)?(s=i.map(tt),c=!1):(s=null,c=i):(s=i.map(tt),c=l);var u=o.getFieldEntities(!0),d=function(p){return p.isFieldTouched()};if(!s)return c?u.every(function(h){return d(h)||h.isList()}):u.some(d);var g=new Zo;s.forEach(function(h){g.set(h,[])}),u.forEach(function(h){var p=h.getNamePath();s.forEach(function(S){S.every(function(v,m){return p[m]===v})&&g.update(S,function(v){return[].concat(ae(v),[h])})})});var y=function(p){return p.some(d)},b=g.map(function(h){var p=h.value;return p});return c?b.every(y):b.some(y)}),I(this,"isFieldTouched",function(r){return o.warningUnhooked(),o.isFieldsTouched([r])}),I(this,"isFieldsValidating",function(r){o.warningUnhooked();var n=o.getFieldEntities();if(!r)return n.some(function(i){return i.isFieldValidating()});var a=r.map(tt);return n.some(function(i){var l=i.getNamePath();return ir(a,l)&&i.isFieldValidating()})}),I(this,"isFieldValidating",function(r){return o.warningUnhooked(),o.isFieldsValidating([r])}),I(this,"resetWithFieldInitialValue",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=new Zo,a=o.getFieldEntities(!0);a.forEach(function(s){var c=s.props.initialValue,u=s.getNamePath();if(c!==void 0){var d=n.get(u)||new Set;d.add({entity:s,value:c}),n.set(u,d)}});var i=function(c){c.forEach(function(u){var d=u.props.initialValue;if(d!==void 0){var g=u.getNamePath(),y=o.getInitialValue(g);if(y!==void 0)Xe(!1,"Form already set 'initialValues' with path '".concat(g.join("."),"'. Field can not overwrite it."));else{var b=n.get(g);if(b&&b.size>1)Xe(!1,"Multiple Field with path '".concat(g.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(b){var h=o.getFieldValue(g),p=u.isListField();!p&&(!r.skipExist||h===void 0)&&o.updateStore(qt(o.store,g,ae(b)[0].value))}}}})},l;r.entities?l=r.entities:r.namePathList?(l=[],r.namePathList.forEach(function(s){var c=n.get(s);if(c){var u;(u=l).push.apply(u,ae(ae(c).map(function(d){return d.entity})))}})):l=a,i(l)}),I(this,"resetFields",function(r){o.warningUnhooked();var n=o.store;if(!r){o.updateStore(rr(o.initialValues)),o.resetWithFieldInitialValue(),o.notifyObservers(n,null,{type:"reset"}),o.notifyWatch();return}var a=r.map(tt);a.forEach(function(i){var l=o.getInitialValue(i);o.updateStore(qt(o.store,i,l))}),o.resetWithFieldInitialValue({namePathList:a}),o.notifyObservers(n,a,{type:"reset"}),o.notifyWatch(a)}),I(this,"setFields",function(r){o.warningUnhooked();var n=o.store,a=[];r.forEach(function(i){var l=i.name,s=vt(i,Vv),c=tt(l);a.push(c),"value"in s&&o.updateStore(qt(o.store,c,s.value)),o.notifyObservers(n,[c],{type:"setField",data:i})}),o.notifyWatch(a)}),I(this,"getFields",function(){var r=o.getFieldEntities(!0),n=r.map(function(a){var i=a.getNamePath(),l=a.getMeta(),s=L(L({},l),{},{name:i,value:o.getFieldValue(i)});return Object.defineProperty(s,"originRCField",{value:!0}),s});return n}),I(this,"initEntityValue",function(r){var n=r.props.initialValue;if(n!==void 0){var a=r.getNamePath(),i=oo(o.store,a);i===void 0&&o.updateStore(qt(o.store,a,n))}}),I(this,"isMergedPreserve",function(r){var n=r!==void 0?r:o.preserve;return n??!0}),I(this,"registerField",function(r){o.fieldEntities.push(r);var n=r.getNamePath();if(o.notifyWatch([n]),r.props.initialValue!==void 0){var a=o.store;o.resetWithFieldInitialValue({entities:[r],skipExist:!0}),o.notifyObservers(a,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(i,l){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(o.fieldEntities=o.fieldEntities.filter(function(d){return d!==r}),!o.isMergedPreserve(l)&&(!i||s.length>1)){var c=i?void 0:o.getInitialValue(n);if(n.length&&o.getFieldValue(n)!==c&&o.fieldEntities.every(function(d){return!Nd(d.getNamePath(),n)})){var u=o.store;o.updateStore(qt(u,n,c,!0)),o.notifyObservers(u,[n],{type:"remove"}),o.triggerDependenciesUpdate(u,n)}}o.notifyWatch([n])}}),I(this,"dispatch",function(r){switch(r.type){case"updateValue":{var n=r.namePath,a=r.value;o.updateValue(n,a);break}case"validateField":{var i=r.namePath,l=r.triggerName;o.validateFields([i],{triggerName:l});break}}}),I(this,"notifyObservers",function(r,n,a){if(o.subscribable){var i=L(L({},a),{},{store:o.getFieldsValue(!0)});o.getFieldEntities().forEach(function(l){var s=l.onStoreChange;s(r,n,i)})}else o.forceRootUpdate()}),I(this,"triggerDependenciesUpdate",function(r,n){var a=o.getDependencyChildrenFields(n);return a.length&&o.validateFields(a),o.notifyObservers(r,a,{type:"dependenciesUpdate",relatedFields:[n].concat(ae(a))}),a}),I(this,"updateValue",function(r,n){var a=tt(r),i=o.store;o.updateStore(qt(o.store,a,n)),o.notifyObservers(i,[a],{type:"valueUpdate",source:"internal"}),o.notifyWatch([a]);var l=o.triggerDependenciesUpdate(i,a),s=o.callbacks.onValuesChange;if(s){var c=Qs(o.store,[a]);s(c,o.getFieldsValue())}o.triggerOnFieldsChange([a].concat(ae(l)))}),I(this,"setFieldsValue",function(r){o.warningUnhooked();var n=o.store;if(r){var a=rr(o.store,r);o.updateStore(a)}o.notifyObservers(n,null,{type:"valueUpdate",source:"external"}),o.notifyWatch()}),I(this,"setFieldValue",function(r,n){o.setFields([{name:r,value:n}])}),I(this,"getDependencyChildrenFields",function(r){var n=new Set,a=[],i=new Zo;o.getFieldEntities().forEach(function(s){var c=s.props.dependencies;(c||[]).forEach(function(u){var d=tt(u);i.update(d,function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return g.add(s),g})})});var l=function s(c){var u=i.get(c)||new Set;u.forEach(function(d){if(!n.has(d)){n.add(d);var g=d.getNamePath();d.isFieldDirty()&&g.length&&(a.push(g),s(g))}})};return l(r),a}),I(this,"triggerOnFieldsChange",function(r,n){var a=o.callbacks.onFieldsChange;if(a){var i=o.getFields();if(n){var l=new Zo;n.forEach(function(c){var u=c.name,d=c.errors;l.set(u,d)}),i.forEach(function(c){c.errors=l.get(c.name)||c.errors})}var s=i.filter(function(c){var u=c.name;return ir(r,u)});s.length&&a(s,i)}}),I(this,"validateFields",function(r,n){o.warningUnhooked();var a,i;Array.isArray(r)||typeof r=="string"||typeof n=="string"?(a=r,i=n):i=r;var l=!!a,s=l?a.map(tt):[],c=[],u=String(Date.now()),d=new Set,g=i||{},y=g.recursive,b=g.dirty;o.getFieldEntities(!0).forEach(function(v){if(l||s.push(v.getNamePath()),!(!v.props.rules||!v.props.rules.length)&&!(b&&!v.isFieldDirty())){var m=v.getNamePath();if(d.add(m.join(u)),!l||ir(s,m,y)){var w=v.validateRules(L({validateMessages:L(L({},Pd),o.validateMessages)},i));c.push(w.then(function(){return{name:m,errors:[],warnings:[]}}).catch(function(x){var C,A=[],O=[];return(C=x.forEach)===null||C===void 0||C.call(x,function($){var F=$.rule.warningOnly,B=$.errors;F?O.push.apply(O,ae(B)):A.push.apply(A,ae(B))}),A.length?Promise.reject({name:m,errors:A,warnings:O}):{name:m,errors:A,warnings:O}}))}}});var h=Wv(c);o.lastValidatePromise=h,h.catch(function(v){return v}).then(function(v){var m=v.map(function(w){var x=w.name;return x});o.notifyObservers(o.store,m,{type:"validateFinish"}),o.triggerOnFieldsChange(m,v)});var p=h.then(function(){return o.lastValidatePromise===h?Promise.resolve(o.getFieldsValue(s)):Promise.reject([])}).catch(function(v){var m=v.filter(function(w){return w&&w.errors.length});return Promise.reject({values:o.getFieldsValue(s),errorFields:m,outOfDate:o.lastValidatePromise!==h})});p.catch(function(v){return v});var S=s.filter(function(v){return d.has(v.join(u))});return o.triggerOnFieldsChange(S),p}),I(this,"submit",function(){o.warningUnhooked(),o.validateFields().then(function(r){var n=o.callbacks.onFinish;if(n)try{n(r)}catch(a){console.error(a)}}).catch(function(r){var n=o.callbacks.onFinishFailed;n&&n(r)})}),this.forceRootUpdate=t});function Pl(e){var t=f.useRef(),o=f.useState({}),r=Z(o,2),n=r[1];if(!t.current)if(e)t.current=e;else{var a=function(){n({})},i=new Uv(a);t.current=i.getForm()}return[t.current]}var Yi=f.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Hd=function(t){var o=t.validateMessages,r=t.onFormChange,n=t.onFormFinish,a=t.children,i=f.useContext(Yi),l=f.useRef({});return f.createElement(Yi.Provider,{value:L(L({},i),{},{validateMessages:L(L({},i.validateMessages),o),triggerFormChange:function(c,u){r&&r(c,{changedFields:u,forms:l.current}),i.triggerFormChange(c,u)},triggerFormFinish:function(c,u){n&&n(c,{values:u,forms:l.current}),i.triggerFormFinish(c,u)},registerForm:function(c,u){c&&(l.current=L(L({},l.current),{},I({},c,u))),i.registerForm(c,u)},unregisterForm:function(c){var u=L({},l.current);delete u[c],l.current=u,i.unregisterForm(c)}})},a)},qv=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],Gv=function(t,o){var r=t.name,n=t.initialValues,a=t.fields,i=t.form,l=t.preserve,s=t.children,c=t.component,u=c===void 0?"form":c,d=t.validateMessages,g=t.validateTrigger,y=g===void 0?"onChange":g,b=t.onValuesChange,h=t.onFieldsChange,p=t.onFinish,S=t.onFinishFailed,v=t.clearOnDestroy,m=vt(t,qv),w=f.useRef(null),x=f.useContext(Yi),C=Pl(i),A=Z(C,1),O=A[0],$=O.getInternalHooks(_o),F=$.useSubscribe,B=$.setInitialValues,H=$.setCallbacks,P=$.setValidateMessages,R=$.setPreserve,D=$.destroyForm;f.useImperativeHandle(o,function(){return L(L({},O),{},{nativeElement:w.current})}),f.useEffect(function(){return x.registerForm(r,O),function(){x.unregisterForm(r)}},[x,O,r]),P(L(L({},x.validateMessages),d)),H({onValuesChange:b,onFieldsChange:function(K){if(x.triggerFormChange(r,K),h){for(var ee=arguments.length,X=new Array(ee>1?ee-1:0),Y=1;Y<ee;Y++)X[Y-1]=arguments[Y];h.apply(void 0,[K].concat(X))}},onFinish:function(K){x.triggerFormFinish(r,K),p&&p(K)},onFinishFailed:S}),R(l);var T=f.useRef(null);B(n,!T.current),T.current||(T.current=!0),f.useEffect(function(){return function(){return D(v)}},[]);var M,z=typeof s=="function";if(z){var j=O.getFieldsValue(!0);M=s(j,O)}else M=s;F(!z);var _=f.useRef();f.useEffect(function(){Hv(_.current||[],a||[])||O.setFields(a||[]),_.current=a},[a,O]);var N=f.useMemo(function(){return L(L({},O),{},{validateTrigger:y})},[O,y]),V=f.createElement(Xr.Provider,{value:null},f.createElement(Lo.Provider,{value:N},M));return u===!1?V:f.createElement(u,He({},m,{ref:w,onSubmit:function(K){K.preventDefault(),K.stopPropagation(),O.submit()},onReset:function(K){var ee;K.preventDefault(),O.resetFields(),(ee=m.onReset)===null||ee===void 0||ee.call(m,K)}}),V)};function ec(e){try{return JSON.stringify(e)}catch{return Math.random()}}var Kv=process.env.NODE_ENV!=="production"?function(e){var t=e.join("__RC_FIELD_FORM_SPLIT__"),o=E.useRef(t);Xe(o.current===t,"`useWatch` is not support dynamic `namePath`. Please provide static instead.")}:function(){};function Xv(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var r=t[0],n=t[1],a=n===void 0?{}:n,i=nv(a)?{form:a}:a,l=i.form,s=E.useState(),c=Z(s,2),u=c[0],d=c[1],g=E.useMemo(function(){return ec(u)},[u]),y=E.useRef(g);y.current=g;var b=E.useContext(Lo),h=l||b,p=h&&h._init;process.env.NODE_ENV!=="production"&&Xe(t.length===2?l?p:!0:p,"useWatch requires a form instance since it can not auto detect from context.");var S=tt(r),v=E.useRef(S);return v.current=S,Kv(S),E.useEffect(function(){if(p){var m=h.getFieldsValue,w=h.getInternalHooks,x=w(_o),C=x.registerWatch,A=function(B,H){var P=i.preserve?H:B;return typeof r=="function"?r(P):oo(P,v.current)},O=C(function(F,B){var H=A(F,B),P=ec(H);y.current!==P&&(y.current=P,d(H))}),$=A(m(),m(!0));return u!==$&&d($),O}},[p]),u}var Yv=f.forwardRef(Gv),wr=Yv;wr.FormProvider=Hd;wr.Field=Il;wr.List=Dv;wr.useForm=Pl;wr.useWatch=Xv;const $o=f.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),Bd=f.createContext(null),Qv=e=>{const t=on(e,["prefixCls"]);return f.createElement(Hd,Object.assign({},t))},Ld=f.createContext({prefixCls:""}),ho=f.createContext({});process.env.NODE_ENV!=="production"&&(ho.displayName="FormItemInputContext");const Zv=e=>{let{children:t,status:o,override:r}=e;const n=E.useContext(ho),a=E.useMemo(()=>{const i=Object.assign({},n);return r&&delete i.isFormItemInput,o&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[o,r,n]);return f.createElement(ho.Provider,{value:a},t)},Dd=E.createContext(void 0),Wd=f.createContext(null),Nl=(e,t)=>{const o=f.useContext(Wd),r=f.useMemo(()=>{if(!o)return"";const{compactDirection:n,isFirstItem:a,isLastItem:i}=o,l=n==="vertical"?"-vertical-":"-";return ie(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:a,[`${e}-compact${l}last-item`]:i,[`${e}-compact${l}item-rtl`]:t==="rtl"})},[e,t,o]);return{compactSize:o==null?void 0:o.compactSize,compactDirection:o==null?void 0:o.compactDirection,compactItemClassnames:r}},Jv=e=>{let{children:t}=e;return f.createElement(Wd.Provider,{value:null},t)},Qi=e=>{const{space:t,form:o,children:r}=e;if(r==null)return null;let n=r;return o&&(n=E.createElement(Zv,{override:!0,status:!0},n)),t&&(n=E.createElement(Jv,null,n)),n},Vd=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:E.createElement(Sl,null)}),t};function Zi(e,t,o){return ie({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:o})}const Ud=(e,t)=>t||e,an=e=>{const[,,,,t]=vo();return t?`${e}-css-var`:""},qd=function(e,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var r,n;const{variant:a,[e]:i}=E.useContext(rt),l=E.useContext(Dd),s=i==null?void 0:i.variant;let c;typeof t<"u"?c=t:o===!1?c="borderless":c=(n=(r=l??s)!==null&&r!==void 0?r:a)!==null&&n!==void 0?n:"outlined";const u=Db.includes(c);return[c,u]};function ey(e,t,o){const{focusElCls:r,focus:n,borderElCls:a}=o,i=a?"> *":"",l=["hover",n?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${i}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[l]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${i}`]:{zIndex:0}})}}function ty(e,t,o){const{borderElCls:r}=o,n=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${n}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${n}, &${e}-sm ${n}, &${e}-lg ${n}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${n}, &${e}-sm ${n}, &${e}-lg ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Gd(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:o}=e,r=`${o}-compact`;return{[r]:Object.assign(Object.assign({},ey(e,r,t)),ty(o,r,t))}}function oy(e){return zt(e,{inputAffixPadding:e.paddingXXS})}const ry=e=>{const{controlHeight:t,fontSize:o,lineHeight:r,lineWidth:n,controlHeightSM:a,controlHeightLG:i,fontSizeLG:l,lineHeightLG:s,paddingSM:c,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:g,colorPrimaryHover:y,colorPrimary:b,controlOutlineWidth:h,controlOutline:p,colorErrorOutline:S,colorWarningOutline:v,colorBgContainer:m}=e;return{paddingBlock:Math.max(Math.round((t-o*r)/2*10)/10-n,0),paddingBlockSM:Math.max(Math.round((a-o*r)/2*10)/10-n,0),paddingBlockLG:Math.ceil((i-l*s)/2*10)/10-n,paddingInline:c-n,paddingInlineSM:u-n,paddingInlineLG:d-n,addonBg:g,activeBorderColor:b,hoverBorderColor:y,activeShadow:`0 0 0 ${h}px ${p}`,errorActiveShadow:`0 0 0 ${h}px ${S}`,warningActiveShadow:`0 0 0 ${h}px ${v}`,hoverBg:m,activeBg:m,inputFontSize:o,inputFontSizeLG:l,inputFontSizeSM:o}},ny=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),jl=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},ny(zt(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),Kd=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),tc=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Kd(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),ay=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Kd(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},jl(e))}),tc(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),tc(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),oc=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),iy=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${Ee(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},oc(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),oc(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},jl(e))}})}),ly=(e,t)=>{const{componentCls:o}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${o}-disabled, &[disabled]`]:{color:e.colorTextDisabled},[`&${o}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${o}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},Xd=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t==null?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),rc=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Xd(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),sy=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Xd(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},jl(e))}),rc(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),rc(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),nc=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),cy=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${Ee(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${Ee(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},nc(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),nc(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${Ee(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Ee(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Ee(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${Ee(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Ee(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Ee(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),uy=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Yd=e=>{const{paddingBlockLG:t,lineHeightLG:o,borderRadiusLG:r,paddingInlineLG:n}=e;return{padding:`${Ee(t)} ${Ee(n)}`,fontSize:e.inputFontSizeLG,lineHeight:o,borderRadius:r}},Qd=e=>({padding:`${Ee(e.paddingBlockSM)} ${Ee(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),Zd=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${Ee(e.paddingBlock)} ${Ee(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},uy(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},Yd(e)),"&-sm":Object.assign({},Qd(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),dy=e=>{const{componentCls:t,antCls:o}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},Yd(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},Qd(e)),[`&-lg ${o}-select-single ${o}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${o}-select-single ${o}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${Ee(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${o}-select`]:{margin:`${Ee(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${Ee(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${o}-select-single:not(${o}-select-customize-input):not(${o}-pagination-size-changer)`]:{[`${o}-select-selector`]:{backgroundColor:"inherit",border:`${Ee(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${o}-select-selector`]:{color:e.colorPrimary}}},[`${o}-cascader-picker`]:{margin:`-9px ${Ee(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${o}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${o}-select ${o}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${o}-select ${o}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},d0()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
|
693
|
-
& > ${t}-affix-wrapper,
|
694
|
-
& > ${t}-number-affix-wrapper,
|
695
|
-
& > ${o}-picker-range
|
696
|
-
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${o}-select > ${o}-select-selector,
|
697
|
-
& > ${o}-select-auto-complete ${t},
|
698
|
-
& > ${o}-cascader-picker ${t},
|
699
|
-
& > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${o}-select-focused`]:{zIndex:1},[`& > ${o}-select > ${o}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
700
|
-
& > ${o}-select:first-child > ${o}-select-selector,
|
701
|
-
& > ${o}-select-auto-complete:first-child ${t},
|
702
|
-
& > ${o}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
|
703
|
-
& > ${o}-select:last-child > ${o}-select-selector,
|
704
|
-
& > ${o}-cascader-picker:last-child ${t},
|
705
|
-
& > ${o}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${o}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},fy=e=>{const{componentCls:t,controlHeightSM:o,lineWidth:r,calc:n}=e,i=n(o).sub(n(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},rn(e)),Zd(e)),ay(e)),sy(e)),ly(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:o,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},gy=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${Ee(e.inputAffixPadding)}`}}}},py=e=>{const{componentCls:t,inputAffixPadding:o,colorTextDescription:r,motionDurationSlow:n,colorIcon:a,colorIconHover:i,iconCls:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},Zd(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:o},"&-suffix":{marginInlineStart:o}}}),gy(e)),{[`${l}${t}-password-icon`]:{color:a,cursor:"pointer",transition:`all ${n}`,"&:hover":{color:i}}})}},hy=e=>{const{componentCls:t,borderRadiusLG:o,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},rn(e)),dy(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:o,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},iy(e)),cy(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},my=e=>{const{componentCls:t,antCls:o}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${o}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${o}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${o}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,
|
706
|
-
> ${t},
|
707
|
-
${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},by=e=>{const{componentCls:t,paddingLG:o}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
708
|
-
&-allow-clear > ${t},
|
709
|
-
&-affix-wrapper${r}-has-feedback ${t}
|
710
|
-
`]:{paddingInlineEnd:o},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},vy=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},Jd=vr("Input",e=>{const t=zt(e,oy(e));return[fy(t),by(t),py(t),hy(t),my(t),vy(t),Gd(t)]},ry,{resetFont:!1});function yy(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var Sy=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};function wy(e,t){if(!e)return;e.focus(t);const{cursor:o}=t||{};if(o){const r=e.value.length;switch(o){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}const Hl=E.forwardRef((e,t)=>{var o;const{prefixCls:r,bordered:n=!0,status:a,size:i,disabled:l,onBlur:s,onFocus:c,suffix:u,allowClear:d,addonAfter:g,addonBefore:y,className:b,style:h,styles:p,rootClassName:S,onChange:v,classNames:m,variant:w}=e,x=Sy(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]);if(process.env.NODE_ENV!=="production"){const{deprecated:q}=Ct("Input");q(!("bordered"in e),"bordered","variant")}const{getPrefixCls:C,direction:A,input:O}=E.useContext(rt),$=C("input",r),F=E.useRef(null),B=an($),[H,P,R]=Jd($,B),{compactSize:D,compactItemClassnames:T}=Nl($,A),M=mr(q=>{var me;return(me=i??D)!==null&&me!==void 0?me:q}),z=E.useContext(Bo),j=l??z,{status:_,hasFeedback:N,feedbackIcon:V}=E.useContext(ho),G=Ud(_,a),K=yy(e)||!!N,ee=E.useRef(K);if(process.env.NODE_ENV!=="production"){const q=Ct("Input");E.useEffect(()=>{var me;K&&!ee.current&&process.env.NODE_ENV!=="production"&&q(document.activeElement===((me=F.current)===null||me===void 0?void 0:me.input),"usage","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),ee.current=K},[K])}const X=zd(F,!0),Y=q=>{X(),s==null||s(q)},J=q=>{X(),c==null||c(q)},oe=q=>{X(),v==null||v(q)},ne=(N||u)&&E.createElement(E.Fragment,null,u,N&&V),he=Vd(d??(O==null?void 0:O.allowClear)),[ce,$e]=qd("input",w,n);return H(E.createElement(rv,Object.assign({ref:bo(t,F),prefixCls:$,autoComplete:O==null?void 0:O.autoComplete},x,{disabled:j,onBlur:Y,onFocus:J,style:Object.assign(Object.assign({},O==null?void 0:O.style),h),styles:Object.assign(Object.assign({},O==null?void 0:O.styles),p),suffix:ne,allowClear:he,className:ie(b,S,R,B,T,O==null?void 0:O.className),onChange:oe,addonBefore:y&&E.createElement(Qi,{form:!0,space:!0},y),addonAfter:g&&E.createElement(Qi,{form:!0,space:!0},g),classNames:Object.assign(Object.assign(Object.assign({},m),O==null?void 0:O.classNames),{input:ie({[`${$}-sm`]:M==="small",[`${$}-lg`]:M==="large",[`${$}-rtl`]:A==="rtl"},m==null?void 0:m.input,(o=O==null?void 0:O.classNames)===null||o===void 0?void 0:o.input,P),variant:ie({[`${$}-${ce}`]:$e},Zi($,G)),affixWrapper:ie({[`${$}-affix-wrapper-sm`]:M==="small",[`${$}-affix-wrapper-lg`]:M==="large",[`${$}-affix-wrapper-rtl`]:A==="rtl"},P),wrapper:ie({[`${$}-group-rtl`]:A==="rtl"},P),groupWrapper:ie({[`${$}-group-wrapper-sm`]:M==="small",[`${$}-group-wrapper-lg`]:M==="large",[`${$}-group-wrapper-rtl`]:A==="rtl",[`${$}-group-wrapper-${ce}`]:$e},Zi(`${$}-group-wrapper`,G,N),P)})})))});process.env.NODE_ENV!=="production"&&(Hl.displayName="Input");var xy=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};const Cy=e=>e?f.createElement(xl,null):f.createElement(wl,null),ky={click:"onClick",hover:"onMouseOver"},ef=f.forwardRef((e,t)=>{const{disabled:o,action:r="click",visibilityToggle:n=!0,iconRender:a=Cy}=e,i=typeof n=="object"&&n.visible!==void 0,[l,s]=E.useState(()=>i?n.visible:!1),c=E.useRef(null);f.useEffect(()=>{i&&s(n.visible)},[i,n]);const u=zd(c),d=()=>{o||(l&&u(),s(O=>{var $;const F=!O;return typeof n=="object"&&(($=n.onVisibleChange)===null||$===void 0||$.call(n,F)),F}))},g=O=>{const $=ky[r]||"",F=a(l),B={[$]:d,className:`${O}-icon`,key:"passwordIcon",onMouseDown:H=>{H.preventDefault()},onMouseUp:H=>{H.preventDefault()}};return f.cloneElement(f.isValidElement(F)?F:f.createElement("span",null,F),B)},{className:y,prefixCls:b,inputPrefixCls:h,size:p}=e,S=xy(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:v}=f.useContext(rt),m=v("input",h),w=v("input-password",b),x=n&&g(w),C=ie(w,y,{[`${w}-${p}`]:!!p}),A=Object.assign(Object.assign({},on(S,["suffix","iconRender","visibilityToggle"])),{type:l?"text":"password",className:C,prefixCls:m,suffix:x});return p&&(A.size=p),f.createElement(Hl,Object.assign({ref:bo(t,c)},A))});process.env.NODE_ENV!=="production"&&(ef.displayName="Input.Password");const ac=e=>{let t="";const o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=o.length;let n=0;for(;n<e;)t+=o.charAt(Math.floor(Math.random()*r)),n+=1;return t},Ey=e=>f.createElement("svg",{id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"533.333px",height:"533.333px",viewBox:"0 0 533.333 533.333",style:{enableBackground:"new 0 0 533.333 533.333"},xmlSpace:"preserve",...e},f.createElement("g",null,f.createElement("path",{d:"M450,100H183.333C137.5,100,100,137.5,100,183.333V450c0,45.833,37.5,83.333,83.333,83.333H450 c45.834,0,83.334-37.5,83.334-83.333V183.333C533.333,137.5,495.833,100,450,100z M216.667,466.667c-27.614,0-50-22.386-50-50 s22.386-50,50-50s50,22.386,50,50S244.281,466.667,216.667,466.667z M216.667,266.667c-27.614,0-50-22.386-50-50 c0-27.614,22.386-50,50-50s50,22.386,50,50C266.667,244.281,244.281,266.667,216.667,266.667z M316.667,366.667 c-27.614,0-50-22.386-50-50s22.386-50,50-50s50,22.386,50,50S344.281,366.667,316.667,366.667z M416.667,466.667 c-27.614,0-50-22.386-50-50s22.386-50,50-50s50,22.386,50,50S444.281,466.667,416.667,466.667z M416.667,266.667 c-27.614,0-50-22.386-50-50c0-27.614,22.386-50,50-50s50,22.386,50,50C466.667,244.281,444.281,266.667,416.667,266.667z M431.646,66.667C423.87,28.748,390.13,0,350,0H83.333C37.5,0,0,37.5,0,83.333V350c0,40.129,28.748,73.87,66.667,81.646V100 c0-18.333,15-33.333,33.333-33.333H431.646z"})),f.createElement("g",null),f.createElement("g",null),f.createElement("g",null),f.createElement("g",null),f.createElement("g",null),f.createElement("g",null),f.createElement("g",null),f.createElement("g",null),f.createElement("g",null),f.createElement("g",null),f.createElement("g",null),f.createElement("g",null),f.createElement("g",null),f.createElement("g",null),f.createElement("g",null)),$y=se(ef)`
|
711
|
-
::placeholder, &::placeholder {
|
712
|
-
transition: color .4s;
|
713
|
-
}
|
714
|
-
|
715
|
-
.no-placeholder, &.no-placeholder {
|
716
|
-
&::placeholder, ::placeholder {
|
717
|
-
color: transparent;
|
718
|
-
}
|
719
|
-
}
|
720
|
-
`,Ay=se.div`
|
721
|
-
display: flex;
|
722
|
-
align-items: center;
|
723
|
-
`,Wa=se.span`
|
724
|
-
color: ${e=>e.$color};
|
725
|
-
margin-inline-start: 4px;
|
726
|
-
transition: color .3s;
|
727
|
-
cursor: pointer;
|
728
|
-
|
729
|
-
&:hover {
|
730
|
-
color: ${e=>e.$hoverColor};
|
731
|
-
}
|
732
|
-
`,Oy=E.forwardRef((e,t)=>{const{copy:o,randomize:r,...n}=e,{id:a,value:i,visibilityToggle:l}=n,s=pe.Form.useFormInstance(),{token:{colorText:c,colorTextTertiary:u}}=pe.theme.useToken(),[d,g]=E.useState("copy"),y=E.useRef(void 0),b=E.useCallback(p=>{p.stopPropagation(),g("copied!"),clearTimeout(y.current),y.current=setTimeout(g,1e3,"copy")},[]),h=E.useCallback(p=>{p.stopPropagation(),typeof r=="object"&&r!==null?r.onRandomize?r.onRandomize(p):s.setFieldValue(a,ac(r.charCount||12)):s.setFieldValue(a,ac(12))},[s,a,r]);return W.jsx("div",{style:{position:"relative"},children:W.jsx($y,{ref:t,...n,iconRender:p=>W.jsxs(Ay,{onClick:S=>S.preventDefault(),children:[o&&W.jsx(pe.Tooltip,{title:d,children:W.jsx(Bc.CopyToClipboard,{text:typeof i=="string"?i:"",children:W.jsx(Wa,{$color:u,$hoverColor:c,onClick:b,children:W.jsx(Un,{component:yu})})})}),r&&W.jsx(pe.Tooltip,{title:typeof r=="object"&&(r==null?void 0:r.tooltip)||"randomize",children:W.jsx(Wa,{$color:u,$hoverColor:c,onClick:h,children:W.jsx(Un,{component:Ey})})}),l!==!1&&W.jsx(Wa,{$color:u,$hoverColor:c,children:p?W.jsx(xl,{}):W.jsx(wl,{})})]})})})});function tf(e){return e&&E.isValidElement(e)&&e.type===E.Fragment}const My=(e,t,o)=>E.isValidElement(e)?E.cloneElement(e,typeof o=="function"?o(e.props||{}):o):t;function dr(e,t){return My(e,e,t)}const Bl=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),o=t.width,r=t.height;if(o||r)return!0}if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),a=n.width,i=n.height;if(a||i)return!0}}return!1},Ry=e=>{const{componentCls:t,colorPrimary:o}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${o})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},zy=m0("Wave",e=>[Ry(e)]),of=`${qr}-wave-target`;var ln=L({},Df),Ty=ln.version,Fy=ln.render,_y=ln.unmountComponentAtNode,ua;try{var Iy=Number((Ty||"").split(".")[0]);Iy>=18&&(ua=ln.createRoot)}catch{}function ic(e){var t=ln.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&ye(t)==="object"&&(t.usingClientEntryPoint=e)}var Yn="__rc_react_root__";function Py(e,t){ic(!0);var o=t[Yn]||ua(t);ic(!1),o.render(e),t[Yn]=o}function Ny(e,t){Fy(e,t)}function jy(e,t){if(ua){Py(e,t);return}Ny(e,t)}function Hy(e){return Ji.apply(this,arguments)}function Ji(){return Ji=Vo(yt().mark(function e(t){return yt().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var n;(n=t[Yn])===null||n===void 0||n.unmount(),delete t[Yn]}));case 1:case"end":return r.stop()}},e)})),Ji.apply(this,arguments)}function By(e){_y(e)}function Ly(e){return el.apply(this,arguments)}function el(){return el=Vo(yt().mark(function e(t){return yt().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(ua===void 0){r.next=2;break}return r.abrupt("return",Hy(t));case 2:By(t);case 3:case"end":return r.stop()}},e)})),el.apply(this,arguments)}function Dy(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function Va(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&Dy(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function Wy(e){const{borderTopColor:t,borderColor:o,backgroundColor:r}=getComputedStyle(e);return Va(t)?t:Va(o)?o:Va(r)?r:null}function Ua(e){return Number.isNaN(e)?0:e}const Vy=e=>{const{className:t,target:o,component:r}=e,n=f.useRef(null),[a,i]=f.useState(null),[l,s]=f.useState([]),[c,u]=f.useState(0),[d,g]=f.useState(0),[y,b]=f.useState(0),[h,p]=f.useState(0),[S,v]=f.useState(!1),m={left:c,top:d,width:y,height:h,borderRadius:l.map(C=>`${C}px`).join(" ")};a&&(m["--wave-color"]=a);function w(){const C=getComputedStyle(o);i(Wy(o));const A=C.position==="static",{borderLeftWidth:O,borderTopWidth:$}=C;u(A?o.offsetLeft:Ua(-parseFloat(O))),g(A?o.offsetTop:Ua(-parseFloat($))),b(o.offsetWidth),p(o.offsetHeight);const{borderTopLeftRadius:F,borderTopRightRadius:B,borderBottomLeftRadius:H,borderBottomRightRadius:P}=C;s([F,B,P,H].map(R=>Ua(parseFloat(R))))}if(f.useEffect(()=>{if(o){const C=Bt(()=>{w(),v(!0)});let A;return typeof ResizeObserver<"u"&&(A=new ResizeObserver(w),A.observe(o)),()=>{Bt.cancel(C),A==null||A.disconnect()}}},[]),!S)return null;const x=(r==="Checkbox"||r==="Radio")&&(o==null?void 0:o.classList.contains(of));return f.createElement(yr,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(C,A)=>{var O;if(A.deadline||A.propertyName==="opacity"){const $=(O=n.current)===null||O===void 0?void 0:O.parentElement;Ly($).then(()=>{$==null||$.remove()})}return!1}},(C,A)=>{let{className:O}=C;return f.createElement("div",{ref:bo(n,A),className:ie(t,O,{"wave-quick":x}),style:m})})},Uy=(e,t)=>{var o;const{component:r}=t;if(r==="Checkbox"&&!(!((o=e.querySelector("input"))===null||o===void 0)&&o.checked))return;const n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e==null||e.insertBefore(n,e==null?void 0:e.firstChild),jy(f.createElement(Vy,Object.assign({},t,{target:e})),n)},qy=(e,t,o)=>{const{wave:r}=f.useContext(rt),[,n,a]=vo(),i=Ot(c=>{const u=e.current;if(r!=null&&r.disabled||!u)return;const d=u.querySelector(`.${of}`)||u,{showEffect:g}=r||{};(g||Uy)(d,{className:t,token:n,component:o,event:c,hashId:a})}),l=f.useRef();return c=>{Bt.cancel(l.current),l.current=Bt(()=>{i(c)})}},rf=e=>{const{children:t,disabled:o,component:r}=e,{getPrefixCls:n}=E.useContext(rt),a=E.useRef(null),i=n("wave"),[,l]=zy(i),s=qy(a,ie(i,l),r);if(E.useEffect(()=>{const u=a.current;if(!u||u.nodeType!==1||o)return;const d=g=>{!Bl(g.target)||!u.getAttribute||u.getAttribute("disabled")||u.disabled||u.className.includes("disabled")||u.className.includes("-leave")||s(g)};return u.addEventListener("click",d,!0),()=>{u.removeEventListener("click",d,!0)}},[o]),!E.isValidElement(t))return t??null;const c=pr(t)?bo(t.ref,a):a;return dr(t,{ref:c})};process.env.NODE_ENV!=="production"&&(rf.displayName="Wave");var Gy=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};const nf=f.createContext(void 0),Ky=e=>{const{getPrefixCls:t,direction:o}=f.useContext(rt),{prefixCls:r,size:n,className:a}=e,i=Gy(e,["prefixCls","size","className"]),l=t("btn-group",r),[,,s]=vo();let c="";switch(n){case"large":c="lg";break;case"small":c="sm";break}if(process.env.NODE_ENV!=="production"){const d=Ct("Button.Group");process.env.NODE_ENV!=="production"&&d(!n||["large","small","middle"].includes(n),"usage","Invalid prop `size`.")}const u=ie(l,{[`${l}-${c}`]:c,[`${l}-rtl`]:o==="rtl"},a,s);return f.createElement(nf.Provider,{value:n},f.createElement("div",Object.assign({},i,{className:u})))},lc=/^[\u4e00-\u9fa5]{2}$/,tl=lc.test.bind(lc);function sc(e){return typeof e=="string"}function Rn(e){return e==="text"||e==="link"}function Xy(e,t){if(e==null)return;const o=t?" ":"";return typeof e!="string"&&typeof e!="number"&&sc(e.type)&&tl(e.props.children)?dr(e,{children:e.props.children.split("").join(o)}):sc(e)?tl(e)?E.createElement("span",null,e.split("").join(o)):E.createElement("span",null,e):tf(e)?E.createElement("span",null,e):e}function Yy(e,t){let o=!1;const r=[];return E.Children.forEach(e,n=>{const a=typeof n,i=a==="string"||a==="number";if(o&&i){const l=r.length-1,s=r[l];r[l]=`${s}${n}`}else r.push(n);o=i}),E.Children.map(r,n=>Xy(n,t))}const af=E.forwardRef((e,t)=>{const{className:o,style:r,children:n,prefixCls:a}=e,i=ie(`${a}-icon`,o);return E.createElement("span",{ref:t,className:i,style:r},n)}),cc=E.forwardRef((e,t)=>{const{prefixCls:o,className:r,style:n,iconClassName:a}=e,i=ie(`${o}-loading-icon`,r);return E.createElement(af,{prefixCls:o,className:i,style:n,ref:t},E.createElement(ra,{className:a}))}),qa=()=>({width:0,opacity:0,transform:"scale(0)"}),Ga=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Qy=e=>{const{prefixCls:t,loading:o,existIcon:r,className:n,style:a}=e,i=!!o;return r?E.createElement(cc,{prefixCls:t,className:n,style:a}):E.createElement(yr,{visible:i,motionName:`${t}-loading-icon-motion`,motionLeave:i,removeOnLeave:!0,onAppearStart:qa,onAppearActive:Ga,onEnterStart:qa,onEnterActive:Ga,onLeaveStart:Ga,onLeaveActive:qa},(l,s)=>{let{className:c,style:u}=l;return E.createElement(cc,{prefixCls:t,className:n,style:Object.assign(Object.assign({},a),u),ref:s,iconClassName:c})})},uc=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Zy=e=>{const{componentCls:t,fontSize:o,lineWidth:r,groupBorderColor:n,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:o}},uc(`${t}-primary`,n),uc(`${t}-danger`,a)]}},lf=e=>{const{paddingInline:t,onlyIconSize:o,paddingBlock:r}=e;return zt(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:o})},sf=e=>{var t,o,r,n,a,i;const l=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,s=(o=e.contentFontSizeSM)!==null&&o!==void 0?o:e.fontSize,c=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,u=(n=e.contentLineHeight)!==null&&n!==void 0?n:Bn(l),d=(a=e.contentLineHeightSM)!==null&&a!==void 0?a:Bn(s),g=(i=e.contentLineHeightLG)!==null&&i!==void 0?i:Bn(c);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:l,contentFontSizeSM:s,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:g,paddingBlock:Math.max((e.controlHeight-l*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-s*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*g)/2-e.lineWidth,0)}},Jy=e=>{const{componentCls:t,iconCls:o,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${Ee(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:1},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},h0(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${o})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},mo=(e,t,o)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":o}}),e1=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),t1=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),o1=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),Yr=(e,t,o,r,n,a,i,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:o||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},mo(e,Object.assign({background:t},i),Object.assign({background:t},l))),{"&:disabled":{cursor:"not-allowed",color:n||void 0,borderColor:a||void 0}})}),Ll=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},o1(e))}),cf=e=>Object.assign({},Ll(e)),Qn=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),uf=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},cf(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),mo(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),Yr(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},mo(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Yr(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Ll(e))}),r1=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},cf(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),mo(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),Yr(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},mo(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),Yr(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Ll(e))}),n1=e=>Object.assign(Object.assign({},uf(e)),{borderStyle:"dashed"}),a1=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},mo(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Qn(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},mo(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),Qn(e))}),i1=e=>Object.assign(Object.assign(Object.assign({},mo(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),Qn(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Qn(e)),mo(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),l1=e=>{const{componentCls:t}=e;return{[`${t}-default`]:uf(e),[`${t}-primary`]:r1(e),[`${t}-dashed`]:n1(e),[`${t}-link`]:a1(e),[`${t}-text`]:i1(e),[`${t}-ghost`]:Yr(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},Dl=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:o,controlHeight:r,fontSize:n,lineHeight:a,borderRadius:i,buttonPaddingHorizontal:l,iconCls:s,buttonPaddingVertical:c}=e,u=`${o}-icon-only`;return[{[`${t}`]:{fontSize:n,lineHeight:a,height:r,padding:`${Ee(c)} ${Ee(l)}`,borderRadius:i,[`&${u}`]:{width:r,paddingInline:0,[`&${o}-compact-item`]:{flex:"none"},[`&${o}-round`]:{width:"auto"},[s]:{fontSize:e.buttonIconOnlyFontSize}},[`&${o}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${o}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${o}${o}-circle${t}`]:e1(e)},{[`${o}${o}-round${t}`]:t1(e)}]},s1=e=>{const t=zt(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return Dl(t,e.componentCls)},c1=e=>{const t=zt(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return Dl(t,`${e.componentCls}-sm`)},u1=e=>{const t=zt(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return Dl(t,`${e.componentCls}-lg`)},d1=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},f1=vr("Button",e=>{const t=lf(e);return[Jy(t),s1(t),c1(t),u1(t),d1(t),l1(t),Zy(t)]},sf,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function g1(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function p1(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function h1(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},g1(e,t)),p1(e.componentCls,t))}}const m1=e=>{const{componentCls:t,calc:o}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:o(e.lineWidth).mul(-1).equal(),insetInlineStart:o(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${Ee(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:o(e.lineWidth).mul(-1).equal(),insetInlineStart:o(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${Ee(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},b1=pd(["Button","compact"],e=>{const t=lf(e);return[Gd(t),h1(t),m1(t)]},sf);var v1=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};function y1(e){if(typeof e=="object"&&e){let t=e==null?void 0:e.delay;return t=!Number.isNaN(t)&&typeof t=="number"?t:0,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}const S1=E.forwardRef((e,t)=>{var o,r,n;const{loading:a=!1,prefixCls:i,type:l,danger:s=!1,shape:c="default",size:u,styles:d,disabled:g,className:y,rootClassName:b,children:h,icon:p,iconPosition:S="start",ghost:v=!1,block:m=!1,htmlType:w="button",classNames:x,style:C={},autoInsertSpace:A}=e,O=v1(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),$=l||"default",{getPrefixCls:F,direction:B,button:H}=E.useContext(rt),P=(o=A??(H==null?void 0:H.autoInsertSpace))!==null&&o!==void 0?o:!0,R=F("btn",i),[D,T,M]=f1(R),z=E.useContext(Bo),j=g??z,_=E.useContext(nf),N=E.useMemo(()=>y1(a),[a]),[V,G]=E.useState(N.loading),[K,ee]=E.useState(!1),Y=bo(t,E.createRef()),J=E.Children.count(h)===1&&!p&&!Rn($);E.useEffect(()=>{let de=null;N.delay>0?de=setTimeout(()=>{de=null,G(!0)},N.delay):G(N.loading);function xe(){de&&(clearTimeout(de),de=null)}return xe},[N]),E.useEffect(()=>{if(!Y||!Y.current||!P)return;const de=Y.current.textContent;J&&tl(de)?K||ee(!0):K&&ee(!1)},[Y]);const oe=de=>{const{onClick:xe}=e;if(V||j){de.preventDefault();return}xe==null||xe(de)};if(process.env.NODE_ENV!=="production"){const de=Ct("Button");process.env.NODE_ENV!=="production"&&de(!(typeof p=="string"&&p.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${p}\` at https://ant.design/components/icon`),process.env.NODE_ENV!=="production"&&de(!(v&&Rn($)),"usage","`link` or `text` button can't be a `ghost` button.")}const{compactSize:ne,compactItemClassnames:he}=Nl(R,B),ce={large:"lg",small:"sm",middle:void 0},$e=mr(de=>{var xe,Re;return(Re=(xe=u??ne)!==null&&xe!==void 0?xe:_)!==null&&Re!==void 0?Re:de}),q=$e&&ce[$e]||"",me=V?"loading":p,re=on(O,["navigate"]),Ae=ie(R,T,M,{[`${R}-${c}`]:c!=="default"&&c,[`${R}-${$}`]:$,[`${R}-${q}`]:q,[`${R}-icon-only`]:!h&&h!==0&&!!me,[`${R}-background-ghost`]:v&&!Rn($),[`${R}-loading`]:V,[`${R}-two-chinese-chars`]:K&&P&&!V,[`${R}-block`]:m,[`${R}-dangerous`]:s,[`${R}-rtl`]:B==="rtl",[`${R}-icon-end`]:S==="end"},he,y,b,H==null?void 0:H.className),Be=Object.assign(Object.assign({},H==null?void 0:H.style),C),ge=ie(x==null?void 0:x.icon,(r=H==null?void 0:H.classNames)===null||r===void 0?void 0:r.icon),ue=Object.assign(Object.assign({},(d==null?void 0:d.icon)||{}),((n=H==null?void 0:H.styles)===null||n===void 0?void 0:n.icon)||{}),te=p&&!V?E.createElement(af,{prefixCls:R,className:ge,style:ue},p):E.createElement(Qy,{existIcon:!!p,prefixCls:R,loading:V}),be=h||h===0?Yy(h,J&&P):null;if(re.href!==void 0)return D(E.createElement("a",Object.assign({},re,{className:ie(Ae,{[`${R}-disabled`]:j}),href:j?void 0:re.href,style:Be,onClick:oe,ref:Y,tabIndex:j?-1:0}),te,be));let ve=E.createElement("button",Object.assign({},O,{type:w,className:Ae,style:Be,onClick:oe,disabled:j,ref:Y}),te,be,!!he&&E.createElement(b1,{key:"compact",prefixCls:R}));return Rn($)||(ve=E.createElement(rf,{component:"Button",disabled:V},ve)),D(ve)}),da=S1;da.Group=Ky;da.__ANT_BUTTON=!0;process.env.NODE_ENV!=="production"&&(da.displayName="Button");var w1=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};const df=f.forwardRef((e,t)=>{const{prefixCls:o,inputPrefixCls:r,className:n,size:a,suffix:i,enterButton:l=!1,addonAfter:s,loading:c,disabled:u,onSearch:d,onChange:g,onCompositionStart:y,onCompositionEnd:b}=e,h=w1(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:p,direction:S}=f.useContext(rt),v=f.useRef(!1),m=p("input-search",o),w=p("input",r),{compactSize:x}=Nl(m,S),C=mr(_=>{var N;return(N=a??x)!==null&&N!==void 0?N:_}),A=f.useRef(null),O=_=>{_!=null&&_.target&&_.type==="click"&&d&&d(_.target.value,_,{source:"clear"}),g==null||g(_)},$=_=>{var N;document.activeElement===((N=A.current)===null||N===void 0?void 0:N.input)&&_.preventDefault()},F=_=>{var N,V;d&&d((V=(N=A.current)===null||N===void 0?void 0:N.input)===null||V===void 0?void 0:V.value,_,{source:"input"})},B=_=>{v.current||c||F(_)},H=typeof l=="boolean"?f.createElement(bu,null):null,P=`${m}-button`;let R;const D=l||{},T=D.type&&D.type.__ANT_BUTTON===!0;T||D.type==="button"?R=dr(D,Object.assign({onMouseDown:$,onClick:_=>{var N,V;(V=(N=D==null?void 0:D.props)===null||N===void 0?void 0:N.onClick)===null||V===void 0||V.call(N,_),F(_)},key:"enterButton"},T?{className:P,size:C}:{})):R=f.createElement(da,{className:P,type:l?"primary":void 0,size:C,disabled:u,key:"enterButton",onMouseDown:$,onClick:F,loading:c,icon:H},l),s&&(R=[R,dr(s,{key:"addonAfter"})]);const M=ie(m,{[`${m}-rtl`]:S==="rtl",[`${m}-${C}`]:!!C,[`${m}-with-button`]:!!l},n),z=_=>{v.current=!0,y==null||y(_)},j=_=>{v.current=!1,b==null||b(_)};return f.createElement(Hl,Object.assign({ref:bo(A,t),onPressEnter:B},h,{size:C,onCompositionStart:z,onCompositionEnd:j,prefixCls:w,addonAfter:R,suffix:i,onChange:O,className:M,disabled:u}))});process.env.NODE_ENV!=="production"&&(df.displayName="Search");const x1=se(df)`
|
733
|
-
::placeholder, &::placeholder {
|
734
|
-
transition: color .4s;
|
735
|
-
}
|
736
|
-
|
737
|
-
.no-placeholder, &.no-placeholder {
|
738
|
-
&::placeholder, ::placeholder {
|
739
|
-
color: transparent;
|
740
|
-
}
|
741
|
-
}
|
742
|
-
`;var ol=f.createContext(null);function C1(e){var t=e.children,o=e.onBatchResize,r=f.useRef(0),n=f.useRef([]),a=f.useContext(ol),i=f.useCallback(function(l,s,c){r.current+=1;var u=r.current;n.current.push({size:l,element:s,data:c}),Promise.resolve().then(function(){u===r.current&&(o==null||o(n.current),n.current=[])}),a==null||a(l,s,c)},[o,a]);return f.createElement(ol.Provider,{value:i},t)}var ff=function(){if(typeof Map<"u")return Map;function e(t,o){var r=-1;return t.some(function(n,a){return n[0]===o?(r=a,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(o){var r=e(this.__entries__,o),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(o,r){var n=e(this.__entries__,o);~n?this.__entries__[n][1]=r:this.__entries__.push([o,r])},t.prototype.delete=function(o){var r=this.__entries__,n=e(r,o);~n&&r.splice(n,1)},t.prototype.has=function(o){return!!~e(this.__entries__,o)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(o,r){r===void 0&&(r=null);for(var n=0,a=this.__entries__;n<a.length;n++){var i=a[n];o.call(r,i[1],i[0])}},t}()}(),rl=typeof window<"u"&&typeof document<"u"&&window.document===document,Zn=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),k1=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Zn):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),E1=2;function $1(e,t){var o=!1,r=!1,n=0;function a(){o&&(o=!1,e()),r&&l()}function i(){k1(a)}function l(){var s=Date.now();if(o){if(s-n<E1)return;r=!0}else o=!0,r=!1,setTimeout(i,t);n=s}return l}var A1=20,O1=["top","right","bottom","left","width","height","size","weight"],M1=typeof MutationObserver<"u",R1=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=$1(this.refresh.bind(this),A1)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var o=this.observers_,r=o.indexOf(t);~r&&o.splice(r,1),!o.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(o){return o.gatherActive(),o.hasActive()});return t.forEach(function(o){return o.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!rl||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),M1?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!rl||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var o=t.propertyName,r=o===void 0?"":o,n=O1.some(function(a){return!!~r.indexOf(a)});n&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),gf=function(e,t){for(var o=0,r=Object.keys(t);o<r.length;o++){var n=r[o];Object.defineProperty(e,n,{value:t[n],enumerable:!1,writable:!1,configurable:!0})}return e},fr=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||Zn},pf=fa(0,0,0,0);function Jn(e){return parseFloat(e)||0}function dc(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return t.reduce(function(r,n){var a=e["border-"+n+"-width"];return r+Jn(a)},0)}function z1(e){for(var t=["top","right","bottom","left"],o={},r=0,n=t;r<n.length;r++){var a=n[r],i=e["padding-"+a];o[a]=Jn(i)}return o}function T1(e){var t=e.getBBox();return fa(0,0,t.width,t.height)}function F1(e){var t=e.clientWidth,o=e.clientHeight;if(!t&&!o)return pf;var r=fr(e).getComputedStyle(e),n=z1(r),a=n.left+n.right,i=n.top+n.bottom,l=Jn(r.width),s=Jn(r.height);if(r.boxSizing==="border-box"&&(Math.round(l+a)!==t&&(l-=dc(r,"left","right")+a),Math.round(s+i)!==o&&(s-=dc(r,"top","bottom")+i)),!I1(e)){var c=Math.round(l+a)-t,u=Math.round(s+i)-o;Math.abs(c)!==1&&(l-=c),Math.abs(u)!==1&&(s-=u)}return fa(n.left,n.top,l,s)}var _1=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof fr(e).SVGGraphicsElement}:function(e){return e instanceof fr(e).SVGElement&&typeof e.getBBox=="function"}}();function I1(e){return e===fr(e).document.documentElement}function P1(e){return rl?_1(e)?T1(e):F1(e):pf}function N1(e){var t=e.x,o=e.y,r=e.width,n=e.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,i=Object.create(a.prototype);return gf(i,{x:t,y:o,width:r,height:n,top:o,right:t+r,bottom:n+o,left:t}),i}function fa(e,t,o,r){return{x:e,y:t,width:o,height:r}}var j1=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=fa(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=P1(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),H1=function(){function e(t,o){var r=N1(o);gf(this,{target:t,contentRect:r})}return e}(),B1=function(){function e(t,o,r){if(this.activeObservations_=[],this.observations_=new ff,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=o,this.callbackCtx_=r}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof fr(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var o=this.observations_;o.has(t)||(o.set(t,new j1(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof fr(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var o=this.observations_;o.has(t)&&(o.delete(t),o.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(o){o.isActive()&&t.activeObservations_.push(o)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,o=this.activeObservations_.map(function(r){return new H1(r.target,r.broadcastRect())});this.callback_.call(t,o,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),hf=typeof WeakMap<"u"?new WeakMap:new ff,mf=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var o=R1.getInstance(),r=new B1(t,o,this);hf.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){mf.prototype[e]=function(){var t;return(t=hf.get(this))[e].apply(t,arguments)}});var L1=function(){return typeof Zn.ResizeObserver<"u"?Zn.ResizeObserver:mf}(),go=new Map;function bf(e){e.forEach(function(t){var o,r=t.target;(o=go.get(r))===null||o===void 0||o.forEach(function(n){return n(r)})})}var vf=new L1(bf);process.env.NODE_ENV;process.env.NODE_ENV;function D1(e,t){go.has(e)||(go.set(e,new Set),vf.observe(e)),go.get(e).add(t)}function W1(e,t){go.has(e)&&(go.get(e).delete(t),go.get(e).size||(vf.unobserve(e),go.delete(e)))}var V1=function(e){Do(o,e);var t=Wo(o);function o(){return ht(this,o),t.apply(this,arguments)}return mt(o,[{key:"render",value:function(){return this.props.children}}]),o}(f.Component);function U1(e,t){var o=e.children,r=e.disabled,n=f.useRef(null),a=f.useRef(null),i=f.useContext(ol),l=typeof o=="function",s=l?o(n):o,c=f.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),u=!l&&f.isValidElement(s)&&pr(s),d=u?s.ref:null,g=na(d,n),y=function(){var S;return Ln(n.current)||(n.current&&ye(n.current)==="object"?Ln((S=n.current)===null||S===void 0?void 0:S.nativeElement):null)||Ln(a.current)};f.useImperativeHandle(t,function(){return y()});var b=f.useRef(e);b.current=e;var h=f.useCallback(function(p){var S=b.current,v=S.onResize,m=S.data,w=p.getBoundingClientRect(),x=w.width,C=w.height,A=p.offsetWidth,O=p.offsetHeight,$=Math.floor(x),F=Math.floor(C);if(c.current.width!==$||c.current.height!==F||c.current.offsetWidth!==A||c.current.offsetHeight!==O){var B={width:$,height:F,offsetWidth:A,offsetHeight:O};c.current=B;var H=A===Math.round(x)?x:A,P=O===Math.round(C)?C:O,R=L(L({},B),{},{offsetWidth:H,offsetHeight:P});i==null||i(R,p,m),v&&Promise.resolve().then(function(){v(R,p)})}},[]);return f.useEffect(function(){var p=y();return p&&!r&&D1(p,h),function(){return W1(p,h)}},[n.current,r]),f.createElement(V1,{ref:a},u?f.cloneElement(s,{ref:g}):s)}var yf=f.forwardRef(U1);process.env.NODE_ENV!=="production"&&(yf.displayName="SingleObserver");var q1="rc-observer-key";function G1(e,t){var o=e.children,r=typeof o=="function"?[o]:Kr(o);return process.env.NODE_ENV!=="production"&&(r.length>1?lr(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):r.length===0&&lr(!1,"`children` of ResizeObserver is empty. Nothing is in observe.")),r.map(function(n,a){var i=(n==null?void 0:n.key)||"".concat(q1,"-").concat(a);return f.createElement(yf,He({},e,{key:i,ref:a===0?t:void 0}),n)})}var sn=f.forwardRef(G1);process.env.NODE_ENV!=="production"&&(sn.displayName="ResizeObserver");sn.Collection=C1;var K1=`
|
743
|
-
min-height:0 !important;
|
744
|
-
max-height:none !important;
|
745
|
-
height:0 !important;
|
746
|
-
visibility:hidden !important;
|
747
|
-
overflow:hidden !important;
|
748
|
-
position:absolute !important;
|
749
|
-
z-index:-1000 !important;
|
750
|
-
top:0 !important;
|
751
|
-
right:0 !important;
|
752
|
-
pointer-events: none !important;
|
753
|
-
`,X1=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Ka={},Nt;function Y1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&Ka[o])return Ka[o];var r=window.getComputedStyle(e),n=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),a=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),i=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l=X1.map(function(c){return"".concat(c,":").concat(r.getPropertyValue(c))}).join(";"),s={sizingStyle:l,paddingSize:a,borderSize:i,boxSizing:n};return t&&o&&(Ka[o]=s),s}function Q1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Nt||(Nt=document.createElement("textarea"),Nt.setAttribute("tab-index","-1"),Nt.setAttribute("aria-hidden","true"),document.body.appendChild(Nt)),e.getAttribute("wrap")?Nt.setAttribute("wrap",e.getAttribute("wrap")):Nt.removeAttribute("wrap");var n=Y1(e,t),a=n.paddingSize,i=n.borderSize,l=n.boxSizing,s=n.sizingStyle;Nt.setAttribute("style","".concat(s,";").concat(K1)),Nt.value=e.value||e.placeholder||"";var c=void 0,u=void 0,d,g=Nt.scrollHeight;if(l==="border-box"?g+=i:l==="content-box"&&(g-=a),o!==null||r!==null){Nt.value=" ";var y=Nt.scrollHeight-a;o!==null&&(c=y*o,l==="border-box"&&(c=c+a+i),g=Math.max(c,g)),r!==null&&(u=y*r,l==="border-box"&&(u=u+a+i),d=g>u?"":"hidden",g=Math.min(u,g))}var b={height:g,overflowY:d,resize:"none"};return c&&(b.minHeight=c),u&&(b.maxHeight=u),b}var Z1=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Xa=0,Ya=1,Qa=2,J1=f.forwardRef(function(e,t){var o=e,r=o.prefixCls;o.onPressEnter;var n=o.defaultValue,a=o.value,i=o.autoSize,l=o.onResize,s=o.className,c=o.style,u=o.disabled,d=o.onChange,g=o.onInternalAutoSize,y=vt(o,Z1),b=hr(n,{value:a,postState:function(ee){return ee??""}}),h=Z(b,2),p=h[0],S=h[1],v=function(ee){S(ee.target.value),d==null||d(ee)},m=f.useRef();f.useImperativeHandle(t,function(){return{textArea:m.current}});var w=f.useMemo(function(){return i&&ye(i)==="object"?[i.minRows,i.maxRows]:[]},[i]),x=Z(w,2),C=x[0],A=x[1],O=!!i,$=function(){try{if(document.activeElement===m.current){var ee=m.current,X=ee.selectionStart,Y=ee.selectionEnd,J=ee.scrollTop;m.current.setSelectionRange(X,Y),m.current.scrollTop=J}}catch{}},F=f.useState(Qa),B=Z(F,2),H=B[0],P=B[1],R=f.useState(),D=Z(R,2),T=D[0],M=D[1],z=function(){P(Xa),process.env.NODE_ENV==="test"&&(g==null||g())};ct(function(){O&&z()},[a,C,A,O]),ct(function(){if(H===Xa)P(Ya);else if(H===Ya){var K=Q1(m.current,!1,C,A);P(Qa),M(K)}else $()},[H]);var j=f.useRef(),_=function(){Bt.cancel(j.current)},N=function(ee){H===Qa&&(l==null||l(ee),i&&(_(),j.current=Bt(function(){z()})))};f.useEffect(function(){return _},[]);var V=O?T:null,G=L(L({},c),V);return(H===Xa||H===Ya)&&(G.overflowY="hidden",G.overflowX="hidden"),f.createElement(sn,{onResize:N,disabled:!(i||l)},f.createElement("textarea",He({},y,{ref:m,style:G,className:ie(r,s,I({},"".concat(r,"-disabled"),u)),disabled:u,value:p,onChange:v})))}),eS=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","readOnly"],tS=E.forwardRef(function(e,t){var o,r=e.defaultValue,n=e.value,a=e.onFocus,i=e.onBlur,l=e.onChange,s=e.allowClear,c=e.maxLength,u=e.onCompositionStart,d=e.onCompositionEnd,g=e.suffix,y=e.prefixCls,b=y===void 0?"rc-textarea":y,h=e.showCount,p=e.count,S=e.className,v=e.style,m=e.disabled,w=e.hidden,x=e.classNames,C=e.styles,A=e.onResize,O=e.readOnly,$=vt(e,eS),F=hr(r,{value:n,defaultValue:r}),B=Z(F,2),H=B[0],P=B[1],R=H==null?"":String(H),D=E.useState(!1),T=Z(D,2),M=T[0],z=T[1],j=E.useRef(!1),_=E.useState(null),N=Z(_,2),V=N[0],G=N[1],K=E.useRef(null),ee=E.useRef(null),X=function(){var we;return(we=ee.current)===null||we===void 0?void 0:we.textArea},Y=function(){X().focus()};E.useImperativeHandle(t,function(){var Te;return{resizableTextArea:ee.current,focus:Y,blur:function(){X().blur()},nativeElement:((Te=K.current)===null||Te===void 0?void 0:Te.nativeElement)||X()}}),E.useEffect(function(){z(function(Te){return!m&&Te})},[m]);var J=E.useState(null),oe=Z(J,2),ne=oe[0],he=oe[1];E.useEffect(function(){if(ne){var Te;(Te=X()).setSelectionRange.apply(Te,ae(ne))}},[ne]);var ce=Fd(p,h),$e=(o=ce.max)!==null&&o!==void 0?o:c,q=Number($e)>0,me=ce.strategy(R),re=!!$e&&me>$e,Ae=function(we,Ye){var Ke=Ye;!j.current&&ce.exceedFormatter&&ce.max&&ce.strategy(Ye)>ce.max&&(Ke=ce.exceedFormatter(Ye,{max:ce.max}),Ye!==Ke&&he([X().selectionStart||0,X().selectionEnd||0])),P(Ke),Xn(we.currentTarget,we,l,Ke)},Be=function(we){j.current=!0,u==null||u(we)},ge=function(we){j.current=!1,Ae(we,we.currentTarget.value),d==null||d(we)},ue=function(we){Ae(we,we.target.value)},te=function(we){var Ye=$.onPressEnter,Ke=$.onKeyDown;we.key==="Enter"&&Ye&&Ye(we),Ke==null||Ke(we)},be=function(we){z(!0),a==null||a(we)},ve=function(we){z(!1),i==null||i(we)},de=function(we){P(""),Y(),Xn(X(),we,l)},xe=g,Re;ce.show&&(ce.showFormatter?Re=ce.showFormatter({value:R,count:me,maxLength:$e}):Re="".concat(me).concat(q?" / ".concat($e):""),xe=E.createElement(E.Fragment,null,xe,E.createElement("span",{className:ie("".concat(b,"-data-count"),x==null?void 0:x.count),style:C==null?void 0:C.count},Re)));var lt=function(we){var Ye;A==null||A(we),(Ye=X())!==null&&Ye!==void 0&&Ye.style.height&&G(!0)},Dt=!$.autoSize&&!h&&!s;return E.createElement(Td,{ref:K,value:R,allowClear:s,handleReset:de,suffix:xe,prefixCls:b,classNames:L(L({},x),{},{affixWrapper:ie(x==null?void 0:x.affixWrapper,I(I({},"".concat(b,"-show-count"),h),"".concat(b,"-textarea-allow-clear"),s))}),disabled:m,focused:M,className:ie(S,re&&"".concat(b,"-out-of-range")),style:L(L({},v),V&&!Dt?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Re=="string"?Re:void 0}},hidden:w,readOnly:O},E.createElement(J1,He({},$,{maxLength:c,onKeyDown:te,onChange:ue,onFocus:be,onBlur:ve,onCompositionStart:Be,onCompositionEnd:ge,className:ie(x==null?void 0:x.textarea),style:L(L({},C==null?void 0:C.textarea),{},{resize:v==null?void 0:v.resize}),disabled:m,prefixCls:b,onResize:lt,ref:ee,readOnly:O})))}),oS=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};const rS=E.forwardRef((e,t)=>{var o,r;const{prefixCls:n,bordered:a=!0,size:i,disabled:l,status:s,allowClear:c,classNames:u,rootClassName:d,className:g,style:y,styles:b,variant:h}=e,p=oS(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]);if(process.env.NODE_ENV!=="production"){const{deprecated:_}=Ct("TextArea");_(!("bordered"in e),"bordered","variant")}const{getPrefixCls:S,direction:v,textArea:m}=f.useContext(rt),w=mr(i),x=f.useContext(Bo),C=l??x,{status:A,hasFeedback:O,feedbackIcon:$}=f.useContext(ho),F=Ud(A,s),B=f.useRef(null);f.useImperativeHandle(t,()=>{var _;return{resizableTextArea:(_=B.current)===null||_===void 0?void 0:_.resizableTextArea,focus:N=>{var V,G;wy((G=(V=B.current)===null||V===void 0?void 0:V.resizableTextArea)===null||G===void 0?void 0:G.textArea,N)},blur:()=>{var N;return(N=B.current)===null||N===void 0?void 0:N.blur()}}});const H=S("input",n),P=an(H),[R,D,T]=Jd(H,P),[M,z]=qd("textArea",h,a),j=Vd(c??(m==null?void 0:m.allowClear));return R(f.createElement(tS,Object.assign({autoComplete:m==null?void 0:m.autoComplete},p,{style:Object.assign(Object.assign({},m==null?void 0:m.style),y),styles:Object.assign(Object.assign({},m==null?void 0:m.styles),b),disabled:C,allowClear:j,className:ie(T,P,g,d,m==null?void 0:m.className),classNames:Object.assign(Object.assign(Object.assign({},u),m==null?void 0:m.classNames),{textarea:ie({[`${H}-sm`]:w==="small",[`${H}-lg`]:w==="large"},D,u==null?void 0:u.textarea,(o=m==null?void 0:m.classNames)===null||o===void 0?void 0:o.textarea),variant:ie({[`${H}-${M}`]:z},Zi(H,F)),affixWrapper:ie(`${H}-textarea-affix-wrapper`,{[`${H}-affix-wrapper-rtl`]:v==="rtl",[`${H}-affix-wrapper-sm`]:w==="small",[`${H}-affix-wrapper-lg`]:w==="large",[`${H}-textarea-show-count`]:e.showCount||((r=e.count)===null||r===void 0?void 0:r.show)},D)}),prefixCls:H,suffix:O&&f.createElement("span",{className:`${H}-textarea-suffix`},$),ref:B})))}),nS=se(rS)`
|
754
|
-
::placeholder, &::placeholder {
|
755
|
-
transition: color .4s;
|
756
|
-
}
|
757
|
-
|
758
|
-
.no-placeholder, &.no-placeholder {
|
759
|
-
&::placeholder, ::placeholder {
|
760
|
-
color: transparent;
|
761
|
-
}
|
762
|
-
}
|
763
|
-
`,cn=Sm;cn.TextArea=nS;cn.Search=x1;cn.Password=Oy;cn.OTP=pe.Input.OTP;const fc=e=>typeof e=="object"&&e!=null&&e.nodeType===1,gc=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",Za=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const o=getComputedStyle(e,null);return gc(o.overflowY,t)||gc(o.overflowX,t)||(r=>{const n=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!n&&(n.clientHeight<r.scrollHeight||n.clientWidth<r.scrollWidth)})(e)}return!1},zn=(e,t,o,r,n,a,i,l)=>a<e&&i>t||a>e&&i<t?0:a<=e&&l<=o||i>=t&&l>=o?a-e-r:i>t&&l<o||a<e&&l>o?i-t+n:0,aS=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},pc=(e,t)=>{var o,r,n,a;if(typeof document>"u")return[];const{scrollMode:i,block:l,inline:s,boundary:c,skipOverflowHiddenElements:u}=t,d=typeof c=="function"?c:T=>T!==c;if(!fc(e))throw new TypeError("Invalid target");const g=document.scrollingElement||document.documentElement,y=[];let b=e;for(;fc(b)&&d(b);){if(b=aS(b),b===g){y.push(b);break}b!=null&&b===document.body&&Za(b)&&!Za(document.documentElement)||b!=null&&Za(b,u)&&y.push(b)}const h=(r=(o=window.visualViewport)==null?void 0:o.width)!=null?r:innerWidth,p=(a=(n=window.visualViewport)==null?void 0:n.height)!=null?a:innerHeight,{scrollX:S,scrollY:v}=window,{height:m,width:w,top:x,right:C,bottom:A,left:O}=e.getBoundingClientRect(),{top:$,right:F,bottom:B,left:H}=(T=>{const M=window.getComputedStyle(T);return{top:parseFloat(M.scrollMarginTop)||0,right:parseFloat(M.scrollMarginRight)||0,bottom:parseFloat(M.scrollMarginBottom)||0,left:parseFloat(M.scrollMarginLeft)||0}})(e);let P=l==="start"||l==="nearest"?x-$:l==="end"?A+B:x+m/2-$+B,R=s==="center"?O+w/2-H+F:s==="end"?C+F:O-H;const D=[];for(let T=0;T<y.length;T++){const M=y[T],{height:z,width:j,top:_,right:N,bottom:V,left:G}=M.getBoundingClientRect();if(i==="if-needed"&&x>=0&&O>=0&&A<=p&&C<=h&&x>=_&&A<=V&&O>=G&&C<=N)return D;const K=getComputedStyle(M),ee=parseInt(K.borderLeftWidth,10),X=parseInt(K.borderTopWidth,10),Y=parseInt(K.borderRightWidth,10),J=parseInt(K.borderBottomWidth,10);let oe=0,ne=0;const he="offsetWidth"in M?M.offsetWidth-M.clientWidth-ee-Y:0,ce="offsetHeight"in M?M.offsetHeight-M.clientHeight-X-J:0,$e="offsetWidth"in M?M.offsetWidth===0?0:j/M.offsetWidth:0,q="offsetHeight"in M?M.offsetHeight===0?0:z/M.offsetHeight:0;if(g===M)oe=l==="start"?P:l==="end"?P-p:l==="nearest"?zn(v,v+p,p,X,J,v+P,v+P+m,m):P-p/2,ne=s==="start"?R:s==="center"?R-h/2:s==="end"?R-h:zn(S,S+h,h,ee,Y,S+R,S+R+w,w),oe=Math.max(0,oe+v),ne=Math.max(0,ne+S);else{oe=l==="start"?P-_-X:l==="end"?P-V+J+ce:l==="nearest"?zn(_,V,z,X,J+ce,P,P+m,m):P-(_+z/2)+ce/2,ne=s==="start"?R-G-ee:s==="center"?R-(G+j/2)+he/2:s==="end"?R-N+Y+he:zn(G,N,j,ee,Y+he,R,R+w,w);const{scrollLeft:me,scrollTop:re}=M;oe=q===0?0:Math.max(0,Math.min(re+oe/q,M.scrollHeight-z/q+ce)),ne=$e===0?0:Math.max(0,Math.min(me+ne/$e,M.scrollWidth-j/$e+he)),P+=re-oe,R+=me-ne}D.push({el:M,top:oe,left:ne})}return D},iS=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function lS(e,t){if(!e.isConnected||!(n=>{let a=n;for(;a&&a.parentNode;){if(a.parentNode===document)return!0;a=a.parentNode instanceof ShadowRoot?a.parentNode.host:a.parentNode}return!1})(e))return;const o=(n=>{const a=window.getComputedStyle(n);return{top:parseFloat(a.scrollMarginTop)||0,right:parseFloat(a.scrollMarginRight)||0,bottom:parseFloat(a.scrollMarginBottom)||0,left:parseFloat(a.scrollMarginLeft)||0}})(e);if((n=>typeof n=="object"&&typeof n.behavior=="function")(t))return t.behavior(pc(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:n,top:a,left:i}of pc(e,iS(t))){const l=a-o.top+o.bottom,s=i-o.left+o.right;n.scroll({top:l,left:s,behavior:r})}}const sS=["parentNode"],cS="form_item";function Nr(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function Sf(e,t){if(!e.length)return;const o=e.join("_");return t?`${t}_${o}`:sS.includes(o)?`${cS}_${o}`:o}function wf(e,t,o,r,n,a){let i=r;return a!==void 0?i=a:o.validating?i="validating":e.length?i="error":t.length?i="warning":(o.touched||n&&o.validated)&&(i="success"),i}function hc(e){return Nr(e).join("_")}function uS(e,t){const o=t.getFieldInstance(e),r=hd(o);if(r)return r;const n=Sf(Nr(e),t.__INTERNAL__.name);if(n)return document.getElementById(n)}function dS(e){const[t]=Pl(),o=f.useRef({}),r=f.useMemo(()=>e??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:n=>a=>{const i=hc(n);a?o.current[i]=a:delete o.current[i]}},scrollToField:function(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=uS(n,r);i&&lS(i,Object.assign({scrollMode:"if-needed",block:"nearest"},a))},getFieldInstance:n=>{const a=hc(n);return o.current[a]}}),[e,t]);return[r]}const Tn={};function fS(e){let{name:t}=e;const o=Ct("Form");E.useEffect(()=>{if(t)return Tn[t]=(Tn[t]||0)+1,process.env.NODE_ENV!=="production"&&o(Tn[t]<=1,"usage","There exist multiple Form with same `name`."),()=>{Tn[t]-=1}},[t])}const gS=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
|
764
|
-
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
|
765
|
-
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),pS=e=>({animationDuration:e,animationFillMode:"both"}),hS=e=>({animationDuration:e,animationFillMode:"both"}),mS=function(e,t,o,r){const a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
|
766
|
-
${a}${e}-enter,
|
767
|
-
${a}${e}-appear
|
768
|
-
`]:Object.assign(Object.assign({},pS(r)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},hS(r)),{animationPlayState:"paused"}),[`
|
769
|
-
${a}${e}-enter${e}-enter-active,
|
770
|
-
${a}${e}-appear${e}-appear-active
|
771
|
-
`]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:o,animationPlayState:"running",pointerEvents:"none"}}},Wl=new Lt("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),bS=new Lt("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),mc=new Lt("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),bc=new Lt("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),vS=new Lt("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),yS=new Lt("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),SS=new Lt("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),wS=new Lt("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),xS=new Lt("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),CS=new Lt("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),kS=new Lt("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),ES=new Lt("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),$S={zoom:{inKeyframes:Wl,outKeyframes:bS},"zoom-big":{inKeyframes:mc,outKeyframes:bc},"zoom-big-fast":{inKeyframes:mc,outKeyframes:bc},"zoom-left":{inKeyframes:SS,outKeyframes:wS},"zoom-right":{inKeyframes:xS,outKeyframes:CS},"zoom-up":{inKeyframes:vS,outKeyframes:yS},"zoom-down":{inKeyframes:kS,outKeyframes:ES}},AS=(e,t)=>{const{antCls:o}=e,r=`${o}-${t}`,{inKeyframes:n,outKeyframes:a}=$S[t];return[mS(r,n,a,e.motionDurationFast),{[`
|
772
|
-
${r}-enter,
|
773
|
-
${r}-appear
|
774
|
-
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},OS=e=>{const{componentCls:t}=e,o=`${t}-show-help`,r=`${t}-show-help-item`;return{[o]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut},
|
775
|
-
opacity ${e.motionDurationSlow} ${e.motionEaseInOut},
|
776
|
-
transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},MS=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Ee(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${Ee(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),vc=(e,t)=>{const{formItemCls:o}=e;return{[o]:{[`${o}-label > label`]:{height:t},[`${o}-control-input`]:{minHeight:t}}}},RS=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},rn(e)),MS(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},vc(e,e.controlHeightSM)),"&-large":Object.assign({},vc(e,e.controlHeightLG))})}},zS=e=>{const{formItemCls:t,iconCls:o,componentCls:r,rootPrefixCls:n,antCls:a,labelRequiredMarkColor:i,labelColor:l,labelFontSize:s,labelHeight:c,labelColonMarginInlineStart:u,labelColonMarginInlineEnd:d,itemMarginBottom:g}=e;return{[t]:Object.assign(Object.assign({},rn(e)),{marginBottom:g,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
777
|
-
&-hidden${a}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:c,color:l,fontSize:s,[`> ${o}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:i,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:u,marginInlineEnd:d},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${n}-col-'"]):not([class*="' ${n}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:Wl,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},yc=(e,t)=>{const{formItemCls:o}=e;return{[`${t}-horizontal`]:{[`${o}-label`]:{flexGrow:0},[`${o}-control`]:{flex:"1 1 0",minWidth:0},[`${o}-label[class$='-24'], ${o}-label[class*='-24 ']`]:{[`& + ${o}-control`]:{minWidth:"unset"}}}}},TS=e=>{const{componentCls:t,formItemCls:o,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[o]:{flex:"none",marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:"nowrap"},[`> ${o}-label,
|
778
|
-
> ${o}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${o}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${o}-has-feedback`]:{display:"inline-block"}}}}},Kt=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),xf=e=>{const{componentCls:t,formItemCls:o,rootPrefixCls:r}=e;return{[`${o} ${o}-label`]:Kt(e),[`${t}:not(${t}-inline)`]:{[o]:{flexWrap:"wrap",[`${o}-label, ${o}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},FS=e=>{const{componentCls:t,formItemCls:o,antCls:r}=e;return{[`${t}-vertical`]:{[`${o}:not(${o}-horizontal)`]:{[`${o}-row`]:{flexDirection:"column"},[`${o}-label > label`]:{height:"auto"},[`${o}-control`]:{width:"100%"},[`${o}-label,
|
779
|
-
${r}-col-24${o}-label,
|
780
|
-
${r}-col-xl-24${o}-label`]:Kt(e)}},[`@media (max-width: ${Ee(e.screenXSMax)})`]:[xf(e),{[t]:{[`${o}:not(${o}-horizontal)`]:{[`${r}-col-xs-24${o}-label`]:Kt(e)}}}],[`@media (max-width: ${Ee(e.screenSMMax)})`]:{[t]:{[`${o}:not(${o}-horizontal)`]:{[`${r}-col-sm-24${o}-label`]:Kt(e)}}},[`@media (max-width: ${Ee(e.screenMDMax)})`]:{[t]:{[`${o}:not(${o}-horizontal)`]:{[`${r}-col-md-24${o}-label`]:Kt(e)}}},[`@media (max-width: ${Ee(e.screenLGMax)})`]:{[t]:{[`${o}:not(${o}-horizontal)`]:{[`${r}-col-lg-24${o}-label`]:Kt(e)}}}}},_S=e=>{const{formItemCls:t,antCls:o}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label,
|
781
|
-
${o}-col-24${t}-label,
|
782
|
-
${o}-col-xl-24${t}-label`]:Kt(e),[`@media (max-width: ${Ee(e.screenXSMax)})`]:[xf(e),{[t]:{[`${o}-col-xs-24${t}-label`]:Kt(e)}}],[`@media (max-width: ${Ee(e.screenSMMax)})`]:{[t]:{[`${o}-col-sm-24${t}-label`]:Kt(e)}},[`@media (max-width: ${Ee(e.screenMDMax)})`]:{[t]:{[`${o}-col-md-24${t}-label`]:Kt(e)}},[`@media (max-width: ${Ee(e.screenLGMax)})`]:{[t]:{[`${o}-col-lg-24${t}-label`]:Kt(e)}}}},IS=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Cf=(e,t)=>zt(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),Vl=vr("Form",(e,t)=>{let{rootPrefixCls:o}=t;const r=Cf(e,o);return[RS(r),zS(r),OS(r),yc(r,r.componentCls),yc(r,r.formItemCls),TS(r),FS(r),_S(r),gS(r),Wl]},IS,{order:-1e3});var PS=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};const NS=(e,t)=>{const o=f.useContext(Bo),{getPrefixCls:r,direction:n,form:a}=f.useContext(rt),{prefixCls:i,className:l,rootClassName:s,size:c,disabled:u=o,form:d,colon:g,labelAlign:y,labelWrap:b,labelCol:h,wrapperCol:p,hideRequiredMark:S,layout:v="horizontal",scrollToFirstError:m,requiredMark:w,onFinishFailed:x,name:C,style:A,feedbackIcons:O,variant:$}=e,F=PS(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),B=mr(c),H=f.useContext(Zu);process.env.NODE_ENV!=="production"&&fS(e);const P=E.useMemo(()=>w!==void 0?w:S?!1:a&&a.requiredMark!==void 0?a.requiredMark:!0,[S,w,a]),R=g??(a==null?void 0:a.colon),D=r("form",i),T=an(D),[M,z,j]=Vl(D,T),_=ie(D,`${D}-${v}`,{[`${D}-hide-required-mark`]:P===!1,[`${D}-rtl`]:n==="rtl",[`${D}-${B}`]:B},j,T,z,a==null?void 0:a.className,l,s),[N]=dS(d),{__INTERNAL__:V}=N;V.name=C;const G=E.useMemo(()=>({name:C,labelAlign:y,labelCol:h,labelWrap:b,wrapperCol:p,vertical:v==="vertical",colon:R,requiredMark:P,itemRef:V.itemRef,form:N,feedbackIcons:O}),[C,y,h,p,v,R,P,N,O]),K=f.useRef(null);f.useImperativeHandle(t,()=>{var Y;return Object.assign(Object.assign({},N),{nativeElement:(Y=K.current)===null||Y===void 0?void 0:Y.nativeElement})});const ee=(Y,J)=>{if(Y){let oe={block:"nearest"};typeof Y=="object"&&(oe=Y),N.scrollToField(J,oe)}},X=Y=>{if(x==null||x(Y),Y.errorFields.length){const J=Y.errorFields[0].name;if(m!==void 0){ee(m,J);return}a&&a.scrollToFirstError!==void 0&&ee(a.scrollToFirstError,J)}};return M(f.createElement(Dd.Provider,{value:$},f.createElement(id,{disabled:u},f.createElement(jo.Provider,{value:B},f.createElement(Qv,{validateMessages:H},f.createElement($o.Provider,{value:G},f.createElement(wr,Object.assign({id:C},F,{name:C,onFinishFailed:X,form:N,ref:K,style:Object.assign(Object.assign({},a==null?void 0:a.style),A),className:_}))))))))},kf=f.forwardRef(NS);process.env.NODE_ENV!=="production"&&(kf.displayName="Form");const Ef=se(pe.Typography.Text)`
|
783
|
-
margin-inline-start: 4px;
|
784
|
-
`,jS=(e,t)=>t.required?W.jsxs(W.Fragment,{children:[e,W.jsx(Ef,{type:"danger",children:"*"})]}):e,HS=(e,t)=>t.required?e:W.jsxs(W.Fragment,{children:[e,W.jsx(Ef,{type:"secondary",children:"(optional)"})]}),$f=E.forwardRef((e,t)=>{const{requiredMark:o,...r}=e,n=E.useMemo(()=>o===!0?jS:o==="optional"?HS:o,[o]);return W.jsx(kf,{ref:t,...r,requiredMark:n})});$f.displayName="Form";function BS(e){if(typeof e=="function")return e;const t=Kr(e);return t.length<=1?t[0]:t}const Af=()=>{const{status:e,errors:t=[],warnings:o=[]}=E.useContext(ho);if(process.env.NODE_ENV!=="production"){const r=Ct("Form.Item");process.env.NODE_ENV!=="production"&&r(e!==void 0,"usage","Form.Item.useStatus should be used under Form.Item component. For more information: https://u.ant.design/form-item-usestatus")}return{status:e,errors:t,warnings:o}};Af.Context=ho;function LS(e){const[t,o]=f.useState(e),r=E.useRef(null),n=E.useRef([]),a=E.useRef(!1);f.useEffect(()=>(a.current=!1,()=>{a.current=!0,Bt.cancel(r.current),r.current=null}),[]);function i(l){a.current||(r.current===null&&(n.current=[],r.current=Bt(()=>{r.current=null,o(s=>{let c=s;return n.current.forEach(u=>{c=u(c)}),c})})),n.current.push(l))}return[t,i]}function DS(){const{itemRef:e}=f.useContext($o),t=f.useRef({});function o(r,n){const a=n&&typeof n=="object"&&n.ref,i=r.join("_");return(t.current.name!==i||t.current.originRef!==a)&&(t.current.name=i,t.current.originRef=a,t.current.ref=bo(e(r),a)),t.current.ref}return o}const Of=E.createContext({}),WS=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},VS=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},US=(e,t)=>{const{prefixCls:o,componentCls:r,gridColumns:n}=e,a={};for(let i=n;i>=0;i--)i===0?(a[`${r}${t}-${i}`]={display:"none"},a[`${r}-push-${i}`]={insetInlineStart:"auto"},a[`${r}-pull-${i}`]={insetInlineEnd:"auto"},a[`${r}${t}-push-${i}`]={insetInlineStart:"auto"},a[`${r}${t}-pull-${i}`]={insetInlineEnd:"auto"},a[`${r}${t}-offset-${i}`]={marginInlineStart:0},a[`${r}${t}-order-${i}`]={order:0}):(a[`${r}${t}-${i}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${i/n*100}%`,maxWidth:`${i/n*100}%`}],a[`${r}${t}-push-${i}`]={insetInlineStart:`${i/n*100}%`},a[`${r}${t}-pull-${i}`]={insetInlineEnd:`${i/n*100}%`},a[`${r}${t}-offset-${i}`]={marginInlineStart:`${i/n*100}%`},a[`${r}${t}-order-${i}`]={order:i});return a[`${r}${t}-flex`]={flex:`var(--${o}${t}-flex)`},a},nl=(e,t)=>US(e,t),qS=(e,t,o)=>({[`@media (min-width: ${Ee(t)})`]:Object.assign({},nl(e,o))}),GS=()=>({}),KS=()=>({}),XS=vr("Grid",WS,GS),YS=vr("Grid",e=>{const t=zt(e,{gridColumns:24}),o={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[VS(t),nl(t,""),nl(t,"-xs"),Object.keys(o).map(r=>qS(t,o[r],r)).reduce((r,n)=>Object.assign(Object.assign({},r),n),{})]},KS);var QS=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};function Sc(e){return typeof e=="number"?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const ZS=["xs","sm","md","lg","xl","xxl"],Ul=f.forwardRef((e,t)=>{const{getPrefixCls:o,direction:r}=f.useContext(rt),{gutter:n,wrap:a}=f.useContext(Of),{prefixCls:i,span:l,order:s,offset:c,push:u,pull:d,className:g,children:y,flex:b,style:h}=e,p=QS(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),S=o("col",i),[v,m,w]=YS(S),x={};let C={};ZS.forEach($=>{let F={};const B=e[$];typeof B=="number"?F.span=B:typeof B=="object"&&(F=B||{}),delete p[$],C=Object.assign(Object.assign({},C),{[`${S}-${$}-${F.span}`]:F.span!==void 0,[`${S}-${$}-order-${F.order}`]:F.order||F.order===0,[`${S}-${$}-offset-${F.offset}`]:F.offset||F.offset===0,[`${S}-${$}-push-${F.push}`]:F.push||F.push===0,[`${S}-${$}-pull-${F.pull}`]:F.pull||F.pull===0,[`${S}-rtl`]:r==="rtl"}),F.flex&&(C[`${S}-${$}-flex`]=!0,x[`--${S}-${$}-flex`]=Sc(F.flex))});const A=ie(S,{[`${S}-${l}`]:l!==void 0,[`${S}-order-${s}`]:s,[`${S}-offset-${c}`]:c,[`${S}-push-${u}`]:u,[`${S}-pull-${d}`]:d},g,C,m,w),O={};if(n&&n[0]>0){const $=n[0]/2;O.paddingLeft=$,O.paddingRight=$}return b&&(O.flex=Sc(b),a===!1&&!O.minWidth&&(O.minWidth=0)),v(f.createElement("div",Object.assign({},p,{style:Object.assign(Object.assign(Object.assign({},O),h),x),className:A,ref:t}),y))});process.env.NODE_ENV!=="production"&&(Ul.displayName="Col");const Qr=["xxl","xl","lg","md","sm","xs"],JS=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),ew=e=>{const t=e,o=[].concat(Qr).reverse();return o.forEach((r,n)=>{const a=r.toUpperCase(),i=`screen${a}Min`,l=`screen${a}`;if(!(t[i]<=t[l]))throw new Error(`${i}<=${l} fails : !(${t[i]}<=${t[l]})`);if(n<o.length-1){const s=`screen${a}Max`;if(!(t[l]<=t[s]))throw new Error(`${l}<=${s} fails : !(${t[l]}<=${t[s]})`);const u=`screen${o[n+1].toUpperCase()}Min`;if(!(t[s]<=t[u]))throw new Error(`${s}<=${u} fails : !(${t[s]}<=${t[u]})`)}}),e};function tw(){const[,e]=vo(),t=JS(ew(e));return E.useMemo(()=>{const o=new Map;let r=-1,n={};return{matchHandlers:{},dispatch(a){return n=a,o.forEach(i=>i(n)),o.size>=1},subscribe(a){return o.size||this.register(),r+=1,o.set(r,a),a(n),r},unsubscribe(a){o.delete(a),o.size||this.unregister()},unregister(){Object.keys(t).forEach(a=>{const i=t[a],l=this.matchHandlers[i];l==null||l.mql.removeListener(l==null?void 0:l.listener)}),o.clear()},register(){Object.keys(t).forEach(a=>{const i=t[a],l=c=>{let{matches:u}=c;this.dispatch(Object.assign(Object.assign({},n),{[a]:u}))},s=window.matchMedia(i);s.addListener(l),this.matchHandlers[i]={mql:s,listener:l},l(s)})},responsiveMap:t}},[e])}var ow=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};function wc(e,t){const[o,r]=f.useState(typeof e=="string"?e:""),n=()=>{if(typeof e=="string"&&r(e),typeof e=="object")for(let a=0;a<Qr.length;a++){const i=Qr[a];if(!t[i])continue;const l=e[i];if(l!==void 0){r(l);return}}};return f.useEffect(()=>{n()},[JSON.stringify(e),t]),o}const Mf=f.forwardRef((e,t)=>{const{prefixCls:o,justify:r,align:n,className:a,style:i,children:l,gutter:s=0,wrap:c}=e,u=ow(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:d,direction:g}=f.useContext(rt),[y,b]=f.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[h,p]=f.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),S=wc(n,h),v=wc(r,h),m=f.useRef(s),w=tw();f.useEffect(()=>{const M=w.subscribe(z=>{p(z);const j=m.current||0;(!Array.isArray(j)&&typeof j=="object"||Array.isArray(j)&&(typeof j[0]=="object"||typeof j[1]=="object"))&&b(z)});return()=>w.unsubscribe(M)},[]);const x=()=>{const M=[void 0,void 0];return(Array.isArray(s)?s:[s,void 0]).forEach((j,_)=>{if(typeof j=="object")for(let N=0;N<Qr.length;N++){const V=Qr[N];if(y[V]&&j[V]!==void 0){M[_]=j[V];break}}else M[_]=j}),M},C=d("row",o),[A,O,$]=XS(C),F=x(),B=ie(C,{[`${C}-no-wrap`]:c===!1,[`${C}-${v}`]:v,[`${C}-${S}`]:S,[`${C}-rtl`]:g==="rtl"},a,O,$),H={},P=F[0]!=null&&F[0]>0?F[0]/-2:void 0;P&&(H.marginLeft=P,H.marginRight=P);const[R,D]=F;H.rowGap=D;const T=f.useMemo(()=>({gutter:[R,D],wrap:c}),[R,D,c]);return A(f.createElement(Of.Provider,{value:T},f.createElement("div",Object.assign({},u,{className:B,style:Object.assign(Object.assign({},H),i),ref:t}),l)))});process.env.NODE_ENV!=="production"&&(Mf.displayName="Row");const Ja=()=>({height:0,opacity:0}),xc=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},rw=e=>({height:e?e.offsetHeight:0}),ei=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",Cc=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:qr}-motion-collapse`,onAppearStart:Ja,onEnterStart:Ja,onAppearActive:xc,onEnterActive:xc,onLeaveStart:rw,onLeaveActive:Ja,onAppearEnd:ei,onEnterEnd:ei,onLeaveEnd:ei,motionDeadline:500}},nw=(e,t,o)=>o!==void 0?o:`${e}-${t}`;function ea(e){const[t,o]=f.useState(e);return f.useEffect(()=>{const r=setTimeout(()=>{o(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const kc=[];function ti(e,t,o){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:o}}const aw=e=>{let{help:t,helpStatus:o,errors:r=kc,warnings:n=kc,className:a,fieldId:i,onVisibleChanged:l}=e;const{prefixCls:s}=f.useContext(Ld),c=`${s}-item-explain`,u=an(s),[d,g,y]=Vl(s,u),b=E.useMemo(()=>Cc(s),[s]),h=ea(r),p=ea(n),S=f.useMemo(()=>t!=null?[ti(t,"help",o)]:[].concat(ae(h.map((m,w)=>ti(m,"error","error",w))),ae(p.map((m,w)=>ti(m,"warning","warning",w)))),[t,o,h,p]),v={};return i&&(v.id=`${i}_help`),d(f.createElement(yr,{motionDeadline:b.motionDeadline,motionName:`${s}-show-help`,visible:!!S.length,onVisibleChanged:l},m=>{const{className:w,style:x}=m;return f.createElement("div",Object.assign({},v,{className:ie(c,w,y,u,a,g),style:x,role:"alert"}),f.createElement(W0,Object.assign({keys:S},Cc(s),{motionName:`${s}-show-help-item`,component:!1}),C=>{const{key:A,error:O,errorStatus:$,className:F,style:B}=C;return f.createElement("div",{key:A,className:ie(F,{[`${c}-${$}`]:$}),style:B},O)}))}))},iw=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},lw=pd(["Form","item-item"],(e,t)=>{let{rootPrefixCls:o}=t;const r=Cf(e,o);return[iw(r)]}),sw=e=>{const{prefixCls:t,status:o,wrapperCol:r,children:n,errors:a,warnings:i,_internalItemRender:l,extra:s,help:c,fieldId:u,marginBottom:d,onErrorVisibleChanged:g}=e,y=`${t}-item`,b=f.useContext($o),h=r||b.wrapperCol||{},p=ie(`${y}-control`,h.className),S=f.useMemo(()=>Object.assign({},b),[b]);delete S.labelCol,delete S.wrapperCol;const v=f.createElement("div",{className:`${y}-control-input`},f.createElement("div",{className:`${y}-control-input-content`},n)),m=f.useMemo(()=>({prefixCls:t,status:o}),[t,o]),w=d!==null||a.length||i.length?f.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},f.createElement(Ld.Provider,{value:m},f.createElement(aw,{fieldId:u,errors:a,warnings:i,help:c,helpStatus:o,className:`${y}-explain-connected`,onVisibleChanged:g})),!!d&&f.createElement("div",{style:{width:0,height:d}})):null,x={};u&&(x.id=`${u}_extra`);const C=s?f.createElement("div",Object.assign({},x,{className:`${y}-extra`}),s):null,A=l&&l.mark==="pro_table_render"&&l.render?l.render(e,{input:v,errorList:w,extra:C}):f.createElement(f.Fragment,null,v,w,C);return f.createElement($o.Provider,{value:S},f.createElement(Ul,Object.assign({},h,{className:p}),A),f.createElement(lw,{prefixCls:t}))};function Rf(e){var t=e.children,o=e.prefixCls,r=e.id,n=e.overlayInnerStyle,a=e.className,i=e.style;return f.createElement("div",{className:ie("".concat(o,"-content"),a),style:i},f.createElement("div",{className:"".concat(o,"-inner"),id:r,role:"tooltip",style:n},typeof t=="function"?t():t))}var zf=f.createContext(null),Ec=[];function cw(e,t){var o=f.useState(function(){if(!xt())return null;var b=document.createElement("div");return process.env.NODE_ENV!=="production"&&t&&b.setAttribute("data-debug",t),b}),r=Z(o,1),n=r[0],a=f.useRef(!1),i=f.useContext(zf),l=f.useState(Ec),s=Z(l,2),c=s[0],u=s[1],d=i||(a.current?void 0:function(b){u(function(h){var p=[b].concat(ae(h));return p})});function g(){n.parentElement||document.body.appendChild(n),a.current=!0}function y(){var b;(b=n.parentElement)===null||b===void 0||b.removeChild(n),a.current=!1}return ct(function(){return e?i?i(g):g():y(),y},[e]),ct(function(){c.length&&(c.forEach(function(b){return b()}),u(Ec))},[c]),[n,d]}function uw(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),o=document.createElement("div");o.id=t;var r=o.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var n,a;if(e){var i=getComputedStyle(e);r.scrollbarColor=i.scrollbarColor,r.scrollbarWidth=i.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),s=parseInt(l.width,10),c=parseInt(l.height,10);try{var u=s?"width: ".concat(l.width,";"):"",d=c?"height: ".concat(l.height,";"):"";po(`
|
785
|
-
#`.concat(t,`::-webkit-scrollbar {
|
786
|
-
`).concat(u,`
|
787
|
-
`).concat(d,`
|
788
|
-
}`),t)}catch(b){console.error(b),n=s,a=c}}document.body.appendChild(o);var g=e&&n&&!isNaN(n)?n:o.offsetWidth-o.clientWidth,y=e&&a&&!isNaN(a)?a:o.offsetHeight-o.clientHeight;return document.body.removeChild(o),Hr(t),{width:g,height:y}}function dw(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:uw(e)}function fw(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var gw="rc-util-locker-".concat(Date.now()),$c=0;function pw(e){var t=!!e,o=f.useState(function(){return $c+=1,"".concat(gw,"_").concat($c)}),r=Z(o,1),n=r[0];ct(function(){if(t){var a=dw(document.body).width,i=fw();po(`
|
789
|
-
html body {
|
790
|
-
overflow-y: hidden;
|
791
|
-
`.concat(i?"width: calc(100% - ".concat(a,"px);"):"",`
|
792
|
-
}`),n)}else Hr(n);return function(){Hr(n)}},[t,n])}var hw=!1;function mw(e){return hw}var Ac=function(t){return t===!1?!1:!xt()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},ql=f.forwardRef(function(e,t){var o=e.open,r=e.autoLock,n=e.getContainer,a=e.debug,i=e.autoDestroy,l=i===void 0?!0:i,s=e.children,c=f.useState(o),u=Z(c,2),d=u[0],g=u[1],y=d||o;process.env.NODE_ENV!=="production"&&Xe(xt()||!o,"Portal only work in client side. Please call 'useEffect' to show Portal instead default render in SSR."),f.useEffect(function(){(l||o)&&g(o)},[o,l]);var b=f.useState(function(){return Ac(n)}),h=Z(b,2),p=h[0],S=h[1];f.useEffect(function(){var H=Ac(n);S(H??null)});var v=cw(y&&!p,a),m=Z(v,2),w=m[0],x=m[1],C=p??w;pw(r&&o&&xt()&&(C===w||C===document.body));var A=null;if(s&&pr(s)&&t){var O=s;A=O.ref}var $=na(A,t);if(!y||!xt()||p===void 0)return null;var F=C===!1||mw(),B=s;return t&&(B=f.cloneElement(s,{ref:$})),f.createElement(zf.Provider,{value:x},F?B:Dn.createPortal(B,C))});process.env.NODE_ENV!=="production"&&(ql.displayName="Portal");function bw(){var e=L({},f);return e.useId}var Oc=0,Mc=bw();const vw=Mc?function(t){var o=Mc();return t||(process.env.NODE_ENV==="test"?"test-id":o)}:function(t){var o=f.useState("ssr-id"),r=Z(o,2),n=r[0],a=r[1];return f.useEffect(function(){var i=Oc;Oc+=1,a("rc_unique_".concat(i))},[]),t||(process.env.NODE_ENV==="test"?"test-id":n)},yw=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};function Sw(e){var t=e.prefixCls,o=e.align,r=e.arrow,n=e.arrowPos,a=r||{},i=a.className,l=a.content,s=n.x,c=s===void 0?0:s,u=n.y,d=u===void 0?0:u,g=f.useRef();if(!o||!o.points)return null;var y={position:"absolute"};if(o.autoArrow!==!1){var b=o.points[0],h=o.points[1],p=b[0],S=b[1],v=h[0],m=h[1];p===v||!["t","b"].includes(p)?y.top=d:p==="t"?y.top=0:y.bottom=0,S===m||!["l","r"].includes(S)?y.left=c:S==="l"?y.left=0:y.right=0}return f.createElement("div",{ref:g,className:ie("".concat(t,"-arrow"),i),style:y},l)}function ww(e){var t=e.prefixCls,o=e.open,r=e.zIndex,n=e.mask,a=e.motion;return n?f.createElement(yr,He({},a,{motionAppear:!0,visible:o,removeOnLeave:!0}),function(i){var l=i.className;return f.createElement("div",{style:{zIndex:r},className:ie("".concat(t,"-mask"),l)})}):null}var Tf=f.memo(function(e){var t=e.children;return t},function(e,t){return t.cache});process.env.NODE_ENV!=="production"&&(Tf.displayName="PopupContent");var Ff=f.forwardRef(function(e,t){var o=e.popup,r=e.className,n=e.prefixCls,a=e.style,i=e.target,l=e.onVisibleChanged,s=e.open,c=e.keepDom,u=e.fresh,d=e.onClick,g=e.mask,y=e.arrow,b=e.arrowPos,h=e.align,p=e.motion,S=e.maskMotion,v=e.forceRender,m=e.getPopupContainer,w=e.autoDestroy,x=e.portal,C=e.zIndex,A=e.onMouseEnter,O=e.onMouseLeave,$=e.onPointerEnter,F=e.ready,B=e.offsetX,H=e.offsetY,P=e.offsetR,R=e.offsetB,D=e.onAlign,T=e.onPrepare,M=e.stretch,z=e.targetWidth,j=e.targetHeight,_=typeof o=="function"?o():o,N=s||c,V=(m==null?void 0:m.length)>0,G=f.useState(!m||!V),K=Z(G,2),ee=K[0],X=K[1];if(ct(function(){!ee&&V&&i&&X(!0)},[ee,V,i]),!ee)return null;var Y="auto",J={left:"-1000vw",top:"-1000vh",right:Y,bottom:Y};if(F||!s){var oe,ne=h.points,he=h.dynamicInset||((oe=h._experimental)===null||oe===void 0?void 0:oe.dynamicInset),ce=he&&ne[0][1]==="r",$e=he&&ne[0][0]==="b";ce?(J.right=P,J.left=Y):(J.left=B,J.right=Y),$e?(J.bottom=R,J.top=Y):(J.top=H,J.bottom=Y)}var q={};return M&&(M.includes("height")&&j?q.height=j:M.includes("minHeight")&&j&&(q.minHeight=j),M.includes("width")&&z?q.width=z:M.includes("minWidth")&&z&&(q.minWidth=z)),s||(q.pointerEvents="none"),f.createElement(x,{open:v||N,getContainer:m&&function(){return m(i)},autoDestroy:w},f.createElement(ww,{prefixCls:n,open:s,zIndex:C,mask:g,motion:S}),f.createElement(sn,{onResize:D,disabled:!s},function(me){return f.createElement(yr,He({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:v,leavedClassName:"".concat(n,"-hidden")},p,{onAppearPrepare:T,onEnterPrepare:T,visible:s,onVisibleChanged:function(Ae){var Be;p==null||(Be=p.onVisibleChanged)===null||Be===void 0||Be.call(p,Ae),l(Ae)}}),function(re,Ae){var Be=re.className,ge=re.style,ue=ie(n,Be,r);return f.createElement("div",{ref:bo(me,t,Ae),className:ue,style:L(L(L(L({"--arrow-x":"".concat(b.x||0,"px"),"--arrow-y":"".concat(b.y||0,"px")},J),q),ge),{},{boxSizing:"border-box",zIndex:C},a),onMouseEnter:A,onMouseLeave:O,onPointerEnter:$,onClick:d},y&&f.createElement(Sw,{prefixCls:n,arrow:y,arrowPos:b,align:h}),f.createElement(Tf,{cache:!s&&!u},_))})}))});process.env.NODE_ENV!=="production"&&(Ff.displayName="Popup");var _f=f.forwardRef(function(e,t){var o=e.children,r=e.getTriggerDOMNode,n=pr(o),a=f.useCallback(function(l){kl(t,r?r(l):l)},[r]),i=na(a,o.ref);return n?f.cloneElement(o,{ref:i}):o});process.env.NODE_ENV!=="production"&&(_f.displayName="TriggerWrapper");var Rc=f.createContext(null);function zc(e){return e?Array.isArray(e)?e:[e]:[]}function xw(e,t,o,r){return f.useMemo(function(){var n=zc(o??t),a=zc(r??t),i=new Set(n),l=new Set(a);return e&&(i.has("hover")&&(i.delete("hover"),i.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[i,l]},[e,t,o,r])}function Cw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0;return o?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function kw(e,t,o,r){for(var n=o.points,a=Object.keys(e),i=0;i<a.length;i+=1){var l,s=a[i];if(Cw((l=e[s])===null||l===void 0?void 0:l.points,n,r))return"".concat(t,"-placement-").concat(s)}return""}function Tc(e,t,o,r){return t||(o?{motionName:"".concat(e,"-").concat(o)}:r?{motionName:r}:null)}function un(e){return e.ownerDocument.defaultView}function al(e){for(var t=[],o=e==null?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];o;){var n=un(o).getComputedStyle(o),a=n.overflowX,i=n.overflowY,l=n.overflow;[a,i,l].some(function(s){return r.includes(s)})&&t.push(o),o=o.parentElement}return t}function Zr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function zr(e){return Zr(parseFloat(e),0)}function Fc(e,t){var o=L({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var n=un(r).getComputedStyle(r),a=n.overflow,i=n.overflowClipMargin,l=n.borderTopWidth,s=n.borderBottomWidth,c=n.borderLeftWidth,u=n.borderRightWidth,d=r.getBoundingClientRect(),g=r.offsetHeight,y=r.clientHeight,b=r.offsetWidth,h=r.clientWidth,p=zr(l),S=zr(s),v=zr(c),m=zr(u),w=Zr(Math.round(d.width/b*1e3)/1e3),x=Zr(Math.round(d.height/g*1e3)/1e3),C=(b-h-v-m)*w,A=(g-y-p-S)*x,O=p*x,$=S*x,F=v*w,B=m*w,H=0,P=0;if(a==="clip"){var R=zr(i);H=R*w,P=R*x}var D=d.x+F-H,T=d.y+O-P,M=D+d.width+2*H-F-B-C,z=T+d.height+2*P-O-$-A;o.left=Math.max(o.left,D),o.top=Math.max(o.top,T),o.right=Math.min(o.right,M),o.bottom=Math.min(o.bottom,z)}}),o}function _c(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o="".concat(t),r=o.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(o)}function Ic(e,t){var o=t||[],r=Z(o,2),n=r[0],a=r[1];return[_c(e.width,n),_c(e.height,a)]}function Pc(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function Jo(e,t){var o=t[0],r=t[1],n,a;return o==="t"?a=e.y:o==="b"?a=e.y+e.height:a=e.y+e.height/2,r==="l"?n=e.x:r==="r"?n=e.x+e.width:n=e.x+e.width/2,{x:n,y:a}}function xo(e,t){var o={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,n){return n===t?o[r]||"c":r}).join("")}function Ew(e,t,o,r,n,a,i){var l=f.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:n[r]||{}}),s=Z(l,2),c=s[0],u=s[1],d=f.useRef(0),g=f.useMemo(function(){return t?al(t):[]},[t]),y=f.useRef({}),b=function(){y.current={}};e||b();var h=Ot(function(){if(t&&o&&e){let It=function(lo,Ro){var Ko=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue,Xo=_.x+lo,$r=_.y+Ro,Ar=Xo+oe,mn=$r+J,xa=Math.max(Xo,Ko.left),Ca=Math.max($r,Ko.top),ka=Math.min(Ar,Ko.right),Ea=Math.min(mn,Ko.bottom);return Math.max(0,(ka-xa)*(Ea-Ca))},hn=function(){k=_.y+Ie,U=k+J,Q=_.x+Le,fe=Q+oe};var v,m,w=t,x=w.ownerDocument,C=un(w),A=C.getComputedStyle(w),O=A.width,$=A.height,F=A.position,B=w.style.left,H=w.style.top,P=w.style.right,R=w.style.bottom,D=w.style.overflow,T=L(L({},n[r]),a),M=x.createElement("div");(v=w.parentElement)===null||v===void 0||v.appendChild(M),M.style.left="".concat(w.offsetLeft,"px"),M.style.top="".concat(w.offsetTop,"px"),M.style.position=F,M.style.height="".concat(w.offsetHeight,"px"),M.style.width="".concat(w.offsetWidth,"px"),w.style.left="0",w.style.top="0",w.style.right="auto",w.style.bottom="auto",w.style.overflow="hidden";var z;if(Array.isArray(o))z={x:o[0],y:o[1],width:0,height:0};else{var j=o.getBoundingClientRect();z={x:j.x,y:j.y,width:j.width,height:j.height}}var _=w.getBoundingClientRect(),N=x.documentElement,V=N.clientWidth,G=N.clientHeight,K=N.scrollWidth,ee=N.scrollHeight,X=N.scrollTop,Y=N.scrollLeft,J=_.height,oe=_.width,ne=z.height,he=z.width,ce={left:0,top:0,right:V,bottom:G},$e={left:-Y,top:-X,right:K-Y,bottom:ee-X},q=T.htmlRegion,me="visible",re="visibleFirst";q!=="scroll"&&q!==re&&(q=me);var Ae=q===re,Be=Fc($e,g),ge=Fc(ce,g),ue=q===me?ge:Be,te=Ae?ge:ue;w.style.left="auto",w.style.top="auto",w.style.right="0",w.style.bottom="0";var be=w.getBoundingClientRect();w.style.left=B,w.style.top=H,w.style.right=P,w.style.bottom=R,w.style.overflow=D,(m=w.parentElement)===null||m===void 0||m.removeChild(M);var ve=Zr(Math.round(oe/parseFloat(O)*1e3)/1e3),de=Zr(Math.round(J/parseFloat($)*1e3)/1e3);if(ve===0||de===0||Gr(o)&&!Bl(o))return;var xe=T.offset,Re=T.targetOffset,lt=Ic(_,xe),Dt=Z(lt,2),Te=Dt[0],we=Dt[1],Ye=Ic(z,Re),Ke=Z(Ye,2),Ao=Ke[0],yo=Ke[1];z.x-=Ao,z.y-=yo;var Oo=T.points||[],Wt=Z(Oo,2),ft=Wt[0],Tt=Wt[1],bt=Pc(Tt),nt=Pc(ft),ut=Jo(z,bt),wt=Jo(_,nt),st=L({},T),Le=ut.x-wt.x+Te,Ie=ut.y-wt.y+we,Pe=It(Le,Ie),Zt=It(Le,Ie,ge),De=Jo(z,["t","l"]),kt=Jo(_,["t","l"]),ro=Jo(z,["b","r"]),Ve=Jo(_,["b","r"]),Ue=T.overflow||{},Ge=Ue.adjustX,gt=Ue.adjustY,Ft=Ue.shiftX,Jt=Ue.shiftY,eo=function(Ro){return typeof Ro=="boolean"?Ro:Ro>=0},k,U,Q,fe;hn();var ze=eo(gt),Ce=nt[0]===bt[0];if(ze&&nt[0]==="t"&&(U>te.bottom||y.current.bt)){var ke=Ie;Ce?ke-=J-ne:ke=De.y-Ve.y-we;var Oe=It(Le,ke),Qe=It(Le,ke,ge);Oe>Pe||Oe===Pe&&(!Ae||Qe>=Zt)?(y.current.bt=!0,Ie=ke,we=-we,st.points=[xo(nt,0),xo(bt,0)]):y.current.bt=!1}if(ze&&nt[0]==="b"&&(k<te.top||y.current.tb)){var We=Ie;Ce?We+=J-ne:We=ro.y-kt.y-we;var _e=It(Le,We),pt=It(Le,We,ge);_e>Pe||_e===Pe&&(!Ae||pt>=Zt)?(y.current.tb=!0,Ie=We,we=-we,st.points=[xo(nt,0),xo(bt,0)]):y.current.tb=!1}var Vt=eo(Ge),_t=nt[1]===bt[1];if(Vt&&nt[1]==="l"&&(fe>te.right||y.current.rl)){var Ze=Le;_t?Ze-=oe-he:Ze=De.x-Ve.x-Te;var So=It(Ze,Ie),xr=It(Ze,Ie,ge);So>Pe||So===Pe&&(!Ae||xr>=Zt)?(y.current.rl=!0,Le=Ze,Te=-Te,st.points=[xo(nt,1),xo(bt,1)]):y.current.rl=!1}if(Vt&&nt[1]==="r"&&(Q<te.left||y.current.lr)){var no=Le;_t?no+=oe-he:no=ro.x-kt.x-Te;var dn=It(no,Ie),ga=It(no,Ie,ge);dn>Pe||dn===Pe&&(!Ae||ga>=Zt)?(y.current.lr=!0,Le=no,Te=-Te,st.points=[xo(nt,1),xo(bt,1)]):y.current.lr=!1}hn();var to=Ft===!0?0:Ft;typeof to=="number"&&(Q<ge.left&&(Le-=Q-ge.left-Te,z.x+he<ge.left+to&&(Le+=z.x-ge.left+he-to)),fe>ge.right&&(Le-=fe-ge.right-Te,z.x>ge.right-to&&(Le+=z.x-ge.right+to)));var ao=Jt===!0?0:Jt;typeof ao=="number"&&(k<ge.top&&(Ie-=k-ge.top-we,z.y+ne<ge.top+ao&&(Ie+=z.y-ge.top+ne-ao)),U>ge.bottom&&(Ie-=U-ge.bottom-we,z.y>ge.bottom-ao&&(Ie+=z.y-ge.bottom+ao)));var Cr=_.x+Le,fn=Cr+oe,wo=_.y+Ie,Mo=wo+J,kr=z.x,qo=kr+he,io=z.y,pa=io+ne,ha=Math.max(Cr,kr),ma=Math.min(fn,qo),gn=(ha+ma)/2,ba=gn-Cr,va=Math.max(wo,io),ya=Math.min(Mo,pa),pn=(va+ya)/2,Sa=pn-wo;i==null||i(t,st);var Er=be.right-_.x-(Le+_.width),Go=be.bottom-_.y-(Ie+_.height);ve===1&&(Le=Math.round(Le),Er=Math.round(Er)),de===1&&(Ie=Math.round(Ie),Go=Math.round(Go));var wa={ready:!0,offsetX:Le/ve,offsetY:Ie/de,offsetR:Er/ve,offsetB:Go/de,arrowX:ba/ve,arrowY:Sa/de,scaleX:ve,scaleY:de,align:st};u(wa)}}),p=function(){d.current+=1;var m=d.current;Promise.resolve().then(function(){d.current===m&&h()})},S=function(){u(function(m){return L(L({},m),{},{ready:!1})})};return ct(S,[r]),ct(function(){e||S()},[e]),[c.ready,c.offsetX,c.offsetY,c.offsetR,c.offsetB,c.arrowX,c.arrowY,c.scaleX,c.scaleY,c.align,p]}function $w(e,t,o,r,n){ct(function(){if(e&&t&&o){let d=function(){r(),n()};var a=t,i=o,l=al(a),s=al(i),c=un(i),u=new Set([c].concat(ae(l),ae(s)));return u.forEach(function(g){g.addEventListener("scroll",d,{passive:!0})}),c.addEventListener("resize",d,{passive:!0}),r(),function(){u.forEach(function(g){g.removeEventListener("scroll",d),c.removeEventListener("resize",d)})}}},[e,t,o])}function Aw(e,t,o,r,n,a,i,l){var s=f.useRef(e);s.current=e,f.useEffect(function(){if(t&&r&&(!n||a)){var c=function(S){var v=S.target;s.current&&!i(v)&&l(!1)},u=un(r);u.addEventListener("mousedown",c,!0),u.addEventListener("contextmenu",c,!0);var d=Vn(o);if(d&&(d.addEventListener("mousedown",c,!0),d.addEventListener("contextmenu",c,!0)),process.env.NODE_ENV!=="production"){var g,y,b=o==null||(g=o.getRootNode)===null||g===void 0?void 0:g.call(o),h=(y=r.getRootNode)===null||y===void 0?void 0:y.call(r);lr(b===h,"trigger element and popup element should in same shadow root.")}return function(){u.removeEventListener("mousedown",c,!0),u.removeEventListener("contextmenu",c,!0),d&&(d.removeEventListener("mousedown",c,!0),d.removeEventListener("contextmenu",c,!0))}}},[t,o,r,n,a])}var Ow=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Mw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ql,t=f.forwardRef(function(o,r){var n=o.prefixCls,a=n===void 0?"rc-trigger-popup":n,i=o.children,l=o.action,s=l===void 0?"hover":l,c=o.showAction,u=o.hideAction,d=o.popupVisible,g=o.defaultPopupVisible,y=o.onPopupVisibleChange,b=o.afterPopupVisibleChange,h=o.mouseEnterDelay,p=o.mouseLeaveDelay,S=p===void 0?.1:p,v=o.focusDelay,m=o.blurDelay,w=o.mask,x=o.maskClosable,C=x===void 0?!0:x,A=o.getPopupContainer,O=o.forceRender,$=o.autoDestroy,F=o.destroyPopupOnHide,B=o.popup,H=o.popupClassName,P=o.popupStyle,R=o.popupPlacement,D=o.builtinPlacements,T=D===void 0?{}:D,M=o.popupAlign,z=o.zIndex,j=o.stretch,_=o.getPopupClassNameFromAlign,N=o.fresh,V=o.alignPoint,G=o.onPopupClick,K=o.onPopupAlign,ee=o.arrow,X=o.popupMotion,Y=o.maskMotion,J=o.popupTransitionName,oe=o.popupAnimation,ne=o.maskTransitionName,he=o.maskAnimation,ce=o.className,$e=o.getTriggerDOMNode,q=vt(o,Ow),me=$||F||!1,re=f.useState(!1),Ae=Z(re,2),Be=Ae[0],ge=Ae[1];ct(function(){ge(yw())},[]);var ue=f.useRef({}),te=f.useContext(Rc),be=f.useMemo(function(){return{registerSubPopup:function(Se,Je){ue.current[Se]=Je,te==null||te.registerSubPopup(Se,Je)}}},[te]),ve=vw(),de=f.useState(null),xe=Z(de,2),Re=xe[0],lt=xe[1],Dt=f.useRef(null),Te=Ot(function(le){Dt.current=le,Gr(le)&&Re!==le&<(le),te==null||te.registerSubPopup(ve,le)}),we=f.useState(null),Ye=Z(we,2),Ke=Ye[0],Ao=Ye[1],yo=f.useRef(null),Oo=Ot(function(le){Gr(le)&&Ke!==le&&(Ao(le),yo.current=le)}),Wt=f.Children.only(i),ft=(Wt==null?void 0:Wt.props)||{},Tt={},bt=Ot(function(le){var Se,Je,at=Ke;return(at==null?void 0:at.contains(le))||((Se=Vn(at))===null||Se===void 0?void 0:Se.host)===le||le===at||(Re==null?void 0:Re.contains(le))||((Je=Vn(Re))===null||Je===void 0?void 0:Je.host)===le||le===Re||Object.values(ue.current).some(function(et){return(et==null?void 0:et.contains(le))||le===et})}),nt=Tc(a,X,oe,J),ut=Tc(a,Y,he,ne),wt=f.useState(g||!1),st=Z(wt,2),Le=st[0],Ie=st[1],Pe=d??Le,Zt=Ot(function(le){d===void 0&&Ie(le)});ct(function(){Ie(d||!1)},[d]);var De=f.useRef(Pe);De.current=Pe;var kt=f.useRef([]);kt.current=[];var ro=Ot(function(le){var Se;Zt(le),((Se=kt.current[kt.current.length-1])!==null&&Se!==void 0?Se:Pe)!==le&&(kt.current.push(le),y==null||y(le))}),Ve=f.useRef(),Ue=function(){clearTimeout(Ve.current)},Ge=function(Se){var Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ue(),Je===0?ro(Se):Ve.current=setTimeout(function(){ro(Se)},Je*1e3)};f.useEffect(function(){return Ue},[]);var gt=f.useState(!1),Ft=Z(gt,2),Jt=Ft[0],eo=Ft[1];ct(function(le){(!le||Pe)&&eo(!0)},[Pe]);var k=f.useState(null),U=Z(k,2),Q=U[0],fe=U[1],ze=f.useState([0,0]),Ce=Z(ze,2),ke=Ce[0],Oe=Ce[1],Qe=function(Se){Oe([Se.clientX,Se.clientY])},We=Ew(Pe,Re,V?ke:Ke,R,T,M,K),_e=Z(We,11),pt=_e[0],Vt=_e[1],_t=_e[2],Ze=_e[3],So=_e[4],xr=_e[5],no=_e[6],dn=_e[7],ga=_e[8],to=_e[9],ao=_e[10],Cr=xw(Be,s,c,u),fn=Z(Cr,2),wo=fn[0],Mo=fn[1],kr=wo.has("click"),qo=Mo.has("click")||Mo.has("contextMenu"),io=Ot(function(){Jt||ao()}),pa=function(){De.current&&V&&qo&&Ge(!1)};$w(Pe,Ke,Re,io,pa),ct(function(){io()},[ke,R]),ct(function(){Pe&&!(T!=null&&T[R])&&io()},[JSON.stringify(M)]);var ha=f.useMemo(function(){var le=kw(T,a,to,V);return ie(le,_==null?void 0:_(to))},[to,_,T,a,V]);f.useImperativeHandle(r,function(){return{nativeElement:yo.current,popupElement:Dt.current,forceAlign:io}});var ma=f.useState(0),gn=Z(ma,2),ba=gn[0],va=gn[1],ya=f.useState(0),pn=Z(ya,2),Sa=pn[0],Er=pn[1],Go=function(){if(j&&Ke){var Se=Ke.getBoundingClientRect();va(Se.width),Er(Se.height)}},wa=function(){Go(),io()},It=function(Se){eo(!1),ao(),b==null||b(Se)},hn=function(){return new Promise(function(Se){Go(),fe(function(){return Se})})};ct(function(){Q&&(ao(),Q(),fe(null))},[Q]);function lo(le,Se,Je,at){Tt[le]=function(et){var bn;at==null||at(et),Ge(Se,Je);for(var $a=arguments.length,Ql=new Array($a>1?$a-1:0),vn=1;vn<$a;vn++)Ql[vn-1]=arguments[vn];(bn=ft[le])===null||bn===void 0||bn.call.apply(bn,[ft,et].concat(Ql))}}(kr||qo)&&(Tt.onClick=function(le){var Se;De.current&&qo?Ge(!1):!De.current&&kr&&(Qe(le),Ge(!0));for(var Je=arguments.length,at=new Array(Je>1?Je-1:0),et=1;et<Je;et++)at[et-1]=arguments[et];(Se=ft.onClick)===null||Se===void 0||Se.call.apply(Se,[ft,le].concat(at))}),Aw(Pe,qo,Ke,Re,w,C,bt,Ge);var Ro=wo.has("hover"),Ko=Mo.has("hover"),Xo,$r;Ro&&(lo("onMouseEnter",!0,h,function(le){Qe(le)}),lo("onPointerEnter",!0,h,function(le){Qe(le)}),Xo=function(Se){(Pe||Jt)&&Re!==null&&Re!==void 0&&Re.contains(Se.target)&&Ge(!0,h)},V&&(Tt.onMouseMove=function(le){var Se;(Se=ft.onMouseMove)===null||Se===void 0||Se.call(ft,le)})),Ko&&(lo("onMouseLeave",!1,S),lo("onPointerLeave",!1,S),$r=function(){Ge(!1,S)}),wo.has("focus")&&lo("onFocus",!0,v),Mo.has("focus")&&lo("onBlur",!1,m),wo.has("contextMenu")&&(Tt.onContextMenu=function(le){var Se;De.current&&Mo.has("contextMenu")?Ge(!1):(Qe(le),Ge(!0)),le.preventDefault();for(var Je=arguments.length,at=new Array(Je>1?Je-1:0),et=1;et<Je;et++)at[et-1]=arguments[et];(Se=ft.onContextMenu)===null||Se===void 0||Se.call.apply(Se,[ft,le].concat(at))}),ce&&(Tt.className=ie(ft.className,ce));var Ar=L(L({},ft),Tt),mn={},xa=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];xa.forEach(function(le){q[le]&&(mn[le]=function(){for(var Se,Je=arguments.length,at=new Array(Je),et=0;et<Je;et++)at[et]=arguments[et];(Se=Ar[le])===null||Se===void 0||Se.call.apply(Se,[Ar].concat(at)),q[le].apply(q,at)})});var Ca=f.cloneElement(Wt,L(L({},Ar),mn)),ka={x:xr,y:no},Ea=ee?L({},ee!==!0?ee:{}):null;return f.createElement(f.Fragment,null,f.createElement(sn,{disabled:!Pe,ref:Oo,onResize:wa},f.createElement(_f,{getTriggerDOMNode:$e},Ca)),f.createElement(Rc.Provider,{value:be},f.createElement(Ff,{portal:e,ref:Te,prefixCls:a,popup:B,className:ie(H,ha),style:P,target:Ke,onMouseEnter:Xo,onMouseLeave:$r,onPointerEnter:Xo,zIndex:z,open:Pe,keepDom:Jt,fresh:N,onClick:G,mask:w,motion:nt,maskMotion:ut,onVisibleChanged:It,onPrepare:hn,forceRender:O,autoDestroy:me,getPopupContainer:A,align:to,arrow:Ea,arrowPos:ka,ready:pt,offsetX:Vt,offsetY:_t,offsetR:Ze,offsetB:So,onAlign:io,stretch:j,targetWidth:ba/dn,targetHeight:Sa/ga})))});return process.env.NODE_ENV!=="production"&&(t.displayName="Trigger"),t}const Rw=Mw(ql);var er={shiftX:64,adjustY:1},tr={adjustX:1,shiftY:!0},jt=[0,0],zw={left:{points:["cr","cl"],overflow:tr,offset:[-4,0],targetOffset:jt},right:{points:["cl","cr"],overflow:tr,offset:[4,0],targetOffset:jt},top:{points:["bc","tc"],overflow:er,offset:[0,-4],targetOffset:jt},bottom:{points:["tc","bc"],overflow:er,offset:[0,4],targetOffset:jt},topLeft:{points:["bl","tl"],overflow:er,offset:[0,-4],targetOffset:jt},leftTop:{points:["tr","tl"],overflow:tr,offset:[-4,0],targetOffset:jt},topRight:{points:["br","tr"],overflow:er,offset:[0,-4],targetOffset:jt},rightTop:{points:["tl","tr"],overflow:tr,offset:[4,0],targetOffset:jt},bottomRight:{points:["tr","br"],overflow:er,offset:[0,4],targetOffset:jt},rightBottom:{points:["bl","br"],overflow:tr,offset:[4,0],targetOffset:jt},bottomLeft:{points:["tl","bl"],overflow:er,offset:[0,4],targetOffset:jt},leftBottom:{points:["br","bl"],overflow:tr,offset:[-4,0],targetOffset:jt}},Tw=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],Fw=function(t,o){var r=t.overlayClassName,n=t.trigger,a=n===void 0?["hover"]:n,i=t.mouseEnterDelay,l=i===void 0?0:i,s=t.mouseLeaveDelay,c=s===void 0?.1:s,u=t.overlayStyle,d=t.prefixCls,g=d===void 0?"rc-tooltip":d,y=t.children,b=t.onVisibleChange,h=t.afterVisibleChange,p=t.transitionName,S=t.animation,v=t.motion,m=t.placement,w=m===void 0?"right":m,x=t.align,C=x===void 0?{}:x,A=t.destroyTooltipOnHide,O=A===void 0?!1:A,$=t.defaultVisible,F=t.getTooltipContainer,B=t.overlayInnerStyle;t.arrowContent;var H=t.overlay,P=t.id,R=t.showArrow,D=R===void 0?!0:R,T=vt(t,Tw),M=E.useRef(null);E.useImperativeHandle(o,function(){return M.current});var z=L({},T);"visible"in t&&(z.popupVisible=t.visible);var j=function(){return f.createElement(Rf,{key:"content",prefixCls:g,id:P,overlayInnerStyle:B},H)};return f.createElement(Rw,He({popupClassName:r,prefixCls:g,popup:j,action:a,builtinPlacements:zw,popupPlacement:w,ref:M,popupAlign:C,getPopupContainer:F,onPopupVisibleChange:b,afterPopupVisibleChange:h,popupTransitionName:p,popupAnimation:S,popupMotion:v,defaultPopupVisible:$,autoDestroy:O,mouseLeaveDelay:c,popupStyle:u,mouseEnterDelay:l,arrow:D},z),y)};const _w=E.forwardRef(Fw),Gl=E.createContext(void 0);process.env.NODE_ENV!=="production"&&(Gl.displayName="zIndexContext");const zo=100,Iw=10,Pw=zo*Iw,If={Modal:zo,Drawer:zo,Popover:zo,Popconfirm:zo,Tooltip:zo,Tour:zo},Nw={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function jw(e){return e in If}function Hw(e,t){const[,o]=vo(),r=E.useContext(Gl),n=jw(e);let a;if(t!==void 0)a=[t,t];else{let i=r??0;n?i+=(r?0:o.zIndexPopupBase)+If[e]:i+=Nw[e],a=[r===void 0?t:i,i]}if(process.env.NODE_ENV!=="production"){const i=Ct(e),l=o.zIndexPopupBase+Pw,s=a[0]||0;process.env.NODE_ENV!=="production"&&i(t!==void 0||s<=l,"usage","`zIndex` is over design token `zIndexPopupBase` too much. It may cause unexpected override.")}return a}function Bw(e){const{sizePopupArrow:t,borderRadiusXS:o,borderRadiusOuter:r}=e,n=t/2,a=0,i=n,l=r*1/Math.sqrt(2),s=n-r*(1-1/Math.sqrt(2)),c=n-o*(1/Math.sqrt(2)),u=r*(Math.sqrt(2)-1)+o*(1/Math.sqrt(2)),d=2*n-c,g=u,y=2*n-l,b=s,h=2*n-a,p=i,S=n*Math.sqrt(2)+r*(Math.sqrt(2)-2),v=r*(Math.sqrt(2)-1),m=`polygon(${v}px 100%, 50% ${v}px, ${2*n-v}px 100%, ${v}px 100%)`,w=`path('M ${a} ${i} A ${r} ${r} 0 0 0 ${l} ${s} L ${c} ${u} A ${o} ${o} 0 0 1 ${d} ${g} L ${y} ${b} A ${r} ${r} 0 0 0 ${h} ${p} Z')`;return{arrowShadowWidth:S,arrowPath:w,arrowPolygon:m}}const Lw=(e,t,o)=>{const{sizePopupArrow:r,arrowPolygon:n,arrowPath:a,arrowShadowWidth:i,borderRadiusXS:l,calc:s}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:s(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[n,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:i,height:i,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${Ee(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}},Pf=8;function Nf(e){const{contentRadius:t,limitVerticalRadius:o}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:o?Pf:r}}function Fn(e,t){return e?t:{}}function Dw(e,t,o){const{componentCls:r,boxShadowPopoverArrow:n,arrowOffsetVertical:a,arrowOffsetHorizontal:i}=e,{arrowDistance:l=0,arrowPlacement:s={left:!0,right:!0,top:!0,bottom:!0}}={};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},Lw(e,t,n)),{"&:before":{background:t}})]},Fn(!!s.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:l,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${r}-arrow`]:{left:{_skip_check_:!0,value:i}},[`&-placement-topRight > ${r}-arrow`]:{right:{_skip_check_:!0,value:i}}})),Fn(!!s.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:l,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft > ${r}-arrow`]:{left:{_skip_check_:!0,value:i}},[`&-placement-bottomRight > ${r}-arrow`]:{right:{_skip_check_:!0,value:i}}})),Fn(!!s.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:l},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:a},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:a}})),Fn(!!s.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:l},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:a},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:a}}))}}function Ww(e,t,o,r){if(r===!1)return{adjustX:!1,adjustY:!1};const n=r&&typeof r=="object"?r:{},a={};switch(e){case"top":case"bottom":a.shiftX=t.arrowOffsetHorizontal*2+o,a.shiftY=!0,a.adjustY=!0;break;case"left":case"right":a.shiftY=t.arrowOffsetVertical*2+o,a.shiftX=!0,a.adjustX=!0;break}const i=Object.assign(Object.assign({},a),n);return i.shiftX||(i.adjustX=!0),i.shiftY||(i.adjustY=!0),i}const Nc={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Vw={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},Uw=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function qw(e){const{arrowWidth:t,autoAdjustOverflow:o,arrowPointAtCenter:r,offset:n,borderRadius:a,visibleFirst:i}=e,l=t/2,s={};return Object.keys(Nc).forEach(c=>{const u=r&&Vw[c]||Nc[c],d=Object.assign(Object.assign({},u),{offset:[0,0],dynamicInset:!0});switch(s[c]=d,Uw.has(c)&&(d.autoArrow=!1),c){case"top":case"topLeft":case"topRight":d.offset[1]=-l-n;break;case"bottom":case"bottomLeft":case"bottomRight":d.offset[1]=l+n;break;case"left":case"leftTop":case"leftBottom":d.offset[0]=-l-n;break;case"right":case"rightTop":case"rightBottom":d.offset[0]=l+n;break}const g=Nf({contentRadius:a,limitVerticalRadius:!0});if(r)switch(c){case"topLeft":case"bottomLeft":d.offset[0]=-g.arrowOffsetHorizontal-l;break;case"topRight":case"bottomRight":d.offset[0]=g.arrowOffsetHorizontal+l;break;case"leftTop":case"rightTop":d.offset[1]=-g.arrowOffsetHorizontal-l;break;case"leftBottom":case"rightBottom":d.offset[1]=g.arrowOffsetHorizontal+l;break}d.overflow=Ww(c,g,t,o),i&&(d.htmlRegion="visibleFirst")}),s}const Gw=e=>{const{componentCls:t,tooltipMaxWidth:o,tooltipColor:r,tooltipBg:n,tooltipBorderRadius:a,zIndexPopup:i,controlHeight:l,boxShadowSecondary:s,paddingSM:c,paddingXS:u}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},rn(e)),{position:"absolute",zIndex:i,display:"block",width:"max-content",maxWidth:o,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":n,[`${t}-inner`]:{minWidth:"1em",minHeight:l,padding:`${Ee(e.calc(c).div(2).equal())} ${Ee(u)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:n,borderRadius:a,boxShadow:s,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(a,Pf)}},[`${t}-content`]:{position:"relative"}}),b0(e,(d,g)=>{let{darkColor:y}=g;return{[`&${t}-${d}`]:{[`${t}-inner`]:{backgroundColor:y},[`${t}-arrow`]:{"--antd-arrow-background-color":y}}}})),{"&-rtl":{direction:"rtl"}})},Dw(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Kw=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},Nf({contentRadius:e.borderRadius,limitVerticalRadius:!0})),Bw(zt(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),jf=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return vr("Tooltip",r=>{const{borderRadius:n,colorTextLightSolid:a,colorBgSpotlight:i}=r,l=zt(r,{tooltipMaxWidth:250,tooltipColor:a,tooltipBorderRadius:n,tooltipBg:i});return[Gw(l),AS(r,"zoom-big-fast")]},Kw,{resetStyle:!1,injectStyle:t})(e)},Xw=Kn.map(e=>`${e}-inverse`);function Yw(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(ae(Xw),ae(Kn)).includes(e):Kn.includes(e)}function Hf(e,t){const o=Yw(t),r=ie({[`${e}-${t}`]:t&&o}),n={},a={};return t&&!o&&(n.background=t,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:n,arrowStyle:a}}const Qw=e=>{const{prefixCls:t,className:o,placement:r="top",title:n,color:a,overlayInnerStyle:i}=e,{getPrefixCls:l}=f.useContext(rt),s=l("tooltip",t),[c,u,d]=jf(s),g=Hf(s,a),y=g.arrowStyle,b=Object.assign(Object.assign({},i),g.overlayStyle),h=ie(u,d,s,`${s}-pure`,`${s}-placement-${r}`,o,g.className);return c(f.createElement("div",{className:h,style:y},f.createElement("div",{className:`${s}-arrow`}),f.createElement(Rf,Object.assign({},e,{className:u,prefixCls:s,overlayInnerStyle:b}),n)))};var Zw=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};const Jw=f.forwardRef((e,t)=>{var o,r;const{prefixCls:n,openClassName:a,getTooltipContainer:i,overlayClassName:l,color:s,overlayInnerStyle:c,children:u,afterOpenChange:d,afterVisibleChange:g,destroyTooltipOnHide:y,arrow:b=!0,title:h,overlay:p,builtinPlacements:S,arrowPointAtCenter:v=!1,autoAdjustOverflow:m=!0}=e,w=!!b,[,x]=vo(),{getPopupContainer:C,getPrefixCls:A,direction:O}=f.useContext(rt),$=Ct("Tooltip"),F=f.useRef(null),B=()=>{var ve;(ve=F.current)===null||ve===void 0||ve.forceAlign()};f.useImperativeHandle(t,()=>{var ve;return{forceAlign:B,forcePopupAlign:()=>{$.deprecated(!1,"forcePopupAlign","forceAlign"),B()},nativeElement:(ve=F.current)===null||ve===void 0?void 0:ve.nativeElement}}),process.env.NODE_ENV!=="production"&&([["visible","open"],["defaultVisible","defaultOpen"],["onVisibleChange","onOpenChange"],["afterVisibleChange","afterOpenChange"],["arrowPointAtCenter","arrow={{ pointAtCenter: true }}"]].forEach(ve=>{let[de,xe]=ve;$.deprecated(!(de in e),de,xe)}),process.env.NODE_ENV!=="production"&&$(!y||typeof y=="boolean","usage","`destroyTooltipOnHide` no need config `keepParent` anymore. Please use `boolean` value directly."),process.env.NODE_ENV!=="production"&&$(!b||typeof b=="boolean"||!("arrowPointAtCenter"in b),"deprecated","`arrowPointAtCenter` in `arrow` is deprecated. Please use `pointAtCenter` instead."));const[H,P]=hr(!1,{value:(o=e.open)!==null&&o!==void 0?o:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),R=!h&&!p&&h!==0,D=ve=>{var de,xe;P(R?!1:ve),R||((de=e.onOpenChange)===null||de===void 0||de.call(e,ve),(xe=e.onVisibleChange)===null||xe===void 0||xe.call(e,ve))},T=f.useMemo(()=>{var ve,de;let xe=v;return typeof b=="object"&&(xe=(de=(ve=b.pointAtCenter)!==null&&ve!==void 0?ve:b.arrowPointAtCenter)!==null&&de!==void 0?de:v),S||qw({arrowPointAtCenter:xe,autoAdjustOverflow:m,arrowWidth:w?x.sizePopupArrow:0,borderRadius:x.borderRadius,offset:x.marginXXS,visibleFirst:!0})},[v,b,S,x]),M=f.useMemo(()=>h===0?h:p||h||"",[p,h]),z=f.createElement(Qi,{space:!0},typeof M=="function"?M():M),{getPopupContainer:j,placement:_="top",mouseEnterDelay:N=.1,mouseLeaveDelay:V=.1,overlayStyle:G,rootClassName:K}=e,ee=Zw(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),X=A("tooltip",n),Y=A(),J=e["data-popover-inject"];let oe=H;!("open"in e)&&!("visible"in e)&&R&&(oe=!1);const ne=f.isValidElement(u)&&!tf(u)?u:f.createElement("span",null,u),he=ne.props,ce=!he.className||typeof he.className=="string"?ie(he.className,a||`${X}-open`):he.className,[$e,q,me]=jf(X,!J),re=Hf(X,s),Ae=re.arrowStyle,Be=Object.assign(Object.assign({},c),re.overlayStyle),ge=ie(l,{[`${X}-rtl`]:O==="rtl"},re.className,K,q,me),[ue,te]=Hw("Tooltip",ee.zIndex),be=f.createElement(_w,Object.assign({},ee,{zIndex:ue,showArrow:w,placement:_,mouseEnterDelay:N,mouseLeaveDelay:V,prefixCls:X,overlayClassName:ge,overlayStyle:Object.assign(Object.assign({},Ae),G),getTooltipContainer:j||i||C,ref:F,builtinPlacements:T,overlay:z,visible:oe,onVisibleChange:D,afterVisibleChange:d??g,overlayInnerStyle:Be,arrowContent:f.createElement("span",{className:`${X}-arrow-content`}),motion:{motionName:nw(Y,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!y}),oe?dr(ne,{className:ce}):ne);return $e(f.createElement(Gl.Provider,{value:te},be))}),Kl=Jw;process.env.NODE_ENV!=="production"&&(Kl.displayName="Tooltip");Kl._InternalPanelDoNotUseOrYouWillBeFired=Qw;var e2=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};function t2(e){return e?typeof e=="object"&&!f.isValidElement(e)?e:{title:e}:null}const o2=e=>{let{prefixCls:t,label:o,htmlFor:r,labelCol:n,labelAlign:a,colon:i,required:l,requiredMark:s,tooltip:c,vertical:u}=e;var d;const[g]=zb("Form"),{labelAlign:y,labelCol:b,labelWrap:h,colon:p}=f.useContext($o);if(!o)return null;const S=n||b||{},v=a||y,m=`${t}-item-label`,w=ie(m,v==="left"&&`${m}-left`,S.className,{[`${m}-wrap`]:!!h});let x=o;const C=i===!0||p!==!1&&i!==!1;C&&!u&&typeof o=="string"&&o.trim()&&(x=o.replace(/[:|:]\s*$/,""));const O=t2(c);if(O){const{icon:H=f.createElement(hu,null)}=O,P=e2(O,["icon"]),R=f.createElement(Kl,Object.assign({},P),f.cloneElement(H,{className:`${t}-item-tooltip`,title:"",onClick:D=>{D.preventDefault()},tabIndex:null}));x=f.createElement(f.Fragment,null,x,R)}const $=s==="optional",F=typeof s=="function";F?x=s(x,{required:!!l}):$&&!l&&(x=f.createElement(f.Fragment,null,x,f.createElement("span",{className:`${t}-item-optional`,title:""},(g==null?void 0:g.optional)||((d=Ho.Form)===null||d===void 0?void 0:d.optional))));const B=ie({[`${t}-item-required`]:l,[`${t}-item-required-mark-optional`]:$||F,[`${t}-item-no-colon`]:!C});return f.createElement(Ul,Object.assign({},S,{className:w}),f.createElement("label",{htmlFor:r,className:B,title:typeof o=="string"?o:""},x))},r2={success:uu,warning:gu,error:Sl,validating:ra};function Bf(e){let{children:t,errors:o,warnings:r,hasFeedback:n,validateStatus:a,prefixCls:i,meta:l,noStyle:s}=e;const c=`${i}-item`,{feedbackIcons:u}=f.useContext($o),d=wf(o,r,l,null,!!n,a),{isFormItemInput:g,status:y,hasFeedback:b,feedbackIcon:h}=f.useContext(ho),p=f.useMemo(()=>{var S;let v;if(n){const w=n!==!0&&n.icons||u,x=d&&((S=w==null?void 0:w({status:d,errors:o,warnings:r}))===null||S===void 0?void 0:S[d]),C=d&&r2[d];v=x!==!1&&C?f.createElement("span",{className:ie(`${c}-feedback-icon`,`${c}-feedback-icon-${d}`)},x||f.createElement(C,null)):null}const m={status:d||"",errors:o,warnings:r,hasFeedback:!!n,feedbackIcon:v,isFormItemInput:!0};return s&&(m.status=(d??y)||"",m.isFormItemInput=g,m.hasFeedback=!!(n??b),m.feedbackIcon=n!==void 0?m.feedbackIcon:h),m},[d,n,s,g,y]);return f.createElement(ho.Provider,{value:p},t)}var n2=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};function a2(e){const{prefixCls:t,className:o,rootClassName:r,style:n,help:a,errors:i,warnings:l,validateStatus:s,meta:c,hasFeedback:u,hidden:d,children:g,fieldId:y,required:b,isRequired:h,onSubItemMetaChange:p,layout:S}=e,v=n2(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),m=`${t}-item`,{requiredMark:w,vertical:x}=f.useContext($o),C=x||S==="vertical",A=f.useRef(null),O=ea(i),$=ea(l),F=a!=null,B=!!(F||i.length||l.length),H=!!A.current&&Bl(A.current),[P,R]=f.useState(null);ct(()=>{if(B&&A.current){const j=getComputedStyle(A.current);R(parseInt(j.marginBottom,10))}},[B,H]);const D=j=>{j||R(null)},M=function(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const _=j?O:c.errors,N=j?$:c.warnings;return wf(_,N,c,"",!!u,s)}(),z=ie(m,o,r,{[`${m}-with-help`]:F||O.length||$.length,[`${m}-has-feedback`]:M&&u,[`${m}-has-success`]:M==="success",[`${m}-has-warning`]:M==="warning",[`${m}-has-error`]:M==="error",[`${m}-is-validating`]:M==="validating",[`${m}-hidden`]:d,[`${m}-${S}`]:S});return f.createElement("div",{className:z,style:n,ref:A},f.createElement(Mf,Object.assign({className:`${m}-row`},on(v,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),f.createElement(o2,Object.assign({htmlFor:y},e,{requiredMark:w,required:b??h,prefixCls:t,vertical:C})),f.createElement(sw,Object.assign({},e,c,{errors:O,warnings:$,prefixCls:t,status:M,help:a,marginBottom:P,onErrorVisibleChanged:D}),f.createElement(Bd.Provider,{value:p},f.createElement(Bf,{prefixCls:t,meta:c,errors:c.errors,warnings:c.warnings,hasFeedback:u,validateStatus:M},g)))),!!P&&f.createElement("div",{className:`${m}-margin-offset`,style:{marginBottom:-P}}))}const i2="__SPLIT__";function l2(e,t){const o=Object.keys(e),r=Object.keys(t);return o.length===r.length&&o.every(n=>{const a=e[n],i=t[n];return a===i||typeof a=="function"||typeof i=="function"})}const s2=f.memo(e=>{let{children:t}=e;return t},(e,t)=>l2(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((o,r)=>o===t.childProps[r]));function jc(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function c2(e){const{name:t,noStyle:o,className:r,dependencies:n,prefixCls:a,shouldUpdate:i,rules:l,children:s,required:c,label:u,messageVariables:d,trigger:g="onChange",validateTrigger:y,hidden:b,help:h,layout:p}=e,{getPrefixCls:S}=f.useContext(rt),{name:v}=f.useContext($o),m=BS(s),w=typeof m=="function",x=f.useContext(Bd),{validateTrigger:C}=f.useContext(Lo),A=y!==void 0?y:C,O=t!=null,$=S("form",a),F=an($),[B,H,P]=Vl($,F),R=Ct("Form.Item");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&R(t!==null,"usage","`null` is passed as `name` property");const D=f.useContext(Xr),T=f.useRef(),[M,z]=LS({}),[j,_]=sr(()=>jc()),N=J=>{const oe=D==null?void 0:D.getKey(J.name);if(_(J.destroy?jc():J,!0),o&&h!==!1&&x){let ne=J.name;if(J.destroy)ne=T.current||ne;else if(oe!==void 0){const[he,ce]=oe;ne=[he].concat(ae(ce)),T.current=ne}x(J,ne)}},V=(J,oe)=>{z(ne=>{const he=Object.assign({},ne),$e=[].concat(ae(J.name.slice(0,-1)),ae(oe)).join(i2);return J.destroy?delete he[$e]:he[$e]=J,he})},[G,K]=f.useMemo(()=>{const J=ae(j.errors),oe=ae(j.warnings);return Object.values(M).forEach(ne=>{J.push.apply(J,ae(ne.errors||[])),oe.push.apply(oe,ae(ne.warnings||[]))}),[J,oe]},[M,j.errors,j.warnings]),ee=DS();function X(J,oe,ne){return o&&!b?f.createElement(Bf,{prefixCls:$,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:j,errors:G,warnings:K,noStyle:!0},J):f.createElement(a2,Object.assign({key:"row"},e,{className:ie(r,P,F,H),prefixCls:$,fieldId:oe,isRequired:ne,errors:G,warnings:K,meta:j,onSubItemMetaChange:V,layout:p}),J)}if(!O&&!w&&!n)return B(X(m));let Y={};return typeof u=="string"?Y.label=u:t&&(Y.label=String(t)),d&&(Y=Object.assign(Object.assign({},Y),d)),B(f.createElement(Il,Object.assign({},e,{messageVariables:Y,trigger:g,validateTrigger:A,onMetaChange:N}),(J,oe,ne)=>{const he=Nr(t).length&&oe?oe.name:[],ce=Sf(he,v),$e=c!==void 0?c:!!(l!=null&&l.some(re=>{if(re&&typeof re=="object"&&re.required&&!re.warningOnly)return!0;if(typeof re=="function"){const Ae=re(ne);return(Ae==null?void 0:Ae.required)&&!(Ae!=null&&Ae.warningOnly)}return!1})),q=Object.assign({},J);let me=null;if(process.env.NODE_ENV!=="production"&&R(!(i&&n),"usage","`shouldUpdate` and `dependencies` shouldn't be used together. See https://u.ant.design/form-deps."),Array.isArray(m)&&O)process.env.NODE_ENV!=="production"&&R(!1,"usage","A `Form.Item` with a `name` prop must have a single child element. For information on how to render more complex form items, see https://u.ant.design/complex-form-item."),me=m;else if(w&&(!(i||n)||O))process.env.NODE_ENV!=="production"&&R(!!(i||n),"usage","A `Form.Item` with a render function must have either `shouldUpdate` or `dependencies`."),process.env.NODE_ENV!=="production"&&R(!O,"usage","A `Form.Item` with a render function cannot be a field, and thus cannot have a `name` prop.");else if(n&&!w&&!O)process.env.NODE_ENV!=="production"&&R(!1,"usage","Must set `name` or use a render function when `dependencies` is set.");else if(f.isValidElement(m)){process.env.NODE_ENV!=="production"&&R(m.props.defaultValue===void 0,"usage","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");const re=Object.assign(Object.assign({},m.props),q);if(re.id||(re.id=ce),h||G.length>0||K.length>0||e.extra){const ge=[];(h||G.length>0)&&ge.push(`${ce}_help`),e.extra&&ge.push(`${ce}_extra`),re["aria-describedby"]=ge.join(" ")}G.length>0&&(re["aria-invalid"]="true"),$e&&(re["aria-required"]="true"),pr(m)&&(re.ref=ee(he,m)),new Set([].concat(ae(Nr(g)),ae(Nr(A)))).forEach(ge=>{re[ge]=function(){for(var ue,te,be,ve,de,xe=arguments.length,Re=new Array(xe),lt=0;lt<xe;lt++)Re[lt]=arguments[lt];(be=q[ge])===null||be===void 0||(ue=be).call.apply(ue,[q].concat(Re)),(de=(ve=m.props)[ge])===null||de===void 0||(te=de).call.apply(te,[ve].concat(Re))}});const Be=[re["aria-required"],re["aria-invalid"],re["aria-describedby"]];me=f.createElement(s2,{control:q,update:m,childProps:Be},dr(m,re))}else w&&(i||n)&&!O?me=m(ne):(process.env.NODE_ENV!=="production"&&R(!he.length||!!o,"usage","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),me=m);return X(me,ce,$e)}))}const Xl=c2;Xl.useStatus=Af;const u2=e=>{const{labelType:t,label:o,...r}=e,n=E.useMemo(()=>{if(!o)return;const a=typeof t=="object"?t.type:t,i=typeof t=="object"?t:{};switch(a){case"hover":return W.jsx(Tu,{...i,name:e.name,children:o});default:return o}},[t,o,e.name]);return W.jsx(Xl,{...r,label:n})},Yl=u2;Yl.useStatus=Xl.useStatus;Yl.displayName="FormItem";const Uo=$f;Uo.Item=Yl;Uo.List=pe.Form.List;Uo.useForm=pe.Form.useForm;Uo.useFormInstance=pe.Form.useFormInstance;Uo.useWatch=pe.Form.useWatch;Uo.Provider=pe.Form.Provider;const d2=se(pe.Card)`
|
793
|
-
width: min(100%, 480px);
|
794
|
-
box-shadow: 0 3px 7px rgba(0,0,0,.2);
|
795
|
-
padding: 1.5rem 1rem;
|
796
|
-
margin-bottom: 10rem;
|
797
|
-
|
798
|
-
@media only screen and (max-width: 480px) {
|
799
|
-
border-radius: 0;
|
800
|
-
}
|
801
|
-
|
802
|
-
@media only screen and (max-height: 576px) {
|
803
|
-
margin-bottom: 1.5rem;
|
804
|
-
}
|
805
|
-
`,No=({children:e})=>W.jsx(d2,{className:"card-container",children:e});No.Header=()=>W.jsxs(pe.Space,{style:{display:"flex"},children:[W.jsx("img",{src:"/logo/logo-orange-black.svg",height:"24px",width:"auto"}),W.jsx("img",{src:"/logo/web-fuse-text.svg",height:"12px",width:"auto"})]});No.Title=e=>W.jsx(pe.Typography.Title,{level:2,...e,style:Object.assign({marginTop:4},e.style)});No.Subtitle=e=>W.jsx(pe.Typography.Paragraph,{...e,style:Object.assign({marginTop:-18,marginBottom:14,fontSize:"0.8125rem",lineHeight:"20px",fontWeight:400},e.style)});const f2=se.div`
|
806
|
-
display: flex;
|
807
|
-
justify-content: center;
|
808
|
-
align-items: center;
|
809
|
-
height: calc(100vh - 2 * 2rem);
|
810
|
-
`,g2=({description:e})=>e?E.isValidElement(e)?e:W.jsx(pe.Typography.Text,{children:e}):null,p2=({error:e,title:t})=>{const o=[{key:"1",label:"Details",children:W.jsx(pe.Typography.Text,{type:"secondary",children:e.error_detail||"No additional details"})}];return W.jsx(f2,{children:W.jsxs(No,{children:[W.jsx(No.Header,{}),W.jsxs(pe.Space,{direction:"vertical",children:[W.jsx(No.Title,{children:t}),W.jsx(pe.Typography.Paragraph,{strong:!0,style:{marginBottom:0},children:e.message}),W.jsx(g2,{description:e.error_description}),W.jsx(pe.Button,{onClick:()=>window.history.back(),children:"Return"}),W.jsx(pe.Collapse,{items:o,ghost:!0,size:"small"})]})]})})},h2=se.div`
|
811
|
-
background:
|
812
|
-
linear-gradient(0deg, rgba(0,0,0,.2), rgba(0,0,0,.05)),
|
813
|
-
radial-gradient(at 20% 30%, rgb(80 173 255 / 10%), transparent 55%),
|
814
|
-
radial-gradient(at 83% 10%, rgb(221 216 74 / 13%), transparent 60%),
|
815
|
-
radial-gradient(at 10% 80%, rgb(176 249 40 / 6%), transparent 40%),
|
816
|
-
radial-gradient(at 90% 80%, rgb(48 95 151 / 14%), transparent 55%),
|
817
|
-
radial-gradient(at 50% 45%, rgb(255 125 61 / 20%), transparent 60%);
|
818
|
-
width: 100vw;
|
819
|
-
height: 100vh;
|
820
|
-
`,m2=({children:e,width:t,height:o})=>{const{token:{colorBgContainer:r}}=pe.theme.useToken();return W.jsx(h2,{style:{backgroundColor:r,width:t,height:o},children:e})},b2=(e,t)=>{const o=pe.theme.darkAlgorithm(e,t);return o.colorPrimary=e.colorPrimary,o},Lf=E.createContext(null),v2=({children:e})=>{const[t,o]=pe.message.useMessage();return E.createElement(Lf.Provider,{value:t},o,e)},y2=()=>E.useContext(Lf);exports.Button=El;exports.CenteredButton=zu;exports.CodeBlock=Eh;exports.Collapse=en;exports.DarkCard=Uc;exports.ExtraSmallButton=pm;exports.Form=Uo;exports.HoverLabel=Tu;exports.Input=cn;exports.LightCard=Wc;exports.LoginContainer=No;exports.LoginErrorBoundary=p2;exports.LoginPageBackground=m2;exports.MainLayout=tn;exports.MessageProvider=v2;exports.Navbar=lm;exports.RightButton=hm;exports.Selector=Gh;exports.useMessageApi=y2;exports.wfDarkAlgorithm=b2;
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),l=require("styled-components"),d=require("antd"),s=require("react"),ae=require("react-syntax-highlighter"),Le=require("react-syntax-highlighter/dist/esm/styles/prism"),$e=require("react-syntax-highlighter/dist/esm/languages/prism/bash"),Pe=require("react-syntax-highlighter/dist/esm/languages/prism/css"),Me=require("react-syntax-highlighter/dist/esm/languages/prism/javascript"),Re=require("react-syntax-highlighter/dist/esm/languages/prism/json"),He=require("react-syntax-highlighter/dist/esm/languages/prism/markdown"),ze=require("react-syntax-highlighter/dist/esm/languages/prism/markup"),Fe=require("react-syntax-highlighter/dist/esm/languages/prism/nginx"),Ae=require("react-syntax-highlighter/dist/esm/languages/prism/php"),Oe=require("react-syntax-highlighter/dist/esm/languages/prism/powershell"),qe=require("react-syntax-highlighter/dist/esm/languages/prism/shell-session"),_=require("@ant-design/icons"),se=require("react-copy-to-clipboard"),ie=require("rc-util"),De=require("antd/es/config-provider/hooks/useSize"),We=require("antd/es/input/Password"),Ve=require("antd/es/input/Search"),Ge=require("antd/es/input/TextArea"),Ye=require("antd/es/form/Form"),le=require("antd/es/form/FormItem");function ce(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return n.default=e,Object.freeze(n)}const C=ce(s),F=ce(Le),Ue=l.h3.withConfig({displayName:"LightCard.Title__SmallHeader",componentId:"sc-84aa6cf4-0"})(["padding-inline:6px;padding-bottom:4px;margin-block:6px;font-weight:",";color:",";border-bottom:2px solid ",";@media only screen and (min-width:768px){font-size:1.3rem;}"],e=>e.$strong?500:300,e=>e.$color,e=>e.$color),de=({children:e,titleColor:n="#25b1ef",strong:o,style:r})=>!e&&e!==null?null:t.jsx(Ue,{$color:n,$strong:o||!1,style:r,children:e}),Xe=l.div.withConfig({displayName:"LightCard__Container",componentId:"sc-e428a533-0"})(["background:linear-gradient(60deg,rgba(75,80,85,.5),rgba(125,123,120,.5));border-radius:4px;box-shadow:0 .1em .3em rgba(0,0,0,.4);margin-block:16px;padding:12px 16px;@media screen and (min-width:768px){padding:20px 24px;margin-inline:4px;}"]),pe=({children:e,title:n,titleColor:o,style:r})=>t.jsxs(Xe,{style:r,children:[t.jsx(de,{titleColor:o,children:n}),e]});pe.Title=de;const Je=l.h2.withConfig({displayName:"DarkCard.Title__CardTitle",componentId:"sc-16d3b219-0"})(["padding-inline:8px;padding-bottom:2px;margin-block:8px;font-weight:",";color:",";font-size:1.3rem;border-bottom:1px solid ",";@media screen and (min-width:768px){font-size:2rem;border-bottom:3px solid ",";}"],e=>e.$strong?500:300,e=>e.$color,e=>e.$color,e=>e.$color),he=({children:e,titleColor:n,strong:o,style:r})=>{const{token:{colorPrimary:i}}=d.theme.useToken();return!e&&e!==null?null:t.jsx(Je,{$color:n||i,$strong:o||!1,style:r,children:e})},Ke=l.div.withConfig({displayName:"DarkCard__Container",componentId:"sc-2ad4e8f0-0"})(["background:radial-gradient(circle at 70% 50px,"," 15%,"," max(50%,350px),"," max(100%,800px));padding:12px 8px;border-radius:0;@media screen and (min-width:768px){padding:24px 36px;border-radius:12px;}"],e=>e.$bgLight,e=>e.$bgMain,e=>e.$bgAccent),ue=({children:e,title:n,titleColor:o,style:r})=>{const{token:{colorBgContainer:i,colorBgBase:p,colorPrimaryBg:a}}=d.theme.useToken();return t.jsxs(Ke,{$bgLight:i,$bgMain:p,$bgAccent:a,style:r,children:[t.jsx(he,{titleColor:o,children:n}),e]})};ue.Title=he;const Ze=Object.freeze(Object.defineProperty({__proto__:null,bash:$e,css:Pe,javascript:Me,json:Re,markdown:He,markup:ze,nginx:Fe,php:Ae,powershell:Oe,shellSession:qe},Symbol.toStringTag,{value:"Module"})),me=l.css(["display:flex;column-gap:12px;align-items:baseline;"]),Qe=l.div.withConfig({displayName:"CodeHeader__HeaderContainer",componentId:"sc-cc7d1213-0"})([""," padding:12px 16px;"],me),et=l.div.withConfig({displayName:"CodeHeader__HeaderExtra",componentId:"sc-cc7d1213-1"})([""," position:absolute;top:8px;right:8px;"],me),tt=({filename:e,heading:n,border:o,headerExtra:r})=>{const{token:{colorTextBase:i}}=d.theme.useToken(),p=s.useMemo(()=>o?{border:o,borderBottom:0}:{borderBottom:"2px solid rgba(128,128,128,.3)"},[o]);return e||n?t.jsxs(Qe,{style:p,children:[e&&t.jsx(_.FileOutlined,{style:{color:i,fontSize:14}}),t.jsx(d.Typography.Title,{level:5,style:{margin:0},children:e||n}),t.jsx("div",{style:{marginLeft:"auto"},children:r})]}):t.jsx(et,{children:r})},ge=e=>C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":"true",className:"style_svg__etWmJ",...e},C.createElement("g",{fill:"currentColor"},C.createElement("path",{d:"M2.25 0A2.25 2.25 0 000 2.25v7.5A2.25 2.25 0 002.25 12h.25a.75.75 0 000-1.5h-.25a.75.75 0 01-.75-.75v-7.5a.75.75 0 01.75-.75h7.5a.75.75 0 01.75.75v.25a.75.75 0 001.5 0v-.25A2.25 2.25 0 009.75 0h-7.5z"}),C.createElement("path",{fillRule:"evenodd",d:"M6.25 4A2.25 2.25 0 004 6.25v7.5A2.25 2.25 0 006.25 16h7.5A2.25 2.25 0 0016 13.75v-7.5A2.25 2.25 0 0013.75 4h-7.5zM5.5 6.25a.75.75 0 01.75-.75h7.5a.75.75 0 01.75.75v7.5a.75.75 0 01-.75.75h-7.5a.75.75 0 01-.75-.75v-7.5z",clipRule:"evenodd"}))),nt=({showCopy:e,copyConfig:n,text:o,onCopy:r})=>{const[i,p]=s.useState(0),a=s.useMemo(()=>i>0?t.jsx(_.CheckOutlined,{}):i<0?t.jsx(_.CloseOutlined,{}):typeof(n==null?void 0:n.icon)>"u"?t.jsx(_,{component:ge}):n.icon,[n==null?void 0:n.icon,i]),m=typeof(n==null?void 0:n.text)>"u"?"Copy":n.text;if(!e)return null;const u=(...h)=>{h[1]===!0?p(1):p(-1),setTimeout(p,500,0),r==null||r(...h)};return t.jsx(se.CopyToClipboard,{text:o||"",onCopy:u,children:t.jsx(d.Button,{icon:a,iconPosition:"end",type:"primary",size:"small",children:m})})};Object.entries(Ze).forEach(([e,n])=>{ae.PrismLight.registerLanguage(e,n)});const ot=new RegExp("^\\s*\\$\\s"),rt=new RegExp("\\\\\\s*$"),at=new RegExp("^\\s*(#|//)"),st=l.div.withConfig({displayName:"CodeBlock__CodeBlockContainer",componentId:"sc-ae4460a4-0"})(["position:relative;"]),it=s.forwardRef(({theme:e,wrapCode:n,lineNumbers:o,showCopy:r,language:i,code:p,copyConfig:a,onCopy:m,style:u,filename:h,heading:g},v)=>{const{theme:{id:c}}=d.theme.useToken(),k=s.useMemo(()=>{let y=e;switch(y||(y=c===0?"light":"dark"),y){case"light":return"ghcolors";case"dark":return"dracula";default:return y}},[e,c]),w=s.useMemo(()=>{if(!(r&&p))return"";if(i==="shellSession"){const y=p.split(`
|
2
|
+
`),S=[];let x=!1;for(const j of y)at.test(j)||(x||ot.test(j))&&(x?S.push(j):S.push(j.slice(j.indexOf("$")+1).trimStart()),x=rt.test(j));return S.join(`
|
3
|
+
`)}return p||""},[r,p,i]),{background:f,border:b}=s.useMemo(()=>{if(!F[k])return{background:"",border:""};const y=F[k]['pre[class*="language-"]'],S=y.background||y.backgroundColor||"",x=y.border;return{background:S,border:x}},[k]);return t.jsxs(st,{ref:v,style:{background:f,...u},children:[t.jsx(tt,{filename:h,heading:g,border:b,headerExtra:t.jsx(nt,{showCopy:r,copyConfig:a,text:w,onCopy:m})}),t.jsx(ae.PrismLight,{customStyle:{margin:0},wrapLongLines:n,showLineNumbers:o,style:F[k],language:i||"markdown",children:p||""})]})}),L=300,xe=l.keyframes(["from{transform:translateY(-100%);border-color:transparent;}to{transform:translateY(0%);border-color:#fff;}"]),lt=l.css(["animation:","ms ease-in ",";"],L,xe),ct=l.css(["animation:","ms ease-in reverse ",";"],L,xe),dt=l.div.withConfig({displayName:"CollapseBase__CollapseHeader",componentId:"sc-e1c5276e-0"})(["transition:filter ","ms ease-in-out;cursor:pointer;min-height:32px;z-index:1;user-select:none;&:hover{filter:brightness(1.15)}"],L*1.3),pt=l.div.withConfig({displayName:"CollapseBase__ContentWrapper",componentId:"sc-e1c5276e-1"})(["overflow:hidden;transition:all ","ms ease-in-out;width:100%;"],L),ht=l.div.withConfig({displayName:"CollapseBase__ChildContent",componentId:"sc-e1c5276e-2"})(["",";border-radius:inherit;border:",";border-top:unset;"],e=>e.$open?lt:ct,e=>e.$border),fe=s.forwardRef(({open:e,onChange:n,defaultOpen:o,header:r,border:i,style:p,width:a,children:m},u)=>{const{token:h}=d.theme.useToken(),[g,v]=s.useState(0),c=s.useCallback(()=>{var S;return v(((S=b.current)==null?void 0:S.offsetHeight)||0)},[v]),k=s.useCallback(S=>{n==null||n(S),c()},[c,n]),[w,f]=ie.useMergedState(!1,{defaultValue:o,value:e,onChange:k}),b=s.useRef(null);s.useImperativeHandle(u,()=>({calculateHeight:c})),s.useEffect(()=>{c(),o&&f(!0)},[c,o,f]);const y=()=>{f(S=>!S)};return t.jsxs("div",{style:{width:a},children:[t.jsx(dt,{onClick:y,children:r}),t.jsx(pt,{style:Object.assign({},p,{height:w?g:0}),children:t.jsx(ht,{ref:b,$open:w,$border:i?`1px solid ${h.colorBorder}`:"unset",children:m})})]})}),ut=l.div.withConfig({displayName:"Collapse__HeaderContainer",componentId:"sc-10a1d4b9-0"})(["padding:0 12px;align-items:center;display:flex;justify-content:space-between;width:calc(100% - 2 * 12px);border-radius:6px;height:32px;"]),mt=l.div.withConfig({displayName:"Collapse__RightTextWrapper",componentId:"sc-10a1d4b9-1"})(["display:flex;align-items:center;gap:6px;font-weight:400;font-style:italic;"]),gt=l(_.RightOutlined).withConfig({displayName:"Collapse__CollapseIcon",componentId:"sc-10a1d4b9-2"})(["font-size:18px;color:",";svg{transition:transform ","ms ease-in-out;}"],e=>e.color,L*.7),xt=s.forwardRef(({open:e,onChange:n,defaultOpen:o,title:r,image:i,rightText:p,activeColor:a,inactiveColor:m,border:u,style:h,width:g,children:v},c)=>{const{token:k}=d.theme.useToken(),[w,f]=s.useState(!1);a||(a=k.colorFill),m||(m=k.colorFillSecondary);const b=x=>{f(x),n==null||n(x)},y=()=>i?t.jsx("img",{src:i,style:{height:18},alt:"dropdown"}):t.jsx(gt,{rotate:w?90:0,color:k.colorPrimary}),S=Object.assign({borderEndStartRadius:6,borderEndEndRadius:6},h==null?void 0:h.children);return t.jsx(fe,{ref:c,header:t.jsxs(ut,{style:Object.assign({backgroundColor:w?a:m,borderEndStartRadius:w&&0,borderEndEndRadius:w&&0},h==null?void 0:h.header),children:[t.jsx(d.Typography.Text,{children:r}),t.jsxs(mt,{children:[t.jsx(d.Typography.Text,{children:p}),y()]})]}),border:u,defaultOpen:o,open:e,onChange:b,style:S,width:g,children:v})}),ft=l.div.withConfig({displayName:"CollapseContent__ContentContainer",componentId:"sc-b0c05457-0"})(["padding:12px;"]),yt=s.forwardRef(({children:e,style:n},o)=>{const{token:{colorFillSecondary:r}}=d.theme.useToken();return t.jsx(ft,{ref:o,style:{background:`linear-gradient(150deg, transparent 30%, ${r})`,...n},children:e})}),$=xt;$.Content=yt;$.Base=fe;const H=l.div.withConfig({displayName:"style__Item",componentId:"sc-47a36880-0"})(["cursor:pointer;height:var(--row-height);width:calc(100% - 2 * 8px);padding:0 8px;margin:0;border-bottom:1px solid ",";display:flex;align-items:center;justify-content:space-between;transition:backdrop-filter .4s;&:hover{backdrop-filter:brightness(1.2);}"],e=>e.$colorBorder||"#d9d9d9"),ye=l(d.Typography.Text).withConfig({displayName:"style__ItemText",componentId:"sc-47a36880-1"})(["max-width:calc(100% - 3.5rem);overflow:hidden;text-overflow:ellipsis;font-weight:500;"]),bt=l(H).withConfig({displayName:"style__SubItem",componentId:"sc-47a36880-2"})(["&:last-child{border-bottom:unset;}&.active{background-color:",";}"],e=>e.$colorActiveBg),be=({item:e,onClick:n,active:o,parentKey:r,itemRender:i})=>{const{token:{colorBorder:p,colorPrimary:a}}=d.theme.useToken(),m=i||(g=>g);if(!e)return null;const u=[e.key];r&&u.unshift(r);const h=g=>{e&&(n==null||n({item:e,key:e.key,keyPath:u,domEvent:g}))};return m(t.jsxs(bt,{onClick:h,className:o&&"active"||void 0,$colorBorder:p,$colorActiveBg:a,children:[t.jsx(ye,{children:e.label}),e.icon," "]}),{item:e,keyPath:u,key:e.key})},vt=({item:e,onClick:n,itemRender:o,open:r})=>{const{token:{colorPrimary:i,colorBorder:p}}=d.theme.useToken(),[a,m]=s.useState(!1),u=s.useRef(null),h=o||(c=>c),g=s.useCallback(async c=>{m(!!(typeof c=="boolean"?c:!a))},[a]);if(s.useEffect(()=>{typeof r=="boolean"&&g(r)},[r,g]),s.useEffect(()=>{var c;(c=u.current)==null||c.calculateHeight()},[e==null?void 0:e.children]),!e)return null;const v=c=>{r===void 0&&g(),e&&(n==null||n({item:e,key:e.key,keyPath:[e.key],domEvent:c}))};return t.jsx($.Base,{ref:u,header:h(t.jsxs(H,{onClick:v,style:{backgroundColor:a?i:void 0},$colorBorder:a?"transparent":p,children:[t.jsx(ye,{children:e.label}),e.icon]}),{item:e,keyPath:[e.key],key:e.key}),open:a,children:t.jsx("div",{style:{borderLeft:`1px solid ${i}`,borderRight:`2px solid ${i}`,borderBottom:`1px solid ${i}`,boxShadow:`inset 0 0 3px ${i}`},children:Array.isArray(e.children)&&e.children.map(c=>t.jsx(be,{itemRender:h,onClick:n,item:c,parentKey:e.key},c.key))})})},wt=l.div.withConfig({displayName:"Selector__SelectorContainer",componentId:"sc-2fdc292d-0"})(["--row-height:48px;--site-selector-height:100%;height:100%;position:relative;"]),ve=l.div.withConfig({displayName:"Selector__SearchContainer",componentId:"sc-2fdc292d-1"})(["height:calc(var(--row-height) - 1px);width:calc(100% - 2 * 6px);padding:0 6px;display:flex;align-items:center;border-bottom:1px solid gray;"]),kt=l.div.withConfig({displayName:"Selector__ItemsContainer",componentId:"sc-2fdc292d-2"})(["height:calc(100% - 2 * var(--row-height));overflow-y:auto;"]),Ct=l(ve).withConfig({displayName:"Selector__CreateContainer",componentId:"sc-2fdc292d-3"})(["justify-content:center;background-color:rgba(163,163,163,0.1);border-top:1px solid gray;border-bottom:unset;"]),jt=s.forwardRef(({items:e,messageEmpty:n,onClick:o,loading:r,openKeys:i,bottomAddon:p,search:a,onSearchChange:m,itemRender:u},h)=>{const[g,v]=s.useState([]),{token:{colorBorder:c}}=d.theme.useToken();s.useEffect(()=>{Array.isArray(i)&&v(i)},[i]);const k=f=>{i===void 0&&f.keyPath.length===1&&("children"in f.item?g.some(b=>b===f.key)?v(g.filter(b=>b!==f.key)):v(g.concat(f.key)):v([f.item.key])),o==null||o(f)},w=()=>r?t.jsx(H,{$colorBorder:c,children:t.jsx(d.Typography.Text,{children:t.jsxs(d.Space,{children:[typeof r=="string"?r:"Loading items...",t.jsx(_.LoadingOutlined,{})]})})}):e!=null&&e.length?e.map(f=>{if("type"in f)switch(f.type){case"group":return t.jsx(vt,{item:f,onClick:k,open:g.includes(f.key),itemRender:u},f.key)}return t.jsx(be,{item:f,onClick:k,active:g.includes(f.key),itemRender:u},f.key)}):t.jsx(H,{$colorBorder:c,children:t.jsx(d.Typography.Text,{children:n||"No items found"})});return t.jsxs(wt,{ref:h,children:[t.jsx(ve,{children:t.jsx(d.Input.Search,{addonBefore:(e==null?void 0:e.length)||"0",onChange:f=>m==null?void 0:m(f.target.value),value:a,allowClear:!0,enterButton:"Search"})}),t.jsx(kt,{children:w()}),t.jsx(Ct,{children:p})]})}),we=l.li.withConfig({displayName:"style__HeaderTextBox",componentId:"sc-95c7a40e-0"})(["position:relative;text-decoration:none;cursor:pointer;text-align:left;display:flex;align-items:center;@media only screen and not (min-width:768px){padding-left:1rem;margin-bottom:1rem;}"]),ke=l(d.Typography.Text).withConfig({displayName:"style__HeaderText",componentId:"sc-95c7a40e-1"})(["font-size:1.5rem;font-weight:600;color:inherit;transition:transform .3s ease-in-out;&:hover{transform:translateY(-2px);}width:max-content;@media only screen and (min-width:768px){opacity:1;position:relative;}"]),St=l.keyframes(["0%{opacity:0;transform:translate(0,8px);}100%{opacity:1;transform:translate(0,0);}"]),It=l.ul.withConfig({displayName:"NavbarDropdown__Submenu",componentId:"sc-f5c9a199-0"})(["--inset:12px;--padding-y:6px;--border-radius:0 0 var(--padding-y) var(--padding-y);position:absolute;top:calc(100% - var(--inset) + 2px);animation:"," .2s;background-color:var(--bg-color);color:black;padding:var(--inset) 0 var(--padding-y) 0;margin:0;cursor:default;&::before{content:'';position:absolute;inset:var(--inset) 0 0 0;border-radius:var(--border-radius);box-shadow:.5px 1px 5px rgba(0,0,0,0.25);z-index:-1;}@media only screen and (min-width:768px){border-radius:var(--border-radius);right:-6px;}@media only screen and not (min-width:768px){width:100%;top:100%;left:0;}"],St),_t=l.li.withConfig({displayName:"NavbarDropdown__SubmenuItem",componentId:"sc-f5c9a199-1"})(["padding:.25rem .75rem;min-width:12rem;font-weight:600;display:block;&:hover{background:linear-gradient(rgba(0,0,0,.1) 2%,transparent 15%,transparent 85%,rgba(0,0,0,.1) 98%);}"]),Tt=e=>{const{item:n,onClick:o,activeKey:r,itemRender:i}=e;if(!Array.isArray(n==null?void 0:n.children))return null;const p=i||(a=>a);return n.children.map(a=>{const m=u=>{o==null||o(u,{item:a,key:a.key})};return t.jsx(_t,{className:r===a.key&&"active"||void 0,onClick:m,children:p(a.label,{item:a,key:a.key,keyPath:[n.key,a.key]})},a.key)})},Nt=e=>{const{item:n,activeKey:o,onClick:r}=e,[i,p]=s.useState(!1),a=(u,h)=>{h?(p(!1),r==null||r(u,h)):(p(!i),n&&(r==null||r(u,{key:n==null?void 0:n.key,item:n})))},m=s.useMemo(()=>o===(n==null?void 0:n.key)||(n==null?void 0:n.children.some(u=>u.key===o)),[o,n]);return t.jsxs(we,{className:m&&"active"||void 0,onClick:a,onMouseEnter:()=>{p(!0)},onMouseLeave:()=>{p(!1)},children:[t.jsx(ke,{children:n==null?void 0:n.label}),t.jsx(It,{hidden:!i,children:t.jsx(Tt,{...e})})]})},Bt=64,Et=l.div.withConfig({displayName:"Navbar__HeaderStyle",componentId:"sc-ed68fa1f-0"})(["--bg-color:#fff;--border-width:3px;--grid-padding-x:max(0px,calc(calc(100vw - 1200px) / 2));--selector-width:280px;--logo-size:48px;display:grid;border-bottom:var(--border-width) solid black;background-color:var(--bg-color);height:calc(var(--navbar-height) - var(--border-width));user-select:none;text-align:center;z-index:999;width:100%;position:sticky;top:0;transition:background-color .3s;@media only screen and (min-width:768px){grid-template-columns:calc(var(--grid-padding-x) + 1rem) var(--selector-width) 1rem 1fr calc(var(--grid-padding-x) + 1rem);}@media only screen and (min-width:992px){--selector-width:320px;}"]),Lt=l.div.withConfig({displayName:"Navbar__LogoContainer",componentId:"sc-ed68fa1f-1"})(["width:var(--logo-size);height:var(--logo-size);margin:calc(calc(var(--navbar-height) - var(--logo-size)) / 2) auto;@media only screen and (min-width:768px){grid-column:2 / 3;}@media only screen and (min-width:calc(1200px + calc(48px + 32px) * 2)){grid-column:1 / 2;}"]),$t=l.nav.withConfig({displayName:"Navbar__NavStyle",componentId:"sc-ed68fa1f-2"})(["width:100%;transform-origin:top;transition:transform 400ms ease-in-out;grid-column:4 / 5;@media only screen and not (min-width:768px){position:absolute;background-color:rgba(0,0,0,.87);border-bottom:3px solid white;top:100%;left:0;transform:scale(1,0);}@media only screen and (min-width:768px){display:flex;justify-content:flex-end;align-items:center;transition:none;height:var(--navbar-height);}"]),Pt=l.ul.withConfig({displayName:"Navbar__ItemsList",componentId:"sc-ed68fa1f-3"})(["font-family:'Noto Sans JP',sans-serif;list-style-type:none;padding-left:0;height:100%;opacity:0;transition:all 150ms ease-in-out;@media only screen and (min-width:768px){display:flex;column-gap:20px;align-items:stretch;opacity:unset;}@media only screen and (min-width:992px){column-gap:32px;}color:",";.active{color:",";}"],e=>e.$textColor,e=>e.$activeColor),Mt=l.label.withConfig({displayName:"Navbar__ToggleLabel",componentId:"sc-ed68fa1f-4"})(["position:absolute;top:0;left:1rem;height:100%;display:flex;align-items:center;@media only screen and (min-width:768px){display:none;}"]),Rt=l.input.withConfig({displayName:"Navbar__ToggleInput",componentId:"sc-ed68fa1f-5"})(["display:block;background-color:",";height:.2em;width:2em;border-radius:1em;position:relative;appearance:none;outline:unset;transition:transform .4s ease-in-out,background-color .5s;&::after,&::before{display:block;background-color:",";height:.2em;width:2em;border-radius:1em;position:relative;content:'';position:absolute;transition:transform .4s ease-in-out;}&::after{transform:translateY(-.6em)}&::before{transform:translateY(.6em)}&:checked{transform:translateX(-2em);background:transparent;}&:checked::after{transform:rotateZ(45deg) translate(1.4em,-1.4em);}&:checked::before{transform:rotateZ(-45deg) translate(1.4em,1.4em);}"],e=>e.$color,e=>e.$color),Ht=e=>{const{items:n,activeKey:o,onClick:r,itemRender:i}=e,p=i||(a=>a);return Array.isArray(n)?n.map(a=>{const m=(u,h)=>{const g={item:a,key:a.key,keyPath:[a.key],domEvent:u};h&&(g.keyPath.push(h.key),g.key=h.key,g.item=h.item),r==null||r(g)};if("type"in a)switch(a.type){case"group":return t.jsx(Nt,{item:a,onClick:m,activeKey:o,itemRender:p},a.key)}return t.jsx(we,{className:o===a.key&&"active"||void 0,onClick:m,children:p(t.jsx(ke,{children:a.label}),{item:a,key:a.key,keyPath:[a.key]})},a.key)}):null},zt=s.forwardRef((e,n)=>{const{height:o,textColor:r,activeColor:i,logo:p,toggleColor:a,onClick:m,...u}=e,{token:{colorPrimary:h}}=d.theme.useToken(),[g,v]=s.useState({}),[c,k]=s.useState({}),w=s.useRef(null);s.useEffect(()=>{typeof o=="number"&&o>=48?document.documentElement.style.setProperty("--navbar-height",`${Math.round(o)}px`):document.documentElement.style.setProperty("--navbar-height",`${Bt}px`)},[o]);const f=()=>{var y;(y=w.current)!=null&&y.checked?(v({transform:"scale(1,1)"}),k({opacity:1,transition:"opacity 150ms ease-in-out 250ms"})):(k({}),v({}))},b=y=>{y.domEvent.stopPropagation(),"children"in y.item||(w.current&&(w.current.checked=!1),f()),m==null||m(y)};return t.jsxs(Et,{ref:n,style:{borderBottomColor:r||h},children:[t.jsx(Lt,{children:p}),t.jsx($t,{style:Object.assign({borderBottomColor:i||h},g),children:t.jsx(Pt,{$activeColor:i||h,$textColor:r,style:c,children:t.jsx(Ht,{...u,onClick:b})})}),t.jsx(Mt,{htmlFor:"nav-toggle",children:t.jsx(Rt,{ref:w,type:"checkbox",id:"nav-toggle","aria-label":"show navigation",onChange:f,$color:a||"black"})})]})}),Ft=l.div.withConfig({displayName:"MainSettings__SettingsContainer",componentId:"sc-3df5e552-0"})(["background:linear-gradient(-120deg,"," 20%,"," 80%);overflow-y:auto;flex:1 1 auto;position:relative;height:calc(100% - var(--selector-height));@media only screen and (min-width:768px){border-radius:8px;box-shadow:inset 0 0 2px 1px rgba(255,255,255,.1);height:unset;}&::-webkit-scrollbar{width:5px;@media only screen and not (min-width:768px){display:none;}}&::-webkit-scrollbar-track{background:none;}&::-webkit-scrollbar-thumb{background-color:var(--thumb-bg);border-radius:3px;}&::-webkit-scrollbar-track-piece:start{margin-top:1em;}&::-webkit-scrollbar-track-piece:end{margin-bottom:1em;}"],e=>e.$bgLight,e=>e.$bgDark),Ce=l.div.withConfig({displayName:"MainSettings__SettingsPadding",componentId:"sc-3df5e552-1"})(["padding:1rem 0;@media only screen and (min-width:768px){padding:1.5rem;}@media only screen and (min-width:992px){padding:1.5rem 2.5rem;}"]),je=l(d.Flex).withConfig({displayName:"MainSettings__SettingsFlex",componentId:"sc-3df5e552-2"})(["gap:1.5rem;@media only screen and (min-width:768px){gap:2rem;}"]),oe=({element:e,children:n,render:o,elementProps:r})=>typeof o>"u"||o?s.createElement(e,r,n):n,At=s.forwardRef(({children:e,flex:n,padding:o,flexProps:r},i)=>{const{theme:{id:p},token:{colorBgBase:a,colorBgContainer:m,colorBgElevated:u,colorBgLayout:h}}=d.theme.useToken();let g=u,v=h;return p===1&&(g=a,v=m),t.jsx(Ft,{ref:i,$bgDark:g,$bgLight:v,children:t.jsx(oe,{element:Ce,render:o,children:t.jsx(oe,{element:je,render:n,elementProps:{vertical:!0,...r},children:e})})})}),O=36,Ot=l.createGlobalStyle(["#main{--selector-height:36px;}"]),qt=l.div.withConfig({displayName:"MainSelector__SelectorContainer",componentId:"sc-a9802ccf-0"})(["position:sticky;top:calc(var(--navbar-height) + var(--main-margin-v));box-shadow:inset 0 0 2px 1px rgba(255,255,255,.1);border-radius:8px;overflow:auto;flex:0 0 var(--site-selector-width);background:linear-gradient(35deg,"," 20%,",");max-height:var(--main-height);@media screen and not (min-width:768px){width:100%;border-radius:unset;height:calc(var(--main-height) - ","px)}"],e=>e.$bgDark,e=>e.$bgLight,O),Dt=s.forwardRef(({title:e,children:n,collapseOpen:o,onChange:r},i)=>{const{theme:{id:p},token:{colorBgBase:a,colorBgContainer:m,colorBgLayout:u}}=d.theme.useToken(),[h,g]=s.useState(1280),[v,c]=ie.useMergedState(!1,{value:o});let k=a,w=u;p===1&&(k=a,w=m);const f=s.useCallback(y=>{c(y),r==null||r(y)},[c,r]);s.useEffect(()=>{const y=()=>{g(window.innerWidth)};return y(),window.addEventListener("resize",y),()=>{window.removeEventListener("resize",y)}},[]);const b=t.jsxs(qt,{ref:i,$bgDark:k,$bgLight:w,children:[t.jsx(Ot,{}),n]});return h<768?t.jsx("div",{style:{flex:"0 0 100%",height:O},children:t.jsx($,{title:e,activeColor:a,style:{header:{height:O,borderRadius:0},children:{position:"absolute",zIndex:100,borderRadius:0}},onChange:f,open:v,children:b})}):b}),Wt=l.div.withConfig({displayName:"Main__MainContainer",componentId:"sc-e09dbad2-0"})(["--main-margin-v:0px;--site-selector-width:280px;--main-height:calc(100vh - var(--navbar-height));--selector-height:0px;position:relative;max-width:calc(1200px - 2 * 1rem);margin:var(--main-margin-v) auto;height:var(--main-height);@media only screen and (min-width:768px){--main-margin-v:2rem;--main-height:min(calc(100vh - var(--navbar-height) - 2 * var(--main-margin-v)),85vh);display:flex;align-items:stretch;column-gap:1rem;padding:0 1rem;&.content-height{height:unset;max-height:var(--main-height);}&.no-scroll{height:unset;min-height:var(--main-height);max-height:unset;}&.content-height{min-height:unset;}}@media only screen and (min-width:992px){--site-selector-width:320px;}"]),P=s.forwardRef(({children:e,overflow:n,height:o="full"},r)=>{const i=[];switch(n){case"visible":i.push("no-scroll");break}switch(o){case"content":i.push("content-height");break}return t.jsx(Wt,{ref:r,id:"main",className:i.join(" "),children:e})});P.Settings=At;P.Selector=Dt;P.Padding=Ce;P.Flex=je;const q=l(d.Button).withConfig({displayName:"Buttons__Button",componentId:"sc-40731dd3-0"})(["--shadow-color:",";box-shadow:1.5px 2px var(--shadow-color);margin-bottom:1px;&:focus{box-shadow:1px 1.5px var(--shadow-color);}&:hover{box-shadow:0 0 var(--shadow-color);}"],e=>e.danger?"#f5222d":d.theme.useToken().token.colorPrimary),Se=l(q).withConfig({displayName:"Buttons__CenteredButton",componentId:"sc-40731dd3-1"})(["margin-left:auto;margin-right:auto;display:block;width:max-content;"]),Vt=l(q).withConfig({displayName:"Buttons__ExtraSmallButton",componentId:"sc-40731dd3-2"})(["width:max-content;background-color:rgba(255,255,255,.05);border:unset;box-shadow:unset;"]),Gt=l(Se).withConfig({displayName:"Buttons__RightButton",componentId:"sc-40731dd3-3"})(["margin-right:unset;"]),Yt=l.div.withConfig({displayName:"HoverLabel__LabelWrapper",componentId:"sc-62401a59-0"})(["position:relative;transition:max-width .4s ease-out;"]),Ut=l.span.withConfig({displayName:"HoverLabel__LabelMock",componentId:"sc-62401a59-1"})(["opacity:0;white-space:nowrap;"]),Xt=l(d.Typography.Text).withConfig({displayName:"HoverLabel__InputLabel",componentId:"sc-62401a59-2"})(["position:absolute;transition:all .4s ease;z-index:10;cursor:text;width:max-content;"]),Ie=s.forwardRef((e,n)=>{var S;const{name:o,size:r,children:i,colorText:p,colorTextActive:a}=e,[m,u]=s.useState({}),h=s.useRef(null),g=s.useRef(null),v=d.Form.useWatch(o),{token:c}=d.theme.useToken(),[k,w]=s.useState({display:"none"}),f=De(x=>r??x),[b,y]=s.useMemo(()=>[{},{left:0,top:0,color:a||c.colorPrimary,cursor:"default",fontSize:"inherit"}],[a,c]);return s.useImperativeHandle(n,()=>h.current),s.useEffect(()=>{var j;let x=((j=h.current)==null?void 0:j.parentElement)||null;for(let I=0;I<5&&!(!x||x.classList.contains("ant-form-item-label"));I++)x=x.parentElement;x&&(x.style.overflow="visible")},[]),s.useEffect(()=>{var x;if(v)return u(y);((x=document.activeElement)==null?void 0:x.id)!==o&&u(b)},[v,o,b,y]),s.useEffect(()=>{var V,G,Y,U,X,J,K,Z,Q,ee,te,ne;let x,j,I;if(!h.current)return w({display:"none"});if(typeof o!="string")return w({});const B=document.getElementById(o);if(!B)return w({});const Be=((V=h.current.parentElement)==null?void 0:V.offsetLeft)||0,z=B.previousElementSibling,R=(G=B.parentElement)!=null&&G.classList.contains("ant-input-affix-wrapper")?B.parentElement:B,W=(z==null?void 0:z.classList.contains("ant-input-prefix"))||!1,Ee=((Y=R==null?void 0:R.previousElementSibling)==null?void 0:Y.classList.contains("ant-input-group-addon"))||!1;let E=0;switch(W&&(E+=B.offsetLeft),Ee&&(E+=R.offsetLeft),f){case"small":j=(((U=c.Input)==null?void 0:U.paddingInlineSM)||c.paddingXS)+E,x=`calc(100% + ${((X=c.Input)==null?void 0:X.paddingBlockSM)||0}px + 9px)`,I=((J=c.Input)==null?void 0:J.inputFontSizeSM)||c.fontSize;break;case"large":j=(((K=c.Input)==null?void 0:K.paddingInlineLG)||c.paddingSM)+E,x=`calc(100% + ${((Z=c.Input)==null?void 0:Z.paddingBlock)||7}px + 8px)`,I=((Q=c.Input)==null?void 0:Q.inputFontSizeLG)||c.fontSizeLG;break;default:j=(((ee=c.Input)==null?void 0:ee.paddingInline)||c.paddingSM)+E,x=`calc(100% + ${((te=c.Input)==null?void 0:te.paddingBlock)||4}px + 9px)`,I=((ne=c.Input)==null?void 0:ne.inputFontSize)||c.fontSize;break}W&&(j=E),j=j-Be,w({top:x,left:j,fontSize:I})},[f,o,c]),s.useEffect(()=>{if(typeof o!="string")return;const x=document.getElementById(o);if(!x)return;const j=()=>{u(y),x.classList.remove("no-placeholder")},I=()=>{x.value.length===0&&u(b),x.value||x.classList.add("no-placeholder")};return x.value||x.classList.add("no-placeholder"),x.addEventListener("focus",j),x.addEventListener("blur",I),()=>{x.removeEventListener("focus",j),x.removeEventListener("blur",I)}},[o,b,y]),t.jsxs(Yt,{style:{maxWidth:Object.is(m,y)?(S=g.current)==null?void 0:S.offsetWidth:0},children:[t.jsx(Ut,{ref:g,children:i}),t.jsx(Xt,{ref:h,style:Object.assign({color:p||c.colorText},k,m),children:i})]})}),Jt=l(d.Input).withConfig({displayName:"Input__HtmlInput",componentId:"sc-c3cd46c3-0"})(["::placeholder,&::placeholder{transition:color .4s;}.no-placeholder,&.no-placeholder{&::placeholder,::placeholder{color:transparent;}}"]),re=e=>{let n="";const o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=o.length;let i=0;for(;i<e;)n+=o.charAt(Math.floor(Math.random()*r)),i+=1;return n},Kt=e=>C.createElement("svg",{id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"533.333px",height:"533.333px",viewBox:"0 0 533.333 533.333",style:{enableBackground:"new 0 0 533.333 533.333"},xmlSpace:"preserve",...e},C.createElement("g",null,C.createElement("path",{d:"M450,100H183.333C137.5,100,100,137.5,100,183.333V450c0,45.833,37.5,83.333,83.333,83.333H450 c45.834,0,83.334-37.5,83.334-83.333V183.333C533.333,137.5,495.833,100,450,100z M216.667,466.667c-27.614,0-50-22.386-50-50 s22.386-50,50-50s50,22.386,50,50S244.281,466.667,216.667,466.667z M216.667,266.667c-27.614,0-50-22.386-50-50 c0-27.614,22.386-50,50-50s50,22.386,50,50C266.667,244.281,244.281,266.667,216.667,266.667z M316.667,366.667 c-27.614,0-50-22.386-50-50s22.386-50,50-50s50,22.386,50,50S344.281,366.667,316.667,366.667z M416.667,466.667 c-27.614,0-50-22.386-50-50s22.386-50,50-50s50,22.386,50,50S444.281,466.667,416.667,466.667z M416.667,266.667 c-27.614,0-50-22.386-50-50c0-27.614,22.386-50,50-50s50,22.386,50,50C466.667,244.281,444.281,266.667,416.667,266.667z M431.646,66.667C423.87,28.748,390.13,0,350,0H83.333C37.5,0,0,37.5,0,83.333V350c0,40.129,28.748,73.87,66.667,81.646V100 c0-18.333,15-33.333,33.333-33.333H431.646z"})),C.createElement("g",null),C.createElement("g",null),C.createElement("g",null),C.createElement("g",null),C.createElement("g",null),C.createElement("g",null),C.createElement("g",null),C.createElement("g",null),C.createElement("g",null),C.createElement("g",null),C.createElement("g",null),C.createElement("g",null),C.createElement("g",null),C.createElement("g",null),C.createElement("g",null)),Zt=l(We).withConfig({displayName:"Input.Password__HtmlPassword",componentId:"sc-69931ce5-0"})(["::placeholder,&::placeholder{transition:color .4s;}.no-placeholder,&.no-placeholder{&::placeholder,::placeholder{color:transparent;}}"]),Qt=l.div.withConfig({displayName:"Input.Password__IconsContainer",componentId:"sc-69931ce5-1"})(["display:flex;align-items:center;"]),A=l.span.withConfig({displayName:"Input.Password__IconSpan",componentId:"sc-69931ce5-2"})(["color:",";margin-inline-start:4px;transition:color .3s;cursor:pointer;&:hover{color:",";}"],e=>e.$color,e=>e.$hoverColor),en=s.forwardRef((e,n)=>{const{copy:o,randomize:r,...i}=e,{id:p,value:a,visibilityToggle:m}=i,u=d.Form.useFormInstance(),{token:{colorText:h,colorTextTertiary:g}}=d.theme.useToken(),[v,c]=s.useState("copy"),k=s.useRef(void 0),w=s.useCallback(b=>{b.stopPropagation(),c("copied!"),clearTimeout(k.current),k.current=setTimeout(c,1e3,"copy")},[]),f=s.useCallback(b=>{b.stopPropagation(),typeof r=="object"&&r!==null?r.onRandomize?r.onRandomize(b):u.setFieldValue(p,re(r.charCount||12)):u.setFieldValue(p,re(12))},[u,p,r]);return t.jsx("div",{style:{position:"relative"},children:t.jsx(Zt,{ref:n,...i,iconRender:b=>t.jsxs(Qt,{onClick:y=>y.preventDefault(),children:[o&&t.jsx(d.Tooltip,{title:v,children:t.jsx(se.CopyToClipboard,{text:typeof a=="string"?a:"",children:t.jsx(A,{$color:g,$hoverColor:h,onClick:w,children:t.jsx(_,{component:ge})})})}),r&&t.jsx(d.Tooltip,{title:typeof r=="object"&&(r==null?void 0:r.tooltip)||"randomize",children:t.jsx(A,{$color:g,$hoverColor:h,onClick:f,children:t.jsx(_,{component:Kt})})}),m!==!1&&t.jsx(A,{$color:g,$hoverColor:h,children:b?t.jsx(_.EyeOutlined,{}):t.jsx(_.EyeInvisibleOutlined,{})})]})})})}),tn=l(Ve).withConfig({displayName:"Input.Search__HtmlSearch",componentId:"sc-4628fe5-0"})(["::placeholder,&::placeholder{transition:color .4s;}.no-placeholder,&.no-placeholder{&::placeholder,::placeholder{color:transparent;}}"]),nn=l(Ge).withConfig({displayName:"Input.TextArea__HtmlTextArea",componentId:"sc-9a523027-0"})(["::placeholder,&::placeholder{transition:color .4s;}.no-placeholder,&.no-placeholder{&::placeholder,::placeholder{color:transparent;}}"]),M=Jt;M.TextArea=nn;M.Search=tn;M.Password=en;M.OTP=d.Input.OTP;const _e=l(d.Typography.Text).withConfig({displayName:"Form__Mark",componentId:"sc-8d1898f9-0"})(["margin-inline-start:4px;"]),on=(e,n)=>n.required?t.jsxs(t.Fragment,{children:[e,t.jsx(_e,{type:"danger",children:"*"})]}):e,rn=(e,n)=>n.required?e:t.jsxs(t.Fragment,{children:[e,t.jsx(_e,{type:"secondary",children:"(optional)"})]}),Te=s.forwardRef((e,n)=>{const{requiredMark:o,...r}=e,i=s.useMemo(()=>o===!0?on:o==="optional"?rn:o,[o]);return t.jsx(Ye,{ref:n,...r,requiredMark:i})});Te.displayName="Form";const an=e=>{const{labelType:n,label:o,...r}=e,i=s.useMemo(()=>{if(!o)return;const p=typeof n=="object"?n.type:n,a=typeof n=="object"?n:{};switch(p){case"hover":return t.jsx(Ie,{...a,name:e.name,children:o});default:return o}},[n,o,e.name]);return t.jsx(le,{...r,label:i})},D=an;D.useStatus=le.useStatus;D.displayName="FormItem";const N=Te;N.Item=D;N.List=d.Form.List;N.useForm=d.Form.useForm;N.useFormInstance=d.Form.useFormInstance;N.useWatch=d.Form.useWatch;N.Provider=d.Form.Provider;const sn=l(d.Card).withConfig({displayName:"LoginContainer__ContainerCard",componentId:"sc-45eb2ddd-0"})(["width:min(100%,480px);box-shadow:0 3px 7px rgba(0,0,0,.2);padding:1.5rem 1rem;margin-bottom:10rem;@media only screen and (max-width:480px){border-radius:0;}@media only screen and (max-height:576px){margin-bottom:1.5rem;}"]),T=({children:e})=>t.jsx(sn,{className:"card-container",children:e});T.Header=()=>t.jsxs(d.Space,{style:{display:"flex"},children:[t.jsx("img",{src:"/logo/logo-orange-black.svg",height:"24px",width:"auto"}),t.jsx("img",{src:"/logo/web-fuse-text.svg",height:"12px",width:"auto"})]});T.Title=e=>t.jsx(d.Typography.Title,{level:2,...e,style:Object.assign({marginTop:4},e.style)});T.Subtitle=e=>t.jsx(d.Typography.Paragraph,{...e,style:Object.assign({marginTop:-18,marginBottom:14,fontSize:"0.8125rem",lineHeight:"20px",fontWeight:400},e.style)});const ln=l.div.withConfig({displayName:"ErrorBoundary__Page",componentId:"sc-7b6aee37-0"})(["display:flex;justify-content:center;align-items:center;height:calc(100vh - 2 * 2rem);"]),cn=({description:e})=>e?s.isValidElement(e)?e:t.jsx(d.Typography.Text,{children:e}):null,dn=({error:e,title:n})=>{const o=[{key:"1",label:"Details",children:t.jsx(d.Typography.Text,{type:"secondary",children:e.error_detail||"No additional details"})}];return t.jsx(ln,{children:t.jsxs(T,{children:[t.jsx(T.Header,{}),t.jsxs(d.Space,{direction:"vertical",children:[t.jsx(T.Title,{children:n}),t.jsx(d.Typography.Paragraph,{strong:!0,style:{marginBottom:0},children:e.message}),t.jsx(cn,{description:e.error_description}),t.jsx(d.Button,{onClick:()=>window.history.back(),children:"Return"}),t.jsx(d.Collapse,{items:o,ghost:!0,size:"small"})]})]})})},pn=l.div.withConfig({displayName:"PageBackground__PageStyle",componentId:"sc-5cbad093-0"})(["background:linear-gradient(0deg,rgba(0,0,0,.2),rgba(0,0,0,.05)),radial-gradient(at 20% 30%,rgb(80 173 255 / 10%),transparent 55%),radial-gradient(at 83% 10%,rgb(221 216 74 / 13%),transparent 60%),radial-gradient(at 10% 80%,rgb(176 249 40 / 6%),transparent 40%),radial-gradient(at 90% 80%,rgb(48 95 151 / 14%),transparent 55%),radial-gradient(at 50% 45%,rgb(255 125 61 / 20%),transparent 60%);width:100vw;height:100vh;"]),hn=({children:e,width:n,height:o})=>{const{token:{colorBgContainer:r}}=d.theme.useToken();return t.jsx(pn,{style:{backgroundColor:r,width:n,height:o},children:e})},un=(e,n)=>{const o=d.theme.darkAlgorithm(e,n);return o.colorPrimary=e.colorPrimary,o},Ne=s.createContext(null),mn=({children:e})=>{const[n,o]=d.message.useMessage();return s.createElement(Ne.Provider,{value:n},o,e)},gn=()=>s.useContext(Ne);exports.Button=q;exports.CenteredButton=Se;exports.CodeBlock=it;exports.Collapse=$;exports.DarkCard=ue;exports.ExtraSmallButton=Vt;exports.Form=N;exports.HoverLabel=Ie;exports.Input=M;exports.LightCard=pe;exports.LoginContainer=T;exports.LoginErrorBoundary=dn;exports.LoginPageBackground=hn;exports.MainLayout=P;exports.MessageProvider=mn;exports.Navbar=zt;exports.RightButton=Gt;exports.Selector=jt;exports.useMessageApi=gn;exports.wfDarkAlgorithm=un;
|
821
4
|
//# sourceMappingURL=index.cjs.js.map
|