1. 支持转账、通话、链接消息的显示
2. 支持名片、视频号、QQ音乐、小程序、定位等消息的显示 3. 支持直播、游戏消息、语音通话、视频通话等消息的显示 4. 解密前判断对数据库是否有读权限 5. system消息html格式转文本
This commit is contained in:
1 parent
f1a32a3f9a
commit
c13e680b3d
18 files changed
+835
-563
No files matched your search
BIN
Binary file not shown.
|
After Width: | Height: | Size: 7.0 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 8.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.6 KiB |
+533
@@ -0,0 +1,533 @@
|
||||
function Y4(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var Hn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function bR(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var p={exports:{}},xt={};/**
|
||||
* @license React
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var gu=Symbol.for("react.element"),xR=Symbol.for("react.portal"),SR=Symbol.for("react.fragment"),CR=Symbol.for("react.strict_mode"),wR=Symbol.for("react.profiler"),$R=Symbol.for("react.provider"),ER=Symbol.for("react.context"),OR=Symbol.for("react.forward_ref"),MR=Symbol.for("react.suspense"),PR=Symbol.for("react.memo"),TR=Symbol.for("react.lazy"),rS=Symbol.iterator;function RR(e){return e===null||typeof e!="object"?null:(e=rS&&e[rS]||e["@@iterator"],typeof e=="function"?e:null)}var K4={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},G4=Object.assign,q4={};function vl(e,t,n){this.props=e,this.context=t,this.refs=q4,this.updater=n||K4}vl.prototype.isReactComponent={};vl.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};vl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function X4(){}X4.prototype=vl.prototype;function p1(e,t,n){this.props=e,this.context=t,this.refs=q4,this.updater=n||K4}var v1=p1.prototype=new X4;v1.constructor=p1;G4(v1,vl.prototype);v1.isPureReactComponent=!0;var oS=Array.isArray,Q4=Object.prototype.hasOwnProperty,m1={current:null},Z4={key:!0,ref:!0,__self:!0,__source:!0};function J4(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Q4.call(t,r)&&!Z4.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return{$$typeof:gu,type:e,key:i,ref:a,props:o,_owner:m1.current}}function NR(e,t){return{$$typeof:gu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function h1(e){return typeof e=="object"&&e!==null&&e.$$typeof===gu}function IR(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var iS=/\/+/g;function _m(e,t){return typeof e=="object"&&e!==null&&e.key!=null?IR(""+e.key):t.toString(36)}function qd(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case gu:case xR:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+_m(a,0):r,oS(o)?(n="",e!=null&&(n=e.replace(iS,"$&/")+"/"),qd(o,t,n,"",function(c){return c})):o!=null&&(h1(o)&&(o=NR(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(iS,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",oS(e))for(var s=0;s<e.length;s++){i=e[s];var l=r+_m(i,s);a+=qd(i,t,n,l,o)}else if(l=RR(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=r+_m(i,s++),a+=qd(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function td(e,t,n){if(e==null)return e;var r=[],o=0;return qd(e,r,"","",function(i){return t.call(n,i,o++)}),r}function AR(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Zn={current:null},Xd={transition:null},_R={ReactCurrentDispatcher:Zn,ReactCurrentBatchConfig:Xd,ReactCurrentOwner:m1};xt.Children={map:td,forEach:function(e,t,n){td(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return td(e,function(){t++}),t},toArray:function(e){return td(e,function(t){return t})||[]},only:function(e){if(!h1(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};xt.Component=vl;xt.Fragment=SR;xt.Profiler=wR;xt.PureComponent=p1;xt.StrictMode=CR;xt.Suspense=MR;xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_R;xt.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=G4({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=m1.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)Q4.call(t,l)&&!Z4.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:gu,type:e.type,key:o,ref:i,props:r,_owner:a}};xt.createContext=function(e){return e={$$typeof:ER,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:$R,_conLine truncated
|
||||
* @license React
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/(function(e){function t(O,L){var I=O.length;O.push(L);e:for(;0<I;){var H=I-1>>>1,D=O[H];if(0<o(D,L))O[H]=L,O[I]=D,I=H;else break e}}function n(O){return O.length===0?null:O[0]}function r(O){if(O.length===0)return null;var L=O[0],I=O.pop();if(I!==L){O[0]=I;e:for(var H=0,D=O.length,B=D>>>1;H<B;){var W=2*(H+1)-1,Y=O[W],G=W+1,j=O[G];if(0>o(Y,I))G<D&&0>o(j,Y)?(O[H]=j,O[G]=I,H=G):(O[H]=Y,O[W]=I,H=W);else if(G<D&&0>o(j,I))O[H]=j,O[G]=I,H=G;else break e}}return L}function o(O,L){var I=O.sortIndex-L.sortIndex;return I!==0?I:O.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],u=1,d=null,f=3,m=!1,h=!1,v=!1,b=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(O){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=O)r(c),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(c)}}function C(O){if(v=!1,S(O),!h)if(n(l)!==null)h=!0,_($);else{var L=n(c);L!==null&&P(C,L.startTime-O)}}function $(O,L){h=!1,v&&(v=!1,y(M),M=-1),m=!0;var I=f;try{for(S(L),d=n(l);d!==null&&(!(d.expirationTime>L)||O&&!R());){var H=d.callback;if(typeof H=="function"){d.callback=null,f=d.priorityLevel;var D=H(d.expirationTime<=L);L=e.unstable_now(),typeof D=="function"?d.callback=D:d===n(l)&&r(l),S(L)}else r(l);d=n(l)}if(d!==null)var B=!0;else{var W=n(c);W!==null&&P(C,W.startTime-L),B=!1}return B}finally{d=null,f=I,m=!1}}var E=!1,w=null,M=-1,T=5,N=-1;function R(){return!(e.unstable_now()-N<T)}function F(){if(w!==null){var O=e.unstable_now();N=O;var L=!0;try{L=w(!0,O)}finally{L?z():(E=!1,w=null)}}else E=!1}var z;if(typeof x=="function")z=function(){x(F)};else if(typeof MessageChannel<"u"){var A=new MessageChannel,k=A.port2;A.port1.onmessage=F,z=function(){k.postMessage(null)}}else z=function(){b(F,0)};function _(O){w=O,E||(E=!0,z())}function P(O,L){M=b(function(){O(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_continueExecution=function(){h||m||(h=!0,_($))},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(O){switch(f){case 1:case 2:case 3:var L=3;break;default:L=f}var I=f;f=L;try{return O()}finally{f=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(O,L){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var I=f;f=O;try{return L()}finally{f=I}},e.unstable_scheduleCallback=function(O,L,I){var H=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?H+I:H):I=H,O){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=I+D,O={id:u++,callback:L,priorityLevel:O,startTime:I,expirationTime:D,sortIndex:-1},I>H?(O.sortIndex=I,t(c,O),n(l)===null&&O===n(c)&&(v?(y(M),M=-1):v=!0,P(C,I-H))):(O.sortIndex=D,t(l,O),h||m||(h=!0,_($))),O},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(O){var L=f;return function(){var I=f;f=L;try{return O.apply(this,arguments)}finally{f=I}}}})(tE);(function(e){e.exports=tE})(eE);/**
|
||||
* @license React
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var nE=p.exports,Or=eE.exports;function xe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var rE=new Set,_c={};function Ha(e,t){Xs(e,t),Xs(e+"Capture",t)}function Xs(e,t){for(_c[e]=t,e=0;e<t.length;e++)rE.add(t[e])}var Qo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_g=Object.prototype.hasOwnProperty,DR=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,aS={},sS={};function kR(e){return _g.call(sS,e)?!0:_g.call(aS,e)?!1:DR.test(e)?sS[e]=!0:(aS[e]=!0,!1)}function FR(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function LR(e,t,n,r){if(t===null||typeof t>"u"||FR(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Jn(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var _n={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_n[e]=new Jn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];_n[t]=new Jn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_n[e]=new Jn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_n[e]=new Jn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){_n[e]=new Jn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_n[e]=new Jn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_n[e]=new Jn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_n[e]=new Jn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_n[e]=new Jn(e,5,!1,e.toLowerCase(),null,!1,!1)});var g1=/[\-:]([a-z])/g;function y1(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(g1,y1);_n[t]=new Jn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(g1,y1);_n[t]=new Jn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(g1,y1);_n[t]=new Jn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_n[e]=new Jn(e,1,!1,e.toLowerCase(),null,!1,!1)});_n.xlinkHref=new Jn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_n[e]=new Jn(e,1,!1,e.toLowerCase(),null,!0,!0)});function b1(e,t,n,r){var o=_n.hasOwnProperty(t)?_n[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0
Line truncated
|
||||
`+Dm+e}var km=!1;function Fm(e,t){if(!e||km)return"";km=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(`
|
||||
`),i=r.stack.split(`
|
||||
`),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(a!==1||s!==1)do if(a--,s--,0>s||o[a]!==i[s]){var l=`
|
||||
`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{km=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?rc(e):""}function zR(e){switch(e.tag){case 5:return rc(e.type);case 16:return rc("Lazy");case 13:return rc("Suspense");case 19:return rc("SuspenseList");case 0:case 2:case 15:return e=Fm(e.type,!1),e;case 11:return e=Fm(e.type.render,!1),e;case 1:return e=Fm(e.type,!0),e;default:return""}}function Lg(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case xs:return"Fragment";case bs:return"Portal";case Dg:return"Profiler";case x1:return"StrictMode";case kg:return"Suspense";case Fg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case iE:return(e.displayName||"Context")+".Consumer";case oE:return(e._context.displayName||"Context")+".Provider";case S1:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case C1:return t=e.displayName||null,t!==null?t:Lg(e.type)||"Memo";case bi:t=e._payload,e=e._init;try{return Lg(e(t))}catch{}}return null}function BR(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Lg(t);case 8:return t===x1?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Bi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function sE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function jR(e){var t=sE(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function rd(e){e._valueTracker||(e._valueTracker=jR(e))}function lE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=sE(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Mf(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function zg(e,t){var n=t.checked;return Xt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function cS(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Bi(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function cE(e,t){t=t.checked,t!=null&&b1(e,"checked",t,!1)}function Bg(e,t){cE(e,t);var n=Bi(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?jg(e,t.type,n):t.hasOwnProperty("defaultValue")&&jg(e,t.type,Bi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function uS(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function jg(e,t,n){(t!=="number"||Mf(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var oc=Array.isArray;function zs(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Bi(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Hg(e,t){i
Line truncated
|
||||
`).replace(QN,"")}function dd(e,t,n){if(t=AS(t),AS(e)!==t&&n)throw Error(xe(425))}function Df(){}var t0=null,n0=null;function r0(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var o0=typeof setTimeout=="function"?setTimeout:void 0,ZN=typeof clearTimeout=="function"?clearTimeout:void 0,_S=typeof Promise=="function"?Promise:void 0,JN=typeof queueMicrotask=="function"?queueMicrotask:typeof _S<"u"?function(e){return _S.resolve(null).then(e).catch(eI)}:o0;function eI(e){setTimeout(function(){throw e})}function Xm(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),zc(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);zc(t)}function Ii(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function DS(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var hl=Math.random().toString(36).slice(2),Ro="__reactFiber$"+hl,Wc="__reactProps$"+hl,Zo="__reactContainer$"+hl,i0="__reactEvents$"+hl,tI="__reactListeners$"+hl,nI="__reactHandles$"+hl;function ya(e){var t=e[Ro];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zo]||n[Ro]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=DS(e);e!==null;){if(n=e[Ro])return n;e=DS(e)}return t}e=n,n=e.parentNode}return null}function Su(e){return e=e[Ro]||e[Zo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function $s(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(xe(33))}function Hp(e){return e[Wc]||null}var a0=[],Es=-1;function Qi(e){return{current:e}}function Vt(e){0>Es||(e.current=a0[Es],a0[Es]=null,Es--)}function zt(e,t){Es++,a0[Es]=e.current,e.current=t}var ji={},Wn=Qi(ji),cr=Qi(!1),Aa=ji;function Qs(e,t){var n=e.type.contextTypes;if(!n)return ji;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ur(e){return e=e.childContextTypes,e!=null}function kf(){Vt(cr),Vt(Wn)}function kS(e,t,n){if(Wn.current!==ji)throw Error(xe(168));zt(Wn,t),zt(cr,n)}function QE(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(xe(108,BR(e)||"Unknown",o));return Xt({},n,r)}function Ff(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ji,Aa=Wn.current,zt(Wn,e),zt(cr,cr.current),!0}function FS(e,t,n){var r=e.stateNode;if(!r)throw Error(xe(169));n?(e=QE(e,t,Aa),r.__reactInternalMemoizedMergedChildContext=e,Vt(cr),Vt(Wn),zt(Wn,e)):Vt(cr),zt(cr,n)}var Wo=null,Vp=!1,Qm=!1;function ZE(e){Wo===null?Wo=[e]:Wo.push(e)}function rI(e){Vp=!0,ZE(e)}function Zi(){if(!Qm&&Wo!==null){Qm=!0;var e=0,t=It;try{var n=Wo;for(It=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Wo=null,Vp=!1}catch(o){throw Wo!==null&&(Wo=Wo.slice(e+1)),wE($1,Zi),o}finally{It=t,Qm=!1}}return null}var Os=[],Ms=0,Lf=null,zf=0,zr=[],Br=0,_a=null,Ko=1,Go="";function da(e,t){Os[Ms++]=zf,Os[Ms++]=Lf,Lf=e,zf=t}function JE(e,t,n){zr[Br++]=Ko,zr[Br++]=Go,zr[Br++]=_a,_a=e;var r=Ko;e=Go;var o=32-uo(r)-1;r&=~(1<<o),n+=1;var i=32-uo(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Ko=1<<32-uo(t)+o|n<<o|r,Go=i+e}else Ko=1<<i|n<<o|r,Go=e}function A1(e){e.return!==null&&(da(e,1),JE(e,1,0))}function _1(e){for(;e===Lf;)Lf=Os[--Ms],Os[Ms]=null,zf=Os[--Ms],Os[Ms]=null;for(;e===_a;)_a=zr[--Br],zr[Br]=null,Go=zr[--Br],zr[Br]=null,Ko=zr[--Br],zr[Br]=null}var $r=null,Cr=null,Ut=!1,lo=null;function e6(e,t){var n=jr(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function LS(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,$r=e,Cr=Ii(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,$r=e,Cr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=_a!==null?{id:Ko,overflow:Go}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=jr(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,$r=e,Cr=null,!0):!1;default:return!1}}function s0(e){return(e.mode&1)!==0&&(e.flags&128)===0}function l0(e){if(Ut){var t=Cr;if(t){var n=t;if(!LS(e,t)){if(s0(e))throw Error(xe(418));t=Ii(n.nextSibling);var r=$r;t&&LS(e,t)?e6(r,n):(e.flags=e.flags&-4097|2,Ut=!1,$r=e)}}else{if(s0(e))throw Error(xe(418));e.flags=e.flags&-4097|2,Ut=!1,$r=e}}}function zS(e){
Line truncated
|
||||
Error generating stack: `+i.message+`
|
||||
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function nh(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function f0(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var fI=typeof WeakMap=="function"?WeakMap:Map;function P6(e,t,n){n=qo(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Kf||(Kf=!0,C0=r),f0(e,t)},n}function T6(e,t,n){n=qo(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){f0(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){f0(e,t),typeof r!="function"&&(_i===null?_i=new Set([this]):_i.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function KS(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new fI;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=OI.bind(null,e,t,n),t.then(e,e))}function GS(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function qS(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=qo(-1,1),t.tag=2,Ai(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var pI=ii.ReactCurrentOwner,lr=!1;function qn(e,t,n,r){t.child=e===null?s6(t,null,n,r):Js(t,e.child,n,r)}function XS(e,t,n,r,o){n=n.render;var i=t.ref;return Vs(t,o),r=U1(e,t,n,r,i,o),n=Y1(),e!==null&&!lr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ei(e,t,o)):(Ut&&n&&A1(t),t.flags|=1,qn(e,t,r,o),t.child)}function QS(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!nb(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,R6(e,t,i,r,o)):(e=sf(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:jc,n(a,r)&&e.ref===t.ref)return ei(e,t,o)}return t.flags|=1,e=ki(i,r),e.ref=t.ref,e.return=t,t.child=e}function R6(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(jc(i,r)&&e.ref===t.ref)if(lr=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(lr=!0);else return t.lanes=e.lanes,ei(e,t,o)}return p0(e,t,n,r,o)}function N6(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},zt(Rs,Sr),Sr|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,zt(Rs,Sr),Sr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,zt(Rs,Sr),Sr|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,zt(Rs,Sr),Sr|=r;return qn(e,t,o,n),t.child}function I6(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function p0(e,t,n,r,o){var i=ur(n)?Aa:Wn.current;return i=Qs(t,i),Vs(t,o),n=U1(e,t,n,r,i,o),r=Y1(),e!==null&&!lr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ei(e,t,o)):(Ut&&r&&A1(t),t.flags|=1,qn(e,t,n,o),t.child)}function ZS(e,t,n,r,o){if(ur(n)){var i=!0;Ff(t)}else i=!1;if(Vs(t,o),t.stateNode===null)rf(e,t),i6(t,n,r),d0(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=Yr(c):(c=ur(n)?Aa:Wn.current,c=Qs(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==c)&&VS(t,a,r,c),xi=!1;var f=t.memoizedState;a.state=f,Hf(t,r,a,o),l=t.memoizedState,s!==r||f!==l||cr.current||xi?(typeof u=="function"&&(u0(t,n,u,r),l=t.memoizedState),(s=xi||HS(t,n,s,r,f,l,c))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,r6(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:ro(t.type,s),a.props=c,d=t.pendingProps,f=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=Yr(l):(l=ur(n)?Aa:Wn.current,l=Qs(t,l));var m=n.getDerivedStateFromProps;(u=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==d||f!==l)&&VS(t,a,r,l),xi=!1,f=t.memoizedState,a.sta
Line truncated
|
||||
* Adapted from jQuery UI core
|
||||
*
|
||||
* http://jqueryui.com
|
||||
*
|
||||
* Copyright 2014 jQuery Foundation and other contributors
|
||||
* Released under the MIT license.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://api.jqueryui.com/category/ui-core/
|
||||
*/var n="none",r="contents",o=/input|select|textarea|button|object|iframe/;function i(d,f){return f.getPropertyValue("overflow")!=="visible"||d.scrollWidth<=0&&d.scrollHeight<=0}function a(d){var f=d.offsetWidth<=0&&d.offsetHeight<=0;if(f&&!d.innerHTML)return!0;try{var m=window.getComputedStyle(d),h=m.getPropertyValue("display");return f?h!==r&&i(d,m):h===n}catch{return console.warn("Failed to inspect element style"),!1}}function s(d){for(var f=d,m=d.getRootNode&&d.getRootNode();f&&f!==document.body;){if(m&&f===m&&(f=m.host.parentNode),a(f))return!1;f=f.parentNode}return!0}function l(d,f){var m=d.nodeName.toLowerCase(),h=o.test(m)&&!d.disabled||m==="a"&&d.href||f;return h&&s(d)}function c(d){var f=d.getAttribute("tabindex");f===null&&(f=void 0);var m=isNaN(f);return(m||f>=0)&&l(d,!m)}function u(d){var f=[].slice.call(d.querySelectorAll("*"),0).reduce(function(m,h){return m.concat(h.shadowRoot?u(h.shadowRoot):[h])},[]);return f.filter(c)}e.exports=t.default})(Zf,Zf.exports);Object.defineProperty(xo,"__esModule",{value:!0});xo.resetState=UI;xo.log=YI;xo.handleBlur=Qc;xo.handleFocus=Zc;xo.markForFocusLater=KI;xo.returnFocus=GI;xo.popWithoutFocus=qI;xo.setupScopedFocus=XI;xo.teardownScopedFocus=QI;var HI=Zf.exports,VI=WI(HI);function WI(e){return e&&e.__esModule?e:{default:e}}var rl=[],Ns=null,P0=!1;function UI(){rl=[]}function YI(){}function Qc(){P0=!0}function Zc(){if(P0){if(P0=!1,!Ns)return;setTimeout(function(){if(!Ns.contains(document.activeElement)){var e=(0,VI.default)(Ns)[0]||Ns;e.focus()}},0)}}function KI(){rl.push(document.activeElement)}function GI(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{rl.length!==0&&(t=rl.pop(),t.focus({preventScroll:e}));return}catch{console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}}function qI(){rl.length>0&&rl.pop()}function XI(e){Ns=e,window.addEventListener?(window.addEventListener("blur",Qc,!1),document.addEventListener("focus",Zc,!0)):(window.attachEvent("onBlur",Qc),document.attachEvent("onFocus",Zc))}function QI(){Ns=null,window.addEventListener?(window.removeEventListener("blur",Qc),document.removeEventListener("focus",Zc)):(window.detachEvent("onBlur",Qc),document.detachEvent("onFocus",Zc))}var T0={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=Zf.exports,r=o(n);function o(s){return s&&s.__esModule?s:{default:s}}function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return s.activeElement.shadowRoot?i(s.activeElement.shadowRoot):s.activeElement}function a(s,l){var c=(0,r.default)(s);if(!c.length){l.preventDefault();return}var u=void 0,d=l.shiftKey,f=c[0],m=c[c.length-1],h=i();if(s===h){if(!d)return;u=m}if(m===h&&!d&&(u=f),f===h&&d&&(u=m),u){l.preventDefault(),u.focus();return}var v=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),b=v!=null&&v[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(!!b){var y=c.indexOf(h);if(y>-1&&(y+=d?-1:1),u=c[y],typeof u>"u"){l.preventDefault(),u=d?m:f,u.focus();return}l.preventDefault(),u.focus()}}e.exports=t.default})(T0,T0.exports);var So={},ZI=function(){},JI=ZI,po={},o3={exports:{}};/*!
|
||||
Copyright (c) 2015 Jed Watson.
|
||||
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
||||
All rights reserved.
|
||||
*/(function(e){(function(){var t=!!(typeof window<"u"&&window.document&&window.document.createElement),n={canUseDOM:t,canUseWorkers:typeof Worker<"u",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n})()})(o3);Object.defineProperty(po,"__esModule",{value:!0});po.canUseDOM=po.SafeNodeList=po.SafeHTMLCollection=void 0;var eA=o3.exports,tA=nA(eA);function nA(e){return e&&e.__esModule?e:{default:e}}var Jp=tA.default,rA=Jp.canUseDOM?window.HTMLElement:{};po.SafeHTMLCollection=Jp.canUseDOM?window.HTMLCollection:{};po.SafeNodeList=Jp.canUseDOM?window.NodeList:{};po.canUseDOM=Jp.canUseDOM;po.default=rA;Object.defineProperty(So,"__esModule",{value:!0});So.resetState=lA;So.log=cA;So.assertNodeList=i3;So.setElement=uA;So.validateElement=sb;So.hide=dA;So.show=fA;So.documentNotReadyOrSSRTesting=pA;var oA=JI,iA=sA(oA),aA=po;function sA(e){return e&&e.__esModule?e:{default:e}}var Lr=null;function lA(){Lr&&(Lr.removeAttribute?Lr.removeAttribute("aria-hidden"):Lr.length!=null?Lr.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(Lr).forEach(function(e){return e.removeAttribute("aria-hidden")})),Lr=null}function cA(){}function i3(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function uA(e){var t=e;if(typeof t=="string"&&aA.canUseDOM){var n=document.querySelectorAll(t);i3(n,t),t=n}return Lr=t||Lr,Lr}function sb(e){var t=e||Lr;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,iA.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function dA(e){var t=!0,n=!1,r=void 0;try{for(var o=sb(e)[Symbol.iterator](),i;!(t=(i=o.next()).done);t=!0){var a=i.value;a.setAttribute("aria-hidden","true")}}catch(s){n=!0,r=s}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function fA(e){var t=!0,n=!1,r=void 0;try{for(var o=sb(e)[Symbol.iterator](),i;!(t=(i=o.next()).done);t=!0){var a=i.value;a.removeAttribute("aria-hidden")}}catch(s){n=!0,r=s}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function pA(){Lr=null}var gl={};Object.defineProperty(gl,"__esModule",{value:!0});gl.resetState=vA;gl.log=mA;var Cc={},wc={};function fC(e,t){e.classList.remove(t)}function vA(){var e=document.getElementsByTagName("html")[0];for(var t in Cc)fC(e,Cc[t]);var n=document.body;for(var r in wc)fC(n,wc[r]);Cc={},wc={}}function mA(){}var hA=function(t,n){return t[n]||(t[n]=0),t[n]+=1,n},gA=function(t,n){return t[n]&&(t[n]-=1),n},yA=function(t,n,r){r.forEach(function(o){hA(n,o),t.add(o)})},bA=function(t,n,r){r.forEach(function(o){gA(n,o),n[o]===0&&t.remove(o)})};gl.add=function(t,n){return yA(t.classList,t.nodeName.toLowerCase()=="html"?Cc:wc,n.split(" "))};gl.remove=function(t,n){return bA(t.classList,t.nodeName.toLowerCase()=="html"?Cc:wc,n.split(" "))};var yl={};Object.defineProperty(yl,"__esModule",{value:!0});yl.log=SA;yl.resetState=CA;function xA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a3=function e(){var t=this;xA(this,e),this.register=function(n){t.openInstances.indexOf(n)===-1&&(t.openInstances.push(n),t.emit("register"))},this.deregister=function(n){var r=t.openInstances.indexOf(n);r!==-1&&(t.openInstances.splice(r,1),t.emit("deregister"))},this.subscribe=function(n){t.subscribers.push(n)},this.emit=function(n){t.subscribers.forEach(function(r){return r(n,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},Jf=new a3;function SA(){console.log("portalOpenInstances ----------"),console.log(Jf.openInstances.length),Jf.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function CA(){Jf=new a3}yl.default=Jf;var lb={};Object.defineProperty(lb,"__esModule",{value:!0});lb.resetState=OA;lb.log=MA;var wA=yl,$A=EA(wA);function EA(e){return e&&e.__esModule?e:{default:e}}var Fn=void 0,oo=void 0,Pa=[];function OA(){for(var e=[Fn,oo],t=0;t<e.length;t++){var n=e[t];!n||n.parentNode&&n.parentNode.removeChild(n)}Fn=oo=null,Pa=[]}function MA(){console.log("bodyTrap ----------"),console.log(Pa.length);for(var e=[Fn,oo],t=0;t<e.length;t++){var n=e[t],r=n||{};console.log(r.nodeName,r.className,r.id)}console.log("edn bodyTrap ----------")}function pC(){Pa.length!==0&&Pa[Pa.length-1].focusContent()}function PA(e,t){!Fn&&!oo&&(Fn=document.createElement("div"),Fn.setAttribute("data-react-modal-body-trap",""),Fn.style.position="absolute",Fn.style.opacity="0",Fn.setAttribute("tabindex","0"),Fn.addEventListener("focus",pC),oo=Fn.cloneNode(),oo.addEventListener("focus",pC)),Pa=t,Pa.length>0?(document.body.firstChild!==Fn&&document.body.insertBefore(Fn,document.body.firstChilLine truncated
|
||||
|
||||
`+i+" uses "+a+" but also contains the following legacy lifecycles:"+(n!==null?`
|
||||
`+n:"")+(r!==null?`
|
||||
`+r:"")+(o!==null?`
|
||||
`+o:"")+`
|
||||
|
||||
The above lifecycles should be removed. Learn more about this warning here:
|
||||
https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=s3,t.componentWillReceiveProps=l3),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=c3;var s=t.componentDidUpdate;t.componentDidUpdate=function(c,u,d){var f=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:d;s.call(this,c,u,f)}}return e}const RA=Object.freeze(Object.defineProperty({__proto__:null,polyfill:TA},Symbol.toStringTag,{value:"Module"})),NA=bR(RA);Object.defineProperty(La,"__esModule",{value:!0});La.bodyOpenClassName=La.portalClassName=void 0;var vC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IA=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u3=p.exports,ep=wu(u3),AA=pr.exports,tp=wu(AA),_A=Pe.exports,st=wu(_A),DA=M0.exports,mC=wu(DA),kA=So,FA=zA(kA),Ei=po,hC=wu(Ei),LA=NA;function zA(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function wu(e){return e&&e.__esModule?e:{default:e}}function BA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gC(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function jA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var HA=La.portalClassName="ReactModalPortal",VA=La.bodyOpenClassName="ReactModal__Body--open",pa=Ei.canUseDOM&&tp.default.createPortal!==void 0,yC=function(t){return document.createElement(t)},bC=function(){return pa?tp.default.createPortal:tp.default.unstable_renderSubtreeIntoContainer};function yd(e){return e()}var $u=function(e){jA(t,e);function t(){var n,r,o,i;BA(this,t);for(var a=arguments.length,s=Array(a),l=0;l<a;l++)s[l]=arguments[l];return i=(r=(o=gC(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(s))),o),o.removePortal=function(){!pa&&tp.default.unmountComponentAtNode(o.node);var c=yd(o.props.parentSelector);c&&c.contains(o.node)?c.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(c){o.portal=c},o.renderPortal=function(c){var u=bC(),d=u(o,ep.default.createElement(mC.default,vC({defaultStyles:t.defaultStyles},c)),o.node);o.portalRef(d)},r),gC(o,i)}return IA(t,[{key:"componentDidMount",value:function(){if(!!Ei.canUseDOM){pa||(this.node=yC("div")),this.node.className=this.props.portalClassName;var r=yd(this.props.parentSelector);r.appendChild(this.node),!pa&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(r){var o=yd(r.parentSelector),i=yd(this.props.parentSelector);return{prevParent:o,nextParent:i}}},{key:"componentDidUpdate",value:function(r,o,i){if(!!Ei.canUseDOM){var a=this.props,s=a.isOpen,l=a.portalClassName;r.portalClassName!==l&&(this.node.className=l);var c=i.prevParent,u=i.nextParent;u!==c&&(c.removeChild(this.node),u.appendChild(this.node)),!(!r.isOpen&&!s)&&!pa&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!Ei.canUseDOM||!this.node||!this.portal)){var r=this.portal.state,o=Date.now(),i=r.isOpen&&this.props.closeTimeoutMS&&(r.closesAt||o+this.props.closeTimeoutMS);i?(r.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,i-o)):this.removePortal()}}},{key:"render",value:function(){if(!Ei.canUseDOM||!pa)return null;!this.node&&pa&&(this.node=yC("div"));var r=bC();return r(ep.default.createElement(mC.default,vC({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(r){FA.setElement(r)}}]),t}(u3.Component);$u.propTypes={isOpen:st.default.bool.isRequired,style:st.default.shape({content:st.default.object,overlay:st.default.object}),portalClassName:st.default.string,bodyOpenClassName:st.default.string,htmlOpenClassName:st.default.string,className:st.default.oneOfType([st.default.string,st.default.shape({base:st.default.string.isRequired,afterOpen:st.default.string.isRequired,beforeClose:st.default.string.isRequired})]),overlayClassName:st.default.oneOfType([st.default.string,st.default.shape({bas
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ee(e,t){return d3(e)||UA(e,t)||ub(e,t)||f3()}function tt(e){return tt=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},tt(e)}function YA(e,t){if(tt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(tt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function p3(e){var t=YA(e,"string");return tt(t)=="symbol"?t:String(t)}function U(e,t,n){return t=p3(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KA(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function rt(e,t){if(e==null)return{};var n=KA(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}var v3={exports:{}};/*!
|
||||
Copyright (c) 2018 Jed Watson.
|
||||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,r(s)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var s in i)t.call(i,s)&&i[s]&&(a=o(a,s));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(v3);const oe=v3.exports;function An(e,t){GA(e)&&(e="100%");var n=qA(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(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 bd(e){return Math.min(1,Math.max(0,e))}function GA(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function qA(e){return typeof e=="string"&&e.indexOf("%")!==-1}function m3(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function xd(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Sa(e){return e.length===1?"0"+e:String(e)}function XA(e,t,n){return{r:An(e,255)*255,g:An(t,255)*255,b:An(n,255)*255}}function xC(e,t,n){e=An(e,255),t=An(t,255),n=An(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=0,s=(r+o)/2;if(r===o)a=0,i=0;else{var l=r-o;switch(a=s>.5?l/(2-r-o):l/(r+o),r){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4;break}i/=6}return{h:i,s:a,l:s}}function ah(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function QA(e,t,n){var r,o,i;if(e=An(e,360),t=An(t,100),n=An(n,100),t===0)o=n,i=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=ah(s,a,e+1/3),o=ah(s,a,e),i=ah(s,a,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function N0(e,t,n){e=An(e,255),t=An(t,255),n=An(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=r,s=r-o,l=r===0?0:s/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4;break}i/=6}return{h:i,s:l,v:a}}function ZA(e,t,n){e=An(e,360)*6,t=An(t,100),n=An(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),l=r%6,c=[n,a,i,i,s,n][l],u=[s,n,n,a,i,i][l],d=[i,i,s,n,n,a][l];return{r:c*255,g:u*255,b:d*255}}function I0(e,t,n,r){var o=[Sa(Math.round(e).toString(16)),Sa(Math.round(t).toString(16)),Sa(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function JA(e,t,n,r,o){var i=[Sa(Math.round(e).toString(16)),Sa(Math.round(t).toString(16)),Sa(Math.round(n).toString(16)),Sa(e_(r))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function e_(e){return Math.round(parseFloat(e)*255).toString(16)}function SC(e){return xr(e)/255}function xr(e){return parseInt(e,16)}function t_(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var A0={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",mediumpurpleLine truncated
|
||||
.anticon {
|
||||
display: inline-block;
|
||||
color: inherit;
|
||||
font-style: normal;
|
||||
line-height: 0;
|
||||
text-align: center;
|
||||
text-transform: none;
|
||||
vertical-align: -0.125em;
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.anticon > * {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.anticon svg {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.anticon::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.anticon .anticon-icon {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.anticon[tabindex] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.anticon-spin::before,
|
||||
.anticon-spin {
|
||||
display: inline-block;
|
||||
-webkit-animation: loadingCircle 1s infinite linear;
|
||||
animation: loadingCircle 1s infinite linear;
|
||||
}
|
||||
|
||||
@-webkit-keyframes loadingCircle {
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes loadingCircle {
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
`,C_=function(t){var n=p.exports.useContext(cb),r=n.csp,o=n.prefixCls,i=S_;o&&(i=i.replace(/anticon/g,o)),p.exports.useEffect(function(){var a=t.current,s=np(a);Hi(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:s})},[])},w_=["icon","className","onClick","style","primaryColor","secondaryColor"],$c={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function $_(e){var t=e.primaryColor,n=e.secondaryColor;$c.primaryColor=t,$c.secondaryColor=n||$3(t),$c.calculated=!!n}function E_(){return Q({},$c)}var tv=function(t){var n=t.icon,r=t.className,o=t.onClick,i=t.style,a=t.primaryColor,s=t.secondaryColor,l=rt(t,w_),c=p.exports.useRef(),u=$c;if(a&&(u={primaryColor:a,secondaryColor:s||$3(a)}),C_(c),x_(RC(n),"icon should be icon definiton, but got ".concat(n)),!RC(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=Q(Q({},d),{},{icon:d.icon(u.primaryColor,u.secondaryColor)})),F0(d.icon,"svg-".concat(d.name),Q(Q({className:r,onClick:o,style:i,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:c}))};tv.displayName="IconReact";tv.getTwoToneColors=E_;tv.setTwoToneColors=$_;const fb=tv;function O3(e){var t=E3(e),n=ee(t,2),r=n[0],o=n[1];return fb.setTwoToneColors({primaryColor:r,secondaryColor:o})}function O_(){var e=fb.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var nv={exports:{}},rv={};/**
|
||||
* @license React
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var M_=p.exports,P_=Symbol.for("react.element"),T_=Symbol.for("react.fragment"),R_=Object.prototype.hasOwnProperty,N_=M_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,I_={key:!0,ref:!0,__self:!0,__source:!0};function M3(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)R_.call(t,r)&&!I_.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:P_,type:e,key:i,ref:a,props:o,_owner:N_.current}}rv.Fragment=T_;rv.jsx=M3;rv.jsxs=M3;(function(e){e.exports=rv})(nv);const At=nv.exports.Fragment,g=nv.exports.jsx,Z=nv.exports.jsxs;var A_=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];O3(u_.primary);var ov=p.exports.forwardRef(function(e,t){var n=e.className,r=e.icon,o=e.spin,i=e.rotate,a=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=rt(e,A_),u=p.exports.useContext(cb),d=u.prefixCls,f=d===void 0?"anticon":d,m=u.rootClassName,h=oe(m,f,U(U({},"".concat(f,"-").concat(r.name),!!r.name),"".concat(f,"-spin"),!!o||r.name==="loading"),n),v=a;v===void 0&&s&&(v=-1);var b=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,y=E3(l),x=ee(y,2),S=x[0],C=x[1];return g("span",{role:"img","aria-label":r.name,...c,ref:t,tabIndex:v,onClick:s,className:h,children:g(fb,{icon:r,primaryColor:S,secondaryColor:C,style:b})})});ov.displayName="AntdIcon";ov.getTwoToneColor=O_;ov.setTwoToneColor=O3;const et=ov;var __={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};const D_=__;var k_=function(t,n){return g(et,{...t,ref:n,icon:D_})};const F_=p.exports.forwardRef(k_);var L_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};const z_=L_;var B_=function(t,n){return g(et,{...t,ref:n,icon:z_})};const P3=p.exports.forwardRef(B_);var j_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};const H_=j_;var V_=function(t,n){return g(et,{...t,ref:n,icon:H_})};const W_=p.exports.forwardRef(V_);var U_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z"}}]},name:"audio",theme:"outlined"};const Y_=U_;var K_=function(t,n){return g(et,{...t,ref:n,icon:Y_})};const G_=p.exports.forwardRef(K_);var q_={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M235.52 616.57c16.73-.74 32.28-1.77 47.69-2.07 66.8-1.18 132.4 6.81 194.76 32 30.5 12.3 59.98 26.52 86.5 46.51 21.76 16.45 26.5 36.9 16.58 67.11-6.22 18.67-18.66 32.74-34.36 45.04-37.03 28.88-75.83 54.96-120.41 69.62A595.87 595.87 0 01330 898.04c-42.8 6.67-86.2 9.63-129.45 13.63-8.88.89-17.92-.3-26.8-.3-4.6 0-5.78-2.37-5.93-6.37-1.18-19.7-2.07-39.55-3.85-59.25a2609.47 2609.47 0 00-7.7-76.3c-4-35.4-8.44-70.66-12.89-105.92-4.59-37.18-9.33-74.21-13.77-111.4-4.44-36.3-8.44-72.73-13.18-109.03-5.34-41.48-11.26-82.96-16.89-124.44-6.66-49.03-15.85-97.62-28.43-145.47-.6-2.07 1.18-6.67 2.96-7.26 41.91-16.89 83.98-33.33 125.89-50.07 13.92-5.63 15.1-7.26 15.25 10.37.15 75.1.45 150.21 1.63 225.32.6 39.11 2.08 78.22 4.74 117.18 3.26 47.55 8.3 95.1 12.6 142.66 0 2.07.88 4 1.33 5.19m83.68 218.06a74372.3 74372.3 0 00114.78-86.96c-4.74-6.82-109.3-47.85-133.89-53.33 6.22 46.37 12.59 92.59 19.1 140.29m434.13-14.39c-19.94-202.14-3Line truncated
|
||||
* @license React
|
||||
* react-is.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var hb=Symbol.for("react.element"),gb=Symbol.for("react.portal"),cv=Symbol.for("react.fragment"),uv=Symbol.for("react.strict_mode"),dv=Symbol.for("react.profiler"),fv=Symbol.for("react.provider"),pv=Symbol.for("react.context"),iF=Symbol.for("react.server_context"),vv=Symbol.for("react.forward_ref"),mv=Symbol.for("react.suspense"),hv=Symbol.for("react.suspense_list"),gv=Symbol.for("react.memo"),yv=Symbol.for("react.lazy"),aF=Symbol.for("react.offscreen"),H3;H3=Symbol.for("react.module.reference");function qr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case hb:switch(e=e.type,e){case cv:case dv:case uv:case mv:case hv:return e;default:switch(e=e&&e.$$typeof,e){case iF:case pv:case vv:case yv:case gv:case fv:return e;default:return t}}case gb:return t}}}_t.ContextConsumer=pv;_t.ContextProvider=fv;_t.Element=hb;_t.ForwardRef=vv;_t.Fragment=cv;_t.Lazy=yv;_t.Memo=gv;_t.Portal=gb;_t.Profiler=dv;_t.StrictMode=uv;_t.Suspense=mv;_t.SuspenseList=hv;_t.isAsyncMode=function(){return!1};_t.isConcurrentMode=function(){return!1};_t.isContextConsumer=function(e){return qr(e)===pv};_t.isContextProvider=function(e){return qr(e)===fv};_t.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===hb};_t.isForwardRef=function(e){return qr(e)===vv};_t.isFragment=function(e){return qr(e)===cv};_t.isLazy=function(e){return qr(e)===yv};_t.isMemo=function(e){return qr(e)===gv};_t.isPortal=function(e){return qr(e)===gb};_t.isProfiler=function(e){return qr(e)===dv};_t.isStrictMode=function(e){return qr(e)===uv};_t.isSuspense=function(e){return qr(e)===mv};_t.isSuspenseList=function(e){return qr(e)===hv};_t.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===cv||e===dv||e===uv||e===mv||e===hv||e===aF||typeof e=="object"&&e!==null&&(e.$$typeof===yv||e.$$typeof===gv||e.$$typeof===fv||e.$$typeof===pv||e.$$typeof===vv||e.$$typeof===H3||e.getModuleId!==void 0)};_t.typeOf=qr;(function(e){e.exports=_t})(Ec);function Eu(e,t,n){var r=p.exports.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}function yb(e,t){typeof e=="function"?e(t):tt(e)==="object"&&e&&"current"in e&&(e.current=t)}function Xr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(function(o){return o});return r.length<=1?r[0]:function(o){t.forEach(function(i){yb(i,o)})}}function Wa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Eu(function(){return Xr.apply(void 0,t)},t,function(r,o){return r.length!==o.length||r.every(function(i,a){return i!==o[a]})})}function Ua(e){var t,n,r=Ec.exports.isMemo(e)?e.type.type:e.type;return!(typeof r=="function"&&!((t=r.prototype)!==null&&t!==void 0&&t.render)&&r.$$typeof!==Ec.exports.ForwardRef||typeof e=="function"&&!((n=e.prototype)!==null&&n!==void 0&&n.render)&&e.$$typeof!==Ec.exports.ForwardRef)}function Vi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return we.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(Vi(r)):Ec.exports.isFragment(r)&&r.props?n=n.concat(Vi(r.props.children,t)):n.push(r))}),n}function rp(e){return e instanceof HTMLElement||e instanceof SVGElement}function Oc(e){return rp(e)?e:e instanceof we.Component?Qf.findDOMNode(e):null}var L0=p.exports.createContext(null);function sF(e){var t=e.children,n=e.onBatchResize,r=p.exports.useRef(0),o=p.exports.useRef([]),i=p.exports.useContext(L0),a=p.exports.useCallback(function(s,l,c){r.current+=1;var u=r.current;o.current.push({size:s,element:l,data:c}),Promise.resolve().then(function(){u===r.current&&(n==null||n(o.current),o.current=[])}),i==null||i(s,l,c)},[n,i]);return g(L0.Provider,{value:a,children:t})}var V3=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,i){return o[0]===n?(r=i,!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(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,i=this.__entries__;o<i.length;o++){var a=i[o];n.call(r,a[1],a[0])}},t}()}(),z0=typeof window<"u"&&typeof document<"u"&&window.document===document,op=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")()}(),lF=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(op):function(e){return sLine truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Te(e){return AF(e)||X3(e)||ub(e)||_F()}var Q3=function(t){return+setTimeout(t,16)},Z3=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(Q3=function(t){return window.requestAnimationFrame(t)},Z3=function(t){return window.cancelAnimationFrame(t)});var DC=0,bb=new Map;function J3(e){bb.delete(e)}var Et=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;DC+=1;var r=DC;function o(i){if(i===0)J3(r),t();else{var a=Q3(function(){o(i-1)});bb.set(r,a)}}return o(n),r};Et.cancel=function(e){var t=bb.get(e);return J3(e),Z3(t)};function sp(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){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 Mu(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(i,a){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(i);if(Vn(!l,"Warning: There may be circular references"),l)return!1;if(i===a)return!0;if(n&&s>1)return!1;r.add(i);var c=s+1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(var u=0;u<i.length;u++)if(!o(i[u],a[u],c))return!1;return!0}if(i&&a&&tt(i)==="object"&&tt(a)==="object"){var d=Object.keys(i);return d.length!==Object.keys(a).length?!1:d.every(function(f){return o(i[f],a[f],c)})}return!1}return o(e,t)}var DF="%";function B0(e){return e.join(DF)}var kF=function(){function e(t){Tt(this,e),U(this,"instanceId",void 0),U(this,"cache",new Map),this.instanceId=t}return Rt(e,[{key:"get",value:function(n){return this.opGet(B0(n))}},{key:"opGet",value:function(n){return this.cache.get(n)||null}},{key:"update",value:function(n,r){return this.opUpdate(B0(n),r)}},{key:"opUpdate",value:function(n,r){var o=this.cache.get(n),i=r(o);i===null?this.cache.delete(n):this.cache.set(n,i)}}]),e}(),il="data-token-hash",vo="data-css-hash",Pi="__cssinjs_instance__";function FF(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(vo,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(o){o[Pi]=o[Pi]||e,o[Pi]===e&&document.head.insertBefore(o,n)});var r={};Array.from(document.querySelectorAll("style[".concat(vo,"]"))).forEach(function(o){var i=o.getAttribute(vo);if(r[i]){if(o[Pi]===e){var a;(a=o.parentNode)===null||a===void 0||a.removeChild(o)}}else r[i]=!0})}return new kF(e)}var LF=p.exports.createContext({hashPriority:"low",cache:FF(),defaultCache:!0});const Sv=LF;function zF(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var xb=function(){function e(){Tt(this,e),U(this,"cache",void 0),U(this,"keys",void 0),U(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return Rt(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(n){var r,o,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return n.forEach(function(s){if(!a)a=void 0;else{var l;a=(l=a)===null||l===void 0||(l=l.map)===null||l===void 0?void 0:l.get(s)}}),(r=a)!==null&&r!==void 0&&r.value&&i&&(a.value[1]=this.cacheCallTimes++),(o=a)===null||o===void 0?void 0:o.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var o=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(c,u){var d=ee(c,2),f=d[1];return o.internalGet(u)[1]<f?[u,o.internalGet(u)[1]]:c},[this.keys[0],this.cacheCallTimes]),a=ee(i,1),s=a[0];this.delete(s)}this.keys.push(n)}var l=this.cache;n.forEach(function(c,u){if(u===n.length-1)l.set(c,{value:[r,o.cacheCallTimes++]});else{var d=l.get(c);d?d.map||(d.map=new Map):l.set(c,{map:new Map}),l=l.get(c).map}})}},{key:"deleteByPath",value:function(n,r){var o=n.get(r[0]);if(r.length===1){var i;return o.map?n.set(r[0],{map:o.map}):n.delete(r[0]),(i=o.value)===null||i===void 0?void 0:i[0]}var a=this.deleteByPath(o.map,r.slice(1));return(!o.map||o.map.size===0)&&!o.value&&n.delete(r[0]),a}},{key:"delete",value:function(n){if(this.has(n))return this.keys=this.keys.filter(function(r){return!zF(r,n)}),this.deleteByPath(this.cache,n)}}]),e}();U(xb,"MAX_CACHE_SIZE",20);U(xb,"MAX_CACHE_OFFSET",5);var kC=0,eO=function(){function e(t){Tt(this,e),U(this,"derivatives",void 0),U(this,"id",void 0),this.derivatives=Array.i
Line truncated
|
||||
`);else if(C._keyframe)h(C);else{var $=d.reduce(function(E,w){var M;return(w==null||(M=w.visit)===null||M===void 0?void 0:M.call(w,E))||E},C);Object.keys($).forEach(function(E){var w=$[E];if(tt(w)==="object"&&w&&(E!=="animationName"||!w._keyframe)&&!N9(w)){var M=!1,T=E.trim(),N=!1;(o||i)&&s?T.startsWith("@")?M=!0:T=I9(E,s,c):o&&!s&&(T==="&"||T==="")&&(T="",N=!0);var R=e(w,n,{root:N,injectHash:M,parentSelectors:[].concat(Te(a),[T])}),F=ee(R,2),z=F[0],A=F[1];m=Q(Q({},m),A),f+="".concat(T).concat(z)}else{let O=function(L,I){var H=L.replace(/[A-Z]/g,function(B){return"-".concat(B.toLowerCase())}),D=I;!u9[L]&&typeof D=="number"&&D!==0&&(D="".concat(D,"px")),L==="animationName"&&I!==null&&I!==void 0&&I._keyframe&&(h(I),D=I.getName(s)),f+="".concat(H,":").concat(D,";")};var P=O,k,_=(k=w==null?void 0:w.value)!==null&&k!==void 0?k:w;tt(w)==="object"&&w!==null&&w!==void 0&&w[pO]&&Array.isArray(_)?_.forEach(function(L){O(E,L)}):O(E,_)}})}}),!o)f="{".concat(f,"}");else if(l&&VF()){var y=l.split(","),x=y[y.length-1].trim();f="@layer ".concat(x," {").concat(f,"}"),y.length>1&&(f="@layer ".concat(l,"{%%%:%}").concat(f))}return[f,m]};function vO(e,t){return sp("".concat(e.join("%")).concat(t))}function _9(){return null}var mO="style";function G0(e,t){var n=e.token,r=e.path,o=e.hashId,i=e.layer,a=e.nonce,s=e.clientOnly,l=e.order,c=l===void 0?0:l,u=p.exports.useContext(Sv),d=u.autoClear;u.mock;var f=u.defaultCache,m=u.hashPriority,h=u.container,v=u.ssrInline,b=u.transformers,y=u.linters,x=u.cache,S=n._tokenKey,C=[S].concat(Te(r)),$=H0,E=Sb(mO,C,function(){var R=C.join("|");if(P9(R)){var F=T9(R),z=ee(F,2),A=z[0],k=z[1];if(A)return[A,S,k,{},s,c]}var _=t(),P=A9(_,{hashId:o,hashPriority:m,layer:i,path:r.join("-"),transformers:b,linters:y}),O=ee(P,2),L=O[0],I=O[1],H=K0(L),D=vO(C,H);return[H,S,D,I,s,c]},function(R,F){var z=ee(R,3),A=z[2];(F||d)&&H0&&Jc(A,{mark:vo})},function(R){var F=ee(R,4),z=F[0];F[1];var A=F[2],k=F[3];if($&&z!==dO){var _={mark:vo,prepend:"queue",attachTo:h,priority:c},P=typeof a=="function"?a():a;P&&(_.csp={nonce:P});var O=Hi(z,A,_);O[Pi]=x.instanceId,O.setAttribute(il,S),Object.keys(k).forEach(function(L){Hi(K0(k[L]),"_effect-".concat(L),_)})}}),w=ee(E,3),M=w[0],T=w[1],N=w[2];return function(R){var F;if(!v||$||!f)F=g(_9,{});else{var z;F=g("style",{...(z={},U(z,il,T),U(z,vo,N),z),dangerouslySetInnerHTML:{__html:M}})}return Z(At,{children:[F,R]})}}var D9=function(t,n,r){var o=ee(t,6),i=o[0],a=o[1],s=o[2],l=o[3],c=o[4],u=o[5],d=r||{},f=d.plain;if(c)return null;var m=i,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return m=lp(i,a,s,h,f),l&&Object.keys(l).forEach(function(v){if(!n[v]){n[v]=!0;var b=K0(l[v]);m+=lp(b,a,"_effect-".concat(v),h,f)}}),[u,s,m]},hO="cssVar",k9=function(t,n){var r=t.key,o=t.prefix,i=t.unitless,a=t.ignore,s=t.token,l=t.scope,c=l===void 0?"":l,u=p.exports.useContext(Sv),d=u.cache.instanceId,f=u.container,m=s._tokenKey,h=[].concat(Te(t.path),[r,c,m]),v=Sb(hO,h,function(){var b=n(),y=rO(b,r,{prefix:o,unitless:i,ignore:a,scope:c}),x=ee(y,2),S=x[0],C=x[1],$=vO(h,C);return[S,C,$,r]},function(b){var y=ee(b,3),x=y[2];H0&&Jc(x,{mark:vo})},function(b){var y=ee(b,3),x=y[1],S=y[2];if(!!x){var C=Hi(x,S,{mark:vo,prepend:"queue",attachTo:f,priority:-999});C[Pi]=d,C.setAttribute(il,r)}});return v},F9=function(t,n,r){var o=ee(t,4),i=o[1],a=o[2],s=o[3],l=r||{},c=l.plain;if(!i)return null;var u=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},f=lp(i,s,a,d,c);return[u,a,f]},jl;jl={},U(jl,mO,D9),U(jl,oO,c9),U(jl,hO,F9);var Ot=function(){function e(t,n){Tt(this,e),U(this,"name",void 0),U(this,"style",void 0),U(this,"_keyframe",!0),this.name=t,this.style=n}return Rt(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Ja(e){return e.notSplit=!0,e}Ja(["borderTop","borderBottom"]),Ja(["borderTop"]),Ja(["borderBottom"]),Ja(["borderLeft","borderRight"]),Ja(["borderLeft"]),Ja(["borderRight"]);function gO(e){return d3(e)||X3(e)||ub(e)||f3()}function Io(e,t){for(var n=e,r=0;r<t.length;r+=1){if(n==null)return;n=n[t[r]]}return n}function yO(e,t,n,r){if(!t.length)return n;var o=gO(t),i=o[0],a=o.slice(1),s;return!e&&typeof i=="number"?s=[]:Array.isArray(e)?s=Te(e):s=Q({},e),r&&n===void 0&&a.length===1?delete s[i][a[0]]:s[i]=yO(s[i],a,n,r),s}function ao(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Io(e,t.slice(0,-1))?e:yO(e,t,n,r)}function L9(e){return tt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function WC(e){return Array.isArray(e)?[]:{}}var z9=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Is(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=WC(t[0]);return t.forEach(function(o){function i(a,s){var l=new Set(s),c=Io(o,a),u=Array.isArray(c);if(u||L9(c)){if(!l.has(c)){l.add(c);var d=Io(r,a);u?r=ao(r,a,[]):(!d||tt(d)!=="object")&&(r=ao(r,a,WC
Line truncated
|
||||
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||
'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}),ru=rL;function oL(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,d=n(l),f=n(o),m=n(i),h=n(a),v=n(s),b=r(c,u),y=e.colorLink||e.colorInfo,x=n(y);return Object.assign(Object.assign({},b),{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:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:v[1],colorInfoBgHover:v[2],colorInfoBorder:v[3],colorInfoBorderHover:v[4],colorInfoHover:v[4],colorInfo:v[6],colorInfoActive:v[7],colorInfoTextHover:v[8],colorInfoText:v[9],colorInfoTextActive:v[10],colorLinkHover:x[4],colorLink:x[6],colorLinkActive:x[7],colorBgMask:new Nt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const iL=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},aL=iL;function sL(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},aL(r))}const Ho=(e,t)=>new Nt(e).setAlpha(t).toRgbString(),Hl=(e,t)=>new Nt(e).darken(t).toHexString(),lL=e=>{const t=za(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]}},cL=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Ho(r,.88),colorTextSecondary:Ho(r,.65),colorTextTertiary:Ho(r,.45),colorTextQuaternary:Ho(r,.25),colorFill:Ho(r,.15),colorFillSecondary:Ho(r,.06),colorFillTertiary:Ho(r,.04),colorFillQuaternary:Ho(r,.02),colorBgLayout:Hl(n,4),colorBgContainer:Hl(n,0),colorBgElevated:Hl(n,0),colorBgSpotlight:Ho(r,.85),colorBgBlur:"transparent",colorBorder:Hl(n,15),colorBorderSecondary:Hl(n,6)}};function pf(e){return(e+8)/e}function uL(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,i=e*Math.pow(2.71828,o/5),a=r>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:pf(n)}))}const dL=e=>{const t=uL(e),n=t.map(u=>u.size),r=t.map(u=>u.lineHeight),o=n[1],i=n[0],a=n[2],s=r[1],l=r[0],c=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:c,lineHeightSM:l,fontHeight:Math.round(s*o),fontHeightLG:Math.round(c*a),fontHeightSM:Math.round(l*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},fL=dL;function pL(e){const t=Object.keys(CO).map(n=>{const r=za(e[n]);return new Array(10).fill(1).reduce((o,i,a)=>(o[`${n}-${a+1}`]=r[a],o[`${n}${a+1}`]=r[a],o),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),oL(e,{generateColorPalettes:lL,generateNeutralColorPalettes:cL})),fL(e.fontSize)),nL(e)),tL(e)),sL(e))}const wO=j0(pL),X0={token:ru,override:{override:ru},hashed:!0},$O=we.createContext(X0),EO="anticon",vL=(e,t)=>t||(e?`ant-${e}`:"ant"),lt=p.exports.createContext({getPrefixCls:vL,iconPrefixCls
Line truncated
|
||||
:root {
|
||||
${Object.keys(n).map(a=>`--${e}-${a}: ${n[a]};`).join(`
|
||||
`)}
|
||||
}
|
||||
`.trim()}function gL(e,t){const n=hL(e,t);Un()&&Hi(n,`${mL}-dynamic-theme`)}const Q0=p.exports.createContext(!1),yL=e=>{let{children:t,disabled:n}=e;const r=p.exports.useContext(Q0);return g(Q0.Provider,{value:n!=null?n:r,children:t})},xl=Q0,Z0=p.exports.createContext(void 0),bL=e=>{let{children:t,size:n}=e;const r=p.exports.useContext(Z0);return g(Z0.Provider,{value:n||r,children:t})},$v=Z0;function xL(){const e=p.exports.useContext(xl),t=p.exports.useContext($v);return{componentDisabled:e,componentSize:t}}const ou=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],SL="5.14.2";function mh(e){return e>=0&&e<=255}function $d(e,t){const{r:n,g:r,b:o,a:i}=new Nt(e).toRgb();if(i<1)return e;const{r:a,g:s,b:l}=new Nt(t).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((n-a*(1-c))/c),d=Math.round((r-s*(1-c))/c),f=Math.round((o-l*(1-c))/c);if(mh(u)&&mh(d)&&mh(f))return new Nt({r:u,g:d,b:f,a:Math.round(c*100)/100}).toRgbString()}return new Nt({r:n,g:r,b:o,a:1}).toRgbString()}var CL=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function OO(e){const{override:t}=e,n=CL(e,["override"]),r=Object.assign({},t);Object.keys(ru).forEach(f=>{delete r[f]});const o=Object.assign(Object.assign({},n),r),i=480,a=576,s=768,l=992,c=1200,u=1600;if(o.motion===!1){const f="0s";o.motionDurationFast=f,o.motionDurationMid=f,o.motionDurationSlow=f}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:$d(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:$d(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:$d(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:$d(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
|
||||
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
||||
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
||||
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
||||
`,boxShadowSecondary:`
|
||||
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
||||
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
||||
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
||||
`,boxShadowTertiary:`
|
||||
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
||||
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
||||
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
||||
`,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:l-1,screenLG:l,screenLGMin:l,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:`
|
||||
0 1px 2px -2px ${new Nt("rgba(0, 0, 0, 0.16)").toRgbString()},
|
||||
0 3px 6px 0 ${new Nt("rgba(0, 0, 0, 0.12)").toRgbString()},
|
||||
0 5px 12px 4px ${new Nt("rgba(0, 0, 0, 0.09)").toRgbString()}
|
||||
`,boxShadowDrawerRight:`
|
||||
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
||||
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
||||
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
||||
`,boxShadowDrawerLeft:`
|
||||
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
||||
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
||||
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
||||
`,boxShadowDrawerUp:`
|
||||
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
||||
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
||||
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
||||
`,boxShadowDrawerDown:`
|
||||
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
||||
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
||||
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
||||
`,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 YC=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const MO={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0},PO={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},wL={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},TO=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:o}=t,i=YC(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=OO(a),i&&Object.entries(i).forEach(s=>{let[l,c]=s;const{theme:u}=c,d=YC(c,["theme"]);let f=d;u&&(f=TO(Object.assign(Object.assign({},a),d),{override:d},u)),a[l]=f}),a};function vr(){const{token:e,hashed:t,theme:n,override:r,cssVar:o}=we.useContext($O),i=`${SL}-${t||""}`,a=n||wO,[s,l,c]=l9(a,[ru,e],{salt:i,override:r,getComputedToken:TO,formatToken:OO,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:MO,ignore:PO,preserve:wL}});return[a,c,t?l:"",s,o]}function Rn(e){var t=p.exports.useRef();t.current=e;var n=p.exports.useCallback(function(){for(var r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(i))},[]);return n}function Ys(e){var t=p.exports.useRef(!1),n=p.exports.useState(e),r=ee(n,2),o=r[0],i=r[1];p.exports.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function a(s,l){l&&t.current||i(s)}return[o,a]}function hh(e){return e!==void 0}function Yt(e,t){var n=t||{},r=n.defaultValue,o=n.value,i=n.onChange,a=n.postState,s=Ys(function(){return hh(o)?o:hh(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),l=ee(s,2),c=l[0],u=l[1],d=o!==void 0?o:c,f=a?a(d):d,m=Rn(i),h=Ys([d]),v=ee(h,2),b=v[0],y=v[1];V0(function(){var S=b[0];c!==S&&m(c,S)},[b]),V0(function(){hh(o)||u(o)},[o]);var x=Rn(function(S,C){u(S,C),y([d],C)});return[f,x]}const Ui={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},on=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}},Eb=()=>({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"}}),Pu=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),$L=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"}}}),EL=(e,t,n)=>{const{fontFamily:r,fontSize:o}=e,i=`[class^="${t}"], [class*=" ${t}"]`;return{[n?`.${n}`:i]:{fontFamily:r,fontSize:o,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[i]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Ob=e=>({outline:`${ne(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Ev=e=>({"&:focus-visible":Object.assign({},Ob(e))});let OL=Rt(function e(){Tt(this,e)});const RO=OL;function ML(e,t,n){return t=On(t),Ji(e,xv()?Reflect.construct(t,n||[],On(e).constructor):t.apply(e,n))}let PL=function(e){Qr(t,e);function t(n){var r;return Tt(this,t),r=ML(this,t),r.result=0,n instanceof t?r.result=n.result:typeof n=="number"&&(r.result=n),r}return Rt(t,[{key:"add",value:function(r){return r instanceof t?this.result+=r.result:typeof r=="number"&&(this.result+=r),this}},{key:"sub",value:function(r){return r instanceof t?this.result-=r.result:typeof r=="number"&&(this.result-=r),this}},{key:"mul",value:function(r){return r instanceof t?this.result*=r.result:typeof r=="number"&&(this.result*=r),this}},{key:"div",value:function(r){return r instanceof t?this.result/=r.result:typeof r=="number"&&(this.result/=r),this}},{key:"equal",value:function(){return this.result}}]),t}(RO);function TL(e,t,n){return t=On(t),Ji(e,xv()?Reflect.construct(t,n||[],On(e).constructor):t.apply(e,n))}const NO="CALC_UNIT";function gh(e){return typeof e=="number"?`${e}${NO}`:e}let RL=function(e){Qr(t,e);function t(n){var r;return Tt(this,t),r=TL(this,t),r.result="",n instanceof t?r.result=`(${n.result})`:typeof n=="number"?r.result=gh(n):typeof n=="string"&&(r.result=n),r}return Rt(t,[{key:"add",value:function(r){return r instanceof t?this.result=`${this.result} + ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} + ${gh(r)}`),this.lowPriority=!0,this}},{key:"sub",value:function(r){return r instanceof t?this.result=`${this.result} - ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} - ${gh(r)}`),this.lowPriority=!0,this}},{key:"mul",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} * ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} * ${r}`),this.lowPriority=!1,this}},{key:"div",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} / ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} / ${r}`),this.lowPriority=!1,this}},{key:"getResult",value:function(r){return this.lowPriority||r?`(${this.result})`:this.result}},{key:"equal",value:function(r){const{unit:o=!0}=r||{},i=new RegExp(`${NO}`,"g");return this.result=this.result.replace(i,o?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),t}(RO);const NL=e=>{const t=e==="css"?RL:PL;return n=>new t(n)},IL=NL;function AL(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`max(${n.map(o=>ne(o)).join(",")})`},min:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`min(${n.map(o=>ne(o)).join(",")})`}}}const IO=typeof CSSINJS_STATISTIC<"u";let J0=!0;function Pt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!IO)return Object.assign.apply(Object,[{}].concat(t));J0=!1;const r={};return t.forEach(o=>{Object.keys(o).forEach(a=>{Object.defineProperty(r,a,{configurable:!0,enumerable:!0,get:()=>o[a]})})}),J0=!0,r}const KC={};function _L(){}const DL=e=>{let t,n=e,r=_L;return IO&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get(o,i){return J0&&t.add(i),o[i]}}),r=(o,i)=>{var a;KC[o]={global:Array.from(t),component:Object.assign(Object.assign({},(a=KC[o])===null||a===void 0?void 0:a.component),i)}}),{token:n,keys:t,flush:r}},kL=(e,t)=>{const[n,r]=vr();return G0({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},Eb()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},AO=kL,_O=(e,t,n)=>{var r;return typeof n=="function"?n(Pt(t,(r=t[e])!==null&&r!==void 0?r:{})):n!=null?n:{}},DO=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:a}=r;a.forEach(s=>{let[l,c]=s;var u;((o==null?void 0:o[l])||(o==null?void 0:o[c]))&&((u=o[c])!==null&&u!==void 0||(o[c]=o==null?void 0:o[l]))})}const i=Object.assign(Object.assign({},n),o);return Object.keys(i).forEach(a=>{i[a]===t[a]&&delete i[a]}),i},FL=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function Mb(e,t,n){le
Line truncated
|
||||
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
||||
charSet checked classID className colSpan cols content contentEditable contextMenu
|
||||
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
||||
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
||||
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
||||
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
||||
mediaGroup method min minLength multiple muted name noValidate nonce open
|
||||
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
||||
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
||||
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
||||
summary tabIndex target title type useMap value width wmode wrap`,xz=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
||||
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
||||
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
||||
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
||||
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
||||
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
||||
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Sz="".concat(bz," ").concat(xz).split(/[\s\n]+/),Cz="aria-",wz="data-";function ew(e,t){return e.indexOf(t)===0}function sl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=Q({},t);var r={};return Object.keys(e).forEach(function(o){(n.aria&&(o==="role"||ew(o,Cz))||n.data&&ew(o,wz)||n.attr&&Sz.includes(o))&&(r[o]=e[o])}),r}const{isValidElement:iu}=yu;function GO(e){return e&&iu(e)&&e.type===p.exports.Fragment}function $z(e,t,n){return iu(e)?p.exports.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t}function Yi(e,t){return $z(e,e,t)}const Ez=e=>{const[,,,,t]=vr();return t?`${e}-css-var`:""},Lo=Ez;var ve={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=ve.F1&&n<=ve.F12)return!1;switch(n){case ve.ALT:case ve.CAPS_LOCK:case ve.CONTEXT_MENU:case ve.CTRL:case ve.DOWN:case ve.END:case ve.ESC:case ve.HOME:case ve.INSERT:case ve.LEFT:case ve.MAC_FF_META:case ve.META:case ve.NUMLOCK:case ve.NUM_CENTER:case ve.PAGE_DOWN:case ve.PAGE_UP:case ve.PAUSE:case ve.PRINT_SCREEN:case ve.RIGHT:case ve.SHIFT:case ve.UP:case ve.WIN_KEY:case ve.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=ve.ZERO&&t<=ve.NINE||t>=ve.NUM_ZERO&&t<=ve.NUM_MULTIPLY||t>=ve.A&&t<=ve.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case ve.SPACE:case ve.QUESTION_MARK:case ve.NUM_PLUS:case ve.NUM_MINUS:case ve.NUM_PERIOD:case ve.NUM_DIVISION:case ve.SEMICOLON:case ve.DASH:case ve.EQUALS:case ve.COMMA:case ve.PERIOD:case ve.SLASH:case ve.APOSTROPHE:case ve.SINGLE_QUOTE:case ve.OPEN_SQUARE_BRACKET:case ve.BACKSLASH:case ve.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const Oz=we.createContext(void 0),qO=Oz,ma=100,Mz=10,Pz=ma*Mz,XO={Modal:ma,Drawer:ma,Popover:ma,Popconfirm:ma,Tooltip:ma,Tour:ma},Tz={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function Rz(e){return e in XO}function Ov(e,t){const[,n]=vr(),r=we.useContext(qO),o=Rz(e);if(t!==void 0)return[t,t];let i=r!=null?r:0;return o?(i+=(r?0:n.zIndexPopupBase)+XO[e],i=Math.min(i,n.zIndexPopupBase+Pz)):i+=Tz[e],[r===void 0?t:i,i]}function Qn(){Qn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(_,P,O){_[P]=O.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(_,P,O){return Object.defineProperty(_,P,{value:O,enumerable:!0,configurable:!0,writable:!0}),_[P]}try{c({},"")}catch{c=function(O,L,I){return O[L]=I}}function u(_,P,O,L){var I=P&&P.prototype instanceof y?P:y,H=Object.create(I.prototype),D=new A(L||[]);return o(H,"_invoke",{value:N(_,O,D)}),H}function d(_,P,O){try{return{type:"normal",arg:_.call(P,O)}}catch(L){return{type:"throw",arg:L}}}t.wrap=u;var f="suspendedStart",m="suspendedYield",h="executing",v="completed",b={};function y(){}function x(){}function S(){}var C={};c(C,a,function(){return this});var $=Object.getPrototypeOf,E=$&&$($(k([])));E&&E!==n&&r.call(E,a)&&(C=E);var w=S.prototype=y.prototype=Object.create(C);function M(_){["next","throw","return"].forEach(function(P){c(_,P,function(O){return this._invoke(P,O)})})}function T(_,P){function O(I,H,D,B){var W=d(_[I],_,H);if(W.type!=="throw"){var Y=W.arg,G=Y.value;return G&&tt(G)=="object"&&r.call(G,"__await")?P.resolve(G.__await).then(function(j){O("next",j,D,B)},function(j){O("throw",j,D,B)}):P.resolve(G).then(function(j){Y.value=j,D(Y)},function(j){return O("throw",j,D,B)})}B(W.arg)}var L;o(this,"_invoke",{value:function(H,D){function B(){return new P(function(W,Y){O(H,D,W,Y)})}return L=L?L.then(B,B):B()}})}function N(_,P,O){var L=f;return function(I,H){if(L===h)throw new Error("Generator is already running");if(L===v){if(I==="throw")throw H;return{value:e,done:!
Line truncated
|
||||
&:focus,
|
||||
&:active`]:{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},aw(`${t}-primary`,o),aw(`${t}-danger`,i)]}},aB=iB,e5=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Pt(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},t5=e=>{var t,n,r,o,i,a;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,l=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,c=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,u=(o=e.contentLineHeight)!==null&&o!==void 0?o:pf(s),d=(i=e.contentLineHeightSM)!==null&&i!==void 0?i:pf(l),f=(a=e.contentLineHeightLG)!==null&&a!==void 0?a:pf(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:s,contentFontSizeSM:l,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-s*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*f)/2-e.lineWidth,0)}},sB=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${ne(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:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},Ev(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${t}-compact-item`]:{flex:"none"}}}},ti=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),lB=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),cB=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),uB=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),au=(e,t,n,r,o,i,a,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},ti(e,Object.assign({background:t},a),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),Ab=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},uB(e))}),n5=e=>Object.assign({},Ab(e)),up=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),r5=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n5(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),ti(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),au(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},ti(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),au(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Ab(e))}),dB=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object
Line truncated
|
||||
html body {
|
||||
overflow-y: hidden;
|
||||
`.concat(a?"width: calc(100% - ".concat(i,"px);"):"",`
|
||||
}`),o)}else Jc(o);return function(){Jc(o)}},[t,o])}var uw=!1;function FB(e){return typeof e=="boolean"&&(uw=e),uw}var dw=function(t){return t===!1?!1:!Un()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Nv=p.exports.forwardRef(function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer;e.debug;var i=e.autoDestroy,a=i===void 0?!0:i,s=e.children,l=p.exports.useState(n),c=ee(l,2),u=c[0],d=c[1],f=u||n;p.exports.useEffect(function(){(a||n)&&d(n)},[n,a]);var m=p.exports.useState(function(){return dw(o)}),h=ee(m,2),v=h[0],b=h[1];p.exports.useEffect(function(){var R=dw(o);b(R!=null?R:null)});var y=NB(f&&!v),x=ee(y,2),S=x[0],C=x[1],$=v!=null?v:S;kB(r&&n&&Un()&&($===S||$===document.body));var E=null;if(s&&Ua(s)&&t){var w=s;E=w.ref}var M=Wa(E,t);if(!f||!Un()||v===void 0)return null;var T=$===!1||FB(),N=s;return t&&(N=p.exports.cloneElement(s,{ref:M})),g(o5.Provider,{value:C,children:T?N:pr.exports.createPortal(N,$)})}),i5=p.exports.createContext({});function LB(){var e=Q({},yu);return e.useId}var fw=0,pw=LB();const a5=pw?function(t){var n=pw();return t||n}:function(t){var n=p.exports.useState("ssr-id"),r=ee(n,2),o=r[0],i=r[1];return p.exports.useEffect(function(){var a=fw;fw+=1,i("rc_unique_".concat(a))},[]),t||o};function vw(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function mw(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var o=e.document;n=o.documentElement[r],typeof n!="number"&&(n=o.body[r])}return n}function zB(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=mw(o),n.top+=mw(o,!0),n}const BB=p.exports.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var hw={width:0,height:0,overflow:"hidden",outline:"none"},jB=we.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.title,a=e.ariaId,s=e.footer,l=e.closable,c=e.closeIcon,u=e.onClose,d=e.children,f=e.bodyStyle,m=e.bodyProps,h=e.modalRender,v=e.onMouseDown,b=e.onMouseUp,y=e.holderRef,x=e.visible,S=e.forceRender,C=e.width,$=e.height,E=e.classNames,w=e.styles,M=we.useContext(i5),T=M.panel,N=Wa(y,T),R=p.exports.useRef(),F=p.exports.useRef();we.useImperativeHandle(t,function(){return{focus:function(){var L;(L=R.current)===null||L===void 0||L.focus()},changeActive:function(L){var I=document,H=I.activeElement;L&&H===F.current?R.current.focus():!L&&H===R.current&&F.current.focus()}}});var z={};C!==void 0&&(z.width=C),$!==void 0&&(z.height=$);var A;s&&(A=g("div",{className:oe("".concat(n,"-footer"),E==null?void 0:E.footer),style:Q({},w==null?void 0:w.footer),children:s}));var k;i&&(k=g("div",{className:oe("".concat(n,"-header"),E==null?void 0:E.header),style:Q({},w==null?void 0:w.header),children:g("div",{className:"".concat(n,"-title"),id:a,children:i})}));var _;l&&(_=g("button",{type:"button",onClick:u,"aria-label":"Close",className:"".concat(n,"-close"),children:c||g("span",{className:"".concat(n,"-close-x")})}));var P=Z("div",{className:oe("".concat(n,"-content"),E==null?void 0:E.content),style:w==null?void 0:w.content,children:[_,k,g("div",{className:oe("".concat(n,"-body"),E==null?void 0:E.body),style:Q(Q({},f),w==null?void 0:w.body),...m,children:d}),A]});return Z("div",{role:"dialog","aria-labelledby":i?a:null,"aria-modal":"true",ref:N,style:Q(Q({},o),z),className:oe(n,r),onMouseDown:v,onMouseUp:b,children:[g("div",{tabIndex:0,ref:R,style:hw,"aria-hidden":"true"}),g(BB,{shouldUpdate:x||S,children:h?h(P):P}),g("div",{tabIndex:0,ref:F,style:hw,"aria-hidden":"true"})]},"dialog-element")}),s5=p.exports.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,o=e.style,i=e.className,a=e.visible,s=e.forceRender,l=e.destroyOnClose,c=e.motionName,u=e.ariaId,d=e.onVisibleChanged,f=e.mousePosition,m=p.exports.useRef(),h=p.exports.useState(),v=ee(h,2),b=v[0],y=v[1],x={};b&&(x.transformOrigin=b);function S(){var C=zB(m.current);y(f?"".concat(f.x-C.left,"px ").concat(f.y-C.top,"px"):"")}return g(Fo,{visible:a,onVisibleChanged:d,onAppearPrepare:S,onEnterPrepare:S,forceRender:s,motionName:c,removeOnLeave:l,ref:m,children:function(C,$){var E=C.className,w=C.style;return g(jB,{...e,ref:t,title:r,ariaId:u,prefixCls:n,holderRef:$,style:Q(Q(Q({},w),o),x),className:oe(i,E)})}})});s5.displayName="Content";function HB(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,i=e.motionName,a=e.className;return g(Fo,{visible:r,motionName:i,leavedClassName:"".concat(t,"-mask-hidden"),children:function(s,l){var c=s.className,u=s.style;return g("div",{ref:l,style:Q(Q({},u),n),className:oe("".concat(t,"-mask"),c,a),...o})}},"mask")}function VB(e){var t=e.prefixCls,n=t===void 0?"rc-dialog":t,r=e.zIndex,o=e.visible,i=o===void 0?!1:o,a=e.keyboard,s=a===void 0?!0:a,l=e.focusTriggerAfterClose,c=l===void 0?!0:l,u=e.wrapStyle,d=e.wrapClassName,f=e.wrapProps,m=e.onClose,h=e.afterOpenChange,v=e.afterClose,b=e.transitionName,y=e.animation,x=e.closable,S=x===void 0?!
Line truncated
|
||||
(?:
|
||||
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
||||
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
||||
(?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
||||
(?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
||||
(?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
||||
(?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
||||
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
||||
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
||||
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
||||
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),a=new RegExp("^"+n+"$"),s=new RegExp("^"+o+"$"),l=function(C){return C&&C.exact?i:new RegExp("(?:"+t(C)+n+t(C)+")|(?:"+t(C)+o+t(C)+")","g")};l.v4=function(S){return S&&S.exact?a:new RegExp(""+t(S)+n+t(S),"g")},l.v6=function(S){return S&&S.exact?s:new RegExp(""+t(S)+o+t(S),"g")};var c="(?:(?:[a-z]+:)?//)",u="(?:\\S+(?::\\S*)?@)?",d=l.v4().source,f=l.v6().source,m="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",h="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",v="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",b="(?::\\d{2,5})?",y='(?:[/?#][^\\s"]*)?',x="(?:"+c+"|www\\.)"+u+"(?:localhost|"+d+"|"+f+"|"+m+h+v+")"+b+y;return Td=new RegExp("(?:^"+x+"$)","i"),Td},Sw={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},sc={integer:function(t){return sc.number(t)&&parseInt(t,10)===t},float:function(t){return sc.number(t)&&!sc.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 typeof t=="object"&&!sc.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Sw.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(ij())},hex:function(t){return typeof t=="string"&&!!t.match(Sw.hex)}},aj=function(t,n,r,o,i){if(t.required&&n===void 0){c5(t,n,r,o,i);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;a.indexOf(s)>-1?sc[s](n)||o.push(wr(i.messages.types[s],t.fullField,t.type)):s&&typeof n!==t.type&&o.push(wr(i.messages.types[s],t.fullField,t.type))},sj=function(t,n,r,o,i){var a=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=n,d=null,f=typeof n=="number",m=typeof n=="string",h=Array.isArray(n);if(f?d="number":m?d="string":h&&(d="array"),!d)return!1;h&&(u=n.length),m&&(u=n.replace(c,"_").length),a?u!==t.len&&o.push(wr(i.messages[d].len,t.fullField,t.len)):s&&!l&&u<t.min?o.push(wr(i.messages[d].min,t.fullField,t.min)):l&&!s&&u>t.max?o.push(wr(i.messages[d].max,t.fullField,t.max)):s&&l&&(u<t.min||u>t.max)&&o.push(wr(i.messages[d].range,t.fullField,t.min,t.max))},es="enum",lj=function(t,n,r,o,i){t[es]=Array.isArray(t[es])?t[es]:[],t[es].indexOf(n)===-1&&o.push(wr(i.messages[es],t.fullField,t[es].join(", ")))},cj=function(t,n,r,o,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(wr(i.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||o.push(wr(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},bt={required:c5,whitespace:oj,type:aj,range:sj,enum:lj,pattern:cj},uj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n,"string")&&!t.required)return r();bt.required(t,n,o,a,i,"string"),yn(n,"string")||(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i),bt.pattern(t,n,o,a,i),t.whitespace===!0&&bt.whitespace(t,n,o,a,i))}r(a)},dj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&bt.type(t,n,o,a,i)}r(a)},fj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},pj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&bt.type(t,n,o,a,i)}r(a)},vj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),yn(n)||bt.type(t,n,o,a,i)}r(a)},mj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},hj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},gj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();bt.required(t,n,o,a,i,"array"),n!=null&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},yj=function(t,n,r,o,i){var
Line truncated
|
||||
${i}${e}-enter,
|
||||
${i}${e}-appear
|
||||
`]:Object.assign(Object.assign({},Hj(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},Vj(r)),{animationPlayState:"paused"}),[`
|
||||
${i}${e}-enter${e}-enter-active,
|
||||
${i}${e}-appear${e}-appear-active
|
||||
`]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},Wj=new Ot("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),Uj=new Ot("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),m5=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[Iv(r,Wj,Uj,e.motionDurationMid,t),{[`
|
||||
${o}${r}-enter,
|
||||
${o}${r}-appear
|
||||
`]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},Yj=new Ot("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Kj=new Ot("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Gj=new Ot("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),qj=new Ot("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Xj=new Ot("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Qj=new Ot("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Zj=new Ot("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Jj=new Ot("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),eH={"move-up":{inKeyframes:Zj,outKeyframes:Jj},"move-down":{inKeyframes:Yj,outKeyframes:Kj},"move-left":{inKeyframes:Gj,outKeyframes:qj},"move-right":{inKeyframes:Xj,outKeyframes:Qj}},fp=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=eH[t];return[Iv(r,o,i,e.motionDurationMid),{[`
|
||||
${r}-enter,
|
||||
${r}-appear
|
||||
`]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Fb=new Ot("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Lb=new Ot("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),zb=new Ot("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Bb=new Ot("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),tH=new Ot("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),nH=new Ot("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),rH=new Ot("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),oH=new Ot("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),iH={"slide-up":{inKeyframes:Fb,outKeyframes:Lb},"slide-down":{inKeyframes:zb,outKeyframes:Bb},"slide-left":{inKeyframes:tH,outKeyframes:nH},"slide-right":{inKeyframes:rH,outKeyframes:oH}},cl=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=iH[t];return[Iv(r,o,i,e.motionDurationMid),{[`
|
||||
${r}-enter,
|
||||
${r}-appear
|
||||
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,["&-prepare"]:{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},aH=new Ot("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),sH=new Ot("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Tw=new Ot("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Rw=new Ot("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),lH=new Ot("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),cH=new Ot("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),uH=new Ot("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),dH=new Ot("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),fH=new Ot("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),pH=new Ot("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),vH=new Ot("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),mH=new Ot("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),hH={zoom:{inKeyframes:aH,outKeyframes:sH},"zoom-big":{inKeyframes:Tw,outKeyframes:Rw},"zoom-big-fast":{inKeyframes:Tw,outKeyframes:Rw},"zoom-left":{inKeyframes:uH,outKeyframes:dH},"zoom-right":{inKeyframes:fH,outKeyframes:pH},"zoom-up":{inKeyframes:lH,outKeyframes:cH},"zoom-down":{inKeyframes:vH,outKeyframes:mH}},Av=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=hH[t];return[Iv(r,o,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
|
||||
${r}-enter,
|
||||
${r}-appear
|
||||
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function Nw(e){return{position:e,inset:0}}const h5=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},Nw("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},Nw("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:m5(e)}]},gH=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${ne(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},on(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${ne(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${ne(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.closeBtnHoverBg,textDecoration:"none"},"&:active":{backgroundColor:e.closeBtnActiveBg}},Ev(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,
|
||||
${t}-body,
|
||||
${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},yH=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},bH=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Pt(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},xH=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,closeBtnHoverBg:e.wireframe?"transparent":e.colorFillContent,closeBtnActiveBg:e.wireframe?"transparent":e.colorFillContentHover,contentPadding:e.wireframe?0:`${ne(e.paddingMD)} ${ne(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${ne(e.padding)} ${ne(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${ne(e.paddingXS)} ${ne(e.padding)}`:0,footerBorderTop:e.wireframe?`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${ne(e.padding*2)} ${ne(e.padding*2)} ${ne(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM});Mn("Modal",e=>{const t=bH(e);return[gH(t),yH(t),h5(t),Av(t,"zoom")]},xH,{unitless:{titleLineHeight:!0}});function SH(e){return t=>g(Rb,{theme:{token:{motion:!1,zIndexPopupBase:0}},children:g(e,{...Object.assign({},t)})})}const CH=(e,t,n,r)=>SH(i=>{const{prefixCls:a,style:s}=i,l=p.exports.useRef(null),[c,u]=p.exports.useState(0),[d,f]=p.exports.useState(0),[m,h]=Yt(!1,{value:i.open}),{getPrefixCls:v}=p.exports.useContext(lt),b=v(t||"select",a);p.exports.useEffect(()=>{if(h(!0),typeof ResizeObserver<"u"){const S=new ResizeObserver($=>{const E=$[0].target;u(E.offsetHeight+8),f(E.offsetWidth)}),C=setInterval(()=>{var $;const E=n?`.${n(b)}`:`.${b}-dropdown`,w=($=l.current)===null||$===void 0?void 0:$.querySelector(E);w&&(clearInterval(C),S.observe(w))},10);return()=>{clearInterval(C),S.disconnect()}}},[]);let y=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},s),{margin:0}),open:m,visible:m,getPopupContainer:()=>l.current});return r&&(y=r(y)),g("div",{ref:l,style:{paddingBottom:c,position:"relative",minWidth:d},children:g(e,{...Object.assign({},y)})})}),wH=CH,jb=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|x7
Line truncated
|
||||
`,`\r
|
||||
`].includes(He)})},[_]),nt=p.exports.useContext(Hb)||{},ot=nt.maxCount,St=nt.rawValues,Ct=function(qe,wt,Kt){if(!((St==null?void 0:St.size)>=ot)){var Dt=!0,tn=qe;N==null||N(null);var xn=mV(qe,_,ot&&ot-St.size),Kn=Kt?null:xn;return y!=="combobox"&&Kn&&(tn="",k==null||k(Kn),Se(!1),Dt=!1),A&&Ve!==tn&&A(tn,{source:wt?"typing":"effect"}),Dt}},pt=function(qe){!qe||!qe.trim()||A(qe,{source:"submit"})};p.exports.useEffect(function(){!Re&&!ae&&y!=="combobox"&&Ct("",!1,!1)},[Re]),p.exports.useEffect(function(){Ce&&x&&Fe(!1),x&&!$e.current&&Me(!1)},[x]);var Ye=y5(),Ke=ee(Ye,2),gt=Ke[0],Ie=Ke[1],je=function(qe){var wt=gt(),Kt=qe.which;if(Kt===ve.ENTER&&(y!=="combobox"&&qe.preventDefault(),Re||Se(!0)),Ie(!!Ve),Kt===ve.BACKSPACE&&!wt&&ae&&!Ve&&d.length){for(var Dt=Te(d),tn=null,xn=Dt.length-1;xn>=0;xn-=1){var Kn=Dt[xn];if(!Kn.disabled){Dt.splice(xn,1),tn=Kn;break}}tn&&f(Dt,{type:"remove",values:[tn]})}for(var Sn=arguments.length,Gn=new Array(Sn>1?Sn-1:0),rr=1;rr<Sn;rr++)Gn[rr-1]=arguments[rr];if(Re){var Xa;(Xa=Ae.current)===null||Xa===void 0||Xa.onKeyDown.apply(Xa,[qe].concat(Gn))}fe==null||fe.apply(void 0,[qe].concat(Gn))},Qe=function(qe){for(var wt=arguments.length,Kt=new Array(wt>1?wt-1:0),Dt=1;Dt<wt;Dt++)Kt[Dt-1]=arguments[Dt];if(Re){var tn;(tn=Ae.current)===null||tn===void 0||tn.onKeyUp.apply(tn,[qe].concat(Kt))}re==null||re.apply(void 0,[qe].concat(Kt))},ut=function(qe){var wt=d.filter(function(Kt){return Kt!==qe});f(wt,{type:"remove",values:[qe]})},en=p.exports.useRef(!1),Bt=function(){Me(!0),x||(ie&&!en.current&&ie.apply(void 0,arguments),te.includes("focus")&&Se(!0)),en.current=!0},ln=function(){$e.current=!0,Me(!1,function(){en.current=!1,$e.current=!1,Se(!1)}),!x&&(Ve&&(y==="tags"?A(Ve,{source:"submit"}):y==="multiple"&&A("",{source:"blur"})),J&&J.apply(void 0,arguments))},cn=[];p.exports.useEffect(function(){return function(){cn.forEach(function(He){return clearTimeout(He)}),cn.splice(0,cn.length)}},[]);var tr=function(qe){var wt,Kt=qe.target,Dt=(wt=Ee.current)===null||wt===void 0?void 0:wt.getPopupElement();if(Dt&&Dt.contains(Kt)){var tn=setTimeout(function(){var Gn=cn.indexOf(tn);if(Gn!==-1&&cn.splice(Gn,1),ke(),!se&&!Dt.contains(document.activeElement)){var rr;(rr=ge.current)===null||rr===void 0||rr.focus()}});cn.push(tn)}for(var xn=arguments.length,Kn=new Array(xn>1?xn-1:0),Sn=1;Sn<xn;Sn++)Kn[Sn-1]=arguments[Sn];me==null||me.apply(void 0,[qe].concat(Kn))},hr=p.exports.useState({}),Pn=ee(hr,2),ui=Pn[1];function di(){ui({})}var Yn;ct&&(Yn=function(qe){Se(qe)}),MH(function(){var He;return[be.current,(He=Ee.current)===null||He===void 0?void 0:He.getPopupElement()]},_e,Se,!!ct);var fi=p.exports.useMemo(function(){return Q(Q({},e),{},{notFoundContent:v,open:Re,triggerOpen:_e,id:o,showSearch:de,multiple:ae,toggleOpen:Se})},[e,v,_e,Re,o,de,ae,Se]),Zr=!!O||S,nr;Zr&&(nr=g(_v,{className:oe("".concat(i,"-arrow"),U({},"".concat(i,"-arrow-loading"),S)),customizeIcon:O,customizeIconProps:{loading:S,searchValue:Ve,open:Re,focused:De,showSearch:de}}));var Ar=function(){var qe;b==null||b(),(qe=ge.current)===null||qe===void 0||qe.focus(),f([],{type:"clear",values:d}),Ct("",!1,!1)},Jr=$H(i,Ar,d,P,L,x,Ve,y),Oo=Jr.allowClear,gr=Jr.clearIcon,pi=g(I,{ref:Ae}),eo=oe(i,a,(r={},U(r,"".concat(i,"-focused"),De),U(r,"".concat(i,"-multiple"),ae),U(r,"".concat(i,"-single"),!ae),U(r,"".concat(i,"-allow-clear"),P),U(r,"".concat(i,"-show-arrow"),Zr),U(r,"".concat(i,"-disabled"),x),U(r,"".concat(i,"-loading"),S),U(r,"".concat(i,"-open"),Re),U(r,"".concat(i,"-customize-input"),Ze),U(r,"".concat(i,"-show-search"),de),r)),$t=g(pV,{ref:Ee,disabled:x,prefixCls:i,visible:_e,popupElement:pi,animation:H,transitionName:D,dropdownStyle:B,dropdownClassName:W,direction:c,dropdownMatchSelectWidth:Y,dropdownRender:G,dropdownAlign:j,placement:V,builtinPlacements:X,getPopupContainer:K,empty:m,getTriggerDOMNode:function(){return ze.current},onPopupVisibleChange:Yn,onPopupMouseEnter:di,children:ct?p.exports.cloneElement(ct,{ref:ht}):g(XH,{...e,domRef:ze,prefixCls:i,inputElement:Ze,ref:ge,id:o,showSearch:de,autoClearSearchValue:z,mode:y,activeDescendantId:R,tagRender:l,values:d,open:Re,onToggleOpen:Se,activeValue:T,searchValue:Ve,onSearch:Ct,onSearchSubmit:pt,onRemove:ut,tokenWithEnter:Xe})}),mt;return ct?mt=$t:mt=Z("div",{className:eo,...ue,ref:be,onMouseDown:tr,onKeyDown:je,onKeyUp:Qe,onFocus:Bt,onBlur:ln,children:[De&&!Re&&g("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},children:"".concat(d.map(function(He){var qe=He.label,wt=He.value;return["number","string"].includes(tt(qe))?qe:wt}).join(", "))}),$t,nr,Oo&&gr]}),g(g5.Provider,{value:fi,children:mt})}),Vb=function(){return null};Vb.isSelectOptGroup=!0;var Wb=function(){return null};Wb.isSelectOption=!0;var O5=p.exports.forwardRef(function(e,t){var n=e.height,r=e.offsetY,o=e.offsetX,i=e.children,a=e.prefixCls,s=e.onInnerResize,l=e.innerProps,c=e.rtl,u=e.extra,d={},f={display:"flex",flexDirection:"column"};return r!==void 0&&(d={height:n,position:"rel
Line truncated
|
||||
${o}${s}bottomLeft,
|
||||
${i}${s}bottomLeft
|
||||
`]:{animationName:Fb},[`
|
||||
${o}${s}topLeft,
|
||||
${i}${s}topLeft,
|
||||
${o}${s}topRight,
|
||||
${i}${s}topRight
|
||||
`]:{animationName:zb},[`${a}${s}bottomLeft`]:{animationName:Lb},[`
|
||||
${a}${s}topLeft,
|
||||
${a}${s}topRight
|
||||
`]:{animationName:Bb},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},qw(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Ui),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},qw(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},cl(e,"slide-up"),cl(e,"slide-down"),fp(e,"move-up"),fp(e,"move-down")]},pW=fW,os=2,vW=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},qb=(e,t)=>{const{componentCls:n,iconCls:r}=e,o=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,a=vW(e),s=t?`${n}-${t}`:"";return{[`${n}-multiple${s}`]:{[o]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:e.calc(os).mul(2).equal(),paddingBlock:e.calc(a).sub(os).equal(),borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${ne(os)} 0`,lineHeight:ne(i),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:os,marginBottom:os,lineHeight:ne(e.calc(i).sub(e.calc(e.lineWidth).mul(2)).equal()),borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,marginInlineEnd:e.calc(os).mul(2).equal(),paddingInlineStart:e.paddingXS,paddingInlineEnd:e.calc(e.paddingXS).div(2).equal(),[`${n}-disabled&`]:{color:e.multipleItemColorDisabled,borderColor:e.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(e.paddingXS).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},Eb()),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${o}-item + ${o}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${o}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(a).equal(),[`
|
||||
&-input,
|
||||
&-mirror
|
||||
`]:{height:i,fontFamily:e.fontFamily,lineHeight:ne(i),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}};function Ph(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",o={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[`
|
||||
&${n}-show-arrow ${n}-selector,
|
||||
&${n}-allow-clear ${n}-selector
|
||||
`]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[qb(e,t),o]}const mW=e=>{const{componentCls:t}=e,n=Pt(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Pt(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Ph(e),Ph(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},Ph(r,"lg")]},hW=mW;function Th(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},on(e,!0)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
||||
${n}-selection-item,
|
||||
${n}-selection-placeholder
|
||||
`]:{padding:0,lineHeight:ne(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
||||
&${n}-show-arrow ${n}-selection-item,
|
||||
&${n}-show-arrow ${n}-selection-placeholder
|
||||
`]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${ne(r)}`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:ne(i)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${ne(r)}`,"&:after":{display:"none"}}}}}}}function gW(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[Th(e),Th(Pt(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${ne(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`
|
||||
&${t}-show-arrow ${t}-selection-item,
|
||||
&${t}-show-arrow ${t}-selection-placeholder
|
||||
`]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},Th(Pt(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const yW=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,controlPaddingHorizontal:o,zIndexPopupBase:i,colorText:a,fontWeightStrong:s,controlItemBgActive:l,controlItemBgHover:c,colorBgContainer:u,colorFillSecondary:d,controlHeightLG:f,controlHeightSM:m,colorBgContainerDisabled:h,colorTextDisabled:v}=e;return{zIndexPopup:i+50,optionSelectedColor:a,optionSelectedFontWeight:s,optionSelectedBg:l,optionActiveBg:c,optionPadding:`${(r-t*n)/2}px ${o}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:u,clearBg:u,singleItemHeightLG:f,multipleItemBg:d,multipleItemBorderColor:"transparent",multipleItemHeight:m,multipleItemHeightLG:r,multipleSelectorBgDisabled:h,multipleItemColorDisabled:v,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},I5=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${ne(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${ne(o)} ${t.activeShadowColor}`,outline:0}}}},Xw=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},I5(e,t))}),bW=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},I5(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),Xw(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),Xw(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),A5=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${ne(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},Qw=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},A5(e,t))}),xW=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},A5(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),Qw(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),Qw(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),SW=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}),CW=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},bW(e)),xW(e)),SW(e))}),wW=CW,$W=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},EW=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},OW=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},on(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not($Line truncated
|
||||
&:hover ${S}`]:{borderColor:r},[`${t}-input:focus-visible + ${S}`]:Object.assign({},Ob(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:E,height:E,marginBlockStart:x(1).mul(o).div(-2).equal(),marginInlineStart:x(1).mul(o).div(-2).equal(),backgroundColor:b,borderBlockStart:0,borderInlineStart:0,borderRadius:E,transform:"scale(0)",opacity:0,transition:`all ${i} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:E,height:E,backgroundColor:l,borderColor:c,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[S]:{borderColor:r,backgroundColor:y,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${i} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[S]:{backgroundColor:d,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[S]:{"&::after":{transform:`scale(${x($).div(o).equal({unit:!1})})`}}}},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}})}},eK=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:i,colorBorder:a,motionDurationSlow:s,motionDurationMid:l,buttonPaddingInline:c,fontSize:u,buttonBg:d,fontSizeLG:f,controlHeightLG:m,controlHeightSM:h,paddingXS:v,borderRadius:b,borderRadiusSM:y,borderRadiusLG:x,buttonCheckedBg:S,buttonSolidCheckedColor:C,colorTextDisabled:$,colorBgContainerDisabled:E,buttonCheckedBgDisabled:w,buttonCheckedColorDisabled:M,colorPrimary:T,colorPrimaryHover:N,colorPrimaryActive:R,buttonSolidCheckedBg:F,buttonSolidCheckedHoverBg:z,buttonSolidCheckedActiveBg:A,calc:k}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:u,lineHeight:ne(k(n).sub(k(o).mul(2)).equal()),background:d,border:`${ne(o)} ${i} ${a}`,borderBlockStartWidth:k(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${l}`,`background ${l}`,`box-shadow ${l}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:k(o).mul(-1).equal(),insetInlineStart:k(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:a,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${ne(o)} ${i} ${a}`,borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b},"&:first-child:last-child":{borderRadius:b},[`${r}-group-large &`]:{height:m,fontSize:f,lineHeight:ne(k(m).sub(k(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:x,borderEndStartRadius:x},"&:last-child":{borderStartEndRadius:x,borderEndEndRadius:x}},[`${r}-group-small &`]:{height:h,paddingInline:k(v).sub(o).equal(),paddingBlock:0,lineHeight:ne(k(h).sub(k(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},"&:hover":{position:"relative",color:T},"&:has(:focus-visible)":Object.assign({},Ob(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:T,background:S,borderColor:T,"&::before":{backgroundColor:T},"&:first-child":{borderColor:T},"&:hover":{color:N,borderColor:N,"&::before":{backgroundColor:N}},"&:active":{color:R,borderColor:R,"&::before":{backgroundColor:R}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:C,background:F,borderColor:F,"&:hover":{color:C,background:z,borderColor:z},"&:active":{color:C,background:A,borderColor:A}},"&-disabled":{color:$,backgroundColor:E,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:$,backgroundColor:E,borderColor:a}},[`&-disabled${r}-button-wrapper-checked`]:{color:M,backgroundColor:w,borderColor:a,boxShadow:"none"}}}},tK=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:o,fontSizeLG:i,colorText:a,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:c,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:m,colorWhite:h}=e,v=4,b=i,y=t?b-v*2:b-(v+o)*2;return{radioSize:b,dotSize:y,dotColorDisabled:l,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:m,buttonBg:s,buttonCheckedBg:s,buttonColor:a,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:l,buttonPaddingInline:n-o,wrapperMarginInlineEnd:r,
Line truncated
|
||||
& > ${t}-affix-wrapper,
|
||||
& > ${t}-number-affix-wrapper,
|
||||
& > ${n}-picker-range
|
||||
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,
|
||||
& > ${n}-select-auto-complete ${t},
|
||||
& > ${n}-cascader-picker ${t},
|
||||
& > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
||||
& > ${n}-select:first-child > ${n}-select-selector,
|
||||
& > ${n}-select-auto-complete:first-child ${t},
|
||||
& > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
|
||||
& > ${n}-select:last-child > ${n}-select-selector,
|
||||
& > ${n}-cascader-picker:last-child ${t},
|
||||
& > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-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}}}})}},yK=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:o}=e,i=16,a=o(n).sub(o(r).mul(2)).sub(i).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),DM(e)),PM(e)),NM(e)),TM(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},bK=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 ${ne(e.inputAffixPadding)}`}}}},xK=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},DM(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0,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:n},"&-suffix":{marginInlineStart:n}}}),bK(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}})}},SK=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},on(e)),gK(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:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},mK(e)),hK(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}}})})}},CK=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal({unit:!1})},[`> ${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(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-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,
|
||||
> ${t},
|
||||
${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},wK=e=>{const{componentCls:t,paddingLG:n}=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"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-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.paddingXS,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"}}}}}},$K=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},ux=Mn("Input",e=>{const t=Pt(e,EM(e));return[yK(t),wK(t),xK(t),SK(t),CK(t),$K(t),Rv(t)]},OM),Nh=(e,t)=>{const{componentCls:n,selectHeight:r,fontHeight:o,lineWidth:i,calc:a}=e,s=t?`${n}-${t}`:"",l=e.calc(o).add(2).equal(),c=()=>a(r).sub(l).sub(a(i).mul(2)),u=e.max(c().div(2).equal(),0),d=e.max(c().sub(u).equal(),0);return[qb(e,t),{[`${n}-multiple${s}`]:{paddingTop:u,paddingBottom:d,paddingInlineStart:u}}]},EK=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,o=Pt(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),i=Pt(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Nh(o,"small"),Nh(e),Nh(i,"large"),qb(e),{[`${t}${t}-multiple`]:{width:"100%",[`${t}-selector`]:{flex:"auto",padding:0,"&:after":{margin:0}},[`${t}-selection-item`]:{marginBlock:0},[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}}}]},OK=EK,MK=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:o,motionDurationMid:i,cellHoverBg:a,lineWidth:s,lineType:l,colorPrimary:c,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:f,cellBgDisabled:m,colorFillSecondary:h}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:ne(r),borderRadius:o,transition:`background ${i}`},[`&:hover:not(${t}-in-view),
|
||||
&:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[n]:{background:a}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${ne(s)} ${l} ${c}`,borderRadius:o,content:'""'}},[`&-in-view${t}-in-range,
|
||||
&-in-view${t}-range-start,
|
||||
&-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:u}},[`&-in-view${t}-selected,
|
||||
&-in-view${t}-range-start,
|
||||
&-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:d,background:c},[`&${t}-disabled ${n}`]:{background:h}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:o,borderEndStartRadius:o,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o},"&-disabled":{color:f,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:m}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},kM=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:o,pickerControlIconSize:i,cellWidth:a,paddingSM:s,paddingXS:l,paddingXXS:c,colorBgContainer:u,lineWidth:d,lineType:f,borderRadiusLG:m,colorPrimary:h,colorTextHeading:v,colorSplit:b,pickerControlIconBorderWidth:y,colorIcon:x,textHeight:S,motionDurationMid:C,colorIconHover:$,fontWeightStrong:E,cellHeight:w,pickerCellPaddingVertical:M,colorTextDisabled:T,colorText:N,fontSize:R,motionDurationSlow:F,withoutTimeCellHeight:z,pickerQuarterPanelContentHeight:A,borderRadiusSM:k,colorTextLightSolid:_,cellHoverBg:P,timeColumnHeight:O,timeColumnWidth:L,timeCellHeight:I,controlItemBgActive:H,marginXXS:D,pickerDatePanelPaddingHorizontal:B,pickerControlIconMargin:W}=e,Y=e.calc(a).mul(7).add(e.calc(B).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,borderRadius:m,outline:"none","&-focused":{borderColor:h},"&-rtl":{direction:"rtl",[`${t}-prev-icon,
|
||||
${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon,
|
||||
${t}-super-next-icon`]:{transform:"rotate(-135deg)"}}},[`&-decade-panel,
|
||||
&-year-panel,
|
||||
&-quarter-panel,
|
||||
&-month-panel,
|
||||
&-week-panel,
|
||||
&-date-panel,
|
||||
&-time-panel`]:{display:"flex",flexDirection:"column",width:Y},"&-header":{display:"flex",padding:`0 ${ne(l)}`,color:v,borderBottom:`${ne(d)} ${f} ${b}`,"> *":{flex:"none"},button:{padding:0,color:x,lineHeight:ne(S),background:"transparent",border:0,cursor:"pointer",transition:`color ${C}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:R,"&:hover":{color:$},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:E,lineHeight:ne(S),button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:l},"&:hover":{color:h}}}},[`&-prev-icon,
|
||||
&-next-icon,
|
||||
&-super-prev-icon,
|
||||
&-super-next-icon`]:{position:"relative",display:"inline-block",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:y,borderBlockEndWidth:0,borderInlineStartWidth:y,borderInlineEndWidth:0,content:'""'}},[`&-super-prev-icon,
|
||||
&-super-next-icon`]:{"&::after":{position:"absolute",top:W,insetInlineStart:W,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:y,borderBlockEndWidth:0,borderInlineStartWidth:y,borderInlineEndWidth:0,content:'""'}},[`&-prev-icon,
|
||||
&-super-prev-icon`]:{transform:"rotate(-45deg)"},[`&-next-icon,
|
||||
&-super-next-icon`]:{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:w,fontWeight:"normal"},th:{height:e.calc(w).add(e.calc(M).mul(2)).equal(),color:N,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${ne(M)} 0`,color:T,cursor:"pointer","&-in-view":{color:N}},MK(e)),[`&-decade-panel,
|
||||
&-year-panel,
|
||||
&-quarter-panel,
|
||||
&-month-panel`]:{[`${t}-content`]:{height:e.calc(z).mul(4).equal()},[r]:{padding:`0 ${ne(l)}`}},"&-quarter-panel":{[`${t}-content`]:{height:A}},"&-decade-panel":{[r]:{padding:`0 ${ne(e.calc(l).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},[`&-year-panel,
|
||||
&-quarter-panel,
|
||||
&-month-panel`]:{[`${t}-body`]:{padding:`0 ${ne(l)}`},[r]:{width:o}},"&-date-panel":{[`${t}-body`]:{padding:`${ne(l)} ${ne(B)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r},
|
||||
&-selected ${r},
|
||||
${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${C}`},"&:first-child:before":{borderStartStartRadius:k,borderEndStartRadius:k},"&:last-child:before":{borderStartEndRadius:k,borderEndEndRadius:k}},["&:hover td"]:{"&:before":{background:P}},[`&-range-start td,
|
||||
&-range-end td,
|
||||
&-selected td`]:{[`&${n}`]:{"&:before":{background:h},[`&${t}-cell-week`]:{color:new Nt(_).setAlpha(.5).toHexString()},[r]:{color:_}}},["&-range-hover td:before"]:{background:H}}},["&-week-panel, &-date-panel-show-week"]:{[`${t}-body`]:{padding:`${ne(l)} ${ne(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${ne(d)} ${f} ${b}`},[`${t}-date-panel,
|
||||
${t}-time-panel`]:{transition:`opacity ${F}`},"&-active":{[`${t}-date-panel,
|
||||
${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:O},"&-column":{flex:"1 0 auto",width:L,margin:`${ne(c)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${C}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:4},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(I).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${ne(d)} ${f} ${b}`},"&-active":{background:new Nt(H).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:D,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(L).sub(e.calc(D).mul(2)).equal(),height:I,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(L).sub(I).div(2).equal(),color:N,lineHeight:ne(I),borderRadius:k,cursor:"pointer",transition:`background ${C}`,"&:hover":{background:P}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:H}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:T,background:"transparent",cursor:"not-allowed"}}}}}}}}},PK=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:o,antCls:i,colorPrimary:a,cellActiveWithRangeBg:s,colorPrimaryBorder:l,lineType:c,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${ne(r)} ${c} ${u}`,"&-extra":{padding:`0 ${ne(o)}`,lineHeight:ne(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${ne(r)} ${c} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:ne(o),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:ne(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${i}-tag-blue`]:{color:a,background:s,borderColor:l,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},TK=PK,FM=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:o}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(o).add(e.calc(r).div(2)).equal()}},LM=e=>{const{colorBgContainerDisabled:t,controlHeightSM:n,controlHeightLG:r}=e;return{cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Nt(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Nt(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:r*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:n*1.5,cellHeight:n,textHeight:r,withoutTimeCellHeight:r*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:n,multipleItemHeightLG:e.controlHeight,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},RK=e=>Object.assign(Object.assign(Object.assign(Object.assign({},OM(e)),LM(e)),Qb(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),NK=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},PM(e)),NM(e)),TM(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},IK=NK,Ih=(e,t,n,r)=>{const o=e.calc(n).add(2).equal(),i=e.max(e.calc(t).sub(o).div(2).equal(),0),a=e.max(e.calc(t).sub(o).sub(i).equal(),0);return{padding:`${ne(i)} ${ne(r)} ${ne(a)}`}},AK=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},_K=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:o,lineWidth:i,lineType:a,colorBorder:s,borderRadius:l,motionDurationMid:c,colorTextDisabled:u,colorTextPlaceholder:d,controlHeightLG:f,fontSizeLG:m,controlHeightSM:h,paddingInlineSM:v,paddingXS:b,marginXS:y,colorTextDescription:x,lineWidthBold:S,c
Line truncated
|
||||
&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight,
|
||||
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft,
|
||||
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:zb},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft,
|
||||
&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight,
|
||||
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft,
|
||||
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:Fb},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft,
|
||||
&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:Bb},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft,
|
||||
&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:Lb},[`${t}-panel > ${t}-time-panel`]:{paddingTop:w},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:`left ${$} ease-out`},L5(e,T,P)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:T,borderRadius:N,boxShadow:R,transition:`margin ${$}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:k,maxWidth:_,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:b,borderInlineEnd:`${ne(i)} ${a} ${z}`,li:Object.assign(Object.assign({},Ui),{borderRadius:F,paddingInline:b,paddingBlock:e.calc(h).sub(O).div(2).equal(),cursor:"pointer",transition:`all ${$}`,"+ li":{marginTop:y},"&:hover":{background:A}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content,
|
||||
table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${ne(e.calc(M).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},cl(e,"slide-up"),cl(e,"slide-down"),fp(e,"move-up"),fp(e,"move-down")]};Mn("DatePicker",e=>{const t=Pt(EM(e),FM(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[TK(t),_K(t),IK(t),AK(t),OK(t),Rv(e,{focusElCls:`${e.componentCls}-focused`})]},RK);const DK=e=>{const{calendarCls:t,componentCls:n,fullBg:r,fullPanelBg:o,itemActiveBg:i}=e;return{[t]:Object.assign(Object.assign(Object.assign({},kM(e)),on(e)),{background:r,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${ne(e.paddingSM)} 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${n}-panel`]:{background:o,border:0,borderTop:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${n}-month-panel, ${n}-date-panel`]:{width:"auto"},[`${n}-body`]:{padding:`${ne(e.paddingXS)} 0`},[`${n}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${n}-panel`]:{borderRadius:`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`},[`${n}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${ne(e.weekHeight)}`}},[`${n}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${n}-panel`]:{display:"block",width:"100%",textAlign:"end",background:r,border:0,[`${n}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:`${ne(e.weekHeight)}`}}},[`${n}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${n}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:i}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${ne(e.calc(e.marginXS).div(2).equal())}`,padding:`${ne(e.calc(e.paddingXS).div(2).equal())} ${ne(e.paddingXS)} 0`,border:0,borderTop:`${ne(e.lineWidthBold)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:`${ne(e.dateValueHeight)}`,transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${ne(e.screenXS)}) `]:{[`${t}`]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${ne(e.paddingXS)})`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},kK=e=>Object.assign({fullBg:e.colorBgContainer,fullPanelBg:e.colorBgContainer,itemActiveBg:e.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256},LM(e)),FK=Mn("Calendar",e=>{const t=`${e.componentCls}-calendar`,n=Pt(e,FM(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,dateValueHeight:e.controlHeightSM,weekHeight:e.calc(e.controlHeightSM).mul(.75).equal(),dateContentHeight:e.calc(e.calc(e.fontHeightSM).add(e.marginXS)).mul(3).add(e.calc(e.lineWidth).mul(2)).equal()});return[DK(n)]},kK);function zM(e){function t(i,a){return i&&a&&e.getYear(i)===e.getYear(a)}function n(i,a){return t(i,a)&&e.getMonth(i)===e.getMonth(a)}function r(i,a){return n(i,a)&&e.getDate(i)===e.getDate(a)}return i=>{const{prefixCls:a,className:s,rootClassName:l,style:c,dateFullCellRender:u,dateCellRender:d,monthFullCellRender:f,monthCellRender:m,cellRender:h,fullCellRender:v,headerRender:b,value:y,defaultValue:x,disabledDate:S,mode:C,validRange:$,fullscreen:E=!0,onChange:w,onPanelChange:M,onSelect:T}=i,{getPrefixCls:N,direction:R,calendar:F}=p.exports.useContext(lt),z=N("picker",a),A=`${z}-calendar`,[k,_,P]=FK(z,A),O=e.getNow(),[L,I]=Yt(()=>y||e.getNow(),{defaultValue:x,value:y}),[H,D]=Yt("month",{value:C}),B=p.exports.useMemo(()=>H==="year"?"month":"date",[H]),W=p.exports.useCallback(J=>($?e.isAfter($[0],J)||e.isAfter(J,$[1]):!1)||!!(S!=null&&S(J)),[S,$]),Y=(J,re)=>{M==null||M(J,re)},G=J=>{I(J),r(J,L)||((B==="date"&&!n(J,L)||B==="month"&&!t(J,L))&&Y(J,H),w==null||w(J))},j=J=>{D(J),Y(L,J)},V=(J,re)=>{G(J),T==null||T(J,{source:re})},X=()=>{const{locale:J}=i,re=Object.assign(Object.assign({},q0),J);return re.lang=Object.assign(Object.assign({},re.lang),(J||{}).lang),re
Line truncated
|
||||
${r},
|
||||
${o} > li,
|
||||
${n},
|
||||
${i},
|
||||
${a},
|
||||
${s}
|
||||
`]:Object.assign({},jK(e))}}},KK=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,o=n;return{color:r,colorGradientEnd:o,gradientFromColor:r,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},El=Mn("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Pt(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[YK(r)]},KK,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),GK=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:i="circle",size:a="default"}=e,{getPrefixCls:s}=p.exports.useContext(lt),l=s("skeleton",t),[c,u,d]=El(l),f=Rr(e,["prefixCls","className"]),m=oe(l,`${l}-element`,{[`${l}-active`]:o},n,r,u,d);return c(g("div",{className:m,children:g(jv,{...Object.assign({prefixCls:`${l}-avatar`,shape:i,size:a},f)})}))},qK=GK,XK=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i=!1,size:a="default"}=e,{getPrefixCls:s}=p.exports.useContext(lt),l=s("skeleton",t),[c,u,d]=El(l),f=Rr(e,["prefixCls"]),m=oe(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:i},n,r,u,d);return c(g("div",{className:m,children:g(jv,{...Object.assign({prefixCls:`${l}-button`,size:a},f)})}))},QK=XK,ZK="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",JK=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i}=e,{getPrefixCls:a}=p.exports.useContext(lt),s=a("skeleton",t),[l,c,u]=El(s),d=oe(s,`${s}-element`,{[`${s}-active`]:i},n,r,c,u);return l(g("div",{className:d,children:g("div",{className:oe(`${s}-image`,n),style:o,children:g("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`,children:g("path",{d:ZK,className:`${s}-image-path`})})})}))},eG=JK,tG=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i,size:a="default"}=e,{getPrefixCls:s}=p.exports.useContext(lt),l=s("skeleton",t),[c,u,d]=El(l),f=Rr(e,["prefixCls"]),m=oe(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:i},n,r,u,d);return c(g("div",{className:m,children:g(jv,{...Object.assign({prefixCls:`${l}-input`,size:a},f)})}))},nG=tG,rG=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i,children:a}=e,{getPrefixCls:s}=p.exports.useContext(lt),l=s("skeleton",t),[c,u,d]=El(l),f=oe(l,`${l}-element`,{[`${l}-active`]:i},u,n,r,d),m=a!=null?a:g(g7,{});return c(g("div",{className:f,children:g("div",{className:oe(`${l}-image`,n),style:o,children:m})}))},oG=rG,iG=e=>{const t=s=>{const{width:l,rows:c=2}=e;if(Array.isArray(l))return l[s];if(c-1===s)return l},{prefixCls:n,className:r,style:o,rows:i}=e,a=Te(Array(i)).map((s,l)=>g("li",{style:{width:t(l)}},l));return g("ul",{className:oe(n,r),style:o,children:a})},aG=iG,sG=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return g("h3",{className:oe(t,n),style:Object.assign({width:r},o)})},lG=sG;function kh(e){return e&&typeof e=="object"?e:{}}function cG(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function uG(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function dG(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Ol=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:i,children:a,avatar:s=!1,title:l=!0,paragraph:c=!0,active:u,round:d}=e,{getPrefixCls:f,direction:m,skeleton:h}=p.exports.useContext(lt),v=f("skeleton",t),[b,y,x]=El(v);if(n||!("loading"in e)){const S=!!s,C=!!l,$=!!c;let E;if(S){const T=Object.assign(Object.assign({prefixCls:`${v}-avatar`},cG(C,$)),kh(s));E=g("div",{className:`${v}-header`,children:g(jv,{...Object.assign({},T)})})}let w;if(C||$){let T;if(C){const R=Object.assign(Object.assign({prefixCls:`${v}-title`},uG(S,$)),kh(l));T=g(lG,{...Object.assign({},R)})}let N;if($){const R=Object.assign(Objec
Line truncated
|
||||
right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,
|
||||
> div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:ne(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},HG=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${ne(e.borderRadius)} ${ne(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${ne(e.borderRadius)} ${ne(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${ne(e.borderRadius)} ${ne(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${ne(e.borderRadius)} 0 0 ${ne(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},VG=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:s,itemColor:l}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},Ev(e)),"&-btn":{outline:"none",transition:"all 0.3s",[`${c}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${c}-active ${c}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:i}}}},WG=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:ne(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:ne(e.marginXS)},marginLeft:{_skip_check_:!0,value:ne(i(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_sk
Line truncated
|
||||
> ${n}-typography,
|
||||
> ${n}-typography-edit-content
|
||||
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},tq=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`
|
||||
${ne(o)} 0 0 0 ${n},
|
||||
0 ${ne(o)} 0 0 ${n},
|
||||
${ne(o)} ${ne(o)} 0 0 ${n},
|
||||
${ne(o)} 0 0 0 ${n} inset,
|
||||
0 ${ne(o)} 0 0 ${n} inset;
|
||||
`,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},nq=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:i,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${ne(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`},Pu()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:ne(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:ne(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${ne(e.lineWidth)} ${e.lineType} ${i}`}}})},rq=e=>Object.assign(Object.assign({margin:`${ne(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},Pu()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},Ui),"&-description":{color:e.colorTextDescription}}),oq=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${ne(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${ne(e.padding)} ${ne(n)}`}}},iq=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},aq=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:o,colorBorderSecondary:i,boxShadowTertiary:a,cardPaddingBase:s,extraColor:l}=e;return{[n]:Object.assign(Object.assign({},on(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:a},[`${n}-head`]:eq(e),[`${n}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:s,borderRadius:` 0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`},Pu()),[`${n}-grid`]:tq(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:nq(e),[`${n}-meta`]:rq(e)}),[`${n}-bordered`]:{border:`${ne(e.lineWidth)} ${e.lineType} ${i}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:o}}},[`${n}-type-inner`]:oq(e),[`${n}-loading`]:iq(e),[`${n}-rtl`]:{direction:"rtl"}}},sq=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${ne(n)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},lq=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),cq=Mn("Card",e=>{const t=Pt(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[aq(t),sq(t)]},lq);var C2=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const uq=e=>{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return g("ul",{className:t,style:r,children:n.map((o,i)=>{const a=`action-${i}`;return g("li",{style:{width:`${100/n.length}%`},children:g("span",{children:o})},a)})})},dq=p.exports.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:o,style:i,extra:a,headStyle:s={},bodyStyle:l={},title:c,loadin
Line truncated
|
||||
min-height:0 !important;
|
||||
max-height:none !important;
|
||||
height:0 !important;
|
||||
visibility:hidden !important;
|
||||
overflow:hidden !important;
|
||||
position:absolute !important;
|
||||
z-index:-1000 !important;
|
||||
top:0 !important;
|
||||
right:0 !important;
|
||||
pointer-events: none !important;
|
||||
`,Hq=["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"],Fh={},kr;function Vq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&Fh[n])return Fh[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=Hq.map(function(c){return"".concat(c,":").concat(r.getPropertyValue(c))}).join(";"),l={sizingStyle:s,paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(Fh[n]=l),l}function Wq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;kr||(kr=document.createElement("textarea"),kr.setAttribute("tab-index","-1"),kr.setAttribute("aria-hidden","true"),document.body.appendChild(kr)),e.getAttribute("wrap")?kr.setAttribute("wrap",e.getAttribute("wrap")):kr.removeAttribute("wrap");var o=Vq(e,t),i=o.paddingSize,a=o.borderSize,s=o.boxSizing,l=o.sizingStyle;kr.setAttribute("style","".concat(l,";").concat(jq)),kr.value=e.value||e.placeholder||"";var c=void 0,u=void 0,d,f=kr.scrollHeight;if(s==="border-box"?f+=a:s==="content-box"&&(f-=i),n!==null||r!==null){kr.value=" ";var m=kr.scrollHeight-i;n!==null&&(c=m*n,s==="border-box"&&(c=c+i+a),f=Math.max(c,f)),r!==null&&(u=m*r,s==="border-box"&&(u=u+i+a),d=f>u?"":"hidden",f=Math.min(u,f))}var h={height:f,overflowY:d,resize:"none"};return c&&(h.minHeight=c),u&&(h.maxHeight=u),h}var Uq=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Lh=0,zh=1,Bh=2,Yq=p.exports.forwardRef(function(e,t){var n=e,r=n.prefixCls;n.onPressEnter;var o=n.defaultValue,i=n.value,a=n.autoSize,s=n.onResize,l=n.className,c=n.style,u=n.disabled,d=n.onChange;n.onInternalAutoSize;var f=rt(n,Uq),m=Yt(o,{value:i,postState:function(W){return W!=null?W:""}}),h=ee(m,2),v=h[0],b=h[1],y=function(W){b(W.target.value),d==null||d(W)},x=p.exports.useRef();p.exports.useImperativeHandle(t,function(){return{textArea:x.current}});var S=p.exports.useMemo(function(){return a&&tt(a)==="object"?[a.minRows,a.maxRows]:[]},[a]),C=ee(S,2),$=C[0],E=C[1],w=!!a,M=function(){try{if(document.activeElement===x.current){var W=x.current,Y=W.selectionStart,G=W.selectionEnd,j=W.scrollTop;x.current.setSelectionRange(Y,G),x.current.scrollTop=j}}catch{}},T=p.exports.useState(Bh),N=ee(T,2),R=N[0],F=N[1],z=p.exports.useState(),A=ee(z,2),k=A[0],_=A[1],P=function(){F(Lh)};Lt(function(){w&&P()},[i,$,E,w]),Lt(function(){if(R===Lh)F(zh);else if(R===zh){var B=Wq(x.current,!1,$,E);F(Bh),_(B)}else M()},[R]);var O=p.exports.useRef(),L=function(){Et.cancel(O.current)},I=function(W){R===Bh&&(s==null||s(W),a&&(L(),O.current=Et(function(){P()})))};p.exports.useEffect(function(){return L},[]);var H=w?k:null,D=Q(Q({},c),H);return(R===Lh||R===zh)&&(D.overflowY="hidden",D.overflowX="hidden"),g(Ur,{onResize:I,disabled:!(a||s),children:g("textarea",{...f,ref:x,style:D,className:oe(r,l,U({},"".concat(r,"-disabled"),u)),disabled:u,value:v,onChange:y})})}),Kq=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize"],Gq=we.forwardRef(function(e,t){var n,r,o=e.defaultValue,i=e.value,a=e.onFocus,s=e.onBlur,l=e.onChange,c=e.allowClear,u=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,m=e.suffix,h=e.prefixCls,v=h===void 0?"rc-textarea":h,b=e.showCount,y=e.count,x=e.className,S=e.style,C=e.disabled,$=e.hidden,E=e.classNames,w=e.styles,M=e.onResize,T=rt(e,Kq),N=Yt(o,{value:i,defaultValue:o}),R=ee(N,2),F=R[0],z=R[1],A=F==null?"":String(F),k=we.useState(!1),_=ee(k,2),P=_[0],O=_[1],L=we.useRef(!1),I=we.useState(null),H=ee(I,2),D=H[0],B=H[1],W=p.exports.useRef(null),Y=function(){var ge;return(ge=W.current)===null||ge===void 0?void 0:ge.textArea},G=function(){Y().focus()};p.exports.useImperativeHandle(t,function(){return{resizableTextArea:W.current,focus:G,blur:function(){Y().blur()}}}),p.exports.useEffect(function(){O(function(Ee){return!C&&Ee})},[C]);var j=we.useState(null),V=ee(j,2),X=V[0],K=V[1];we.useEffect(function(){if(X){var Ee;(Ee=Y()).setSelectionRange.apply(Ee,Te(X))}},[X]);var q=qM(y,b),te=(n=q.max)!==null&&n!==void 0?n:u,ie=Number(te)>0,J=q.strategy(A),re=!!te&&J>te,fe=function(ge,Ae){var $e=Ae;!L.current&&q.exceedFormatter&&q.max&&q.strategy(Ae)>q.max&&($e=q.exceedFormat
Line truncated
|
||||
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,noe=sn,roe=Bu,ooe=qa,By=J8,k$=noe("".replace),ioe=RegExp("^["+By+"]+"),aoe=RegExp("(^|[^"+By+"])["+By+"]+$"),pg=function(e){return function(t){var n=ooe(roe(t));return e&1&&(n=k$(n,ioe,"")),e&2&&(n=k$(n,aoe,"$1")),n}},soe={start:pg(1),end:pg(2),trim:pg(3)},eP=er,loe=an,coe=sn,uoe=qa,doe=soe.trim,foe=J8,poe=coe("".charAt),Ep=eP.parseFloat,F$=eP.Symbol,L$=F$&&F$.iterator,voe=1/Ep(foe+"-0")!==-1/0||L$&&!loe(function(){Ep(Object(L$))}),moe=voe?function(t){var n=doe(uoe(t)),r=Ep(n);return r===0&&poe(n,0)==="-"?-0:r}:Ep,hoe=bn,z$=moe;hoe({global:!0,forced:parseFloat!==z$},{parseFloat:z$});var goe=mr,yoe=goe.parseFloat,boe=yoe,xoe=boe;const Soe=xoe;var Coe=function(){var e;return!!(typeof window<"u"&&window!==null&&(e="(-webkit-min-device-pixel-ratio: 1.25), (min--moz-device-pixel-ratio: 1.25), (-o-min-device-pixel-ratio: 5/4), (min-resolution: 1.25dppx)",window.devicePixelRatio>1.25||window.matchMedia&&window.matchMedia(e).matches))},woe=Coe(),tP=["#A62A21","#7e3794","#0B51C1","#3A6024","#A81563","#B3003C"],$oe=/^([-+]?(?:\d+(?:\.\d+)?|\.\d+))([a-z]{2,4}|%)?$/;function Eoe(e,t){for(var n,r=Q8(n=Te(e)).call(n,function(c){return c.charCodeAt(0)}),o=r.length,i=o%(t-1)+1,a=Z8(r).call(r,function(c,u){return c+u})%t,s=r[0]%t,l=0;l<o;l++)s=(i*s+a)%t;return s}function Tx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tP;if(!e)return"transparent";var n=Eoe(e,t.length);return t[n]}function lm(e){e=""+e;var t=$oe.exec(e)||[],n=ee(t,3),r=n[1],o=r===void 0?0:r,i=n[2],a=i===void 0?"px":i;return{value:Soe(o),str:o+a,unit:a}}function cm(e){return e=lm(e),isNaN(e.value)?e=512:e.unit==="px"?e=e.value:e.value===0?e=0:e=512,woe&&(e=e*2),e}function nP(e,t){var n,r,o,i=t.maxInitials;return j8(n=am(r=Q8(o=e.split(/\s/)).call(o,function(a){return a.substring(0,1).toUpperCase()})).call(r,function(a){return!!a})).call(n,0,i).join("").toUpperCase()}var Vd={};function Ooe(e,t){if(Vd[t]){Vd[t].push(e);return}var n=Vd[t]=[e];setTimeout(function(){delete Vd[t],n.forEach(function(r){return r()})},t)}function jy(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0,o=t;r<o.length;r++){var i=o[r];if(i||i==="")return i;if(i===!1||i===null)return null}}function Rx(e){if(e===!0)return"100%";if(e!==!1)return e}function Moe(e){var t=Poe();return function(){var r=On(e),o;if(t){var i=On(this).constructor;o=fn(r,arguments,i)}else o=r.apply(this,arguments);return Ji(this,o)}}function Poe(){if(typeof Reflect>"u"||!fn||fn.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(fn(Boolean,[],function(){})),!0}catch{return!1}}var Hy={cache:Ene,colors:tP,initials:nP,avatarRedirectUrl:null},Toe=Px(Hy),Nx=we.createContext&&we.createContext(),um=!Nx,Roe=um?null:Nx.Consumer,Noe=we.forwardRef||function(e){return e},Gi=function(e){Qr(n,e);var t=Moe(n);function n(){return Tt(this,n),t.apply(this,arguments)}return Rt(n,[{key:"_getContext",value:function(){var o=this,i={};return Toe.forEach(function(a){typeof o.props[a]<"u"&&(i[a]=o.props[a])}),i}},{key:"render",value:function(){var o=this.props.children;return um?we.Children.only(o):g(Nx.Provider,{value:this._getContext(),children:we.Children.only(o)})}}]),n}(we.Component);U(Gi,"displayName","ConfigProvider");U(Gi,"propTypes",{cache:Pe.exports.object,colors:Pe.exports.arrayOf(Pe.exports.string),initials:Pe.exports.func,avatarRedirectUrl:Pe.exports.string,children:Pe.exports.node});var rP=function(t){function n(r,o){if(um){var i=o&&o.reactAvatar;return g(t,{...Hy,...i,...r})}return g(Roe,{children:function(a){return g(t,{ref:o,...Hy,...a,...r})}})}return n.contextTypes=Gi.childContextTypes,Noe(n)};um&&(Gi.childContextTypes={reactAvatar:Pe.exports.object},Gi.prototype.getChildContext=function(){return{reactAvatar:this._getContext()}});var dm={},Ioe=P8,Aoe=bx,_oe=Aoe.concat("length","prototype");dm.f=Object.getOwnPropertyNames||function(t){return Ioe(t,_oe)};var oP={},Doe=ta,koe=si,iP=dm.f,Foe=rm,aP=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Loe=function(e){try{return iP(e)}catch{return Foe(aP)}};oP.f=function(t){return aP&&Doe(t)==="Window"?Loe(t):iP(koe(t))};var zoe=em,sP=function(e,t,n,r){return r&&r.enumerable?e[t]=n:zoe(e,t,n),e},Boe=li,joe=function(e,t,n){return Boe.f(e,t,n)},Ix={},Hoe=$o;Ix.f=Hoe;var B$=mr,Voe=wo,Woe=Ix,Uoe=li.f,Yoe=function(e){var t=B$.Symbol||(B$.Symbol={});Voe(t,e)||Uoe(t,e,{value:Woe.f(e)})},Koe=na,Goe=ra,qoe=$o,Xoe=sP,Qoe=function(){var e=Goe("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=qoe("toPrimitive");t&&!t[r]&&Xoe(t,r,function(o){return Koe(n,this)},{arity:1})},Zoe=xx,Joe=Sx,eie=Zoe?{}.toString:function(){return"[object "+Joe(this)+"]"},tie=xx,nie=li.f,rie=em,oie=wo,iie=eie,aie=$o,j$=aie("toStringTag"),sie=function(e,t,n,r){var o=n?e:e&&e.prototype;o&&(oie(o,j$)||nie(o,j$,{configurable:!0,value:t}),r&&!tie&&rie(o,"toString",iie))}
Line truncated
|
||||
* Determine if an object is a Buffer
|
||||
*
|
||||
* @author Feross Aboukhadijeh <https://feross.org>
|
||||
* @license MIT
|
||||
*/var Pse=function(e){return e!=null&&(zP(e)||Tse(e)||!!e._isBuffer)};function zP(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Tse(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&zP(e.slice(0,0))}(function(){var e=LP.exports,t=J$.utf8,n=Pse,r=J$.bin,o=function(i,a){i.constructor==String?a&&a.encoding==="binary"?i=r.stringToBytes(i):i=t.stringToBytes(i):n(i)?i=Array.prototype.slice.call(i,0):!Array.isArray(i)&&i.constructor!==Uint8Array&&(i=i.toString());for(var s=e.bytesToWords(i),l=i.length*8,c=1732584193,u=-271733879,d=-1732584194,f=271733878,m=0;m<s.length;m++)s[m]=(s[m]<<8|s[m]>>>24)&16711935|(s[m]<<24|s[m]>>>8)&4278255360;s[l>>>5]|=128<<l%32,s[(l+64>>>9<<4)+14]=l;for(var h=o._ff,v=o._gg,b=o._hh,y=o._ii,m=0;m<s.length;m+=16){var x=c,S=u,C=d,$=f;c=h(c,u,d,f,s[m+0],7,-680876936),f=h(f,c,u,d,s[m+1],12,-389564586),d=h(d,f,c,u,s[m+2],17,606105819),u=h(u,d,f,c,s[m+3],22,-1044525330),c=h(c,u,d,f,s[m+4],7,-176418897),f=h(f,c,u,d,s[m+5],12,1200080426),d=h(d,f,c,u,s[m+6],17,-1473231341),u=h(u,d,f,c,s[m+7],22,-45705983),c=h(c,u,d,f,s[m+8],7,1770035416),f=h(f,c,u,d,s[m+9],12,-1958414417),d=h(d,f,c,u,s[m+10],17,-42063),u=h(u,d,f,c,s[m+11],22,-1990404162),c=h(c,u,d,f,s[m+12],7,1804603682),f=h(f,c,u,d,s[m+13],12,-40341101),d=h(d,f,c,u,s[m+14],17,-1502002290),u=h(u,d,f,c,s[m+15],22,1236535329),c=v(c,u,d,f,s[m+1],5,-165796510),f=v(f,c,u,d,s[m+6],9,-1069501632),d=v(d,f,c,u,s[m+11],14,643717713),u=v(u,d,f,c,s[m+0],20,-373897302),c=v(c,u,d,f,s[m+5],5,-701558691),f=v(f,c,u,d,s[m+10],9,38016083),d=v(d,f,c,u,s[m+15],14,-660478335),u=v(u,d,f,c,s[m+4],20,-405537848),c=v(c,u,d,f,s[m+9],5,568446438),f=v(f,c,u,d,s[m+14],9,-1019803690),d=v(d,f,c,u,s[m+3],14,-187363961),u=v(u,d,f,c,s[m+8],20,1163531501),c=v(c,u,d,f,s[m+13],5,-1444681467),f=v(f,c,u,d,s[m+2],9,-51403784),d=v(d,f,c,u,s[m+7],14,1735328473),u=v(u,d,f,c,s[m+12],20,-1926607734),c=b(c,u,d,f,s[m+5],4,-378558),f=b(f,c,u,d,s[m+8],11,-2022574463),d=b(d,f,c,u,s[m+11],16,1839030562),u=b(u,d,f,c,s[m+14],23,-35309556),c=b(c,u,d,f,s[m+1],4,-1530992060),f=b(f,c,u,d,s[m+4],11,1272893353),d=b(d,f,c,u,s[m+7],16,-155497632),u=b(u,d,f,c,s[m+10],23,-1094730640),c=b(c,u,d,f,s[m+13],4,681279174),f=b(f,c,u,d,s[m+0],11,-358537222),d=b(d,f,c,u,s[m+3],16,-722521979),u=b(u,d,f,c,s[m+6],23,76029189),c=b(c,u,d,f,s[m+9],4,-640364487),f=b(f,c,u,d,s[m+12],11,-421815835),d=b(d,f,c,u,s[m+15],16,530742520),u=b(u,d,f,c,s[m+2],23,-995338651),c=y(c,u,d,f,s[m+0],6,-198630844),f=y(f,c,u,d,s[m+7],10,1126891415),d=y(d,f,c,u,s[m+14],15,-1416354905),u=y(u,d,f,c,s[m+5],21,-57434055),c=y(c,u,d,f,s[m+12],6,1700485571),f=y(f,c,u,d,s[m+3],10,-1894986606),d=y(d,f,c,u,s[m+10],15,-1051523),u=y(u,d,f,c,s[m+1],21,-2054922799),c=y(c,u,d,f,s[m+8],6,1873313359),f=y(f,c,u,d,s[m+15],10,-30611744),d=y(d,f,c,u,s[m+6],15,-1560198380),u=y(u,d,f,c,s[m+13],21,1309151649),c=y(c,u,d,f,s[m+4],6,-145523070),f=y(f,c,u,d,s[m+11],10,-1120210379),d=y(d,f,c,u,s[m+2],15,718787259),u=y(u,d,f,c,s[m+9],21,-343485551),c=c+x>>>0,u=u+S>>>0,d=d+C>>>0,f=f+$>>>0}return e.endian([c,u,d,f])};o._ff=function(i,a,s,l,c,u,d){var f=i+(a&s|~a&l)+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._gg=function(i,a,s,l,c,u,d){var f=i+(a&l|s&~l)+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._hh=function(i,a,s,l,c,u,d){var f=i+(a^s^l)+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._ii=function(i,a,s,l,c,u,d){var f=i+(s^(a|~l))+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._blocksize=16,o._digestsize=16,FP.exports=function(i,a){if(i==null)throw new Error("Illegal argument "+i);var s=e.wordsToBytes(o(i,a));return a&&a.asBytes?s:a&&a.asString?r.bytesToString(s):e.bytesToHex(s)}})();var BP=Rt(function e(t){var n=this;Tt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.email||!!n.props.md5Email}),U(this,"get",function(r){var o=n.props,i=o.md5Email||FP.exports(o.email),a=cm(o.size),s="https://secure.gravatar.com/avatar/".concat(i,"?d=404");a&&(s+="&s=".concat(a)),r({sourceName:"gravatar",src:s})}),this.props=t});U(BP,"propTypes",{email:Pe.exports.string,md5Email:Pe.exports.string});var jP=Rt(function e(t){var n=this;Tt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.facebookId}),U(this,"get",function(r){var o,i=n.props.facebookId,a=cm(n.props.size),s="https://graph.facebook.com/".concat(i,"/picture");a&&(s+=Nc(o="?width=".concat(a,"&height=")).call(o,a)),r({sourceName:"facebook",src:s})}),this.props=t});U(jP,"propTypes",{facebookId:Pe.exports.string});var HP=Rt(function e(t){var n=this;Tt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.githubHandle}),U(this,"get",function(r){var o=n.props.githubHandle,i=cm(n.props.size),a="https://avatars.githubusercontent.com/".concat(o,"?v=4");i&&(a+="&s=".concat(i)),r({sourceName:"github",src:a})}),this.props=t});U(HP,"propTypes",{githubHandle:Pe.exports.string});var VP=Rt(function e(t){var n=this;Tt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.skypeId}),U(this,"get",funct
Line truncated
|
||||
object-assign
|
||||
(c) Sindre Sorhus
|
||||
@license MIT
|
||||
*/var i=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function l(u){if(u==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}function c(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de",Object.getOwnPropertyNames(u)[0]==="5")return!1;for(var d={},f=0;f<10;f++)d["_"+String.fromCharCode(f)]=f;var m=Object.getOwnPropertyNames(d).map(function(v){return d[v]});if(m.join("")!=="0123456789")return!1;var h={};return"abcdefghijklmnopqrst".split("").forEach(function(v){h[v]=v}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}n.exports=c()?Object.assign:function(u,d){for(var f,m=l(u),h,v=1;v<arguments.length;v++){f=Object(arguments[v]);for(var b in f)a.call(f,b)&&(m[b]=f[b]);if(i){h=i(f);for(var y=0;y<h.length;y++)s.call(f,h[y])&&(m[h[y]]=f[h[y]])}}return m}},function(n,r,o){var i=o(1),a=i;n.exports=a},function(n,r,o){var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";n.exports=i},function(n,r,o){var i={};n.exports=i},function(n,r,o){function i(a,s,l,c,u){}n.exports=i},function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(C){for(var $=1;$<arguments.length;$++){var E=arguments[$];for(var w in E)Object.prototype.hasOwnProperty.call(E,w)&&(C[w]=E[w])}return C},a=function(){function C($,E){for(var w=0;w<E.length;w++){var M=E[w];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty($,M.key,M)}}return function($,E,w){return E&&C($.prototype,E),w&&C($,w),$}}(),s=o(8),l=h(s),c=o(11),u=h(c),d=o(14),f=m(d);function m(C){if(C&&C.__esModule)return C;var $={};if(C!=null)for(var E in C)Object.prototype.hasOwnProperty.call(C,E)&&($[E]=C[E]);return $.default=C,$}function h(C){return C&&C.__esModule?C:{default:C}}function v(C,$){var E={};for(var w in C)$.indexOf(w)>=0||!Object.prototype.hasOwnProperty.call(C,w)||(E[w]=C[w]);return E}function b(C,$){if(!(C instanceof $))throw new TypeError("Cannot call a class as a function")}function y(C,$){if(!C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $&&(typeof $=="object"||typeof $=="function")?$:C}function x(C,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof $);C.prototype=Object.create($&&$.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),$&&(Object.setPrototypeOf?Object.setPrototypeOf(C,$):C.__proto__=$)}var S=function(C){x($,C);function $(){var E,w,M,T;b(this,$);for(var N=arguments.length,R=Array(N),F=0;F<N;F++)R[F]=arguments[F];return T=(w=(M=y(this,(E=$.__proto__||Object.getPrototypeOf($)).call.apply(E,[this].concat(R))),M),M.state={delayed:M.props.delay>0},w),y(M,T)}return a($,[{key:"componentDidMount",value:function(){var w=this,M=this.props.delay,T=this.state.delayed;T&&(this.timeout=setTimeout(function(){w.setState({delayed:!1})},M))}},{key:"componentWillUnmount",value:function(){var w=this.timeout;w&&clearTimeout(w)}},{key:"render",value:function(){var w=this.props,M=w.color;w.delay;var T=w.type,N=w.height,R=w.width,F=v(w,["color","delay","type","height","width"]),z=this.state.delayed?"blank":T,A=f[z],k={fill:M,height:N,width:R};return l.default.createElement("div",i({style:k,dangerouslySetInnerHTML:{__html:A}},F))}}]),$}(s.Component);S.propTypes={color:u.default.string,delay:u.default.number,type:u.default.string,height:u.default.oneOfType([u.default.string,u.default.number]),width:u.default.oneOfType([u.default.string,u.default.number])},S.defaultProps={color:"#fff",delay:0,type:"balls",height:64,width:64},r.default=S},function(n,r,o){n.exports=o(9)},function(n,r,o){/** @license React v16.3.2
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) 2013-present, Facebook, Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var i=o(2),a=o(0),s=o(5),l=o(1),c=typeof Symbol=="function"&&Symbol.for,u=c?Symbol.for("react.element"):60103,d=c?Symbol.for("react.portal"):60106,f=c?Symbol.for("react.fragment"):60107,m=c?Symbol.for("react.strict_mode"):60108,h=c?Symbol.for("react.provider"):60109,v=c?Symbol.for("react.context"):60110,b=c?Symbol.for("react.async_mode"):60111,y=c?Symbol.for("react.forward_ref"):60112,x=typeof Symbol=="function"&&Symbol.iterator;function S(j){for(var V=arguments.length-1,X="http://reactjs.org/docs/error-decoder.html?invariant="+j,K=0;K<V;K++)X+="&args[]="+encodeURIComponent(arguments[K+1]);a(!1,"Minified React error #"+j+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",X)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function $(j,V,X){this.props=j,this.context=V,this.refs=s,this.updater=X||C}$.prototype.isReactComponent={},$.prototype.setState=function(j,V){typeof j!="object"&&typeof j!="function"&&j!=null&&S("85"),this.updater.enqueueSetState(this,j,V,"setState")},$.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function E(){}E.prototype=$.prototype;function w(j,V,X){this.props=j,this.context=V,this.refs=s,this.updater=X||C}var M=w.prototype=new E;M.constructor=w,i(M,$.prototype),M.isPureReactComponent=!0;var T={current:null},N=Object.prototype.hasOwnProperty,R={key:!0,ref:!0,__self:!0,__source:!0};function F(j,V,X){var K=void 0,q={},te=null,ie=null;if(V!=null)for(K in V.ref!==void 0&&(ie=V.ref),V.key!==void 0&&(te=""+V.key),V)N.call(V,K)&&!R.hasOwnProperty(K)&&(q[K]=V[K]);var J=arguments.length-2;if(J===1)q.children=X;else if(1<J){for(var re=Array(J),fe=0;fe<J;fe++)re[fe]=arguments[fe+2];q.children=re}if(j&&j.defaultProps)for(K in J=j.defaultProps,J)q[K]===void 0&&(q[K]=J[K]);return{$$typeof:u,type:j,key:te,ref:ie,props:q,_owner:T.current}}function z(j){return typeof j=="object"&&j!==null&&j.$$typeof===u}function A(j){var V={"=":"=0",":":"=2"};return"$"+(""+j).replace(/[=:]/g,function(X){return V[X]})}var k=/\/+/g,_=[];function P(j,V,X,K){if(_.length){var q=_.pop();return q.result=j,q.keyPrefix=V,q.func=X,q.context=K,q.count=0,q}return{result:j,keyPrefix:V,func:X,context:K,count:0}}function O(j){j.result=null,j.keyPrefix=null,j.func=null,j.context=null,j.count=0,10>_.length&&_.push(j)}function L(j,V,X,K){var q=typeof j;(q==="undefined"||q==="boolean")&&(j=null);var te=!1;if(j===null)te=!0;else switch(q){case"string":case"number":te=!0;break;case"object":switch(j.$$typeof){case u:case d:te=!0}}if(te)return X(K,j,V===""?"."+I(j,0):V),1;if(te=0,V=V===""?".":V+":",Array.isArray(j))for(var ie=0;ie<j.length;ie++){q=j[ie];var J=V+I(q,ie);te+=L(q,J,X,K)}else if(j===null||typeof j>"u"?J=null:(J=x&&j[x]||j["@@iterator"],J=typeof J=="function"?J:null),typeof J=="function")for(j=J.call(j),ie=0;!(q=j.next()).done;)q=q.value,J=V+I(q,ie++),te+=L(q,J,X,K);else q==="object"&&(X=""+j,S("31",X==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":X,""));return te}function I(j,V){return typeof j=="object"&&j!==null&&j.key!=null?A(j.key):V.toString(36)}function H(j,V){j.func.call(j.context,V,j.count++)}function D(j,V,X){var K=j.result,q=j.keyPrefix;j=j.func.call(j.context,V,j.count++),Array.isArray(j)?B(j,K,X,l.thatReturnsArgument):j!=null&&(z(j)&&(V=q+(!j.key||V&&V.key===j.key?"":(""+j.key).replace(k,"$&/")+"/")+X,j={$$typeof:u,type:j.type,key:V,ref:j.ref,props:j.props,_owner:j._owner}),K.push(j))}function B(j,V,X,K,q){var te="";X!=null&&(te=(""+X).replace(k,"$&/")+"/"),V=P(V,te,K,q),j==null||L(j,"",D,V),O(V)}var W={Children:{map:function(j,V,X){if(j==null)return j;var K=[];return B(j,K,null,V,X),K},forEach:function(j,V,X){if(j==null)return j;V=P(null,null,V,X),j==null||L(j,"",H,V),O(V)},count:function(j){return j==null?0:L(j,"",l.thatReturnsNull,null)},toArray:function(j){var V=[];return B(j,V,null,l.thatReturnsArgument),V},only:function(j){return z(j)||S("143"),j}},createRef:function(){return{current:null}},Component:$,PureComponent:w,createContext:function(j,V){return V===void 0&&(V=null),j={$$typeof:v,_calculateChangedBits:V,_defaultValue:j,_currentValue:j,_changedBits:0,Provider:null,Consumer:null},j.Provider={$$typeof:h,_context:j},j.Consumer=j},forwardRef:function(j){return{$$typeof:y,render:j}},Fragment:f,StrictMode:m,unstable_AsyncMode:b,createElement:F,cloneElement:function(j,V,X){j==null&&S("267",j);var K=void 0,q=i({},j.props),te=j.key,ie=j.ref,J=j._owner;if(V!=null){V.ref!==void 0&&(ie=V.ref,J=T.current),V.key!==void 0&&(te=""+V.key);var re=void 0;j.type&&j.type.defaultProps&&(re=j.type.defaultProps);for(K in V)N.call(V,K)&&!R.hasOwnProperty(K)&&(q[K]=V[K]===void 0&&re!==void 0?re[K]:V[K])}if(K=arguments.length-2,K===1)q.children=X;else if(1<K){re=Array(K);for(var fe=0;fe<K;fe++)re[fe]=arguments[fe+2];q.children=re}return{$$typeof:u,type:j.type,key:te,ref:ie,props:q,_owner:J}},createFactory:Line truncated
|
||||
Valid keys: `+JSON.stringify(Object.keys(D),null," "));var J=ie(X,te,G,j,V+"."+te,c);if(J)return J}return null}return C(B)}function _(D){switch(typeof D){case"number":case"string":case"undefined":return!0;case"boolean":return!D;case"object":if(Array.isArray(D))return D.every(_);if(D===null||d(D))return!0;var B=v(D);if(B){var W=B.call(D),Y;if(B!==D.entries){for(;!(Y=W.next()).done;)if(!_(Y.value))return!1}else for(;!(Y=W.next()).done;){var G=Y.value;if(G&&!_(G[1]))return!1}}else return!1;return!0;default:return!1}}function P(D,B){return D==="symbol"||B["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&B instanceof Symbol}function O(D){var B=typeof D;return Array.isArray(D)?"array":D instanceof RegExp?"object":P(B,D)?"symbol":B}function L(D){if(typeof D>"u"||D===null)return""+D;var B=O(D);if(B==="object"){if(D instanceof Date)return"date";if(D instanceof RegExp)return"regexp"}return B}function I(D){var B=L(D);switch(B){case"array":case"object":return"an "+B;case"boolean":case"date":case"regexp":return"a "+B;default:return B}}function H(D){return!D.constructor||!D.constructor.name?b:D.constructor.name}return y.checkPropTypes=u,y.PropTypes=y,y}},function(n,r,o){var i=o(1),a=o(0),s=o(4);n.exports=function(){function l(d,f,m,h,v,b){b!==s&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}l.isRequired=l;function c(){return l}var u={array:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:c,element:l,instanceOf:c,node:l,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c};return u.checkPropTypes=i,u.PropTypes=u,u}},function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=o(15);Object.defineProperty(r,"blank",{enumerable:!0,get:function(){return h(i).default}});var a=o(16);Object.defineProperty(r,"balls",{enumerable:!0,get:function(){return h(a).default}});var s=o(17);Object.defineProperty(r,"bars",{enumerable:!0,get:function(){return h(s).default}});var l=o(18);Object.defineProperty(r,"bubbles",{enumerable:!0,get:function(){return h(l).default}});var c=o(19);Object.defineProperty(r,"cubes",{enumerable:!0,get:function(){return h(c).default}});var u=o(20);Object.defineProperty(r,"cylon",{enumerable:!0,get:function(){return h(u).default}});var d=o(21);Object.defineProperty(r,"spin",{enumerable:!0,get:function(){return h(d).default}});var f=o(22);Object.defineProperty(r,"spinningBubbles",{enumerable:!0,get:function(){return h(f).default}});var m=o(23);Object.defineProperty(r,"spokes",{enumerable:!0,get:function(){return h(m).default}});function h(v){return v&&v.__esModule?v:{default:v}}},function(n,r){n.exports=`<svg class="icon-blank" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>
|
||||
`},function(n,r){n.exports=`<svg class="icon-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<path transform="translate(-8 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||
<animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(2 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||
<animateTransform attributeName="transform" type="translate" values="2 0; 12 0; 12 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.35;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(12 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||
<animateTransform attributeName="transform" type="translate" values="12 0; 22 0; 22 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.45;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(24 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||
<animateTransform attributeName="transform" type="translate" values="22 0; 32 0; 32 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.55;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
</svg>
|
||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<path transform="translate(2)" d="M0 12 V20 H4 V12z">
|
||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(8)" d="M0 12 V20 H4 V12z">
|
||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.2" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(14)" d="M0 12 V20 H4 V12z">
|
||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.4" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(20)" d="M0 12 V20 H4 V12z">
|
||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.6" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(26)" d="M0 12 V20 H4 V12z">
|
||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.8" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
</svg>
|
||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<circle transform="translate(8 0)" cx="0" cy="16" r="0">
|
||||
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0"
|
||||
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="translate(16 0)" cx="0" cy="16" r="0">
|
||||
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0.3"
|
||||
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="translate(24 0)" cx="0" cy="16" r="0">
|
||||
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0.6"
|
||||
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
</svg>
|
||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<path transform="translate(-8 0)" d="M0 12 V20 H8 V12z">
|
||||
<animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(2 0)" d="M0 12 V20 H8 V12z">
|
||||
<animateTransform attributeName="transform" type="translate" values="2 0; 12 0; 12 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.35;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(12 0)" d="M0 12 V20 H8 V12z">
|
||||
<animateTransform attributeName="transform" type="translate" values="12 0; 22 0; 22 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.45;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(24 0)" d="M0 12 V20 H8 V12z">
|
||||
<animateTransform attributeName="transform" type="translate" values="22 0; 32 0; 32 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.55;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
</svg>
|
||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<path transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
||||
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path opacity="0.5" transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
||||
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0.1s" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path opacity="0.25" transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
||||
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0.2s" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
</svg>
|
||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<path opacity=".25" d="M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"/>
|
||||
<path d="M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z">
|
||||
<animateTransform attributeName="transform" type="rotate" from="0 16 16" to="360 16 16" dur="0.8s" repeatCount="indefinite" />
|
||||
</path>
|
||||
</svg>
|
||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<circle cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(45 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.125s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(90 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.25s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(135 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.375s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(180 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(225 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.625s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(270 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.75s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(315 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.875s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(180 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
</svg>
|
||||
`},function(n,r){n.exports=`<svg id="loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(0 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0"/>
|
||||
</path>
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(45 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.125s"/>
|
||||
</path>
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(90 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.25s"/>
|
||||
</path>
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(135 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.375s"/>
|
||||
</path>
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(180 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.5s"/>
|
||||
</path>
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(225 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.675s"/>
|
||||
</path>
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(270 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.75s"/>
|
||||
</path>
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(315 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.875s"/>
|
||||
</path>
|
||||
</svg>
|
||||
`}])})})(GP);const qP=hu(GP.exports);function Rp(e){window.runtime.LogInfo(e)}function Jse(e,t,n){return window.runtime.EventsOnMultiple(e,t,n)}function XP(e,t){return Jse(e,t,-1)}function QP(e,...t){return window.runtime.EventsOff(e,...t)}function ele(){window.runtime.WindowToggleMaximise()}function tle(){window.runtime.WindowMinimise()}function Xo(e){window.runtime.BrowserOpenURL(e)}function Xy(){window.runtime.Quit()}function nle(e,t){let n;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}}function rle(e){return g("div",{className:"wechat-SearchBar",children:g(Rb,{theme:{components:{Input:{activeBorderColor:"#E3E4E5",activeShadow:"#E3E4E5",hoverBorderColor:"#E3E4E5"}}},children:g(QM,{className:"wechat-SearchBar-Input",placeholder:"\u641C\u7D22",prefix:g(lv,{}),allowClear:!0,onChange:t=>e.onChange(t.target.value)})})})}function ole({className:e,userInfo:t,onClick:n,msg:r,date:o}){return Z("div",{className:`${e} wechat-UserItem`,onClick:n,tabIndex:"0","data-username":t.UserName,children:[g(oi,{className:"wechat-UserItem-content-Avatar",userInfo:t,size:"42"}),Z("div",{className:"wechat-UserItem-content",children:[g("div",{className:"wechat-UserItem-content-text wechat-UserItem-content-name",children:t.ReMark||t.NickName||t.Alias||""}),g("div",{className:"wechat-UserItem-content-text wechat-UserItem-content-msg",children:r})]}),g("div",{className:"wechat-UserItem-date",children:o})]})}function ile({className:e,userInfo:t,onClick:n}){return Z("div",{className:`${e} wechat-UserItem wechat-ContactItem`,onClick:n,tabIndex:"0","data-username":t.UserName,children:[g(oi,{className:"wechat-UserItem-content-Avatar",userInfo:t,size:"42"}),g("div",{className:"wechat-UserItem-content wechat-ContactItem-content",children:g("div",{className:"wechat-UserItem-content-text wechat-UserItem-content-name",children:t.ReMark||t.NickName||t.Alias||""})})]})}function ale(e){const t=new Date(e*1e3),n=t.getFullYear(),r=t.getMonth()+1,o=t.getDate();return t.getHours(),t.getMinutes(),t.getSeconds(),`${n-2e3}/${r}/${o}`}function sle(e){const[t,n]=p.exports.useState(null),[r,o]=p.exports.useState(0),[i,a]=p.exports.useState(!0),[s,l]=p.exports.useState([]),[c,u]=p.exports.useState(""),d=p.exports.useRef(!1),f=(v,b)=>{n(v),e.onClickItem&&e.onClickItem(b)};p.exports.useEffect(()=>{d.current||(d.current=!0,i&&e.selfName!==""&&(console.log("GetWechatSessionList",r),e.session?Kse(r,100).then(v=>{var b=JSON.parse(v);if(b.Total>0){let y=[];b.Rows.forEach(x=>{x.UserName.startsWith("gh_")||y.push(x)}),l(x=>[...x,...y]),o(x=>x+1)}else a(!1);d.current=!1}):Hse(r,800).then(v=>{var b=JSON.parse(v);if(b.Total>0){let y=[];b.Users.forEach(x=>{if(!x.UserName.startsWith("gh_")){const S=new Date;x.Time=parseInt(S.getTime()/1e3),y.push(x)}}),l(x=>[...x,...y]),o(x=>x+1)}else a(!1);d.current=!1})))},[r,i,e.selfName]);const m=p.exports.useCallback(nle(v=>{console.log(v),u(v)},400),[]),h=s.filter(v=>v.NickName.includes(c)||v.ReMark!==void 0&&v.ReMark.includes(c));return Z("div",{className:"wechat-UserList",onClick:e.onClick,children:[g(rle,{onChange:m}),c.length===0&&h.length===0&&(e.isLoading||d.current===!0)&&g(qP,{className:"wechat-UserList-Loading",type:"bars",color:"#07C160"}),Z("div",{className:"wechat-UserList-Items",children:[h.map((v,b)=>e.session?g(ole,{className:t===b?"selectedItem":"",onClick:()=>{f(b,v)},userInfo:v.UserInfo,msg:v.Content,date:ale(v.Time)},v.UserName):g(ile,{className:t===b?"selectedItem":"",onClick:()=>{f(b,v)},userInfo:v},v.UserName)),g("div",{className:"wechat-UserList-End",children:"- \u5DF2\u7ECF\u5230\u5E95\u5566 -"})]})]})}function ZP(e,t){return function(){return e.apply(t,arguments)}}const{toString:lle}=Object.prototype,{getPrototypeOf:Bx}=Object,bm=(e=>t=>{const n=lle.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Eo=e=>(e=e.toLowerCase(),t=>bm(t)===e),xm=e=>t=>typeof t===e,{isArray:Tl}=Array,pu=xm("undefined");function cle(e){return e!==null&&!pu(e)&&e.constructor!==null&&!pu(e.constructor)&&Er(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const JP=Eo("ArrayBuffer");function ule(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&JP(e.buffer),t}const dle=xm("string"),Er=xm("function"),eT=xm("number"),Sm=e=>e!==null&&typeof e=="object",fle=e=>e===!0||e===!1,Sf=e=>{if(bm(e)!=="object")return!1;const t=Bx(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ple=Eo("Date"),vle=Eo("File"),mle=Eo("Blob"),hle=Eo("FileList"),gle=e=>Sm(e)&&Er(e.pipe),yle=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Er(e.append)&&((t=bm(e))==="formdata"||t==="object"&&Er(e.toString)&&e.toString()==="[object FormData]"))},ble=Eo("URLSearchParams"),[xle,Sle,Cle,wle]=["ReadableStream","Request","Response","Headers"].map(Eo),$le=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qu(e,t,{allOwnKeys:n=!1}={}){if(
Line truncated
|
||||
`).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||t[n]&&uce[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},s4=Symbol("internals");function tc(e){return e&&String(e).trim().toLowerCase()}function Cf(e){return e===!1||e==null?e:ce.isArray(e)?e.map(Cf):String(e)}function fce(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const pce=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function wg(e,t,n,r,o){if(ce.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!ce.isString(t)){if(ce.isString(r))return t.indexOf(r)!==-1;if(ce.isRegExp(r))return r.test(t)}}function vce(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function mce(e,t){const n=ce.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,a){return this[r].call(this,t,o,i,a)},configurable:!0})})}class wm{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(s,l,c){const u=tc(l);if(!u)throw new Error("header name must be a non-empty string");const d=ce.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=Cf(s))}const a=(s,l)=>ce.forEach(s,(c,u)=>i(c,u,l));if(ce.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(ce.isString(t)&&(t=t.trim())&&!pce(t))a(dce(t),n);else if(ce.isHeaders(t))for(const[s,l]of t.entries())i(l,s,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=tc(t),t){const r=ce.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return fce(o);if(ce.isFunction(n))return n.call(this,o,r);if(ce.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=tc(t),t){const r=ce.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||wg(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(a){if(a=tc(a),a){const s=ce.findKey(r,a);s&&(!n||wg(r,r[s],s,n))&&(delete r[s],o=!0)}}return ce.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||wg(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return ce.forEach(this,(o,i)=>{const a=ce.findKey(r,i);if(a){n[a]=Cf(o),delete n[i];return}const s=t?vce(i):String(i).trim();s!==i&&delete n[i],n[s]=Cf(o),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ce.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&ce.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[s4]=this[s4]={accessors:{}}).accessors,o=this.prototype;function i(a){const s=tc(a);r[s]||(mce(o,a),r[s]=!0)}return ce.isArray(t)?t.forEach(i):i(t),this}}wm.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ce.reduceDescriptors(wm.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});ce.freezeMethods(wm);const ho=wm;function $g(e,t){const n=this||Wx,r=t||n,o=ho.from(r.headers);let i=r.data;return ce.forEach(e,function(s){i=s.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function pT(e){return!!(e&&e.__CANCEL__)}function Rl(e,t,n){dt.call(this,e==null?"canceled":e,dt.ERR_CANCELED,t,n),this.name="CanceledError"}ce.inherits(Rl,dt,{__CANCEL__:!0});function vT(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new dt("Request failed with status code "+n.status,[dt.ERR_BAD_REQUEST,dt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function hce(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function gce(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[i];a||(a=c),n[o]=l,r[o]=c;let d=i,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-a<t)return;const m=u&&c-u;return m?Math.round(f*1e3/m):void 0}}function yce(e,t){let n=0,r=1e3/t,o,i;const a=(c,u=Date.now())=>{n=u,o=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?a(c,u):(o=c,i||(i=setTimeout(()=>{i=null,a(o)},r-d)))},()=>o&&a(o)]}const Np=(e,t,n=3)=>{let r=0;const o=gce(50,250);return yce(i=>{const a=i.loaded,s=i.lengthComputable?i.total:void 0,l=a-r,c=o(l),u=a<=s;r=a;const d={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-a)/c:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},l4=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},c4=e=>(...t)=>ce.asap(()=>e(...t)),bce=fr.hasStandardBrowserEnv?function(){const t=fr.navigator&&/(msie|trident)/i.test(fr.navigator.userAgent),n=document.createElement("a");let r;function o(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(a){const s=ce.isString(a)?o(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),xce=fr.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];ce.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ce.isString(r)&&a.push("path="+r),ce.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Sce(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Cce(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function mT(e,t){return e&&!Sce(t)?Cce(e,t):t}const u4=e=>e instanceof ho?{...e}:e;function ja(e,t){t=t||{};const n={};function r(c,u,d){return ce.isPlainObject(c)&&ce.isPlainObject(u)?ce.merge.call({caseless:d},c,u):ce.isPlainObject(u)?ce.merge({},u):ce.isArray(u)?u.slice():u}function o(c,u,d){if(ce.isUndefined(u)){if(!ce.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function i(c,u){if(!ce.isUndefined(u))return r(void 0,u)}function a(c,u){if(ce.isUndefined(u)){if(!ce.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function s(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>o(u4(c),u4(u),!0)};return ce.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||o,f=d(e[u],t[u],u);ce.isUndefined(f)&&d!==s||(n[u]=f)}),n}const hT=e=>{const t=ja({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;t.headers=a=ho.from(a),t.url=uT(mT(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.pas
Line truncated
|
||||
`+i.map(p4).join(`
|
||||
`):" "+p4(i[0]):"as no adapter specified";throw new dt("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:t1};function Eg(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Rl(null,e)}function v4(e){return Eg(e),e.headers=ho.from(e.headers),e.data=$g.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),bT.getAdapter(e.adapter||Wx.adapter)(e).then(function(r){return Eg(e),r.data=$g.call(e,e.transformResponse,r),r.headers=ho.from(r.headers),r},function(r){return pT(r)||(Eg(e),r&&r.response&&(r.response.data=$g.call(e,e.transformResponse,r.response),r.response.headers=ho.from(r.response.headers))),Promise.reject(r)})}const xT="1.7.7",Ux={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ux[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const m4={};Ux.transitional=function(t,n,r){function o(i,a){return"[Axios v"+xT+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,s)=>{if(t===!1)throw new dt(o(a," has been removed"+(n?" in "+n:"")),dt.ERR_DEPRECATED);return n&&!m4[a]&&(m4[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function kce(e,t,n){if(typeof e!="object")throw new dt("options must be an object",dt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new dt("option "+i+" must be "+l,dt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new dt("Unknown option "+i,dt.ERR_BAD_OPTION)}}const n1={assertOptions:kce,validators:Ux},yi=n1.validators;class Ap{constructor(t){this.defaults=t,this.interceptors={request:new a4,response:new a4}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||||
`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ja(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&n1.assertOptions(r,{silentJSONParsing:yi.transitional(yi.boolean),forcedJSONParsing:yi.transitional(yi.boolean),clarifyTimeoutError:yi.transitional(yi.boolean)},!1),o!=null&&(ce.isFunction(o)?n.paramsSerializer={serialize:o}:n1.assertOptions(o,{encode:yi.function,serialize:yi.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&ce.merge(i.common,i[n.method]);i&&ce.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=ho.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let u,d=0,f;if(!l){const h=[v4.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,c),f=h.length,u=Promise.resolve(n);d<f;)u=u.then(h[d++],h[d++]);return u}f=s.length;let m=n;for(d=0;d<f;){const h=s[d++],v=s[d++];try{m=h(m)}catch(b){v.call(this,b);break}}try{u=v4.call(this,m)}catch(h){return Promise.reject(h)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=ja(this.defaults,t);const n=mT(t.baseURL,t.url);return uT(n,t.params,t.paramsSerializer)}}ce.forEach(["delete","get","head","options"],function(t){Ap.prototype[t]=function(n,r){return this.request(ja(r||{},{method:t,url:n,data:(r||{}).data}))}});ce.forEach(["post","put","patch"],function(t){function n(r){return function(i,a,s){return this.request(ja(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Ap.prototype[t]=n(),Ap.prototype[t+"Form"]=n(!0)});const wf=Ap;class Yx{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(s=>{r.subscribe(s),i=s}).then(o);return a.cancel=function(){r.unsubscribe(i)},a},t(function(i,a,s){r.reason||(r.reason=new Rl(i,a,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Yx(function(o){t=o}),cancel:t}}}const Fce=Yx;function Lce(e){return function(n){return e.apply(null,n)}}function zce(e){return ce.isObject(e)&&e.isAxiosError===!0}const r1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(r1).forEach(([e,t])=>{r1[t]=e});const Bce=r1;function ST(e){const t=new wf(e),n=ZP(wf.prototype.request,t);return ce.extend(n,wf.prototype,t,{allOwnKeys:!0}),ce.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return ST(ja(e,o))},n}const pn=ST(Wx);pn.Axios=wf;pn.CanceledError=Rl;pn.CancelToken=Fce;pn.isCancel=pT;pn.VERSION=xT;pn.toFormData=Cm;pn.AxiosError=dt;pn.Cancel=pn.CanceledError;pn.all=function(t){return Promise.all(t)};pn.spread=Lce;pn.isAxiosError=zce;pn.mergeConfig=ja;pn.AxiosHeaders=ho;pn.formToJSON=e=>fT(ce.isHTMLForm(e)?new FormData(e):e);pn.getAdapter=bT.getAdapter;pn.HttpStatusCode=Bce;pn.default=pn;const jce=pn;const Hce=({isOpen:e,closeModal:t,elem:n})=>{const r=o=>{t&&t()};return Z("div",{className:"MessageModal-Parent",children:[g("div",{}),g(Co,{className:"MessageModal",overlayClassName:"MessageModal-Overlay"
Line truncated
|
||||
happen because the element may not have been added to DOM yet.
|
||||
See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.
|
||||
`),null)},r.onStart=function(o){r.lastScrollTop||(r.dragging=!0,o instanceof MouseEvent?r.startY=o.pageY:o instanceof TouchEvent&&(r.startY=o.touches[0].pageY),r.currentY=r.startY,r._infScroll&&(r._infScroll.style.willChange="transform",r._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},r.onMove=function(o){!r.dragging||(o instanceof MouseEvent?r.currentY=o.pageY:o instanceof TouchEvent&&(r.currentY=o.touches[0].pageY),!(r.currentY<r.startY)&&(r.currentY-r.startY>=Number(r.props.pullDownToRefreshThreshold)&&r.setState({pullToRefreshThresholdBreached:!0}),!(r.currentY-r.startY>r.maxPullDownDistance*1.5)&&r._infScroll&&(r._infScroll.style.overflow="visible",r._infScroll.style.transform="translate3d(0px, "+(r.currentY-r.startY)+"px, 0px)")))},r.onEnd=function(){r.startY=0,r.currentY=0,r.dragging=!1,r.state.pullToRefreshThresholdBreached&&(r.props.refreshFunction&&r.props.refreshFunction(),r.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame(function(){r._infScroll&&(r._infScroll.style.overflow="auto",r._infScroll.style.transform="none",r._infScroll.style.willChange="unset")})},r.onScrollListener=function(o){typeof r.props.onScroll=="function"&&setTimeout(function(){return r.props.onScroll&&r.props.onScroll(o)},0);var i=r.props.height||r._scrollableNode?o.target:document.documentElement.scrollTop?document.documentElement:document.body;if(!r.actionTriggered){var a=r.props.inverse?r.isElementAtTop(i,r.props.scrollThreshold):r.isElementAtBottom(i,r.props.scrollThreshold);a&&r.props.hasMore&&(r.actionTriggered=!0,r.setState({showLoader:!0}),r.props.next&&r.props.next()),r.lastScrollTop=i.scrollTop}},r.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:n.dataLength},r.throttledOnScrollListener=Jce(150,r.onScrollListener).bind(r),r.onStart=r.onStart.bind(r),r.onMove=r.onMove.bind(r),r.onEnd=r.onEnd.bind(r),r}return t.prototype.componentDidMount=function(){if(typeof this.props.dataLength>"u")throw new Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),typeof this.props.initialScrollY=="number"&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),typeof this.props.refreshFunction!="function"))throw new Error(`Mandatory prop "refreshFunction" missing.
|
||||
Pull Down To Refresh functionality will not work
|
||||
as expected. Check README.md for usage'`)},t.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)))},t.prototype.componentDidUpdate=function(n){this.props.dataLength!==n.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},t.getDerivedStateFromProps=function(n,r){var o=n.dataLength!==r.prevDataLength;return o?Ic(Ic({},r),{prevDataLength:n.dataLength}):null},t.prototype.isElementAtTop=function(n,r){r===void 0&&(r=.8);var o=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,i=y4(r);return i.unit===qs.Pixel?n.scrollTop<=i.value+o-n.scrollHeight+1:n.scrollTop<=i.value/100+o-n.scrollHeight+1},t.prototype.isElementAtBottom=function(n,r){r===void 0&&(r=.8);var o=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,i=y4(r);return i.unit===qs.Pixel?n.scrollTop+o>=n.scrollHeight-i.value:n.scrollTop+o>=i.value/100*n.scrollHeight},t.prototype.render=function(){var n=this,r=Ic({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),o=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),i=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return g("div",{style:i,className:"infinite-scroll-component__outerdiv",children:Z("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(a){return n._infScroll=a},style:r,children:[this.props.pullDownToRefresh&&g("div",{style:{position:"relative"},ref:function(a){return n._pullDown=a},children:g("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance},children:this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent})}),this.props.children,!this.state.showLoader&&!o&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage]})})},t}(p.exports.Component);const eue=p.exports.forwardRef((e,t)=>{let n=!1,r=!1;e.message.position==="middle"?n=!0:r=e.message.position!=="right";const o=p.exports.useMemo(()=>e.renderMessageContent(e.message),[e.message]);return Z("div",{className:"MessageBubble",id:e.id,ref:t,children:[g("time",{className:"Time",dateTime:Ht(e.message.createdAt).format(),children:Ht(e.message.createdAt*1e3).format("YYYY\u5E74M\u6708D\u65E5 HH:mm")}),n?o:Z("div",{className:"MessageBubble-content"+(r?"-left":"-right"),children:[g("div",{className:"MessageBubble-content-Avatar",children:r&&g(oi,{className:"MessageBubble-Avatar-left",userInfo:e.message.userInfo,size:"40",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF"})}),Z("div",{className:"Bubble"+(r?"-left":"-right"),children:[g("div",{className:"MessageBubble-Name"+(r?"-left":"-right"),truncate:1,children:e.message.userInfo.ReMark||e.message.userInfo.NickName||e.message.userInfo.Alias||""}),o]}),g("div",{className:"MessageBubble-content-Avatar",children:!r&&g(oi,{className:"MessageBubble-Avatar-right",userInfo:e.message.userInfo,size:"40",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF"})})]})]})});function tue(e){const t=p.exports.useRef(),n=p.exports.useRef(0),r=p.exports.useRef(null),o=a=>{a.srcElement.scrollTop>0&&a.srcElement.scrollTop<1&&(a.srcElement.scrollTop=0),a.srcElement.scrollTop===0?(n.current=a.srcElement.scrollHeight,r.current=a.srcElement,e.atBottom&&e.atBottom()):(n.current=0,r.current=null)};function i(){e.next()}return p.exports.useEffect(()=>{n.current!==0&&r.current&&(r.current.scrollTop=-(r.current.scrollHeight-n.current),n.current=0,r.current=null)},[e.messages]),p.exports.useEffect(()=>{t.current&&t.current.scrollIntoView()},[e.messages]),g("div",{id:"scrollableDiv",children:g(Kx,{scrollableTarget:"scrollableDiv",dataLength:e.messages.length,next:i,hasMore:e.hasMore,inverse:!0,onScroll:o,children:e.messages.map(a=>g(eue,{message:a,renderMessageContent:e.renderMessageContent,id:a.key,ref:a.key===e.scrollIntoId?t:null},a.key))})})}function nue(e){return g("div",{className:"ChatUi",children:g(tue,{messages:e.messages,next:e.fetchMoreData,hasMore:e.hasMore,renderMessageContent:e.renderMessageContent,atBottom:e.atBottom,scrollIntoId:e.scrollIntoId})})}function Gx(e){const[t,n]=p.exports.useState(e);return{messages:t,prependMsgs:a=>{n(a.concat(t))},appendMsgs:a=>{n(t.concat(a))},setMsgs:a=>{n(a)}}}const CT="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQ
Line truncated
|
||||
`).forEach((c,u)=>{u>0&&i.push(g("br",{},`${s}-${u}`)),i.push(c)}):i.push(a)}),i};function Ac(e){const t=p.exports.useMemo(()=>ufe(x4),[]),[n,r]=p.exports.useState([]);return p.exports.useEffect(()=>{const o=dfe(e.text,x4,t);r(o)},[e.text,t]),g(hq,{className:"CardMessageText "+e.className,size:"small",children:g(At,{children:n})})}const ffe=e=>!!e&&e[0]==="o",S4=pr.exports.unstable_batchedUpdates||(e=>e()),hs=(e,t,n=1e-4)=>Math.abs(e-t)<n,i1=(e,t)=>e===!0||!!(e&&e[t]),go=(e,t)=>typeof e=="function"?e(t):e,qx=(e,t)=>(t&&Object.keys(t).forEach(n=>{const r=e[n],o=t[n];typeof o=="function"&&r?e[n]=(...i)=>{o(...i),r(...i)}:e[n]=o}),e),pfe=e=>{if(typeof e!="string")return{top:0,right:0,bottom:0,left:0};const t=e.trim().split(/\s+/,4).map(parseFloat),n=isNaN(t[0])?0:t[0],r=isNaN(t[1])?n:t[1];return{top:n,right:r,bottom:isNaN(t[2])?n:t[2],left:isNaN(t[3])?r:t[3]}},Og=e=>{for(;e;){if(e=e.parentNode,!e||e===document.body||!e.parentNode)return;const{overflow:t,overflowX:n,overflowY:r}=getComputedStyle(e);if(/auto|scroll|overlay|hidden/.test(t+r+n))return e}};function wT(e,t){return{"aria-disabled":e||void 0,tabIndex:t?0:-1}}function C4(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return n;return-1}const _p=({block:e,element:t,modifiers:n,className:r})=>p.exports.useMemo(()=>{const o=t?`${e}__${t}`:e;let i=o;n&&Object.keys(n).forEach(s=>{const l=n[s];l&&(i+=` ${o}--${l===!0?s:`${s}-${l}`}`)});let a=typeof r=="function"?r(n):r;return typeof a=="string"&&(a=a.trim(),a&&(i+=` ${a}`)),i},[e,t,n,r]),vfe="szh-menu-container",$f="szh-menu",mfe="arrow",hfe="item",$T=p.exports.createContext(),ET=p.exports.createContext({}),w4=p.exports.createContext({}),OT=p.exports.createContext({}),gfe=p.exports.createContext({}),Xx=p.exports.createContext({}),Yo=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),mn=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),vu=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),$4=Object.freeze({FIRST:"first",LAST:"last"}),Mg="absolute",yfe="presentation",MT="menuitem",E4={"aria-hidden":!0,role:MT},bfe=({className:e,containerRef:t,containerProps:n,children:r,isOpen:o,theming:i,transition:a,onClose:s})=>{const l=i1(a,"item");return g("div",{...qx({onKeyDown:({key:d})=>{switch(d){case Yo.ESC:go(s,{key:d,reason:vu.CANCEL});break}},onBlur:d=>{o&&!d.currentTarget.contains(d.relatedTarget)&&go(s,{reason:vu.BLUR})}},n),className:_p({block:vfe,modifiers:p.exports.useMemo(()=>({theme:i,itemTransition:l}),[i,l]),className:e}),style:{position:"absolute",...n==null?void 0:n.style},ref:t,children:r})},xfe=()=>{let e,t=0;return{toggle:n=>{n?t++:t--,t=Math.max(t,0)},on:(n,r,o)=>{t?e||(e=setTimeout(()=>{e=0,r()},n)):o==null||o()},off:()=>{e&&(clearTimeout(e),e=0)}}},Sfe=(e,t)=>{const[n,r]=p.exports.useState(),i=p.exports.useRef({items:[],hoverIndex:-1,sorted:!1}).current,a=p.exports.useCallback((l,c)=>{const{items:u}=i;if(!l)i.items=[];else if(c)u.push(l);else{const d=u.indexOf(l);d>-1&&(u.splice(d,1),l.contains(document.activeElement)&&(t.current.focus(),r()))}i.hoverIndex=-1,i.sorted=!1},[i,t]),s=p.exports.useCallback((l,c,u)=>{const{items:d,hoverIndex:f}=i,m=()=>{if(i.sorted)return;const b=e.current.querySelectorAll(".szh-menu__item");d.sort((y,x)=>C4(b,y)-C4(b,x)),i.sorted=!0};let h=-1,v;switch(l){case mn.RESET:break;case mn.SET:v=c;break;case mn.UNSET:v=b=>b===c?void 0:b;break;case mn.FIRST:m(),h=0,v=d[h];break;case mn.LAST:m(),h=d.length-1,v=d[h];break;case mn.SET_INDEX:m(),h=u,v=d[h];break;case mn.INCREASE:m(),h=f,h<0&&(h=d.indexOf(c)),h++,h>=d.length&&(h=0),v=d[h];break;case mn.DECREASE:m(),h=f,h<0&&(h=d.indexOf(c)),h--,h<0&&(h=d.length-1),v=d[h];break}v||(h=-1),r(v),i.hoverIndex=h},[e,i]);return{hoverItem:n,dispatch:s,updateItems:a}},Cfe=(e,t,n,r)=>{const o=t.current.getBoundingClientRect(),i=e.current.getBoundingClientRect(),a=n===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:n.getBoundingClientRect(),s=pfe(r),l=h=>h+i.left-a.left-s.left,c=h=>h+i.left+o.width-a.right+s.right,u=h=>h+i.top-a.top-s.top,d=h=>h+i.top+o.height-a.bottom+s.bottom;return{menuRect:o,containerRect:i,getLeftOverflow:l,getRightOverflow:c,getTopOverflow:u,getBottomOverflow:d,confineHorizontally:h=>{let v=l(h);if(v<0)h-=v;else{const b=c(h);b>0&&(h-=b,v=l(h),v<0&&(h-=v))}return h},confineVertically:h=>{let v=u(h);if(v<0)h-=v;else{const b=d(h);b>0&&(h-=b,v=u(h),v<0&&(h-=v))}return h}}},wfe=({arrowRef:e,menuY:t,anchorRect:n,containerRect:r,menuRect:o})=>{let i=n.top-r.top-t+n.height/2;const a=e.current.offsetHeight*1.25;return i=Math.max(a,i),i=Math.min(i,o.height-a),i},$fe=({anchorRect:e,containerRect:t,menuRect:n,placeLeftorRightY:r,placeLeftX:o,placeRightX:i,getLeftOverflow:a,getRightOverflow:s,confineHorizontally:l,confineVertically:c,arrowRef:u,arrow:d,direction:f,position:m})=>{let h=f,v=r;m!=="initial"&&(v=c(v),m==="anchor"&&(v=Math.min(v,e
Line truncated
|
||||
* clipboard.js v2.0.11
|
||||
* https://clipboardjs.com/
|
||||
*
|
||||
* Licensed MIT © Zeno Rocha
|
||||
*/(function(e,t){(function(r,o){e.exports=o()})(Hn,function(){return function(){var n={686:function(i,a,s){s.d(a,{default:function(){return H}});var l=s(279),c=s.n(l),u=s(370),d=s.n(u),f=s(817),m=s.n(f);function h(D){try{return document.execCommand(D)}catch{return!1}}var v=function(B){var W=m()(B);return h("cut"),W},b=v;function y(D){var B=document.documentElement.getAttribute("dir")==="rtl",W=document.createElement("textarea");W.style.fontSize="12pt",W.style.border="0",W.style.padding="0",W.style.margin="0",W.style.position="absolute",W.style[B?"right":"left"]="-9999px";var Y=window.pageYOffset||document.documentElement.scrollTop;return W.style.top="".concat(Y,"px"),W.setAttribute("readonly",""),W.value=D,W}var x=function(B,W){var Y=y(B);W.container.appendChild(Y);var G=m()(Y);return h("copy"),Y.remove(),G},S=function(B){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},Y="";return typeof B=="string"?Y=x(B,W):B instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(B==null?void 0:B.type)?Y=x(B.value,W):(Y=m()(B),h("copy")),Y},C=S;function $(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$=function(W){return typeof W}:$=function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},$(D)}var E=function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},W=B.action,Y=W===void 0?"copy":W,G=B.container,j=B.target,V=B.text;if(Y!=="copy"&&Y!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(j!==void 0)if(j&&$(j)==="object"&&j.nodeType===1){if(Y==="copy"&&j.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(Y==="cut"&&(j.hasAttribute("readonly")||j.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(V)return C(V,{container:G});if(j)return Y==="cut"?b(j):C(j,{container:G})},w=E;function M(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(W){return typeof W}:M=function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},M(D)}function T(D,B){if(!(D instanceof B))throw new TypeError("Cannot call a class as a function")}function N(D,B){for(var W=0;W<B.length;W++){var Y=B[W];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(D,Y.key,Y)}}function R(D,B,W){return B&&N(D.prototype,B),W&&N(D,W),D}function F(D,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(B&&B.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),B&&z(D,B)}function z(D,B){return z=Object.setPrototypeOf||function(Y,G){return Y.__proto__=G,Y},z(D,B)}function A(D){var B=P();return function(){var Y=O(D),G;if(B){var j=O(this).constructor;G=Reflect.construct(Y,arguments,j)}else G=Y.apply(this,arguments);return k(this,G)}}function k(D,B){return B&&(M(B)==="object"||typeof B=="function")?B:_(D)}function _(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function P(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function O(D){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(W){return W.__proto__||Object.getPrototypeOf(W)},O(D)}function L(D,B){var W="data-clipboard-".concat(D);if(!!B.hasAttribute(W))return B.getAttribute(W)}var I=function(D){F(W,D);var B=A(W);function W(Y,G){var j;return T(this,W),j=B.call(this),j.resolveOptions(G),j.listenClick(Y),j}return R(W,[{key:"resolveOptions",value:function(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof G.action=="function"?G.action:this.defaultAction,this.target=typeof G.target=="function"?G.target:this.defaultTarget,this.text=typeof G.text=="function"?G.text:this.defaultText,this.container=M(G.container)==="object"?G.container:document.body}},{key:"listenClick",value:function(G){var j=this;this.listener=d()(G,"click",function(V){return j.onClick(V)})}},{key:"onClick",value:function(G){var j=G.delegateTarget||G.currentTarget,V=this.action(j)||"copy",X=w({action:V,container:this.container,target:this.target(j),text:this.text(j)});this.emit(X?"success":"error",{action:V,text:X,trigger:j,clearSelection:function(){j&&j.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(G){return L("action",G)}},{key:"defaultTarget",value:function(G){var j=L("target",G);if(j)return document.querySelector(j)}},{key:"defaultText",value:function(G){return L("text",G)}},{key:"destroy",value:functLine truncated
|
||||
position: relative;
|
||||
width: -moz-fit-content;
|
||||
width: fit-content;
|
||||
height: -moz-fit-content;
|
||||
height: fit-content;
|
||||
overflow: hidden;
|
||||
-webkit-touch-callout: none; /* iOS Safari */
|
||||
-webkit-user-select: none; /* Safari */
|
||||
-khtml-user-select: none; /* Konqueror HTML */
|
||||
-moz-user-select: none; /* Firefox */
|
||||
-ms-user-select: none; /* Internet Explorer/Edge */
|
||||
user-select: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.transform-component-module_content__FBWxo {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
width: -moz-fit-content;
|
||||
width: fit-content;
|
||||
height: -moz-fit-content;
|
||||
height: fit-content;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
transform-origin: 0% 0%;
|
||||
}
|
||||
.transform-component-module_content__FBWxo img {
|
||||
pointer-events: none;
|
||||
}
|
||||
`,k4={wrapper:"transform-component-module_wrapper__SPB86",content:"transform-component-module_content__FBWxo"};Wpe(Upe);var Ype=function(e){var t=e.children,n=e.wrapperClass,r=n===void 0?"":n,o=e.contentClass,i=o===void 0?"":o,a=e.wrapperStyle,s=e.contentStyle,l=e.wrapperProps,c=l===void 0?{}:l,u=e.contentProps,d=u===void 0?{}:u,f=p.exports.useContext(Jx),m=f.init,h=f.cleanupWindowEvents,v=p.exports.useRef(null),b=p.exports.useRef(null);return p.exports.useEffect(function(){var y=v.current,x=b.current;return y!==null&&x!==null&&m&&(m==null||m(y,x)),function(){h==null||h()}},[]),g("div",{...zi({},c,{ref:v,className:"".concat(s1.wrapperClass," ").concat(k4.wrapper," ").concat(r),style:a}),children:g("div",{...zi({},d,{ref:b,className:"".concat(s1.contentClass," ").concat(k4.content," ").concat(i),style:s}),children:t})})};const Kpe="/assets/errorImg.719abbab.png",Ls=43,GT=1,qT=2,XT=3;function Gpe(e){const t=n=>{n==="up"&&e.upDisable||n==="down"&&e.downDisable||e.ButtonEvent&&e.ButtonEvent(n)};return g("div",{className:"MediaViewModal-body-Bar",children:Z("div",{className:"MediaViewModal-Bar-body",children:[Z("div",{className:"MediaViewModal-Bar-func",children:[g("div",{className:`MediaViewModal-Bar-Icon${e.upDisable?"-disable":""}`,onClick:()=>t("up"),title:"\u4E0A\u4E00\u5F20",children:g(P3,{})}),g("div",{className:`MediaViewModal-Bar-Icon${e.downDisable?"-disable":""}`,onClick:()=>t("down"),title:"\u4E0B\u4E00\u5F20",children:g(W_,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("zoomIn"),title:"\u653E\u5927",children:g(B3,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("zoomOut"),title:"\u7F29\u5C0F",children:g(j3,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("origin"),title:"\u9002\u5E94\u7A97\u53E3\u5927\u5C0F",children:g(z7,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("left"),title:"\u5DE6\u8F6C",children:g(F3,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("right"),title:"\u53F3\u8F6C",children:g(L3,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("flipX"),title:"\u6C34\u5E73\u7FFB\u8F6C",children:g(eu,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("flipY"),title:"\u5782\u76F4\u7FFB\u8F6C",children:g(eu,{style:{transform:"rotate(90deg)"}})}),g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("save"),title:"\u4FDD\u5B58\u5230\u672C\u5730",children:g(R3,{})})]}),g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("close"),title:"\u5173\u95ED",children:g(Tr,{className:"MediaViewModal-Bar-Icon"})})]})})}function qpe({msg:e}){const[t,n]=p.exports.useState(!0),r=p.exports.useRef(null),o=()=>{r.current&&(r.current.src=Kpe)},i=()=>{if(r.current){const{naturalWidth:a,naturalHeight:s}=r.current;n(a<s)}};return Z("div",{className:"MediaView-thumb-div",children:[g("img",{className:"MediaView-thumb",ref:r,src:e.content.ThumbPath,onError:o,onLoad:i,style:{width:t?"100px":"auto",height:t?"auto":"100px"}}),e.content.type===Ls&&g("div",{className:"MediaView-thumb-mask",children:g("div",{className:"MediaView-thumb-mask-icon-div",children:g(D3,{className:"MediaView-thumb-mask-icon"})})})]})}function Xpe({src:e,onError:t,isPlay:n}){const r=p.exports.useRef(null),[o,i]=p.exports.useState(n),[a,s]=p.exports.useState(0),[l,c]=p.exports.useState(1),[u,d]=p.exports.useState(!1),[f,m]=p.exports.useState(!1),[h,v]=p.exports.useState(!1),[b,y]=p.exports.useState("00:00"),[x,S]=p.exports.useState("00:00"),C=()=>{i(!o)},$=k=>{const _=parseFloat(k.target.value);r.current&&(o?(r.current.pause(),setTimeout(()=>{s(_),r.current.currentTime=r.current.duration*_,r.current.play()},30)):r.current.currentTime=r.current.duration*_)},E=k=>{const _=parseFloat(k.target.value);c(_)},w=()=>{i(!1)},M=()=>{console.log("MediaViewvideo handleError"),t&&t()},T=k=>{k.target.getBoundingClientRect().height-k.clientY<=100?m(!0):(m(!1),v(!1))},N=k=>{v(k)},R=()=>{d(k=>!k)},F=k=>{switch(k.code){case"Space":C();break}},z=()=>{if(r.current){const k=r.current.currentTime,_=r.current.duration;if(isNaN(k)||isNaN(_))return;s(k/_),y(Rg(k))}},A=()=>{r.current&&(s(0),y(Rg(0)),S(Rg(r.current.duration)))};return p.exports.useEffect(()=>(r.current&&(o?r.current.play():r.current.pause()),window.addEventListener("keydown",F),()=>{window.removeEventListener("keydown",F)}),[o]),p.exports.useEffect(()=>{r.current&&(r.current.volume=l)},[l]),p.exports.useEffect(()=>{i(n)},[e,n]),Z("div",{className:"MediaViewvideo",onMouseMove:T,children:[g("div",{className:"MediaViewvideo-video-wrap",onClick:C,children:g("video",{className:"MediaViewvideo-video",ref:r,src:e,controls:!1,preload:"auto",muted:u,onTimeUpdate:z,onLoadedMetadata:A,onError:M,onEnded:w})}),Z("div",{className:"MediaView-Player-controls",style:{visibility:f?"visible":"hidden"},children:[g("div",{className:"MediaView-Player-controls-playpuase",onClick:C,children:o?g(sv,{title:"\u6682\u505C"}):g(iv,{tit
Line truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
@charset "UTF-8";html{background-color:#f5f5f5}body{margin:0;font-family:Nunito,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}@font-face{font-family:Nunito;font-style:normal;font-weight:400;src:local(""),url(/assets/nunito-v16-latin-regular.06f3af3f.woff2) format("woff2")}#app{height:100vh;text-align:center}#App{height:100vh;text-align:center;display:flex;flex-direction:row}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-thumb{--tw-border-opacity: 1;background-color:#b6b4b4cc;border-color:rgba(181,180,178,var(--tw-border-opacity));border-radius:9999px;border-width:1px}.wechat-UserList{width:275px;height:100%;background-color:#eae8e7;display:flex;flex-direction:column;align-items:center}.wechat-SearchBar{height:60px;width:100%;background-color:#f7f7f7;--wails-draggable:drag}.wechat-SearchBar-Input{height:26px;width:240px;background-color:#e6e6e6;margin-top:22px;--wails-draggable:no-drag}.wechat-UserList-Items{width:100%;height:calc(100% - 60px);overflow:auto}.wechat-UserItem{display:flex;justify-content:space-between;height:64px}.wechat-UserItem{transition:background-color .3s ease}.wechat-UserItem:hover{background-color:#dcdad9}.wechat-UserItem:focus{background-color:#c9c8c6}.selectedItem{background-color:#c9c8c6}.wechat-UserItem-content-Avatar{margin:5px}.wechat-UserItem-content{width:55%;display:flex;flex-direction:column;justify-content:space-between}.wechat-UserItem-content-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.wechat-UserItem-content-name{color:#000;font-size:.9rem;margin-top:12px;font-weight:500}.wechat-UserItem-content-msg{color:#999;font-size:80%;margin-bottom:10px}.wechat-UserItem-date{color:#999;font-size:80%;margin-top:12px;margin-right:9px}.wechat-ContactItem{display:flex;justify-content:flex-start}.wechat-ContactItem-content{display:flex;flex-direction:column;flex-grow:1;justify-content:center}.wechat-ContactItem-content>.wechat-UserItem-content-text{margin-top:0;margin-left:.5rem}.wechat-UserList-Loading{margin-top:80px}.wechat-UserList-End{padding:15px;text-align:center;font-size:.85rem}.MessageModal{background-color:#fff;position:fixed;top:33%;left:50%;transform:translate(-50%,-50%);border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.MessageModal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.MessageModal-content{display:flex;flex-direction:column;align-items:center;padding:20px}.MessageModal-button{margin-top:10px}.Setting-Modal{width:500px;background-color:#f5f5f5;position:fixed;top:35%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.WechatInfoTable{display:flex;flex-direction:column;font-size:.9rem;border-top:1px solid #b9b9b9}.WechatInfoTable-column{display:flex;margin-top:8px;max-width:100%}.WechatInfoTable-column-tag{margin-left:8px;max-width:50%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.checkUpdateButtom,.WechatInfoTable-column-tag-buttom{cursor:pointer}.Setting-Modal-export-button{margin-top:10px}.Setting-Modal-button{position:absolute;top:10px;right:10px;padding:5px 10px;border:none;cursor:pointer}.Setting-Modal-confirm{background-color:#f5f5f5;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-confirm-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-confirm-title{text-align:center}.Setting-Modal-confirm-buttons{display:flex;gap:10px}.Setting-Modal-updateInfoWindow{background-color:#fff;position:fixed;top:33%;left:50%;transform:translate(-50%,-50%);border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-updateInfoWindow-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-updateInfoWindow-content{display:flex;flex-direction:column;align-items:center;padding:20px}.Setting-Modal-updateInfoWindow-button{margin-top:10px}.Setting-Modal-Select{display:flex;gap:10px;align-items:center;margin-bottom:8px}.Setting-Modal-Select-Text{font-size:1rem;font-weight:900}.UserSwitch-Modal{background-color:#fff;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.UserSwitch-Modal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.UserSwitch-Modal-button{display:flex;justify-content:end}.UserSwitch-Modal-title{text-align:center;font-weight:900;margin-bottom:20px}.UserSwitch-Modal-buttons{margin-top:10px;display:flex;gap:10px}.UserSwitch-Modal-content{display:flex;flex-direction:column;gap:10px;max-height:300px;overflow:auto}.UserInfoItem{display:flex;background-color:#f7f7f7;width:500px;border-radius:5px;padding:8px;gap:10px}.UserInfoItem:hover{background-color:#ebebeb}.UserInfoItem-Info{display:flex;flex-direction:column;flex-grow:1;justify-content:space-between}.UserInfoItem-Info-part1{display:flex;justify-content:space-between}.UserInfoILine truncated
|
||||
-1
@@ -1 +0,0 @@
|
||||
@charset "UTF-8";html{background-color:#f5f5f5}body{margin:0;font-family:Nunito,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}@font-face{font-family:Nunito;font-style:normal;font-weight:400;src:local(""),url(/assets/nunito-v16-latin-regular.06f3af3f.woff2) format("woff2")}#app{height:100vh;text-align:center}#App{height:100vh;text-align:center;display:flex;flex-direction:row}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-thumb{--tw-border-opacity: 1;background-color:#b6b4b4cc;border-color:rgba(181,180,178,var(--tw-border-opacity));border-radius:9999px;border-width:1px}.wechat-UserList{width:275px;height:100%;background-color:#eae8e7;display:flex;flex-direction:column;align-items:center}.wechat-SearchBar{height:60px;width:100%;background-color:#f7f7f7;--wails-draggable:drag}.wechat-SearchBar-Input{height:26px;width:240px;background-color:#e6e6e6;margin-top:22px;--wails-draggable:no-drag}.wechat-UserList-Items{width:100%;height:calc(100% - 60px);overflow:auto}.wechat-UserItem{display:flex;justify-content:space-between;height:64px}.wechat-UserItem{transition:background-color .3s ease}.wechat-UserItem:hover{background-color:#dcdad9}.wechat-UserItem:focus{background-color:#c9c8c6}.selectedItem{background-color:#c9c8c6}.wechat-UserItem-content-Avatar{margin:5px}.wechat-UserItem-content{width:55%;display:flex;flex-direction:column;justify-content:space-between}.wechat-UserItem-content-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.wechat-UserItem-content-name{color:#000;font-size:.9rem;margin-top:12px;font-weight:500}.wechat-UserItem-content-msg{color:#999;font-size:80%;margin-bottom:10px}.wechat-UserItem-date{color:#999;font-size:80%;margin-top:12px;margin-right:9px}.wechat-ContactItem{display:flex;justify-content:flex-start}.wechat-ContactItem-content{display:flex;flex-direction:column;flex-grow:1;justify-content:center}.wechat-ContactItem-content>.wechat-UserItem-content-text{margin-top:0;margin-left:.5rem}.wechat-UserList-Loading{margin-top:80px}.wechat-UserList-End{padding:15px;text-align:center;font-size:.85rem}.MessageModal{background-color:#fff;position:fixed;top:33%;left:50%;transform:translate(-50%,-50%);border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.MessageModal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.MessageModal-content{display:flex;flex-direction:column;align-items:center;padding:20px}.MessageModal-button{margin-top:10px}.Setting-Modal{width:500px;background-color:#f5f5f5;position:fixed;top:35%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.WechatInfoTable{display:flex;flex-direction:column;font-size:.9rem;border-top:1px solid #b9b9b9}.WechatInfoTable-column{display:flex;margin-top:8px;max-width:100%}.WechatInfoTable-column-tag{margin-left:8px;max-width:50%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.checkUpdateButtom,.WechatInfoTable-column-tag-buttom{cursor:pointer}.Setting-Modal-export-button{margin-top:10px}.Setting-Modal-button{position:absolute;top:10px;right:10px;padding:5px 10px;border:none;cursor:pointer}.Setting-Modal-confirm{background-color:#f5f5f5;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-confirm-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-confirm-title{text-align:center}.Setting-Modal-confirm-buttons{display:flex;gap:10px}.Setting-Modal-updateInfoWindow{background-color:#fff;position:fixed;top:33%;left:50%;transform:translate(-50%,-50%);border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-updateInfoWindow-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-updateInfoWindow-content{display:flex;flex-direction:column;align-items:center;padding:20px}.Setting-Modal-updateInfoWindow-button{margin-top:10px}.Setting-Modal-Select{display:flex;gap:10px;align-items:center;margin-bottom:8px}.Setting-Modal-Select-Text{font-size:1rem;font-weight:900}.UserSwitch-Modal{background-color:#fff;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.UserSwitch-Modal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.UserSwitch-Modal-button{display:flex;justify-content:end}.UserSwitch-Modal-title{text-align:center;font-weight:900;margin-bottom:20px}.UserSwitch-Modal-buttons{margin-top:10px;display:flex;gap:10px}.UserSwitch-Modal-content{display:flex;flex-direction:column;gap:10px;max-height:300px;overflow:auto}.UserInfoItem{display:flex;background-color:#f7f7f7;width:500px;border-radius:5px;padding:8px;gap:10px}.UserInfoItem:hover{background-color:#ebebeb}.UserInfoItem-Info{display:flex;flex-direction:column;flex-grow:1;justify-content:space-between}.UserInfoItem-Info-part1{display:flex;justify-content:space-between}.UserInfoILine truncated
|
||||
-533
@@ -1,533 +0,0 @@
|
||||
function I4(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var Hn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function pu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function rR(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var v={exports:{}},xt={};/**
|
||||
* @license React
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var vu=Symbol.for("react.element"),oR=Symbol.for("react.portal"),iR=Symbol.for("react.fragment"),aR=Symbol.for("react.strict_mode"),lR=Symbol.for("react.profiler"),sR=Symbol.for("react.provider"),cR=Symbol.for("react.context"),uR=Symbol.for("react.forward_ref"),dR=Symbol.for("react.suspense"),fR=Symbol.for("react.memo"),pR=Symbol.for("react.lazy"),Ux=Symbol.iterator;function vR(e){return e===null||typeof e!="object"?null:(e=Ux&&e[Ux]||e["@@iterator"],typeof e=="function"?e:null)}var A4={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_4=Object.assign,D4={};function ps(e,t,n){this.props=e,this.context=t,this.refs=D4,this.updater=n||A4}ps.prototype.isReactComponent={};ps.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ps.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function k4(){}k4.prototype=ps.prototype;function r1(e,t,n){this.props=e,this.context=t,this.refs=D4,this.updater=n||A4}var o1=r1.prototype=new k4;o1.constructor=r1;_4(o1,ps.prototype);o1.isPureReactComponent=!0;var Yx=Array.isArray,F4=Object.prototype.hasOwnProperty,i1={current:null},L4={key:!0,ref:!0,__self:!0,__source:!0};function z4(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)F4.call(t,r)&&!L4.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var s=Array(l),c=0;c<l;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:vu,type:e,key:i,ref:a,props:o,_owner:i1.current}}function mR(e,t){return{$$typeof:vu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function a1(e){return typeof e=="object"&&e!==null&&e.$$typeof===vu}function hR(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Gx=/\/+/g;function Mm(e,t){return typeof e=="object"&&e!==null&&e.key!=null?hR(""+e.key):t.toString(36)}function Wd(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case vu:case oR:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+Mm(a,0):r,Yx(o)?(n="",e!=null&&(n=e.replace(Gx,"$&/")+"/"),Wd(o,t,n,"",function(c){return c})):o!=null&&(a1(o)&&(o=mR(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(Gx,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",Yx(e))for(var l=0;l<e.length;l++){i=e[l];var s=r+Mm(i,l);a+=Wd(i,t,n,s,o)}else if(s=vR(e),typeof s=="function")for(e=s.call(e),l=0;!(i=e.next()).done;)i=i.value,s=r+Mm(i,l++),a+=Wd(i,t,n,s,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function Zu(e,t,n){if(e==null)return e;var r=[],o=0;return Wd(e,r,"","",function(i){return t.call(n,i,o++)}),r}function gR(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Zn={current:null},Ud={transition:null},yR={ReactCurrentDispatcher:Zn,ReactCurrentBatchConfig:Ud,ReactCurrentOwner:i1};xt.Children={map:Zu,forEach:function(e,t,n){Zu(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Zu(e,function(){t++}),t},toArray:function(e){return Zu(e,function(t){return t})||[]},only:function(e){if(!a1(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};xt.Component=ps;xt.Fragment=iR;xt.Profiler=lR;xt.PureComponent=r1;xt.StrictMode=aR;xt.Suspense=dR;xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=yR;xt.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=_4({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=i1.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)F4.call(t,s)&&!L4.hasOwnProperty(s)&&(r[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){l=Array(s);for(var c=0;c<s;c++)l[c]=arguments[c+2];r.children=l}return{$$typeof:vu,type:e.type,key:o,ref:i,props:r,_owner:a}};xt.createContext=function(e){return e={$$typeof:cR,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:sR,_conLine truncated
|
||||
* @license React
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/(function(e){function t(O,L){var I=O.length;O.push(L);e:for(;0<I;){var H=I-1>>>1,D=O[H];if(0<o(D,L))O[H]=L,O[I]=D,I=H;else break e}}function n(O){return O.length===0?null:O[0]}function r(O){if(O.length===0)return null;var L=O[0],I=O.pop();if(I!==L){O[0]=I;e:for(var H=0,D=O.length,B=D>>>1;H<B;){var W=2*(H+1)-1,Y=O[W],K=W+1,j=O[K];if(0>o(Y,I))K<D&&0>o(j,Y)?(O[H]=j,O[K]=I,H=K):(O[H]=Y,O[W]=I,H=W);else if(K<D&&0>o(j,I))O[H]=j,O[K]=I,H=K;else break e}}return L}function o(O,L){var I=O.sortIndex-L.sortIndex;return I!==0?I:O.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],c=[],u=1,d=null,f=3,m=!1,h=!1,p=!1,y=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(O){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=O)r(c),L.sortIndex=L.expirationTime,t(s,L);else break;L=n(c)}}function C(O){if(p=!1,S(O),!h)if(n(s)!==null)h=!0,_($);else{var L=n(c);L!==null&&M(C,L.startTime-O)}}function $(O,L){h=!1,p&&(p=!1,g(P),P=-1),m=!0;var I=f;try{for(S(L),d=n(s);d!==null&&(!(d.expirationTime>L)||O&&!T());){var H=d.callback;if(typeof H=="function"){d.callback=null,f=d.priorityLevel;var D=H(d.expirationTime<=L);L=e.unstable_now(),typeof D=="function"?d.callback=D:d===n(s)&&r(s),S(L)}else r(s);d=n(s)}if(d!==null)var B=!0;else{var W=n(c);W!==null&&M(C,W.startTime-L),B=!1}return B}finally{d=null,f=I,m=!1}}var E=!1,w=null,P=-1,R=5,N=-1;function T(){return!(e.unstable_now()-N<R)}function F(){if(w!==null){var O=e.unstable_now();N=O;var L=!0;try{L=w(!0,O)}finally{L?z():(E=!1,w=null)}}else E=!1}var z;if(typeof b=="function")z=function(){b(F)};else if(typeof MessageChannel<"u"){var A=new MessageChannel,k=A.port2;A.port1.onmessage=F,z=function(){k.postMessage(null)}}else z=function(){y(F,0)};function _(O){w=O,E||(E=!0,z())}function M(O,L){P=y(function(){O(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_continueExecution=function(){h||m||(h=!0,_($))},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(O){switch(f){case 1:case 2:case 3:var L=3;break;default:L=f}var I=f;f=L;try{return O()}finally{f=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(O,L){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var I=f;f=O;try{return L()}finally{f=I}},e.unstable_scheduleCallback=function(O,L,I){var H=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?H+I:H):I=H,O){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=I+D,O={id:u++,callback:L,priorityLevel:O,startTime:I,expirationTime:D,sortIndex:-1},I>H?(O.sortIndex=I,t(c,O),n(s)===null&&O===n(c)&&(p?(g(P),P=-1):p=!0,M(C,I-H))):(O.sortIndex=D,t(s,O),h||m||(h=!0,_($))),O},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(O){var L=f;return function(){var I=f;f=L;try{return O.apply(this,arguments)}finally{f=I}}}})(j4);(function(e){e.exports=j4})(B4);/**
|
||||
* @license React
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var H4=v.exports,Or=B4.exports;function xe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var V4=new Set,Ic={};function ja(e,t){ql(e,t),ql(e+"Capture",t)}function ql(e,t){for(Ic[e]=t,e=0;e<t.length;e++)V4.add(t[e])}var Xo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Eg=Object.prototype.hasOwnProperty,bR=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Kx={},qx={};function xR(e){return Eg.call(qx,e)?!0:Eg.call(Kx,e)?!1:bR.test(e)?qx[e]=!0:(Kx[e]=!0,!1)}function SR(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function CR(e,t,n,r){if(t===null||typeof t>"u"||SR(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Jn(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var _n={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_n[e]=new Jn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];_n[t]=new Jn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_n[e]=new Jn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_n[e]=new Jn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){_n[e]=new Jn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_n[e]=new Jn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_n[e]=new Jn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_n[e]=new Jn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_n[e]=new Jn(e,5,!1,e.toLowerCase(),null,!1,!1)});var l1=/[\-:]([a-z])/g;function s1(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(l1,s1);_n[t]=new Jn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(l1,s1);_n[t]=new Jn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(l1,s1);_n[t]=new Jn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_n[e]=new Jn(e,1,!1,e.toLowerCase(),null,!1,!1)});_n.xlinkHref=new Jn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_n[e]=new Jn(e,1,!1,e.toLowerCase(),null,!0,!0)});function c1(e,t,n,r){var o=_n.hasOwnProperty(t)?_n[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0
Line truncated
|
||||
`+Pm+e}var Tm=!1;function Rm(e,t){if(!e||Tm)return"";Tm=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(`
|
||||
`),i=r.stack.split(`
|
||||
`),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(a!==1||l!==1)do if(a--,l--,0>l||o[a]!==i[l]){var s=`
|
||||
`+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=a&&0<=l);break}}}finally{Tm=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?nc(e):""}function wR(e){switch(e.tag){case 5:return nc(e.type);case 16:return nc("Lazy");case 13:return nc("Suspense");case 19:return nc("SuspenseList");case 0:case 2:case 15:return e=Rm(e.type,!1),e;case 11:return e=Rm(e.type.render,!1),e;case 1:return e=Rm(e.type,!0),e;default:return""}}function Tg(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case bl:return"Fragment";case yl:return"Portal";case Og:return"Profiler";case u1:return"StrictMode";case Mg:return"Suspense";case Pg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case U4:return(e.displayName||"Context")+".Consumer";case W4:return(e._context.displayName||"Context")+".Provider";case d1:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case f1:return t=e.displayName||null,t!==null?t:Tg(e.type)||"Memo";case gi:t=e._payload,e=e._init;try{return Tg(e(t))}catch{}}return null}function $R(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Tg(t);case 8:return t===u1?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Li(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function G4(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ER(e){var t=G4(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ed(e){e._valueTracker||(e._valueTracker=ER(e))}function K4(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G4(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Cf(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Rg(e,t){var n=t.checked;return Xt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function Qx(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Li(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function q4(e,t){t=t.checked,t!=null&&c1(e,"checked",t,!1)}function Ng(e,t){q4(e,t);var n=Li(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ig(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ig(e,t.type,Li(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Zx(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ig(e,t,n){(t!=="number"||Cf(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var rc=Array.isArray;function Ll(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Li(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Ag(e,t){i
Line truncated
|
||||
`).replace(DN,"")}function sd(e,t,n){if(t=SS(t),SS(e)!==t&&n)throw Error(xe(425))}function Rf(){}var Yg=null,Gg=null;function Kg(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var qg=typeof setTimeout=="function"?setTimeout:void 0,kN=typeof clearTimeout=="function"?clearTimeout:void 0,CS=typeof Promise=="function"?Promise:void 0,FN=typeof queueMicrotask=="function"?queueMicrotask:typeof CS<"u"?function(e){return CS.resolve(null).then(e).catch(LN)}:qg;function LN(e){setTimeout(function(){throw e})}function Vm(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Fc(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Fc(t)}function Ri(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function wS(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var ms=Math.random().toString(36).slice(2),Ro="__reactFiber$"+ms,Hc="__reactProps$"+ms,Qo="__reactContainer$"+ms,Xg="__reactEvents$"+ms,zN="__reactListeners$"+ms,BN="__reactHandles$"+ms;function ha(e){var t=e[Ro];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Qo]||n[Ro]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=wS(e);e!==null;){if(n=e[Ro])return n;e=wS(e)}return t}e=n,n=e.parentNode}return null}function yu(e){return e=e[Ro]||e[Qo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function wl(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(xe(33))}function Fp(e){return e[Hc]||null}var Qg=[],$l=-1;function Xi(e){return{current:e}}function Vt(e){0>$l||(e.current=Qg[$l],Qg[$l]=null,$l--)}function zt(e,t){$l++,Qg[$l]=e.current,e.current=t}var zi={},Wn=Xi(zi),cr=Xi(!1),Ia=zi;function Xl(e,t){var n=e.type.contextTypes;if(!n)return zi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ur(e){return e=e.childContextTypes,e!=null}function Nf(){Vt(cr),Vt(Wn)}function $S(e,t,n){if(Wn.current!==zi)throw Error(xe(168));zt(Wn,t),zt(cr,n)}function FE(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(xe(108,$R(e)||"Unknown",o));return Xt({},n,r)}function If(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||zi,Ia=Wn.current,zt(Wn,e),zt(cr,cr.current),!0}function ES(e,t,n){var r=e.stateNode;if(!r)throw Error(xe(169));n?(e=FE(e,t,Ia),r.__reactInternalMemoizedMergedChildContext=e,Vt(cr),Vt(Wn),zt(Wn,e)):Vt(cr),zt(cr,n)}var Wo=null,Lp=!1,Wm=!1;function LE(e){Wo===null?Wo=[e]:Wo.push(e)}function jN(e){Lp=!0,LE(e)}function Qi(){if(!Wm&&Wo!==null){Wm=!0;var e=0,t=It;try{var n=Wo;for(It=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Wo=null,Lp=!1}catch(o){throw Wo!==null&&(Wo=Wo.slice(e+1)),cE(v1,Qi),o}finally{It=t,Wm=!1}}return null}var El=[],Ol=0,Af=null,_f=0,zr=[],Br=0,Aa=null,Go=1,Ko="";function ca(e,t){El[Ol++]=_f,El[Ol++]=Af,Af=e,_f=t}function zE(e,t,n){zr[Br++]=Go,zr[Br++]=Ko,zr[Br++]=Aa,Aa=e;var r=Go;e=Ko;var o=32-uo(r)-1;r&=~(1<<o),n+=1;var i=32-uo(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Go=1<<32-uo(t)+o|n<<o|r,Ko=i+e}else Go=1<<i|n<<o|r,Ko=e}function w1(e){e.return!==null&&(ca(e,1),zE(e,1,0))}function $1(e){for(;e===Af;)Af=El[--Ol],El[Ol]=null,_f=El[--Ol],El[Ol]=null;for(;e===Aa;)Aa=zr[--Br],zr[Br]=null,Ko=zr[--Br],zr[Br]=null,Go=zr[--Br],zr[Br]=null}var $r=null,Cr=null,Ut=!1,so=null;function BE(e,t){var n=jr(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function OS(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,$r=e,Cr=Ri(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,$r=e,Cr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Aa!==null?{id:Go,overflow:Ko}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=jr(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,$r=e,Cr=null,!0):!1;default:return!1}}function Zg(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Jg(e){if(Ut){var t=Cr;if(t){var n=t;if(!OS(e,t)){if(Zg(e))throw Error(xe(418));t=Ri(n.nextSibling);var r=$r;t&&OS(e,t)?BE(r,n):(e.flags=e.flags&-4097|2,Ut=!1,$r=e)}}else{if(Zg(e))throw Error(xe(418));e.flags=e.flags&-4097|2,Ut=!1,$r=e}}}function MS(e){
Line truncated
|
||||
Error generating stack: `+i.message+`
|
||||
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function qm(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function r0(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var XN=typeof WeakMap=="function"?WeakMap:Map;function vO(e,t,n){n=qo(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hf||(Hf=!0,p0=r),r0(e,t)},n}function mO(e,t,n){n=qo(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){r0(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){r0(e,t),typeof r!="function"&&(Ii===null?Ii=new Set([this]):Ii.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function DS(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new XN;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=uI.bind(null,e,t,n),t.then(e,e))}function kS(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function FS(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=qo(-1,1),t.tag=2,Ni(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var QN=ri.ReactCurrentOwner,sr=!1;function qn(e,t,n,r){t.child=e===null?GE(t,null,n,r):Zl(t,e.child,n,r)}function LS(e,t,n,r,o){n=n.render;var i=t.ref;return Hl(t,o),r=D1(e,t,n,r,i,o),n=k1(),e!==null&&!sr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Jo(e,t,o)):(Ut&&n&&w1(t),t.flags|=1,qn(e,t,r,o),t.child)}function zS(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Y1(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,hO(e,t,i,r,o)):(e=tf(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:zc,n(a,r)&&e.ref===t.ref)return Jo(e,t,o)}return t.flags|=1,e=_i(i,r),e.ref=t.ref,e.return=t,t.child=e}function hO(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(zc(i,r)&&e.ref===t.ref)if(sr=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(sr=!0);else return t.lanes=e.lanes,Jo(e,t,o)}return o0(e,t,n,r,o)}function gO(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},zt(Tl,Sr),Sr|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,zt(Tl,Sr),Sr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,zt(Tl,Sr),Sr|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,zt(Tl,Sr),Sr|=r;return qn(e,t,o,n),t.child}function yO(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function o0(e,t,n,r,o){var i=ur(n)?Ia:Wn.current;return i=Xl(t,i),Hl(t,o),n=D1(e,t,n,r,i,o),r=k1(),e!==null&&!sr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Jo(e,t,o)):(Ut&&r&&w1(t),t.flags|=1,qn(e,t,n,o),t.child)}function BS(e,t,n,r,o){if(ur(n)){var i=!0;If(t)}else i=!1;if(Hl(t,o),t.stateNode===null)Zd(e,t),UE(t,n,r),n0(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=Yr(c):(c=ur(n)?Ia:Wn.current,c=Xl(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==r||s!==c)&&NS(t,a,r,c),yi=!1;var f=t.memoizedState;a.state=f,Ff(t,r,a,o),s=t.memoizedState,l!==r||f!==s||cr.current||yi?(typeof u=="function"&&(t0(t,n,u,r),s=t.memoizedState),(l=yi||RS(t,n,l,r,f,s,c))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=c,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,VE(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:ro(t.type,l),a.props=c,d=t.pendingProps,f=a.context,s=n.contextType,typeof s=="object"&&s!==null?s=Yr(s):(s=ur(n)?Ia:Wn.current,s=Xl(t,s));var m=n.getDerivedStateFromProps;(u=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==d||f!==s)&&NS(t,a,r,s),yi=!1,f=t.memoizedState,a.sta
Line truncated
|
||||
* Adapted from jQuery UI core
|
||||
*
|
||||
* http://jqueryui.com
|
||||
*
|
||||
* Copyright 2014 jQuery Foundation and other contributors
|
||||
* Released under the MIT license.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://api.jqueryui.com/category/ui-core/
|
||||
*/var n="none",r="contents",o=/input|select|textarea|button|object|iframe/;function i(d,f){return f.getPropertyValue("overflow")!=="visible"||d.scrollWidth<=0&&d.scrollHeight<=0}function a(d){var f=d.offsetWidth<=0&&d.offsetHeight<=0;if(f&&!d.innerHTML)return!0;try{var m=window.getComputedStyle(d),h=m.getPropertyValue("display");return f?h!==r&&i(d,m):h===n}catch{return console.warn("Failed to inspect element style"),!1}}function l(d){for(var f=d,m=d.getRootNode&&d.getRootNode();f&&f!==document.body;){if(m&&f===m&&(f=m.host.parentNode),a(f))return!1;f=f.parentNode}return!0}function s(d,f){var m=d.nodeName.toLowerCase(),h=o.test(m)&&!d.disabled||m==="a"&&d.href||f;return h&&l(d)}function c(d){var f=d.getAttribute("tabindex");f===null&&(f=void 0);var m=isNaN(f);return(m||f>=0)&&s(d,!m)}function u(d){var f=[].slice.call(d.querySelectorAll("*"),0).reduce(function(m,h){return m.concat(h.shadowRoot?u(h.shadowRoot):[h])},[]);return f.filter(c)}e.exports=t.default})(Gf,Gf.exports);Object.defineProperty(xo,"__esModule",{value:!0});xo.resetState=TI;xo.log=RI;xo.handleBlur=qc;xo.handleFocus=Xc;xo.markForFocusLater=NI;xo.returnFocus=II;xo.popWithoutFocus=AI;xo.setupScopedFocus=_I;xo.teardownScopedFocus=DI;var OI=Gf.exports,MI=PI(OI);function PI(e){return e&&e.__esModule?e:{default:e}}var ns=[],Rl=null,b0=!1;function TI(){ns=[]}function RI(){}function qc(){b0=!0}function Xc(){if(b0){if(b0=!1,!Rl)return;setTimeout(function(){if(!Rl.contains(document.activeElement)){var e=(0,MI.default)(Rl)[0]||Rl;e.focus()}},0)}}function NI(){ns.push(document.activeElement)}function II(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{ns.length!==0&&(t=ns.pop(),t.focus({preventScroll:e}));return}catch{console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}}function AI(){ns.length>0&&ns.pop()}function _I(e){Rl=e,window.addEventListener?(window.addEventListener("blur",qc,!1),document.addEventListener("focus",Xc,!0)):(window.attachEvent("onBlur",qc),document.attachEvent("onFocus",Xc))}function DI(){Rl=null,window.addEventListener?(window.removeEventListener("blur",qc),document.removeEventListener("focus",Xc)):(window.detachEvent("onBlur",qc),document.detachEvent("onFocus",Xc))}var x0={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=Gf.exports,r=o(n);function o(l){return l&&l.__esModule?l:{default:l}}function i(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return l.activeElement.shadowRoot?i(l.activeElement.shadowRoot):l.activeElement}function a(l,s){var c=(0,r.default)(l);if(!c.length){s.preventDefault();return}var u=void 0,d=s.shiftKey,f=c[0],m=c[c.length-1],h=i();if(l===h){if(!d)return;u=m}if(m===h&&!d&&(u=f),f===h&&d&&(u=m),u){s.preventDefault(),u.focus();return}var p=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),y=p!=null&&p[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(!!y){var g=c.indexOf(h);if(g>-1&&(g+=d?-1:1),u=c[g],typeof u>"u"){s.preventDefault(),u=d?m:f,u.focus();return}s.preventDefault(),u.focus()}}e.exports=t.default})(x0,x0.exports);var So={},kI=function(){},FI=kI,po={},WO={exports:{}};/*!
|
||||
Copyright (c) 2015 Jed Watson.
|
||||
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
||||
All rights reserved.
|
||||
*/(function(e){(function(){var t=!!(typeof window<"u"&&window.document&&window.document.createElement),n={canUseDOM:t,canUseWorkers:typeof Worker<"u",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n})()})(WO);Object.defineProperty(po,"__esModule",{value:!0});po.canUseDOM=po.SafeNodeList=po.SafeHTMLCollection=void 0;var LI=WO.exports,zI=BI(LI);function BI(e){return e&&e.__esModule?e:{default:e}}var Kp=zI.default,jI=Kp.canUseDOM?window.HTMLElement:{};po.SafeHTMLCollection=Kp.canUseDOM?window.HTMLCollection:{};po.SafeNodeList=Kp.canUseDOM?window.NodeList:{};po.canUseDOM=Kp.canUseDOM;po.default=jI;Object.defineProperty(So,"__esModule",{value:!0});So.resetState=YI;So.log=GI;So.assertNodeList=UO;So.setElement=KI;So.validateElement=Q1;So.hide=qI;So.show=XI;So.documentNotReadyOrSSRTesting=QI;var HI=FI,VI=UI(HI),WI=po;function UI(e){return e&&e.__esModule?e:{default:e}}var Lr=null;function YI(){Lr&&(Lr.removeAttribute?Lr.removeAttribute("aria-hidden"):Lr.length!=null?Lr.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(Lr).forEach(function(e){return e.removeAttribute("aria-hidden")})),Lr=null}function GI(){}function UO(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function KI(e){var t=e;if(typeof t=="string"&&WI.canUseDOM){var n=document.querySelectorAll(t);UO(n,t),t=n}return Lr=t||Lr,Lr}function Q1(e){var t=e||Lr;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,VI.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function qI(e){var t=!0,n=!1,r=void 0;try{for(var o=Q1(e)[Symbol.iterator](),i;!(t=(i=o.next()).done);t=!0){var a=i.value;a.setAttribute("aria-hidden","true")}}catch(l){n=!0,r=l}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function XI(e){var t=!0,n=!1,r=void 0;try{for(var o=Q1(e)[Symbol.iterator](),i;!(t=(i=o.next()).done);t=!0){var a=i.value;a.removeAttribute("aria-hidden")}}catch(l){n=!0,r=l}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function QI(){Lr=null}var hs={};Object.defineProperty(hs,"__esModule",{value:!0});hs.resetState=ZI;hs.log=JI;var Sc={},Cc={};function eC(e,t){e.classList.remove(t)}function ZI(){var e=document.getElementsByTagName("html")[0];for(var t in Sc)eC(e,Sc[t]);var n=document.body;for(var r in Cc)eC(n,Cc[r]);Sc={},Cc={}}function JI(){}var eA=function(t,n){return t[n]||(t[n]=0),t[n]+=1,n},tA=function(t,n){return t[n]&&(t[n]-=1),n},nA=function(t,n,r){r.forEach(function(o){eA(n,o),t.add(o)})},rA=function(t,n,r){r.forEach(function(o){tA(n,o),n[o]===0&&t.remove(o)})};hs.add=function(t,n){return nA(t.classList,t.nodeName.toLowerCase()=="html"?Sc:Cc,n.split(" "))};hs.remove=function(t,n){return rA(t.classList,t.nodeName.toLowerCase()=="html"?Sc:Cc,n.split(" "))};var gs={};Object.defineProperty(gs,"__esModule",{value:!0});gs.log=iA;gs.resetState=aA;function oA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var YO=function e(){var t=this;oA(this,e),this.register=function(n){t.openInstances.indexOf(n)===-1&&(t.openInstances.push(n),t.emit("register"))},this.deregister=function(n){var r=t.openInstances.indexOf(n);r!==-1&&(t.openInstances.splice(r,1),t.emit("deregister"))},this.subscribe=function(n){t.subscribers.push(n)},this.emit=function(n){t.subscribers.forEach(function(r){return r(n,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},Kf=new YO;function iA(){console.log("portalOpenInstances ----------"),console.log(Kf.openInstances.length),Kf.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function aA(){Kf=new YO}gs.default=Kf;var Z1={};Object.defineProperty(Z1,"__esModule",{value:!0});Z1.resetState=uA;Z1.log=dA;var lA=gs,sA=cA(lA);function cA(e){return e&&e.__esModule?e:{default:e}}var Fn=void 0,oo=void 0,Oa=[];function uA(){for(var e=[Fn,oo],t=0;t<e.length;t++){var n=e[t];!n||n.parentNode&&n.parentNode.removeChild(n)}Fn=oo=null,Oa=[]}function dA(){console.log("bodyTrap ----------"),console.log(Oa.length);for(var e=[Fn,oo],t=0;t<e.length;t++){var n=e[t],r=n||{};console.log(r.nodeName,r.className,r.id)}console.log("edn bodyTrap ----------")}function tC(){Oa.length!==0&&Oa[Oa.length-1].focusContent()}function fA(e,t){!Fn&&!oo&&(Fn=document.createElement("div"),Fn.setAttribute("data-react-modal-body-trap",""),Fn.style.position="absolute",Fn.style.opacity="0",Fn.setAttribute("tabindex","0"),Fn.addEventListener("focus",tC),oo=Fn.cloneNode(),oo.addEventListener("focus",tC)),Oa=t,Oa.length>0?(document.body.firstChild!==Fn&&document.body.insertBefore(Fn,document.body.firstChilLine truncated
|
||||
|
||||
`+i+" uses "+a+" but also contains the following legacy lifecycles:"+(n!==null?`
|
||||
`+n:"")+(r!==null?`
|
||||
`+r:"")+(o!==null?`
|
||||
`+o:"")+`
|
||||
|
||||
The above lifecycles should be removed. Learn more about this warning here:
|
||||
https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=GO,t.componentWillReceiveProps=KO),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=qO;var l=t.componentDidUpdate;t.componentDidUpdate=function(c,u,d){var f=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:d;l.call(this,c,u,f)}}return e}const vA=Object.freeze(Object.defineProperty({__proto__:null,polyfill:pA},Symbol.toStringTag,{value:"Module"})),mA=rR(vA);Object.defineProperty(Fa,"__esModule",{value:!0});Fa.bodyOpenClassName=Fa.portalClassName=void 0;var nC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hA=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),XO=v.exports,qf=xu(XO),gA=pr.exports,Xf=xu(gA),yA=Pe.exports,lt=xu(yA),bA=y0.exports,rC=xu(bA),xA=So,SA=wA(xA),wi=po,oC=xu(wi),CA=mA;function wA(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function xu(e){return e&&e.__esModule?e:{default:e}}function $A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iC(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function EA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var OA=Fa.portalClassName="ReactModalPortal",MA=Fa.bodyOpenClassName="ReactModal__Body--open",da=wi.canUseDOM&&Xf.default.createPortal!==void 0,aC=function(t){return document.createElement(t)},lC=function(){return da?Xf.default.createPortal:Xf.default.unstable_renderSubtreeIntoContainer};function md(e){return e()}var Su=function(e){EA(t,e);function t(){var n,r,o,i;$A(this,t);for(var a=arguments.length,l=Array(a),s=0;s<a;s++)l[s]=arguments[s];return i=(r=(o=iC(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(l))),o),o.removePortal=function(){!da&&Xf.default.unmountComponentAtNode(o.node);var c=md(o.props.parentSelector);c&&c.contains(o.node)?c.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(c){o.portal=c},o.renderPortal=function(c){var u=lC(),d=u(o,qf.default.createElement(rC.default,nC({defaultStyles:t.defaultStyles},c)),o.node);o.portalRef(d)},r),iC(o,i)}return hA(t,[{key:"componentDidMount",value:function(){if(!!wi.canUseDOM){da||(this.node=aC("div")),this.node.className=this.props.portalClassName;var r=md(this.props.parentSelector);r.appendChild(this.node),!da&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(r){var o=md(r.parentSelector),i=md(this.props.parentSelector);return{prevParent:o,nextParent:i}}},{key:"componentDidUpdate",value:function(r,o,i){if(!!wi.canUseDOM){var a=this.props,l=a.isOpen,s=a.portalClassName;r.portalClassName!==s&&(this.node.className=s);var c=i.prevParent,u=i.nextParent;u!==c&&(c.removeChild(this.node),u.appendChild(this.node)),!(!r.isOpen&&!l)&&!da&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!wi.canUseDOM||!this.node||!this.portal)){var r=this.portal.state,o=Date.now(),i=r.isOpen&&this.props.closeTimeoutMS&&(r.closesAt||o+this.props.closeTimeoutMS);i?(r.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,i-o)):this.removePortal()}}},{key:"render",value:function(){if(!wi.canUseDOM||!da)return null;!this.node&&da&&(this.node=aC("div"));var r=lC();return r(qf.default.createElement(rC.default,nC({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(r){SA.setElement(r)}}]),t}(XO.Component);Su.propTypes={isOpen:lt.default.bool.isRequired,style:lt.default.shape({content:lt.default.object,overlay:lt.default.object}),portalClassName:lt.default.string,bodyOpenClassName:lt.default.string,htmlOpenClassName:lt.default.string,className:lt.default.oneOfType([lt.default.string,lt.default.shape({base:lt.default.string.isRequired,afterOpen:lt.default.string.isRequired,beforeClose:lt.default.string.isRequired})]),overlayClassName:lt.default.oneOfType([lt.default.string,lt.default.shape({bas
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ee(e,t){return QO(e)||TA(e,t)||eb(e,t)||ZO()}function et(e){return et=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},et(e)}function RA(e,t){if(et(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(et(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function JO(e){var t=RA(e,"string");return et(t)=="symbol"?t:String(t)}function U(e,t,n){return t=JO(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function NA(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function nt(e,t){if(e==null)return{};var n=NA(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}var e6={exports:{}};/*!
|
||||
Copyright (c) 2018 Jed Watson.
|
||||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a<arguments.length;a++){var l=arguments[a];l&&(i=o(i,r(l)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var l in i)t.call(i,l)&&i[l]&&(a=o(a,l));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(e6);const oe=e6.exports;function An(e,t){IA(e)&&(e="100%");var n=AA(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(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 hd(e){return Math.min(1,Math.max(0,e))}function IA(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function AA(e){return typeof e=="string"&&e.indexOf("%")!==-1}function t6(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function gd(e){return e<=1?"".concat(Number(e)*100,"%"):e}function ba(e){return e.length===1?"0"+e:String(e)}function _A(e,t,n){return{r:An(e,255)*255,g:An(t,255)*255,b:An(n,255)*255}}function sC(e,t,n){e=An(e,255),t=An(t,255),n=An(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=0,l=(r+o)/2;if(r===o)a=0,i=0;else{var s=r-o;switch(a=l>.5?s/(2-r-o):s/(r+o),r){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4;break}i/=6}return{h:i,s:a,l}}function Jm(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function DA(e,t,n){var r,o,i;if(e=An(e,360),t=An(t,100),n=An(n,100),t===0)o=n,i=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=Jm(l,a,e+1/3),o=Jm(l,a,e),i=Jm(l,a,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function C0(e,t,n){e=An(e,255),t=An(t,255),n=An(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=r,l=r-o,s=r===0?0:l/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4;break}i/=6}return{h:i,s,v:a}}function kA(e,t,n){e=An(e,360)*6,t=An(t,100),n=An(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),l=n*(1-(1-o)*t),s=r%6,c=[n,a,i,i,l,n][s],u=[l,n,n,a,i,i][s],d=[i,i,l,n,n,a][s];return{r:c*255,g:u*255,b:d*255}}function w0(e,t,n,r){var o=[ba(Math.round(e).toString(16)),ba(Math.round(t).toString(16)),ba(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function FA(e,t,n,r,o){var i=[ba(Math.round(e).toString(16)),ba(Math.round(t).toString(16)),ba(Math.round(n).toString(16)),ba(LA(r))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function LA(e){return Math.round(parseFloat(e)*255).toString(16)}function cC(e){return xr(e)/255}function xr(e){return parseInt(e,16)}function zA(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var $0={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:"#9Line truncated
|
||||
.anticon {
|
||||
display: inline-block;
|
||||
color: inherit;
|
||||
font-style: normal;
|
||||
line-height: 0;
|
||||
text-align: center;
|
||||
text-transform: none;
|
||||
vertical-align: -0.125em;
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.anticon > * {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.anticon svg {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.anticon::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.anticon .anticon-icon {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.anticon[tabindex] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.anticon-spin::before,
|
||||
.anticon-spin {
|
||||
display: inline-block;
|
||||
-webkit-animation: loadingCircle 1s infinite linear;
|
||||
animation: loadingCircle 1s infinite linear;
|
||||
}
|
||||
|
||||
@-webkit-keyframes loadingCircle {
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes loadingCircle {
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
`,a_=function(t){var n=v.exports.useContext(J1),r=n.csp,o=n.prefixCls,i=i_;o&&(i=i.replace(/anticon/g,o)),v.exports.useEffect(function(){var a=t.current,l=Qf(a);Bi(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:l})},[])},l_=["icon","className","onClick","style","primaryColor","secondaryColor"],wc={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function s_(e){var t=e.primaryColor,n=e.secondaryColor;wc.primaryColor=t,wc.secondaryColor=n||u6(t),wc.calculated=!!n}function c_(){return Q({},wc)}var Xp=function(t){var n=t.icon,r=t.className,o=t.onClick,i=t.style,a=t.primaryColor,l=t.secondaryColor,s=nt(t,l_),c=v.exports.useRef(),u=wc;if(a&&(u={primaryColor:a,secondaryColor:l||u6(a)}),a_(c),o_(yC(n),"icon should be icon definiton, but got ".concat(n)),!yC(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=Q(Q({},d),{},{icon:d.icon(u.primaryColor,u.secondaryColor)})),P0(d.icon,"svg-".concat(d.name),Q(Q({className:r,onClick:o,style:i,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s),{},{ref:c}))};Xp.displayName="IconReact";Xp.getTwoToneColors=c_;Xp.setTwoToneColors=s_;const nb=Xp;function f6(e){var t=d6(e),n=ee(t,2),r=n[0],o=n[1];return nb.setTwoToneColors({primaryColor:r,secondaryColor:o})}function u_(){var e=nb.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Qp={exports:{}},Zp={};/**
|
||||
* @license React
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var d_=v.exports,f_=Symbol.for("react.element"),p_=Symbol.for("react.fragment"),v_=Object.prototype.hasOwnProperty,m_=d_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h_={key:!0,ref:!0,__self:!0,__source:!0};function p6(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)v_.call(t,r)&&!h_.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:f_,type:e,key:i,ref:a,props:o,_owner:m_.current}}Zp.Fragment=p_;Zp.jsx=p6;Zp.jsxs=p6;(function(e){e.exports=Zp})(Qp);const At=Qp.exports.Fragment,x=Qp.exports.jsx,J=Qp.exports.jsxs;var g_=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];f6(KA.primary);var Jp=v.exports.forwardRef(function(e,t){var n=e.className,r=e.icon,o=e.spin,i=e.rotate,a=e.tabIndex,l=e.onClick,s=e.twoToneColor,c=nt(e,g_),u=v.exports.useContext(J1),d=u.prefixCls,f=d===void 0?"anticon":d,m=u.rootClassName,h=oe(m,f,U(U({},"".concat(f,"-").concat(r.name),!!r.name),"".concat(f,"-spin"),!!o||r.name==="loading"),n),p=a;p===void 0&&l&&(p=-1);var y=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,g=d6(s),b=ee(g,2),S=b[0],C=b[1];return x("span",{role:"img","aria-label":r.name,...c,ref:t,tabIndex:p,onClick:l,className:h,children:x(nb,{icon:r,primaryColor:S,secondaryColor:C,style:y})})});Jp.displayName="AntdIcon";Jp.getTwoToneColor=u_;Jp.setTwoToneColor=f6;const rt=Jp;var y_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};const b_=y_;var x_=function(t,n){return x(rt,{...t,ref:n,icon:b_})};const S_=v.exports.forwardRef(x_);var C_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};const w_=C_;var $_=function(t,n){return x(rt,{...t,ref:n,icon:w_})};const E_=v.exports.forwardRef($_);var O_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};const M_=O_;var P_=function(t,n){return x(rt,{...t,ref:n,icon:M_})};const T_=v.exports.forwardRef(P_);var R_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z"}}]},name:"audio",theme:"outlined"};const N_=R_;var I_=function(t,n){return x(rt,{...t,ref:n,icon:N_})};const A_=v.exports.forwardRef(I_);var __={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M235.52 616.57c16.73-.74 32.28-1.77 47.69-2.07 66.8-1.18 132.4 6.81 194.76 32 30.5 12.3 59.98 26.52 86.5 46.51 21.76 16.45 26.5 36.9 16.58 67.11-6.22 18.67-18.66 32.74-34.36 45.04-37.03 28.88-75.83 54.96-120.41 69.62A595.87 595.87 0 01330 898.04c-42.8 6.67-86.2 9.63-129.45 13.63-8.88.89-17.92-.3-26.8-.3-4.6 0-5.78-2.37-5.93-6.37-1.18-19.7-2.07-39.55-3.85-59.25a2609.47 2609.47 0 00-7.7-76.3c-4-35.4-8.44-70.66-12.89-105.92-4.59-37.18-9.33-74.21-13.77-111.4-4.44-36.3-8.44-72.73-13.18-109.03-5.34-41.48-11.26-82.96-16.89-124.44-6.66-49.03-15.85-97.62-28.43-145.47-.6-2.07 1.18-6.67 2.96-7.26 41.91-16.89 83.98-33.33 125.89-50.07 13.92-5.63 15.1-7.26 15.25 10.37.15 75.1.45 150.21 1.63 225.32.6 39.11 2.08 78.22 4.74 117.18 3.26 47.55 8.3 95.1 12.6 142.66 0 2.07.88 4 1.33 5.19m83.68 218.06a74372.3 74372.3 0 00114.78-86.96c-4.74-6.82-109.3-47.85-133.89-53.33 6.22 46.37 12.59 92.59 19.1 140.29m434.13-14.39c-19.94-202.14-3Line truncated
|
||||
* @license React
|
||||
* react-is.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var rb=Symbol.for("react.element"),ob=Symbol.for("react.portal"),nv=Symbol.for("react.fragment"),rv=Symbol.for("react.strict_mode"),ov=Symbol.for("react.profiler"),iv=Symbol.for("react.provider"),av=Symbol.for("react.context"),jk=Symbol.for("react.server_context"),lv=Symbol.for("react.forward_ref"),sv=Symbol.for("react.suspense"),cv=Symbol.for("react.suspense_list"),uv=Symbol.for("react.memo"),dv=Symbol.for("react.lazy"),Hk=Symbol.for("react.offscreen"),M6;M6=Symbol.for("react.module.reference");function qr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case rb:switch(e=e.type,e){case nv:case ov:case rv:case sv:case cv:return e;default:switch(e=e&&e.$$typeof,e){case jk:case av:case lv:case dv:case uv:case iv:return e;default:return t}}case ob:return t}}}_t.ContextConsumer=av;_t.ContextProvider=iv;_t.Element=rb;_t.ForwardRef=lv;_t.Fragment=nv;_t.Lazy=dv;_t.Memo=uv;_t.Portal=ob;_t.Profiler=ov;_t.StrictMode=rv;_t.Suspense=sv;_t.SuspenseList=cv;_t.isAsyncMode=function(){return!1};_t.isConcurrentMode=function(){return!1};_t.isContextConsumer=function(e){return qr(e)===av};_t.isContextProvider=function(e){return qr(e)===iv};_t.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===rb};_t.isForwardRef=function(e){return qr(e)===lv};_t.isFragment=function(e){return qr(e)===nv};_t.isLazy=function(e){return qr(e)===dv};_t.isMemo=function(e){return qr(e)===uv};_t.isPortal=function(e){return qr(e)===ob};_t.isProfiler=function(e){return qr(e)===ov};_t.isStrictMode=function(e){return qr(e)===rv};_t.isSuspense=function(e){return qr(e)===sv};_t.isSuspenseList=function(e){return qr(e)===cv};_t.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===nv||e===ov||e===rv||e===sv||e===cv||e===Hk||typeof e=="object"&&e!==null&&(e.$$typeof===dv||e.$$typeof===uv||e.$$typeof===iv||e.$$typeof===av||e.$$typeof===lv||e.$$typeof===M6||e.getModuleId!==void 0)};_t.typeOf=qr;(function(e){e.exports=_t})($c);function Cu(e,t,n){var r=v.exports.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}function ib(e,t){typeof e=="function"?e(t):et(e)==="object"&&e&&"current"in e&&(e.current=t)}function Xr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(function(o){return o});return r.length<=1?r[0]:function(o){t.forEach(function(i){ib(i,o)})}}function Va(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Cu(function(){return Xr.apply(void 0,t)},t,function(r,o){return r.length!==o.length||r.every(function(i,a){return i!==o[a]})})}function Wa(e){var t,n,r=$c.exports.isMemo(e)?e.type.type:e.type;return!(typeof r=="function"&&!((t=r.prototype)!==null&&t!==void 0&&t.render)&&r.$$typeof!==$c.exports.ForwardRef||typeof e=="function"&&!((n=e.prototype)!==null&&n!==void 0&&n.render)&&e.$$typeof!==$c.exports.ForwardRef)}function ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return Ee.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(ji(r)):$c.exports.isFragment(r)&&r.props?n=n.concat(ji(r.props.children,t)):n.push(r))}),n}function Jf(e){return e instanceof HTMLElement||e instanceof SVGElement}function Ec(e){return Jf(e)?e:e instanceof Ee.Component?Yf.findDOMNode(e):null}var T0=v.exports.createContext(null);function Vk(e){var t=e.children,n=e.onBatchResize,r=v.exports.useRef(0),o=v.exports.useRef([]),i=v.exports.useContext(T0),a=v.exports.useCallback(function(l,s,c){r.current+=1;var u=r.current;o.current.push({size:l,element:s,data:c}),Promise.resolve().then(function(){u===r.current&&(n==null||n(o.current),o.current=[])}),i==null||i(l,s,c)},[n,i]);return x(T0.Provider,{value:a,children:t})}var P6=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,i){return o[0]===n?(r=i,!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(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,i=this.__entries__;o<i.length;o++){var a=i[o];n.call(r,a[1],a[0])}},t}()}(),R0=typeof window<"u"&&typeof document<"u"&&window.document===document,ep=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")()}(),Wk=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(ep):function(e){return sLine truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Te(e){return mF(e)||D6(e)||eb(e)||hF()}var k6=function(t){return+setTimeout(t,16)},F6=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(k6=function(t){return window.requestAnimationFrame(t)},F6=function(t){return window.cancelAnimationFrame(t)});var wC=0,ab=new Map;function L6(e){ab.delete(e)}var Et=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;wC+=1;var r=wC;function o(i){if(i===0)L6(r),t();else{var a=k6(function(){o(i-1)});ab.set(r,a)}}return o(n),r};Et.cancel=function(e){var t=ab.get(e);return L6(e),F6(t)};function np(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){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 $u(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(i,a){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=r.has(i);if(Vn(!s,"Warning: There may be circular references"),s)return!1;if(i===a)return!0;if(n&&l>1)return!1;r.add(i);var c=l+1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(var u=0;u<i.length;u++)if(!o(i[u],a[u],c))return!1;return!0}if(i&&a&&et(i)==="object"&&et(a)==="object"){var d=Object.keys(i);return d.length!==Object.keys(a).length?!1:d.every(function(f){return o(i[f],a[f],c)})}return!1}return o(e,t)}var gF="%";function I0(e){return e.join(gF)}var yF=function(){function e(t){Tt(this,e),U(this,"instanceId",void 0),U(this,"cache",new Map),this.instanceId=t}return Rt(e,[{key:"get",value:function(n){return this.opGet(I0(n))}},{key:"opGet",value:function(n){return this.cache.get(n)||null}},{key:"update",value:function(n,r){return this.opUpdate(I0(n),r)}},{key:"opUpdate",value:function(n,r){var o=this.cache.get(n),i=r(o);i===null?this.cache.delete(n):this.cache.set(n,i)}}]),e}(),os="data-token-hash",vo="data-css-hash",Oi="__cssinjs_instance__";function bF(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(vo,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(o){o[Oi]=o[Oi]||e,o[Oi]===e&&document.head.insertBefore(o,n)});var r={};Array.from(document.querySelectorAll("style[".concat(vo,"]"))).forEach(function(o){var i=o.getAttribute(vo);if(r[i]){if(o[Oi]===e){var a;(a=o.parentNode)===null||a===void 0||a.removeChild(o)}}else r[i]=!0})}return new yF(e)}var xF=v.exports.createContext({hashPriority:"low",cache:bF(),defaultCache:!0});const vv=xF;function SF(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var lb=function(){function e(){Tt(this,e),U(this,"cache",void 0),U(this,"keys",void 0),U(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return Rt(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(n){var r,o,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return n.forEach(function(l){if(!a)a=void 0;else{var s;a=(s=a)===null||s===void 0||(s=s.map)===null||s===void 0?void 0:s.get(l)}}),(r=a)!==null&&r!==void 0&&r.value&&i&&(a.value[1]=this.cacheCallTimes++),(o=a)===null||o===void 0?void 0:o.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var o=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(c,u){var d=ee(c,2),f=d[1];return o.internalGet(u)[1]<f?[u,o.internalGet(u)[1]]:c},[this.keys[0],this.cacheCallTimes]),a=ee(i,1),l=a[0];this.delete(l)}this.keys.push(n)}var s=this.cache;n.forEach(function(c,u){if(u===n.length-1)s.set(c,{value:[r,o.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(n,r){var o=n.get(r[0]);if(r.length===1){var i;return o.map?n.set(r[0],{map:o.map}):n.delete(r[0]),(i=o.value)===null||i===void 0?void 0:i[0]}var a=this.deleteByPath(o.map,r.slice(1));return(!o.map||o.map.size===0)&&!o.value&&n.delete(r[0]),a}},{key:"delete",value:function(n){if(this.has(n))return this.keys=this.keys.filter(function(r){return!SF(r,n)}),this.deleteByPath(this.cache,n)}}]),e}();U(lb,"MAX_CACHE_SIZE",20);U(lb,"MAX_CACHE_OFFSET",5);var $C=0,z6=function(){function e(t){Tt(this,e),U(this,"derivatives",void 0),U(this,"id",void 0),this.derivatives=Array.i
Line truncated
|
||||
`);else if(C._keyframe)h(C);else{var $=d.reduce(function(E,w){var P;return(w==null||(P=w.visit)===null||P===void 0?void 0:P.call(w,E))||E},C);Object.keys($).forEach(function(E){var w=$[E];if(et(w)==="object"&&w&&(E!=="animationName"||!w._keyframe)&&!p9(w)){var P=!1,R=E.trim(),N=!1;(o||i)&&l?R.startsWith("@")?P=!0:R=v9(E,l,c):o&&!l&&(R==="&"||R==="")&&(R="",N=!0);var T=e(w,n,{root:N,injectHash:P,parentSelectors:[].concat(Te(a),[R])}),F=ee(T,2),z=F[0],A=F[1];m=Q(Q({},m),A),f+="".concat(R).concat(z)}else{let O=function(L,I){var H=L.replace(/[A-Z]/g,function(B){return"-".concat(B.toLowerCase())}),D=I;!YF[L]&&typeof D=="number"&&D!==0&&(D="".concat(D,"px")),L==="animationName"&&I!==null&&I!==void 0&&I._keyframe&&(h(I),D=I.getName(l)),f+="".concat(H,":").concat(D,";")};var M=O,k,_=(k=w==null?void 0:w.value)!==null&&k!==void 0?k:w;et(w)==="object"&&w!==null&&w!==void 0&&w[Z6]&&Array.isArray(_)?_.forEach(function(L){O(E,L)}):O(E,_)}})}}),!o)f="{".concat(f,"}");else if(s&&EF()){var g=s.split(","),b=g[g.length-1].trim();f="@layer ".concat(b," {").concat(f,"}"),g.length>1&&(f="@layer ".concat(s,"{%%%:%}").concat(f))}return[f,m]};function J6(e,t){return np("".concat(e.join("%")).concat(t))}function h9(){return null}var e3="style";function B0(e,t){var n=e.token,r=e.path,o=e.hashId,i=e.layer,a=e.nonce,l=e.clientOnly,s=e.order,c=s===void 0?0:s,u=v.exports.useContext(vv),d=u.autoClear;u.mock;var f=u.defaultCache,m=u.hashPriority,h=u.container,p=u.ssrInline,y=u.transformers,g=u.linters,b=u.cache,S=n._tokenKey,C=[S].concat(Te(r)),$=_0,E=sb(e3,C,function(){var T=C.join("|");if(u9(T)){var F=d9(T),z=ee(F,2),A=z[0],k=z[1];if(A)return[A,S,k,{},l,c]}var _=t(),M=m9(_,{hashId:o,hashPriority:m,layer:i,path:r.join("-"),transformers:y,linters:g}),O=ee(M,2),L=O[0],I=O[1],H=z0(L),D=J6(C,H);return[H,S,D,I,l,c]},function(T,F){var z=ee(T,3),A=z[2];(F||d)&&_0&&Qc(A,{mark:vo})},function(T){var F=ee(T,4),z=F[0];F[1];var A=F[2],k=F[3];if($&&z!==X6){var _={mark:vo,prepend:"queue",attachTo:h,priority:c},M=typeof a=="function"?a():a;M&&(_.csp={nonce:M});var O=Bi(z,A,_);O[Oi]=b.instanceId,O.setAttribute(os,S),Object.keys(k).forEach(function(L){Bi(z0(k[L]),"_effect-".concat(L),_)})}}),w=ee(E,3),P=w[0],R=w[1],N=w[2];return function(T){var F;if(!p||$||!f)F=x(h9,{});else{var z;F=x("style",{...(z={},U(z,os,R),U(z,vo,N),z),dangerouslySetInnerHTML:{__html:P}})}return J(At,{children:[F,T]})}}var g9=function(t,n,r){var o=ee(t,6),i=o[0],a=o[1],l=o[2],s=o[3],c=o[4],u=o[5],d=r||{},f=d.plain;if(c)return null;var m=i,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return m=rp(i,a,l,h,f),s&&Object.keys(s).forEach(function(p){if(!n[p]){n[p]=!0;var y=z0(s[p]);m+=rp(y,a,"_effect-".concat(p),h,f)}}),[u,l,m]},t3="cssVar",y9=function(t,n){var r=t.key,o=t.prefix,i=t.unitless,a=t.ignore,l=t.token,s=t.scope,c=s===void 0?"":s,u=v.exports.useContext(vv),d=u.cache.instanceId,f=u.container,m=l._tokenKey,h=[].concat(Te(t.path),[r,c,m]),p=sb(t3,h,function(){var y=n(),g=H6(y,r,{prefix:o,unitless:i,ignore:a,scope:c}),b=ee(g,2),S=b[0],C=b[1],$=J6(h,C);return[S,C,$,r]},function(y){var g=ee(y,3),b=g[2];_0&&Qc(b,{mark:vo})},function(y){var g=ee(y,3),b=g[1],S=g[2];if(!!b){var C=Bi(b,S,{mark:vo,prepend:"queue",attachTo:f,priority:-999});C[Oi]=d,C.setAttribute(os,r)}});return p},b9=function(t,n,r){var o=ee(t,4),i=o[1],a=o[2],l=o[3],s=r||{},c=s.plain;if(!i)return null;var u=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},f=rp(i,l,a,d,c);return[u,a,f]},Bs;Bs={},U(Bs,e3,g9),U(Bs,V6,UF),U(Bs,t3,b9);var Ot=function(){function e(t,n){Tt(this,e),U(this,"name",void 0),U(this,"style",void 0),U(this,"_keyframe",!0),this.name=t,this.style=n}return Rt(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Za(e){return e.notSplit=!0,e}Za(["borderTop","borderBottom"]),Za(["borderTop"]),Za(["borderBottom"]),Za(["borderLeft","borderRight"]),Za(["borderLeft"]),Za(["borderRight"]);function n3(e){return QO(e)||D6(e)||eb(e)||ZO()}function Io(e,t){for(var n=e,r=0;r<t.length;r+=1){if(n==null)return;n=n[t[r]]}return n}function r3(e,t,n,r){if(!t.length)return n;var o=n3(t),i=o[0],a=o.slice(1),l;return!e&&typeof i=="number"?l=[]:Array.isArray(e)?l=Te(e):l=Q({},e),r&&n===void 0&&a.length===1?delete l[i][a[0]]:l[i]=r3(l[i],a,n,r),l}function ao(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Io(e,t.slice(0,-1))?e:r3(e,t,n,r)}function x9(e){return et(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function IC(e){return Array.isArray(e)?[]:{}}var S9=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Nl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=IC(t[0]);return t.forEach(function(o){function i(a,l){var s=new Set(l),c=Io(o,a),u=Array.isArray(c);if(u||x9(c)){if(!s.has(c)){s.add(c);var d=Io(r,a);u?r=ao(r,a,[]):(!d||et(d)!=="object")&&(r=ao(r,a,IC
Line truncated
|
||||
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||
'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}),eu=z9;function B9(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:l,colorPrimary:s,colorBgBase:c,colorTextBase:u}=e,d=n(s),f=n(o),m=n(i),h=n(a),p=n(l),y=r(c,u),g=e.colorLink||e.colorInfo,b=n(g);return Object.assign(Object.assign({},y),{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:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:p[1],colorInfoBgHover:p[2],colorInfoBorder:p[3],colorInfoBorderHover:p[4],colorInfoHover:p[4],colorInfo:p[6],colorInfoActive:p[7],colorInfoTextHover:p[8],colorInfoText:p[9],colorInfoTextActive:p[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new Nt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const j9=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},H9=j9;function V9(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},H9(r))}const Ho=(e,t)=>new Nt(e).setAlpha(t).toRgbString(),js=(e,t)=>new Nt(e).darken(t).toHexString(),W9=e=>{const t=La(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]}},U9=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Ho(r,.88),colorTextSecondary:Ho(r,.65),colorTextTertiary:Ho(r,.45),colorTextQuaternary:Ho(r,.25),colorFill:Ho(r,.15),colorFillSecondary:Ho(r,.06),colorFillTertiary:Ho(r,.04),colorFillQuaternary:Ho(r,.02),colorBgLayout:js(n,4),colorBgContainer:js(n,0),colorBgElevated:js(n,0),colorBgSpotlight:Ho(r,.85),colorBgBlur:"transparent",colorBorder:js(n,15),colorBorderSecondary:js(n,6)}};function sf(e){return(e+8)/e}function Y9(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,i=e*Math.pow(2.71828,o/5),a=r>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:sf(n)}))}const G9=e=>{const t=Y9(e),n=t.map(u=>u.size),r=t.map(u=>u.lineHeight),o=n[1],i=n[0],a=n[2],l=r[1],s=r[0],c=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:l,lineHeightLG:c,lineHeightSM:s,fontHeight:Math.round(l*o),fontHeightLG:Math.round(c*a),fontHeightSM:Math.round(s*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},K9=G9;function q9(e){const t=Object.keys(l3).map(n=>{const r=La(e[n]);return new Array(10).fill(1).reduce((o,i,a)=>(o[`${n}-${a+1}`]=r[a],o[`${n}${a+1}`]=r[a],o),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),B9(e,{generateColorPalettes:W9,generateNeutralColorPalettes:U9})),K9(e.fontSize)),L9(e)),F9(e)),V9(e))}const s3=A0(q9),H0={token:eu,override:{override:eu},hashed:!0},c3=Ee.createContext(H0),u3="anticon",X9=(e,t)=>t||(e?`ant-${e}`:"ant"),st=v.exports.createContext({getPrefixCls:X9,iconPrefixCls
Line truncated
|
||||
:root {
|
||||
${Object.keys(n).map(a=>`--${e}-${a}: ${n[a]};`).join(`
|
||||
`)}
|
||||
}
|
||||
`.trim()}function J9(e,t){const n=Z9(e,t);Un()&&Bi(n,`${Q9}-dynamic-theme`)}const V0=v.exports.createContext(!1),eL=e=>{let{children:t,disabled:n}=e;const r=v.exports.useContext(V0);return x(V0.Provider,{value:n!=null?n:r,children:t})},bs=V0,W0=v.exports.createContext(void 0),tL=e=>{let{children:t,size:n}=e;const r=v.exports.useContext(W0);return x(W0.Provider,{value:n||r,children:t})},gv=W0;function nL(){const e=v.exports.useContext(bs),t=v.exports.useContext(gv);return{componentDisabled:e,componentSize:t}}const tu=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],rL="5.14.2";function sh(e){return e>=0&&e<=255}function Sd(e,t){const{r:n,g:r,b:o,a:i}=new Nt(e).toRgb();if(i<1)return e;const{r:a,g:l,b:s}=new Nt(t).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((n-a*(1-c))/c),d=Math.round((r-l*(1-c))/c),f=Math.round((o-s*(1-c))/c);if(sh(u)&&sh(d)&&sh(f))return new Nt({r:u,g:d,b:f,a:Math.round(c*100)/100}).toRgbString()}return new Nt({r:n,g:r,b:o,a:1}).toRgbString()}var oL=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function d3(e){const{override:t}=e,n=oL(e,["override"]),r=Object.assign({},t);Object.keys(eu).forEach(f=>{delete r[f]});const o=Object.assign(Object.assign({},n),r),i=480,a=576,l=768,s=992,c=1200,u=1600;if(o.motion===!1){const f="0s";o.motionDurationFast=f,o.motionDurationMid=f,o.motionDurationSlow=f}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Sd(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:Sd(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Sd(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Sd(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
|
||||
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
||||
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
||||
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
||||
`,boxShadowSecondary:`
|
||||
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
||||
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
||||
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
||||
`,boxShadowTertiary:`
|
||||
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
||||
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
||||
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
||||
`,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,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:`
|
||||
0 1px 2px -2px ${new Nt("rgba(0, 0, 0, 0.16)").toRgbString()},
|
||||
0 3px 6px 0 ${new Nt("rgba(0, 0, 0, 0.12)").toRgbString()},
|
||||
0 5px 12px 4px ${new Nt("rgba(0, 0, 0, 0.09)").toRgbString()}
|
||||
`,boxShadowDrawerRight:`
|
||||
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
||||
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
||||
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
||||
`,boxShadowDrawerLeft:`
|
||||
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
||||
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
||||
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
||||
`,boxShadowDrawerUp:`
|
||||
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
||||
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
||||
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
||||
`,boxShadowDrawerDown:`
|
||||
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
||||
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
||||
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
||||
`,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 _C=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const f3={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0},p3={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},iL={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},v3=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:o}=t,i=_C(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=d3(a),i&&Object.entries(i).forEach(l=>{let[s,c]=l;const{theme:u}=c,d=_C(c,["theme"]);let f=d;u&&(f=v3(Object.assign(Object.assign({},a),d),{override:d},u)),a[s]=f}),a};function vr(){const{token:e,hashed:t,theme:n,override:r,cssVar:o}=Ee.useContext(c3),i=`${rL}-${t||""}`,a=n||s3,[l,s,c]=WF(a,[eu,e],{salt:i,override:r,getComputedToken:v3,formatToken:d3,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:f3,ignore:p3,preserve:iL}});return[a,c,t?s:"",l,o]}function Rn(e){var t=v.exports.useRef();t.current=e;var n=v.exports.useCallback(function(){for(var r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(i))},[]);return n}function Ul(e){var t=v.exports.useRef(!1),n=v.exports.useState(e),r=ee(n,2),o=r[0],i=r[1];v.exports.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function a(l,s){s&&t.current||i(l)}return[o,a]}function ch(e){return e!==void 0}function Yt(e,t){var n=t||{},r=n.defaultValue,o=n.value,i=n.onChange,a=n.postState,l=Ul(function(){return ch(o)?o:ch(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),s=ee(l,2),c=s[0],u=s[1],d=o!==void 0?o:c,f=a?a(d):d,m=Rn(i),h=Ul([d]),p=ee(h,2),y=p[0],g=p[1];D0(function(){var S=y[0];c!==S&&m(c,S)},[y]),D0(function(){ch(o)||u(o)},[o]);var b=Rn(function(S,C){u(S,C),g([d],C)});return[f,b]}const Vi={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},on=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}},fb=()=>({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"}}),Eu=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),aL=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"}}}),lL=(e,t,n)=>{const{fontFamily:r,fontSize:o}=e,i=`[class^="${t}"], [class*=" ${t}"]`;return{[n?`.${n}`:i]:{fontFamily:r,fontSize:o,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[i]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},pb=e=>({outline:`${ne(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),yv=e=>({"&:focus-visible":Object.assign({},pb(e))});let sL=Rt(function e(){Tt(this,e)});const m3=sL;function cL(e,t,n){return t=On(t),Zi(e,pv()?Reflect.construct(t,n||[],On(e).constructor):t.apply(e,n))}let uL=function(e){Qr(t,e);function t(n){var r;return Tt(this,t),r=cL(this,t),r.result=0,n instanceof t?r.result=n.result:typeof n=="number"&&(r.result=n),r}return Rt(t,[{key:"add",value:function(r){return r instanceof t?this.result+=r.result:typeof r=="number"&&(this.result+=r),this}},{key:"sub",value:function(r){return r instanceof t?this.result-=r.result:typeof r=="number"&&(this.result-=r),this}},{key:"mul",value:function(r){return r instanceof t?this.result*=r.result:typeof r=="number"&&(this.result*=r),this}},{key:"div",value:function(r){return r instanceof t?this.result/=r.result:typeof r=="number"&&(this.result/=r),this}},{key:"equal",value:function(){return this.result}}]),t}(m3);function dL(e,t,n){return t=On(t),Zi(e,pv()?Reflect.construct(t,n||[],On(e).constructor):t.apply(e,n))}const h3="CALC_UNIT";function uh(e){return typeof e=="number"?`${e}${h3}`:e}let fL=function(e){Qr(t,e);function t(n){var r;return Tt(this,t),r=dL(this,t),r.result="",n instanceof t?r.result=`(${n.result})`:typeof n=="number"?r.result=uh(n):typeof n=="string"&&(r.result=n),r}return Rt(t,[{key:"add",value:function(r){return r instanceof t?this.result=`${this.result} + ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} + ${uh(r)}`),this.lowPriority=!0,this}},{key:"sub",value:function(r){return r instanceof t?this.result=`${this.result} - ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} - ${uh(r)}`),this.lowPriority=!0,this}},{key:"mul",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} * ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} * ${r}`),this.lowPriority=!1,this}},{key:"div",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} / ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} / ${r}`),this.lowPriority=!1,this}},{key:"getResult",value:function(r){return this.lowPriority||r?`(${this.result})`:this.result}},{key:"equal",value:function(r){const{unit:o=!0}=r||{},i=new RegExp(`${h3}`,"g");return this.result=this.result.replace(i,o?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),t}(m3);const pL=e=>{const t=e==="css"?fL:uL;return n=>new t(n)},vL=pL;function mL(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`max(${n.map(o=>ne(o)).join(",")})`},min:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`min(${n.map(o=>ne(o)).join(",")})`}}}const g3=typeof CSSINJS_STATISTIC<"u";let U0=!0;function Pt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!g3)return Object.assign.apply(Object,[{}].concat(t));U0=!1;const r={};return t.forEach(o=>{Object.keys(o).forEach(a=>{Object.defineProperty(r,a,{configurable:!0,enumerable:!0,get:()=>o[a]})})}),U0=!0,r}const DC={};function hL(){}const gL=e=>{let t,n=e,r=hL;return g3&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get(o,i){return U0&&t.add(i),o[i]}}),r=(o,i)=>{var a;DC[o]={global:Array.from(t),component:Object.assign(Object.assign({},(a=DC[o])===null||a===void 0?void 0:a.component),i)}}),{token:n,keys:t,flush:r}},yL=(e,t)=>{const[n,r]=vr();return B0({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},fb()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},y3=yL,b3=(e,t,n)=>{var r;return typeof n=="function"?n(Pt(t,(r=t[e])!==null&&r!==void 0?r:{})):n!=null?n:{}},x3=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:a}=r;a.forEach(l=>{let[s,c]=l;var u;((o==null?void 0:o[s])||(o==null?void 0:o[c]))&&((u=o[c])!==null&&u!==void 0||(o[c]=o==null?void 0:o[s]))})}const i=Object.assign(Object.assign({},n),o);return Object.keys(i).forEach(a=>{i[a]===t[a]&&delete i[a]}),i},bL=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function vb(e,t,n){le
Line truncated
|
||||
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
||||
charSet checked classID className colSpan cols content contentEditable contextMenu
|
||||
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
||||
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
||||
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
||||
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
||||
mediaGroup method min minLength multiple muted name noValidate nonce open
|
||||
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
||||
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
||||
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
||||
summary tabIndex target title type useMap value width wmode wrap`,nz=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
||||
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
||||
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
||||
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
||||
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
||||
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
||||
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,rz="".concat(tz," ").concat(nz).split(/[\s\n]+/),oz="aria-",iz="data-";function HC(e,t){return e.indexOf(t)===0}function as(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=Q({},t);var r={};return Object.keys(e).forEach(function(o){(n.aria&&(o==="role"||HC(o,oz))||n.data&&HC(o,iz)||n.attr&&rz.includes(o))&&(r[o]=e[o])}),r}const{isValidElement:nu}=mu;function A3(e){return e&&nu(e)&&e.type===v.exports.Fragment}function az(e,t,n){return nu(e)?v.exports.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t}function Wi(e,t){return az(e,e,t)}const lz=e=>{const[,,,,t]=vr();return t?`${e}-css-var`:""},Lo=lz;var ve={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=ve.F1&&n<=ve.F12)return!1;switch(n){case ve.ALT:case ve.CAPS_LOCK:case ve.CONTEXT_MENU:case ve.CTRL:case ve.DOWN:case ve.END:case ve.ESC:case ve.HOME:case ve.INSERT:case ve.LEFT:case ve.MAC_FF_META:case ve.META:case ve.NUMLOCK:case ve.NUM_CENTER:case ve.PAGE_DOWN:case ve.PAGE_UP:case ve.PAUSE:case ve.PRINT_SCREEN:case ve.RIGHT:case ve.SHIFT:case ve.UP:case ve.WIN_KEY:case ve.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=ve.ZERO&&t<=ve.NINE||t>=ve.NUM_ZERO&&t<=ve.NUM_MULTIPLY||t>=ve.A&&t<=ve.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case ve.SPACE:case ve.QUESTION_MARK:case ve.NUM_PLUS:case ve.NUM_MINUS:case ve.NUM_PERIOD:case ve.NUM_DIVISION:case ve.SEMICOLON:case ve.DASH:case ve.EQUALS:case ve.COMMA:case ve.PERIOD:case ve.SLASH:case ve.APOSTROPHE:case ve.SINGLE_QUOTE:case ve.OPEN_SQUARE_BRACKET:case ve.BACKSLASH:case ve.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const sz=Ee.createContext(void 0),_3=sz,pa=100,cz=10,uz=pa*cz,D3={Modal:pa,Drawer:pa,Popover:pa,Popconfirm:pa,Tooltip:pa,Tour:pa},dz={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function fz(e){return e in D3}function bv(e,t){const[,n]=vr(),r=Ee.useContext(_3),o=fz(e);if(t!==void 0)return[t,t];let i=r!=null?r:0;return o?(i+=(r?0:n.zIndexPopupBase)+D3[e],i=Math.min(i,n.zIndexPopupBase+uz)):i+=dz[e],[r===void 0?t:i,i]}function Qn(){Qn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(_,M,O){_[M]=O.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(_,M,O){return Object.defineProperty(_,M,{value:O,enumerable:!0,configurable:!0,writable:!0}),_[M]}try{c({},"")}catch{c=function(O,L,I){return O[L]=I}}function u(_,M,O,L){var I=M&&M.prototype instanceof g?M:g,H=Object.create(I.prototype),D=new A(L||[]);return o(H,"_invoke",{value:N(_,O,D)}),H}function d(_,M,O){try{return{type:"normal",arg:_.call(M,O)}}catch(L){return{type:"throw",arg:L}}}t.wrap=u;var f="suspendedStart",m="suspendedYield",h="executing",p="completed",y={};function g(){}function b(){}function S(){}var C={};c(C,a,function(){return this});var $=Object.getPrototypeOf,E=$&&$($(k([])));E&&E!==n&&r.call(E,a)&&(C=E);var w=S.prototype=g.prototype=Object.create(C);function P(_){["next","throw","return"].forEach(function(M){c(_,M,function(O){return this._invoke(M,O)})})}function R(_,M){function O(I,H,D,B){var W=d(_[I],_,H);if(W.type!=="throw"){var Y=W.arg,K=Y.value;return K&&et(K)=="object"&&r.call(K,"__await")?M.resolve(K.__await).then(function(j){O("next",j,D,B)},function(j){O("throw",j,D,B)}):M.resolve(K).then(function(j){Y.value=j,D(Y)},function(j){return O("throw",j,D,B)})}B(W.arg)}var L;o(this,"_invoke",{value:function(H,D){function B(){return new M(function(W,Y){O(H,D,W,Y)})}return L=L?L.then(B,B):B()}})}function N(_,M,O){var L=f;return function(I,H){if(L===h)throw new Error("Generator is already running");if(L===p){if(I==="throw")throw H;return{value:e,done:!
Line truncated
|
||||
&:focus,
|
||||
&:active`]:{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},KC(`${t}-primary`,o),KC(`${t}-danger`,i)]}},Hz=jz,z3=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Pt(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},B3=e=>{var t,n,r,o,i,a;const l=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,s=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,c=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,u=(o=e.contentLineHeight)!==null&&o!==void 0?o:sf(l),d=(i=e.contentLineHeightSM)!==null&&i!==void 0?i:sf(s),f=(a=e.contentLineHeightLG)!==null&&a!==void 0?a:sf(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:f,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*f)/2-e.lineWidth,0)}},Vz=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${ne(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:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},yv(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${t}-compact-item`]:{flex:"none"}}}},ei=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),Wz=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Uz=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),Yz=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),ru=(e,t,n,r,o,i,a,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},ei(e,Object.assign({background:t},a),Object.assign({background:t},l))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),xb=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},Yz(e))}),j3=e=>Object.assign({},xb(e)),ip=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),H3=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},j3(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),ei(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),ru(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},ei(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),ru(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),xb(e))}),Gz=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object
Line truncated
|
||||
html body {
|
||||
overflow-y: hidden;
|
||||
`.concat(a?"width: calc(100% - ".concat(i,"px);"):"",`
|
||||
}`),o)}else Qc(o);return function(){Qc(o)}},[t,o])}var ZC=!1;function bB(e){return typeof e=="boolean"&&(ZC=e),ZC}var JC=function(t){return t===!1?!1:!Un()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},$v=v.exports.forwardRef(function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer;e.debug;var i=e.autoDestroy,a=i===void 0?!0:i,l=e.children,s=v.exports.useState(n),c=ee(s,2),u=c[0],d=c[1],f=u||n;v.exports.useEffect(function(){(a||n)&&d(n)},[n,a]);var m=v.exports.useState(function(){return JC(o)}),h=ee(m,2),p=h[0],y=h[1];v.exports.useEffect(function(){var T=JC(o);y(T!=null?T:null)});var g=pB(f&&!p),b=ee(g,2),S=b[0],C=b[1],$=p!=null?p:S;yB(r&&n&&Un()&&($===S||$===document.body));var E=null;if(l&&Wa(l)&&t){var w=l;E=w.ref}var P=Va(E,t);if(!f||!Un()||p===void 0)return null;var R=$===!1||bB(),N=l;return t&&(N=v.exports.cloneElement(l,{ref:P})),x(V3.Provider,{value:C,children:R?N:pr.exports.createPortal(N,$)})}),W3=v.exports.createContext({});function xB(){var e=Q({},mu);return e.useId}var ew=0,tw=xB();const U3=tw?function(t){var n=tw();return t||n}:function(t){var n=v.exports.useState("ssr-id"),r=ee(n,2),o=r[0],i=r[1];return v.exports.useEffect(function(){var a=ew;ew+=1,i("rc_unique_".concat(a))},[]),t||o};function nw(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function rw(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var o=e.document;n=o.documentElement[r],typeof n!="number"&&(n=o.body[r])}return n}function SB(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=rw(o),n.top+=rw(o,!0),n}const CB=v.exports.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var ow={width:0,height:0,overflow:"hidden",outline:"none"},wB=Ee.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.title,a=e.ariaId,l=e.footer,s=e.closable,c=e.closeIcon,u=e.onClose,d=e.children,f=e.bodyStyle,m=e.bodyProps,h=e.modalRender,p=e.onMouseDown,y=e.onMouseUp,g=e.holderRef,b=e.visible,S=e.forceRender,C=e.width,$=e.height,E=e.classNames,w=e.styles,P=Ee.useContext(W3),R=P.panel,N=Va(g,R),T=v.exports.useRef(),F=v.exports.useRef();Ee.useImperativeHandle(t,function(){return{focus:function(){var L;(L=T.current)===null||L===void 0||L.focus()},changeActive:function(L){var I=document,H=I.activeElement;L&&H===F.current?T.current.focus():!L&&H===T.current&&F.current.focus()}}});var z={};C!==void 0&&(z.width=C),$!==void 0&&(z.height=$);var A;l&&(A=x("div",{className:oe("".concat(n,"-footer"),E==null?void 0:E.footer),style:Q({},w==null?void 0:w.footer),children:l}));var k;i&&(k=x("div",{className:oe("".concat(n,"-header"),E==null?void 0:E.header),style:Q({},w==null?void 0:w.header),children:x("div",{className:"".concat(n,"-title"),id:a,children:i})}));var _;s&&(_=x("button",{type:"button",onClick:u,"aria-label":"Close",className:"".concat(n,"-close"),children:c||x("span",{className:"".concat(n,"-close-x")})}));var M=J("div",{className:oe("".concat(n,"-content"),E==null?void 0:E.content),style:w==null?void 0:w.content,children:[_,k,x("div",{className:oe("".concat(n,"-body"),E==null?void 0:E.body),style:Q(Q({},f),w==null?void 0:w.body),...m,children:d}),A]});return J("div",{role:"dialog","aria-labelledby":i?a:null,"aria-modal":"true",ref:N,style:Q(Q({},o),z),className:oe(n,r),onMouseDown:p,onMouseUp:y,children:[x("div",{tabIndex:0,ref:T,style:ow,"aria-hidden":"true"}),x(CB,{shouldUpdate:b||S,children:h?h(M):M}),x("div",{tabIndex:0,ref:F,style:ow,"aria-hidden":"true"})]},"dialog-element")}),Y3=v.exports.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,o=e.style,i=e.className,a=e.visible,l=e.forceRender,s=e.destroyOnClose,c=e.motionName,u=e.ariaId,d=e.onVisibleChanged,f=e.mousePosition,m=v.exports.useRef(),h=v.exports.useState(),p=ee(h,2),y=p[0],g=p[1],b={};y&&(b.transformOrigin=y);function S(){var C=SB(m.current);g(f?"".concat(f.x-C.left,"px ").concat(f.y-C.top,"px"):"")}return x(Fo,{visible:a,onVisibleChanged:d,onAppearPrepare:S,onEnterPrepare:S,forceRender:l,motionName:c,removeOnLeave:s,ref:m,children:function(C,$){var E=C.className,w=C.style;return x(wB,{...e,ref:t,title:r,ariaId:u,prefixCls:n,holderRef:$,style:Q(Q(Q({},w),o),b),className:oe(i,E)})}})});Y3.displayName="Content";function $B(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,i=e.motionName,a=e.className;return x(Fo,{visible:r,motionName:i,leavedClassName:"".concat(t,"-mask-hidden"),children:function(l,s){var c=l.className,u=l.style;return x("div",{ref:s,style:Q(Q({},u),n),className:oe("".concat(t,"-mask"),c,a),...o})}},"mask")}function EB(e){var t=e.prefixCls,n=t===void 0?"rc-dialog":t,r=e.zIndex,o=e.visible,i=o===void 0?!1:o,a=e.keyboard,l=a===void 0?!0:a,s=e.focusTriggerAfterClose,c=s===void 0?!0:s,u=e.wrapStyle,d=e.wrapClassName,f=e.wrapProps,m=e.onClose,h=e.afterOpenChange,p=e.afterClose,y=e.transitionName,g=e.animation,b=e.closable,S=b===void 0?!
Line truncated
|
||||
(?:
|
||||
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
||||
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
||||
(?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
||||
(?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
||||
(?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
||||
(?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
||||
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
||||
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
||||
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
||||
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),a=new RegExp("^"+n+"$"),l=new RegExp("^"+o+"$"),s=function(C){return C&&C.exact?i:new RegExp("(?:"+t(C)+n+t(C)+")|(?:"+t(C)+o+t(C)+")","g")};s.v4=function(S){return S&&S.exact?a:new RegExp(""+t(S)+n+t(S),"g")},s.v6=function(S){return S&&S.exact?l:new RegExp(""+t(S)+o+t(S),"g")};var c="(?:(?:[a-z]+:)?//)",u="(?:\\S+(?::\\S*)?@)?",d=s.v4().source,f=s.v6().source,m="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",h="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",p="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",g='(?:[/?#][^\\s"]*)?',b="(?:"+c+"|www\\.)"+u+"(?:localhost|"+d+"|"+f+"|"+m+h+p+")"+y+g;return Od=new RegExp("(?:^"+b+"$)","i"),Od},cw={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},ac={integer:function(t){return ac.number(t)&&parseInt(t,10)===t},float:function(t){return ac.number(t)&&!ac.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 typeof t=="object"&&!ac.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(cw.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(jB())},hex:function(t){return typeof t=="string"&&!!t.match(cw.hex)}},HB=function(t,n,r,o,i){if(t.required&&n===void 0){K3(t,n,r,o,i);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?ac[l](n)||o.push(wr(i.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&o.push(wr(i.messages.types[l],t.fullField,t.type))},VB=function(t,n,r,o,i){var a=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=n,d=null,f=typeof n=="number",m=typeof n=="string",h=Array.isArray(n);if(f?d="number":m?d="string":h&&(d="array"),!d)return!1;h&&(u=n.length),m&&(u=n.replace(c,"_").length),a?u!==t.len&&o.push(wr(i.messages[d].len,t.fullField,t.len)):l&&!s&&u<t.min?o.push(wr(i.messages[d].min,t.fullField,t.min)):s&&!l&&u>t.max?o.push(wr(i.messages[d].max,t.fullField,t.max)):l&&s&&(u<t.min||u>t.max)&&o.push(wr(i.messages[d].range,t.fullField,t.min,t.max))},Ja="enum",WB=function(t,n,r,o,i){t[Ja]=Array.isArray(t[Ja])?t[Ja]:[],t[Ja].indexOf(n)===-1&&o.push(wr(i.messages[Ja],t.fullField,t[Ja].join(", ")))},UB=function(t,n,r,o,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(wr(i.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||o.push(wr(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},bt={required:K3,whitespace:BB,type:HB,range:VB,enum:WB,pattern:UB},YB=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(yn(n,"string")&&!t.required)return r();bt.required(t,n,o,a,i,"string"),yn(n,"string")||(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i),bt.pattern(t,n,o,a,i),t.whitespace===!0&&bt.whitespace(t,n,o,a,i))}r(a)},GB=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&bt.type(t,n,o,a,i)}r(a)},KB=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},qB=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&bt.type(t,n,o,a,i)}r(a)},XB=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),yn(n)||bt.type(t,n,o,a,i)}r(a)},QB=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},ZB=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},JB=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return r();bt.required(t,n,o,a,i,"array"),n!=null&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},ej=function(t,n,r,o,i){var
Line truncated
|
||||
${i}${e}-enter,
|
||||
${i}${e}-appear
|
||||
`]:Object.assign(Object.assign({},$j(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},Ej(r)),{animationPlayState:"paused"}),[`
|
||||
${i}${e}-enter${e}-enter-active,
|
||||
${i}${e}-appear${e}-appear-active
|
||||
`]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},Oj=new Ot("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),Mj=new Ot("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),e5=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[Ev(r,Oj,Mj,e.motionDurationMid,t),{[`
|
||||
${o}${r}-enter,
|
||||
${o}${r}-appear
|
||||
`]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},Pj=new Ot("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Tj=new Ot("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Rj=new Ot("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Nj=new Ot("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Ij=new Ot("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Aj=new Ot("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),_j=new Ot("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Dj=new Ot("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),kj={"move-up":{inKeyframes:_j,outKeyframes:Dj},"move-down":{inKeyframes:Pj,outKeyframes:Tj},"move-left":{inKeyframes:Rj,outKeyframes:Nj},"move-right":{inKeyframes:Ij,outKeyframes:Aj}},lp=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=kj[t];return[Ev(r,o,i,e.motionDurationMid),{[`
|
||||
${r}-enter,
|
||||
${r}-appear
|
||||
`]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},$b=new Ot("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Eb=new Ot("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Ob=new Ot("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Mb=new Ot("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),Fj=new Ot("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Lj=new Ot("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),zj=new Ot("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Bj=new Ot("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),jj={"slide-up":{inKeyframes:$b,outKeyframes:Eb},"slide-down":{inKeyframes:Ob,outKeyframes:Mb},"slide-left":{inKeyframes:Fj,outKeyframes:Lj},"slide-right":{inKeyframes:zj,outKeyframes:Bj}},ss=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=jj[t];return[Ev(r,o,i,e.motionDurationMid),{[`
|
||||
${r}-enter,
|
||||
${r}-appear
|
||||
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,["&-prepare"]:{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},Hj=new Ot("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Vj=new Ot("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),gw=new Ot("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),yw=new Ot("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),Wj=new Ot("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),Uj=new Ot("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),Yj=new Ot("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),Gj=new Ot("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),Kj=new Ot("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),qj=new Ot("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),Xj=new Ot("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),Qj=new Ot("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),Zj={zoom:{inKeyframes:Hj,outKeyframes:Vj},"zoom-big":{inKeyframes:gw,outKeyframes:yw},"zoom-big-fast":{inKeyframes:gw,outKeyframes:yw},"zoom-left":{inKeyframes:Yj,outKeyframes:Gj},"zoom-right":{inKeyframes:Kj,outKeyframes:qj},"zoom-up":{inKeyframes:Wj,outKeyframes:Uj},"zoom-down":{inKeyframes:Xj,outKeyframes:Qj}},Ov=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=Zj[t];return[Ev(r,o,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
|
||||
${r}-enter,
|
||||
${r}-appear
|
||||
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function bw(e){return{position:e,inset:0}}const t5=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},bw("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},bw("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:e5(e)}]},Jj=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${ne(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},on(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${ne(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${ne(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.closeBtnHoverBg,textDecoration:"none"},"&:active":{backgroundColor:e.closeBtnActiveBg}},yv(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,
|
||||
${t}-body,
|
||||
${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},eH=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},tH=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Pt(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},nH=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,closeBtnHoverBg:e.wireframe?"transparent":e.colorFillContent,closeBtnActiveBg:e.wireframe?"transparent":e.colorFillContentHover,contentPadding:e.wireframe?0:`${ne(e.paddingMD)} ${ne(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${ne(e.padding)} ${ne(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${ne(e.paddingXS)} ${ne(e.padding)}`:0,footerBorderTop:e.wireframe?`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${ne(e.padding*2)} ${ne(e.padding*2)} ${ne(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM});Mn("Modal",e=>{const t=tH(e);return[Jj(t),eH(t),t5(t),Ov(t,"zoom")]},nH,{unitless:{titleLineHeight:!0}});function rH(e){return t=>x(gb,{theme:{token:{motion:!1,zIndexPopupBase:0}},children:x(e,{...Object.assign({},t)})})}const oH=(e,t,n,r)=>rH(i=>{const{prefixCls:a,style:l}=i,s=v.exports.useRef(null),[c,u]=v.exports.useState(0),[d,f]=v.exports.useState(0),[m,h]=Yt(!1,{value:i.open}),{getPrefixCls:p}=v.exports.useContext(st),y=p(t||"select",a);v.exports.useEffect(()=>{if(h(!0),typeof ResizeObserver<"u"){const S=new ResizeObserver($=>{const E=$[0].target;u(E.offsetHeight+8),f(E.offsetWidth)}),C=setInterval(()=>{var $;const E=n?`.${n(y)}`:`.${y}-dropdown`,w=($=s.current)===null||$===void 0?void 0:$.querySelector(E);w&&(clearInterval(C),S.observe(w))},10);return()=>{clearInterval(C),S.disconnect()}}},[]);let g=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},l),{margin:0}),open:m,visible:m,getPopupContainer:()=>s.current});return r&&(g=r(g)),x("div",{ref:s,style:{paddingBottom:c,position:"relative",minWidth:d},children:x(e,{...Object.assign({},g)})})}),iH=oH,Pb=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|x7
Line truncated
|
||||
`,`\r
|
||||
`].includes(He)})},[_]),tt=v.exports.useContext(Tb)||{},ot=tt.maxCount,St=tt.rawValues,Ct=function(qe,wt,Gt){if(!((St==null?void 0:St.size)>=ot)){var Dt=!0,tn=qe;N==null||N(null);var xn=QH(qe,_,ot&&ot-St.size),Gn=Gt?null:xn;return g!=="combobox"&&Gn&&(tn="",k==null||k(Gn),Se(!1),Dt=!1),A&&Ve!==tn&&A(tn,{source:wt?"typing":"effect"}),Dt}},pt=function(qe){!qe||!qe.trim()||A(qe,{source:"submit"})};v.exports.useEffect(function(){!Re&&!ae&&g!=="combobox"&&Ct("",!1,!1)},[Re]),v.exports.useEffect(function(){Ce&&b&&Fe(!1),b&&!we.current&&Me(!1)},[b]);var Ye=r5(),Ge=ee(Ye,2),gt=Ge[0],Ie=Ge[1],je=function(qe){var wt=gt(),Gt=qe.which;if(Gt===ve.ENTER&&(g!=="combobox"&&qe.preventDefault(),Re||Se(!0)),Ie(!!Ve),Gt===ve.BACKSPACE&&!wt&&ae&&!Ve&&d.length){for(var Dt=Te(d),tn=null,xn=Dt.length-1;xn>=0;xn-=1){var Gn=Dt[xn];if(!Gn.disabled){Dt.splice(xn,1),tn=Gn;break}}tn&&f(Dt,{type:"remove",values:[tn]})}for(var Sn=arguments.length,Kn=new Array(Sn>1?Sn-1:0),rr=1;rr<Sn;rr++)Kn[rr-1]=arguments[rr];if(Re){var qa;(qa=Ae.current)===null||qa===void 0||qa.onKeyDown.apply(qa,[qe].concat(Kn))}fe==null||fe.apply(void 0,[qe].concat(Kn))},Qe=function(qe){for(var wt=arguments.length,Gt=new Array(wt>1?wt-1:0),Dt=1;Dt<wt;Dt++)Gt[Dt-1]=arguments[Dt];if(Re){var tn;(tn=Ae.current)===null||tn===void 0||tn.onKeyUp.apply(tn,[qe].concat(Gt))}re==null||re.apply(void 0,[qe].concat(Gt))},ut=function(qe){var wt=d.filter(function(Gt){return Gt!==qe});f(wt,{type:"remove",values:[qe]})},en=v.exports.useRef(!1),Bt=function(){Me(!0),b||(ie&&!en.current&&ie.apply(void 0,arguments),te.includes("focus")&&Se(!0)),en.current=!0},sn=function(){we.current=!0,Me(!1,function(){en.current=!1,we.current=!1,Se(!1)}),!b&&(Ve&&(g==="tags"?A(Ve,{source:"submit"}):g==="multiple"&&A("",{source:"blur"})),Z&&Z.apply(void 0,arguments))},cn=[];v.exports.useEffect(function(){return function(){cn.forEach(function(He){return clearTimeout(He)}),cn.splice(0,cn.length)}},[]);var tr=function(qe){var wt,Gt=qe.target,Dt=(wt=$e.current)===null||wt===void 0?void 0:wt.getPopupElement();if(Dt&&Dt.contains(Gt)){var tn=setTimeout(function(){var Kn=cn.indexOf(tn);if(Kn!==-1&&cn.splice(Kn,1),ke(),!le&&!Dt.contains(document.activeElement)){var rr;(rr=ge.current)===null||rr===void 0||rr.focus()}});cn.push(tn)}for(var xn=arguments.length,Gn=new Array(xn>1?xn-1:0),Sn=1;Sn<xn;Sn++)Gn[Sn-1]=arguments[Sn];me==null||me.apply(void 0,[qe].concat(Gn))},hr=v.exports.useState({}),Pn=ee(hr,2),si=Pn[1];function ci(){si({})}var Yn;ct&&(Yn=function(qe){Se(qe)}),cH(function(){var He;return[be.current,(He=$e.current)===null||He===void 0?void 0:He.getPopupElement()]},_e,Se,!!ct);var ui=v.exports.useMemo(function(){return Q(Q({},e),{},{notFoundContent:p,open:Re,triggerOpen:_e,id:o,showSearch:de,multiple:ae,toggleOpen:Se})},[e,p,_e,Re,o,de,ae,Se]),Zr=!!O||S,nr;Zr&&(nr=x(Mv,{className:oe("".concat(i,"-arrow"),U({},"".concat(i,"-arrow-loading"),S)),customizeIcon:O,customizeIconProps:{loading:S,searchValue:Ve,open:Re,focused:De,showSearch:de}}));var Ar=function(){var qe;y==null||y(),(qe=ge.current)===null||qe===void 0||qe.focus(),f([],{type:"clear",values:d}),Ct("",!1,!1)},Jr=aH(i,Ar,d,M,L,b,Ve,g),Oo=Jr.allowClear,gr=Jr.clearIcon,di=x(I,{ref:Ae}),eo=oe(i,a,(r={},U(r,"".concat(i,"-focused"),De),U(r,"".concat(i,"-multiple"),ae),U(r,"".concat(i,"-single"),!ae),U(r,"".concat(i,"-allow-clear"),M),U(r,"".concat(i,"-show-arrow"),Zr),U(r,"".concat(i,"-disabled"),b),U(r,"".concat(i,"-loading"),S),U(r,"".concat(i,"-open"),Re),U(r,"".concat(i,"-customize-input"),Ze),U(r,"".concat(i,"-show-search"),de),r)),$t=x(qH,{ref:$e,disabled:b,prefixCls:i,visible:_e,popupElement:di,animation:H,transitionName:D,dropdownStyle:B,dropdownClassName:W,direction:c,dropdownMatchSelectWidth:Y,dropdownRender:K,dropdownAlign:j,placement:V,builtinPlacements:X,getPopupContainer:G,empty:m,getTriggerDOMNode:function(){return ze.current},onPopupVisibleChange:Yn,onPopupMouseEnter:ci,children:ct?v.exports.cloneElement(ct,{ref:ht}):x(IH,{...e,domRef:ze,prefixCls:i,inputElement:Ze,ref:ge,id:o,showSearch:de,autoClearSearchValue:z,mode:g,activeDescendantId:T,tagRender:s,values:d,open:Re,onToggleOpen:Se,activeValue:R,searchValue:Ve,onSearch:Ct,onSearchSubmit:pt,onRemove:ut,tokenWithEnter:Xe})}),mt;return ct?mt=$t:mt=J("div",{className:eo,...ue,ref:be,onMouseDown:tr,onKeyDown:je,onKeyUp:Qe,onFocus:Bt,onBlur:sn,children:[De&&!Re&&x("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},children:"".concat(d.map(function(He){var qe=He.label,wt=He.value;return["number","string"].includes(et(qe))?qe:wt}).join(", "))}),$t,nr,Oo&&gr]}),x(n5.Provider,{value:ui,children:mt})}),Rb=function(){return null};Rb.isSelectOptGroup=!0;var Nb=function(){return null};Nb.isSelectOption=!0;var d5=v.exports.forwardRef(function(e,t){var n=e.height,r=e.offsetY,o=e.offsetX,i=e.children,a=e.prefixCls,l=e.onInnerResize,s=e.innerProps,c=e.rtl,u=e.extra,d={},f={display:"flex",flexDirection:"column"};return r!==void 0&&(d={height:n,position:"rel
Line truncated
|
||||
${o}${l}bottomLeft,
|
||||
${i}${l}bottomLeft
|
||||
`]:{animationName:$b},[`
|
||||
${o}${l}topLeft,
|
||||
${i}${l}topLeft,
|
||||
${o}${l}topRight,
|
||||
${i}${l}topRight
|
||||
`]:{animationName:Ob},[`${a}${l}bottomLeft`]:{animationName:Eb},[`
|
||||
${a}${l}topLeft,
|
||||
${a}${l}topRight
|
||||
`]:{animationName:Mb},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},Fw(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Vi),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Fw(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},ss(e,"slide-up"),ss(e,"slide-down"),lp(e,"move-up"),lp(e,"move-down")]},qV=KV,rl=2,XV=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},kb=(e,t)=>{const{componentCls:n,iconCls:r}=e,o=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,a=XV(e),l=t?`${n}-${t}`:"";return{[`${n}-multiple${l}`]:{[o]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:e.calc(rl).mul(2).equal(),paddingBlock:e.calc(a).sub(rl).equal(),borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${ne(rl)} 0`,lineHeight:ne(i),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:rl,marginBottom:rl,lineHeight:ne(e.calc(i).sub(e.calc(e.lineWidth).mul(2)).equal()),borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,marginInlineEnd:e.calc(rl).mul(2).equal(),paddingInlineStart:e.paddingXS,paddingInlineEnd:e.calc(e.paddingXS).div(2).equal(),[`${n}-disabled&`]:{color:e.multipleItemColorDisabled,borderColor:e.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(e.paddingXS).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},fb()),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${o}-item + ${o}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${o}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(a).equal(),[`
|
||||
&-input,
|
||||
&-mirror
|
||||
`]:{height:i,fontFamily:e.fontFamily,lineHeight:ne(i),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}};function Sh(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",o={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[`
|
||||
&${n}-show-arrow ${n}-selector,
|
||||
&${n}-allow-clear ${n}-selector
|
||||
`]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[kb(e,t),o]}const QV=e=>{const{componentCls:t}=e,n=Pt(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Pt(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Sh(e),Sh(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},Sh(r,"lg")]},ZV=QV;function Ch(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},on(e,!0)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
||||
${n}-selection-item,
|
||||
${n}-selection-placeholder
|
||||
`]:{padding:0,lineHeight:ne(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
||||
&${n}-show-arrow ${n}-selection-item,
|
||||
&${n}-show-arrow ${n}-selection-placeholder
|
||||
`]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${ne(r)}`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:ne(i)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${ne(r)}`,"&:after":{display:"none"}}}}}}}function JV(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[Ch(e),Ch(Pt(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${ne(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`
|
||||
&${t}-show-arrow ${t}-selection-item,
|
||||
&${t}-show-arrow ${t}-selection-placeholder
|
||||
`]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},Ch(Pt(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const eW=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,controlPaddingHorizontal:o,zIndexPopupBase:i,colorText:a,fontWeightStrong:l,controlItemBgActive:s,controlItemBgHover:c,colorBgContainer:u,colorFillSecondary:d,controlHeightLG:f,controlHeightSM:m,colorBgContainerDisabled:h,colorTextDisabled:p}=e;return{zIndexPopup:i+50,optionSelectedColor:a,optionSelectedFontWeight:l,optionSelectedBg:s,optionActiveBg:c,optionPadding:`${(r-t*n)/2}px ${o}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:u,clearBg:u,singleItemHeightLG:f,multipleItemBg:d,multipleItemBorderColor:"transparent",multipleItemHeight:m,multipleItemHeightLG:r,multipleSelectorBgDisabled:h,multipleItemColorDisabled:p,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},g5=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${ne(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${ne(o)} ${t.activeShadowColor}`,outline:0}}}},Lw=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},g5(e,t))}),tW=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},g5(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),Lw(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),Lw(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),y5=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${ne(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},zw=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},y5(e,t))}),nW=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},y5(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),zw(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),zw(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),rW=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}),oW=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},tW(e)),nW(e)),rW(e))}),iW=oW,aW=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},lW=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},sW=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},on(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not($Line truncated
|
||||
&:hover ${S}`]:{borderColor:r},[`${t}-input:focus-visible + ${S}`]:Object.assign({},pb(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:E,height:E,marginBlockStart:b(1).mul(o).div(-2).equal(),marginInlineStart:b(1).mul(o).div(-2).equal(),backgroundColor:y,borderBlockStart:0,borderInlineStart:0,borderRadius:E,transform:"scale(0)",opacity:0,transition:`all ${i} ${l}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:E,height:E,backgroundColor:s,borderColor:c,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[S]:{borderColor:r,backgroundColor:g,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${i} ${l}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[S]:{backgroundColor:d,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[S]:{"&::after":{transform:`scale(${b($).div(o).equal({unit:!1})})`}}}},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}})}},kY=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:i,colorBorder:a,motionDurationSlow:l,motionDurationMid:s,buttonPaddingInline:c,fontSize:u,buttonBg:d,fontSizeLG:f,controlHeightLG:m,controlHeightSM:h,paddingXS:p,borderRadius:y,borderRadiusSM:g,borderRadiusLG:b,buttonCheckedBg:S,buttonSolidCheckedColor:C,colorTextDisabled:$,colorBgContainerDisabled:E,buttonCheckedBgDisabled:w,buttonCheckedColorDisabled:P,colorPrimary:R,colorPrimaryHover:N,colorPrimaryActive:T,buttonSolidCheckedBg:F,buttonSolidCheckedHoverBg:z,buttonSolidCheckedActiveBg:A,calc:k}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:u,lineHeight:ne(k(n).sub(k(o).mul(2)).equal()),background:d,border:`${ne(o)} ${i} ${a}`,borderBlockStartWidth:k(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${s}`,`background ${s}`,`box-shadow ${s}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:k(o).mul(-1).equal(),insetInlineStart:k(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:a,transition:`background-color ${l}`,content:'""'}},"&:first-child":{borderInlineStart:`${ne(o)} ${i} ${a}`,borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y},"&:first-child:last-child":{borderRadius:y},[`${r}-group-large &`]:{height:m,fontSize:f,lineHeight:ne(k(m).sub(k(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${r}-group-small &`]:{height:h,paddingInline:k(p).sub(o).equal(),paddingBlock:0,lineHeight:ne(k(h).sub(k(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g}},"&:hover":{position:"relative",color:R},"&:has(:focus-visible)":Object.assign({},pb(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:R,background:S,borderColor:R,"&::before":{backgroundColor:R},"&:first-child":{borderColor:R},"&:hover":{color:N,borderColor:N,"&::before":{backgroundColor:N}},"&:active":{color:T,borderColor:T,"&::before":{backgroundColor:T}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:C,background:F,borderColor:F,"&:hover":{color:C,background:z,borderColor:z},"&:active":{color:C,background:A,borderColor:A}},"&-disabled":{color:$,backgroundColor:E,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:$,backgroundColor:E,borderColor:a}},[`&-disabled${r}-button-wrapper-checked`]:{color:P,backgroundColor:w,borderColor:a,boxShadow:"none"}}}},FY=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:o,fontSizeLG:i,colorText:a,colorBgContainer:l,colorTextDisabled:s,controlItemBgActiveDisabled:c,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:m,colorWhite:h}=e,p=4,y=i,g=t?y-p*2:y-(p+o)*2;return{radioSize:y,dotSize:g,dotColorDisabled:s,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:m,buttonBg:l,buttonCheckedBg:l,buttonColor:a,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:s,buttonPaddingInline:n-o,wrapperMarginInlineEnd:r,
Line truncated
|
||||
& > ${t}-affix-wrapper,
|
||||
& > ${t}-number-affix-wrapper,
|
||||
& > ${n}-picker-range
|
||||
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,
|
||||
& > ${n}-select-auto-complete ${t},
|
||||
& > ${n}-cascader-picker ${t},
|
||||
& > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
||||
& > ${n}-select:first-child > ${n}-select-selector,
|
||||
& > ${n}-select-auto-complete:first-child ${t},
|
||||
& > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
|
||||
& > ${n}-select:last-child > ${n}-select-selector,
|
||||
& > ${n}-cascader-picker:last-child ${t},
|
||||
& > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-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}}}})}},eG=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:o}=e,i=16,a=o(n).sub(o(r).mul(2)).sub(i).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),xM(e)),pM(e)),hM(e)),vM(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},tG=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 ${ne(e.inputAffixPadding)}`}}}},nG=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},xM(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0,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:n},"&-suffix":{marginInlineStart:n}}}),tG(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}})}},rG=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},on(e)),JY(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:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},QY(e)),ZY(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}}})})}},oG=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal({unit:!1})},[`> ${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(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-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,
|
||||
> ${t},
|
||||
${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},iG=e=>{const{componentCls:t,paddingLG:n}=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"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-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.paddingXS,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"}}}}}},aG=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},Qb=Mn("Input",e=>{const t=Pt(e,uM(e));return[eG(t),iG(t),nG(t),rG(t),oG(t),aG(t),wv(t)]},dM),$h=(e,t)=>{const{componentCls:n,selectHeight:r,fontHeight:o,lineWidth:i,calc:a}=e,l=t?`${n}-${t}`:"",s=e.calc(o).add(2).equal(),c=()=>a(r).sub(s).sub(a(i).mul(2)),u=e.max(c().div(2).equal(),0),d=e.max(c().sub(u).equal(),0);return[kb(e,t),{[`${n}-multiple${l}`]:{paddingTop:u,paddingBottom:d,paddingInlineStart:u}}]},lG=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,o=Pt(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),i=Pt(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[$h(o,"small"),$h(e),$h(i,"large"),kb(e),{[`${t}${t}-multiple`]:{width:"100%",[`${t}-selector`]:{flex:"auto",padding:0,"&:after":{margin:0}},[`${t}-selection-item`]:{marginBlock:0},[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}}}]},sG=lG,cG=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:o,motionDurationMid:i,cellHoverBg:a,lineWidth:l,lineType:s,colorPrimary:c,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:f,cellBgDisabled:m,colorFillSecondary:h}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:ne(r),borderRadius:o,transition:`background ${i}`},[`&:hover:not(${t}-in-view),
|
||||
&:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[n]:{background:a}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${ne(l)} ${s} ${c}`,borderRadius:o,content:'""'}},[`&-in-view${t}-in-range,
|
||||
&-in-view${t}-range-start,
|
||||
&-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:u}},[`&-in-view${t}-selected,
|
||||
&-in-view${t}-range-start,
|
||||
&-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:d,background:c},[`&${t}-disabled ${n}`]:{background:h}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:o,borderEndStartRadius:o,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o},"&-disabled":{color:f,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:m}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},SM=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:o,pickerControlIconSize:i,cellWidth:a,paddingSM:l,paddingXS:s,paddingXXS:c,colorBgContainer:u,lineWidth:d,lineType:f,borderRadiusLG:m,colorPrimary:h,colorTextHeading:p,colorSplit:y,pickerControlIconBorderWidth:g,colorIcon:b,textHeight:S,motionDurationMid:C,colorIconHover:$,fontWeightStrong:E,cellHeight:w,pickerCellPaddingVertical:P,colorTextDisabled:R,colorText:N,fontSize:T,motionDurationSlow:F,withoutTimeCellHeight:z,pickerQuarterPanelContentHeight:A,borderRadiusSM:k,colorTextLightSolid:_,cellHoverBg:M,timeColumnHeight:O,timeColumnWidth:L,timeCellHeight:I,controlItemBgActive:H,marginXXS:D,pickerDatePanelPaddingHorizontal:B,pickerControlIconMargin:W}=e,Y=e.calc(a).mul(7).add(e.calc(B).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,borderRadius:m,outline:"none","&-focused":{borderColor:h},"&-rtl":{direction:"rtl",[`${t}-prev-icon,
|
||||
${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon,
|
||||
${t}-super-next-icon`]:{transform:"rotate(-135deg)"}}},[`&-decade-panel,
|
||||
&-year-panel,
|
||||
&-quarter-panel,
|
||||
&-month-panel,
|
||||
&-week-panel,
|
||||
&-date-panel,
|
||||
&-time-panel`]:{display:"flex",flexDirection:"column",width:Y},"&-header":{display:"flex",padding:`0 ${ne(s)}`,color:p,borderBottom:`${ne(d)} ${f} ${y}`,"> *":{flex:"none"},button:{padding:0,color:b,lineHeight:ne(S),background:"transparent",border:0,cursor:"pointer",transition:`color ${C}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:T,"&:hover":{color:$},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:E,lineHeight:ne(S),button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:s},"&:hover":{color:h}}}},[`&-prev-icon,
|
||||
&-next-icon,
|
||||
&-super-prev-icon,
|
||||
&-super-next-icon`]:{position:"relative",display:"inline-block",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:g,borderBlockEndWidth:0,borderInlineStartWidth:g,borderInlineEndWidth:0,content:'""'}},[`&-super-prev-icon,
|
||||
&-super-next-icon`]:{"&::after":{position:"absolute",top:W,insetInlineStart:W,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:g,borderBlockEndWidth:0,borderInlineStartWidth:g,borderInlineEndWidth:0,content:'""'}},[`&-prev-icon,
|
||||
&-super-prev-icon`]:{transform:"rotate(-45deg)"},[`&-next-icon,
|
||||
&-super-next-icon`]:{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:w,fontWeight:"normal"},th:{height:e.calc(w).add(e.calc(P).mul(2)).equal(),color:N,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${ne(P)} 0`,color:R,cursor:"pointer","&-in-view":{color:N}},cG(e)),[`&-decade-panel,
|
||||
&-year-panel,
|
||||
&-quarter-panel,
|
||||
&-month-panel`]:{[`${t}-content`]:{height:e.calc(z).mul(4).equal()},[r]:{padding:`0 ${ne(s)}`}},"&-quarter-panel":{[`${t}-content`]:{height:A}},"&-decade-panel":{[r]:{padding:`0 ${ne(e.calc(s).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},[`&-year-panel,
|
||||
&-quarter-panel,
|
||||
&-month-panel`]:{[`${t}-body`]:{padding:`0 ${ne(s)}`},[r]:{width:o}},"&-date-panel":{[`${t}-body`]:{padding:`${ne(s)} ${ne(B)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r},
|
||||
&-selected ${r},
|
||||
${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${C}`},"&:first-child:before":{borderStartStartRadius:k,borderEndStartRadius:k},"&:last-child:before":{borderStartEndRadius:k,borderEndEndRadius:k}},["&:hover td"]:{"&:before":{background:M}},[`&-range-start td,
|
||||
&-range-end td,
|
||||
&-selected td`]:{[`&${n}`]:{"&:before":{background:h},[`&${t}-cell-week`]:{color:new Nt(_).setAlpha(.5).toHexString()},[r]:{color:_}}},["&-range-hover td:before"]:{background:H}}},["&-week-panel, &-date-panel-show-week"]:{[`${t}-body`]:{padding:`${ne(s)} ${ne(l)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${ne(d)} ${f} ${y}`},[`${t}-date-panel,
|
||||
${t}-time-panel`]:{transition:`opacity ${F}`},"&-active":{[`${t}-date-panel,
|
||||
${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:O},"&-column":{flex:"1 0 auto",width:L,margin:`${ne(c)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${C}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:4},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(I).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${ne(d)} ${f} ${y}`},"&-active":{background:new Nt(H).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:D,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(L).sub(e.calc(D).mul(2)).equal(),height:I,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(L).sub(I).div(2).equal(),color:N,lineHeight:ne(I),borderRadius:k,cursor:"pointer",transition:`background ${C}`,"&:hover":{background:M}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:H}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:R,background:"transparent",cursor:"not-allowed"}}}}}}}}},uG=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:o,antCls:i,colorPrimary:a,cellActiveWithRangeBg:l,colorPrimaryBorder:s,lineType:c,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${ne(r)} ${c} ${u}`,"&-extra":{padding:`0 ${ne(o)}`,lineHeight:ne(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${ne(r)} ${c} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:ne(o),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:ne(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${i}-tag-blue`]:{color:a,background:l,borderColor:s,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},dG=uG,CM=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:o}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(o).add(e.calc(r).div(2)).equal()}},wM=e=>{const{colorBgContainerDisabled:t,controlHeightSM:n,controlHeightLG:r}=e;return{cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Nt(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Nt(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:r*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:n*1.5,cellHeight:n,textHeight:r,withoutTimeCellHeight:r*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:n,multipleItemHeightLG:e.controlHeight,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},fG=e=>Object.assign(Object.assign(Object.assign(Object.assign({},dM(e)),wM(e)),Lb(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),pG=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},pM(e)),hM(e)),vM(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},vG=pG,Eh=(e,t,n,r)=>{const o=e.calc(n).add(2).equal(),i=e.max(e.calc(t).sub(o).div(2).equal(),0),a=e.max(e.calc(t).sub(o).sub(i).equal(),0);return{padding:`${ne(i)} ${ne(r)} ${ne(a)}`}},mG=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},hG=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:o,lineWidth:i,lineType:a,colorBorder:l,borderRadius:s,motionDurationMid:c,colorTextDisabled:u,colorTextPlaceholder:d,controlHeightLG:f,fontSizeLG:m,controlHeightSM:h,paddingInlineSM:p,paddingXS:y,marginXS:g,colorTextDescription:b,lineWidthBold:S,c
Line truncated
|
||||
&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight,
|
||||
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft,
|
||||
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:Ob},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft,
|
||||
&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight,
|
||||
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft,
|
||||
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:$b},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft,
|
||||
&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:Mb},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft,
|
||||
&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:Eb},[`${t}-panel > ${t}-time-panel`]:{paddingTop:w},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:`left ${$} ease-out`},w5(e,R,M)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:R,borderRadius:N,boxShadow:T,transition:`margin ${$}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:k,maxWidth:_,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:y,borderInlineEnd:`${ne(i)} ${a} ${z}`,li:Object.assign(Object.assign({},Vi),{borderRadius:F,paddingInline:y,paddingBlock:e.calc(h).sub(O).div(2).equal(),cursor:"pointer",transition:`all ${$}`,"+ li":{marginTop:g},"&:hover":{background:A}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content,
|
||||
table`]:{textAlign:"center"},"&-focused":{borderColor:l}}}}),"&-dropdown-range":{padding:`${ne(e.calc(P).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},ss(e,"slide-up"),ss(e,"slide-down"),lp(e,"move-up"),lp(e,"move-down")]};Mn("DatePicker",e=>{const t=Pt(uM(e),CM(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[dG(t),hG(t),vG(t),mG(t),sG(t),wv(e,{focusElCls:`${e.componentCls}-focused`})]},fG);const gG=e=>{const{calendarCls:t,componentCls:n,fullBg:r,fullPanelBg:o,itemActiveBg:i}=e;return{[t]:Object.assign(Object.assign(Object.assign({},SM(e)),on(e)),{background:r,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${ne(e.paddingSM)} 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${n}-panel`]:{background:o,border:0,borderTop:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${n}-month-panel, ${n}-date-panel`]:{width:"auto"},[`${n}-body`]:{padding:`${ne(e.paddingXS)} 0`},[`${n}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${n}-panel`]:{borderRadius:`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`},[`${n}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${ne(e.weekHeight)}`}},[`${n}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${n}-panel`]:{display:"block",width:"100%",textAlign:"end",background:r,border:0,[`${n}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:`${ne(e.weekHeight)}`}}},[`${n}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${n}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:i}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${ne(e.calc(e.marginXS).div(2).equal())}`,padding:`${ne(e.calc(e.paddingXS).div(2).equal())} ${ne(e.paddingXS)} 0`,border:0,borderTop:`${ne(e.lineWidthBold)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:`${ne(e.dateValueHeight)}`,transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${ne(e.screenXS)}) `]:{[`${t}`]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${ne(e.paddingXS)})`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},yG=e=>Object.assign({fullBg:e.colorBgContainer,fullPanelBg:e.colorBgContainer,itemActiveBg:e.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256},wM(e)),bG=Mn("Calendar",e=>{const t=`${e.componentCls}-calendar`,n=Pt(e,CM(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,dateValueHeight:e.controlHeightSM,weekHeight:e.calc(e.controlHeightSM).mul(.75).equal(),dateContentHeight:e.calc(e.calc(e.fontHeightSM).add(e.marginXS)).mul(3).add(e.calc(e.lineWidth).mul(2)).equal()});return[gG(n)]},yG);function $M(e){function t(i,a){return i&&a&&e.getYear(i)===e.getYear(a)}function n(i,a){return t(i,a)&&e.getMonth(i)===e.getMonth(a)}function r(i,a){return n(i,a)&&e.getDate(i)===e.getDate(a)}return i=>{const{prefixCls:a,className:l,rootClassName:s,style:c,dateFullCellRender:u,dateCellRender:d,monthFullCellRender:f,monthCellRender:m,cellRender:h,fullCellRender:p,headerRender:y,value:g,defaultValue:b,disabledDate:S,mode:C,validRange:$,fullscreen:E=!0,onChange:w,onPanelChange:P,onSelect:R}=i,{getPrefixCls:N,direction:T,calendar:F}=v.exports.useContext(st),z=N("picker",a),A=`${z}-calendar`,[k,_,M]=bG(z,A),O=e.getNow(),[L,I]=Yt(()=>g||e.getNow(),{defaultValue:b,value:g}),[H,D]=Yt("month",{value:C}),B=v.exports.useMemo(()=>H==="year"?"month":"date",[H]),W=v.exports.useCallback(Z=>($?e.isAfter($[0],Z)||e.isAfter(Z,$[1]):!1)||!!(S!=null&&S(Z)),[S,$]),Y=(Z,re)=>{P==null||P(Z,re)},K=Z=>{I(Z),r(Z,L)||((B==="date"&&!n(Z,L)||B==="month"&&!t(Z,L))&&Y(Z,H),w==null||w(Z))},j=Z=>{D(Z),Y(L,Z)},V=(Z,re)=>{K(Z),R==null||R(Z,{source:re})},X=()=>{const{locale:Z}=i,re=Object.assign(Object.assign({},j0),Z);return re.lang=Object.assign(Object.assign({},re.lang),(Z||{}).lang),re
Line truncated
|
||||
${r},
|
||||
${o} > li,
|
||||
${n},
|
||||
${i},
|
||||
${a},
|
||||
${l}
|
||||
`]:Object.assign({},wG(e))}}},TG=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,o=n;return{color:r,colorGradientEnd:o,gradientFromColor:r,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},$s=Mn("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Pt(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[PG(r)]},TG,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),RG=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:i="circle",size:a="default"}=e,{getPrefixCls:l}=v.exports.useContext(st),s=l("skeleton",t),[c,u,d]=$s(s),f=Rr(e,["prefixCls","className"]),m=oe(s,`${s}-element`,{[`${s}-active`]:o},n,r,u,d);return c(x("div",{className:m,children:x(_v,{...Object.assign({prefixCls:`${s}-avatar`,shape:i,size:a},f)})}))},NG=RG,IG=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i=!1,size:a="default"}=e,{getPrefixCls:l}=v.exports.useContext(st),s=l("skeleton",t),[c,u,d]=$s(s),f=Rr(e,["prefixCls"]),m=oe(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:i},n,r,u,d);return c(x("div",{className:m,children:x(_v,{...Object.assign({prefixCls:`${s}-button`,size:a},f)})}))},AG=IG,_G="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",DG=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i}=e,{getPrefixCls:a}=v.exports.useContext(st),l=a("skeleton",t),[s,c,u]=$s(l),d=oe(l,`${l}-element`,{[`${l}-active`]:i},n,r,c,u);return s(x("div",{className:d,children:x("div",{className:oe(`${l}-image`,n),style:o,children:x("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${l}-image-svg`,children:x("path",{d:_G,className:`${l}-image-path`})})})}))},kG=DG,FG=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i,size:a="default"}=e,{getPrefixCls:l}=v.exports.useContext(st),s=l("skeleton",t),[c,u,d]=$s(s),f=Rr(e,["prefixCls"]),m=oe(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:i},n,r,u,d);return c(x("div",{className:m,children:x(_v,{...Object.assign({prefixCls:`${s}-input`,size:a},f)})}))},LG=FG,zG=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i,children:a}=e,{getPrefixCls:l}=v.exports.useContext(st),s=l("skeleton",t),[c,u,d]=$s(s),f=oe(s,`${s}-element`,{[`${s}-active`]:i},u,n,r,d),m=a!=null?a:x(r7,{});return c(x("div",{className:f,children:x("div",{className:oe(`${s}-image`,n),style:o,children:m})}))},BG=zG,jG=e=>{const t=l=>{const{width:s,rows:c=2}=e;if(Array.isArray(s))return s[l];if(c-1===l)return s},{prefixCls:n,className:r,style:o,rows:i}=e,a=Te(Array(i)).map((l,s)=>x("li",{style:{width:t(s)}},s));return x("ul",{className:oe(n,r),style:o,children:a})},HG=jG,VG=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return x("h3",{className:oe(t,n),style:Object.assign({width:r},o)})},WG=VG;function Th(e){return e&&typeof e=="object"?e:{}}function UG(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function YG(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function GG(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Es=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:i,children:a,avatar:l=!1,title:s=!0,paragraph:c=!0,active:u,round:d}=e,{getPrefixCls:f,direction:m,skeleton:h}=v.exports.useContext(st),p=f("skeleton",t),[y,g,b]=$s(p);if(n||!("loading"in e)){const S=!!l,C=!!s,$=!!c;let E;if(S){const R=Object.assign(Object.assign({prefixCls:`${p}-avatar`},UG(C,$)),Th(l));E=x("div",{className:`${p}-header`,children:x(_v,{...Object.assign({},R)})})}let w;if(C||$){let R;if(C){const T=Object.assign(Object.assign({prefixCls:`${p}-title`},YG(S,$)),Th(s));R=x(WG,{...Object.assign({},T)})}let N;if($){const T=Object.assign(Objec
Line truncated
|
||||
right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,
|
||||
> div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:ne(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},$K=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${ne(e.borderRadius)} ${ne(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${ne(e.borderRadius)} ${ne(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${ne(e.borderRadius)} ${ne(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${ne(e.borderRadius)} 0 0 ${ne(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},EK=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:l,itemColor:s}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:s,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},yv(e)),"&-btn":{outline:"none",transition:"all 0.3s",[`${c}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${c}-active ${c}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:i}}}},OK=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:ne(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:ne(e.marginXS)},marginLeft:{_skip_check_:!0,value:ne(i(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_sk
Line truncated
|
||||
> ${n}-typography,
|
||||
> ${n}-typography-edit-content
|
||||
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},FK=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`
|
||||
${ne(o)} 0 0 0 ${n},
|
||||
0 ${ne(o)} 0 0 ${n},
|
||||
${ne(o)} ${ne(o)} 0 0 ${n},
|
||||
${ne(o)} 0 0 0 ${n} inset,
|
||||
0 ${ne(o)} 0 0 ${n} inset;
|
||||
`,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},LK=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:i,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${ne(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`},Eu()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:ne(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:ne(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${ne(e.lineWidth)} ${e.lineType} ${i}`}}})},zK=e=>Object.assign(Object.assign({margin:`${ne(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},Eu()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},Vi),"&-description":{color:e.colorTextDescription}}),BK=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${ne(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${ne(e.padding)} ${ne(n)}`}}},jK=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},HK=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:o,colorBorderSecondary:i,boxShadowTertiary:a,cardPaddingBase:l,extraColor:s}=e;return{[n]:Object.assign(Object.assign({},on(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:a},[`${n}-head`]:kK(e),[`${n}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:l,borderRadius:` 0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`},Eu()),[`${n}-grid`]:FK(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:LK(e),[`${n}-meta`]:zK(e)}),[`${n}-bordered`]:{border:`${ne(e.lineWidth)} ${e.lineType} ${i}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:o}}},[`${n}-type-inner`]:BK(e),[`${n}-loading`]:jK(e),[`${n}-rtl`]:{direction:"rtl"}}},VK=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${ne(n)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},WK=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),UK=Mn("Card",e=>{const t=Pt(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[HK(t),VK(t)]},WK);var u2=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const YK=e=>{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return x("ul",{className:t,style:r,children:n.map((o,i)=>{const a=`action-${i}`;return x("li",{style:{width:`${100/n.length}%`},children:x("span",{children:o})},a)})})},GK=v.exports.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:o,style:i,extra:a,headStyle:l={},bodyStyle:s={},title:c,loadin
Line truncated
|
||||
min-height:0 !important;
|
||||
max-height:none !important;
|
||||
height:0 !important;
|
||||
visibility:hidden !important;
|
||||
overflow:hidden !important;
|
||||
position:absolute !important;
|
||||
z-index:-1000 !important;
|
||||
top:0 !important;
|
||||
right:0 !important;
|
||||
pointer-events: none !important;
|
||||
`,wq=["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"],Rh={},kr;function $q(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&Rh[n])return Rh[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l=wq.map(function(c){return"".concat(c,":").concat(r.getPropertyValue(c))}).join(";"),s={sizingStyle:l,paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(Rh[n]=s),s}function Eq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;kr||(kr=document.createElement("textarea"),kr.setAttribute("tab-index","-1"),kr.setAttribute("aria-hidden","true"),document.body.appendChild(kr)),e.getAttribute("wrap")?kr.setAttribute("wrap",e.getAttribute("wrap")):kr.removeAttribute("wrap");var o=$q(e,t),i=o.paddingSize,a=o.borderSize,l=o.boxSizing,s=o.sizingStyle;kr.setAttribute("style","".concat(s,";").concat(Cq)),kr.value=e.value||e.placeholder||"";var c=void 0,u=void 0,d,f=kr.scrollHeight;if(l==="border-box"?f+=a:l==="content-box"&&(f-=i),n!==null||r!==null){kr.value=" ";var m=kr.scrollHeight-i;n!==null&&(c=m*n,l==="border-box"&&(c=c+i+a),f=Math.max(c,f)),r!==null&&(u=m*r,l==="border-box"&&(u=u+i+a),d=f>u?"":"hidden",f=Math.min(u,f))}var h={height:f,overflowY:d,resize:"none"};return c&&(h.minHeight=c),u&&(h.maxHeight=u),h}var Oq=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Nh=0,Ih=1,Ah=2,Mq=v.exports.forwardRef(function(e,t){var n=e,r=n.prefixCls;n.onPressEnter;var o=n.defaultValue,i=n.value,a=n.autoSize,l=n.onResize,s=n.className,c=n.style,u=n.disabled,d=n.onChange;n.onInternalAutoSize;var f=nt(n,Oq),m=Yt(o,{value:i,postState:function(W){return W!=null?W:""}}),h=ee(m,2),p=h[0],y=h[1],g=function(W){y(W.target.value),d==null||d(W)},b=v.exports.useRef();v.exports.useImperativeHandle(t,function(){return{textArea:b.current}});var S=v.exports.useMemo(function(){return a&&et(a)==="object"?[a.minRows,a.maxRows]:[]},[a]),C=ee(S,2),$=C[0],E=C[1],w=!!a,P=function(){try{if(document.activeElement===b.current){var W=b.current,Y=W.selectionStart,K=W.selectionEnd,j=W.scrollTop;b.current.setSelectionRange(Y,K),b.current.scrollTop=j}}catch{}},R=v.exports.useState(Ah),N=ee(R,2),T=N[0],F=N[1],z=v.exports.useState(),A=ee(z,2),k=A[0],_=A[1],M=function(){F(Nh)};Lt(function(){w&&M()},[i,$,E,w]),Lt(function(){if(T===Nh)F(Ih);else if(T===Ih){var B=Eq(b.current,!1,$,E);F(Ah),_(B)}else P()},[T]);var O=v.exports.useRef(),L=function(){Et.cancel(O.current)},I=function(W){T===Ah&&(l==null||l(W),a&&(L(),O.current=Et(function(){M()})))};v.exports.useEffect(function(){return L},[]);var H=w?k:null,D=Q(Q({},c),H);return(T===Nh||T===Ih)&&(D.overflowY="hidden",D.overflowX="hidden"),x(Ur,{onResize:I,disabled:!(a||l),children:x("textarea",{...f,ref:b,style:D,className:oe(r,s,U({},"".concat(r,"-disabled"),u)),disabled:u,value:p,onChange:g})})}),Pq=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize"],Tq=Ee.forwardRef(function(e,t){var n,r,o=e.defaultValue,i=e.value,a=e.onFocus,l=e.onBlur,s=e.onChange,c=e.allowClear,u=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,m=e.suffix,h=e.prefixCls,p=h===void 0?"rc-textarea":h,y=e.showCount,g=e.count,b=e.className,S=e.style,C=e.disabled,$=e.hidden,E=e.classNames,w=e.styles,P=e.onResize,R=nt(e,Pq),N=Yt(o,{value:i,defaultValue:o}),T=ee(N,2),F=T[0],z=T[1],A=F==null?"":String(F),k=Ee.useState(!1),_=ee(k,2),M=_[0],O=_[1],L=Ee.useRef(!1),I=Ee.useState(null),H=ee(I,2),D=H[0],B=H[1],W=v.exports.useRef(null),Y=function(){var ge;return(ge=W.current)===null||ge===void 0?void 0:ge.textArea},K=function(){Y().focus()};v.exports.useImperativeHandle(t,function(){return{resizableTextArea:W.current,focus:K,blur:function(){Y().blur()}}}),v.exports.useEffect(function(){O(function($e){return!C&&$e})},[C]);var j=Ee.useState(null),V=ee(j,2),X=V[0],G=V[1];Ee.useEffect(function(){if(X){var $e;($e=Y()).setSelectionRange.apply($e,Te(X))}},[X]);var q=DM(g,y),te=(n=q.max)!==null&&n!==void 0?n:u,ie=Number(te)>0,Z=q.strategy(A),re=!!te&&Z>te,fe=function(ge,Ae){var we=Ae;!L.current&&q.exceedFormatter&&q.max&&q.strategy(Ae)>q.max&&(we=q.exceedFormat
Line truncated
|
||||
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,Fre=ln,Lre=Fu,zre=Ka,Iy=z8,$$=Fre("".replace),Bre=RegExp("^["+Iy+"]+"),jre=RegExp("(^|[^"+Iy+"])["+Iy+"]+$"),ag=function(e){return function(t){var n=zre(Lre(t));return e&1&&(n=$$(n,Bre,"")),e&2&&(n=$$(n,jre,"$1")),n}},Hre={start:ag(1),end:ag(2),trim:ag(3)},B8=er,Vre=an,Wre=ln,Ure=Ka,Yre=Hre.trim,Gre=z8,Kre=Wre("".charAt),xp=B8.parseFloat,E$=B8.Symbol,O$=E$&&E$.iterator,qre=1/xp(Gre+"-0")!==-1/0||O$&&!Vre(function(){xp(Object(O$))}),Xre=qre?function(t){var n=Yre(Ure(t)),r=xp(n);return r===0&&Kre(n,0)==="-"?-0:r}:xp,Qre=bn,M$=Xre;Qre({global:!0,forced:parseFloat!==M$},{parseFloat:M$});var Zre=mr,Jre=Zre.parseFloat,eoe=Jre,toe=eoe;const noe=toe;var roe=function(){var e;return!!(typeof window<"u"&&window!==null&&(e="(-webkit-min-device-pixel-ratio: 1.25), (min--moz-device-pixel-ratio: 1.25), (-o-min-device-pixel-ratio: 5/4), (min-resolution: 1.25dppx)",window.devicePixelRatio>1.25||window.matchMedia&&window.matchMedia(e).matches))},ooe=roe(),j8=["#A62A21","#7e3794","#0B51C1","#3A6024","#A81563","#B3003C"],ioe=/^([-+]?(?:\d+(?:\.\d+)?|\.\d+))([a-z]{2,4}|%)?$/;function aoe(e,t){for(var n,r=F8(n=Te(e)).call(n,function(c){return c.charCodeAt(0)}),o=r.length,i=o%(t-1)+1,a=L8(r).call(r,function(c,u){return c+u})%t,l=r[0]%t,s=0;s<o;s++)l=(i*l+a)%t;return l}function hx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:j8;if(!e)return"transparent";var n=aoe(e,t.length);return t[n]}function tm(e){e=""+e;var t=ioe.exec(e)||[],n=ee(t,3),r=n[1],o=r===void 0?0:r,i=n[2],a=i===void 0?"px":i;return{value:noe(o),str:o+a,unit:a}}function nm(e){return e=tm(e),isNaN(e.value)?e=512:e.unit==="px"?e=e.value:e.value===0?e=0:e=512,ooe&&(e=e*2),e}function H8(e,t){var n,r,o,i=t.maxInitials;return M8(n=Jv(r=F8(o=e.split(/\s/)).call(o,function(a){return a.substring(0,1).toUpperCase()})).call(r,function(a){return!!a})).call(n,0,i).join("").toUpperCase()}var Bd={};function loe(e,t){if(Bd[t]){Bd[t].push(e);return}var n=Bd[t]=[e];setTimeout(function(){delete Bd[t],n.forEach(function(r){return r()})},t)}function Ay(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0,o=t;r<o.length;r++){var i=o[r];if(i||i==="")return i;if(i===!1||i===null)return null}}function gx(e){if(e===!0)return"100%";if(e!==!1)return e}function soe(e){var t=coe();return function(){var r=On(e),o;if(t){var i=On(this).constructor;o=fn(r,arguments,i)}else o=r.apply(this,arguments);return Zi(this,o)}}function coe(){if(typeof Reflect>"u"||!fn||fn.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(fn(Boolean,[],function(){})),!0}catch{return!1}}var _y={cache:ane,colors:j8,initials:H8,avatarRedirectUrl:null},uoe=mx(_y),yx=Ee.createContext&&Ee.createContext(),rm=!yx,doe=rm?null:yx.Consumer,foe=Ee.forwardRef||function(e){return e},Yi=function(e){Qr(n,e);var t=soe(n);function n(){return Tt(this,n),t.apply(this,arguments)}return Rt(n,[{key:"_getContext",value:function(){var o=this,i={};return uoe.forEach(function(a){typeof o.props[a]<"u"&&(i[a]=o.props[a])}),i}},{key:"render",value:function(){var o=this.props.children;return rm?Ee.Children.only(o):x(yx.Provider,{value:this._getContext(),children:Ee.Children.only(o)})}}]),n}(Ee.Component);U(Yi,"displayName","ConfigProvider");U(Yi,"propTypes",{cache:Pe.exports.object,colors:Pe.exports.arrayOf(Pe.exports.string),initials:Pe.exports.func,avatarRedirectUrl:Pe.exports.string,children:Pe.exports.node});var V8=function(t){function n(r,o){if(rm){var i=o&&o.reactAvatar;return x(t,{..._y,...i,...r})}return x(doe,{children:function(a){return x(t,{ref:o,..._y,...a,...r})}})}return n.contextTypes=Yi.childContextTypes,foe(n)};rm&&(Yi.childContextTypes={reactAvatar:Pe.exports.object},Yi.prototype.getChildContext=function(){return{reactAvatar:this._getContext()}});var om={},poe=v8,voe=ax,moe=voe.concat("length","prototype");om.f=Object.getOwnPropertyNames||function(t){return poe(t,moe)};var W8={},hoe=ea,goe=ii,U8=om.f,yoe=Xv,Y8=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],boe=function(e){try{return U8(e)}catch{return yoe(Y8)}};W8.f=function(t){return Y8&&hoe(t)==="Window"?boe(t):U8(goe(t))};var xoe=Gv,G8=function(e,t,n,r){return r&&r.enumerable?e[t]=n:xoe(e,t,n),e},Soe=ai,Coe=function(e,t,n){return Soe.f(e,t,n)},bx={},woe=$o;bx.f=woe;var P$=mr,$oe=wo,Eoe=bx,Ooe=ai.f,Moe=function(e){var t=P$.Symbol||(P$.Symbol={});$oe(t,e)||Ooe(t,e,{value:Eoe.f(e)})},Poe=ta,Toe=na,Roe=$o,Noe=G8,Ioe=function(){var e=Toe("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=Roe("toPrimitive");t&&!t[r]&&Noe(t,r,function(o){return Poe(n,this)},{arity:1})},Aoe=lx,_oe=sx,Doe=Aoe?{}.toString:function(){return"[object "+_oe(this)+"]"},koe=lx,Foe=ai.f,Loe=Gv,zoe=wo,Boe=Doe,joe=$o,T$=joe("toStringTag"),Hoe=function(e,t,n,r){var o=n?e:e&&e.prototype;o&&(zoe(o,T$)||Foe(o,T$,{configurable:!0,value:t}),r&&!koe&&Loe(o,"toString",Boe))}
Line truncated
|
||||
* Determine if an object is a Buffer
|
||||
*
|
||||
* @author Feross Aboukhadijeh <https://feross.org>
|
||||
* @license MIT
|
||||
*/var cle=function(e){return e!=null&&(EP(e)||ule(e)||!!e._isBuffer)};function EP(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function ule(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&EP(e.slice(0,0))}(function(){var e=$P.exports,t=j$.utf8,n=cle,r=j$.bin,o=function(i,a){i.constructor==String?a&&a.encoding==="binary"?i=r.stringToBytes(i):i=t.stringToBytes(i):n(i)?i=Array.prototype.slice.call(i,0):!Array.isArray(i)&&i.constructor!==Uint8Array&&(i=i.toString());for(var l=e.bytesToWords(i),s=i.length*8,c=1732584193,u=-271733879,d=-1732584194,f=271733878,m=0;m<l.length;m++)l[m]=(l[m]<<8|l[m]>>>24)&16711935|(l[m]<<24|l[m]>>>8)&4278255360;l[s>>>5]|=128<<s%32,l[(s+64>>>9<<4)+14]=s;for(var h=o._ff,p=o._gg,y=o._hh,g=o._ii,m=0;m<l.length;m+=16){var b=c,S=u,C=d,$=f;c=h(c,u,d,f,l[m+0],7,-680876936),f=h(f,c,u,d,l[m+1],12,-389564586),d=h(d,f,c,u,l[m+2],17,606105819),u=h(u,d,f,c,l[m+3],22,-1044525330),c=h(c,u,d,f,l[m+4],7,-176418897),f=h(f,c,u,d,l[m+5],12,1200080426),d=h(d,f,c,u,l[m+6],17,-1473231341),u=h(u,d,f,c,l[m+7],22,-45705983),c=h(c,u,d,f,l[m+8],7,1770035416),f=h(f,c,u,d,l[m+9],12,-1958414417),d=h(d,f,c,u,l[m+10],17,-42063),u=h(u,d,f,c,l[m+11],22,-1990404162),c=h(c,u,d,f,l[m+12],7,1804603682),f=h(f,c,u,d,l[m+13],12,-40341101),d=h(d,f,c,u,l[m+14],17,-1502002290),u=h(u,d,f,c,l[m+15],22,1236535329),c=p(c,u,d,f,l[m+1],5,-165796510),f=p(f,c,u,d,l[m+6],9,-1069501632),d=p(d,f,c,u,l[m+11],14,643717713),u=p(u,d,f,c,l[m+0],20,-373897302),c=p(c,u,d,f,l[m+5],5,-701558691),f=p(f,c,u,d,l[m+10],9,38016083),d=p(d,f,c,u,l[m+15],14,-660478335),u=p(u,d,f,c,l[m+4],20,-405537848),c=p(c,u,d,f,l[m+9],5,568446438),f=p(f,c,u,d,l[m+14],9,-1019803690),d=p(d,f,c,u,l[m+3],14,-187363961),u=p(u,d,f,c,l[m+8],20,1163531501),c=p(c,u,d,f,l[m+13],5,-1444681467),f=p(f,c,u,d,l[m+2],9,-51403784),d=p(d,f,c,u,l[m+7],14,1735328473),u=p(u,d,f,c,l[m+12],20,-1926607734),c=y(c,u,d,f,l[m+5],4,-378558),f=y(f,c,u,d,l[m+8],11,-2022574463),d=y(d,f,c,u,l[m+11],16,1839030562),u=y(u,d,f,c,l[m+14],23,-35309556),c=y(c,u,d,f,l[m+1],4,-1530992060),f=y(f,c,u,d,l[m+4],11,1272893353),d=y(d,f,c,u,l[m+7],16,-155497632),u=y(u,d,f,c,l[m+10],23,-1094730640),c=y(c,u,d,f,l[m+13],4,681279174),f=y(f,c,u,d,l[m+0],11,-358537222),d=y(d,f,c,u,l[m+3],16,-722521979),u=y(u,d,f,c,l[m+6],23,76029189),c=y(c,u,d,f,l[m+9],4,-640364487),f=y(f,c,u,d,l[m+12],11,-421815835),d=y(d,f,c,u,l[m+15],16,530742520),u=y(u,d,f,c,l[m+2],23,-995338651),c=g(c,u,d,f,l[m+0],6,-198630844),f=g(f,c,u,d,l[m+7],10,1126891415),d=g(d,f,c,u,l[m+14],15,-1416354905),u=g(u,d,f,c,l[m+5],21,-57434055),c=g(c,u,d,f,l[m+12],6,1700485571),f=g(f,c,u,d,l[m+3],10,-1894986606),d=g(d,f,c,u,l[m+10],15,-1051523),u=g(u,d,f,c,l[m+1],21,-2054922799),c=g(c,u,d,f,l[m+8],6,1873313359),f=g(f,c,u,d,l[m+15],10,-30611744),d=g(d,f,c,u,l[m+6],15,-1560198380),u=g(u,d,f,c,l[m+13],21,1309151649),c=g(c,u,d,f,l[m+4],6,-145523070),f=g(f,c,u,d,l[m+11],10,-1120210379),d=g(d,f,c,u,l[m+2],15,718787259),u=g(u,d,f,c,l[m+9],21,-343485551),c=c+b>>>0,u=u+S>>>0,d=d+C>>>0,f=f+$>>>0}return e.endian([c,u,d,f])};o._ff=function(i,a,l,s,c,u,d){var f=i+(a&l|~a&s)+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._gg=function(i,a,l,s,c,u,d){var f=i+(a&s|l&~s)+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._hh=function(i,a,l,s,c,u,d){var f=i+(a^l^s)+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._ii=function(i,a,l,s,c,u,d){var f=i+(l^(a|~s))+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._blocksize=16,o._digestsize=16,wP.exports=function(i,a){if(i==null)throw new Error("Illegal argument "+i);var l=e.wordsToBytes(o(i,a));return a&&a.asBytes?l:a&&a.asString?r.bytesToString(l):e.bytesToHex(l)}})();var OP=Rt(function e(t){var n=this;Tt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.email||!!n.props.md5Email}),U(this,"get",function(r){var o=n.props,i=o.md5Email||wP.exports(o.email),a=nm(o.size),l="https://secure.gravatar.com/avatar/".concat(i,"?d=404");a&&(l+="&s=".concat(a)),r({sourceName:"gravatar",src:l})}),this.props=t});U(OP,"propTypes",{email:Pe.exports.string,md5Email:Pe.exports.string});var MP=Rt(function e(t){var n=this;Tt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.facebookId}),U(this,"get",function(r){var o,i=n.props.facebookId,a=nm(n.props.size),l="https://graph.facebook.com/".concat(i,"/picture");a&&(l+=Rc(o="?width=".concat(a,"&height=")).call(o,a)),r({sourceName:"facebook",src:l})}),this.props=t});U(MP,"propTypes",{facebookId:Pe.exports.string});var PP=Rt(function e(t){var n=this;Tt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.githubHandle}),U(this,"get",function(r){var o=n.props.githubHandle,i=nm(n.props.size),a="https://avatars.githubusercontent.com/".concat(o,"?v=4");i&&(a+="&s=".concat(i)),r({sourceName:"github",src:a})}),this.props=t});U(PP,"propTypes",{githubHandle:Pe.exports.string});var TP=Rt(function e(t){var n=this;Tt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.skypeId}),U(this,"get",funct
Line truncated
|
||||
object-assign
|
||||
(c) Sindre Sorhus
|
||||
@license MIT
|
||||
*/var i=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function s(u){if(u==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}function c(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de",Object.getOwnPropertyNames(u)[0]==="5")return!1;for(var d={},f=0;f<10;f++)d["_"+String.fromCharCode(f)]=f;var m=Object.getOwnPropertyNames(d).map(function(p){return d[p]});if(m.join("")!=="0123456789")return!1;var h={};return"abcdefghijklmnopqrst".split("").forEach(function(p){h[p]=p}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}n.exports=c()?Object.assign:function(u,d){for(var f,m=s(u),h,p=1;p<arguments.length;p++){f=Object(arguments[p]);for(var y in f)a.call(f,y)&&(m[y]=f[y]);if(i){h=i(f);for(var g=0;g<h.length;g++)l.call(f,h[g])&&(m[h[g]]=f[h[g]])}}return m}},function(n,r,o){var i=o(1),a=i;n.exports=a},function(n,r,o){var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";n.exports=i},function(n,r,o){var i={};n.exports=i},function(n,r,o){function i(a,l,s,c,u){}n.exports=i},function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(C){for(var $=1;$<arguments.length;$++){var E=arguments[$];for(var w in E)Object.prototype.hasOwnProperty.call(E,w)&&(C[w]=E[w])}return C},a=function(){function C($,E){for(var w=0;w<E.length;w++){var P=E[w];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty($,P.key,P)}}return function($,E,w){return E&&C($.prototype,E),w&&C($,w),$}}(),l=o(8),s=h(l),c=o(11),u=h(c),d=o(14),f=m(d);function m(C){if(C&&C.__esModule)return C;var $={};if(C!=null)for(var E in C)Object.prototype.hasOwnProperty.call(C,E)&&($[E]=C[E]);return $.default=C,$}function h(C){return C&&C.__esModule?C:{default:C}}function p(C,$){var E={};for(var w in C)$.indexOf(w)>=0||!Object.prototype.hasOwnProperty.call(C,w)||(E[w]=C[w]);return E}function y(C,$){if(!(C instanceof $))throw new TypeError("Cannot call a class as a function")}function g(C,$){if(!C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $&&(typeof $=="object"||typeof $=="function")?$:C}function b(C,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof $);C.prototype=Object.create($&&$.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),$&&(Object.setPrototypeOf?Object.setPrototypeOf(C,$):C.__proto__=$)}var S=function(C){b($,C);function $(){var E,w,P,R;y(this,$);for(var N=arguments.length,T=Array(N),F=0;F<N;F++)T[F]=arguments[F];return R=(w=(P=g(this,(E=$.__proto__||Object.getPrototypeOf($)).call.apply(E,[this].concat(T))),P),P.state={delayed:P.props.delay>0},w),g(P,R)}return a($,[{key:"componentDidMount",value:function(){var w=this,P=this.props.delay,R=this.state.delayed;R&&(this.timeout=setTimeout(function(){w.setState({delayed:!1})},P))}},{key:"componentWillUnmount",value:function(){var w=this.timeout;w&&clearTimeout(w)}},{key:"render",value:function(){var w=this.props,P=w.color;w.delay;var R=w.type,N=w.height,T=w.width,F=p(w,["color","delay","type","height","width"]),z=this.state.delayed?"blank":R,A=f[z],k={fill:P,height:N,width:T};return s.default.createElement("div",i({style:k,dangerouslySetInnerHTML:{__html:A}},F))}}]),$}(l.Component);S.propTypes={color:u.default.string,delay:u.default.number,type:u.default.string,height:u.default.oneOfType([u.default.string,u.default.number]),width:u.default.oneOfType([u.default.string,u.default.number])},S.defaultProps={color:"#fff",delay:0,type:"balls",height:64,width:64},r.default=S},function(n,r,o){n.exports=o(9)},function(n,r,o){/** @license React v16.3.2
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) 2013-present, Facebook, Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var i=o(2),a=o(0),l=o(5),s=o(1),c=typeof Symbol=="function"&&Symbol.for,u=c?Symbol.for("react.element"):60103,d=c?Symbol.for("react.portal"):60106,f=c?Symbol.for("react.fragment"):60107,m=c?Symbol.for("react.strict_mode"):60108,h=c?Symbol.for("react.provider"):60109,p=c?Symbol.for("react.context"):60110,y=c?Symbol.for("react.async_mode"):60111,g=c?Symbol.for("react.forward_ref"):60112,b=typeof Symbol=="function"&&Symbol.iterator;function S(j){for(var V=arguments.length-1,X="http://reactjs.org/docs/error-decoder.html?invariant="+j,G=0;G<V;G++)X+="&args[]="+encodeURIComponent(arguments[G+1]);a(!1,"Minified React error #"+j+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",X)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function $(j,V,X){this.props=j,this.context=V,this.refs=l,this.updater=X||C}$.prototype.isReactComponent={},$.prototype.setState=function(j,V){typeof j!="object"&&typeof j!="function"&&j!=null&&S("85"),this.updater.enqueueSetState(this,j,V,"setState")},$.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function E(){}E.prototype=$.prototype;function w(j,V,X){this.props=j,this.context=V,this.refs=l,this.updater=X||C}var P=w.prototype=new E;P.constructor=w,i(P,$.prototype),P.isPureReactComponent=!0;var R={current:null},N=Object.prototype.hasOwnProperty,T={key:!0,ref:!0,__self:!0,__source:!0};function F(j,V,X){var G=void 0,q={},te=null,ie=null;if(V!=null)for(G in V.ref!==void 0&&(ie=V.ref),V.key!==void 0&&(te=""+V.key),V)N.call(V,G)&&!T.hasOwnProperty(G)&&(q[G]=V[G]);var Z=arguments.length-2;if(Z===1)q.children=X;else if(1<Z){for(var re=Array(Z),fe=0;fe<Z;fe++)re[fe]=arguments[fe+2];q.children=re}if(j&&j.defaultProps)for(G in Z=j.defaultProps,Z)q[G]===void 0&&(q[G]=Z[G]);return{$$typeof:u,type:j,key:te,ref:ie,props:q,_owner:R.current}}function z(j){return typeof j=="object"&&j!==null&&j.$$typeof===u}function A(j){var V={"=":"=0",":":"=2"};return"$"+(""+j).replace(/[=:]/g,function(X){return V[X]})}var k=/\/+/g,_=[];function M(j,V,X,G){if(_.length){var q=_.pop();return q.result=j,q.keyPrefix=V,q.func=X,q.context=G,q.count=0,q}return{result:j,keyPrefix:V,func:X,context:G,count:0}}function O(j){j.result=null,j.keyPrefix=null,j.func=null,j.context=null,j.count=0,10>_.length&&_.push(j)}function L(j,V,X,G){var q=typeof j;(q==="undefined"||q==="boolean")&&(j=null);var te=!1;if(j===null)te=!0;else switch(q){case"string":case"number":te=!0;break;case"object":switch(j.$$typeof){case u:case d:te=!0}}if(te)return X(G,j,V===""?"."+I(j,0):V),1;if(te=0,V=V===""?".":V+":",Array.isArray(j))for(var ie=0;ie<j.length;ie++){q=j[ie];var Z=V+I(q,ie);te+=L(q,Z,X,G)}else if(j===null||typeof j>"u"?Z=null:(Z=b&&j[b]||j["@@iterator"],Z=typeof Z=="function"?Z:null),typeof Z=="function")for(j=Z.call(j),ie=0;!(q=j.next()).done;)q=q.value,Z=V+I(q,ie++),te+=L(q,Z,X,G);else q==="object"&&(X=""+j,S("31",X==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":X,""));return te}function I(j,V){return typeof j=="object"&&j!==null&&j.key!=null?A(j.key):V.toString(36)}function H(j,V){j.func.call(j.context,V,j.count++)}function D(j,V,X){var G=j.result,q=j.keyPrefix;j=j.func.call(j.context,V,j.count++),Array.isArray(j)?B(j,G,X,s.thatReturnsArgument):j!=null&&(z(j)&&(V=q+(!j.key||V&&V.key===j.key?"":(""+j.key).replace(k,"$&/")+"/")+X,j={$$typeof:u,type:j.type,key:V,ref:j.ref,props:j.props,_owner:j._owner}),G.push(j))}function B(j,V,X,G,q){var te="";X!=null&&(te=(""+X).replace(k,"$&/")+"/"),V=M(V,te,G,q),j==null||L(j,"",D,V),O(V)}var W={Children:{map:function(j,V,X){if(j==null)return j;var G=[];return B(j,G,null,V,X),G},forEach:function(j,V,X){if(j==null)return j;V=M(null,null,V,X),j==null||L(j,"",H,V),O(V)},count:function(j){return j==null?0:L(j,"",s.thatReturnsNull,null)},toArray:function(j){var V=[];return B(j,V,null,s.thatReturnsArgument),V},only:function(j){return z(j)||S("143"),j}},createRef:function(){return{current:null}},Component:$,PureComponent:w,createContext:function(j,V){return V===void 0&&(V=null),j={$$typeof:p,_calculateChangedBits:V,_defaultValue:j,_currentValue:j,_changedBits:0,Provider:null,Consumer:null},j.Provider={$$typeof:h,_context:j},j.Consumer=j},forwardRef:function(j){return{$$typeof:g,render:j}},Fragment:f,StrictMode:m,unstable_AsyncMode:y,createElement:F,cloneElement:function(j,V,X){j==null&&S("267",j);var G=void 0,q=i({},j.props),te=j.key,ie=j.ref,Z=j._owner;if(V!=null){V.ref!==void 0&&(ie=V.ref,Z=R.current),V.key!==void 0&&(te=""+V.key);var re=void 0;j.type&&j.type.defaultProps&&(re=j.type.defaultProps);for(G in V)N.call(V,G)&&!T.hasOwnProperty(G)&&(q[G]=V[G]===void 0&&re!==void 0?re[G]:V[G])}if(G=arguments.length-2,G===1)q.children=X;else if(1<G){re=Array(G);for(var fe=0;fe<G;fe++)re[fe]=arguments[fe+2];q.children=re}return{$$typeof:u,type:j.type,key:te,ref:ie,props:q,_owner:Z}},createFactory:Line truncated
|
||||
Valid keys: `+JSON.stringify(Object.keys(D),null," "));var Z=ie(X,te,K,j,V+"."+te,c);if(Z)return Z}return null}return C(B)}function _(D){switch(typeof D){case"number":case"string":case"undefined":return!0;case"boolean":return!D;case"object":if(Array.isArray(D))return D.every(_);if(D===null||d(D))return!0;var B=p(D);if(B){var W=B.call(D),Y;if(B!==D.entries){for(;!(Y=W.next()).done;)if(!_(Y.value))return!1}else for(;!(Y=W.next()).done;){var K=Y.value;if(K&&!_(K[1]))return!1}}else return!1;return!0;default:return!1}}function M(D,B){return D==="symbol"||B["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&B instanceof Symbol}function O(D){var B=typeof D;return Array.isArray(D)?"array":D instanceof RegExp?"object":M(B,D)?"symbol":B}function L(D){if(typeof D>"u"||D===null)return""+D;var B=O(D);if(B==="object"){if(D instanceof Date)return"date";if(D instanceof RegExp)return"regexp"}return B}function I(D){var B=L(D);switch(B){case"array":case"object":return"an "+B;case"boolean":case"date":case"regexp":return"a "+B;default:return B}}function H(D){return!D.constructor||!D.constructor.name?y:D.constructor.name}return g.checkPropTypes=u,g.PropTypes=g,g}},function(n,r,o){var i=o(1),a=o(0),l=o(4);n.exports=function(){function s(d,f,m,h,p,y){y!==l&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}s.isRequired=s;function c(){return s}var u={array:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:c,element:s,instanceOf:c,node:s,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c};return u.checkPropTypes=i,u.PropTypes=u,u}},function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=o(15);Object.defineProperty(r,"blank",{enumerable:!0,get:function(){return h(i).default}});var a=o(16);Object.defineProperty(r,"balls",{enumerable:!0,get:function(){return h(a).default}});var l=o(17);Object.defineProperty(r,"bars",{enumerable:!0,get:function(){return h(l).default}});var s=o(18);Object.defineProperty(r,"bubbles",{enumerable:!0,get:function(){return h(s).default}});var c=o(19);Object.defineProperty(r,"cubes",{enumerable:!0,get:function(){return h(c).default}});var u=o(20);Object.defineProperty(r,"cylon",{enumerable:!0,get:function(){return h(u).default}});var d=o(21);Object.defineProperty(r,"spin",{enumerable:!0,get:function(){return h(d).default}});var f=o(22);Object.defineProperty(r,"spinningBubbles",{enumerable:!0,get:function(){return h(f).default}});var m=o(23);Object.defineProperty(r,"spokes",{enumerable:!0,get:function(){return h(m).default}});function h(p){return p&&p.__esModule?p:{default:p}}},function(n,r){n.exports=`<svg class="icon-blank" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>
|
||||
`},function(n,r){n.exports=`<svg class="icon-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<path transform="translate(-8 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||
<animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(2 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||
<animateTransform attributeName="transform" type="translate" values="2 0; 12 0; 12 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.35;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(12 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||
<animateTransform attributeName="transform" type="translate" values="12 0; 22 0; 22 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.45;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(24 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||
<animateTransform attributeName="transform" type="translate" values="22 0; 32 0; 32 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.55;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
</svg>
|
||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<path transform="translate(2)" d="M0 12 V20 H4 V12z">
|
||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(8)" d="M0 12 V20 H4 V12z">
|
||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.2" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(14)" d="M0 12 V20 H4 V12z">
|
||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.4" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(20)" d="M0 12 V20 H4 V12z">
|
||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.6" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(26)" d="M0 12 V20 H4 V12z">
|
||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.8" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
</svg>
|
||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<circle transform="translate(8 0)" cx="0" cy="16" r="0">
|
||||
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0"
|
||||
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="translate(16 0)" cx="0" cy="16" r="0">
|
||||
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0.3"
|
||||
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="translate(24 0)" cx="0" cy="16" r="0">
|
||||
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0.6"
|
||||
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
</svg>
|
||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<path transform="translate(-8 0)" d="M0 12 V20 H8 V12z">
|
||||
<animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(2 0)" d="M0 12 V20 H8 V12z">
|
||||
<animateTransform attributeName="transform" type="translate" values="2 0; 12 0; 12 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.35;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(12 0)" d="M0 12 V20 H8 V12z">
|
||||
<animateTransform attributeName="transform" type="translate" values="12 0; 22 0; 22 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.45;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path transform="translate(24 0)" d="M0 12 V20 H8 V12z">
|
||||
<animateTransform attributeName="transform" type="translate" values="22 0; 32 0; 32 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.55;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
</svg>
|
||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<path transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
||||
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path opacity="0.5" transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
||||
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0.1s" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
<path opacity="0.25" transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
||||
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0.2s" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</path>
|
||||
</svg>
|
||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<path opacity=".25" d="M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"/>
|
||||
<path d="M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z">
|
||||
<animateTransform attributeName="transform" type="rotate" from="0 16 16" to="360 16 16" dur="0.8s" repeatCount="indefinite" />
|
||||
</path>
|
||||
</svg>
|
||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<circle cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(45 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.125s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(90 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.25s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(135 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.375s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(180 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(225 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.625s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(270 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.75s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(315 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.875s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
<circle transform="rotate(180 16 16)" cx="16" cy="3" r="0">
|
||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||
</circle>
|
||||
</svg>
|
||||
`},function(n,r){n.exports=`<svg id="loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(0 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0"/>
|
||||
</path>
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(45 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.125s"/>
|
||||
</path>
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(90 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.25s"/>
|
||||
</path>
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(135 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.375s"/>
|
||||
</path>
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(180 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.5s"/>
|
||||
</path>
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(225 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.675s"/>
|
||||
</path>
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(270 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.75s"/>
|
||||
</path>
|
||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(315 16 16)">
|
||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.875s"/>
|
||||
</path>
|
||||
</svg>
|
||||
`}])})})(AP);const _P=pu(AP.exports);function Ep(e){window.runtime.LogInfo(e)}function Dle(e,t,n){return window.runtime.EventsOnMultiple(e,t,n)}function DP(e,t){return Dle(e,t,-1)}function kP(e,...t){return window.runtime.EventsOff(e,...t)}function kle(){window.runtime.WindowToggleMaximise()}function Fle(){window.runtime.WindowMinimise()}function Na(e){window.runtime.BrowserOpenURL(e)}function Hy(){window.runtime.Quit()}function Lle(e,t){let n;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}}function zle(e){return x("div",{className:"wechat-SearchBar",children:x(gb,{theme:{components:{Input:{activeBorderColor:"#E3E4E5",activeShadow:"#E3E4E5",hoverBorderColor:"#E3E4E5"}}},children:x(FM,{className:"wechat-SearchBar-Input",placeholder:"\u641C\u7D22",prefix:x(tv,{}),allowClear:!0,onChange:t=>e.onChange(t.target.value)})})})}function Ble({className:e,userInfo:t,onClick:n,msg:r,date:o}){return J("div",{className:`${e} wechat-UserItem`,onClick:n,tabIndex:"0","data-username":t.UserName,children:[x(Gi,{className:"wechat-UserItem-content-Avatar",userInfo:t,size:"42"}),J("div",{className:"wechat-UserItem-content",children:[x("div",{className:"wechat-UserItem-content-text wechat-UserItem-content-name",children:t.ReMark||t.NickName||t.Alias||""}),x("div",{className:"wechat-UserItem-content-text wechat-UserItem-content-msg",children:r})]}),x("div",{className:"wechat-UserItem-date",children:o})]})}function jle({className:e,userInfo:t,onClick:n}){return J("div",{className:`${e} wechat-UserItem wechat-ContactItem`,onClick:n,tabIndex:"0","data-username":t.UserName,children:[x(Gi,{className:"wechat-UserItem-content-Avatar",userInfo:t,size:"42"}),x("div",{className:"wechat-UserItem-content wechat-ContactItem-content",children:x("div",{className:"wechat-UserItem-content-text wechat-UserItem-content-name",children:t.ReMark||t.NickName||t.Alias||""})})]})}function Hle(e){const t=new Date(e*1e3),n=t.getFullYear(),r=t.getMonth()+1,o=t.getDate();return t.getHours(),t.getMinutes(),t.getSeconds(),`${n-2e3}/${r}/${o}`}function Vle(e){const[t,n]=v.exports.useState(null),[r,o]=v.exports.useState(0),[i,a]=v.exports.useState(!0),[l,s]=v.exports.useState([]),[c,u]=v.exports.useState(""),d=v.exports.useRef(!1),f=(p,y)=>{n(p),e.onClickItem&&e.onClickItem(y)};v.exports.useEffect(()=>{d.current||(d.current=!0,i&&e.selfName!==""&&(console.log("GetWechatSessionList",r),e.session?Ple(r,100).then(p=>{var y=JSON.parse(p);if(y.Total>0){let g=[];y.Rows.forEach(b=>{b.UserName.startsWith("gh_")||g.push(b)}),s(b=>[...b,...g]),o(b=>b+1)}else a(!1);d.current=!1}):wle(r,800).then(p=>{var y=JSON.parse(p);if(y.Total>0){let g=[];y.Users.forEach(b=>{if(!b.UserName.startsWith("gh_")){const S=new Date;b.Time=parseInt(S.getTime()/1e3),g.push(b)}}),s(b=>[...b,...g]),o(b=>b+1)}else a(!1);d.current=!1})))},[r,i,e.selfName]);const m=v.exports.useCallback(Lle(p=>{console.log(p),u(p)},400),[]),h=l.filter(p=>p.NickName.includes(c)||p.ReMark!==void 0&&p.ReMark.includes(c));return J("div",{className:"wechat-UserList",onClick:e.onClick,children:[x(zle,{onChange:m}),c.length===0&&h.length===0&&(e.isLoading||d.current===!0)&&x(_P,{className:"wechat-UserList-Loading",type:"bars",color:"#07C160"}),J("div",{className:"wechat-UserList-Items",children:[h.map((p,y)=>e.session?x(Ble,{className:t===y?"selectedItem":"",onClick:()=>{f(y,p)},userInfo:p.UserInfo,msg:p.Content,date:Hle(p.Time)},p.UserName):x(jle,{className:t===y?"selectedItem":"",onClick:()=>{f(y,p)},userInfo:p},p.UserName)),x("div",{className:"wechat-UserList-End",children:"- \u5DF2\u7ECF\u5230\u5E95\u5566 -"})]})]})}function FP(e,t){return function(){return e.apply(t,arguments)}}const{toString:Wle}=Object.prototype,{getPrototypeOf:Mx}=Object,fm=(e=>t=>{const n=Wle.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Eo=e=>(e=e.toLowerCase(),t=>fm(t)===e),pm=e=>t=>typeof t===e,{isArray:Ps}=Array,uu=pm("undefined");function Ule(e){return e!==null&&!uu(e)&&e.constructor!==null&&!uu(e.constructor)&&Er(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const LP=Eo("ArrayBuffer");function Yle(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&LP(e.buffer),t}const Gle=pm("string"),Er=pm("function"),zP=pm("number"),vm=e=>e!==null&&typeof e=="object",Kle=e=>e===!0||e===!1,hf=e=>{if(fm(e)!=="object")return!1;const t=Mx(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},qle=Eo("Date"),Xle=Eo("File"),Qle=Eo("Blob"),Zle=Eo("FileList"),Jle=e=>vm(e)&&Er(e.pipe),ese=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Er(e.append)&&((t=fm(e))==="formdata"||t==="object"&&Er(e.toString)&&e.toString()==="[object FormData]"))},tse=Eo("URLSearchParams"),[nse,rse,ose,ise]=["ReadableStream","Request","Response","Headers"].map(Eo),ase=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Yu(e,t,{allOwnKeys:n=!1}={}){if(
Line truncated
|
||||
`).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||t[n]&&Yse[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},q$=Symbol("internals");function ec(e){return e&&String(e).trim().toLowerCase()}function gf(e){return e===!1||e==null?e:ce.isArray(e)?e.map(gf):String(e)}function Kse(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const qse=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function hg(e,t,n,r,o){if(ce.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!ce.isString(t)){if(ce.isString(r))return t.indexOf(r)!==-1;if(ce.isRegExp(r))return r.test(t)}}function Xse(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Qse(e,t){const n=ce.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,a){return this[r].call(this,t,o,i,a)},configurable:!0})})}class hm{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(l,s,c){const u=ec(s);if(!u)throw new Error("header name must be a non-empty string");const d=ce.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||s]=gf(l))}const a=(l,s)=>ce.forEach(l,(c,u)=>i(c,u,s));if(ce.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(ce.isString(t)&&(t=t.trim())&&!qse(t))a(Gse(t),n);else if(ce.isHeaders(t))for(const[l,s]of t.entries())i(s,l,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=ec(t),t){const r=ce.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Kse(o);if(ce.isFunction(n))return n.call(this,o,r);if(ce.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ec(t),t){const r=ce.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||hg(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(a){if(a=ec(a),a){const l=ce.findKey(r,a);l&&(!n||hg(r,r[l],l,n))&&(delete r[l],o=!0)}}return ce.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||hg(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return ce.forEach(this,(o,i)=>{const a=ce.findKey(r,i);if(a){n[a]=gf(o),delete n[i];return}const l=t?Xse(i):String(i).trim();l!==i&&delete n[i],n[l]=gf(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ce.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&ce.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[q$]=this[q$]={accessors:{}}).accessors,o=this.prototype;function i(a){const l=ec(a);r[l]||(Qse(o,a),r[l]=!0)}return ce.isArray(t)?t.forEach(i):i(t),this}}hm.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ce.reduceDescriptors(hm.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});ce.freezeMethods(hm);const ho=hm;function gg(e,t){const n=this||Nx,r=t||n,o=ho.from(r.headers);let i=r.data;return ce.forEach(e,function(l){i=l.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function ZP(e){return!!(e&&e.__CANCEL__)}function Ts(e,t,n){dt.call(this,e==null?"canceled":e,dt.ERR_CANCELED,t,n),this.name="CanceledError"}ce.inherits(Ts,dt,{__CANCEL__:!0});function JP(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new dt("Request failed with status code "+n.status,[dt.ERR_BAD_REQUEST,dt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Zse(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Jse(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(s){const c=Date.now(),u=r[i];a||(a=c),n[o]=s,r[o]=c;let d=i,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-a<t)return;const m=u&&c-u;return m?Math.round(f*1e3/m):void 0}}function ece(e,t){let n=0,r=1e3/t,o,i;const a=(c,u=Date.now())=>{n=u,o=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?a(c,u):(o=c,i||(i=setTimeout(()=>{i=null,a(o)},r-d)))},()=>o&&a(o)]}const Op=(e,t,n=3)=>{let r=0;const o=Jse(50,250);return ece(i=>{const a=i.loaded,l=i.lengthComputable?i.total:void 0,s=a-r,c=o(s),u=a<=l;r=a;const d={loaded:a,total:l,progress:l?a/l:void 0,bytes:s,rate:c||void 0,estimated:c&&l&&u?(l-a)/c:void 0,event:i,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},n)},X$=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Q$=e=>(...t)=>ce.asap(()=>e(...t)),tce=fr.hasStandardBrowserEnv?function(){const t=fr.navigator&&/(msie|trident)/i.test(fr.navigator.userAgent),n=document.createElement("a");let r;function o(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(a){const l=ce.isString(a)?o(a):a;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),nce=fr.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];ce.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ce.isString(r)&&a.push("path="+r),ce.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function rce(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function oce(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function eT(e,t){return e&&!rce(t)?oce(e,t):t}const Z$=e=>e instanceof ho?{...e}:e;function Ba(e,t){t=t||{};const n={};function r(c,u,d){return ce.isPlainObject(c)&&ce.isPlainObject(u)?ce.merge.call({caseless:d},c,u):ce.isPlainObject(u)?ce.merge({},u):ce.isArray(u)?u.slice():u}function o(c,u,d){if(ce.isUndefined(u)){if(!ce.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function i(c,u){if(!ce.isUndefined(u))return r(void 0,u)}function a(c,u){if(ce.isUndefined(u)){if(!ce.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function l(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(c,u)=>o(Z$(c),Z$(u),!0)};return ce.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=s[u]||o,f=d(e[u],t[u],u);ce.isUndefined(f)&&d!==l||(n[u]=f)}),n}const tT=e=>{const t=Ba({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:l}=t;t.headers=a=ho.from(a),t.url=qP(eT(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.pas
Line truncated
|
||||
`+i.map(t4).join(`
|
||||
`):" "+t4(i[0]):"as no adapter specified";throw new dt("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Gy};function yg(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ts(null,e)}function n4(e){return yg(e),e.headers=ho.from(e.headers),e.data=gg.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),oT.getAdapter(e.adapter||Nx.adapter)(e).then(function(r){return yg(e),r.data=gg.call(e,e.transformResponse,r),r.headers=ho.from(r.headers),r},function(r){return ZP(r)||(yg(e),r&&r.response&&(r.response.data=gg.call(e,e.transformResponse,r.response),r.response.headers=ho.from(r.response.headers))),Promise.reject(r)})}const iT="1.7.7",Ix={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ix[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const r4={};Ix.transitional=function(t,n,r){function o(i,a){return"[Axios v"+iT+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,l)=>{if(t===!1)throw new dt(o(a," has been removed"+(n?" in "+n:"")),dt.ERR_DEPRECATED);return n&&!r4[a]&&(r4[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,l):!0}};function yce(e,t,n){if(typeof e!="object")throw new dt("options must be an object",dt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const l=e[i],s=l===void 0||a(l,i,e);if(s!==!0)throw new dt("option "+i+" must be "+s,dt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new dt("Unknown option "+i,dt.ERR_BAD_OPTION)}}const Ky={assertOptions:yce,validators:Ix},hi=Ky.validators;class Pp{constructor(t){this.defaults=t,this.interceptors={request:new K$,response:new K$}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||||
`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ba(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Ky.assertOptions(r,{silentJSONParsing:hi.transitional(hi.boolean),forcedJSONParsing:hi.transitional(hi.boolean),clarifyTimeoutError:hi.transitional(hi.boolean)},!1),o!=null&&(ce.isFunction(o)?n.paramsSerializer={serialize:o}:Ky.assertOptions(o,{encode:hi.function,serialize:hi.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&ce.merge(i.common,i[n.method]);i&&ce.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=ho.concat(a,i);const l=[];let s=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(s=s&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,d=0,f;if(!s){const h=[n4.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),f=h.length,u=Promise.resolve(n);d<f;)u=u.then(h[d++],h[d++]);return u}f=l.length;let m=n;for(d=0;d<f;){const h=l[d++],p=l[d++];try{m=h(m)}catch(y){p.call(this,y);break}}try{u=n4.call(this,m)}catch(h){return Promise.reject(h)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=Ba(this.defaults,t);const n=eT(t.baseURL,t.url);return qP(n,t.params,t.paramsSerializer)}}ce.forEach(["delete","get","head","options"],function(t){Pp.prototype[t]=function(n,r){return this.request(Ba(r||{},{method:t,url:n,data:(r||{}).data}))}});ce.forEach(["post","put","patch"],function(t){function n(r){return function(i,a,l){return this.request(Ba(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Pp.prototype[t]=n(),Pp.prototype[t+"Form"]=n(!0)});const yf=Pp;class Ax{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(l=>{r.subscribe(l),i=l}).then(o);return a.cancel=function(){r.unsubscribe(i)},a},t(function(i,a,l){r.reason||(r.reason=new Ts(i,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Ax(function(o){t=o}),cancel:t}}}const bce=Ax;function xce(e){return function(n){return e.apply(null,n)}}function Sce(e){return ce.isObject(e)&&e.isAxiosError===!0}const qy={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(qy).forEach(([e,t])=>{qy[t]=e});const Cce=qy;function aT(e){const t=new yf(e),n=FP(yf.prototype.request,t);return ce.extend(n,yf.prototype,t,{allOwnKeys:!0}),ce.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return aT(Ba(e,o))},n}const pn=aT(Nx);pn.Axios=yf;pn.CanceledError=Ts;pn.CancelToken=bce;pn.isCancel=ZP;pn.VERSION=iT;pn.toFormData=mm;pn.AxiosError=dt;pn.Cancel=pn.CanceledError;pn.all=function(t){return Promise.all(t)};pn.spread=xce;pn.isAxiosError=Sce;pn.mergeConfig=Ba;pn.AxiosHeaders=ho;pn.formToJSON=e=>QP(ce.isHTMLForm(e)?new FormData(e):e);pn.getAdapter=oT.getAdapter;pn.HttpStatusCode=Cce;pn.default=pn;const wce=pn;const $ce=({isOpen:e,closeModal:t,elem:n})=>{const r=o=>{t&&t()};return J("div",{className:"MessageModal-Parent",children:[x("div",{}),x(Co,{className:"MessageModal",overlayClassName:"MessageModal-Overlay"
Line truncated
|
||||
happen because the element may not have been added to DOM yet.
|
||||
See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.
|
||||
`),null)},r.onStart=function(o){r.lastScrollTop||(r.dragging=!0,o instanceof MouseEvent?r.startY=o.pageY:o instanceof TouchEvent&&(r.startY=o.touches[0].pageY),r.currentY=r.startY,r._infScroll&&(r._infScroll.style.willChange="transform",r._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},r.onMove=function(o){!r.dragging||(o instanceof MouseEvent?r.currentY=o.pageY:o instanceof TouchEvent&&(r.currentY=o.touches[0].pageY),!(r.currentY<r.startY)&&(r.currentY-r.startY>=Number(r.props.pullDownToRefreshThreshold)&&r.setState({pullToRefreshThresholdBreached:!0}),!(r.currentY-r.startY>r.maxPullDownDistance*1.5)&&r._infScroll&&(r._infScroll.style.overflow="visible",r._infScroll.style.transform="translate3d(0px, "+(r.currentY-r.startY)+"px, 0px)")))},r.onEnd=function(){r.startY=0,r.currentY=0,r.dragging=!1,r.state.pullToRefreshThresholdBreached&&(r.props.refreshFunction&&r.props.refreshFunction(),r.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame(function(){r._infScroll&&(r._infScroll.style.overflow="auto",r._infScroll.style.transform="none",r._infScroll.style.willChange="unset")})},r.onScrollListener=function(o){typeof r.props.onScroll=="function"&&setTimeout(function(){return r.props.onScroll&&r.props.onScroll(o)},0);var i=r.props.height||r._scrollableNode?o.target:document.documentElement.scrollTop?document.documentElement:document.body;if(!r.actionTriggered){var a=r.props.inverse?r.isElementAtTop(i,r.props.scrollThreshold):r.isElementAtBottom(i,r.props.scrollThreshold);a&&r.props.hasMore&&(r.actionTriggered=!0,r.setState({showLoader:!0}),r.props.next&&r.props.next()),r.lastScrollTop=i.scrollTop}},r.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:n.dataLength},r.throttledOnScrollListener=Dce(150,r.onScrollListener).bind(r),r.onStart=r.onStart.bind(r),r.onMove=r.onMove.bind(r),r.onEnd=r.onEnd.bind(r),r}return t.prototype.componentDidMount=function(){if(typeof this.props.dataLength>"u")throw new Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),typeof this.props.initialScrollY=="number"&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),typeof this.props.refreshFunction!="function"))throw new Error(`Mandatory prop "refreshFunction" missing.
|
||||
Pull Down To Refresh functionality will not work
|
||||
as expected. Check README.md for usage'`)},t.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)))},t.prototype.componentDidUpdate=function(n){this.props.dataLength!==n.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},t.getDerivedStateFromProps=function(n,r){var o=n.dataLength!==r.prevDataLength;return o?Nc(Nc({},r),{prevDataLength:n.dataLength}):null},t.prototype.isElementAtTop=function(n,r){r===void 0&&(r=.8);var o=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,i=a4(r);return i.unit===Kl.Pixel?n.scrollTop<=i.value+o-n.scrollHeight+1:n.scrollTop<=i.value/100+o-n.scrollHeight+1},t.prototype.isElementAtBottom=function(n,r){r===void 0&&(r=.8);var o=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,i=a4(r);return i.unit===Kl.Pixel?n.scrollTop+o>=n.scrollHeight-i.value:n.scrollTop+o>=i.value/100*n.scrollHeight},t.prototype.render=function(){var n=this,r=Nc({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),o=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),i=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return x("div",{style:i,className:"infinite-scroll-component__outerdiv",children:J("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(a){return n._infScroll=a},style:r,children:[this.props.pullDownToRefresh&&x("div",{style:{position:"relative"},ref:function(a){return n._pullDown=a},children:x("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance},children:this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent})}),this.props.children,!this.state.showLoader&&!o&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage]})})},t}(v.exports.Component);const kce=v.exports.forwardRef((e,t)=>{let n=!1,r=!1;e.message.position==="middle"?n=!0:r=e.message.position!=="right";const o=v.exports.useMemo(()=>e.renderMessageContent(e.message),[e.message]);return J("div",{className:"MessageBubble",id:e.id,ref:t,children:[x("time",{className:"Time",dateTime:Ht(e.message.createdAt).format(),children:Ht(e.message.createdAt*1e3).format("YYYY\u5E74M\u6708D\u65E5 HH:mm")}),n?o:J("div",{className:"MessageBubble-content"+(r?"-left":"-right"),children:[x("div",{className:"MessageBubble-content-Avatar",children:r&&x(Gi,{className:"MessageBubble-Avatar-left",userInfo:e.message.userInfo,size:"40",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF"})}),J("div",{className:"Bubble"+(r?"-left":"-right"),children:[x("div",{className:"MessageBubble-Name"+(r?"-left":"-right"),truncate:1,children:e.message.userInfo.ReMark||e.message.userInfo.NickName||e.message.userInfo.Alias||""}),o]}),x("div",{className:"MessageBubble-content-Avatar",children:!r&&x(Gi,{className:"MessageBubble-Avatar-right",userInfo:e.message.userInfo,size:"40",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF"})})]})]})});function Fce(e){const t=v.exports.useRef(),n=v.exports.useRef(0),r=v.exports.useRef(null),o=a=>{a.srcElement.scrollTop>0&&a.srcElement.scrollTop<1&&(a.srcElement.scrollTop=0),a.srcElement.scrollTop===0?(n.current=a.srcElement.scrollHeight,r.current=a.srcElement,e.atBottom&&e.atBottom()):(n.current=0,r.current=null)};function i(){e.next()}return v.exports.useEffect(()=>{n.current!==0&&r.current&&(r.current.scrollTop=-(r.current.scrollHeight-n.current),n.current=0,r.current=null)},[e.messages]),v.exports.useEffect(()=>{t.current&&t.current.scrollIntoView()},[e.messages]),x("div",{id:"scrollableDiv",children:x(_x,{scrollableTarget:"scrollableDiv",dataLength:e.messages.length,next:i,hasMore:e.hasMore,inverse:!0,onScroll:o,children:e.messages.map(a=>x(kce,{message:a,renderMessageContent:e.renderMessageContent,id:a.key,ref:a.key===e.scrollIntoId?t:null},a.key))})})}function Lce(e){return x("div",{className:"ChatUi",children:x(Fce,{messages:e.messages,next:e.fetchMoreData,hasMore:e.hasMore,renderMessageContent:e.renderMessageContent,atBottom:e.atBottom,scrollIntoId:e.scrollIntoId})})}function Dx(e){const[t,n]=v.exports.useState(e);return{messages:t,prependMsgs:a=>{n(a.concat(t))},appendMsgs:a=>{n(t.concat(a))},setMsgs:a=>{n(a)}}}const zce="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
Line truncated
|
||||
`).forEach((c,u)=>{u>0&&i.push(x("br",{},`${l}-${u}`)),i.push(c)}):i.push(a)}),i};function kx(e){const t=v.exports.useMemo(()=>Hde(l4),[]),[n,r]=v.exports.useState([]);return v.exports.useEffect(()=>{const o=Vde(e.text,l4,t);r(o)},[e.text,t]),x(AM,{className:"CardMessageText "+e.className,size:"small",children:x(At,{children:n})})}const Wde=e=>!!e&&e[0]==="o",s4=pr.exports.unstable_batchedUpdates||(e=>e()),ml=(e,t,n=1e-4)=>Math.abs(e-t)<n,Qy=(e,t)=>e===!0||!!(e&&e[t]),go=(e,t)=>typeof e=="function"?e(t):e,Fx=(e,t)=>(t&&Object.keys(t).forEach(n=>{const r=e[n],o=t[n];typeof o=="function"&&r?e[n]=(...i)=>{o(...i),r(...i)}:e[n]=o}),e),Ude=e=>{if(typeof e!="string")return{top:0,right:0,bottom:0,left:0};const t=e.trim().split(/\s+/,4).map(parseFloat),n=isNaN(t[0])?0:t[0],r=isNaN(t[1])?n:t[1];return{top:n,right:r,bottom:isNaN(t[2])?n:t[2],left:isNaN(t[3])?r:t[3]}},bg=e=>{for(;e;){if(e=e.parentNode,!e||e===document.body||!e.parentNode)return;const{overflow:t,overflowX:n,overflowY:r}=getComputedStyle(e);if(/auto|scroll|overlay|hidden/.test(t+r+n))return e}};function lT(e,t){return{"aria-disabled":e||void 0,tabIndex:t?0:-1}}function c4(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return n;return-1}const Tp=({block:e,element:t,modifiers:n,className:r})=>v.exports.useMemo(()=>{const o=t?`${e}__${t}`:e;let i=o;n&&Object.keys(n).forEach(l=>{const s=n[l];s&&(i+=` ${o}--${s===!0?l:`${l}-${s}`}`)});let a=typeof r=="function"?r(n):r;return typeof a=="string"&&(a=a.trim(),a&&(i+=` ${a}`)),i},[e,t,n,r]),Yde="szh-menu-container",bf="szh-menu",Gde="arrow",Kde="item",sT=v.exports.createContext(),cT=v.exports.createContext({}),u4=v.exports.createContext({}),uT=v.exports.createContext({}),qde=v.exports.createContext({}),Lx=v.exports.createContext({}),Yo=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),mn=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),du=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),d4=Object.freeze({FIRST:"first",LAST:"last"}),xg="absolute",Xde="presentation",dT="menuitem",f4={"aria-hidden":!0,role:dT},Qde=({className:e,containerRef:t,containerProps:n,children:r,isOpen:o,theming:i,transition:a,onClose:l})=>{const s=Qy(a,"item");return x("div",{...Fx({onKeyDown:({key:d})=>{switch(d){case Yo.ESC:go(l,{key:d,reason:du.CANCEL});break}},onBlur:d=>{o&&!d.currentTarget.contains(d.relatedTarget)&&go(l,{reason:du.BLUR})}},n),className:Tp({block:Yde,modifiers:v.exports.useMemo(()=>({theme:i,itemTransition:s}),[i,s]),className:e}),style:{position:"absolute",...n==null?void 0:n.style},ref:t,children:r})},Zde=()=>{let e,t=0;return{toggle:n=>{n?t++:t--,t=Math.max(t,0)},on:(n,r,o)=>{t?e||(e=setTimeout(()=>{e=0,r()},n)):o==null||o()},off:()=>{e&&(clearTimeout(e),e=0)}}},Jde=(e,t)=>{const[n,r]=v.exports.useState(),i=v.exports.useRef({items:[],hoverIndex:-1,sorted:!1}).current,a=v.exports.useCallback((s,c)=>{const{items:u}=i;if(!s)i.items=[];else if(c)u.push(s);else{const d=u.indexOf(s);d>-1&&(u.splice(d,1),s.contains(document.activeElement)&&(t.current.focus(),r()))}i.hoverIndex=-1,i.sorted=!1},[i,t]),l=v.exports.useCallback((s,c,u)=>{const{items:d,hoverIndex:f}=i,m=()=>{if(i.sorted)return;const y=e.current.querySelectorAll(".szh-menu__item");d.sort((g,b)=>c4(y,g)-c4(y,b)),i.sorted=!0};let h=-1,p;switch(s){case mn.RESET:break;case mn.SET:p=c;break;case mn.UNSET:p=y=>y===c?void 0:y;break;case mn.FIRST:m(),h=0,p=d[h];break;case mn.LAST:m(),h=d.length-1,p=d[h];break;case mn.SET_INDEX:m(),h=u,p=d[h];break;case mn.INCREASE:m(),h=f,h<0&&(h=d.indexOf(c)),h++,h>=d.length&&(h=0),p=d[h];break;case mn.DECREASE:m(),h=f,h<0&&(h=d.indexOf(c)),h--,h<0&&(h=d.length-1),p=d[h];break}p||(h=-1),r(p),i.hoverIndex=h},[e,i]);return{hoverItem:n,dispatch:l,updateItems:a}},efe=(e,t,n,r)=>{const o=t.current.getBoundingClientRect(),i=e.current.getBoundingClientRect(),a=n===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:n.getBoundingClientRect(),l=Ude(r),s=h=>h+i.left-a.left-l.left,c=h=>h+i.left+o.width-a.right+l.right,u=h=>h+i.top-a.top-l.top,d=h=>h+i.top+o.height-a.bottom+l.bottom;return{menuRect:o,containerRect:i,getLeftOverflow:s,getRightOverflow:c,getTopOverflow:u,getBottomOverflow:d,confineHorizontally:h=>{let p=s(h);if(p<0)h-=p;else{const y=c(h);y>0&&(h-=y,p=s(h),p<0&&(h-=p))}return h},confineVertically:h=>{let p=u(h);if(p<0)h-=p;else{const y=d(h);y>0&&(h-=y,p=u(h),p<0&&(h-=p))}return h}}},tfe=({arrowRef:e,menuY:t,anchorRect:n,containerRect:r,menuRect:o})=>{let i=n.top-r.top-t+n.height/2;const a=e.current.offsetHeight*1.25;return i=Math.max(a,i),i=Math.min(i,o.height-a),i},nfe=({anchorRect:e,containerRect:t,menuRect:n,placeLeftorRightY:r,placeLeftX:o,placeRightX:i,getLeftOverflow:a,getRightOverflow:l,confineHorizontally:s,confineVertically:c,arrowRef:u,arrow:d,direction:f,position:m})=>{let h=f,p=r;m!=="initial"&&(p=c(p),m==="anchor"&&(p=Math.min(p,e
Line truncated
|
||||
* clipboard.js v2.0.11
|
||||
* https://clipboardjs.com/
|
||||
*
|
||||
* Licensed MIT © Zeno Rocha
|
||||
*/(function(e,t){(function(r,o){e.exports=o()})(Hn,function(){return function(){var n={686:function(i,a,l){l.d(a,{default:function(){return H}});var s=l(279),c=l.n(s),u=l(370),d=l.n(u),f=l(817),m=l.n(f);function h(D){try{return document.execCommand(D)}catch{return!1}}var p=function(B){var W=m()(B);return h("cut"),W},y=p;function g(D){var B=document.documentElement.getAttribute("dir")==="rtl",W=document.createElement("textarea");W.style.fontSize="12pt",W.style.border="0",W.style.padding="0",W.style.margin="0",W.style.position="absolute",W.style[B?"right":"left"]="-9999px";var Y=window.pageYOffset||document.documentElement.scrollTop;return W.style.top="".concat(Y,"px"),W.setAttribute("readonly",""),W.value=D,W}var b=function(B,W){var Y=g(B);W.container.appendChild(Y);var K=m()(Y);return h("copy"),Y.remove(),K},S=function(B){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},Y="";return typeof B=="string"?Y=b(B,W):B instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(B==null?void 0:B.type)?Y=b(B.value,W):(Y=m()(B),h("copy")),Y},C=S;function $(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$=function(W){return typeof W}:$=function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},$(D)}var E=function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},W=B.action,Y=W===void 0?"copy":W,K=B.container,j=B.target,V=B.text;if(Y!=="copy"&&Y!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(j!==void 0)if(j&&$(j)==="object"&&j.nodeType===1){if(Y==="copy"&&j.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(Y==="cut"&&(j.hasAttribute("readonly")||j.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(V)return C(V,{container:K});if(j)return Y==="cut"?y(j):C(j,{container:K})},w=E;function P(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P=function(W){return typeof W}:P=function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},P(D)}function R(D,B){if(!(D instanceof B))throw new TypeError("Cannot call a class as a function")}function N(D,B){for(var W=0;W<B.length;W++){var Y=B[W];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(D,Y.key,Y)}}function T(D,B,W){return B&&N(D.prototype,B),W&&N(D,W),D}function F(D,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(B&&B.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),B&&z(D,B)}function z(D,B){return z=Object.setPrototypeOf||function(Y,K){return Y.__proto__=K,Y},z(D,B)}function A(D){var B=M();return function(){var Y=O(D),K;if(B){var j=O(this).constructor;K=Reflect.construct(Y,arguments,j)}else K=Y.apply(this,arguments);return k(this,K)}}function k(D,B){return B&&(P(B)==="object"||typeof B=="function")?B:_(D)}function _(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function M(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function O(D){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(W){return W.__proto__||Object.getPrototypeOf(W)},O(D)}function L(D,B){var W="data-clipboard-".concat(D);if(!!B.hasAttribute(W))return B.getAttribute(W)}var I=function(D){F(W,D);var B=A(W);function W(Y,K){var j;return R(this,W),j=B.call(this),j.resolveOptions(K),j.listenClick(Y),j}return T(W,[{key:"resolveOptions",value:function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof K.action=="function"?K.action:this.defaultAction,this.target=typeof K.target=="function"?K.target:this.defaultTarget,this.text=typeof K.text=="function"?K.text:this.defaultText,this.container=P(K.container)==="object"?K.container:document.body}},{key:"listenClick",value:function(K){var j=this;this.listener=d()(K,"click",function(V){return j.onClick(V)})}},{key:"onClick",value:function(K){var j=K.delegateTarget||K.currentTarget,V=this.action(j)||"copy",X=w({action:V,container:this.container,target:this.target(j),text:this.text(j)});this.emit(X?"success":"error",{action:V,text:X,trigger:j,clearSelection:function(){j&&j.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(K){return L("action",K)}},{key:"defaultTarget",value:function(K){var j=L("target",K);if(j)return document.querySelector(j)}},{key:"defaultText",value:function(K){return L("text",K)}},{key:"destroy",value:functLine truncated
|
||||
position: relative;
|
||||
width: -moz-fit-content;
|
||||
width: fit-content;
|
||||
height: -moz-fit-content;
|
||||
height: fit-content;
|
||||
overflow: hidden;
|
||||
-webkit-touch-callout: none; /* iOS Safari */
|
||||
-webkit-user-select: none; /* Safari */
|
||||
-khtml-user-select: none; /* Konqueror HTML */
|
||||
-moz-user-select: none; /* Firefox */
|
||||
-ms-user-select: none; /* Internet Explorer/Edge */
|
||||
user-select: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.transform-component-module_content__FBWxo {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
width: -moz-fit-content;
|
||||
width: fit-content;
|
||||
height: -moz-fit-content;
|
||||
height: fit-content;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
transform-origin: 0% 0%;
|
||||
}
|
||||
.transform-component-module_content__FBWxo img {
|
||||
pointer-events: none;
|
||||
}
|
||||
`,w4={wrapper:"transform-component-module_wrapper__SPB86",content:"transform-component-module_content__FBWxo"};Cpe(wpe);var $pe=function(e){var t=e.children,n=e.wrapperClass,r=n===void 0?"":n,o=e.contentClass,i=o===void 0?"":o,a=e.wrapperStyle,l=e.contentStyle,s=e.wrapperProps,c=s===void 0?{}:s,u=e.contentProps,d=u===void 0?{}:u,f=v.exports.useContext(jx),m=f.init,h=f.cleanupWindowEvents,p=v.exports.useRef(null),y=v.exports.useRef(null);return v.exports.useEffect(function(){var g=p.current,b=y.current;return g!==null&&b!==null&&m&&(m==null||m(g,b)),function(){h==null||h()}},[]),x("div",{...Fi({},c,{ref:p,className:"".concat(Jy.wrapperClass," ").concat(w4.wrapper," ").concat(r),style:a}),children:x("div",{...Fi({},d,{ref:y,className:"".concat(Jy.contentClass," ").concat(w4.content," ").concat(i),style:l}),children:t})})};const Epe="/assets/errorImg.719abbab.png",Fl=43,IT=1,AT=2,_T=3;function Ope(e){const t=n=>{n==="up"&&e.upDisable||n==="down"&&e.downDisable||e.ButtonEvent&&e.ButtonEvent(n)};return x("div",{className:"MediaViewModal-body-Bar",children:J("div",{className:"MediaViewModal-Bar-body",children:[J("div",{className:"MediaViewModal-Bar-func",children:[x("div",{className:`MediaViewModal-Bar-Icon${e.upDisable?"-disable":""}`,onClick:()=>t("up"),title:"\u4E0A\u4E00\u5F20",children:x(E_,{})}),x("div",{className:`MediaViewModal-Bar-Icon${e.downDisable?"-disable":""}`,onClick:()=>t("down"),title:"\u4E0B\u4E00\u5F20",children:x(T_,{})}),!e.isVideo&&x("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("zoomIn"),title:"\u653E\u5927",children:x(E6,{})}),!e.isVideo&&x("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("zoomOut"),title:"\u7F29\u5C0F",children:x(O6,{})}),!e.isVideo&&x("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("origin"),title:"\u9002\u5E94\u7A97\u53E3\u5927\u5C0F",children:x(M7,{})}),!e.isVideo&&x("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("left"),title:"\u5DE6\u8F6C",children:x(C6,{})}),!e.isVideo&&x("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("right"),title:"\u53F3\u8F6C",children:x(w6,{})}),!e.isVideo&&x("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("flipX"),title:"\u6C34\u5E73\u7FFB\u8F6C",children:x(Zf,{})}),!e.isVideo&&x("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("flipY"),title:"\u5782\u76F4\u7FFB\u8F6C",children:x(Zf,{style:{transform:"rotate(90deg)"}})}),x("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("save"),title:"\u4FDD\u5B58\u5230\u672C\u5730",children:x(d7,{})})]}),x("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("close"),title:"\u5173\u95ED",children:x(Tr,{className:"MediaViewModal-Bar-Icon"})})]})})}function Mpe({msg:e}){const[t,n]=v.exports.useState(!0),r=v.exports.useRef(null),o=()=>{r.current&&(r.current.src=Epe)},i=()=>{if(r.current){const{naturalWidth:a,naturalHeight:l}=r.current;n(a<l)}};return J("div",{className:"MediaView-thumb-div",children:[x("img",{className:"MediaView-thumb",ref:r,src:e.content.ThumbPath,onError:o,onLoad:i,style:{width:t?"100px":"auto",height:t?"auto":"100px"}}),e.content.type===Fl&&x("div",{className:"MediaView-thumb-mask",children:x("div",{className:"MediaView-thumb-mask-icon-div",children:x(x6,{className:"MediaView-thumb-mask-icon"})})})]})}function Ppe({src:e,onError:t,isPlay:n}){const r=v.exports.useRef(null),[o,i]=v.exports.useState(n),[a,l]=v.exports.useState(0),[s,c]=v.exports.useState(1),[u,d]=v.exports.useState(!1),[f,m]=v.exports.useState(!1),[h,p]=v.exports.useState(!1),[y,g]=v.exports.useState("00:00"),[b,S]=v.exports.useState("00:00"),C=()=>{i(!o)},$=k=>{const _=parseFloat(k.target.value);r.current&&(o?(r.current.pause(),setTimeout(()=>{l(_),r.current.currentTime=r.current.duration*_,r.current.play()},30)):r.current.currentTime=r.current.duration*_)},E=k=>{const _=parseFloat(k.target.value);c(_)},w=()=>{i(!1)},P=()=>{console.log("MediaViewvideo handleError"),t&&t()},R=k=>{k.target.getBoundingClientRect().height-k.clientY<=100?m(!0):(m(!1),p(!1))},N=k=>{p(k)},T=()=>{d(k=>!k)},F=k=>{switch(k.code){case"Space":C();break}},z=()=>{if(r.current){const k=r.current.currentTime,_=r.current.duration;if(isNaN(k)||isNaN(_))return;l(k/_),g(wg(k))}},A=()=>{r.current&&(l(0),g(wg(0)),S(wg(r.current.duration)))};return v.exports.useEffect(()=>(r.current&&(o?r.current.play():r.current.pause()),window.addEventListener("keydown",F),()=>{window.removeEventListener("keydown",F)}),[o]),v.exports.useEffect(()=>{r.current&&(r.current.volume=s)},[s]),v.exports.useEffect(()=>{i(n)},[e,n]),J("div",{className:"MediaViewvideo",onMouseMove:R,children:[x("div",{className:"MediaViewvideo-video-wrap",onClick:C,children:x("video",{className:"MediaViewvideo-video",ref:r,src:e,controls:!1,preload:"auto",muted:u,onTimeUpdate:z,onLoadedMetadata:A,onError:P,onEnded:w})}),J("div",{className:"MediaView-Player-controls",style:{visibility:f?"visible":"hidden"},children:[x("div",{className:"MediaView-Player-controls-playpuase",onClick:C,children:o?x(PD,{title:"\u6682\u505C"}):x(j_,{tit
Line truncated
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 7.1 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 7.0 KiB |
Reference in new issue
Block a user