2024-04-28 13:26:15 +00:00
import { d as defineComponent , A as getPrefixCls , c as computed , B as isNumber$1 , _ as _export _sfc$1 , C as openBlock , D as createElementBlock , E as normalizeClass , F as normalizeStyle , G as createBaseVNode , H as createStaticVNode , I as IconCaretDown , J as IconCaretLeft , K as IconCaretRight , L as IconCaretUp , M as IconDoubleLeft , N as IconDoubleRight , O as IconDown , P as IconLeft , Q as IconMenuFold , R as IconMenuUnfold , S as IconRight , T as IconRotateLeft , U as IconRotateRight , V as IconToTop , W as IconUp , X as IconCheckCircleFill , Y as IconCloseCircleFill , Z as IconExclamationCircleFill , $ as IconInfoCircleFill , a0 as IconCheck , a1 as IconClockCircle , a2 as IconClose , a3 as IconExclamation , a4 as IconInfo , a5 as IconMinus , a6 as IconPlus , a7 as IconQuestionCircle , a8 as IconStarFill , a9 as IconEyeInvisible , aa as IconEye , ab as IconMore , ac as IconSearch , ad as IconUpload , ae as IconCopy , af as IconDelete , ag as IconEdit , ah as IconFilter , ai as IconLink , aj as IconObliqueLine , ak as IconOriginalSize , al as IconZoomIn , am as IconZoomOut , an as IconPlayArrowFill , ao as IconFullscreen , ap as IconPause , aq as IconFaceFrownFill , ar as IconFaceMehFill , as as IconFaceSmileFill , at as IconCalendar , au as IconDragDotVertical , av as IconDragDot , aw as IconEmpty , ax as IconFileAudio , ay as IconFileImage , az as IconFilePdf , aA as IconFileVideo , aB as IconFile , aC as IconImageClose , aD as IconLoading , f as ref , n as nextTick , aE as createBlock , u as unref , aF as createCommentVNode , aG as Breadcrumb , aH as withCtx , aI as createVNode , aJ as renderList , aK as Fragment , aL as BreadcrumbItem , aM as createTextVNode , aN as toDisplayString , aO as commonjsGlobal$1 , aP as getDefaultExportFromCjs$1 , aQ as Notification , aR as getAugmentedNamespace , aS as vue _esmBundler , aT as dayjs , g as getCurrentInstance , i as inject , h , aU as isVNode$1 , w as watch , b as onBeforeUnmount , aV as Text , o as onMounted , aW as Teleport , aX as Comment , aY as onUpdated , t as toRefs , p as provide , aZ as onUnmounted , a _ as withDirectives , a$ as vShow , b0 as mergeProps , b1 as Transition , b2 as InputNumber , b3 as Switch , b4 as Alert , b5 as Drawer , b6 as Message , b7 as Button , b8 as ConfigProvider , b9 as lang , ba as resolveComponent , bb as Modal , bc as createApp } from "./arco.93f0afda.js" ; import { B , u as use , i as install$1 , a as install$2 , b as install$3 , c as install$4 , d as install$5 , e as install$6 , f as install$7 , g as install$8 , h as install$9 , j as install$a } from "./chart.c383733a.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 } from "./vue.ded74ca2.js" ; ( function ( ) { const l = document . createElement ( "link" ) . relList ; if ( l && l . supports && l . 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 n ( 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 = n ( 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 : l } ) { const n = getPrefixCls ( "icon" ) , r = computed ( ( ) => [ n , ` ${ n } -arrow-down ` , { [ ` ${ n } -spin ` ] : e . spin } ] ) , u = computed ( ( ) => { const t = { } ; return e . size && ( t . fontSize = isNumber$1 ( e . size ) ? ` ${ e . size } px ` : e . size ) , e . rotate && ( t . transform = ` rotate( ${ e . rotate } deg) ` ) , t } ) ; return { cls : r , innerStyle : u , onClick : t => { l ( "click" , t ) } } } } ) , _hoisted _1$3A = [ "stroke-width" , "stroke-linecap" , "stroke-linejoin" ] , _hoisted _2$3A = createBaseVNode ( "path" , { d : "m11.27 27.728 12.727 12.728 12.728-12.728M24 5v34.295"
2024-04-29 12:57:33 +00:00
* @ license MIT * / ( f u n c t i o n ( e , l ) { ( f u n c t i o n ( n , 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 n = { } ; n . v e r s i o n = " 0 . 2 . 0 " ; v a r r = n . 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 > ' } ; n . c o n f i g u r e = f u n c t i o n ( v ) { v a r y , x ; f o r ( y i n v ) x = v [ y ] , x ! = = v o i d 0 & & v . h a s O w n P r o p e r t y ( y ) & & ( r [ y ] = x ) ; r e t u r n t h i s } , n . s t a t u s = n u l l , n . s e t = f u n c t i o n ( v ) { v a r y = n . i s S t a r t e d ( ) ; v = u ( v , r . m i n i m u m , 1 ) , n . s t a t u s = v = = = 1 ? n u l l : v ; v a r x = n . r e n d e r ( ! y ) , P = x . 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 x . 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 = n . g e t P o s i t i o n i n g C S S ( ) ) , f ( P , t ( v , R , Y ) ) , v = = = 1 ? ( f ( x , { t r a n s i t i o n : " n o n e " , o p a c i t y : 1 } ) , x . 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 ( ) { f ( x , { 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 ( ) { n . 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 } , n . 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 n . s t a t u s = = " n u m b e r " } , n . s t a r t = f u n c t i o n ( ) { n . s t a t u s | | n . 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 ( ) { ! n . s t a t u s | | ( n . 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 } , n . d o n e = f u n c t i o n ( v ) { r e t u r n ! v & & ! n . s t a t u s ? t h i s : n . i n c ( . 3 + . 5 * M a t h . r a n d o m ( ) ) . s e t ( 1 ) } , n . i n c = f u n c t i o n ( v ) { v a r y = n . 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 ) , n . s e t ( y ) ) : n . s t a r t ( ) } , n . t r i c k l e = f u n c t i o n ( ) { r e t u r n n . 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 ; n . p r o m i s e = f u n c t i o n ( x ) { r e t u r n ! x | | x . s t a t e ( ) = = = " r e s o l v e d " ? t h i s : ( y = = = 0 & & n . s t a r t ( ) , v + + , y + + , x . a l w a y s ( f u n c t i o n ( ) { y - - , y = = = 0 ? ( v = 0 , n . d o n e ( ) ) : n . s e t ( ( v - y ) / v ) } ) , t h i s ) } } ( ) , n . r e n d e r = f u n c t i o n ( v ) { i f ( n . 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 x = 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 ) , P = v ? " - 1 0 0 " : o ( n . 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 f ( x , { 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 ( " + P + " % , 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 & & I ( 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 } , n . 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 & & I ( v ) } , n . 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 " ) } , n . 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 , x ) { r e t u r n v < y ? y : v > x ? x : 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 , x ) { v a r P ; 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 " ? P = { 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 " ? P = { t r a n s f o r m : " t r a n s l a t e ( " + o ( v ) + " % , 0 ) " } : P = { " m a r g i n - l e f t " : o ( v ) + " % " } , P . t r a n s i t i o n = " a l l " + y + " m s " + x , P } 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 x = v . s h i f t ( ) ; x & & x ( y ) } r e t u r n f u n c t i o n ( x ) { v . p u s h ( x ) , v . l e n g t h = = 1 & & y ( ) } } ( ) , f = 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 x ( 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 ( q , U ) { r e t u r n U . t o U p p e r C a s e ( ) } ) } f u n c t i o n P ( L ) { v a r q = d o c u m e n t . b o d y . s t y l e ; i f ( L i n q ) r e t u r n L ; f o r ( v a r U = 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 ) , G ; U - - ; ) i f ( G = v [ U ] + N , G i n q ) r e t u r n G ; r e t u r n L } f u n c t i o n R ( L ) { r e t u r n L = x ( L ) , y [ L ] | | ( y [ L ] = P ( L ) ) } f u n c t i o n Y ( L , q , U ) { q = R ( q ) , L . s t y l e [ q ] = U } r e t u r n f u n c t i o n ( L , q ) { v a r U = a r g u m e n t s , N , G ; i f ( U . l e n g t h = = 2 ) f o r ( N i n q ) G = q [ N ] , G ! = = v o i d 0 & & q . h a s O w n P r o p e r t y ( N ) & & Y ( L , N , G ) ; e l s e Y ( L , U [ 1 ] , U [ 2 ] ) } } ( ) ; f u n c t i o n m ( v , y ) { v a r x = t y p e o f v = = " s t r i n g " ? v : S ( v ) ; r e t u r n x . i n d e x O f ( " " + y + " " ) > = 0 } f u n c t i o n _ ( v , y ) { v a r x = S ( v ) , P = x + y ; m ( x , y ) | | ( v . c l a s s N a m e = P . s u b s t r i n g ( 1 ) ) } f u n c t i o n $ ( v , y ) { v a r x = S ( v ) , P ; ! m ( v , y ) | | ( P = x . r e p l a c e ( " " + y + " " , " " ) , v . c l a s s N a m e = P . s u b s t r i n g ( 1 , P . 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 I ( 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 n } ) } ) ( n p r o g r e s s $ 1 ) ; c o n s t N
` ),function(m){if(a=m.indexOf(":"),o=e.trim(m.substr(0,a)).toLowerCase(),t=e.trim(m.substr(a+1)),o){if(u[o]&&l.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 n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),u;function o(t){var a=t;return n&&(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 f=e.isString(a)?o(a):a;return f.protocol===u.protocol&&f.host===u.host}}():function(){return function(){return!0}}(),isURLSameOrigin}var Cancel_1,hasRequiredCancel;function requireCancel(){if(hasRequiredCancel)return Cancel_1;hasRequiredCancel=1;function e(l){this.message=l}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,l=requireSettle(),n=requireCookies(),r=buildURL $ 1,u=requireBuildFullPath(),o=requireParseHeaders(),t=requireIsURLSameOrigin(),a=requireCreateError(),f=requireDefaults(),m=requireCancel();return xhr=function( $ ){return new Promise(function(I,v){var y= $ .data,x= $ .headers,P= $ .responseType,R;function Y(){ $ .cancelToken&& $ .cancelToken.unsubscribe(R), $ .signal&& $ .signal.removeEventListener("abort",R)}e.isFormData(y)&&delete x["Content-Type"];var L=new XMLHttpRequest;if( $ .auth){var q= $ .auth.username||"",U= $ .auth.password?unescape(encodeURIComponent( $ .auth.password)):"";x.Authorization="Basic "+btoa(q+":"+U)}var N=u( $ .baseURL, $ .url);L.open( $ .method.toUpperCase(),r(N, $ .params, $ .paramsSerializer),!0),L.timeout= $ .timeout;function G(){if(!!L){var f2="getAllResponseHeaders"in L?o(L.getAllResponseHeaders()):null,W=!P||P==="text"||P==="json"?L.responseText:L.response,C2={data:W,status:L.status,statusText:L.statusText,headers:f2,config: $ ,request:L};l(function(w2){I(w2),Y()},function(w2){v(w2),Y()},C2),L=null}}if("onloadend"in L?L.onloadend=G:L.onreadystatechange=function(){!L||L.readyState!==4||L.status===0&&!(L.responseURL&&L.responseURL.indexOf("file:")===0)||setTimeout(G)},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 W= $ .timeout?"timeout of "+ $ .timeout+"ms exceeded":"timeout exceeded",C2= $ .transitional||f.transitional; $ .timeoutErrorMessage&&(W= $ .timeoutErrorMessage),v(a(W, $ ,C2.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",L)),L=null},e.isStandardBrowserEnv()){var D=( $ .withCredentials||t(N))&& $ .xsrfCookieName?n.read( $ .xsrfCookieName):void 0;D&&(x[ $ .xsrfHeaderName]=D)}"setRequestHeader"in L&&e.forEach(x,function(W,C2){typeof y>"u"&&C2.toLowerCase()==="content-type"?delete x[C2]:L.setRequestHeader(C2,W)}),e.isUndefined( $ .withCredentials)||(L.withCredentials=!! $ .withCredentials),P&&P!=="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(f2){!L||(v(!f2||f2&&f2.type?new m("canceled"):f2),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,l=normalizeHeaderName,n=enhanceError,r={"Content-Type":"application/x-www-form-urlencoded"};f
2024-04-28 13:26:15 +00:00
* vue - i18n v9 . 11.1
* ( c ) 2024 kazuya kawaguchi
* Released under the MIT License .
* /var shared=require$$0,coreBase=require$$1,vue=require$$2;const VERSION="9.11.1",code$1=coreBase.CoreWarnCodes.__EXTEND_POINT__,inc$1=shared.incrementer(code$1),I18nWarnCodes={FALLBACK_TO_ROOT:code$1,NOT_SUPPORTED_PRESERVE:inc$1(),NOT_SUPPORTED_FORMATTER:inc$1(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:inc$1(),NOT_SUPPORTED_GET_CHOICE_INDEX:inc$1(),COMPONENT_NAME_LEGACY_COMPATIBLE:inc$1(),NOT_FOUND_PARENT_SCOPE:inc$1(),IGNORE_OBJ_FLATTEN:inc$1(),NOTICE_DROP_ALLOW_COMPOSITION:inc$1(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:inc$1()},warnMessages={[I18nWarnCodes.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[I18nWarnCodes.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[I18nWarnCodes.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[I18nWarnCodes.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[I18nWarnCodes.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[I18nWarnCodes.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[I18nWarnCodes.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[I18nWarnCodes.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[I18nWarnCodes.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https:/ / tinyurl . com / 2 p97mcze ",[I18nWarnCodes.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:" 'translateExistCompatible' option will be dropped in the next major version . "};function getWarnMessage(e,...l){return shared.format(warnMessages[e],...l)}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,...l){return coreBase.createCompileError(e,null,{messages:errorMessages,args:l})}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
Mock - 模拟请求 & 模拟数据
https : //github.com/nuysoft/Mock
墨智 mozhi . gyy @ taobao . com nuysoft @ gmail . com
* / 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 : m , R E : t , t o J S O N S c h e m a : a , v a l i d : f , 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 m . 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 " , m & & ( m . M o c k = _ ) , _ . m o c k = f u n c t i o n ( $ , S , I ) { 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 & & ( I = S , S = v o i d 0 ) , m & & ( w i n d o w . X M L H t t p R e q u e s t = m ) , _ . _ 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 : I } , _ ) } , 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 , l , n ) { l = l = = n u l l ? " " : l + " " , n = n | | { } , n = { p a t h : n . 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 : n . 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 : n . 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 : n . 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 : n . r o o t | | n . 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 : n . t e m p l a t e R o o 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 } ; v a r r = P a r s e r . p a r s e ( l ) , 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 : l , p a r s e d N a m e : l & & l . 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 : n } ) , n . r o o t | | ( n . 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 l = [ ] , n , 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 l ; 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 ) , l = 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 : l , 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 | | l , 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 ) , l = 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 : l , 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 | | l , 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 ( n = 0 ; n < e . r u l e . c o u n t ; n + + ) 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 ( l . 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 ) , l . p u s h ( H a n d l e r . g e n ( e . t e m p l a t e [ r ] , l . 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 : l , 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 | | l , 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 ( n = 0 ; n < e . t e m p l a t e . l e n g t h ; n + + ) e . c o n t e x t . p a t h . p u s h ( n ) , e . c o n t e x t . t e m p l a t e P a t h . p u s h ( n ) , l . p u s h ( H a n d l e r . g e n ( e . t e m p l a t e [ n ] , n , { 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 : l , 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 | | l , 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 l } , o b j e c t : f u n c t i o n ( e ) { v a r l = { } , n , r , u , o , t , a ; i f ( e . r u l e . m i n ! = n u l l ) f o r ( n = U t i l . k e y s ( e . t e m p l a t e ) , n = R a n d o m . s h u f f l e ( n ) , n = n . s l i c e ( 0 , e . r u l e . c o u n t ) , a = 0 ; a < n . l e n g t h ; a + + ) u = n [ 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 ) , l [ 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 : l , 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 | | l , 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 { n = [ ] , 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 : n ) . p u s h ( u ) ; f o r ( n = n . c o n c a t ( r ) , a = 0 ; a < n . l e n g t h ; a + + ) u = n [ 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 ) , l [ 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 : l , 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 | | l , 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 l } , n u m b e r : f u n c t i o n ( e ) { v a r l , n ; 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 + = " " , n = e . t e m p l a t e . s p l i t ( " . " ) , n [ 0 ] = e . r u l e . r a n g e ? e . r u l e . c o u n t : n [ 0 ] , n [ 1 ] = ( n [ 1 ] | | " " ) . s l i c e ( 0 , e . r u l e
` ?(T.seenCR||T.line++,T.column=1,T.seenCR=!1):ge===" \r "||ge===" \u 2028"||ge===" \u 2029"?(T.line++,T.column=1,T.seenCR=!0):(T.column++,T.seenCR=!1)}return _e!==c&&(_e>c&&(_e=0,dn={line:1,column:1,seenCR:!1}),g(dn,_e,c),_e=c),dn}function W(c){Je>b||(b>Je&&(Je=b,Ye=[]),Ye.push(c))}function C2(c){var g=0;for(c.sort();g<c.length;)c[g-1]===c[g]?c.splice(g,1):g++}function g2(){var c,g,T,e2,b2;return c=b,g=w2(),g!==null?(T=b,N.charCodeAt(b)===124?(e2=Q3,b++):(e2=null,J===0&&W(Y2)),e2!==null?(b2=g2(),b2!==null?(e2=[e2,b2],T=e2):(b=T,T=t2)):(b=T,T=t2),T===null&&(T=m3),T!==null?(a2=c,g=W3(g,T),g===null&&(b=c),c=g):(b=c,c=t2)):(b=c,c=t2),c}function w2(){var c,g,T,e2,b2;if(c=b,g=_2(),g===null&&(g=m3),g!==null)if(T=b,J++,e2=P2(),J--,e2===null?T=m3:(b=T,T=t2),T!==null){for(e2=[],b2=z2(),b2===null&&(b2=B2());b2!==null;)e2.push(b2),b2=z2(),b2===null&&(b2=B2());e2!==null?(b2=A2(),b2===null&&(b2=m3),b2!==null?(a2=c,g=V3(g,e2,b2),g===null&&(b=c),c=g):(b=c,c=t2)):(b=c,c=t2)}else b=c,c=t2;else b=c,c=t2;return c}function B2(){var c;return c=v2(),c===null&&(c=H(),c===null&&(c=y3())),c}function _2(){var c,g;return c=b,N.charCodeAt(b)===94?(g=ee,b++):(g=null,J===0&&W(a3)),g!==null&&(a2=c,g=ke()),g===null&&(b=c),c=g,c}function A2(){var c,g;return c=b,N.charCodeAt(b)===36?(g= $ e,b++):(g=null,J===0&&W(t3)),g!==null&&(a2=c,g=Qe()),g===null&&(b=c),c=g,c}function z2(){var c,g,T;return c=b,g=B2(),g!==null?(T=P2(),T!==null?(a2=c,g=N3(g,T),g===null&&(b=c),c=g):(b=c,c=t2)):(b=c,c=t2),c}function P2(){var c,g,T;return J++,c=b,g=x2(),g!==null?(T=K(),T===null&&(T=m3),T!==null?(a2=c,g=r3(g,T),g===null&&(b=c),c=g):(b=c,c=t2)):(b=c,c=t2),J--,c===null&&(g=null,J===0&&W(nn)),c}function x2(){var c;return c=M2(),c===null&&(c=j2(),c===null&&(c=H2(),c===null&&(c=V2(),c===null&&(c=O2(),c===null&&(c=q2()))))),c}function M2(){var c,g,T,e2,b2,E3;return c=b,N.charCodeAt(b)===123?(g=p3,b++):(g=null,J===0&&W(u3)),g!==null?(T=s2(),T!==null?(N.charCodeAt(b)===44?(e2=A3,b++):(e2=null,J===0&&W(ye)),e2!==null?(b2=s2(),b2!==null?(N.charCodeAt(b)===125?(E3=z3,b++):(E3=null,J===0&&W( $ 3)),E3!==null?(a2=c,g=be(T,b2),g===null&&(b=c),c=g):(b=c,c=t2)):(b=c,c=t2)):(b=c,c=t2)):(b=c,c=t2)):(b=c,c=t2),c}function j2(){var c,g,T,e2;return c=b,N.charCodeAt(b)===123?(g=p3,b++):(g=null,J===0&&W(u3)),g!==null?(T=s2(),T!==null?(N.substr(b,2)===ne?(e2=ne,b+=2):(e2=null,J===0&&W(le)),e2!==null?(a2=c,g= $ 2(T),g===null&&(b=c),c=g):(b=c,c=t2)):(b=c,c=t2)):(b=c,c=t2),c}function H2(){var c,g,T,e2;return c=b,N.charCodeAt(b)===123?(g=p3,b++):(g=null,J===0&&W(u3)),g!==null?(T=s2(),T!==null?(N.charCodeAt(b)===125?(e2=z3,b++):(e2=null,J===0&&W( $ 3)),e2!==null?(a2=c,g=Ce(T),g===null&&(b=c),c=g):(b=c,c=t2)):(b=c,c=t2)):(b=c,c=t2),c}function V2(){var c,g;return c=b,N.charCodeAt(b)===43?(g=ln,b++):(g=null,J===0&&W(c3)),g!==null&&(a2=c,g=tn()),g===null&&(b=c),c=g,c}function O2(){var c,g;return c=b,N.charCodeAt(b)===42?(g=Se,b++):(g=null,J===0&&W(rn)),g!==null&&(a2=c,g=we()),g===null&&(b=c),c=g,c}function q2(){var c,g;return c=b,N.charCodeAt(b)===63?(g=Ie,b++):(g=null,J===0&&W(te)),g!==null&&(a2=c,g=Ee()),g===null&&(b=c),c=g,c}function K(){var c;return N.charCodeAt(b)===63?(c=Ie,b++):(c=null,J===0&&W(te)),c}function s2(){var c,g,T;if(c=b,g=[],ue.test(N.charAt(b))?(T=N.charAt(b),b++):(T=null,J===0&&W(oe)),T!==null)for(;T!==null;)g.push(T),ue.test(N.charAt(b))?(T=N.charAt(b),b++):(T=null,J===0&&W(oe));else g=t2;return g!==null&&(a2=c,g=h3(g)),g===null&&(b=c),c=g,c}function v2(){var c,g,T,e2;return c=b,N.charCodeAt(b)===40?(g=q3,b++):(g=null,J===0&&W(_3)),g!==null?(T=I2(),T===null&&(T=T2(),T===null&&(T=Q(),T===null&&(T=d2()))),T!==null?(N.charCodeAt(b)===41?(e2=ie,b++):(e2=null,J===0&&W(se)),e2!==null?(a2=c,g=ae(T),g===null&&(b=c),c=g):(b=c,c=t2)):(b=c,c=t2)):(b=c,c=t2),c}function d2(){var c,g;return c=b,g=g2(),g!==null&&(a2=c,g=ce(g)),g===null&&(b=c),c=g,c}function Q(){var c,g,T;return c=b,N.substr(b,2)===U3?(g=U3,b+=2):(g=null,J===0&&W(Be)),g!==null?(T=g2(),T!==null?(a2=c,g=xe(T),g===null&&(b=c),c=g):(b=c,c=t2)):(b=c,c=t2),c}function I2(){var c,g,T;return c=b,N.substr(b,2)===Fe?(g=Fe,b+=2):(g=null,J===0&&W(Pe)),g!==null?(
\ r \ v \ xA0\u2028\u2029 ` ,S={" \\ w":t+a+f+"_"," \\ W":m.replace("_","")," \\ s": $ ," \\ S":function(){for(var v=_,y=0;y< $ .length;y++)v=v.replace( $ [y],"");return v}()," \\ d":f," \\ D":t+a+m};function I(v,y){for(var x="",P=v;P<=y;P++)x+=String.fromCharCode(P);return x}o.gen=function(v,y,x){return x=x||{guid:1},o[v.type]?o[v.type](v,y,x):o.token(v,y,x)},o.extend({token:function(v,y,x){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(f.split(""));case"non-digit":return u.pick((t+a+m).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+f).split(""));case"tab":break;case"vertical-tab":break;case"word":return u.pick((t+a+f).split(""));case"non-word":return u.pick(m.replace("_","").split(""))}return v.body||v.text},alternate:function(v,y,x){return this.gen(u.boolean()?v.left:v.right,y,x)},match:function(v,y,x){y="";for(var P=0;P<v.body.length;P++)y+=this.gen(v.body[P],y,x);return y},"capture-group":function(v,y,x){return y=this.gen(v.body,y,x),x[x.guid++]=y,y},"non-capture-group":function(v,y,x){return this.gen(v.body,y,x)},"positive-lookahead":function(v,y,x){return this.gen(v.body,y,x)},"negative-lookahead":function(v,y,x){return""},quantified:function(v,y,x){y="";for(var P=this.quantifier(v.quantifier),R=0;R<P;R++)y+=this.gen(v.body,y,x);return y},quantifier:function(v,y,x){var P=Math.max(v.min,0),R=isFinite(v.max)?v.max:P+u.integer(3,7);return u.integer(P,R)},charset:function(v,y,x){if(v.invert)return this["invert-charset"](v,y,x);var P=u.pick(v.body);return this.gen(P,y,x)},"invert-charset":function(v,y,x){for(var P=_,R=0,Y;R<v.body.length;R++)switch(Y=v.body[R],Y.type){case"literal":P=P.replace(Y.body,"");break;case"range":for(var L=this.gen(Y.start,y,x).charCodeAt(),q=this.gen(Y.end,y,x).charCodeAt(),U=L;U<=q;U++)P=P.replace(String.fromCharCode(U),"");default:var N=S[Y.text];if(N)for(var G=0;G<=N.length;G++)P=P.replace(N[G],"")}return u.pick(P.split(""))},range:function(v,y,x){var P=this.gen(v.start,y,x).charCodeAt(),R=this.gen(v.end,y,x).charCodeAt();return String.fromCharCode(u.integer(P,R))},literal:function(v,y,x){return v.escaped?v.body:v.text},unicode:function(v,y,x){return String.fromCharCode(parseInt(v.code,16))},hex:function(v,y,x){return String.fromCharCode(parseInt(v.code,16))},octal:function(v,y,x){return String.fromCharCode(parseInt(v.code,8))},"back-reference":function(v,y,x){return x[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(" "),x={},P=0;P<v.length;P++)x[v[P]]=y[P];return x}(),"control-character":function(v,y,x){return this.CONTROL_CHARACTER_MAP[v.code]}}),e.exports=o},function(e,l,n){e.exports=n(24)},function(e,l,n){var r=n(2),u=n(3),o=n(4);function t(a,f,m){m=m||[];var _={name:typeof f=="string"?f.replace(r.RE_KEY," $ 1"):f,template:a,type:u.type(a),rule:o.parse(f)};switch(_.path=m.slice(0),_.path.push(f===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,l,n){e.exports=n(26)},function(e,l,n){var r=n(2),u=n(3),o=n(23);function t(m,_){for(var $ =o(m),S=a.diff( $ ,_),I=0;I<S.length;I++);return S}var a={diff:function(_, $ ,S){var I=[];return this.name(_, $ ,S,I)&&this.type(_, $ ,S,I)&&(this.value(_, $ ,S,I),this.properties(_, $ ,S,I),this.items(_, $ ,S,I)),I},name:function(m,_, $ ,S){var I=S.length;return f.equal("name",m.path, $ +"",m.name+"",S),S.length===I},type:function(m,_, $ ,S){var I=S.length;switch(m.type){case"string":if(m.template.match(r.RE_PLACEHOLDER))return!0;break;case"array":if(m.rule.parameters&&(m.rule.min!==void 0&&m.rule.max===void 0&&m.rule.count===1||m.rule.parameters[2]))return!0;break;case"function":return!0}return f.equal("type",m.path,u.type(_),m.type,S),S.length===I},value:function(m,_, $ ,S){var I=S.length,v=m.rule,y=m.type;if(y==="object"||y==="array"||y==="function")return!0;if(!v.parameters){switch(y){case"regexp":return f.match("value",m.path,_,m.template,S),S.length===I;case"string":if(m.template.match(r.RE_PLACEHOLDER))return S.length===I;break}return f.equal("value",m.path,_,m.template,S),S.length===I}var x;switch(y){case"number":var P=(_+"").split(".");P[0]=+P[0],v.min!==void 0&&v.max!==void 0&&(f.greaterThanOrEqualTo("value",m.path,P[0],Math.min(v.min,v.max),S),f.lessThanOrEqualTo("value",m.path,P[0],Math.max(v.min,v.max),S)),v.min!==void 0&&v.max===void 0&&f.equal("value",m.path,P[0],v.min,S,"[value] "+ $ ),v.decimal&&(v.dmin!==void 0&&v.dmax!==void 0&&(f.greaterThanOrEqualTo("value",m.path,P[1].length,v.dmin,S),f.lessThanOrEqualTo("value",m.path,P[1].length,v.dmax,S)),v.dmin!==void 0&&v.dmax===void 0&&f.equal("value",m.path,P[1].length,v.dmin,S));break;case"boolean":break;case"string":x=_.match(new RegExp(m.template,"g")),x=x?x.length:0,v.min!==void 0&&v.max!==void 0&&(f.greaterThanOrEqualTo("repeat count",m.path,x,v.min,S),f.lessThanOrEqualTo("repeat count",m.path,x,v.max,S)),v.min!==void 0&&v.max===void 0&&f.equal("repeat count",m.path,x,v.min,S);break;case"regexp":x=_.match(new RegExp(m.template.source.replace(/^ \^ | \$ $ /g,""),"g")),x=x?x.length:0,v.min!==void 0&&v.max!==void 0&&(f.greaterThanOrEqualTo("repeat count",m.path,x,v.min,S),f.lessThanOrEqualTo("repeat count",m.path,x,v.max,S)),v.min!==void 0&&v.max===void 0&&f.equal("repeat count",m.path,x,v.min,S);break}return S.length===I},properties:function(m,_, $ ,S){var I=S.length,v=m.rule,y=u.keys(_);if(!!m.properties){if(m.rule.parameters?(v.min!==void 0&&v.max!==void 0&&(f.greaterThanOrEqualTo("properties length",m.path,y.length,Math.min(v.min,v.max),S),f.lessThanOrEqualTo("properties length",m.path,y.length,Math.max(v.min,v.max),S)),v.min!==void 0&&v.max===void 0&&v.count!==1&&f.equal("properties length",m.path,y.length,v.min,S)):f.equal("properties length",m.path,y.length,m.properties.length,S),S.length!==I)return!1;for(var x=0;x<y.length;x++)S.push.apply(S,this.diff(function(){var P;return u.each(m.properties,function(R){R.name===y[x]&&(P=R)}),P||m.properties[x]}(),_[y[x]],y[x]));return S.length===I}},items:function(m,_, $ ,S){var I=S.length;if(!!m.items){var v=m.rule;if(!m.rule.parameters)f.equal("items length",m.path,_.length,m.items.length,S);else{if(v.min!==void 0&&v.max!==void 0&&(f.greaterThanOrEqualTo("items",m.path,_.length,Math.min(v.min,v.max)*m.items.length,S,"[{utype}] array is too short: {path} must have at least {expected} elements but instance has {actual} elements"),f.lessThanOrEqualTo("items",m.path,_.length,Math.max(v.
` );return v},overrideMimeType:function(){},responseType:"",response:null,responseText:"",responseXML:null}),r.extend(m.prototype,{addEventListener:function(v,y){var x=this.custom.events;x[v]||(x[v]=[]),x[v].push(y)},removeEventListener:function(v,y){for(var x=this.custom.events[v]||[],P=0;P<x.length;P++)x[P]===y&&x.splice(P--,1)},dispatchEvent:function(v){for(var y=this.custom.events[v.type]||[],x=0;x<y.length;x++)y[x].call(this,v);var P="on"+v.type;this[P]&&this[P](v)}});function _(){var I=function(){var x=/^(?:about|app|app-storage|.+-extension|file|res|widget): $ /,P=/^([ \w .+-]+:)(?: \/ \/ ([^ \/ ?#:]*)(?::( \d +)|)|)/,R=location.href,Y=P.exec(R.toLowerCase())||[];return x.test(Y[1])}();return window.ActiveXObject?!I&&v()||y():v();function v(){try{return new window._XMLHttpRequest}catch{}}function y(){try{return new window._ActiveXObject("Microsoft.XMLHTTP")}catch{}}}function $ (I){for(var v in m.Mock._mocked){var y=m.Mock._mocked[v];if((!y.rurl||x(y.rurl,I.url))&&(!y.rtype||x(y.rtype,I.type.toLowerCase())))return y}function x(P,R){if(r.type(P)==="string")return P===R;if(r.type(P)==="regexp")return P.test(R)}}function S(I,v){return r.isFunction(I.template)?I.template(v):m.Mock.mock(I.template)}e.exports=m}])})})(mock);const Mock=mock.exports,debug=!1,setupMock=({mock:e,setup:l})=>{e!==!1&&debug&&l()},successResponseWrap=e=>({data:e,status:"ok",msg:" \u 8BF7 \u 6C42 \u 6210 \u 529F",code:2e4}),failResponseWrap=(e,l,n=5e4)=>({data:e,status:"fail",msg:l,code:n});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:l,password:n}=JSON.parse(e.body);return l?n?l==="admin"&&n==="admin"?(window.localStorage.setItem("userRole","admin"),successResponseWrap({token:"12345"})):l==="user"&&n==="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.4
* ( c ) 2024 tdesign
* @ license MIT
* /function _arrayLikeToArray(e,l){(l==null||l>e.length)&&(l=e.length);for(var n=0,r=new Array(l);n<l;n++)r[n]=e[n];return r}function _unsupportedIterableToArray(e,l){if(!!e){if(typeof e=="string")return _arrayLikeToArray(e,l);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/ ^ ( ? : Ui | I ) nt ( ? : 8 | 16 | 32 ) ( ? : Clamped ) ? Array $ / . test ( n ) ) return _arrayLikeToArray ( e , l ) } } / * *
* tdesign v1 . 9.4
* ( 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()}/**
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function _typeof(e){return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},_typeof(e)}/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function toPrimitive(e,l){if(_typeof(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,l||"default");if(_typeof(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(e)}function toPropertyKey(e){var l=toPrimitive(e,"string");return _typeof(l)=="symbol"?l:l+""}function _defineProperty$2(e,l,n){return l=toPropertyKey(l),l in e?Object.defineProperty(e,l,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[l]=n,e}/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function isObject$7(e){var l=_typeof(e);return e!=null&&(l=="object"||l=="function")}var isObject_1=isObject$7;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /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$3=freeGlobal||freeSelf||Function("return this")(),_root=root$1$3,root$7=_root,_Symbol2=root$7.Symbol,_Symbol$2=_Symbol2,_Symbol$1=_Symbol$2,objectProto$1$3=Object.prototype,hasOwnProperty$8=objectProto$1$3.hasOwnProperty,nativeObjectToString$1=objectProto$1$3.toString,symToStringTag$1=_Symbol$1?_Symbol$1.toStringTag:void 0;function getRawTag$1(e){var l=hasOwnProperty$8.call(e,symToStringTag$1),n=e[symToStringTag$1];try{e[symToStringTag$1]=void 0;var r=!0}catch{}var u=nativeObjectToString$1.call(e);return r&&(l?e[symToStringTag$1]=n:delete e[symToStringTag$1]),u}var _getRawTag=getRawTag$1,objectProto$9=Object.prototype,nativeObjectToString=objectProto$9.toString;function objectToString$1(e){return nativeObjectToString.call(e)}var _objectToString=objectToString$1,_Symbol$3=_Symbol$2,getRawTag=_getRawTag,objectToString=_objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=_Symbol$3?_Symbol$3.toStringTag:void 0;function baseGetTag$7(e){return e==null?e===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(e)?getRawTag(e):objectToString(e)}var _baseGetTag=baseGetTag$7;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var baseGetTag$6=_baseGetTag,isObject$6=isObject_1,asyncTag="[object AsyncFunction]",funcTag$1="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$3(e){if(!isObject$6(e))return!1;var l=baseGetTag$6(e);return l==funcTag$1||l==genTag||l==asyncTag||l==proxyTag}var isFunction_1=isFunction$3;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var root$1$2=_root,coreJsData$1=root$1$2["__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$8 = Object . prototype , funcToString$2 = funcProto$2 . toString , hasOwnProperty$7 = objectProto$8 . hasOwnProperty , reIsNative = RegExp ( "^" + funcToString$2 . call ( hasOwnProperty$7 ) . replace ( reRegExpChar , "\\$&" ) . replace ( /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g , "$1.*?" ) + "$" ) ; function baseIsNative$1 ( e ) { if ( ! isObject$5 ( e ) || isMasked ( e ) ) return ! 1 ; var l = isFunction$2 ( e ) ? reIsNative : reIsHostCtor ; return l . test ( toSource$2 ( e ) ) } var _baseIsNative = baseIsNative$1 ; function getValue$1 ( e , l ) { return e == null ? void 0 : e [ l ] } var _getValue = getValue$1 , baseIsNative = _baseIsNative , getValue = _getValue ; function getNative$1$1 ( e , l ) { var n = getValue ( e , l ) ; return baseIsNative ( n ) ? n : void 0 } var _getNative = getNative$1$1 , getNative$6 = _getNative , root$6 = _root , Map$4 = getNative$6 ( root$6 , "Map" ) , _Map = Map$4 ; / * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var getNative$5=_getNative,defineProperty$2=function(){try{var e=getNative$5(Object,"defineProperty");return e({},"",{}),e}catch{}}(),_defineProperty$1=defineProperty$2;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function eq$4(e,l){return e===l||e!==e&&l!==l}var eq_1=eq$4;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var defineProperty$1=_defineProperty$1;function baseAssignValue$1$1(e,l,n){l=="__proto__"&&defineProperty$1?defineProperty$1(e,l,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[l]=n}var _baseAssignValue=baseAssignValue$1$1,baseAssignValue$2=_baseAssignValue,eq$3=eq_1,objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty;function assignValue$1(e,l,n){var r=e[l];(!(hasOwnProperty$6.call(e,l)&&eq$3(r,n))||n===void 0&&!(l in e))&&baseAssignValue$2(e,l,n)}var _assignValue=assignValue$1;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* / 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 $ 2 = 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 , l ) { f o r ( v a r n = e . l e n g t h ; n - - ; ) i f ( e q $ 2 ( e [ n ] [ 0 ] , l ) ) r e t u r n n ; 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 l = t h i s . _ _ d a t a _ _ , n = a s s o c I n d e x O f $ 3 ( l , e ) ; i f ( n < 0 ) r e t u r n ! 1 ; v a r r = l . l e n g t h - 1 ; r e t u r n n = = r ? l . p o p ( ) : s p l i c e . c a l l ( l , n , 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 l = t h i s . _ _ d a t a _ _ , n = a s s o c I n d e x O f $ 2 ( l , e ) ; r e t u r n n < 0 ? v o i d 0 : l [ n ] [ 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 , l ) { v a r n = t h i s . _ _ d a t a _ _ , r = a s s o c I n d e x O f ( n , e ) ; r e t u r n r < 0 ? ( + + t h i s . s i z e , n . p u s h ( [ e , l ] ) ) : n [ r ] [ 1 ] = l , 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 l = - 1 , n = 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 ( ) ; + + l < n ; ) { v a r r = e [ l ] ; 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 l = 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 - = l ? 1 : 0 , l } 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 $ 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 $ 2 = 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 h a s h G e t $ 1 ( e ) { v a r l = 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 n = l [ e ] ; r e t u r n n = = = H A S H _ U N D E F I N E D $ 1 ? v o i d 0 : n } 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 ( l , e ) ? l [ 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 $ 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 $ 5 = 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 h a s h H a s $ 1 ( e ) { v a r l = 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 ? l [ e ] ! = = v o i d 0 : h a s O w n P r o p e r t y $ 5 . c a l l ( l , 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 = " _ _ 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 , l ) { v a r n = 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 , n [ e ] = n a t i v e C r e a t e & & l = = = v o i d 0 ? H A S H _ U N D E F I N E D : l , 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 l = - 1 , n = 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 ( ) ; + + l < n ; ) { v a r r = e [ l ] ; 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 l = _ t y p e o f ( e ) ; r e t u r n l = = " s t r i n g " | | l = = " n u m b e r " | | l = = " s y m b o l " | | l = = " 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 , l ) { v a r n = e . _ _ d a t a _ _ ; r e t u r n i s K e y a b l e ( l ) ? n [ t y p e o f l = = " s t r i n g " ? " s t r i n g " : " h a s h " ] : n . 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 l = 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 - = l ? 1 : 0 , l } 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 , l ) { v a r n = g e t M a p D a t a ( t h i s , e ) , r = n . s i z e ; r e t u r n n . s e t ( e , l ) , t h i s . s i z e + = n . 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 l e a r
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var MAX_SAFE_INTEGER$1=9007199254740991;function isLength$1(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=MAX_SAFE_INTEGER$1}var isLength_1=isLength$1,isFunction$1=isFunction_1,isLength$2=isLength_1;function isArrayLike$4(e){return e!=null&&isLength$2(e.length)&&!isFunction$1(e)}var isArrayLike_1=isArrayLike$4;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function isObjectLike$6(e){return e!=null&&_typeof(e)=="object"}var isObjectLike_1=isObjectLike$6;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function baseUnary$1(e){return function(l){return e(l)}}var _baseUnary=baseUnary$1;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var isBuffer$3={exports:{}};function stubFalse(){return!1}var stubFalse_1=stubFalse;(function(e,l){var n=_root,r=stubFalse_1,u=l&&!l.nodeType&&l,o=u&&!0&&e&&!e.nodeType&&e,t=o&&o.exports===u,a=t?n.Buffer:void 0,f=a?a.isBuffer:void 0,m=f||r;e.exports=m})(isBuffer$3,isBuffer$3.exports);isBuffer$3.exports;var baseGetTag$5=_baseGetTag,isLength=isLength_1,isObjectLike$5=isObjectLike_1,argsTag$1="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag$2="[object Map]",numberTag="[object Number]",objectTag$2="[object Object]",regexpTag="[object RegExp]",setTag$2="[object Set]",stringTag$1="[object String]",weakMapTag$1="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag$1]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag$1]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag$2]=typedArrayTags[numberTag]=typedArrayTags[objectTag$2]=typedArrayTags[regexpTag]=typedArrayTags[setTag$2]=typedArrayTags[stringTag$1]=typedArrayTags[weakMapTag$1]=!1;function baseIsTypedArray$1(e){return isObjectLike$5(e)&&isLength(e.length)&&!!typedArrayTags[baseGetTag$5(e)]}var _baseIsTypedArray=baseIsTypedArray$1,_nodeUtil$1={exports:{}};(function(e,l){var n=_freeGlobal,r=l&&!l.nodeType&&l,u=r&&!0&&e&&!e.nodeType&&e,o=u&&u.exports===r,t=o&&n.process,a=function(){try{var f=u&&u.require&&u.require("util").types;return f||t&&t.binding&&t.binding("util")}catch{}}();e.exports=a})(_nodeUtil$1,_nodeUtil$1.exports);_nodeUtil$1.exports;var baseIsTypedArray=_baseIsTypedArray,baseUnary=_baseUnary,nodeUtil=_nodeUtil$1.exports,nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray$3=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray,isTypedArray_1=isTypedArray$3,objectProto$5=Object.prototype;function isPrototype$3(e){var l=e&&e.constructor,n=typeof l=="function"&&l.prototype||objectProto$5;return e===n}var _isPrototype=isPrototype$3;function overArg$2(e,l){return function(n){return e(l(n))}}var _overArg=overArg$2;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var baseGetTag$4=_baseGetTag,isObjectLike$1$1=isObjectLike_1,argsTag="[object Arguments]";function baseIsArguments$1(e){return isObjectLike$1$1(e)&&baseGetTag$4(e)==argsTag}var _baseIsArguments=baseIsArguments$1,baseIsArguments=_baseIsArguments,isObjectLike$4=isObjectLike_1,objectProto$4=Object.prototype,hasOwnProperty$4=objectProto$4.hasOwnProperty,propertyIsEnumerable=objectProto$4.propertyIsEnumerable,isArguments$3=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike$4(e)&&hasOwnProperty$4.call(e,"callee")&&!propertyIsEnumerable.call(e,"callee")},isArguments_1=isArguments$3;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var isArray$5=Array.isArray,isArray_1=isArray$5;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var MAX_SAFE_INTEGER=9007199254740991,reIsUint=/ ^ ( ? : 0 | [ 1 - 9 ] \ d * ) $ / ; function isIndex$2 ( e , l ) { var n = _typeof ( e ) ; return l = l == null ? MAX _SAFE _INTEGER : l , ! ! l && ( n == "number" || n != "symbol" && reIsUint . test ( e ) ) && e > - 1 && e % 1 == 0 && e < l } var _isIndex = isIndex$2 ; / * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* / f u n c t i o n b a s e T i m e s $ 1 ( e , l ) { f o r ( v a r n = - 1 , r = A r r a y ( e ) ; + + n < e ; ) r [ n ] = l ( n ) ; 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 $ 2 = i s A r g u m e n t s _ 1 , i s A r r a y $ 4 = i s A r r a y _ 1 , i s B u f f e r $ 2 = i s B u f f e r $ 3 . e x p o r t s , i s I n d e x $ 1 = _ i s I n d e x , i s T y p e d A r r a y $ 2 = 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 $ 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 $ 1 = o b j e c t P r o t o $ 1 $ 1 . 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 , l ) { v a r n = i s A r r a y $ 4 ( e ) , r = ! n & & i s A r g u m e n t s $ 2 ( e ) , u = ! n & & ! r & & i s B u f f e r $ 2 ( e ) , o = ! n & & ! r & & ! u & & i s T y p e d A r r a y $ 2 ( e ) , t = n | | 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 ) : [ ] , f = a . l e n g t h ; f o r ( v a r m i n e ) ( l | | h a s O w n P r o p e r t y $ 1 $ 1 . c a l l ( e , m ) ) & & ! ( t & & ( m = = " l e n g t h " | | u & & ( m = = " o f f s e t " | | m = = " p a r e n t " ) | | o & & ( m = = " b u f f e r " | | m = = " b y t e L e n g t h " | | m = = " b y t e O f f s e t " ) | | i s I n d e x $ 1 ( m , f ) ) ) & & a . p u s h ( m ) ; 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 l = t h i s . _ _ d a t a _ _ , n = l . d e l e t e ( e ) ; r e t u r n t h i s . s i z e = l . s i z e , n } 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 = _ 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 , l ) { v a r n = t h i s . _ _ d a t a _ _ ; i f ( n i n s t a n c e o f L i s t C a c h e $ 1 ) { v a r r = n . _ _ 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 , l ] ) , t h i s . s i z e = + + n . s i z e , t h i s ; n = t h i s . _ _ d a t a _ _ = n e w M a p C a c h e ( r ) } r e t u r n n . s e t ( e , l ) , t h i s . s i z e = n . 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 $ 1 ( e ) { v a r l = 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 = l . s i z e } S t a c k $ 1 . 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 $ 1 . 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 $ 1 . 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 $ 1 . 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 $ 1 . 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 $ 1 , r o o t $ 5 = _ r o o t , U i n t 8 A r r a y $ 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 , _ 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 , l ) { v a r n = _ r o o t , r = l & & ! l . n o d e T y p e & & l , 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 ? n . 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 f ( m , _ ) { i f ( _ ) r e t u r n m . s l i c e ( ) ; v a r $ = m . l e n g t h , S = a ? a ( $ ) : n e w m . c o n s t r u c t o r ( $ ) ; r e t u r n m . c o p y ( S ) , S } e . e x p o r t s = f } ) ( _ 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 ( e ) { v a r l = 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 ( l ) . s e t ( n e w U i n t 8 A r r a y $ 2 ( e ) ) , l } 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 , 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 ; f u n c t i o n c l o n e T y p e d A r r a y $ 1 ( e , l ) { v a r n = l ? c l o n e A r r a y B u f f e r ( 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 ( n , 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 $ 1 ; f u n c t i o n c o p y A r r a y $ 1 ( e , l ) { v a r n = - 1 , r = e . l e n g t h ; f o r ( l | | ( l = A r r a y ( r ) ) ; + + n < r ; ) l [ n ] = e [ n ] ; r e t u r n l } v a r _ c o p y A r r a y = c o p y A r r a y $ 1 , 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 ( l ) { i f ( ! i s O b j e c t $ 1 $ 2 ( l ) ) 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 ( l ) ; e . p r o t o t y p e = l ; v a r n = 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 , n } } ( ) , _ 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 = 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 , 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 $ 1 ( 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 $ 1 , a s s i g n V a l u e = _ 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 $ 1 = _ 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 $ 1 ( e , l , n , r ) { v a r u = ! n ; n | | ( n = { } ) ; f o r ( v a r o = - 1 , t = l . l e n g t h ; + + o < t ; ) { v a r a = l [ o ] , f = r ? r ( n [ a ] , e [ a ] , a , n , e ) : v o i d 0 ; f = = = v o i d 0 & & ( f = e [ a ] ) , u ? b a s e A s s i g n V a l u e $ 1 ( n , a , f ) : a s s i g n V a l u e ( n , a , f ) } r e t u r n n } v a r _ c o p y O b j e c t = c o p y O b j e c t $ 1 ; 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 l = [ ] ; i f ( e ! = n u l l ) f o r ( v a r n i n O b j e c t ( e ) ) l . p u s h ( n ) ; r e t u r n l } 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 $ 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 $ 3 = o b j e c t P r o t o $ 3 . 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 l = i s P r o t o t y p e $ 2 ( e ) , n = [ ] ; f o r ( v a r r i n e ) r = = " c o n s t r u c t o r " & & ( l | | ! h a s O w
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function identity$2(e){return e}var identity_1=identity$2;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function apply$1(e,l,n){switch(n.length){case 0:return e.call(l);case 1:return e.call(l,n[0]);case 2:return e.call(l,n[0],n[1]);case 3:return e.call(l,n[0],n[1],n[2])}return e.apply(l,n)}var _apply=apply$1,apply=_apply,nativeMax$1=Math.max;function overRest$1(e,l,n){return l=nativeMax$1(l===void 0?e.length-1:l,0),function(){for(var r=arguments,u=-1,o=nativeMax$1(r.length-l,0),t=Array(o);++u<o;)t[u]=r[l+u];u=-1;for(var a=Array(l+1);++u<l;)a[u]=r[u];return a[l]=n(t),apply(e,this,a)}}var _overRest=overRest$1;function constant$1(e){return function(){return e}}var constant_1=constant$1,constant=constant_1,defineProperty=_defineProperty$1,identity$1=identity_1,baseSetToString$1=defineProperty?function(e,l){return defineProperty(e,"toString",{configurable:!0,enumerable:!1,value:constant(l),writable:!0})}:identity$1,_baseSetToString=baseSetToString$1,HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut$1(e){var l=0,n=0;return function(){var r=nativeNow(),u=HOT_SPAN-(r-n);if(n=r,u>0){if(++l>=HOT_COUNT)return arguments[0]}else l=0;return e.apply(void 0,arguments)}}var _shortOut=shortOut$1,baseSetToString=_baseSetToString,shortOut=_shortOut,setToString$1=shortOut(baseSetToString),_setToString=setToString$1;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var isArrayLike$2=isArrayLike_1,isObjectLike$3=isObjectLike_1;function isArrayLikeObject$1(e){return isObjectLike$3(e)&&isArrayLike$2(e)}var isArrayLikeObject_1=isArrayLikeObject$1,identity=identity_1,overRest=_overRest,setToString=_setToString;function baseRest$1(e,l){return setToString(overRest(e,l,identity),e+"")}var _baseRest=baseRest$1;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var baseGetTag$3=_baseGetTag,getPrototype=_getPrototype,isObjectLike$2=isObjectLike_1,objectTag$1="[object Object]",funcProto=Function.prototype,objectProto$2=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$2=objectProto$2.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$1(e){if(!isObjectLike$2(e)||baseGetTag$3(e)!=objectTag$1)return!1;var l=getPrototype(e);if(l===null)return!0;var n=hasOwnProperty$2.call(l,"constructor")&&l.constructor;return typeof n=="function"&&n instanceof n&&funcToString.call(n)==objectCtorString}var isPlainObject_1=isPlainObject$1;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var eq$1=eq_1,isArrayLike$1=isArrayLike_1,isIndex=_isIndex,isObject$3=isObject_1;function isIterateeCall$1(e,l,n){if(!isObject$3(n))return!1;var r=_typeof(l);return(r=="number"?isArrayLike$1(n)&&isIndex(l,n.length):r=="string"&&l in n)?eq$1(n[l],e):!1}var _isIterateeCall=isIterateeCall$1;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var defaultConfig={classPrefix:"t",animation:{include:["ripple","expand","fade"],exclude:[]},calendar:{firstDayOfWeek:1,fillWithZero:!0,controllerConfig:void 0},icon:{},input:{autocomplete:""},dialog:{closeOnEscKeydown:!0,closeOnOverlayClick:!0,confirmBtnTheme:{default:"primary",info:"primary",warning:"primary",danger:"primary",success:"primary"}},message:{},popconfirm:{confirmBtnTheme:{default:"primary",warning:"primary",danger:"primary"}},table:{expandIcon:void 0,sortIcon:void 0,filterIcon:void 0,treeExpandAndFoldIcon:void 0,hideSortTips:!1,size:"medium"},select:{clearIcon:void 0,filterable:!1},drawer:{closeOnEscKeydown:!0,closeOnOverlayClick:!0,size:"small"},tree:{folderIcon:void 0},datePicker:{firstDayOfWeek:1},steps:{checkIcon:void 0,errorIcon:void 0},tag:{closeIcon:void 0},form:{requiredMark:void 0}};/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var zhCn={pagination:{itemsPerPage:"{size} \u6761/ \u9875 ",jumpTo:" \u8DF3\u81F3 ",page:" \u9875 ",total:" \u5171 { total } \u6761\u6570\u636E "},cascader:{empty:" \u6682\u65E0\u6570\u636E ",loadingText:" \u52A0\u8F7D\u4E2D ",placeholder:" \u8BF7\u9009\u62E9 "},calendar:{yearSelection:" { year } \u5E74 ",monthSelection:" { month } \u6708 ",yearRadio:" \u5E74 ",monthRadio:" \u6708 ",hideWeekend:" \u9690\u85CF\u5468\u672B ",showWeekend:" \u663E\u793A\u5468\u672B ",today:" \u4ECA\u5929 ",thisMonth:" \u672C\u6708 ",week:" \u4E00 , \u4E8C , \u4E09 , \u56DB , \u4E94 , \u516D , \u65E5 ",cellMonth:" 1 \u6708 , 2 \u6708 , 3 \u6708 , 4 \u6708 , 5 \u6708 , 6 \u6708 , 7 \u6708 , 8 \u6708 , 9 \u6708 , 10 \u6708 , 11 \u6708 , 12 \u6708 "},transfer:{title:" { checked } / { total } \u9879 ",empty:" \u6682\u65E0\u6570\u636E ",placeholder:" \u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22 "},timePicker:{dayjsLocale:" zh - cn ",now:" \u6B64\u523B ",confirm:" \u786E\u5B9A ",anteMeridiem:" \u4E0A\u5348 ",postMeridiem:" \u4E0B\u5348 ",placeholder:" \u9009\u62E9\u65F6\u95F4 "},dialog:{confirm:" \u786E\u8BA4 ",cancel:" \u53D6\u6D88 "},drawer:{confirm:" \u786E\u8BA4 ",cancel:" \u53D6\u6D88 "},popconfirm:{confirm:{content:" \u786E\u5B9A "},cancel:{content:" \u53D6\u6D88 "}},table:{empty:" \u6682\u65E0\u6570\u636E ",loadingText:" \u6B63\u5728\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u7A0D\u540E ",loadingMoreText:" \u70B9\u51FB\u52A0\u8F7D\u66F4\u591A ",filterInputPlaceholder:" \u8BF7\u8F93\u5165\u5185\u5BB9\uFF08\u65E0\u9ED8\u8BA4\u503C\uFF09 ",sortAscendingOperationText:" \u70B9\u51FB\u5347\u5E8F ",sortCancelOperationText:" \u70B9\u51FB\u53D6\u6D88\u6392\u5E8F ",sortDescendingOperationText:" \u70B9\u51FB\u964D\u5E8F ",clearFilterResultButtonText:" \u6E05\u7A7A\u7B5B\u9009 ",columnConfigButtonText:" \u5217\u914D\u7F6E ",columnConfigTitleText:" \u8868\u683C\u5217\u914D\u7F6E ",columnConfigDescriptionText:" \u8BF7\u9009\u62E9\u9700\u8981\u5728\u8868\u683C\u4E2D\u663E\u793A\u7684\u6570\u636E\u5217 ",confirmText:" \u786E\u8BA4 ",cancelText:" \u53D6\u6D88 ",resetText:" \u91CD\u7F6E ",selectAllText:" \u5168\u9009 ",searchResultText:" \u641C\u7D22\u201C { result } \u201D\uFF0C\u627E\u5230 { count } \u6761\u7ED3\u679C "},select:{empty:" \u6682\u65E0\u6570\u636E ",loadingText:" \u52A0\u8F7D\u4E2D ",placeholder:" \u8BF7\u9009\u62E9 "},tree:{empty:" \u6682\u65E0\u6570\u636E "},treeSelect:{empty:" \u6682\u65E0\u6570\u636E ",loadingText:" \u52A0\u8F7D\u4E2D ",placeholder:" \u8BF7\u9009\u62E9 "},datePicker:{dayjsLocale:" zh - cn ",placeholder:{date:" \u8BF7\u9009\u62E9\u65E5\u671F ",month:" \u8BF7\u9009\u62E9\u6708\u4EFD ",year:" \u8BF7\u9009\u62E9\u5E74\u4EFD ",quarter:" \u8BF7\u9009\u62E9\u5B63\u5EA6 ",week:" \u8BF7\u9009\u62E9\u5468 "},weekdays:[" \u4E00 "," \u4E8C "," \u4E09 "," \u56DB "," \u4E94 "," \u516D "," \u65E5 "],months:[" 1 \u6708 "," 2 \u6708 "," 3 \u6708 "," 4 \u6708 "," 5 \u6708 "," 6 \u6708 "," 7 \u6708 "," 8 \u6708 "," 9 \u6708 "," 10 \u6708 "," 11 \u6708 "," 12 \u6708 "],quarters:[" \u4E00\u5B63\u5EA6 "," \u4E8C\u5B63\u5EA6 "," \u4E09\u5B63\u5EA6 "," \u56DB\u5B63\u5EA6 "],rangeSeparator:" - ",direction:" ltr ",format:" YYYY - MM - DD ",dayAriaLabel:" \u65E5 ",weekAbbreviation:" \u5468 ",yearAriaLabel:" \u5E74 ",monthAriaLabel:" \u6708 ",confirm:" \u786E\u5B9A ",selectTime:" \u9009\u62E9\u65F6\u95F4 ",selectDate:" \u9009\u62E9\u65E5\u671F ",nextYear:" \u4E0B\u4E00\u5E74 ",preYear:" \u4E0A\u4E00\u5E74 ",nextMonth:" \u4E0B\u4E2A\u6708 ",preMonth:" \u4E0A\u4E2A\u6708 ",preDecade:" \u4E0A\u4E2A\u5341\u5E74 ",nextDecade:" \u4E0B\u4E2A\u5341\u5E74 ",now:" \u5F53\u524D "},upload:{sizeLimitMessage:" \u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 { sizeLimit } ",cancelUploadText:" \u53D6\u6D88\u4E0A\u4F20 ",triggerUploadText:{fileInput:" \u9009\u62E9\u6587\u4EF6 ",image:" \u70B9\u51FB\u4E0A\u4F20\u56FE\u7247 ",normal:" \u70B9\u51FB\u4E0A\u4F20 ",reupload:" \u91CD\u65B0\u9009\u62E9 ",continueUpload:" \u7EE7\u7EED\u9009\u62E9 ",delete:" \u5220\u9664 ",uploading:" \u4E0A\u4F20\u4E2D "},dragger:{dragDropText:" \u91CA\u653E\u9F20\u6807 ",draggingText:" \u62D6\u62FD\u5230\u6B64\u533A\u57DF ",clickAndDragText:" \u70B9\u51FB\u4E0A\u65B9\u201C\u9009\u62E9\u6587\u4EF6\u201D\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64\u533A\u57DF "},file:{fileNameText:" \u6587\u4EF6\u540D ",fileSizeText:" \u6587\u4EF6\u5927\u5C0F ",fileStatusText:" \u72B6\u6001 " ,
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function createBaseFor$1(e){return function(l,n,r){for(var u=-1,o=Object(l),t=r(l),a=t.length;a--;){var f=t[e?a:++u];if(n(o[f],f,o)===!1)break}return l}}var _createBaseFor=createBaseFor$1,createBaseFor=_createBaseFor,baseFor$1=createBaseFor(),_baseFor=baseFor$1,baseAssignValue=_baseAssignValue,eq=eq_1;function assignMergeValue$2(e,l,n){(n!==void 0&&!eq(e[l],n)||n===void 0&&!(l in e))&&baseAssignValue(e,l,n)}var _assignMergeValue=assignMergeValue$2;function safeGet$2(e,l){if(!(l==="constructor"&&typeof e[l]=="function")&&l!="__proto__")return e[l]}var _safeGet=safeGet$2,copyObject=_copyObject,keysIn$1=keysIn_1;function toPlainObject$1(e){return copyObject(e,keysIn$1(e))}var toPlainObject_1=toPlainObject$1,assignMergeValue$1=_assignMergeValue,cloneBuffer=_cloneBuffer$1.exports,cloneTypedArray=_cloneTypedArray,copyArray=_copyArray,initCloneObject=_initCloneObject,isArguments$1=isArguments_1,isArray$3=isArray_1,isArrayLikeObject=isArrayLikeObject_1,isBuffer$1=isBuffer$3.exports,isFunction=isFunction_1,isObject$1$1=isObject_1,isPlainObject=isPlainObject_1,isTypedArray$1=isTypedArray_1,safeGet$1=_safeGet,toPlainObject=toPlainObject_1;function baseMergeDeep$1(e,l,n,r,u,o,t){var a=safeGet$1(e,n),f=safeGet$1(l,n),m=t.get(f);if(m){assignMergeValue$1(e,n,m);return}var _=o?o(a,f,n+"",e,l,t):void 0,$=_===void 0;if($){var S=isArray$3(f),I=!S&&isBuffer$1(f),v=!S&&!I&&isTypedArray$1(f);_=f,S||I||v?isArray$3(a)?_=a:isArrayLikeObject(a)?_=copyArray(a):I?($=!1,_=cloneBuffer(f,!0)):v?($=!1,_=cloneTypedArray(f,!0)):_=[]:isPlainObject(f)||isArguments$1(f)?(_=a,isArguments$1(a)?_=toPlainObject(a):(!isObject$1$1(a)||isFunction(a))&&(_=initCloneObject(f))):$=!1}$&&(t.set(f,_),u(_,f,r,o,t),t.delete(f)),assignMergeValue$1(e,n,_)}var _baseMergeDeep=baseMergeDeep$1,Stack=_Stack,assignMergeValue=_assignMergeValue,baseFor=_baseFor,baseMergeDeep=_baseMergeDeep,isObject$2=isObject_1,keysIn=keysIn_1,safeGet=_safeGet;function baseMerge$2(e,l,n,r,u){e!==l&&baseFor(l,function(o,t){if(u||(u=new Stack),isObject$2(o))baseMergeDeep(e,l,t,n,baseMerge$2,r,u);else{var a=r?r(safeGet(e,t),o,t+"",e,l,u):void 0;a===void 0&&(a=o),assignMergeValue(e,t,a)}},keysIn)}var _baseMerge=baseMerge$2,baseRest=_baseRest,isIterateeCall=_isIterateeCall;function createAssigner$2(e){return baseRest(function(l,n){var r=-1,u=n.length,o=u>1?n[u-1]:void 0,t=u>2?n[2]:void 0;for(o=e.length>3&&typeof o=="function"?(u--,o):void 0,t&&isIterateeCall(n[0],n[1],t)&&(o=u<3?void 0:o,u=1),l=Object(l);++r<u;){var a=n[r];a&&e(l,a,r,o)}return l})}var _createAssigner=createAssigner$2,baseMerge$1=_baseMerge,createAssigner$1=_createAssigner,merge=createAssigner$1(function(e,l,n){baseMerge$1(e,l,n)}),merge_1=merge,baseMerge=_baseMerge,createAssigner=_createAssigner;createAssigner(function(e,l,n,r){baseMerge(e,l,n,r)});var EAnimationType=function(e){return e.ripple="ripple",e.expand="expand",e.fade="fade",e}(EAnimationType||{}),defaultGlobalConfig=merge_1(defaultConfig,zhCn),configProviderInjectKey=Symbol("configProvide");/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var getNative$3=_getNative,root$4=_root,Set$2=getNative$3(root$4,"Set"),_Set=Set$2;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var overArg=_overArg,nativeKeys$1=overArg(Object.keys,Object),_nativeKeys=nativeKeys$1,isPrototype$1=_isPrototype,nativeKeys=_nativeKeys,objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function baseKeys$1(e){if(!isPrototype$1(e))return nativeKeys(e);var l=[];for(var n in Object(e))hasOwnProperty$1.call(e,n)&&n!="constructor"&&l.push(n);return l}var _baseKeys=baseKeys$1,getNative$2=_getNative,root$2=_root,DataView$1=getNative$2(root$2,"DataView"),_DataView=DataView$1,getNative$1=_getNative,root$1$1=_root,Promise$2=getNative$1(root$1$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=_WeakMap,baseGetTag$2=_baseGetTag,toSource=_toSource,mapTag$1="[object Map]",objectTag="[object Object]",promiseTag="[object Promise]",setTag$1="[object Set]",weakMapTag="[object WeakMap]",dataViewTag="[object DataView]",dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map$1),promiseCtorString=toSource(Promise$1),setCtorString=toSource(Set$1),weakMapCtorString=toSource(WeakMap),getTag$1=baseGetTag$2;(DataView&&getTag$1(new DataView(new ArrayBuffer(1)))!=dataViewTag||Map$1&&getTag$1(new Map$1)!=mapTag$1||Promise$1&&getTag$1(Promise$1.resolve())!=promiseTag||Set$1&&getTag$1(new Set$1)!=setTag$1||WeakMap&&getTag$1(new WeakMap)!=weakMapTag)&&(getTag$1=function(l){var n=baseGetTag$2(l),r=n==objectTag?l.constructor:void 0,u=r?toSource(r):"";if(u)switch(u){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag$1;case promiseCtorString:return promiseTag;case setCtorString:return setTag$1;case weakMapCtorString:return weakMapTag}return n});var _getTag=getTag$1;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var baseGetTag$1=_baseGetTag,isObjectLike$1=isObjectLike_1,symbolTag="[object Symbol]";function isSymbol$2(e){return _typeof(e)=="symbol"||isObjectLike$1(e)&&baseGetTag$1(e)==symbolTag}var isSymbol_1=isSymbol$2;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* / f u n c t i o n a r r a y M a p $ 1 ( e , l ) { f o r ( v a r n = - 1 , r = e = = n u l l ? 0 : e . l e n g t h , u = A r r a y ( r ) ; + + n < r ; ) u [ n ] = l ( e [ n ] , n , 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 = _ S y m b o l $ 2 , a r r a y M a p = _ a r r a y M a p , i s A r r a y $ 2 = i s A r r a y _ 1 , i s S y m b o l $ 1 = i s S y m b o l _ 1 , I N F I N I T Y = 1 / 0 , s y m b o l P r o t o = _ S y m b o l ? _ S y m b o l . 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 $ 2 ( e ) ) r e t u r n a r r a y M a p ( e , b a s e T o S t r i n g $ 1 ) + " " ; i f ( i s S y m b o l $ 1 ( 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 l = e + " " ; r e t u r n l = = " 0 " & & 1 / e = = - I N F I N I T Y ? " - 0 " : l } 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 $ 3 ( 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 $ 3 ; / * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* / 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 , l ) { v a r n = 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 ( n ! = n u l l ) { v a r r , u , o , t , a = [ ] , f = ! 0 , m = ! 1 ; t r y { i f ( o = ( n = n . c a l l ( e ) ) . n e x t , l = = = 0 ) { i f ( O b j e c t ( n ) ! = = n ) r e t u r n ; f = ! 1 } e l s e f o r ( ; ! ( f = ( r = o . c a l l ( n ) ) . d o n e ) & & ( a . p u s h ( r . v a l u e ) , a . l e n g t h ! = = l ) ; f = ! 0 ) ; } c a t c h ( _ ) { m = ! 0 , u = _ } f i n a l l y { t r y { i f ( ! f & & n . r e t u r n ! = n u l l & & ( t = n . 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 ( m ) 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 .
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}function _slicedToArray(e,l){return _arrayWithHoles(e)||_iterableToArrayLimit(e,l)||_unsupportedIterableToArray(e,l)||_nonIterableRest()}/**
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function setStyle(e,l){var n=Object.keys(l);n.forEach(function(r){e.style[r]=l[r]})}/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var baseGetTag=_baseGetTag,isArray$1=isArray_1,isObjectLike=isObjectLike_1,stringTag="[object String]";function isString(e){return typeof e=="string"||!isArray$1(e)&&isObjectLike(e)&&baseGetTag(e)==stringTag}var isString_1=isString;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var globalConfigCopy=ref();function useConfig(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,l=arguments.length>1?arguments[1]:void 0,n=getCurrentInstance()?inject(configProviderInjectKey,null):globalConfigCopy,r=computed(function(){return(n==null?void 0:n.value)||defaultGlobalConfig}),u=computed(function(){return Object.assign({},r.value[e],l)}),o=computed(function(){return r.value.classPrefix}),t=function(f){for(var m=arguments.length,_=new Array(m>1?m-1:0),$=1;$<m;$++)_[$-1]=arguments[$];var S=_[0];if(isString_1(f)){if(!S)return f;var I=/ \ { \ s * ( [ \ w - ] + ) \ s * \ } / g , v = f . replace ( I , function ( y , x ) { return S ? String ( S [ x ] ) : "" } ) ; return v } return isFunction _1 ( f ) ? _ . length ? f . apply ( void 0 , _ ) : f ( h ) : "" } ; return { t , global : u , globalConfig : u , classPrefix : o } } / * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function usePrefixClass(e){var l=useConfig("classPrefix"),n=l.classPrefix;return computed(function(){return e?"".concat(n.value,"-").concat(e):n.value})}function useCommonClassName$1(){var e=useConfig("classPrefix"),l=e.classPrefix;return{SIZE:computed(function(){return{small:"".concat(l.value,"-size-s"),medium:"".concat(l.value,"-size-m"),large:"".concat(l.value,"-size-l"),default:"",xs:"".concat(l.value,"-size-xs"),xl:"".concat(l.value,"-size-xl"),block:"".concat(l.value,"-size-full-width")}}),STATUS:computed(function(){return{loading:"".concat(l.value,"-is-loading"),loadMore:"".concat(l.value,"-is-load-more"),disabled:"".concat(l.value,"-is-disabled"),focused:"".concat(l.value,"-is-focused"),success:"".concat(l.value,"-is-success"),error:"".concat(l.value,"-is-error"),warning:"".concat(l.value,"-is-warning"),selected:"".concat(l.value,"-is-selected"),active:"".concat(l.value,"-is-active"),checked:"".concat(l.value,"-is-checked"),current:"".concat(l.value,"-is-current"),hidden:"".concat(l.value,"-is-hidden"),visible:"".concat(l.value,"-is-visible"),expanded:"".concat(l.value,"-is-expanded"),indeterminate:"".concat(l.value,"-is-indeterminate")}})}}/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* / 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 , l , n , 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 } , l = 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 = l ( ) , 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 ( ) - n } , n = 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 ( ) - n } , n = 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 $ 2 = 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 $ 1 = 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 $ 1 [ " r e q u e s t " + s u f f i x ] , c a f = r o o t $ 1 [ " c a n c e l " + s u f f i x ] | | r o o t $ 1 [ " 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 $ 1 [ 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 $ 1 [ v e n d o r s [ i ] + " C a n c e l " + s u f f i x ] | | r o o t $ 1 [ 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 = 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 ( l ) { i f ( q u e u e . l e n g t h = = = 0 ) { v a r n = n o w $ 2 ( ) , r = M a t h . m a x ( 0 , f r a m e D u r a t i o n - ( n - l a s t ) ) ; l a s t = r + n , 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 ) } c a t c h ( f ) { s e t T i m e o u t ( f u n c t i o n ( ) { t h r o w f } , 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 : l , c a n c e l l e d : ! 1 } ) , i d } , c a f = f u n c t i o n ( l ) { f o r ( v a r n = 0 ; n < q u e u e . l e n g t h ; n + + ) q u e u e [ n ] . h a n d l e = = = l & & ( q u e u e [ n ] . 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 $ 1 , 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 $ 1 , 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 $ 1 ) , 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 ( l ) { r e t u r n ( l | | " " ) . 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 , l , n , r ) { e & & l & & n & & e . a d d E v e n t L i s t e n e r ( l , n , r ) } : f u n c t i o n ( e , l , n ) { e & & l & & n & & e . a t t a c h E v e n t ( " o n " . c o n c a t ( l ) , n ) } } ( ) , 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 , l , n , r ) { e & & l & & e . r e m o v e E v e n t L i s t e n e r ( l , n , r ) } : f u n c t i o n ( e , l , n ) { e & & l & & e . d e t a c h E v e n t ( " o n " . c o n c a t ( l ) , n ) } } ( ) ; f u n c t i o n o n c e ( e , l , n , r ) { v a r u = i s F u n c t i o n _ 1 ( n ) ? n : n . h a n d l e E v e n t , o = f u n c t i o n t ( a ) { u ( a ) , o f f ( e , l , t , r ) } ; o n ( e , l , o , r ) } f u n c t i o n h a s C l a s s ( e , l ) { i f ( ! e | | ! l ) r e t u r n ! 1 ; i f ( l . 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 ( l ) : " " . 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 ( l , " " ) ) > - 1 } f u n c t i o n a d d C l a s s ( e , l ) { i f ( ! ! e ) { f o r ( v a r n = e . c l a s s N a m e , r = ( l | | " " ) . 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 ) | | ( n + = " " . 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 = n ) } } f u n c t i o n r e m o v e C l a s s ( e , l ) { i f ( ! ( ! e | | ! l ) ) { f o r ( v a r n = l . 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 = n . l e n g t h ; u < o ; u + + ) { v a r t = n [ 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 ( l , n ) { v a r r = i s F u n c t i o n _ 1 ( l ) ? l ( n ) : l ; 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 l = 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 ( l ) ? d o c u m e n t . q u e r y S e l e c t o r ( l ) : i s F u n c t i o n _ 1 ( l ) ? l ( ) : l } , i s N o d e O v e r f l o w = f u n c t i o n e ( l ) { v a r n = l . c l i e n t W i d t h , r = n = = = v o i d 0 ? 0 : n , u = l . 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 } ; / * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var baseKeys=_baseKeys,getTag=_getTag,isArguments=isArguments_1,isArray=isArray_1,isArrayLike=isArrayLike_1,isBuffer=isBuffer$3.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(e)||typeof e=="string"||typeof e.splice=="function"||isBuffer(e)||isTypedArray(e)||isArguments(e)))return!e.length;var l=getTag(e);if(l==mapTag||l==setTag)return!e.size;if(isPrototype(e))return!baseKeys(e).length;for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0}var isEmpty_1=isEmpty;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function baseSlice$1(e,l,n){var r=-1,u=e.length;l<0&&(l=-l>u?0:u+l),n=n>u?u:n,n<0&&(n+=u),u=l>n?0:n-l>>>0,l>>>=0;for(var o=Array(u);++r<u;)o[r]=e[r+l];return o}var _baseSlice=baseSlice$1;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var baseSlice=_baseSlice;function castSlice$1(e,l,n){var r=e.length;return n=n===void 0?r:n,!l&&n>=r?e:baseSlice(e,l,n)}var _castSlice=castSlice$1,rsAstralRange$1="\\ud800-\\udfff",rsComboMarksRange$1$1="\\u0300-\\u036f",reComboHalfMarksRange$1$1="\\ufe20-\\ufe2f",rsComboSymbolsRange$1$1="\\u20d0-\\u20ff",rsComboRange$1$1=rsComboMarksRange$1$1+reComboHalfMarksRange$1$1+rsComboSymbolsRange$1$1,rsVarRange$1="\\ufe0e\\ufe0f",rsZWJ$1="\\u200d",reHasUnicode=RegExp("["+rsZWJ$1+rsAstralRange$1+rsComboRange$1$1+rsVarRange$1+"]");function hasUnicode$1(e){return reHasUnicode.test(e)}var _hasUnicode=hasUnicode$1;function asciiToArray$1(e){return e.split("")}var _asciiToArray=asciiToArray$1,rsAstralRange$2="\\ud800-\\udfff",rsComboMarksRange$2="\\u0300-\\u036f",reComboHalfMarksRange$2="\\ufe20-\\ufe2f",rsComboSymbolsRange$2="\\u20d0-\\u20ff",rsComboRange$2=rsComboMarksRange$2+reComboHalfMarksRange$2+rsComboSymbolsRange$2,rsVarRange$2="\\ufe0e\\ufe0f",rsAstral="["+rsAstralRange$2+"]",rsCombo$2="["+rsComboRange$2+"]",rsFitz$1="\\ud83c[\\udffb-\\udfff]",rsModifier$1="(?:"+rsCombo$2+"|"+rsFitz$1+")",rsNonAstral$1="[^"+rsAstralRange$2+"]",rsRegional$1="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair$1="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ$2="\\u200d",reOptMod$1=rsModifier$1+"?",rsOptVar$1="["+rsVarRange$2+"]?",rsOptJoin$1="(?:"+rsZWJ$2+"(?:"+[rsNonAstral$1,rsRegional$1,rsSurrPair$1].join("|")+")"+rsOptVar$1+reOptMod$1+")*",rsSeq$1=rsOptVar$1+reOptMod$1+rsOptJoin$1,rsSymbol="(?:"+[rsNonAstral$1+rsCombo$2+"?",rsCombo$2,rsRegional$1,rsSurrPair$1,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz$1+"(?="+rsFitz$1+")|"+rsSymbol+rsSeq$1,"g");function unicodeToArray$1(e){return e.match(reUnicode)||[]}var _unicodeToArray=unicodeToArray$1,asciiToArray=_asciiToArray,hasUnicode$2=_hasUnicode,unicodeToArray=_unicodeToArray;function stringToArray$1(e){return hasUnicode$2(e)?unicodeToArray(e):asciiToArray(e)}var _stringToArray=stringToArray$1;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function arrayReduce$1(e,l,n,r){var u=-1,o=e==null?0:e.length;for(r&&o&&(n=e[++u]);++u<o;)n=l(n,e[u],u,e);return n}var _arrayReduce=arrayReduce$1;function basePropertyOf$1(e){return function(l){return e==null?void 0:e[l]}}var _basePropertyOf=basePropertyOf$1,basePropertyOf=_basePropertyOf,deburredLetters={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},deburrLetter$1=basePropertyOf(deburredLetters),_deburrLetter=deburrLetter$1,deburrLetter=_deburrLetter,toString$1$1=toString_1,reLatin=/ [ \ xc0 - \ xd6 \ xd8 - \ xf6 \ xf8 - \ xff\u0100 - \u017f ] / g , rsComboMarksRange$1 = "\\u0300-\\u036f" , reComboHalfMarksRange$1 = "\\ufe20-\\ufe2f" , rsComboSymbolsRange$1 = "\\u20d0-\\u20ff" , rsComboRange$1 = rsComboMarksRange$1 + reComboHalfMarksRange$1 + rsComboSymbolsRange$1 , rsCombo$1 = "[" + rsComboRange$1 + "]" , reComboMark = RegExp ( rsCombo$1 , "g" ) ; function deburr$1 ( e ) { return e = toString$1$1 ( e ) , e && e . replace ( reLatin , deburrLetter ) . replace ( reComboMark , "" ) } var deburr _1 = deburr$1 , reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g ; function asciiWords$1 ( e ) { return e . match ( reAsciiWord ) || [ ] } var _asciiWords = asciiWords$1 , reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/ ; function hasUnicodeWord$1 ( e ) { return reHasUnicodeWord . test ( e ) } var _hasUnicodeWord = hasUnicodeWord$1 , rsAstralRange = "\\ud800-\\udfff" , rsComboMarksRange = "\\u0300-\\u036f" , reComboHalfMarksRange = "\\ufe20-\\ufe2f" , rsComboSymbolsRange = "\\u20d0-\\u20ff" , rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange , rsDingbatRange = "\\u2700-\\u27bf" , rsLowerRange = "a-z\\xdf-\\xf6\\xf8-\\xff" , rsMathOpRange = "\\xac\\xb1\\xd7\\xf7" , rsNonCharRange = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf" , rsPunctuationRange = "\\u2000-\\u206f" , rsSpaceRange = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000" , rsUpperRange = "A-Z\\xc0-\\xd6\\xd8-\\xde" , rsVarRange = "\\ufe0e\\ufe0f" , rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange , rsApos$1 = "['\u2019]" , rsBreak = "[" + rsBre
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var castSlice=_castSlice,hasUnicode=_hasUnicode,stringToArray=_stringToArray,toString$1=toString_1;function createCaseFirst$1(e){return function(l){l=toString$1(l);var n=hasUnicode(l)?stringToArray(l):void 0,r=n?n[0]:l.charAt(0),u=n?castSlice(n,1).join(""):l.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,l,n){return l=l.toLowerCase(),e+(n?capitalize(l):l)}),camelCase_1=camelCase;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var createCompounder=_createCompounder,kebabCase=createCompounder(function(e,l,n){return e+(n?"-":"")+l.toLowerCase()}),kebabCase_1=kebabCase;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function getDefaultNode(e){var l;return isObject_1(e)&&"defaultNode"in e?l=e.defaultNode:(isVNode$1(e)||isString_1(e))&&(l=e),l}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,l,n){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=(o=(t=e.$slots)[kebabCase_1(n)])===null||o===void 0?void 0:o.call(t,l),a)?a:null}var renderTNodeJSX=function e(l,n,r){var u=getParams(r),o=getDefaultNode(r),t;if(n in l&&(t=l[n]),!(t===!1||t===null)){if(t===!0&&o)return handleSlots$1(l,u,n)||o;if(isFunction_1(t))return t(h,u);var a=[void 0,u,""].includes(t);return a&&(l.$slots[camelCase_1(n)]||l.$slots[kebabCase_1(n)])?handleSlots$1(l,u,n):t}},renderContent=function e(l,n,r,u){var o=getParams(u),t=getDefaultNode(u),a=o?{params:o}:void 0,f=renderTNodeJSX(l,n,a),m=renderTNodeJSX(l,r,a),_=isEmpty_1(f)?m:f;return isEmpty_1(_)?t:_};/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function withInstall(e,l,n){var r=e;return r.install=function(u,o){u.component(l||o||r.name,e),n&&u.directive(n.name,n.comp)},r}/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
2024-04-29 12:57:33 +00:00
* /function handleSlots(e,l,n){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.filter(function(f){return f.type.toString()!=="Symbol(v-cmt)"}).length||(a=(o=(t=e.slots)[kebabCase_1(l)])===null||o===void 0?void 0:o.call(t,n),a&&a.filter(function(f){return f.type.toString()!=="Symbol(v-cmt)"}).length)?a:null}function isEmptyNode(e){if([void 0,null,""].includes(e))return!0;var l=e instanceof Array?e:[e],n=l.filter(function(r){var u;return(r==null||(u=r.type)===null||u===void 0?void 0:u.toString())!=="Symbol(Comment)"});return!n.length}var useTNodeJSX=function e(){var l=getCurrentInstance();return function(n,r){var u=getParams(r),o=getDefaultNode(r),t=getSlotFirst(r),a;if(Object.keys(l.props).includes(n)&&(a=l.props[n]),!(a===!1||a===null)){if(a===!0)return handleSlots(l,n,u)||o;if(isFunction_1(a))return a(h,u);var f=[void 0,u,""].includes(a);return(f||t)&&(l.slots[camelCase_1(n)]||l.slots[kebabCase_1(n)])?handleSlots(l,n,u):a}}},useTNodeDefault=function e(){var l=useTNodeJSX();return function(n,r){var u=getDefaultNode(r);return l(n,r)||u}},useContent=function e(){var l=useTNodeJSX();return function(n,r,u){var o=getParams(u),t=getDefaultNode(u),a=o?{params:o}:void 0,f=l(n,a),m=l(r,a),_=isEmptyNode(f)?m:f;return isEmptyNode(_)?t:_}};function _defineProperty(e,l,n){return l in e?Object.defineProperty(e,l,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[l]=n,e}function ownKeys$6(e,l){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);l&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function _objectSpread$6(e){for(var l=1;l<arguments.length;l++){var n=arguments[l]!=null?arguments[l]:{};l%2?ownKeys$6(Object(n),!0).forEach(function(r){_defineProperty(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys$6(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function camel2Kebab(e){var l=["fillOpacity","fillRule","clipRule"];return l.includes(e)?e.replace(/ ( [ a - z0 - 9 ] | ( ? = [ A - Z ] ) ) ( [ A - Z ] ) / g , "$1-$2" ) . toLowerCase ( ) : e } function renderFn ( e , l ) { var n = Object . keys ( e . attrs ) . reduce ( ( r , u ) => ( r [ camel2Kebab ( u ) ] = e . attrs [ u ] , r ) , { } ) ; return h ( e . tag , _objectSpread$6 ( _objectSpread$6 ( { } , n ) , l ) , ( 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 l = useCommonClassName ( ) . SIZE , n = computed ( ( ) => e . value in l ? l [ e . value ] : "" ) , r = computed ( ( ) => e . value === void 0 || e . value in l ? { } : { fontSize : e . value } ) ; return { style : r , className : n } } const index$c = "" ; function ownKeys$5 ( e , l ) { var n = Object . keys ( e ) ; if ( Object . getOwnPropertySymbols ) { var r = Object . getOwnPropertySymbols ( e ) ; l && ( r = r . filter ( function ( u ) { return Object . getOwnPropertyDescriptor ( e , u ) . enumerable } ) ) , n . push . apply ( n , r ) } return n } function _objectSpread$5 ( e ) { for ( var l = 1 ; l < arguments . length ; l ++ ) { var n = arguments [ l ] != null ? arguments [ l ] : { } ; l % 2 ? ownKeys$5 ( Object ( n ) , ! 0 ) . forEach ( function ( r ) { _defineProperty ( e , r , n [ r ] ) } ) : Object . getOwnPropertyDescriptors ? Object . defineProperties ( e , Object . getOwnPropertyDescriptors ( n ) ) : ownKeys$5 ( Object ( n ) ) . forEach ( func
2024-04-28 13:26:15 +00:00
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function useChildComponentSlots(){var e=getCurrentInstance();return function(l,n){var r,u;n||(n=e.slots);var o=((r=n)===null||r===void 0||(u=r.default)===null||u===void 0?void 0:u.call(r))||[],t=[],a=function f(m){if(!!isArray_1(m))return m.forEach(function(_){if(_.children&&isArray_1(_.children)){if(_.type!==Fragment)return;f(_.children)}else t.push(_)}),t};return a(o).filter(function(f){var m;return(m=f.type.name)===null||m===void 0?void 0:m.endsWith(l)})}}var top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[top,bottom,right,left],start="start",end="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce(function(e,l){return e.concat([l+"-"+start,l+"-"+end])},[]),placements=[].concat(basePlacements,[auto]).reduce(function(e,l){return e.concat([l,l+"-"+start,l+"-"+end])},[]),beforeRead="beforeRead",read="read",afterRead="afterRead",beforeMain="beforeMain",main="main",afterMain="afterMain",beforeWrite="beforeWrite",write="write",afterWrite="afterWrite",modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function getNodeName(e){return e?(e.nodeName||"").toLowerCase():null}function getWindow(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var l=e.ownerDocument;return l&&l.defaultView||window}return e}function isElement(e){var l=getWindow(e).Element;return e instanceof l||e instanceof Element}function isHTMLElement(e){var l=getWindow(e).HTMLElement;return e instanceof l||e instanceof HTMLElement}function isShadowRoot(e){if(typeof ShadowRoot>"u")return!1;var l=getWindow(e).ShadowRoot;return e instanceof l||e instanceof ShadowRoot}function applyStyles(e){var l=e.state;Object.keys(l.elements).forEach(function(n){var r=l.styles[n]||{},u=l.attributes[n]||{},o=l.elements[n];!isHTMLElement(o)||!getNodeName(o)||(Object.assign(o.style,r),Object.keys(u).forEach(function(t){var a=u[t];a===!1?o.removeAttribute(t):o.setAttribute(t,a===!0?"":a)}))})}function effect$2(e){var l=e.state,n={popper:{position:l.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(l.elements.popper.style,n.popper),l.styles=n,l.elements.arrow&&Object.assign(l.elements.arrow.style,n.arrow),function(){Object.keys(l.elements).forEach(function(r){var u=l.elements[r],o=l.attributes[r]||{},t=Object.keys(l.styles.hasOwnProperty(r)?l.styles[r]:n[r]),a=t.reduce(function(f,m){return f[m]="",f},{});!isHTMLElement(u)||!getNodeName(u)||(Object.assign(u.style,a),Object.keys(o).forEach(function(f){u.removeAttribute(f)}))})}}const applyStyles$1={name:"applyStyles",enabled:!0,phase:"write",fn:applyStyles,effect:effect$2,requires:["computeStyles"]};function getBasePlacement(e){return e.split("-")[0]}var max=Math.max,min=Math.min,round=Math.round;function getUAString(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(l){return l.brand+"/ "+l.version}).join(" " ) : navigator . userAgent } function isLayoutViewport ( ) { return ! /^((?!chrome|android).)*safari/i . test ( getUAString ( ) ) } function getBoundingClientRect ( e , l , n ) { l === void 0 && ( l = ! 1 ) , n === void 0 && ( n = ! 1 ) ; var r = e . getBoundingClientRect ( ) , u = 1 , o = 1 ; l && isHTMLElement ( e ) && ( u = e . offsetWidth > 0 && round ( r . width ) / e . offsetWidth || 1 , o = e . offsetHeight > 0 && round ( r . height ) / e . offsetHeight || 1 ) ; var t = isElement ( e ) ? getWindow ( e ) : window , a = t . visualViewport , f = ! isLayoutViewport ( ) && n , m = ( r . left + ( f && a ? a . offsetLeft : 0 ) ) / u , _ = ( r . top + ( f && a ? a . offsetTop : 0 ) ) / o , $ = r . width / u , S = r . height / o ; return { width : $ , height : S , top : _ , right : m + $ , bottom : _ + S , left : m , x : m , y : _ } } function getLayoutRect ( e ) { var l = getBoundingClientRect ( e ) , n = e . offsetWidth , r = e . offsetHeight ; return Math . abs ( l . width - n ) <= 1 && ( n = l . width ) , Math . abs ( l . height - r ) <= 1 && ( r = l . height ) , { x : e . offsetLeft , y : e . offsetTop , width : n , height : r } } function contains ( e , l ) { var n = l . getRootNode && l . getRootNode ( ) ; if ( e . contains ( l ) ) return ! 0 ; if ( n && isShadowRoot ( n ) ) { var r = l ; do { if ( r && e . isSameNode ( r ) ) return ! 0 ; r = r . parentNode || r . host } while ( r ) } return ! 1 } function getComputedStyle ( e ) { return getWindow ( e ) . g
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var reWhitespace=/ \ s / ; function trimmedEndIndex$1 ( e ) { for ( var l = e . length ; l -- && reWhitespace . test ( e . charAt ( l ) ) ; ) ; return l } var _trimmedEndIndex = trimmedEndIndex$1 , trimmedEndIndex = _trimmedEndIndex , reTrimStart = /^\s+/ ; function baseTrim$1 ( e ) { return e && e . slice ( 0 , trimmedEndIndex ( e ) + 1 ) . replace ( reTrimStart , "" ) } var _baseTrim = baseTrim$1 , baseTrim = _baseTrim , isObject$1 = isObject _1 , isSymbol = isSymbol _1 , NAN = 0 / 0 , reIsBadHex = /^[-+]0x[0-9a-f]+$/i , reIsBinary = /^0b[01]+$/i , reIsOctal = /^0o[0-7]+$/i , freeParseInt = parseInt ; function toNumber$1 ( e ) { if ( typeof e == "number" ) return e ; if ( isSymbol ( e ) ) return NAN ; if ( isObject$1 ( e ) ) { var l = typeof e . valueOf == "function" ? e . valueOf ( ) : e ; e = isObject$1 ( l ) ? l + "" : l } if ( typeof e != "string" ) return e === 0 ? e : + e ; e = baseTrim ( e ) ; var n = reIsBinary . test ( e ) ; return n || reIsOctal . test ( e ) ? freeParseInt ( e . slice ( 2 ) , n ? 2 : 8 ) : reIsBadHex . test ( e ) ? NAN : + e } var toNumber _1 = toNumber$1 ; / * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var root=_root,now$1=function e(){return root.Date.now()},now_1=now$1,isObject=isObject_1,now=now_1,toNumber=toNumber_1,FUNC_ERROR_TEXT="Expected a function",nativeMax=Math.max,nativeMin=Math.min;function debounce(e,l,n){var r,u,o,t,a,f,m=0,_=!1,$=!1,S=!0;if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT);l=toNumber(l)||0,isObject(n)&&(_=!!n.leading,$="maxWait"in n,o=$?nativeMax(toNumber(n.maxWait)||0,l):o,S="trailing"in n?!!n.trailing:S);function I(U){var N=r,G=u;return r=u=void 0,m=U,t=e.apply(G,N),t}function v(U){return m=U,a=setTimeout(P,l),_?I(U):t}function y(U){var N=U-f,G=U-m,D=l-N;return $?nativeMin(D,o-G):D}function x(U){var N=U-f,G=U-m;return f===void 0||N>=l||N<0||$&&G>=o}function P(){var U=now();if(x(U))return R(U);a=setTimeout(P,y(U))}function R(U){return a=void 0,S&&r?I(U):(r=u=void 0,t)}function Y(){a!==void 0&&clearTimeout(a),m=0,r=f=u=a=void 0}function L(){return a===void 0?t:R(now())}function q(){var U=now(),N=x(U);if(r=arguments,u=this,f=U,N){if(a===void 0)return v(f);if($)return clearTimeout(a),a=setTimeout(P,l),I(f)}return a===void 0&&(a=setTimeout(P,l)),t}return q.cancel=Y,q.flush=L,q}var debounce_1=debounce;/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function useVModel(e,l,n,r){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"value",o=getCurrentInstance(),t=o.emit,a=o.vnode,f=ref(),m=a.props||{},_=Object.prototype.hasOwnProperty.call(m,"modelValue")||Object.prototype.hasOwnProperty.call(m,"model-value"),$=Object.prototype.hasOwnProperty.call(m,u)||Object.prototype.hasOwnProperty.call(m,kebabCase_1(u));return _?[l,function(S){t("update:modelValue",S);for(var I=arguments.length,v=new Array(I>1?I-1:0),y=1;y<I;y++)v[y-1]=arguments[y];r==null||r.apply(void 0,[S].concat(v))}]:$?[e,function(S){t("update:".concat(u),S);for(var I=arguments.length,v=new Array(I>1?I-1:0),y=1;y<I;y++)v[y-1]=arguments[y];r==null||r.apply(void 0,[S].concat(v))}]:(f.value=n,[f,function(S){f.value=S;for(var I=arguments.length,v=new Array(I>1?I-1:0),y=1;y<I;y++)v[y-1]=arguments[y];r==null||r.apply(void 0,[S].concat(v))}])}/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var popupProps={attach:{type:[String,Function],default:"body"},content:{type:[String,Function]},default:{type:[String,Function]},delay:{type:[Number,Array]},destroyOnClose:Boolean,disabled:Boolean,hideEmptyPopup:Boolean,overlayClassName:{type:[String,Object,Array]},overlayInnerClassName:{type:[String,Object,Array]},overlayInnerStyle:{type:[Boolean,Object,Function]},overlayStyle:{type:[Boolean,Object,Function]},placement:{type:String,default:"top"},popperOptions:{type:Object},showArrow:Boolean,trigger:{type:String,default:"hover",validator:function e(l){return l?["hover","click","focus","mousedown","context-menu"].includes(l):!0}},triggerElement:{type:[String,Function]},visible:{type:Boolean,default:void 0},modelValue:{type:Boolean,default:void 0},defaultVisible:Boolean,zIndex:{type:Number},onOverlayClick:Function,onScroll:Function,onScrollToBottom:Function,onVisibleChange:Function};/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function useResizeObserver(e,l){if(!(typeof window>"u")){var n=window&&window.ResizeObserver;if(!!n){var r=null,u=function(){!r||!e.value||(r.unobserve(e.value),r.disconnect(),r=null)},o=function(a){r=new ResizeObserver(l),r.observe(a)};e&&watch(e,function(t){u(),t&&o(t)},{immediate:!0,flush:"post"}),onBeforeUnmount(function(){u()})}}}/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function _isSlot$1(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!isVNode$1(e)}function filterEmpty(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=[];return e.forEach(function(n){isArray_1(n)?l.push.apply(l,_toConsumableArray(n)):n.type===Fragment?l.push.apply(l,_toConsumableArray(filterEmpty(n.children))):l.push(n)}),l.filter(function(n){return!(n&&(n.type===Comment||n.type===Fragment&&n.children.length===0||n.type===Text&&n.children.trim()===""))})}function isRectChanged(e,l){return!e&&!l?!1:!!(!e||!l||["width","height","x","y"].some(function(n){return e[n]!==l[n]}))}function useElement(e){var l=getCurrentInstance(),n=ref();return onMounted(function(){n.value=e(l)}),onUpdated(function(){var r=e(l);n.value!==r&&(n.value=r)}),n}var Trigger=defineComponent({name:"TPopupTrigger",props:{forwardRef:Function},emits:["resize"],setup:function e(l,n){var r=n.emit,u=n.slots,o=useElement(function(a){var f=a.parent.vnode;return f.el.nextElementSibling}),t=ref();return watch(o,function(){var a;(a=l.forwardRef)===null||a===void 0||a.call(l,o.value)}),useResizeObserver(o,function(a){var f=_slicedToArray(a,1),m=f[0].contentRect;t.value=m}),watch(t,function(a,f){isRectChanged(a,f)&&r("resize")}),function(){var a,f,m=filterEmpty((a=u.default)===null||a===void 0?void 0:a.call(u));return m.length>1||((f=m[0])===null||f===void 0?void 0:f.type)===Text?createVNode("span",null,[m]):m[0]}}}),Content=defineComponent({name:"TPopupContent",emits:["resize"],setup:function e(l,n){var r=n.emit,u=n.slots,o=useElement(function(t){return t.vnode.el.children[0]});return useResizeObserver(o,function(){r("resize")}),function(){return createVNode("div",{style:"position: absolute; top: 0px; left: 0px; width: 100%"},[u.default()])}}}),Container=defineComponent({name:"TPopupContainer",inheritAttrs:!1,props:{parent:Object,visible:Boolean,attach:popupProps.attach,forwardRef:Function},emits:["resize","contentMounted"],setup:function e(l,n){var r=n.emit,u=n.attrs,o=n.slots,t=n.expose,a=ref(),f=ref(!1);function m(){r("resize")}return onMounted(function(){requestAnimationFrame(function(){f.value=l.visible})}),watch(function(){return l.visible},function(_){_&&(f.value=l.visible)}),t({unmountContent:function(){f.value=!1}}),function(){var _,$=function(){return getSSRAttach()||getAttach(l.attach,a.value)};return createVNode(Fragment,null,[createVNode(Trigger,{class:u.class,forwardRef:function(I){l.forwardRef(I),a.value=I},onResize:m},_isSlot$1(_=o.default())?_:{default:function(){return[_]}}),f.value&&createVNode(Teleport,{disabled:!$(),to:$()},{default:function(){return[createVNode(Content,{onResize:m,onVnodeMounted:function(){return r("contentMounted")}},{default:function(){return[o.content&&o.content()]}})]}})])}}});/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function ownKeys$2(e,l){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);l&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function _objectSpread$2(e){for(var l=1;l<arguments.length;l++){var n=arguments[l]!=null?arguments[l]:{};l%2?ownKeys$2(Object(n),!0).forEach(function(r){_defineProperty$2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys$2(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function _isSlot(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!isVNode$1(e)}var POPUP_ATTR_NAME="data-td-popup",POPUP_PARENT_ATTR_NAME="data-td-popup-parent";function getPopperTree(e,l){var n=[],r=[POPUP_PARENT_ATTR_NAME,POPUP_ATTR_NAME];if(!e)return n;return l&&r.unshift(r.pop()),u(e),n;function u(o){var t=document.querySelectorAll("[".concat(r[0],'="').concat(o,'"]'));t.forEach(function(a){n.push(a);var f=a.getAttribute(r[1]);f&&f!==o&&u(f)})}}var parentKey=Symbol();function getPopperPlacement(e){return e.replace(/ - ( left | top ) $ / , "-start" ) . replace ( /-(right|bottom)$/ , "-end" ) } function attachListeners ( e ) { var l = [ ] ; return { add : function ( r , u ) { ! r || ( on ( e . value , r , u ) , l . push ( function ( ) { off ( e . value , r , u ) } ) ) } , clean : function ( ) { l . forEach ( function ( r ) { return r == null ? void 0 : r ( ) } ) , l . length = 0 } } } var _Popup = defineComponent ( { name : "TPopup" , props : _objectSpread$2 ( _objectSpread$2 ( { } , popupProps ) , { } , { expandAnimation : { type : Boolean } } ) , setup : function e ( l , n ) { var r , u = n . expose , o = toRefs ( l ) , t = o . visible , a = o . modelValue , f = useVModel ( t , a , l . defaultVisible , l . onVisibleChange , "visible" ) , m = _slicedToArray ( f , 2 ) , _ = m [ 0 ] , $ = m [ 1 ] , S = useTNodeJSX ( ) , I = useContent ( ) , v , y , x , P = ref ( null ) , R = ref ( null ) , Y = ref ( null ) , L = ref ( null ) , q = ref ( ! 1 ) , U = typeof process < "u" && ( r = { } ) !== null && r !== void 0 && r . TEST ? "" : Date . now ( ) . toString ( 36 ) , N = inject ( parentKey , void 0 ) ; provide ( parentKey , { id : U , assertMouseLeave : j2 } ) ; var G = usePrefixClass ( "popup" ) , D = useCommonClassName$1 ( ) , f2 = D . STATUS , W = computed ( function ( ) { var K , s2 , v2 = l . trigger !== "hover" ? [ 0 , 0 ] : [ ] . concat ( ( K = l . delay ) !== null && K !== void 0 ? K : [ 250 , 150 ] ) ; return { show : v2 [ 0 ] , hide : ( s2 = v2 [ 1 ] ) !== null && s2 !== void 0 ? s2 : v2 [ 0 ] } } ) , C2 = attachListeners ( P ) ; watch ( function ( ) { return [ l . trigger , P . value ] } , function ( ) { ! P . value || ( C2 . clean ( ) , C2 . add ( { hover : "mouseenter" , focus : "focusin" , "context-menu" : "contextmenu" , click : "click" } [ l . trigger ] , function ( K ) { if ( ! l . disabled ) { if ( K . type === "contextmenu" && K . preventDefault ( ) , ( K . type === "click" || K . type === "contextmenu" ) && _ . value ) { z2 ( K ) ; return } A2 ( K ) } } ) , C2 . add ( { hover : "mouseleave" , focus : "focusout" } [ l . trigger ] , z2 ) ) } ) , watch ( function ( ) { return [ l . overlayStyle , l . overlayInnerStyle , R . value ] } , function ( ) { w2 ( ) , B2 ( ) } ) , watch ( function ( ) { return l . placement } , function ( ) { _2 ( ) , B2 ( ) } ) , watch ( function ( ) { return _ . value } , function ( K ) { if ( K ) { on ( document , "mousedown" , M2 , ! 0 ) , l . trigger === "focus" && once ( P . value , "keydown" , function ( s2 ) { var v2 , d2 = typeof process < "u" && ( v2 = { } ) !== null && v2 !== void 0 && v2 . TEST ? "27" : "Escape" ; s2 . code === d2 && z2 ( s2 ) } ) ; return } off ( document , "mousedown" , M2 , ! 0 ) } ) , onUnmounted ( function ( ) { _2 ( ) , P2 ( ) , off ( document , "mousedown" , M2 , ! 0 ) } ) , u ( { update : B2 , getOverlay : function ( ) { return R . value } , getOverlayState : function ( ) { return { hover : q . value } } , close : function ( ) { return z2 ( ) } } ) ; function g2 ( ) { var K = l . overlayStyle ; if ( ! ( ! P . value || ! R . value ) ) { if ( isFunction _1 ( K ) ) return K ( P . value , R . value ) ; if ( isObject _1 ( K ) ) return K } } function w2 ( ) { var K = l . overlayInnerStyle ; ! P . value || ! R . value || ( isFunction _1 ( K ) ? setStyle ( R . value , K ( P . value , R . value ) ) : isObject _1 ( K ) && setStyle ( R . value , K ) ) } function B2 ( ) { if ( ! ( ! Y . value || ! _ . value ) ) { if ( v ) { if ( P . value . getRootNode ( ) instanceof ShadowRoot ) v . state . elements . reference = P . value , v . update ( ) ; else { for ( var K = P . value . getBoundingClientRect ( ) , s2 = P . value ; s2 && s2 !== document . body ; ) s2 = s2 . parentElement ; var v2 = s2 !== document . body || K . width === 0 && K . height === 0 ; v2 ? $ ( ! 1 , { trigger : x2 ( { type : "mouseenter" } ) } ) : ( v . state . elements . reference = P . value , v . update ( ) ) } return } v = createPopper ( P . value , Y . value , _objectSpread$2 ( { placement : getPopperPlacement ( l . placement ) , onFirstUpdate : function ( ) { next
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var Popup=withInstall(_Popup);/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var props={list:{type:Array,default:function e(){return[]}},offset:{type:Array},placement:{type:String,default:"right-bottom",validator:function e(l){return l?["right-top","right-center","right-bottom","left-top","left-center","left-bottom"].includes(l):!0}},popupProps:{type:Object},shape:{type:String,default:"square",validator:function e(l){return l?["square","round"].includes(l):!0}},type:{type:String,default:"normal",validator:function e(l){return l?["normal","compact"].includes(l):!0}},width:{type:[String,Number]},onClick:Function,onHover:Function};/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /var stickyItemProps={icon:{type:Function},label:{type:[String,Function]},popup:{type:[String,Function]},popupProps:{type:Object},trigger:{type:String,default:"hover",validator:function e(l){return l?["hover","click"].includes(l):!0}}};const index$a="";/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* / f u n c t i o n o w n K e y s $ 1 ( e , l ) { v a r n = 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 ) ; l & & ( 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 } ) ) , n . p u s h . a p p l y ( n , r ) } r e t u r n n } 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 l = 1 ; l < a r g u m e n t s . l e n g t h ; l + + ) { v a r n = a r g u m e n t s [ l ] ! = n u l l ? a r g u m e n t s [ l ] : { } ; l % 2 ? o w n K e y s $ 1 ( O b j e c t ( n ) , ! 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 , n [ 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 ( n ) ) : o w n K e y s $ 1 ( O b j e c t ( n ) ) . 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 ( n , r ) ) } ) } r e t u r n e } v a r _ S t i c k y I t e m = d e f i n e C o m p o n e n t ( { n a m e : " T S t i c k y I t e m " , p r o p s : _ o b j e c t S p r e a d $ 1 ( _ o b j e c t S p r e a d $ 1 ( { } , s t i c k y I t e m P r o p s ) , { } , { t y p e : p r o p s . t y p e , s h a p e : p r o p s . s h a p e , p l a c e m e n t : p r o p s . p l a c e m e n t , b a s e P o p u p P r o p s : O b j e c t , b a s e W i d t h : p r o p s . w i d t h , o n C l i c k : p r o p s . o n C l i c k , o n H o v e r : p r o p s . o n H o v e r } ) , s e t u p : f u n c t i o n e ( l ) { v a r n = u s e P r e f i x C l a s s ( " s t i c k y - i t e m " ) , r = 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 ( n . v a l u e ) , " " . c o n c a t ( n . v a l u e , " - - " ) . c o n c a t ( l . t y p e ) , " " . c o n c a t ( n . v a l u e , " - - " ) . c o n c a t ( l . s h a p e ) ] } ) , u = 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 ( n . v a l u e , " _ _ l a b e l " ) ] } ) , o = c o m p u t e d ( f u n c t i o n ( ) { r e t u r n l . p l a c e m e n t . i n d e x O f ( " r i g h t " ) ! = = - 1 ? " l e f t " : " r i g h t " } ) , t = c o m p u t e d ( f u n c t i o n ( ) { v a r $ = { } ; i f ( l . b a s e W i d t h ) { v a r S = l . t y p e = = = " n o r m a l " ? " 5 6 p x " : " 4 0 p x " ; $ . m a r g i n = " c a l c ( ( " . c o n c a t ( l . b a s e W i d t h , " - " ) . c o n c a t ( S , " ) / 2 ) " ) } r e t u r n $ } ) , a = f u n c t i o n ( S ) { v a r I = { } ; O b j e c t . k e y s ( s t i c k y I t e m P r o p s ) . f o r E a c h ( f u n c t i o n ( v ) { r e t u r n I [ v ] = l [ v ] } ) , l . o n C l i c k ( { e : S , i t e m : I } ) } , f = f u n c t i o n ( S ) { v a r I = { } ; O b j e c t . k e y s ( s t i c k y I t e m P r o p s ) . f o r E a c h ( f u n c t i o n ( v ) { r e t u r n I [ v ] = l [ v ] } ) , l . o n H o v e r ( { e : S , i t e m : I } ) } , m = u s e T N o d e J S X ( ) , _ = O b j e c t . a s s i g n ( { h i d e E m p t y P o p u p : ! 0 } , l . b a s e P o p u p P r o p s , l . p o p u p P r o p s ) ; r e t u r n f u n c t i o n ( ) { r e t u r n c r e a t e V N o d e ( P o p u p , m e r g e P r o p s ( { o v e r l a y I n n e r C l a s s N a m e : " " . c o n c a t ( u s e P r e f i x C l a s s ( " s t i c k y - t o o l " ) . v a l u e , " - p o p u p - c o n t e n t " ) , t r i g g e r : l . t r i g g e r , p l a c e m e n t : o . v a l u e , c o n t e n t : f u n c t i o n ( ) { r e t u r n m ( " p o p u p " ) } } , _ ) , { d e f a u l t : f u n c t i o n ( ) { r e t u r n [ c r e a t e V N o d e ( " d i v " , { c l a s s : r . v a l u e , s t y l e : t . v a l u e , o n C l i c k : a , o n M o u s e e n t e r : f } , [ m ( " i c o n " ) , l . t y p e = = = " n o r m a l " ? c r e a t e V N o d e ( " d i v " , { c l a s s : u . v a l u e } , [ m ( " l a b e l " ) ] ) : n u l l ] ) ] } } ) } } } ) ; / * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* /function ownKeys(e,l){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);l&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function _objectSpread(e){for(var l=1;l<arguments.length;l++){var n=arguments[l]!=null?arguments[l]:{};l%2?ownKeys(Object(n),!0).forEach(function(r){_defineProperty$2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var _StickyTool=defineComponent({name:"TStickyTool",props:_objectSpread({},props),setup:function e(l){var n=usePrefixClass("sticky-tool"),r=computed(function(){return[n.value,"".concat(n.value,"--").concat(l.shape)]}),u=computed(function(){var S=f();return l.width&&(S.width=typeof l.width=="number"?"".concat(l.width,"px"):l.width),S}),o=useChildComponentSlots(),t=function(){var I,v;if((I=l.list)!==null&&I!==void 0&&I.length)v=l.list;else{var y=o("StickyItem");v=a(y)}return v},a=function(I){var v=[];return I==null||I.forEach(function(y){var x=(y==null?void 0:y.props)||{},P=y==null?void 0:y.children;if(!(!x&&!P)){if(P&&isObject_1(P))for(var R in P)R in stickyItemProps&&!x[R]&&(x[R]=P[R]);v.push(x)}}),v},f=function(){var I,v=l.offset?[80,24]:["80px","24px"];(I=l.offset)===null||I===void 0||I.forEach(function(x,P){v[P]=isNaN(Number(x))?"calc( ".concat(v[P],"px + ").concat(x,")"):"".concat(v[P]+x,"px")});var y={};return l.placement.split("-").forEach(function(x,P){x!=="center"?y[x]=v[P]:(y.top="50%",y.transform="translate(0, -50%)")}),y},m=function(I){var v;(v=l.onClick)===null||v===void 0||v.call(l,I)},_=function(I){var v;(v=l.onHover)===null||v===void 0||v.call(l,I)},$=function(){var I=t(),v=I.map(function(y,x){var P=l.type,R=l.shape,Y=l.placement,L=l.popupProps,q=_objectSpread(_objectSpread({},y),{},{type:P,shape:R,placement:Y,basePopupProps:L,baseWidth:u.value.width,onClick:m,onHover:_});return createVNode(_StickyItem,mergeProps(q,{key:x}),null)});return v};return function(){return createVNode("div",{class:r.value,style:u.value},[$()])}}});/ * *
* tdesign v1 . 9.4
* ( c ) 2024 tdesign
* @ license MIT
* / v a r S t i c k y I t e m = w i t h I n s t a l l ( _ S t i c k y I t e m ) , S t i c k y T o o l = w i t h I n s t a l l ( _ S t i c k y T o o l ) ; c o n s t i n d e x $ 9 = " " , i n d e x $ 8 = " " , i n d e x $ 7 = " " , i n d e x $ 6 = " " , i n d e x $ 5 = " " , i n d e x $ 4 = " " , i n d e x $ 3 = " " , i n d e x $ 2 = " " , _ s f c _ m a i n $ 3 = d e f i n e C o m p o n e n t ( { _ _ n a m e : " f o r m - w r a p p e r " , p r o p s : { t y p e : { t y p e : S t r i n g , d e f a u l t : " " } , n a m e : { t y p e : S t r i n g , d e f a u l t : " " } , d e f a u l t V a l u e : { t y p e : [ S t r i n g , B o o l e a n , N u m b e r ] , d e f a u l t : " " } } , e m i t s : [ " i n p u t C h a n g e " ] , s e t u p ( e , { e m i t : l } ) { c o n s t n = e , r = l , u = o = > { r ( " i n p u t C h a n g e " , { v a l u e : o , k e y : n . n a m e } ) } ; r e t u r n ( o , t ) = > { c o n s t a = I n p u t N u m b e r , f = S w i t c h ; r e t u r n e . t y p e = = = " n u m b e r " ? ( o p e n B l o c k ( ) , c r e a t e B l o c k ( a , { k e y : 0 , s t y l e : { w i d t h : " 8 0 p x " } , s i z e : " s m a l l " , " d e f a u l t - v a l u e " : e . d e f a u l t V a l u e , o n C h a n g e : u } , n u l l , 8 , [ " d e f a u l t - v a l u e " ] ) ) : ( o p e n B l o c k ( ) , c r e a t e B l o c k ( f , { k e y : 1 , " d e f a u l t - c h e c k e d " : e . d e f a u l t V a l u e , s i z e : " s m a l l " , o n C h a n g e : u } , n u l l , 8 , [ " d e f a u l t - c h e c k e d " ] ) ) } } } ) , _ h o i s t e d _ 1 = { c l a s s : " b l o c k " } , _ h o i s t e d _ 2 = { c l a s s : " t i t l e " } , _ s f c _ m a i n $ 2 = d e f i n e C o m p o n e n t ( { _ _ n a m e : " b l o c k " , p r o p s : { t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , o p t i o n s : { t y p e : A r r a y , d e f a u l t ( ) { r e t u r n [ ] } } } , s e t u p ( e ) { c o n s t l = u s e A p p S t o r e $ 1 ( ) , n = a s y n c ( { k e y : r , v a l u e : u } ) = > { r = = = " c o l o r W e a k " & & ( d o c u m e n t . b o d y . s t y l e . f i l t e r = u ? " i n v e r t ( 8 0 % ) " : " n o n e " ) , r = = = " m e n u F r o m S e r v e r " & & u & & a w a i t l . f e t c h S e r v e r M e n u C o n f i g ( ) , r = = = " t o p M e n u " & & l . u p d a t e S e t t i n g s ( { m e n u C o l l a p s e : ! 1 } ) , l . u p d a t e S e t t i n g s ( { [ r ] : u } ) } ; r e t u r n ( r , u ) = > ( o p e n B l o c k ( ) , c r e a t e E l e m e n t B l o c k ( " d i v " , _ h o i s t e d _ 1 , [ c r e a t e B a s e V N o d e ( " h 5 " , _ h o i s t e d _ 2 , t o D i s p l a y S t r i n g ( e . t i t l e ) , 1 ) , ( o p e n B l o c k ( ! 0 ) , c r e a t e E l e m e n t B l o c k ( F r a g m e n t , n u l l , r e n d e r L i s t ( e . o p t i o n s , o = > ( o p e n B l o c k ( ) , c r e a t e E l e m e n t B l o c k ( " d i v " , { k e y : o . n a m e , c l a s s : " s w i t c h - w r a p p e r " } , [ c r e a t e B a s e V N o d e ( " s p a n " , n u l l , t o D i s p l a y S t r i n g ( r . $ t ( o . n a m e ) ) , 1 ) , c r e a t e V N o d e ( _ s f c _ m a i n $ 3 , { t y p e : o . t y p e | | " s w i t c h " , n a m e : o . k e y , " d e f a u l t - v a l u e " : o . d e f a u l t V a l , o n I n p u t C h a n g e : n } , n u l l , 8 , [ " t y p e " , " n a m e " , " d e f a u l t - v a l u e " ] ) ] ) ) ) , 1 2 8 ) ) ] ) ) } } ) , b l o c k _ v u e _ v u e _ t y p e _ s t y l e _ i n d e x _ 0 _ s c o p e d _ 0 b 3 0 e 9 0 8 _ l a n g = " " , B l o c k = _ e x p o r t _ s f c ( _ s f c _ m a i n $ 2 , [ [ " _ _ s c o p e I d " , " d a t a - v - 0 b 3 0 e 9 0 8 " ] ] ) , _ s f c _ m a i n $ 1 = d e f i n e C o m p o n e n t ( { _ _ n a m e : " i n d e x " , e m i t s : [ " c a n c e l " ] , s e t u p ( e , { e m i t : l } ) { c o n s t n = l , r = u s e A p p S t o r e $ 1 ( ) , { t : u } = v u e I 1 8 n _ c j s . e x p o r t s . u s e I 1 8 n ( ) , { c o p y : o } = u s e C l i p b o a r d ( ) , t = c o m p u t e d ( ( ) = > r . g l o b a l S e t t i n g s ) , a = c o m p u t e d ( ( ) = > [ { n a m e : " s e t t i n g s . n a v b a r " , k e y : " n a v b a r " , d e f a u l t V a l : r . n a v b a r } , { n a m e : " s e t t i n g s . m e n u " , k e y : " m e n u " , d e f a u l t V a l : r . m e n u } , { n a m e : " s e t t i n g s . t o p M e n u " , k e y : " t o p M e n u " , d e f a u l t V a l : r . t o p M e n u } , { n a m e : " s e t t i n g s . f o o t e r " , k e y : " f o o t e r " , d e f a u l t V a l : r . f o o t e r } , { n a m e : " s e t t i n g s . t a b B a r " , k e y : " t a b B a r " , d e f a u l t V a l : r . t a b B a r } , { n a m e : " s e t t i n g s . m e n u F r o m S e r v e r " , k e y : " m e n u F r o m S e r v e r " , d e f a u l t V a l : r . m e n u F r o m S e r v e r } , { n a m e : " s e t t i n g s . m e n u W i d t h " , k e y : " m e n u W i d t h " , d e f a u l t V a l : r . m e n u W i d t h , t y p e : " n u m b e r " } ] ) , f = c o m p u t e d ( ( ) = > [ { n a m e : " s e t t i n g s . c o l o r W e a k " , k e y : " c o l o r W e a k " , d e f a u l t V a l : r . c o l o r W e a k } ] ) , m = ( ) = > { r . u p d a t e S e t t i n g s ( { g l o b a l S e t t i n g s : ! 1 } ) , n ( " c a n c e l " ) } , _ = a s y n c ( ) = > { c o n s t S = J S O N . s t r i n g i f y ( r . $ s t a t e , n u l l , 2 ) ; a w a i t o ( S ) , M e s s a g e . s u c c e s s ( u ( " s e t t i n g s . c o p y S e t t i n g s . m e s s a g e " ) ) } , $ = ( ) = > { r . u p d a t e S e t t i n g s ( { g l o b a l S e t t i n g s : ! 0 } ) } ; r e t u r n ( S , I ) = > { c o n s t v = I c o n S e t t i n g s , y = B u t t o n , x = A l e r t , P = D r a w e r ; r e t u r n o p e n B l o c k ( ) , c r e a t e E l e m e n t B l o c k ( F r a g m e n t , n u l l , [ u n r e f ( r ) . n a v b a r ? c r e a t e C o m m e n t V N o d e ( " " , ! 0 ) : ( o p e n B l o c k ( ) , c r e a t e E l e m e n t B l o c k ( " d i v " , { k e y : 0 , c l a s s : " f i x e d - s e t t i n g s " , o n C l i c k : $ } , [ c r e a t e V N o d e ( y , { t y p e : " p r i m a r y " } , { i c o n : w i t h C t x ( ( ) = > [ c r e a t e V N o d e ( v ) ] ) , _ : 1 } ) ] ) ) , c r e a t e V N o d e ( P , { w i d t h : 3 0 0 , " u n m o u n t - o n - c l o s e " : " " , v i s i b l e : t . v a l u e , " c a n c e l - t e x t " : S . $ t ( " s e t t i n g s . c l o s e " ) , " o k - t e x t " : S . $ t ( " s e t t i n g s . c o p y S e t t i n g s " ) , o n O k : _ , o n C a n c e l : m } , { t i t l e : w i t h C t x ( ( ) = > [ c r e a t e T e x t V N o d e ( t o D i s p l a y S t r i n g ( S . $ t ( " s e t t i n g s . t i t l e " ) ) , 1 ) ] ) , d e f a u l t : w i t h C t x ( ( ) = > [ c r e a t e V N o d e ( B l o c k , { o p t i o n s : a . v a l u e , t i t l e : S . $ t ( " s e t t i n g s . c o n t e n t " ) } , n u l l , 8 , [ " o p t i o n s " , " t i t l e " ] ) , c r e a t e V N o d e ( B l o c k , { o p t i o n s : f . v a l u e , t i t l e : S . $ t ( " s e t t i n g s . o t h e r S e t t i n g s " ) } , n u l l , 8 , [ " o p t i o n s " , " t i t l e " ] ) , c r e a t e V N o d e ( x , n u l l , { d e f a u l t : w i t h C t x ( ( ) = > [ c r e a t e T e x t V N o d e ( t o D i s p l a y S t r i n g ( S . $ t ( " s e t t i n g s . a l e r t C o n t e n t " ) ) , 1 ) ] ) , _ : 1 } ) ] ) , _ : 1 } , 8 , [ " v i s i b l e " , " c a n c e l - t e x t " , " o k - t e x t " ] ) ] , 6 4 ) } } } ) , i n d e x _ v u e _ v u e _ t y p e _ s t y l e _ i n d e x _ 0 _ s c o p e d _ 3 3 f c 3 c 7 4 _ l a n g = " " , G l o b a l S e t t i n g = _ e x p o r t _ s f c ( _ s f c _ m a i n $ 1 , [ [ " _ _ s c o p e I d " , " d a t a - v - 3 3 f c 3 c 7 4 " ] ] ) ; f u n c t i o n u s e L o c a l e ( ) { c o n s t e = v u e I 1 8 n _ c j s . e x p o r t s . u s e I 1 8 n ( ) ; r e t u r n { c u r r e n t L o c a l e : c o m p u t e d ( ( ) = > e . l o c a l e . v a l u e ) , c h a n g e L o c a l e : r = > { e . l o c a l e . v a l u e ! = = r & & ( e . l o c a l e . v a l u e = r , l o c a l S t o r a g e . s e t I t e m ( " a r c o - l o c a l e " , r ) , M e s s a g e . s u c c e s s ( e . t
Error . stack : ` +p.stack;if(typeof p=="object"&&p!==null){if(s.has(p))return"[Circular "+(d||"root")+"]";s.add(p)}return p}},K2=function(s){if(typeof s=="string")return s;try{return s instanceof Error?(JSON.stringify(s,i3(),4)||"undefined").replace(/"/gim,""):JSON.stringify(s,i3(),4)||"undefined"}catch(d){return ` error happen when aegis stringify :
` +d.message+ `
` +d.stack}},y3=function(s){if(typeof s=="string")return s;try{return JSON.stringify(s,i3())||"undefined"}catch(d){return ` error happen when aegis stringify :
` +d.message+ `
` +d.stack}},Z2=function(s,d){d===void 0&&(d=3);var p,k,C,w="";return Array.isArray(s)?(w+="[",p=s.length,s.forEach(function(E,F){w=(w+=typeof E=="object"&&1<d?Z2(E,d-1):b3(E))+(F===p-1?"":",")}),w+="]"):s instanceof Object?(w="{",k=Object.keys(s),C=k.length,k.forEach(function(E,F){typeof s[E]=="object"&&1<d?w+='"'+E+'":'+Z2(s[E],d-1):w+=d3(E,s[E]),w+=F===C-1||F<C-1&&s[k[F+1]]===void 0?"":","}),w+="}"):w+=s,w},d3=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},b3=function(s){var d=typeof s;return""+(d=="undefined"||d=="symbol"||d=="function"?"null":d=="string"||d=="object"?'"'+s+'"':s)},C3=/data:(image|text|application|font) \/ .*;base64/,f3=((n2=Q=Q||{}).INFO_ALL="-1",n2.API_RESPONSE="1",n2.INFO="2",n2.ERROR="4",n2.PROMISE_ERROR="8",n2.AJAX_ERROR="16",n2.SCRIPT_ERROR="32",n2.IMAGE_ERROR="64",n2.CSS_ERROR="128",n2.CONSOLE_ERROR="256",n2.MEDIA_ERROR="512",n2.RET_ERROR="1024",n2.REPORT="2048",n2.PV="4096",n2.EVENT="8192",n2.PAGE_NOT_FOUND_ERROR="16384",n2.WEBSOCKET_ERROR="32768",n2.BRIDGE_ERROR="65536",n2.LAZY_LOAD_ERROR="131072",(n2=I2=I2||{}).LOG="log",n2.SPEED="speed",n2.PERFORMANCE="performance",n2.OFFLINE="offline",n2.WHITE_LIST="whiteList",n2.VITALS="vitals",n2.PV="pv",n2.CUSTOM_PV="customPV",n2.EVENT="event",n2.CUSTOM="custom",n2.SDK_ERROR="sdkError",n2.SET_DATA="setData",n2.LOAD_PACKAGE="loadPackage",(n2=T2=T2||{}).production="production",n2.development="development",n2.gray="gray",n2.pre="pre",n2.daily="daily",n2.local="local",n2.test="test",n2.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})})}),v3=function(s){s.level===Q.INFO_ALL&&(s.level=Q.INFO)},S2={},j={},V=function(s){return S2[s]||(S2[s]=setTimeout(function(){j[s]={},S2[s]=null},6e4)),S2[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:Q.INFO,msg:""})})},L2=function(s){return function(d){return s.sendPipeline([function(p,k){return k({url:s.config.url||"",data:g2(y2(p)),method:"post",contentType:"application/json",type:I2.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([])}})}],I2.LOG)(d)}},X2=function(){},n2=(m2.use=function(s){m2.installedPlugins.indexOf(s)===-1&&s.aegisPlugin&&m2.installedPlugins.push(s)},m2.unuse=function(s){s=m2.installedPlugins.indexOf(s),s!==-1&&m2.installedPlugins.splice(s,1)},m2.prototype.init=function(s){this.setConfig(s);for(var d=0;d<m2.installedPlugins.length;d++)try{m2.installedPlugins[d].patch(this)}catch(p){this.sendSDKError(p)}this.lifeCycle.emit("onInited")},m2.prototype.destroy=function(s){s===void 0&&(s=!1);var d,p,k=m2.instances.indexOf(this);k!==-1&&m2.instances.splice(k,1);for(var C=m2.installedPlugins.length-1;0<=C;C--)try{m2.installedPlugins[C].unpatch(this)}catch(E){this.sendSDKError(E)}if(this.lifeCycle.emit("destroy"),this.lifeCycle.clear(),s)d=this,p=Object.getOwnPropertyDescriptors(d),Object.keys(p).forEach(function(E){p[E].writable&&(d[E]=null)}),Object.setPrototypeOf(this,null);else{for(var w=this;w.constructor!==Object&&s2(w,this),w=Object.getPrototypeOf(w););m2.instances.length===0&&(k=Object.getPrototypeOf(this).constructor,s2(k),s2(m2))}},m2.prototype.setConfig=function(O){Object.assign(this.config,O);var O=this.config,d=O.id,p=O.uin,k=O.version,C=O.ext1,w=O.ext2,E=O.ext3,F=O.aid,z=O.env,A=z===void 0?"production":z,z=O.pageUrl,O=this.bean.id!==d||this.bean.uin!==p||this.bean.aid!==F;return this.bean.id=d||"",this.bean.uin=p||"",this.bean.version=k||"1.39.1",this.bean.aid=F||"",this.bean.env=function(){switch(A){case T2.production:case T2.development:case T2.gray:case T2.pre:case T2.daily:case T2.local:case T2.test:case T2.others:return 1;default:return}}()?A:T2.others,z&&this.extendBean("from",encode
` )+p+" header "+C+": "+w:k},""):""}function x3(s,d){return s&&["null","undefined"].indexOf(s)===-1?d+": "+s:""}function F3(w,d,p){d===void 0&&(d="");var k,C,w=typeof((C=w.api)==null?void 0:C.resourceTypeHandler)=="function"?(C=w.api)==null?void 0:C.resourceTypeHandler(p):"";return S.indexOf(w)===-1&&(k=d===void 0?"":d,C=(p===void 0?"":p).split("?")[0],w=k2.test(C)||H.some(function(E){return String(k).indexOf(E)!==-1})?"static":"fetch"),w}function P3(s,d){return s?Q.AJAX_ERROR:d?Q.RET_ERROR:Q.API_RESPONSE}function L3(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:z2(d.url),method:d.method,type:d.type,status:d.status,duration:Number(s.duration.toFixed(2)),nextHopProtocol:s.nextHopProtocol||"",domainLookup:B2(s.domainLookupEnd-s.domainLookupStart),connectTime:B2(s.connectEnd-s.connectStart)}:{url:d.url,isHttps:z2(d.url),method:d.method,type:d.type,status:d.status,duration:Number(d.duration.toFixed(2)),nextHopProtocol:"",domainLookup:G.number,connectTime:G.number}}var Y3,t2,m3,Q3,Y2,W3,V3,ee=!(u2.isIE=function(){return"ActiveXObject"in window}),a3=[],ke=/^ \/ [^/]/, $ e=!1,t3=[],Qe=(new N2({name:"reportApiSpeed"}),new N2({name:"reportApiSpeed",override:!1,onNewAegis:function(s){var d,p;this.override||(this.override=!0,(p=s.config.api)!=null&&p.injectTraceHeader&&(this.traceRequestHeader=new W(p.injectTraceHeader,(d=p==null?void 0:p.injectTraceIgnoreUrls)!=null?d:[],p==null?void 0:p.injectTraceUrls)),this.overrideFetch(s.config,s),this.overrideXhr(s.config,s))},overrideFetch:function(s,d){var p=this,k=s.api,k={name:this.name,traceRequestHeader:k!=null&&k.injectTraceHeader?this.traceRequestHeader:null,then:function(E,F,A,z){var O,M;M2(A,s.hostUrl)||(O=E.headers?E.headers.get("content-type"):"",(M=F3(s,O||"",A))==="fetch"?E.clone().text().then(function(Z){var X,p2=E.status<=0||400<=E.status,l2=((l2=s.api)==null?void 0:l2.reqHeaders)||[],h2=S3(z==null?void 0:z.headers,l2,"req"),l2=((l2=s.api)==null?void 0:l2.resHeaders)||[],c2=S3(E.headers,l2,"res"),o2=N(z==null?void 0:z.headers),l2=P2(Z,s.api,{url:A,ctx:E,payload:z==null?void 0:z.body}),r2=l2.code,i2=l2.isErr,l2=(l2=s.api)==null?void 0:l2.apiDetail,E2=l2?x2(z==null?void 0:z.body,(X=s.api)==null?void 0:X.reqParamHandler,{url:A}):"",o3=l2?x2(Z,(X=s.api)==null?void 0:X.resBodyHandler,{url:A,ctx:E}):"";setTimeout(function(){var F2=L3(s,{url:A,duration:F,type:M,status:E.status||0,method:(z==null?void 0:z.method)||"get"}),e3=[p2?"FETCH_ERROR: "+Z:"","fetch req url: "+A,"res status: "+(F2.status||0),"res duration: "+F2.duration+"ms",h2,c2,"req method: "+(F2.method||"GET"),"res retcode: "+r2,x3(E2,"req param"),x3(o3,"res data")].filter(function(I3){return I3}).join( `
` );F2.payload=z==null?void 0:z.body,F2.ret=r2,F2.isErr=+i2,p.publishNormalLog({msg:e3,level:P3(p2,i2),code:r2,trace:o2},d),p.publishSpeed(F2,d)},0)}):setTimeout(function(){var Z=L3(s,{url:A,duration:F,type:M,status:E.status||0,method:(z==null?void 0:z.method)||"get"});Z.type="static",Z.urlQuery=_2(A,!0),p.publishSpeed(Z,d)},0))},catch:function(E,F,A,z){var O,M,Z,X,p2;throw M2(A,s.hostUrl)||(O=F3(s,"",A),M=((M=s.api)==null?void 0:M.reqHeaders)||[],Z=S3(z==null?void 0:z.headers,M,"req"),X=N(z==null?void 0:z.headers),p2=(M=s.api)!=null&&M.apiDetail?x2(z==null?void 0:z.body,(M=s.api)==null?void 0:M.reqParamHandler,{url:A}):"",setTimeout(function(){var h2=L3(s,{url:A,duration:F,type:O,status:0,method:(z==null?void 0:z.method)||"get"}),h2=(p.publishSpeed(h2,d),"AJAX_ERROR: "+E+ `
req url : ` +A+ `
res status : 0
res duration : ` +h2.duration+ ` ms
req method : ` +((z==null?void 0:z.method)||"get")+ `
req param : ` +p2+ `
` +Z);p.publishNormalLog({msg:h2,level:Q.AJAX_ERROR,code:-400,trace:X},d)},0)),E}},C=(this.hackFetchOptions=k,this.hackFetchOptions),w=(k=s.api)==null?void 0:k.ignoreHackReg;if(w===void 0&&(w=/ \. flv( \? | $ )/gi),t3.find(function(E){return E.name===C.name}))throw new Error("name '"+C.name+"' is already in hackFetch option list");t3.push(C),! $ e&&window.fetch&&( $ e=!0,Q3=window.fetch,window.fetch=function(E,F){F===void 0&&(F={});var A=typeof E=="string"?E:E==null?void 0:E.url;if((Z=w==null?void 0:w.test)!=null&&Z.call(w,A))return Q3(A,F);ke.test(A)&&(A=""+location.origin+A);var z,O,M,Z=(C||{}).traceRequestHeader;Z&&(z=(z=(F||{}).headers)===void 0?{}:z,O=(M=J3()).host,M=M.pathname,O=(Z=Z.generate(A,z,{host:O,pathname:M})||{}).name,M=Z.value)&&O&&(F.headers=Object.assign(z,((Z={})[O]=M,Z)));for(var X=0;X<t3.length;X++){var p2=t3[X];try{typeof p2.beforeFetch=="function"&&p2.beforeFetch(A,F)}catch{}}var h2=Date.now();return Q3(E,F).then(function(c2){for(var o2=c2.clone(),r2=0;r2<t3.length;r2++){var i2=t3[r2];try{typeof i2.then=="function"&&i2.then(o2,Date.now()-h2,A,F)}catch{}}return o2}).catch(function(c2){for(var o2=0;o2<t3.length;o2++){var r2=t3[o2];try{typeof r2.catch=="function"&&r2.catch(c2,Date.now()-h2,A,F)}catch{}}throw c2})})},overrideXhr:function(s,d){var p,k=this,C={name:this.name,ignoreHackReg:(C=s.api)==null?void 0:C.ignoreHackReg,send:function(w,E){var F,A,z=Date.now(),O=(((s==null?void 0:s.api)||{}).injectTraceHeader&&(A=(F=J3()).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 X,p2,h2,c2,o2=w.aegisUrl||"";M2(o2,s.hostUrl)||w.failType==="abort"||(X="",(w.failType||!w.status||400<=w.status)&&(X=w.failType||"failed"),p2=Date.now()-z,h2=w.getResponseHeader("content-type")||"",c2=F3(s,h2,o2),setTimeout(function(){var r2=L3(s,{url:o2,duration:p2,type:c2,status:w.status,method:w.aegisMethod||"get"});if(c2==="fetch"){var F2=((F2=s.api)==null?void 0:F2.reqHeaders)||[],i2=S3(w.aegisXhrReqHeader,F2,"req"),F2=((F2=s.api)==null?void 0:F2.resHeaders)||[],l2=w.getAllResponseHeaders().split( ` \ r
` ).reduce(function(U2,R2){return R2=R2.split(": "),R2[0]&&R2[1]&&(U2[R2[0]]=R2[1]),U2},{}),E2=S3(l2,F2,"res"),o3=N(w.aegisXhrReqHeader),F2=(l2=s.api)==null?void 0:l2.apiDetail,e3=F2?x2(E,(l2=s.api)==null?void 0:l2.reqParamHandler,{url:o2}):"",I3=F2?x2(w.response,(l2=s.api)==null?void 0:l2.resBodyHandler,{url:o2}):"";try{(function(U2,R2,D2,W2){var K3,He,l3,Ze;try{if(typeof(R2==null?void 0:R2.retCodeHandlerAsync)=="function")return R2.retCodeHandlerAsync(U2,D2==null?void 0:D2.url,D2==null?void 0:D2.ctx,function(D3){var he=D3.code,D3=D3.isErr;W2!=null&&W2({code:he===void 0?I:he,isErr:D3})});if(typeof(R2==null?void 0:R2.retCodeHandler)=="function")return l3=(He=R2.retCodeHandler(U2,D2==null?void 0:D2.url,D2==null?void 0:D2.ctx,D2==null?void 0:D2.payload)||{}).code,Ze=He.isErr,W2!=null&&W2({code:l3===void 0?I:l3,isErr:Ze});if(!(U2=typeof U2=="string"?JSON.parse(U2):U2))return W2!=null&&W2({code:I,isErr:!1});typeof((K3=R2==null?void 0:R2.ret)==null?void 0:K3.join)=="function"&&(G2=[].concat(R2.ret.map(function(X3){return X3.toLowerCase()})));var pe=Object.getOwnPropertyNames(U2).filter(function(X3){return G2.indexOf(X3.toLowerCase())!==-1});if(pe.length)return(l3=U2[pe[0]])!==" \u 672A \u 77E5"&&l3!==""||(l3=I),W2!=null&&W2({code:""+l3,isErr:l3!==0&&l3!=="0"&&l3!==I});W2!=null&&W2({code:I,isErr:!1})}catch{W2!=null&&W2({code:I,isErr:!1})}})(w.response,s.api,{url:o2,ctx:w,payload:E},function(D2){var R2=D2.code,D2=D2.isErr,W2=[X?"AJAX_ERROR: request "+X:"","fetch req url: "+o2,"res status: "+(r2.status||0),"res duration: "+r2.duration+"ms",i2,E2,"req method: "+(r2.method||"GET"),"res retcode: "+R2,x3(e3,"req param"),x3(I3,"res data")].filter(function(K3){return K3}).join( `
` );r2.ret=R2,r2.isErr=+D2,r2.payload=E,k.publishNormalLog({msg:W2,level:P3(!!X,D2),code:R2,trace:o3},d),k.publishSpeed(r2,d)})}catch{r2.ret=I,k.publishSpeed(r2,d)}}else r2.type="static",r2.urlQuery=_2(o2,!0),k.publishSpeed(r2,d);w.removeEventListener("abort",O),w.removeEventListener("error",M),w.removeEventListener("timeout",Z)},0))}),function(){w.failType="abort"}),M=function(){w.failType="error"},Z=function(){w.failType="timeout"};w.addEventListener("abort",O),w.addEventListener("error",M),w.addEventListener("timeout",Z)}};this.hackXHROptions=C,p=this.hackXHROptions,a3.find(function(w){return w.name===p.name})||(a3.push(p),!ee&&window.XMLHttpRequest&&(Y3=window.XMLHttpRequest.prototype.send,t2=window.XMLHttpRequest.prototype.open,m3=window.XMLHttpRequest.prototype.setRequestHeader,ee=!0,window.XMLHttpRequest.prototype.open=function(){this.aegisMethod=arguments[0];var w,E=arguments[1];if(ke.test(E)&&(E=""+location.origin+E),this.aegisUrl=E,(E=(w=p.ignoreHackReg)==null?void 0:w.test)==null||!E.call(w,this.aegisUrl))if(this.aegisXhrStartTime=Date.now(),this.sendByAegis)u2.isIE()||(this.timeout=5e3);else for(var F=0;F<a3.length;F++){var A=a3[F];try{typeof A.open=="function"&&A.open(this)}catch{}}return t2.apply(this,arguments)},window.XMLHttpRequest.prototype.setRequestHeader=function(){var w,E,F;return(E=(F=p.ignoreHackReg)==null?void 0:F.test)!=null&&E.call(F,this.aegisUrl)?m3.apply(this,arguments):(E=arguments[0],F=arguments[1],this.aegisXhrReqHeader=(w=this.aegisXhrReqHeader)!=null?w:{},-1<["traceparent","b3","sw8","sentry-trace"].indexOf(E)&&(this.aegisXhrReqHeader[E]||(arguments[1]=F),this.aegisXhrReqHeader[E])?void 0:(this.aegisXhrReqHeader[E]=arguments[1],m3.apply(this,arguments)))},window.XMLHttpRequest.prototype.send=function(){var w,E;if(!((E=(w=p.ignoreHackReg)==null?void 0:w.test)!=null&&E.call(w,this.aegisUrl)||this.sendByAegis))for(var F=0;F<a3.length;F++){var A=a3[F];try{typeof A.send=="function"&&A.send(this,arguments[0])}catch{}}return Y3.apply(this,arguments)}))},publishSpeed:function(s){var d=this;this. $ walk(function(p){var k=d. $ getConfig(p);s.type!=="fetch"||typeof(k==null?void 0:k.urlHandler)!="function"?(s.url=_2(s.url),p.speedLogPipeline(s)):p.speedLogPipeline(t(t({},s),{url:_2(k.urlHandler(s.url,s.payload))}))})},publishNormalLog:function(s){this. $ walk(function(d){d.normalLogPipeline(s)})},destroy:function(){var s,d,p;this.option.publishSpeed=function(){},this.option.publishNormalLog=function(){},this.option.hackXHROptions&&(s=this.option.hackXHROptions,(p=a3.findIndex(function(k){return k.name===s.name}))!==-1)&&a3.splice(p,1),this.option.hackFetchOptions&&(d=this.option.hackFetchOptions,(p=t3.findIndex(function(k){return k.name===d.name}))!==-1)&&t3.splice(p,1),this.option.override=!1}})),N3={},nn=new N2({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];N3[k]=C,p.h5Bridge[k]=function(){for(var w=[],E=0;E<arguments.length;E++)w[E]=arguments[E];var F=w[0],A=w[1],z=w[2],O=w[3],M=Date.now();C(F,A,z,function(Z){var X=P2(Z,p.api),p2=X.code,X=X.isErr,p2={url:F+"-"+A,name:F+"-"+A,duration:Date.now()-M,type:"bridge",ret:p2,isErr:+X};d.publishSpeed(p2,s),O(Z)})}})},unHackBridge:function(s){Object.keys(N3).forEach(function(d){N3[d]&&(s.config.h5Bridge[d]=N3[d])}),N3={}},destroy:function(s){this.option.publishSpeed=function(){},this.option.unHackBridge(s),this.option.override=!1}});( $ 2=Y2=Y2||{})[ $ 2.unknown=100]="unknown", $ 2[ $ 2.wifi=1]="wifi", $ 2[ $ 2.net2g=2]="net2g", $ 2[ $ 2.net3g=3]="net3g", $ 2[ $ 2.net4g=4]="net4g", $ 2[ $ 2.net5g=5]="net5g", $ 2[ $ 2.net6g=6]="net6g",( $ 2=W3=W3||{})[ $ 2.android=1]="android", $ 2[ $ 2.ios=2]="ios", $ 2[ $ 2.windows=3]="windows", $ 2[ $ 2.macos=4]="macos", $ 2[ $ 2.linux=5]="linux", $ 2[ $ 2.other=100]="other",( $ 2=V3=V3||{})[ $ 2.unknown=100]="unknown", $ 2[ $ 2.normal=0]="normal", $ 2[ $ 2.weak=1]="weak", $ 2[ $ 2.di
` +K2(z[4]||""),level:Q.ERROR},s),A!=null&&A.call.apply(A,a([window],z))},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(z){var O;(O=F.publishWsErrorLog)!=null&&O.call(F,z,s)},sendErr:function(z){var O;(O=F.publishWsErrorLog)!=null&&O.call(F,z,s)}},this.hackWebsocketConfig=k,k=this.hackWebsocketConfig,window.Proxy)&&window.WebSocket&&(C=window.WebSocket,window&&!C.isHack&&(w=new Proxy(WebSocket,tn),C.isHack=!0,window.WebSocket=w),E=k,c3.find(function(z){return z.key===E.key})||E&&c3.push(E))},publishErrorLog:function(s,d){this. $ walk(function(p){p===d&&p.normalLogPipeline(s)})},publishWsErrorLog:function(C,d){var p=C.connectUrl,k=C.msg,C=C.readyState;this.publishErrorLog({msg: ` WEBSOCKET _ERROR :
connect : ` +p+ `
readyState : ` +C+ `
msg : ` +k,level:Q.WEBSOCKET_ERROR},d)},destroy:function(){var s,d;this.option.publishErrorLog=function(){},this.option.hackWebsocketConfig&&(s=this.option.hackWebsocketConfig,window.WebSocket=ln,(d=c3.findIndex(function(p){return p.key===s.key}))!==-1)&&c3.splice(d,1)}}),we=(new N2({name:"pagePerformance"}),3),Ie=new N2({name:"pagePerformance",performanceMap:{},onNewAegis:function(s){v2()&&(p3?this.publish(p3,s):this.startCalcPerformance(s))},publish:function(s,d){var p=this;this. $ walk(function(k){k===d&&k.sendPipeline([function(C,w){var E,F=[];for(E in C)F.push(E+"="+C[E]);var A,z=p. $ getConfig(k);if(z)return A=((A=k.config.performanceUrl)==null?void 0:A.indexOf("?"))===-1?"?":"&",typeof z.urlHandler=="function"?w({url:k.config.performanceUrl+A+F.join("&")+"&from="+(encodeURIComponent(z.urlHandler())||window.location.href),beanFilter:["from"],type:I2.PERFORMANCE,log:C}):w({url:k.config.performanceUrl+A+F.join("&"),type:I2.PERFORMANCE,log:C})}],I2.PERFORMANCE)(t({},s))})},startCalcPerformance:function(s){var d=this;try{this.getFirstScreenTiming(s,function(p){var k=performance.timing;k&&(p3={dnsLookup:r3(k.domainLookupEnd-k.domainLookupStart),tcp:r3(k.connectEnd-k.connectStart),ssl:r3(k.secureConnectionStart===0?0:k.requestStart-k.secureConnectionStart),ttfb:r3(k.responseStart-k.requestStart),contentDownload:r3(k.responseEnd-k.responseStart),domParse:r3(k.domInteractive-k.domLoading,0,15e3,1070),resourceDownload:r3(k.loadEventStart-k.domInteractive,0,15e3,1070),firstScreenTiming:r3(Math.floor(p),0,15e3,15e3)},(k=s.config).extraPerformanceData&&JSON.stringify(k.extraPerformanceData)!=="{}"&&(k=(p=k.extraPerformanceData).engineInit,p=p.bundleLoad,p3=t(t({},p3),{engineInit:r3(k,0,1e4),bundleLoad:r3(p,0,1e4)})),d.publish(p3,s))})}catch{}},getFirstScreenTiming:function(s,d){var p=this;s.lifeCycle.on("destroy",function(){M&&clearTimeout(M)});var k,C=this,w=["script","style","link","br"],E=[],F={},A=(-1<((z=(z=window.PerformanceObserver)==null?void 0:z.supportedEntryTypes)==null?void 0:z.indexOf("paint"))&&(k=new PerformanceObserver(function(Z){Z.getEntries().forEach(function(X){var p2;X.entryType==="paint"&&X.name==="first-contentful-paint"&&0<(p2=document.querySelectorAll("[AEGIS-FIRST-SCREEN-TIMING]")).length&&(p.setFirstScreenInfo(s,X.startTime,p2[0],p2),d!=null&&d(X.startTime),A.disconnect(),k.disconnect())})})).observe({entryTypes:["paint"]}),new MutationObserver(function(Z){var X={roots:[],ignores:[],rootsDomNum:[],time:performance.now()};Z.forEach(function(p2){p2&&p2.addedNodes&&Array.prototype.slice.call(p2.addedNodes).forEach(function(h2){C.isEleInArray(h2,X.ignores)?X.ignores.push(h2):h2.nodeType===1&&h2.hasAttribute("AEGIS-FIRST-SCREEN-TIMING")?(Object.prototype.hasOwnProperty.apply(F,[X.time])||(F[X.time]=[]),F[X.time].push(h2)):h2.nodeType===1&&(C.hasAncestorOrSelfWithAttribute(h2,"AEGIS-IGNORE-FIRST-SCREEN-TIMING")?X.ignores.push(h2):w.indexOf(h2.nodeName.toLocaleLowerCase())!==-1||C.isEleInArray(h2,X.roots)||(X.roots.push(h2),X.rootsDomNum.push(C.walkAndCount(h2)||0)))})}),X.roots.length&&E.push(X)}));A.observe(document,{childList:!0,subtree:!0});var z,O=function(Z){(Z=Z===void 0?0:Z)||(X=0,(h2=Object.keys(F)).length?(Z=Math.max.apply(null,h2),p.setFirstScreenInfo(s,Z,(h2=F[Z])==null?void 0:h2[0],F)):E.forEach(function(i2){for(var l2=0;l2<i2.roots.length;l2++)i2.rootsDomNum[l2]>X&&C.isInFirstScreen(i2.roots[l2])&&(X=i2.rootsDomNum[l2],Z=i2.time,p.setFirstScreenInfo(s,Z,i2.roots[l2]))}),E.length=0,Object.keys(F).forEach(function(i2){F[i2]=F[i2].map(function(l2){var E2={tagName:l2.tagName},o3=l2.attributes;if(!o3)return l2;for(var F2=0;F2<o3.length;F2++){var e3=o3[F2];e3.name&&(E2[e3.name]=l2.getAttribute(e3.name))}return E2})}));var X,h2=performance.timing,p2=h2.domInteractive-h2.domLoading,h2=h2.loadEventStart-h2.domInteractive,c2=Z;M=null;for(var o2=0,r2=[p2,h2,c2];o2<r2.length;o2++)if(r2[o2]<=0&&0<we){M=setTimeout(function(){return O(c2)},3e3);break}M?--we:(A.disconnect(),k!=null&&k.disconnect(),d!=null&&d(Z))},M=setTimeout(function(){return O()},3e3)},setFirstScreenInfo:function(s,d,p,k){var C;s.c
2024-04-29 12:57:33 +00:00
It is recommended that you contact us for feedback and thank you for your support . ` ,"color: red"),w.sendSDKError(E)}return w}function qe(){this.constructor=de}new N2({name:"ie"}),new N2({name:"onClose"});var Ue=new N2({name:"onClose",onNewAegis:function(s){var d,p=this;u2.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))}):Le(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 N2({name:"aid"}),n2.use(rn),n2.use(Qe),n2.use(B3),n2.use(Ie),n2.use(Ve),n2.use(s3),n2.use( $ 2),n2.use(an),n2.use(Ue),n2.use(nn),n2})})(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