2024-09-02 02:23:47 +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 , j 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.b087a425.js" ; import { H , 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.836a9fe2.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.23fb8a9a.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 * / ( f u n c t i o n ( e , n ) { ( f u n c t i o n ( l , r ) { e . e x p o r t s = r ( ) } ) ( c o m m o n j s G l o b a l $ 1 , f u n c t i o n ( ) { v a r l = { } ; l . v e r s i o n = " 0 . 2 . 0 " ; v a r r = l . s e t t i n g s = { m i n i m u m : . 0 8 , e a s i n g : " e a s e " , p o s i t i o n U s i n g : " " , s p e e d : 2 0 0 , t r i c k l e : ! 0 , t r i c k l e R a t e : . 0 2 , t r i c k l e S p e e d : 8 0 0 , s h o w S p i n n e r : ! 0 , b a r S e l e c t o r : ' [ r o l e = " b a r " ] ' , s p i n n e r S e l e c t o r : ' [ r o l e = " s p i n n e r " ] ' , p a r e n t : " b o d y " , t e m p l a t e : ' < d i v c l a s s = " b a r " r o l e = " b a r " > < d i v c l a s s = " p e g " > < / d i v > < / d i v > < d i v c l a s s = " s p i n n e r " r o l e = " s p i n n e r " > < d i v c l a s s = " s p i n n e r - i c o n " > < / d i v > < / d i v > ' } ; l . c o n f i g u r e = f u n c t i o n ( v ) { v a r y , E ; f o r ( y i n v ) E = v [ y ] , E ! = = v o i d 0 & & v . h a s O w n P r o p e r t y ( y ) & & ( r [ y ] = E ) ; r e t u r n t h i s } , l . s t a t u s = n u l l , l . s e t = f u n c t i o n ( v ) { v a r y = l . i s S t a r t e d ( ) ; v = u ( v , r . m i n i m u m , 1 ) , l . s t a t u s = v = = = 1 ? n u l l : v ; v a r E = l . r e n d e r ( ! y ) , x = E . q u e r y S e l e c t o r ( r . b a r S e l e c t o r ) , R = r . s p e e d , Y = r . e a s i n g ; r e t u r n E . o f f s e t W i d t h , a ( f u n c t i o n ( L ) { r . p o s i t i o n U s i n g = = = " " & & ( r . p o s i t i o n U s i n g = l . g e t P o s i t i o n i n g C S S ( ) ) , m ( x , t ( v , R , Y ) ) , v = = = 1 ? ( m ( E , { t r a n s i t i o n : " n o n e " , o p a c i t y : 1 } ) , E . o f f s e t W i d t h , s e t T i m e o u t ( f u n c t i o n ( ) { m ( E , { t r a n s i t i o n : " a l l " + R + " m s l i n e a r " , o p a c i t y : 0 } ) , s e t T i m e o u t ( f u n c t i o n ( ) { l . r e m o v e ( ) , L ( ) } , R ) } , R ) ) : s e t T i m e o u t ( L , R ) } ) , t h i s } , l . i s S t a r t e d = f u n c t i o n ( ) { r e t u r n t y p e o f l . s t a t u s = = " n u m b e r " } , l . s t a r t = f u n c t i o n ( ) { l . s t a t u s | | l . s e t ( 0 ) ; v a r v = f u n c t i o n ( ) { s e t T i m e o u t ( f u n c t i o n ( ) { ! l . s t a t u s | | ( l . t r i c k l e ( ) , v ( ) ) } , r . t r i c k l e S p e e d ) } ; r e t u r n r . t r i c k l e & & v ( ) , t h i s } , l . d o n e = f u n c t i o n ( v ) { r e t u r n ! v & & ! l . s t a t u s ? t h i s : l . i n c ( . 3 + . 5 * M a t h . r a n d o m ( ) ) . s e t ( 1 ) } , l . i n c = f u n c t i o n ( v ) { v a r y = l . s t a t u s ; r e t u r n y ? ( t y p e o f v ! = " n u m b e r " & & ( v = ( 1 - y ) * u ( M a t h . r a n d o m ( ) * y , . 1 , . 9 5 ) ) , y = u ( y + v , 0 , . 9 9 4 ) , l . s e t ( y ) ) : l . s t a r t ( ) } , l . t r i c k l e = f u n c t i o n ( ) { r e t u r n l . i n c ( M a t h . r a n d o m ( ) * r . t r i c k l e R a t e ) } , f u n c t i o n ( ) { v a r v = 0 , y = 0 ; l . p r o m i s e = f u n c t i o n ( E ) { r e t u r n ! E | | E . s t a t e ( ) = = = " r e s o l v e d " ? t h i s : ( y = = = 0 & & l . s t a r t ( ) , v + + , y + + , E . a l w a y s ( f u n c t i o n ( ) { y - - , y = = = 0 ? ( v = 0 , l . d o n e ( ) ) : l . s e t ( ( v - y ) / v ) } ) , t h i s ) } } ( ) , l . r e n d e r = f u n c t i o n ( v ) { i f ( l . i s R e n d e r e d ( ) ) r e t u r n d o c u m e n t . g e t E l e m e n t B y I d ( " n p r o g r e s s " ) ; _ ( d o c u m e n t . d o c u m e n t E l e m e n t , " n p r o g r e s s - b u s y " ) ; v a r y = d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) ; y . i d = " n p r o g r e s s " , y . i n n e r H T M L = r . t e m p l a t e ; v a r E = y . q u e r y S e l e c t o r ( r . b a r S e l e c t o r ) , x = v ? " - 1 0 0 " : o ( l . s t a t u s | | 0 ) , R = d o c u m e n t . q u e r y S e l e c t o r ( r . p a r e n t ) , Y ; r e t u r n m ( E , { t r a n s i t i o n : " a l l 0 l i n e a r " , t r a n s f o r m : " t r a n s l a t e 3 d ( " + x + " % , 0 , 0 ) " } ) , r . s h o w S p i n n e r | | ( Y = y . q u e r y S e l e c t o r ( r . s p i n n e r S e l e c t o r ) , Y & & B ( Y ) ) , R ! = d o c u m e n t . b o d y & & _ ( R , " n p r o g r e s s - c u s t o m - p a r e n t " ) , R . a p p e n d C h i l d ( y ) , y } , l . r e m o v e = f u n c t i o n ( ) { $ ( d o c u m e n t . d o c u m e n t E l e m e n t , " n p r o g r e s s - b u s y " ) , $ ( d o c u m e n t . q u e r y S e l e c t o r ( r . p a r e n t ) , " n p r o g r e s s - c u s t o m - p a r e n t " ) ; v a r v = d o c u m e n t . g e t E l e m e n t B y I d ( " n p r o g r e s s " ) ; v & & B ( v ) } , l . i s R e n d e r e d = f u n c t i o n ( ) { r e t u r n ! ! d o c u m e n t . g e t E l e m e n t B y I d ( " n p r o g r e s s " ) } , l . g e t P o s i t i o n i n g C S S = f u n c t i o n ( ) { v a r v = d o c u m e n t . b o d y . s t y l e , y = " W e b k i t T r a n s f o r m " i n v ? " W e b k i t " : " M o z T r a n s f o r m " i n v ? " M o z " : " m s T r a n s f o r m " i n v ? " m s " : " O T r a n s f o r m " i n v ? " O " : " " ; r e t u r n y + " P e r s p e c t i v e " i n v ? " t r a n s l a t e 3 d " : y + " T r a n s f o r m " i n v ? " t r a n s l a t e " : " m a r g i n " } ; f u n c t i o n u ( v , y , E ) { r e t u r n v < y ? y : v > E ? E : v } f u n c t i o n o ( v ) { r e t u r n ( - 1 + v ) * 1 0 0 } f u n c t i o n t ( v , y , E ) { v a r x ; r e t u r n r . p o s i t i o n U s i n g = = = " t r a n s l a t e 3 d " ? x = { t r a n s f o r m : " t r a n s l a t e 3 d ( " + o ( v ) + " % , 0 , 0 ) " } : r . p o s i t i o n U s i n g = = = " t r a n s l a t e " ? x = { t r a n s f o r m : " t r a n s l a t e ( " + o ( v ) + " % , 0 ) " } : x = { " m a r g i n - l e f t " : o ( v ) + " % " } , x . t r a n s i t i o n = " a l l " + y + " m s " + E , x } v a r a = f u n c t i o n ( ) { v a r v = [ ] ; f u n c t i o n y ( ) { v a r E = v . s h i f t ( ) ; E & & E ( y ) } r e t u r n f u n c t i o n ( E ) { v . p u s h ( E ) , v . l e n g t h = = 1 & & y ( ) } } ( ) , m = f u n c t i o n ( ) { v a r v = [ " W e b k i t " , " O " , " M o z " , " m s " ] , y = { } ; f u n c t i o n E ( L ) { r e t u r n L . r e p l a c e ( / ^ - m s - / , " m s - " ) . r e p l a c e ( / - ( [ \ d a - z ] ) / g i , f u n c t i o n ( J , l 2 ) { r e t u r n l 2 . t o U p p e r C a s e ( ) } ) } f u n c t i o n x ( L ) { v a r J = d o c u m e n t . b o d y . s t y l e ; i f ( L i n J ) r e t u r n L ; f o r ( v a r l 2 = v . l e n g t h , N = L . c h a r A t ( 0 ) . t o U p p e r C a s e ( ) + L . s l i c e ( 1 ) , e 2 ; l 2 - - ; ) i f ( e 2 = v [ l 2 ] + N , e 2 i n J ) r e t u r n e 2 ; r e t u r n L } f u n c t i o n R ( L ) { r e t u r n L = E ( L ) , y [ L ] | | ( y [ L ] = x ( L ) ) } f u n c t i o n Y ( L , J , l 2 ) { J = R ( J ) , L . s t y l e [ J ] = l 2 } r e t u r n f u n c t i o n ( L , J ) { v a r l 2 = a r g u m e n t s , N , e 2 ; i f ( l 2 . l e n g t h = = 2 ) f o r ( N i n J ) e 2 = J [ N ] , e 2 ! = = v o i d 0 & & J . h a s O w n P r o p e r t y ( N ) & & Y ( L , N , e 2 ) ; e l s e Y ( L , l 2 [ 1 ] , l 2 [ 2 ] ) } } ( ) ; f u n c t i o n f ( v , y ) { v a r E = t y p e o f v = = " s t r i n g " ? v : S ( v ) ; r e t u r n E . i n d e x O f ( " " + y + " " ) > = 0 } f u n c t i o n _ ( v , y ) { v a r E = S ( v ) , x = E + y ; f ( E , y ) | | ( v . c l a s s N a m e = x . s u b s t r i n g ( 1 ) ) } f u n c t i o n $ ( v , y ) { v a r E = S ( v ) , x ; ! f ( v , y ) | | ( x = E . r e p l a c e ( " " + y + " " , " " ) , v . c l a s s N a m e = x . s u b s t r i n g ( 1 , x . l e n g t h - 1 ) ) } f u n c t i o n S ( v ) { r e t u r n ( " " + ( v . c l a s s N a m e | | " " ) + " " ) . r e p l a c e ( / \ s + / g i , " " ) } f u n c t i o n B ( v ) { v & & v . p a r e n t N o d e & & v . p a r e n t N o d e . r e m o v e C h i l d ( v ) } r e t u r n l } ) } ) ( n
` ),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(B,v){var y= $ .data,E= $ .headers,x= $ .responseType,R;function Y(){ $ .cancelToken&& $ .cancelToken.unsubscribe(R), $ .signal&& $ .signal.removeEventListener("abort",R)}e.isFormData(y)&&delete E["Content-Type"];var L=new XMLHttpRequest;if( $ .auth){var J= $ .auth.username||"",l2= $ .auth.password?unescape(encodeURIComponent( $ .auth.password)):"";E.Authorization="Basic "+btoa(J+":"+l2)}var N=u( $ .baseURL, $ .url);L.open( $ .method.toUpperCase(),r(N, $ .params, $ .paramsSerializer),!0),L.timeout= $ .timeout;function e2(){if(!!L){var h2="getAllResponseHeaders"in L?o(L.getAllResponseHeaders()):null,j=!x||x==="text"||x==="json"?L.responseText:L.response,z2={data:j,status:L.status,statusText:L.statusText,headers:h2,config: $ ,request:L};n(function(W){B(W),Y()},function(W){v(W),Y()},z2),L=null}}if("onloadend"in L?L.onloadend=e2:L.onreadystatechange=function(){!L||L.readyState!==4||L.status===0&&!(L.responseURL&&L.responseURL.indexOf("file:")===0)||setTimeout(e2)},L.onabort=function(){!L||(v(a("Request aborted", $ ,"ECONNABORTED",L)),L=null)},L.onerror=function(){v(a("Network Error", $ ,null,L)),L=null},L.ontimeout=function(){var j= $ .timeout?"timeout of "+ $ .timeout+"ms exceeded":"timeout exceeded",z2= $ .transitional||m.transitional; $ .timeoutErrorMessage&&(j= $ .timeoutErrorMessage),v(a(j, $ ,z2.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",L)),L=null},e.isStandardBrowserEnv()){var G=( $ .withCredentials||t(N))&& $ .xsrfCookieName?l.read( $ .xsrfCookieName):void 0;G&&(E[ $ .xsrfHeaderName]=G)}"setRequestHeader"in L&&e.forEach(E,function(j,z2){typeof y>"u"&&z2.toLowerCase()==="content-type"?delete E[z2]:L.setRequestHeader(z2,j)}),e.isUndefined( $ .withCredentials)||(L.withCredentials=!! $ .withCredentials),x&&x!=="json"&&(L.responseType= $ .responseType),typeof $ .onDownloadProgress=="function"&&L.addEventListener("progress", $ .onDownloadProgress),typeof $ .onUploadProgress=="function"&&L.upload&&L.upload.addEventListener("progress", $ .onUploadProgress),( $ .cancelToken|| $ .signal)&&(R=function(h2){!L||(v(!h2||h2&&h2.type?new f("canceled"):h2),L.abort(),L=null)}, $ .cancelToken&& $ .cancelToken.subscribe(R), $ .signal&&( $ .signal.aborted?R(): $ .signal.addEventListener("abort",R))),y||(y=null),L.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"};
* vue - i18n v9 . 14.0
2024-06-15 00:08:13 +00:00
* ( c ) 2024 kazuya kawaguchi
* Released under the MIT License .
2024-09-02 02:23:47 +00:00
* /var shared=require$$0,coreBase=require$$1,vue=require$$2;const VERSION="9.14.0",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 / 2 p97mcze ",[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-09-02 02:23:47 +00:00
* / v a r _ = { H a n d l e r : r , R a n d o m : o , U t i l : u , X H R : f , R E : t , t o J S O N S c h e m a : a , v a l i d : m , h e r e d o c : u . h e r e d o c , s e t u p : f u n c t i o n ( $ ) { r e t u r n f . s e t u p ( $ ) } , _ m o c k e d : { } } ; _ . v e r s i o n = " 1 . 0 . 1 - b e t a 3 " , f & & ( f . M o c k = _ ) , _ . m o c k = f u n c t i o n ( $ , S , B ) { r e t u r n a r g u m e n t s . l e n g t h = = = 1 ? r . g e n ( $ ) : ( a r g u m e n t s . l e n g t h = = = 2 & & ( B = S , S = v o i d 0 ) , f & & ( w i n d o w . X M L H t t p R e q u e s t = f ) , _ . _ m o c k e d [ $ + ( S | | " " ) ] = { r u r l : $ , r t y p e : S , t e m p l a t e : B } , _ ) } , e . e x p o r t s = _ } , f u n c t i o n ( m o d u l e , e x p o r t s , _ _ w e b p a c k _ r e q u i r e _ _ ) { v a r C o n s t a n t = _ _ w e b p a c k _ r e q u i r e _ _ ( 2 ) , U t i l = _ _ w e b p a c k _ r e q u i r e _ _ ( 3 ) , P a r s e r = _ _ w e b p a c k _ r e q u i r e _ _ ( 4 ) , R a n d o m = _ _ w e b p a c k _ r e q u i r e _ _ ( 5 ) , R E = _ _ w e b p a c k _ r e q u i r e _ _ ( 2 0 ) , H a n d l e r = { e x t e n d : U t i l . e x t e n d } ; H a n d l e r . g e n = f u n c t i o n ( e , n , l ) { n = n = = n u l l ? " " : n + " " , l = l | | { } , l = { p a t h : l . p a t h | | [ C o n s t a n t . G U I D ] , t e m p l a t e P a t h : l . t e m p l a t e P a t h | | [ C o n s t a n t . G U I D + + ] , c u r r e n t C o n t e x t : l . c u r r e n t C o n t e x t , t e m p l a t e C u r r e n t C o n t e x t : l . t e m p l a t e C u r r e n t C o n t e x t | | e , r o o t : l . r o o t | | l . c u r r e n t C o n t e x t , t e m p l a t e R o o t : l . t e m p l a t e R o o t | | l . t e m p l a t e C u r r e n t C o n t e x t | | e } ; v a r r = P a r s e r . p a r s e ( n ) , u = U t i l . t y p e ( e ) , o ; r e t u r n H a n d l e r [ u ] ? ( o = H a n d l e r [ u ] ( { t y p e : u , t e m p l a t e : e , n a m e : n , p a r s e d N a m e : n & & n . r e p l a c e ( C o n s t a n t . R E _ K E Y , " $ 1 " ) , r u l e : r , c o n t e x t : l } ) , l . r o o t | | ( l . r o o t = o ) , o ) : e } , H a n d l e r . e x t e n d ( { a r r a y : f u n c t i o n ( e ) { v a r n = [ ] , l , r ; i f ( e . t e m p l a t e . l e n g t h = = = 0 ) r e t u r n n ; i f ( e . r u l e . p a r a m e t e r s ) i f ( e . r u l e . m i n = = = 1 & & e . r u l e . m a x = = = v o i d 0 ) e . c o n t e x t . p a t h . p u s h ( e . n a m e ) , e . c o n t e x t . t e m p l a t e P a t h . p u s h ( e . n a m e ) , n = R a n d o m . p i c k ( H a n d l e r . g e n ( e . t e m p l a t e , v o i d 0 , { p a t h : e . c o n t e x t . p a t h , t e m p l a t e P a t h : e . c o n t e x t . t e m p l a t e P a t h , c u r r e n t C o n t e x t : n , t e m p l a t e C u r r e n t C o n t e x t : e . t e m p l a t e , r o o t : e . c o n t e x t . r o o t | | n , t e m p l a t e R o o t : e . c o n t e x t . t e m p l a t e R o o t | | e . t e m p l a t e } ) ) , e . c o n t e x t . p a t h . p o p ( ) , e . c o n t e x t . t e m p l a t e P a t h . p o p ( ) ; e l s e i f ( e . r u l e . p a r a m e t e r s [ 2 ] ) e . t e m p l a t e . _ _ o r d e r _ i n d e x = e . t e m p l a t e . _ _ o r d e r _ i n d e x | | 0 , e . c o n t e x t . p a t h . p u s h ( e . n a m e ) , e . c o n t e x t . t e m p l a t e P a t h . p u s h ( e . n a m e ) , n = H a n d l e r . g e n ( e . t e m p l a t e , v o i d 0 , { p a t h : e . c o n t e x t . p a t h , t e m p l a t e P a t h : e . c o n t e x t . t e m p l a t e P a t h , c u r r e n t C o n t e x t : n , t e m p l a t e C u r r e n t C o n t e x t : e . t e m p l a t e , r o o t : e . c o n t e x t . r o o t | | n , t e m p l a t e R o o t : e . c o n t e x t . t e m p l a t e R o o t | | e . t e m p l a t e } ) [ e . t e m p l a t e . _ _ o r d e r _ i n d e x % e . t e m p l a t e . l e n g t h ] , e . t e m p l a t e . _ _ o r d e r _ i n d e x + = + e . r u l e . p a r a m e t e r s [ 2 ] , e . c o n t e x t . p a t h . p o p ( ) , e . c o n t e x t . t e m p l a t e P a t h . p o p ( ) ; e l s e f o r ( l = 0 ; l < e . r u l e . c o u n t ; l + + ) f o r ( r = 0 ; r < e . t e m p l a t e . l e n g t h ; r + + ) e . c o n t e x t . p a t h . p u s h ( n . l e n g t h ) , e . c o n t e x t . t e m p l a t e P a t h . p u s h ( r ) , n . p u s h ( H a n d l e r . g e n ( e . t e m p l a t e [ r ] , n . l e n g t h , { p a t h : e . c o n t e x t . p a t h , t e m p l a t e P a t h : e . c o n t e x t . t e m p l a t e P a t h , c u r r e n t C o n t e x t : n , t e m p l a t e C u r r e n t C o n t e x t : e . t e m p l a t e , r o o t : e . c o n t e x t . r o o t | | n , t e m p l a t e R o o t : e . c o n t e x t . t e m p l a t e R o o t | | e . t e m p l a t e } ) ) , e . c o n t e x t . p a t h . p o p ( ) , e . c o n t e x t . t e m p l a t e P a t h . p o p ( ) ; e l s e f o r ( l = 0 ; l < e . t e m p l a t e . l e n g t h ; l + + ) e . c o n t e x t . p a t h . p u s h ( l ) , e . c o n t e x t . t e m p l a t e P a t h . p u s h ( l ) , n . p u s h ( H a n d l e r . g e n ( e . t e m p l a t e [ l ] , l , { p a t h : e . c o n t e x t . p a t h , t e m p l a t e P a t h : e . c o n t e x t . t e m p l a t e P a t h , c u r r e n t C o n t e x t : n , t e m p l a t e C u r r e n t C o n t e x t : e . t e m p l a t e , r o o t : e . c o n t e x t . r o o t | | n , t e m p l a t e R o o t : e . c o n t e x t . t e m p l a t e R o o t | | e . t e m p l a t e } ) ) , e . c o n t e x t . p a t h . p o p ( ) , e . c o n t e x t . t e m p l a t e P a t h . p o p ( ) ; r e t u r n n } , o b j e c t : f u n c t i o n ( e ) { v a r n = { } , l , r , u , o , t , a ; i f ( e . r u l e . m i n ! = n u l l ) f o r ( l = U t i l . k e y s ( e . t e m p l a t e ) , l = R a n d o m . s h u f f l e ( l ) , l = l . s l i c e ( 0 , e . r u l e . c o u n t ) , a = 0 ; a < l . l e n g t h ; a + + ) u = l [ a ] , o = u . r e p l a c e ( C o n s t a n t . R E _ K E Y , " $ 1 " ) , e . c o n t e x t . p a t h . p u s h ( o ) , e . c o n t e x t . t e m p l a t e P a t h . p u s h ( u ) , n [ o ] = H a n d l e r . g e n ( e . t e m p l a t e [ u ] , u , { p a t h : e . c o n t e x t . p a t h , t e m p l a t e P a t h : e . c o n t e x t . t e m p l a t e P a t h , c u r r e n t C o n t e x t : n , t e m p l a t e C u r r e n t C o n t e x t : e . t e m p l a t e , r o o t : e . c o n t e x t . r o o t | | n , t e m p l a t e R o o t : e . c o n t e x t . t e m p l a t e R o o t | | e . t e m p l a t e } ) , e . c o n t e x t . p a t h . p o p ( ) , e . c o n t e x t . t e m p l a t e P a t h . p o p ( ) ; e l s e { l = [ ] , r = [ ] ; f o r ( u i n e . t e m p l a t e ) ( t y p e o f e . t e m p l a t e [ u ] = = " f u n c t i o n " ? r : l ) . p u s h ( u ) ; f o r ( l = l . c o n c a t ( r ) , a = 0 ; a < l . l e n g t h ; a + + ) u = l [ a ] , o = u . r e p l a c e ( C o n s t a n t . R E _ K E Y , " $ 1 " ) , e . c o n t e x t . p a t h . p u s h ( o ) , e . c o n t e x t . t e m p l a t e P a t h . p u s h ( u ) , n [ o ] = H a n d l e r . g e n ( e . t e m p l a t e [ u ] , u , { p a t h : e . c o n t e x t . p a t h , t e m p l a t e P a t h : e . c o n t e x t . t e m p l a t e P a t h , c u r r e n t C o n t e x t : n , t e m p l a t e C u r r e n t C o n t e x t : e . t e m p l a t e , r o o t : e . c o n t e x t . r o o t | | n , t e m p l a t e R o o t : e . c o n t e x t . t e m p l a t e R o o t | | e . t e m p l a t e } ) , e . c o n t e x t . p a t h . p o p ( ) , e . c o n t e x t . t e m p l a t e P a t h . p o p ( ) , t = u . m a t c h ( C o n s t a n t . R E _ K E Y ) , t & & t [ 2 ] & & U t i l . t y p e ( e . t e m p l a t e [ u ] ) = = = " n u m b e r " & & ( e . t e m p l a t e [ u ] + = p a r s e I n t ( t [ 2 ] , 1 0 ) ) } r e t u r n n } , n u m b e r : f u n c t i o n ( e ) { v a r n , l ; i f ( e . r u l e . d e c i m a l ) { f o r ( e . t e m p l a t e + = " " , l = e . t e m p l a t e . s p l i t ( " . " ) , l [ 0 ] = e . r u l e . r a n g e ? e . r u l e . c o u n t : l [ 0 ] , l [ 1 ] = ( l [ 1 ] | | " " ) . s l i c e ( 0 , e . r u l e
` ?(z.seenCR||z.line++,z.column=1,z.seenCR=!1):ve===" \r "||ve===" \u 2028"||ve===" \u 2029"?(z.line++,z.column=1,z.seenCR=!0):(z.column++,z.seenCR=!1)}return ge!==c&&(ge>c&&(ge=0,fn={line:1,column:1,seenCR:!1}),g(fn,ge,c),ge=c),fn}function j(c){Xe>b||(b>Xe&&(Xe=b,Ye=[]),Ye.push(c))}function z2(c){var g=0;for(c.sort();g<c.length;)c[g-1]===c[g]?c.splice(g,1):g++}function P2(){var c,g,z,r2,F2;return c=b,g=W(),g!==null?(z=b,N.charCodeAt(b)===124?(r2=ee,b++):(r2=null,Q===0&&j(n3)),r2!==null?(F2=P2(),F2!==null?(r2=[r2,F2],z=r2):(b=z,z=i2)):(b=z,z=i2),z===null&&(z=h3),z!==null?(p2=c,g=V3(g,z),g===null&&(b=c),c=g):(b=c,c=i2)):(b=c,c=i2),c}function W(){var c,g,z,r2,F2;if(c=b,g=M(),g===null&&(g=h3),g!==null)if(z=b,Q++,r2=o2(),Q--,r2===null?z=h3:(b=z,z=i2),z!==null){for(r2=[],F2=X(),F2===null&&(F2=O());F2!==null;)r2.push(F2),F2=X(),F2===null&&(F2=O());r2!==null?(F2=n2(),F2===null&&(F2=h3),F2!==null?(p2=c,g=q3(g,r2,F2),g===null&&(b=c),c=g):(b=c,c=i2)):(b=c,c=i2)}else b=c,c=i2;else b=c,c=i2;return c}function O(){var c;return c=M2(),c===null&&(c=U(),c===null&&(c=d2())),c}function M(){var c,g;return c=b,N.charCodeAt(b)===94?(g=ne,b++):(g=null,Q===0&&j(f3)),g!==null&&(p2=c,g= $ e()),g===null&&(b=c),c=g,c}function n2(){var c,g;return c=b,N.charCodeAt(b)===36?(g=ke,b++):(g=null,Q===0&&j(i3)),g!==null&&(p2=c,g=nn()),g===null&&(b=c),c=g,c}function X(){var c,g,z;return c=b,g=O(),g!==null?(z=o2(),z!==null?(p2=c,g=L3(g,z),g===null&&(b=c),c=g):(b=c,c=i2)):(b=c,c=i2),c}function o2(){var c,g,z;return Q++,c=b,g=t2(),g!==null?(z=V2(),z===null&&(z=h3),z!==null?(p2=c,g=s3(g,z),g===null&&(b=c),c=g):(b=c,c=i2)):(b=c,c=i2),Q--,c===null&&(g=null,Q===0&&j(ln)),c}function t2(){var c;return c=y2(),c===null&&(c=C2(),c===null&&(c=x2(),c===null&&(c=j2(),c===null&&(c=D2(),c===null&&(c=J2()))))),c}function y2(){var c,g,z,r2,F2,I3;return c=b,N.charCodeAt(b)===123?(g=_3,b++):(g=null,Q===0&&j(a3)),g!==null?(z=H2(),z!==null?(N.charCodeAt(b)===44?(r2=N3,b++):(r2=null,Q===0&&j(ye)),r2!==null?(F2=H2(),F2!==null?(N.charCodeAt(b)===125?(I3=T3,b++):(I3=null,Q===0&&j(C3)),I3!==null?(p2=c,g=be(z,F2),g===null&&(b=c),c=g):(b=c,c=i2)):(b=c,c=i2)):(b=c,c=i2)):(b=c,c=i2)):(b=c,c=i2),c}function C2(){var c,g,z,r2;return c=b,N.charCodeAt(b)===123?(g=_3,b++):(g=null,Q===0&&j(a3)),g!==null?(z=H2(),z!==null?(N.substr(b,2)===le?(r2=le,b+=2):(r2=null,Q===0&&j(te)),r2!==null?(p2=c,g=I2(z),g===null&&(b=c),c=g):(b=c,c=i2)):(b=c,c=i2)):(b=c,c=i2),c}function x2(){var c,g,z,r2;return c=b,N.charCodeAt(b)===123?(g=_3,b++):(g=null,Q===0&&j(a3)),g!==null?(z=H2(),z!==null?(N.charCodeAt(b)===125?(r2=T3,b++):(r2=null,Q===0&&j(C3)),r2!==null?(p2=c,g=Ce(z),g===null&&(b=c),c=g):(b=c,c=i2)):(b=c,c=i2)):(b=c,c=i2),c}function j2(){var c,g;return c=b,N.charCodeAt(b)===43?(g=tn,b++):(g=null,Q===0&&j(m3)),g!==null&&(p2=c,g=rn()),g===null&&(b=c),c=g,c}function D2(){var c,g;return c=b,N.charCodeAt(b)===42?(g=Se,b++):(g=null,Q===0&&j(un)),g!==null&&(p2=c,g=we()),g===null&&(b=c),c=g,c}function J2(){var c,g;return c=b,N.charCodeAt(b)===63?(g=Ee,b++):(g=null,Q===0&&j(ue)),g!==null&&(p2=c,g=Ie()),g===null&&(b=c),c=g,c}function V2(){var c;return N.charCodeAt(b)===63?(c=Ee,b++):(c=null,Q===0&&j(ue)),c}function H2(){var c,g,z;if(c=b,g=[],oe.test(N.charAt(b))?(z=N.charAt(b),b++):(z=null,Q===0&&j(ie)),z!==null)for(;z!==null;)g.push(z),oe.test(N.charAt(b))?(z=N.charAt(b),b++):(z=null,Q===0&&j(ie));else g=i2;return g!==null&&(p2=c,g=g3(g)),g===null&&(b=c),c=g,c}function M2(){var c,g,z,r2;return c=b,N.charCodeAt(b)===40?(g=U3,b++):(g=null,Q===0&&j(v3)),g!==null?(z=Y2(),z===null&&(z=Q2(),z===null&&(z=q2(),z===null&&(z=L2()))),z!==null?(N.charCodeAt(b)===41?(r2=se,b++):(r2=null,Q===0&&j(ae)),r2!==null?(p2=c,g=ce(z),g===null&&(b=c),c=g):(b=c,c=i2)):(b=c,c=i2)):(b=c,c=i2),c}function L2(){var c,g;return c=b,g=P2(),g!==null&&(p2=c,g=de(g)),g===null&&(b=c),c=g,c}function q2(){var c,g,z;return c=b,N.substr(b,2)===H3?(g=H3,b+=2):(g=null,Q===0&&j(Be)),g!==null?(z=P2(),z!==null?(p2=c,g=Fe(z),g===null&&(b=c),c=g):(b=c,c=i2)):(b=c,c=i2),c}function Y2(){var c,g,z;return c=b,N.substr(b,2)===xe?(g=xe,b+=2):(g=null,Q===0&&j(Ae)),g!==null?(z=P2(),
\ r \ v \ xA0\u2028\u2029 ` ,S={" \\ w":t+a+m+"_"," \\ W":f.replace("_","")," \\ s": $ ," \\ S":function(){for(var v=_,y=0;y< $ .length;y++)v=v.replace( $ [y],"");return v}()," \\ d":m," \\ D":t+a+f};function B(v,y){for(var E="",x=v;x<=y;x++)E+=String.fromCharCode(x);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 x=0;x<v.body.length;x++)y+=this.gen(v.body[x],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 x=this.quantifier(v.quantifier),R=0;R<x;R++)y+=this.gen(v.body,y,E);return y},quantifier:function(v,y,E){var x=Math.max(v.min,0),R=isFinite(v.max)?v.max:x+u.integer(3,7);return u.integer(x,R)},charset:function(v,y,E){if(v.invert)return this["invert-charset"](v,y,E);var x=u.pick(v.body);return this.gen(x,y,E)},"invert-charset":function(v,y,E){for(var x=_,R=0,Y;R<v.body.length;R++)switch(Y=v.body[R],Y.type){case"literal":x=x.replace(Y.body,"");break;case"range":for(var L=this.gen(Y.start,y,E).charCodeAt(),J=this.gen(Y.end,y,E).charCodeAt(),l2=L;l2<=J;l2++)x=x.replace(String.fromCharCode(l2),"");default:var N=S[Y.text];if(N)for(var e2=0;e2<=N.length;e2++)x=x.replace(N[e2],"")}return u.pick(x.split(""))},range:function(v,y,E){var x=this.gen(v.start,y,E).charCodeAt(),R=this.gen(v.end,y,E).charCodeAt();return String.fromCharCode(u.integer(x,R))},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={},x=0;x<v.length;x++)E[v[x]]=y[x];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 _={name:typeof m=="string"?m.replace(r.RE_KEY," $ 1"):m,template:a,type:u.type(a),rule:o.parse(m)};switch(_.path=f.slice(0),_.path.push(m===void 0?"ROOT":_.name),_.type){case"array":_.items=[],u.each(a,function( $ ,S){_.items.push(t( $ ,S,_.path))});break;case"object":_.properties=[],u.each(a,function( $ ,S){_.properties.push(t( $ ,S,_.path))});break}return _}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,_){for(var $ =o(f),S=a.diff( $ ,_),B=0;B<S.length;B++);return S}var a={diff:function(_, $ ,S){var B=[];return this.name(_, $ ,S,B)&&this.type(_, $ ,S,B)&&(this.value(_, $ ,S,B),this.properties(_, $ ,S,B),this.items(_, $ ,S,B)),B},name:function(f,_, $ ,S){var B=S.length;return m.equal("name",f.path, $ +"",f.name+"",S),S.length===B},type:function(f,_, $ ,S){var B=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(_),f.type,S),S.length===B},value:function(f,_, $ ,S){var B=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,_,f.template,S),S.length===B;case"string":if(f.template.match(r.RE_PLACEHOLDER))return S.length===B;break}return m.equal("value",f.path,_,f.template,S),S.length===B}var E;switch(y){case"number":var x=(_+"").split(".");x[0]=+x[0],v.min!==void 0&&v.max!==void 0&&(m.greaterThanOrEqualTo("value",f.path,x[0],Math.min(v.min,v.max),S),m.lessThanOrEqualTo("value",f.path,x[0],Math.max(v.min,v.max),S)),v.min!==void 0&&v.max===void 0&&m.equal("value",f.path,x[0],v.min,S,"[value] "+ $ ),v.decimal&&(v.dmin!==void 0&&v.dmax!==void 0&&(m.greaterThanOrEqualTo("value",f.path,x[1].length,v.dmin,S),m.lessThanOrEqualTo("value",f.path,x[1].length,v.dmax,S)),v.dmin!==void 0&&v.dmax===void 0&&m.equal("value",f.path,x[1].length,v.dmin,S));break;case"boolean":break;case"string":E=_.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=_.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===B},properties:function(f,_, $ ,S){var B=S.length,v=f.rule,y=u.keys(_);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!==B)return!1;for(var E=0;E<y.length;E++)S.push.apply(S,this.diff(function(){var x;return u.each(f.properties,function(R){R.name===y[E]&&(x=R)}),x||f.properties[E]}(),_[y[E]],y[E]));return S.length===B}},items:function(f,_, $ ,S){var B=S.length;if(!!f.items){var v=f.rule;if(!f.rule.parameters)m.equal("items length",f.path,_.length,f.items.length,S);else{if(v.min!==void 0&&v.max!==void 0&&(m.greaterThanOrEqualTo("items",f.path,_.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,_.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]||[],x=0;x<E.length;x++)E[x]===y&&E.splice(x--,1)},dispatchEvent:function(v){for(var y=this.custom.events[v.type]||[],E=0;E<y.length;E++)y[E].call(this,v);var x="on"+v.type;this[x]&&this[x](v)}});function _(){var B=function(){var E=/^(?:about|app|app-storage|.+-extension|file|res|widget): $ /,x=/^([ \w .+-]+:)(?: \/ \/ ([^ \/ ?#:]*)(?::( \d +)|)|)/,R=location.href,Y=x.exec(R.toLowerCase())||[];return E.test(Y[1])}();return window.ActiveXObject?!B&&v()||y():v();function v(){try{return new window._XMLHttpRequest}catch{}}function y(){try{return new window._ActiveXObject("Microsoft.XMLHTTP")}catch{}}}function $ (B){for(var v in f.Mock._mocked){var y=f.Mock._mocked[v];if((!y.rurl||E(y.rurl,B.url))&&(!y.rtype||E(y.rtype,B.type.toLowerCase())))return y}function E(x,R){if(r.type(x)==="string")return x===R;if(r.type(x)==="regexp")return x.test(R)}}function S(B,v){return r.isFunction(B.template)?B.template(v):f.Mock.mock(B.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:" \u 8BF7 \u 6C42 \u 6210 \u 529F",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:" \u 738B \u 7ACB \u 7FA4",avatar:"//lf1-xgcdn-tos.pstatp.com/obj/vcloud/vadmin/start.8e0e4855ee346a46ccff8ff3e24db27b.png",email:"wangliqun@email.com",job:"frontend",jobName:" \u 524D \u 7AEF \u 827A \u 672F \u 5BB6",organization:"Frontend",organizationName:" \u 524D \u 7AEF",location:"beijing",locationName:" \u 5317 \u 4EAC",introduction:" \u 4EBA \u 6F47 \u 6D12 \u FF0C \u 6027 \u 6E29 \u 5B58",personalWebsite:"https://www.arco.design",phone:"150****0000",registrationDate:"2013-05-10 12:10:00",accountId:"15012312300",certification:1,role:e})}return failResponseWrap(null," \u 672A \u 767B \u 5F55",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," \u 8D26 \u 53F7 \u 6216 \u 8005 \u 5BC6 \u 7801 \u 9519 \u 8BEF",5e4):failResponseWrap(null," \u 5BC6 \u 7801 \u 4E0D \u 80FD \u 4E3A \u 7A7A",5e4):failResponseWrap(null," \u 7528 \u 6237 \u 540D \u 4E0D \u 80FD \u 4E3A \u 7A7A",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:" \u 90D1 \u 66E6 \u 6708",subTitle:" \u 7684 \u 79C1 \u 4FE1",avatar:"//p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/8361eeb82904210b4f55fab888fe8416.png~tplv-uwbnlip3yd-webp.webp",content:" \u 5BA1 \u 6279 \u 8BF7 \u 6C42 \u 5DF2 \u 53D1 \u 9001 \u FF0C \u 8BF7 \u 67E5 \u 6536",time:" \u 4ECA \u 5929 12:30:01"},{id:2,type:"message",title:" \u 5B81 \u 6CE2",subTitle:" \u 7684 \u 56DE \u 590D",avatar:"//p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/3ee5f13fb09879ecb5185e440cef6eb9.png~tplv-uwbnlip3yd-webp.webp",content:" \u 6B64 \u 5904 bug \u 5DF2 \u 7ECF \u 4FEE \u 590D",time:" \u 4ECA \u 5929 12:30:01"},{id:3,type:"message",title:" \u 5B81 \u 6CE2",subTitle:" \u 7684 \u 56DE \u 590D",avatar:"//p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/3ee5f13fb09879ecb5185e440cef6eb9.png~tplv-uwbnlip3yd-webp.webp",content:" \u 6B64 \u 5904 bug \u 5DF2 \u 7ECF \u 4FEE \u 590D",time:" \u 4ECA \u 5929 12:20:01"},{id:4,ty
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /function _arrayLikeToArray(e,n){(n==null||n>e.length)&&(n=e.length);for(var l=0,r=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={}.toString.call(e).slice(8,-1);return l==="Object"&&e.constructor&&(l=e.constructor.name),l==="Map"||l==="Set"?Array.from(e):l==="Arguments"||/ ^ ( ? : Ui | I ) nt ( ? : 8 | 16 | 32 ) ( ? : Clamped ) ? Array $ / . test ( l ) ? _arrayLikeToArray ( e , n ) : void 0 } } / * *
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
* / f u n c t i o n _ a r r a y W i t h o u t H o l e s ( e ) { i f ( A r r a y . i s A r r a y ( e ) ) r e t u r n _ a r r a y L i k e T o A r r a y ( e ) } f u n c t i o n _ i t e r a b l e T o A r r a y ( e ) { i f ( t y p e o f S y m b o l < " u " & & e [ S y m b o l . i t e r a t o r ] ! = n u l l | | e [ " @ @ i t e r a t o r " ] ! = n u l l ) r e t u r n A r r a y . f r o m ( e ) } f u n c t i o n _ n o n I t e r a b l e S p r e a d ( ) { t h r o w n e w T y p e E r r o r ( ` I n v a l i d a t t e m p t t o s p r e a d n o n - i t e r a b l e i n s t a n c e .
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()}/**
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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)}/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /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))in e?Object.defineProperty(e,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[n]=l,e}/ * *
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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}/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-07-20 03:44:29 +00:00
* / f u n c t i o n l i s t C a c h e C l e a r $ 1 ( ) { t h i s . _ _ d a t a _ _ = [ ] , t h i s . s i z e = 0 } v a r _ l i s t C a c h e C l e a r = l i s t C a c h e C l e a r $ 1 , e q $ 3 = e q _ 1 ; f u n c t i o n a s s o c I n d e x O f $ 4 ( e , n ) { f o r ( v a r l = e . l e n g t h ; l - - ; ) i f ( e q $ 3 ( e [ l ] [ 0 ] , n ) ) r e t u r n l ; r e t u r n - 1 } v a r _ a s s o c I n d e x O f = a s s o c I n d e x O f $ 4 , a s s o c I n d e x O f $ 3 = _ a s s o c I n d e x O f , a r r a y P r o t o = A r r a y . p r o t o t y p e , s p l i c e = a r r a y P r o t o . s p l i c e ; f u n c t i o n l i s t C a c h e D e l e t e $ 1 ( e ) { v a r n = t h i s . _ _ d a t a _ _ , l = a s s o c I n d e x O f $ 3 ( n , e ) ; i f ( l < 0 ) r e t u r n ! 1 ; v a r r = n . l e n g t h - 1 ; r e t u r n l = = r ? n . p o p ( ) : s p l i c e . c a l l ( n , l , 1 ) , - - t h i s . s i z e , ! 0 } v a r _ l i s t C a c h e D e l e t e = l i s t C a c h e D e l e t e $ 1 , a s s o c I n d e x O f $ 2 = _ a s s o c I n d e x O f ; f u n c t i o n l i s t C a c h e G e t $ 1 ( e ) { v a r n = t h i s . _ _ d a t a _ _ , l = a s s o c I n d e x O f $ 2 ( n , e ) ; r e t u r n l < 0 ? v o i d 0 : n [ l ] [ 1 ] } v a r _ l i s t C a c h e G e t = l i s t C a c h e G e t $ 1 , a s s o c I n d e x O f $ 1 = _ a s s o c I n d e x O f ; f u n c t i o n l i s t C a c h e H a s $ 1 ( e ) { r e t u r n a s s o c I n d e x O f $ 1 ( t h i s . _ _ d a t a _ _ , e ) > - 1 } v a r _ l i s t C a c h e H a s = l i s t C a c h e H a s $ 1 , a s s o c I n d e x O f = _ a s s o c I n d e x O f ; f u n c t i o n l i s t C a c h e S e t $ 1 ( e , n ) { v a r l = t h i s . _ _ d a t a _ _ , r = a s s o c I n d e x O f ( l , e ) ; r e t u r n r < 0 ? ( + + t h i s . s i z e , l . p u s h ( [ e , n ] ) ) : l [ r ] [ 1 ] = n , t h i s } v a r _ l i s t C a c h e S e t = l i s t C a c h e S e t $ 1 , l i s t C a c h e C l e a r = _ l i s t C a c h e C l e a r , l i s t C a c h e D e l e t e = _ l i s t C a c h e D e l e t e , l i s t C a c h e G e t = _ l i s t C a c h e G e t , l i s t C a c h e H a s = _ l i s t C a c h e H a s , l i s t C a c h e S e t = _ l i s t C a c h e S e t ; f u n c t i o n L i s t C a c h e $ 1 $ 1 ( e ) { v a r n = - 1 , l = e = = n u l l ? 0 : e . l e n g t h ; f o r ( t h i s . c l e a r ( ) ; + + n < l ; ) { v a r r = e [ n ] ; t h i s . s e t ( r [ 0 ] , r [ 1 ] ) } } L i s t C a c h e $ 1 $ 1 . p r o t o t y p e . c l e a r = l i s t C a c h e C l e a r ; L i s t C a c h e $ 1 $ 1 . p r o t o t y p e . d e l e t e = l i s t C a c h e D e l e t e ; L i s t C a c h e $ 1 $ 1 . p r o t o t y p e . g e t = l i s t C a c h e G e t ; L i s t C a c h e $ 1 $ 1 . p r o t o t y p e . h a s = l i s t C a c h e H a s ; L i s t C a c h e $ 1 $ 1 . p r o t o t y p e . s e t = l i s t C a c h e S e t ; v a r _ L i s t C a c h e = L i s t C a c h e $ 1 $ 1 , g e t N a t i v e $ 4 = _ g e t N a t i v e , n a t i v e C r e a t e $ 4 = g e t N a t i v e $ 4 ( O b j e c t , " c r e a t e " ) , _ n a t i v e C r e a t e = n a t i v e C r e a t e $ 4 , n a t i v e C r e a t e $ 3 = _ n a t i v e C r e a t e ; f u n c t i o n h a s h C l e a r $ 1 ( ) { t h i s . _ _ d a t a _ _ = n a t i v e C r e a t e $ 3 ? n a t i v e C r e a t e $ 3 ( n u l l ) : { } , t h i s . s i z e = 0 } v a r _ h a s h C l e a r = h a s h C l e a r $ 1 ; f u n c t i o n h a s h D e l e t e $ 1 ( e ) { v a r n = t h i s . h a s ( e ) & & d e l e t e t h i s . _ _ d a t a _ _ [ e ] ; r e t u r n t h i s . s i z e - = n ? 1 : 0 , n } v a r _ h a s h D e l e t e = h a s h D e l e t e $ 1 , n a t i v e C r e a t e $ 2 = _ n a t i v e C r e a t e , H A S H _ U N D E F I N E D $ 1 = " _ _ l o d a s h _ h a s h _ u n d e f i n e d _ _ " , o b j e c t P r o t o $ 1 $ 3 = O b j e c t . p r o t o t y p e , h a s O w n P r o p e r t y $ 1 $ 2 = o b j e c t P r o t o $ 1 $ 3 . h a s O w n P r o p e r t y ; f u n c t i o n h a s h G e t $ 1 ( e ) { v a r n = t h i s . _ _ d a t a _ _ ; i f ( n a t i v e C r e a t e $ 2 ) { v a r l = n [ e ] ; r e t u r n l = = = H A S H _ U N D E F I N E D $ 1 ? v o i d 0 : l } r e t u r n h a s O w n P r o p e r t y $ 1 $ 2 . c a l l ( n , e ) ? n [ e ] : v o i d 0 } v a r _ h a s h G e t = h a s h G e t $ 1 , n a t i v e C r e a t e $ 1 = _ n a t i v e C r e a t e , o b j e c t P r o t o $ 9 = O b j e c t . p r o t o t y p e , h a s O w n P r o p e r t y $ 8 = o b j e c t P r o t o $ 9 . h a s O w n P r o p e r t y ; f u n c t i o n h a s h H a s $ 1 ( e ) { v a r n = t h i s . _ _ d a t a _ _ ; r e t u r n n a t i v e C r e a t e $ 1 ? n [ e ] ! = = v o i d 0 : h a s O w n P r o p e r t y $ 8 . c a l l ( n , e ) } v a r _ h a s h H a s = h a s h H a s $ 1 , n a t i v e C r e a t e = _ n a t i v e C r e a t e , H A S H _ U N D E F I N E D $ 2 = " _ _ l o d a s h _ h a s h _ u n d e f i n e d _ _ " ; f u n c t i o n h a s h S e t $ 1 ( e , n ) { v a r l = t h i s . _ _ d a t a _ _ ; r e t u r n t h i s . s i z e + = t h i s . h a s ( e ) ? 0 : 1 , l [ e ] = n a t i v e C r e a t e & & n = = = v o i d 0 ? H A S H _ U N D E F I N E D $ 2 : n , t h i s } v a r _ h a s h S e t = h a s h S e t $ 1 , h a s h C l e a r = _ h a s h C l e a r , h a s h D e l e t e = _ h a s h D e l e t e , h a s h G e t = _ h a s h G e t , h a s h H a s = _ h a s h H a s , h a s h S e t = _ h a s h S e t ; f u n c t i o n H a s h $ 1 ( e ) { v a r n = - 1 , l = e = = n u l l ? 0 : e . l e n g t h ; f o r ( t h i s . c l e a r ( ) ; + + n < l ; ) { v a r r = e [ n ] ; t h i s . s e t ( r [ 0 ] , r [ 1 ] ) } } H a s h $ 1 . p r o t o t y p e . c l e a r = h a s h C l e a r ; H a s h $ 1 . p r o t o t y p e . d e l e t e = h a s h D e l e t e ; H a s h $ 1 . p r o t o t y p e . g e t = h a s h G e t ; H a s h $ 1 . p r o t o t y p e . h a s = h a s h H a s ; H a s h $ 1 . p r o t o t y p e . s e t = h a s h S e t ; v a r _ H a s h = H a s h $ 1 , H a s h = _ H a s h , L i s t C a c h e $ 3 = _ L i s t C a c h e , M a p $ 3 = _ M a p ; f u n c t i o n m a p C a c h e C l e a r $ 1 ( ) { t h i s . s i z e = 0 , t h i s . _ _ d a t a _ _ = { h a s h : n e w H a s h , m a p : n e w ( M a p $ 3 | | L i s t C a c h e $ 3 ) , s t r i n g : n e w H a s h } } v a r _ m a p C a c h e C l e a r = m a p C a c h e C l e a r $ 1 ; f u n c t i o n i s K e y a b l e $ 1 ( e ) { v a r n = _ t y p e o f ( e ) ; r e t u r n n = = " s t r i n g " | | n = = " n u m b e r " | | n = = " s y m b o l " | | n = = " b o o l e a n " ? e ! = = " _ _ p r o t o _ _ " : e = = = n u l l } v a r _ i s K e y a b l e = i s K e y a b l e $ 1 , i s K e y a b l e = _ i s K e y a b l e ; f u n c t i o n g e t M a p D a t a $ 4 ( e , n ) { v a r l = e . _ _ d a t a _ _ ; r e t u r n i s K e y a b l e ( n ) ? l [ t y p e o f n = = " s t r i n g " ? " s t r i n g " : " h a s h " ] : l . m a p } v a r _ g e t M a p D a t a = g e t M a p D a t a $ 4 , g e t M a p D a t a $ 3 = _ g e t M a p D a t a ; f u n c t i o n m a p C a c h e D e l e t e $ 1 ( e ) { v a r n = g e t M a p D a t a $ 3 ( t h i s , e ) . d e l e t e ( e ) ; r e t u r n t h i s . s i z e - = n ? 1 : 0 , n } v a r _ m a p C a c h e D e l e t e = m a p C a c h e D e l e t e $ 1 , g e t M a p D a t a $ 2 = _ g e t M a p D a t a ; f u n c t i o n m a p C a c h e G e t $ 1 ( e ) { r e t u r n g e t M a p D a t a $ 2 ( t h i s , e ) . g e t ( e ) } v a r _ m a p C a c h e G e t = m a p C a c h e G e t $ 1 , g e t M a p D a t a $ 1 = _ g e t M a p D a t a ; f u n c t i o n m a p C a c h e H a s $ 1 ( e ) { r e t u r n g e t M a p D a t a $ 1 ( t h i s , e ) . h a s ( e ) } v a r _ m a p C a c h e H a s = m a p C a c h e H a s $ 1 , g e t M a p D a t a = _ g e t M a p D a t a ; f u n c t i o n m a p C a c h e S e t $ 1 ( e , n ) { v a r l = g e t M a p D a t a ( t h i s , e ) , r = l . s i z e ; r e t u r n l . s e t ( e , n ) , t h i s . s i z e + = l . s i z e = = r ? 0 : 1 , t h i s } v a r _ m a p C a c h e S e t = m a p C a c h e S e t $ 1 , m a p C a c h e C l e a r = _ m a p C a c h e C
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-07-20 03:44:29 +00:00
* /var isArray$b=Array.isArray,isArray_1=isArray$b;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* / f u n c t i o n b a s e T i m e s $ 1 ( e , n ) { f o r ( v a r l = - 1 , r = A r r a y ( e ) ; + + l < e ; ) r [ l ] = n ( l ) ; r e t u r n r } v a r _ b a s e T i m e s = b a s e T i m e s $ 1 , b a s e T i m e s = _ b a s e T i m e s , i s A r g u m e n t s $ 4 = i s A r g u m e n t s _ 1 , i s A r r a y $ a = i s A r r a y _ 1 , i s B u f f e r $ 4 = i s B u f f e r $ 5 . e x p o r t s , i s I n d e x $ 2 = _ i s I n d e x , i s T y p e d A r r a y $ 3 = i s T y p e d A r r a y _ 1 , o b j e c t P r o t o $ 1 $ 2 = O b j e c t . p r o t o t y p e , h a s O w n P r o p e r t y $ 1 $ 1 = o b j e c t P r o t o $ 1 $ 2 . h a s O w n P r o p e r t y ; f u n c t i o n a r r a y L i k e K e y s $ 1 ( e , n ) { v a r l = i s A r r a y $ a ( e ) , r = ! l & & i s A r g u m e n t s $ 4 ( e ) , u = ! l & & ! r & & i s B u f f e r $ 4 ( e ) , o = ! l & & ! r & & ! u & & i s T y p e d A r r a y $ 3 ( e ) , t = l | | r | | u | | o , a = t ? b a s e T i m e s ( e . l e n g t h , S t r i n g ) : [ ] , m = a . l e n g t h ; f o r ( v a r f i n e ) ( n | | h a s O w n P r o p e r t y $ 1 $ 1 . c a l l ( e , f ) ) & & ! ( t & & ( f = = " l e n g t h " | | u & & ( f = = " o f f s e t " | | f = = " p a r e n t " ) | | o & & ( f = = " b u f f e r " | | f = = " b y t e L e n g t h " | | f = = " b y t e O f f s e t " ) | | i s I n d e x $ 2 ( f , m ) ) ) & & a . p u s h ( f ) ; r e t u r n a } v a r _ a r r a y L i k e K e y s = a r r a y L i k e K e y s $ 1 , L i s t C a c h e $ 2 = _ L i s t C a c h e ; f u n c t i o n s t a c k C l e a r $ 1 ( ) { t h i s . _ _ d a t a _ _ = n e w L i s t C a c h e $ 2 , t h i s . s i z e = 0 } v a r _ s t a c k C l e a r = s t a c k C l e a r $ 1 ; f u n c t i o n s t a c k D e l e t e $ 1 ( e ) { v a r n = t h i s . _ _ d a t a _ _ , l = n . d e l e t e ( e ) ; r e t u r n t h i s . s i z e = n . s i z e , l } v a r _ s t a c k D e l e t e = s t a c k D e l e t e $ 1 ; f u n c t i o n s t a c k G e t $ 1 ( e ) { r e t u r n t h i s . _ _ d a t a _ _ . g e t ( e ) } v a r _ s t a c k G e t = s t a c k G e t $ 1 ; f u n c t i o n s t a c k H a s $ 1 ( e ) { r e t u r n t h i s . _ _ d a t a _ _ . h a s ( e ) } v a r _ s t a c k H a s = s t a c k H a s $ 1 , L i s t C a c h e $ 1 = _ L i s t C a c h e , M a p $ 2 = _ M a p , M a p C a c h e $ 2 = _ M a p C a c h e , L A R G E _ A R R A Y _ S I Z E = 2 0 0 ; f u n c t i o n s t a c k S e t $ 1 ( e , n ) { v a r l = t h i s . _ _ d a t a _ _ ; i f ( l i n s t a n c e o f L i s t C a c h e $ 1 ) { v a r r = l . _ _ d a t a _ _ ; i f ( ! M a p $ 2 | | r . l e n g t h < L A R G E _ A R R A Y _ S I Z E - 1 ) r e t u r n r . p u s h ( [ e , n ] ) , t h i s . s i z e = + + l . s i z e , t h i s ; l = t h i s . _ _ d a t a _ _ = n e w M a p C a c h e $ 2 ( r ) } r e t u r n l . s e t ( e , n ) , t h i s . s i z e = l . s i z e , t h i s } v a r _ s t a c k S e t = s t a c k S e t $ 1 , L i s t C a c h e = _ L i s t C a c h e , s t a c k C l e a r = _ s t a c k C l e a r , s t a c k D e l e t e = _ s t a c k D e l e t e , s t a c k G e t = _ s t a c k G e t , s t a c k H a s = _ s t a c k H a s , s t a c k S e t = _ s t a c k S e t ; f u n c t i o n S t a c k $ 4 ( e ) { v a r n = t h i s . _ _ d a t a _ _ = n e w L i s t C a c h e ( e ) ; t h i s . s i z e = n . s i z e } S t a c k $ 4 . p r o t o t y p e . c l e a r = s t a c k C l e a r ; S t a c k $ 4 . p r o t o t y p e . d e l e t e = s t a c k D e l e t e ; S t a c k $ 4 . p r o t o t y p e . g e t = s t a c k G e t ; S t a c k $ 4 . p r o t o t y p e . h a s = s t a c k H a s ; S t a c k $ 4 . p r o t o t y p e . s e t = s t a c k S e t ; v a r _ S t a c k = S t a c k $ 4 , r o o t $ 5 = _ r o o t , U i n t 8 A r r a y $ 1 $ 1 = r o o t $ 5 . U i n t 8 A r r a y , _ U i n t 8 A r r a y = U i n t 8 A r r a y $ 1 $ 1 , _ c l o n e B u f f e r $ 1 = { e x p o r t s : { } } ; ( f u n c t i o n ( e , n ) { v a r l = _ r o o t , r = n & & ! n . n o d e T y p e & & n , u = r & & ! 0 & & e & & ! e . n o d e T y p e & & e , o = u & & u . e x p o r t s = = = r , t = o ? l . B u f f e r : v o i d 0 , a = t ? t . a l l o c U n s a f e : v o i d 0 ; f u n c t i o n m ( f , _ ) { i f ( _ ) r e t u r n f . s l i c e ( ) ; v a r $ = f . l e n g t h , S = a ? a ( $ ) : n e w f . c o n s t r u c t o r ( $ ) ; r e t u r n f . c o p y ( S ) , S } e . e x p o r t s = m } ) ( _ c l o n e B u f f e r $ 1 , _ c l o n e B u f f e r $ 1 . e x p o r t s ) ; _ c l o n e B u f f e r $ 1 . e x p o r t s ; v a r U i n t 8 A r r a y $ 2 = _ U i n t 8 A r r a y ; f u n c t i o n c l o n e A r r a y B u f f e r $ 1 $ 1 ( e ) { v a r n = n e w e . c o n s t r u c t o r ( e . b y t e L e n g t h ) ; r e t u r n n e w U i n t 8 A r r a y $ 2 ( n ) . s e t ( n e w U i n t 8 A r r a y $ 2 ( e ) ) , n } v a r _ c l o n e A r r a y B u f f e r = c l o n e A r r a y B u f f e r $ 1 $ 1 , c l o n e A r r a y B u f f e r $ 2 = _ c l o n e A r r a y B u f f e r ; f u n c t i o n c l o n e T y p e d A r r a y $ 2 ( e , n ) { v a r l = n ? c l o n e A r r a y B u f f e r $ 2 ( e . b u f f e r ) : e . b u f f e r ; r e t u r n n e w e . c o n s t r u c t o r ( l , e . b y t e O f f s e t , e . l e n g t h ) } v a r _ c l o n e T y p e d A r r a y = c l o n e T y p e d A r r a y $ 2 ; f u n c t i o n c o p y A r r a y $ 2 ( e , n ) { v a r l = - 1 , r = e . l e n g t h ; f o r ( n | | ( n = A r r a y ( r ) ) ; + + l < r ; ) n [ l ] = e [ l ] ; r e t u r n n } v a r _ c o p y A r r a y = c o p y A r r a y $ 2 , i s O b j e c t $ 1 $ 2 = i s O b j e c t _ 1 , o b j e c t C r e a t e = O b j e c t . c r e a t e , b a s e C r e a t e $ 1 = f u n c t i o n ( ) { f u n c t i o n e ( ) { } r e t u r n f u n c t i o n ( n ) { i f ( ! i s O b j e c t $ 1 $ 2 ( n ) ) r e t u r n { } ; i f ( o b j e c t C r e a t e ) r e t u r n o b j e c t C r e a t e ( n ) ; e . p r o t o t y p e = n ; v a r l = n e w e ; r e t u r n e . p r o t o t y p e = v o i d 0 , l } } ( ) , _ b a s e C r e a t e = b a s e C r e a t e $ 1 , o v e r A r g $ 1 = _ o v e r A r g , g e t P r o t o t y p e $ 1 $ 1 = o v e r A r g $ 1 ( O b j e c t . g e t P r o t o t y p e O f , O b j e c t ) , _ g e t P r o t o t y p e = g e t P r o t o t y p e $ 1 $ 1 , b a s e C r e a t e = _ b a s e C r e a t e , g e t P r o t o t y p e $ 2 = _ g e t P r o t o t y p e , i s P r o t o t y p e $ 1 $ 1 = _ i s P r o t o t y p e ; f u n c t i o n i n i t C l o n e O b j e c t $ 2 ( e ) { r e t u r n t y p e o f e . c o n s t r u c t o r = = " f u n c t i o n " & & ! i s P r o t o t y p e $ 1 $ 1 ( e ) ? b a s e C r e a t e ( g e t P r o t o t y p e $ 2 ( e ) ) : { } } v a r _ i n i t C l o n e O b j e c t = i n i t C l o n e O b j e c t $ 2 , a s s i g n V a l u e $ 1 = _ a s s i g n V a l u e , b a s e A s s i g n V a l u e $ 2 = _ b a s e A s s i g n V a l u e ; f u n c t i o n c o p y O b j e c t $ 6 ( e , n , l , r ) { v a r u = ! l ; l | | ( l = { } ) ; f o r ( v a r o = - 1 , t = n . l e n g t h ; + + o < t ; ) { v a r a = n [ o ] , m = r ? r ( l [ a ] , e [ a ] , a , l , e ) : v o i d 0 ; m = = = v o i d 0 & & ( m = e [ a ] ) , u ? b a s e A s s i g n V a l u e $ 2 ( l , a , m ) : a s s i g n V a l u e $ 1 ( l , a , m ) } r e t u r n l } v a r _ c o p y O b j e c t = c o p y O b j e c t $ 6 ; f u n c t i o n n a t i v e K e y s I n $ 1 ( e ) { v a r n = [ ] ; i f ( e ! = n u l l ) f o r ( v a r l i n O b j e c t ( e ) ) n . p u s h ( l ) ; r e t u r n n } v a r _ n a t i v e K e y s I n = n a t i v e K e y s I n $ 1 , i s O b j e c t $ 4 = i s O b j e c t _ 1 , i s P r o t o t y p e $ 2 = _ i s P r o t o t y p e , n a t i v e K e y s I n = _ n a t i v e K e y s I n , o b j e c t P r o t o $ 6 = O b j e c t . p r o t o t y p e , h a s O w n P r o p e r t y $ 6 = o b j e c t P r o t o $ 6 . h a s O w n P r o p e r t y ; f u n c t i o n b a s e K e y s I n $ 1 ( e ) { i f ( ! i s O b j e c t $ 4 ( e ) ) r e t u r n n a t i v e K e y s I n ( e ) ; v a r n = i s P r o t o t y p e $ 2 ( e ) , l = [ ] ; f o r ( v a r r i n e ) r = = "
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /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},empty:{titleText:{maintenance:void 0,success:void 0,fail:void 0,empty:void 0,networkError:void 0},image:{maintenance:void 0,success:void 0,fail:void 0,empty:void 0,networkError:void 0}}};/ * *
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /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.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +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 _=o?o(a,m,l+"",e,n,t):void 0,$=_===void 0;if($){var S=isArray$9(m),B=!S&&isBuffer$3(m),v=!S&&!B&&isTypedArray$2(m);_=m,S||B||v?isArray$9(a)?_=a:isArrayLikeObject(a)?_=copyArray$1(a):B?($=!1,_=cloneBuffer$1(m,!0)):v?($=!1,_=cloneTypedArray$1(m,!0)):_=[]:isPlainObject$1(m)||isArguments$3(m)?(_=a,isArguments$3(a)?_=toPlainObject(a):(!isObject$1$1(a)||isFunction(a))&&(_=initCloneObject$1(m))):$=!1}$&&(t.set(m,_),u(_,m,r,o,t),t.delete(m)),assignMergeValue$1(e,l,_)}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.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
* /var getNative$3=_getNative,root$4=_root,Set$2=getNative$3(root$4,"Set"),_Set=Set$2;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /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&©Object$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&©Object$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.9
2024-07-20 03:44:29 +00:00
* ( 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;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* / f u n c t i o n a r r a y S o m e $ 1 ( e , n ) { f o r ( v a r l = - 1 , r = e = = n u l l ? 0 : e . l e n g t h ; + + l < r ; ) i f ( n ( e [ l ] , l , e ) ) r e t u r n ! 0 ; r e t u r n ! 1 } v a r _ a r r a y S o m e = a r r a y S o m e $ 1 , S e t C a c h e = _ S e t C a c h e , a r r a y S o m e = _ a r r a y S o m e , c a c h e H a s = _ c a c h e H a s , C O M P A R E _ P A R T I A L _ F L A G $ 3 = 1 , C O M P A R E _ U N O R D E R E D _ F L A G $ 1 $ 1 = 2 ; f u n c t i o n e q u a l A r r a y s $ 2 ( e , n , l , r , u , o ) { v a r t = l & C O M P A R E _ P A R T I A L _ F L A G $ 3 , a = e . l e n g t h , m = n . l e n g t h ; i f ( a ! = m & & ! ( t & & m > a ) ) r e t u r n ! 1 ; v a r f = o . g e t ( e ) , _ = o . g e t ( n ) ; i f ( f & & _ ) r e t u r n f = = n & & _ = = e ; v a r $ = - 1 , S = ! 0 , B = l & C O M P A R E _ U N O R D E R E D _ F L A G $ 1 $ 1 ? n e w S e t C a c h e : v o i d 0 ; f o r ( o . s e t ( e , n ) , o . s e t ( n , e ) ; + + $ < a ; ) { v a r v = e [ $ ] , y = n [ $ ] ; i f ( r ) v a r E = t ? r ( y , v , $ , n , e , o ) : r ( v , y , $ , e , n , o ) ; i f ( E ! = = v o i d 0 ) { i f ( E ) c o n t i n u e ; S = ! 1 ; b r e a k } i f ( B ) { i f ( ! a r r a y S o m e ( n , f u n c t i o n ( x , R ) { i f ( ! c a c h e H a s ( B , R ) & & ( v = = = x | | u ( v , x , l , r , o ) ) ) r e t u r n B . p u s h ( R ) } ) ) { S = ! 1 ; b r e a k } } e l s e i f ( ! ( v = = = y | | u ( v , y , l , r , o ) ) ) { S = ! 1 ; b r e a k } } r e t u r n o . d e l e t e ( e ) , o . d e l e t e ( n ) , S } v a r _ e q u a l A r r a y s = e q u a l A r r a y s $ 2 ; f u n c t i o n m a p T o A r r a y $ 1 ( e ) { v a r n = - 1 , l = A r r a y ( e . s i z e ) ; r e t u r n e . f o r E a c h ( f u n c t i o n ( r , u ) { l [ + + n ] = [ u , r ] } ) , l } v a r _ m a p T o A r r a y = m a p T o A r r a y $ 1 , _ S y m b o l $ 2 = _ S y m b o l $ 2 $ 1 , U i n t 8 A r r a y $ 1 = _ U i n t 8 A r r a y , e q = e q _ 1 , e q u a l A r r a y s $ 1 = _ e q u a l A r r a y s , m a p T o A r r a y = _ m a p T o A r r a y , s e t T o A r r a y = _ s e t T o A r r a y , C O M P A R E _ P A R T I A L _ F L A G $ 2 = 1 , C O M P A R E _ U N O R D E R E D _ F L A G $ 2 = 2 , b o o l T a g $ 1 = " [ o b j e c t B o o l e a n ] " , d a t e T a g = " [ o b j e c t D a t e ] " , e r r o r T a g = " [ o b j e c t E r r o r ] " , m a p T a g $ 1 = " [ o b j e c t M a p ] " , n u m b e r T a g $ 1 = " [ o b j e c t N u m b e r ] " , r e g e x p T a g = " [ o b j e c t R e g E x p ] " , s e t T a g $ 1 = " [ o b j e c t S e t ] " , s t r i n g T a g $ 1 = " [ o b j e c t S t r i n g ] " , s y m b o l T a g $ 1 = " [ o b j e c t S y m b o l ] " , a r r a y B u f f e r T a g = " [ o b j e c t A r r a y B u f f e r ] " , d a t a V i e w T a g = " [ o b j e c t D a t a V i e w ] " , s y m b o l P r o t o $ 1 = _ S y m b o l $ 2 ? _ S y m b o l $ 2 . p r o t o t y p e : v o i d 0 , s y m b o l V a l u e O f = s y m b o l P r o t o $ 1 ? s y m b o l P r o t o $ 1 . v a l u e O f : v o i d 0 ; f u n c t i o n e q u a l B y T a g $ 1 ( e , n , l , r , u , o , t ) { s w i t c h ( l ) { c a s e d a t a V i e w T a g : i f ( e . b y t e L e n g t h ! = n . b y t e L e n g t h | | e . b y t e O f f s e t ! = n . b y t e O f f s e t ) r e t u r n ! 1 ; e = e . b u f f e r , n = n . b u f f e r ; c a s e a r r a y B u f f e r T a g : r e t u r n ! ( e . b y t e L e n g t h ! = n . b y t e L e n g t h | | ! o ( n e w U i n t 8 A r r a y $ 1 ( e ) , n e w U i n t 8 A r r a y $ 1 ( n ) ) ) ; c a s e b o o l T a g $ 1 : c a s e d a t e T a g : c a s e n u m b e r T a g $ 1 : r e t u r n e q ( + e , + n ) ; c a s e e r r o r T a g : r e t u r n e . n a m e = = n . n a m e & & e . m e s s a g e = = n . m e s s a g e ; c a s e r e g e x p T a g : c a s e s t r i n g T a g $ 1 : r e t u r n e = = n + " " ; c a s e m a p T a g $ 1 : v a r a = m a p T o A r r a y ; c a s e s e t T a g $ 1 : v a r m = r & C O M P A R E _ P A R T I A L _ F L A G $ 2 ; i f ( a | | ( a = s e t T o A r r a y ) , e . s i z e ! = n . s i z e & & ! m ) r e t u r n ! 1 ; v a r f = t . g e t ( e ) ; i f ( f ) r e t u r n f = = n ; r | = C O M P A R E _ U N O R D E R E D _ F L A G $ 2 , t . s e t ( e , n ) ; v a r _ = e q u a l A r r a y s $ 1 ( a ( e ) , a ( n ) , r , u , o , t ) ; r e t u r n t . d e l e t e ( e ) , _ ; c a s e s y m b o l T a g $ 1 : i f ( s y m b o l V a l u e O f ) r e t u r n s y m b o l V a l u e O f . c a l l ( e ) = = s y m b o l V a l u e O f . c a l l ( n ) } r e t u r n ! 1 } v a r _ e q u a l B y T a g = e q u a l B y T a g $ 1 , g e t A l l K e y s = _ g e t A l l K e y s , C O M P A R E _ P A R T I A L _ F L A G $ 1 $ 1 = 1 , o b j e c t P r o t o $ 1 = O b j e c t . p r o t o t y p e , h a s O w n P r o p e r t y $ 1 = o b j e c t P r o t o $ 1 . h a s O w n P r o p e r t y ; f u n c t i o n e q u a l O b j e c t s $ 1 ( e , n , l , r , u , o ) { v a r t = l & C O M P A R E _ P A R T I A L _ F L A G $ 1 $ 1 , a = g e t A l l K e y s ( e ) , m = a . l e n g t h , f = g e t A l l K e y s ( n ) , _ = f . l e n g t h ; i f ( m ! = _ & & ! t ) r e t u r n ! 1 ; f o r ( v a r $ = m ; $ - - ; ) { v a r S = a [ $ ] ; i f ( ! ( t ? S i n n : h a s O w n P r o p e r t y $ 1 . c a l l ( n , S ) ) ) r e t u r n ! 1 } v a r B = o . g e t ( e ) , v = o . g e t ( n ) ; i f ( B & & v ) r e t u r n B = = n & & v = = e ; v a r y = ! 0 ; o . s e t ( e , n ) , o . s e t ( n , e ) ; f o r ( v a r E = t ; + + $ < m ; ) { S = a [ $ ] ; v a r x = e [ S ] , R = n [ S ] ; i f ( r ) v a r Y = t ? r ( R , x , S , n , e , o ) : r ( x , R , S , e , n , o ) ; i f ( ! ( Y = = = v o i d 0 ? x = = = R | | u ( x , R , l , r , o ) : Y ) ) { y = ! 1 ; b r e a k } E | | ( E = S = = " c o n s t r u c t o r " ) } i f ( y & & ! E ) { v a r L = e . c o n s t r u c t o r , J = n . c o n s t r u c t o r ; L ! = J & & " c o n s t r u c t o r " i n e & & " c o n s t r u c t o r " i n n & & ! ( t y p e o f L = = " f u n c t i o n " & & L i n s t a n c e o f L & & t y p e o f J = = " f u n c t i o n " & & J i n s t a n c e o f J ) & & ( y = ! 1 ) } r e t u r n o . d e l e t e ( e ) , o . d e l e t e ( n ) , y } v a r _ e q u a l O b j e c t s = e q u a l O b j e c t s $ 1 , S t a c k $ 1 = _ S t a c k , e q u a l A r r a y s = _ e q u a l A r r a y s , e q u a l B y T a g = _ e q u a l B y T a g , e q u a l O b j e c t s = _ e q u a l O b j e c t s , g e t T a g $ 1 = _ g e t T a g , i s A r r a y $ 7 = i s A r r a y _ 1 , i s B u f f e r $ 1 = i s B u f f e r $ 5 . e x p o r t s , i s T y p e d A r r a y $ 1 = i s T y p e d A r r a y _ 1 , C O M P A R E _ P A R T I A L _ F L A G $ 4 = 1 , a r g s T a g = " [ o b j e c t A r g u m e n t s ] " , a r r a y T a g = " [ o b j e c t A r r a y ] " , o b j e c t T a g = " [ o b j e c t O b j e c t ] " , o b j e c t P r o t o $ 2 = O b j e c t . p r o t o t y p e , h a s O w n P r o p e r t y $ 2 = o b j e c t P r o t o $ 2 . h a s O w n P r o p e r t y ; f u n c t i o n b a s e I s E q u a l D e e p $ 1 ( e , n , l , r , u , o ) { v a r t = i s A r r a y $ 7 ( e ) , a = i s A r r a y $ 7 ( n ) , m = t ? a r r a y T a g : g e t T a g $ 1 ( e ) , f = a ? a r r a y T a g : g e t T a g $ 1 ( n ) ; m = m = = a r g s T a g ? o b j e c t T a g : m , f = f = = a r g s T a g ? o b j e c t T a g : f ; v a r _ = m = = o b j e c t T a g , $ = f = = o b j e c t T a g , S = m = = f ; i f ( S & & i s B u f f e r $ 1 ( e ) ) { i f ( ! i s B u f f e r $ 1 ( n ) ) r e t u r n ! 1 ; t = ! 0 , _ = ! 1 } i f ( S & & ! _ ) r e t u r n o | | ( o = n e w S t a c k $ 1 ) , t | | i s T y p e d A r r a y $ 1 ( e ) ? e q u a l A r r a y s ( e , n , l , r , u , o ) : e q u a l B y T a g ( e , n , m , l , r , u , o ) ; i f ( ! ( l & C O M P A R E _ P A R T I A L _ F L A G $ 4 ) ) { v a r B = _ & & h a s O w n P r o p e r t y $ 2 . c a l l ( e , " _ _ w r a p p e d _ _ " ) , v = $ & & h a s O w n P r o p e r t y $ 2 . c a l l ( n , " _ _ w r a p p e d _ _ " ) ; i f ( B | | v ) { v a r y = B ? e .
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
* / f u n c t i o n a r r a y M a p $ 1 ( e , n ) { f o r ( v a r l = - 1 , r = e = = n u l l ? 0 : e . l e n g t h , u = A r r a y ( r ) ; + + l < r ; ) u [ l ] = n ( e [ l ] , l , e ) ; r e t u r n u } v a r _ a r r a y M a p = a r r a y M a p $ 1 , _ S y m b o l $ 1 = _ S y m b o l $ 2 $ 1 , a r r a y M a p $ 2 = _ a r r a y M a p , i s A r r a y $ 6 = i s A r r a y _ 1 , i s S y m b o l $ 2 = i s S y m b o l _ 1 , I N F I N I T Y $ 1 = 1 / 0 , s y m b o l P r o t o = _ S y m b o l $ 1 ? _ S y m b o l $ 1 . p r o t o t y p e : v o i d 0 , s y m b o l T o S t r i n g = s y m b o l P r o t o ? s y m b o l P r o t o . t o S t r i n g : v o i d 0 ; f u n c t i o n b a s e T o S t r i n g $ 1 ( e ) { i f ( t y p e o f e = = " s t r i n g " ) r e t u r n e ; i f ( i s A r r a y $ 6 ( e ) ) r e t u r n a r r a y M a p $ 2 ( e , b a s e T o S t r i n g $ 1 ) + " " ; i f ( i s S y m b o l $ 2 ( e ) ) r e t u r n s y m b o l T o S t r i n g ? s y m b o l T o S t r i n g . c a l l ( e ) : " " ; v a r n = e + " " ; r e t u r n n = = " 0 " & & 1 / e = = - I N F I N I T Y $ 1 ? " - 0 " : n } v a r _ b a s e T o S t r i n g = b a s e T o S t r i n g $ 1 , b a s e T o S t r i n g = _ b a s e T o S t r i n g ; f u n c t i o n t o S t r i n g $ 4 ( e ) { r e t u r n e = = n u l l ? " " : b a s e T o S t r i n g ( e ) } v a r t o S t r i n g _ 1 = t o S t r i n g $ 4 ; / * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /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(){var u=arguments,o=n?n.apply(this,u):u[0],t=l.cache;if(t.has(o))return t.get(o);var a=e.apply(this,u);return l.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.9
2024-07-20 03:44:29 +00:00
* ( 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;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
* /function baseProperty$1(e){return function(n){return n==null?void 0:n[e]}}var _baseProperty=baseProperty$1;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* / f u n c t i o n _ a r r a y W i t h H o l e s ( e ) { i f ( A r r a y . i s A r r a y ( e ) ) r e t u r n e } f u n c t i o n _ i t e r a b l e T o A r r a y L i m i t ( e , n ) { v a r l = e = = n u l l ? n u l l : t y p e o f S y m b o l < " u " & & e [ S y m b o l . i t e r a t o r ] | | e [ " @ @ i t e r a t o r " ] ; i f ( l ! = n u l l ) { v a r r , u , o , t , a = [ ] , m = ! 0 , f = ! 1 ; t r y { i f ( o = ( l = l . c a l l ( e ) ) . n e x t , n = = = 0 ) { i f ( O b j e c t ( l ) ! = = l ) r e t u r n ; m = ! 1 } e l s e f o r ( ; ! ( m = ( r = o . c a l l ( l ) ) . d o n e ) & & ( a . p u s h ( r . v a l u e ) , a . l e n g t h ! = = n ) ; m = ! 0 ) ; } c a t c h ( _ ) { f = ! 0 , u = _ } f i n a l l y { t r y { i f ( ! m & & l . r e t u r n ! = n u l l & & ( t = l . r e t u r n ( ) , O b j e c t ( t ) ! = = t ) ) r e t u r n } f i n a l l y { i f ( f ) t h r o w u } } r e t u r n a } } f u n c t i o n _ n o n I t e r a b l e R e s t ( ) { t h r o w n e w T y p e E r r o r ( ` I n v a l i d a t t e m p t t o d e s t r u c t u r e n o n - i t e r a b l e i n s t a n c e .
2024-07-20 03:44:29 +00:00
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()}/**
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
* /function setStyle$1(e,n){var l=Object.keys(n);l.forEach(function(r){e.style[r]=n[r]})}/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
* / f u n c t i o n g e t I E V e r s i o n ( ) { i f ( t y p e o f n a v i g a t o r > " u " | | ! n a v i g a t o r ) r e t u r n N u m b e r . M A X _ S A F E _ I N T E G E R ; v a r e = n a v i g a t o r , n = e . u s e r A g e n t , l = n . i n d e x O f ( " c o m p a t i b l e " ) > - 1 & & n . i n d e x O f ( " M S I E " ) > - 1 , r = n . i n d e x O f ( " T r i d e n t " ) > - 1 & & n . i n d e x O f ( " r v : 1 1 . 0 " ) > - 1 ; i f ( l ) { v a r u = n e w R e g E x p ( " M S I E ( \ \ d + \ \ . \ \ d + ) ; " ) , o = n . m a t c h ( u ) ; i f ( ! o ) r e t u r n - 1 ; v a r t = p a r s e F l o a t ( o [ 1 ] ) ; r e t u r n t < 7 ? 6 : t } r e t u r n r ? 1 1 : N u m b e r . M A X _ S A F E _ I N T E G E R } f u n c t i o n g e t F l e x G a p P o l y F i l l ( ) { v a r e , n , l ; i f ( t y p e o f n a v i g a t o r > " u " | | ! n a v i g a t o r ) r e t u r n ! 1 ; v a r r = n a v i g a t o r . u s e r A g e n t , u = r . m a t c h ( / A p p l e W e b K i t . + C h r o m e \ / ( . + ) S a f a r i \ / . + / i ) ; i f ( N u m b e r ( u = = n u l l | | ( e = u [ 1 ] ) = = = n u l l | | e = = = v o i d 0 ? v o i d 0 : e . s p l i t ( " . " ) [ 0 ] ) < 1 0 0 ) r e t u r n ! 0 ; v a r o = r . m a t c h ( / A p p l e W e b K i t . + V e r s i o n \ / ( . + ) S a f a r i \ / . + / i ) ; i f ( N u m b e r ( o = = n u l l | | ( n = o [ 1 ] ) = = = n u l l | | n = = = v o i d 0 ? v o i d 0 : n . s p l i t ( " . " ) [ 0 ] ) < 1 2 ) r e t u r n ! 0 ; v a r t = g e t I E V e r s i o n ( ) ; i f ( t < = 1 1 ) r e t u r n ! 0 ; v a r a = r . m a t c h ( / F i r e f o x \ / ( . + ) / i ) ; r e t u r n N u m b e r ( a = = n u l l | | ( l = a [ 1 ] ) = = = n u l l | | l = = = v o i d 0 ? v o i d 0 : l . s p l i t ( " . " ) [ 0 ] ) < 1 0 0 } f u n c t i o n g e t C h a r a c t e r L e n g t h ( e , n ) { v a r l = i s N u m b e r _ 1 ( n ) ; i f ( ! e | | e . l e n g t h = = = 0 ) r e t u r n l ? { l e n g t h : 0 , c h a r a c t e r s : e } : 0 ; f o r ( v a r r = 0 , u = 0 ; u < e . l e n g t h ; u + + ) { v a r o = 0 ; i f ( e . c h a r C o d e A t ( u ) > 1 2 7 ? o = 2 : o = 1 , l & & r + o > n ) r e t u r n { l e n g t h : r , c h a r a c t e r s : e . s l i c e ( 0 , u ) } ; r + = o } r e t u r n l ? { l e n g t h : r , c h a r a c t e r s : e } : r } f u n c t i o n g e t U n i c o d e L e n g t h ( e ) { r e t u r n _ t o C o n s u m a b l e A r r a y ( e ! = n u l l ? e : " " ) . l e n g t h } f u n c t i o n l i m i t U n i c o d e M a x L e n g t h ( e , n , l ) { r e t u r n _ t o C o n s u m a b l e A r r a y ( l ! = n u l l ? l : " " ) . s l i c e ( ) . l e n g t h = = = n ? l | | " " : _ t o C o n s u m a b l e A r r a y ( e ! = n u l l ? e : " " ) . s l i c e ( 0 , n ) . j o i n ( " " ) } / * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* / f u n c t i o n o w n K e y s $ a ( e , n ) { v a r l = O b j e c t . k e y s ( e ) ; i f ( O b j e c t . g e t O w n P r o p e r t y S y m b o l s ) { v a r r = O b j e c t . g e t O w n P r o p e r t y S y m b o l s ( e ) ; n & & ( r = r . f i l t e r ( f u n c t i o n ( u ) { r e t u r n O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( e , u ) . e n u m e r a b l e } ) ) , l . p u s h . a p p l y ( l , r ) } r e t u r n l } f u n c t i o n _ o b j e c t S p r e a d $ a ( e ) { f o r ( v a r n = 1 ; n < a r g u m e n t s . l e n g t h ; n + + ) { v a r l = a r g u m e n t s [ n ] ! = n u l l ? a r g u m e n t s [ n ] : { } ; n % 2 ? o w n K e y s $ a ( O b j e c t ( l ) , ! 0 ) . f o r E a c h ( f u n c t i o n ( r ) { _ d e f i n e P r o p e r t y $ 2 ( e , r , l [ r ] ) } ) : O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ? O b j e c t . d e f i n e P r o p e r t i e s ( e , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ( l ) ) : o w n K e y s $ a ( O b j e c t ( l ) ) . f o r E a c h ( f u n c t i o n ( r ) { O b j e c t . d e f i n e P r o p e r t y ( e , r , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( l , r ) ) } ) } r e t u r n e } f u n c t i o n c i r c l e A d a p t e r ( e ) { v a r n , l , r , u = { } ; i f ( ! ( ! e | | t y p e o f w i n d o w > " u " ) ) { v a r o = ( n = w i n d o w ) = = = n u l l | | n = = = v o i d 0 | | ( l = n . g e t C o m p u t e d S t y l e ) = = = n u l l | | l = = = v o i d 0 ? v o i d 0 : l . c a l l ( n , e ) , t = o . c o l o r , a = o . f o n t S i z e , m = ( r = w i n d o w ) = = = n u l l | | r = = = v o i d 0 | | ( r = r . n a v i g a t o r ) = = = n u l l | | r = = = v o i d 0 ? v o i d 0 : r . u s e r A g e n t , f = / S a f a r i / . t e s t ( m ) & & ! / C h r o m e / . t e s t ( m ) , _ = / ( ? = . * i P h o n e ) [ ? = . * M i c r o M e s s e n g e r ] / . t e s t ( m ) & & ! / C h r o m e / . t e s t ( m ) ; i f ( ( f | | _ ) & & ( u = { t r a n s f o r m O r i g i n : " 0 p x 0 p x " , t r a n s f o r m : " s c a l e ( " . c o n c a t ( p a r s e I n t ( a , 1 0 ) / 1 2 , " ) " ) } ) , t & & g e t I E V e r s i o n ( ) > 1 1 ) { v a r $ = t . m a t c h ( / [ \ d . ] + / g ) , S = $ ? " r g b a ( " . c o n c a t ( $ [ 0 ] , " , " ) . c o n c a t ( $ [ 1 ] , " , " ) . c o n c a t ( $ [ 2 ] , " , 0 ) " ) : " " ; s e t S t y l e $ 1 ( e , _ o b j e c t S p r e a d $ a ( _ o b j e c t S p r e a d $ a ( { } , u ) , { } , { b a c k g r o u n d : " c o n i c - g r a d i e n t ( f r o m 9 0 d e g a t 5 0 % 5 0 % , " . c o n c a t ( S , " 0 d e g , " ) . c o n c a t ( t , " 3 6 0 d e g ) " ) } ) ) } e l s e s e t S t y l e $ 1 ( e , _ o b j e c t S p r e a d $ a ( _ o b j e c t S p r e a d $ a ( { } , u ) , { } , { b a c k g r o u n d : " " } ) ) } } / * *
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /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,_=new Array(f>1?f-1:0),$=1;$<f;$++)_[$-1]=arguments[$];var S=_[0];if(isString_1(m)){if(!S)return m;var B=/ \ { \ s * ( [ \ w - ] + ) \ s * \ } / g , v = m . replace ( B , function ( y , E ) { return S ? String ( S [ E ] ) : "" } ) ; return v } return isFunction _1 ( m ) ? _ . length ? m . apply ( void 0 , _ ) : 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.9
2024-07-20 03:44:29 +00:00
* ( 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")}})}}/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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 ) ] ) ] ) } } ) ; / * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* / v a r r a f $ 2 = { e x p o r t s : { } } , p e r f o r m a n c e N o w $ 1 = { e x p o r t s : { } } ; ( f u n c t i o n ( ) { v a r e , n , l , r , u , o ; t y p e o f p e r f o r m a n c e < " u " & & p e r f o r m a n c e ! = = n u l l & & p e r f o r m a n c e . n o w ? p e r f o r m a n c e N o w $ 1 . e x p o r t s = f u n c t i o n ( ) { r e t u r n p e r f o r m a n c e . n o w ( ) } : t y p e o f p r o c e s s < " u " & & p r o c e s s ! = = n u l l & & p r o c e s s . h r t i m e ? ( p e r f o r m a n c e N o w $ 1 . e x p o r t s = f u n c t i o n ( ) { r e t u r n ( e ( ) - u ) / 1 e 6 } , n = p r o c e s s . h r t i m e , e = f u n c t i o n ( ) { v a r a ; r e t u r n a = n ( ) , a [ 0 ] * 1 e 9 + a [ 1 ] } , r = e ( ) , o = p r o c e s s . u p t i m e ( ) * 1 e 9 , u = r - o ) : D a t e . n o w ? ( p e r f o r m a n c e N o w $ 1 . e x p o r t s = f u n c t i o n ( ) { r e t u r n D a t e . n o w ( ) - l } , l = D a t e . n o w ( ) ) : ( p e r f o r m a n c e N o w $ 1 . e x p o r t s = f u n c t i o n ( ) { r e t u r n n e w D a t e ( ) . g e t T i m e ( ) - l } , l = n e w D a t e ( ) . g e t T i m e ( ) ) } ) . c a l l ( c o m m o n j s G l o b a l ) ; v a r n o w = p e r f o r m a n c e N o w $ 1 . e x p o r t s , r o o t = t y p e o f w i n d o w > " u " ? c o m m o n j s G l o b a l : w i n d o w , v e n d o r s = [ " m o z " , " w e b k i t " ] , s u f f i x = " A n i m a t i o n F r a m e " , r a f = r o o t [ " r e q u e s t " + s u f f i x ] , c a f = r o o t [ " c a n c e l " + s u f f i x ] | | r o o t [ " c a n c e l R e q u e s t " + s u f f i x ] ; f o r ( v a r i = 0 ; ! r a f & & i < v e n d o r s . l e n g t h ; i + + ) r a f = r o o t [ v e n d o r s [ i ] + " R e q u e s t " + s u f f i x ] , c a f = r o o t [ v e n d o r s [ i ] + " C a n c e l " + s u f f i x ] | | r o o t [ v e n d o r s [ i ] + " C a n c e l R e q u e s t " + s u f f i x ] ; i f ( ! r a f | | ! c a f ) { v a r l a s t $ 2 = 0 , i d = 0 , q u e u e = [ ] , f r a m e D u r a t i o n = 1 e 3 / 6 0 ; r a f = f u n c t i o n ( n ) { i f ( q u e u e . l e n g t h = = = 0 ) { v a r l = n o w ( ) , r = M a t h . m a x ( 0 , f r a m e D u r a t i o n - ( l - l a s t $ 2 ) ) ; l a s t $ 2 = r + l , s e t T i m e o u t ( f u n c t i o n ( ) { v a r u = q u e u e . s l i c e ( 0 ) ; q u e u e . l e n g t h = 0 ; f o r ( v a r o = f u n c t i o n ( ) { i f ( ! u [ t ] . c a n c e l l e d ) t r y { u [ t ] . c a l l b a c k ( l a s t $ 2 ) } c a t c h ( m ) { s e t T i m e o u t ( f u n c t i o n ( ) { t h r o w m } , 0 ) } } , t = 0 ; t < u . l e n g t h ; t + + ) o ( ) } , M a t h . r o u n d ( r ) ) } r e t u r n q u e u e . p u s h ( { h a n d l e : + + i d , c a l l b a c k : n , c a n c e l l e d : ! 1 } ) , i d } , c a f = f u n c t i o n ( n ) { f o r ( v a r l = 0 ; l < q u e u e . l e n g t h ; l + + ) q u e u e [ l ] . h a n d l e = = = n & & ( q u e u e [ l ] . c a n c e l l e d = ! 0 ) } } r a f $ 2 . e x p o r t s = f u n c t i o n ( e ) { r e t u r n r a f . c a l l ( r o o t , e ) } ; r a f $ 2 . e x p o r t s . c a n c e l = f u n c t i o n ( ) { c a f . a p p l y ( r o o t , a r g u m e n t s ) } ; r a f $ 2 . e x p o r t s . p o l y f i l l = f u n c t i o n ( e ) { e | | ( e = r o o t ) , e . r e q u e s t A n i m a t i o n F r a m e = r a f , e . c a n c e l A n i m a t i o n F r a m e = c a f } ; v a r i s S e r v e r = t y p e o f w i n d o w > " u " , t r i m = f u n c t i o n e ( n ) { r e t u r n ( n | | " " ) . r e p l a c e ( / ^ [ \ s \ u F E F F ] + | [ \ s \ u F E F F ] + $ / g , " " ) } , o n = f u n c t i o n ( ) { r e t u r n ! i s S e r v e r & & d o c u m e n t . a d d E v e n t L i s t e n e r ? f u n c t i o n ( e , n , l , r ) { e & & n & & l & & e . a d d E v e n t L i s t e n e r ( n , l , r ) } : f u n c t i o n ( e , n , l ) { e & & n & & l & & e . a t t a c h E v e n t ( " o n " . c o n c a t ( n ) , l ) } } ( ) , o f f = f u n c t i o n ( ) { r e t u r n ! i s S e r v e r & & d o c u m e n t . r e m o v e E v e n t L i s t e n e r ? f u n c t i o n ( e , n , l , r ) { e & & n & & e . r e m o v e E v e n t L i s t e n e r ( n , l , r ) } : f u n c t i o n ( e , n , l ) { e & & n & & e . d e t a c h E v e n t ( " o n " . c o n c a t ( n ) , l ) } } ( ) ; f u n c t i o n o n c e ( e , n , l , r ) { v a r u = i s F u n c t i o n _ 1 ( l ) ? l : l . h a n d l e E v e n t , o = f u n c t i o n ( a ) { u ( a ) , o f f ( e , n , o , r ) } ; o n ( e , n , o , r ) } f u n c t i o n h a s C l a s s ( e , n ) { i f ( ! e | | ! n ) r e t u r n ! 1 ; i f ( n . i n d e x O f ( " " ) ! = = - 1 ) t h r o w n e w E r r o r ( " c l a s s N a m e s h o u l d n o t c o n t a i n s p a c e . " ) ; r e t u r n e . c l a s s L i s t ? e . c l a s s L i s t . c o n t a i n s ( n ) : " " . c o n c a t ( e . c l a s s N a m e , " " ) . i n d e x O f ( " " . c o n c a t ( n , " " ) ) > - 1 } f u n c t i o n a d d C l a s s ( e , n ) { i f ( ! ! e ) { f o r ( v a r l = e . c l a s s N a m e , r = ( n | | " " ) . s p l i t ( " " ) , u = 0 , o = r . l e n g t h ; u < o ; u + + ) { v a r t = r [ u ] ; ! t | | ( e . c l a s s L i s t ? e . c l a s s L i s t . a d d ( t ) : h a s C l a s s ( e , t ) | | ( l + = " " . c o n c a t ( t ) ) ) } e . c l a s s L i s t | | ( e . c l a s s N a m e = l ) } } f u n c t i o n r e m o v e C l a s s ( e , n ) { i f ( ! ( ! e | | ! n ) ) { f o r ( v a r l = n . s p l i t ( " " ) , r = " " . c o n c a t ( e . c l a s s N a m e , " " ) , u = 0 , o = l . l e n g t h ; u < o ; u + + ) { v a r t = l [ u ] ; ! t | | ( e . c l a s s L i s t ? e . c l a s s L i s t . r e m o v e ( t ) : h a s C l a s s ( e , t ) & & ( r = r . r e p l a c e ( " " . c o n c a t ( t , " " ) , " " ) ) ) } e . c l a s s L i s t | | ( e . c l a s s N a m e = t r i m ( r ) ) } } v a r g e t A t t a c h = f u n c t i o n e ( n , l ) { v a r r = i s F u n c t i o n _ 1 ( n ) ? n ( l ) : n ; r e t u r n r ? i s S t r i n g _ 1 ( r ) ? d o c u m e n t . q u e r y S e l e c t o r ( r ) : r i n s t a n c e o f H T M L E l e m e n t ? r : d o c u m e n t . b o d y : d o c u m e n t . b o d y } , g e t S S R A t t a c h = f u n c t i o n e ( ) { } , g e t S c r o l l C o n t a i n e r = f u n c t i o n e ( ) { v a r n = a r g u m e n t s . l e n g t h > 0 & & a r g u m e n t s [ 0 ] ! = = v o i d 0 ? a r g u m e n t s [ 0 ] : " b o d y " ; r e t u r n i s S t r i n g _ 1 ( n ) ? d o c u m e n t . q u e r y S e l e c t o r ( n ) : i s F u n c t i o n _ 1 ( n ) ? n ( ) : n } , i s T e x t E l l i p s i s = f u n c t i o n e ( n ) { v a r l = n . c l i e n t W i d t h , r = l = = = v o i d 0 ? 0 : l , u = n . s c r o l l W i d t h , o = u = = = v o i d 0 ? 0 : u ; r e t u r n o > r } , r e q u e s t S u b m i t = f u n c t i o n e ( n ) { i f ( ! ( n i n s t a n c e o f H T M L F o r m E l e m e n t ) ) t h r o w n e w E r r o r ( " t a r g e t m u s t b e H T M L F o r m E l e m e n t " ) ; v a r l = d o c u m e n t . c r e a t e E l e m e n t ( " i n p u t " ) ; l . t y p e = " s u b m i t " , l . h i d d e n = ! 0 , n . a p p e n d C h i l d ( l ) , l . c l i c k ( ) , n . r e m o v e C h i l d ( l ) } ; / * *
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
* /var createCompounder=_createCompounder,kebabCase=createCompounder(function(e,n,l){return e+(l?"-":"")+n.toLowerCase()}),kebabCase_1=kebabCase;/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /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 getChildren(e){var n=[],l=function(u){if(!!isArray_1(u))return u.forEach(function(o){if(o.children&&isArray_1(o.children)){if(o.type!==Fragment)return;l(o.children)}else n.push(o)}),n};return l(e)}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),_=isEmpty_1(m)?f:m;return isEmpty_1(_)?t:_};/ * *
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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}};/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( 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};/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /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,_=o.overlayClass,$=o.relativeClass,S=o.fullClass,B=o.inheritColorClass,v=usePrefixClass(),y=useCommonClassName$1(),E=y.SIZE,x=function(){u.value=!1;var M=setTimeout(function(){u.value=!0,clearTimeout(M)},n.delay)},R=useTeleport(function(){return n.attach}),Y=computed(function(){return Boolean(!n.delay||n.delay&&u.value)}),L=computed(function(){var O={};return n.zIndex!==void 0&&(O.zIndex=n.zIndex),["small","medium","large"].includes(n.size)||(O["font-size"]=n.size),O}),J=computed(function(){return Boolean(n.default||r.default||n.content||r.content)}),l2=computed(function(){return n.preventScrollThrough&&n.fullscreen}),N=computed(function(){return Boolean(n.text||r.text)}),e2=computed(function(){return J.value&&n.loading&&Y.value}),G=computed(function(){return n.fullscreen&&n.loading&&Y.value}),h2=computed(function(){return n.attach&&n.loading&&Y.value}),j=computed(function(){return n.attach&&n.loading&&Y.value}),z2=computed(function(){var O=[a.value,E.value[n.size],_defineProperty$2({},B.value,n.inheritColor)],M=[t.value,m.value,a.value,_.value];return{baseClasses:O,attachClasses:O.concat([t.value,S.value,_defineProperty$2({},_.value,n.showOverlay)]),withContentClasses:O.concat([t.value,S.value,_defineProperty$2({},_.value,n.showOverlay)]),fullScreenClasses:M,normalClasses:O.concat([t.value])}}),P2=toRefs(n),W=P2.loading;return watch([W],function(O){var M=_slicedToArray(O,1),n2=M[0];n2?(x(),l2.value&&addClass(document.body,f.value)):l2.value&&removeClass(document.body,f.value)}),onMounted(function(){n.delay&&x()}),{classPrefix:v,relativeClass:$,delayShowLoading:u,styles:L,showText:N,hasContent:J,classes:z2,lockFullscreen:l2,showWrapLoading:e2,showNormalLoading:h2,showFullScreenLoading:G,showAttachedLoading:j,teleportElement:R}},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),_=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,_])])]}}):this.hasContent?createVNode("div",mergeProps({class:this.relativeClass},this.$attrs),[renderContent(this,"default","content"),this.showWrapLoading&&createVNode("div",{class:o,style:this.styles},[f,_])]):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,_])]}}):this.loading?createVNode("div",mergeProps({class:a,style:this.styles},this.$attrs),[f,_]):null}});/ * *
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /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}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$9({},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.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /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],_=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,_,m,e,n,$);if(!(S===void 0?baseIsEqual$1(_,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.9
2024-07-20 03:44:29 +00:00
* ( 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="";/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
* /var Loading=withInstall(_Loading,_Loading.name,{name:"loading",comp:vLoading});/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /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,loadingProps:{type:Object},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.9
2024-07-20 03:44:29 +00:00
* ( 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)}}/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-07-20 03:44:29 +00:00
* ( c ) 2024 tdesign
* @ license MIT
* /function setStyle(e,n){var l=Object.keys(n);l.forEach(function(r){e.style[r]=n[r]})}/ * *
2024-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +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,_=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),B=S>0?S:0,v=f.offsetWidth,y=f.offsetHeight;l.value.parentNode===null&&(setStyle(l.value,{position:"absolute",left:"".concat(0-B,"px"),top:"".concat(0-B,"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:_,opacity:"0.9"});for(var x=new WeakMap,R=f.children.length,Y=0;Y<R;++Y){var L=f.children[Y];L.style.zIndex===""&&L!==l.value&&(L.style.zIndex="1",x.set(L,!0))}var J=f.style.position?f.style.position:getComputedStyle(f).position;(J===""||J==="static")&&(f.style.position="relative"),l.value.insertBefore(E,l.value.firstChild),setTimeout(function(){E.style.transform="translateX(".concat(v,"px)")},0);var l2=function(){E.style.backgroundColor=noneRippleBg,e.value&&(e.value.removeEventListener("pointerup",l2,!1),e.value.removeEventListener("pointerleave",l2,!1),setTimeout(function(){E.remove(),l.value.children.length===0&&l.value.remove()},period*2+100))};e.value.addEventListener("pointerup",l2,!1),e.value.addEventListener("pointerleave",l2,!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)})}/ * *
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +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),_=isEmptyNode(m)?f:m;return isEmptyNode(_)?t:_}};/ * *
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +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,o,t;return isBoolean_1(e==null||(u=e.beforeDisabled)===null||u===void 0?void 0:u.value)?e.beforeDisabled.value:isBoolean_1(l.value)?l.value:isBoolean_1(e==null||(o=e.afterDisabled)===null||o===void 0?void 0:o.value)?e.afterDisabled.value:isBoolean_1((t=r.disabled)===null||t===void 0?void 0:t.value)?r.disabled.value:!1})}const index$c="";/ * *
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /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 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,_=m.SIZE,$=ref();useRipple($);var S=useDisabled(),B=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(B.value),_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2({},_.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),_.value.block,n.block)]});return function(){var y=t("default","content"),E=n.loading?createVNode(Loading,_objectSpread$8({inheritColor:!0},n.loadingProps),null):o("icon"),x=E&&!y,R=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]),R&&(y=[y].concat(R));var Y=function(){return!n.tag&&n.href?"a":n.tag||"button"},L={class:[].concat(_toConsumableArray(v.value),[_defineProperty$2({},"".concat(a.value,"--icon-only"),x)]),type:n.type,disabled:S.value||n.loading,href:n.href,tabindex:S.value?void 0:"0"};return h(Y(),_objectSpread$8(_objectSpread$8(_objectSpread$8({ref:$},r),L),{},{onClick:n.onClick}),[y])}}});/ * *
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +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$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(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}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$7 ( _objectSpread$7 ( { } , 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$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 } 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$6 ( _objectSpread$6 ( { } , o . value ) , l . style ) ) , m = computed ( ( ) => ( { class : t . value , style : a . value , onClick : f => { var _ ; return ( _ = e . onClick ) === null || _ === void 0 ? void 0 : _ . call ( e , { e : f } ) } } ) ) ; return ( ) => renderFn ( element$3 , m . value ) } } ) ; const CheckCircleFilledIcon = checkCircleFilled ; 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 ) { _defi
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +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}}/ * *
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /var props={attach:{type:[String,Function]},body:{type:[String,Function]},cancelBtn:{type:[String,Object,Function,null]},closeBtn:{type:[String,Boolean,Function],default:!0},closeOnEscKeydown:{type:Boolean,default:void 0},closeOnOverlayClick:{type:Boolean,default:void 0},confirmBtn:{type:[String,Object,Function,null]},confirmLoading:{type:Boolean,default:void 0},confirmOnEnter:Boolean,default:{type:[String,Function]},destroyOnClose:Boolean,dialogClassName:{type:String,default:""},dialogStyle:{type:Object},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="";/ * *
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /function ownKeys$2(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$2(e){for(var n=1;n<arguments.length;n++){var l=arguments[n]!=null?arguments[n]:{};n%2?ownKeys$2(Object(l),!0).forEach(function(r){_defineProperty$2(e,r,l[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):ownKeys$2(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 _,$=f.globalConfirm,S=f.theme,B=f.globalConfirmBtnTheme,v=((_=omit_1(B,["info"]))===null||_===void 0?void 0:_[S])||"primary",y={theme:v,size:f.size,onClick:function(x){e.confirmBtnAction(x)}};return isString_1($)?y.content=$:isObject_1($)&&(y=_objectSpread$2(_objectSpread$2({},y),$)),y},u=function(f){var _=f.globalCancel,$={theme:"default",size:f.size,onClick:function(B){e.cancelBtnAction(B)}};return isString_1(_)?$.content=_:isObject_1(_)&&($=_objectSpread$2(_objectSpread$2({},$),_)),$},o=function(f,_){var $=_.defaultButtonProps,S=_.className,B=_.confirmLoading,v=$;return isString_1(f)?v.content=f:isObject_1(f)&&(v=_objectSpread$2(_objectSpread$2({},v),f)),B!==void 0&&(v.loading=B),createVNode(Button,mergeProps({class:S},v),null)},t=function(f){var _=f.confirmBtn,$=f.className,S=f.confirmLoading;if(_===null)return null;_&&n.slots.confirmBtn&&console.warn("Both $props.confirmBtn and $scopedSlots.confirmBtn exist, $props.confirmBtn is preferred.");var B=r(f);return!_&&!n.slots.confirmBtn?createVNode(Button,mergeProps({class:$,loading:S},B),null):_&&["string","object"].includes(_typeof(_))?o(_,{defaultButtonProps:B,className:$,confirmLoading:S}):l("confirmBtn")},a=function(f){var _=f.cancelBtn,$=f.className;if(_===null)return null;_&&n.slots.cancelBtn&&console.warn("Both $props.cancelBtn and $scopedSlots.cancelBtn exist, $props.cancelBtn is preferred.");var S=u(f);return!_&&!n.slots.cancelBtn?createVNode(Button,mergeProps({class:$},S),null):_&&["string","object"].includes(_typeof(_))?o(_,{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}}/ * *
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +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 } / * *
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* / f u n c t i o n o w n K e y s $ 1 ( e , n ) { v a r l = O b j e c t . k e y s ( e ) ; i f ( O b j e c t . g e t O w n P r o p e r t y S y m b o l s ) { v a r r = O b j e c t . g e t O w n P r o p e r t y S y m b o l s ( e ) ; n & & ( r = r . f i l t e r ( f u n c t i o n ( u ) { r e t u r n O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( e , u ) . e n u m e r a b l e } ) ) , l . p u s h . a p p l y ( l , r ) } r e t u r n l } f u n c t i o n _ o b j e c t S p r e a d $ 1 ( e ) { f o r ( v a r n = 1 ; n < a r g u m e n t s . l e n g t h ; n + + ) { v a r l = a r g u m e n t s [ n ] ! = n u l l ? a r g u m e n t s [ n ] : { } ; n % 2 ? o w n K e y s $ 1 ( O b j e c t ( l ) , ! 0 ) . f o r E a c h ( f u n c t i o n ( r ) { _ d e f i n e P r o p e r t y $ 2 ( e , r , l [ r ] ) } ) : O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ? O b j e c t . d e f i n e P r o p e r t i e s ( e , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ( l ) ) : o w n K e y s $ 1 ( O b j e c t ( l ) ) . f o r E a c h ( f u n c t i o n ( r ) { O b j e c t . d e f i n e P r o p e r t y ( e , r , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( l , r ) ) } ) } r e t u r n e } f u n c t i o n G e t C S S V a l u e ( e ) { r e t u r n N u m b e r . i s N a N ( N u m b e r ( e ) ) ? e : " " . c o n c a t ( N u m b e r ( e ) , " p x " ) } v a r m o u s e P o s i t i o n , g e t C l i c k P o s i t i o n = f u n c t i o n e ( n ) { m o u s e P o s i t i o n = { x : n . c l i e n t X , y : n . c l i e n t Y } , s e t T i m e o u t ( f u n c t i o n ( ) { m o u s e P o s i t i o n = n u l l } , 1 0 0 ) } ; t y p e o f w i n d o w < " u " & & w i n d o w . d o c u m e n t & & w i n d o w . d o c u m e n t . d o c u m e n t E l e m e n t & & d o c u m e n t . d o c u m e n t E l e m e n t . a d d E v e n t L i s t e n e r ( " c l i c k " , g e t C l i c k P o s i t i o n , ! 0 ) ; f u n c t i o n I n i t D r a g E v e n t ( e ) { v a r n = e , l = w i n d o w . i n n e r W i d t h | | d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t W i d t h , r = w i n d o w . i n n e r H e i g h t | | d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t H e i g h t ; n . a d d E v e n t L i s t e n e r ( " m o u s e d o w n " , f u n c t i o n ( u ) { v a r o = u . c l i e n t X - n . o f f s e t L e f t , t = u . c l i e n t Y - n . o f f s e t T o p , a = n . o f f s e t W i d t h , m = n . o f f s e t H e i g h t ; i f ( a > l | | m > r ) r e t u r n ; f u n c t i o n f ( $ ) { v a r S = $ . c l i e n t X - o , B = $ . c l i e n t Y - t ; S < 0 & & ( S = 0 ) , B < 0 & & ( B = 0 ) , l - n . o f f s e t W i d t h - S < 0 & & ( S = l - n . o f f s e t W i d t h ) , r - n . o f f s e t H e i g h t - B < 0 & & ( B = r - n . o f f s e t H e i g h t ) , n . s t y l e . p o s i t i o n = " a b s o l u t e " , n . s t y l e . l e f t = " " . c o n c a t ( S , " p x " ) , n . s t y l e . t o p = " " . c o n c a t ( B , " p x " ) } f u n c t i o n _ ( ) { d o c u m e n t . r e m o v e E v e n t L i s t e n e r ( " m o u s e m o v e " , f ) , d o c u m e n t . r e m o v e E v e n t L i s t e n e r ( " m o u s e u p " , _ ) } d o c u m e n t . a d d E v e n t L i s t e n e r ( " m o u s e m o v e " , f ) , d o c u m e n t . a d d E v e n t L i s t e n e r ( " m o u s e u p " , _ ) , d o c u m e n t . a d d E v e n t L i s t e n e r ( " d r a g e n d " , _ ) } ) } v a r k e y = 1 , _ D i a l o g = d e f i n e C o m p o n e n t ( { n a m e : " T D i a l o g " , d i r e c t i v e s : { d r a g g a b l e : f u n c t i o n e ( n , l ) { n & & l & & l . v a l u e & & I n i t D r a g E v e n t ( n ) } } , i n h e r i t A t t r s : ! 1 , p r o p s , e m i t s : [ " u p d a t e : v i s i b l e " ] , s e t u p : f u n c t i o n e ( n , l ) { v a r r = t h i s , u = u s e P r e f i x C l a s s ( " d i a l o g " ) , o = u s e P r e f i x C l a s s ( ) , t = u s e C o n t e n t ( ) , a = u s e T N o d e J S X ( ) , m = r e f ( n u l l ) , f = u s e C o n f i g ( " d i a l o g " ) , _ = f . g l o b a l C o n f i g , $ = u s e G l o b a l I c o n ( { C l o s e I c o n , I n f o C i r c l e F i l l e d I c o n , C h e c k C i r c l e F i l l e d I c o n , E r r o r C i r c l e F i l l e d I c o n } ) , S = $ . C l o s e I c o n , B = $ . I n f o C i r c l e F i l l e d I c o n , v = $ . C h e c k C i r c l e F i l l e d I c o n , y = $ . E r r o r C i r c l e F i l l e d I c o n , E = f u n c t i o n ( d 2 ) { v a r b 2 ; ( b 2 = n . o n C o n f i r m ) = = = n u l l | | b 2 = = = v o i d 0 | | b 2 . c a l l ( n , { e : d 2 } ) } , x = f u n c t i o n ( d 2 ) { v a r b 2 ; ( b 2 = n . o n C a n c e l ) = = = n u l l | | b 2 = = = v o i d 0 | | b 2 . c a l l ( n , { e : d 2 } ) , U ( { e : d 2 , t r i g g e r : " c a n c e l " } ) } , R = u s e A c t i o n ( { c o n f i r m B t n A c t i o n : E , c a n c e l B t n A c t i o n : x } ) , Y = R . g e t C o n f i r m B t n , L = R . g e t C a n c e l B t n , J = u s e T e l e p o r t ( f u n c t i o n ( ) { r e t u r n n . a t t a c h } ) ; u s e D e s t r o y O n C l o s e ( ) ; v a r l 2 = r e f ( ) , N = r e f ( ) , e 2 = c o m p u t e d ( f u n c t i o n ( ) { r e t u r n n . m o d e = = = " m o d a l " } ) , G = c o m p u t e d ( f u n c t i o n ( ) { r e t u r n n . m o d e = = = " m o d e l e s s " } ) , h 2 = c o m p u t e d ( f u n c t i o n ( ) { r e t u r n n . m o d e = = = " n o r m a l " } ) , j = c o m p u t e d ( f u n c t i o n ( ) { r e t u r n n . m o d e = = = " f u l l - s c r e e n " } ) , z 2 = c o m p u t e d ( f u n c t i o n ( ) { r e t u r n n . v i s i b l e } ) , P 2 = c o m p u t e d ( f u n c t i o n ( ) { r e t u r n [ " " . c o n c a t ( u . v a l u e , " _ _ m a s k " ) , ! n . s h o w O v e r l a y & & " " . c o n c a t ( o . v a l u e , " - i s - h i d d e n " ) ] } ) , W = c o m p u t e d ( f u n c t i o n ( ) { r e t u r n h 2 . v a l u e ? [ ] : j . v a l u e ? [ " " . c o n c a t ( u . v a l u e , " _ _ p o s i t i o n _ f u l l s c r e e n " ) ] : [ " " . c o n c a t ( u . v a l u e , " _ _ p o s i t i o n " ) , ! ! n . t o p & & " " . c o n c a t ( u . v a l u e , " - - t o p " ) , " " . c o n c a t ( n . p l a c e m e n t & & ! n . t o p ? " " . c o n c a t ( u . v a l u e , " - - " ) . c o n c a t ( n . p l a c e m e n t ) : " " ) ] } ) , O = c o m p u t e d ( f u n c t i o n ( ) { r e t u r n [ ! h 2 . v a l u e & & " " . c o n c a t ( u . v a l u e , " _ _ w r a p " ) ] } ) , M = c o m p u t e d ( f u n c t i o n ( ) { i f ( j . v a l u e ) r e t u r n { } ; v a r S 2 = n . t o p , d 2 = { } ; i f ( S 2 ! = = v o i d 0 ) { v a r b 2 = G e t C S S V a l u e ( S 2 ) ; d 2 = { p a d d i n g T o p : b 2 } } r e t u r n d 2 } ) , n 2 = c o m p u t e d ( f u n c t i o n ( ) { v a r S 2 = [ " " . c o n c a t ( u . v a l u e ) , " " . c o n c a t ( u . v a l u e , " _ _ m o d a l - " ) . c o n c a t ( n . t h e m e ) , G . v a l u e & & n . d r a g g a b l e & & " " . c o n c a t ( u . v a l u e , " - - d r a g g a b l e " ) , n . d i a l o g C l a s s N a m e ] ; r e t u r n j . v a l u e ? S 2 . p u s h ( " " . c o n c a t ( u . v a l u e , " _ _ f u l l s c r e e n " ) ) : S 2 . p u s h . a p p l y ( S 2 , [ " " . c o n c a t ( u . v a l u e , " - - d e f a u l t " ) , " " . c o n c a t ( u . v a l u e , " - - " ) . c o n c a t ( n . p l a c e m e n t ) ] ) , S 2 } ) , X = c o m p u t e d ( f u n c t i o n ( ) { r e t u r n j . v a l u e ? _ o b j e c t S p r e a d $ 1 ( { } , n . d i a l o g S t y l e ) : _ o b j e c t S p r e a d $ 1 ( { w i d t h : G e t C S S V a l u e ( n . w i d t h ) } , n . d i a l o g S t y l e ) } ) , o 2 = u s e P o p u p M a n a g e r ( " d i a l o g " , { v i s i b l e : z 2 } ) , t 2 = o 2 . i s L a s t D i a l o g ; w a t c h ( f u n c t i o n ( ) { r e t u r n n . v i s i b l e } , f u n c t i o n ( S 2 ) { i f ( S 2 ) { v a r d 2 ; ( e 2 . v a l u e & & ! n . s h o w I n A t t a c h e d E l e m e n t | | j . v a l u e ) & & ( n . p r e v e n t S c r o l l T h r o u g h & & d o c u m e n t . b o d y . a p p e n d C
2024-07-20 03:44:29 +00:00
html body {
overflow - y : hidden ;
2024-09-02 02:23:47 +00:00
width : calc ( 100 % - ` .concat(d2, ` px ) ;
2024-07-20 03:44:29 +00:00
}
2024-09-02 02:23:47 +00:00
` )}),onBeforeUnmount(function(){x2(!1),y2()}),{COMPONENT_NAME:u,isModal:e2,isModeLess:G,isFullScreen:j,maskClass:P2,dialogClass:n2,dialogStyle:X,dialogEle:m,afterEnter:Y2,afterLeave:Q2,hasEventOn:E2,renderDialog:k3,teleportElement:J}},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]])]}})]}})}});/**
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +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 x;(x=r.firstElementChild.classList).remove.apply(x,_toConsumableArray(a.split(" ").map(function(R){return R.trim()})))}y.split(" ").forEach(function(R){r.firstElementChild.classList.add(R.trim())})}E&&(r.firstElementChild.style.cssText+=E),a=y},f=defineComponent({setup:function(y,E){var x=E.expose,R=ref(l);onMounted(function(){u.value=!0,document.activeElement.blur(),nextTick(function(){m(o,t)})});var Y=function(J){R.value=_objectSpread(_objectSpread({},l),J)};return x({update:Y}),function(){var L=l.onClose||function(){u.value=!1};return delete l.className,delete l.style,h(_Dialog,_objectSpread({onClose:L,visible:u.value},R.value))}}}),_=createApp(f),$=_.mount(r),S=getAttach(l.attach);S?S.appendChild(r):console.error("attach is not exist");var B={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(){_.unmount(),r.remove()},300)},setConfirmLoading:function(y){$.update({confirmLoading:y})}};return B},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]});/ * *
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( 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-09-02 02:23:47 +00:00
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /var ConfigProvider=withInstall(_ConfigProvider);const index$9="";var dayjs_min={exports:{}};(function(e,n){(function(l,r){e.exports=r()})(commonjsGlobal$1,function(){var l=1e3,r=6e4,u=36e5,o="millisecond",t="second",a="minute",m="hour",f="day",_="week",$="month",S="quarter",B="year",v="date",y="Invalid Date",E=/ ^ ( \ d { 4 } ) [ - /]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/ , x = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g , R = { name : "en" , weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday" . split ( "_" ) , months : "January_February_March_April_May_June_July_August_September_October_November_December" . split ( "_" ) , ordinal : function ( W ) { var O = [ "th" , "st" , "nd" , "rd" ] , M = W % 100 ; return "[" + W + ( O [ ( M - 20 ) % 10 ] || O [ M ] || O [ 0 ] ) + "]" } } , Y = function ( W , O , M ) { var n2 = String ( W ) ; return ! n2 || n2 . length >= O ? W : "" + Array ( O + 1 - n2 . length ) . join ( M ) + W } , L = { s : Y , z : function ( W ) { var O = - W . utcOffset ( ) , M = Math . abs ( O ) , n2 = Math . floor ( M / 60 ) , X = M % 60 ; return ( O <= 0 ? "+" : "-" ) + Y ( n2 , 2 , "0" ) + ":" + Y ( X , 2 , "0" ) } , m : function W ( O , M ) { if ( O . date ( ) < M . date ( ) ) return - W ( M , O ) ; var n2 = 12 * ( M . year ( ) - O . year ( ) ) + ( M . month ( ) - O . month ( ) ) , X = O . clone ( ) . add ( n2 , $ ) , o2 = M - X < 0 , t2 = O . clone ( ) . add ( n2 + ( o2 ? - 1 : 1 ) , $ ) ; return + ( - ( n2 + ( M - X ) / ( o2 ? X - t2 : t2 - X ) ) || 0 ) } , a : function ( W ) { return W < 0 ? Math . ceil ( W ) || 0 : Math . floor ( W ) } , p : function ( W ) { return { M : $ , y : B , w : _ , d : f , D : v , h : m , m : a , s : t , ms : o , Q : S } [ W ] || String ( W || "" ) . toLowerCase ( ) . replace ( /s$/ , "" ) } , u : function ( W ) { return W === void 0 } } , J = "en" , l2 = { } ; l2 [ J ] = R ; var N = "$isDayjsObject" , e2 = function ( W ) { return W instanceof z2 || ! ( ! W || ! W [ N ] ) } , G = function W ( O , M , n2 ) { var X ; if ( ! O ) return J ; if ( typeof O == "string" ) { var o2 = O . toLowerCase ( ) ; l2 [ o2 ] && ( X = o2 ) , M && ( l2 [ o2 ] = M , X = o2 ) ; var t2 = O . split ( "-" ) ; if ( ! X && t2 . length > 1 ) return W ( t2 [ 0 ] ) } else { var y2 = O . name ; l2 [ y2 ] = O , X = y2 } return ! n2 && X && ( J = X ) , X || ! n2 && J } , h2 = function ( W , O ) { if ( e2 ( W ) ) return W . clone ( ) ; var M = typeof O == "object" ? O : { } ; return M . date = W , M . args = arguments , new z2 ( M ) } , j = L ; j . l = G , j . i = e2 , j . w = function ( W , O ) { return h2 ( W , { locale : O . $L , utc : O . $u , x : O . $x , $offset : O . $offset } ) } ; var z2 = function ( ) { function W ( M ) { this . $L = G ( M . locale , null , ! 0 ) , this . parse ( M ) , this . $x = this . $x || M . x || { } , this [ N ] = ! 0 } var O = W . prototype ; return O . parse = function ( M ) { this . $d = function ( n2 ) { var X = n2 . date , o2 = n2 . utc ; if ( X === null ) return new Date ( NaN ) ; if ( j . u ( X ) ) return new Date ; if ( X instanceof Date ) return new Date ( X ) ; if ( typeof X == "string" && ! /Z$/i . test ( X ) ) { var t2 = X . match ( E ) ; if ( t2 ) { var y2 = t2 [ 2 ] - 1 || 0 , C2 = ( t2 [ 7 ] || "0" ) . substring ( 0 , 3 ) ; return o2 ? new Date ( Date . UTC ( t2 [ 1 ] , y2 , t2 [ 3 ] || 1 , t2 [ 4 ] || 0 , t2 [ 5 ] || 0 , t2 [ 6 ] || 0 , C2 ) ) : new Date ( t2 [ 1 ] , y2 , t2 [ 3 ] || 1 , t2 [ 4 ] || 0 , t2 [ 5 ] || 0 , t2 [ 6 ] || 0 , C2 ) } } return new Date ( X ) } ( M ) , this . init ( ) } , O . init = function ( ) { var M = this . $d ; this . $y = M . getFullYear ( ) , this . $M = M . getMonth ( ) , this . $D = M . getDate ( ) , this . $W = M . getDay ( ) , this . $H = M . getHours ( ) , this . $m = M . getMinutes ( ) , this . $s = M . getSeconds ( ) , this . $ms = M . getMilliseconds ( ) } , O . $utils = function ( ) { return j } , O . isValid = function ( ) { return this . $d . toString ( ) !== y } , O . isSame = function ( M , n2 ) { var X = h2 ( M ) ; return this . startOf ( n2 ) <= X && X <= this . endOf ( n2 ) } , O . isAfter = function ( M , n2 ) { return h2 ( M ) < this . startOf ( n2 ) } , O . isBefore = function ( M , n2 ) { return this . endOf ( n2 ) < h2 ( M ) } , O . $g = function ( M , n2 , X ) { return j . u ( M ) ? this [ n2 ] : this . set ( X , M ) } , O . unix = function ( ) { return Math . floor ( this . valueOf ( ) / 1e3 ) } , O . valueOf = function ( ) { return this . $d . getTime ( ) } , O . startOf = function ( M , n2 ) { var X = this , o2 = ! ! j . u ( n2 ) || n2 , t2 = j . p ( M ) , y2 = function ( M2 , L2 ) { var q2 = j . w ( X . $u ? Date . UTC ( X . $y , L2 , M2 ) : new Date ( X . $y , L2 , M2 ) , X ) ; return o2 ? q2 : q2 . endOf ( f ) } , C2 = function ( M2 , L2 ) { return j . w ( X . toDate ( ) [ M2 ] . apply ( X . toDate ( "s" ) , ( o2 ? [ 0 , 0 , 0 , 0 ] : [ 23 , 59 , 59 , 999 ] ) . slice ( L2 ) ) , X ) } , x2 = this . $W , j2 = this . $M , D2 = this . $D , J2 = "set" + ( this . $u ? "UTC" : "" ) ; switch ( t2 ) { case B : return o2 ? y2 ( 1 , 0 ) : y2 ( 31 , 11 ) ; case $ : return o2 ? y2 ( 1 , j2 ) : y2 ( 0 , j2 + 1 ) ; case _ : var V2 = this . $locale ( ) . weekStart || 0 , H2 = ( x2 < V2 ? x2 + 7 : x2 ) - V2 ; return y2 ( o2 ? D2 - H2 : D2 + ( 6 - H2 ) , j2 ) ; case f : case v : return C2 ( J2 + "Hours" , 0 ) ; case m : return C2 ( J2 + "Minutes" , 1 ) ; case a : return C2 ( J2 + "Seconds" , 2 ) ; case t : return C2 ( J2 + "Milliseconds" , 3 ) ; default : return this . clone ( ) } } , O . endOf = function ( M ) { return this . startOf ( M , ! 1 ) } , O . $set = function ( M , n2 ) { var X , o2 = j . p ( M ) , t2 = "set" + ( this . $u ? "UTC" : "" ) , y2 = ( X = { } , X [ f ] = t2 + "Date" , X [ v ] = t2 + "Date" , X [ $ ] = t2 + "Month" , X [ B ] = t2 + " F
* tdesign v1 . 9.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +00:00
* /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.9
2024-06-15 00:08:13 +00:00
* ( c ) 2024 tdesign
* @ license MIT
2024-09-02 02:23:47 +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 "},colonText:" : "},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 : { er
Error . stack : ` +p.stack;if(typeof p=="object"&&p!==null){if(s.has(p))return"[Circular "+(d||"root")+"]";s.add(p)}return p}},y2=function(s){if(typeof s=="string")return s;try{return s instanceof Error?(JSON.stringify(s,t2(),4)||"undefined").replace(/"/gim,""):JSON.stringify(s,t2(),4)||"undefined"}catch(d){return ` error happen when aegis stringify :
2024-07-20 03:44:29 +00:00
` +d.message+ `
2024-09-02 02:23:47 +00:00
` +d.stack}},C2=function(s){if(typeof s=="string")return s;try{return JSON.stringify(s,t2())||"undefined"}catch(d){return ` error happen when aegis stringify :
2024-07-20 03:44:29 +00:00
` +d.message+ `
2024-09-02 02:23:47 +00:00
` +d.stack}},x2=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,F){w=(w+=typeof I=="object"&&1<d?x2(I,d-1):D2(I))+(F===p-1?"":",")}),w+="]"):s instanceof Object?(w="{",k=Object.keys(s),C=k.length,k.forEach(function(I,F){typeof s[I]=="object"&&1<d?w+='"'+I+'":'+x2(s[I],d-1):w+=j2(I,s[I]),w+=F===C-1||F<C-1&&s[k[F+1]]===void 0?"":","}),w+="}"):w+=s,w},j2=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},D2=function(s){var d=typeof s;return""+(d=="undefined"||d=="symbol"||d=="function"?"null":d=="string"||d=="object"?'"'+s+'"':s)},J2=/data:(image|text|application|font) \/ .*;base64/,V2=((u2=W=W||{}).INFO_ALL="-1",u2.API_RESPONSE="1",u2.INFO="2",u2.ERROR="4",u2.PROMISE_ERROR="8",u2.AJAX_ERROR="16",u2.SCRIPT_ERROR="32",u2.IMAGE_ERROR="64",u2.CSS_ERROR="128",u2.CONSOLE_ERROR="256",u2.MEDIA_ERROR="512",u2.RET_ERROR="1024",u2.REPORT="2048",u2.PV="4096",u2.EVENT="8192",u2.PAGE_NOT_FOUND_ERROR="16384",u2.WEBSOCKET_ERROR="32768",u2.BRIDGE_ERROR="65536",u2.LAZY_LOAD_ERROR="131072",(u2=O=O||{}).LOG="log",u2.SPEED="speed",u2.PERFORMANCE="performance",u2.OFFLINE="offline",u2.WHITE_LIST="whiteList",u2.VITALS="vitals",u2.PV="pv",u2.CUSTOM_PV="customPV",u2.EVENT="event",u2.CUSTOM="custom",u2.SDK_ERROR="sdkError",u2.SET_DATA="setData",u2.LOAD_PACKAGE="loadPackage",(u2=M=M||{}).production="production",u2.development="development",u2.gray="gray",u2.pre="pre",u2.daily="daily",u2.local="local",u2.test="test",u2.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})})}),H2=function(s){s.level===W.INFO_ALL&&(s.level=W.INFO)},M2={},L2={},q2=function(s){return M2[s]||(M2[s]=setTimeout(function(){L2[s]={},M2[s]=null},6e4)),M2[s]},Y2=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:W.INFO,msg:""})})},Q2=function(s){return function(d){return s.sendPipeline([function(p,k){return k({url:s.config.url||"",data:E(Y2(p)),method:"post",contentType:"application/json",type:O.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([])}})}],O.LOG)(d)}},U={generateTraceId:d3(16),generateSpanId:d3(8)},E2=Array(32);function d3(s){return function(){for(var d=0;d<2*s;d++)E2[d]=Math.floor(16*Math.random())+48,58<=E2[d]&&(E2[d]+=39);return String.fromCharCode.apply(null,E2.slice(0,2*s))}}function k3(){return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,function(s){return(s^(16*Math.random()&15)>>s/4).toString(16)})}function S2(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(s){var d=16*Math.random()|0;return(s==="x"?d:3&d|8).toString(16)})}function d2(s){for(var d,p,k,C="",w=0,I=(s=String(s)).length%3;w<s.length;){if(255<(d=s.charCodeAt(w++))||255<(p=s.charCodeAt(w++))||255<(k=s.charCodeAt(w++)))throw new TypeError("Failed to execute 'btoa': The string to be encoded contains characters outside of the Latin1 range.");C+=B2.charAt((d=d<<16|p<<8|k)>>18&63)+B2.charAt(d>>12&63)+B2.charAt(d>>6&63)+B2.charAt(63&d)}return I?C.slice(0,I-3)+"===".substring(I):C}function b2(s){if(s=String(s).replace(/[ \t \n \f \r ]+/g,""),!T.test(s))throw new TypeError("Failed to execute 'atob': The string to be decoded is not correctly encoded.");var d;s+="==".slice(2-(3&s.length));for(var p,k,C="",w=0;w<s.length;)d=B2.indexOf(s.charAt(w++))<<18|B2.indexOf(s.charAt(w++))<<12|(p=B2.indexOf(s.charAt(w++)))<<6|(k=B2.indexOf(s.charAt(w++))),C+=p===64?String.fromCharCode(d>>16&255):k===64?String.fromCharCode(d>>16&255,d>>8&255):String.fromCharCode(d>>16&255,d>>8&255,255&d);return C}function O2(s){var d,p="";return p=typeof s=="object"&&(d=(s=function(k,C){for(var w=0;w<C.length;w++){var I=C[w],F=k[I]||typeof k.get=="function"&&k.get(I);if(
2024-06-15 00:08:13 +00:00
2024-09-02 02:23:47 +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 B.indexOf(w)===-1&&(k=d===void 0?"":d,C=(p===void 0?"":p).split("?")[0],w=X.test(C)||n2.some(function(I){return String(k).indexOf(I)!==-1})?"static":"fetch"),w}function A3(s,d){return s?W.AJAX_ERROR:d?W.RET_ERROR:W.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:J(d.url),method:d.method,type:d.type,status:d.status,duration:Number(s.duration.toFixed(2)),nextHopProtocol:s.nextHopProtocol||"",domainLookup:R(s.domainLookupEnd-s.domainLookupStart),connectTime:R(s.connectEnd-s.connectStart)}:{url:d.url,isHttps:J(d.url),method:d.method,type:d.type,status:d.status,duration:Number(d.duration.toFixed(2)),nextHopProtocol:"",domainLookup:m.number,connectTime:m.number}}var Q3,i2,h3,ee,n3,V3,q3,ne=!(s2.isIE=function(){return"ActiveXObject"in window}),f3=[], $ e=/^ \/ [^/]/,ke=!1,i3=[],nn=(new A2({name:"reportApiSpeed"}),new A2({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 V(p.injectTraceHeader,(d=p==null?void 0:p.injectTraceIgnoreUrls)!=null?d:[],p==null?void 0:p.injectTraceUrls,p==null?void 0:p.traceFlag)),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,F,A,P,D){var q,Z;e2(A,s.hostUrl)||(q=I.headers?I.headers.get("content-type"):"",(Z=x3(s,q||"",A))==="fetch"?I.clone().text().then(function(K){var v2,k2=I.status<=0||400<=I.status, $ 2=(( $ 2=s.api)==null?void 0: $ 2.reqHeaders)||[],a2=S3(P==null?void 0:P.headers, $ 2,"req"), $ 2=(( $ 2=s.api)==null?void 0: $ 2.resHeaders)||[],m2=S3(I.headers, $ 2,"res"),c2=O2(P==null?void 0:P.headers), $ 2=l2(K,s.api,{url:A,ctx:I,payload:P==null?void 0:P.body}),f2= $ 2.code,_2= $ 2.isErr, $ 2=( $ 2=s.api)==null?void 0: $ 2.apiDetail,c3= $ 2?N(P==null?void 0:P.body,(v2=s.api)==null?void 0:v2.reqParamHandler,{url:A}):"",R2= $ 2?N(K,(v2=s.api)==null?void 0:v2.resBodyHandler,{url:A,ctx:I}):"";setTimeout(function(){var U2=P3(s,{url:A,duration:F,type:Z,status:I.status||0,method:(P==null?void 0:P.method)||"get"}),E3=[k2?"FETCH_ERROR: "+K:"","fetch req url: "+A,"res status: "+(U2.status||0),"res duration: "+U2.duration+"ms","res startTime: "+D,a2,m2,"req method: "+(U2.method||"GET"),"res retcode: "+f2,F3(c3,"req param"),F3(R2,"res data")].filter(function(Z2){return Z2}).join( `
2024-06-15 00:08:13 +00:00
2024-09-02 02:23:47 +00:00
` );U2.payload=P==null?void 0:P.body,U2.ret=f2,U2.isErr=+_2,p.publishNormalLog({msg:E3,level:A3(k2,_2),code:f2,trace:c2},d),p.publishSpeed(U2,d)},0)}):setTimeout(function(){var K=P3(s,{url:A,duration:F,type:Z,status:I.status||0,method:(P==null?void 0:P.method)||"get"});K.type="static",K.urlQuery=Y(A,!0),p.publishSpeed(K,d)},0))},catch:function(I,F,A,P,D){var q,Z,K,v2,k2;throw e2(A,s.hostUrl)||(q=x3(s,"",A),Z=((Z=s.api)==null?void 0:Z.reqHeaders)||[],K=S3(P==null?void 0:P.headers,Z,"req"),v2=O2(P==null?void 0:P.headers),k2=(Z=s.api)!=null&&Z.apiDetail?N(P==null?void 0:P.body,(Z=s.api)==null?void 0:Z.reqParamHandler,{url:A}):"",setTimeout(function(){var a2=P3(s,{url:A,duration:F,type:q,status:0,method:(P==null?void 0:P.method)||"get"}),a2=(p.publishSpeed(a2,d),"AJAX_ERROR: "+I+ `
2024-06-15 00:08:13 +00:00
2024-09-02 02:23:47 +00:00
req url : ` +A+ `
2024-06-15 00:08:13 +00:00
res status : 0
2024-09-02 02:23:47 +00:00
res duration : ` +a2.duration+ ` ms
req method : ` +((P==null?void 0:P.method)||"get")+ `
2024-06-15 00:08:13 +00:00
2024-09-02 02:23:47 +00:00
req param : ` +k2+ `
2024-06-15 00:08:13 +00:00
2024-09-02 02:23:47 +00:00
res startTime : ` +D+ `
2024-06-15 00:08:13 +00:00
2024-09-02 02:23:47 +00:00
` +K);p.publishNormalLog({msg:a2,level:W.AJAX_ERROR,code:-400,trace:v2},d)},0)),I}},C=(this.hackFetchOptions=k,this.hackFetchOptions),w=(k=s.api)==null?void 0:k.ignoreHackReg;if(w===void 0&&(w=/ \. flv( \? | $ )/i),i3.find(function(I){return I.name===C.name}))throw new Error("name '"+C.name+"' is already in hackFetch option list");i3.push(C),!ke&&window.fetch&&(ke=!0,ee=window.fetch,window.fetch=function(I,F){F===void 0&&(F={});var A=typeof I=="string"?I:I==null?void 0:I.url;if((Z=w==null?void 0:w.test)!=null&&Z.call(w,A))return ee(A,F); $ e.test(A)&&(A=""+location.origin+A);var P,D,q,Z=(C||{}).traceRequestHeader;Z&&(P=(P=(F||{}).headers)===void 0?{}:P,D=(q=Y3()).host,q=q.pathname,D=(Z=Z.generate(A,P,{host:D,pathname:q})||{}).name,q=Z.value)&&D&&(F.headers=Object.assign(P,((Z={})[D]=q,Z)));for(var K=0;K<i3.length;K++){var v2=i3[K];try{typeof v2.beforeFetch=="function"&&v2.beforeFetch(A,F)}catch{}}var k2=Date.now();return ee(I,F).then(function(a2){for(var m2=a2.clone(),c2=0;c2<i3.length;c2++){var f2=i3[c2];try{typeof f2.then=="function"&&f2.then(m2,Date.now()-k2,A,F,k2)}catch{}}return m2}).catch(function(a2){for(var m2=0;m2<i3.length;m2++){var c2=i3[m2];try{typeof c2.catch=="function"&&c2.catch(a2,Date.now()-k2,A,F,k2)}catch{}}throw a2})})},overrideXhr:function(s,d){var p,k=this,C={name:this.name,ignoreHackReg:(C=s.api)==null?void 0:C.ignoreHackReg,traceRequestHeader:(C=s.api)!=null&&C.injectTraceHeader?this.traceRequestHeader:null,send:function(w,I){var F,A,P=Date.now(),D=(((s==null?void 0:s.api)||{}).injectTraceHeader&&(A=(F=Y3()).host,F=F.pathname,F=(A=k.traceRequestHeader.generate(w.aegisUrl,{},{host:A,pathname:F})||{}).name,A=A.value,F)&&A&&w.setRequestHeader(F,A),w.addEventListener("loadend",function(){var K,v2,k2,a2,m2=w.aegisUrl||"";e2(m2,s.hostUrl)||w.failType==="abort"||(K="",(w.failType||!w.status||400<=w.status)&&(K=w.failType||"failed"),v2=Date.now()-P,k2=w.getResponseHeader("content-type")||"",a2=x3(s,k2,m2),setTimeout(function(){var c2=P3(s,{url:m2,duration:v2,type:a2,status:w.status,method:w.aegisMethod||"get"});if(a2==="fetch"){var R2=((R2=s.api)==null?void 0:R2.reqHeaders)||[],f2=S3(w.aegisXhrReqHeader,R2,"req"),R2=((R2=s.api)==null?void 0:R2.resHeaders)||[],_2=w.getAllResponseHeaders().split( ` \ r
` ).reduce(function(Z2,W2){return W2=W2.split(": "),W2[0]&&W2[1]&&(Z2[W2[0]]=W2[1]),Z2},{}), $ 2=S3(_2,R2,"res"),c3=O2(w.aegisXhrReqHeader),R2=(_2=s.api)==null?void 0:_2.apiDetail,U2=R2?N(I,(_2=s.api)==null?void 0:_2.reqParamHandler,{url:m2}):"",E3=R2?N(w.response,(_2=s.api)==null?void 0:_2.resBodyHandler,{url:m2}):"";try{(function(Z2,W2,G2,K2){var J3,He,r3,Ze;try{if(typeof(W2==null?void 0:W2.retCodeHandlerAsync)=="function")return W2.retCodeHandlerAsync(Z2,G2==null?void 0:G2.url,G2==null?void 0:G2.ctx,function(R3){var _e=R3.code,R3=R3.isErr;K2!=null&&K2({code:_e===void 0?v:_e,isErr:R3})});if(typeof(W2==null?void 0:W2.retCodeHandler)=="function")return r3=(He=W2.retCodeHandler(Z2,G2==null?void 0:G2.url,G2==null?void 0:G2.ctx,G2==null?void 0:G2.payload)||{}).code,Ze=He.isErr,K2!=null&&K2({code:r3===void 0?v:r3,isErr:Ze});if(!(Z2=typeof Z2=="string"?JSON.parse(Z2):Z2))return K2!=null&&K2({code:v,isErr:!1});typeof((J3=W2==null?void 0:W2.ret)==null?void 0:J3.join)=="function"&&(o2=[].concat(W2.ret.map(function(X3){return X3.toLowerCase()})));var he=Object.getOwnPropertyNames(Z2).filter(function(X3){return o2.indexOf(X3.toLowerCase())!==-1});if(he.length)return(r3=Z2[he[0]])!==" \u 672A \u 77E5"&&r3!==""||(r3=v),K2!=null&&K2({code:""+r3,isErr:r3!==0&&r3!=="0"&&r3!==v});K2!=null&&K2({code:v,isErr:!1})}catch{K2!=null&&K2({code:v,isErr:!1})}})(w.response,s.api,{url:m2,ctx:w,payload:I},function(G2){var W2=G2.code,G2=G2.isErr,K2=[K?"AJAX_ERROR: request "+K:"","fetch req url: "+m2,"res status: "+(c2.status||0),"res duration: "+c2.duration+"ms","res startTime: "+P,f2, $ 2,"req method: "+(c2.method||"GET"),"res retcode: "+W2,F3(U2,"req param"),F3(E3,"res data")].filter(function(J3){return J3}).join( `
2024-06-15 00:08:13 +00:00
2024-09-02 02:23:47 +00:00
` );c2.ret=W2,c2.isErr=+G2,c2.payload=I,k.publishNormalLog({msg:K2,level:A3(!!K,G2),code:W2,trace:c3},d),k.publishSpeed(c2,d)})}catch{c2.ret=v,k.publishSpeed(c2,d)}}else c2.type="static",c2.urlQuery=Y(m2,!0),k.publishSpeed(c2,d);w.removeEventListener("abort",D),w.removeEventListener("error",q),w.removeEventListener("timeout",Z)},0))}),function(){w.failType="abort"}),q=function(){w.failType="error"},Z=function(){w.failType="timeout"};w.addEventListener("abort",D),w.addEventListener("error",q),w.addEventListener("timeout",Z)}};this.hackXHROptions=C,p=this.hackXHROptions,f3.find(function(w){return w.name===p.name})||(f3.push(p),!ne&&window.XMLHttpRequest&&(Q3=window.XMLHttpRequest.prototype.send,i2=window.XMLHttpRequest.prototype.open,h3=window.XMLHttpRequest.prototype.setRequestHeader,ne=!0,window.XMLHttpRequest.prototype.open=function(){this.aegisMethod=arguments[0];var w,I=arguments[1];if( $ e.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)s2.isIE()||(this.timeout=5e3);else for(var F=0;F<f3.length;F++){var A=f3[F];try{typeof A.open=="function"&&A.open(this)}catch{}}return i2.apply(this,arguments)},window.XMLHttpRequest.prototype.setRequestHeader=function(){var w,I,F;return(I=(F=p.ignoreHackReg)==null?void 0:F.test)!=null&&I.call(F,this.aegisUrl)?h3.apply(this,arguments):(I=arguments[0],F=arguments[1],this.aegisXhrReqHeader=(w=this.aegisXhrReqHeader)!=null?w:{},p!=null&&p.traceRequestHeader&&-1<["traceparent","b3","sw8","sentry-trace"].indexOf(I)&&(this.aegisXhrReqHeader[I]||(arguments[1]=F),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 F=0;F<f3.length;F++){var A=f3[F];try{typeof A.send=="function"&&A.send(this,arguments[0])}catch{}}return Q3.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=Y(s.url),p.speedLogPipeline(s)):p.speedLogPipeline(t(t({},s),{url:Y(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=f3.findIndex(function(k){return k.name===s.name}))!==-1)&&f3.splice(p,1),this.option.hackFetchOptions&&(d=this.option.hackFetchOptions,(p=i3.findIndex(function(k){return k.name===d.name}))!==-1)&&i3.splice(p,1),this.option.override=!1}})),L3={},ln=new A2({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 F=w[0],A=w[1],P=w[2],D=w[3],q=Date.now();C(F,A,P,function(Z){var K=l2(Z,p.api),v2=K.code,K=K.isErr,v2={url:F+"-"+A,name:F+"-"+A,duration:Date.now()-q,type:"bridge",ret:v2,isErr:+K};d.publishSpeed(v2,s),D(Z)})}})},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}});(I2=n3=n3||{})[I2.unknown=100]="unknown",I2[I2.wifi=1]="wifi",I2[I2.net2g=2]="net2g",I2[I2.net3g=3]="net3g",I2[I2.net4g=4]="net4g",I2[I2.net5g=5]="net5g",I2[I2.net6g=6]="net6g",(I2=V3=V3||{})[I2.android=1]="android",I2[I2.ios=2]="ios",I2[I2.windows=3]="windows",I2[I2.macos=4]="macos",I2[I2.linux=5]="linux",I2[I2.other=100]="other",(I2=q3=q3||{})[I2.unknown=100]="unknown",I2[I2.normal=0]="normal",I
2024-06-15 00:08:13 +00:00
2024-09-02 02:23:47 +00:00
` +y2(P[4]||""),level:W.ERROR},s),A!=null&&A.call.apply(A,a([window],P))},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(P){var D;(D=F.publishWsErrorLog)!=null&&D.call(F,P,s)},sendErr:function(P){var D;(D=F.publishWsErrorLog)!=null&&D.call(F,P,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,m3.find(function(P){return P.key===I.key})||I&&m3.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 :
2024-07-20 03:44:29 +00:00
connect : ` +p+ `
readyState : ` +C+ `
2024-09-02 02:23:47 +00:00
msg : ` +k,level:W.WEBSOCKET_ERROR},d)},destroy:function(){var s,d;this.option.publishErrorLog=function(){},this.option.hackWebsocketConfig&&(s=this.option.hackWebsocketConfig,window.WebSocket=tn,(d=m3.findIndex(function(p){return p.key===s.key}))!==-1)&&m3.splice(d,1)}}),we=(new A2({name:"pagePerformance"}),3),Ee=new A2({name:"pagePerformance",performanceMap:{},onNewAegis:function(s){p3()&&(_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,F=[];for(I in C)F.push(I+"="+C[I]);var A,P=p. $ getConfig(k);if(P)return A=((A=k.config.performanceUrl)==null?void 0:A.indexOf("?"))===-1?"?":"&",typeof P.urlHandler=="function"?w({url:k.config.performanceUrl+A+F.join("&")+"&from="+(encodeURIComponent(P.urlHandler())||window.location.href),beanFilter:["from"],type:O.PERFORMANCE,log:C}):w({url:k.config.performanceUrl+A+F.join("&"),type:O.PERFORMANCE,log:C})}],O.PERFORMANCE)(t({},s))})},startCalcPerformance:function(s){var d=this;try{this.getFirstScreenTiming(s,function(p){var k=performance.timing;k&&(_3={dnsLookup:s3(k.domainLookupEnd-k.domainLookupStart),tcp:s3(k.connectEnd-k.connectStart),ssl:s3(k.secureConnectionStart===0?0:k.requestStart-k.secureConnectionStart),ttfb:s3(k.responseStart-k.requestStart),contentDownload:s3(k.responseEnd-k.responseStart),domParse:s3(k.domInteractive-k.domLoading,0,15e3,1070),resourceDownload:s3(k.loadEventStart-k.domInteractive,0,15e3,1070),firstScreenTiming:s3(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:s3(k,0,1e4),bundleLoad:s3(p,0,1e4)})),d.publish(_3,s))})}catch{}},getFirstScreenTiming:function(s,d){var p=this;s.lifeCycle.on("destroy",function(){q&&clearTimeout(q)});var k,C=this,w=["script","style","link","br"],I=[],F={},A=(-1<((P=(P=window.PerformanceObserver)==null?void 0:P.supportedEntryTypes)==null?void 0:P.indexOf("paint"))&&(k=new PerformanceObserver(function(Z){Z.getEntries().forEach(function(K){var v2;K.entryType==="paint"&&K.name==="first-contentful-paint"&&0<(v2=document.querySelectorAll("[AEGIS-FIRST-SCREEN-TIMING]")).length&&s.config.id&&!p.performanceMap[s.config.id]&&(p.setFirstScreenInfo(s,K.startTime,v2[0],v2),d!=null&&d(K.startTime),A.disconnect(),k.disconnect(),q)&&clearTimeout(q)})})).observe({entryTypes:["paint"]}),new MutationObserver(function(Z){var K={roots:[],ignores:[],rootsDomNum:[],time:performance.now()};Z.forEach(function(v2){v2&&v2.addedNodes&&Array.prototype.slice.call(v2.addedNodes).forEach(function(k2){C.isEleInArray(k2,K.ignores)?K.ignores.push(k2):k2.nodeType===1&&k2.hasAttribute("AEGIS-FIRST-SCREEN-TIMING")?(Object.prototype.hasOwnProperty.apply(F,[K.time])||(F[K.time]=[]),F[K.time].push(k2)):k2.nodeType===1&&(C.hasAncestorOrSelfWithAttribute(k2,"AEGIS-IGNORE-FIRST-SCREEN-TIMING")?K.ignores.push(k2):w.indexOf(k2.nodeName.toLocaleLowerCase())!==-1||C.isEleInArray(k2,K.roots)||(K.roots.push(k2),K.rootsDomNum.push(C.walkAndCount(k2)||0)))})}),K.roots.length&&I.push(K)}));A.observe(document,{childList:!0,subtree:!0});var P,D=function(Z){(Z=Z===void 0?0:Z)||(K=0,(k2=Object.keys(F)).length?(Z=Math.max.apply(null,k2),p.setFirstScreenInfo(s,Z,(k2=F[Z])==null?void 0:k2[0],F)):I.forEach(function(f2){for(var _2=0;_2<f2.roots.length;_2++)f2.rootsDomNum[_2]>K&&C.isInFirstScreen(f2.roots[_2])&&(K=f2.rootsDomNum[_2],Z=f2.time,p.setFirstScreenInfo(s,Z,f2.roots[_2]))}),I.length=0,Object.keys(F).forEach(function(f2){F[f2]=F[f2].map(function(_2){var $ 2={tagName:_2.tagName},c3=_2.attributes;if(!c3)return _2;for(var R2=0;R2<c3.length;R2++){var U2=c3[R2];U2.name&&( $ 2[U2.name]=_2.getAttribute(U2.name))}return $ 2})}));var K,k2=performance.timing,v2=k2.domInteractive-k2.domLoading,k2=k2.loadEventStart-k2.domInteractive,a2=Z;q=null;for(var m2=0,c2=[v2,k2,a2];m2<c2.length;m2++)if(c2[m2]<=0&&0<we){q=setTimeout(function(){return D(a2)},3e3);break}q?--we:(A.disconnect(),k!=null&&k.disconnect(),d!=null&&d(Z))},q=setTimeout(function(){ret
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=fe}new A2({name:"ie"}),new A2({name:"onClose"});var Ue=new A2({name:"onClose",onNewAegis:function(s){var d,p=this;s2.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 A2({name:"aid"}),u2.use(un),u2.use(nn),u2.use(W3),u2.use(Ee),u2.use(Ve),u2.use(b3),u2.use(I2),u2.use(dn),u2.use(Ue),u2.use(ln),u2})})(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,nu