k5web/assets/index.413febc1.js

421 lines
1.5 MiB
JavaScript
Raw Normal View History

2024-08-04 06:03:13 +00:00
var In=Object.defineProperty;var Bn=(e,n,l)=>n in e?In(e,n,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[n]=l;var Qe=(e,n,l)=>(Bn(e,typeof n!="symbol"?n+"":n,l),l);import{d as defineComponent,A as getPrefixCls,c as computed,B as isNumber$2,_ as _export_sfc$1,C as openBlock,D as createElementBlock,E as normalizeClass,F as normalizeStyle,G as createBaseVNode,H as createStaticVNode,I as IconCaretDown,J as IconCaretLeft,K as IconCaretRight,L as IconCaretUp,M as IconDoubleLeft,N as IconDoubleRight,O as IconDown,P as IconLeft,Q as IconMenuFold,R as IconMenuUnfold,S as IconRight,T as IconRotateLeft,U as IconRotateRight,V as IconToTop,W as IconUp,X as IconCheckCircleFill,Y as IconCloseCircleFill,Z as IconExclamationCircleFill,$ as IconInfoCircleFill,a0 as IconCheck,a1 as IconClockCircle,a2 as IconClose,a3 as IconExclamation,a4 as IconInfo,a5 as IconMinus,a6 as IconPlus,a7 as IconQuestionCircle,a8 as IconStarFill,a9 as IconEyeInvisible,aa as IconEye,ab as IconMore,ac as IconSearch,ad as IconUpload,ae as IconCopy,af as IconDelete,ag as IconEdit,ah as IconFilter,ai as IconLink,aj as IconObliqueLine,ak as IconOriginalSize,al as IconZoomIn,am as IconZoomOut,an as IconPlayArrowFill,ao as IconFullscreen,ap as IconPause,aq as IconFaceFrownFill,ar as IconFaceMehFill,as as IconFaceSmileFill,at as IconCalendar,au as IconDragDotVertical,av as IconDragDot,aw as IconEmpty,ax as IconFileAudio,ay as IconFileImage,az as IconFilePdf,aA as IconFileVideo,aB as IconFile,aC as IconImageClose,aD as IconLoading,f as ref,n as nextTick,aE as createBlock,u as unref,aF as createCommentVNode,aG as Breadcrumb,aH as withCtx,aI as createVNode,aJ as renderList,aK as Fragment,aL as BreadcrumbItem,aM as createTextVNode,aN as toDisplayString,aO as commonjsGlobal$1,aP as getDefaultExportFromCjs$1,aQ as Notification,aR as getAugmentedNamespace,aS as vue_esmBundler,aT as dayjs,g as getCurrentInstance,i as inject,h,p as provide,o as onMounted,aU as isVNode$1,w as watch,t as toRefs,aV as mergeProps,aW as Teleport,r as reactive,aX as createApp,aY as onUnmounted,aZ as onUpdated,b as onBeforeUnmount,z as readonly,a_ as Transition,a$ as withDirectives,b0 as vShow,b1 as resolveDirective,b2 as defaultValidateLocale,b3 as InputNumber,b4 as Switch,b5 as Alert,b6 as Drawer,b7 as Message,b8 as Button$1,b9 as ConfigProvider$1,ba as lang$1,bb as resolveComponent,bc as Modal}from"./arco.76adc92f.js";import{B,u as use,i as install$1,a as install$2,b as install$3,c as install$4,d as install$5,e as install$6,f as install$7,g as install$8,h as install$9,j as install$a}from"./chart.d41e8c5b.js";import{d as defineStore,c as createPinia,a as createRouter,b as createWebHashHistory,s as shared_esmBrowser,e as coreBase_esmBrowser,u as useClipboard,f as useRoute}from"./vue.107cc2d0.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))r(u);new MutationObserver(u=>{for(const o of u)if(o.type==="childList")for(const t of o.addedNodes)t.tagName==="LINK"&&t.rel==="modulepreload"&&r(t)}).observe(document,{childList:!0,subtree:!0});function l(u){const o={};return u.integrity&&(o.integrity=u.integrity),u.referrerpolicy&&(o.referrerPolicy=u.referrerpolicy),u.crossorigin==="use-credentials"?o.credentials="include":u.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(u){if(u.ep)return;u.ep=!0;const o=l(u);fetch(u.href,o)}})();const _sfc_main$3F=defineComponent({name:"IconArrowDown",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:n}){const l=getPrefixCls("icon"),r=computed(()=>[l,`${l}-arrow-down`,{[`${l}-spin`]:e.spin}]),u=computed(()=>{const t={};return e.size&&(t.fontSize=isNumber$2(e.size)?`${e.size}px`:e.size),e.rotate&&(t.transform=
* @license MIT */(function(e,n){(function(l,r){e.exports=r()})(commonjsGlobal$1,function(){var l={};l.version="0.2.0";var r=l.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};l.configure=function(v){var y,E;for(y in v)E=v[y],E!==void 0&&v.hasOwnProperty(y)&&(r[y]=E);return this},l.status=null,l.set=function(v){var y=l.isStarted();v=u(v,r.minimum,1),l.status=v===1?null:v;var E=l.render(!y),A=E.querySelector(r.barSelector),D=r.speed,K=r.easing;return E.offsetWidth,a(function(N){r.positionUsing===""&&(r.positionUsing=l.getPositioningCSS()),m(A,t(v,D,K)),v===1?(m(E,{transition:"none",opacity:1}),E.offsetWidth,setTimeout(function(){m(E,{transition:"all "+D+"ms linear",opacity:0}),setTimeout(function(){l.remove(),N()},D)},D)):setTimeout(N,D)}),this},l.isStarted=function(){return typeof l.status=="number"},l.start=function(){l.status||l.set(0);var v=function(){setTimeout(function(){!l.status||(l.trickle(),v())},r.trickleSpeed)};return r.trickle&&v(),this},l.done=function(v){return!v&&!l.status?this:l.inc(.3+.5*Math.random()).set(1)},l.inc=function(v){var y=l.status;return y?(typeof v!="number"&&(v=(1-y)*u(Math.random()*y,.1,.95)),y=u(y+v,0,.994),l.set(y)):l.start()},l.trickle=function(){return l.inc(Math.random()*r.trickleRate)},function(){var v=0,y=0;l.promise=function(E){return!E||E.state()==="resolved"?this:(y===0&&l.start(),v++,y++,E.always(function(){y--,y===0?(v=0,l.done()):l.set((v-y)/v)}),this)}}(),l.render=function(v){if(l.isRendered())return document.getElementById("nprogress");g(document.documentElement,"nprogress-busy");var y=document.createElement("div");y.id="nprogress",y.innerHTML=r.template;var E=y.querySelector(r.barSelector),A=v?"-100":o(l.status||0),D=document.querySelector(r.parent),K;return m(E,{transition:"all 0 linear",transform:"translate3d("+A+"%,0,0)"}),r.showSpinner||(K=y.querySelector(r.spinnerSelector),K&&F(K)),D!=document.body&&g(D,"nprogress-custom-parent"),D.appendChild(y),y},l.remove=function(){$(document.documentElement,"nprogress-busy"),$(document.querySelector(r.parent),"nprogress-custom-parent");var v=document.getElementById("nprogress");v&&F(v)},l.isRendered=function(){return!!document.getElementById("nprogress")},l.getPositioningCSS=function(){var v=document.body.style,y="WebkitTransform"in v?"Webkit":"MozTransform"in v?"Moz":"msTransform"in v?"ms":"OTransform"in v?"O":"";return y+"Perspective"in v?"translate3d":y+"Transform"in v?"translate":"margin"};function u(v,y,E){return v<y?y:v>E?E:v}function o(v){return(-1+v)*100}function t(v,y,E){var A;return r.positionUsing==="translate3d"?A={transform:"translate3d("+o(v)+"%,0,0)"}:r.positionUsing==="translate"?A={transform:"translate("+o(v)+"%,0)"}:A={"margin-left":o(v)+"%"},A.transition="all "+y+"ms "+E,A}var a=function(){var v=[];function y(){var E=v.shift();E&&E(y)}return function(E){v.push(E),v.length==1&&y()}}(),m=function(){var v=["Webkit","O","Moz","ms"],y={};function E(N){return N.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(G,r2){return r2.toUpperCase()})}function A(N){var G=document.body.style;if(N in G)return N;for(var r2=v.length,T=N.charAt(0).toUpperCase()+N.slice(1),J;r2--;)if(J=v[r2]+T,J in G)return J;return N}function D(N){return N=E(N),y[N]||(y[N]=A(N))}function K(N,G,r2){G=D(G),N.style[G]=r2}return function(N,G){var r2=arguments,T,J;if(r2.length==2)for(T in G)J=G[T],J!==void 0&&G.hasOwnProperty(T)&&K(N,T,J);else K(N,r2[1],r2[2])}}();function f(v,y){var E=typeof v=="string"?v:S(v);return E.indexOf(" "+y+" ")>=0}function g(v,y){var E=S(v),A=E+y;f(E,y)||(v.className=A.substring(1))}function $(v,y){var E=S(v),A;!f(v,y)||(A=E.replace(" "+y+" "," "),v.className=A.substring(1,A.length-1))}function S(v){return(" "+(v.className||"")+" ").replace(/\s+/gi," ")}function F(v){v&&v.parentNode&&v.parentNode.removeChild(v)}return l})})(nprogress
`),function(f){if(a=f.indexOf(":"),o=e.trim(f.substr(0,a)).toLowerCase(),t=e.trim(f.substr(a+1)),o){if(u[o]&&n.indexOf(o)>=0)return;o==="set-cookie"?u[o]=(u[o]?u[o]:[]).concat([t]):u[o]=u[o]?u[o]+", "+t:t}}),u},parseHeaders}var isURLSameOrigin,hasRequiredIsURLSameOrigin;function requireIsURLSameOrigin(){if(hasRequiredIsURLSameOrigin)return isURLSameOrigin;hasRequiredIsURLSameOrigin=1;var e=utils$8;return isURLSameOrigin=e.isStandardBrowserEnv()?function(){var l=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),u;function o(t){var a=t;return l&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return u=o(window.location.href),function(a){var m=e.isString(a)?o(a):a;return m.protocol===u.protocol&&m.host===u.host}}():function(){return function(){return!0}}(),isURLSameOrigin}var Cancel_1,hasRequiredCancel;function requireCancel(){if(hasRequiredCancel)return Cancel_1;hasRequiredCancel=1;function e(n){this.message=n}return e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,Cancel_1=e,Cancel_1}var xhr,hasRequiredXhr;function requireXhr(){if(hasRequiredXhr)return xhr;hasRequiredXhr=1;var e=utils$8,n=requireSettle(),l=requireCookies(),r=buildURL$1,u=requireBuildFullPath(),o=requireParseHeaders(),t=requireIsURLSameOrigin(),a=requireCreateError(),m=requireDefaults(),f=requireCancel();return xhr=function($){return new Promise(function(F,v){var y=$.data,E=$.headers,A=$.responseType,D;function K(){$.cancelToken&&$.cancelToken.unsubscribe(D),$.signal&&$.signal.removeEventListener("abort",D)}e.isFormData(y)&&delete E["Content-Type"];var N=new XMLHttpRequest;if($.auth){var G=$.auth.username||"",r2=$.auth.password?unescape(encodeURIComponent($.auth.password)):"";E.Authorization="Basic "+btoa(G+":"+r2)}var T=u($.baseURL,$.url);N.open($.method.toUpperCase(),r(T,$.params,$.paramsSerializer),!0),N.timeout=$.timeout;function J(){if(!!N){var $2="getAllResponseHeaders"in N?o(N.getAllResponseHeaders()):null,W=!A||A==="text"||A==="json"?N.responseText:N.response,P2={data:W,status:N.status,statusText:N.statusText,headers:$2,config:$,request:N};n(function(F2){F(F2),K()},function(F2){v(F2),K()},P2),N=null}}if("onloadend"in N?N.onloadend=J:N.onreadystatechange=function(){!N||N.readyState!==4||N.status===0&&!(N.responseURL&&N.responseURL.indexOf("file:")===0)||setTimeout(J)},N.onabort=function(){!N||(v(a("Request aborted",$,"ECONNABORTED",N)),N=null)},N.onerror=function(){v(a("Network Error",$,null,N)),N=null},N.ontimeout=function(){var W=$.timeout?"timeout of "+$.timeout+"ms exceeded":"timeout exceeded",P2=$.transitional||m.transitional;$.timeoutErrorMessage&&(W=$.timeoutErrorMessage),v(a(W,$,P2.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",N)),N=null},e.isStandardBrowserEnv()){var U=($.withCredentials||t(T))&&$.xsrfCookieName?l.read($.xsrfCookieName):void 0;U&&(E[$.xsrfHeaderName]=U)}"setRequestHeader"in N&&e.forEach(E,function(W,P2){typeof y>"u"&&P2.toLowerCase()==="content-type"?delete E[P2]:N.setRequestHeader(P2,W)}),e.isUndefined($.withCredentials)||(N.withCredentials=!!$.withCredentials),A&&A!=="json"&&(N.responseType=$.responseType),typeof $.onDownloadProgress=="function"&&N.addEventListener("progress",$.onDownloadProgress),typeof $.onUploadProgress=="function"&&N.upload&&N.upload.addEventListener("progress",$.onUploadProgress),($.cancelToken||$.signal)&&(D=function($2){!N||(v(!$2||$2&&$2.type?new f("canceled"):$2),N.abort(),N=null)},$.cancelToken&&$.cancelToken.subscribe(D),$.signal&&($.signal.aborted?D():$.signal.addEventListener("abort",D))),y||(y=null),N.send(y)})},xhr}var defaults_1,hasRequiredDefaults;function requireDefaults(){if(hasRequiredDefaults)return defaults_1;hasRequiredDefaults=1;var e=utils$8,n=normalizeHeaderName,l=enhanceError,r={"Content-Type":"application/x-www-form-urlencoded"}
2024-06-15 00:08:13 +00:00
* vue-i18n v9.11.1
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
2024-08-04 06:03:13 +00:00
*/var shared=require$$0,coreBase=require$$1,vue=require$$2;const VERSION="9.11.1",code$1=coreBase.CoreWarnCodes.__EXTEND_POINT__,inc$1=shared.incrementer(code$1),I18nWarnCodes={FALLBACK_TO_ROOT:code$1,NOT_SUPPORTED_PRESERVE:inc$1(),NOT_SUPPORTED_FORMATTER:inc$1(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:inc$1(),NOT_SUPPORTED_GET_CHOICE_INDEX:inc$1(),COMPONENT_NAME_LEGACY_COMPATIBLE:inc$1(),NOT_FOUND_PARENT_SCOPE:inc$1(),IGNORE_OBJ_FLATTEN:inc$1(),NOTICE_DROP_ALLOW_COMPOSITION:inc$1(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:inc$1()},warnMessages={[I18nWarnCodes.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[I18nWarnCodes.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[I18nWarnCodes.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[I18nWarnCodes.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[I18nWarnCodes.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[I18nWarnCodes.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[I18nWarnCodes.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[I18nWarnCodes.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[I18nWarnCodes.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https://tinyurl.com/2p97mcze",[I18nWarnCodes.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function getWarnMessage(e,...n){return shared.format(warnMessages[e],...n)}const code=coreBase.CoreErrorCodes.__EXTEND_POINT__,inc=shared.incrementer(code),I18nErrorCodes={UNEXPECTED_RETURN_TYPE:code,INVALID_ARGUMENT:inc(),MUST_BE_CALL_SETUP_TOP:inc(),NOT_INSTALLED:inc(),NOT_AVAILABLE_IN_LEGACY_MODE:inc(),REQUIRED_VALUE:inc(),INVALID_VALUE:inc(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:inc(),NOT_INSTALLED_WITH_PROVIDE:inc(),UNEXPECTED_ERROR:inc(),NOT_COMPATIBLE_LEGACY_VUE_I18N:inc(),BRIDGE_SUPPORT_VUE_2_ONLY:inc(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:inc(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:inc(),__EXTEND_POINT__:inc()};function createI18nError(e,...n){return coreBase.createCompileError(e,null,{messages:errorMessages,args:n})}const errorMessages={[I18nErrorCodes.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[I18nErrorCodes.INVALID_ARGUMENT]:"Invalid argument",[I18nErrorCodes.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[I18nErrorCodes.NOT_INSTALLED]:"Need to install with `app.use` function",[I18nErrorCodes.UNEXPECTED_ERROR]:"Unexpected error",[I18nErrorCodes.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[I18nErrorCodes.REQUIRED_VALUE]:"Required in value: {0}",[I18nErrorCodes.INVALID_VALUE]:"Invalid value",[I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[I18nErrorCodes.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[I18nErrorCodes.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",[I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},TranslateVNodeSymbol=shared.makeSymbol("__translateVNode"),DatetimePartsSymbol=shared.makeSymbol("__datetimeParts"),NumberPartsSymbol=shared.makeSymbol("__numberParts"),EnableEmitter=shared.makeSymbol("__enableEmitter"),DisableEmitter=shared.makeSymbol("__disableEmitter"),SetPluralRulesSymbol=shared.makeSymbol("__setPluralRules");shared.makeSymbol("__intlifyMeta");const InejctWithOptionSymbol=shared.makeSymbol("__injectWithOption"),DisposeSymbol=shared.makeSymbol("__dispose"),__VUE_I18N_BRIDGE__="__VUE_I18N_BRIDGE__";function handleFlatJson(e){if(!shared.isObject(e))return
2024-06-15 00:08:13 +00:00
Mock - 模拟请求 & 模拟数据
https://github.com/nuysoft/Mock
墨智 mozhi.gyy@taobao.com nuysoft@gmail.com
2024-07-20 03:44:29 +00:00
*/var g={Handler:r,Random:o,Util:u,XHR:f,RE:t,toJSONSchema:a,valid:m,heredoc:u.heredoc,setup:function($){return f.setup($)},_mocked:{}};g.version="1.0.1-beta3",f&&(f.Mock=g),g.mock=function($,S,F){return arguments.length===1?r.gen($):(arguments.length===2&&(F=S,S=void 0),f&&(window.XMLHttpRequest=f),g._mocked[$+(S||"")]={rurl:$,rtype:S,template:F},g)},e.exports=g},function(module,exports,__webpack_require__){var Constant=__webpack_require__(2),Util=__webpack_require__(3),Parser=__webpack_require__(4),Random=__webpack_require__(5),RE=__webpack_require__(20),Handler={extend:Util.extend};Handler.gen=function(e,n,l){n=n==null?"":n+"",l=l||{},l={path:l.path||[Constant.GUID],templatePath:l.templatePath||[Constant.GUID++],currentContext:l.currentContext,templateCurrentContext:l.templateCurrentContext||e,root:l.root||l.currentContext,templateRoot:l.templateRoot||l.templateCurrentContext||e};var r=Parser.parse(n),u=Util.type(e),o;return Handler[u]?(o=Handler[u]({type:u,template:e,name:n,parsedName:n&&n.replace(Constant.RE_KEY,"$1"),rule:r,context:l}),l.root||(l.root=o),o):e},Handler.extend({array:function(e){var n=[],l,r;if(e.template.length===0)return n;if(e.rule.parameters)if(e.rule.min===1&&e.rule.max===void 0)e.context.path.push(e.name),e.context.templatePath.push(e.name),n=Random.pick(Handler.gen(e.template,void 0,{path:e.context.path,templatePath:e.context.templatePath,currentContext:n,templateCurrentContext:e.template,root:e.context.root||n,templateRoot:e.context.templateRoot||e.template})),e.context.path.pop(),e.context.templatePath.pop();else if(e.rule.parameters[2])e.template.__order_index=e.template.__order_index||0,e.context.path.push(e.name),e.context.templatePath.push(e.name),n=Handler.gen(e.template,void 0,{path:e.context.path,templatePath:e.context.templatePath,currentContext:n,templateCurrentContext:e.template,root:e.context.root||n,templateRoot:e.context.templateRoot||e.template})[e.template.__order_index%e.template.length],e.template.__order_index+=+e.rule.parameters[2],e.context.path.pop(),e.context.templatePath.pop();else for(l=0;l<e.rule.count;l++)for(r=0;r<e.template.length;r++)e.context.path.push(n.length),e.context.templatePath.push(r),n.push(Handler.gen(e.template[r],n.length,{path:e.context.path,templatePath:e.context.templatePath,currentContext:n,templateCurrentContext:e.template,root:e.context.root||n,templateRoot:e.context.templateRoot||e.template})),e.context.path.pop(),e.context.templatePath.pop();else for(l=0;l<e.template.length;l++)e.context.path.push(l),e.context.templatePath.push(l),n.push(Handler.gen(e.template[l],l,{path:e.context.path,templatePath:e.context.templatePath,currentContext:n,templateCurrentContext:e.template,root:e.context.root||n,templateRoot:e.context.templateRoot||e.template})),e.context.path.pop(),e.context.templatePath.pop();return n},object:function(e){var n={},l,r,u,o,t,a;if(e.rule.min!=null)for(l=Util.keys(e.template),l=Random.shuffle(l),l=l.slice(0,e.rule.count),a=0;a<l.length;a++)u=l[a],o=u.replace(Constant.RE_KEY,"$1"),e.context.path.push(o),e.context.templatePath.push(u),n[o]=Handler.gen(e.template[u],u,{path:e.context.path,templatePath:e.context.templatePath,currentContext:n,templateCurrentContext:e.template,root:e.context.root||n,templateRoot:e.context.templateRoot||e.template}),e.context.path.pop(),e.context.templatePath.pop();else{l=[],r=[];for(u in e.template)(typeof e.template[u]=="function"?r:l).push(u);for(l=l.concat(r),a=0;a<l.length;a++)u=l[a],o=u.replace(Constant.RE_KEY,"$1"),e.context.path.push(o),e.context.templatePath.push(u),n[o]=Handler.gen(e.template[u],u,{path:e.context.path,templatePath:e.context.templatePath,currentContext:n,templateCurrentContext:e.template,root:e.context.root||n,templateRoot:e.context.templateRoot||e.template}),e.context.path.pop(),e.context.templatePath.pop(),t=u.match(Constant.RE_KEY),t&&t[2]&&Util.type(e.template[u])==="number"&&(e.template[u]+=parseInt(t[2],10))}return n},number:function(e){var n,l;if(e.rule.decimal){for(e.template+="",l=e.template.split("."),l[0]=e.rule.range?e.rule.count:l[0],l[1]=(l[1]||"").slice(0,e.rule
`?(j.seenCR||j.line++,j.column=1,j.seenCR=!1):ge==="\r"||ge==="\u2028"||ge==="\u2029"?(j.line++,j.column=1,j.seenCR=!0):(j.column++,j.seenCR=!1)}return _e!==c&&(_e>c&&(_e=0,fn={line:1,column:1,seenCR:!1}),_(fn,_e,c),_e=c),fn}function W(c){Xe>b||(b>Xe&&(Xe=b,Ye=[]),Ye.push(c))}function P2(c){var _=0;for(c.sort();_<c.length;)c[_-1]===c[_]?c.splice(_,1):_++}function x2(){var c,_,j,X,v2;return c=b,_=F2(),_!==null?(j=b,T.charCodeAt(b)===124?(X=Q3,b++):(X=null,Z===0&&W(Z2)),X!==null?(v2=x2(),v2!==null?(X=[X,v2],j=X):(b=j,j=e2)):(b=j,j=e2),j===null&&(j=h3),j!==null?(i2=c,_=W3(_,j),_===null&&(b=c),c=_):(b=c,c=e2)):(b=c,c=e2),c}function F2(){var c,_,j,X,v2;if(c=b,_=C2(),_===null&&(_=h3),_!==null)if(j=b,Z++,X=R2(),Z--,X===null?j=h3:(b=j,j=e2),j!==null){for(X=[],v2=M2(),v2===null&&(v2=w2());v2!==null;)X.push(v2),v2=M2(),v2===null&&(v2=w2());X!==null?(v2=D2(),v2===null&&(v2=h3),v2!==null?(i2=c,_=V3(_,X,v2),_===null&&(b=c),c=_):(b=c,c=e2)):(b=c,c=e2)}else b=c,c=e2;else b=c,c=e2;return c}function w2(){var c;return c=e3(),c===null&&(c=V(),c===null&&(c=l2())),c}function C2(){var c,_;return c=b,T.charCodeAt(b)===94?(_=ee,b++):(_=null,Z===0&&W(a3)),_!==null&&(i2=c,_=ke()),_===null&&(b=c),c=_,c}function D2(){var c,_;return c=b,T.charCodeAt(b)===36?(_=$e,b++):(_=null,Z===0&&W(n3)),_!==null&&(i2=c,_=nn()),_===null&&(b=c),c=_,c}function M2(){var c,_,j;return c=b,_=w2(),_!==null?(j=R2(),j!==null?(i2=c,_=L3(_,j),_===null&&(b=c),c=_):(b=c,c=e2)):(b=c,c=e2),c}function R2(){var c,_,j;return Z++,c=b,_=A2(),_!==null?(j=W2(),j===null&&(j=h3),j!==null?(i2=c,_=l3(_,j),_===null&&(b=c),c=_):(b=c,c=e2)):(b=c,c=e2),Z--,c===null&&(_=null,Z===0&&W(ln)),c}function A2(){var c;return c=q2(),c===null&&(c=z2(),c===null&&(c=u3(),c===null&&(c=d3(),c===null&&(c=o3(),c===null&&(c=f3()))))),c}function q2(){var c,_,j,X,v2,E3;return c=b,T.charCodeAt(b)===123?(_=_3,b++):(_=null,Z===0&&W(t3)),_!==null?(j=J2(),j!==null?(T.charCodeAt(b)===44?(X=N3,b++):(X=null,Z===0&&W(ye)),X!==null?(v2=J2(),v2!==null?(T.charCodeAt(b)===125?(E3=T3,b++):(E3=null,Z===0&&W(y3)),E3!==null?(i2=c,_=be(j,v2),_===null&&(b=c),c=_):(b=c,c=e2)):(b=c,c=e2)):(b=c,c=e2)):(b=c,c=e2)):(b=c,c=e2),c}function z2(){var c,_,j,X;return c=b,T.charCodeAt(b)===123?(_=_3,b++):(_=null,Z===0&&W(t3)),_!==null?(j=J2(),j!==null?(T.substr(b,2)===ne?(X=ne,b+=2):(X=null,Z===0&&W(le)),X!==null?(i2=c,_=_2(j),_===null&&(b=c),c=_):(b=c,c=e2)):(b=c,c=e2)):(b=c,c=e2),c}function u3(){var c,_,j,X;return c=b,T.charCodeAt(b)===123?(_=_3,b++):(_=null,Z===0&&W(t3)),_!==null?(j=J2(),j!==null?(T.charCodeAt(b)===125?(X=T3,b++):(X=null,Z===0&&W(y3)),X!==null?(i2=c,_=Ce(j),_===null&&(b=c),c=_):(b=c,c=e2)):(b=c,c=e2)):(b=c,c=e2),c}function d3(){var c,_;return c=b,T.charCodeAt(b)===43?(_=tn,b++):(_=null,Z===0&&W(c3)),_!==null&&(i2=c,_=rn()),_===null&&(b=c),c=_,c}function o3(){var c,_;return c=b,T.charCodeAt(b)===42?(_=Se,b++):(_=null,Z===0&&W(un)),_!==null&&(i2=c,_=we()),_===null&&(b=c),c=_,c}function f3(){var c,_;return c=b,T.charCodeAt(b)===63?(_=Ee,b++):(_=null,Z===0&&W(te)),_!==null&&(i2=c,_=Ie()),_===null&&(b=c),c=_,c}function W2(){var c;return T.charCodeAt(b)===63?(c=Ee,b++):(c=null,Z===0&&W(te)),c}function J2(){var c,_,j;if(c=b,_=[],ue.test(T.charAt(b))?(j=T.charAt(b),b++):(j=null,Z===0&&W(oe)),j!==null)for(;j!==null;)_.push(j),ue.test(T.charAt(b))?(j=T.charAt(b),b++):(j=null,Z===0&&W(oe));else _=e2;return _!==null&&(i2=c,_=g3(_)),_===null&&(b=c),c=_,c}function e3(){var c,_,j,X;return c=b,T.charCodeAt(b)===40?(_=q3,b++):(_=null,Z===0&&W(v3)),_!==null?(j=b2(),j===null&&(j=T2(),j===null&&(j=a2(),j===null&&(j=E2()))),j!==null?(T.charCodeAt(b)===41?(X=ie,b++):(X=null,Z===0&&W(se)),X!==null?(i2=c,_=ae(j),_===null&&(b=c),c=_):(b=c,c=e2)):(b=c,c=e2)):(b=c,c=e2),c}function E2(){var c,_;return c=b,_=x2(),_!==null&&(i2=c,_=ce(_)),_===null&&(b=c),c=_,c}function a2(){var c,_,j;return c=b,T.substr(b,2)===U3?(_=U3,b+=2):(_=null,Z===0&&W(Be)),_!==null?(j=x2(),j!==null?(i2=c,_=Fe(j),_===null&&(b=c),c=_):(b=c,c=e2)):(b=c,c=e2),c}function b2(){var c,_,j;return c=b,T.substr(b,2)===xe?(_=xe,b+=2):(_=null,Z===0&&W(Ae)),_!==null?(j=x2(),j!==null?(i2=c,_=Pe
\r \v\xA0\u2028\u2029`,S={"\\w":t+a+m+"_","\\W":f.replace("_",""),"\\s":$,"\\S":function(){for(var v=g,y=0;y<$.length;y++)v=v.replace($[y],"");return v}(),"\\d":m,"\\D":t+a+f};function F(v,y){for(var E="",A=v;A<=y;A++)E+=String.fromCharCode(A);return E}o.gen=function(v,y,E){return E=E||{guid:1},o[v.type]?o[v.type](v,y,E):o.token(v,y,E)},o.extend({token:function(v,y,E){switch(v.type){case"start":case"end":return"";case"any-character":return u.character();case"backspace":return"";case"word-boundary":return"";case"non-word-boundary":break;case"digit":return u.pick(m.split(""));case"non-digit":return u.pick((t+a+f).split(""));case"form-feed":break;case"line-feed":return v.body||v.text;case"carriage-return":break;case"white-space":return u.pick($.split(""));case"non-white-space":return u.pick((t+a+m).split(""));case"tab":break;case"vertical-tab":break;case"word":return u.pick((t+a+m).split(""));case"non-word":return u.pick(f.replace("_","").split(""))}return v.body||v.text},alternate:function(v,y,E){return this.gen(u.boolean()?v.left:v.right,y,E)},match:function(v,y,E){y="";for(var A=0;A<v.body.length;A++)y+=this.gen(v.body[A],y,E);return y},"capture-group":function(v,y,E){return y=this.gen(v.body,y,E),E[E.guid++]=y,y},"non-capture-group":function(v,y,E){return this.gen(v.body,y,E)},"positive-lookahead":function(v,y,E){return this.gen(v.body,y,E)},"negative-lookahead":function(v,y,E){return""},quantified:function(v,y,E){y="";for(var A=this.quantifier(v.quantifier),D=0;D<A;D++)y+=this.gen(v.body,y,E);return y},quantifier:function(v,y,E){var A=Math.max(v.min,0),D=isFinite(v.max)?v.max:A+u.integer(3,7);return u.integer(A,D)},charset:function(v,y,E){if(v.invert)return this["invert-charset"](v,y,E);var A=u.pick(v.body);return this.gen(A,y,E)},"invert-charset":function(v,y,E){for(var A=g,D=0,K;D<v.body.length;D++)switch(K=v.body[D],K.type){case"literal":A=A.replace(K.body,"");break;case"range":for(var N=this.gen(K.start,y,E).charCodeAt(),G=this.gen(K.end,y,E).charCodeAt(),r2=N;r2<=G;r2++)A=A.replace(String.fromCharCode(r2),"");default:var T=S[K.text];if(T)for(var J=0;J<=T.length;J++)A=A.replace(T[J],"")}return u.pick(A.split(""))},range:function(v,y,E){var A=this.gen(v.start,y,E).charCodeAt(),D=this.gen(v.end,y,E).charCodeAt();return String.fromCharCode(u.integer(A,D))},literal:function(v,y,E){return v.escaped?v.body:v.text},unicode:function(v,y,E){return String.fromCharCode(parseInt(v.code,16))},hex:function(v,y,E){return String.fromCharCode(parseInt(v.code,16))},octal:function(v,y,E){return String.fromCharCode(parseInt(v.code,8))},"back-reference":function(v,y,E){return E[v.code]||""},CONTROL_CHARACTER_MAP:function(){for(var v="@ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \\ ] ^ _".split(" "),y=`\0       \x07 \b
\v \f \r              \x1B    `.split(" "),E={},A=0;A<v.length;A++)E[v[A]]=y[A];return E}(),"control-character":function(v,y,E){return this.CONTROL_CHARACTER_MAP[v.code]}}),e.exports=o},function(e,n,l){e.exports=l(24)},function(e,n,l){var r=l(2),u=l(3),o=l(4);function t(a,m,f){f=f||[];var g={name:typeof m=="string"?m.replace(r.RE_KEY,"$1"):m,template:a,type:u.type(a),rule:o.parse(m)};switch(g.path=f.slice(0),g.path.push(m===void 0?"ROOT":g.name),g.type){case"array":g.items=[],u.each(a,function($,S){g.items.push(t($,S,g.path))});break;case"object":g.properties=[],u.each(a,function($,S){g.properties.push(t($,S,g.path))});break}return g}e.exports=t},function(e,n,l){e.exports=l(26)},function(e,n,l){var r=l(2),u=l(3),o=l(23);function t(f,g){for(var $=o(f),S=a.diff($,g),F=0;F<S.length;F++);return S}var a={diff:function(g,$,S){var F=[];return this.name(g,$,S,F)&&this.type(g,$,S,F)&&(this.value(g,$,S,F),this.properties(g,$,S,F),this.items(g,$,S,F)),F},name:function(f,g,$,S){var F=S.length;return m.equal("name",f.path,$+"",f.name+"",S),S.length===F},type:function(f,g,$,S){var F=S.length;switch(f.type){case"string":if(f.template.match(r.RE_PLACEHOLDER))return!0;break;case"array":if(f.rule.parameters&&(f.rule.min!==void 0&&f.rule.max===void 0&&f.rule.count===1||f.rule.parameters[2]))return!0;break;case"function":return!0}return m.equal("type",f.path,u.type(g),f.type,S),S.length===F},value:function(f,g,$,S){var F=S.length,v=f.rule,y=f.type;if(y==="object"||y==="array"||y==="function")return!0;if(!v.parameters){switch(y){case"regexp":return m.match("value",f.path,g,f.template,S),S.length===F;case"string":if(f.template.match(r.RE_PLACEHOLDER))return S.length===F;break}return m.equal("value",f.path,g,f.template,S),S.length===F}var E;switch(y){case"number":var A=(g+"").split(".");A[0]=+A[0],v.min!==void 0&&v.max!==void 0&&(m.greaterThanOrEqualTo("value",f.path,A[0],Math.min(v.min,v.max),S),m.lessThanOrEqualTo("value",f.path,A[0],Math.max(v.min,v.max),S)),v.min!==void 0&&v.max===void 0&&m.equal("value",f.path,A[0],v.min,S,"[value] "+$),v.decimal&&(v.dmin!==void 0&&v.dmax!==void 0&&(m.greaterThanOrEqualTo("value",f.path,A[1].length,v.dmin,S),m.lessThanOrEqualTo("value",f.path,A[1].length,v.dmax,S)),v.dmin!==void 0&&v.dmax===void 0&&m.equal("value",f.path,A[1].length,v.dmin,S));break;case"boolean":break;case"string":E=g.match(new RegExp(f.template,"g")),E=E?E.length:0,v.min!==void 0&&v.max!==void 0&&(m.greaterThanOrEqualTo("repeat count",f.path,E,v.min,S),m.lessThanOrEqualTo("repeat count",f.path,E,v.max,S)),v.min!==void 0&&v.max===void 0&&m.equal("repeat count",f.path,E,v.min,S);break;case"regexp":E=g.match(new RegExp(f.template.source.replace(/^\^|\$$/g,""),"g")),E=E?E.length:0,v.min!==void 0&&v.max!==void 0&&(m.greaterThanOrEqualTo("repeat count",f.path,E,v.min,S),m.lessThanOrEqualTo("repeat count",f.path,E,v.max,S)),v.min!==void 0&&v.max===void 0&&m.equal("repeat count",f.path,E,v.min,S);break}return S.length===F},properties:function(f,g,$,S){var F=S.length,v=f.rule,y=u.keys(g);if(!!f.properties){if(f.rule.parameters?(v.min!==void 0&&v.max!==void 0&&(m.greaterThanOrEqualTo("properties length",f.path,y.length,Math.min(v.min,v.max),S),m.lessThanOrEqualTo("properties length",f.path,y.length,Math.max(v.min,v.max),S)),v.min!==void 0&&v.max===void 0&&v.count!==1&&m.equal("properties length",f.path,y.length,v.min,S)):m.equal("properties length",f.path,y.length,f.properties.length,S),S.length!==F)return!1;for(var E=0;E<y.length;E++)S.push.apply(S,this.diff(function(){var A;return u.each(f.properties,function(D){D.name===y[E]&&(A=D)}),A||f.properties[E]}(),g[y[E]],y[E]));return S.length===F}},items:function(f,g,$,S){var F=S.length;if(!!f.items){var v=f.rule;if(!f.rule.parameters)m.equal("items length",f.path,g.length,f.items.length,S);else{if(v.min!==void 0&&v.max!==void 0&&(m.greaterThanOrEqualTo("items",f.path,g.length,Math.min(v.min,v.max)*f.items.length,S,"[{utype}] array is too short: {path} must have at least {expected} elements but instance has {actual} elements"),m.lessThanOrEqualTo("items",f.path,g.length,Math.max(v.
`);return v},overrideMimeType:function(){},responseType:"",response:null,responseText:"",responseXML:null}),r.extend(f.prototype,{addEventListener:function(v,y){var E=this.custom.events;E[v]||(E[v]=[]),E[v].push(y)},removeEventListener:function(v,y){for(var E=this.custom.events[v]||[],A=0;A<E.length;A++)E[A]===y&&E.splice(A--,1)},dispatchEvent:function(v){for(var y=this.custom.events[v.type]||[],E=0;E<y.length;E++)y[E].call(this,v);var A="on"+v.type;this[A]&&this[A](v)}});function g(){var F=function(){var E=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,A=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,D=location.href,K=A.exec(D.toLowerCase())||[];return E.test(K[1])}();return window.ActiveXObject?!F&&v()||y():v();function v(){try{return new window._XMLHttpRequest}catch{}}function y(){try{return new window._ActiveXObject("Microsoft.XMLHTTP")}catch{}}}function $(F){for(var v in f.Mock._mocked){var y=f.Mock._mocked[v];if((!y.rurl||E(y.rurl,F.url))&&(!y.rtype||E(y.rtype,F.type.toLowerCase())))return y}function E(A,D){if(r.type(A)==="string")return A===D;if(r.type(A)==="regexp")return A.test(D)}}function S(F,v){return r.isFunction(F.template)?F.template(v):f.Mock.mock(F.template)}e.exports=f}])})})(mock);const Mock=mock.exports,debug=!1,setupMock=({mock:e,setup:n})=>{e!==!1&&debug&&n()},successResponseWrap=e=>({data:e,status:"ok",msg:"\u8BF7\u6C42\u6210\u529F",code:2e4}),failResponseWrap=(e,n,l=5e4)=>({data:e,status:"fail",msg:n,code:l});setupMock({setup(){Mock.mock(new RegExp("/api/user/info"),()=>{if(isLogin()){const e=window.localStorage.getItem("userRole")||"admin";return successResponseWrap({name:"\u738B\u7ACB\u7FA4",avatar:"//lf1-xgcdn-tos.pstatp.com/obj/vcloud/vadmin/start.8e0e4855ee346a46ccff8ff3e24db27b.png",email:"wangliqun@email.com",job:"frontend",jobName:"\u524D\u7AEF\u827A\u672F\u5BB6",organization:"Frontend",organizationName:"\u524D\u7AEF",location:"beijing",locationName:"\u5317\u4EAC",introduction:"\u4EBA\u6F47\u6D12\uFF0C\u6027\u6E29\u5B58",personalWebsite:"https://www.arco.design",phone:"150****0000",registrationDate:"2013-05-10 12:10:00",accountId:"15012312300",certification:1,role:e})}return failResponseWrap(null,"\u672A\u767B\u5F55",50008)}),Mock.mock(new RegExp("/api/user/login"),e=>{const{username:n,password:l}=JSON.parse(e.body);return n?l?n==="admin"&&l==="admin"?(window.localStorage.setItem("userRole","admin"),successResponseWrap({token:"12345"})):n==="user"&&l==="user"?(window.localStorage.setItem("userRole","user"),successResponseWrap({token:"54321"})):failResponseWrap(null,"\u8D26\u53F7\u6216\u8005\u5BC6\u7801\u9519\u8BEF",5e4):failResponseWrap(null,"\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A",5e4):failResponseWrap(null,"\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A",5e4)}),Mock.mock(new RegExp("/api/user/logout"),()=>successResponseWrap(null)),Mock.mock(new RegExp("/api/user/menu"),()=>successResponseWrap([{path:"/dashboard",name:"dashboard",meta:{locale:"menu.server.dashboard",requiresAuth:!0,icon:"icon-dashboard",order:1},children:[{path:"workplace",name:"Workplace",meta:{locale:"menu.server.workplace",requiresAuth:!0}},{path:"https://arco.design",name:"arcoWebsite",meta:{locale:"menu.arcoWebsite",requiresAuth:!0}}]}]))}});const haveReadIds=[],getMessageList=()=>[{id:1,type:"message",title:"\u90D1\u66E6\u6708",subTitle:"\u7684\u79C1\u4FE1",avatar:"//p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/8361eeb82904210b4f55fab888fe8416.png~tplv-uwbnlip3yd-webp.webp",content:"\u5BA1\u6279\u8BF7\u6C42\u5DF2\u53D1\u9001\uFF0C\u8BF7\u67E5\u6536",time:"\u4ECA\u5929 12:30:01"},{id:2,type:"message",title:"\u5B81\u6CE2",subTitle:"\u7684\u56DE\u590D",avatar:"//p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/3ee5f13fb09879ecb5185e440cef6eb9.png~tplv-uwbnlip3yd-webp.webp",content:"\u6B64\u5904 bug \u5DF2\u7ECF\u4FEE\u590D",time:"\u4ECA\u5929 12:30:01"},{id:3,type:"message",title:"\u5B81\u6CE2",subTitle:"\u7684\u56DE\u590D",avatar:"//p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/3ee5f13fb09879ecb5185e440cef6eb9.png~tplv-uwbnlip3yd-webp.webp",content:"\u6B64\u5904 bug \u5DF2\u7ECF\u4FEE\u590D",time:"\u4ECA\u5929 12:20:01"},{id:4,ty
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function _arrayLikeToArray(e,n){(n==null||n>e.length)&&(n=e.length);for(var l=0,r=new Array(n);l<n;l++)r[l]=e[l];return r}function _unsupportedIterableToArray(e,n){if(!!e){if(typeof e=="string")return _arrayLikeToArray(e,n);var l=Object.prototype.toString.call(e).slice(8,-1);if(l==="Object"&&e.constructor&&(l=e.constructor.name),l==="Map"||l==="Set")return Array.from(e);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return _arrayLikeToArray(e,n)}}/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _iterableToArray(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _nonIterableSpread(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function _typeof(e){return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_typeof(e)}/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function toPrimitive(e,n){if(_typeof(e)!="object"||!e)return e;var l=e[Symbol.toPrimitive];if(l!==void 0){var r=l.call(e,n||"default");if(_typeof(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function toPropertyKey(e){var n=toPrimitive(e,"string");return _typeof(n)=="symbol"?n:n+""}function _defineProperty$2(e,n,l){return n=toPropertyKey(n),n in e?Object.defineProperty(e,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[n]=l,e}/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function isObject$7(e){var n=_typeof(e);return e!=null&&(n=="object"||n=="function")}var isObject_1=isObject$7;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var freeGlobal$1=_typeof(commonjsGlobal)=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,_freeGlobal=freeGlobal$1,freeGlobal=_freeGlobal,freeSelf=(typeof self>"u"?"undefined":_typeof(self))=="object"&&self&&self.Object===Object&&self,root$1$2=freeGlobal||freeSelf||Function("return this")(),_root=root$1$2,root$7=_root,_Symbol2=root$7.Symbol,_Symbol$2$1=_Symbol2,_Symbol$1$1=_Symbol$2$1,objectProto$1$4=Object.prototype,hasOwnProperty$b=objectProto$1$4.hasOwnProperty,nativeObjectToString$1=objectProto$1$4.toString,symToStringTag$1=_Symbol$1$1?_Symbol$1$1.toStringTag:void 0;function getRawTag$1(e){var n=hasOwnProperty$b.call(e,symToStringTag$1),l=e[symToStringTag$1];try{e[symToStringTag$1]=void 0;var r=!0}catch{}var u=nativeObjectToString$1.call(e);return r&&(n?e[symToStringTag$1]=l:delete e[symToStringTag$1]),u}var _getRawTag=getRawTag$1,objectProto$c=Object.prototype,nativeObjectToString=objectProto$c.toString;function objectToString$1(e){return nativeObjectToString.call(e)}var _objectToString=objectToString$1,_Symbol$4=_Symbol$2$1,getRawTag=_getRawTag,objectToString=_objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=_Symbol$4?_Symbol$4.toStringTag:void 0;function baseGetTag$9(e){return e==null?e===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(e)?getRawTag(e):objectToString(e)}var _baseGetTag=baseGetTag$9;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var baseGetTag$8=_baseGetTag,isObject$6=isObject_1,asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$3(e){if(!isObject$6(e))return!1;var n=baseGetTag$8(e);return n==funcTag$2||n==genTag$1||n==asyncTag||n==proxyTag}var isFunction_1=isFunction$3;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var root$1$1=_root,coreJsData$1=root$1$1["__core-js_shared__"],_coreJsData=coreJsData$1,coreJsData=_coreJsData,maskSrcKey=function(){var e=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked$1(e){return!!maskSrcKey&&maskSrcKey in e}var _isMasked=isMasked$1,funcProto$1=Function.prototype,funcToString$1=funcProto$1.toString;function toSource$1(e){if(e!=null){try{return funcToString$1.call(e)}catch{}try{return e+""}catch{}}return""}var _toSource=toSource$1,isFunction$2=isFunction_1,isMasked=_isMasked,isObject$5=isObject_1,toSource$2=_toSource,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$2=Function.prototype,objectProto$b=Object.prototype,funcToString$2=funcProto$2.toString,hasOwnProperty$a=objectProto$b.hasOwnProperty,reIsNative=RegExp("^"+funcToString$2.call(hasOwnProperty$a).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative$1(e){if(!isObject$5(e)||isMasked(e))return!1;var n=isFunction$2(e)?reIsNative:reIsHostCtor;return n.test(toSource$2(e))}var _baseIsNative=baseIsNative$1;function getValue$1(e,n){return e==null?void 0:e[n]}var _getValue=getValue$1,baseIsNative=_baseIsNative,getValue=_getValue;function getNative$1$1(e,n){var l=getValue(e,n);return baseIsNative(l)?l:void 0}var _getNative=getNative$1$1,getNative$6=_getNative,root$6=_root,Map$4=getNative$6(root$6,"Map"),_Map=Map$4;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var getNative$5=_getNative,defineProperty$2=function(){try{var e=getNative$5(Object,"defineProperty");return e({},"",{}),e}catch{}}(),_defineProperty$1=defineProperty$2;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function eq$5(e,n){return e===n||e!==e&&n!==n}var eq_1=eq$5;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var defineProperty$1=_defineProperty$1;function baseAssignValue$1$1(e,n,l){n=="__proto__"&&defineProperty$1?defineProperty$1(e,n,{configurable:!0,enumerable:!0,value:l,writable:!0}):e[n]=l}var _baseAssignValue=baseAssignValue$1$1,baseAssignValue$3=_baseAssignValue,eq$4=eq_1,objectProto$a=Object.prototype,hasOwnProperty$9=objectProto$a.hasOwnProperty;function assignValue$2(e,n,l){var r=e[n];(!(hasOwnProperty$9.call(e,n)&&eq$4(r,l))||l===void 0&&!(n in e))&&baseAssignValue$3(e,n,l)}var _assignValue=assignValue$2;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function listCacheClear$1(){this.__data__=[],this.size=0}var _listCacheClear=listCacheClear$1,eq$3=eq_1;function assocIndexOf$4(e,n){for(var l=e.length;l--;)if(eq$3(e[l][0],n))return l;return-1}var _assocIndexOf=assocIndexOf$4,assocIndexOf$3=_assocIndexOf,arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete$1(e){var n=this.__data__,l=assocIndexOf$3(n,e);if(l<0)return!1;var r=n.length-1;return l==r?n.pop():splice.call(n,l,1),--this.size,!0}var _listCacheDelete=listCacheDelete$1,assocIndexOf$2=_assocIndexOf;function listCacheGet$1(e){var n=this.__data__,l=assocIndexOf$2(n,e);return l<0?void 0:n[l][1]}var _listCacheGet=listCacheGet$1,assocIndexOf$1=_assocIndexOf;function listCacheHas$1(e){return assocIndexOf$1(this.__data__,e)>-1}var _listCacheHas=listCacheHas$1,assocIndexOf=_assocIndexOf;function listCacheSet$1(e,n){var l=this.__data__,r=assocIndexOf(l,e);return r<0?(++this.size,l.push([e,n])):l[r][1]=n,this}var _listCacheSet=listCacheSet$1,listCacheClear=_listCacheClear,listCacheDelete=_listCacheDelete,listCacheGet=_listCacheGet,listCacheHas=_listCacheHas,listCacheSet=_listCacheSet;function ListCache$1$1(e){var n=-1,l=e==null?0:e.length;for(this.clear();++n<l;){var r=e[n];this.set(r[0],r[1])}}ListCache$1$1.prototype.clear=listCacheClear;ListCache$1$1.prototype.delete=listCacheDelete;ListCache$1$1.prototype.get=listCacheGet;ListCache$1$1.prototype.has=listCacheHas;ListCache$1$1.prototype.set=listCacheSet;var _ListCache=ListCache$1$1,getNative$4=_getNative,nativeCreate$4=getNative$4(Object,"create"),_nativeCreate=nativeCreate$4,nativeCreate$3=_nativeCreate;function hashClear$1(){this.__data__=nativeCreate$3?nativeCreate$3(null):{},this.size=0}var _hashClear=hashClear$1;function hashDelete$1(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}var _hashDelete=hashDelete$1,nativeCreate$2=_nativeCreate,HASH_UNDEFINED$1="__lodash_hash_undefined__",objectProto$1$3=Object.prototype,hasOwnProperty$1$2=objectProto$1$3.hasOwnProperty;function hashGet$1(e){var n=this.__data__;if(nativeCreate$2){var l=n[e];return l===HASH_UNDEFINED$1?void 0:l}return hasOwnProperty$1$2.call(n,e)?n[e]:void 0}var _hashGet=hashGet$1,nativeCreate$1=_nativeCreate,objectProto$9=Object.prototype,hasOwnProperty$8=objectProto$9.hasOwnProperty;function hashHas$1(e){var n=this.__data__;return nativeCreate$1?n[e]!==void 0:hasOwnProperty$8.call(n,e)}var _hashHas=hashHas$1,nativeCreate=_nativeCreate,HASH_UNDEFINED$2="__lodash_hash_undefined__";function hashSet$1(e,n){var l=this.__data__;return this.size+=this.has(e)?0:1,l[e]=nativeCreate&&n===void 0?HASH_UNDEFINED$2:n,this}var _hashSet=hashSet$1,hashClear=_hashClear,hashDelete=_hashDelete,hashGet=_hashGet,hashHas=_hashHas,hashSet=_hashSet;function Hash$1(e){var n=-1,l=e==null?0:e.length;for(this.clear();++n<l;){var r=e[n];this.set(r[0],r[1])}}Hash$1.prototype.clear=hashClear;Hash$1.prototype.delete=hashDelete;Hash$1.prototype.get=hashGet;Hash$1.prototype.has=hashHas;Hash$1.prototype.set=hashSet;var _Hash=Hash$1,Hash=_Hash,ListCache$3=_ListCache,Map$3=_Map;function mapCacheClear$1(){this.size=0,this.__data__={hash:new Hash,map:new(Map$3||ListCache$3),string:new Hash}}var _mapCacheClear=mapCacheClear$1;function isKeyable$1(e){var n=_typeof(e);return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}var _isKeyable=isKeyable$1,isKeyable=_isKeyable;function getMapData$4(e,n){var l=e.__data__;return isKeyable(n)?l[typeof n=="string"?"string":"hash"]:l.map}var _getMapData=getMapData$4,getMapData$3=_getMapData;function mapCacheDelete$1(e){var n=getMapData$3(this,e).delete(e);return this.size-=n?1:0,n}var _mapCacheDelete=mapCacheDelete$1,getMapData$2=_getMapData;function mapCacheGet$1(e){return getMapData$2(this,e).get(e)}var _mapCacheGet=mapCacheGet$1,getMapData$1=_getMapData;function mapCacheHas$1(e){return getMapData$1(this,e).has(e)}var _mapCacheHas=mapCacheHas$1,getMapData=_getMapData;function mapCacheSet$1(e,n){var l=getMapData(this,e),r=l.size;return l.set(e,n),this.size+=l.size==r?0:1,this}var _mapCacheSet=mapCacheSet$1,mapCacheClear=_mapCacheC
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var MAX_SAFE_INTEGER$1=9007199254740991;function isLength$1$1(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=MAX_SAFE_INTEGER$1}var isLength_1=isLength$1$1,isFunction$1=isFunction_1,isLength$2=isLength_1;function isArrayLike$5(e){return e!=null&&isLength$2(e.length)&&!isFunction$1(e)}var isArrayLike_1=isArrayLike$5;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function isObjectLike$a(e){return e!=null&&_typeof(e)=="object"}var isObjectLike_1=isObjectLike$a;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function baseUnary$3(e){return function(n){return e(n)}}var _baseUnary=baseUnary$3;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var isBuffer$5={exports:{}};function stubFalse(){return!1}var stubFalse_1=stubFalse;(function(e,n){var l=_root,r=stubFalse_1,u=n&&!n.nodeType&&n,o=u&&!0&&e&&!e.nodeType&&e,t=o&&o.exports===u,a=t?l.Buffer:void 0,m=a?a.isBuffer:void 0,f=m||r;e.exports=f})(isBuffer$5,isBuffer$5.exports);isBuffer$5.exports;var baseGetTag$7=_baseGetTag,isLength$1=isLength_1,isObjectLike$9=isObjectLike_1,argsTag$3="[object Arguments]",arrayTag$2="[object Array]",boolTag$3="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",funcTag$1="[object Function]",mapTag$5="[object Map]",numberTag$3="[object Number]",objectTag$4="[object Object]",regexpTag$3="[object RegExp]",setTag$5="[object Set]",stringTag$3="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$3]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$3]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$5]=typedArrayTags[numberTag$3]=typedArrayTags[objectTag$4]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$5]=typedArrayTags[stringTag$3]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray$1(e){return isObjectLike$9(e)&&isLength$1(e.length)&&!!typedArrayTags[baseGetTag$7(e)]}var _baseIsTypedArray=baseIsTypedArray$1,_nodeUtil$1={exports:{}};(function(e,n){var l=_freeGlobal,r=n&&!n.nodeType&&n,u=r&&!0&&e&&!e.nodeType&&e,o=u&&u.exports===r,t=o&&l.process,a=function(){try{var m=u&&u.require&&u.require("util").types;return m||t&&t.binding&&t.binding("util")}catch{}}();e.exports=a})(_nodeUtil$1,_nodeUtil$1.exports);_nodeUtil$1.exports;var baseIsTypedArray=_baseIsTypedArray,baseUnary$2=_baseUnary,nodeUtil$2=_nodeUtil$1.exports,nodeIsTypedArray=nodeUtil$2&&nodeUtil$2.isTypedArray,isTypedArray$4=nodeIsTypedArray?baseUnary$2(nodeIsTypedArray):baseIsTypedArray,isTypedArray_1=isTypedArray$4,objectProto$8=Object.prototype;function isPrototype$3(e){var n=e&&e.constructor,l=typeof n=="function"&&n.prototype||objectProto$8;return e===l}var _isPrototype=isPrototype$3;function overArg$2(e,n){return function(l){return e(n(l))}}var _overArg=overArg$2;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var baseGetTag$6=_baseGetTag,isObjectLike$1$2=isObjectLike_1,argsTag$2="[object Arguments]";function baseIsArguments$1(e){return isObjectLike$1$2(e)&&baseGetTag$6(e)==argsTag$2}var _baseIsArguments=baseIsArguments$1,baseIsArguments=_baseIsArguments,isObjectLike$8=isObjectLike_1,objectProto$7=Object.prototype,hasOwnProperty$7=objectProto$7.hasOwnProperty,propertyIsEnumerable$1=objectProto$7.propertyIsEnumerable,isArguments$5=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike$8(e)&&hasOwnProperty$7.call(e,"callee")&&!propertyIsEnumerable$1.call(e,"callee")},isArguments_1=isArguments$5;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var isArray$b=Array.isArray,isArray_1=isArray$b;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var MAX_SAFE_INTEGER=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex$3(e,n){var l=_typeof(e);return n=n==null?MAX_SAFE_INTEGER:n,!!n&&(l=="number"||l!="symbol"&&reIsUint.test(e))&&e>-1&&e%1==0&&e<n}var _isIndex=isIndex$3;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function baseTimes$1(e,n){for(var l=-1,r=Array(e);++l<e;)r[l]=n(l);return r}var _baseTimes=baseTimes$1,baseTimes=_baseTimes,isArguments$4=isArguments_1,isArray$a=isArray_1,isBuffer$4=isBuffer$5.exports,isIndex$2=_isIndex,isTypedArray$3=isTypedArray_1,objectProto$1$2=Object.prototype,hasOwnProperty$1$1=objectProto$1$2.hasOwnProperty;function arrayLikeKeys$1(e,n){var l=isArray$a(e),r=!l&&isArguments$4(e),u=!l&&!r&&isBuffer$4(e),o=!l&&!r&&!u&&isTypedArray$3(e),t=l||r||u||o,a=t?baseTimes(e.length,String):[],m=a.length;for(var f in e)(n||hasOwnProperty$1$1.call(e,f))&&!(t&&(f=="length"||u&&(f=="offset"||f=="parent")||o&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||isIndex$2(f,m)))&&a.push(f);return a}var _arrayLikeKeys=arrayLikeKeys$1,ListCache$2=_ListCache;function stackClear$1(){this.__data__=new ListCache$2,this.size=0}var _stackClear=stackClear$1;function stackDelete$1(e){var n=this.__data__,l=n.delete(e);return this.size=n.size,l}var _stackDelete=stackDelete$1;function stackGet$1(e){return this.__data__.get(e)}var _stackGet=stackGet$1;function stackHas$1(e){return this.__data__.has(e)}var _stackHas=stackHas$1,ListCache$1=_ListCache,Map$2=_Map,MapCache$2=_MapCache,LARGE_ARRAY_SIZE=200;function stackSet$1(e,n){var l=this.__data__;if(l instanceof ListCache$1){var r=l.__data__;if(!Map$2||r.length<LARGE_ARRAY_SIZE-1)return r.push([e,n]),this.size=++l.size,this;l=this.__data__=new MapCache$2(r)}return l.set(e,n),this.size=l.size,this}var _stackSet=stackSet$1,ListCache=_ListCache,stackClear=_stackClear,stackDelete=_stackDelete,stackGet=_stackGet,stackHas=_stackHas,stackSet=_stackSet;function Stack$4(e){var n=this.__data__=new ListCache(e);this.size=n.size}Stack$4.prototype.clear=stackClear;Stack$4.prototype.delete=stackDelete;Stack$4.prototype.get=stackGet;Stack$4.prototype.has=stackHas;Stack$4.prototype.set=stackSet;var _Stack=Stack$4,root$5=_root,Uint8Array$1$1=root$5.Uint8Array,_Uint8Array=Uint8Array$1$1,_cloneBuffer$1={exports:{}};(function(e,n){var l=_root,r=n&&!n.nodeType&&n,u=r&&!0&&e&&!e.nodeType&&e,o=u&&u.exports===r,t=o?l.Buffer:void 0,a=t?t.allocUnsafe:void 0;function m(f,g){if(g)return f.slice();var $=f.length,S=a?a($):new f.constructor($);return f.copy(S),S}e.exports=m})(_cloneBuffer$1,_cloneBuffer$1.exports);_cloneBuffer$1.exports;var Uint8Array$2=_Uint8Array;function cloneArrayBuffer$1$1(e){var n=new e.constructor(e.byteLength);return new Uint8Array$2(n).set(new Uint8Array$2(e)),n}var _cloneArrayBuffer=cloneArrayBuffer$1$1,cloneArrayBuffer$2=_cloneArrayBuffer;function cloneTypedArray$2(e,n){var l=n?cloneArrayBuffer$2(e.buffer):e.buffer;return new e.constructor(l,e.byteOffset,e.length)}var _cloneTypedArray=cloneTypedArray$2;function copyArray$2(e,n){var l=-1,r=e.length;for(n||(n=Array(r));++l<r;)n[l]=e[l];return n}var _copyArray=copyArray$2,isObject$1$2=isObject_1,objectCreate=Object.create,baseCreate$1=function(){function e(){}return function(n){if(!isObject$1$2(n))return{};if(objectCreate)return objectCreate(n);e.prototype=n;var l=new e;return e.prototype=void 0,l}}(),_baseCreate=baseCreate$1,overArg$1=_overArg,getPrototype$1$1=overArg$1(Object.getPrototypeOf,Object),_getPrototype=getPrototype$1$1,baseCreate=_baseCreate,getPrototype$2=_getPrototype,isPrototype$1$1=_isPrototype;function initCloneObject$2(e){return typeof e.constructor=="function"&&!isPrototype$1$1(e)?baseCreate(getPrototype$2(e)):{}}var _initCloneObject=initCloneObject$2,assignValue$1=_assignValue,baseAssignValue$2=_baseAssignValue;function copyObject$6(e,n,l,r){var u=!l;l||(l={});for(var o=-1,t=n.length;++o<t;){var a=n[o],m=r?r(l[a],e[a],a,l,e):void 0;m===void 0&&(m=e[a]),u?baseAssignValue$2(l,a,m):assignValue$1(l,a,m)}return l}var _copyObject=copyObject$6;function nativeKeysIn$1(e){var n=[];if(e!=null)for(var l in Object(e))n.push(l);return n}var _nativeKeysIn=nativeKeysIn$1,isObject$4=isObject_1,isPrototype$2=_isPrototype,nativeKeysIn=_nativeKeysIn,objectProto$6=Object.prototype,hasOwnProperty$6=objectProto$6.hasOwnProperty;function baseKeysIn$1(e){if(!isObject$4(e))return nativeKeysIn(e);var n=isPrototype$2(e),l=[];for(var r in e)r=="
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function identity$3(e){return e}var identity_1=identity$3;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function apply$1(e,n,l){switch(l.length){case 0:return e.call(n);case 1:return e.call(n,l[0]);case 2:return e.call(n,l[0],l[1]);case 3:return e.call(n,l[0],l[1],l[2])}return e.apply(n,l)}var _apply=apply$1,apply=_apply,nativeMax=Math.max;function overRest$2(e,n,l){return n=nativeMax(n===void 0?e.length-1:n,0),function(){for(var r=arguments,u=-1,o=nativeMax(r.length-n,0),t=Array(o);++u<o;)t[u]=r[n+u];u=-1;for(var a=Array(n+1);++u<n;)a[u]=r[u];return a[n]=l(t),apply(e,this,a)}}var _overRest=overRest$2;function constant$1(e){return function(){return e}}var constant_1=constant$1,constant=constant_1,defineProperty=_defineProperty$1,identity$2=identity_1,baseSetToString$1=defineProperty?function(e,n){return defineProperty(e,"toString",{configurable:!0,enumerable:!1,value:constant(n),writable:!0})}:identity$2,_baseSetToString=baseSetToString$1,HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut$1(e){var n=0,l=0;return function(){var r=nativeNow(),u=HOT_SPAN-(r-l);if(l=r,u>0){if(++n>=HOT_COUNT)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}var _shortOut=shortOut$1,baseSetToString=_baseSetToString,shortOut=_shortOut,setToString$2=shortOut(baseSetToString),_setToString=setToString$2;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var isArrayLike$3=isArrayLike_1,isObjectLike$7=isObjectLike_1;function isArrayLikeObject$1(e){return isObjectLike$7(e)&&isArrayLike$3(e)}var isArrayLikeObject_1=isArrayLikeObject$1,identity$1=identity_1,overRest$1=_overRest,setToString$1=_setToString;function baseRest$1(e,n){return setToString$1(overRest$1(e,n,identity$1),e+"")}var _baseRest=baseRest$1;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var baseGetTag$5=_baseGetTag,getPrototype$1=_getPrototype,isObjectLike$6=isObjectLike_1,objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$5=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$5=objectProto$5.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$2(e){if(!isObjectLike$6(e)||baseGetTag$5(e)!=objectTag$3)return!1;var n=getPrototype$1(e);if(n===null)return!0;var l=hasOwnProperty$5.call(n,"constructor")&&n.constructor;return typeof l=="function"&&l instanceof l&&funcToString.call(l)==objectCtorString}var isPlainObject_1=isPlainObject$2;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var eq$2=eq_1,isArrayLike$2=isArrayLike_1,isIndex$1=_isIndex,isObject$3=isObject_1;function isIterateeCall$1(e,n,l){if(!isObject$3(l))return!1;var r=_typeof(n);return(r=="number"?isArrayLike$2(l)&&isIndex$1(n,l.length):r=="string"&&n in l)?eq$2(l[n],e):!1}var _isIterateeCall=isIterateeCall$1;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var defaultConfig={classPrefix:"t",animation:{include:["ripple","expand","fade"],exclude:[]},calendar:{firstDayOfWeek:1,fillWithZero:!0,controllerConfig:void 0},icon:{},input:{autocomplete:""},dialog:{closeOnEscKeydown:!0,closeOnOverlayClick:!0,confirmBtnTheme:{default:"primary",info:"primary",warning:"primary",danger:"primary",success:"primary"}},message:{},popconfirm:{confirmBtnTheme:{default:"primary",warning:"primary",danger:"primary"}},table:{expandIcon:void 0,sortIcon:void 0,filterIcon:void 0,treeExpandAndFoldIcon:void 0,hideSortTips:!1,size:"medium"},select:{clearIcon:void 0,filterable:!1},drawer:{closeOnEscKeydown:!0,closeOnOverlayClick:!0,size:"small"},tree:{folderIcon:void 0},datePicker:{firstDayOfWeek:1},steps:{checkIcon:void 0,errorIcon:void 0},tag:{closeIcon:void 0},form:{requiredMark:void 0}};/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var zhCn$1={pagination:{itemsPerPage:"{size} \u6761/\u9875",jumpTo:"\u8DF3\u81F3",page:"\u9875",total:"\u5171 {total} \u6761\u6570\u636E"},cascader:{empty:"\u6682\u65E0\u6570\u636E",loadingText:"\u52A0\u8F7D\u4E2D",placeholder:"\u8BF7\u9009\u62E9"},calendar:{yearSelection:"{year} \u5E74",monthSelection:"{month} \u6708",yearRadio:"\u5E74",monthRadio:"\u6708",hideWeekend:"\u9690\u85CF\u5468\u672B",showWeekend:"\u663E\u793A\u5468\u672B",today:"\u4ECA\u5929",thisMonth:"\u672C\u6708",week:"\u4E00,\u4E8C,\u4E09,\u56DB,\u4E94,\u516D,\u65E5",cellMonth:"1 \u6708,2 \u6708,3 \u6708,4 \u6708,5 \u6708,6 \u6708,7 \u6708,8 \u6708,9 \u6708,10 \u6708,11 \u6708,12 \u6708"},transfer:{title:"{checked} / {total} \u9879",empty:"\u6682\u65E0\u6570\u636E",placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22"},timePicker:{dayjsLocale:"zh-cn",now:"\u6B64\u523B",confirm:"\u786E\u5B9A",anteMeridiem:"\u4E0A\u5348",postMeridiem:"\u4E0B\u5348",placeholder:"\u9009\u62E9\u65F6\u95F4"},dialog:{confirm:"\u786E\u8BA4",cancel:"\u53D6\u6D88"},drawer:{confirm:"\u786E\u8BA4",cancel:"\u53D6\u6D88"},popconfirm:{confirm:{content:"\u786E\u5B9A"},cancel:{content:"\u53D6\u6D88"}},table:{empty:"\u6682\u65E0\u6570\u636E",loadingText:"\u6B63\u5728\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u7A0D\u540E",loadingMoreText:"\u70B9\u51FB\u52A0\u8F7D\u66F4\u591A",filterInputPlaceholder:"\u8BF7\u8F93\u5165\u5185\u5BB9\uFF08\u65E0\u9ED8\u8BA4\u503C\uFF09",sortAscendingOperationText:"\u70B9\u51FB\u5347\u5E8F",sortCancelOperationText:"\u70B9\u51FB\u53D6\u6D88\u6392\u5E8F",sortDescendingOperationText:"\u70B9\u51FB\u964D\u5E8F",clearFilterResultButtonText:"\u6E05\u7A7A\u7B5B\u9009",columnConfigButtonText:"\u5217\u914D\u7F6E",columnConfigTitleText:"\u8868\u683C\u5217\u914D\u7F6E",columnConfigDescriptionText:"\u8BF7\u9009\u62E9\u9700\u8981\u5728\u8868\u683C\u4E2D\u663E\u793A\u7684\u6570\u636E\u5217",confirmText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",resetText:"\u91CD\u7F6E",selectAllText:"\u5168\u9009",searchResultText:"\u641C\u7D22\u201C{result}\u201D\uFF0C\u627E\u5230 {count} \u6761\u7ED3\u679C"},select:{empty:"\u6682\u65E0\u6570\u636E",loadingText:"\u52A0\u8F7D\u4E2D",placeholder:"\u8BF7\u9009\u62E9"},tree:{empty:"\u6682\u65E0\u6570\u636E"},treeSelect:{empty:"\u6682\u65E0\u6570\u636E",loadingText:"\u52A0\u8F7D\u4E2D",placeholder:"\u8BF7\u9009\u62E9"},datePicker:{dayjsLocale:"zh-cn",placeholder:{date:"\u8BF7\u9009\u62E9\u65E5\u671F",month:"\u8BF7\u9009\u62E9\u6708\u4EFD",year:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarter:"\u8BF7\u9009\u62E9\u5B63\u5EA6",week:"\u8BF7\u9009\u62E9\u5468"},weekdays:["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u65E5"],months:["1 \u6708","2 \u6708","3 \u6708","4 \u6708","5 \u6708","6 \u6708","7 \u6708","8 \u6708","9 \u6708","10 \u6708","11 \u6708","12 \u6708"],quarters:["\u4E00\u5B63\u5EA6","\u4E8C\u5B63\u5EA6","\u4E09\u5B63\u5EA6","\u56DB\u5B63\u5EA6"],rangeSeparator:" - ",direction:"ltr",format:"YYYY-MM-DD",dayAriaLabel:"\u65E5",weekAbbreviation:"\u5468",yearAriaLabel:"\u5E74",monthAriaLabel:"\u6708",confirm:"\u786E\u5B9A",selectTime:"\u9009\u62E9\u65F6\u95F4",selectDate:"\u9009\u62E9\u65E5\u671F",nextYear:"\u4E0B\u4E00\u5E74",preYear:"\u4E0A\u4E00\u5E74",nextMonth:"\u4E0B\u4E2A\u6708",preMonth:"\u4E0A\u4E2A\u6708",preDecade:"\u4E0A\u4E2A\u5341\u5E74",nextDecade:"\u4E0B\u4E2A\u5341\u5E74",now:"\u5F53\u524D"},upload:{sizeLimitMessage:"\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 {sizeLimit}",cancelUploadText:"\u53D6\u6D88\u4E0A\u4F20",triggerUploadText:{fileInput:"\u9009\u62E9\u6587\u4EF6",image:"\u70B9\u51FB\u4E0A\u4F20\u56FE\u7247",normal:"\u70B9\u51FB\u4E0A\u4F20",reupload:"\u91CD\u65B0\u9009\u62E9",continueUpload:"\u7EE7\u7EED\u9009\u62E9",delete:"\u5220\u9664",uploading:"\u4E0A\u4F20\u4E2D"},dragger:{dragDropText:"\u91CA\u653E\u9F20\u6807",draggingText:"\u62D6\u62FD\u5230\u6B64\u533A\u57DF",clickAndDragText:"\u70B9\u51FB\u4E0A\u65B9\u201C\u9009\u62E9\u6587\u4EF6\u201D\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64\u533A\u57DF"},file:{fileNameText:"\u6587\u4EF6\u540D",fileSizeText:"\u6587\u4EF6\u5927\u5C0F",fileStatusText:"\u72B6\u6001
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function createBaseFor$1(e){return function(n,l,r){for(var u=-1,o=Object(n),t=r(n),a=t.length;a--;){var m=t[e?a:++u];if(l(o[m],m,o)===!1)break}return n}}var _createBaseFor=createBaseFor$1,createBaseFor=_createBaseFor,baseFor$1=createBaseFor(),_baseFor=baseFor$1,baseAssignValue$1=_baseAssignValue,eq$1=eq_1;function assignMergeValue$2(e,n,l){(l!==void 0&&!eq$1(e[n],l)||l===void 0&&!(n in e))&&baseAssignValue$1(e,n,l)}var _assignMergeValue=assignMergeValue$2;function safeGet$2(e,n){if(!(n==="constructor"&&typeof e[n]=="function")&&n!="__proto__")return e[n]}var _safeGet=safeGet$2,copyObject$5=_copyObject,keysIn$1$1=keysIn_1;function toPlainObject$1(e){return copyObject$5(e,keysIn$1$1(e))}var toPlainObject_1=toPlainObject$1,assignMergeValue$1=_assignMergeValue,cloneBuffer$1=_cloneBuffer$1.exports,cloneTypedArray$1=_cloneTypedArray,copyArray$1=_copyArray,initCloneObject$1=_initCloneObject,isArguments$3=isArguments_1,isArray$9=isArray_1,isArrayLikeObject=isArrayLikeObject_1,isBuffer$3=isBuffer$5.exports,isFunction=isFunction_1,isObject$1$1=isObject_1,isPlainObject$1=isPlainObject_1,isTypedArray$2=isTypedArray_1,safeGet$1=_safeGet,toPlainObject=toPlainObject_1;function baseMergeDeep$1(e,n,l,r,u,o,t){var a=safeGet$1(e,l),m=safeGet$1(n,l),f=t.get(m);if(f){assignMergeValue$1(e,l,f);return}var g=o?o(a,m,l+"",e,n,t):void 0,$=g===void 0;if($){var S=isArray$9(m),F=!S&&isBuffer$3(m),v=!S&&!F&&isTypedArray$2(m);g=m,S||F||v?isArray$9(a)?g=a:isArrayLikeObject(a)?g=copyArray$1(a):F?($=!1,g=cloneBuffer$1(m,!0)):v?($=!1,g=cloneTypedArray$1(m,!0)):g=[]:isPlainObject$1(m)||isArguments$3(m)?(g=a,isArguments$3(a)?g=toPlainObject(a):(!isObject$1$1(a)||isFunction(a))&&(g=initCloneObject$1(m))):$=!1}$&&(t.set(m,g),u(g,m,r,o,t),t.delete(m)),assignMergeValue$1(e,l,g)}var _baseMergeDeep=baseMergeDeep$1,Stack$3=_Stack,assignMergeValue=_assignMergeValue,baseFor$2=_baseFor,baseMergeDeep=_baseMergeDeep,isObject$2=isObject_1,keysIn$3=keysIn_1,safeGet=_safeGet;function baseMerge$2(e,n,l,r,u){e!==n&&baseFor$2(n,function(o,t){if(u||(u=new Stack$3),isObject$2(o))baseMergeDeep(e,n,t,l,baseMerge$2,r,u);else{var a=r?r(safeGet(e,t),o,t+"",e,n,u):void 0;a===void 0&&(a=o),assignMergeValue(e,t,a)}},keysIn$3)}var _baseMerge=baseMerge$2,baseRest=_baseRest,isIterateeCall=_isIterateeCall;function createAssigner$2(e){return baseRest(function(n,l){var r=-1,u=l.length,o=u>1?l[u-1]:void 0,t=u>2?l[2]:void 0;for(o=e.length>3&&typeof o=="function"?(u--,o):void 0,t&&isIterateeCall(l[0],l[1],t)&&(o=u<3?void 0:o,u=1),n=Object(n);++r<u;){var a=l[r];a&&e(n,a,r,o)}return n})}var _createAssigner=createAssigner$2,baseMerge$1=_baseMerge,createAssigner$1=_createAssigner,merge=createAssigner$1(function(e,n,l){baseMerge$1(e,n,l)}),merge_1=merge,baseMerge=_baseMerge,createAssigner=_createAssigner,mergeWith$1=createAssigner(function(e,n,l,r){baseMerge(e,n,l,r)}),mergeWith_1=mergeWith$1,EAnimationType=function(e){return e.ripple="ripple",e.expand="expand",e.fade="fade",e}(EAnimationType||{}),defaultGlobalConfig=merge_1(defaultConfig,zhCn$1),configProviderInjectKey=Symbol("configProvide"),mergeWith=function e(n,l){return mergeWith_1(n,l,function(r,u){if(isArray_1(r))return u})};/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var getNative$3=_getNative,root$4=_root,Set$2=getNative$3(root$4,"Set"),_Set=Set$2;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var overArg=_overArg,nativeKeys$1=overArg(Object.keys,Object),_nativeKeys=nativeKeys$1,isPrototype$1=_isPrototype,nativeKeys=_nativeKeys,objectProto$4=Object.prototype,hasOwnProperty$4=objectProto$4.hasOwnProperty;function baseKeys$2(e){if(!isPrototype$1(e))return nativeKeys(e);var n=[];for(var l in Object(e))hasOwnProperty$4.call(e,l)&&l!="constructor"&&n.push(l);return n}var _baseKeys=baseKeys$2,getNative$2=_getNative,root$2=_root,DataView$1=getNative$2(root$2,"DataView"),_DataView=DataView$1,getNative$1=_getNative,root$1=_root,Promise$2=getNative$1(root$1,"Promise"),_Promise=Promise$2,getNative=_getNative,root$3=_root,WeakMap$1=getNative(root$3,"WeakMap"),_WeakMap=WeakMap$1,DataView=_DataView,Map$1=_Map,Promise$1=_Promise,Set$1=_Set,WeakMap$2=_WeakMap,baseGetTag$4=_baseGetTag,toSource=_toSource,mapTag$4="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$4="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$3="[object DataView]",dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map$1),promiseCtorString=toSource(Promise$1),setCtorString=toSource(Set$1),weakMapCtorString=toSource(WeakMap$2),getTag$4=baseGetTag$4;(DataView&&getTag$4(new DataView(new ArrayBuffer(1)))!=dataViewTag$3||Map$1&&getTag$4(new Map$1)!=mapTag$4||Promise$1&&getTag$4(Promise$1.resolve())!=promiseTag||Set$1&&getTag$4(new Set$1)!=setTag$4||WeakMap$2&&getTag$4(new WeakMap$2)!=weakMapTag$1)&&(getTag$4=function(n){var l=baseGetTag$4(n),r=l==objectTag$2?n.constructor:void 0,u=r?toSource(r):"";if(u)switch(u){case dataViewCtorString:return dataViewTag$3;case mapCtorString:return mapTag$4;case promiseCtorString:return promiseTag;case setCtorString:return setTag$4;case weakMapCtorString:return weakMapTag$1}return l});var _getTag=getTag$4;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function arrayPush$3(e,n){for(var l=-1,r=n.length,u=e.length;++l<r;)e[u+l]=n[l];return e}var _arrayPush=arrayPush$3;function arrayFilter$1(e,n){for(var l=-1,r=e==null?0:e.length,u=0,o=[];++l<r;){var t=e[l];n(t,l,e)&&(o[u++]=t)}return o}var _arrayFilter=arrayFilter$1;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var arrayLikeKeys=_arrayLikeKeys,baseKeys$1=_baseKeys,isArrayLike$1=isArrayLike_1;function keys$3(e){return isArrayLike$1(e)?arrayLikeKeys(e):baseKeys$1(e)}var keys_1=keys$3,arrayPush$1=_arrayPush,isArray$1$2=isArray_1;function baseGetAllKeys$2(e,n,l){var r=n(e);return isArray$1$2(e)?r:arrayPush$1(r,l(e))}var _baseGetAllKeys=baseGetAllKeys$2;function stubArray$2(){return[]}var stubArray_1=stubArray$2,arrayFilter=_arrayFilter,stubArray$1=stubArray_1,objectProto$1$1=Object.prototype,propertyIsEnumerable=objectProto$1$1.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols$3=nativeGetSymbols$1?function(e){return e==null?[]:(e=Object(e),arrayFilter(nativeGetSymbols$1(e),function(n){return propertyIsEnumerable.call(e,n)}))}:stubArray$1,_getSymbols=getSymbols$3,baseGetAllKeys$1=_baseGetAllKeys,getSymbols$2=_getSymbols,keys$2=keys_1;function getAllKeys$1(e){return baseGetAllKeys$1(e,keys$2,getSymbols$2)}var _getAllKeys=getAllKeys$1;function arrayEach$1(e,n){for(var l=-1,r=e==null?0:e.length;++l<r&&n(e[l],l,e)!==!1;);return e}var _arrayEach=arrayEach$1,copyObject$3=_copyObject,keys$1$1=keys_1;function baseAssign$1(e,n){return e&&copyObject$3(n,keys$1$1(n),e)}var _baseAssign=baseAssign$1,copyObject$2=_copyObject,keysIn$2=keysIn_1;function baseAssignIn$1(e,n){return e&&copyObject$2(n,keysIn$2(n),e)}var _baseAssignIn=baseAssignIn$1,copyObject$1=_copyObject,getSymbols$1=_getSymbols;function copySymbols$1(e,n){return copyObject$1(e,getSymbols$1(e),n)}var _copySymbols=copySymbols$1,arrayPush$2=_arrayPush,getPrototype=_getPrototype,getSymbols=_getSymbols,stubArray=stubArray_1,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn$2=nativeGetSymbols?function(e){for(var n=[];e;)arrayPush$2(n,getSymbols(e)),e=getPrototype(e);return n}:stubArray,_getSymbolsIn=getSymbolsIn$2,copyObject$4=_copyObject,getSymbolsIn$1=_getSymbolsIn;function copySymbolsIn$1(e,n){return copyObject$4(e,getSymbolsIn$1(e),n)}var _copySymbolsIn=copySymbolsIn$1,baseGetAllKeys=_baseGetAllKeys,getSymbolsIn=_getSymbolsIn,keysIn$1=keysIn_1;function getAllKeysIn$1(e){return baseGetAllKeys(e,keysIn$1,getSymbolsIn)}var _getAllKeysIn=getAllKeysIn$1,objectProto$3=Object.prototype,hasOwnProperty$3=objectProto$3.hasOwnProperty;function initCloneArray$1(e){var n=e.length,l=new e.constructor(n);return n&&typeof e[0]=="string"&&hasOwnProperty$3.call(e,"index")&&(l.index=e.index,l.input=e.input),l}var _initCloneArray=initCloneArray$1,cloneArrayBuffer$1=_cloneArrayBuffer;function cloneDataView$1(e,n){var l=n?cloneArrayBuffer$1(e.buffer):e.buffer;return new e.constructor(l,e.byteOffset,e.byteLength)}var _cloneDataView=cloneDataView$1,reFlags=/\w*$/;function cloneRegExp$1(e){var n=new e.constructor(e.source,reFlags.exec(e));return n.lastIndex=e.lastIndex,n}var _cloneRegExp=cloneRegExp$1,_Symbol$3=_Symbol$2$1,symbolProto$2=_Symbol$3?_Symbol$3.prototype:void 0,symbolValueOf$1=symbolProto$2?symbolProto$2.valueOf:void 0;function cloneSymbol$1(e){return symbolValueOf$1?Object(symbolValueOf$1.call(e)):{}}var _cloneSymbol=cloneSymbol$1,cloneArrayBuffer=_cloneArrayBuffer,cloneDataView=_cloneDataView,cloneRegExp=_cloneRegExp,cloneSymbol=_cloneSymbol,cloneTypedArray=_cloneTypedArray,boolTag$1$1="[object Boolean]",dateTag$1="[object Date]",mapTag$2="[object Map]",numberTag$1$1="[object Number]",regexpTag$1="[object RegExp]",setTag$2="[object Set]",stringTag$1$1="[object String]",symbolTag$1$1="[object Symbol]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag$1(e,n,l){var r=e.constructor;switch(n){case arrayBufferTag$1:return cloneArrayBuffer(e);case boolTag$1$1:case dateTag$1:return new r(+e);case dataViewTag$1:return cloneDataView(e,l);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd$1(e){return this.__data__.set(e,HASH_UNDEFINED),this}var _setCacheAdd=setCacheAdd$1;function setCacheHas$1(e){return this.__data__.has(e)}var _setCacheHas=setCacheHas$1,MapCache$1=_MapCache,setCacheAdd=_setCacheAdd,setCacheHas=_setCacheHas;function SetCache$1(e){var n=-1,l=e==null?0:e.length;for(this.__data__=new MapCache$1;++n<l;)this.add(e[n])}SetCache$1.prototype.add=SetCache$1.prototype.push=setCacheAdd;SetCache$1.prototype.has=setCacheHas;var _SetCache=SetCache$1;function cacheHas$1(e,n){return e.has(n)}var _cacheHas=cacheHas$1;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function setToArray$1(e){var n=-1,l=Array(e.size);return e.forEach(function(r){l[++n]=r}),l}var _setToArray=setToArray$1;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function arraySome$1(e,n){for(var l=-1,r=e==null?0:e.length;++l<r;)if(n(e[l],l,e))return!0;return!1}var _arraySome=arraySome$1,SetCache=_SetCache,arraySome=_arraySome,cacheHas=_cacheHas,COMPARE_PARTIAL_FLAG$3=1,COMPARE_UNORDERED_FLAG$1$1=2;function equalArrays$2(e,n,l,r,u,o){var t=l&COMPARE_PARTIAL_FLAG$3,a=e.length,m=n.length;if(a!=m&&!(t&&m>a))return!1;var f=o.get(e),g=o.get(n);if(f&&g)return f==n&&g==e;var $=-1,S=!0,F=l&COMPARE_UNORDERED_FLAG$1$1?new SetCache:void 0;for(o.set(e,n),o.set(n,e);++$<a;){var v=e[$],y=n[$];if(r)var E=t?r(y,v,$,n,e,o):r(v,y,$,e,n,o);if(E!==void 0){if(E)continue;S=!1;break}if(F){if(!arraySome(n,function(A,D){if(!cacheHas(F,D)&&(v===A||u(v,A,l,r,o)))return F.push(D)})){S=!1;break}}else if(!(v===y||u(v,y,l,r,o))){S=!1;break}}return o.delete(e),o.delete(n),S}var _equalArrays=equalArrays$2;function mapToArray$1(e){var n=-1,l=Array(e.size);return e.forEach(function(r,u){l[++n]=[u,r]}),l}var _mapToArray=mapToArray$1,_Symbol$2=_Symbol$2$1,Uint8Array$1=_Uint8Array,eq=eq_1,equalArrays$1=_equalArrays,mapToArray=_mapToArray,setToArray=_setToArray,COMPARE_PARTIAL_FLAG$2=1,COMPARE_UNORDERED_FLAG$2=2,boolTag$1="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag$1="[object Map]",numberTag$1="[object Number]",regexpTag="[object RegExp]",setTag$1="[object Set]",stringTag$1="[object String]",symbolTag$1="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto$1=_Symbol$2?_Symbol$2.prototype:void 0,symbolValueOf=symbolProto$1?symbolProto$1.valueOf:void 0;function equalByTag$1(e,n,l,r,u,o,t){switch(l){case dataViewTag:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case arrayBufferTag:return!(e.byteLength!=n.byteLength||!o(new Uint8Array$1(e),new Uint8Array$1(n)));case boolTag$1:case dateTag:case numberTag$1:return eq(+e,+n);case errorTag:return e.name==n.name&&e.message==n.message;case regexpTag:case stringTag$1:return e==n+"";case mapTag$1:var a=mapToArray;case setTag$1:var m=r&COMPARE_PARTIAL_FLAG$2;if(a||(a=setToArray),e.size!=n.size&&!m)return!1;var f=t.get(e);if(f)return f==n;r|=COMPARE_UNORDERED_FLAG$2,t.set(e,n);var g=equalArrays$1(a(e),a(n),r,u,o,t);return t.delete(e),g;case symbolTag$1:if(symbolValueOf)return symbolValueOf.call(e)==symbolValueOf.call(n)}return!1}var _equalByTag=equalByTag$1,getAllKeys=_getAllKeys,COMPARE_PARTIAL_FLAG$1$1=1,objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function equalObjects$1(e,n,l,r,u,o){var t=l&COMPARE_PARTIAL_FLAG$1$1,a=getAllKeys(e),m=a.length,f=getAllKeys(n),g=f.length;if(m!=g&&!t)return!1;for(var $=m;$--;){var S=a[$];if(!(t?S in n:hasOwnProperty$1.call(n,S)))return!1}var F=o.get(e),v=o.get(n);if(F&&v)return F==n&&v==e;var y=!0;o.set(e,n),o.set(n,e);for(var E=t;++$<m;){S=a[$];var A=e[S],D=n[S];if(r)var K=t?r(D,A,S,n,e,o):r(A,D,S,e,n,o);if(!(K===void 0?A===D||u(A,D,l,r,o):K)){y=!1;break}E||(E=S=="constructor")}if(y&&!E){var N=e.constructor,G=n.constructor;N!=G&&"constructor"in e&&"constructor"in n&&!(typeof N=="function"&&N instanceof N&&typeof G=="function"&&G instanceof G)&&(y=!1)}return o.delete(e),o.delete(n),y}var _equalObjects=equalObjects$1,Stack$1=_Stack,equalArrays=_equalArrays,equalByTag=_equalByTag,equalObjects=_equalObjects,getTag$1=_getTag,isArray$7=isArray_1,isBuffer$1=isBuffer$5.exports,isTypedArray$1=isTypedArray_1,COMPARE_PARTIAL_FLAG$4=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function baseIsEqualDeep$1(e,n,l,r,u,o){var t=isArray$7(e),a=isArray$7(n),m=t?arrayTag:getTag$1(e),f=a?arrayTag:getTag$1(n);m=m==argsTag?objectTag:m,f=f==argsTag?objectTag:f;var g=m==objectTag,$=f==objectTag,S=m==f;if(S&&isBuffer$1(e)){if(!isBuffer$1(n))return!1;t=!0,g=!1}if(S&&!g)return o||(o=new Stack$1),t||isTypedArray$1(e)?equalArrays(e,n,l,r,u,o):equalByTag(e,n,m,l,r,u,o);if(!(l&COMPARE_PARTIAL_FLAG$4)){var F=g&&hasOwnProperty$2.call(e,"__wrapped__"),v=$&&hasOwnProperty$2.call(n,"__wrapped__");if(F||v){var y=F?e.
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var baseGetTag$3=_baseGetTag,isObjectLike$3=isObjectLike_1,symbolTag="[object Symbol]";function isSymbol$3(e){return _typeof(e)=="symbol"||isObjectLike$3(e)&&baseGetTag$3(e)==symbolTag}var isSymbol_1=isSymbol$3;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function arrayMap$1(e,n){for(var l=-1,r=e==null?0:e.length,u=Array(r);++l<r;)u[l]=n(e[l],l,e);return u}var _arrayMap=arrayMap$1,_Symbol$1=_Symbol$2$1,arrayMap$2=_arrayMap,isArray$6=isArray_1,isSymbol$2=isSymbol_1,INFINITY$1=1/0,symbolProto=_Symbol$1?_Symbol$1.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString$1(e){if(typeof e=="string")return e;if(isArray$6(e))return arrayMap$2(e,baseToString$1)+"";if(isSymbol$2(e))return symbolToString?symbolToString.call(e):"";var n=e+"";return n=="0"&&1/e==-INFINITY$1?"-0":n}var _baseToString=baseToString$1,baseToString=_baseToString;function toString$4(e){return e==null?"":baseToString(e)}var toString_1=toString$4;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var isArray$1$1=isArray_1,isSymbol$1=isSymbol_1,reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey$1$1(e,n){if(isArray$1$1(e))return!1;var l=_typeof(e);return l=="number"||l=="symbol"||l=="boolean"||e==null||isSymbol$1(e)?!0:reIsPlainProp.test(e)||!reIsDeepProp.test(e)||n!=null&&e in Object(n)}var _isKey=isKey$1$1,MapCache=_MapCache,FUNC_ERROR_TEXT="Expected a function";function memoize$1(e,n){if(typeof e!="function"||n!=null&&typeof n!="function")throw new TypeError(FUNC_ERROR_TEXT);var l=function r(){var u=arguments,o=n?n.apply(this,u):u[0],t=r.cache;if(t.has(o))return t.get(o);var a=e.apply(this,u);return r.cache=t.set(o,a)||t,a};return l.cache=new(memoize$1.Cache||MapCache),l}memoize$1.Cache=MapCache;var memoize_1=memoize$1,memoize=memoize_1,MAX_MEMOIZE_SIZE=500;function memoizeCapped$1(e){var n=memoize(e,function(r){return l.size===MAX_MEMOIZE_SIZE&&l.clear(),r}),l=n.cache;return n}var _memoizeCapped=memoizeCapped$1,memoizeCapped=_memoizeCapped,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath$1=memoizeCapped(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(rePropName,function(l,r,u,o){n.push(u?o.replace(reEscapeChar,"$1"):r||l)}),n}),_stringToPath=stringToPath$1,isArray$5=isArray_1,isKey$2=_isKey,stringToPath=_stringToPath,toString$3=toString_1;function castPath$1$1(e,n){return isArray$5(e)?e:isKey$2(e,n)?[e]:stringToPath(toString$3(e))}var _castPath=castPath$1$1,isSymbol=isSymbol_1,INFINITY=1/0;function toKey$1$1(e){if(typeof e=="string"||isSymbol(e))return e;var n=e+"";return n=="0"&&1/e==-INFINITY?"-0":n}var _toKey=toKey$1$1,castPath$3=_castPath,toKey$4=_toKey;function baseGet$3(e,n){n=castPath$3(n,e);for(var l=0,r=n.length;e!=null&&l<r;)e=e[toKey$4(n[l++])];return l&&l==r?e:void 0}var _baseGet=baseGet$3;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var baseGet$2=_baseGet;function get$1(e,n,l){var r=e==null?void 0:baseGet$2(e,n);return r===void 0?l:r}var get_1=get$1;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function baseHasIn$1(e,n){return e!=null&&n in Object(e)}var _baseHasIn=baseHasIn$1,castPath$2=_castPath,isArguments$2=isArguments_1,isArray$4=isArray_1,isIndex=_isIndex,isLength=isLength_1,toKey$3=_toKey;function hasPath$1(e,n,l){n=castPath$2(n,e);for(var r=-1,u=n.length,o=!1;++r<u;){var t=toKey$3(n[r]);if(!(o=e!=null&&l(e,t)))break;e=e[t]}return o||++r!=u?o:(u=e==null?0:e.length,!!u&&isLength(u)&&isIndex(t,u)&&(isArray$4(e)||isArguments$2(e)))}var _hasPath=hasPath$1,baseHasIn=_baseHasIn,hasPath=_hasPath;function hasIn$1(e,n){return e!=null&&hasPath(e,n,baseHasIn)}var hasIn_1=hasIn$1;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function baseProperty$1(e){return function(n){return n==null?void 0:n[e]}}var _baseProperty=baseProperty$1;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function _arrayWithHoles(e){if(Array.isArray(e))return e}function _iterableToArrayLimit(e,n){var l=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(l!=null){var r,u,o,t,a=[],m=!0,f=!1;try{if(o=(l=l.call(e)).next,n===0){if(Object(l)!==l)return;m=!1}else for(;!(m=(r=o.call(l)).done)&&(a.push(r.value),a.length!==n);m=!0);}catch(g){f=!0,u=g}finally{try{if(!m&&l.return!=null&&(t=l.return(),Object(t)!==t))return}finally{if(f)throw u}}return a}}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _slicedToArray(e,n){return _arrayWithHoles(e)||_iterableToArrayLimit(e,n)||_unsupportedIterableToArray(e,n)||_nonIterableRest()}/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function setStyle$1(e,n){var l=Object.keys(n);l.forEach(function(r){e.style[r]=n[r]})}/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var baseGetTag$2=_baseGetTag,isArray$3=isArray_1,isObjectLike$2=isObjectLike_1,stringTag="[object String]";function isString(e){return typeof e=="string"||!isArray$3(e)&&isObjectLike$2(e)&&baseGetTag$2(e)==stringTag}var isString_1=isString;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var baseGetTag$1=_baseGetTag,isObjectLike$1=isObjectLike_1,numberTag="[object Number]";function isNumber(e){return typeof e=="number"||isObjectLike$1(e)&&baseGetTag$1(e)==numberTag}var isNumber_1=isNumber;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function getIEVersion(){if(typeof navigator>"u"||!navigator)return Number.MAX_SAFE_INTEGER;var e=navigator,n=e.userAgent,l=n.indexOf("compatible")>-1&&n.indexOf("MSIE")>-1,r=n.indexOf("Trident")>-1&&n.indexOf("rv:11.0")>-1;if(l){var u=new RegExp("MSIE (\\d+\\.\\d+);"),o=n.match(u);if(!o)return-1;var t=parseFloat(o[1]);return t<7?6:t}return r?11:Number.MAX_SAFE_INTEGER}function getFlexGapPolyFill(){var e,n,l;if(typeof navigator>"u"||!navigator)return!1;var r=navigator.userAgent,u=r.match(/AppleWebKit.+Chrome\/(.+) Safari\/.+/i);if(Number(u==null||(e=u[1])===null||e===void 0?void 0:e.split(".")[0])<100)return!0;var o=r.match(/AppleWebKit.+Version\/(.+) Safari\/.+/i);if(Number(o==null||(n=o[1])===null||n===void 0?void 0:n.split(".")[0])<12)return!0;var t=getIEVersion();if(t<=11)return!0;var a=r.match(/Firefox\/(.+)/i);return Number(a==null||(l=a[1])===null||l===void 0?void 0:l.split(".")[0])<100}function getCharacterLength(e,n){var l=isNumber_1(n);if(!e||e.length===0)return l?{length:0,characters:e}:0;for(var r=0,u=0;u<e.length;u++){var o=0;if(e.charCodeAt(u)>127?o=2:o=1,l&&r+o>n)return{length:r,characters:e.slice(0,u)};r+=o}return l?{length:r,characters:e}:r}function getUnicodeLength(e){return _toConsumableArray(e!=null?e:"").length}function limitUnicodeMaxLength(e,n,l){return _toConsumableArray(l!=null?l:"").slice().length===n?l||"":_toConsumableArray(e!=null?e:"").slice(0,n).join("")}/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function ownKeys$9(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),l.push.apply(l,r)}return l}function _objectSpread$9(e){for(var n=1;n<arguments.length;n++){var l=arguments[n]!=null?arguments[n]:{};n%2?ownKeys$9(Object(l),!0).forEach(function(r){_defineProperty$2(e,r,l[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):ownKeys$9(Object(l)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(l,r))})}return e}function circleAdapter(e){var n,l,r,u={};if(!(!e||typeof window>"u")){var o=(n=window)===null||n===void 0||(l=n.getComputedStyle)===null||l===void 0?void 0:l.call(n,e),t=o.color,a=o.fontSize,m=(r=window)===null||r===void 0||(r=r.navigator)===null||r===void 0?void 0:r.userAgent,f=/Safari/.test(m)&&!/Chrome/.test(m),g=/(?=.*iPhone)[?=.*MicroMessenger]/.test(m)&&!/Chrome/.test(m);if((f||g)&&(u={transformOrigin:"0px 0px",transform:"scale(".concat(parseInt(a,10)/12,")")}),t&&getIEVersion()>11){var $=t.match(/[\d.]+/g),S=$?"rgba(".concat($[0],", ").concat($[1],", ").concat($[2],", 0)"):"";setStyle$1(e,_objectSpread$9(_objectSpread$9({},u),{},{background:"conic-gradient(from 90deg at 50% 50%,".concat(S," 0deg, ").concat(t," 360deg)")}))}else setStyle$1(e,_objectSpread$9(_objectSpread$9({},u),{},{background:""}))}}/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var baseClone$1=_baseClone,CLONE_DEEP_FLAG$1=1,CLONE_SYMBOLS_FLAG$1=4;function cloneDeep(e){return baseClone$1(e,CLONE_DEEP_FLAG$1|CLONE_SYMBOLS_FLAG$1)}var cloneDeep_1=cloneDeep;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var globalConfigCopy=ref();function useConfig(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,n=arguments.length>1?arguments[1]:void 0,l=getCurrentInstance()?inject(configProviderInjectKey,null):globalConfigCopy,r=computed(function(){return(l==null?void 0:l.value)||defaultGlobalConfig}),u=computed(function(){return Object.assign({},r.value[e],n)}),o=computed(function(){return r.value.classPrefix}),t=function(m){for(var f=arguments.length,g=new Array(f>1?f-1:0),$=1;$<f;$++)g[$-1]=arguments[$];var S=g[0];if(isString_1(m)){if(!S)return m;var F=/\{\s*([\w-]+)\s*\}/g,v=m.replace(F,function(y,E){return S?String(S[E]):""});return v}return isFunction_1(m)?g.length?m.apply(void 0,g):m(h):""};return{t,global:u,globalConfig:u,classPrefix:o}}var provideConfig=function e(n){var l=cloneDeep_1(defaultGlobalConfig),r=computed(function(){return mergeWith(l,n.globalConfig)});return provide(configProviderInjectKey,r),globalConfigCopy.value||(globalConfigCopy.value=r.value),r};/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function usePrefixClass(e){var n=useConfig("classPrefix"),l=n.classPrefix;return computed(function(){return e?"".concat(l.value,"-").concat(e):l.value})}function useCommonClassName$1(){var e=useConfig("classPrefix"),n=e.classPrefix;return{SIZE:computed(function(){return{small:"".concat(n.value,"-size-s"),medium:"".concat(n.value,"-size-m"),large:"".concat(n.value,"-size-l"),default:"",xs:"".concat(n.value,"-size-xs"),xl:"".concat(n.value,"-size-xl"),block:"".concat(n.value,"-size-full-width")}}),STATUS:computed(function(){return{loading:"".concat(n.value,"-is-loading"),loadMore:"".concat(n.value,"-is-load-more"),disabled:"".concat(n.value,"-is-disabled"),focused:"".concat(n.value,"-is-focused"),success:"".concat(n.value,"-is-success"),error:"".concat(n.value,"-is-error"),warning:"".concat(n.value,"-is-warning"),selected:"".concat(n.value,"-is-selected"),active:"".concat(n.value,"-is-active"),checked:"".concat(n.value,"-is-checked"),current:"".concat(n.value,"-is-current"),hidden:"".concat(n.value,"-is-hidden"),visible:"".concat(n.value,"-is-visible"),expanded:"".concat(n.value,"-is-expanded"),indeterminate:"".concat(n.value,"-is-indeterminate")}})}}/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var GradientIcon=defineComponent({name:"TLoadingGradient",setup:function e(){var n=usePrefixClass();return onMounted(function(){var l=getCurrentInstance().refs.circle;nextTick(function(){circleAdapter(l)})}),{classPrefix:n}},render:function e(){var n=this.classPrefix,l="".concat(n,"-loading__gradient"),r=[l,"".concat(n,"-icon-loading")];return createVNode("svg",{class:r,viewBox:"0 0 12 12",version:"1.1",width:"1em",height:"1em",xmlns:"http://www.w3.org/2000/svg"},[createVNode("foreignObject",{x:"0",y:"0",width:"12",height:"12"},[createVNode("div",{class:"".concat(l,"-conic"),ref:"circle"},null)])])}});/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var raf$2={exports:{}},performanceNow$1={exports:{}};(function(){var e,n,l,r,u,o;typeof performance<"u"&&performance!==null&&performance.now?performanceNow$1.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(performanceNow$1.exports=function(){return(e()-u)/1e6},n=process.hrtime,e=function(){var a;return a=n(),a[0]*1e9+a[1]},r=e(),o=process.uptime()*1e9,u=r-o):Date.now?(performanceNow$1.exports=function(){return Date.now()-l},l=Date.now()):(performanceNow$1.exports=function(){return new Date().getTime()-l},l=new Date().getTime())}).call(commonjsGlobal);var now=performanceNow$1.exports,root=typeof window>"u"?commonjsGlobal:window,vendors=["moz","webkit"],suffix="AnimationFrame",raf=root["request"+suffix],caf=root["cancel"+suffix]||root["cancelRequest"+suffix];for(var i=0;!raf&&i<vendors.length;i++)raf=root[vendors[i]+"Request"+suffix],caf=root[vendors[i]+"Cancel"+suffix]||root[vendors[i]+"CancelRequest"+suffix];if(!raf||!caf){var last$2=0,id=0,queue=[],frameDuration=1e3/60;raf=function(n){if(queue.length===0){var l=now(),r=Math.max(0,frameDuration-(l-last$2));last$2=r+l,setTimeout(function(){var u=queue.slice(0);queue.length=0;for(var o=function(){if(!u[t].cancelled)try{u[t].callback(last$2)}catch(m){setTimeout(function(){throw m},0)}},t=0;t<u.length;t++)o()},Math.round(r))}return queue.push({handle:++id,callback:n,cancelled:!1}),id},caf=function(n){for(var l=0;l<queue.length;l++)queue[l].handle===n&&(queue[l].cancelled=!0)}}raf$2.exports=function(e){return raf.call(root,e)};raf$2.exports.cancel=function(){caf.apply(root,arguments)};raf$2.exports.polyfill=function(e){e||(e=root),e.requestAnimationFrame=raf,e.cancelAnimationFrame=caf};var isServer=typeof window>"u",trim=function e(n){return(n||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},on=function(){return!isServer&&document.addEventListener?function(e,n,l,r){e&&n&&l&&e.addEventListener(n,l,r)}:function(e,n,l){e&&n&&l&&e.attachEvent("on".concat(n),l)}}(),off=function(){return!isServer&&document.removeEventListener?function(e,n,l,r){e&&n&&e.removeEventListener(n,l,r)}:function(e,n,l){e&&n&&e.detachEvent("on".concat(n),l)}}();function once(e,n,l,r){var u=isFunction_1(l)?l:l.handleEvent,o=function t(a){u(a),off(e,n,t,r)};on(e,n,o,r)}function hasClass(e,n){if(!e||!n)return!1;if(n.indexOf(" ")!==-1)throw new Error("className should not contain space.");return e.classList?e.classList.contains(n):" ".concat(e.className," ").indexOf(" ".concat(n," "))>-1}function addClass(e,n){if(!!e){for(var l=e.className,r=(n||"").split(" "),u=0,o=r.length;u<o;u++){var t=r[u];!t||(e.classList?e.classList.add(t):hasClass(e,t)||(l+=" ".concat(t)))}e.classList||(e.className=l)}}function removeClass(e,n){if(!(!e||!n)){for(var l=n.split(" "),r=" ".concat(e.className," "),u=0,o=l.length;u<o;u++){var t=l[u];!t||(e.classList?e.classList.remove(t):hasClass(e,t)&&(r=r.replace(" ".concat(t," ")," ")))}e.classList||(e.className=trim(r))}}var getAttach=function e(n,l){var r=isFunction_1(n)?n(l):n;return r?isString_1(r)?document.querySelector(r):r instanceof HTMLElement?r:document.body:document.body},getSSRAttach=function e(){},getScrollContainer=function e(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"body";return isString_1(n)?document.querySelector(n):isFunction_1(n)?n():n},isNodeOverflow=function e(n){var l=n.clientWidth,r=l===void 0?0:l,u=n.scrollWidth,o=u===void 0?0:u;return o>r},requestSubmit=function e(n){if(!(n instanceof HTMLFormElement))throw new Error("target must be HTMLFormElement");var l=document.createElement("input");l.type="submit",l.hidden=!0,n.appendChild(l),l.click(),n.removeChild(l)};/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var baseKeys=_baseKeys,getTag=_getTag,isArguments$1=isArguments_1,isArray$2=isArray_1,isArrayLike=isArrayLike_1,isBuffer=isBuffer$5.exports,isPrototype=_isPrototype,isTypedArray=isTypedArray_1,mapTag="[object Map]",setTag="[object Set]",objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function isEmpty(e){if(e==null)return!0;if(isArrayLike(e)&&(isArray$2(e)||typeof e=="string"||typeof e.splice=="function"||isBuffer(e)||isTypedArray(e)||isArguments$1(e)))return!e.length;var n=getTag(e);if(n==mapTag||n==setTag)return!e.size;if(isPrototype(e))return!baseKeys(e).length;for(var l in e)if(hasOwnProperty.call(e,l))return!1;return!0}var isEmpty_1=isEmpty;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function baseSlice$2(e,n,l){var r=-1,u=e.length;n<0&&(n=-n>u?0:u+n),l=l>u?u:l,l<0&&(l+=u),u=n>l?0:l-n>>>0,n>>>=0;for(var o=Array(u);++r<u;)o[r]=e[r+n];return o}var _baseSlice=baseSlice$2;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var baseSlice$1=_baseSlice;function castSlice$1(e,n,l){var r=e.length;return l=l===void 0?r:l,!n&&l>=r?e:baseSlice$1(e,n,l)}var _castSlice=castSlice$1,rsAstralRange$1="\\ud800-\\udfff",rsComboMarksRange$1$1="\\u0300-\\u036f",reComboHalfMarksRange$1$1="\\ufe20-\\ufe2f",rsComboSymbolsRange$1$1="\\u20d0-\\u20ff",rsComboRange$1$1=rsComboMarksRange$1$1+reComboHalfMarksRange$1$1+rsComboSymbolsRange$1$1,rsVarRange$1="\\ufe0e\\ufe0f",rsZWJ$1="\\u200d",reHasUnicode=RegExp("["+rsZWJ$1+rsAstralRange$1+rsComboRange$1$1+rsVarRange$1+"]");function hasUnicode$1(e){return reHasUnicode.test(e)}var _hasUnicode=hasUnicode$1;function asciiToArray$1(e){return e.split("")}var _asciiToArray=asciiToArray$1,rsAstralRange$2="\\ud800-\\udfff",rsComboMarksRange$2="\\u0300-\\u036f",reComboHalfMarksRange$2="\\ufe20-\\ufe2f",rsComboSymbolsRange$2="\\u20d0-\\u20ff",rsComboRange$2=rsComboMarksRange$2+reComboHalfMarksRange$2+rsComboSymbolsRange$2,rsVarRange$2="\\ufe0e\\ufe0f",rsAstral="["+rsAstralRange$2+"]",rsCombo$2="["+rsComboRange$2+"]",rsFitz$1="\\ud83c[\\udffb-\\udfff]",rsModifier$1="(?:"+rsCombo$2+"|"+rsFitz$1+")",rsNonAstral$1="[^"+rsAstralRange$2+"]",rsRegional$1="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair$1="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ$2="\\u200d",reOptMod$1=rsModifier$1+"?",rsOptVar$1="["+rsVarRange$2+"]?",rsOptJoin$1="(?:"+rsZWJ$2+"(?:"+[rsNonAstral$1,rsRegional$1,rsSurrPair$1].join("|")+")"+rsOptVar$1+reOptMod$1+")*",rsSeq$1=rsOptVar$1+reOptMod$1+rsOptJoin$1,rsSymbol="(?:"+[rsNonAstral$1+rsCombo$2+"?",rsCombo$2,rsRegional$1,rsSurrPair$1,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz$1+"(?="+rsFitz$1+")|"+rsSymbol+rsSeq$1,"g");function unicodeToArray$1(e){return e.match(reUnicode)||[]}var _unicodeToArray=unicodeToArray$1,asciiToArray=_asciiToArray,hasUnicode$2=_hasUnicode,unicodeToArray=_unicodeToArray;function stringToArray$1(e){return hasUnicode$2(e)?unicodeToArray(e):asciiToArray(e)}var _stringToArray=stringToArray$1;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function arrayReduce$1(e,n,l,r){var u=-1,o=e==null?0:e.length;for(r&&o&&(l=e[++u]);++u<o;)l=n(l,e[u],u,e);return l}var _arrayReduce=arrayReduce$1;function basePropertyOf$1(e){return function(n){return e==null?void 0:e[n]}}var _basePropertyOf=basePropertyOf$1,basePropertyOf=_basePropertyOf,deburredLetters={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},deburrLetter$1=basePropertyOf(deburredLetters),_deburrLetter=deburrLetter$1,deburrLetter=_deburrLetter,toString$1$1=toString_1,reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rsComboMarksRange$1="\\u0300-\\u036f",reComboHalfMarksRange$1="\\ufe20-\\ufe2f",rsComboSymbolsRange$1="\\u20d0-\\u20ff",rsComboRange$1=rsComboMarksRange$1+reComboHalfMarksRange$1+rsComboSymbolsRange$1,rsCombo$1="["+rsComboRange$1+"]",reComboMark=RegExp(rsCombo$1,"g");function deburr$1(e){return e=toString$1$1(e),e&&e.replace(reLatin,deburrLetter).replace(reComboMark,"")}var deburr_1=deburr$1,reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function asciiWords$1(e){return e.match(reAsciiWord)||[]}var _asciiWords=asciiWords$1,reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function hasUnicodeWord$1(e){return reHasUnicodeWord.test(e)}var _hasUnicodeWord=hasUnicodeWord$1,rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f",reComboHalfMarksRange="\\ufe20-\\ufe2f",rsComboSymbolsRange="\\u20d0-\\u20ff",rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsDingbatRange="\\u2700-\\u27bf",rsLowerRange="a-z\\xdf-\\xf6\\xf8-\\xff",rsMathOpRange="\\xac\\xb1\\xd7\\xf7",rsNonCharRange="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",rsPunctuationRange="\\u2000-\\u206f",rsSpaceRange=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",rsUpperRange="A-Z\\xc0-\\xd6\\xd8-\\xde",rsVarRange="\\ufe0e\\ufe0f",rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange,rsApos$1="['\u2019]",rsBreak="["+rsBre
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var castSlice=_castSlice,hasUnicode=_hasUnicode,stringToArray=_stringToArray,toString$1=toString_1;function createCaseFirst$1(e){return function(n){n=toString$1(n);var l=hasUnicode(n)?stringToArray(n):void 0,r=l?l[0]:n.charAt(0),u=l?castSlice(l,1).join(""):n.slice(1);return r[e]()+u}}var _createCaseFirst=createCaseFirst$1,createCaseFirst=_createCaseFirst,upperFirst$1=createCaseFirst("toUpperCase"),upperFirst_1=upperFirst$1,toString=toString_1,upperFirst=upperFirst_1;function capitalize$1(e){return upperFirst(toString(e).toLowerCase())}var capitalize_1=capitalize$1,capitalize=capitalize_1,createCompounder$1=_createCompounder,camelCase=createCompounder$1(function(e,n,l){return n=n.toLowerCase(),e+(l?capitalize(n):n)}),camelCase_1=camelCase;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var createCompounder=_createCompounder,kebabCase=createCompounder(function(e,n,l){return e+(l?"-":"")+n.toLowerCase()}),kebabCase_1=kebabCase;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function getDefaultNode(e){var n;return isObject_1(e)&&"defaultNode"in e?n=e.defaultNode:(isVNode$1(e)||isString_1(e))&&(n=e),n}function getParams(e){return isObject_1(e)&&"params"in e?e.params:{}}function getSlotFirst(e){return isObject_1(e)&&"slotFirst"in e?e.slotFirst:{}}function handleSlots$1(e,n,l){var r,u,o,t,a=(r=(u=e.$slots)[camelCase_1(l)])===null||r===void 0?void 0:r.call(u,n);return a||(a=(o=(t=e.$slots)[kebabCase_1(l)])===null||o===void 0?void 0:o.call(t,n),a)?a:null}var renderTNodeJSX=function e(n,l,r){var u=getParams(r),o=getDefaultNode(r),t;if(l in n&&(t=n[l]),!(t===!1||t===null)){if(t===!0&&o)return handleSlots$1(n,u,l)||o;if(isFunction_1(t))return t(h,u);var a=[void 0,u,""].includes(t);return a&&(n.$slots[camelCase_1(l)]||n.$slots[kebabCase_1(l)])?handleSlots$1(n,u,l):t}},renderContent=function e(n,l,r,u){var o=getParams(u),t=getDefaultNode(u),a=o?{params:o}:void 0,m=renderTNodeJSX(n,l,a),f=renderTNodeJSX(n,r,a),g=isEmpty_1(m)?f:m;return isEmpty_1(g)?t:g};/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var props$2={attach:{type:[String,Function],default:""},content:{type:[String,Function]},default:{type:[String,Function]},delay:{type:Number,default:0},fullscreen:Boolean,indicator:{type:[Boolean,Function],default:!0},inheritColor:Boolean,loading:{type:Boolean,default:!0},preventScrollThrough:{type:Boolean,default:!0},showOverlay:{type:Boolean,default:!0},size:{type:String,default:"medium"},text:{type:[String,Function]},zIndex:{type:Number}};/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var useTeleport=function e(n,l){var r=isFunction_1(n)?computed(n):ref(n),u=isFunction_1(l)?computed(l):ref(l),o=ref(),t=function(){o.value=getSSRAttach()||getAttach(r.value,u.value)};return onMounted(function(){return t()}),watch([r,u],function(){return t()}),o};/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var useComponentClassName=function e(){return{name:usePrefixClass("loading"),centerClass:usePrefixClass("loading--center"),fullscreenClass:usePrefixClass("loading__fullscreen"),lockClass:usePrefixClass("loading--lock"),overlayClass:usePrefixClass("loading__overlay"),relativeClass:usePrefixClass("loading__parent"),fullClass:usePrefixClass("loading--full"),inheritColorClass:usePrefixClass("loading--inherit-color")}},_Loading=defineComponent({name:"TLoading",inheritAttrs:!1,props:props$2,setup:function e(n,l){var r=l.slots,u=ref(!1),o=useComponentClassName(),t=o.name,a=o.centerClass,m=o.fullscreenClass,f=o.lockClass,g=o.overlayClass,$=o.relativeClass,S=o.fullClass,F=o.inheritColorClass,v=usePrefixClass(),y=useCommonClassName$1(),E=y.SIZE,A=function(){u.value=!1;var C2=setTimeout(function(){u.value=!0,clearTimeout(C2)},n.delay)},D=useTeleport(function(){return n.attach}),K=computed(function(){return Boolean(!n.delay||n.delay&&u.value)}),N=computed(function(){var w2={};return n.zIndex!==void 0&&(w2.zIndex=n.zIndex),["small","medium","large"].includes(n.size)||(w2["font-size"]=n.size),w2}),G=computed(function(){return Boolean(n.default||r.default||n.content||r.content)}),r2=computed(function(){return n.preventScrollThrough&&n.fullscreen}),T=computed(function(){return Boolean(n.text||r.text)}),J=computed(function(){return G.value&&n.loading&&K.value}),U=computed(function(){return n.fullscreen&&n.loading&&K.value}),$2=computed(function(){return n.attach&&n.loading&&K.value}),W=computed(function(){return n.attach&&n.loading&&K.value}),P2=computed(function(){var w2=[a.value,E.value[n.size],_defineProperty$2({},F.value,n.inheritColor)],C2=[t.value,m.value,a.value,g.value];return{baseClasses:w2,attachClasses:w2.concat([t.value,S.value,_defineProperty$2({},g.value,n.showOverlay)]),withContentClasses:w2.concat([t.value,S.value,_defineProperty$2({},g.value,n.showOverlay)]),fullScreenClasses:C2,normalClasses:w2.concat([t.value])}}),x2=toRefs(n),F2=x2.loading;return watch([F2],function(w2){var C2=_slicedToArray(w2,1),D2=C2[0];D2?(A(),r2.value&&addClass(document.body,f.value)):r2.value&&removeClass(document.body,f.value)}),onMounted(function(){n.delay&&A()}),{classPrefix:v,relativeClass:$,delayShowLoading:u,styles:N,showText:T,hasContent:G,classes:P2,lockFullscreen:r2,showWrapLoading:J,showNormalLoading:$2,showFullScreenLoading:U,showAttachedLoading:W,teleportElement:D}},render:function e(){var n=this,l=this.classes,r=l.fullScreenClasses,u=l.baseClasses,o=l.withContentClasses,t=l.attachClasses,a=l.normalClasses,m=createVNode(GradientIcon,{size:this.size},null),f=this.loading&&renderTNodeJSX(this,"indicator",m),g=this.showText&&createVNode("div",{class:"".concat(this.classPrefix,"-loading__text")},[renderTNodeJSX(this,"text")]);return this.fullscreen?!this.showFullScreenLoading||!this.loading?null:createVNode(Teleport,{disabled:!this.attach||!this.teleportElement,to:this.teleportElement},{default:function(){return[createVNode("div",mergeProps({class:r,style:n.styles},n.$attrs),[createVNode("div",{class:u},[f,g])])]}}):this.hasContent?createVNode("div",mergeProps({class:this.relativeClass},this.$attrs),[renderContent(this,"default","content"),this.showWrapLoading&&createVNode("div",{class:o,style:this.styles},[f,g])]):this.attach?!this.showAttachedLoading||!this.loading?null:createVNode(Teleport,{disabled:!this.attach||!this.teleportElement,to:this.teleportElement},{default:function(){return[createVNode("div",mergeProps({class:t,style:n.styles},n.$attrs),[f,g])]}}):this.loading?createVNode("div",mergeProps({class:a,style:this.styles},this.$attrs),[f,g]):null}});/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function ownKeys$8(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),l.push.apply(l,r)}return l}function _objectSpread$8(e){for(var n=1;n<arguments.length;n++){var l=arguments[n]!=null?arguments[n]:{};n%2?ownKeys$8(Object(l),!0).forEach(function(r){_defineProperty$2(e,r,l[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):ownKeys$8(Object(l)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(l,r))})}return e}var fullScreenLoadingInstance=null;function mergeDefaultProps(e){var n=merge_1({fullscreen:!1,attach:"body",loading:!0,preventScrollThrough:!0},e);return n}function createLoading(e){var n=mergeDefaultProps(e);if(n.fullscreen&&fullScreenLoadingInstance)return fullScreenLoadingInstance;var l=defineComponent({setup:function(){var $=reactive(n);return{loadingOptions:$}},render:function(){return h(_Loading,_objectSpread$8({},this.loadingOptions))}}),r=getAttach(n.fullscreen?"body":n.attach),u=createApp(l),o=u.mount(document.createElement("div")),t=usePrefixClass("loading__parent--relative").value,a=usePrefixClass("loading--lock"),m=n.preventScrollThrough&&n.fullscreen;m&&addClass(document.body,a.value),r?addClass(r,t):console.error("attach is not exist");var f={hide:function(){o.loading=!1,removeClass(r,t),removeClass(document.body,a.value),u.unmount()}};return f}function produceLoading(e){if(e===!0)return fullScreenLoadingInstance=createLoading({fullscreen:!0,loading:!0,attach:"body",preventScrollThrough:!0}),fullScreenLoadingInstance;if(e===!1){var n;(n=fullScreenLoadingInstance)===null||n===void 0||n.hide(),fullScreenLoadingInstance=null;return}return createLoading(e)}var LoadingPlugin=produceLoading;LoadingPlugin.install=function(e){e.config.globalProperties.$loading=produceLoading};/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var baseFor=_baseFor,keys$1=keys_1;function baseForOwn$1(e,n){return e&&baseFor(e,n,keys$1)}var _baseForOwn=baseForOwn$1,Stack=_Stack,baseIsEqual$1=_baseIsEqual,COMPARE_PARTIAL_FLAG$1=1,COMPARE_UNORDERED_FLAG$1=2;function baseIsMatch$1(e,n,l,r){var u=l.length,o=u,t=!r;if(e==null)return!o;for(e=Object(e);u--;){var a=l[u];if(t&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++u<o;){a=l[u];var m=a[0],f=e[m],g=a[1];if(t&&a[2]){if(f===void 0&&!(m in e))return!1}else{var $=new Stack;if(r)var S=r(f,g,m,e,n,$);if(!(S===void 0?baseIsEqual$1(g,f,COMPARE_PARTIAL_FLAG$1|COMPARE_UNORDERED_FLAG$1,r,$):S))return!1}}return!0}var _baseIsMatch=baseIsMatch$1,isObject=isObject_1;function isStrictComparable$2(e){return e===e&&!isObject(e)}var _isStrictComparable=isStrictComparable$2,isStrictComparable$1=_isStrictComparable,keys=keys_1;function getMatchData$1(e){for(var n=keys(e),l=n.length;l--;){var r=n[l],u=e[r];n[l]=[r,u,isStrictComparable$1(u)]}return n}var _getMatchData=getMatchData$1;function matchesStrictComparable$2(e,n){return function(l){return l==null?!1:l[e]===n&&(n!==void 0||e in Object(l))}}var _matchesStrictComparable=matchesStrictComparable$2,baseIsMatch=_baseIsMatch,getMatchData=_getMatchData,matchesStrictComparable$1=_matchesStrictComparable;function baseMatches$1(e){var n=getMatchData(e);return n.length==1&&n[0][2]?matchesStrictComparable$1(n[0][0],n[0][1]):function(l){return l===e||baseIsMatch(l,e,n)}}var _baseMatches=baseMatches$1,baseIsEqual=_baseIsEqual,get=get_1,hasIn=hasIn_1,isKey$1=_isKey,isStrictComparable=_isStrictComparable,matchesStrictComparable=_matchesStrictComparable,toKey$1=_toKey,COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty$1(e,n){return isKey$1(e)&&isStrictComparable(n)?matchesStrictComparable(toKey$1(e),n):function(l){var r=get(l,e);return r===void 0&&r===n?hasIn(l,e):baseIsEqual(n,r,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}var _baseMatchesProperty=baseMatchesProperty$1,baseGet$1=_baseGet;function basePropertyDeep$1(e){return function(n){return baseGet$1(n,e)}}var _basePropertyDeep=basePropertyDeep$1,baseProperty=_baseProperty,basePropertyDeep=_basePropertyDeep,isKey=_isKey,toKey$2=_toKey;function property$1(e){return isKey(e)?baseProperty(toKey$2(e)):basePropertyDeep(e)}var property_1=property$1,baseMatches=_baseMatches,baseMatchesProperty=_baseMatchesProperty,identity=identity_1,isArray$1=isArray_1,property=property_1;function baseIteratee$1(e){return typeof e=="function"?e:e==null?identity:_typeof(e)=="object"?isArray$1(e)?baseMatchesProperty(e[0],e[1]):baseMatches(e):property(e)}var _baseIteratee=baseIteratee$1,baseAssignValue=_baseAssignValue,baseForOwn=_baseForOwn,baseIteratee=_baseIteratee;function mapKeys(e,n){var l={};return n=baseIteratee(n),baseForOwn(e,function(r,u,o){baseAssignValue(l,n(r,u,o),r)}),l}var mapKeys_1=mapKeys,INSTANCE_KEY=Symbol("TdLoading"),createInstance=function e(n,l){var r=l.modifiers,u=r.fullscreen,o=r.inheritColor,t={attach:function(){return n},fullscreen:u!=null?u:!1,inheritColor:o!=null?o:!1,loading:l.value};isObject_1(l.value)&&mapKeys_1(l.value,function(a,m){t[m]=a}),n[INSTANCE_KEY]={options:t,instance:LoadingPlugin(t)}},vLoading={mounted:function e(n,l){l.value&&createInstance(n,l)},updated:function e(n,l){var r=n[INSTANCE_KEY],u=l.value,o=l.oldValue;if(!isEqual_1(u,o)){var t,a=(t=u==null?void 0:u.loading)!==null&&t!==void 0?t:u;a?createInstance(n,l):r==null||r.instance.hide()}},unmounted:function e(n){var l;(l=n[INSTANCE_KEY])===null||l===void 0||l.instance.hide()}};/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function withInstall(e,n,l){var r=e;return r.install=function(u,o){u.component(n||o||r.name,e),l&&u.directive(l.name,l.comp)},r}const index$d="";/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var Loading=withInstall(_Loading,_Loading.name,{name:"loading",comp:vLoading});/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var props$1={block:Boolean,content:{type:[String,Function]},default:{type:[String,Function]},disabled:{type:Boolean,default:void 0},ghost:Boolean,href:{type:String,default:""},icon:{type:Function},loading:Boolean,shape:{type:String,default:"rectangle",validator:function e(n){return n?["rectangle","square","round","circle"].includes(n):!0}},size:{type:String,default:"medium",validator:function e(n){return n?["extra-small","small","medium","large"].includes(n):!0}},suffix:{type:Function},tag:{type:String,validator:function e(n){return n?["button","a","div"].includes(n):!0}},theme:{type:String,validator:function e(n){return n?["default","primary","danger","warning","success"].includes(n):!0}},type:{type:String,default:"button",validator:function e(n){return n?["submit","reset","button"].includes(n):!0}},variant:{type:String,default:"base",validator:function e(n){return n?["base","outline","dashed","text"].includes(n):!0}},onClick:Function};/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var expand=EAnimationType.expand,ripple=EAnimationType.ripple,fade=EAnimationType.fade;function useKeepAnimation(){var e=useConfig("animation"),n=e.globalConfig,l=function(u){var o,t,a=n.value;return a&&!((o=a.exclude)!==null&&o!==void 0&&o.includes(u))&&((t=a.include)===null||t===void 0?void 0:t.includes(u))};return{keepExpand:l(expand),keepRipple:l(ripple),keepFade:l(fade)}}/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/function setStyle(e,n){var l=Object.keys(n);l.forEach(function(r){e.style[r]=n[r]})}/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var period=200,noneRippleBg="rgba(0, 0, 0, 0)",defaultRippleColor="rgba(0, 0, 0, 0.35)",getRippleColor=function e(n,l){var r;if(l)return l;if(n!=null&&(r=n.dataset)!==null&&r!==void 0&&r.ripple){var u=n.dataset.ripple;return u}var o=getComputedStyle(n).getPropertyValue("--ripple-color");return o||defaultRippleColor};function useRipple(e,n){var l=ref(null),r=usePrefixClass(),u=useKeepAnimation(),o=u.keepRipple,t=function(m){var f=e.value,g=getRippleColor(f,n==null?void 0:n.value);if(!(m.button!==0||!e||!o)&&!(f.classList.contains("".concat(r.value,"-is-active"))||f.classList.contains("".concat(r.value,"-is-disabled"))||f.classList.contains("".concat(r.value,"-is-checked"))||f.classList.contains("".concat(r.value,"-is-loading")))){var $=getComputedStyle(f),S=parseInt($.borderWidth,10),F=S>0?S:0,v=f.offsetWidth,y=f.offsetHeight;l.value.parentNode===null&&(setStyle(l.value,{position:"absolute",left:"".concat(0-F,"px"),top:"".concat(0-F,"px"),width:"".concat(v,"px"),height:"".concat(y,"px"),borderRadius:$.borderRadius,pointerEvents:"none",overflow:"hidden"}),f.appendChild(l.value));var E=document.createElement("div");setStyle(E,{marginTop:"0",marginLeft:"0",right:"".concat(v,"px"),width:"".concat(v+20,"px"),height:"100%",transition:"transform ".concat(period,"ms cubic-bezier(.38, 0, .24, 1), background ").concat(period*2,"ms linear"),transform:"skewX(-8deg)",pointerEvents:"none",position:"absolute",zIndex:0,backgroundColor:g,opacity:"0.9"});for(var A=new WeakMap,D=f.children.length,K=0;K<D;++K){var N=f.children[K];N.style.zIndex===""&&N!==l.value&&(N.style.zIndex="1",A.set(N,!0))}var G=f.style.position?f.style.position:getComputedStyle(f).position;(G===""||G==="static")&&(f.style.position="relative"),l.value.insertBefore(E,l.value.firstChild),setTimeout(function(){E.style.transform="translateX(".concat(v,"px)")},0);var r2=function T(){E.style.backgroundColor=noneRippleBg,e.value&&(e.value.removeEventListener("pointerup",T,!1),e.value.removeEventListener("pointerleave",T,!1),setTimeout(function(){E.remove(),l.value.children.length===0&&l.value.remove()},period*2+100))};e.value.addEventListener("pointerup",r2,!1),e.value.addEventListener("pointerleave",r2,!1)}};onMounted(function(){var a=e==null?void 0:e.value;!a||(l.value=document.createElement("div"),a.addEventListener("pointerdown",t,!1))}),onUnmounted(function(){var a;e==null||(a=e.value)===null||a===void 0||a.removeEventListener("pointerdown",t,!1)})}/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function handleSlots(e,n,l){var r,u,o,t,a=(r=(u=e.slots)[camelCase_1(n)])===null||r===void 0?void 0:r.call(u,l);return a&&a.filter(function(m){return m.type.toString()!=="Symbol(v-cmt)"}).length||(a=(o=(t=e.slots)[kebabCase_1(n)])===null||o===void 0?void 0:o.call(t,l),a&&a.filter(function(m){return m.type.toString()!=="Symbol(v-cmt)"}).length)?a:null}function isEmptyNode(e){if([void 0,null,""].includes(e))return!0;var n=e instanceof Array?e:[e],l=n.filter(function(r){var u;return(r==null||(u=r.type)===null||u===void 0?void 0:u.toString())!=="Symbol(Comment)"});return!l.length}var useTNodeJSX=function e(){var n=getCurrentInstance();return function(l,r){var u=getParams(r),o=getDefaultNode(r),t=getSlotFirst(r),a;if(Object.keys(n.props).includes(l)&&(a=n.props[l]),!(a===!1||a===null)){if(a===!0)return handleSlots(n,l,u)||o;if(isFunction_1(a))return a(h,u);var m=[void 0,u,""].includes(a);return(m||t)&&(n.slots[camelCase_1(l)]||n.slots[kebabCase_1(l)])?handleSlots(n,l,u):a}}},useTNodeDefault=function e(){var n=useTNodeJSX();return function(l,r){var u=getDefaultNode(r);return n(l,r)||u}},useContent=function e(){var n=useTNodeJSX();return function(l,r,u){var o=getParams(u),t=getDefaultNode(u),a=o?{params:o}:void 0,m=n(l,a),f=n(r,a),g=isEmptyNode(m)?f:m;return isEmptyNode(g)?t:g}};/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var baseGetTag=_baseGetTag,isObjectLike=isObjectLike_1,boolTag="[object Boolean]";function isBoolean(e){return e===!0||e===!1||isObjectLike(e)&&baseGetTag(e)==boolTag}var isBoolean_1=isBoolean;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function useDisabled(e){var n=getCurrentInstance(),l=computed(function(){return n.props.disabled}),r=inject("formDisabled",Object.create(null));return computed(function(){var u;return isBoolean_1(e==null?void 0:e.beforeDisabled.value)?e.beforeDisabled.value:isBoolean_1(l.value)?l.value:isBoolean_1(e==null?void 0:e.afterDisabled.value)?e.afterDisabled.value:isBoolean_1((u=r.disabled)===null||u===void 0?void 0:u.value)?r.disabled.value:!1})}const index$c="";/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function ownKeys$7(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),l.push.apply(l,r)}return l}function _objectSpread$7(e){for(var n=1;n<arguments.length;n++){var l=arguments[n]!=null?arguments[n]:{};n%2?ownKeys$7(Object(l),!0).forEach(function(r){_defineProperty$2(e,r,l[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):ownKeys$7(Object(l)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(l,r))})}return e}var TButton=defineComponent({name:"TButton",props:props$1,setup:function e(n,l){var r=l.attrs,u=l.slots,o=useTNodeJSX(),t=useContent(),a=usePrefixClass("button"),m=useCommonClassName$1(),f=m.STATUS,g=m.SIZE,$=ref();useRipple($);var S=useDisabled(),F=computed(function(){var y=n.theme,E=n.variant;return y||(E==="base"?"primary":"default")}),v=computed(function(){return["".concat(a.value),"".concat(a.value,"--variant-").concat(n.variant),"".concat(a.value,"--theme-").concat(F.value),_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2({},g.value[n.size],n.size!=="medium"),f.value.disabled,S.value),f.value.loading,n.loading),"".concat(a.value,"--shape-").concat(n.shape),n.shape!=="rectangle"),"".concat(a.value,"--ghost"),n.ghost),g.value.block,n.block)]});return function(){var y=t("default","content"),E=n.loading?createVNode(Loading,{inheritColor:!0},null):o("icon"),A=E&&!y,D=n.suffix||u.suffix?createVNode("span",{className:"".concat(a.value,"__suffix")},[o("suffix")]):null;y=y?createVNode("span",{class:"".concat(a.value,"__text")},[y]):"",E&&(y=[E,y]),D&&(y=[y].concat(D));var K=function(){return!n.tag&&n.href?"a":n.tag||"button"},N={class:[].concat(_toConsumableArray(v.value),[_defineProperty$2({},"".concat(a.value,"--icon-only"),A)]),type:n.type,disabled:S.value||n.loading,href:n.href,tabindex:S.value?void 0:"0"};return h(K(),_objectSpread$7(_objectSpread$7(_objectSpread$7({ref:$},r),N),{},{onClick:n.onClick}),[y])}}});/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var Button=withInstall(TButton);function _defineProperty(e,n,l){return n in e?Object.defineProperty(e,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[n]=l,e}function ownKeys$6(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),l.push.apply(l,r)}return l}function _objectSpread$6(e){for(var n=1;n<arguments.length;n++){var l=arguments[n]!=null?arguments[n]:{};n%2?ownKeys$6(Object(l),!0).forEach(function(r){_defineProperty(e,r,l[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):ownKeys$6(Object(l)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(l,r))})}return e}function camel2Kebab(e){var n=["fillOpacity","fillRule","clipRule"];return n.includes(e)?e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase():e}function renderFn(e,n){var l=Object.keys(e.attrs).reduce((r,u)=>(r[camel2Kebab(u)]=e.attrs[u],r),{});return h(e.tag,_objectSpread$6(_objectSpread$6({},l),n),(e.children||[]).map(r=>renderFn(r,{})))}var DEFAULT_CLASS_PREFIX="t",DEFAULT_LOCALE="zh-CN",ConfigContext={classPrefix:DEFAULT_CLASS_PREFIX,locale:DEFAULT_LOCALE};const ConfigContext$1=ConfigContext;function useCommonClassName(){var{classPrefix:e}=ConfigContext$1;return{SIZE:{default:"",xs:"".concat(e,"-size-xs"),small:"".concat(e,"-size-s"),medium:"".concat(e,"-size-m"),large:"".concat(e,"-size-l"),xl:"".concat(e,"-size-xl"),block:"".concat(e,"-size-full-width")},STATUS:{loading:"".concat(e,"-is-loading"),disabled:"".concat(e,"-is-disabled"),focused:"".concat(e,"-is-focused"),success:"".concat(e,"-is-success"),error:"".concat(e,"-is-error"),warning:"".concat(e,"-is-warning"),selected:"".concat(e,"-is-selected"),active:"".concat(e,"-is-active"),checked:"".concat(e,"-is-checked"),current:"".concat(e,"-is-current"),hidden:"".concat(e,"-is-hidden"),visible:"".concat(e,"-is-visible"),expanded:"".concat(e,"-is-expanded"),indeterminate:"".concat(e,"-is-indeterminate")}}}function useSizeProps(e){var n=useCommonClassName().SIZE,l=computed(()=>e.value in n?n[e.value]:""),r=computed(()=>e.value===void 0||e.value in n?{}:{fontSize:e.value});return{style:r,className:l}}const index$b="";function ownKeys$5(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),l.push.apply(l,r)}return l}function _objectSpread$5(e){for(var n=1;n<arguments.length;n++){var l=arguments[n]!=null?arguments[n]:{};n%2?ownKeys$5(Object(l),!0).forEach(function(r){_defineProperty(e,r,l[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):ownKeys$5(Object(l)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(l,r))})}return e}var element$3={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 23a11 11 0 100-22 11 11 0 000 22zM7.5 10.59l3 3 6-6L17.91 9l-7.41 7.41L6.09 12l1.41-1.41z"}}]},checkCircleFilled=defineComponent({name:"CheckCircleFilledIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:l}=n,r=computed(()=>e.size),{className:u,style:o}=useSizeProps(r),t=computed(()=>["t-icon","t-icon-check-circle-filled",u.value]),a=computed(()=>_objectSpread$5(_objectSpread$5({},o.value),l.style)),m=computed(()=>({class:t.value,style:a.value,onClick:f=>{var g;return(g=e.onClick)===null||g===void 0?void 0:g.call(e,{e:f})}}));return()=>renderFn(element$3,m.value)}});const CheckCircleFilledIcon=checkCircleFilled;function ownKeys$4(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),l.push.apply(l,r)}return l}function _objectSpread$4(e){for(var n=1;n<arguments.length;n++){var l=arguments[n]!=null?arguments[n]:{};n%2?ownKeys$4(Object(l),!0).forEach(function(r){_defi
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function useGlobalIcon(e){var n=useConfig("icon"),l=n.globalConfig,r={};return Object.keys(e).forEach(function(u){var o;r[u]=((o=l.value)===null||o===void 0?void 0:o[u])||e[u]}),r}/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var TDisplayNoneElementRefresh="t-display-none-element-refresh";function useDestroyOnClose(){var e=ref(0);provide(TDisplayNoneElementRefresh,e),onUpdated(function(){e.value+=1})}/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function last$1(e){var n=e==null?0:e.length;return n?e[n-1]:void 0}var last_1=last$1;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var _Symbol=_Symbol$2$1,isArguments=isArguments_1,isArray=isArray_1,spreadableSymbol=_Symbol?_Symbol.isConcatSpreadable:void 0;function isFlattenable$1(e){return isArray(e)||isArguments(e)||!!(spreadableSymbol&&e&&e[spreadableSymbol])}var _isFlattenable=isFlattenable$1,arrayPush=_arrayPush,isFlattenable=_isFlattenable;function baseFlatten$1(e,n,l,r,u){var o=-1,t=e.length;for(l||(l=isFlattenable),u||(u=[]);++o<t;){var a=e[o];n>0&&l(a)?n>1?baseFlatten$1(a,n-1,l,r,u):arrayPush(u,a):r||(u[u.length]=a)}return u}var _baseFlatten=baseFlatten$1,baseFlatten=_baseFlatten;function flatten$1(e){var n=e==null?0:e.length;return n?baseFlatten(e,1):[]}var flatten_1=flatten$1,flatten=flatten_1,overRest=_overRest,setToString=_setToString;function flatRest$1(e){return setToString(overRest(e,void 0,flatten),e+"")}var _flatRest=flatRest$1;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var baseGet=_baseGet,baseSlice=_baseSlice;function parent$1(e,n){return n.length<2?e:baseGet(e,baseSlice(n,0,-1))}var _parent=parent$1,castPath$1=_castPath,last=last_1,parent=_parent,toKey=_toKey;function baseUnset$1(e,n){return n=castPath$1(n,e),e=parent(e,n),e==null||delete e[toKey(last(n))]}var _baseUnset=baseUnset$1,isPlainObject=isPlainObject_1;function customOmitClone$1(e){return isPlainObject(e)?void 0:e}var _customOmitClone=customOmitClone$1,arrayMap=_arrayMap,baseClone=_baseClone,baseUnset=_baseUnset,castPath=_castPath,copyObject=_copyObject,customOmitClone=_customOmitClone,flatRest=_flatRest,getAllKeysIn=_getAllKeysIn,CLONE_DEEP_FLAG=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG=4,omit=flatRest(function(e,n){var l={};if(e==null)return l;var r=!1;n=arrayMap(n,function(o){return o=castPath(o,e),r||(r=o.length>1),o}),copyObject(e,getAllKeysIn(e),l),r&&(l=baseClone(l,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG,customOmitClone));for(var u=n.length;u--;)baseUnset(l,n[u]);return l}),omit_1=omit;/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function _classCallCheck(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,n){for(var l=0;l<n.length;l++){var r=n[l];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,toPropertyKey(r.key),r)}}function _createClass(e,n,l){return n&&_defineProperties(e.prototype,n),l&&_defineProperties(e,l),Object.defineProperty(e,"prototype",{writable:!1}),e}/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var props={attach:{type:[String,Function]},body:{type:[String,Function]},cancelBtn:{type:[String,Object,Function]},closeBtn:{type:[String,Boolean,Function],default:!0},closeOnEscKeydown:{type:Boolean,default:void 0},closeOnOverlayClick:{type:Boolean,default:void 0},confirmBtn:{type:[String,Object,Function]},confirmLoading:{type:Boolean,default:void 0},confirmOnEnter:Boolean,default:{type:[String,Function]},destroyOnClose:Boolean,draggable:Boolean,footer:{type:[Boolean,Function],default:!0},header:{type:[String,Boolean,Function],default:!0},mode:{type:String,default:"modal",validator:function e(n){return n?["modal","modeless","normal","full-screen"].includes(n):!0}},placement:{type:String,default:"top",validator:function e(n){return n?["top","center"].includes(n):!0}},preventScrollThrough:{type:Boolean,default:!0},showInAttachedElement:Boolean,showOverlay:{type:Boolean,default:!0},theme:{type:String,default:"default",validator:function e(n){return n?["default","info","warning","danger","success"].includes(n):!0}},top:{type:[String,Number]},visible:Boolean,width:{type:[String,Number]},zIndex:{type:Number},onCancel:Function,onClose:Function,onCloseBtnClick:Function,onClosed:Function,onConfirm:Function,onEscKeydown:Function,onOpened:Function,onOverlayClick:Function};const index$a="";/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function ownKeys$1(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),l.push.apply(l,r)}return l}function _objectSpread$1(e){for(var n=1;n<arguments.length;n++){var l=arguments[n]!=null?arguments[n]:{};n%2?ownKeys$1(Object(l),!0).forEach(function(r){_defineProperty$2(e,r,l[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):ownKeys$1(Object(l)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(l,r))})}return e}function useAction(e){var n=getCurrentInstance(),l=useTNodeJSX(),r=function(f){var g,$=f.globalConfirm,S=f.theme,F=f.globalConfirmBtnTheme,v=((g=omit_1(F,["info"]))===null||g===void 0?void 0:g[S])||"primary",y={theme:v,size:f.size,onClick:function(A){e.confirmBtnAction(A)}};return isString_1($)?y.content=$:isObject_1($)&&(y=_objectSpread$1(_objectSpread$1({},y),$)),y},u=function(f){var g=f.globalCancel,$={theme:"default",size:f.size,onClick:function(F){e.cancelBtnAction(F)}};return isString_1(g)?$.content=g:isObject_1(g)&&($=_objectSpread$1(_objectSpread$1({},$),g)),$},o=function(f,g){var $=g.defaultButtonProps,S=g.className,F=g.confirmLoading,v=$;return isString_1(f)?v.content=f:isObject_1(f)&&(v=_objectSpread$1(_objectSpread$1({},v),f)),F!==void 0&&(v.loading=F),createVNode(Button,mergeProps({class:S},v),null)},t=function(f){var g=f.confirmBtn,$=f.className,S=f.confirmLoading;if(g===null)return null;g&&n.slots.confirmBtn&&console.warn("Both $props.confirmBtn and $scopedSlots.confirmBtn exist, $props.confirmBtn is preferred.");var F=r(f);return!g&&!n.slots.confirmBtn?createVNode(Button,mergeProps({class:$,loading:S},F),null):g&&["string","object"].includes(_typeof(g))?o(g,{defaultButtonProps:F,className:$,confirmLoading:S}):l("confirmBtn")},a=function(f){var g=f.cancelBtn,$=f.className;if(g===null)return null;g&&n.slots.cancelBtn&&console.warn("Both $props.cancelBtn and $scopedSlots.cancelBtn exist, $props.cancelBtn is preferred.");var S=u(f);return!g&&!n.slots.cancelBtn?createVNode(Button,mergeProps({class:$},S),null):g&&["string","object"].includes(_typeof(g))?o(g,{defaultButtonProps:S}):l("cancelBtn")};return{getConfirmBtn:t,getCancelBtn:a}}function useSameTarget(e){var n=!1,l=!1,r=function(a){n&&l&&e(a),n=!1,l=!1},u=function(a){n=a.target===a.currentTarget},o=function(a){l=a.target===a.currentTarget};return{onClick:r,onMousedown:u,onMouseup:o}}/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function getScrollbarWidthWithCSS(){var e=6;if(typeof navigator>"u"||!navigator||/(Chrome|Safari)/i.test(navigator.userAgent))return e;var n=document.createElement("div");n.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(n);var l=n.offsetWidth-n.clientWidth;return document.body.removeChild(n),/Firefox/.test(navigator.userAgent)&&(l-=4),getIEVersion()<=11&&(l=12),l}function getScrollbarWidth(){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e);var n=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),n}/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var POPUP_BASE_Z_INDEX=1e3,MESSAGE_BASE_Z_INDEX=5e3,Z_INDEX_STEP=1,PopupManager=_createClass(function e(){var n=this;_classCallCheck(this,e),_defineProperty$2(this,"popupStack",{popup:new Set,dialog:new Set,message:new Set}),_defineProperty$2(this,"getNextZIndex",function(l){var r=l==="message"?Array.from(n.popupStack.message).pop()||MESSAGE_BASE_Z_INDEX:Array.from(n.popupStack.popup).pop()||POPUP_BASE_Z_INDEX;return r+Z_INDEX_STEP}),_defineProperty$2(this,"add",function(l){var r=n.getNextZIndex(l);return n.popupStack[l].add(r),l==="dialog"&&n.popupStack.popup.add(r),r}),_defineProperty$2(this,"delete",function(l,r){n.popupStack[r].delete(l),r==="dialog"&&n.popupStack.popup.delete(l)}),_defineProperty$2(this,"isLastDialog",function(l){return n.popupStack.dialog.size>1?l===Array.from(n.popupStack.dialog).pop():!0})}),popupManager=new PopupManager;function usePopupManager(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=n.visible,r=n.runOnMounted,u=ref(0),o=function(){u.value=popupManager.add(e)},t=function(){popupManager.delete(u.value,e)},a=function(){return e==="dialog"?popupManager.isLastDialog(u.value):!1};return watch(function(){return l==null?void 0:l.value},function(m){m?o():t()},{immediate:!0}),r&&(onMounted(function(){o()}),onBeforeUnmount(function(){t()})),{zIndex:readonly(u),open:o,close:t,isLastDialog:a}}/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function GetCSSValue(e){return Number.isNaN(Number(e))?e:"".concat(Number(e),"px")}var mousePosition,getClickPosition=function e(n){mousePosition={x:n.clientX,y:n.clientY},setTimeout(function(){mousePosition=null},100)};typeof window<"u"&&window.document&&window.document.documentElement&&document.documentElement.addEventListener("click",getClickPosition,!0);function InitDragEvent(e){var n=e,l=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight;n.addEventListener("mousedown",function(u){var o=u.clientX-n.offsetLeft,t=u.clientY-n.offsetTop,a=n.offsetWidth,m=n.offsetHeight;if(a>l||m>r)return;function f($){var S=$.clientX-o,F=$.clientY-t;S<0&&(S=0),F<0&&(F=0),l-n.offsetWidth-S<0&&(S=l-n.offsetWidth),r-n.offsetHeight-F<0&&(F=r-n.offsetHeight),n.style.position="absolute",n.style.left="".concat(S,"px"),n.style.top="".concat(F,"px")}function g(){document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",g)}document.addEventListener("mousemove",f),document.addEventListener("mouseup",g),document.addEventListener("dragend",g)})}var key=1,_Dialog=defineComponent({name:"TDialog",directives:{draggable:function e(n,l){n&&l&&l.value&&InitDragEvent(n)}},inheritAttrs:!1,props,emits:["update:visible"],setup:function e(n,l){var r=this,u=usePrefixClass("dialog"),o=usePrefixClass(),t=useContent(),a=useTNodeJSX(),m=ref(null),f=useConfig("dialog"),g=f.globalConfig,$=useGlobalIcon({CloseIcon,InfoCircleFilledIcon,CheckCircleFilledIcon,ErrorCircleFilledIcon}),S=$.CloseIcon,F=$.InfoCircleFilledIcon,v=$.CheckCircleFilledIcon,y=$.ErrorCircleFilledIcon,E=function(l2){var p2;(p2=n.onConfirm)===null||p2===void 0||p2.call(n,{e:l2})},A=function(l2){var p2;(p2=n.onCancel)===null||p2===void 0||p2.call(n,{e:l2}),V({e:l2,trigger:"cancel"})},D=useAction({confirmBtnAction:E,cancelBtnAction:A}),K=D.getConfirmBtn,N=D.getCancelBtn,G=useTeleport(function(){return n.attach});useDestroyOnClose();var r2=ref(),T=ref(),J=computed(function(){return n.mode==="modal"}),U=computed(function(){return n.mode==="modeless"}),$2=computed(function(){return n.mode==="normal"}),W=computed(function(){return n.mode==="full-screen"}),P2=computed(function(){return n.visible}),x2=computed(function(){return["".concat(u.value,"__mask"),!n.showOverlay&&"".concat(o.value,"-is-hidden")]}),F2=computed(function(){return $2.value?[]:W.value?["".concat(u.value,"__position_fullscreen")]:["".concat(u.value,"__position"),!!n.top&&"".concat(u.value,"--top"),"".concat(n.placement&&!n.top?"".concat(u.value,"--").concat(n.placement):"")]}),w2=computed(function(){return[!$2.value&&"".concat(u.value,"__wrap")]}),C2=computed(function(){if(W.value)return{};var m2=n.top,l2={};if(m2!==void 0){var p2=GetCSSValue(m2);l2={paddingTop:p2}}return l2}),D2=computed(function(){var m2=["".concat(u.value),"".concat(u.value,"__modal-").concat(n.theme),U.value&&n.draggable&&"".concat(u.value,"--draggable")];return W.value?m2.push("".concat(u.value,"__fullscreen")):m2.push.apply(m2,["".concat(u.value,"--default"),"".concat(u.value,"--").concat(n.placement)]),m2}),M2=computed(function(){return W.value?{}:{width:GetCSSValue(n.width)}}),R2=usePopupManager("dialog",{visible:P2}),A2=R2.isLastDialog;watch(function(){return n.visible},function(m2){if(m2){var l2;(J.value&&!n.showInAttachedElement||W.value)&&(n.preventScrollThrough&&document.body.appendChild(T.value),nextTick(function(){mousePosition&&m.value&&(m.value.style.transformOrigin="".concat(mousePosition.x-m.value.offsetLeft,"px ").concat(mousePosition.y-m.value.offsetTop,"px"))})),(l2=document.activeElement)===null||l2===void 0||l2.blur()}else z2();u3(m2)});function q2(){var m2,l2;(m2=T.value.parentNode)===null||m2===void 0||(l2=m2.removeChild)===null||l2===void 0||l2.call(m2,T.value)}function z2(){clearTimeout(r2.value),r2.value=setTimeout(function(){q2()},150)}var u3=function(l2){l2?(document.addEventListener("keydown",o3),n.confirmOnEnter&&document.addEventListener("keydown",d3)):(document.removeEventListener("keydown",o3),n.confirmOnEnter&&document.removeEventListener("keydown
html body {
overflow-y: hidden;
width: calc(100% - `.concat(l2,`px);
}
`)}),onBeforeUnmount(function(){u3(!1),q2()}),{COMPONENT_NAME:u,isModal:J,isModeLess:U,isFullScreen:W,maskClass:x2,dialogClass:D2,dialogStyle:M2,dialogEle:m,afterEnter:b2,afterLeave:T2,hasEventOn:k2,renderDialog:m3,teleportElement:G}},render:function e(){var n=this,l=this.COMPONENT_NAME,r=(this.isModal||this.isFullScreen)&&createVNode("div",{key:"mask",class:this.maskClass},null),u=this.renderDialog(),o=[r,u],t={zIndex:this.zIndex},a=["".concat(l,"__ctx"),_defineProperty$2(_defineProperty$2(_defineProperty$2({},"".concat(l,"__ctx--fixed"),this.isModal||this.isFullScreen),"".concat(l,"__ctx--absolute"),this.isModal&&this.showInAttachedElement),"".concat(l,"__ctx--modeless"),this.isModeLess)];return createVNode(Teleport,{disabled:!this.attach||!this.teleportElement,to:this.teleportElement},{default:function(){return[createVNode(Transition,{duration:300,name:"".concat(l,"-zoom__vue"),onAfterEnter:n.afterEnter,onAfterLeave:n.afterLeave},{default:function(){return[(!n.destroyOnClose||n.visible)&&withDirectives(createVNode("div",mergeProps({class:a,style:t},n.$attrs),[o]),[[vShow,n.visible]])]}})]}})}});/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/function ownKeys(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),l.push.apply(l,r)}return l}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var l=arguments[n]!=null?arguments[n]:{};n%2?ownKeys(Object(l),!0).forEach(function(r){_defineProperty$2(e,r,l[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):ownKeys(Object(l)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(l,r))})}return e}var createDialog=function e(n){var l=_objectSpread({},n),r=document.createElement("div"),u=ref(!1),o=l.className,t=l.style,a=o,m=function(y,E){if(y){if(a&&a!==y){var A;(A=r.firstElementChild.classList).remove.apply(A,_toConsumableArray(a.split(" ").map(function(D){return D.trim()})))}y.split(" ").forEach(function(D){r.firstElementChild.classList.add(D.trim())})}E&&(r.firstElementChild.style.cssText+=E),a=y},f=defineComponent({setup:function(y,E){var A=E.expose,D=ref(l);onMounted(function(){u.value=!0,document.activeElement.blur(),nextTick(function(){m(o,t)})});var K=function(G){D.value=_objectSpread(_objectSpread({},l),G)};return A({update:K}),function(){var N=l.onClose||function(){u.value=!1};return delete l.className,delete l.style,h(_Dialog,_objectSpread({onClose:N,visible:u.value},D.value))}}}),g=createApp(f),$=g.mount(r),S=getAttach(l.attach);S?S.appendChild(r):console.error("attach is not exist");var F={show:function(){u.value=!0},hide:function(){u.value=!1},update:function(y){$.update(omit_1(y,["className","style"])),m(y.className,y.style)},destroy:function(){u.value=!1,setTimeout(function(){g.unmount(),r.remove()},300)},setConfirmLoading:function(y){$.update({confirmLoading:y})}};return F},confirm$1=function e(n){return createDialog(n)},alert=function e(n){var l=_objectSpread({},n);return l.cancelBtn=null,createDialog(l)},extraApi={confirm:confirm$1,alert},DialogPlugin=createDialog;DialogPlugin.install=function(e){e.config.globalProperties.$dialog=createDialog,Object.keys(extraApi).forEach(function(n){e.config.globalProperties.$dialog[n]=extraApi[n]})};Object.keys(extraApi).forEach(function(e){DialogPlugin[e]=extraApi[e]});/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var configProviderProps={globalConfig:Object},_ConfigProvider=defineComponent({name:"TConfigProvider",props:configProviderProps,setup:function e(n){provideConfig(n);var l=useTNodeJSX();return function(){return createVNode(Fragment,null,[l("default")])}}});/**
2024-06-15 00:08:13 +00:00
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var ConfigProvider=withInstall(_ConfigProvider);const index$9="";/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
*/var zhCn={pagination:{itemsPerPage:"{size} \u6761/\u9875",jumpTo:"\u8DF3\u81F3",page:"\u9875",total:"\u5171 {total} \u6761\u6570\u636E"},cascader:{empty:"\u6682\u65E0\u6570\u636E",loadingText:"\u52A0\u8F7D\u4E2D",placeholder:"\u8BF7\u9009\u62E9"},calendar:{yearSelection:"{year} \u5E74",monthSelection:"{month} \u6708",yearRadio:"\u5E74",monthRadio:"\u6708",hideWeekend:"\u9690\u85CF\u5468\u672B",showWeekend:"\u663E\u793A\u5468\u672B",today:"\u4ECA\u5929",thisMonth:"\u672C\u6708",week:"\u4E00,\u4E8C,\u4E09,\u56DB,\u4E94,\u516D,\u65E5",cellMonth:"1 \u6708,2 \u6708,3 \u6708,4 \u6708,5 \u6708,6 \u6708,7 \u6708,8 \u6708,9 \u6708,10 \u6708,11 \u6708,12 \u6708"},transfer:{title:"{checked} / {total} \u9879",empty:"\u6682\u65E0\u6570\u636E",placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22"},timePicker:{dayjsLocale:"zh-cn",now:"\u6B64\u523B",confirm:"\u786E\u5B9A",anteMeridiem:"\u4E0A\u5348",postMeridiem:"\u4E0B\u5348",placeholder:"\u9009\u62E9\u65F6\u95F4"},dialog:{confirm:"\u786E\u8BA4",cancel:"\u53D6\u6D88"},drawer:{confirm:"\u786E\u8BA4",cancel:"\u53D6\u6D88"},popconfirm:{confirm:{content:"\u786E\u5B9A"},cancel:{content:"\u53D6\u6D88"}},table:{empty:"\u6682\u65E0\u6570\u636E",loadingText:"\u6B63\u5728\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u7A0D\u540E",loadingMoreText:"\u70B9\u51FB\u52A0\u8F7D\u66F4\u591A",filterInputPlaceholder:"\u8BF7\u8F93\u5165\u5185\u5BB9\uFF08\u65E0\u9ED8\u8BA4\u503C\uFF09",sortAscendingOperationText:"\u70B9\u51FB\u5347\u5E8F",sortCancelOperationText:"\u70B9\u51FB\u53D6\u6D88\u6392\u5E8F",sortDescendingOperationText:"\u70B9\u51FB\u964D\u5E8F",clearFilterResultButtonText:"\u6E05\u7A7A\u7B5B\u9009",columnConfigButtonText:"\u5217\u914D\u7F6E",columnConfigTitleText:"\u8868\u683C\u5217\u914D\u7F6E",columnConfigDescriptionText:"\u8BF7\u9009\u62E9\u9700\u8981\u5728\u8868\u683C\u4E2D\u663E\u793A\u7684\u6570\u636E\u5217",confirmText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",resetText:"\u91CD\u7F6E",selectAllText:"\u5168\u9009",searchResultText:"\u641C\u7D22\u201C{result}\u201D\uFF0C\u627E\u5230 {count} \u6761\u7ED3\u679C"},select:{empty:"\u6682\u65E0\u6570\u636E",loadingText:"\u52A0\u8F7D\u4E2D",placeholder:"\u8BF7\u9009\u62E9"},tree:{empty:"\u6682\u65E0\u6570\u636E"},treeSelect:{empty:"\u6682\u65E0\u6570\u636E",loadingText:"\u52A0\u8F7D\u4E2D",placeholder:"\u8BF7\u9009\u62E9"},datePicker:{dayjsLocale:"zh-cn",placeholder:{date:"\u8BF7\u9009\u62E9\u65E5\u671F",month:"\u8BF7\u9009\u62E9\u6708\u4EFD",year:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarter:"\u8BF7\u9009\u62E9\u5B63\u5EA6",week:"\u8BF7\u9009\u62E9\u5468"},weekdays:["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u65E5"],months:["1 \u6708","2 \u6708","3 \u6708","4 \u6708","5 \u6708","6 \u6708","7 \u6708","8 \u6708","9 \u6708","10 \u6708","11 \u6708","12 \u6708"],quarters:["\u4E00\u5B63\u5EA6","\u4E8C\u5B63\u5EA6","\u4E09\u5B63\u5EA6","\u56DB\u5B63\u5EA6"],rangeSeparator:" - ",direction:"ltr",format:"YYYY-MM-DD",dayAriaLabel:"\u65E5",weekAbbreviation:"\u5468",yearAriaLabel:"\u5E74",monthAriaLabel:"\u6708",confirm:"\u786E\u5B9A",selectTime:"\u9009\u62E9\u65F6\u95F4",selectDate:"\u9009\u62E9\u65E5\u671F",nextYear:"\u4E0B\u4E00\u5E74",preYear:"\u4E0A\u4E00\u5E74",nextMonth:"\u4E0B\u4E2A\u6708",preMonth:"\u4E0A\u4E2A\u6708",preDecade:"\u4E0A\u4E2A\u5341\u5E74",nextDecade:"\u4E0B\u4E2A\u5341\u5E74",now:"\u5F53\u524D"},upload:{sizeLimitMessage:"\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 {sizeLimit}",cancelUploadText:"\u53D6\u6D88\u4E0A\u4F20",triggerUploadText:{fileInput:"\u9009\u62E9\u6587\u4EF6",image:"\u70B9\u51FB\u4E0A\u4F20\u56FE\u7247",normal:"\u70B9\u51FB\u4E0A\u4F20",reupload:"\u91CD\u65B0\u9009\u62E9",continueUpload:"\u7EE7\u7EED\u9009\u62E9",delete:"\u5220\u9664",uploading:"\u4E0A\u4F20\u4E2D"},dragger:{dragDropText:"\u91CA\u653E\u9F20\u6807",draggingText:"\u62D6\u62FD\u5230\u6B64\u533A\u57DF",clickAndDragText:"\u70B9\u51FB\u4E0A\u65B9\u201C\u9009\u62E9\u6587\u4EF6\u201D\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64\u533A\u57DF"},file:{fileNameText:"\u6587\u4EF6\u540D",fileSizeText:"\u6587\u4EF6\u5927\u5C0F",fileStatusText:"\u72B6\u6001",
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
2024-07-20 03:44:29 +00:00
*/var enUs={pagination:{itemsPerPage:"{size} / page",jumpTo:"Jump to",page:"",total:"{total} items"},cascader:{empty:"Empty Data",loadingText:"loading...",placeholder:"please select"},calendar:{yearSelection:"{year}",monthSelection:"{month}",yearRadio:"year",monthRadio:"month",hideWeekend:"Hide Week",showWeekend:"Show Week",today:"Today",thisMonth:"This Month",week:"Monday,Tuesday,Wedsday,Thuresday,Friday,Saturday,Sunday",cellMonth:"January,February,March,April,May,June,July,August,September,October,November,December"},transfer:{title:"{checked} / {total}",empty:"Empty Data",placeholder:"enter keyword to search"},timePicker:{dayjsLocale:"en",now:"Now",confirm:"Confirm",anteMeridiem:"AM",postMeridiem:"PM",placeholder:"please select"},dialog:{confirm:"Confirm",cancel:"Cancel"},drawer:{confirm:"Confirm",cancel:"Cancel"},popconfirm:{confirm:{content:"OK"},cancel:{content:"Cancel"}},table:{empty:"Empty Data",loadingText:"loading...",loadingMoreText:"loading more",filterInputPlaceholder:"",sortAscendingOperationText:"click to sort ascending",sortCancelOperationText:"click to cancel sorting",sortDescendingOperationText:"click to sort descending",clearFilterResultButtonText:"Clear",columnConfigButtonText:"Column Config",columnConfigTitleText:"Table Column Config",columnConfigDescriptionText:"Please select columns to show them in the table",confirmText:"Confirm",cancelText:"Cancel",resetText:"Reset",selectAllText:"Select All",searchResultText:'Search "{result}". Find {count} items.'},select:{empty:"Empty Data",loadingText:"loading...",placeholder:"please select"},tree:{empty:"Empty Data"},treeSelect:{empty:"Empty Data",loadingText:"loading...",placeholder:"please select"},datePicker:{dayjsLocale:"en",placeholder:{date:"select date",month:"select month",year:"select year",quarter:"select quarter",week:"select week"},weekdays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],quarters:["Q1","Q2","Q3","Q4"],rangeSeparator:" - ",direction:"ltr",format:"YYYY-MM-DD",dayAriaLabel:"D",yearAriaLabel:"Y",monthAriaLabel:"M",weekAbbreviation:"W",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",nextYear:"Next Year",preYear:"Last Year",nextMonth:"Next Month",preMonth:"Last Month",preDecade:"Last Decade",nextDecade:"Next Decade",now:"Now"},upload:{sizeLimitMessage:"File is too large to upload. {sizeLimit}",cancelUploadText:"Cancel",triggerUploadText:{fileInput:"Upload",image:"Click to upload",normal:"Upload",reupload:"ReUpload",continueUpload:"Continue Upload",delete:"Delete",uploading:"Uploading"},dragger:{dragDropText:"Drop here",draggingText:"Drag file to this area to upload",clickAndDragText:'Click "Upload" or Drag file to this area to upload'},file:{fileNameText:"filename",fileSizeText:"size",fileStatusText:"status",fileOperationText:"operation",fileOperationDateText:"date"},progress:{uploadingText:"Uploading",waitingText:"Waiting",failText:"Failed",successText:"Success"}},form:{errorMessage:{date:"${name} is invalid",url:"${name} is invalid",required:"${name} is required",max:"${name} must be at least ${validate} characters",min:"${name} cannot be longer than ${validate} characters",len:"${name} must be exactly ${validate} characters",enum:"${name} must be one of ${validate}",idcard:"${name} is invalid",telnumber:"${name} is invalid",pattern:"${name} is invalid",validator:"${name} is invalid",boolean:"${name} is not a boolean",number:"${name} must be a number"}},input:{placeholder:"please enter"},list:{loadingText:"loading...",loadingMoreText:"loading more"},alert:{expandText:"expand",collapseText:"collapse"},anchor:{copySuccessText:"copy the link successfully",copyText:"copy link"},colorPicker:{swatchColorTitle:"System Default",recentColorTitle:"Recently Used",clearConfirmText:"Clear recently used colors?"},guide:{finishButtonProps:{content:"Finish",theme:"primary"},nextButtonProps:{content:"Next Step",theme:"primary"},skipButtonProps:{content:"Skip",theme:"default"},prevButtonProps:{content:"Last Step",theme:"default"}},image:{errorText:"unabl
Error.stack: `+p.stack;if(typeof p=="object"&&p!==null){if(s.has(p))return"[Circular "+(d||"root")+"]";s.add(p)}return p}},m2=function(s){if(typeof s=="string")return s;try{return s instanceof Error?(JSON.stringify(s,m3(),4)||"undefined").replace(/"/gim,""):JSON.stringify(s,m3(),4)||"undefined"}catch(d){return`error happen when aegis stringify:
`+d.message+`
`+d.stack}},l2=function(s){if(typeof s=="string")return s;try{return JSON.stringify(s,m3())||"undefined"}catch(d){return`error happen when aegis stringify:
`+d.message+`
`+d.stack}},p2=function(s,d){d===void 0&&(d=3);var p,k,C,w="";return Array.isArray(s)?(w+="[",p=s.length,s.forEach(function(I,x){w=(w+=typeof I=="object"&&1<d?p2(I,d-1):i3(I))+(x===p-1?"":",")}),w+="]"):s instanceof Object?(w="{",k=Object.keys(s),C=k.length,k.forEach(function(I,x){typeof s[I]=="object"&&1<d?w+='"'+I+'":'+p2(s[I],d-1):w+=L2(I,s[I]),w+=x===C-1||x<C-1&&s[k[x+1]]===void 0?"":","}),w+="}"):w+=s,w},L2=function(s,d){var p=typeof d,k="";return p=="string"||p=="object"?k+='"'+s+'":"'+d+'"':typeof d=="function"?k+='"'+s+'":"function '+d.name+'"':typeof d=="symbol"?k+='"'+s+'":"symbol"':typeof d!="number"&&p!="boolean"||(k+='"'+s+'": '+d),k},i3=function(s){var d=typeof s;return""+(d=="undefined"||d=="symbol"||d=="function"?"null":d=="string"||d=="object"?'"'+s+'"':s)},I3=/data:(image|text|application|font)\/.*;base64/,b3=((Y=a2=a2||{}).INFO_ALL="-1",Y.API_RESPONSE="1",Y.INFO="2",Y.ERROR="4",Y.PROMISE_ERROR="8",Y.AJAX_ERROR="16",Y.SCRIPT_ERROR="32",Y.IMAGE_ERROR="64",Y.CSS_ERROR="128",Y.CONSOLE_ERROR="256",Y.MEDIA_ERROR="512",Y.RET_ERROR="1024",Y.REPORT="2048",Y.PV="4096",Y.EVENT="8192",Y.PAGE_NOT_FOUND_ERROR="16384",Y.WEBSOCKET_ERROR="32768",Y.BRIDGE_ERROR="65536",Y.LAZY_LOAD_ERROR="131072",(Y=b2=b2||{}).LOG="log",Y.SPEED="speed",Y.PERFORMANCE="performance",Y.OFFLINE="offline",Y.WHITE_LIST="whiteList",Y.VITALS="vitals",Y.PV="pv",Y.CUSTOM_PV="customPV",Y.EVENT="event",Y.CUSTOM="custom",Y.SDK_ERROR="sdkError",Y.SET_DATA="setData",Y.LOAD_PACKAGE="loadPackage",(Y=T2=T2||{}).production="production",Y.development="development",Y.gray="gray",Y.pre="pre",Y.daily="daily",Y.local="local",Y.test="test",Y.others="others",function(s){return s.filter(function(d,p){return d.type!=="static"||!s.find(function(k,C){return d.url===k.url&&d.status===200&&p<C})})}),p3=function(s){s.level===a2.INFO_ALL&&(s.level=a2.INFO)},g2={},z={},R=function(s){return g2[s]||(g2[s]=setTimeout(function(){z[s]={},g2[s]=null},6e4)),g2[s]},h2=function(s){return(Array.isArray(s)?s:[s]).map(function(d){return Object.getOwnPropertyNames(d).reduce(function(p,k){return k!=="ctx"&&(p[k]=d[k]),p},{level:a2.INFO,msg:""})})},S2=function(s){return function(d){return s.sendPipeline([function(p,k){return k({url:s.config.url||"",data:x2(h2(p)),method:"post",contentType:"application/json",type:b2.LOG,log:p,requestConfig:{timeout:5e3},success:function(){var C=s.config.onReport;typeof C=="function"&&p.forEach(function(w){C(w)}),typeof k=="function"&&k([])}})}],b2.LOG)(d)}},U2=function(){},Y=(c2.use=function(s){c2.installedPlugins.indexOf(s)===-1&&s.aegisPlugin&&c2.installedPlugins.push(s)},c2.unuse=function(s){s=c2.installedPlugins.indexOf(s),s!==-1&&c2.installedPlugins.splice(s,1)},c2.prototype.init=function(s){this.setConfig(s);for(var d=0;d<c2.installedPlugins.length;d++)try{c2.installedPlugins[d].patch(this)}catch(p){this.sendSDKError(p)}this.lifeCycle.emit("onInited")},c2.prototype.destroy=function(s){s===void 0&&(s=!1);var d,p,k=c2.instances.indexOf(this);k!==-1&&c2.instances.splice(k,1);for(var C=c2.installedPlugins.length-1;0<=C;C--)try{c2.installedPlugins[C].unpatch(this)}catch(I){this.sendSDKError(I)}if(this.lifeCycle.emit("destroy"),this.lifeCycle.clear(),s)d=this,p=Object.getOwnPropertyDescriptors(d),Object.keys(p).forEach(function(I){p[I].writable&&(d[I]=null)}),Object.setPrototypeOf(this,null);else{for(var w=this;w.constructor!==Object&&J2(w,this),w=Object.getPrototypeOf(w););c2.instances.length===0&&(k=Object.getPrototypeOf(this).constructor,J2(k),J2(c2))}},c2.prototype.setConfig=function(O){Object.assign(this.config,O);var O=this.config,d=O.id,p=O.uin,k=O.version,C=O.ext1,w=O.ext2,I=O.ext3,x=O.aid,L=O.env,P=L===void 0?"production":L,L=O.pageUrl,O=this.bean.id!==d||this.bean.uin!==p||this.bean.aid!==x;return this.bean.id=d||"",this.bean.uin=p||"",this.bean.version=k||"1.39.1",this.bean.aid=x||"",this.bean.env=function(){switch(P){case T2.production:case T2.development:case T2.gray:case T2.pre:case T2.daily:case T2.local:case T2.test:case T2.others:return 1;default:return}}()?P:T2.others,L&&this.extendBean("from",encodeURIComponent(L.slice(0,2048))),C&&th
2024-06-15 00:08:13 +00:00
2024-07-20 03:44:29 +00:00
`)+p+" header "+C+": "+w:k},""):""}function F3(s,d){return s&&["null","undefined"].indexOf(s)===-1?d+": "+s:""}function x3(w,d,p){d===void 0&&(d="");var k,C,w=typeof((C=w.api)==null?void 0:C.resourceTypeHandler)=="function"?(C=w.api)==null?void 0:C.resourceTypeHandler(p):"";return S.indexOf(w)===-1&&(k=d===void 0?"":d,C=(p===void 0?"":p).split("?")[0],w=k2.test(C)||V.some(function(I){return String(k).indexOf(I)!==-1})?"static":"fetch"),w}function A3(s,d){return s?a2.AJAX_ERROR:d?a2.RET_ERROR:a2.API_RESPONSE}function P3(s,d){return(s=s.api)!=null&&s.usePerformanceTiming&&typeof d.url=="string"&&(s=(s=performance.getEntriesByName(d.url))==null?void 0:s.pop(),s)?{url:d.url,isHttps:M2(d.url),method:d.method,type:d.type,status:d.status,duration:Number(s.duration.toFixed(2)),nextHopProtocol:s.nextHopProtocol||"",domainLookup:w2(s.domainLookupEnd-s.domainLookupStart),connectTime:w2(s.connectEnd-s.connectStart)}:{url:d.url,isHttps:M2(d.url),method:d.method,type:d.type,status:d.status,duration:Number(d.duration.toFixed(2)),nextHopProtocol:"",domainLookup:J.number,connectTime:J.number}}var Y3,e2,h3,Q3,Z2,W3,V3,ee=!(t2.isIE=function(){return"ActiveXObject"in window}),a3=[],ke=/^\/[^/]/,$e=!1,n3=[],nn=(new B2({name:"reportApiSpeed"}),new B2({name:"reportApiSpeed",override:!1,onNewAegis:function(s){var d,p;this.override||(this.override=!0,(p=s.config.api)!=null&&p.injectTraceHeader&&(this.traceRequestHeader=new W(p.injectTraceHeader,(d=p==null?void 0:p.injectTraceIgnoreUrls)!=null?d:[],p==null?void 0:p.injectTraceUrls)),this.overrideFetch(s.config,s),this.overrideXhr(s.config,s))},overrideFetch:function(s,d){var p=this,k=s.api,k={name:this.name,traceRequestHeader:k!=null&&k.injectTraceHeader?this.traceRequestHeader:null,then:function(I,x,P,L){var O,M;q2(P,s.hostUrl)||(O=I.headers?I.headers.get("content-type"):"",(M=x3(s,O||"",P))==="fetch"?I.clone().text().then(function(q){var H,d2=I.status<=0||400<=I.status,Q=((Q=s.api)==null?void 0:Q.reqHeaders)||[],f2=C3(L==null?void 0:L.headers,Q,"req"),Q=((Q=s.api)==null?void 0:Q.resHeaders)||[],s2=C3(I.headers,Q,"res"),u2=T(L==null?void 0:L.headers),Q=R2(q,s.api,{url:P,ctx:I,payload:L==null?void 0:L.body}),n2=Q.code,o2=Q.isErr,Q=(Q=s.api)==null?void 0:Q.apiDetail,y2=Q?A2(L==null?void 0:L.body,(H=s.api)==null?void 0:H.reqParamHandler,{url:P}):"",r3=Q?A2(q,(H=s.api)==null?void 0:H.resBodyHandler,{url:P,ctx:I}):"";setTimeout(function(){var I2=P3(s,{url:P,duration:x,type:M,status:I.status||0,method:(L==null?void 0:L.method)||"get"}),K2=[d2?"FETCH_ERROR: "+q:"","fetch req url: "+P,"res status: "+(I2.status||0),"res duration: "+I2.duration+"ms",f2,s2,"req method: "+(I2.method||"GET"),"res retcode: "+n2,F3(y2,"req param"),F3(r3,"res data")].filter(function(w3){return w3}).join(`
2024-06-15 00:08:13 +00:00
2024-07-20 03:44:29 +00:00
`);I2.payload=L==null?void 0:L.body,I2.ret=n2,I2.isErr=+o2,p.publishNormalLog({msg:K2,level:A3(d2,o2),code:n2,trace:u2},d),p.publishSpeed(I2,d)},0)}):setTimeout(function(){var q=P3(s,{url:P,duration:x,type:M,status:I.status||0,method:(L==null?void 0:L.method)||"get"});q.type="static",q.urlQuery=C2(P,!0),p.publishSpeed(q,d)},0))},catch:function(I,x,P,L){var O,M,q,H,d2;throw q2(P,s.hostUrl)||(O=x3(s,"",P),M=((M=s.api)==null?void 0:M.reqHeaders)||[],q=C3(L==null?void 0:L.headers,M,"req"),H=T(L==null?void 0:L.headers),d2=(M=s.api)!=null&&M.apiDetail?A2(L==null?void 0:L.body,(M=s.api)==null?void 0:M.reqParamHandler,{url:P}):"",setTimeout(function(){var f2=P3(s,{url:P,duration:x,type:O,status:0,method:(L==null?void 0:L.method)||"get"}),f2=(p.publishSpeed(f2,d),"AJAX_ERROR: "+I+`
2024-06-15 00:08:13 +00:00
2024-07-20 03:44:29 +00:00
req url: `+P+`
2024-06-15 00:08:13 +00:00
res status: 0
2024-07-20 03:44:29 +00:00
res duration: `+f2.duration+`ms
2024-06-15 00:08:13 +00:00
req method: `+((L==null?void 0:L.method)||"get")+`
2024-07-20 03:44:29 +00:00
req param: `+d2+`
2024-06-15 00:08:13 +00:00
2024-07-20 03:44:29 +00:00
`+q);p.publishNormalLog({msg:f2,level:a2.AJAX_ERROR,code:-400,trace:H},d)},0)),I}},C=(this.hackFetchOptions=k,this.hackFetchOptions),w=(k=s.api)==null?void 0:k.ignoreHackReg;if(w===void 0&&(w=/\.flv(\?|$)/gi),n3.find(function(I){return I.name===C.name}))throw new Error("name '"+C.name+"' is already in hackFetch option list");n3.push(C),!$e&&window.fetch&&($e=!0,Q3=window.fetch,window.fetch=function(I,x){x===void 0&&(x={});var P=typeof I=="string"?I:I==null?void 0:I.url;if((q=w==null?void 0:w.test)!=null&&q.call(w,P))return Q3(P,x);ke.test(P)&&(P=""+location.origin+P);var L,O,M,q=(C||{}).traceRequestHeader;q&&(L=(L=(x||{}).headers)===void 0?{}:L,O=(M=X3()).host,M=M.pathname,O=(q=q.generate(P,L,{host:O,pathname:M})||{}).name,M=q.value)&&O&&(x.headers=Object.assign(L,((q={})[O]=M,q)));for(var H=0;H<n3.length;H++){var d2=n3[H];try{typeof d2.beforeFetch=="function"&&d2.beforeFetch(P,x)}catch{}}var f2=Date.now();return Q3(I,x).then(function(s2){for(var u2=s2.clone(),n2=0;n2<n3.length;n2++){var o2=n3[n2];try{typeof o2.then=="function"&&o2.then(u2,Date.now()-f2,P,x)}catch{}}return u2}).catch(function(s2){for(var u2=0;u2<n3.length;u2++){var n2=n3[u2];try{typeof n2.catch=="function"&&n2.catch(s2,Date.now()-f2,P,x)}catch{}}throw s2})})},overrideXhr:function(s,d){var p,k=this,C={name:this.name,ignoreHackReg:(C=s.api)==null?void 0:C.ignoreHackReg,send:function(w,I){var x,P,L=Date.now(),O=(((s==null?void 0:s.api)||{}).injectTraceHeader&&(P=(x=X3()).host,x=x.pathname,x=(P=k.traceRequestHeader.generate(w.aegisUrl,{},{host:P,pathname:x})||{}).name,P=P.value,x)&&P&&w.setRequestHeader(x,P),w.addEventListener("loadend",function(){var H,d2,f2,s2,u2=w.aegisUrl||"";q2(u2,s.hostUrl)||w.failType==="abort"||(H="",(w.failType||!w.status||400<=w.status)&&(H=w.failType||"failed"),d2=Date.now()-L,f2=w.getResponseHeader("content-type")||"",s2=x3(s,f2,u2),setTimeout(function(){var n2=P3(s,{url:u2,duration:d2,type:s2,status:w.status,method:w.aegisMethod||"get"});if(s2==="fetch"){var I2=((I2=s.api)==null?void 0:I2.reqHeaders)||[],o2=C3(w.aegisXhrReqHeader,I2,"req"),I2=((I2=s.api)==null?void 0:I2.resHeaders)||[],Q=w.getAllResponseHeaders().split(`\r
`).reduce(function(V2,N2){return N2=N2.split(": "),N2[0]&&N2[1]&&(V2[N2[0]]=N2[1]),V2},{}),y2=C3(Q,I2,"res"),r3=T(w.aegisXhrReqHeader),I2=(Q=s.api)==null?void 0:Q.apiDetail,K2=I2?A2(I,(Q=s.api)==null?void 0:Q.reqParamHandler,{url:u2}):"",w3=I2?A2(w.response,(Q=s.api)==null?void 0:Q.resBodyHandler,{url:u2}):"";try{(function(V2,N2,j2,O2){var K3,He,Q2,Ze;try{if(typeof(N2==null?void 0:N2.retCodeHandlerAsync)=="function")return N2.retCodeHandlerAsync(V2,j2==null?void 0:j2.url,j2==null?void 0:j2.ctx,function(R3){var he=R3.code,R3=R3.isErr;O2!=null&&O2({code:he===void 0?F:he,isErr:R3})});if(typeof(N2==null?void 0:N2.retCodeHandler)=="function")return Q2=(He=N2.retCodeHandler(V2,j2==null?void 0:j2.url,j2==null?void 0:j2.ctx,j2==null?void 0:j2.payload)||{}).code,Ze=He.isErr,O2!=null&&O2({code:Q2===void 0?F:Q2,isErr:Ze});if(!(V2=typeof V2=="string"?JSON.parse(V2):V2))return O2!=null&&O2({code:F,isErr:!1});typeof((K3=N2==null?void 0:N2.ret)==null?void 0:K3.join)=="function"&&(X2=[].concat(N2.ret.map(function(J3){return J3.toLowerCase()})));var pe=Object.getOwnPropertyNames(V2).filter(function(J3){return X2.indexOf(J3.toLowerCase())!==-1});if(pe.length)return(Q2=V2[pe[0]])!=="\u672A\u77E5"&&Q2!==""||(Q2=F),O2!=null&&O2({code:""+Q2,isErr:Q2!==0&&Q2!=="0"&&Q2!==F});O2!=null&&O2({code:F,isErr:!1})}catch{O2!=null&&O2({code:F,isErr:!1})}})(w.response,s.api,{url:u2,ctx:w,payload:I},function(j2){var N2=j2.code,j2=j2.isErr,O2=[H?"AJAX_ERROR: request "+H:"","fetch req url: "+u2,"res status: "+(n2.status||0),"res duration: "+n2.duration+"ms",o2,y2,"req method: "+(n2.method||"GET"),"res retcode: "+N2,F3(K2,"req param"),F3(w3,"res data")].filter(function(K3){return K3}).join(`
2024-06-15 00:08:13 +00:00
2024-07-20 03:44:29 +00:00
`);n2.ret=N2,n2.isErr=+j2,n2.payload=I,k.publishNormalLog({msg:O2,level:A3(!!H,j2),code:N2,trace:r3},d),k.publishSpeed(n2,d)})}catch{n2.ret=F,k.publishSpeed(n2,d)}}else n2.type="static",n2.urlQuery=C2(u2,!0),k.publishSpeed(n2,d);w.removeEventListener("abort",O),w.removeEventListener("error",M),w.removeEventListener("timeout",q)},0))}),function(){w.failType="abort"}),M=function(){w.failType="error"},q=function(){w.failType="timeout"};w.addEventListener("abort",O),w.addEventListener("error",M),w.addEventListener("timeout",q)}};this.hackXHROptions=C,p=this.hackXHROptions,a3.find(function(w){return w.name===p.name})||(a3.push(p),!ee&&window.XMLHttpRequest&&(Y3=window.XMLHttpRequest.prototype.send,e2=window.XMLHttpRequest.prototype.open,h3=window.XMLHttpRequest.prototype.setRequestHeader,ee=!0,window.XMLHttpRequest.prototype.open=function(){this.aegisMethod=arguments[0];var w,I=arguments[1];if(ke.test(I)&&(I=""+location.origin+I),this.aegisUrl=I,(I=(w=p.ignoreHackReg)==null?void 0:w.test)==null||!I.call(w,this.aegisUrl))if(this.aegisXhrStartTime=Date.now(),this.sendByAegis)t2.isIE()||(this.timeout=5e3);else for(var x=0;x<a3.length;x++){var P=a3[x];try{typeof P.open=="function"&&P.open(this)}catch{}}return e2.apply(this,arguments)},window.XMLHttpRequest.prototype.setRequestHeader=function(){var w,I,x;return(I=(x=p.ignoreHackReg)==null?void 0:x.test)!=null&&I.call(x,this.aegisUrl)?h3.apply(this,arguments):(I=arguments[0],x=arguments[1],this.aegisXhrReqHeader=(w=this.aegisXhrReqHeader)!=null?w:{},-1<["traceparent","b3","sw8","sentry-trace"].indexOf(I)&&(this.aegisXhrReqHeader[I]||(arguments[1]=x),this.aegisXhrReqHeader[I])?void 0:(this.aegisXhrReqHeader[I]=arguments[1],h3.apply(this,arguments)))},window.XMLHttpRequest.prototype.send=function(){var w,I;if(!((I=(w=p.ignoreHackReg)==null?void 0:w.test)!=null&&I.call(w,this.aegisUrl)||this.sendByAegis))for(var x=0;x<a3.length;x++){var P=a3[x];try{typeof P.send=="function"&&P.send(this,arguments[0])}catch{}}return Y3.apply(this,arguments)}))},publishSpeed:function(s){var d=this;this.$walk(function(p){var k=d.$getConfig(p);s.type!=="fetch"||typeof(k==null?void 0:k.urlHandler)!="function"?(s.url=C2(s.url),p.speedLogPipeline(s)):p.speedLogPipeline(t(t({},s),{url:C2(k.urlHandler(s.url,s.payload))}))})},publishNormalLog:function(s){this.$walk(function(d){d.normalLogPipeline(s)})},destroy:function(){var s,d,p;this.option.publishSpeed=function(){},this.option.publishNormalLog=function(){},this.option.hackXHROptions&&(s=this.option.hackXHROptions,(p=a3.findIndex(function(k){return k.name===s.name}))!==-1)&&a3.splice(p,1),this.option.hackFetchOptions&&(d=this.option.hackFetchOptions,(p=n3.findIndex(function(k){return k.name===d.name}))!==-1)&&n3.splice(p,1),this.option.override=!1}})),L3={},ln=new B2({name:"reportBridgeSpeed",override:!1,onNewAegis:function(s){this.override||(this.override=!0,this.overrideBridge(s))},publishSpeed:function(s,d){this.$walk(function(p){p===d&&p.speedLogPipeline(s)})},overrideBridge:function(s){var d=this,p=s.config;p.reportBridgeSpeed&&p.h5Bridge&&p.h5BridgeFunc.length&&p.h5BridgeFunc.forEach(function(k){var C=p.h5Bridge[k];L3[k]=C,p.h5Bridge[k]=function(){for(var w=[],I=0;I<arguments.length;I++)w[I]=arguments[I];var x=w[0],P=w[1],L=w[2],O=w[3],M=Date.now();C(x,P,L,function(q){var H=R2(q,p.api),d2=H.code,H=H.isErr,d2={url:x+"-"+P,name:x+"-"+P,duration:Date.now()-M,type:"bridge",ret:d2,isErr:+H};d.publishSpeed(d2,s),O(q)})}})},unHackBridge:function(s){Object.keys(L3).forEach(function(d){L3[d]&&(s.config.h5Bridge[d]=L3[d])}),L3={}},destroy:function(s){this.option.publishSpeed=function(){},this.option.unHackBridge(s),this.option.override=!1}});(_2=Z2=Z2||{})[_2.unknown=100]="unknown",_2[_2.wifi=1]="wifi",_2[_2.net2g=2]="net2g",_2[_2.net3g=3]="net3g",_2[_2.net4g=4]="net4g",_2[_2.net5g=5]="net5g",_2[_2.net6g=6]="net6g",(_2=W3=W3||{})[_2.android=1]="android",_2[_2.ios=2]="ios",_2[_2.windows=3]="windows",_2[_2.macos=4]="macos",_2[_2.linux=5]="linux",_2[_2.other=100]="other",(_2=V3=V3||{})[_2.unknown=100]="unknown",_2[_2.normal=0]="normal",_2[_2.weak=1]="weak",_2[_2.di
2024-06-15 00:08:13 +00:00
2024-07-20 03:44:29 +00:00
`+m2(L[4]||""),level:a2.ERROR},s),P!=null&&P.call.apply(P,a([window],L))},window.addEventListener("unhandledrejection",d),window.document.addEventListener("error",p,!0),s.lifeCycle.on("destroy",function(){Se.countInstance()===0&&(window.document.removeEventListener("unhandledrejection",d),window.document.removeEventListener("error",p,!0))}),s.config.websocketHack&&(k={key:s.config.id+"-"+this.name,onErr:function(L){var O;(O=x.publishWsErrorLog)!=null&&O.call(x,L,s)},sendErr:function(L){var O;(O=x.publishWsErrorLog)!=null&&O.call(x,L,s)}},this.hackWebsocketConfig=k,k=this.hackWebsocketConfig,window.Proxy)&&window.WebSocket&&(C=window.WebSocket,window&&!C.isHack&&(w=new Proxy(WebSocket,rn),C.isHack=!0,window.WebSocket=w),I=k,c3.find(function(L){return L.key===I.key})||I&&c3.push(I))},publishErrorLog:function(s,d){this.$walk(function(p){p===d&&p.normalLogPipeline(s)})},publishWsErrorLog:function(C,d){var p=C.connectUrl,k=C.msg,C=C.readyState;this.publishErrorLog({msg:`WEBSOCKET_ERROR:
connect: `+p+`
readyState: `+C+`
msg: `+k,level:a2.WEBSOCKET_ERROR},d)},destroy:function(){var s,d;this.option.publishErrorLog=function(){},this.option.hackWebsocketConfig&&(s=this.option.hackWebsocketConfig,window.WebSocket=tn,(d=c3.findIndex(function(p){return p.key===s.key}))!==-1)&&c3.splice(d,1)}}),we=(new B2({name:"pagePerformance"}),3),Ee=new B2({name:"pagePerformance",performanceMap:{},onNewAegis:function(s){e3()&&(_3?this.publish(_3,s):this.startCalcPerformance(s))},publish:function(s,d){var p=this;this.$walk(function(k){k===d&&k.sendPipeline([function(C,w){var I,x=[];for(I in C)x.push(I+"="+C[I]);var P,L=p.$getConfig(k);if(L)return P=((P=k.config.performanceUrl)==null?void 0:P.indexOf("?"))===-1?"?":"&",typeof L.urlHandler=="function"?w({url:k.config.performanceUrl+P+x.join("&")+"&from="+(encodeURIComponent(L.urlHandler())||window.location.href),beanFilter:["from"],type:b2.PERFORMANCE,log:C}):w({url:k.config.performanceUrl+P+x.join("&"),type:b2.PERFORMANCE,log:C})}],b2.PERFORMANCE)(t({},s))})},startCalcPerformance:function(s){var d=this;try{this.getFirstScreenTiming(s,function(p){var k=performance.timing;k&&(_3={dnsLookup:l3(k.domainLookupEnd-k.domainLookupStart),tcp:l3(k.connectEnd-k.connectStart),ssl:l3(k.secureConnectionStart===0?0:k.requestStart-k.secureConnectionStart),ttfb:l3(k.responseStart-k.requestStart),contentDownload:l3(k.responseEnd-k.responseStart),domParse:l3(k.domInteractive-k.domLoading,0,15e3,1070),resourceDownload:l3(k.loadEventStart-k.domInteractive,0,15e3,1070),firstScreenTiming:l3(Math.floor(p),0,15e3,15e3)},(k=s.config).extraPerformanceData&&JSON.stringify(k.extraPerformanceData)!=="{}"&&(k=(p=k.extraPerformanceData).engineInit,p=p.bundleLoad,_3=t(t({},_3),{engineInit:l3(k,0,1e4),bundleLoad:l3(p,0,1e4)})),d.publish(_3,s))})}catch{}},getFirstScreenTiming:function(s,d){var p=this;s.lifeCycle.on("destroy",function(){M&&clearTimeout(M)});var k,C=this,w=["script","style","link","br"],I=[],x={},P=(-1<((L=(L=window.PerformanceObserver)==null?void 0:L.supportedEntryTypes)==null?void 0:L.indexOf("paint"))&&(k=new PerformanceObserver(function(q){q.getEntries().forEach(function(H){var d2;H.entryType==="paint"&&H.name==="first-contentful-paint"&&0<(d2=document.querySelectorAll("[AEGIS-FIRST-SCREEN-TIMING]")).length&&(p.setFirstScreenInfo(s,H.startTime,d2[0],d2),d!=null&&d(H.startTime),P.disconnect(),k.disconnect())})})).observe({entryTypes:["paint"]}),new MutationObserver(function(q){var H={roots:[],ignores:[],rootsDomNum:[],time:performance.now()};q.forEach(function(d2){d2&&d2.addedNodes&&Array.prototype.slice.call(d2.addedNodes).forEach(function(f2){C.isEleInArray(f2,H.ignores)?H.ignores.push(f2):f2.nodeType===1&&f2.hasAttribute("AEGIS-FIRST-SCREEN-TIMING")?(Object.prototype.hasOwnProperty.apply(x,[H.time])||(x[H.time]=[]),x[H.time].push(f2)):f2.nodeType===1&&(C.hasAncestorOrSelfWithAttribute(f2,"AEGIS-IGNORE-FIRST-SCREEN-TIMING")?H.ignores.push(f2):w.indexOf(f2.nodeName.toLocaleLowerCase())!==-1||C.isEleInArray(f2,H.roots)||(H.roots.push(f2),H.rootsDomNum.push(C.walkAndCount(f2)||0)))})}),H.roots.length&&I.push(H)}));P.observe(document,{childList:!0,subtree:!0});var L,O=function(q){(q=q===void 0?0:q)||(H=0,(f2=Object.keys(x)).length?(q=Math.max.apply(null,f2),p.setFirstScreenInfo(s,q,(f2=x[q])==null?void 0:f2[0],x)):I.forEach(function(o2){for(var Q=0;Q<o2.roots.length;Q++)o2.rootsDomNum[Q]>H&&C.isInFirstScreen(o2.roots[Q])&&(H=o2.rootsDomNum[Q],q=o2.time,p.setFirstScreenInfo(s,q,o2.roots[Q]))}),I.length=0,Object.keys(x).forEach(function(o2){x[o2]=x[o2].map(function(Q){var y2={tagName:Q.tagName},r3=Q.attributes;if(!r3)return Q;for(var I2=0;I2<r3.length;I2++){var K2=r3[I2];K2.name&&(y2[K2.name]=Q.getAttribute(K2.name))}return y2})}));var H,f2=performance.timing,d2=f2.domInteractive-f2.domLoading,f2=f2.loadEventStart-f2.domInteractive,s2=q;M=null;for(var u2=0,n2=[d2,f2,s2];u2<n2.length;u2++)if(n2[u2]<=0&&0<we){M=setTimeout(function(){return O(s2)},3e3);break}M?--we:(P.disconnect(),k!=null&&k.disconnect(),d!=null&&d(q))},M=setTimeout(function(){return O()},3e3)},setFirstScreenInfo:function(s,d,p,k){var C;s.config.id&&t
2024-07-30 23:42:57 +00:00
It is recommended that you contact us for feedback and thank you for your support.`,"color: red"),w.sendSDKError(I)}return w}function qe(){this.constructor=de}new B2({name:"ie"}),new B2({name:"onClose"});var Ue=new B2({name:"onClose",onNewAegis:function(s){var d,p=this;t2.desktop()?(d=window.onunload,window.onunload=function(){for(var k=[],C=0;C<arguments.length;C++)k[C]=arguments[C];p.publishNotReportedLog(s),d!=null&&d.call.apply(d,a([window],k))}):Pe(this.publishNotReportedLog.bind(this,s),{once:!0})},publishNotReportedLog:function(s){var d=this;this.$walk(function(p){p===s&&(p.sendNow=!0,p.publishPluginsLogs(),d.publishThrottlePipeLogs(p))})},publishThrottlePipeLogs:function(s){s!=null&&s.speedLogPipeline([]),s!=null&&s.eventPipeline([]),s!=null&&s.customTimePipeline([]),s!=null&&s.normalLogPipeline([])}});return new B2({name:"aid"}),Y.use(un),Y.use(nn),Y.use(B3),Y.use(Ee),Y.use(Ve),Y.use(s3),Y.use(_2),Y.use(dn),Y.use(Ue),Y.use(ln),Y})})(aegis_min);const Aegis=aegis_min.exports,encodingIndexes$1={big5:[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,nul