@techui/scifi 0.0.7-alpha.7 → 0.1.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -10
- package/UPDATE.md +59 -11
- package/core/core.d.ts +328 -203
- package/core/core.js +1272 -1265
- package/core/core_bg.wasm +0 -0
- package/core/core_bg.wasm.d.ts +66 -65
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/index.js +112 -100
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tMitt as LA,tEvent as ne,tObj as We,styleInit as _t,tQuery as we,tDom as qt,tLang as VA,initLang as qo,tStore as aA,tConsole as wo,tMonitor as mA,cssVarGen as ie,tType as ve,tTimer as se,genUid as ce,tNum as Fe,tResize as UA,tInterval as yA,syncContSize as $o,tArr as at,tClass as mt,tStr as sA,tTheme as Lt,deviceInfo as Co,fullScreen as bA,viewTransStart as qA,tMutation as Ut,tCoreTpl as $e}from"@techui/utils";import{svgPatDiamondWeaving as wA,svgPatZigzagB as ko,svgPatZigzagA as To,svgPatWaveB as So,svgPatWaveA as Bo,svgPatTriangleB as _o,svgPatTriangleA as Do,svgPatTotem as Po,svgPatRectWeavingC as Ro,svgPatRectWeavingB as zo,svgPatRectWeavingA as Mo,svgPatSlashParallel as xo,svgPatShellB as Oo,svgPatShellA as Io,svgPatRain as Eo,svgPatMountains as No,svgPatMazeC as Go,svgPatMazeB as Wo,svgPatMazeA as jo,svgPatLineWeaving as Fo,svgPatLineGrid as Qo,svgPatHexagonCurved as Lo,svgPatHexagonD as Uo,svgPatHexagonC as Ho,svgPatHexagonB as Yo,svgPatHexagonA as Ko,svgPatDots as Xo,svgPatDiamondPixel as Zo,svgPatDiamondLattice as Jo,svgPatDiamondFlipped as ea,svgPatCubeC as ta,svgPatCubeB as Aa,svgPatCubeA as oa,svgPatCrosshairB as aa,svgPatCrosshairA as sa,svgPatContourLine as la,svgPatCircularOverlayB as ia,svgPatCircularOverlayA as na,svgPatCircuitDiagram as ra,svgPatBlocks as ua,svgPatTest as da,svgSpinRingA as $A,svgSpinRingC as ca,svgSpinRingB as pa,svgSpinPulseRingC as fa,svgSpinPulseRingB as ga,svgSpinPulseRingA as ha,svgSpinPulseDotC as va,svgSpinPulseDotB as Va,svgSpinPulseDotA as ma,svgSpinPointC as ya,svgSpinPointB as ba,svgSpinPointA as qa,svgSpinClock as wa,svgSpinBlocksC as $a,svgSpinBlocksB as Ca,svgSpinBlocksA as ka,svgSpinBarsC as Ta,svgSpinBarsB as Sa,svgSpinBarsA as Ba,openDec as lA,openEnc as iA,getVer as _a,getEnv as nA,coreConsoleInfo as Da,cidVaild as HA,cssVarGen as et,adptCalc as Pa,bar3DPathGen as AA,cidGen as Ht,md5Enc as CA,pieArcPathGen as Ra,t3dCoeffCalc as kA,t3dUpdateRotate as TA,t3dUpdateOrient as za,floatInfo as Ma,scifiButtonA1 as xa,scifiButtonA2 as Oa,scifiButtonA3 as Ia,scifiButtonA4 as Ea,scifiButtonA5 as Na,scifiGeomHexagon as Ga,scifiGeomeParallelogram as Wa,scifiGeomeRectangle as ja,scifiGeomeTrapezoid as Fa,scifiGeomeTriangle as Qa,scifiDecoA1 as La,scifiDecoB1 as Ua,scifiDecoB2 as Ha,scifiDecoB3 as Ya,scifiDecoD1 as Ka,scifiHeaderA1 as Xa,scifiHeaderA2 as Za,scifiHeaderA3 as Ja,scifiHeaderA4 as es,scifiPanelA1 as ts,scifiPanelA3 as As,scifiPanelA2 as os,scifiPanelB1 as as,scifiPanelB2 as ss,scifiPanelB3 as ls,scifiPanelB4 as is,scifiPanelDV1 as ns,scifiPanelDV2 as rs,scifiPanelDV3 as us,scifiPanelDV4 as ds,scifiPanelDV5 as cs,scifiPanelDV6 as ps,scifiPanelDV7 as fs,scifiPanelDV8 as gs,scifiPanelDV9 as hs,scifiPanelTitleA1 as vs,scifiPanelTitleA2 as Vs,scifiPanelTitleA3 as ms}from"@techui/scifi";import{reactive as ue,toRefs as be,computed as m,getCurrentInstance as De,createElementBlock as h,openBlock as r,normalizeStyle as X,normalizeClass as S,renderSlot as H,ref as C,watch as I,onMounted as Ae,nextTick as ee,onBeforeUnmount as ze,createBlock as L,Transition as pe,withCtx as E,withDirectives as re,createElementVNode as a,withModifiers as yt,unref as l,Fragment as U,renderList as Ve,createCommentVNode as q,toDisplayString as Q,mergeProps as _e,createTextVNode as ke,vShow as fe,h as Ue,render as Re,createVNode as K,normalizeProps as tt,guardReactiveProps as At,resolveDynamicComponent as st,onUnmounted as lt,Teleport as Qe,inject as ge,resolveComponent as ye,resolveDirective as Ce,useSlots as Yt,shallowRef as YA,markRaw as ys,useAttrs as bs,onBeforeMount as wt,vModelText as qs,provide as He,toRaw as SA,onUpdated as ws,withKeys as BA,createStaticVNode as $s}from"vue";import{useFloating as Dt,offset as Pt,shift as Rt,flip as zt,arrow as KA}from"@techui/libs/floating-ui";import{$c as xe}from"@techui/colors";import Cs from"@techui/libs/dt-detector";import{useRouter as rA,useRoute as XA}from"vue-router";import ks from"@techui/libs/async-validator";import Ts from"@techui/libs/svg-injector";const ZA=new LA;ZA.data={};const Ss="data:audio/mpeg;base64,//OAxAAAAAAAAAAAAFhpbmcAAAAPAAAABAAAA6oAW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbycnJycnJycnJycnJycnJycnJycnJycnJyfb29vb29vb29vb29vb29vb29vb29vb29vb/////////////////////////////////AAAAKExBTUUzLjEwMAQAAAAAAAAAAAAVCCQEGCEAAbgAAAOqYpgBhQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/zkMQACIgCdHVAAAAACBjsn///lwf//B95QEP+XP/+Tg///z8H//Lh/id5/B/IKiRWpnhllnljdrcbQ4Yw0AzECAcIT0DBJ1IaAdfqJ7PUUCYuloWvZuy5h6NDXWtt2R8a2vBugsBRVewstea96LNcsYQBy5c79MsWvTtlUxk8BPq5SNjdGWJeN7alNJQu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qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq//MgxOoF0ErLAckAAaqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqv/zEMT5BGBOowAIBiGqqqqqqqqqqqqqqqqq//MQxPIAAAP8AAAAAKqqqqqqqqqqqqqqqqo=",xs="data:audio/mpeg;base64,SUQzAwAAAAAVf1RYWFgAAAD5AAAB//5DAE8ATQBNAAAA//4gADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAyADEAMAAgADAAMAAwADAAMABBADEAMwAgADAAMAAwADAAMAAwADAAMAAwADAAMAAwAEEAQwA1AEQAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADQAQQA0ADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAAABDT01NAAAA9AAAAWVuZ//+AAD//iAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADIAMQAwACAAMAAwADAAMAAwAEEAMQAzACAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAQQBDADUARAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAANABBADQAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAAAENPTU0AAAD0AAABZW5n//4AAP/+IAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMgAxADAAIAAwADAAMAAwADAAQQAxADMAIAAwADAAMAAwADAAMAAwADAAMAAwADAAMABBAEMANQBEACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAA0AEEANAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIDAwMDAwMDAwIDAwMDAwMjEwIDAwMDAwQTEzIDAw/w==",Os="data:audio/mpeg;base64,/+NAxAAAAAAAAAAAAFhpbmcAAAAPAAAABQAABbMAQEBAQEBAQEBAQEBAQEBAQEBAQECAgICAgICAgICAgICAgICAgICAgMrKysrKysrKysrKysrKysrKysrK9fX19fX19fX19fX19fX19fX19fX/////////////////////////AAAAPExBTUUzLjEwMAQ3AAAAAAAAAAAVCCQDoCEAAcwAAAWzbBlQ9wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/jYMQAE1Gawx9BKAD//rqamFqAElmwAUY42RAAAABjGMb+hCN+khCNnOd//8jZ/+pw4KEb5CVOHw+LkAcDh8Hwfg/5cHw//4P8oc/B8HAQOf/8uH///g+D59W9C8bbapeogxTQACANyymITsKovf5cCZQCRY0SMH+hQMG23OaJDDuwlSrOaZ8uRBuCUkmtSdW12Wmyl3uzVexZafhx9qdHm84W3aXMxOITMEIIy/lFKpfWfVrsxDVymrsqqyZsqYub8PFWkMVaVA9x4GcyBmKw0PBUBNqFgGFQIplXZglRLL05DyAmu2IwOBjaQBeyT0Cjxf0dATdzFtbNgl0AAB5XIceApG/EfkMLfSNSF/4NtUuOGWW+flvcVvYct95/e95cnKSP3IGdWfps9Wr03uWwFEr760tyn/n/42DE3kpkFrsXj+AojZrZ8nZdR0Fagl+qlyVU9LlWpo5KJ/ObknKKvTT9642sKhitFaellVy3dq4yqY7KaXkSiVHvCtJY1Nb1jQanqPLJkXwmij7ux5/phcsNxslLh6R4MoCAAAgKLi1qLTChQUX/STOyGIJG92y2LpetR5owEAQvqYJgG3FiLPIlbboAQZCArLiIhPrOMqvMqi1RpLcXPQvAADL1dpymUREQArQRNgTToKBQEF/ErHfZemJI6WKx8vKCgFVtgVgNNk0Nv30smAwAL9YOi/EWKkoFGAAFr1UOL2sDaimtGGDI+qtMFQpMLwPMLAEZ6YA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Hh4eH///////////////////////////////////////////8AAAAoTEFNRTMuMTAwBAAAAAAAAAAAADUIJAKiLQABuAAAA1zAALomAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/zoGQACqzdXy+goAAAAANIAUAAAJLZddtvAE3OMYxjGMbAAAAAADMYxjf6IiJ/Lu7v/oif/y7v//+///+j3////CIguLg3BWAuAuDcXsXFwffQUd/4IA+f/+UOf/g+D4PwICBz/3ROD4Pq4232/v9+3d6WAAyovDJ8PV+7cSDIm2FtVGiLbvKpc2lLuS+/+w9Ds86KtqgP/uHozLnSZ0rc6O8e5P9DMqdqMxmVRp9v33nYBjztQTBkpjMZlUafaU////evtBsAQE9bcHijMZiThMOWSLFAc2q/vuOTPjB4gidy7SXKeMPoYEIuOjf2W01NTXaXG5TZf9Lasd/n////vxF785T371/t6/2zDtM/1NdjMZwyv/S46rSr//////////6OXS2/LqW1TUuVNVypquqvPqxmI1v/85Bkzhy9t1kvx+gSAAADSAGAAAAo9vlD/xqhpaW5TU3/lhYVFBIIzgESGDUChOgD//////4i/UeETxKGioK50rlf8S9Z3lVMQU1FMy4xMDAuMVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVX/8zBk2ANYAUAP4AAAAAADSAHAAABVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU=",Es="data:audio/mpeg;base64,SUQzAwAAAAAQGVRDT04AAAAPAAAB//5CAGwAdQBlAHMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Ns="data:audio/mpeg;base64,/+NIxAAAAAAAAAAAAFhpbmcAAAAPAAAAAwAAA/AAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm////////////////////////////////////////////AAAAPExBTUUzLjEwMAQoAAAAAAAAAAAVCCQDMCEAAcwAAAPw36ttfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+NYxAAfMna+X0FYAL/rYykSBOAAMYxjGP/mMAOUgDGMYxjGMAAAAAAEMYxjGMY///p73ve977pjGMYxlPe973vfbGMYxjGMe973ve+6YxjGMr5e977/////9jGG5uSxvAjATATBHXJZPPvB8HwcBAEAQBAH3//lAQBAEAfB8H////B8PggCAIBhvArQvQrAzAbAEYE/ClRZYxmTRt3K1NvH9oSS4K0kVoCzvVuZf5aZNEuSXhlUhrxrLXcV5IrKDMxQkr1q26CnltT9475qOFugcASE5FICgYqWW5WLsth21chf6y1lv9wDTZOlKbMRiTKkTnBkstgB2n+d2cfl/sd463ym1TZY1ZTWlUNSmMuzEmtKZa7vf5dyvdikQiUiYDdcFUqqqaoXAROUVBoxDFpVUABGYGhE5bLX9rRqm3S46ybsYACCYuB2CgFjPf7///+ZinwZMKCZKz0ZytUapi8YmCm2EAAO/+NIxN5D05q7GZjoMWAgAp6o4qrSmCoGuv7LOU03a+aq4ymtTU1Wlq3v7q/vf6y1r+d/carU28s6XYqY4KlVTEFNRTMuMTAwLjFVVVVVVVVVVVVVVVVVVVVVVVVMQU1FMy4xMDAuMVV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qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqv/zEMT0BMjSbYgYBlCqqqqqqqqqqqqqqqqq//MQxO0AwApkoBAAAaqqqqqqqqqqqqqqqqr/8xDE8gAAA/wAAAAAqqqqqqqqqqqqqqqqqv/zEMTyAAAD/AAAAACqqqqqqqqqqqqqqqqq//MQxPIAAANIAAAAAKqqqqqqqqqqqqqqqqo=",_A={clickA:Ss,clickB:Bs,clickC:_s,dindonA:Ds,dindonB:Ps,dindonC:Rs,errorA:zs,errorB:Ms,errorC:xs,errorD:Os,pingA:Is,pingB:Es,pingC1:Ns,pingC2:Gs,pingC3:Ws,popupA:js,popupB:Fs,popupC:Qs,popupD:Ls},Ye=new Map,Us=(e,A=!1,t=null,a=0)=>{const l=_A[e]?e:"pinA",i=t||l;JA(i);const o={audio:new Audio(_A[l]),timer:null,playing:!0,endedHandler:null,errorHandler:null,resolveCallback:null},n=o.audio;Ye.set(i,o),o.endedHandler=function(){A&&a>0?Ye.has(i)&&Ye.get(i).playing&&(o.timer=setTimeout((()=>{Ye.has(i)&&Ye.get(i).playing&&(n.currentTime=0,n.play().catch((e=>{console.warn("Error replaying audio:",e)})))}),a)):A||(o.resolveCallback&&o.resolveCallback(i),Bt(i))},ne.add(n,"ended",o.endedHandler,i),o.errorHandler=e=>{Bt(i)},ne.add(n,"error",o.errorHandler,i),n.loop=A&&0===a;const s=n.play();return A?Promise.resolve(i):new Promise(((e,A)=>{o.resolveCallback=e,s.catch((e=>{console.warn("Error playing audio:",e),Bt(i)}))}))},Bt=e=>{if(Ye.has(e)){const A=Ye.get(e);A.playing=!1,A.endedHandler&&ne.remove(A.audio,"ended",e),A.errorHandler&&ne.remove(A.audio,"error",e),A.audio.pause(),A.audio.currentTime=0,A.timer&&clearTimeout(A.timer),Ye.delete(e)}},JA=e=>!!Ye.has(e)&&(Bt(e),!0),Hs=()=>{Ye.forEach(((e,A)=>{Bt(A)}))},Ys={play:Us,stop:JA,stopAll:Hs},Ks=(e,A,t)=>{const{background:a}=e;if(!a)return void console.error("Error: themePalette initialized error");const l=ue({viewType:"all",cssResult:"",graphicType:"SvgPattern",cssAni:{},css:{},grad:{},SvgPattern:{gradType:"radial",gradOrientation:"ellipse at bottom",viewSvgName:"diamondWeaving",viewBG:null,viewGrad:a.view_grad,viewSvgFill:a.view_svgfill,viewSvgFillOpacity:a.view_svgfill_opa,rootSvgName:"diamondWeaving",rootBG:a.root,rootSvgFill:a.root_svgfill,rootSvgFillOpacity:a.root_svgfill_opa}});("view"==t||"root"==t||"all"==t)&&(l.viewType=t),We.isEmpty(A)||(l.graphicType=A.graphicType||"SvgPattern","SvgPattern"==A.graphicType&&(l.SvgPattern=We.dpm(l.SvgPattern,A.SvgPattern),!A.rootSvgName&&A.viewSvgName&&(l.SvgPattern.rootSvgName=l.SvgPattern.viewSvgName),"line"==A.gradType&&!A.gradOrientation&&(l.SvgPattern.gradOrientation="to top")));const i=`${l.graphicType} root:${"all"==l.viewType||"root"==l.viewType?l.SvgPattern.rootSvgName:"none"} view:${"all"==l.viewType||"view"==l.viewType?l.SvgPattern.viewSvgName:"none"}`;"SvgPattern"==l.graphicType&&(l.cssResult=Xs(l,a,l.viewType)),_t("Background",i,l.cssResult)},Xs=(e,A,t)=>{let a="";const{gradType:l,gradOrientation:i,viewSvgName:o,viewBG:n,viewGrad:s,viewSvgFill:r,viewSvgFillOpacity:d,rootSvgName:u,rootBG:c,rootSvgFill:p,rootSvgFillOpacity:g}=e.SvgPattern;if("all"==t||"root"==t){let A=e.SvgPattern.rootSvgFill.replace("#","%23");a+=`.tui-root-bg{${`background-repeat: repeat; background:url("data:image/svg+xml;utf8,${DA(u).replace(/#color/g,A).replace(/#opacity/g,g)}"),${c};`}}`}if("all"==t||"view"==t){let t=e.SvgPattern.viewSvgFill.replace("#","%23");const r=DA(o).replace(/#color/g,t).replace(/#opacity/g,d);let u="";if(n)u=n.includes("grad")?A[n.replace("grad","")]:n;else{const e={type:l,orientation:i,grad0:s[0],grad1:s[1],grad2:s[2]};u=Zs(e)}a+=`.tui-view-bg{ ${`background-repeat: repeat; background:url("data:image/svg+xml;utf8,${r}"),${u}};`}}`}return a},DA=e=>{switch(e){case"test":return da();case"blocks":return ua();case"circuitDiagram":return ra();case"circularOverlayA":return na();case"circularOverlayB":return ia();case"contourLine":return la();case"crosshairA":return sa();case"crosshairB":return aa();case"cubeA":return oa();case"cubeB":return Aa();case"cubeC":return ta();case"diamondFlipped":return ea();case"diamondLattice":return Jo();case"diamondPixel":return Zo();case"diamondWeaving":return wA();case"dots":return Xo();case"hexagonA":return Ko();case"hexagonB":return Yo();case"hexagonC":return Ho();case"hexagonD":return Uo();case"HexagonCurved":return Lo();case"lineGrid":return Qo();case"lineWeaving":return Fo();case"mazeA":return jo();case"mazeB":return Wo();case"mazeC":return Go();case"mazeD":return"data:image/svg+xml;utf8,";case"mountains":return No();case"rain":return Eo();case"shellA":return Io();case"shellB":return Oo();case"slashParallel":return xo();case"rectWeavingA":return Mo();case"rectWeavingB":return zo();case"rectWeavingC":return Ro();case"totem":return Po();case"triangleA":return Do();case"triangleB":return _o();case"waveA":return Bo();case"waveB":return So();case"zigZagA":return To();case"zigZagB":return ko();default:return console.warn("Warning: svg background name error!",e),wA()}},Zs=e=>{const{type:A,orientation:t,grad0:a,grad1:l,grad2:i}=e;let o="";return"line"==A?o="linear-gradient":(e.type="radial")&&(o="radial-gradient"),`${o}( ${t}, ${a}, ${l}, ${i})`},Js=e=>{const A=ue({nameFull:"blocksA",nameArea:"pointA"});e?.full?.name&&(A.nameFull=e.full.name),e?.area?.name&&(A.nameArea=e.area.name);const t='mask-image:url("data:image/svg+xml;utf8,',a=`${t}${PA(A.nameFull)}");`,l=`${t}${PA(A.nameArea)}");`;_t("Spinners",`full:${A.nameFull} area:${A.nameArea}`,`.spinner-full{${a}} .spinner-area{ ${l} }`)},PA=e=>{switch(e){case"barsA":return Ba();case"barsB":return Sa();case"barsC":return Ta();case"blocksA":return ka();case"blocksB":return Ca();case"blocksC":return $a();case"clock":return wa();case"pointA":return qa();case"pointB":return ba();case"pointC":return ya();case"pulseDotA":return ma();case"pulseDotB":return Va();case"pulseDotC":return va();case"pulseRingA":return ha();case"pulseRingB":return ga();case"pulseRingC":return fa();case"ringA":return $A();case"ringB":return pa();case"ringC":return ca();default:return console.warn("Warning: svg spinner name error!"),$A()}},el={s(e,A,t,a="store"){if(!A||void 0===t)return void console.error("tStoreCrypto: Key and data are required for setting storage.");const l="local"===e?localStorage:sessionStorage;try{const e=JSON.stringify(t),i=iA(e,a);l.setItem(A,i)}catch(e){console.error("tStoreCrypto: Failed to set encrypted data:",e)}},g(e,A,t="store"){if(!A)return console.error("tStoreCrypto: Key is required for getting data."),null;const a="local"===e?localStorage:sessionStorage;try{const l=a.getItem(A);if(!l)return null;const i=lA(l,t);if(!i.includes("Error"))return JSON.parse(i);this.d(e,A)}catch(t){return console.error("tStoreCrypto: Failed to get or decrypt data:",t,e,A),this.d(e,A),null}},d(e,A){("local"===e?localStorage:sessionStorage).removeItem(A)}},tl=(e,A)=>{const t=ue({data:{mapData:{code:"",name:""},chartData:{title:"",params:{}}},globalConfig:{platform:"scifi",theme:"lightBlue",themeScheme:"light",t3D:!0,maskBlur:!0,background:"all",menuTrigger:"click",floaterTo:"#tuiAdpt",resizeBy:"self",sound:!0,transition:!0,adaptive:"extension",version:_a()},globalState:{fullScreen:!1,maximize:!1,siderCollapse:!1,clickTarget:null,clickCounter:0,escCounter:0,resizeCounter:0,portletCounter:0,echartsThemeInited:!1,themeInited:!1},globalParams:{blurSaturate:"180%",blurRange:5,initDur:1},viewTrans:{curDur:1,altDur:1,curTarget:"root",altTarget:"root",curName:"vt-overlap",altNames:{theme:"vt-circle-rt",common:"vt-overlap",routerPre:"vt-slide-right",routerNxt:"vt-slide-left",layout:"vt-fade"}},deviceInfo:{type:null,browser:null,resolutionH:null,resolutionV:null,touchable:!1,orientation:null,screenInvert:!1},controlPanel:{visible:!1,modal:!0,width:220,extension:[],exclusion:[]},attentionConfig:{message:{position:"top-center",offset:0,duration:3e3,counter:0},notification:{position:"top-right",offset:0,counter:0},toast:{offsetX:0,offsetY:0,duration:3e3,visible:!1},flash:{spreadRadius:15,blurRadius:30,frequency:1,appearance:"toast",visible:!1,queueLength:0,queueOffset:0,queuePosition:"top"},dispatcher:{visible:!0,debug:!1,offset:40,position:"bottom-right",currentChannel:null,queue:[]}},popoverConfig:{duration:3e3,maxLength:5,appearance:"poptip"},t3dConfig:{inited:!1},adaptiveConfig:{ready:!1,inited:!1,resizeCounter:0,dragTip:!0},backgroundConfig:{graphicType:"SvgPattern",SvgPattern:{}},spinnerConfig:{full:{name:"blocksA",size:100},area:{name:"pointA",size:40}},themePalette:{},locale:{}}),{data:a,globalConfig:l,globalState:i,globalParams:o,viewTrans:n,deviceInfo:s,controlPanel:r,attentionConfig:d,popoverConfig:u,t3dConfig:c,adaptiveConfig:p,backgroundConfig:g,spinnerConfig:V,themePalette:f,locale:v}=be(t),h=()=>aA.session.g("sysLang")||"en",y=(e,A)=>we.valueByPath(t.locale,e,!0,A),b=()=>(console.info("$tState:",t),"From TechUI"),q=()=>{"dev"==nA()&&A&&(mA.enable(),Da("TechUI",y("info.debug")),window.tuiDebugMonitor=mA,window.tuiServiceState=b,window.openEnc=iA,window.openDec=lA),window.tuiGetEnv=nA};return{$tState:t,state:t,$data:a,$mapData:m((()=>t.data.map)),$chartData:m((()=>t.data.chart)),$globalConfig:l,$gPlatform:m((()=>t.globalConfig.platform)),$gTheme:m((()=>t.globalConfig.theme)),$gThemeScheme:m((()=>t.globalConfig.themeScheme)),$gT3D:m((()=>t.globalConfig.t3D)),$gMaskBlur:m((()=>t.globalConfig.maskBlur)),$gMenuTrigger:m((()=>t.globalConfig.menuTrigger)),$gFloaterTo:m((()=>t.globalConfig.floaterTo)),$gResizeBy:m((()=>t.globalConfig.resizeBy)),$gTransition:m((()=>t.globalConfig.transition)),$gSound:m((()=>t.globalConfig.sound)),$gBackground:m((()=>t.globalConfig.background)),$gAdaptive:m((()=>t.globalConfig.adaptive)),$gVersion:m((()=>t.globalConfig.version)),$globalState:i,$gMaximize:m((()=>t.globalState.maximize)),$gFullScreen:m((()=>t.globalState.fullScreen)),$gSiderCollapse:m((()=>t.globalState.siderCollapse)),$gClickTarget:m((()=>t.globalState.clickTarget)),$gClickCounter:m((()=>t.globalState.clickCounter)),$gEscCounter:m((()=>t.globalState.escCounter)),$gResizeCounter:m((()=>t.globalState.resizeCounter)),$gPortletCounter:m((()=>t.globalState.portletCounter)),$gEchartsThemeInited:m((()=>t.globalState.echartsThemeInited)),$gThemeInited:m((()=>t.globalState.themeInited)),$globalParams:o,$viewTrans:n,$deviceInfo:s,$controlPanel:r,$attentionConfig:d,$aMessage:m((()=>t.attentionConfig.message)),$aNotification:m((()=>t.attentionConfig.notification)),$aToast:m((()=>t.attentionConfig.toast)),$aFlash:m((()=>t.attentionConfig.flash)),$aDispatcher:m((()=>t.attentionConfig.dispatcher)),$popoverConfig:u,$t3dConfig:c,$adaptiveConfig:p,$adptReady:m((()=>t.adaptiveConfig.ready)),$adptInited:m((()=>t.adaptiveConfig.inited)),$aResizeCounter:m((()=>t.adaptiveConfig.resizeCounter)),$backgroundConfig:g,$spinnerConfig:V,$themePalette:f,$locale:v,$optResizeCounter:m((()=>t.adaptiveConfig.inited?t.adaptiveConfig.resizeCounter:t.globalState.resizeCounter)),$optFloaterTo:m((()=>t.adaptiveConfig.inited?t.globalConfig.floaterTo:"#tuiRoot")),$tc:(e,A=!1)=>A?m((()=>we.valueByPath(t.themePalette,e,!1))):we.valueByPath(t.themePalette,e,!1),initBG:(e,A=null)=>{const{themePalette:a,backgroundConfig:l,globalConfig:{background:i}}=t;"none"!=i&&(e&&!We.isEmpty(e)&&(t.backgroundConfig=We.dpm(l,e)),Ks(a,l,i))},resetBG:()=>{const e=we.el("#styleBackground");e&&e.remove()},initSpinner:e=>{e&&(t.spinnerConfig=We.dpm(t.spinnerConfig,e)),Js(t.spinnerConfig)},resetAdaptiveConfig:()=>{t.globalState.portletCounter=0,t.globalConfig.adaptive="disabled",t.adaptiveConfig.inited=!1,t.adaptiveConfig.resizeCounter=0,qt.adpt.reset();const e=we.el("#styleAdaptive");e&&e.remove()},initI18n:async()=>{let e=h(),A=VA.load();A?A.value!=e&&qo(A.value):("cn"==e?await import("@techui/locales/cn"):"hk"==e?await import("@techui/locales/hk"):await import("@techui/locales/en"),A=VA.load()),We.isEmpty(A)||(t.locale=A.data),q()},i18n:y,getSysLang:h,tConsolei18n:(e,A,t,a=!0)=>{if(!e||!A||!t)return void console.warn("tConsolei18n: Missing required parameters");const l=y(e+".label"),i=y(t);wo.s(e,A,`${l}:${i}`,a)},controlPanelToggle:()=>{t.controlPanel.visible=!t.controlPanel.visible},maximizeToggle:()=>{t.globalState.maximize=!t.globalState.maximize},toggleSider:()=>{t.globalState.siderCollapse=!t.globalState.siderCollapse},initResizeBy:()=>m((()=>e=>"self"===e||"none"===e?e:"global"===e?t.globalConfig.resizeBy:void 0)),openEnc:iA,openDec:lA,tStoreCrypto:el,audio:Ys,initDebug:q}},eo=Object.assign({name:"TuiTag"},{__name:"index",props:{tuiService:{type:Object,default:null},type:{type:String,default:"default",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},size:{type:String,default:"default",validator:e=>["default","small","large"].includes(e)},tone:{type:String,default:"base",validator:e=>["strong","weak","base"].includes(e)},round:{type:Boolean,default:!1},customColor:{type:[String,Array],default:null,validator:e=>"string"==ve(e)?CSS.supports("color",e):"array"==ve(e)?e.length>0&&e.every((e=>CSS.supports("color",e))):void 0}},setup(e){const A=e,{proxy:t}=De(),a=m((()=>t.$tService?.$gThemeScheme?.value||A.tuiService?.$gThemeScheme?.value)),l=m((()=>{const e=A.customColor;if(!e)return;let t=xe.genColors(e,7,50);return"dark"==a.value&&(t=t.reverse()),ie("custom",xe.genColorObj(t))}));return(A,t)=>(r(),h("span",{class:S(["tui-tag",`tui-type-${e.customColor?"custom":e.type}`,`tui-size-${e.size}`,`tui-tone-${e.tone}`,"tui-shape-"+(e.round?"round":"react")]),style:X(e.customColor?l.value:null)},[H(A.$slots,"default")],6))}}),to={eventTarget:{type:[Object,Element],default:null},menus:{type:Array,default:()=>[]},className:{type:String,default:""},uid:String,placement:{type:String,default:"bottom-start",validator:e=>["left-start","left","left-end","top-start","top","top-end","bottom-start","bottom","bottom-end","right-start","right","right-end"].includes(e)},offset:{type:Number,default:8},zIndex:{type:Number,default:2e3},maxWidth:{type:Number,default:200},defaultOn:{type:Boolean,default:!1},destroy:{type:Function,default:null},tuiService:{type:Object,default:null},menuClick:{type:Function,default:null},tagConfig:Object},Al=["id"],ol=["title","onClick"],al={class:"tui-mi-label"},sl={key:1,class:"tui-mi-desc"},ll={key:0,class:"tui-ml-divider"},Ao=Object.assign({name:"TuiMenuBase"},{__name:"base",props:{...to},setup(e,{expose:A}){const t=e,i=C(null),o=C(!1),n=C(!1);I(o,(e=>{e&&!n.value&&c()}));const s=m((()=>{const e={};return t.zIndex&&(e["--tui-menu-z-index"]=t.zIndex),t.maxWidth&&(e["--tui-menu-max-width"]=t.maxWidth+"px"),e})),d=m((()=>t.eventTarget)),{floatingStyles:u,update:c}=Dt(d,i,{placement:t.placement,strategy:"fixed",middleware:[Pt(t.offset),Rt({padding:5,boundary:"viewport"}),zt({fallbackPlacements:["top-start","bottom-start","left-start","right-start"]})]}),p=C(!1),g=()=>{se.c("menuToggle"+t.uid),p.value=!0},V=()=>{p.value=!1};const f=()=>{n.value||(n.value=!0,o.value=!1,setTimeout((()=>{t.destroy&&t.destroy(),n.value=!1}),50))};return Ae((async()=>{if(await ee(),t.eventTarget&&i.value&&!n.value)try{c(),await ee(),n.value||(o.value=!0)}catch(e){console.error("Menu mount error:",e)}})),ze((()=>{n.value=!0})),A({getHoverState:()=>p.value,hide:f,update:c}),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{ref_key:"menuRef",ref:i,class:S(["tui-menu",e.className]),id:`tui-menu-${e.uid}`,style:X([s.value,l(u)]),onMouseenter:g,onMouseleave:V,onClick:A[0]||(A[0]=yt((()=>{}),["stop"]))},[(r(!0),h(U,null,Ve(e.menus,((e,A)=>(r(),h(U,{key:e.value||A},[a("div",{title:e.title,class:S(["menu-item",{"is-disabled":e.disabled}]),onClick:a=>function(e,A,a){e.disabled||n.value||(t.menuClick&&t.menuClick({item:e,index:A,event:a,target:t.eventTarget}),f())}(e,A,a)},[e.icon?(r(),h("i",{key:0,class:S(`tui-mi-icon ${e.icon}`)},null,2)):q("",!0),a("span",al,Q(e.label),1),e.description?(r(),h("span",sl,Q(e.description),1)):q("",!0),e.tagContent?(r(),L(eo,_e({key:2,ref_for:!0},{type:e.tagType||"primary",...t.tagConfig}),{default:E((()=>[ke(Q(e.tagContent),1)])),_:2},1040)):q("",!0)],10,ol),e.divider?(r(),h("div",ll)):q("",!0)],64)))),128))],46,Al),[[fe,o.value]])])),_:1}))}}),ut=ue([]),oo=e=>{if(e){const A=e.props.eventTarget;A&&A.destroy&&A.destroy(!0)}},il=e=>{ut.filter((A=>{const t=A.props.eventTarget;return t&&t!==e})).forEach((e=>{oo(e)}))},RA=e=>{"hover"===e.trigger?(ne.add(e,"mouseenter",e.mouseEvent,e.uid),ne.add(e,"mouseleave",e.mouseEvent,e.uid)):ne.add(e,e.trigger,e.mouseEvent,e.uid)},zA=e=>{"hover"===e.trigger?(ne.remove(e,"mouseenter",e.uid),ne.remove(e,"mouseleave",e.uid)):ne.remove(e,e.trigger,e.uid)},nl={mounted(e,A,t){if(!A||!A.value)return;const{trigger:a="contextmenu",delay:l=200,disabled:i=!1,menus:o=[],maxInstances:n=1,menuClick:s=null}=A.value||{},r=ce("menuDir");e.trigger=a,e.disabled=i,e.maxInstances=n,e.menuClick=s,e.uid=r,t.ctx;const d=t.ctx.appContext.app,{$tService:u}=d.config.globalProperties||{},{$optFloaterTo:c}=u;e.appendTo=A.value.appendTo||c.value;let p=null;e.instance=null,e.isDestroyed=!1;const g=(A=!1)=>{if(!e.instance||e.isDestroyed)return;e.instance.component&&e.instance.component.exposed&&e.instance.component.exposed.hide(),e.isDestroyed=!0;const t=ut.indexOf(e.instance);-1!==t&&ut.splice(t,1),setTimeout((()=>{p&&e.rootDom&&(Re(null,p),e.rootDom.contains(p)&&e.rootDom.removeChild(p)),p=null,e.instance=null,e.rootDom=null,e.isDestroyed=!1}),500)};e.destroy=g;e.mouseEvent=t=>{if(se.c(r+"_toggle"),t&&"contextmenu"===t.type&&"contextmenu"===a&&(t.preventDefault(),t.stopPropagation()),e.isDestroyed)return;const i=null===e.instance&&(!t||"click"===t.type||"mouseenter"===t.type||"contextmenu"===t.type),o=e.instance&&(!t||"click"===t.type||"mouseleave"===t.type||"contextmenu"===t.type);se.s(r+"_toggle",(()=>{if(i){if(e.disabled)return;(t=>{if(!e.instance&&!e.isDestroyed){if(ut.length>=e.maxInstances){const e=ut[0];e&&oo(e)}1===e.maxInstances&&il(e),A.value,p=document.createElement("div"),p.id="menuinst_"+r,p.className="menu-inst-outer",e.instance=Ue(Ao,{...e.options||A.value,uid:r,destroy:g,tuiService:u,eventTarget:e,menuClick:e.menuClick}),e.options||(e.options=A.value),e.rootDom=we.el(e.appendTo)||we.el("#tuiRoot"),ut.push(e.instance),e.rootDom.appendChild(p),Re(e.instance,p)}})()}else o&&g()}),l)},RA(e);const V=I((()=>u.$globalState.value.clickCounter),(A=>{if(!ut.find((A=>A.props.eventTarget===e)))return;const t=we.el(`#tui-menu-${r}`);!e||e.isDestroyed||t&&t.contains(A.target)||e.contains&&e.contains(A.target)||e.mouseEvent&&e.mouseEvent({type:"click"})})),f=I((()=>u.$globalState.value.escCounter),(e=>{g()})),v=I((()=>u.$optFloaterTo.value),((t,a)=>{e.appendTo=A.value.appendTo||t}));e.clickUnwatch=V,e.escUnwatch=f,e.floaterUnwatch=v},updated(e,A){!A||e.isDestroyed||(e.options=A.value,e.menuClick=A.value.menuClick,A.value.maxInstances!==A.oldValue?.maxInstances&&(e.maxInstances=A.value.maxInstances||1),A.value.trigger!==A.oldValue?.trigger&&(zA(e),e.trigger=A.value.trigger,RA(e)),A.value.disabled!==A.oldValue?.disabled&&(e.disabled=A.value.disabled))},unmounted(e,A){e.mouseEvent&&!e.isDestroyed&&(e.clickUnwatch&&e.clickUnwatch(),e.escUnwatch&&e.escUnwatch(),e.floaterUnwatch&&e.floaterUnwatch(),zA(e),e.instance&&e.destroy&&e.destroy(),se.c(e.uid+"_toggle"),delete e.mouseEvent,delete e.trigger,delete e.destroy,delete e.options,delete e.disabled,delete e.isDestroyed,delete e.maxInstances,delete e.menuClick,delete e.uid,delete e.appendTo)}},ct=Object.assign({name:"TuiTyped"},{__name:"index",props:{appearance:{type:String,default:"background",validator:e=>["background","text","line","none"].includes(e)},type:{type:String,default:"default",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},tone:{type:String,default:"base",validator:e=>["extremeInvert","strongInvert","strong","base","weak"].includes(e)},transparent:{type:Boolean,default:!1},backgroundBlur:{type:Boolean,default:!0},hasShadow:{type:Boolean,default:!0},shadowColor:{type:String,default:"weak",validator:e=>["weakest","weaker","weak","base","strong","stronger","strongest","match"].includes(e)},linePosition:{type:String,default:"top",validator:e=>["top","right","bottom","left"].includes(e)},lineThickness:Number,customColor:{type:[String,Array],default:null,validator:e=>"string"==ve(e)?CSS.supports("color",e):"array"==ve(e)?e.length>0&&e.every((e=>CSS.supports("color",e))):void 0},tuiService:Object},setup(e){const{proxy:{$slots:A,$tService:t}}=De(),l=e;let i;i=l.tuiService?l.tuiService.$gThemeScheme:t.$gThemeScheme;const o=m((()=>"background"==l.appearance||"strongInvert"!=l.tone&&"extremeInvert"!=l.tone?l.tone:"strong")),n=m((()=>ie("cpt-typed",{..."line"==l.appearance&&l.lineThickness&&{bdw:l.lineThickness+"px"}}))),s=ue({colorArr:null,colorObj:null}),d=()=>{if(!s.colorArr)return;const e="background"==l.appearance&&l.transparent;s.colorObj=xe.genColorObj(s.colorArr,e?[.9,.8,.7,.5]:null)};I((()=>[l.appearance,l.transparent,l.customColor]),(()=>{l.customColor&&d()}));const u=m((()=>s.colorObj?ie("custom",s.colorObj):null));return Ae((()=>{l.customColor&&(()=>{const e=l.customColor;if(!e)return;let A=xe.genColors(e,7,50);"dark"==i.value&&(A=A.reverse()),s.colorArr=A,d()})()})),(A,t)=>(r(),L(pe,{name:"fade"},{default:E((()=>[a("div",{class:S(["tui-typed",`tui-typed-${e.appearance}`,"none"!=e.appearance&&`tui-type-${e.customColor?"custom":e.type}`,,"none"!=e.appearance&&`tui-tone-${o.value}`,"line"==e.appearance&&`tui-pos-${e.linePosition}`,"background"==e.appearance&&e.hasShadow&&`tui-shadow-${e.shadowColor}`,"background"==e.appearance&&""+(e.transparent?"is-trans":"is-plain"),"background"==e.appearance&&{"is-blur-bg":e.transparent&&e.backgroundBlur}]),style:X([n.value,e.customColor?u.value:null])},[H(A.$slots,"default")],6)])),_:3}))}}),ao={id:String,className:String,title:String,tuiService:Object,component:Object,zIndex:Number,maxWidth:Number,frequency:Number,appendTo:String,destroy:Function,eventTarget:[HTMLElement,SVGPathElement],placement:{type:String,default:"bottom-start",validator:e=>["top-start","top-end","bottom-start","bottom-end"].includes(e)},type:{type:String,default:"invert",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},content:{type:String,required:!0},delay:{type:Number,default:500},offset:{type:Array,validator:e=>!(!Array.isArray(e)||2!==e.length)&&e.every((e=>"number"==typeof e))},transparent:{type:Boolean,default:!0},backgroundBlur:{type:Boolean,default:!0},tone:{type:String,default:"base",validator:e=>["extremeInvert","strongInvert","strong","base","weak"].includes(e)},hasShadow:{type:Boolean,default:!1},shadowColor:{type:String,default:"weak",validator:e=>["weakest","weaker","weak","base","strong","stronger","strongest","match"].includes(e)},disabled:{type:Boolean,default:!1},caretSize:{type:Number,default:5},caretOffset:{type:Number,default:2},typedConfig:Object},rl=["id"],ul={key:0,class:"tip-title"},dl={class:"tip-content"},so=Object.assign({name:"TuiCursorTipBase"},{__name:"cursorTip-base",props:{...ao,info:{type:Object,required:!0,default:{x:0,y:0,visible:!1}}},setup(e,{expose:A}){const{proxy:{$tService:t}}=De(),i=e,o=m((()=>i.tuiService||t));I((()=>o.value.$gEscCounter.value),(e=>{e&&i.destroy()}));const n=C(null),s=C(!1),d=m((()=>ie("cpt-curtip",{...i.zIndex&&{zIndex:i.zIndex},...i.maxWidth&&{maxWidth:i.maxWidth+"px"},...i.caretSize&&{caretSize:i.caretSize+"px"},...Fe.isNEG0(i.caretOffset)&&{caretOffset:i.caretOffset+"px"}}))),u=C({x:0,y:0}),c=m((()=>({getBoundingClientRect:()=>({width:0,height:0,x:u.value.x,y:u.value.y,top:u.value.y,left:u.value.x,right:u.value.x,bottom:u.value.y})}))),{floatingStyles:p,placement:g,update:V}=Dt(c,n,{placement:i.placement,strategy:"fixed",middleware:[Pt((({placement:e})=>{let A=1,t=1;if(i.appendTo?.includes("tuiAdpt")){const{scaleX:e,scaleY:a}=qt.adpt.info;A=e,t=a}switch(e){case"top-start":return{mainAxis:0,crossAxis:0};case"top-end":return{mainAxis:0,crossAxis:0};case"bottom-start":return{mainAxis:20/A,crossAxis:10/t};case"bottom-end":return{mainAxis:20/A,crossAxis:10/t};default:return{mainAxis:0,crossAxis:0}}})),zt(),Rt({padding:8,boundary:"viewport"})]}),f=m((()=>g.value||i.placement)),v=(e,A)=>{u.value={x:e,y:A},V()};I((()=>i.info),(e=>{v(e.x,e.y),e.visible&&!s.value?s.value=!0:!e.visible&&s.value&&(s.value=!1)}),{deep:!0}),I(s,(e=>{e&&V()}));const y=C({tuiService:i.tuiService,appearance:"background",type:m((()=>i.type)),tone:m((()=>i.tone)),transparent:m((()=>i.transparent)),backgroundBlur:m((()=>i.backgroundBlur)),hasShadow:m((()=>i.hasShadow)),shadowColor:m((()=>i.shadowColor)),...i.typedConfig});Ae((()=>{n.value&&(v(i.info.x,i.info.y),ee((()=>{s.value=!0})))}));return ze((()=>{})),A({hide:()=>{s.value=!1},updatePos:v}),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[a("div",{ref_key:"curtipRef",ref:n,class:S(["tui-cursor-tip",`curtip-${f.value}`]),id:`curtip-${e.id}`,style:X([d.value,l(p)])},[re(K(ct,tt(At(y.value)),{default:E((()=>[A[0]||(A[0]=a("div",{class:"tip-caret"},null,-1)),e.title?(r(),h("div",ul,Q(e.title),1)):q("",!0),H(e.$slots,"content",{},(()=>[a("div",dl,Q(e.content),1)]))])),_:3},16),[[fe,s.value]])],14,rl)])),_:3}))}}),MA=e=>{e.mouseEvent=!0,ne.add(e,"mouseenter",e.show,e.id),ne.add(e,"mouseleave",e.hide,e.id),ne.add(e,"mousemove",e.update,e.id)},xA=e=>{ne.remove(e,"mouseenter",e.id),ne.remove(e,"mouseleave",e.id),ne.remove(e,"mousemove",e.id)},cl={mounted(e,A,t){if(!A)return;const{delay:a=500,disabled:l=!1}=A.value||{},i=ue({x:0,y:0,visible:!1}),o=t.ctx.appContext.app,{$tService:n}=o.config.globalProperties,{$optFloaterTo:s}=n;e.appendTo=A.value.appendTo||s.value;let r=null,d=null;e.disabled=l,e.instance=null,e.id=ce("curtipDir");const u=()=>{e.instance&&(e.instance.component.exposed.hide(),setTimeout((()=>{r&&(Re(null,r),d.contains(r)&&d.removeChild(r),r=null,e.instance=null)}),500))};e.destroy=u;const c=A=>{e.disabled||(A&&(i.x=A.clientX,i.y=A.clientY),e.instance&&(i.visible=!0))};e.show=t=>{e.disabled||se.s(e.id+"_ti",(()=>{e.instance||(r=document.createElement("div"),r.id=e.id+"_inst",r.className="curtipinst-outer",e.instance=Ue(so,{...e.options||A.value,id:e.id,eventTarget:e,info:i,tuiService:n,destroy:u,appendTo:e.appendTo}),e.options||(e.options=A.value),d=we.el(e.appendTo)||we.el("#tuiRoot"),d.appendChild(r),Re(e.instance,r)),c()}),a)},e.hide=()=>{i.visible=!1,se.c(e.id+"_ti"),u()},e.update=c,l||MA(e);const p=I((()=>n.$optFloaterTo.value),((t,a)=>{e.appendTo=A.value.appendTo||t}));e.floaterUnwatch=p},updated(e,A){A&&(e.options=A.value,A.value.disabled!=A.oldValue?.disabled&&(e.mouseEvent&&(xA(e),e.mouseEvent=!1),e.disabled=A.value.disabled,e.disabled?e.destroy():MA(e)))},unmounted(e,A){e.mouseEvent&&(e.floaterUnwatch&&e.floaterUnwatch(),xA(e),e.instance&&e.destroy&&e.destroy(),delete e.mouseEvent,delete e.destroy,delete e.show,delete e.hide,delete e.id,delete e.update,delete e.appendTo,delete e.options,delete e.disabled)}},Mt={id:String,className:String,appendTo:String,title:String,titleIcon:String,tuiService:Object,component:Object,instances:Object,destroy:Function,event:[Function,PointerEvent,Object],eventTarget:[HTMLElement,SVGPathElement],autoClose:Boolean,showTrigger:Boolean,zIndex:Number,maxWidth:Number,placement:{type:String,default:"top",validator:e=>["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"].includes(e)},type:{type:String,default:null,validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},appearance:{type:String,default:"poptip",validator:e=>["poptip","popinfo"].includes(e)},trigger:{type:String,default:"hover",validator:e=>["hover","click"].includes(e)},debug:{type:Boolean,default:!1},content:{type:String,required:!1},enterable:{type:Boolean,default:!1},delay:{type:Number,default:500},offset:{type:Number,default:8},duration:{type:Number,default:3e3},defaultOn:{type:Boolean,default:!1},showArrow:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},transparent:{type:Boolean,default:!0},backgroundBlur:{type:Boolean,default:!0},tone:{type:String,default:"base",validator:e=>["extremeInvert","strongInvert","strong","base","weak"].includes(e)},hasShadow:{type:Boolean,default:!0},shadowColor:{type:String,default:"weak",validator:e=>["weakest","weaker","weak","base","strong","stronger","strongest","match"].includes(e)},typedConfig:Object},pl=["id"],fl={key:0,class:"popinfo-title"},uA=Object.assign({name:"TuiPopinfoBase"},{__name:"popinfo-base",props:{...Mt,enterable:{type:Boolean,default:!0}},setup(e,{expose:A}){const{proxy:{$tService:t}}=De(),i=e,o=m((()=>i.tuiService||t));I((()=>o.value.$gEscCounter.value),(e=>{e&&i.destroy()}));const n=C(null),s=C(null),d=C(!1),u=m((()=>ie("cpt-pinfo",{...i.zIndex&&{zIndex:i.zIndex},...i.maxWidth&&{maxWidth:i.maxWidth+"px"}}))),c=m((()=>i.eventTarget)),{placement:p,update:g,middlewareData:V,x:f,y:v}=Dt(c,n,{placement:i.placement,strategy:"fixed",middleware:[Pt(i.offset+2),zt({}),Rt({padding:5,boundary:"viewport"}),KA({element:s,padding:4})]}),y=C({});I([()=>V.value,()=>f.value,()=>v.value,()=>p.value],(([e,A,t,a])=>{if(A<20&&t<20)B();else if(y.value={position:"fixed",left:`${A}px`,top:`${t}px`},e.arrow&&s.value){const{x:A,y:t}=e.arrow,l={top:"bottom",right:"left",bottom:"top",left:"right"}[a.split("-")[0]];s.value.style.left="",s.value.style.top="",s.value.style.right="",s.value.style.bottom="",null!==A&&(s.value.style.left=`${A}px`),null!==t&&(s.value.style.top=`${t}px`),s.value.style[l]="-16px",s.value.setAttribute("data-placement",a)}})),I(d,(e=>{e&&g()}));const b=C({tuiService:i.tuiService,appearance:"background",type:m((()=>i.type||"default")),tone:m((()=>i.tone)),transparent:m((()=>i.transparent)),backgroundBlur:m((()=>i.backgroundBlur)),hasShadow:m((()=>i.hasShadow)),shadowColor:m((()=>i.shadowColor)),...i.typedConfig}),w=C(!1),x=()=>{w.value=!0,"hover"==i.trigger&&se.c(i.id+"_hide")},k=()=>{w.value=!1,"hover"==i.trigger&&i.destroy&&i.destroy()};Ae((()=>{i.eventTarget&&n.value&&(g(),ee((()=>{d.value=!0})))}));const B=()=>{d.value=!1};return ze((()=>{})),A({getHoverState:()=>w.value,hide:B,update:g}),(A,t)=>(r(),L(pe,{name:"fade"},{default:E((()=>[a("div",{ref_key:"popinfoRef",ref:n,class:S(["tui-popinfo",`popinfo-plac-${l(p)}`,{"is-enterable":e.enterable,"is-hideArrow":!A.showArrow}]),id:`popinfo-${A.id}`,style:X([u.value,y.value]),onMouseenter:x,onMouseleave:k},[re(K(ct,tt(At(b.value)),{default:E((()=>[a("div",{class:"popinfo-arrow",ref_key:"arrowRef",ref:s},null,512),A.title?(r(),h("div",fl,[A.titleIcon?(r(),h("i",{key:0,class:S(`popinfo-icon ${A.titleIcon}`)},null,2)):q("",!0),ke(" "+Q(A.title),1)])):q("",!0),i.component?(r(),L(st(i.component),{key:1})):H(A.$slots,"content",{key:2},(()=>[ke(Q(A.content),1)]))])),_:3},16),[[fe,d.value]])],46,pl)])),_:3}))}}),gl=["id"],hl={name:"poptip-content"},dA=Object.assign({name:"TuiPoptipBase"},{__name:"poptip-base",props:{...Mt},setup(e,{expose:A}){const{proxy:{$tService:t}}=De(),i=e,o=m((()=>i.tuiService||t));I((()=>o.value.$gEscCounter.value),(e=>{e&&i.destroy()}));const n=C(null),s=C(null),d=C(!1),u=m((()=>ie("cpt-ptip",{...i.zIndex&&{zIndex:i.zIndex},...i.maxWidth&&{maxWidth:i.maxWidth+"px"}}))),c=m((()=>i.eventTarget)),{placement:p,cleanup:g,update:V,middlewareData:f,x:v,y:h}=Dt(c,n,{placement:i.placement,strategy:"fixed",middleware:[Pt(i.offset),Rt({padding:5,boundary:"viewport"}),zt({}),KA({element:s,padding:4})]}),y=C({});I([()=>f.value,()=>v.value,()=>h.value,()=>p.value],(([e,A,t,a])=>{if(A<20&&t<20)k();else if(y.value={position:"fixed",left:`${A}px`,top:`${t}px`},e.arrow&&s.value){const{x:A,y:t}=e.arrow,l={top:"bottom",right:"left",bottom:"top",left:"right"}[a.split("-")[0]];s.value.style.left="",s.value.style.top="",s.value.style.right="",s.value.style.bottom="",null!==A&&(s.value.style.left=`${A}px`),null!==t&&(s.value.style.top=`${t}px`),s.value.style[l]="-12px",s.value.setAttribute("data-placement",a)}})),I(d,(e=>{e&&V()}));const b=C({tuiService:i.tuiService,appearance:"background",type:m((()=>i.type||"invert")),tone:m((()=>i.tone)),transparent:m((()=>i.transparent)),backgroundBlur:m((()=>i.backgroundBlur)),hasShadow:m((()=>i.hasShadow)),shadowColor:m((()=>i.shadowColor)),...i.typedConfig}),q=C(!1),w=()=>{q.value=!0,"hover"==i.trigger&&se.c(i.id+"_hide")},x=()=>{q.value=!1,"hover"==i.trigger&&i.destroy&&i.destroy()};Ae((async()=>{await ee(),i.eventTarget&&n.value&&s.value&&(await ee(),d.value=!0)}));const k=()=>{d.value=!1};return ze((()=>{})),A({getHoverState:()=>q.value,hide:k,update:V}),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[a("div",{ref_key:"poptipRef",ref:n,class:S(["tui-poptip",`poptip-plac-${l(p)}`,e.className,{"is-enterable":e.enterable,"is-hideArrow":!e.showArrow}]),id:`poptip-${e.id}`,style:X([u.value,y.value]),onMouseenter:w,onMouseleave:x},[re(K(ct,tt(At(b.value)),{default:E((()=>[a("div",{class:"poptip-arrow",ref_key:"arrowRef",ref:s},null,512),a("div",hl,Q(e.content),1)])),_:1},16),[[fe,d.value]])],46,gl)])),_:1}))}}),Je=ue([]),vl=()=>{const e=[...Je];e.length>0&&(e.forEach((e=>{const A=e.props.eventTarget;A&&A.instance&&A.destroy&&A.destroy(!0)})),Je.length=0)},Vl=()=>{if(0===Je.length)return;const e=Je[0].props.eventTarget;e&&e.instance&&e.destroy&&e.destroy()},OA=e=>{e.defaultOn?e.mouseEvent():"hover"===e.trigger?(ne.add(e,"mouseenter",e.mouseEvent,e.id),ne.add(e,"mouseleave",e.mouseEvent,e.id)):"click"===e.trigger&&ne.add(e,"click",e.mouseEvent,e.id)},IA=e=>{e.defaultOn||("hover"===e.trigger?(ne.remove(e,"mouseenter",e.id),ne.remove(e,"mouseleave",e.id)):"click"===e.trigger&&ne.remove(e,"click",e.id))},ml={mounted(e,A,t){if(!A)return;const{trigger:a="hover",delay:l=500,autoClose:i=!0,duration:o=5e3,defaultOn:n=!1,disabled:s=!1}=A.value||{};e.disabled=s,e.trigger=a,e.autoClose=i;const r=t.ctx.appContext.app,{$tService:d}=r.config.globalProperties,{$popoverConfig:u}=d,{$optFloaterTo:c}=d;e.appendTo=A.value.appendTo||c.value;const p=ce("popOverDir");let g=null,V=null;e.instance=null,e.id=p;const f=(A=!1)=>{se.s(p+"_hide",(()=>{if(!e.instance)return;const t=Je.indexOf(e.instance);e.instance.component.exposed.hide(),-1!==t&&(A||Je.splice(t,1),se.s(p+"_hideEnd",(()=>{g&&(Re(null,g),V.contains(g)&&V.removeChild(g),g=null,e.instance=null)}),500))}),200)};e.destroy=f;e.mouseEvent=t=>{if(se.c(p+"_show"),se.c(p+"_hide"),null!==e.instance||t&&"click"!=t.type&&"mouseenter"!=t.type)e.instance&&(!t||"click"==t.type||"mouseleave"==t.type)&&f();else{if(e.disabled)return;se.s(p+"_show",(()=>{(t=>{if(e.instance)return;A.value;const{appearance:a}=A.value;let l=a||"poptip";g=document.createElement("div"),g.id=p+"_wrap",g.className="popinst-outer",Je.length>=u.value.maxLength&&Vl(),e.instance=Ue("poptip"===l?dA:uA,{...e.options||A.value,id:p,destroy:f,tuiService:d,instances:Je,eventTarget:e,trigger:e.trigger}),e.options||(e.options=A.value),V=we.el(e.appendTo)||we.el("#tuiRoot"),Je.push(e.instance),V.appendChild(g),Re(e.instance,g),"click"===e.trigger&&e.autoClose&&!n&&se.s(p+"_autoH",(()=>{f()}),o)})()}),l)}},e.defaultOn=n,s||OA(e);const v=I((()=>d.$optFloaterTo.value),((t,a)=>{e.appendTo=A.value.appendTo||t}));e.floaterUnwatch=v},updated(e,A){if(!A)return;e.options=A.value;const t=A.value.trigger!=A.oldValue?.trigger,a=A.value.disabled!=A.oldValue?.disabled;(t||a)&&(se.c(e.id+"_show"),e.destroy?.(),IA(e)),t&&(e.trigger=A.value.trigger),a&&(e.disabled=A.value.disabled,e.disabled&&e.destroy?.()),(t||a)&&!e.disabled&&OA(e),A.value.autoClose!=A.oldValue?.autoClose&&(e.autoClose=A.value.autoClose)},unmounted(e,A){e.mouseEvent&&(e.floaterUnwatch&&e.floaterUnwatch(),IA(e),e.instance&&e.destroy&&e.destroy(),delete e.mouseEvent,delete e.trigger,delete e.autoClose,delete e.defaultOn,delete e.destroy,delete e.appendTo,delete e.options,delete e.disabled,delete e.id)}},yl={install(e){e.config.globalProperties.$tPopoverDirectiveCloseAll=()=>vl()}},bl=(e,A=!1)=>{let t=1,a=1;if(A){const{scaleX:e,scaleY:A}=qt.adpt.info;t=e,a=A}const l=e.style.transform;e.style.transform="";const i=e.getBoundingClientRect(),o=e.parentElement.getBoundingClientRect(),n=i.left-o.left,s=i.top-o.top;return e.style.transform=l,{minX:-n/t,minY:-s/a,maxX:(o.width-i.width-n)/t,maxY:(o.height-i.height-s)/a}},ql=(e,A)=>{const t="absolute"==A?e.offsetParent:e.parentElement;return{minX:0,minY:0,maxX:t.clientWidth-e.offsetWidth,maxY:t.clientHeight-e.offsetHeight}},wl=(e,A,t=!1)=>{let a=1,l=1;if(t){const{scaleX:e,scaleY:A}=qt.adpt.info;a=e,l=A}const i=e.getBoundingClientRect();if("transform"===A){const A=window.getComputedStyle(e),t=new DOMMatrix(A.transform);return{startX:t.m41*a,startY:t.m42*l}}{const t=("absolute"==A?e.offsetParent:e.parentElement)?.getBoundingClientRect()||{left:0,top:0};return{startX:i.left-("transform"!=A?t.left:0),startY:i.top-("transform"!=A?t.top:0)}}},$l=({el:e,e:A,mouseStartX:t,mouseStartY:a,startX:l,startY:i,positionType:o,boundaries:n,inAdpt:s})=>{let r=1,d=1;if(s){const{scaleX:e,scaleY:A}=qt.adpt.info;r=e,d=A}let u=(l+(A.clientX-t))/r,c=(i+(A.clientY-a))/d;n&&(u=Math.min(n.maxX,Math.max(n.minX,u)),c=Math.min(n.maxY,Math.max(n.minY,c))),"transform"===o?e.style.transform=`translate(${u}px, ${c}px)`:(e.style.left=`${u}px`,e.style.top=`${c}px`)},Cl={mounted(e,A){if(!A)return;const t=A=>{const{containment:t=!0,inAdpt:a=!1,enabled:l=!0,positionType:i="transform",resetOnDisable:o=!1,uid:n}=A;e.enabled=l,e.resetOnDisable=o;const s=A?.trigger?e.querySelector(A.trigger):e;if(!e.enabled)return e.resetOnDisable?e.style="":e.style.cursor="",s&&(s.style.cursor=""),void(e.onmousedown=null);if(!s)return;s.style.cursor="move";s.onmousedown=l=>{if(!e.enabled)return;if(A?.exclude){const e=s.querySelector(A.exclude);if(e&&(l.target===e||e.contains(l.target)))return}let o=null;t&&(o="transform"===i?bl(e,a):ql(e,i));const{startX:r,startY:d}=wl(e,i,a),u=l.clientX,c=l.clientY;ne.add(document,"mousemove",(A=>{$l({el:e,e:A,mouseStartX:u,mouseStartY:c,startX:r,startY:d,positionType:i,boundaries:o,inAdpt:a})}),n),ne.add(document,"mouseup",(()=>{ne.remove(document,"mousemove",n),ne.remove(document,"mouseup",n)}),n),l.preventDefault()}};t(A.value),e.dragUpdate=t},updated(e,A){A&&(We.isEq(A.value,A.oldValue)||e.dragUpdate?.(A.value))},unmounted(e){e.onmousedown=null,delete e.dragUpdate}};function EA(e){!e.disabled&&e.callback&&UA.o(e,(A=>{for(let t of A){const{width:A,height:a}=t.contentRect;e.callback({width:A,height:a})}}),e.duration)}function NA(e){UA.d(e)}const kl={mounted(e,A){if(ve(A.value).includes("function"))e.disabled=!1,e.uid=null,e.cid=null,e.duration=200,e.callback=A.value;else if("object"==ve(A.value)){e.disabled=A.value.disabled||!1,e.uid=A.value.uid||ce("vResize"),e.duration=A.value.duration||200,e.callback=A.value.callback;const t=A.value.cid;t&&"string"==ve(t)&&!t.includes("Error")&&HA(t,e.className)}EA(e)},updated(e,A){const t=e.disabled;ve(A.value).includes("function")?(e.disabled=!1,e.callback=A.value):"object"==ve(A.value)&&(e.disabled=A.value.disabled||!1,e.callback=A.value.callback),t!==e.disabled&&(e.disabled?NA(e):EA(e))},unmounted(e){NA(e)}},Tl={mounted(e,A){const t=A.value;"string"==ve(t)&&!t.includes("Error")&&HA(t,e.className)},unmounted(e){}},Kt={tuiService:Object,destroy:Function,className:String,spreadRadius:Number,blurRadius:Number,queueOffset:Number,content:{type:String,required:!0},id:{type:String,required:!0},icon:{type:String},hideIcon:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},debug:{type:Boolean,default:!1},calledByFlash:{type:Boolean,default:!1},grouping:{type:Boolean,default:!1},transparent:{type:Boolean,default:!0},backgroundBlur:{type:Boolean,default:!0},hasShadow:{type:Boolean,default:!0},shadowColor:{type:String,default:"weak",validator:e=>["weakest","weaker","weak","base","strong","stronger","strongest","match"].includes(e)},tone:{type:String,default:"base",validator:e=>["extremeInvert","strongInvert","strong","base","weak"].includes(e)},aniType:{type:String,default:"soft",validator:e=>["soft","sudden"].includes(e)},appearance:{type:String,default:"toast",validator:e=>["message","toast"].includes(e)},queuePosition:{type:String,validator:e=>["top","top-left","top-right","left","right","bottom","bottom-left","bottom-right"].includes(e)},type:{type:String,default:"info",validator:e=>["primary","success","warning","danger","error","info","emphasis","focus"].includes(e)},typedConfig:Object},Sl={key:0,class:"tui-icon ti-info-circle"},Bl={key:1,class:"tui-icon ti-check-circle"},_l={key:2,class:"tui-icon ti-alert-circle"},Dl={key:3,class:"tui-icon ti-alert-triangle"},Pl={key:2,class:"debug"},Rl={key:4,class:"repeat-num"},zl=Object.assign({name:"TuiMessage"},{__name:"index",props:{...Kt,debug:{type:Boolean,default:!1},position:{type:String}},setup(e,{expose:A}){const t=ue({index:0,content:"",id:"",repeat:1}),l=e,i=m((()=>"error"==l.type?"danger":l.type)),{offset:o}=l.tuiService.$aMessage.value,n=C(!1),s=(e,A=!1)=>{se.c(l.id),l.destroy(A)},d=()=>{const{position:e}=l;let A=Le[e].findIndex((e=>e.component.props.id===l.id));t.index=A};I((()=>Le[l.position]),(e=>{d()}),{deep:!0}),I((()=>l.tuiService.$gEscCounter.value),(e=>{e&&!l.calledByFlash&&s()}));const u=()=>{l.tuiService.$aMessage.value.counter-=1},c=m((()=>ie("cpt-msg",{offset:o,index:t.index}))),p=C({tuiService:l.tuiService,appearance:"background",type:i,tone:m((()=>l.tone)),transparent:m((()=>l.transparent)),backgroundBlur:m((()=>l.backgroundBlur)),hasShadow:m((()=>l.hasShadow)),shadowColor:m((()=>l.shadowColor)),...l.typedConfig});return Ae((()=>{l.calledByFlash||l.tuiService.$gSound.value&&l.tuiService.audio.play("popupA"),l.tuiService.$aMessage.value.counter+=1,d(),n.value=!0,t.content=l.content})),A({hide:()=>{n.value=!1,u()},updateIndex:d,closeMessage:s,repeatAdd:()=>{t.repeat++}}),(A,l)=>(r(),L(pe,{name:"slide-fade"},{default:E((()=>[re(K(ct,_e(p.value,{class:["tui-message",`position-${e.position}`,`message-${A.id}`,`message-index-${t.index}`,A.className&&`${A.className}`],style:c.value}),{default:E((()=>[A.icon?q("",!0):(r(),h(U,{key:0},["info"==i.value||"primary"==i.value||"emphasis"==i.value?(r(),h("i",Sl)):q("",!0),"success"==i.value?(r(),h("i",Bl)):q("",!0),"warning"==i.value?(r(),h("i",_l)):q("",!0),"danger"==i.value?(r(),h("i",Dl)):q("",!0)],64)),A.icon?(r(),h("i",{key:1,class:S(A.icon)},null,2)):q("",!0),e.debug?(r(),h("span",Pl,Q(t.index+1)+":"+Q(A.id),1)):q("",!0),a("span",null,Q(A.content),1),A.showClose?(r(),h("i",{key:3,class:"close-message tui-icon ti-times",onClick:s})):q("",!0),t.repeat>1?(r(),h("span",Rl,Q(t.repeat),1)):q("",!0)])),_:1},16,["class","style"]),[[fe,n.value]])])),_:1}))}});ue([]);const Le=ue({"top-left":[],"top-center":[],"top-right":[],"bottom-left":[],"bottom-center":[],"bottom-right":[]}),Ml=(e,A)=>{const{$tService:t,$tNotifyCloseAll:a,$tAttentionDispatcher:l}=A.config.globalProperties,{position:i,duration:o}=t.$aMessage.value,{counter:n}=t.$aNotification.value,{show:s,currentChannel:r}=t.$aDispatcher.value,{$optFloaterTo:d}=t,u=e.appendTo||d.value;if(s||l(e),r&&"message"!=r&&!e.calledByFlash)return void t.$aDispatcher.value.queue.push({...e,attentionType:"message"});let c=null;const p=document.createElement("div"),g=ce("msgdir"),V=e.position||i||"top-center",f=A=>{if(c.component.exposed.hide(),!A){const e=Le[V].indexOf(c);Le[V].splice(e,1)}setTimeout((()=>{Re(null,p),ve(e.onClose).includes("function")&&e.onClose()}),500)},v=()=>{c=Ue(zl,{...e,position:V,id:g,destroy:f,tuiService:t}),Le[V].push(c),Re(c,p),(we.el(u)||we.el("#tuiRoot")).appendChild(p.firstElementChild),e.calledByFlash?e.calledByFlash&&e.duration&&se.s(g,f,e.duration):se.s(g,f,e.duration||o||3e3)};if(e.grouping){const A=Le[V].findIndex((A=>A.props.content===e.content));if(-1==A)v();else{const{id:t,destroy:a}=Le[V][A].props;Le[V][A].component.exposed.repeatAdd(),e.calledByFlash||se.s(t,a,e.duration||o||3e3)}}else v();return{destroy:f}},xl=()=>{for(let e in Le)Le[e].forEach(((e,A)=>{e.component.exposed.closeMessage(null,!0)})),Le[e]=[]},Ol={key:0,class:"tui-icon ti-info-circle"},Il={key:1,class:"tui-icon ti-check-circle"},El={key:2,class:"tui-icon ti-alert-circle"},Nl={key:3,class:"tui-icon ti-alert-triangle"},Gl={class:"notification-container"},Wl={class:"notification-title"},jl={class:"notification-content"},Fl={key:0,class:"debug"},Ql={key:2,class:"repeat-num"},Ll=Object.assign({name:"TuiNotification"},{__name:"index",props:{...Kt,title:{type:String},position:{type:String},debug:{type:Boolean,default:!1}},setup(e,{expose:A}){const t=C(),i=ue({index:0,title:"",content:"",id:"",repeat:1,offsetSum:1}),o=e,n=m((()=>"error"==o.type?"danger":o.type)),{offset:s}=o.tuiService.$aNotification.value,{content:d,title:u}=be(i),c=C(!1),p=(e,A=!1)=>{se.c(o.id),o.destroy(A)},g=()=>{const{position:e}=o;let A=Ne[e].findIndex((e=>e.component.props.id===o.id));i.index=A},V=()=>{const{position:e}=o,A=Ne[e].findIndex((e=>e.component.props.id===o.id));let t=10;if(A>-1)for(let a=0;a<Ne[e].length&&!(a>=A);a++)t+=Ne[e][a].el.offsetHeight+15;i.offsetSum=t};I((()=>Ne[o.position]),(e=>{g(),V()}),{deep:!0}),I((()=>o.tuiService.$gEscCounter.value),(e=>{e&&p()}));const f=()=>{o.tuiService.$aNotification.value.counter-=1},v=m((()=>ie("cpt-noti",{offset:s,index:i.index,offsetSum:i.offsetSum}))),y=C({tuiService:o.tuiService,appearance:"background",type:n,tone:m((()=>o.tone)),transparent:m((()=>o.transparent)),backgroundBlur:m((()=>o.backgroundBlur)),hasShadow:m((()=>o.hasShadow)),shadowColor:m((()=>o.shadowColor)),...o.typedConfig});return Ae((()=>{o.tuiService.$gSound.value&&o.tuiService.audio.play("popupA"),o.tuiService.$aNotification.value.counter+=1,g(),ee((()=>{V()})),c.value=!0,i.content=o.content,o.title?i.title=o.title:i.title=o.tuiService.i18n(n.value+".label")})),A({hide:()=>{c.value=!1,f()},updateIndex:g,closeNotification:p,repeatAdd:()=>{i.repeat++}}),(A,o)=>(r(),L(pe,{name:"slide-fade"},{default:E((()=>[re(K(ct,_e(y.value,{ref_key:"notificationRef",ref:t,class:["tui-notification",`position-${e.position}`,`notification-${A.id}`,`notification-index-${i.index}`,A.className&&`${A.className}`],style:v.value}),{default:E((()=>[A.icon?q("",!0):(r(),h(U,{key:0},["info"==n.value||"primary"==n.value||"emphasis"==n.value?(r(),h("i",Ol)):q("",!0),"success"==n.value?(r(),h("i",Il)):q("",!0),"warning"==n.value?(r(),h("i",El)):q("",!0),"danger"==n.value?(r(),h("i",Nl)):q("",!0)],64)),A.icon?(r(),h("i",{key:1,class:S(`notification-icon ${A.icon}`)},null,2)):q("",!0),a("div",Gl,[a("span",Wl,Q(l(u)),1),a("span",jl,Q(l(d)),1),e.debug?(r(),h("span",Fl,Q(i.index+1)+":"+Q(A.id),1)):q("",!0),A.showClose?(r(),h("i",{key:1,class:"close-notification tui-icon ti-times",onClick:p})):q("",!0),i.repeat>1?(r(),h("span",Ql,Q(i.repeat),1)):q("",!0)])])),_:1},16,["class","style"]),[[fe,c.value]])])),_:1}))}});ue([]);const Ne=ue({"top-left":[],"top-center":[],"top-right":[],"bottom-left":[],"bottom-center":[],"bottom-right":[]}),Ul=(e,A)=>{const{$tService:t,$tMessageCloseAll:a,$tAttentionDispatcher:l}=A.config.globalProperties,{position:i}=t.$aNotification.value,{counter:o}=t.$aMessage.value,{show:n,currentChannel:s}=t.$aDispatcher.value,{$optFloaterTo:r}=t,d=e.appendTo||r.value;if(n||l(e),s&&"notification"!=s)return void t.$aDispatcher.value.queue.push({...e,attentionType:"notification"});let u=null;const c=document.createElement("div"),p=ce("notidir"),g=e.position||i||"top-center",V=A=>{if(u.component.exposed.hide(),!A){const e=Ne[g].indexOf(u);Ne[g].splice(e,1)}setTimeout((()=>{Re(null,c),ve(e.onClose).includes("function")&&e.onClose()}),500)},f=()=>{u=Ue(Ll,{...e,position:g,id:p,destroy:V,tuiService:t}),Ne[g].push(u),Re(u,c),(we.el(d)||we.el("#tuiRoot")).appendChild(c.firstElementChild),e.duration&&se.s(p,V,e.duration)};if(e.grouping){const A=Ne[g].findIndex((A=>(e.title?A.props.title===e.title:!e.title)&&A.props.content===e.content));if(-1==A)f();else{const{id:t,destroy:a}=Ne[g][A].props;Ne[g][A].component.exposed.repeatAdd(),e.duration&&se.s(t,a,e.duration)}}else f();return{destroy:V}},Hl=()=>{for(let e in Ne)Ne[e].forEach(((e,A)=>{e.component.exposed.closeNotification(null,!0)})),Ne[e]=[]},Yl={key:0,class:"tui-icon ti-info-circle"},Kl={key:1,class:"tui-icon ti-check-circle"},Xl={key:2,class:"tui-icon ti-alert-circle"},Zl={key:3,class:"tui-icon ti-alert-triangle"},Jl={key:2,class:"toast-title"},ei={class:"toast-content"},ti={key:3,class:"close-toast"},Ai=Object.assign({name:"TuiToast"},{__name:"index",props:{title:String,...Kt,showClose:{type:Boolean,default:!1}},setup(e,{expose:A}){const t=ue({content:"",id:""}),l=e,i=m((()=>"error"==l.type?"danger":l.type)),{offsetX:o,offsetY:n}=l.tuiService.$aToast.value,s=C(!1);I((()=>l.tuiService.$gEscCounter.value),(e=>{e&&!l.calledByFlash&&d()}));const d=()=>{se.c(l.id),l.destroy()},u=m((()=>ie("cpt-toast",{offsetX:o,offsetY:n}))),c=C({tuiService:l.tuiService,appearance:"background",type:i,tone:m((()=>l.tone)),transparent:m((()=>l.transparent)),backgroundBlur:m((()=>l.backgroundBlur)),hasShadow:m((()=>l.hasShadow)),shadowColor:m((()=>l.shadowColor)),...l.typedConfig});return Ae((()=>{l.calledByFlash||l.tuiService.$gSound.value&&l.tuiService.audio.play("popupB"),s.value=!0,t.content=l.content,l.tuiService.$aToast.value.visible=!0})),A({hide:()=>{s.value=!1,l.tuiService.$aToast.value.visible=!1},closeToast:d}),(A,t)=>(r(),L(pe,{name:"slide-fade"},{default:E((()=>[re(K(ct,_e(c.value,{class:["tui-toast",`toast-${A.id}`,A.className&&`${A.className}`],style:u.value}),{default:E((()=>[A.icon||A.hideIcon?q("",!0):(r(),h(U,{key:0},["info"==i.value||"primary"==i.value||"emphasis"==i.value?(r(),h("i",Yl)):q("",!0),"success"==i.value?(r(),h("i",Kl)):q("",!0),"warning"==i.value?(r(),h("i",Xl)):q("",!0),"danger"==i.value?(r(),h("i",Zl)):q("",!0)],64)),A.icon&&!A.hideIcon?(r(),h("i",{key:1,class:S(`toast-icon ${A.icon}`)},null,2)):q("",!0),e.title?(r(),h("span",Jl,Q(e.title),1)):q("",!0),a("span",ei,Q(A.content),1),e.showClose?(r(),h("div",ti,[a("i",{class:"tui-icon ti-times",onClick:d})])):q("",!0)])),_:1},16,["class","style"]),[[fe,s.value]])])),_:1}))}});ue([]);let vt=null;const oi=(e,A)=>{const{$tService:t,$tAttentionDispatcher:a}=A.config.globalProperties,{duration:l}=t.$aToast.value,{show:i,currentChannel:o}=t.$aDispatcher.value,{$optFloaterTo:n}=t,s=e.appendTo||n.value;if(i||a(e),o&&"toast"!=o&&!e.calledByFlash)return void t.$aDispatcher.value.queue.push({...e,attentionType:"toast"});const r=document.createElement("div"),d=ce("tostdir"),u=()=>{vt?.component.exposed.hide(),vt=null,setTimeout((()=>{Re(null,r),ve(e.onClose).includes("function")&&e.onClose()}),500)};return vt&&lo(),vt=Ue(Ai,{...e,id:d,destroy:u,tuiService:t}),Re(vt,r),(we.el(s)||we.el("#tuiRoot")).appendChild(r.firstElementChild),e.calledByFlash||se.s(d,u,e.duration||l||3e3),{destroy:u}},lo=()=>{vt.component.exposed.closeToast()},ai={class:"text"},si=Object.assign({name:"TuiFlash"},{__name:"index",props:{...Kt},setup(e,{expose:A}){const{proxy:t}=De(),i=e,o=m((()=>"error"==i.type?"danger":i.type)),n=m((()=>{const{blurRadius:e}=i.tuiService.$aFlash.value;return i.blurRadius||e})),s=m((()=>{const{spreadRadius:e}=i.tuiService.$aFlash.value;return i.spreadRadius||e})),d=m((()=>{const{queuePosition:e}=i.tuiService.$aFlash.value;return i.queuePosition||e})),u=m((()=>{const{queueOffset:e}=i.tuiService.$aFlash.value;return i.queueOffset||e})),c=C(!1),p=m((()=>ie("cpt-flash",{blurR:n.value,spreadR:s.value,offset:u.value})));return Ae((()=>{i.tuiService.audio.play("dindonB",!0,i.id,600),c.value=!0,i.tuiService.$aFlash.value.visible=!0})),A({hide:()=>{i.tuiService.audio.stop(i.id),c.value=!1,i.tuiService.$aFlash.value.visible=!1},closeFlash:()=>{se.c(i.id),i.destroy()}}),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["tui-flash",`flash-${o.value}`,`flash-${e.id}`,`aniType-${e.aniType}`,e.className&&`${e.className}`]),style:X(p.value)},[l(Ge).length>1?(r(),h("div",{key:0,class:S(`queue-wrap queuePosition-${d.value}`)},[(r(!0),h(U,null,Ve(l(Ge),((e,A)=>(r(),h("div",{class:S(`queue-item item-${e.type}`)},[a("span",ai,Q(A+1),1)],2)))),256))],2)):q("",!0)],6),[[fe,c.value]])])),_:1}))}}),Ge=ue([]);let dt=null,Qt=null;const io=(e,A)=>{ve(e.onClose).includes("function")&&(e.onFlashClose=e.onClose,delete e.onClose);const{$tService:t,$tNotifyCloseAll:a,$tMessageCloseAll:l,$tToastClose:i,$tMessage:o,$tToast:n,$tAttentionDispatcher:s}=A.config.globalProperties,{show:r,currentChannel:d}=t.$aDispatcher.value,{$optFloaterTo:u}=t,c=e.appendTo||u.value;if(r||s(e),d&&"flash"!=d)return void t.$aDispatcher.value.queue.push({...e,attentionType:"flash"});const p=document.createElement("div"),g=ce("flashdir"),V=()=>{dt?.component?.exposed.hide(),dt=null,Qt=null,Re(null,p),Ge.splice(0,1),t.$aFlash.value.queueLength=Ge.length,Ge.length>0&&io(Ge[0],A)};e.onClose=V,e.calledByFlash=!0,e.showClose=!0,e.grouping=!0;return dt?dt.props.content==e.content?"message"==e.appearance&&o(e):(-1===Ge.findIndex((A=>A.content===e.content))&&Ge.push(e),t.$aFlash.value.queueLength=Ge.length):(-1===Ge.findIndex((A=>A.content===e.content))&&Ge.push(e),t.$aFlash.value.queueLength=Ge.length,Qt="message"==e.appearance?o(e):n(e),dt=Ue(si,{...e,id:g,destroy:V,tuiService:t}),Re(dt,p),(we.el(c)||we.el("#tuiRoot")).appendChild(p.firstElementChild)),{destroy:V}},li=()=>{Ge.splice(0),Qt?.destroy(),dt.component.exposed.closeFlash()},ii={class:"attention-icon-wrap"},ni={class:"queu-length"},ri={class:"attention-debugger"},ui=Object.assign({name:"TuiAttentionDispatcher"},{__name:"index",props:{tuiService:Object,destroy:Function,globalProperties:Object,id:{type:String,required:!0}},setup(e,{expose:A}){const t=ce("attentionDisp"),i=ue({messageCounter:0,notificationCounter:0,toastShow:!1,falshShow:!1,falshQueue:0,dispatchStart:!1}),o=e,{$tMessage:n,$tNotify:s,$tToast:d,$tFlash:u,$tMessageCloseAll:c,$tNotifyCloseAll:p,$tToastClose:g}=o.globalProperties,{$aDispatcher:V,$aFlash:f,$aToast:v,$aNotification:y,$aMessage:b}=o.tuiService,{visible:q,debug:w,offset:x,position:k,currentChannel:B,queue:T}=be(V.value);I((()=>b.value.counter),(e=>{f.value.queueLength>0||(i.messageCounter=e,e>0&&(V.value.currentChannel="message"))}),{immediate:!0}),I((()=>y.value.counter),(e=>{i.notificationCounter=e,e>0&&(V.value.currentChannel="notification")}),{immediate:!0}),I((()=>v.value.visible),(e=>{f.value.queueLength>0||(i.toastShow=e,e&&(V.value.currentChannel="toast"))}),{immediate:!0}),I((()=>f.value.visible),(e=>{i.falshShow=e}),{immediate:!0}),I((()=>f.value.queueLength),(e=>{i.falshQueue=e,e>0&&(V.value.currentChannel="flash")}),{immediate:!0}),I((()=>T.value),(e=>{e.find((e=>"flash"===e.attentionType))&&(i.dispatchStart=!0,se.s("queueWatch",(()=>{switch(B.value){case"message":c();break;case"notification":p();break;case"toast":g();break}ee((()=>{$()}))}),1e3))}),{deep:!0});const D=m((()=>{const e=b.value.counter>0,A=y.value.counter>0,t=f.value.queueLength>0,a=v.value.visible;return!!(e||A|a||t)||(V.value.currentChannel=null,!i.dispatchStart&&0==i.falshQueue&&(T.value.length>0?(i.dispatchStart=!0,$()):R.value&&O()),!1)})),$=()=>{const e=T.value.find((e=>"flash"===e.attentionType))||T.value[0];if(e){let A=z(T.value,e.attentionType);A.length>0&&M(A,e.attentionType)}},M=(e,A)=>{let a=0;yA.s(t+"_tInter",(()=>{if(a>=e.length)return i.dispatchStart=!1,void yA.c(t+"_tInter");"message"==A?n(e[a]):"notification"==A?s(e[a]):"toast"==A?d(e[a]):"flash"==A&&u(e[a]),a++}),"toast"==A?2e3:500)},z=(e,A)=>{const t=[],a=[];for(let l=0;l<e.length;l++)e[l].attentionType===A&&(t.push(e[l]),a.push(l));for(let A=a.length-1;A>=0;A--)e.splice(a[A],1);return t},R=C(!1),O=()=>{o.destroy()},P=m((()=>ie("cpt-dispatcher",{offset:x.value})));return Ae((()=>{R.value=!0})),A({hide:()=>{R.value=!1},closeDispatcher:O}),(A,t)=>re((r(),h("div",{class:S(`tui-attention-dispatcher-wrap attdis-${e.id} attdis-${l(T).length>0?"queue":"noQueue"} attdis-pos-${l(k)} attdis-${l(q)?"visible":"invisible"}`),style:X(P.value)},[K(pe,{name:"fade",class:"attention-icon-transition"},{default:E((()=>[re(a("div",ii,[t[0]||(t[0]=a("i",{class:"tui-icon ti-bell"},null,-1)),a("span",ni,Q(l(T).length),1)],512),[[fe,l(T).length>0]])])),_:1}),re(a("div",ri,[a("p",null,"messageCounter:"+Q(i.messageCounter),1),a("p",null,"notificationCounter:"+Q(i.notificationCounter),1),a("p",null,"toastShow:"+Q(i.toastShow),1),a("p",null,"falshShow:"+Q(i.falshShow),1),a("p",null,"falshQueue:"+Q(i.falshQueue),1),a("p",null,"attentionOn:"+Q(D.value),1),a("p",null,"currentChannel:"+Q(l(B)),1),a("p",null,"queueLenght:"+Q(l(T).length),1)],512),[[fe,l(w)]])],6)),[[fe,R.value]])}});let Vt=null;const di=(e,A)=>{if(Vt)return;const{$tService:t}=A.config.globalProperties,{$optFloaterTo:a}=t,l=e.appendTo||a.value,i=document.createElement("div"),o=ce("attdispdir"),n=()=>{Vt?.component.exposed.hide(),Vt=null,setTimeout((()=>{Re(null,i)}),500)};return Vt=Ue(ui,{id:o,destroy:n,tuiService:t,globalProperties:A.config.globalProperties}),Re(Vt,i),(we.el(l)||we.el("#tuiRoot")).appendChild(i.firstElementChild),{destroy:n}},ci=()=>{Vt.component.exposed.closeDispatcher()},pi={install(e){e.config.globalProperties.$tMessage=A=>Ml(A,e),e.config.globalProperties.$tMessageCloseAll=()=>xl(),e.config.globalProperties.$tNotify=A=>Ul(A,e),e.config.globalProperties.$tNotifyCloseAll=()=>Hl(),e.config.globalProperties.$tToast=A=>oi(A,e),e.config.globalProperties.$tToastClose=()=>lo(),e.config.globalProperties.$tFlash=A=>io(A,e),e.config.globalProperties.$tFlashClose=()=>(Ge.splice(0),Qt?.destroy(),void dt.component.exposed.closeFlash()),e.config.globalProperties.$tAttentionDispatcher=A=>di(A,e),e.config.globalProperties.$tAttentionDispatcherClose=()=>{Vt.component.exposed.closeDispatcher()}}},fi={class:"loading-inner"},gi={key:0,class:"svg-icon spinner-full"},hi={class:"desc"},no=Object.assign({name:"TuiLoadingFull"},{__name:"LoadingFull",props:{size:Number,color:String,update:Boolean,zIndex:Number,tuiService:Object,tMask:Function,tMaskClose:Function,destroy:Function,dynamicRender:{type:Boolean,default:!1},desc:{type:String,default:""},visible:{type:Boolean,default:!0},appendTo:{type:String,default:null}},setup(e,{expose:A}){const{proxy:t}=De(),{$tState:l,$tService:i,$tMask:o,$tMaskClose:n}=t,s=C(!1),d=ce("loadFull"),u=e,c=C(!0),p=m((()=>u.dynamicRender?u.tMask:o)),g=m((()=>u.dynamicRender?u.tMaskClose:n)),V=m((()=>u.dynamicRender?u.tuiService:i)),f=m((()=>V.value.$tState.spinnerConfig)),v=m((()=>u.color||f.value.full.color)),y=m((()=>u.size||f.value.full.size)),b=m((()=>ie("cpt-lodf",{...v.value&&{color:v.value},...y.value&&{size:y.value+"px"},...u.zIndex&&{zIndex:u.zIndex}})));I((()=>u.visible),(e=>{e?x():k()}));const w=m((()=>u.desc?u.desc:V.value.i18n("common.loading"))),x=()=>{s.value=!0,se.c(d+"_ti"),p.value({appendTo:u.appendTo,visible:!0,position:"fixed"})},k=()=>{g.value(),s.value=!1,u.dynamicRender&&se.s(d+"_tiInst",(()=>{u.destroy()}),1e3)};return Ae((()=>{c.value=!1,u.color&&u.update&&(f.value.full.color=u.color),u.size&&u.update&&(f.value.full.size=u.size),u.visible&&x(),we.el("#styleSpinners")||V.value.initSpinner()})),lt((()=>{se.c(d+"_ti"),se.c(d+"_tiInst")})),ze((()=>{c.value=!0})),A({destroy:k}),(A,t)=>!c.value||e.dynamicRender?(r(),L(Qe,{key:0,to:e.appendTo,disabled:c.value||e.dynamicRender||!e.appendTo,fallback:"#app"},[K(pe,{name:"fade"},{default:E((()=>[s.value||e.dynamicRender?re((r(),h("div",{key:0,class:S(["tui-loading-full",""+(s.value?"loading-ani-on":"loading-ani-off")]),style:X(b.value)},[a("div",fi,[s.value||e.dynamicRender?(r(),h("i",gi)):q("",!0),a("div",hi,Q(w.value),1)])],6)),[[fe,s.value]]):q("",!0)])),_:1})],8,["to","disabled"])):q("",!0)}});let Tt=C(null);const vi=(e,A)=>{const{$tService:t,$tMask:a,$tMaskClose:l}=A.config.globalProperties;if(Tt.value)return;const i=document.createElement("div");let o=null;"string"==ve(e.appendTo)?o=we.el(e.appendTo):"htmldivelement"==ve(e.appendTo)&&(o=e.appendTo);let n=o||we.el("#app");Tt.value=Ue(no,{...e,destroy:()=>{Re(null,i),Tt.value=null},dynamicRender:!0,tuiService:t,tMask:a,tMaskClose:l,appendTo:null}),Re(Tt.value,i),n.appendChild(i.firstElementChild)},Vi=()=>{Tt.value?.component.exposed.destroy()},mi={install(e){e.config.globalProperties.$tLoading=A=>vi(A,e),e.config.globalProperties.$tLoadingClose=()=>{Tt.value?.component.exposed.destroy()}}},ro=Object.assign({name:"TuiMask"},{__name:"index",props:{visible:{type:Boolean,default:!1},dynamicRender:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},position:{type:String,default:null,validator:e=>["absolute","fixed"].includes(e)},appendTo:[String,Object],destroy:Function,click:Function,tuiService:Object,zIndex:Number},setup(e,{expose:A}){const{proxy:{$tState:t,$tService:a}}=De(),l=e,i=C(!1);I((()=>l.visible),(e=>{ee((()=>{i.value=e}))}),{immediate:!0});const o=m((()=>ie("cpt-msk",{...l.position&&{position:l.position},...l.zIndex&&{zIndex:l.zIndex}}))),n=m((()=>l.dynamicRender?l.tuiService:a)),s=m((()=>n.value.$tState.globalConfig.maskBlur));return Ae((()=>{})),A({destroy:()=>{i.value=!1,se.s("maskInst",(()=>{l.destroy()}),500)}}),(A,t)=>(r(),L(pe,{name:"fade"},{default:E((()=>[!e.dynamicRender&&e.visible||e.dynamicRender?re((r(),h("div",{key:0,class:S(["tui-mask",[s.value?"bg-blur":"bg-trans",e.modal?"mask-on":"mask-off"]]),onClick:t[0]||(t[0]=(...A)=>e.click&&e.click(...A)),style:X(o.value)},null,6)),[[fe,e.dynamicRender&&i.value||!e.dynamicRender]]):q("",!0)])),_:1}))}});let St=C(null);const yi=(e,A)=>{const{$tService:t}=A.config.globalProperties;if(St.value)return;const a=document.createElement("div"),{$optFloaterTo:l}=t,i=e.appendTo||l.value;let o=we.el(i)||we.el("#tuiRoot");St.value=Ue(ro,{...e,tuiService:t,destroy:()=>{Re(null,a),St.value=null},dynamicRender:!0}),Re(St.value,a),o.appendChild(a.firstElementChild)},bi=()=>{St.value?.component.exposed.destroy()},qi={install(e){e.config.globalProperties.$tMask=A=>yi(A,e),e.config.globalProperties.$tMaskClose=()=>{St.value?.component.exposed.destroy()}}},wi=["id"],$i=Object.assign({name:"TuiPopinst"},{__name:"popinst",props:{...Mt,popinstSize:Number,content:String,showTrigger:{type:Boolean,default:!0}},setup(e,{expose:A}){const t=ue({index:0,id:"",x:0,y:0}),l=e,{$optFloaterTo:i}=l.tuiService,o=m((()=>l.appendTo||i.value)),{duration:n,appearance:s}=l.tuiService.$popoverConfig.value,d=m((()=>l.appearance||s)),u=C(!1),c=C(!1),p=C(null),g=()=>{let e=l.instances.findIndex((e=>e.component.props.id===l.id));t.index=e};I((()=>l.instances),(e=>{g()}),{deep:!0});const V=m((()=>ie("cpt-pinst",{...l.zIndex&&{zIndex:l.zIndex},...l.popinstSize&&{size:l.popinstSize+"px"},x:t.x+"px",y:t.y+"px"})));return Ae((()=>{const{x:e,y:A,screenX:a,screenY:i,pageX:o,pageY:n,layerX:s,layerY:r,offsetX:d,offsetY:p,clientX:V,clientY:f}=l.event;t.x=d,t.y=p,g(),u.value=!0,c.value=!0})),A({hide:()=>{c.value=!1,se.c("leave-"+l.id)},updateIndex:g,closePopinst:(e,A=!1)=>{se.c(l.id),l.destroy(A)}}),(A,i)=>(r(),h(U,null,[K(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["tui-popinst",`popinst-${A.type}`,`popinst-${A.id}`,`popinst-index-${t.index}`,"popinst-"+(A.transparent?"trans":"plain"),"popinst-"+(e.showTrigger?"showTrigger":"hideTrigger"),A.className,{}]),ref_key:"popinstRef",ref:p,style:X(V.value),id:"popinst-"+A.id},null,14,wi),[[fe,c.value]])])),_:1}),u.value?(r(),L(Qe,{key:0,to:o.value,fallback:"#app"},[re((r(),L(st("poptip"==d.value&&dA||"popinfo"==d.value&&uA),_e(l,{id:A.id,defaultOn:!0,eventTarget:p.value}),{content:E((()=>[(r(),L(st(l.component)))])),_:1},16,["id","eventTarget"])),[[fe,c.value]])],8,["to"])):q("",!0)],64))}}),Ke=ue([]),Ci=(e,A)=>{const{autoClose:t=!0,duration:a=5e3,disabled:l=!1}=e;if(l)return;const{$tService:i}=A.config.globalProperties,{$popoverConfig:o}=i,n=e.event.target;let s=n;if(n){const{target:A,currentTarget:t}=e.event;if(A!=t)return}let r=null;const d=document.createElement("div"),u=ce("popInstDir");d.id=u+"_wrap",d.className="popinst-outer";const c=A=>{const t=Ke.indexOf(r);-1!=t&&(r.component.exposed.hide(),A||Ke.splice(t,1),setTimeout((()=>{Re(null,d),s.removeChild(d),ve(e.onClose).includes("function")&&e.onClose()}),500))};return Ke.length>=o.value.maxLength&&ki(),r=Ue($i,{...e,id:u,destroy:c,tuiService:i,instances:Ke}),Ke.push(r),s.appendChild(d),Re(r,d),t&&se.s(u+"_autoH",c,a),{destroy:c}},ki=()=>{const e=Ke[0];e&&(e.component.exposed.closePopinst(null,!0),Ke.splice(0,1))},Ti=()=>{Ke.length>0&&(Ke.forEach(((e,A)=>{e.component.exposed.closePopinst(null,!0)})),Ke.length=0)},Si={install(e){e.config.globalProperties.$tPopover=A=>Ci(A,e),e.config.globalProperties.$tPopoverCloaseAll=()=>{Ke.length>0&&(Ke.forEach(((e,A)=>{e.component.exposed.closePopinst(null,!0)})),Ke.length=0)}}},Bi={key:0,class:"tui-adpt-popup"},_i={class:"popup-text"},Di={class:"tui-adpt-drag-inner"},Pi={class:"info-text"},Ri=Object.assign({name:"TuiAdptDragTip"},{__name:"dragTip",props:{visible:Boolean,css:String,tipMute:Boolean,tipAutoShow:Boolean,modelValue:Boolean},emits:["update:modelValue"],setup(e,{emit:A}){const{i18n:t,$gSound:i,$adaptiveConfig:o,audio:n}=ge("$global",null),s=e,d=A,u=C(!1),c=C(!0),p=C(!1),g=e=>{e||o.value.dragTip?(o.value.dragTip=!1,se.s("adptDragInfoPre",(()=>{u.value=!0,!s.tipMute&&!e&&(i.value&&n.play("pingA"),se.s("adptDragInfo",(()=>{V()}),4e3))}),e?1e3:500)):i.value&&n.play("pingA")},V=()=>{se.c("adptDragInfo"),u.value=!1};I((()=>s.visible),(e=>{p.value=s.modelValue,e&&s.tipAutoShow?g():V()}),{immediate:!0});const f=ue({appearance:"iconButton",icon:["tui-icon ti-arrow-move","tui-icon ti-cursor-click"]}),v=()=>{d("update:modelValue",!s.modelValue)};return Ae((()=>{c.value=!1})),ze((()=>{c.value=!0,se.c("adptDragInfo"),se.c("adptDragInfoPre")})),(A,i)=>{const o=ye("TuiToggle");return c.value?q("",!0):(r(),L(Qe,{key:0,to:"#tuiRoot",fallback:"#app",disabled:c.value},[K(pe,{name:"fade"},{default:E((()=>[e.visible?(r(),h("div",{key:0,class:"tui-adpt-drag-info",style:X(e.css)},[K(pe,{name:"fade-inner"},{default:E((()=>[u.value?(r(),h("div",Bi,[a("div",_i,Q(l(t)("adaptive.dragTip")),1)])):q("",!0)])),_:1}),a("div",Di,[a("i",{onMouseenter:g,onMouseleave:V,class:"tui-icon ti-info"},null,32),K(o,_e({onChange:v,modelValue:p.value,"onUpdate:modelValue":i[0]||(i[0]=e=>p.value=e)},f),null,16,["modelValue"]),a("span",Pi,Q(l(t)("adaptive.dragText")),1)])],4)):q("",!0)])),_:1})],8,["disabled"]))}}}),zi={class:"tui-low-res-tip"},Mi={class:"text"},xi=Object.assign({name:"TuiAdptLowResTip"},{__name:"lowResTip",emits:["closeLowResTip"],setup(e,{emit:A}){const{i18n:t}=ge("$global",null),i=A,o=()=>{i("closeLowResTip")};return(e,A)=>{const i=Ce("tui-popover");return r(),L(pe,{name:"fade"},{default:E((()=>[a("div",zi,[A[0]||(A[0]=a("i",{class:"tui-icon ti-info-circle tui-info-icon"},null,-1)),re((r(),h("span",Mi,[ke(Q(l(t)("adaptive.lowResText")),1)])),[[i,{content:l(t)("adaptive.lowResTip"),placement:"top",delay:1e3,maxWidth:300}]]),a("i",{class:"tui-icon ti-times",onClick:o})])])),_:1})}}}),Oi={key:1,class:"tui-terminate-tip"},Ii="TuiAdaptive",Ei=Object.assign({name:Ii,inheritAttrs:!1},{__name:"index",props:{className:String,spinnerConfig:Object,shadowConfig:Object,tipMute:{type:Boolean,default:!1},tipAutoShow:{type:Boolean,default:!0},adaptiveType:{type:String,default:"extension",validator:e=>["extension","flexible","fixed","stretch","disabled"].includes(e)},adaptiveInterval:{type:Number,default:300},width:{type:Number,default:1900},height:{type:Number,default:1060},shadow:{type:Boolean,default:!0},loading:{type:Boolean,default:!0},portletCount:{type:Number,default:0},userSelect:{type:Boolean,default:!0},monitorRatio:{type:Boolean,default:!0},pointEvent:{type:String,default:"default",validator:e=>["default","penetration"].includes(e)}},emits:["update:adaptiveType","update:loading","resizeStart","resizeEnd"],setup(e,{emit:A}){const{$tState:t,$adaptiveConfig:a,$gPortletCounter:i,$gResizeCounter:o,$gBackground:n,$deviceInfo:s,$adptInited:d,$adptReady:u,$gAdaptive:c,initSpinner:p,resetAdaptiveConfig:g,i18n:V,tConsolei18n:f}=ge("$global",null),v=Yt(),y=e,b=A,w=ce("adaptive"),x=C(null),k=C(null),B=C(null),T=C(y.loading),D=C(null),$=C(null),M=m((()=>$.value?.includes("pc"))),z=ue({curType:null,transform:"",count:0,viewState:{maximize:!1},cssvar:"",resizing:!1,inited:!1,overSizeH:!0,observer:"",calcSuccess:!0,terminateServiceStr:"",penetraDomInfo:{},dragable:!1,clickable:!1,lowResolution:!1,disLowResolTip:!1,oriResRatio:0}),{viewState:R,inited:O}=be(z),E=m((()=>et("cpt-adpt-penetra",{...z.penetraDomInfo.width&&{width:z.penetraDomInfo.width+"px"},...z.penetraDomInfo.height&&{height:z.penetraDomInfo.height+"px"}}))),P=m((()=>et("cpt-browser",{...D.value&&{ratio:D.value}}))),N=async()=>{const e=window.devicePixelRatio;if(z.oriResRatio||(z.oriResRatio=e),!x.value||"disabled"==c.value)return b("resizeEnd"),void(z.resizing=!1);const A=(window.outerWidth/window.innerWidth).toFixed(1);let a;a=window.mozInnerScreenX?z.oriResRatio==e?1:e:1==e||A<1.02&&A>.99?1:e;const l=s.value.type;l&&($.value=l);const i=1!=a&&M.value&&y.monitorRatio;if(i){D.value=a;const e=we.el("#styleAdaptive");if(e&&e.dataset.info==c.value)return z.dragable||(z.dragable=!0,z.lowResolution=!1),b("resizeEnd"),void(z.resizing=!1)}else z.dragable=!1,z.clickable=!1;if(!z.dragable){let e=x.value,A={apWidth:e.clientWidth,apHeight:e.clientHeight,cfgWidth:y.width,cfgHeight:y.height,mode:c.value},t=Pa(A);const{classExtend:a,overSizeH:l,staWidth:i,staHeight:o,scale:n,scaleX:s,scaleY:r,translateX:d,translateY:u,cssHeight:p,alpha:g,delta:f,success:v}=t;z.calcSuccess=v,v||(z.terminateServiceStr=V("error.terminateService"));const h={scale:(n-.02)/f,scaleX:(s-.02)/f,scaleY:(r-.02)/f};"stretch"!=c.value&&!z.dragable&&0!=h.scale&&h.scale<1?z.lowResolution=!0:z.lowResolution=!1,qt.adpt.init(h),z.cssvar=`--cfa:${i}; --cfb:${p}; --cfn:${f}; --cfm:${g}; --cfc:${n}; --cfd:${s}; --cfe:${r}; --cff:${d}; --cfg:${u};`,_t("Adaptive",c.value,`:root{${z.cssvar}}`)}i&&!z.dragable&&(z.dragable=!0),z.inited||(z.inited=!0),await ee(),b("resizeEnd"),z.resizing=!1,!d.value&&we.el("#tuiAdpt")&&(t.adaptiveConfig.inited=!0),z.curType=c.value,!z.dragable&&v.penetration&&W()},_=()=>{b("resizeStart"),z.resizing=!0,se.s(w+"_debo",N,500)},G=()=>{z.dragable||t.adaptiveConfig.resizeCounter++};I((()=>i.value),(e=>{e>=y.portletCount?(T.value=!1,b("update:loading",!1)):T.value||(T.value=!0)})),I((()=>y.loading),(e=>{T.value!=e&&(T.value=e)}),{immediate:!0}),I((()=>y.adaptiveType),(e=>{t.globalConfig.adaptive=e}),{immediate:!0}),I((()=>c.value),(e=>{b("update:adaptiveType",e),"disabled"!=e&&_()}),{immediate:!0}),I((()=>B.value),(e=>{W()})),I((()=>o.value),(e=>{e&&_()}));const W=async()=>{await ee();let e=B.value;e&&(z.penetraDomInfo=$o({source:k.value,target:e})),console.log("element-------",e,z.penetraDomInfo,z.resizing)},j=()=>{z.disLowResolTip=!0};return Ae((()=>{x.value.closest("#tuiAdpt")?f("error","adaptiveNesting","error.adaptiveNesting"):(y.portletCount>0?T.value=!0:y.loading&&(T.value=y.loading),(!we.el("#styleSpinners")||y.spinnerConfig)&&p(y.spinnerConfig),u.value||ee((()=>{t.adaptiveConfig.ready=!0})),_())})),ze((()=>{z.dragable=!1,z.clickable=!1,z.lowResolution=!1,t.adaptiveConfig.ready=!1,g()})),(A,t)=>{const a=ye("TuiLoadingFull"),i=Ce("tui-resize"),o=Ce("tui-drag");return r(),h(U,null,[re((r(),h("div",_e({id:"tuiAdptOuter"},A.$attrs,{class:["tui-adaptive",e.className,""+(l(R).maximize?"tui-adpt-size-max":"tui-adpt-size-nor"),`tui-adpt-${z.curType}`,`tui-pevent-${e.pointEvent}`,{"has-penetration":A.$slots.penetration,"is-disabled":"disabled"==l(c),"is-resizing":z.resizing,"is-dragable":z.dragable,"is-clickable":z.clickable,"is-low-resolution":z.lowResolution,"is-initing":!z.inited}],ref_key:"apElement",ref:x}),[z.lowResolution&&!z.disLowResolTip?(r(),L(xi,{key:0,onCloseLowResTip:j})):q("",!0),z.calcSuccess?q("",!0):(r(),h("div",Oi,Q(z.terminateServiceStr),1)),K(a,{appendTo:"#tuiAdptOuter",visible:T.value},null,8,["visible"]),(l(O)||"disabled"==l(c))&&z.calcSuccess?(r(),h(U,{key:2},[re((r(),h("div",{ref_key:"apContainer",ref:k,id:"tuiAdpt",class:S(["tui-adpt-container",{"tui-view-bg":"all"==l(n)&&!A.$slots.penetration,"show-shadow":e.shadow&&!A.$slots.penetration,"dis-user-select":!e.userSelect}])},[H(A.$slots,"default",{viewState:l(R)})],2)),[[i,{callback:G,uid:l(w)}]]),A.$slots.penetration?(r(),h("div",{key:0,id:"tuiAdptPenetration",ref_key:"adptPenetration",ref:B,class:S(["tui-adpt-penetration",{"tui-view-bg":"all"==l(n)&&A.$slots.penetration,"show-shadow":e.shadow&&A.$slots.penetration,"dis-user-select":!e.userSelect}]),style:X(E.value)},[H(A.$slots,"penetration",{viewBGName:"tui-view-bg"})],6)):q("",!0)],64)):q("",!0)],16)),[[o,{enabled:z.dragable,trigger:"#tuiAdpt",resetOnDisable:!0,containment:!1,positionType:"transform",inAdpt:!1,uid:l(w)}]]),K(Ri,{visible:z.dragable,modelValue:z.clickable,"onUpdate:modelValue":t[0]||(t[0]=e=>z.clickable=e),css:P.value,tipAutoShow:e.tipAutoShow,tipMute:e.tipMute},null,8,["visible","modelValue","css","tipAutoShow","tipMute"])],64)}}}),Ni={class:"tui-ppg-item"},Gi=Object.assign({name:"TuiBar3DGroup"},{__name:"group",props:{gap:Number,labelWidth:Number,items:{type:Array,default:[],validator:e=>{const{valid:A,message:t}=at.fieldValid(e,["label","value"]);return A||console.warn("TuiBar3DGroup Warning! ",t),A}},progress3DBarConfig:Object,valueSize:{type:Number,default:16},queueInit:{type:Boolean,default:!0}},setup(e){const A=e,t=C([]),a=C(0),l=C([]),i=e=>!!A.queueInit&&e!==a.value,o=e=>{l.value.push(e),a.value<A.items.length-1&&a.value++},n=m((()=>({valueSize:A.valueSize,...A.progress3DBarConfig}))),s=m((()=>et("cpt-b3dg",{...A.gap&&{gap:A.gap+"px"}})));return Ae((()=>{})),lt((()=>{})),(A,a)=>{const l=ye("TuiBar3D");return r(),h("div",{class:S(["tui-percent-3d-bar-group",{"has-label":!1}]),style:X(s.value)},[(r(!0),h(U,null,Ve(e.items,((e,A)=>(r(),h("div",Ni,[K(l,_e({ref_for:!0,ref_key:"childRefs",ref:t},{ref_for:!0},n.value,{initHold:i(A),onInited:o,label:e.label,value:e.value}),null,16,["initHold","label","value"])])))),256))],4)}}}),Wi={class:"tui-svg-inner"},ji=["width","height","viewBox"],Fi=["id"],Qi=["id"],Li=["id"],Ui=["id"],Hi=["id"],Yi={key:0},Ki=["id"],Xi=["id"],Zi=["id"],Ji=["id"],en={key:1},tn=["id"],An=["id"],on=["id"],an=["id"],sn={key:2},ln=["id","points"],nn=["id","points"],rn=["id"],un=["href"],dn={key:3},cn=["id","d"],pn=["id"],fn=["href"],gn=["id"],hn=["stdDeviation"],vn=["id"],Vn=["stdDeviation"],mn=["id"],yn=["stdDeviation"],bn=["opacity","filter"],qn=["d","fill"],wn=["cx","cy","rx","ry","fill"],$n=["points","fill"],Cn=["points","fill"],kn=["points","fill"],Tn=["opacity","filter"],Sn=["href","fill"],Bn=["cx","cy","rx","ry","fill"],_n=["href","fill"],Dn=["href","fill"],Pn=["points","fill"],Rn=["x","y","width","height","fill","clip-path"],zn=["x"],Mn=["opacity","filter"],xn=["d","fill"],On=["cx","cy","rx","ry","fill"],In=["points","fill"],En=["points","fill"],Nn=["points","fill"],Gn={class:"tui-value"},Wn={class:"tui-unit"},jn={class:"tui-bar3d-label"},Fn={key:0,class:"tui-isubval"},Qn={class:"tui-val"},Ln={class:"tui-unit"},Un={class:"tui-ilabel"},Hn="TuiBar3D",Yn=Object.assign({name:Hn},{__name:"index",props:{index:Number,iconsSymbol:String,label:{type:String,required:!0},precision:{type:Number,default:0},unit:{type:String,default:""},value:{type:Number,default:0,validator:e=>e>=0},maxValue:{type:Number,default:null,validator:e=>e>=0},valueSize:Number,displayValue:{type:String,default:"auto",validator:e=>["none","auto","all","allReverse"].includes(e)},mainValuePosition:{type:String,default:"auto",validator:e=>["auto","top"].includes(e)},shape:{type:String,default:"cylinder",validator:e=>["cylinder","cube"].includes(e)},initHold:{type:Boolean,default:!1},aniDelay:{type:Number,default:2e3},duration:{type:Number,default:1e3},gap:{type:Number,default:30},viewDeep:{type:Number,default:15,validator:e=>e>=0&&e<=50},showTrack:{type:Boolean,default:!0},trackOpacity:{type:Number,default:.5},trackBlur:{type:Number,default:1},barBlur:{type:Number,default:.7},barOpacity:{type:Number,default:.9},barColorRatio:{type:Number,default:15},barColor:{type:[String],default:null,validator:e=>CSS.supports("color",e)},showBase:{type:Boolean,default:!1},baseColorRatio:{type:Number,default:1},baseSpacing:{type:Number,default:20},baseOpacity:{type:Number,default:.9},baseBlur:{type:Number,default:.5},baseColorWeakened:{type:!0,default:!1},baseColor:{type:[String],default:null,validator:e=>CSS.supports("color",e)},status:{type:String,default:null,validator:e=>["normal","success","danger","warning","emphasis","critical"].includes(e)},thresholds:{type:Object,default:null,validator(e){if(!e||"object"!=typeof e)return!1;const A=["normal","success","danger","warning","emphasis","critical"];return!!Object.keys(e).some((e=>A.includes(e)))&&Object.values(e).every((e=>"number"==typeof e&&!isNaN(e)&&e>=0))}},resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},emits:["inited"],setup(e,{expose:A,emit:t}){const{$themePalette:i,$gThemeScheme:o,$optResizeCounter:n,initResizeBy:s}=ge("$global",null),d=s(),u=e,c=t,p=ce("bar3D"),g=C(!1),V=C(!1),f=C(!1),v=C(!1),y=C(null),b=ue({width:100,height:200,dustSettled:!1,barColorGroup:{normal:null,success:null,danger:null,warning:null,emphasis:null,critical:null,custom:null},baseColorGroup:{normal:null,success:null,danger:null,warning:null,emphasis:null,critical:null,custom:null}}),w=C(0),x=C(0),k=m((()=>u.maxValue&&u.maxValue>0?u.value/u.maxValue*100:u.value<=100?u.value:100)),B=m((()=>{const e=parseInt(u.iconsSymbol,16);return String.fromCharCode(e)})),T=m((()=>{let e,A,t,a,l,i;if("none"==u.displayValue)return{mainVal:e,mainUnit:A,subVal:t,subUnit:a};if(u.precision){const e=parseFloat(Number(w.value).toFixed(u.precision)),A=parseFloat(Number(x.value).toFixed(u.precision));i=b.dustSettled?e:Fe.padZero(e,u.precision),l=b.dustSettled?A:Fe.padZero(A,u.precision)}else i=Math.round(w.value),l=Math.round(x.value);return u.maxValue&&u.unit&&"auto"!=u.displayValue?"all"==u.displayValue?(e=l,A=u.unit,t=i,a="%"):"allReverse"==u.displayValue&&(t=l,a=u.unit,e=i,A="%"):u.maxValue&&u.unit?(e=l,A=u.unit):(e=i,A="%"),{mainVal:e,mainUnit:A,subVal:t,subUnit:a}})),D=m((()=>(w.value<=100?w.value:100)/100*(b.height-(u.showTrack?u.gap:10)-50))),$=m((()=>{if(!u.showTrack)return;const e=.1*b.width,A=b.height-.1*b.width*2,t=AA(u.shape,b.width,b.height,e,A,100,u.viewDeep);return t.success?t:{top:{cx:null,cy:null,rx:null,ry:null},sideA:null,sideB:null,body:null}})),M=m((()=>{if(!u.showBase)return;const e=u.baseSpacing/b.width,A=.1*b.width+.05*b.height-4,t=b.height-.1*b.width*2,a=AA(u.shape,b.width+2*u.baseSpacing,b.height,A,t,5,u.viewDeep+u.viewDeep*e*2);return a.success?a:{top:{cx:null,cy:null,rx:null,ry:null},sideA:null,sideB:null,body:null}})),z=m((()=>{const e=u.showTrack?u.gap:0,A=e/b.width,t=b.width-e,a=b.height-e*(u.showBase?.8:1),l=.1*t+a*A*.05,i=a-.1*t*2,o=AA(u.shape,t,a,l,i,w.value<=100?w.value:100,u.viewDeep-u.viewDeep*A);return o.success?o:{top:{cx:null,cy:null,rx:null,ry:null},sideA:null,sideB:null,body:null}}));I((()=>[u.value,u.initHold]),(()=>{u.initHold||R(k.value)}));const R=e=>{b.dustSettled=!1;const A=w.value,t=e-A,a=Date.now(),l=()=>{const i=Date.now()-a,o=Math.min(i/u.duration,1),n=1-Math.pow(1-o,3);w.value=A+t*n,x.value=u.maxValue?u.value*n:w.value,o<1?requestAnimationFrame(l):(w.value=e,b.dustSettled=!0,f.value||(f.value=!0,c("inited",u.index)))};requestAnimationFrame(l)};I((()=>n.value),((e,A)=>{if("root"!=d.value(u.resizeObserver))return;const{clientWidth:t,clientHeight:a}=y.value;e>A&&O({width:t,height:a})}));const O=async({width:e,height:A})=>{v.value=!0,b.width=e,b.height=A,g.value||(g.value=!0),await ee(),setTimeout((()=>{v.value=!1}),500)};I((()=>[u.barColorRatio,u.barColor]),(e=>{P("bar")})),I((()=>[u.baseColorRatio,u.baseColor]),(e=>{P("base")}));const P=e=>{"bar"==e?Object.keys(b.barColorGroup).forEach((e=>{b.barColorGroup[e]=null})):"base"==e&&Object.keys(b.baseColorGroup).forEach((e=>{b.baseColorGroup[e]=null}))},N=C("normal"),_=m((()=>{if(!b.dustSettled)return!1;if(u.barColor)return"custom";if(u.status)return u.status;if(u.thresholds){const e=Object.entries(u.thresholds).sort(((e,A)=>A[1]-e[1])),A=e.find((([e,A])=>x.value>=A)),t=A?A[0]:e[e.length-1]?.[0]||"normal";return N.value=t,t}})),G=m((()=>{const e=!!u.barColor&&"custom",A=_.value||e||u.status||N.value;let t;if("custom"!=A)if(A&&"normal"!=A&&"critical"!=A)t=i.value[A]?.base;else if("critical"==A){const e="light"==o.value?"stronger":"weaker";t=i.value.danger[e]}else t=i.value.primary?.base;else t=u.barColor;let a,l=null;if(t){if(b.barColorGroup[A]?a=b.barColorGroup[A]:(a=xe.genColors(t,3,u.barColorRatio,!1),b.barColorGroup[A]=a),u.showBase&&!u.baseColorWeakened)if(b.baseColorGroup[A])l=b.baseColorGroup[A];else{if(u.baseColor)l=xe.genColors(u.baseColor,3,u.barColorRatio/1.5,!1);else{const e=xe.darken(t,u.baseColorRatio);l=xe.genColors(e,3,u.barColorRatio/1.5,!1)}b.baseColorGroup[A]=l}return{bar:a,base:l}}})),W=m((()=>b.height-D.value-50-.1*u.viewDeep)),j=m((()=>{const e=G.value;return et("cpt-bar3d",{...e.bar&&{bargard_A:e.bar[0],bargard_B:e.bar[1],bargard_C:e.bar[2]},...e.base&&{basgrad_A:e.base[0],basgrad_B:e.base[1],basgrad_C:e.base[2]},...u.valueSize&&{valsize:u.valueSize+"px"},...u.gap&&u.showTrack&&{gapfix:u.gap/2+"px"},...u.baseSpacing&&{basefix:-u.baseSpacing+"px"},valtop:W.value+"px",viewdeep:u.viewDeep/(u.showBase?1:1.6)+"px"})}));return Ae((()=>{V.value=!0,u.value&&!u.initHold&&se.s("pgsPool3D"+p,(()=>{R(k.value)}),u.aniDelay)})),A({inited:g.value&&f.value}),(A,t)=>{const i=ye("TuiTextTip"),o=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["tui-progress-3d-bar",`is-${_.value||N.value}`]),style:X(j.value)},[re((r(),h("div",{class:"tui-svg-wrap",ref_key:"svgWrapRef",ref:y},[a("div",Wi,[K(pe,{name:"fade"},{default:E((()=>[g.value?(r(),h("svg",{key:0,class:"tui-svg-el",width:b.width,height:b.height,viewBox:`0 0 ${b.width} ${b.height}`},[a("defs",null,[a("radialGradient",{class:"tui-grad-bar-top",id:`gradBarTop_${l(p)}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[...t[0]||(t[0]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"100%"},null,-1)])],8,Fi),a("linearGradient",{class:"tui-grad-shine",id:`gradShine_${l(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[1]||(t[1]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"50%"},null,-1),a("stop",{offset:"100%"},null,-1)])],8,Qi),a("linearGradient",{class:"tui-grad-bar-cyde",id:`gradBarCyde_${l(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[2]||(t[2]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"50%"},null,-1),a("stop",{offset:"100%"},null,-1)])],8,Li),a("linearGradient",{class:"tui-grad-bar-cubeSA",id:`gradBarCubeSA_${l(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[3]||(t[3]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"100%"},null,-1)])],8,Ui),a("linearGradient",{class:"tui-grad-bar-cubeSB",id:`gradBarCubeSB_${l(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[4]||(t[4]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"100%"},null,-1)])],8,Hi),e.showTrack?(r(),h("g",Yi,[a("radialGradient",{class:"tui-grad-trk-top",id:`gradTrkTop_${l(p)}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[...t[5]||(t[5]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"100%"},null,-1)])],8,Ki),a("linearGradient",{class:"tui-grad-trk-cyde",id:`gradTrkCyde_${l(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[6]||(t[6]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"50%"},null,-1),a("stop",{offset:"100%"},null,-1)])],8,Xi),a("linearGradient",{class:"tui-grad-trk-cubeSA",id:`gradTrkCubeSA_${l(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[7]||(t[7]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"50%"},null,-1)])],8,Zi),a("linearGradient",{class:"tui-grad-trk-cubeSB",id:`gradTrkCubeSB_${l(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[8]||(t[8]=[a("stop",{offset:"0%"},null,-1)])],8,Ji)])):q("",!0),e.showBase?(r(),h("g",en,[a("linearGradient",{class:S(["tui-grad-bas-cubeSA",{"is-weakened":u.baseColorWeakened}]),id:`gradBasCubeSA_${l(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[9]||(t[9]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"50%"},null,-1)])],10,tn),a("radialGradient",{class:S(["tui-grad-bas-top",{"is-weakened":u.baseColorWeakened}]),id:`gradBasTop_${l(p)}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[...t[10]||(t[10]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"100%"},null,-1)])],10,An),a("linearGradient",{class:S(["tui-grad-bas-cyde",{"is-weakened":u.baseColorWeakened}]),id:`gradBasCyde_${l(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[11]||(t[11]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"50%"},null,-1),a("stop",{offset:"100%"},null,-1)])],10,on),a("linearGradient",{class:S(["tui-grad-bas-cubeSB",{"is-weakened":u.baseColorWeakened}]),id:`gradBasCubeSB_${l(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[12]||(t[12]=[a("stop",{offset:"0%"},null,-1)])],10,an)])):q("",!0),"cube"===e.shape?(r(),h("g",sn,[a("polygon",{id:`shapeCubeSA_${l(p)}`,points:z.value.sideA},null,8,ln),a("polygon",{id:`shapeCubeSB_${l(p)}`,points:z.value.sideB},null,8,nn),a("clipPath",{id:`shapeClip_${l(p)}`},[a("use",{href:`#shapeCubeSA_${l(p)}`},null,8,un)],8,rn)])):(r(),h("g",dn,[a("path",{id:`shapeCyde_${l(p)}`,d:z.value.body},null,8,cn),a("clipPath",{id:`shapeClip_${l(p)}`},[a("use",{href:`#shapeCyde_${l(p)}`},null,8,fn)],8,pn)])),e.showTrack?(r(),h("filter",{key:4,id:`blurTrk_${l(p)}`},[a("feGaussianBlur",{in:"SourceGraphic",stdDeviation:u.trackBlur},null,8,hn)],8,gn)):q("",!0),e.showBase?(r(),h("filter",{key:5,id:`blurBas_${l(p)}`},[a("feGaussianBlur",{in:"SourceGraphic",stdDeviation:u.baseBlur},null,8,Vn)],8,vn)):q("",!0),a("filter",{id:`blurBar_${l(p)}`},[a("feGaussianBlur",{in:"SourceGraphic",stdDeviation:u.barBlur},null,8,yn)],8,mn)]),e.showBase?(r(),h("g",{key:0,class:"tui-bar-base",opacity:e.baseOpacity,filter:`url(#blurBas_${l(p)})`},["cylinder"===e.shape?(r(),h(U,{key:0},[a("path",{d:M.value.body,fill:`url(#gradBasCyde_${l(p)})`,stroke:"none"},null,8,qn),a("ellipse",{cx:M.value.top.cx,cy:M.value.top.cy,rx:M.value.top.rx,ry:M.value.top.ry,fill:`url(#gradBasTop_${l(p)})`,stroke:"none"},null,8,wn)],64)):(r(),h(U,{key:1},[a("polygon",{points:M.value.sideA,fill:`url(#gradBasCubeSA_${l(p)})`,stroke:"none"},null,8,$n),a("polygon",{points:M.value.sideB,fill:`url(#gradBasCubeSB_${l(p)})`,stroke:"none"},null,8,Cn),a("polygon",{points:M.value.top,fill:`url(#gradBasTop_${l(p)})`,stroke:"none"},null,8,kn)],64))],8,bn)):q("",!0),a("g",{class:"tui-bar-ani tui-bar-ele",opacity:e.barOpacity,filter:`url(#blurBar_${l(p)})`},["cylinder"===e.shape?(r(),h(U,{key:0},[w.value>0?(r(),h("use",{key:0,href:`#shapeCyde_${l(p)}`,fill:`url(#gradBarCyde_${l(p)})`,stroke:"none"},null,8,Sn)):q("",!0),w.value>0?(r(),h("ellipse",{key:1,cx:z.value.top.cx,cy:z.value.top.cy,rx:z.value.top.rx,ry:z.value.top.ry,fill:`url(#gradBarTop_${l(p)})`,stroke:"none",class:"tui-bar-top"},null,8,Bn)):q("",!0)],64)):(r(),h(U,{key:1},[w.value>0?(r(),h("use",{key:0,href:`#shapeCubeSA_${l(p)}`,fill:`url(#gradBarCubeSA_${l(p)})`,stroke:"none"},null,8,_n)):q("",!0),w.value>0?(r(),h("use",{key:1,href:`#shapeCubeSB_${l(p)}`,fill:`url(#gradBarCubeSB_${l(p)})`,stroke:"none"},null,8,Dn)):q("",!0),w.value>0?(r(),h("polygon",{key:2,points:z.value.top,fill:`url(#gradBarTop_${l(p)})`,stroke:"none",class:"tui-bar-top"},null,8,Pn)):q("",!0)],64)),w.value>0?(r(),h("rect",{key:2,x:b.width/4,y:e.viewDeep/1.5,width:b.width/4,height:b.height,fill:`url(#gradShine_${l(p)})`,stroke:"none","clip-path":`url(#shapeClip_${l(p)})`,rx:"2",ry:"2"},null,8,Rn)):q("",!0)],8,Tn),e.iconsSymbol?(r(),h("text",{key:1,x:b.width/2,"text-anchor":"middle",class:"tui-icon tui-icon-in-svg"},Q(B.value),9,zn)):q("",!0),e.showTrack?(r(),h("g",{key:2,class:"tui-bar-trk",opacity:e.trackOpacity,filter:`url(#blurTrk_${l(p)})`},["cylinder"===e.shape?(r(),h(U,{key:0},[a("path",{d:$.value.body,fill:`url(#gradTrkCyde_${l(p)})`,stroke:"none"},null,8,xn),a("ellipse",{cx:$.value.top.cx,cy:$.value.top.cy,rx:$.value.top.rx,ry:$.value.top.ry,fill:`url(#gradTrkTop_${l(p)})`,stroke:"none"},null,8,On)],64)):(r(),h(U,{key:1},[a("polygon",{points:$.value.sideA,fill:`url(#gradTrkCubeSA_${l(p)})`,stroke:"none"},null,8,In),a("polygon",{points:$.value.sideB,fill:`url(#gradTrkCubeSB_${l(p)})`,stroke:"none"},null,8,En),a("polygon",{points:$.value.top,fill:`url(#gradTrkTop_${l(p)})`,stroke:"none"},null,8,Nn)],64))],8,Mn)):q("",!0)],8,ji)):q("",!0)])),_:1}),T.value.mainUnit?(r(),h("div",{key:0,class:S(["tui-bar3d-val",{"is-top":"top"==e.mainValuePosition}])},[a("span",Gn,Q(T.value.mainVal),1),a("span",Wn,Q(T.value.mainUnit),1)],2)):q("",!0)])])),[[o,{callback:O,uid:l(p),disabled:"self"!=l(d)(e.resizeObserver)&&g.value}]]),a("div",jn,[T.value.subUnit?(r(),h("div",Fn,[a("span",Qn,Q(T.value.subVal),1),a("span",Ln,Q(T.value.subUnit),1)])):q("",!0),a("div",Un,[K(i,null,{default:E((()=>[ke(Q(e.label),1)])),_:1})])])],6),[[fe,V.value]])])),_:1})}}}),Kn=(e,A,t="358")=>{const a=we.get1stParent(e,".tui-3d-panel");if(!a)return;if(mt.has(a,"is-3doff"))return;if(!(e&&e instanceof HTMLElement&&"string"==typeof A&&""!==A.trim()))return;const l=e.querySelector("svg");if(!l)return;const i="pathG"+A,o=l.querySelector(`g#${CSS.escape(i)}`);o&&l.removeChild(o);const n=l.querySelectorAll("path"),s=[];if(n.forEach((e=>{const A=e.getAttribute("stroke-width");null!=A&&""!==A.trim()&&String(A).includes(t)&&s.push(e)})),s.length>0){const e=document.createElementNS("http://www.w3.org/2000/svg","g");e.setAttribute("id",i),s.forEach((A=>{const t=A.getAttribute("fill"),a=A.getAttribute("stroke");A.setAttribute("class","ori-svg-item");const l=A.cloneNode(!0);l.setAttribute("class","t3d-shadow-item"),l.setAttribute("style",`--tui-t3d-thickcolor:${xe.darken("none"!=t?t:a,2.5)}`),e.appendChild(l)})),l.insertBefore(e,l.firstChild)}},Xn=e=>{const A="pathG"+e,t=we.el(`#${A}`);t&&t.remove()},GA="TuiEcharts",Zn=Object.assign({name:GA},{__name:"tuiEcharts",props:{width:[Number,String],height:[Number,String],chartOption:{type:Object,required:!0},initOptions:{type:Object,default:()=>({})},loading:{type:Boolean,default:null},initT3DShadow:{type:Boolean,default:!1},t3DShadowUpdate:{type:String,default:"finished",validator:e=>["rendered","finished"].includes(e)},renderer:{type:String,default:"canvas",validator:e=>["svg","canvas"].includes(e)},ready:{type:Boolean,default:!1},dataOpacity:Number,dataBlur:Number,resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},emits:["chartClick","chartDblClick","chartMouseDown","chartMouseUp","chartMouseOver","chartGlobalOut","chartInit","chartReady","chartRendered","chartFinished","update:loading"],setup(e,{expose:A,emit:t}){const{$gT3D:i,$gTheme:o,$gEchartsThemeInited:n,$optResizeCounter:s,initResizeBy:d,$echarts:u}=ge("$global",null),c=d(),p=Ht(GA),g=ce("echart"),V=e,f=t,v=C(null),h=YA(null),y=ue({loading:!0,inited:!1,resizing:!0}),b=m({get:()=>V.loading??y.loading,set:e=>{null!==V.loading?f("update:loading",e):y.loading=e}}),q=async()=>{if(v.value)try{if(B(),h.value||!u)return;await ee(),h.value=u.init(v.value,"eTheme",{...V.initOptions,renderer:V.initT3DShadow?"svg":V.renderer}),f("chartInit",h.value),h.value.setOption(V.chartOption),w(),await ee(),h.value&&(f("chartReady",h.value),b.value=!1)}catch(e){console.error("ECharts initialization failed:",e)}},w=()=>{if(!h.value)return;const e=(e,A)=>{h.value&&h.value.on(e,A)};e("click",(e=>f("chartClick",e))),e("dblclick",(e=>f("chartDblClick",e))),e("mousedown",(e=>f("chartMouseDown",e))),e("mouseup",(e=>f("chartMouseUp",e))),e("mouseover",(e=>f("chartMouseOver",e))),e("globalout",(e=>f("chartGlobalOut",e))),e("rendered",(()=>{h.value&&"rendered"==V.t3DShadowUpdate&&x(),f("chartRendered")})),e("finished",(function(){h.value&&("finished"==V.t3DShadowUpdate&&x(),f("chartFinished"),b.value=!1,y.inited=!1)}))},x=()=>{if(!v.value)return;let e=!0;const A=we.get1stParent(v.value,".tui-3d-panel");(!A||A&&mt.has(A,"is-3doff"))&&(e=!1),V.initT3DShadow&&e?Kn(v.value,g):Xn(g)},k=ge("TuiT3DPanel",null);I((()=>[i.value,V.initT3DShadow,k?.view3d?.value]),(([e,A,t])=>{x()})),I((()=>n.value),(async e=>{h.value&&e&&(await ee(),h.value.setTheme("eTheme"))}));const B=()=>{h.value&&(h.value.dispose(),h.value=null)},T=()=>{h.value&&h.value.resize()};I((()=>V.ready),(e=>{e&&q()})),I((()=>V.chartOption),(()=>{h.value&&ee((()=>{h.value&&(h.value.setOption(V.chartOption),b.value=!1)}))}),{deep:!0});const D=m((()=>et("cpt-echart",{...V.width&&{width:ve.join("number",V.width,"px")},...V.height&&{height:ve.join("number",V.height,"px")},...V.dataOpacity&&{opa:V.dataOpacity},...V.dataBlur&&{blur:V.dataBlur+"px"}})));I((()=>s.value),((e,A)=>{"root"==c.value(V.resizeObserver)&&e>A&&$()}));const $=async()=>{y.resizing=!0,T(),await ee(),setTimeout((()=>{y?.resizing&&(y.resizing=!1)}),500)};return Ae((()=>{V.ready&&ee((()=>{q()}))})),ze((()=>{B()})),A({resize:T,getChart:()=>h.value,setOption:(e,A)=>{h.value&&h.value.setOption(e,A)},clear:()=>{h.value&&h.value.clear()},initChart:q,dispose:B}),(A,t)=>{const i=ye("TuiLoaderPanel"),o=Ce("tui-resize");return r(),L(i,{loading:b.value,inited:y.inited},{default:E((()=>[re(a("div",{ref_key:"chartRef",ref:v,class:S(["tui-echarts",{"is-resizing":y.resizing}]),style:X(D.value)},null,6),[[o,{callback:$,uid:l(g),cid:l(p),disabled:"self"!=l(c)(e.resizeObserver)}]]),H(A.$slots,"default")])),_:3},8,["loading","inited"])}}}),Jn=(e,A,t,a,l)=>{if(!e.value)return;const i=(A,t)=>{e.value&&e.value.on(A,t)};i("click",ne.debounce((t=>{let l,i=t;if(t.value&&!A.chartOption.geo3D)l=e.value.convertToPixel("geo",[t.value[0],t.value[1]]),i.domPosition=l;else if("geo"==t.componentType&&t.event?.offsetX){const{offsetX:A,offsetY:a}=t.event;l=e.value.convertFromPixel("geo",[A,a]),i.coordPosition=l}a("chartClick",i,t)}),500,!0)),i("dblclick",(e=>a("chartDblClick",e))),i("mousedown",(e=>a("chartMouseDown",e))),i("mouseup",(e=>a("chartMouseUp",e))),i("mouseover",(e=>a("chartMouseOver",e))),i("globalout",(e=>a("chartGlobalOut",e))),i("geoRoam",(e=>a("chartGeoRoam",e))),i("timelinechanged",(t=>{const{allAreaCodes:l,chartOption:{timeline:i}}=A;let o=t;if("geoTitle"==i.titleType){let A=i.data[t.currentIndex],a=l.find((e=>e.name.includes(A))),n=e.value.convertToPixel("geo",[a.lng,a.lat]);o.domPosition=n,o.current=a}a("chartTimelinechanged",o)})),i("rendered",(()=>{a("chartRendered")})),i("finished",(()=>{e.value&&(a("chartFinished"),t.inited=!0)}))},er=e=>{e.value&&e.value.resize()},tr=e=>e.value,Ar=(e,A,t)=>{e.value&&e.value.setOption(A,t)},or=e=>{e.value&&e.value.clear()},ar=e=>{if(e.value)try{const A=e.value.getOption();A.geo&&A.geo[0]&&(A.geo[0].roam=!0,A.geo[0].zoom=1,A.geo[0].center=null,e.value.setOption(A,!1))}catch(e){console.error("Failed to reset map view:",e)}},uo=async(e,A,t)=>{try{return t?(e.registerMap(A,t),!0):(console.warn("GeoJSON data is missing"),!1)}catch(e){return console.error("Failed to register map:",e),!1}},sr=async(e,A,t,a,l,i,o)=>{if(A.value)try{if(co(t),t.value)return;if(!await uo(e,a.mapName,a.geoJsonData))return void console.error("Map registration failed, aborting chart initialization");await ee(),t.value=ys(e.init(A.value,"eTheme",{...a.initOptions,notMerge:!1,renderer:a.renderer})),i("chartInit",t.value),t.value.setOption(a.chartOption),o(),await ee(),t.value&&(i("chartReady",t.value),l.value=!1)}catch(e){console.error("ECharts Map initialization failed:",e)}},lr=(e,A,t,a,l=!1)=>{e.value&&(e.value.setOption(A,l),t.value=!1,a("chartUpdate"))},co=e=>{e.value&&(e.value.dispose(),e.value=null)},ir=["onClick"],nr={class:"breadcrumb-text"},WA="TuiEchartsMap",rr=Object.assign({name:WA},{__name:"tuiEchartsMap",props:{width:[Number,String],height:[Number,String],chartOption:{type:Object,required:!0},geoJsonData:{type:Object,required:!0},allAreaCodes:Array,mapName:{type:String,required:!0},initOptions:{type:Object,default:()=>({})},loading:{type:Boolean,default:null},renderer:{type:String,default:"canvas",validator:e=>["svg","canvas"].includes(e)},ready:{type:Boolean,default:!1},dataOpacity:Number,dataBlur:Number,resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)},updateReplace:{type:Boolean,default:!0},enableBreadcrumb:{type:Boolean,default:!1},breadcrumbConfig:{type:Object,default:()=>({data:[{code:1e5,name:"全国"}],position:{top:"5%",left:"5%"}})}},emits:["chartClick","chartDblClick","chartMouseDown","chartMouseUp","chartMouseOver","chartGlobalOut","chartInit","chartReady","chartRendered","chartFinished","chartGeoRoam","chartUpdate","chartTimelinechanged","breadcrumbClick","update:loading"],setup(e,{expose:A,emit:t}){const{$gT3D:i,$gTheme:o,$gEchartsThemeInited:n,$optResizeCounter:s,initResizeBy:d,$echarts:u}=ge("$global",null),c=d(),p=Ht(WA),g=ce("echart_map"),V=C(null),f=YA(null),v=e,y=t,b=ue({loading:!0,inited:!1,resizing:!0}),w=m({get:()=>v.loading??b.loading,set:e=>{null!==v.loading?y("update:loading",e):b.loading=e}}),x=m((()=>v.breadcrumbConfig?.data||[])),k=m((()=>{let e=v.breadcrumbConfig?.position||{},A={};for(let t in e)"number"==typeof e[t]?A[t]=e[t]+"px":A[t]=e[t];return A})),B=async()=>{u&&await sr(u,V,f,v,w,y,D,v.updateReplace)},T=()=>{lr(f,v.chartOption,w,y,v.updateReplace)},D=()=>{Jn(f,v,b,y)},$=()=>{co(f)},M=()=>{er(f)},z=m((()=>et("cpt-echart-map",{...v.width&&{width:ve.join("number",v.width,"px")},...v.height&&{height:ve.join("number",v.height,"px")},...v.dataOpacity&&{opa:v.dataOpacity},...v.dataBlur&&{blur:v.dataBlur+"px"}})));I((()=>v.geoJsonData),(async()=>{if(f.value){if(!u)return;await uo(u,v.mapName,v.geoJsonData),ee((()=>{T()}))}}),{deep:!0}),I((()=>v.ready),(e=>{e&&B()})),I((()=>v.chartOption),(()=>{f.value&&ee((()=>{T()}))}),{deep:!0}),I((()=>n.value),(async e=>{f.value&&e&&(await ee(),f.value.setTheme("eTheme"))})),I((()=>s.value),((e,A)=>{"root"==c.value(v.resizeObserver)&&e>A&&R()}));const R=async()=>{b.resizing=!0,M(),await ee(),setTimeout((()=>{b?.resizing&&(b.resizing=!1)}),500)};return Ae((()=>{v.ready&&ee((()=>{B()}))})),ze((()=>{$()})),A({resize:M,getChart:()=>tr(f),setOption:(e,A)=>{Ar(f,e,A)},initChart:B,clear:()=>{or(f)},resetMapView:()=>{ar(f)},dispose:$}),(A,t)=>{const i=ye("TuiLoaderPanel"),o=Ce("tui-resize");return r(),L(i,{loading:w.value,inited:b.inited},{default:E((()=>[re(a("div",{ref_key:"mapRef",ref:V,class:S(["tui-echarts-map",{"is-resizing":b.resizing}]),style:X(z.value)},null,6),[[o,{callback:R,uid:l(g),cid:l(p),disabled:"self"!=l(c)(e.resizeObserver)}]]),e.enableBreadcrumb&&x.value.length>0?(r(),h("div",{key:0,class:"tui-map-breadcrumb",style:X(k.value)},[(r(!0),h(U,null,Ve(x.value,((e,A)=>(r(),h("div",{key:`${e.code}-${A}`,class:"breadcrumb-item",onClick:t=>((e,A)=>{const t=x.value.slice(0,A+1);y("breadcrumbClick",{item:e,index:A,breadcrumb:t,chart:f.value})})(e,A)},[a("span",nr,Q(e.name),1)],8,ir)))),128)),t[0]||(t[0]=a("i",{class:"tui-icon ti-map breadcrumb-icon"},null,-1))],4)):q("",!0),H(A.$slots,"default")])),_:3},8,["loading","inited"])}}}),ur={key:0,class:"tui-panic-alert-inner"},dr={class:"alert-title"},cr={class:"alert-content"},pr={key:0,class:"debug-input-wrap"},fr=["placeholder"],gr={class:"alert-action"},jA="TuiPanicAlert",hr=Object.assign({name:jA},{__name:"index",props:{modelValue:{type:Boolean,default:null},icon:{type:String,default:null},title:{type:String,default:null},content:{type:String,default:null},showClose:{type:Boolean,default:!1},blur:{type:Boolean,default:!0},clearDom:{type:Boolean,default:!1},fallBackPath:{type:String,default:null},silenceCondition:{type:Object,default:{}},mute:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},type:{type:String,default:"danger",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},tone:{type:String,default:"strong",validator:e=>["extremeInvert","strongInvert","strong","base","weak"].includes(e)},transparent:{type:Boolean,default:!1},backgroundBlur:{type:Boolean,default:!0},hasShadow:{type:Boolean,default:!0},shadowColor:{type:String,default:"weak",validator:e=>["weakest","weaker","weak","base","strong","stronger","strongest","match"].includes(e)}},emits:["open","close","back","update:modelValue"],setup(e,{emit:A}){const{vnode:t,proxy:{$tMessage:i}}=De(),{hardReload:o,i18n:n,$deviceInfo:s,$gSound:d,audio:u}=ge("$global",null),c=rA(),p=Cs(),g=Ht(jA),V=ce("panicAlert"),f=e,v=C(!1),y=C(!0),b=C(!1),w=A,x=ue({done:!1,config:!1}),k=(e,A)=>n(`panicAlert.${e}`,A),B={device:null,resolutionH:{min:null,max:null},resolutionV:{min:null,max:null},rejectDebugEnv:null,debugMD5:null},T=ue({domCleared:!1,debug:{alertOn:!1,inputOn:!1,hasKey:!1,input:"",placeHolder:"input the debug code"},icon:"tui-icon ti-comment-times",title:"",content:"",silenceCondition:{}});bs();const D=()=>{t.props.onBack?w("back"):f.fallBackPath?c.push(f.fallBackPath):c.back()},$=async()=>{T.domCleared?o():(b.value=!1,f.modelValue&&w("update:modelValue",!1),w("close",!1),await ee(),se.s("closePA"+V,(()=>{v.value=!1,T.icon=null,T.title=null,T.content=null}),500))},M=()=>{T.debug.inputOn=!T.debug.inputOn},z=()=>{const{input:e}=T.debug;if(!e||e.length<8)i({content:k("debugger.codeLength"),type:"warning"});else{const{debugMD5:A}=T.silenceCondition;A==CA(e)?(aA.session.s("debugCode",e),i({content:k("debugger.codeCorrect"),type:"success"}),se.s("reloadPA"+V,(()=>{o()}),2e3)):i({content:k("debugger.codeError"),type:"warning"})}},R=async e=>{if(e){const{debugMD5:e}=T.silenceCondition;T.icon="tui-icon ti-bug-ban",T.title=k("debugger.title"),T.content=k("debugger.content")+(e?k("debugger.contentWithCode"):""),P(),await ee(),v.value=!0,w("open",!0),T.debug.alertOn=!0}else o()},O=C(null),P=()=>{T.domCleared=!0,we.clearExcept(we.el("#tuiRoot"),O.value)},N=()=>{p.il()&&(p.st(),p.rl((e=>{R(e)})))},_=e=>{if(e){if(T.silenceCondition=We.dpm(B,f.silenceCondition),x.config=!0,f.clearDom&&v.value&&P(),!T?.silenceCondition?.rejectDebugEnv)return;{const{rejectDebugEnv:e,debugMD5:A}=T.silenceCondition;if(e){if(!v.value){let t="";if(A){T.debug.hasKey=!0;const e=aA.session.g("debugCode");if(e&&(t=CA(e)),e&&A==t)return}("all"==e||"prod"==e&&"prod"==nA())&&(p.il()||(p.al((e=>{R(e)})),p.lc()))}}else N()}}},G=e=>{if(!f.silenceCondition||T.debug.alertOn)return;const{type:A,resolutionH:t,resolutionV:a}=e,{device:l,resolutionH:i,resolutionV:o}=T.silenceCondition;if(l&&!l.includes(A.split("-")[0])){const e=sA.upperAll(A.split("-")[0]),t=sA.upperAll(l);return T.icon="tui-icon ti-laptop-phone",T.title=k("device.title"),T.content=k("device.content",{deviceA:t,deviceB:e}),v.value=!0,void w("open",!0)}return i.min&&t<i.min?(T.icon="tui-icon ti-computer-alert",T.title=k("resolution.title"),T.content=k("resolution.content",{resoluHV:k("resolution.horizontal"),operator:k("resolution.less"),resoluMinMax:k("resolution.min"),curResol:t,safeResol:i.min}),v.value=!0,void w("open",!0)):i.max&&t>i.max?(T.icon="tui-icon ti-computer-alert",T.title=k("resolution.title"),T.content=k("resolution.content",{resoluHV:k("resolution.horizontal"),operator:k("resolution.greater"),resoluMinMax:k("resolution.max"),curResol:t,safeResol:i.max}),v.value=!0,void w("open",!0)):o.min&&a<o.min?(T.icon="tui-icon ti-computer-alert",T.title=k("resolution.title"),T.content=k("resolution.content",{resoluHV:k("resolution.vertical"),operator:k("resolution.less"),resoluMinMax:k("resolution.min"),curResol:a,safeResol:i.min}),v.value=!0,void w("open",!0)):o.max&&a>o.max?(T.icon="tui-icon ti-computer-alert",T.title=k("resolution.title"),T.content=k("resolution.content",{resoluHV:k("resolution.vertical"),operator:k("resolution.greater"),resoluMinMax:k("resolution.max"),curResol:a,safeResol:i.max}),v.value=!0,void w("open",!0)):void(v.value&&!f.modelValue&&$())};I((()=>f.silenceCondition),(e=>{_(e),G(s.value)}),{deep:!0,immediate:!0}),I((()=>s.value),(e=>{G(e)}),{deep:!0,immediate:!0}),I((()=>f.modelValue),(e=>{(e=>{if(e){const{title:e,content:A}=T;e||(T.title=k("example.title")),A||(T.content=k("example.content")),v.value=!0,w("open",!0)}else{if(y.value)return;v.value=!1,w("close",!1)}})(e)}),{immediate:!0}),I((()=>v.value),(async e=>{e&&(se.c("closePA"+V),await ee(),d.value&&u.play("errorB"),b.value=!0)}));const W=C({appearance:"background",type:m((()=>f.type)),tone:m((()=>f.tone)),transparent:m((()=>f.transparent)),backgroundBlur:m((()=>f.backgroundBlur)),hasShadow:m((()=>f.hasShadow)),shadowColor:m((()=>f.shadowColor))});return wt((()=>{})),Ae((()=>{y.value=!1,x.config&&(x.done=!0)})),ze((()=>{N(),y.value=!0})),(A,t)=>{const i=ye("TuiButton"),o=ye("TuiTyped"),s=ye("TuiMask"),d=Ce("tui-popover"),u=Ce("tui-vcid");return y.value?q("",!0):(r(),L(Qe,{key:0,to:"#tuiRoot",fallback:"#app",disabled:y.value},[x.done?re((r(),h("div",{key:0,ref_key:"panicAlertRef",ref:O,class:"tui-panic-alert"},[K(pe,{name:"fade"},{default:E((()=>[v.value?(r(),h("div",ur,[re(K(o,tt(At(W.value)),{default:E((()=>[a("i",{class:S(`alert-icon ${e.icon||T.icon}`)},null,2),a("div",dr,Q(e.title||T.title),1),a("div",cr,Q(e.content||T.content),1),T.debug.alertOn&&T.debug.inputOn?(r(),h("div",pr,[re(a("input",{class:"debug-input tui-input","onUpdate:modelValue":t[0]||(t[0]=e=>T.debug.input=e),placeholder:k("debugger.inputCode"),type:"text"},null,8,fr),[[qs,T.debug.input]]),K(i,{onClick:z},{default:E((()=>[...t[1]||(t[1]=[a("i",{class:"tui-icon ti-check"},null,-1)])])),_:1}),K(i,{onClick:M},{default:E((()=>[...t[2]||(t[2]=[a("i",{class:"tui-icon ti-times"},null,-1)])])),_:1})])):q("",!0),a("div",gr,[T.debug.alertOn?q("",!0):(r(),h(U,{key:0},[e.showClose?re((r(),h("div",{key:1,class:"icon-circle",onClick:$},[...t[4]||(t[4]=[a("i",{class:"tui-icon ti-times"},null,-1)])])),[[d,{content:l(n)("common.close"),placement:"bottom",appendTo:"#app",delay:1e3,zIndex:2e3}]]):re((r(),h("div",{key:0,class:"icon-circle",onClick:D},[...t[3]||(t[3]=[a("i",{class:"tui-icon ti-chevron-left"},null,-1)])])),[[d,{content:l(n)("common.back"),placement:"bottom",appendTo:"#app",delay:1e3,zIndex:2e3}]])],64)),T.debug.alertOn&&T.debug.hasKey&&!T.debug.inputOn?re((r(),h("div",{key:1,class:"icon-circle",onClick:M},[...t[5]||(t[5]=[a("i",{class:"tui-icon ti-key-encrypt"},null,-1)])])),[[d,{content:l(n)("debugger.inputCode"),placement:"bottom",appendTo:"#app",delay:1e3,zIndex:2e3}]]):q("",!0)])])),_:1},16),[[fe,b.value]])])):q("",!0)])),_:1})])),[[u,l(g)]]):q("",!0),K(s,{visible:v.value&&b.value&&e.modal},null,8,["visible"])],8,["disabled"]))}}}),vr=["width","height","viewBox"],Vr=["cx","cy","r","id"],mr=["stop-color"],yr=["stop-color"],br={class:"pie-shadow-group"},qr=["fill","d","transform"],wr={opacity:".7"},$r=["d","fill","transform","onMouseover","onMouseleave","onClick"],Cr={class:"tui-info-value"},kr={class:"tui-info-name"},Tr={key:0,class:"tui-info-unit"},Sr={key:0,class:"tui-legend"},Br={class:"tui-legend-label"},_r={class:"tui-legend-value"},Dr=Object.assign({name:"TuiPie3D"},{__name:"index",props:{width:[Number,String],height:[Number,String],data:{type:Array,required:!0,default:()=>[]},innerRadiusPercent:{type:Number,default:50,validator:e=>e>=0&&e<=95},cornerRadius:{type:Number,default:0},gapSize:{type:Number,default:10},useGradient:{type:Boolean,default:!1},gradientRatio:{type:Number,default:.3},thicknessColorRatio:{type:Number,default:2},showCenterText:{type:Boolean,default:!0},radiusRatio:{type:Number,default:.8},chartTitle:{type:String,default:"Total"},pieOffset:Number,centerTextOffset:Number,unit:String,transform3D:Object,t3DConfig:Object,hoverOffset:{type:Number,default:5},animationDuration:{type:Number,default:750},animationEasing:{type:String,default:"cubic-bezier(0.23, 1, 0.32, 1)"},animate:{type:Boolean,default:!0},legendShow:{type:Boolean,default:!0},legendPosition:{type:String,default:"bottom",validator:e=>["bottom","top","left","right"].includes(e)},useDefaultColors:{type:Boolean,default:!0},resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},emits:["sliceHover","sliceLeave","sliceClick"],setup(e,{emit:A}){const{$themePalette:t,$optResizeCounter:i,initResizeBy:o}=ge("$global",null),n=o(),s=e,d=A,u=ce("pie3D"),c=C(!1),p=C(!1),g=ue({width:300,height:300,hovSliceIdx:null,isResizing:!1,dftColors:[]}),V=()=>{if(!We.isEmpty(t.value)){const{primary:e,success:A,warning:a,danger:l}=t.value,i=s.data.length,o=["#197fe6","#47eb99","#eaeb47","#eb9947","#eb4747","#9947eb"];g.dftColors=xe.scale(o,i)}},f=C([]),v=C(!1),y=()=>{const e=s.data.map(((e,A)=>{const t={...e};return s.useDefaultColors&&!t.color&&g.dftColors.length>0&&(t.color=g.dftColors[A%g.dftColors.length]),{...t,animValue:t&&"number"==typeof t.value&&t.value>0?t.value:0}}));f.value=e};I((()=>s.data),(e=>{if(0===g.dftColors.length&&s.useDefaultColors&&V(),!s.animate)return void(f.value=e.map(((e,A)=>{const t={...e};return s.useDefaultColors&&!t.color&&g.dftColors.length>0&&(t.color=g.dftColors[A%g.dftColors.length]),{...t,animValue:t&&"number"==typeof t.value&&t.value>0?t.value:0}})));const A={};f.value.forEach((e=>{e&&e.label&&(A[e.label]={animValue:e.animValue||0,color:e.color})}));const t=e.map(((e,t)=>{const a=e.label&&void 0!==A[e.label]?A[e.label].animValue:0,l={...e};return s.useDefaultColors&&!l.color&&g.dftColors.length>0&&(l.color=g.dftColors[t%g.dftColors.length]),{...l,animValue:a,targetValue:l&&"number"==typeof l.value&&l.value>0?l.value:0}})),a=new Set(e.map((e=>e.label))),l=[];Object.keys(A).forEach((e=>{!a.has(e)&&A[e].animValue>0&&l.push({label:e,color:A[e].color,animValue:A[e].animValue,targetValue:0,value:0})})),f.value=[...t,...l],s.animate&&!v.value&&(v.value=!0,b())}),{deep:!0});const b=()=>{if(!s.animate)return;const e=Date.now(),A=s.animationDuration,t=()=>{const a=Date.now()-e,l=Math.min(a/A,1),i=w(l,s.animationEasing);f.value.forEach((e=>{if(void 0!==e.targetValue){const A=e.animValue||0,t=e.targetValue-A;e.animValue=A+t*i}})),l<1?requestAnimationFrame(t):(f.value.forEach((e=>{void 0!==e.targetValue&&(e.animValue=e.targetValue)})),v.value=!1)};requestAnimationFrame(t)},w=(e,A)=>{switch(A){case"linear":return e;case"ease-in":return e*e;case"ease-out":return e*(2-e);case"ease-in-out":return e<.5?2*e*e:(4-2*e)*e-1;case"cubic-bezier(0.23, 1, 0.32, 1)":default:return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1}},x=m((()=>g.width/2)),k=m((()=>g.height/2)),B=m((()=>Fe.min(g.height,g.width))),T=m((()=>B.value/2*s.radiusRatio)),D=m((()=>f.value.reduce(((e,A)=>e+(A&&"number"==typeof A.animValue&&A.animValue>0?A.animValue:0)),0))),$=m((()=>s.data.reduce(((e,A)=>e+(A&&"number"==typeof A.value&&A.value>0?A.value:0)),0))),M=m((()=>Array.isArray(f.value)?f.value.filter((e=>e&&"number"==typeof e.animValue&&e.animValue>0&&e.label)):[])),z=m((()=>T.value*(s.innerRadiusPercent/100))),R=m((()=>{const e=[];if(D.value<=0||0===M.value.length)return e;const A=2*Math.PI;let t=-Math.PI/2;return M.value.forEach(((a,l)=>{const i=a.animValue/D.value*A;if(i<1e-6)return;const o=t,n=t+i,r=Ra(x.value,k.value,T.value,z.value,o,n,s.cornerRadius,s.gapSize);if(r.includes("Error"))return;const d=a.color||(g.dftColors.length>0?g.dftColors[l%g.dftColors.length]:"#cccccc"),u=s.useGradient?`url(#grad-${l})`:d;let c="";if(g.hovSliceIdx===l&&s.hoverOffset>0){const e=o+i/2,A=s.hoverOffset*Math.cos(e),t=s.hoverOffset*Math.sin(e);c=`translate(${A.toFixed(3)}, ${t.toFixed(3)})`}const p=a.value||a.targetValue||a.animValue,V=(p/$.value*100).toFixed(1),f=`${a.label}: ${p.toLocaleString()} (${V}%)`;e.push({idSuffix:l,d:r,fill:u,transform:c,tooltip:f,color:d,originalData:a,index:l}),t=n})),e})),O=m((()=>s.showCenterText&&s.innerRadiusPercent>10&&D.value>0)),P=m((()=>{const e=2*z.value;let A=Math.min(.1*B.value,Math.max(.03*B.value,.15*e));return(0===M.value.length||0===D.value)&&(A=Math.min(.08*B.value,Math.max(.02*B.value,.1*e))),{title:.9*A,total:1.1*A}})),N=m((()=>$.value<=0&&0===M.value.length&&!s.data.some((e=>e&&"number"==typeof e.value&&e.value>0))?"N/A":$.value.toLocaleString())),_=m((()=>et("cpt-tpie",{...s.pieOffset&&{pieoffset:ve.join("number",s.pieOffset,"px")},...s.centerTextOffset&&{totaloffset:ve.join("number",s.centerTextOffset,"px")}}))),G=m((()=>et("cpt-tpie-font",{total:P.value.total+"px",title:P.value.title+"px"}))),W=C(!1);I((()=>i.value),((e,A)=>{"root"==n.value(s.resizeObserver)&&e>A&&j()}));const j=async()=>{g.isResizing=!0,await ee(),W.value&&(g.width=W.value.clientWidth,g.height=W.value.clientHeight),setTimeout((()=>{g.isResizing=!1,p.value=!0}),500)};I((()=>s.legendPosition),(async()=>{await ee(),j()}));const H=m((()=>({mode:"static",transformOrigin:"top",showShadow:!0,thicknessFixGap:!0,thicknessCoeff:.15,shadowCoeff:.1,shadowBlur:3,coeff:1,rotateMax:90,initialRotate:{...s.transform3D},...s.t3DConfig})));return I((()=>s.data),(()=>{s.useDefaultColors&&0===g.dftColors.length&&V(),y()}),{immediate:!0}),Ae((()=>{c.value=!0,V(),y()})),(A,t)=>{const i=ye("Tui3DPanel"),o=Ce("tui-cursor-tip"),V=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["tui-pie-3d",`tui-legend-pos-${e.legendPosition}`,{"is-resizing":g.isResizing}])},[re((r(),h("div",{class:"tui-pie-inner",style:X(_.value),ref_key:"pieWrapRef",ref:W},[K(i,_e(H.value,{class:"t3d-panel"}),{default:E((()=>[K(pe,{name:"fade"},{default:E((()=>[p.value?(r(),h("svg",{key:0,class:"tui-svg",width:g.width,height:g.height,viewBox:`0 0 ${g.width} ${g.height}`},[a("defs",null,[s.useGradient?(r(!0),h(U,{key:0},Ve(R.value,(A=>(r(),h("radialGradient",{cx:x.value,cy:k.value,r:T.value,key:`grad-${A.idSuffix}`,id:`grad-${A.idSuffix}`,gradientUnits:"userSpaceOnUse"},[a("stop",{offset:.7,"stop-color":l(xe).lighten(A.color,e.gradientRatio)},null,8,mr),a("stop",{offset:1,"stop-color":l(xe).darken(A.color,e.gradientRatio)},null,8,yr)],8,Vr)))),128)):q("",!0)]),a("g",br,[(r(!0),h(U,null,Ve(R.value,(A=>(r(),h("path",{style:X(`--tui-t3d-thickcolor:${l(xe).darken(A.color,e.thicknessColorRatio)};`),key:A.idSuffix,fill:A.fill,d:A.d,transform:A.transform,class:"t3d-shadow-item"},null,12,qr)))),128))]),a("g",wr,[(r(!0),h(U,null,Ve(R.value,(e=>re((r(),h("path",{key:e.idSuffix,d:e.d,fill:e.fill,transform:e.transform,class:"pie-slice",onMouseover:A=>((e,A)=>{g.hovSliceIdx=e.index,d("sliceHover",{event:A,data:e.originalData})})(e,A),onMouseleave:A=>((e,A)=>{g.hovSliceIdx=null,d("sliceLeave",{event:A,data:e.originalData})})(e,A),onClick:A=>((e,A)=>{d("sliceClick",{event:A,data:e.originalData})})(e,A)},null,40,$r)),[[o,{content:e.tooltip}]]))),128))])],8,vr)):q("",!0)])),_:1}),O.value?(r(),h("div",{key:0,class:"tui-total-info text-shadow-item",style:X(G.value)},[a("div",Cr,Q(N.value),1),a("div",kr,Q(s.chartTitle),1),s.unit?(r(),h("div",Tr,"("+Q(s.unit)+")",1)):q("",!0)],4)):q("",!0)])),_:1},16)],4)),[[V,{callback:j,uid:l(u),disabled:"self"!=l(n)(e.resizeObserver)&&p.value}]]),s.legendShow&&M.value.length>0?(r(),h("div",Sr,[(r(!0),h(U,null,Ve(M.value,(e=>(r(),h("div",{class:S(["tui-legend-item",{active:g.hovSliceIdx===M.value.indexOf(e)}]),key:e.label},[a("span",{class:"tui-legend-color",style:X({backgroundColor:e.color})},null,4),a("span",Br,Q(e.label),1),a("span",_r,Q((e.value||e.targetValue||0).toLocaleString()),1)],2)))),128))])):q("",!0)],2),[[fe,c.value]])])),_:1})}}}),ht=new LA,FA=e=>{let A=We.keyValid(e,["x","y","z"],!1);return A.valid||console.warn("HoverRotate Warning",A.message),A.valid},QA="Tui3DPanel",Pr=Object.assign({name:QA},{__name:"index",props:{animationRotate:{type:Array,default:()=>[],validator:e=>{const{valid:A,message:t}=at.fieldValid(e,["x","y"]);return A||console.warn("Tui3DPanel Warning! ",t),A}},hoverMask:{type:Boolean,default:!1},hoverDelay:{type:Number,default:0},hoverRotate:{type:Object,default:{x:0,y:0,z:0},validator:FA},initialRotate:{type:Object,default:{x:0,y:0,z:0},validator:FA},rotateMax:{type:Number,default:50},rotateMin:{type:Number,default:-50},perspective:Number,transformOrigin:{type:String,default:null,validator:e=>["bottom","top","left","right","left top","center","right top","left bottom","right bottom"].includes(e)},duration:{type:Number,default:null},aniDelay:{type:Number,default:1e3},coeff:{type:Number,default:null},mode:{type:String,default:"auto",required:!0,validator:e=>["hover","matrix","hive","unity","animation","gyro","auto","static"].includes(e)},eventBus:{type:Boolean,default:!1},uesAlpha:{type:Boolean,default:!1},fixAlpha:{type:Number,default:0},showShadow:{type:Boolean,default:!0},shadowCoeff:Number,shadowBlur:Number,shadowTransparent:Number,showThickness:{type:Boolean,default:!0},thicknessLength:Number,thicknessCoeff:Number,thicknessBlur:Number,thicknessTransparent:Number,thicknessColor:{type:String,default:null},thicknessFixGap:{type:Boolean,default:!1},view3d:{type:Boolean,default:!0},inAdaptive:{type:Boolean,default:!0},index:{type:Number,default:0},group:{type:String,default:"t3dcom"}},setup(e){const A=C(null),t=C(!1),{$tState:i,$t3dConfig:o,$gT3D:n,tConsolei18n:s,$deviceInfo:d}=ge("$global",null),u=e,c=Ht(QA),p=ce("t3d"),g=ue({view3d:!1,hoverState:!1,curAniIndex:0,mode:"",coeff:1,shadowCoeff:1,eventInited:!1,curRotate:{x:0,y:0,z:0},animationRotate:[],aniStart:!1,initialRotate:{},hoverRotate:{},fixAlpha:0,ParmarsBak:{coeff:1,shadowCoeff:1},screenDir:"landscape",screenInvert:!1});He("TuiT3DPanel",{view3d:m((()=>g.view3d))});const V=m((()=>{const e=g.mode;return u.duration?u.duration:"hive"==e||"matrix"==e||"unity"==e?0:"animation"==e?5e3:"hover"==e?1e3:"gyro"==e?500:void 0})),f=e=>{"hover"==g.mode&&n.value&&g.view3d&&(1==e?(se.c(p+"out"),se.s(p+"in",(()=>{const{x:e,y:A}=g.hoverRotate;w(e,A),se.s(p+"hovSta",(()=>{g.hoverState=!0}),V.value)}),u.hoverDelay)):0==e&&(g.hoverState=!1,se.c(p+"hovSta"),se.c(p+"in"),se.s(p+"out",(()=>{const{x:e,y:A}=g.initialRotate;w(e,A)}),u.hoverDelay)))},v=e=>{if(u.eventBus||0==u.index){let t=A.value.getBoundingClientRect(),a=document.body.clientWidth,l=document.body.clientHeight;if(u.inAdaptive){const e=kA(g.ParmarsBak.coeff,g.ParmarsBak.shadowCoeff,a);g.coeff=e[0],g.shadowCoeff=e[1]}const{rotateX:i,rotateY:o}=TA(g.mode,g.coeff,e,t,l,a);w(i,o),ht.emit(u.group+"t3DBus",e)}else ht.on(u.group+"t3DBus",(e=>{let t=A.value.getBoundingClientRect(),a=document.body.clientWidth,l=document.body.clientHeight;if(u.inAdaptive){const e=kA(g.ParmarsBak.coeff,g.ParmarsBak.shadowCoeff,a);g.coeff=e[0],g.shadowCoeff=e[1]}const{rotateX:i,rotateY:o}=TA(g.mode,g.coeff,e,t,l,a);w(i,o)}))},y=e=>{if(0==u.index||null==u.index){0==g.fixAlpha&&e.alpha&&(g.fixAlpha=e.alpha?.toFixed(5)||0);const A=g.coeff;let{alpha:t,beta:a,gamma:l,delta:i}=za(e,g.fixAlpha,u.uesAlpha);"landscape"!=g.screenDir||g.screenInvert?"portrait"!=g.screenDir||g.screenInvert?"landscape"==g.screenDir&&g.screenInvert?w(l*i*A/3,-a*i*A/3,t*i*A/3):"portrait"==g.screenDir&&g.screenInvert&&w(-a*i*A/3,-l*i*A/3,t*i*A/3):w(a*i*A/3,l*i*A/3,t*i*A/3):w(-l*i*A/3,a*i*A/3,t*i*A/3);const o={fixAlpha:g.fixAlpha,x:g.curRotate.x,y:g.curRotate.y,z:g.curRotate.z};null!=u.index&&ht.emit(u.group+"t3DGyroBus",o)}else ht.on(u.group+"t3DGyroBus",(e=>{const{fixAlpha:A,x:t,y:a,z:l}=e;g.fixAlpha=A,g.curRotate.x=t,g.curRotate.y=a,g.curRotate.z=l}))},b=()=>{se.s(p+"panelAni",(()=>{g.aniStart=!0;let e=g.curAniIndex,A=u.animationRotate;w(A[e].x,A[e].y),e!=A.length-1?g.curAniIndex++:g.curAniIndex=0,b()}),g.aniStart?V.value:u.aniDelay)},w=(e,A,t)=>{g.curRotate.x=x(e),g.curRotate.y=x(A),"number"==ve(t)&&(g.curRotate.z=x(t))},x=e=>{const A=u.rotateMax,t=u.rotateMin;return e>A?A:e<t?t:e},k=()=>{g.mode&&("animation"==g.mode?se.c(p+"panelAni"):"gyro"==g.mode?((u.eventBus||0==u.index)&&g.eventInited&&(ne.remove(window,"deviceorientation",p),g.eventInited=!1),null!=u.index&&ht.off(u.group+"t3DGyroBus"),u.index):((u.eventBus||0==u.index)&&g.eventInited&&(ne.remove(window,"mousemove",p,!0),g.eventInited=!1),null!=u.index&&ht.off(u.group+"t3DBus")),g.curRotate.x=0,g.curRotate.y=0,g.curRotate.z=0)},B=m((()=>et("cpt-t3dp",{...u.thicknessColor&&{thickcolor:u.thicknessColor},...u.transformOrigin&&{transorigin:u.transformOrigin},...u.thicknessCoeff&&{thickcoeff:u.thicknessCoeff},...u.thicknessBlur&&{thickblur:u.thicknessBlur+"px"},...u.shadowCoeff&&1!=g.shadowCoeff&&{shadowcoeff:g.shadowCoeff},...u.shadowBlur&&{shadowblur:u.shadowBlur+"px"},...u.shadowTransparent&&{shadowtrans:u.shadowTransparent},...u.thicknessTransparent&&{thicktrans:u.thicknessTransparent},...u.perspective&&{perspective:u.perspective+"px"},...V.value&&{dur:V.value+"ms"},...t.value&&{rotateX:g.curRotate.x,rotateY:g.curRotate.y,rotateZ:g.curRotate.z}})));I((()=>[u.coeff,u.shadowCoeff,u.fixAlpha]),(()=>{T()})),I((()=>u.initialRotate),(()=>{T()}),{deep:!0}),I((()=>u.hoverRotate),(()=>{T()}),{deep:!0});const T=()=>{u.hoverRotate&&(g.hoverRotate=We.dpm(g.curRotate,u.hoverRotate)),u.initialRotate&&(g.initialRotate=We.dpm(g.curRotate,u.initialRotate),"static"==g.mode&&(g.curRotate=g.initialRotate)),u.coeff&&(g.coeff=u.coeff,g.ParmarsBak.coeff=g.coeff),u.shadowCoeff&&(g.shadowCoeff=u.shadowCoeff,g.ParmarsBak.shadowCoeff=g.shadowCoeff),u.fixAlpha&&(g.fixAlpha=u.fixAlpha)};I((()=>d.value.orientation),(e=>{g.screenDir=e}),{immediate:!0}),I((()=>d.value.screenInvert),(e=>{g.screenInvert=e}),{immediate:!0}),I((()=>[n.value,u.view3d]),(([e,A])=>{g.view3d=!(!e||!A)}),{immediate:!0}),I((()=>g.view3d),(e=>{e?(T(),(async()=>{const e=g.mode;if(e){if(!n.value||!g.view3d)return void(g.curRotate={x:0,y:0,z:0});if("hover"==e){const{x:e,y:A}=g.initialRotate;w(e,A)}else"hive"==e||"matrix"==e||"unity"==e?u.eventBus||0==u.index?(ne.add(window,"mousemove",v,p,!0),g.eventInited=!0):v():"animation"==e?b():"gyro"==e?"https:"==window.location.protocol?0==u.index||null==u.index?(typeof DeviceOrientationEvent<"u"&&"function"==typeof DeviceOrientationEvent.requestPermission&&DeviceOrientationEvent.requestPermission(),ne.add(window,"deviceorientation",y,p),g.eventInited=!0):y():s("warning","panelGyro","warn.panelGyro"):"static"==e&&(g.curRotate=g.initialRotate)}})()):k()}),{immediate:!0}),I((()=>d.value.type),(async e=>{if(!e)return;g.view3d&&(g.view3d=!1,k()),await ee(),(e=>{const A=e;d.value.type,"auto"==u.mode?A.includes("pc")?g.mode="matrix":(A.includes("mobile")||A.includes("pad"))&&(g.mode="gyro"):g.mode=u.mode})(e);const A=g.mode,t=n.value,a=u.view3d;t&&a&&(e.includes("mobile")||e.includes("pad")?("gyro"==A||"animation"==A)&&(g.view3d=!0):e.includes("pc")&&"gyro"!=A&&(g.view3d=!0))}),{immediate:!0});const D=e=>{const A=we.el(".tui-3d-panel",!0);A.length>0&&e&&!o.value.inited?i.t3dConfig.inited=!0:0==A.length&&!e&&o.value.inited&&(i.t3dConfig.inited=!1)};return wt((()=>{})),Ae((async()=>{t.value=!0,await ee(),D(!0)})),ze((async()=>{t.value=!0,g.view3d=!1,k(),await ee(),D(!1)})),(i,o)=>{const s=Ce("tui-vcid");return t.value?re((r(),h("div",{key:0,style:X(B.value),class:S(["tui-3d-panel",`tui-mode-${e.mode}`,"tui-shadow-"+(e.showShadow?"show":"hide"),"tui-thickness-"+(e.showThickness?"show":"hide"),{"is-3doff":!l(n)||!g.view3d,"is-fixgap":e.thicknessFixGap}]),ref_key:"t3dRef",ref:A},[a("div",{class:S(["tui-3d-panel-inner",[{"is-hover":g.hoverState,"has-mask":e.hoverMask&&"hover"==e.mode&&l(n)}]]),onMouseenter:o[0]||(o[0]=e=>f(1)),onMouseleave:o[1]||(o[1]=e=>f(0))},[H(i.$slots,"default",{boxShadowName:"box-shadow-item",textShadowName:"text-shadow-item",t3dShadowName:"t3d-shadow-item",dropShadowName:"drop-shadow-item"})],34)],6)),[[s,l(c)]]):q("",!0)}}}),Rr={class:"tui-control-panel",id:"controlPanel"},zr={class:"panel-title"},Mr={class:"desc"},xr={class:"panel-content"},Or={class:"item-title"},Ir={class:"item-content"},Er={class:"color-view"},Nr=Object.assign({name:"TuiControlPanel"},{__name:"index",setup(e){const{proxy:{isActAdvFeatures:A}}=De(),{$tState:t,$t3dConfig:l,themeToggle:i,$globalConfig:o,i18n:n,tConsolei18n:s,$deviceInfo:d}=ge("$global",null),u=m((()=>t.controlPanel.modal)),c=m((()=>t.controlPanel.width)),p=C(!1),g=C([]),V=ue({title:n("controlPanel.title"),visibleItems:[],settings:[{label:"theme",hide:!1,value:"light",type:"theme",children:[],title:n("controlPanel.label.theme")},{label:"t3D",hide:!0,type:"switch",value:!0,title:n("controlPanel.label.t3D")},{label:"maskBlur",hide:!1,type:"switch",value:!0,title:n("controlPanel.label.maskBlur")},{label:"transition",hide:!1,type:"switch",value:!0,title:n("controlPanel.label.transition")},{label:"sound",hide:!1,type:"switch",value:!0,title:n("controlPanel.label.sound")},{label:"adaptive",hide:!1,type:"radio",value:"extension",title:n("controlPanel.label.adaptive"),children:[{label:n("controlPanel.label.ad_extension"),value:"extension"},{label:n("controlPanel.label.ad_flexible"),value:"flexible"},{label:n("controlPanel.label.ad_fixed"),value:"fixed"},{label:n("controlPanel.label.ad_stretch"),value:"stretch"},{label:n("controlPanel.label.ad_disabled"),value:"disabled"}]},{label:"floaterTo",hide:!1,type:"radio",value:"#tuiAdpt",title:n("controlPanel.label.floaterTo"),children:[{label:n("controlPanel.label.ft_adpt"),value:"#tuiAdpt"},{label:n("controlPanel.label.ft_root"),value:"#tuiRoot"}]},{label:"resizeBy",hide:!1,type:"radio",value:"self",title:n("controlPanel.label.resizeBy"),children:[{label:n("controlPanel.label.rb_self"),value:"self"},{label:n("controlPanel.label.rb_root"),value:"root"}]},{label:"background",hide:!1,type:"radio",value:"all",title:n("controlPanel.label.background"),children:[{label:n("controlPanel.label.bg_all"),value:"all"},{label:n("controlPanel.label.bg_view"),value:"view"},{label:n("controlPanel.label.bg_root"),value:"root"},{label:n("controlPanel.label.bg_none"),value:"none"}]},{label:"menuTrigger",hide:!1,type:"radio",value:"click",title:n("controlPanel.label.menuTrigger"),children:[{label:n("controlPanel.label.mt_click"),value:"click"},{label:n("controlPanel.label.mt_hover"),value:"hover"}]}],drawerConfig:{direction:"rtl",padding:0,zIndex:3e3,showClose:!1}}),f=e=>{const A=t.controlPanel.exclusion,{label:a,key:l,value:i}=e;if(A.includes(a))return;const o=V.settings.find((e=>e.label===a));o?o[l]=i:console.error(`Error: Item with label '${a}' not found.`)},v=(e,A)=>{if("theme"==A.type){let t=A.children.filter((A=>A.value==e))[0];i(e,t.scheme)}else t.globalConfig[A.label]=e};I((()=>t.controlPanel.visible),(e=>{p.value=e,e&&w()})),I((()=>t.adaptiveConfig.inited),(e=>{if(e)f({label:"adaptive",key:"hide",value:!1});else{if(t.adaptiveConfig.ready)return;f({label:"adaptive",key:"hide",value:!0})}}),{immediate:!0}),I((()=>t.globalConfig.adaptive),(e=>{"disabled"!=e?f({label:"floaterTo",key:"hide",value:!1}):(f({label:"floaterTo",key:"hide",value:!0}),g.value.forEach((e=>e.scrollTo(0,!1))))}),{immediate:!0}),I((()=>d.value.browser),(e=>{"webkit"!=e&&f({label:"transition",key:"hide",value:!0})})),I((()=>l.value.inited),(e=>{f(e?{label:"t3D",key:"hide",value:!1}:{label:"t3D",key:"hide",value:!0})})),I((()=>p.value),(e=>{e||(t.controlPanel.visible=!1)}));const y=()=>{p.value=!1,t.controlPanel.visible=!1},b=e=>n(`controlPanel.tip.${e.label}`),w=()=>{const e=t.controlPanel.exclusion,A=t.controlPanel.extension;V.settings.forEach(((A,t)=>{let a=o.value[A.label];typeof a<"u"&&(A.value=a),e.includes(A.label)?A.hide=!0:V.visibleItems.push(A.label)})),V.visibleItems=[...new Set(V.visibleItems)];let a=["label","type","value","title","tipContent"];A.forEach(((e,A)=>{if(a.every((A=>A in e))){if(!V.visibleItems.includes(e.label)){let A=o.value[e.label];typeof A<"u"&&(e.value=A),V.settings.push(e)}}else s("warning","controlExtension","warn.controlExtension")}))};return wt((()=>{y()})),Ae((()=>{A||f({label:"t3D",key:"hide",value:!0}),w(),(()=>{let e=Lt.loadIndex();e&&e.length>0&&(e.forEach((e=>{e.label||(e.label=n(`theme.${e.value}`)+" - "+n(`theme.${e.scheme}`))})),f({label:"theme",key:"children",value:e}),1==e.length&&f({label:"theme",key:"hide",value:!0}))})()})),(e,A)=>{const l=ye("TuiPoptip"),i=ye("TuiRadioItem"),o=ye("TuiRadio"),n=ye("TuiVirtualScroller"),s=ye("TuiToggle"),d=ye("TuiDrawer");return r(),L(d,_e({modelValue:p.value,"onUpdate:modelValue":A[0]||(A[0]=e=>p.value=e)},V.drawerConfig,{modal:u.value,size:c.value}),{default:E((()=>[a("div",Rr,[a("div",zr,[a("span",Mr,Q(V.title),1),a("span",{class:"panel-close",onClick:y},[...A[1]||(A[1]=[a("i",{class:"tui-icon ti-times"},null,-1)])])]),a("div",xr,[(r(!0),h(U,null,Ve(V.settings,((e,d)=>(r(),h(U,null,[e.hide?q("",!0):(r(),h("div",{key:0,class:S(`item-group group-${e.type}`)},[a("div",Or,[ke(Q(e.title||e.label)+" ",1),K(l,{content:e.tipContent||b(e),maxWidth:c.value-20,placement:"top",zIndex:9e3,delay:500},{default:E((()=>[...A[2]||(A[2]=[a("i",{class:"tui-icon ti-info-circle"},null,-1)])])),_:1},8,["content","maxWidth"])]),a("div",Ir,["theme"==e.type?(r(),L(o,{key:0,class:"radio-theme",defaultIcon:!1,onChange:A=>v(A,e),modelValue:e.value,"onUpdate:modelValue":A=>e.value=A},{default:E((()=>[(r(!0),h(U,null,Ve(e.children,((e,t)=>(r(),L(i,{value:e.value||e.label,key:e.label},{default:E((()=>[K(l,{content:e.label,maxWidth:c.value-20,delay:500,zIndex:9e3},{default:E((()=>[a("div",Er,[A[3]||(A[3]=a("i",{class:"tui-icon ti-check"},null,-1)),(r(!0),h(U,null,Ve(e.colors,((e,A)=>(r(),h("div",{class:"color-item",style:X(`background-color:${e}`),key:e.label},null,4)))),128))])])),_:2},1032,["content","maxWidth"])])),_:2},1032,["value"])))),128))])),_:2},1032,["onChange","modelValue","onUpdate:modelValue"])):q("",!0),e.children?.length>2&&"radio"==e.type?(r(),L(n,{key:1,ref_for:!0,ref_key:"scrollerRef",ref:g,border:"auto",ctrlType:"button",buttonSize:"small",showPagination:!1},{default:E((()=>[K(o,{size:"small",defaultIcon:!1,appearance:"button",onChange:A=>v(A,e),modelValue:e.value,"onUpdate:modelValue":A=>e.value=A},{default:E((()=>[(r(!0),h(U,null,Ve(e.children,((e,A)=>(r(),L(i,{value:e.value||e.label,key:e.label},{default:E((()=>[ke(Q(e.label),1)])),_:2},1032,["value"])))),128))])),_:2},1032,["onChange","modelValue","onUpdate:modelValue"])])),_:2},1536)):q("",!0),e.children?.length<=2&&"radio"==e.type?(r(),L(o,{key:2,size:"small",defaultIcon:!1,appearance:"button",onChange:A=>v(A,e),modelValue:e.value,"onUpdate:modelValue":A=>e.value=A},{default:E((()=>[(r(!0),h(U,null,Ve(e.children,((e,A)=>(r(),L(i,{value:e.value||e.label,key:e.label},{default:E((()=>[ke(Q(e.label),1)])),_:2},1032,["value"])))),128))])),_:2},1032,["onChange","modelValue","onUpdate:modelValue"])):q("",!0),"switch"==e.type?(r(),L(s,{key:3,onChange:A=>(e=>{t.globalConfig[e.label]=e.value})(e),modelValue:e.value,"onUpdate:modelValue":A=>e.value=A,appearance:"toggleRect",size:"small"},null,8,["onChange","modelValue","onUpdate:modelValue"])):q("",!0)])],2))],64)))),256))])])])),_:1},16,["modelValue","modal","size"])}}}),Gr=e=>{const{chart:A,common:t,font:a,scifi:l}=e,{bg:i,bd:o}=t,{line:{weak:n,base:s,strong:r},bubble:{fc:d,bg:u,hlite:c},map:{fc:p,fc_hov:g,fc_act:V,bg:f,bd:v,bg_hov:h,bd_hov:m,bg_act:y,bd_act:b,glow:q,shadow:w},palette:C,visual:x}=A,{hlite:S,focus:k}=l,{weaker:B,weak:T,base:D,strong:$,stronger:M}=a;let z=xe.scale(C,6,"lch"),R=xe.scale(x,4,"lch");return JSON.stringify({color:z,textStyle:{},title:{textStyle:{color:D},subtextStyle:{color:T}},line:{label:{color:"inherit",textBorderColor:i,textBorderWidth:5},itemStyle:{borderWidth:"2"},lineStyle:{width:"3"},symbolSize:"7",symbol:"emptyCircle",smooth:!0},radar:{splitLine:{lineStyle:{show:!0,color:s,type:"dashed"}},axisLine:{show:!0,lineStyle:{color:s,type:"dashed"}},axisName:{show:!0,color:D},splitArea:{areaStyle:{color:[n,i]}},symbolSize:"7",symbol:"emptyCircle",markLine:{label:{color:"inherit",textBorderColor:i,textBorderWidth:5}},smooth:!0},bar:{itemStyle:{barBorderWidth:0,barBorderColor:n},markLine:{label:{color:"inherit",textBorderColor:i,textBorderWidth:5}}},pie:{itemStyle:{borderWidth:0,borderColor:i}},scatter:{label:{show:!0,color:d},emphasis:{labele:{fontWeight:"bold"}},itemStyle:{color:{type:"radial",x:.3,y:.3,r:.5,colorStops:[{offset:0,color:c},{offset:1,color:u}],global:!1},borderWidth:0,borderColor:n}},boxplot:{itemStyle:{borderWidth:0,borderColor:n}},parallel:{itemStyle:{borderWidth:0,borderColor:n}},sankey:{itemStyle:{borderWidth:0,borderColor:n}},funnel:{itemStyle:{borderWidth:0,borderColor:n}},gauge:{itemStyle:{borderWidth:0,borderColor:r},axisLine:{show:!0,lineStyle:{color:[[1,n]]}},axisTick:{show:!0,lineStyle:{color:r}},axisLabel:{show:!0,color:D},splitLine:{show:!0,lineStyle:{color:r}},detail:{color:"inherit"}},graph:{itemStyle:{borderWidth:0,borderColor:n},lineStyle:{width:1,color:s},symbolSize:"7",symbol:"circle",smooth:!0,color:z,label:{color:D}},map:{itemStyle:{areaColor:f,borderColor:v,borderWidth:.5},label:{color:D},emphasis:{itemStyle:{areaColor:h,borderColor:v,borderWidth:1},label:{color:D}}},geo:{scaleLimit:{min:.5,max:7},itemStyle:{areaColor:f,borderColor:v,shadowColor:w,shadowOffsetY:0,shadowBlur:5,borderWidth:.5},label:{show:!0,fontSize:12,color:p},emphasis:{itemStyle:{areaColor:h,borderColor:m,borderWidth:1},label:{fontSize:14,color:g}},select:{itemStyle:{areaColor:y,borderColor:b,borderWidth:1},label:{fontSize:14,color:V}}},categoryAxis:{axisLine:{show:!0,lineStyle:{color:s}},splitLine:{show:!1,lineStyle:{color:n}},axisTick:{show:!1,lineStyle:{color:n}},axisLabel:{show:!0,color:D},splitArea:{show:!1}},valueAxis:{axisLine:{show:!0,lineStyle:{color:s}},axisTick:{show:!1,lineStyle:{color:n}},axisLabel:{show:!0,color:D},splitLine:{show:!0,lineStyle:{color:n}},splitArea:{show:!1}},logAxis:{axisLine:{show:!0,lineStyle:{color:s}},axisTick:{show:!1,lineStyle:{color:n}},axisLabel:{show:!0,color:D},splitLine:{show:!1,lineStyle:{color:n}},splitArea:{show:!1}},timeAxis:{axisLine:{show:!0,lineStyle:{color:s}},axisTick:{show:!1,lineStyle:{color:n}},axisLabel:{show:!0,color:D},splitLine:{show:!1,lineStyle:{color:n}},splitArea:{show:!1}},toolbox:{iconStyle:{borderColor:D},emphasis:{iconStyle:{borderColor:$}}},legend:{y:"bottom",x:"center",textStyle:{color:D},itemStyle:{borderColor:"transparent",borderWidth:1,opacity:1}},tooltip:{backgroundColor:i,textStyle:{color:D},axisPointer:{lineStyle:{color:D,width:1},crossStyle:{color:D,width:1}}},timeline:{symbol:"circle",progress:{itemStyle:{color:S,borderColor:"white",borderWidth:0},lineStyle:{color:S,shadowColor:"rgba(0, 0, 0, 0)"}},lineStyle:{color:k,width:1,shadowColor:"rgba(0, 0, 0, 0)"},itemStyle:{color:k,borderColor:"white",borderWidth:0},controlStyle:{color:B,borderColor:"white",borderWidth:0},checkpointStyle:{symbol:"circle",color:S,borderColor:"white",borderWidth:0,shadowColor:"rgba(0, 0, 0, 0)"},label:{color:D},emphasis:{itemStyle:{color:k},controlStyle:{color:D,borderWidth:0},label:{color:$}}},visualMap:{color:R,textStyle:{color:D},zlevel:10}})};async function Wr(e,A){if(A)try{const t=JSON.parse(Gr(A));e.registerTheme("eTheme",t)}catch(e){console.error("registerEchartsTheme: Failed to register theme",e)}else console.warn("registerEchartsTheme: themePalette is required!")}const jr=async()=>{const e=Lt.load();return e.length>0?e:(await import("@techui/themes/lightBlue"),Lt.load()||[])};function po(e,A="",t={}){for(let a in e)if(e.hasOwnProperty(a)){let l=A?`${A}-${a}`:`--${a}`;"object"!=typeof e[a]||Array.isArray(e[a])?t[l]=e[a]:po(e[a],l,t)}return t}const Fr=e=>{const A=["bg","bd","weakest","weaker","weak","base","strong","stronger","strongest"],t=[.1,.2,.3,.4,.5,.6,.7,.8,.9];for(let a in e)CSS.supports("color",e[a])&&A.includes(a)&&t.forEach((A=>{const t=`${a}_op${10*A}`,l=xe.fade(e[a],A);CSS.supports("color",l)&&(e[t]=l)}))},Qr=(e,A,t)=>{let a=We.dpc(t);const l=["common","button","input","tone","primary","success","info","warning","danger","emphasis"];for(let e in a)l.includes(e)&&Fr(a[e]);let i=`color-scheme: ${e};${JSON.stringify(po(a)).replace(/{|}|"/g,"").replace(/,--/g,";--")}`;_t("Theme",A,`:root{${i}}`)};function Lr(e={}){const{threshold:A=15,resetInterval:t=1e3,onTrigger:a=(()=>{})}=e,l=ce("clickWatch"),i=C(0);let o=0;const n=e=>{const l=(new Date).getTime();l-o>t&&(i.value=0),i.value++,o=l,i.value>=A&&(a(),i.value=0)};return Ae((()=>{ne.add(window,"contextmenu",n,l,!1,!1),ne.add(window,"touchstart",n,l,!1,!1)})),lt((()=>{ne.remove(window,"contextmenu",l,!1,!1),ne.remove(window,"touchstart",l,!1,!1)})),{clickCount:i}}const Ur=Object.assign({name:"TuiProvider"},{__name:"index-scifi",setup(e){const{proxy:A,proxy:{$tBus:t,$tState:a,$tService:i,$echarts:o,isActAdvFeatures:n,isActEchartsFeatures:s,$tPopover:d,$tPopoverCloaseAll:u,$tMask:c,$tMaskClose:p,$tLoading:g,$tLoadingClose:V,$tMessage:f,$tMessageCloseAll:v,$tNotify:m,$tNotifyCloseAll:y,$tToast:b,$tToastClose:w,$tFlash:x,$tFlashClose:k,$tAttentionDispatcher:B,$tAttentionDispatcherClose:T}}=De(),{$gVersion:D,$globalConfig:$,$globalState:M,$globalParams:z,$viewTrans:R,$gPlatform:O,$deviceInfo:E,$gMaskBlur:P,$gTheme:N,$gThemeScheme:_,initI18n:Q,tStoreCrypto:G,initBG:W,resetBG:L,$gBackground:U,resetAdaptiveConfig:j,$adptInited:F,$gTransition:Y}=i;Lr({threshold:19,resetInterval:200,onTrigger:()=>{Ma()}});const X=rA(),Z=XA(),J=C(!1),te=C(!1),ae=C(!1),le=ce("provider");I((()=>a.globalConfig.theme),((e,A)=>{be(e)})),I((()=>N.value),(e=>{mt.replace(we.el("body"),"theme-",e)}),{immediate:!0}),I((()=>_.value),(e=>{mt.replace(we.el("body"),"theme-scheme-",e)}),{immediate:!0}),I((()=>a.globalConfig.maskBlur),(e=>{mt.replace(we.el("body"),"mask-",e?"blur":"trans")}),{immediate:!0}),I((()=>a.globalConfig.adaptive),(e=>{"disabled"!=e||!F.value||j()}),{immediate:!0}),I((()=>a.globalConfig),(e=>{G.s("local","globalConfig",e)}),{deep:!0}),I((()=>U.value),(e=>{ae.value&&("none"!=e?W(null,"watch-$gBackground"):L())})),I((()=>a.backgroundConfig),(()=>{"none"!=U.value&&W(null,"watch-backgroundConfig")}),{deep:!0});const oe=async()=>{te.value||!ae.value||(j(),te.value=!0,await ee(),te.value=!1)},se=()=>{window.location.reload()};window.softReload=oe,window.hardReload=se;const de=()=>{const{type:e,h:A,v:t,touchable:l,orientation:i,screenInvert:o,browser:n}=Co();a.deviceInfo={type:e,resolutionH:A,resolutionV:t,touchable:l,orientation:i,screenInvert:o,browser:n}},ue=(e,A="push")=>{const t={...Z.query,...e};"push"===A?X.push({query:t}):X.replace({query:t})},pe=e=>e?Array.isArray(e)?e.reduce(((e,A)=>(e[A]=Z.query[A],e)),{}):Z.query[e]:Z.query,ge=e=>{const A=e?.meta?.order;return"number"==ve(A)?A:-1},Ve=async({path:e,query:A,transTarget:t=null,transName:a=null,transDur:l=null,useOrder:i=!1,from:o=null})=>{if(Z.path!=e){if(a||t||l){let e;"layout"==t&&(e=R.value.altNames.layout),he(t,a||e,l)}if(i){const A=X.currentRoute.value,t=ge(A),a=X.resolve(e),l=ge(a);if(t>-1&&l>-1){const{altNames:{routerPre:e,routerNxt:A}}=R.value;l>t?he(null,A):l<t&&he(null,e)}}await ee(),qA({callback:()=>X.push({path:e,query:A}),enable:Y.value,complete:()=>{he()}})}},fe=async(e,A)=>{!e||!A||(he("root",R.value.altNames.theme),await ee(),qA({callback:()=>{a.globalConfig.theme=e,a.globalConfig.themeScheme=A},enable:!0,complete:()=>{he()}}))},he=(e=null,A=null,t=null)=>{A&&(R.value.curName=A),e&&(R.value.curTarget=e),t&&(R.value.curDur=t),!A&&!e&&!t&&(R.value.curName=R.value.altNames.common,R.value.curTarget=R.value.altTarget,R.value.curDur=R.value.altDur),me()},me=()=>{const{blurSaturate:e,blurRange:A,initDur:t}=z.value,{curTarget:a,curName:l,curDur:i}=R.value;let o=ie("tui-global",{[`transi-${a}`]:l,"blur-satur":e,"blur-range":A+"px","init-dur":t+"s","transi-dur":i+"s"});_t("GlobalParams",`vtName-${l};vtTraget-${a}`,`:root{${o}}`)},be=async e=>{s&&(M.value.echartsThemeInited=!1);let A=e,t=await jr(),l=t.find((e=>e.value===A));!l&&t.length>0&&(l=t[0],A=l.value,$.value.theme=l.value,$.value.themeScheme=l.scheme),a.themePalette=l.data,Qr(_.value,A,l.data),ae.value||(ae.value=!0,M.value.themeInited=!0),W(null,"processTheme"),(async e=>{s&&o&&(await Wr(o,e),M.value.echartsThemeInited=!0)})(l.data)};wt((async()=>{He("$global",{$tBus:t,proxy:A,updateRouteQuery:ue,getRouteQuery:pe,routerTransition:Ve,themeToggle:fe,...i,softReload:oe,hardReload:se,$tBus:t,$tState:a,$tService:i,$echarts:o,isActAdvFeatures:n,isActEchartsFeatures:s,$tPopover:d,$tPopoverCloaseAll:u,$tMask:c,$tMaskClose:p,$tLoading:g,$tLoadingClose:V,$tMessage:f,$tMessageCloseAll:v,$tNotify:m,$tNotifyCloseAll:y,$tToast:b,$tToastClose:w,$tFlash:x,$tFlashClose:k,$tAttentionDispatcher:B,$tAttentionDispatcherClose:T}),await Q();let e=G.g("local","globalConfig");e&&(e.platform==O.value&&e.version==D.value?a.globalConfig=e:G.d("local","globalConfig")),be(N.value)}));const qe=e=>{"F11"===e.key&&(e.preventDefault(),bA.toggle()),"Escape"===e.key&&M.value.escCounter++},xe=e=>{M.value.clickCounter++,M.value.clickTarget=e.target};Ae((()=>{me();let e=we.el("#preLoading");e&&e.remove(),screen.orientation&&screen.orientation.addEventListener("change",de),ne.add(document,"keydown",qe,le,!1,!1),ne.add(document,"click",xe,le,!1,!1),ne.add(document,"contextmenu",xe,le,!1,!1),J.value=!0})),lt((()=>{screen.orientation.removeEventListener("change",de),ne.remove(document,"keydown",le,!1,!1),ne.remove(document,"click",le,!1,!1),ne.remove(document,"contextmenu",le,!1,!1)}));const Se=e=>{de(),M.value.fullScreen=bA.isEnabled(),M.value.resizeCounter++};return(e,A)=>{const t=ye("TuiControlPanel"),a=Ce("tui-resize");return!te.value&&ae.value?re((r(),h("div",{key:0,id:"tuiRoot",class:S(["tui-root",`theme-${l(N)}`,`theme-scheme-${l(_)}`,"mask-"+(l(P)?"blur":"trans"),l(E).type,l(E).orientation&&`screen-dir-${l(E).orientation}`,"screen-"+(l(E).screenInvert?"invert":"no-invert"),{"tui-view-bg":"view"==l(U),"tui-root-bg":"root"==l(U)||"all"==l(U)}])},[K(t),H(e.$slots,"default")],2)),[[a,{callback:Se,uid:l(le)}]]):q("",!0)}}}),Hr={type:{type:String,default:"default",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis","focus"].includes(e)},decoType:{type:String,default:"A",validator:e=>["A","B","C","D","E","F","G","H","I","J"].includes(e)},size:{type:String,default:null,validator:e=>["large","default","small"].includes(e)},customColor:{type:[String,Array],default:null,validator:e=>"string"==ve(e)?CSS.supports("color",e):"array"==ve(e)?e.length>0&&e.every((e=>CSS.supports("color",e))):void 0},iconPosition:{type:String,default:"start",validator:e=>["start","end"].includes(e)},nativeType:{type:String,default:"button",validator:e=>["button","submit","reset"].includes(e)},decoDirection:{type:String,default:"br",validator:e=>["tl","tr","bl","br"].includes(e)},borderRadius:{type:Number,default:-1},decoThickness:{type:Number,default:0},decoOffset:{type:Number,default:-1},decoSize:{type:Number,default:0},plain:{type:Boolean,default:!1},round:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},link:{type:Boolean,default:!1},text:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},textWithBG:{type:Boolean,default:!1},icon:String},Yr=["disabled","type"],Kr=Object.assign({name:"TuiButton"},{__name:"button",props:{...Hr},emits:["click"],setup(e,{emit:A}){const{proxy:{$slots:t,$tService:{$gThemeScheme:a}}}=De(),i=e,o=m((()=>{const e=i.customColor;if(!e)return;let A=xe.genColors(e,7,50);return"dark"==a.value&&(A=A.reverse()),ie("custom",xe.genColorObj(A))})),n=A,s=ge("TuiButtonG",null),d=m((()=>s?.size?.value||i.size)),u=e=>{i.disabled||i.loading||n("click",e)};return Ae((()=>{})),(e,A)=>(r(),h("button",{class:S([!e.link&&!e.text&&"tui-button",`tui-type-${e.customColor?"custom":e.type}`,d.value&&`tui-size-${d.value}`,{"tui-button-link":e.link,"tui-button-text":e.text,"is-plain":e.plain,"is-round":e.round,"is-circle":e.circle,"text-has-bg":e.textWithBG&&e.text,"is-disabled":e.disabled}]),disabled:e.disabled,type:e.nativeType,onClick:u,style:X(e.customColor?o.value:null)},[e.icon?(r(),h("i",{key:0,class:S(e.icon)},null,2)):q("",!0),l(t).default&&!e.circle?H(e.$slots,"default",{key:1}):q("",!0)],14,Yr))}}),Xr=Object.assign({name:"TuiButtonGroup"},{__name:"buttonGroup",props:{size:{type:String,default:"default",validator:e=>["large","default","small"].includes(e)},vertical:{type:Boolean,default:!1}},setup(e){const A=e;return He("TuiButtonG",{size:m((()=>A.size)),appearance:"default"}),(A,t)=>(r(),h("div",{class:S(["tui-button-group",[`tui-button-group-size-${e.size}`,{"tui-button-group-vertical":e.vertical}]])},[H(A.$slots,"default")],2))}}),Zr=Object.assign({name:"TuiCheckbox"},{__name:"index",props:{modelValue:Array,max:Number,defaultIcon:{type:Boolean,default:!0},separable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},appearance:{type:String,default:"simple",validator:e=>["simple","buttonPlain","button"].includes(e)},direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)},textDirection:{type:String,default:null,validator:e=>["h","v"].includes(e)},size:{type:String,default:"default",validator:e=>["default","small","large"].includes(e)},align:{type:String,default:null,validator:e=>["start","center","end"].includes(e)},options:{type:Array,default:[],validator:e=>{const{valid:A,message:t}=at.fieldValid(e,["label"]);return A||console.warn("TuiCheckBox Warning! ",t),A}},tipConfig:Object,itemMaxWidth:[Number,String],className:String},emits:["change","update:modelValue"],setup(e,{emit:A}){const t=e,a=ge("TuiForm",null),l=m((()=>a?.size?.value||t.size)),i=m((()=>a?.disabled?.value||t.disabled)),o=m((()=>ie("cpt-ckbox",{...t.align&&{align:t.align},...t.itemMaxWidth&&{maxw:ve.join("number",t.itemMaxWidth,"px")}}))),n=A;return He("TuiCkboxG",{tipConfig:m((()=>t.tipConfig)),modelValue:m((()=>t.modelValue)),defaultIcon:m((()=>t.defaultIcon)),max:m((()=>t.max)),parDisabled:i,isChecked:e=>t.modelValue.includes(e),updateValue:e=>{const A=[...t.modelValue];if(!e&&0!=e||-1!=A.indexOf(e)){const t=A.indexOf(e);t>-1&&A.splice(t,1)}else{if(t.max&&A.length>=t.max)return;A.push(e)}n("update:modelValue",A),n("change",A)}}),Ae((()=>{})),(A,t)=>{const a=ye("TuiCheckboxItem");return r(),h("div",{class:S(["tui-checkbox",`tui-checkbox-${e.appearance}`,`tui-size-${l.value}`,e.className,e.direction&&`tui-dir-${e.direction}`,e.textDirection&&`tui-textDir-${e.textDirection}`,{"is-separable":e.separable}]),style:X(o.value)},[e.options.length>0?(r(!0),h(U,{key:0},Ve(e.options,((e,A)=>(r(),L(a,{value:null!=e.value&&null!=e.value?e.value:A,count:e.count,icon:e.icon,disabled:e.disabled},{default:E((()=>[ke(Q(e.label),1)])),_:2},1032,["value","count","icon","disabled"])))),256)):H(A.$slots,"default",{key:1})],6)}}}),Jr={key:0,class:S("checkbox-icon tui-icon ti-square")},eu={key:1,class:S("checkbox-icon tui-icon tis-check-square")},tu=Object.assign({name:"TuiCheckboxItem"},{__name:"item",props:{value:{type:[String,Number,Boolean],required:!0},icon:{type:[String,Array],default:null},disabled:{type:Boolean,default:!1}},setup(e){const A=e,{tipConfig:t,updateValue:a,modelValue:i,defaultIcon:o,max:n,isChecked:s,parDisabled:d}=ge("TuiCkboxG",null),u=m((()=>u.value)),c=m((()=>s(A.value))),p=m((()=>"array"==ve(A.icon)&&2==A.icon.length?c.value?A.icon[1]:A.icon[0]:"string"==ve(A.icon)?A.icon:void 0)),g=e=>{A.disabled||d.value||a(A.value)};return wt((()=>{})),(A,a)=>{const i=ye("TuiTextTip");return r(),h("div",{onClick:g,class:S(["tui-checkbox-item",{"is-active":c.value,"is-disabled":e.disabled||l(d)}])},[!c.value&&l(o)?(r(),h("i",Jr)):l(o)?(r(),h("i",eu)):q("",!0),e.icon?(r(),h("i",{key:2,class:S(`checkbox-icon ${p.value}`)},null,2)):q("",!0),K(i,tt(At(l(t))),{default:E((()=>[H(A.$slots,"default")])),_:3},16)],2)}}}),Au=Object.assign({name:"TuiForm"},{__name:"index",props:{model:{type:Object,default:()=>({})},rules:{type:Object,default:()=>({})},inline:{type:Boolean,default:!1},labelPosition:{type:String,default:"right",validator:e=>["left","right","top"].includes(e)},labelWidth:{type:[String,Number],default:150},labelSuffix:{type:String,default:":"},labelHide:{type:Boolean,default:!1},asteriskHide:{type:Boolean,default:!1},asteriskPosition:{type:String,default:"left",validator:e=>["left","right"].includes(e)},showMessage:{type:Boolean,default:!0},inlineMessage:{type:Boolean,default:!1},validateOnRuleChange:{type:Boolean,default:!0},size:{type:String,default:"default",validator:e=>["large","default","small"].includes(e)},disabled:{type:Boolean,default:!1},scrollToError:{type:Boolean,default:!1},scrollIntoViewOptions:{type:[Object,Boolean],default:!0}},emits:["validate"],setup(e,{expose:A,emit:t}){const a=e,l=t,i=C([]),o=e=>{if(e&&e.length>0){const A=[];return e.forEach((e=>{const t=i.value.find((A=>A.prop===e));t&&A.push(t)})),A}return i.value.filter((e=>e.prop))},n=e=>{const A=i.value.find((A=>A.prop===e));A&&A.$el&&A.$el.scrollIntoView(a.scrollIntoViewOptions)};return He("TuiForm",{labelWidth:m((()=>a.labelWidth)),labelPosition:m((()=>a.labelPosition)),labelSuffix:m((()=>a.labelSuffix)),labelHide:m((()=>a.labelHide)),asteriskHide:m((()=>a.asteriskHide)),asteriskPosition:m((()=>a.asteriskPosition)),showMessage:m((()=>a.showMessage)),inlineMessage:m((()=>a.inlineMessage)),inline:m((()=>a.inline)),model:m((()=>a.model)),rules:m((()=>a.rules)),size:m((()=>a.size)),disabled:m((()=>a.disabled)),addField:e=>{e&&i.value.push(e)},removeField:e=>{if(e&&e.prop){const A=i.value.findIndex((A=>A.prop===e.prop));A>-1&&i.value.splice(A,1)}},emit:l}),A({validate:async e=>{if(!a.model)return console.warn("[TuiForm] model is required for validate to work."),!1;let A;"function"!=typeof e&&(A=new Promise(((A,t)=>{e=(e,a)=>{e?A(!0):t(a)}})));let t=!0,l=0,i={};const s=o();return 0===s.length?(e(!0,{}),A):(s.forEach((A=>{A.validate("",((o,r)=>{o&&(t=!1,i[A.prop]=r||{message:o,field:A.prop}),"function"==typeof e&&++l===s.length&&(e(t,i),!t&&a.scrollToError&&n(Object.keys(i)[0]))}))})),A)},validateField:(e,A)=>{const t=o([].concat(e));0!==t.length?t.forEach((e=>{e.validate("",A)})):console.warn("[TuiForm] please pass correct props!")},resetFields:()=>{a.model?i.value.forEach((e=>{e.resetField()})):console.warn("[TuiForm] model is required for resetFields to work.")},clearValidate:e=>{(e?o([].concat(e)):i.value).forEach((e=>{e.clearValidate()}))},scrollToField:n,fields:m((()=>i.value))}),(A,t)=>(r(),h("form",{class:S(["tui-form",{"is-inline":e.inline,[`tui-label-pos-${e.labelPosition}`]:e.labelPosition,[`tui-size-${e.size}`]:e.size}]),onSubmit:t[0]||(t[0]=yt((()=>{}),["prevent"]))},[H(A.$slots,"default")],34))}});function jt(e,A,t){let a=e;const l=(A=(A=A.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split(".");let i=0;for(let e=l.length;i<e-1&&(a||t);++i){const e=l[i];if(!(e in a)){if(t)throw new Error("please transfer a valid prop path to form item!");break}a=a[e]}return{o:a,k:l[i],v:a?a[l[i]]:null}}const ou=["for"],au={key:0,class:"tui-fi-asterisk"},su={key:1,class:"tui-fi-asterisk"},lu={key:2,class:"tui-fi-label-suffix"},iu={class:"tui-fi-content-wrap"},nu=Object.assign({name:"TuiFormItem"},{__name:"item",props:{contentAlign:{type:String,default:null,validator:e=>["left","center","right"].includes(e)},prop:[String,Array],label:String,required:Boolean,error:String,for:String,validateStatus:{type:String,validator:e=>["","error","validating","success"].includes(e)}},setup(e,{expose:A}){const t=e,i=ge("TuiForm",null),{asteriskHide:o,asteriskPosition:n,labelWidth:s,labelPosition:d,labelSuffix:u,labelHide:c,showMessage:p,inlineMessage:g,inline:V,model:f,addField:v,removeField:y,size:b,rules:w,emit:x}=i,k=Yt(),B=C(null),T=C(""),D=C(""),$=C(!1),M=C(void 0),z=m((()=>t.for||t.prop)),R=m((()=>V.value&&"right"==d.value?"left":d.value)),O=m((()=>{let e=W();if(!e)return;let A=!1;return e?.length&&e.every((e=>!e.required||(A=!0,!1))),A||t.required})),P=m((()=>!t.label&&!k.label||c.value)),N=m((()=>{if(!V.value)return[ie("cpt-fi-label",{..."top"===R.value&&{width:"100%"},..."top"!=R.value&&s.value&&"auto"!==s.value&&{width:ve.join("number",s.value,"px")}})]})),_=m((()=>"error"===T.value&&p.value&&D.value)),G=()=>{if(f.value&&t.prop)return jt(f.value,t.prop,!0).v},W=()=>{const e=w.value,A=void 0!==t.required?{required:!!t.required}:[],a=jt(e,t.prop||"",!1),l=e?a.o[t.prop||""]||a.v:[];return l?[].concat(l).concat(A):null},L=(e,A=(()=>{}))=>{$.value=!1;const a=(e=>{const A=W();if(A)return A.filter((A=>!A.trigger||""===e||(Array.isArray(A.trigger)?A.trigger.includes(e):A.trigger===e))).map((e=>({...e})))})(e);if(!a||0===a.length)return A(),!0;T.value="validating";const l={};a&&a.length>0&&a.forEach((e=>{delete e.trigger})),l[t.prop]=a;const i=new ks(l),o={};o[t.prop]=G(),i.validate(o,{firstFields:!0},((e,a)=>{T.value=e?"error":"success",D.value=e?e[0].message:"";const l=e?{message:D.value,field:t.prop}:null;A(D.value,l),x("validate",t.prop,!e,D.value||null)}))},U=()=>{T.value="",D.value="",$.value=!1},j=()=>{T.value="",D.value="";const e=G();if(Array.isArray(e)){$.value=!0;const e=jt(f.value,t.prop,!0);e.o[e.k]=[].concat(M.value)}else{$.value=!0;const e=jt(f.value,t.prop,!0);e.o[e.k]=M.value}ee((()=>{$.value=!1}))},F=()=>{const e=B.value?.$el?.querySelectorAll("input, textarea, select");e?.length&&e[0].focus()};return I((()=>t.error),(e=>{D.value=e,T.value=e?"error":""}),{immediate:!0}),I((()=>t.validateStatus),(e=>{T.value=e})),Ae((()=>{if(t.prop){De();const e={prop:t.prop,validate:L,resetField:j,clearValidate:U,$el:B};v(e);const A=G();M.value=Array.isArray(A)?[...A]:A,(()=>{const e=W();if(e&&(e.length||void 0!==t.required)){const e=m((()=>G()));I(e,(()=>{$.value?$.value=!1:L("change")}))}})()}})),ze((()=>{if(t.prop){const e={prop:t.prop,validate:L,resetField:j,clearValidate:U,$el:B};y(e)}})),He("tuiFormItem",{...be(t),size:b,validateState:T,validateMessage:D,validate:L}),A({size:b,validateMessage:D,validateState:T,validate:L,resetField:j,clearValidate:U,prop:t.prop,$el:B}),(A,t)=>{const i=ye("TuiTextTip");return r(),h("div",{class:S(["tui-form-item",`tui-fi-label-pos-${R.value}`,`tui-size-${l(b)}`,{"is-inline":l(V),"is-error":"error"===T.value,"is-validating":"validating"===T.value,"is-success":"success"===T.value,"is-required":O.value,"is-no-asterisk":l(o)}]),ref_key:"formItemRef",ref:B},[l(s)&&!P.value?(r(),h("div",{key:0,style:X(N.value),class:"tui-fi-label-wrap"},[a("label",{class:S(["tui-fi-label",`tui-label-pos-${R.value}`]),for:z.value,onClick:F},[O.value&&!l(o)&&"left"==l(n)?(r(),h("span",au,"*")):q("",!0),H(A.$slots,"label",{},(()=>[K(i,null,{default:E((()=>[ke(Q(e.label),1)])),_:1})])),O.value&&!l(o)&&"right"==l(n)?(r(),h("span",su,"*")):q("",!0),l(u)?(r(),h("span",lu,Q(l(u)),1)):q("",!0)],10,ou)],4)):q("",!0),a("div",iu,[a("div",{class:S(["tui-fi-content",e.contentAlign&&`is-align-${e.contentAlign}`])},[H(A.$slots,"default")],2),K(pe,{name:"fades"},{default:E((()=>[_.value?(r(),h("div",{key:0,class:S(["tui-fi-error",{"is-inline":l(g)}])},[H(A.$slots,"error",{error:D.value},(()=>[ke(Q(D.value),1)]))],2)):q("",!0)])),_:3})])],2)}}}),ru={key:0,class:"tui-input-prefix"},uu=["type","value","placeholder","disabled","readonly","maxlength","autocomplete","min","max","step"],du={key:2,class:"tui-length-counter"},cu={key:4,class:"tui-input-suffix"},pu=["value","placeholder","disabled","readonly","maxlength","rows","autosize"],fu={key:0,class:"tui-length-counter"},gu=Object.assign({name:"TuiInput"},{__name:"index",props:{type:{type:String,default:"text",validator:e=>["text","textarea","password","number"].includes(e)},size:{type:String,default:"default",validator:e=>["small","default","large"].includes(e)},rows:{type:[String,Number],default:3},autocomplete:{type:String,default:"off"},modelValue:[String,Number],maxLength:[String,Number],min:[String,Number],max:[String,Number],step:[String,Number],placeholder:String,icon:String,prefixIcon:String,suffixIcon:String,clearable:Boolean,formatter:Function,disabled:Boolean,readonly:Boolean,autosize:Boolean,precision:{type:Number,default:0},min:{type:Number,default:-100},max:{type:Number,default:Number.MAX_SAFE_INTEGER},step:{type:Number,default:1}},emits:["update:modelValue","input","change","blur","focus","clear"],setup(e,{emit:A}){const{proxy:{$tService:{i18n:t}}}=De(),l=Yt(),i=e,o=A,n=ge("TuiForm",null),s=ge("tuiFormItem",null),d=m((()=>n?.size?.value||i.size)),u=m((()=>n?.disabled?.value||i.disabled)),c=m({get:()=>i.modelValue,set:e=>o("update:modelValue",e)}),p=m((()=>i.prefixIcon||i.icon)),g=C(!1),V=m((()=>"password"===i.type?g.value?"text":"password":i.type)),f=()=>{g.value=!g.value},v=C(0),y=C(null),b=e=>{let A;if("number"==i.type){const t=Math.pow(10,i.precision);A=Math.round(e.target.value*t)/t,A<i.min?A=i.min:A>i.max&&(A=i.max)}else A=e.target.value,"text"===i.type&&i.formatter&&(A=i.formatter(A)),i.maxLength&&(A=A.slice(0,Number(i.maxLength)));c.value=A,v.value=A.length,o("input",e)},w=()=>{!l.prefix&&!l.suffix&&y.value.focus()},x=()=>{c.value="",v.value=0,y.value.focus(),o("clear")},k=C(!1),B=e=>{o("blur",e),s?.validate?.("blur"),k.value=!1},T=e=>{o("focus",e),k.value=!0},D=m((()=>i.clearable&&!u.value&&!i.readonly)),$=m((()=>i.placeholder||t("placeholder.input"))),M=m((()=>{const e=Number(i.modelValue);return!Number.isNaN(e)&&e<=i.min})),z=m((()=>{const e=Number(i.modelValue);return!Number.isNaN(e)&&e>=i.max})),R=()=>{if(u.value||z.value)return;const e=Fe.verify(i.modelValue)?i.modelValue:Number(i.modelValue),A=Math.pow(10,i.precision);let t=Math.round((e+i.step)*A)/A;t>i.max&&(t=i.max),o("update:modelValue",t),o("change",t)},I=()=>{if(u.value||M.value)return;const e=Fe.verify(i.modelValue)?i.modelValue:Number(i.modelValue),A=Math.pow(10,i.precision);let t=Math.round((e-i.step)*A)/A;t<i.min&&(t=i.min),o("update:modelValue",t),o("change",t)};return(A,t)=>{const l=ye("TuiButton");return r(),h("div",{class:S(["textarea"==e.type?"tui-textarea":"tui-input","number"==e.type&&"tui-input-number",`tui-size-${d.value}`,{"is-disabled":u.value,"is-readonly":e.readonly,"is-focus":k.value},"textarea"!==e.type?{"tui-custom-prefix":A.$slots.prefix||"number"==e.type,"tui-custom-suffix":A.$slots.suffix||"number"==e.type}:""]),onClick:w},["textarea"!==e.type?(r(),h(U,{key:0},[A.$slots.prefix||p.value||"number"==e.type?(r(),h("div",ru,["number"==e.type?(r(),L(l,{key:0,disabled:u.value||e.readonly||M.value,onClick:I},{default:E((()=>[...t[0]||(t[0]=[a("i",{class:"tui-icon ti-angle-left"},null,-1)])])),_:1},8,["disabled"])):H(A.$slots,"prefix",{key:1},(()=>[p.value?(r(),h("i",{key:0,class:S(["tui-input-icon",p.value])},null,2)):q("",!0)]))])):q("",!0),a("input",{class:"tui-input-inner",ref_key:"inputRef",ref:y,type:V.value,value:c.value,placeholder:$.value,disabled:u.value,readonly:e.readonly,maxlength:e.maxLength,autocomplete:e.autocomplete,min:e.min,max:e.max,step:e.step,onInput:b,onBlur:B,onFocus:T},null,40,uu),D.value&&c.value?(r(),h("div",{key:1,class:"input-clearable",onClick:x},[...t[1]||(t[1]=[a("i",{class:"tui-input-icon tui-icon ti-times"},null,-1)])])):q("",!0),e.maxLength?(r(),h("div",du,Q(v.value)+"/"+Q(e.maxLength),1)):q("",!0),"password"===e.type&&c.value?(r(),h("div",{key:3,class:"input-togglePass",onClick:f},[a("i",{class:S("tui-input-icon "+(g.value?"tui-icon ti-eye":"tui-icon ti-eye-off-slash"))},null,2)])):A.$slots.suffix||e.suffixIcon||"number"==e.type?(r(),h("div",cu,["number"==e.type?(r(),L(l,{key:0,disabled:u.value||e.readonly||z.value,onClick:R},{default:E((()=>[...t[2]||(t[2]=[a("i",{class:"tui-icon ti-angle-right"},null,-1)])])),_:1},8,["disabled"])):H(A.$slots,"suffix",{key:1},(()=>[e.suffixIcon?(r(),h("i",{key:0,class:S(["tui-input-icon",e.suffixIcon])},null,2)):q("",!0)]))])):q("",!0)],64)):(r(),h(U,{key:1},[a("textarea",{class:"tui-textarea-inner",ref_key:"inputRef",ref:y,value:c.value,placeholder:$.value,disabled:u.value,readonly:e.readonly,maxlength:e.maxLength,rows:e.rows,autosize:e.autosize,onInput:b,onBlur:B,onFocus:T},null,40,pu),e.maxLength?(r(),h("div",fu,Q(v.value)+"/"+Q(e.maxLength),1)):q("",!0)],64))],2)}}}),hu=Object.assign({name:"TuiRadio"},{__name:"index",props:{modelValue:[String,Number,Boolean],defaultIcon:{type:Boolean,default:!0},separable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},appearance:{type:String,default:"simple",validator:e=>["simple","buttonPlain","button"].includes(e)},direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)},textDirection:{type:String,default:null,validator:e=>["h","v"].includes(e)},size:{type:String,default:"default",validator:e=>["default","small","large"].includes(e)},align:{type:String,default:null,validator:e=>["start","center","end"].includes(e)},options:{type:Array,default:[],validator:e=>{const{valid:A,message:t}=at.fieldValid(e,["label"]);return A||console.warn("TuiRadio Warning! ",t),A}},tipConfig:Object,itemMaxWidth:[Number,String],className:String},emits:["change","update:modelValue"],setup(e,{emit:A}){const t=e,a=ge("TuiForm",null),l=m((()=>a?.size?.value||t.size)),i=m((()=>a?.disabled?.value||t.disabled)),o=m((()=>ie("cpt-radio",{...t.align&&{align:t.align},...t.itemMaxWidth&&{maxw:ve.join("number",t.itemMaxWidth,"px")}}))),n=A;return He("TuiRadioG",{tipConfig:m((()=>t.tipConfig)),updateValue:e=>n("update:modelValue",e),change:e=>n("change",e),modelValue:m((()=>t.modelValue)),defaultIcon:m((()=>t.defaultIcon)),parDisabled:i}),Ae((()=>{})),(A,t)=>{const a=ye("TuiRadioItem");return r(),h("div",{class:S(["tui-radio",`tui-radio-${e.appearance}`,`tui-size-${l.value}`,e.className,e.direction&&`tui-dir-${e.direction}`,e.textDirection&&`tui-textDir-${e.textDirection}`,{"is-separable":e.separable}]),style:X(o.value)},[e.options.length>0?(r(!0),h(U,{key:0},Ve(e.options,((e,A)=>(r(),L(a,{value:null!=e.value&&null!=e.value?e.value:A,count:e.count,icon:e.icon,disabled:e.disabled},{default:E((()=>[ke(Q(e.label),1)])),_:2},1032,["value","count","icon","disabled"])))),256)):H(A.$slots,"default",{key:1})],6)}}}),vu={key:0,class:S("radio-icon tui-icon ti-circle")},Vu={key:1,class:S("radio-icon tui-icon tis-dot-circle")},mu=Object.assign({name:"TuiRadioItem"},{__name:"item",props:{value:{type:[String,Number,Boolean],required:!0},icon:{type:[String,Array],default:null},disabled:{type:Boolean,default:!1}},setup(e){const A=e,{tipConfig:t,change:a,updateValue:i,modelValue:o,defaultIcon:n,parDisabled:s}=ge("TuiRadioG",null),d=m((()=>o.value===A.value)),u=m((()=>"array"==ve(A.icon)&&2==A.icon.length?d.value?A.icon[1]:A.icon[0]:"string"==ve(A.icon)?A.icon:void 0)),c=()=>{A.disabled||s.value||(i(A.value),a(A.value))};return(A,a)=>{const i=ye("TuiTextTip");return r(),h("div",{onClick:c,class:S(["tui-radio-item",{"is-active":d.value,"is-disabled":e.disabled||l(s)}])},[!d.value&&l(n)?(r(),h("i",vu)):l(n)?(r(),h("i",Vu)):q("",!0),e.icon?(r(),h("i",{key:2,class:S(`radio-icon ${u.value}`)},null,2)):q("",!0),K(i,tt(At(l(t))),{default:E((()=>[H(A.$slots,"default")])),_:3},16)],2)}}}),yu={key:0,class:"tui-icon ti-check"},fo=Object.assign({name:"TuiOption"},{__name:"option",props:{value:[String,Number,Object],label:String,disabled:{type:Boolean,default:!1}},emits:["select"],setup(e,{emit:A}){const t=e,a=A,{registerItem:i,tipConfig:o,selected:n,handleSelect:s,filterText:d,filterMethod:u}=ge("TuiSelect",null),c=()=>{t.disabled||(a("select",{value:t.value,label:t.label}),s({value:t.value,label:t.label}))},p=m((()=>n.value.some((e=>e.value===t.value)))),g=m((()=>!d.value||(u?u({value:t.value,label:t.label},d.value):t.label.toLowerCase().includes(d.value.toLowerCase()))));return Ae((()=>{i({value:t.value,label:t.label})})),(A,t)=>{const a=ye("TuiTextTip");return g.value?(r(),h("div",{key:0,class:S(["tui-select-item",{"is-disabled":e.disabled,"is-selected":p.value}]),onClick:c},[K(a,_e(l(o),{class:"tui-label"}),{default:E((()=>[ke(Q(e.label),1)])),_:1},16),p.value?(r(),h("i",yu)):q("",!0)],2)):q("",!0)}}}),bu={key:0,class:"tui-select-prefix"},qu={key:1,class:"tui-select-tags"},wu={key:0,class:"tui-select-tag"},$u=["onClick"],Cu={key:0,class:"tui-select-tag"},ku={key:2,class:"tui-select-value"},Tu={key:3,class:"tui-placeholder"},Su={class:"dropdown-scroll-wrap"},Bu=Object.assign({name:"TuiSelect"},{__name:"index",props:{size:{type:String,default:"default",validator:e=>["large","default","small"].includes(e)},multiple:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},collapseTags:{type:Boolean,default:!0},maxCollapseTags:{type:Number,default:2},filterable:{type:Boolean,default:!1},allowCreate:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!0},options:{type:Array,default:()=>[],validator:e=>{const{valid:A,message:t}=at.fieldValid(e,["label","value"]);return A||console.warn("TuiSelect Warning! ",t),A}},modelValue:[String,Number,Array],placeholder:String,creatPlaceholder:String,icon:String,prefixIcon:String,multipleLimit:Number,filterMethod:Function,filterPlaceholder:String,offset:{type:Number,default:10},tipConfig:Object},emits:["update:modelValue","change","visible-change","clear","blur","focus"],setup(e,{emit:A}){const{proxy:{$tService:{i18n:t}}}=De(),{$gClickTarget:i,$gClickCounter:o,$gEscCounter:n}=ge("$global",null),s=e,d=m((()=>s.placeholder||t("placeholder.select"))),u=m((()=>s.filterPlaceholder||t("placeholder.filter"))),c=ge("TuiForm",null),p=m((()=>c?.size?.value||s.size)),g=m((()=>c?.disabled?.value||s.disabled)),V=A,f=C(null),v=C(null),y=C(null),b=C(!1),w=C(!1),x=C(!1),k=C(!1),B=C(""),T=C([]),D=C(null),$=C([]),M=m((()=>s.prefixIcon||s.icon)),z=m((()=>s.multiple?T.value.map((e=>e.label)).join(", "):T.value[0]?.label||"")),R=C(0),O=m((()=>ie("cpt-slt-dpd",{...s.fitInputWidth&&R.value&&{w:R.value+"px"}}))),{floatingStyles:P,placement:N,update:_}=Dt(v,y,{placement:"bottom-start",strategy:"fixed",middleware:[Pt(s.offset),Rt({padding:5,boundary:"viewport"}),zt({fallbackPlacements:["top-start","bottom-start"]})]}),G=async()=>{s.fitInputWidth&&v.value&&(R.value=v.value.clientWidth),!g.value&&(w.value=!w.value,V("visible-change",w.value),await ee(),_())},W=(e,A=!0)=>{if(s.multiple){const A=T.value.findIndex((A=>A.value===e.value));if(-1!==A)T.value.splice(A,1);else{if(s.multipleLimit>0&&T.value.length>=s.multipleLimit)return;T.value.push(e)}D.value=T.value.map((e=>e.value))}else T.value=[e],D.value=e.value,w.value=!1;A&&j("all")},j=(e="all")=>{let A;A=s.multiple?{values:D.value,items:T.value}:{value:D.value,item:T.value[0]},("update"==e||"all"==e)&&V("update:modelValue",D.value),("change"==e||"all"==e)&&V("change",A)},F=()=>{T.value=[],D.value=null,B.value="",j("all"),V("clear")};I((()=>w.value),(e=>{e||(B.value&&(B.value=""),x.value&&(x.value=!1))})),I((()=>s.modelValue),(e=>{const A=s.options.length>0?s.options:$.value;if(0!=A)if(e&&0!=e.length)if(s.multiple||"string"!=ve(e)&&"number"!=ve(e))s.multiple&&"array"==ve(e)&&(at.shallowEQ(SA(e),SA(D.value))||(T.value=[],e.forEach((e=>{A.forEach((A=>{A.value==e&&W({value:A.value,label:A.label},!1)}))}))));else{const t=A.filter((A=>A.value==e));t[0].value!=T.value[0]?.value&&(T.value=t,D.value=t.value)}else T.value=[],D.value=null}));const Y=C(!1),Z=()=>{if(!f.value)return;const e=f.value.querySelectorAll(".tui-select-item");Y.value=e.length>0};I((()=>B.value),(()=>{ee(Z)}),{immediate:!0});He("TuiSelect",{tipConfig:m((()=>s.tipConfig)),selected:m((()=>T.value)),filterText:m((()=>B.value)),filterMethod:s.filterMethod?(e,A)=>s.filterMethod(e,A):null,handleSelect:e=>W(e),registerItem:e=>{if(0==$.value.filter((A=>A.value==e.value)).length&&$.value.push(e),s.multiple||"string"!=ve(s.modelValue)&&"number"!=ve(s.modelValue)){if(s.multiple&&"array"==ve(s.modelValue)){const A=T.value.filter((A=>A.value==e.value)),t=s.modelValue.filter((A=>A==e.value));0==A.length&&t.length>0&&W({value:e.value,label:e.label},!1)}}else s.modelValue==e.value&&0==T.value.length&&W({value:e.value,label:e.label},!1)}});const J=e=>{w.value&&f.value&&(!e||!f.value.contains(e)&&!mt.has(e,"input-clearable"))&&(w.value=!1)};return I((()=>n.value),(()=>{J(null)})),I((()=>o.value),(()=>{J(i.value)})),Ae((async()=>{Z(),b.value=!0})),ze((()=>{})),ws(Z),(A,t)=>{const i=ye("TuiTextTip"),o=ye("TuiInput"),n=ye("TuiEmpty");return r(),h("div",{ref_key:"selectRef",ref:f,class:S(["tui-select",`tui-select-${p.value}`,{"is-disabled":g.value,"is-focus":w.value,"is-multiple":e.multiple,"is-clearable":e.clearable,"is-fitInputWidth":e.fitInputWidth}])},[a("div",{class:"tui-select-trigger",onClick:G,onMouseenter:t[0]||(t[0]=e=>k.value=!0),onMouseleave:t[1]||(t[1]=e=>k.value=!1),ref_key:"triggerRef",ref:v},[A.$slots.prefix||M.value?(r(),h("div",bu,[H(A.$slots,"prefix",{},(()=>[M.value?(r(),h("i",{key:0,class:S(["tui-select-icon",M.value])},null,2)):q("",!0)]))])):q("",!0),e.multiple&&T.value.length>0?(r(),h("div",qu,[(r(!0),h(U,null,Ve(T.value,((A,t)=>(r(),h(U,{key:t},[!e.collapseTags||t<e.maxCollapseTags?(r(),h("span",wu,[K(i,_e({ref_for:!0},e.tipConfig,{class:"tui-label"}),{default:E((()=>[ke(Q(A.label),1)])),_:2},1040),a("span",{class:"tui-remove",onClick:yt((e=>(e=>{T.value.splice(e,1),D.value=T.value.map((e=>e.value)),j("update")})(t)),["stop"])},"✕",8,$u)])):q("",!0)],64)))),128)),e.collapseTags&&T.value.length>e.maxCollapseTags?(r(),h("span",Cu,Q(T.value.length-e.maxCollapseTags)+"+ ",1)):q("",!0)])):z.value?(r(),h("div",ku,[K(i,tt(At(e.tipConfig)),{default:E((()=>[ke(Q(z.value),1)])),_:1},16)])):(r(),h("div",Tu,Q(d.value),1)),a("i",{class:S(["tui-select-clear","tui-icon","ti-times",{"is-show":z.value&&e.clearable&&!g.value&&k.value}]),onClick:yt(F,["stop"])},null,2),t[3]||(t[3]=a("i",{class:"tui-select-arrow tui-icon ti-chevron-down"},null,-1))],544),K(pe,{name:"dropani"},{default:E((()=>[w.value||!b.value?(r(),h("div",{key:0,class:S(["tui-slt-dropdown",{"is-transp":!b.value}]),ref_key:"dropdownRef",ref:y,style:X([O.value,l(P),{transformOrigin:"bottom-start"==l(N)?"top center":"bottom center"}])},[e.filterable||e.allowCreate?(r(),L(o,{key:0,size:p.value,class:S(["tui-select-input",{"is-filterable":e.filterable,"is-allowCreate":e.allowCreate}]),icon:"tui-icon ti-filter",placeholder:u.value,clearable:"",modelValue:B.value,"onUpdate:modelValue":t[2]||(t[2]=e=>B.value=e)},null,8,["size","class","placeholder","modelValue"])):q("",!0),a("div",Su,[H(A.$slots,"default",{},(()=>[e.options.length>0?(r(!0),h(U,{key:0},Ve(e.options,((e,A)=>(r(),L(fo,{key:A,value:e.value,label:e.label,disabled:e.disaCPT},null,8,["value","label","disabled"])))),128)):q("",!0)])),Y.value?q("",!0):(r(),L(n,{key:0,size:"small"}))])],6)):q("",!0)])),_:3})],2)}}}),_u={key:0,class:"deact-label"},Du={key:0,class:"toggle-label"},Pu={key:1,class:"act-label"},cA=Object.assign({name:"TuiToggle"},{__name:"index",props:{activeText:String,inactiveText:String,inlinePrompt:Boolean,width:Number,appearance:{type:String,default:"toggleRect",validator:e=>["toggleRound","toggleRect","icon","iconPlain","iconButton"].includes(e)},size:{type:String,default:"default",validator:e=>["default","small","large"].includes(e)},icon:{type:[String,Array],default:["tui-icon ti-toggle-off","tui-icon ti-toggle-on"]},modelValue:{type:Boolean,required:!0},disabled:{type:Boolean,default:!1}},emits:["change","update:modelValue"],setup(e,{emit:A}){const{proxy:t}=De(),l=e,i=ge("TuiForm",null),o=m((()=>i?.size?.value||l.size)),n=m((()=>i?.disabled?.value||l.disabled)),s=m((()=>ie("cpt-tgl",{...l.width&&{width:l.width+"px"}}))),d=m((()=>"array"==ve(l.icon)?l.icon[1]:"string"==ve(l.icon)?l.icon:void 0)),u=m((()=>"array"==ve(l.icon)?2==l.icon.length?l.icon[0]:l.icon[1]:l.icon)),c=A,p=()=>{n.value||(c("update:modelValue",!l.modelValue),c("change",!l.modelValue))};return Ae((()=>{})),(A,t)=>(r(),h("div",{class:S(["tui-toggle",""+(e.modelValue?"tui-toggle-act":"tui-toggle-deact"),`tui-appea-${e.appearance}`,`tui-size-${o.value}`,{"is-disabled":n.value}]),style:X(s.value)},[!e.inlinePrompt&&e.inactiveText?(r(),h("div",_u,Q(e.inactiveText),1)):q("",!0),a("div",{onClick:p,class:"tui-toggle-core"},[a("div",{class:S(`toggle-inner ${e.appearance.includes("icon")?e.modelValue?d.value:u.value:""}`)},null,2),e.inlinePrompt?(r(),h("div",Du,[!e.modelValue&&e.inactiveText?(r(),h(U,{key:0},[ke(Q(e.inactiveText),1)],64)):q("",!0),e.modelValue&&e.activeText?(r(),h(U,{key:1},[ke(Q(e.activeText),1)],64)):q("",!0)])):q("",!0)]),!e.inlinePrompt&&e.activeText?(r(),h("div",Pu,Q(e.activeText),1)):q("",!0)],6))}}),Ru={key:0,class:"toggle-label"},zu=Object.assign({name:"TuiToggleControlPanel"},{__name:"toggleControlPanel",props:{modelValue:{type:Boolean,default:!1},appearance:{type:String,default:"iconPlain"},size:{type:String,default:"default"},icon:{type:[String,Array],default:"tui-icon ti-cog"},showLabel:{type:Boolean,default:!1},label:{type:String,default:null},direction:{type:String,default:"h"}},emits:["change","update:modelValue"],setup(e,{emit:A}){const{proxy:t,proxy:{$tState:a,$tService:l}}=De(),{controlPanelToggle:i,$controlPanel:o,$globalConfig:n,i18n:s}=l,d=e,u=A,c=C(!1),p=C(!1);I((()=>o.value.visible),(e=>{c.value=e,u("update:modelValue",e),u("change",e)}));const g=e=>{c.value&&i()},V=m((()=>d.label?d.label:s("controlPanel.title")));return Ae((()=>{null!=d.modelValue?(c.value=d.modelValue,o.value.show=d.modelValue):c.value=o.value.show,p.value=!0})),(A,t)=>(r(),h("div",{class:S(`tui-toggle-ctrlpanel direction-${e.direction}`)},[e.showLabel?(r(),h("div",Ru,Q(V.value),1)):q("",!0),p.value?(r(),L(cA,{key:1,appearance:e.appearance,size:e.size,icon:e.icon,onClick:g,modelValue:c.value,"onUpdate:modelValue":t[0]||(t[0]=e=>c.value=e)},null,8,["appearance","size","icon","modelValue"])):q("",!0)],2))}}),Mu={key:0,class:"toggle-label"},xu=Object.assign({name:"TuiToggleT3DPanel"},{__name:"toggleT3DPanel",props:{modelValue:{type:Boolean,default:!1},appearance:{type:String,default:"iconPlain"},size:{type:String,default:"default"},icon:{type:[String,Array],default:["tui-icon ti-grid","tui-icon ti-cube"]},showLabel:{type:Boolean,default:!1},label:{type:String,default:null},direction:{type:String,default:"h"}},emits:["change","update:modelValue"],setup(e,{emit:A}){const{proxy:{$tState:t,$tService:a}}=De(),{$gT3D:l,$globalConfig:i,i18n:o}=a,n=e,s=A,d=C(!1),u=C(!1);I((()=>i.value.t3D),(e=>{d.value=e,s("update:modelValue",e),s("change",e)}));const c=()=>{i.value.t3D=d.value},p=m((()=>n.label?n.label:o("controlPanel.label.t3D")));return Ae((()=>{(n.modelValue!=l.value||d.value!=l.value)&&(d.value=l.value,s("update:modelValue",l.value)),u.value=!0})),(A,t)=>(r(),h("div",{class:S(`tui-toggle-t3d direction-${e.direction}`)},[e.showLabel?(r(),h("div",Mu,Q(p.value),1)):q("",!0),u.value?(r(),L(cA,{key:1,appearance:e.appearance,size:e.size,icon:e.icon,onClick:c,modelValue:d.value,"onUpdate:modelValue":t[0]||(t[0]=e=>d.value=e)},null,8,["appearance","size","icon","modelValue"])):q("",!0)],2))}}),Ou={class:"dialog-title"},Iu={class:"dialog-body"},Eu={class:"dialog-footer"},Nu=Object.assign({name:"TuiDialogBase"},{__name:"base",props:{fullscreen:Boolean,title:String,appendTo:String,center:Boolean,overflow:Boolean,divider:Boolean,showClose:Boolean,dragContainment:Boolean,draggable:Boolean,closeIcon:{type:String,default:"tui-icon ti-times"},positionType:{type:String,default:"transform",validator:e=>["absolute","fixed","transform"].includes(e)},type:{type:String,default:"default",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},customColor:[String,Array],typedConfig:Object,visibleInner:Boolean,uid:String},emits:["close","confirm"],setup(e,{expose:A,emit:t}){const{i18n:i}=ge("$global",null),o=e,n=t,s=C(null),d=C(null),u=m((()=>o.title||"Title")),c=m((()=>({transparent:!1,appearance:"background",customColor:o.customColor,type:o.type,...o.typedConfig}))),p=()=>{n("close")},g=()=>{n("confirm")};return A({dialogRef:s,headerRef:d}),(A,t)=>{const n=ye("TuiButton"),V=ye("TuiTyped"),f=Ce("tui-drag");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["dialog-inner",`dialog-pos-${e.positionType||"relative"}`,{"is-fullscreen":e.fullscreen,"is-center":e.center,"is-overflow":e.overflow,"is-divider":e.divider}]),role:"dialog",ref_key:"dialogRef",ref:s,onClick:t[0]||(t[0]=yt((()=>{}),["stop"]))},[re(K(V,tt(At(c.value)),{default:E((()=>[a("div",{class:S(["dialog-header",{"is-draggable":e.draggable}]),ref_key:"headerRef",ref:d},[H(A.$slots,"header",{},(()=>[a("span",Ou,Q(u.value),1)])),e.showClose?(r(),h("div",{key:0,class:"dialog-close",onClick:p},[a("i",{class:S(e.closeIcon)},null,2)])):q("",!0)],2),a("div",Iu,[H(A.$slots,"default")]),a("div",Eu,[H(A.$slots,"footer",{},(()=>[K(n,{onClick:p},{default:E((()=>[ke(Q(l(i)("common.cancel")),1)])),_:1}),K(n,{type:"default"==e.type||"invert"==e.type?"primary":e.type,customColor:e.customColor,onClick:g},{default:E((()=>[ke(Q(l(i)("common.confirm")),1)])),_:1},8,["type","customColor"])]))])])),_:3},16),[[fe,e.visibleInner]])],2)),[[f,{enabled:e.draggable&&!e.fullscreen,trigger:".dialog-header",exclude:".dialog-close",containment:e.dragContainment,positionType:e.positionType,inAdpt:o.appendTo?.includes("tuiAdpt"),uid:e.uid}]])])),_:3})}}}),rt=C(0),Ft=C(0),Gu=Object.assign({name:"TuiDialog"},{__name:"index",props:{top:[String,Number],fullscreen:Boolean,modelValue:Boolean,title:String,modalClass:String,beforeClose:Function,overflow:Boolean,center:Boolean,destroyOnClose:Boolean,appendTo:String,modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},closeOnBackdrop:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},divider:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},dragContainment:{type:Boolean,default:!0},resetDragOnClose:{type:Boolean,default:!0},alignCenter:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},zIndex:{type:Number,default:null},width:{type:[String,Number],default:null},closeIcon:{type:String,default:"tui-icon ti-times"},positionType:{type:String,default:"transform",validator:e=>["absolute","fixed","transform"].includes(e)},type:{type:String,default:"default",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},customColor:[String,Array],typedConfig:Object},emits:["update:modelValue","open","opened","close","closed","confirm","open-auto-focus","close-auto-focus"],setup(e,{emit:A}){const{proxy:{$tMask:t,$tMaskClose:a,$tService:i}}=De(),{$gClickCounter:o,$gEscCounter:n,$optFloaterTo:s}=ge("$global",null),d=e,u=C(!0),c=m((()=>d.appendTo||s.value)),p=A,g=C(!1),V=C(!1),f=C(null),v=C(null),y=C(0),b=ce("dialog");let w=!1,x=!1;const S=m((()=>[ie("cpt-dlg",{...d.width&&{width:"string"==ve(d.width)?d.width:d.width+"px"},...d.top&&{top:"string"==ve(d.top)?d.top:d.top+"px"},zIndex:d.zIndex||2001+y.value})]));let k=null;const B=()=>{k&&(k(),k=null)},T=()=>{d.beforeClose?d.beforeClose((()=>O())):O()},D=()=>{d.closeOnBackdrop&&1==rt.value&&T()};I((()=>n.value),(()=>{g.value&&d.closeOnEsc&&rt.value==y.value&&T()}));const $=()=>{d.beforeClose?d.beforeClose((()=>O())):O(),p("confirm")},M=()=>(f.value.offsetWidth-v.value.dialogRef.offsetWidth)/2+30*(y.value-1)+"px",z=()=>{if(d.alignCenter){return(f.value.offsetHeight-v.value.dialogRef.offsetHeight)/2+"px"}return d.top?"string"==ve(d.top)?d.top:"number"==ve(d.top)?d.top+"px":void 0:100+30*y.value+"px"},R=async()=>{if(!w){if(w=!0,g.value=!0,p("open"),rt.value++,y.value=rt.value,d.modal&&!d.fullscreen&&(Ft.value++,t({appendTo:c.value,visible:g.value,modal:d.modal,position:"fixed",click:D})),await ee((()=>{p("opened"),p("open-auto-focus"),w=!1,V.value=!0})),d.lockScroll&&(()=>{if(!d.lockScroll)return;const e="has-dialog-open";document.body.classList.contains(e)||document.body.classList.add(e),k=()=>document.body.classList.remove(e)})(),await ee(),!d.fullscreen&&!v.value.dialogRef.style?.left&&"transform"!=d.positionType){const e=f.value.offsetWidth,A=v.value.dialogRef.offsetWidth;e>0&&A>0&&(v.value.dialogRef.style.left=M(),v.value.dialogRef.style.top=z())}!d.fullscreen&&"transform"==d.positionType&&(d.resetDragOnClose||!v.value.dialogRef.style.transform)&&(v.value.dialogRef.style.transform=`translate(${M()},${z()})`)}},O=async()=>{x||(x=!0,p("update:modelValue",!1),p("close"),rt.value>0&&rt.value--,d.modal&&!d.fullscreen&&(Ft.value>0&&Ft.value--,0==Ft.value&&a()),V.value=!1,0==rt.value&&d.lockScroll&&B(),await ee((()=>{p("closed"),p("close-auto-focus"),x=!1,se.s(b+"_close",(()=>{g.value=!1,d.destroyOnClose,d.draggable&&d.resetDragOnClose&&(v.value.dialogRef.style=null)}),500)})))};return I((()=>d.positionType),(e=>{v.value?.dialogRef&&(v.value.dialogRef.style=null)})),I((()=>d.modelValue),(e=>{e?d.openDelay?setTimeout(R,d.openDelay):R():d.closeDelay?setTimeout(O,d.closeDelay):O()})),Ae((()=>{u.value=!1})),ze((()=>{u.value=!0,B()})),(A,t)=>u.value?q("",!0):(r(),L(Qe,{key:0,to:c.value,fallback:"#tuiRoot",disabled:u.value},[g.value||!e.destroyOnClose?re((r(),h("div",{key:0,class:"tui-dialog",style:X(S.value),ref_key:"dialogWrapRef",ref:f},[K(Nu,{ref_key:"baseDialogRef",ref:v,fullscreen:e.fullscreen,title:e.title,center:e.center,overflow:e.overflow,divider:e.divider,showClose:e.showClose,dragContainment:e.dragContainment,draggable:e.draggable,closeIcon:e.closeIcon,positionType:e.positionType,type:e.type,customColor:e.customColor,typedConfig:e.typedConfig,visibleInner:V.value,appendTo:c.value,uid:l(b),onClose:T,onConfirm:$},{header:E((()=>[H(A.$slots,"header")])),footer:E((()=>[H(A.$slots,"footer")])),default:E((()=>[H(A.$slots,"default")])),_:3},8,["fullscreen","title","center","overflow","divider","showClose","dragContainment","draggable","closeIcon","positionType","type","customColor","typedConfig","visibleInner","appendTo","uid"])],4)),[[fe,g.value]]):q("",!0)],8,["to","disabled"]))}}),Wu={key:1,class:"panel-inner"},ju=Object.assign({name:"TuiDrawer"},{__name:"index",props:{modelValue:Boolean,direction:{type:String,default:"rtl",validator:e=>["ttb","btt","ltr","rtl"].includes(e)},appendTo:String,showClose:{type:Boolean,default:!1},closeOnBackdrop:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},size:{type:[String,Number],default:"auto"},padding:{type:Number,default:30},zIndex:{type:Number,default:2001},className:String},emits:["open","close","update:modelValue"],setup(e,{emit:A}){const{$gEscCounter:t,$optFloaterTo:l,$tState:i}=ge("$global",null),o=e,n=C(!1),s=C(!0),d=A,u=m((()=>o.appendTo||l.value)),c=m((()=>ie("cpt-drawer",{size:"number"==ve(o.size)?o.size+"px":o.size,padding:o.padding+"px",zIndex:o.zIndex}))),p=()=>{n.value=!1,se.s("drawerClose",(()=>{d("update:modelValue",!1)}),400)},g=m((()=>i.globalConfig.maskBlur));return I((()=>t.value),(()=>{n.value&&o.closeOnEsc&&p()})),I((()=>o.modelValue),(e=>{ee((()=>{n.value=e})),d(e?"open":"close",e)})),Ae((()=>{s.value=!1})),ze((()=>{s.value=!0,se.c("drawerClose")})),(A,t)=>{const l=ye("TuiMask");return s.value?q("",!0):(r(),L(Qe,{key:0,to:u.value,fallback:"#tuiRoot",disabled:s.value},[e.modal?(r(),L(l,{key:0,visible:n.value,modal:e.modal,onClick:t[0]||(t[0]=yt((A=>e.closeOnBackdrop?p():null),["self"]))},null,8,["visible","modal"])):q("",!0),K(pe,{name:"fade"},{default:E((()=>[n.value?(r(),h("div",{key:0,class:S(["tui-drawer",e.className,""+(g.value?"bg-blur":"bg-trans"),`direction-${e.direction}`,""+(e.modal?"mask-on":"mask-off")]),style:X(c.value)},[e.showClose?(r(),h("div",{key:0,class:"drawer-close",onClick:p},[...t[1]||(t[1]=[a("i",{class:"tui-icon ti-times"},null,-1)])])):q("",!0),n.value?(r(),h("div",Wu,[H(A.$slots,"default")])):q("",!0)],6)):q("",!0)])),_:3})],8,["to","disabled"]))}}}),Fu=Object.assign({name:"TuiGrid"},{__name:"index",props:{rows:{type:Number,default:3},cols:{type:Number,default:3},gap:[Number,String],rowConfig:{type:Array,default:()=>[]},colConfig:{type:Array,default:()=>[]},cellConfig:{type:Object,default:()=>({})}},setup(e){const A=e,t=m((()=>A.rows*A.cols)),a=e=>Math.floor(e/A.cols),l=e=>e%A.cols,i=e=>{const t=`${a(e)}-${l(e)}`;return A.cellConfig[t]||{}},o=e=>{if(i(e).hidden)return!0;const t=a(e),o=l(e);for(const[e,a]of Object.entries(A.cellConfig)){const[A,l]=e.split("-").map(Number),i=a.rowSpan||1,n=a.colSpan||1;if(t>=A&&t<A+i&&o>=l&&o<l+n&&(t!==A||o!==l))return!0}return!1},n=m((()=>0===A.rowConfig.length?`repeat(${A.rows}, 1fr)`:A.rowConfig.map((e=>"number"==typeof e.size?`${e.size}fr`:e.size||"1fr")).join(" "))),s=m((()=>0===A.colConfig.length?`repeat(${A.cols}, 1fr)`:A.colConfig.map((e=>"number"==typeof e.size?`${e.size}fr`:e.size||"1fr")).join(" "))),d=m((()=>ie("cpt-grid",{"tpl-rows":n.value,"tpl-cols":s.value,...A.gap&&{gap:ve.join("number",A.gap,"px")}}))),u=e=>{const A=i(e);return ie("cpt-grid-item",{...A.rowSpan&&{"row-end":`span ${A.rowSpan}`},...A.colSpan&&{"col-end":`span ${A.colSpan}`},...A.pointerEvent&&{"pot-evt":A.pointerEvent}})};return(e,A)=>(r(),h("div",{class:"tui-grid-wrap",style:X(d.value)},[(r(!0),h(U,null,Ve(t.value,((A,t)=>(r(),h(U,null,[o(t)?q("",!0):(r(),h("div",{key:0,class:S(["tui-grid-item",`tui-cell-${a(t)}-${l(t)}`,i(t)?.className]),style:X(u(t))},[H(e.$slots,`cell-${a(t)}-${l(t)}`,{row:a(t),col:l(t)})],6))],64)))),256))],4))}}),Qu=Object.assign({name:"TuiCol"},{__name:"col",props:{span:{type:Number,default:24},offset:{type:Number,default:0},push:{type:Number,default:0},pull:{type:Number,default:0},xs:{type:[Number,Object],default:null},sm:{type:[Number,Object],default:null},md:{type:[Number,Object],default:null},lg:{type:[Number,Object],default:null},xl:{type:[Number,Object],default:null},tag:{type:String,default:"div"}},setup(e){const A=e,t=ge("TuiRow",null),a=m((()=>t.gutter?.value||0)),l=m((()=>{const e=["tui-col"];return e.push(`tui-col-${A.span}`),A.offset>0&&e.push(`tui-col-offset-${A.offset}`),A.push>0&&e.push(`tui-col-push-${A.push}`),A.pull>0&&e.push(`tui-col-pull-${A.pull}`),["xs","sm","md","lg","xl"].forEach((t=>{const a="number"==typeof(l=A[t])?{span:l}:"object"==typeof l&&null!==l?l:{};var l;Object.keys(a).length>0&&(void 0!==a.span&&e.push(`tui-col-${t}-${a.span}`),void 0!==a.offset&&a.offset>0&&e.push(`tui-col-${t}-offset-${a.offset}`),void 0!==a.push&&a.push>0&&e.push(`tui-col-${t}-push-${a.push}`),void 0!==a.pull&&a.pull>0&&e.push(`tui-col-${t}-pull-${a.pull}`))})),e})),i=m((()=>[ie("cpt-col",{...a.value&&{pdl:a.value/2+"px",pdr:a.value/2+"px"}})]));return(A,t)=>(r(),L(st(e.tag),{class:S(l.value),style:X(i.value)},{default:E((()=>[H(A.$slots,"default")])),_:3},8,["class","style"]))}}),Lu=Object.assign({name:"TuiRow"},{__name:"row",props:{gutter:{type:Number,default:0},justify:{type:String,default:"start",validator:e=>["start","end","center","space-around","space-between","space-evenly"].includes(e)},align:{type:String,default:"top",validator:e=>["top","middle","bottom"].includes(e)},tag:{type:String,default:"div"}},setup(e){const A=e;He("TuiRow",{gutter:m((()=>A.gutter))});const t=m((()=>["tui-row","start"!==A.justify?`is-justify-${A.justify}`:"","top"!==A.align?`is-align-${A.align}`:""])),a=m((()=>[ie("cpt-row",{...A.gutter&&{mgl:`-${A.gutter/2}px`,mgr:`-${A.gutter/2}px`}})]));return(A,l)=>(r(),L(st(e.tag),{class:S(t.value),style:X(a.value)},{default:E((()=>[H(A.$slots,"default")])),_:3},8,["class","style"]))}}),Uu=Object.assign({name:"TuiLoaderPanel"},{__name:"index",props:{loading:{type:Boolean,default:!0},inited:{type:Boolean,default:!1},loadingOpacity:{type:Number,default:.2}},setup(e){const{$globalState:A}=ge("$global"),t=e;I((()=>t.inited),((e,t)=>{1==e&&A.value.portletCounter++}));const l=m((()=>ie("cpt-lodpan",{...Fe.isNEG0(t.loadingOpacity)&&{opa:t.loadingOpacity}})));return(e,A)=>{const i=ye("TuiLoadingArea");return r(),h("div",{class:"tui-loader-panel",style:X(l.value)},[K(i,{visible:t.loading},null,8,["visible"]),a("div",{class:S("portlet-slot "+(t.loading?"portlet-loading":""))},[H(e.$slots,"default")],2)],4)}}}),Hu={class:"tui-text"},Yu=Object.assign({name:"TuiEmpty"},{__name:"index",props:{size:{type:String,default:null,validator:e=>["small","large"].includes(e)},buttonType:{type:String,default:"default",validator:e=>["primary","success","warning","danger","info","default","emphasis","focus"].includes(e)},icon:{type:String,default:"tui-icon ti-alert-circle"},showButton:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1},text:String,buttonClick:Function,buttonText:String},setup(e){const{proxy:{$tService:{i18n:A}}}=De(),t=e,l=m((()=>t.text||A("empty.text"))),i=m((()=>t.buttonText||A("empty.buttonText")));return(A,t)=>{const o=ye("TuiButton");return r(),h("span",{class:S(["tui-empty",e.size&&`tui-size-${e.size}`,{"is-bordered":e.bordered}])},[a("i",{class:S(`tui-empty-icon ${e.icon}`)},null,2),H(A.$slots,"default",{},(()=>[a("span",Hu,Q(l.value),1)])),e.showButton?(r(),L(o,{key:0,size:e.size,type:e.buttonType,onClick:e.buttonClick},{default:E((()=>[ke(Q(i.value),1)])),_:1},8,["size","type","onClick"])):q("",!0)],2)}}}),Ku={key:0,class:"svg-icon spinner-area"},Xu=Object.assign({name:"TuiLoadingArea"},{__name:"LoadingArea",props:{zIndex:Number,size:Number,color:String,update:Boolean,mask:Boolean,visible:{type:Boolean,default:!0}},setup(e){const{proxy:A}=De(),{$tState:t,$tState:{spinnerConfig:a},$tService:{initSpinner:l}}=A,i=C(!1),o=ce("loadArea"),n=e,s=m((()=>n.color||a.area.color)),d=m((()=>n.size||a.area.size)),u=m((()=>ie("cpt-loda",{...s.value&&{color:s.value},...d.value&&{size:d.value+"px"},...n.zIndex&&{zIndex:n.zIndex}})));return I((()=>n.visible),((e,A)=>{e?(i.value=!0,se.c(o+"_ti")):se.s(o+"_ti",(()=>{i.value=!1}),500)}),{immediate:!0}),Ae((()=>{n.color&&n.update&&(a.area.color=n.color),n.size&&n.update&&(a.area.size=n.size),we.el("#styleSpinners")||l()})),lt((()=>{se.c(o+"_ti")})),(A,t)=>{const a=ye("TuiMask");return r(),h(U,null,[K(a,{visible:e.visible&&e.mask},null,8,["visible"]),K(pe,{name:"fade"},{default:E((()=>[e.visible?(r(),h("div",{key:0,class:S(["tui-loading-area",""+(i.value?"loading-ani-on":"loading-ani-off")]),style:X(u.value)},[i.value?(r(),h("i",Ku)):q("",!0)],6)):q("",!0)])),_:1})],64)}}}),pA={maxWidth:Number,offset:Number,lines:{type:Number,default:null},delay:{type:Number,default:1e3},transparent:{type:Boolean,default:!0},backgroundBlur:{type:Boolean,default:!0},type:{type:String,default:"invert",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},appearance:{type:String,default:"poptip",validator:e=>["poptip","curtip"].includes(e)},tone:{type:String,default:"base",validator:e=>["extremeInvert","strongInvert","strong","base","weak"].includes(e)}},Zu=["data-lines","data-ellipsis"],Ju=Object.assign({name:"TuiTextCurtip"},{__name:"textCurTip",props:{...pA,placement:{type:String,default:"bottom-start",validator:e=>["top-start","top-end","bottom-start","bottom-end"].includes(e)}},setup(e){const{$optFloaterTo:A}=ge("$global",null),t=e,a=C(null),l=C(!1),i=C(""),o=C(0),n=async()=>{const e=a.value;if(e&&(i.value=e.textContent||"",t.lines&&t.lines>1?l.value=e.scrollHeight>e.clientHeight:l.value=e.scrollWidth>e.clientWidth,!t.maxWidth))if(A.value.includes("tuiAdpt"))o.value=a.value?.clientWidth||0;else{const e=a.value?.getBoundingClientRect();e?.width&&(o.value=e?.width||0)}};return I((()=>t.lines),(()=>{ee(n)})),Ae((()=>{n()})),(A,t)=>{const s=Ce("tui-cursor-tip");return re((r(),h("div",{"data-lines":A.lines,"data-ellipsis":l.value,ref_key:"textRef",ref:a,onMouseenter:n},[H(A.$slots,"default")],40,Zu)),[[s,{placement:e.placement,delay:A.delay,type:A.type,backgroundBlur:A.backgroundBlur,transparent:A.transparent,tone:A.tone,maxWidth:A.maxWidth||o.value>200?o.value:200,disabled:!l.value,content:i.value,offset:A.offset}]])}}}),ed=["data-lines","data-ellipsis"],td=Object.assign({name:"TuiTextPoptip"},{__name:"textPopTip",props:{...pA,placement:{type:String,default:"bottom",validator:e=>["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"].includes(e)}},setup(e){const{$optFloaterTo:A}=ge("$global",null),t=e,a=C(null),l=C(!1),i=C(""),o=C(0),n=async()=>{const e=a.value;if(e&&(i.value=e.textContent||"",t.lines&&t.lines>1?l.value=e.scrollHeight>e.clientHeight:(l.value=e.scrollWidth>e.clientWidth,l.value||(l.value=e.scrollHeight>e.clientHeight)),!t.maxWidth))if(A.value.includes("tuiAdpt"))o.value=a.value?.clientWidth||0;else{const e=a.value?.getBoundingClientRect();e?.width&&(o.value=e?.width||0)}};return I((()=>t.lines),(()=>{ee(n)})),Ae((()=>{n()})),(A,t)=>{const s=Ce("tui-popover");return re((r(),h("div",{"data-lines":A.lines,"data-ellipsis":l.value,ref_key:"textRef",ref:a,onMouseenter:n},[H(A.$slots,"default")],40,ed)),[[s,{placement:e.placement,delay:A.delay,type:A.type,backgroundBlur:A.backgroundBlur,transparent:A.transparent,tone:A.tone,maxWidth:A.maxWidth||o.value>200?o.value:200,disabled:!l.value,content:i.value,offset:A.offset}]])}}}),Ad=Object.assign({name:"TuiTextTip"},{__name:"index",props:{...pA,placement:String,fadeAni:{type:Boolean,default:!1}},setup(e){const A=e,t=m((()=>ie("cpt-texttip",{...A.lines&&{lines:A.lines}}))),a=m((()=>"poptip"==A.appearance?td:Ju)),l=C(!1);return Ae((()=>{l.value=!0})),(i,o)=>(r(),L(pe,{name:e.fadeAni?"fade":"none",disabled:!0},{default:E((()=>[l.value?(r(),L(st(a.value),_e({key:0,class:[i.lines&&1!=i.lines?"tui-text-multiple":"tui-text-single"],style:t.value},A),{default:E((()=>[H(i.$slots,"default")])),_:3},16,["class","style"])):q("",!0)])),_:3},8,["name"]))}}),od=Object.assign({name:"TuiCursorTip"},{__name:"cursorTip-avatar",props:{...ao},setup(e){const{proxy:A}=De(),{$optFloaterTo:t}=ge("$global",null),l=e,i=m((()=>l.appendTo||t.value)),o=ue({x:0,y:0,visible:!1}),n=C(!1),s=C(!1),d=C(null),u=ce("curtipava"),c=C(0),p=C(null),g=()=>{let e=p.value?.firstElementChild;return c.value++,e?(d.value=e,V(),b()):se.s(u+"_evtIA",(()=>{g()}),100),A?.$el?.nextElementSibling},V=e=>{const A=d.value;A&&(ne.add(A,"mousemove",y,u),ne.add(A,"mouseenter",f,u),ne.add(A,"mouseleave",v,u))};I((()=>s.value),(e=>{o.visible=e}));const f=e=>{l.disabled||(se.c(u+"_hide"),y(e),n.value=!0,se.s(u+"_show",(()=>{s.value=!0}),l.delay))},v=()=>{se.c(u+"_show"),s.value=!1,se.s(u+"_hide",(()=>{n.value=!1}),500)},y=e=>{l.disabled||(o.x=e.clientX,o.y=e.clientY)},b=()=>{const e=p.value;e&&(Array.from(e.childNodes).forEach((A=>{e.parentNode.insertBefore(A,e)})),e.parentNode.removeChild(e))};return Ae((()=>{g()})),ze((()=>{s.value=!1,n.value=!1,(e=>{const A=d.value;A&&(ne.remove(A,"mousemove",y,u),ne.remove(A,"mouseenter",f,u),ne.remove(A,"mouseleave",v,u))})()})),(e,A)=>(r(),h(U,null,[a("div",{class:"curtip-temp",ref_key:"tempRef",ref:p},[H(e.$slots,"default")],512),n.value?(r(),L(Qe,{to:i.value,key:e.id,fallback:"#tuiRoot"},[K(so,_e(l,{appendTo:i.value,id:e.id,info:o,destroy:v}),null,16,["appendTo","id","info"])],8,["to"])):q("",!0)],64))}}),ad=Object.assign({name:"TuiPopinfo"},{__name:"popinfo-avatar",props:{...Mt,enterable:{type:Boolean,default:!0}},setup(e){const{proxy:A}=De(),{$optFloaterTo:t}=ge("$global",null),i=e,o=m((()=>i.appendTo||t.value)),n=C(!1),s=C(!1),d=ce("popinfo"),u=C(0),c=C(null),p=C(null),g=()=>{let e=p.value?.firstElementChild;return u.value++,e?(c.value=e,y(),b()):se.s(d+"_evtIA",(()=>{g()}),3e3),A?.$el?.nextElementSibling},V=()=>{se.s(d+"_hide",(()=>{s.value=!1,se.s(d+"_hideEnd",(()=>{n.value=!1}),500)}),200)},f=e=>{if(se.c(d+"_show"),se.c(d+"_hide"),s.value||e&&"click"!=e.type&&"mouseenter"!=e.type)s.value&&(!e||"click"==e.type||"mouseleave"==e.type)&&V();else{if(i.disabled)return;se.s(d+"_show",(()=>{(e=>{n.value=!0,s.value=!0,i.autoClose&&e&&"click"==e.type&&se.s(d+"_autoH",(()=>{V()}),i.duration)})(e)}),i.delay)}},v=e=>{const A=c.value;A&&(("click"==e||"click"==i.trigger)&&ne.remove(A,"click",d),("hover"==e||"hover"==i.trigger)&&(ne.remove(A,"mouseenter",d),ne.remove(A,"mouseleave",d)))},y=e=>{const A=c.value;A&&(v(e),"click"===i.trigger?ne.add(A,"click",f,d):"hover"===i.trigger&&(ne.add(A,"mouseenter",f,d),ne.add(A,"mouseleave",f,d)))};I((()=>i.trigger),((e,A)=>{y(A)}));const b=()=>{const e=p.value;e&&(Array.from(e.childNodes).forEach((A=>{e.parentNode.insertBefore(A,e)})),e.parentNode.removeChild(e))};return Ae((()=>{g()})),ze((()=>{s.value=!1,n.value=!1,v()})),(e,A)=>(r(),h(U,null,[a("div",{class:"popinfo-temp",ref_key:"tempRef",ref:p},[H(e.$slots,"default")],512),n.value?(r(),L(Qe,{to:o.value,key:l(d),fallback:"#app",disabled:!n.value},[re(K(uA,_e(i,{id:l(d),eventTarget:c.value,trigger:e.trigger,defaultOn:!0,destroy:V}),{content:E((()=>[H(e.$slots,"content")])),_:3},16,["id","eventTarget","trigger"]),[[fe,s.value]])],8,["to","disabled"])):q("",!0)],64))}}),sd=Object.assign({name:"TuiPoptip"},{__name:"poptip-avatar",props:{...Mt},setup(e,{expose:A}){const{proxy:t}=De(),{$optFloaterTo:i}=ge("$global",null),o=e,n=m((()=>o.appendTo||i.value)),s=C(!1),d=C(!1),u=ce("poptip"),c=C(0),p=C(null),g=C(null),V=()=>{let e=g.value?.firstElementChild;return c.value++,e?(p.value=e,b(),w()):se.s(u+"_evtIA",(()=>{V()}),100),t?.$el?.nextElementSibling},f=()=>{se.s(u+"_hide",(()=>{d.value=!1,se.s(u+"_hideEnd",(()=>{s.value=!1}),500)}),200)},v=e=>{if(se.c(u+"_show"),se.c(u+"_hide"),d.value||e&&"click"!=e.type&&"mouseenter"!=e.type)d.value&&(!e||"click"==e.type||"mouseleave"==e.type)&&f();else{if(o.disabled)return;se.s(u+"_show",(()=>{(e=>{s.value=!0,d.value=!0,o.autoClose&&e&&"click"==e?.type&&se.s(u+"_autoH",(()=>{f()}),o.duration)})(e)}),o.delay)}},y=e=>{const A=p.value;A&&(("click"==e||"click"==o.trigger)&&ne.remove(A,"click",u),("hover"==e||"hover"==o.trigger)&&(ne.remove(A,"mouseenter",u),ne.remove(A,"mouseleave",u)))},b=e=>{const A=p.value;A&&(y(e),"click"===o.trigger?ne.add(A,"click",v,u):"hover"===o.trigger&&(ne.add(A,"mouseenter",v,u),ne.add(A,"mouseleave",v,u)))};I((()=>o.trigger),((e,A)=>{b(A)}));const w=()=>{const e=g.value;e&&(Array.from(e.childNodes).forEach((A=>{e.parentNode.insertBefore(A,e)})),e.parentNode.removeChild(e))};return Ae((()=>{V()})),ze((()=>{d.value=!1,s.value=!1,y()})),A({}),(e,A)=>(r(),h(U,null,[a("div",{class:"poptip-temp",ref_key:"tempRef",ref:g},[H(e.$slots,"default")],512),s.value?(r(),L(Qe,{to:n.value,key:l(u),fallback:"#app",disabled:!s.value},[re(K(dA,_e(o,{id:l(u),eventTarget:p.value,trigger:e.trigger,defaultOn:!0,destroy:f}),null,16,["id","eventTarget","trigger"]),[[fe,d.value]])],8,["to","disabled"])):q("",!0)],64))}}),ld=Object.assign({name:"TuiMenu"},{__name:"avatar",props:{trigger:{type:String,default:"contextmenu",validator:e=>["contextmenu","click","hover"].includes(e)},disabled:{type:Boolean,default:!1},placement:String,appendTo:String,...to},emits:["menuClick"],setup(e,{expose:A,emit:t}){const{$gClickCounter:i,$gEscCounter:o,$optFloaterTo:n}=ge("$global",null),s=e,d=t,u=m((()=>s.appendTo||n.value)),c=C(!1),p=C(!1),g=ce("menu"),V=C(0),f=C(null),v=C(null),y=C(null),b=ue({oldTrigger:null}),w=e=>{d("menuClick",e)},x=()=>{let e=v.value?.firstElementChild;V.value++,e?(f.value=e,D(),$()):se.s(g+"_eventInit",(()=>{x()}),100)},S=e=>{se.c(g+"_toggle"),e&&"contextmenu"===e.type&&"contextmenu"==s.trigger&&(e.preventDefault(),e.stopPropagation()),p.value?B(e):k(e)},k=e=>{s.disabled||(!e||"click"===e.type||"mouseenter"===e.type||"contextmenu"===e.type)&&se.s(g+"_toggle",(()=>{c.value=!0,p.value=!0}),500)},B=e=>{(!e||"click"===e.type||"mouseleave"===e.type||"contextmenu"===e.type)&&se.s(g+"_toggle",(async()=>{y.value?.hide(),await se.w(500),p.value=!1,c.value=!1}),500)},T=()=>{const e=f.value;e&&("hover"!=b.oldTrigger?ne.remove(e,b.oldTrigger,g):(ne.remove(e,"mouseenter",g),ne.remove(e,"mouseleave",g)))},D=()=>{const e=f.value;e&&(b.oldTrigger=s.trigger,T(),"hover"!=s.trigger?ne.add(e,s.trigger,S,g):(ne.add(e,"mouseenter",S,g),ne.add(e,"mouseleave",S,g)))},$=()=>{const e=v.value;e&&(Array.from(e.childNodes).forEach((A=>{e.parentNode.insertBefore(A,e)})),e.parentNode.removeChild(e))};return I((()=>i.value),(async e=>{p.value&&(y.value?.hide(),await se.w(500),p.value=!1,c.value=!1)})),I((()=>o.value),(async e=>{p.value&&(y.value?.hide(),await se.w(500),p.value=!1,c.value=!1)})),Ae((()=>{x()})),ze((()=>{p.value=!1,c.value=!1,T()})),A({toggle:S,show:()=>S({type:"click"}),hide:()=>S({type:"click"})}),(e,A)=>(r(),h(U,null,[a("div",{class:"context-menu-temp",ref_key:"tempRef",ref:v},[H(e.$slots,"default")],512),c.value?(r(),L(Qe,{to:u.value,key:l(g),fallback:"#tuiRoot"},[re(K(Ao,_e({ref_key:"baseRef",ref:y},s,{uid:l(g),eventTarget:f.value,defaultOn:!0,menuClick:w}),null,16,["uid","eventTarget"]),[[fe,p.value]])],8,["to"])):q("",!0)],64))}}),id={class:"btn-inner"},nd={key:0,class:"tui-icon ti-times"},rd=["onClick"],ud=Object.assign({name:"TuiRouterNav"},{__name:"index",props:{options:{type:Array,default:[],validator:e=>{const{valid:A,message:t}=at.fieldValid(e,["label","path"]);return A||console.warn("TuiRouterNav Warning! ",t),A}},triggerStyle:{type:String,default:"react",validator:e=>["react","circle"].includes(e)},triggerAni:{type:Boolean,default:!0},triggerAniDelay:{type:Number,default:5e3},triggerPosition:{type:String,default:"center",validator:e=>["left","center","right"].includes(e)},buttonWidth:{type:[Number,String],default:"auto"},modal:{type:Boolean,default:!0},useOrder:{type:Boolean,default:!0}},setup(e){const{$adptInited:A,$optFloaterTo:t,routerTransition:i}=ge("$global",null),o=XA();rA();const n=e,s=m((()=>n.appendTo||t.value)),d=ue({drawerConfig:{direction:"btt",padding:40,modal:!0,showClose:!1,className:"tui-router-nav-drawer"}}),u=m((()=>ie("cpt-rnav",{btnw:n.buttonWidth}))),c=C(!1),p=C(!1),g=C(!0),V=()=>{c.value=!c.value};return Ae((()=>{g.value=!1,se.s("routerNav",(()=>{p.value=!0}),n.triggerAniDelay)})),ze((()=>{g.value=!0,se.c("routerNav")})),(A,t)=>{const f=ye("TuiButton"),v=ye("TuiDrawer");return r(),h(U,null,[g.value||l(o).path.includes("login")?q("",!0):(r(),L(Qe,{key:0,to:s.value,fallback:"#tuiRoot",disabled:g.value},[a("div",{class:S(`tui-router-nav-restraint tui-position-${e.triggerPosition}`)},[K(pe,{name:"fade"},{default:E((()=>[c.value?q("",!0):(r(),h("div",{key:0,class:S(`tui-router-nav-btn btn-turn-on style-${e.triggerStyle} ani-${e.triggerAni&&p.value?"on":"off"} `),onClick:V},[...t[1]||(t[1]=[a("i",{class:"tui-icon ti-angle-up"},null,-1)])],2))])),_:1})],2)],8,["to","disabled"])),K(v,_e({modelValue:c.value,"onUpdate:modelValue":t[0]||(t[0]=e=>c.value=e)},d.drawerConfig,{modal:e.modal}),{default:E((()=>[a("div",{class:S(`tui-router-nav-btn btn-turn-off style-${e.triggerStyle} tui-position-${e.triggerPosition}`),onClick:V},[a("div",id,[c.value?(r(),h("i",nd)):q("",!0)])],2),a("ul",{class:"tui-route-nav-inner",style:X(u.value)},[(r(!0),h(U,null,Ve(e.options,((e,A)=>(r(),h("li",{onClick:A=>(e=>{o.path!=e.path&&(i({path:e.path,query:e.query,useOrder:n.useOrder}),c.value=!1)})(e),key:A},[K(f,{class:S(l(o).path==e.path?"is-active":"")},{default:E((()=>[ke(Q(e.label),1)])),_:2},1032,["class"])],8,rd)))),128))],4)])),_:1},16,["modelValue","modal"])],64)}}}),dd={class:"tui-pager"},cd=Object.assign({name:"TuiTabs"},{__name:"index",props:{appearance:{type:String,default:"simple",validator:e=>["simple","card","button"].includes(e)},faceTo:{type:String,default:"up",validator:e=>["up","down","left","right"].includes(e)},textDirection:{type:String,default:null,validator:e=>["h","v"].includes(e)},size:{type:String,default:"default",validator:e=>["default","large","small"].includes(e)},align:{type:String,default:null,validator:e=>["start","center","end"].includes(e)},hideBaseLine:{type:Boolean,default:!1},scrollable:{type:Boolean,default:!1},scrollOffset:{type:Number,default:0},options:{type:Array,default:[],validator:e=>{const{valid:A,message:t}=at.fieldValid(e,["label"]);return A||console.warn("TuiTabs Warning! ",t),A}},modelValue:[String,Number,Boolean],itemMaxWidth:[Number,String],tipConfig:Object,tagConfig:Object,resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},emits:["change","update:modelValue"],setup(e,{emit:A}){const{$optResizeCounter:t,initResizeBy:i}=ge("$global",null),o=i(),n=e,s=A;He("TuiTabs",{tipConfig:m((()=>n.tipConfig)),updateValue:e=>s("update:modelValue",e),change:e=>s("change",e),modelValue:m((()=>n.modelValue)),appearance:m((()=>n.appearance)),tagConfig:m((()=>n.tagConfig))});const d=m((()=>ie("cpt-tab",{...n.itemMaxWidth&&{maxw:ve.join("number",n.itemMaxWidth,"px")},...n.align&&{align:n.align},...b.active&&{scroll:u()}}))),u=()=>{const e=b.curIndex*b.wrapSize;return"v"==y.value?`translateY(-${e}px)`:`translateX(-${e}px)`},c=ce("tabs"),p=C(!1),g=C(!1),V=C(null),f=C(null),v=C(null),y=m((()=>"up"==n.faceTo||"down"==n.faceTo?"h":"left"==n.faceTo||"right"==n.faceTo?"v":void 0)),b=ue({active:!1,wrapSize:0,innerSize:0,disLeftArrow:!1,disRightArrow:!1,maxIndex:0,curIndex:0}),w=()=>{b.active&&b.curIndex>0&&b.curIndex--},x=()=>{b.active&&b.curIndex<b.maxIndex&&b.curIndex++},k=()=>{0==b.curIndex?b.disLeftArrow=!0:b.disLeftArrow=!1,b.curIndex==b.maxIndex?b.disRightArrow=!0:b.disRightArrow=!1};I((()=>t.value),((e,A)=>{!n.scrollable||"root"!=o.value(n.resizeObserver)||e>A&&B()}));const B=()=>{if(f.value){let e,A;"h"==y.value?(e=f.value.clientWidth-n.scrollOffset,A=v.value.clientWidth):"v"==y.value&&(e=f.value.clientHeight-n.scrollOffset,A=v.value.clientHeight),b.wrapSize=e,b.innerSize=A,A>e?(b.active=!0,b.maxIndex=Math.ceil(A/e)-1):b.active=!1,b.curIndex=0}p.value||(p.value=!0)};return Ae((()=>{g.value=!0})),(A,t)=>{const i=ye("TuiTab"),n=ye("TuiButton"),s=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["tui-tabs",`tui-tabs-${e.appearance}`,e.size&&`tui-size-${e.size}`,`tui-face-${e.faceTo}`,e.textDirection&&`tui-textDir-${e.textDirection}`,e.scrollable&&"simple"==e.appearance&&`tui-tabs-scrollabel tui-scroll-${y.value}`,{"hide-base-line":e.hideBaseLine}]),style:X(d.value),ref_key:"tabWrap",ref:V},[e.scrollable&&"simple"==e.appearance?(r(),h(U,{key:0},[a("div",{class:"tui-scroll-wrap",ref_key:"scrollWrapRef",ref:f},[a("div",{class:S(["tui-scroll-inner"]),ref_key:"scrollInnerRef",ref:v,onTransitionend:k},[e.options.length>0?(r(!0),h(U,{key:0},Ve(e.options,((e,A)=>(r(),L(i,_e({ref_for:!0},e,{value:e.value?e.value:A}),{default:E((()=>[ke(Q(e.label),1)])),_:2},1040,["value"])))),256)):H(A.$slots,"default",{key:1})],544)],512),a("div",{class:S(["tui-scroll-control",{"tui-scroll-active":b.active}])},[a("div",dd,Q(b.curIndex+1)+"/"+Q(b.maxIndex+1),1),K(n,{link:"",disabled:b.disLeftArrow,onClick:w},{default:E((()=>[...t[0]||(t[0]=[a("i",{class:"tui-icon ti-chevron-left"},null,-1)])])),_:1},8,["disabled"]),K(n,{link:"",disabled:b.disRightArrow,onClick:x},{default:E((()=>[...t[1]||(t[1]=[a("i",{class:"tui-icon ti-chevron-right"},null,-1)])])),_:1},8,["disabled"])],2)],64)):(r(),h(U,{key:1},[e.options.length>0?(r(!0),h(U,{key:0},Ve(e.options,((e,A)=>(r(),L(i,_e({ref_for:!0},e,{value:e.value?e.value:A}),{default:E((()=>[ke(Q(e.label),1)])),_:2},1040,["value"])))),256)):H(A.$slots,"default",{key:1})],64)),A.$slots.suffix?H(A.$slots,"suffix",{key:2}):q("",!0)],6)),[[fe,g.value],[s,{callback:B,uid:l(c),disabled:!e.scrollable||"self"!=l(o)(e.resizeObserver)&&p.value}]])])),_:3})}}}),pd=Object.assign({name:"TuiTab"},{__name:"tab",props:{value:{type:[String,Number,Boolean],required:!0},count:{type:Number,default:0},icon:{type:String,default:null},tagType:{type:String,default:"default"},disabled:{type:Boolean,default:!1}},setup(e){const A=e,{tipConfig:t,updateValue:a,change:i,modelValue:o,tagConfig:n}=ge("TuiTabs",null),s=m((()=>o.value==A.value)),d=()=>{A.disabled||(a(A.value),i(A.value))};return(A,a)=>{const i=ye("TuiTextTip"),o=ye("TuiTag");return r(),h("div",{onClick:d,class:S(["tui-tab-item",{"is-active":s.value,"is-disabled":e.disabled}])},[e.icon?(r(),h("i",{key:0,class:S(`tab-icon ${e.icon}`)},null,2)):q("",!0),K(i,tt(At(l(t))),{default:E((()=>[H(A.$slots,"default")])),_:3},16),e.count?(r(),L(o,_e({key:1,class:"tab-value",size:"small",type:e.tagType},l(n)),{default:E((()=>[ke(Q(e.count),1)])),_:1},16,["type"])):q("",!0)],2)}}}),fd={key:0,class:"tui-icon ti-angle-left"},gd={key:1,class:"tui-icon ti-angle-up"},hd={key:0,class:"tui-icon ti-angle-right"},vd={key:1,class:"tui-icon ti-angle-down"},Vd={key:2,class:"tui-page-info"},md=Object.assign({name:"TuiStepScroller"},{__name:"step",props:{border:{type:String,default:"auto",validator:e=>["auto","none","always"].includes(e)},buttonPosition:{type:String,default:"both",validator:e=>["float","start","end","both"].includes(e)},buttonSize:{type:String,default:"default",validator:e=>["default","small","large"].includes(e)},direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)},scrollMode:{type:String,default:"full",validator:e=>["full","half"].includes(e)},showPagination:{type:Boolean,default:!0},wheelScroll:{type:Boolean,default:!0},resizeObserver:{type:String,default:"self",validator:e=>["self","global","none"].includes(e)}},setup(e,{expose:A}){const{$optResizeCounter:t,initResizeBy:i}=ge("$global",null),o=i(),n=e,s=C(!1),d=C(null),u=C(null);I((()=>t.value),((e,A)=>{"root"==o.value(n.resizeObserver)&&e>A&&V()}));const c=ce("stepscrl"),p=ue({curPage:0,maxPage:1,outerSize:0,innerSize:0,needScroll:!1}),g=()=>{let e=0,A=0;const{clientWidth:t,clientHeight:a}=d.value,{scrollWidth:l,scrollHeight:i}=u.value;return"h"==n.direction?(e=l,A=t):(e=i,A=a),{innerSize:e,outerSize:A}},V=async()=>{if(k(),await ee(),!d.value||!u.value)return;const e=g();if(p.needScroll=e.innerSize>e.outerSize,await ee(),p.needScroll){const e=g();p.innerSize=e.innerSize,p.outerSize=e.outerSize,p.needScroll&&(p.maxPage=Math.ceil(p.innerSize/p.outerSize))}s.value||(s.value=!0)},f=m((()=>p.curPage>0)),v=m((()=>p.curPage<p.maxPage-1)),y=m((()=>{const e=p.curPage*p.outerSize;return ie("cpt-scrl",{tsf:`translate${"h"===n.direction?"X":"Y"}(-${e}px)`})})),b=(e=-1,A=!0)=>{d.value&&Fe.isNEG0(e)&&e>-1&&(p.curPage=e)},w=(e,A=null)=>{f.value&&(A?p.curPage=Fe.safeFixed(p.curPage-A,1):"full"==n.scrollMode?Fe.isNEG0(p.curPage)&&(p.curPage=Math.ceil(Math.max(0,p.curPage-1))):p.curPage-=.5)},x=(e,A=null)=>{v.value&&(A?p.curPage=Fe.safeFixed(p.curPage+A,1):"full"==n.scrollMode?Fe.isNEG0(p.curPage)&&(p.curPage=Math.floor(Math.min(p.curPage+1,p.maxPage))):p.curPage+=.5)},k=()=>{s.value&&(p.needScroll=!1,p.curPage=0,p.maxPage=1,p.outerSize=0,s.value=!1)},B=ne.throttle((e=>{e.deltaY>0||e.deltaX>0?x(0,.1):(e.deltaY<0||e.deltaX<0)&&w(0,.1)}),50),T=e=>{e.preventDefault(),B(e)};return Ae((()=>{n.wheelScroll&&ne.add(d.value,"wheel",T,c,{passive:!1}),u.value&&Ut.o(u.value,(()=>{V()}),{childList:!0,subtree:!0},100)})),lt((()=>{Ut.d(u.value),n.wheelScroll&&ne.remove(d.value,"wheel",c)})),I([()=>n.buttonPosition,()=>n.direction],(()=>{V()})),He("TuiScroller",{scrollTo:b,scrollSta:w,scrollEnd:x,initSize:V,resetScrollInner:k,state:p,border:n.border}),A({scrollTo:b,scrollSta:w,scrollEnd:x,initSize:V,resetScrollInner:k,state:p}),(A,t)=>{const i=Ce("tui-resize");return r(),h("div",{class:S(["tui-step-scroller",`tui-btn-pos-${e.buttonPosition}`,`tui-btn-size-${e.buttonSize}`,`tui-border-${e.border}`,""+(p.needScroll?"tui-scroll-active":"tui-scroll-inactive"),{"is-horizontal":"h"==e.direction,"is-vertical":"v"==e.direction,"is-inited":s.value,"is-preparing":!s.value}]),style:X(y.value)},[re((r(),h("div",{ref_key:"scrollOuterRef",ref:d,class:"tui-scroller-outer"},[a("div",{ref_key:"scrollInnerRef",ref:u,class:"tui-scroller-inner"},[H(A.$slots,"default")],512)])),[[i,{callback:V,disabled:"self"!=l(o)(e.resizeObserver)&&s.value,uid:l(c)}]]),p.needScroll?(r(),h("div",{key:0,class:S(["tui-scroll-btn tui-btn-sta",{disabled:!f.value}]),onClick:w},["h"==n.direction?(r(),h("i",fd)):(r(),h("i",gd))],2)):q("",!0),p.needScroll?(r(),h("div",{key:1,class:S(["tui-scroll-btn tui-btn-end",{disabled:!v.value}]),onClick:x},["h"==n.direction?(r(),h("i",hd)):(r(),h("i",vd))],2)):q("",!0),e.showPagination&&p.needScroll?(r(),h("div",Vd,Q(p.curPage+1)+"/"+Q(p.maxPage),1)):q("",!0)],6)}}}),yd={key:0,class:"tui-icon ti-angle-left"},bd={key:1,class:"tui-icon ti-angle-up"},qd={key:0,class:"tui-icon ti-angle-right"},wd={key:1,class:"tui-icon ti-angle-down"},$d=Object.assign({name:"TuiVirtualScroller"},{__name:"virtual",props:{border:{type:String,default:"auto",validator:e=>["auto","none","always"].includes(e)},direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)},ctrlType:{type:String,default:"scrollbar",validator:e=>["button","scrollbar","none"].includes(e)},buttonPosition:{type:String,default:"both",validator:e=>["float","start","end","both"].includes(e)},buttonSize:{type:String,default:"default",validator:e=>["default","small","large"].includes(e)},scrollSpeed:{type:Number,default:1},scrollbarSize:{type:String,default:"small",validator:e=>["mini","small","default","large","xlarge"].includes(e)},resizeObserver:{type:String,default:"self",validator:e=>["self","global","none"].includes(e)}},setup(e,{expose:A}){const{$optResizeCounter:t,initResizeBy:i}=ge("$global",null),o=i(),n=e,s=ce("virtscrl"),d=C(null),u=C(null),c=C(null),p=C(0),g=C(0),V=C(!1),f=C(0),v=C(0),y=C(null),b=m((()=>d.value&&u.value?ie("cpt-scrl",{tsf:"h"===n.direction?`translateX(-${p.value}px)`:`translateY(-${p.value}px)`}):{})),w=m((()=>{if(!d.value||!u.value)return{};const e=d.value,A=u.value;let t,a,l,i;return"h"===n.direction?(t=e.clientWidth,a=A.scrollWidth,l=Math.max(20,t/a*t),i=p.value/g.value*(t-l)):(t=e.clientHeight,a=A.scrollHeight,l=Math.max(20,t/a*t),i=p.value/g.value*(t-l)),ie("cpt-scrl-thumb",{["h"===n.direction?"width":"height"]:`${l}px`,tsf:"h"===n.direction?`translateX(${i}px)`:`translateY(${i}px)`})})),x=m((()=>p.value>0)),k=m((()=>p.value<g.value)),B=m((()=>p.value>0)),T=m((()=>p.value<g.value)),D=m((()=>"h"==n.direction?!(!B.value&&!T.value):!(!x.value&&!k.value))),$=ne.throttle((e=>{const A="h"===n.direction&&e.deltaX||e.deltaY,t=p.value+A*n.scrollSpeed;p.value=Math.max(0,Math.min(g.value,t))}),50),M=e=>{e.preventDefault(),$(e)},z=(e,A)=>{if(!d.value||!u.value)return;const t=d.value,a=u.value;"h"===n.direction?g.value=Math.max(0,a.scrollWidth-t.clientWidth):g.value=Math.max(0,a.scrollHeight-t.clientHeight),p.value=Math.max(0,Math.min(g.value,p.value))},R=e=>{if(e.target===c.value)return;const A=e.currentTarget.getBoundingClientRect(),t="h"===n.direction?e.clientX-A.left:e.clientY-A.top,a="h"===n.direction?d.value.clientWidth:d.value.clientHeight,l="h"===n.direction?c.value.offsetWidth:c.value.offsetHeight,i=(t-l/2)/(a-l)*g.value;p.value=Math.max(0,Math.min(g.value,i))},O=e=>{e.stopPropagation(),V.value=!0,f.value="h"===n.direction?e.clientX:e.clientY,v.value=p.value,ne.add(document,"mousemove",E,s),ne.add(document,"mouseup",P,s)},E=e=>{if(!V.value)return;const A=(("h"===n.direction?e.clientX:e.clientY)-f.value)/(("h"===n.direction?d.value.clientWidth:d.value.clientHeight)-("h"===n.direction?c.value.offsetWidth:c.value.offsetHeight))*g.value,t=v.value+A;p.value=Math.max(0,Math.min(g.value,t))},P=()=>{V.value=!1,ne.remove(document,"mousemove",s),ne.remove(document,"mouseup",s)},N=e=>{const A=()=>{let A=p.value;n.direction,A+="start"===e?-50:50,p.value=Math.max(0,Math.min(g.value,A))};A(),y.value=setInterval(A,100)},_=()=>{y.value&&(clearInterval(y.value),y.value=null)};return I((()=>t.value),((e,A)=>{e>A&&z()})),Ae((()=>{d.value&&u.value&&(Ut.o(u.value,(()=>{z()}),{childList:!0,subtree:!0},100),ne.add(d.value,"wheel",M,s,{passive:!1}))})),lt((()=>{Ut.d(u.value),ne.remove(document,"mousemove",s),ne.remove(document,"mouseup",s),ne.remove(d.value,"wheel",s),_()})),I([()=>n.direction,()=>n.ctrlType,()=>n.buttonSize],(()=>{p.value=0,z()})),A({scrollTo:e=>{p.value=Math.max(0,Math.min(g.value,e))},scrollToTop:()=>{p.value=0},scrollToBottom:()=>{p.value=g.value},scrollPosition:p,maxScroll:g}),(A,t)=>{const i=Ce("tui-resize");return r(),h("div",{class:S(["tui-virtual-scroller",`tui-ctrl-type-${e.ctrlType}`,`tui-border-${e.border}`,""+(D.value?"tui-scroll-active":"tui-scroll-inactive"),"button"==e.ctrlType&&`tui-btn-pos-${e.buttonPosition} tui-btn-size-${e.buttonSize}`,{"is-horizontal":"h"===e.direction,"is-vertical":"v"===e.direction}]),style:X(b.value)},[re((r(),h("div",{ref_key:"scrollOuterRef",ref:d,class:"tui-scroller-outer"},[a("div",{ref_key:"scrollInnerRef",ref:u,class:"tui-scroller-inner"},[H(A.$slots,"default")],512)])),[[i,{callback:e=>z(),disabled:"self"!=l(o)(e.resizeObserver)&&A.inited,uid:l(s)}]]),D.value?(r(),h(U,{key:0},["scrollbar"===e.ctrlType?(r(),h("div",{key:0,class:S(["tui-scroll-bar",`tui-scroll-bar-${e.direction}`,`tui-bar-size-${e.scrollbarSize}`]),onMousedown:R},[a("div",{ref_key:"thumbRef",ref:c,class:"tui-scroll-bar-thumb",style:X(w.value),onMousedown:O},null,36)],34)):q("",!0),"button"===e.ctrlType?(r(),h(U,{key:1},[a("div",{class:S(["tui-scroll-btn tui-btn-sta",{disabled:"h"==n.direction?!B.value:!x.value}]),onMousedown:t[0]||(t[0]=e=>N("start")),onMouseup:_,onMouseleave:_},["h"==n.direction?(r(),h("i",yd)):(r(),h("i",bd))],34),a("div",{class:S(["tui-scroll-btn tui-btn-end",{disabled:"h"==n.direction?!T.value:!k.value}]),onMousedown:t[1]||(t[1]=e=>N("end")),onMouseup:_,onMouseleave:_},["h"==n.direction?(r(),h("i",qd)):(r(),h("i",wd))],34)],64)):q("",!0)],64)):q("",!0)],6)}}}),Cd=["viewBox","width","height"],kd=["opacity","stroke-width"],Td=["x2","y1","y2"],Sd=["x1","x2","y1","y2"],Bd=["x1","x2","y2"],_d=["x1","x2","y1","y2"],Dd=["opacity","stroke-width"],Pd=["x1","x2","y1","y2"],Rd=["x1","x2","y1","y2"],zd={key:0},Md={class:"tui-dot-h"},xd=["cx","cy"],Od=["cx","cy"],Id={class:"tui-dot-v"},Ed=["cx","cy"],Nd=["cx","cy"],Gd=["cx","cy"],Wd=["cx","cy","r"],jd=["x","y","width","height"],Fd=["transform"],Qd={"text-anchor":"end","dominant-baseline":"end",class:"cursorX"},Ld={"text-anchor":"start","dominant-baseline":"end",class:"cursorY"},Ud=Object.assign({name:"TuiCrosshair"},{__name:"index",props:{crosshairRadius:{type:Number,default:40},lineStroke:{type:Number,default:.2},lineOpacity:{type:Number,default:1},scopeShape:{type:String,default:"rect",validator:e=>["rect","circle"].includes(e)},aimingPoint:{type:String,default:"center",validator:e=>["side","center"].includes(e)},coordinates:{type:Boolean,default:!0}},setup(e){const A=e,t=ce("crosshair"),l=C(!0),i=C(0),o=C(0),n=C(window.innerWidth),s=C(window.innerHeight),d=C(null),u=e=>{d.value&&(i.value=e.clientX,o.value=e.clientY)},c=()=>{n.value=window.innerWidth,s.value=window.innerHeight},p=m((()=>ie("cpt-cross",{textoffset:-(A.crosshairRadius+5)+"px"})));return Ae((()=>{l.value=!1,ne.add(window,"mousemove",u,t),ne.add(window,"resize",c,t),i.value=n.value/2,o.value=s.value/2})),ze((()=>{l.value=!0,ne.remove(window,"mousemove",t),ne.remove(window,"resize",t)})),lt((()=>{})),(A,t)=>l.value?q("",!0):(r(),L(Qe,{key:0,to:"#tuiRoot",fallback:"#app",disabled:l.value},[(r(),h("svg",{class:"tui-crosshair",ref_key:"svgRef",ref:d,viewBox:`0 0 ${n.value} ${s.value}`,width:n.value,height:s.value,style:X(p.value)},[a("g",{class:"tui-long-line",opacity:e.lineOpacity,"stroke-width":e.lineStroke},[a("line",{x1:0,x2:i.value-e.crosshairRadius,y1:o.value,y2:o.value},null,8,Td),a("line",{x1:i.value+e.crosshairRadius,x2:n.value,y1:o.value,y2:o.value},null,8,Sd),a("line",{x1:i.value,x2:i.value,y1:0,y2:o.value-e.crosshairRadius},null,8,Bd),a("line",{x1:i.value,x2:i.value,y1:o.value+e.crosshairRadius,y2:s.value},null,8,_d)],8,kd),a("g",{class:"tui-short-line",opacity:e.lineOpacity,"stroke-width":2*e.lineStroke},[a("line",{x1:i.value-e.crosshairRadius,x2:i.value+e.crosshairRadius,y1:o.value,y2:o.value},null,8,Pd),a("line",{x1:i.value,x2:i.value,y1:o.value-e.crosshairRadius,y2:o.value+e.crosshairRadius},null,8,Rd)],8,Dd),"side"==e.aimingPoint?(r(),h("g",zd,[a("g",Md,[a("circle",{cx:i.value-e.crosshairRadius,cy:o.value,r:"2"},null,8,xd),a("circle",{cx:i.value+e.crosshairRadius,cy:o.value,r:"2"},null,8,Od)]),a("g",Id,[a("circle",{cx:i.value,cy:o.value-e.crosshairRadius,r:"2"},null,8,Ed),a("circle",{cx:i.value,cy:o.value+e.crosshairRadius,r:"2"},null,8,Nd)])])):(r(),h("circle",{key:1,class:"tui-aiming-point",cx:i.value,cy:o.value,r:"3"},null,8,Gd)),"circle"==e.scopeShape?(r(),h("circle",{key:2,class:"tui-center-circle",cx:i.value,cy:o.value,r:e.crosshairRadius},null,8,Wd)):(r(),h("rect",{key:3,class:"tui-center-rect",x:i.value-e.crosshairRadius,y:o.value-e.crosshairRadius,width:2*e.crosshairRadius,height:2*e.crosshairRadius,rx:"10",ry:"10"},null,8,jd)),e.coordinates?(r(),h("g",{key:4,class:"tui-center-area",transform:`translate(${i.value},${o.value})`},[a("text",Qd,Q(Math.round(i.value)),1),a("text",Ld,Q(Math.round(o.value)),1)],8,Fd)):q("",!0)],12,Cd))],8,["disabled"]))}}),Hd=["src"],Yd={class:"tui-login-inner"},Kd={class:"logo-section"},Xd={class:"tui-form-wrap"},Zd={class:"captcha-img-container"},Jd=["src"],ec={key:1,class:"captcha-error"},tc={class:"help-section"},Ac={class:"button-group"},oc=Object.assign({name:"TuiLogin"},{__name:"index",props:{form:{type:Object,required:!0,validator:e=>e&&["username","password"].every((A=>A in e))},usernamePlaceholder:String,passwordPlaceholder:String,captchaPlaceholder:String,loginButtonText:String,helpText:String,forgetText:String,loading:{type:Boolean,default:!1},enableCaptcha:{type:Boolean,default:!0},captchaImg:{type:String,default:"ERROR"},rules:Object,formSize:{type:String,default:"large",validator:e=>["small","default","large"].includes(e)},position:{type:String,default:"center",validator:e=>["center","left","right"].includes(e)},backgroundType:{type:String,default:"vector",validator:e=>["image","gradient","vector"].includes(e)},backgroundImage:String},emits:["login","help","forget","validate","captchaError"],setup(e,{expose:A,emit:t}){const{proxy:{$tMessage:i},$backgroundConfig:o,i18n:n,$gBackground:s,$globalConfig:d}=ge("$global",null),u=e,c=m((()=>u.usernamePlaceholder||n("login.placeholder.username"))),p=m((()=>u.passwordPlaceholder||n("login.placeholder.password"))),g=m((()=>u.captchaPlaceholder||n("login.placeholder.captcha"))),V=m((()=>u.loginButtonText||n("login.button.login"))),f=m((()=>u.helpText||n("login.button.help"))),v=m((()=>u.forgetText||n("login.button.forget"))),y=C(null),b=t,w=m((()=>u.form.username&&u.form.password&&(!u.enableCaptcha||u.form.captcha))),x=async()=>{if(w.value)try{await y.value.validate()&&b("login",{...u.form})}catch{i({content:n("login.message.faild"),type:"warning"})}},k=()=>{b("help")},B=()=>{b("forget")},T=()=>{b("captchaError")};A({resetForm:()=>{y.value.resetFields()}});const D=m((()=>u.rules||{username:[{required:!0,message:n("login.placeholder.username"),trigger:"blur"},{min:4,max:24,message:n("login.rules.length",{min:4,max:20}),trigger:"blur"}],password:[{required:!0,message:n("login.placeholder.password"),trigger:"blur"},{min:6,max:24,message:n("login.rules.length",{min:6,max:20}),trigger:"blur"}],captcha:[{required:!0,message:n("login.placeholder.captcha"),trigger:"blur"},{min:4,max:6,message:n("login.rules.length",{min:4,max:6}),trigger:"blur"}]})),$=ue({config:{labelHide:!0,size:m((()=>u.formSize))},items:[{prop:"username",prefixIcon:"tui-icon ti-user",placeholder:c},{prop:"password",type:"password",prefixIcon:"tui-icon ti-lock",placeholder:p},{prop:"captcha",prefixIcon:"tui-icon ti-shield",placeholder:g,isCaptcha:!0}]});return I((()=>u.backgroundType),(e=>{"vector"==e&&"none"==s.value&&(d.value.background="all")}),{immediate:!0}),(A,t)=>{const i=ye("TuiLoadingArea"),o=ye("TuiInput"),n=ye("TuiFormItem"),d=ye("TuiForm"),u=ye("TuiButton");return r(),h("div",{class:S(["tui-login",{"tui-view-bg":("view"==l(s)||"all"==l(s))&&"vector"==e.backgroundType,"tui-root-bg":"root"==l(s)&&"vector"==e.backgroundType}])},[e.backgroundImage&&"image"==e.backgroundType?(r(),h("img",{key:0,class:"tui-login-bg",src:e.backgroundImage,alt:""},null,8,Hd)):q("",!0),a("div",{class:S(["tui-login-locator",`tui-pos-${e.position}`])},[(r(),L(st(A.$slots.border?A.$slots.border()[0].type:"div"),_e({class:["tui-login-border",A.$slots.border?"is-outside-border":"is-native-border"]},{...A.$slots.border?A.$slots.border()[0].props:{}}),{default:E((()=>[a("div",Yd,[K(i,{visible:e.loading,mask:!0},null,8,["visible"]),a("div",Kd,[H(A.$slots,"logo",{},(()=>[t[0]||(t[0]=a("div",{class:"default-logo"},[a("h2",null,"Login")],-1))]))]),a("div",Xd,[K(d,_e({ref_key:"formRef",ref:y,model:e.form},$.config,{rules:D.value}),{default:E((()=>[(r(!0),h(U,null,Ve($.items,(t=>(r(),h(U,{key:t.prop},["captcha"!=t.prop||e.enableCaptcha&&"captcha"==t.prop?(r(),L(n,{key:0,prop:t.prop},{default:E((()=>["captcha"!=t.prop?(r(),L(o,{key:0,modelValue:e.form[t.prop],"onUpdate:modelValue":A=>e.form[t.prop]=A,placeholder:t.placeholder,type:t.type||"text",onKeyup:BA(x,["enter"])},{prefix:E((()=>[a("i",{class:S(t.prefixIcon)},null,2)])),_:2},1032,["modelValue","onUpdate:modelValue","placeholder","type"])):(r(),L(o,{key:1,modelValue:e.form[t.prop],"onUpdate:modelValue":A=>e.form[t.prop]=A,placeholder:t.placeholder,onKeyup:BA(x,["enter"])},{prefix:E((()=>[a("i",{class:S(t.prefixIcon)},null,2)])),suffix:E((()=>[a("div",Zd,["ERROR"!==e.captchaImg?(r(),h("img",{key:0,src:e.captchaImg,class:"captcha-img",onError:T},null,40,Jd)):(r(),h("span",ec,Q(e.captchaImg),1)),H(A.$slots,"captcha-suffix")])])),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"]))])),_:2},1032,["prop"])):q("",!0)],64)))),128)),H(A.$slots,"input")])),_:3},16,["model","rules"]),a("div",tc,[a("span",{class:"help-link",onClick:k},Q(f.value),1),a("span",{class:"forgot-link",onClick:B},Q(v.value),1)]),a("div",Ac,[K(u,{disabled:!w.value||e.loading,type:"primary",block:"",onClick:x,size:e.formSize},{default:E((()=>[ke(Q(V.value),1)])),_:1},8,["disabled","size"])])])])])),_:3},16,["class"]))],2),H(A.$slots,"extra")],2)}}}),ac=Object.assign({name:"TuiIconLogo"},{__name:"index",props:{size:Number,padding:Number,appearance:{type:String,default:"colorful",validator:e=>["colorful","white","black","weakest","strongest","custom"].includes(e)}},setup(e){const{$tc:A}=ge("$global"),t=e,a=m((()=>ie("cpt-logo-icon",{...t.size&&{size:t.size+"px"},...t.padding&&{pd:t.padding+"px"},..."strongest"==t.appearance&&{color:A("tone.strongest")},..."weakest"==t.appearance&&{color:A("tone.weakest")}})));return(A,t)=>(r(),h("div",{class:S(["tui-logo-icon",`tui-appea-${e.appearance}`]),style:X(a.value)},[...t[0]||(t[0]=[$s('<div class="tui-logo-inner"><i class="tui-icon ti-techui-lb-part"></i><i class="tui-icon ti-techui-lt-part"></i><i class="tui-icon ti-techui-rb-part"></i><i class="tui-icon ti-techui-rt-part"></i></div>',1)])],6))}}),sc=["src"],lc={class:"text-main"},ic={key:0,class:"text-sub"},nc=Object.assign({name:"TuiSystemLogo"},{__name:"system",props:{logoSize:Number,logoPadding:Number,textSize:Number,iconAppearance:{type:String,default:"colorful",validator:e=>["colorful","white","black","weakest","strongest","custom"].includes(e)},textAppearance:{type:String,default:"fontBase",validator:e=>["fontBase","white","black","weakest","strongest","custom"].includes(e)},direction:{type:String,default:"h",validator:e=>["v","h"].includes(e)},collapse:Boolean,iconLogo:String,iconSrc:String,mainText:String,subText:String},setup(e){const{$gSiderCollapse:A,$gPlatform:t,$tc:i}=ge("$global"),o=Yt(),n=e,s=m((()=>ie("cpt-logo-sys",{...n.textSize&&{tsize:n.textSize+"px"},..."strongest"==n.textAppearance&&{color:i("tone.strongest")},..."weakest"==n.textAppearance&&{color:i("tone.weakest")}}))),d=m((()=>ie("cpt-logo-sys-icon",{...n.logoSize&&{size:n.logoSize+"px"},..."strongest"==n.iconAppearance&&{color:i("tone.strongest")},..."weakest"==n.iconAppearance&&{color:i("tone.weakest")}}))),u=m((()=>n.mainText||"TechUI")),c=m((()=>void 0!==n.subText?n.subText:sA.upper1st(t.value))),p=m((()=>"h"==n.direction&&!(A.value||n.collapse)||"v"==n.direction)),g=m((()=>o.icon||n.iconLogo||n.iconSrc));return(A,t)=>{const i=ye("TuiIconLogo");return r(),h("div",{class:S(["tui-logo-system",`tui-dir-${e.direction}`,`tui-appea-${e.textAppearance}`])},[g.value?(r(),h("div",{key:1,class:S(["tui-logo-custom-icon"]),style:X(d.value)},[l(o).icon?H(A.$slots,"icon",{key:0}):e.iconLogo?(r(),h("i",{key:1,class:S([e.iconLogo])},null,2)):e.iconSrc?(r(),h("img",{key:2,src:e.iconSrc,class:"tui-logo-img",alt:"logo"},null,8,sc)):q("",!0)],4)):(r(),L(i,{key:0,size:n.logoSize,padding:n.logoPadding,appearance:n.iconAppearance},null,8,["size","padding","appearance"])),p.value?(r(),h("div",{key:2,class:S(["tui-logo-text",`tui-appea-${e.textAppearance}`]),style:X(s.value)},[H(A.$slots,"text",{},(()=>[a("span",lc,Q(u.value),1),c.value?(r(),h("span",ic,Q(c.value),1)):q("",!0)]))],6)):q("",!0)],2)}}}),rc=["src","alt"],uc=Object.assign({name:"TuiSvgInjector"},{__name:"index",props:{naming:{type:String,default:""},src:{type:String,default:""},alt:{type:String,default:""},options:{type:Object,default:void 0}},emits:["load"],setup(e,{emit:A}){const t=C(!1),i=e,o=A,n=C(!1),{alt:s,src:d,naming:u}=i,c=()=>{n.value=!0,o("load")};return Ae((()=>{Ts(t.value,i.options,c)})),(e,A)=>(r(),h("span",{class:"tui-svg-injector-wrap",style:X("opacity:"+(n.value?1:0))},[a("img",{ref_key:"svgEle",ref:t,class:S(`svgInjector ${l(u)}`),src:l(d),alt:l(s)},null,10,rc)],4))}}),dc=Object.assign({name:"TuiTextGradient"},{__name:"index",props:{fontSize:Number,gradientType:{type:String,default:"linear",validator:e=>["linear","radial","conic"].includes(e)},colors:{type:Array,default:null,validator:e=>!e||"array"==ve(e)&&(e.length>=2&&e.every((e=>CSS.supports("color",e))))},angle:{type:Number,default:0,validator:e=>e>=0&&e<=360},fontWeight:{type:String,default:null,validator:e=>["normal","bold","bolder","lighter"].includes(e)}},setup(e){const A=e,t=m((()=>{const e=A.colors.join(", ");switch(A.gradientType){case"linear":return`linear-gradient(${A.angle}deg, ${e})`;case"radial":return`radial-gradient(circle, ${e})`;case"conic":return`conic-gradient(from ${A.angle}deg, ${e})`;default:return`linear-gradient(${A.angle}deg, ${e})`}})),a=m((()=>ie("cpt-txtg",{...A.fontWeight&&{fw:A.fontWeight},...A.fontSize&&{fz:A.fontSize+"px"},...A.colors&&{bg:t.value}})));return(e,A)=>(r(),h("span",{class:"tui-text-grad",style:X(a.value)},[H(e.$slots,"default")],4))}}),cc=["onClick","title"],pc={key:0,class:"tui-icon ti-check"},fc={class:"colors-wrap"},gc=Object.assign({name:"TuiThemeToggle"},{__name:"index",props:{direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)}},emits:["change"],setup(e,{emit:A}){const{$tState:t,themeToggle:l}=ge("$global",null),i=A,o=ue({curTheme:"lightBlue",themes:[]});return Ae((()=>{o.themes=Lt.loadIndex(),o.curTheme=t.globalConfig.theme})),wt((()=>{})),(A,t)=>re((r(),h("div",{class:S(["tui-theme-toggle",""+("h"==e.direction?"tui-dir-h":"tui-dir-v")])},[(r(!0),h(U,null,Ve(o.themes,(e=>(r(),h("div",{key:e.value,class:S(["tui-sim-radio-item",{active:o.curTheme===e.value}]),onClick:A=>(e=>{i("change",e.value),o.curTheme=e.value,l(e.value,e.scheme)})(e),title:e.label||e.value},[o.curTheme===e.value?(r(),h("i",pc)):q("",!0),a("div",fc,[(r(!0),h(U,null,Ve(e.colors,(e=>(r(),h("span",{class:"color-item",style:X(`background-color:${e}`)},null,4)))),256))])],10,cc)))),128))],2)),[[fe,o.themes.length>1]])}}),hc=Object.assign({name:"ScifiTabs"},{__name:"scifiTabs",props:{modelValue:[String,Number],options:{type:Array,default:()=>[],validator:e=>e.every((e=>{const A=Object.prototype.hasOwnProperty.call(e,"label"),t=Object.prototype.hasOwnProperty.call(e,"value");return A&&t}))},buttonConfig:Object,gap:Number,direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)},buttonType:{type:String,default:"ScifiButtonHex",validator:e=>["ScifiButtonHex","ScifiButtonPod","ScifiButtonDash","ScifiButtonExo","ScifiButtonFin","ScifiButtonA1","ScifiButtonA2","ScifiButtonA3","ScifiButtonA4","ScifiButtonA5"].includes(e)}},emits:["update:modelValue","change"],setup(e,{emit:A}){const t=e,a=A,l=m((()=>ie("cpt-sf-tabs",{...t.gap&&{gap:t.gap+"px"}})));return(A,t)=>(r(),h("div",{style:X(l.value),class:S(["scifi-tabs-wrap",`scifi-dir-${e.direction}`])},[(r(!0),h(U,null,Ve(e.options,(A=>(r(),L(st(e.buttonType),_e({key:A.value,onClick:e=>(e=>{a("update:modelValue",e),a("change",e)})(A.value),class:"scifi-tab-item "+(e.modelValue===A.value?"is-active":"")},{ref_for:!0},{activeIsPrimary:!0,...e.buttonConfig}),{default:E((()=>[ke(Q(A.label),1)])),_:2},1040,["onClick","class"])))),128))],6))}}),xt={backgroundOpacity:Number,width:Number,className:String,aniDuration:Number,borderWidth:Number,animation:{type:Boolean,default:!0},decoration:{type:Boolean,default:!0},border:{type:Boolean,default:!0},decorationColorAlt:{type:Boolean,default:!1},appearance:{type:String,default:"A",validator:e=>["A","B","C","D"].includes(e)},directionAlt:{type:Boolean,default:!1},size:{type:String,default:"default",validator:e=>["large","default","small"].includes(e)},type:{type:String,default:"default",validator:e=>["default","primary","success","warning","danger","emphasis"].includes(e)},activeIsPrimary:{type:Boolean,default:!1},shadowType:{type:String,default:"drop",validator:e=>["drop","t3d","none"].includes(e)},disabled:{type:Boolean,default:!1},glow:{type:Boolean,default:!0},glowRange:Number,glowOpacity:Number,scaleAction:{type:Boolean,default:!0}},vc=["id"],Vc=["stdDeviation"],bt=Object.assign({name:"SVGDefs"},{__name:"SVGDefs",props:{uid:{type:String,required:!0},glowRange:{type:Number,default:5}},setup:e=>(A,t)=>(r(),h("defs",null,[a("filter",{id:`bgGlow_${e.uid}`},[a("feGaussianBlur",{in:"SourceAlpha",stdDeviation:e.glowRange,result:"blur"},null,8,Vc),t[0]||(t[0]=a("feComposite",{in2:"SourceAlpha",operator:"arithmetic",k2:"-1",k3:"1",result:"shadowDiff"},null,-1)),t[1]||(t[1]=a("feFlood",null,null,-1)),t[2]||(t[2]=a("feComposite",{in2:"shadowDiff",operator:"in"},null,-1)),t[3]||(t[3]=a("feComposite",{in2:"SourceGraphic",operator:"over",result:"firstfilter"},null,-1))],8,vc)]))}),mc={width:32,height:"60",class:"sfb-deco-appea-a"},yc=["d"],bc=["d"],qc=["d"],wc={width:32,height:"60",class:"sfb-deco-appea-b"},$c=["d"],Cc=["d"],kc={width:32,height:"60",class:"sfb-deco-appea-c"},Tc=["d"],Sc=["width"],Bc=["filter","d"],_c=Object.assign({name:"ScifiButtonA1"},{__name:"A1",props:{...xt},setup(e){const A=e,t=C(null),i=ce("sfBtn"),o=C(!1),n=C(!1),s=ue({resizing:!1,width:0,path:{}}),{path:d}=be(s),u=m((()=>s.width+("small"==A.size?20:0))),c=()=>{const e=t.value;e&&(s.width=e.clientWidth,(async()=>{s.path=$e(xa(u.value)),await ee(),o.value=!0})())},p=m((()=>ie("cpt-btn",{...s.width&&{width:s.width+"px"},...A.borderWidth&&{bdw:A.borderWidth+"px"},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.glowOpacity&&{glowop:A.glowOpacity},...A.aniDuration&&{anidur:A.aniDuration+"s"},bggrad:`url(#${i})`})));return Ae((()=>{n.value=!0,ee((()=>{c()}))})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-button-a1",`scifi-type-${e.type}`,"sf-svg-button","sf-svg-component",e.className,""+(o.value?"is-inited":"is-loading"),`sfb-size-${e.size}`,`sfb-appea-${e.appearance}`,{"active-is-primary":e.activeIsPrimary,"is-disabled":e.disabled,"is-deco-color-alt":e.decorationColorAlt,"dis-scale":!e.scaleAction}]),style:X(p.value),ref_key:"btnRef",ref:t},[a("span",{onClick:A[0]||(A[0]=(...A)=>e.oriClick&&e.oriClick(...A)),class:"sfb-text"},[H(e.$slots,"default")]),o.value?(r(),h("div",{key:0,class:S(["sfb-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},["A"==e.appearance?(r(),h(U,{key:0},Ve(2,(e=>a("svg",mc,[a("path",{class:"sfb-deco-a",d:l(d).A_decoA},null,8,yc),a("path",{class:"sfb-deco-b",d:l(d).A_decoB},null,8,bc),a("path",{class:"sfb-deco-c",d:l(d).A_decoC},null,8,qc)]))),64)):q("",!0),"B"==e.appearance?(r(),h(U,{key:1},Ve(2,(e=>a("svg",wc,[a("path",{class:"sfb-deco-a",d:l(d).B_decoA},null,8,$c),a("path",{class:"sfb-deco-b",d:l(d).B_decoB},null,8,Cc)]))),64)):q("",!0),"C"==e.appearance?(r(),h(U,{key:2},Ve(2,(e=>a("svg",kc,[a("path",{class:"sfb-deco-a",d:l(d).C_deco},null,8,Tc)]))),64)):q("",!0),(r(),h("svg",{width:e.width,height:"60",class:"sfb-svg-elem"},[K(bt,{uid:l(i),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${l(i)})`,d:l(d).mainBG},null,8,Bc)],8,Sc))],2)):q("",!0)],6),[[fe,n.value]])])),_:3}))}}),Dc=["width"],Pc=["filter","d"],Rc={width:32,height:"60",class:"sfb-deco-appea-a"},zc=["d"],Mc=["d"],xc=["d"],Oc=["d"],Ic={width:32,height:"60",class:"sfb-deco-appea-b"},Ec=["d"],Nc=["d"],Gc=Object.assign({name:"ScifiButtonA2"},{__name:"A2",props:{...xt},setup(e){const A=e,t=C(null),i=ce("sfBtn"),o=C(!1),n=C(!1),s=ue({resizing:!1,width:0,path:{}}),{path:d}=be(s),u=m((()=>s.width+("small"==A.size?20:0))),c=()=>{const e=t.value;e&&(s.width=e.clientWidth,(async()=>{s.path=$e(Oa(u.value)),await ee(),o.value=!0})())},p=m((()=>ie("cpt-btn",{...s.width&&{width:s.width+"px"},...A.borderWidth&&{bdw:A.borderWidth+"px"},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.glowOpacity&&{glowop:A.glowOpacity},...A.aniDuration&&{anidur:A.aniDuration+"s"},bggrad:`url(#${i})`})));return Ae((()=>{n.value=!0,ee((()=>{c()}))})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-button-a2",`scifi-type-${e.type}`,"sf-svg-button","sf-svg-component",e.className,""+(o.value?"is-inited":"is-loading"),`sfb-size-${e.size}`,`sfb-appea-${e.appearance}`,{"active-is-primary":e.activeIsPrimary,"is-disabled":e.disabled,"is-deco-color-alt":e.decorationColorAlt,"dis-scale":!e.scaleAction}]),style:X(p.value),ref_key:"btnRef",ref:t},[a("span",{onClick:A[0]||(A[0]=(...A)=>e.oriClick&&e.oriClick(...A)),class:"sfb-text"},[H(e.$slots,"default")]),o.value?(r(),h("div",{key:0,class:S(["sfb-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",{width:e.width,height:"60",class:"sfb-svg-elem"},[K(bt,{uid:l(i),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${l(i)})`,d:l(d).mainBG},null,8,Pc)],8,Dc)),"A"==e.appearance?(r(),h(U,{key:0},Ve(2,(e=>a("svg",Rc,[a("path",{class:"sfb-deco-a",d:l(d).A_decoAt},null,8,zc),a("path",{class:"sfb-deco-a",d:l(d).A_decoAb},null,8,Mc),a("path",{class:"sfb-deco-b",d:l(d).A_decoB},null,8,xc),a("path",{class:"sfb-deco-c",d:l(d).A_decoC},null,8,Oc)]))),64)):q("",!0),"B"==e.appearance?(r(),h(U,{key:1},Ve(2,(e=>a("svg",Ic,[a("path",{class:"sfb-deco-a",d:l(d).B_decoA},null,8,Ec),a("path",{class:"sfb-deco-a",d:l(d).B_decoB},null,8,Nc)]))),64)):q("",!0)],2)):q("",!0)],6),[[fe,n.value]])])),_:3}))}}),Wc=["width"],jc={key:0,class:"sfb-deco-appea-a"},Fc=["d"],Qc=["d"],Lc=["d"],Uc=["d"],Hc=["d"],Yc=["d"],Kc=["d"],Xc={key:1,class:"sfb-deco-appea-b"},Zc=["d"],Jc=["d"],ep=["d"],tp=["d"],Ap=["d"],op=["d"],ap=["d"],sp=["d"],lp=["filter","d"],ip=Object.assign({name:"ScifiButtonA3"},{__name:"A3",props:{...xt},setup(e){const A=e,t=C(null),i=ce("sfBtn"),o=C(!1),n=C(!1),s=ue({resizing:!1,width:0,path:{}}),{path:d}=be(s),u=m((()=>s.width+("small"==A.size?20:0))),c=()=>{const e=t.value;e&&(s.width=e.clientWidth,(async()=>{s.path=$e(Ia(u.value)),await ee(),o.value=!0})())},p=m((()=>ie("cpt-btn",{...s.width&&{width:s.width+"px"},...A.borderWidth&&{bdw:A.borderWidth+"px"},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.glowOpacity&&{glowop:A.glowOpacity},...A.aniDuration&&{anidur:A.aniDuration+"s"},bggrad:`url(#${i})`})));return Ae((()=>{n.value=!0,ee((()=>{c()}))})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-button-a3",`scifi-type-${e.type}`,"sf-svg-button","sf-svg-component",e.className,""+(o.value?"is-inited":"is-loading"),`sfb-size-${e.size}`,`sfb-appea-${e.appearance}`,{"active-is-primary":e.activeIsPrimary,"is-disabled":e.disabled,"is-deco-color-alt":e.decorationColorAlt,"dis-scale":!e.scaleAction}]),style:X(p.value),ref_key:"btnRef",ref:t},[a("span",{onClick:A[0]||(A[0]=(...A)=>e.oriClick&&e.oriClick(...A)),class:"sfb-text"},[H(e.$slots,"default")]),o.value?(r(),h("div",{key:0,class:S(["sfb-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",{width:e.width,height:"60",class:"sfb-svg-elem"},[K(bt,{uid:l(i),glowRange:e.glowRange},null,8,["uid","glowRange"]),"A"==e.appearance?(r(),h("g",jc,[a("path",{class:"sfb-deco-lt",d:l(d).A_decoLT},null,8,Fc),a("path",{class:"sfb-deco-rt",d:l(d).A_decoRT},null,8,Qc),a("path",{class:"sfb-deco-lb",d:l(d).A_decoLB},null,8,Lc),a("path",{class:"sfb-deco-rb1",d:l(d).A_decoRB1},null,8,Uc),a("path",{class:"sfb-deco-rb2",d:l(d).A_decoRB2},null,8,Hc),a("path",{class:"sfb-deco-rb3",d:l(d).A_decoRB3},null,8,Yc),a("path",{class:"sfb-deco-rb4",d:l(d).A_decoRB4},null,8,Kc)])):q("",!0),"B"==e.appearance?(r(),h("g",Xc,[a("path",{class:"sfb-deco-lt",d:l(d).B_decoLT},null,8,Zc),a("path",{class:"sfb-deco-rb",d:l(d).B_decoRB},null,8,Jc),a("path",{class:"sfb-deco-rt",d:l(d).B_decoRT},null,8,ep),a("path",{class:"sfb-deco-lb",d:l(d).B_decoLB},null,8,tp),a("path",{class:"sfb-deco-lt-rt",d:l(d).B_decoLT1},null,8,Ap),a("path",{class:"sfb-deco-lt-rt",d:l(d).B_decoLT2},null,8,op),a("path",{class:"sfb-deco-lt-rt",d:l(d).B_decoLT3},null,8,ap),a("path",{class:"sfb-deco-lt-rt",d:l(d).B_decoLT4},null,8,sp)])):q("",!0),a("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${l(i)})`,d:l(d).mainBG},null,8,lp)],8,Wc))],2)):q("",!0)],6),[[fe,n.value]])])),_:3}))}}),np=["width"],rp=["filter","d"],up={width:20,height:"60",class:"sfb-deco-appea-a"},dp=["d"],cp=["d"],pp=["d"],fp=["d"],gp=["width"],hp=["filter","d"],vp={width:20,height:"60",class:"sfb-deco-appea-b"},Vp=["d"],mp=["d"],yp=["d"],bp=Object.assign({name:"ScifiButtonA4"},{__name:"A4",props:{...xt},setup(e){const A=e,t=C(null),i=ce("sfBtn"),o=C(!1),n=C(!1),s=ue({resizing:!1,width:0,path:{}}),{path:d}=be(s),u=m((()=>s.width+("small"==A.size?20:0))),c=()=>{const e=t.value;e&&(s.width=e.clientWidth,(async()=>{s.path=$e(Ea(u.value)),await ee(),o.value=!0})())},p=m((()=>ie("cpt-btn",{...s.width&&{width:s.width+"px"},...A.borderWidth&&{bdw:A.borderWidth+"px"},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.glowOpacity&&{glowop:A.glowOpacity},...A.aniDuration&&{anidur:A.aniDuration+"s"},bggrad:`url(#${i})`})));return Ae((()=>{n.value=!0,ee((()=>{c()}))})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-button-a4",`scifi-type-${e.type}`,"sf-svg-button","sf-svg-component",e.className,""+(o.value?"is-inited":"is-loading"),`sfb-size-${e.size}`,`sfb-appea-${e.appearance}`,{"active-is-primary":e.activeIsPrimary,"is-disabled":e.disabled,"is-deco-color-alt":e.decorationColorAlt,"dis-scale":!e.scaleAction}]),style:X(p.value),ref_key:"btnRef",ref:t},[a("span",{onClick:A[0]||(A[0]=(...A)=>e.oriClick&&e.oriClick(...A)),class:"sfb-text"},[H(e.$slots,"default")]),o.value?(r(),h("div",{key:0,class:S(["sfb-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},["A"==e.appearance?(r(),h(U,{key:0},[(r(),h("svg",{width:e.width,height:"60",class:"sfb-svg-elem"},[K(bt,{uid:l(i),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${l(i)})`,d:l(d).A_mainBG},null,8,rp)],8,np)),(r(),h(U,null,Ve(2,(e=>a("svg",up,[a("path",{class:"sfb-deco-t1",d:l(d).A_decoT1},null,8,dp),a("path",{class:"sfb-deco-b1",d:l(d).A_decoB1},null,8,cp),a("path",{class:"sfb-deco-t1",d:l(d).A_decoT2},null,8,pp),1==e?(r(),h("path",{key:0,class:"sfb-deco-t3",d:l(d).A_decoT3},null,8,fp)):q("",!0)]))),64))],64)):q("",!0),"B"==e.appearance?(r(),h(U,{key:1},[(r(),h("svg",{width:e.width,height:"60",class:"sfb-svg-elem"},[K(bt,{uid:l(i),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${l(i)})`,d:l(d).B_mainBG},null,8,hp)],8,gp)),(r(),h(U,null,Ve(2,(e=>a("svg",vp,[a("path",{class:"sfb-deco-a",d:l(d).B_decoA},null,8,Vp),a("path",{class:"sfb-deco-b",d:l(d).B_decoB},null,8,mp),1==e?(r(),h("path",{key:0,class:"sfb-deco-c",d:l(d).B_decoC},null,8,yp)):q("",!0)]))),64))],64)):q("",!0)],2)):q("",!0)],6),[[fe,n.value]])])),_:3}))}}),qp=["width"],wp=["filter","d"],$p={width:40,height:"60",class:"sfb-deco-appea-a"},Cp=["d"],kp=["width"],Tp=["d"],oA="sfBtn_8",Sp=Object.assign({name:"ScifiButtonA5"},{__name:"A5",props:{...xt},setup(e){const A=e,t=C(null),i=C(!1),o=C(!1),n=ue({resizing:!1,width:0,path:{}}),{path:s}=be(n),d=m((()=>n.width+("small"==A.size?20:0))),u=()=>{const e=t.value;e&&(n.width=e.clientWidth,(async()=>{n.path=$e(Na(d.value)),await ee(),i.value=!0})())},c=m((()=>ie("cpt-btn",{...n.width&&{width:n.width+"px"},...A.borderWidth&&{bdw:A.borderWidth+"px"},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.glowOpacity&&{glowop:A.glowOpacity},...A.aniDuration&&{anidur:A.aniDuration+"s"},bggrad:`url(#${oA})`})));return Ae((()=>{o.value=!0,ee((()=>{u()}))})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-button-a5",`scifi-type-${e.type}`,"sf-svg-button","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),`sfb-size-${e.size}`,`sfb-appea-${e.appearance}`,{"active-is-primary":e.activeIsPrimary,"is-disabled":e.disabled,"is-deco-color-alt":e.decorationColorAlt,"is-dir-alt":e.directionAlt,"dis-scale":!e.scaleAction}]),style:X(c.value),ref_key:"btnRef",ref:t},[a("span",{onClick:A[0]||(A[0]=(...A)=>e.oriClick&&e.oriClick(...A)),class:"sfb-text"},[H(e.$slots,"default")]),i.value?(r(),h("div",{key:0,class:S(["sfb-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",{width:e.width,height:"60",class:"sfb-svg-elem"},[K(bt,{uid:oA,glowRange:e.glowRange},null,8,["glowRange"]),a("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${oA})`,d:l(s).mainBG},null,8,wp)],8,qp)),"A"==e.appearance?(r(),h(U,{key:0},Ve(2,(e=>a("svg",$p,[a("path",{class:"decoration-B",d:l(s).decoA},null,8,Cp)]))),64)):q("",!0),"B"==e.appearance?(r(),h("svg",{key:1,width:e.width,height:"60",class:"sfb-deco-appea-b"},[a("path",{class:"decoration-B",d:l(s).decoB},null,8,Tp)],8,kp)):q("",!0)],2)):q("",!0)],6),[[fe,o.value]])])),_:3}))}}),Ot={className:String,scale:Number,backgroundOpacity:Number,decoration:{type:Boolean,default:!0},decorationAlt:{type:Boolean,default:!1},decorationColorAlt:{type:Boolean,default:!1},decorationOpacity:Number,gradientBackground:{type:Boolean,default:!1},gradientReverse:{type:Boolean,default:!1},glow:{type:Boolean,default:!0},glowRange:Number,glowOpacity:Number,borderWidth:Number,width:{type:Number,default:300},height:{type:Number,default:150},directionAlt:{type:Boolean,default:!1},cornerAlt:Boolean,decoAltScale:Number,decoAltTransX:Number,decoAltTransY:Number,shadowType:{type:String,default:"drop",validator:e=>["drop","t3d","none"].includes(e)},borderd:{type:Boolean,default:!0}},Bp=["id"],_p=["stdDeviation"],Dp=["id"],It=Object.assign({name:"SVGDefs"},{__name:"SVGDefs",props:{uid:{type:String,required:!0},glowRange:{type:Number,default:8}},setup:e=>(A,t)=>(r(),h("defs",null,[a("filter",{id:`bgGlow_${e.uid}`},[t[0]||(t[0]=a("feFlood",null,null,-1)),t[1]||(t[1]=a("feComposite",{in2:"SourceGraphic",operator:"out"},null,-1)),a("feGaussianBlur",{stdDeviation:e.glowRange,result:"blur"},null,8,_p),t[2]||(t[2]=a("feOffset",{dx:"0",dy:"0",result:"offsetblur"},null,-1)),t[3]||(t[3]=a("feComposite",{operator:"atop",in2:"SourceGraphic"},null,-1))],8,Bp),a("linearGradient",{class:"sfg-bg-grad",id:`bgGrad${e.uid}`,x1:"0%",y1:"100%",x2:"0%",y2:"0%"},[...t[4]||(t[4]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"100%"},null,-1)])],8,Dp)]))}),Pp={class:"sfg-slot-wrap"},Rp={class:"sfg-slot-inner"},zp=["viewBox"],Mp=["id"],xp=["d"],Op=["filter","d"],Ip=["viewBox"],Ep=["id"],Np=["d"],Gp=["mask","d"],Wp=["viewBox"],jp=["d"],Fp=Object.assign({name:"ScifiHexagon"},{__name:"Hexagon",props:{...Ot},setup(e){const A=e,t=ce("sfGeo"),i=C(!1),o=ue({path:{}}),{path:n}=be(o),s=m((()=>A.directionAlt?A.height:A.width)),d=m((()=>A.directionAlt?A.width:A.height)),u=m((()=>ie("cpt-geom",{...A.scale&&{scale:A.scale},...A.glowOpacity&&{glowop:A.glowOpacity},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.decorationOpacity&&{deop:A.decorationOpacity},...A.borderWidth&&{bdw:A.borderWidth+"px"},...A.decoAltTransX&&{datx:A.decoAltTransX*(A.directionAlt?-1:1)+"px"},...A.decoAltTransY&&{daty:A.decoAltTransY+"px"},...A.decoAltScale&&{dascale:A.decoAltScale},width:s.value+"px",height:d.value+"px",bggrad:`url(#bgGrad${t})`,bgmask:`url(#slotMask${t})`})));return Ae((()=>{(async()=>{o.path=$e(Ga(s.value,d.value)),await ee(),i.value=!0})()})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-hexagon","sf-svg-geometry","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),""+(e.directionAlt?"sfg-dir-alt-on":"sfg-dir-alt-off"),{"is-deco-color-alt":e.decorationColorAlt,"is-borderd":e.borderd,"is-borderless":!e.borderd}]),style:X(u.value),ref:"svgGeometry"},[a("div",Pp,[a("div",Rp,[H(e.$slots,"default")])]),i.value?(r(),h("div",{key:0,class:S(["sfg-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",{class:"sfg-bg-wrap",viewBox:`0 0 ${s.value} ${d.value}`},[K(It,{uid:l(t),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("mask",{id:`slotMask${l(t)}`},[a("path",{fill:"white",d:l(n).mainBG},null,8,xp)],8,Mp),a("path",{filter:e.glow&&`url(#bgGlow_${l(t)})`,d:l(n).mainBG},null,8,Op)],8,zp)),!e.decorationAlt&&e.decoration?(r(),h(U,{key:0},Ve(2,(e=>a("svg",{class:"sfg-deco-a-elem",viewBox:`0 0 ${s.value} ${d.value}`},[a("defs",null,[a("mask",{id:`decoMask${l(t)}`},[a("path",{fill:"white",d:l(n).mask},null,8,Np)],8,Ep)]),a("path",{mask:`url(#decoMask${l(t)})`,d:l(n).deco},null,8,Gp)],8,Ip))),64)):q("",!0),e.decorationAlt&&e.decoration?(r(),h("svg",{key:1,class:"sfg-deco-b-elem",viewBox:`0 0 ${s.value} ${d.value}`},[a("path",{d:l(n).mainBG},null,8,jp)],8,Wp)):q("",!0)],2)):q("",!0)],6),[[fe,i.value]])])),_:3}))}}),Qp={class:"sfg-slot-wrap"},Lp={class:"sfg-slot-inner"},Up=["viewBox"],Hp=["filter","d"],Yp=["id"],Kp=["d"],Xp=["viewBox"],Zp=["id"],Jp=["d"],ef=["mask","d"],tf=["viewBox"],Af=["d"],of=Object.assign({name:"ScifiParallelogram"},{__name:"Parallelogram",props:{...Ot},setup(e){const A=e,t=ce("sfGeo"),i=C(!1),o=ue({path:{}}),{path:n}=be(o),s=m((()=>ie("cpt-geom",{...A.scale&&{scale:A.scale},...A.glowOpacity&&{glowop:A.glowOpacity},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.decorationOpacity&&{deop:A.decorationOpacity},...A.borderWidth&&{bdw:A.borderWidth+"px"},...A.decoAltTransX&&{datx:A.decoAltTransX*(A.directionAlt?-1:1)+"px"},...A.decoAltTransY&&{daty:A.decoAltTransY+"px"},...A.decoAltScale&&{dascale:A.decoAltScale},width:A.width+"px",height:A.height+"px",bggrad:`url(#bgGrad${t})`,bgmask:`url(#slotMask${t})`})));return Ae((()=>{(async()=>{o.path=$e(Wa(A.width,A.height)),await ee(),i.value=!0})()})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-parallelogram","sf-svg-geometry","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),""+(e.directionAlt?"sfg-dir-alt-on":"sfg-dir-alt-off"),{"is-deco-color-alt":e.decorationColorAlt,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-revs-grad":e.gradientReverse}]),style:X(s.value),ref:"svgGeometry"},[a("div",Qp,[a("div",Lp,[H(e.$slots,"default")])]),i.value?(r(),h("div",{key:0,class:S(["sfg-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",{class:"sfg-bg-wrap",viewBox:`0 0 ${e.width} ${e.height}`},[K(It,{uid:l(t)},null,8,["uid"]),a("path",{filter:e.glow&&`url(#bgGlow_${l(t)})`,d:e.cornerAlt?l(n).BmainBG:l(n).AmainBG},null,8,Hp),a("mask",{id:`slotMask${l(t)}`},[a("path",{fill:"white",d:e.cornerAlt?l(n).BmainBG:l(n).AmainBG},null,8,Kp)],8,Yp)],8,Up)),!e.decorationAlt&&e.decoration?(r(),h(U,{key:0},Ve(2,(A=>a("svg",{class:"sfg-deco-a-elem",viewBox:`0 0 ${e.width} ${e.height}`},[a("defs",null,[a("mask",{id:`decoMask${l(t)}`},[a("path",{fill:"white",d:e.cornerAlt?l(n).Bmask:l(n).Amask},null,8,Jp)],8,Zp)]),a("path",{mask:`url(#decoMask${l(t)})`,d:e.cornerAlt?l(n).Bdeco:l(n).Adeco},null,8,ef)],8,Xp))),64)):q("",!0),e.decorationAlt&&e.decoration?(r(),h("svg",{key:1,class:"sfg-deco-b-elem",viewBox:`0 0 ${e.width} ${e.height}`},[a("path",{d:e.cornerAlt?l(n).BmainBG:l(n).AmainBG},null,8,Af)],8,tf)):q("",!0)],2)):q("",!0)],6),[[fe,i.value]])])),_:3}))}}),af={class:"sfg-slot-wrap"},sf={class:"sfg-slot-inner"},lf=["viewBox"],nf=["filter","d"],rf=["id"],uf=["d"],df=["viewBox"],cf=["id"],pf=["d"],ff=["mask","d"],gf=["viewBox"],hf=["d"],vf=Object.assign({name:"ScifiRectangle"},{__name:"Rectangle",props:{...Ot},setup(e){const A=e,t=ce("sfGeo"),i=C(!1),o=ue({path:{}}),{path:n}=be(o),s=m((()=>ie("cpt-geom",{...A.scale&&{scale:A.scale},...A.glowOpacity&&{glowop:A.glowOpacity},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.decorationOpacity&&{deop:A.decorationOpacity},...A.borderWidth&&{bdw:A.borderWidth+"px"},...A.decoAltTransX&&{datx:A.decoAltTransX*(A.directionAlt?-1:1)+"px"},...A.decoAltTransY&&{daty:A.decoAltTransY+"px"},...A.decoAltScale&&{dascale:A.decoAltScale},width:A.width+"px",height:A.height+"px",bggrad:`url(#bgGrad${t})`,bgmask:`url(#slotMask${t})`})));return Ae((()=>{(async()=>{o.path=$e(ja(A.width,A.height)),await ee(),i.value=!0})()})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-rectangle","sf-svg-geometry","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),""+(e.directionAlt?"sfg-dir-alt-on":"sfg-dir-alt-off"),{"is-deco-color-alt":e.decorationColorAlt,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-revs-grad":e.gradientReverse}]),style:X(s.value),ref:"svgGeometry"},[a("div",af,[a("div",sf,[H(e.$slots,"default")])]),i.value?(r(),h("div",{key:0,class:S(["sfg-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",{class:"sfg-bg-wrap",viewBox:`0 0 ${e.width} ${e.height}`},[K(It,{uid:l(t)},null,8,["uid"]),a("path",{filter:e.glow&&`url(#bgGlow_${l(t)})`,d:e.cornerAlt?l(n).BmainBG:l(n).AmainBG},null,8,nf),a("mask",{id:`slotMask${l(t)}`},[a("path",{fill:"white",d:e.cornerAlt?l(n).BmainBG:l(n).AmainBG},null,8,uf)],8,rf)],8,lf)),!e.decorationAlt&&e.decoration?(r(),h(U,{key:0},Ve(2,(A=>a("svg",{class:"sfg-deco-a-elem",viewBox:`0 0 ${e.width} ${e.height}`},[a("defs",null,[a("mask",{id:`mask-${l(t)}`},[a("path",{fill:"white",d:e.cornerAlt?l(n).Bmask:l(n).Amask},null,8,pf)],8,cf)]),a("path",{mask:`url(#mask-${l(t)})`,d:e.cornerAlt?l(n).Bdeco:l(n).Adeco},null,8,ff)],8,df))),64)):q("",!0),e.decorationAlt&&e.decoration?(r(),h("svg",{key:1,class:"sfg-deco-b-elem",viewBox:`0 0 ${e.width} ${e.height}`},[a("path",{d:e.cornerAlt?l(n).BmainBG:l(n).AmainBG},null,8,hf)],8,gf)):q("",!0)],2)):q("",!0)],6),[[fe,i.value]])])),_:3}))}}),Vf={class:"sfg-slot-wrap"},mf={class:"sfg-slot-inner"},yf=["viewBox"],bf=["filter","d"],qf=["id"],wf=["d"],$f=["viewBox"],Cf=["id"],kf=["d"],Tf=["mask","d"],Sf=["viewBox"],Bf=["d"],_f=Object.assign({name:"ScifiTrapezoid"},{__name:"Trapezoid",props:{...Ot},setup(e){const A=e,t=ce("sfGeo"),i=C(!1),o=ue({path:{}}),{path:n}=be(o),s=m((()=>ie("cpt-geom",{...A.scale&&{scale:A.scale},...A.glowOpacity&&{glowop:A.glowOpacity},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.decorationOpacity&&{deop:A.decorationOpacity},...A.borderWidth&&{bdw:A.borderWidth+"px"},...A.decoAltTransX&&{datx:A.decoAltTransX+"px"},...A.decoAltTransY&&{daty:A.decoAltTransY*(A.directionAlt?-1:1)+"px"},...A.decoAltScale&&{dascale:A.decoAltScale},width:A.width+"px",height:A.height+"px",bggrad:`url(#bgGrad${t})`,bgmask:`url(#slotMask${t})`})));return Ae((()=>{(async()=>{o.path=$e(Fa(A.width,A.height)),await ee(),i.value=!0})()})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-trapezoid","sf-svg-geometry","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),""+(e.directionAlt?"sfg-dir-alt-on":"sfg-dir-alt-off"),{"is-deco-color-alt":e.decorationColorAlt,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-revs-grad":e.gradientReverse}]),style:X(s.value),ref:"svgGeometry"},[a("div",Vf,[a("div",mf,[H(e.$slots,"default")])]),i.value?(r(),h("div",{key:0,class:S(["sfg-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",{class:"sfg-bg-wrap",viewBox:`0 0 ${e.width} ${e.height}`},[K(It,{uid:l(t)},null,8,["uid"]),a("path",{filter:e.glow&&`url(#bgGlow_${l(t)})`,d:e.cornerAlt?l(n).BmainBG:l(n).AmainBG},null,8,bf),a("mask",{id:`slotMask${l(t)}`},[a("path",{fill:"white",d:e.cornerAlt?l(n).BmainBG:l(n).AmainBG},null,8,wf)],8,qf)],8,yf)),!e.decorationAlt&&e.decoration?(r(),h(U,{key:0},Ve(2,(A=>a("svg",{class:"sfg-deco-a-elem",viewBox:`0 0 ${e.width} ${e.height}`},[a("defs",null,[a("mask",{id:`decoMask${l(t)}`},[a("path",{id:"clipPathId",fill:"white",d:e.cornerAlt?l(n).Bmask:l(n).Amask},null,8,kf)],8,Cf)]),a("path",{mask:`url(#decoMask${l(t)})`,d:e.cornerAlt?l(n).Bdeco:l(n).Adeco},null,8,Tf)],8,$f))),64)):q("",!0),e.decorationAlt&&e.decoration?(r(),h("svg",{key:1,class:"sfg-deco-b-elem",viewBox:`0 0 ${e.width} ${e.height}`},[a("path",{d:e.cornerAlt?l(n).BmainBG:l(n).AmainBG},null,8,Bf)],8,Sf)):q("",!0)],2)):q("",!0)],6),[[fe,i.value]])])),_:3}))}}),Df={class:"sfg-slot-wrap"},Pf={class:"sfg-slot-inner"},Rf=["viewBox"],zf=["filter","d"],Mf=["id"],xf=["d"],Of=["viewBox"],If=["id"],Ef=["d"],Nf=["mask","d"],Gf=["viewBox"],Wf=["d"],jf=Object.assign({name:"ScifiTriangle"},{__name:"Triangle",props:{...Ot},setup(e){const A=e,t=ce("sfGeo"),i=C(!1),o=ue({path:{}}),{path:n}=be(o),s=m((()=>ie("cpt-geom",{...A.scale&&{scale:A.scale},...A.glowOpacity&&{glowop:A.glowOpacity},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.decorationOpacity&&{deop:A.decorationOpacity},...A.borderWidth&&{bdw:A.borderWidth+"px"},...A.decoAltTransX&&{datx:A.decoAltTransX+"px"},...A.decoAltTransY&&{daty:A.decoAltTransY*(A.directionAlt?-1:1)+"px"},...A.decoAltScale&&{dascale:A.decoAltScale},width:A.width+"px",height:A.height+"px",bggrad:`url(#bgGrad${t})`,bgmask:`url(#slotMask${t})`})));return Ae((()=>{(async()=>{o.path=$e(Qa(A.width,A.height)),await ee(),i.value=!0})()})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-triangle","sf-svg-geometry","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),""+(e.directionAlt?"sfg-dir-alt-on":"sfg-dir-alt-off"),{"is-deco-color-alt":e.decorationColorAlt,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-revs-grad":e.gradientReverse}]),style:X(s.value),ref:"svgGeometry"},[a("div",Df,[a("div",Pf,[H(e.$slots,"default")])]),i.value?(r(),h("div",{key:0,class:S(["sfg-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",{class:"sfg-bg-wrap",viewBox:`0 0 ${e.width} ${e.height}`},[K(It,{uid:l(t)},null,8,["uid"]),a("path",{filter:e.glow&&`url(#bgGlow_${l(t)})`,d:e.cornerAlt?l(n).BmainBG:l(n).AmainBG},null,8,zf),a("mask",{id:`slotMask${l(t)}`},[a("path",{fill:"white",d:e.cornerAlt?l(n).BmainBG:l(n).AmainBG},null,8,xf)],8,Mf)],8,Rf)),!e.decorationAlt&&e.decoration?(r(),h(U,{key:0},Ve(2,(A=>a("svg",{class:"sfg-deco-a-elem",viewBox:`0 0 ${e.width} ${e.height}`},[a("defs",null,[a("mask",{id:`decoMask${l(t)}`},[a("path",{id:"clipPathId",fill:"white",d:e.cornerAlt?l(n).Bmask:l(n).Amask},null,8,Ef)],8,If)]),a("path",{mask:`url(#decoMask${l(t)})`,d:e.cornerAlt?l(n).Bdeco:l(n).Adeco},null,8,Nf)],8,Of))),64)):q("",!0),e.decorationAlt&&e.decoration?(r(),h("svg",{key:1,class:"sfg-deco-b-elem",viewBox:`0 0 ${e.width} ${e.height}`},[a("path",{d:e.cornerAlt?l(n).BmainBG:l(n).AmainBG},null,8,Wf)],8,Gf)):q("",!0)],2)):q("",!0)],6),[[fe,i.value]])])),_:3}))}}),Et={backgroundOpacity:Number,directionAlt:Boolean,decorationAlt:Boolean,decorationColorAlt:Boolean,fontWeight:String,fontSize:Number,className:String,scale:Number,appearance:{type:String,default:"A",validator:e=>["A","B","C","D","E","F"].includes(e)},shadowType:{type:String,default:"drop",validator:e=>["drop","t3d","none"].includes(e)},borderd:{type:Boolean,default:!0},glow:{type:Boolean,default:!0},glowRange:Number,glowOpacity:Number,size:Number},Ff=["id"],Qf=["stdDeviation"],Xt=Object.assign({name:"SVGDefs"},{__name:"SVGDefs",props:{uid:{type:String,required:!0},glowRange:{type:Number,default:10}},setup:e=>(A,t)=>(r(),h("defs",null,[a("filter",{id:`bgGlow_${e.uid}`},[t[0]||(t[0]=a("feFlood",null,null,-1)),t[1]||(t[1]=a("feComposite",{in2:"SourceGraphic",operator:"out"},null,-1)),a("feGaussianBlur",{stdDeviation:e.glowRange,result:"blur"},null,8,Qf),t[2]||(t[2]=a("feOffset",{dx:"0",dy:"0",result:"offsetblur"},null,-1)),t[3]||(t[3]=a("feComposite",{operator:"atop",in2:"SourceGraphic"},null,-1))],8,Ff)]))}),Lf={class:"sfd-slot-wrap"},Uf={class:"sfd-svg-hidden"},Hf={key:0,class:"sfd-svg-elem",viewBox:"0 0 243.82 243.82"},Yf=["d"],Kf=["filter"],Xf={key:1,class:"sfd-svg-elem",viewBox:"0 0 276.46 239.42"},Zf=["d"],Jf=["filter","d"],eg={key:2,class:"sfd-svg-elem",viewBox:"0 0 293.21 233.77"},tg=["d"],Ag=["filter","d"],og=Object.assign({name:"ScifiDecoA1"},{__name:"A1",props:{...Et},setup(e){const A=e,t=ce("sfDec"),i=C(!1),o=ue({path:{}}),{path:n}=be(o),s=m((()=>ie("cpt-deco",{...A.fontWeight&&{fw:A.fontWeight},...A.fontSize&&{fz:A.fontSize+"px"},...A.scale&&{scale:A.scale},...A.glowOpacity&&{glowop:A.glowOpacity},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.fontSize&&{fz:A.fontSize+"px"},...A.size&&{size:A.size+"px"}})));return Ae((()=>{(async()=>{o.path=$e(La(o.width)),await ee(),i.value=!0})()})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-deco-a1","sf-svg-deco","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),`sfd-appea-${e.appearance}`,{"is-deco-color-alt":e.decorationColorAlt,"is-deco-alt":e.decorationAlt,"is-dir-alt":e.directionAlt}]),style:X(s.value)},[a("div",Lf,[H(e.$slots,"default")]),i.value?(r(),h("div",{key:0,class:S(["sfd-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",Uf,[K(Xt,{uid:l(t),glowRange:e.glowRange},null,8,["uid","glowRange"])])),"A"==e.appearance?(r(),h("svg",Hf,[e.borderd?(r(),h("path",{key:0,class:"sfd-svg-bd",d:l(n).Adeco},null,8,Yf)):q("",!0),a("circle",{filter:e.glow&&`url(#bgGlow_${l(t)})`,class:"sfd-svg-bg",cx:"121.91",cy:"121.21",r:"103.42"},null,8,Kf)])):q("",!0),"B"==e.appearance?(r(),h("svg",Xf,[e.borderd?(r(),h("path",{key:0,class:"sfd-svg-bd",d:l(n).Bdeco},null,8,Zf)):q("",!0),a("path",{filter:e.glow&&`url(#bgGlow_${l(t)})`,class:"sfd-svg-bg",d:l(n).BmainBG},null,8,Jf)])):q("",!0),"C"==e.appearance?(r(),h("svg",eg,[e.borderd?(r(),h("path",{key:0,class:"sfd-svg-bd",d:l(n).Cdeco},null,8,tg)):q("",!0),a("path",{filter:e.glow&&`url(#bgGlow_${l(t)})`,class:"sfd-svg-bg",d:l(n).CmainBG},null,8,Ag)])):q("",!0)],2)):q("",!0)],6),[[fe,i.value]])])),_:3}))}}),ag={class:"sfd-slot-wrap"},sg={class:"sfd-svg-hidden"},lg={key:0,viewBox:"0 0 596.2 564.96"},ig=["filter","d"],ng={class:"sfd-svg-decoA"},rg=["d"],ug=["d"],dg=["d"],cg=["d"],pg={class:"sfd-svg-decoB"},fg=["d"],gg=["d"],hg=["d"],vg=["d"],Vg={key:1,viewBox:"0 0 596.16 594.75"},mg={class:"sfd-svg-decoB"},yg=["d"],bg=["d"],qg=["d"],wg=["d"],$g=["d"],Cg=["d"],kg=["d"],Tg=["d"],Sg=["filter"],Bg={key:2,viewBox:"0 0 596.18 596.17"},_g=["filter","d"],Dg={class:"sfd-svg-decoB"},Pg=["points"],Rg=["d"],zg=["points"],Mg=["points"],xg={class:"sfd-svg-decoA"},Og=["d"],Ig=["d"],Eg=["d"],Ng=["d"],Gg={class:"sfd-svg-decoB"},Wg=["d"],jg=["d"],Fg=["d"],Qg=["d"],Lg={key:3,viewBox:"0 0 567.49 567.5"},Ug=["filter"],Hg=["d"],Yg={class:"sfd-svg-decoB"},Kg=["d"],Xg=["d"],Zg=["d"],Jg=["d"],eh=Object.assign({name:"ScifiDecoB1"},{__name:"B1",props:{...Et,glowRange:{type:Number,default:20}},setup(e){const A=e,t=ce("sfDec"),i=C(!1),o=ue({path:{}}),{path:n}=be(o),s=m((()=>ie("cpt-deco",{...A.fontWeight&&{fw:A.fontWeight},...A.fontSize&&{fz:A.fontSize+"px"},...A.scale&&{scale:A.scale},...A.size&&{size:A.size+"px"}})));return Ae((()=>{(async()=>{o.path=$e(Ua(o.width)),await ee(),i.value=!0})()})),(A,o)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-deco-b1","sf-svg-deco","sf-svg-component",A.className,""+(i.value?"is-inited":"is-loading"),`sfd-appea-${A.appearance}`,{"is-deco-color-alt":A.decorationColorAlt,"is-deco-alt":A.decorationAlt,"is-dir-alt":A.directionAlt}]),style:X(s.value)},[a("div",ag,[H(A.$slots,"default")]),i.value?(r(),h("div",{key:0,class:S(["sfd-svg-wrap",{"t3d-shadow-item":"t3d"==A.shadowType,"sf-shadow-item":"drop"==A.shadowType}])},[(r(),h("svg",sg,[K(Xt,{uid:l(t),glowRange:e.glowRange},null,8,["uid","glowRange"])])),"A"==A.appearance?(r(),h("svg",lg,[a("path",{class:"sfd-svg-bg",filter:A.glow&&`url(#bgGlow_${l(t)})`,d:l(n).AmainBG},null,8,ig),a("g",ng,[a("path",{d:l(n).AdecoA1},null,8,rg),a("path",{d:l(n).AdecoA2},null,8,ug),a("path",{d:l(n).AdecoA3},null,8,dg),a("path",{d:l(n).AdecoA4},null,8,cg)]),a("g",pg,[a("path",{d:l(n).AdecoB1},null,8,fg),a("path",{d:l(n).AdecoB2},null,8,gg),a("path",{d:l(n).AdecoB3},null,8,hg),a("path",{d:l(n).AdecoB4},null,8,vg)])])):q("",!0),"B"==A.appearance?(r(),h("svg",Vg,[a("g",mg,[a("path",{d:l(n).BdecoB1},null,8,yg),a("path",{d:l(n).BdecoB2},null,8,bg),a("path",{d:l(n).BdecoB3},null,8,qg),a("path",{d:l(n).BdecoB4},null,8,wg),a("path",{d:l(n).BdecoB5},null,8,$g),a("path",{d:l(n).BdecoB6},null,8,Cg),a("path",{d:l(n).BdecoB7},null,8,kg)]),a("path",{class:"sfd-svg-decoA",d:l(n).BdecoA},null,8,Tg),a("circle",{class:"sfd-svg-bg",filter:A.glow&&`url(#bgGlow_${l(t)})`,cx:"297.43",cy:"294.27",r:"243"},null,8,Sg)])):q("",!0),"C"==A.appearance?(r(),h("svg",Bg,[a("path",{class:"sfd-svg-bg",filter:A.glow&&`url(#bgGlow_${l(t)})`,d:l(n).CmainBG},null,8,_g),a("g",Dg,[a("polygon",{points:l(n).CdecoB1},null,8,Pg),a("path",{d:l(n).CdecoB2},null,8,Rg),a("polygon",{points:l(n).CdecoB3},null,8,zg),a("polygon",{points:l(n).CdecoB4},null,8,Mg)]),a("g",xg,[a("path",{d:l(n).CdecoA1},null,8,Og),a("path",{d:l(n).CdecoA2},null,8,Ig),a("path",{d:l(n).CdecoA3},null,8,Eg),a("path",{d:l(n).CdecoA4},null,8,Ng)]),a("g",Gg,[a("path",{d:l(n).CdecoC1},null,8,Wg),a("path",{d:l(n).CdecoC2},null,8,jg),a("path",{d:l(n).CdecoC3},null,8,Fg),a("path",{d:l(n).CdecoC4},null,8,Qg)])])):q("",!0),"D"==A.appearance?(r(),h("svg",Lg,[a("circle",{class:"sfd-svg-bg",filter:A.glow&&`url(#bgGlow_${l(t)})`,cx:"283.41",cy:"284.1",r:"194.5"},null,8,Ug),a("path",{class:"sfd-svg-decoA",d:l(n).DdecoA},null,8,Hg),a("g",Yg,[a("path",{d:l(n).DdecoB1},null,8,Kg),a("path",{d:l(n).DdecoB2},null,8,Xg),a("path",{d:l(n).DdecoB3},null,8,Zg),a("path",{d:l(n).DdecoB4},null,8,Jg)])])):q("",!0)],2)):q("",!0)],6),[[fe,i.value]])])),_:3}))}}),th={class:"sfd-slot-wrap"},Ah={class:"sfd-svg-hidden"},oh={key:0,class:"sfd-svg-elem",viewBox:"0 0 210.67 182.47"},ah=["filter","points"],sh=["d"],lh={class:"sfd-svg-decoA"},ih=["points"],nh=["points"],rh=["points"],uh=["points"],dh={key:1,class:"sfd-svg-elem",viewBox:"0 0 210.67 182.47"},ch=["filter","points"],ph={class:"sfd-svg-decoA"},fh=["points"],gh=["points"],hh=["points"],vh={class:"sfd-svg-decoA"},Vh=["points"],mh=["points"],yh=["d"],bh=["d"],qh={key:2,class:"sfd-svg-elem",viewBox:"0 0 210.67 182.46"},wh=["filter","points"],$h={class:"sfd-svg-decoA"},Ch=["points"],kh=["points"],Th=["points"],Sh=["points"],Bh=["points"],_h=["points"],Dh=["d"],Ph={key:3,class:"sfd-svg-elem",viewBox:"0 0 210.67 182.46"},Rh=["filter","points"],zh=["d"],Mh={class:"sfd-svg-decoA"},xh=["points"],Oh=["points"],Ih=["points"],Eh=["points"],Nh=["points"],Gh=["points"],Wh=["points"],jh=["points"],Fh=["points"],Qh=["points"],Lh=["points"],Uh=["points"],Hh=["points"],Yh=["points"],Kh={class:"sfd-svg-decoA"},Xh=["points"],Zh=["points"],Jh=["points"],ev=["points"],tv=["points"],Av=["points"],ov=Object.assign({name:"ScifiDecoB2"},{__name:"B2",props:{...Et,glowRange:{type:Number,default:20}},setup(e){const A=e,t=ce("sfDec"),i=C(!1),o=ue({path:{}}),{path:n}=be(o),s=m((()=>ie("cpt-deco",{...A.fontWeight&&{fw:A.fontWeight},...A.fontSize&&{fz:A.fontSize+"px"},...A.scale&&{scale:A.scale},...A.size&&{size:A.size+"px"}})));return Ae((()=>{(async()=>{o.path=$e(Ha(o.width)),await ee(),i.value=!0})()})),(A,o)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-deco-b2","sf-svg-deco","sf-svg-component",A.className,""+(i.value?"is-inited":"is-loading"),`sfd-appea-${A.appearance}`,{"is-deco-color-alt":A.decorationColorAlt,"is-dir-alt":A.directionAlt}]),style:X(s.value)},[a("div",th,[H(A.$slots,"default")]),i.value?(r(),h("div",{key:0,class:S(["sfd-svg-wrap",{"t3d-shadow-item":"t3d"==A.shadowType,"sf-shadow-item":"drop"==A.shadowType}])},[(r(),h("svg",Ah,[K(Xt,{uid:l(t),glowRange:e.glowRange},null,8,["uid","glowRange"])])),"A"==A.appearance?(r(),h("svg",oh,[a("polygon",{class:"sfd-svg-bg",filter:A.glow&&`url(#${l(t)})`,points:l(n).AmainBG},null,8,ah),a("path",{class:"sfd-svg-decoB",d:l(n).AdecoB},null,8,sh),a("g",lh,[a("polygon",{points:l(n).AdecoA1},null,8,ih),a("polygon",{points:l(n).AdecoA2},null,8,nh),a("polygon",{points:l(n).AdecoA3},null,8,rh),a("polygon",{points:l(n).AdecoA4},null,8,uh)])])):q("",!0),"B"==A.appearance?(r(),h("svg",dh,[a("polygon",{class:"sfd-svg-bg",filter:A.glow&&`url(#${l(t)})`,points:l(n).BmainBG},null,8,ch),a("g",ph,[a("polygon",{points:l(n).BdecoA11},null,8,fh),a("polygon",{points:l(n).BdecoA12},null,8,gh),a("polygon",{points:l(n).BdecoA13},null,8,hh)]),a("g",vh,[a("polygon",{points:l(n).BdecoA21},null,8,Vh),a("polygon",{points:l(n).BdecoA22},null,8,mh),a("path",{d:l(n).BdecoA23},null,8,yh)]),a("path",{class:"sfd-svg-decoB",d:l(n).BdecoB},null,8,bh)])):q("",!0),"C"==A.appearance?(r(),h("svg",qh,[a("polygon",{class:"sfd-svg-bg",filter:A.glow&&`url(#${l(t)})`,points:l(n).CmainBG},null,8,wh),a("g",$h,[a("polygon",{points:l(n).CdecoA1},null,8,Ch),a("polygon",{points:l(n).CdecoA2},null,8,kh),a("polygon",{points:l(n).CdecoA3},null,8,Th),a("polygon",{points:l(n).CdecoA4},null,8,Sh),a("polygon",{points:l(n).CdecoA5},null,8,Bh),a("polygon",{points:l(n).CdecoA6},null,8,_h)]),a("path",{class:"sfd-svg-decoB",d:l(n).CdecoB},null,8,Dh)])):q("",!0),"D"==A.appearance?(r(),h("svg",Ph,[a("polygon",{class:"sfd-svg-bg",filter:A.glow&&`url(#${l(t)})`,points:l(n).DmainBG},null,8,Rh),a("path",{class:"sfd-svg-decoB",d:l(n).DdecoB},null,8,zh),a("g",Mh,[a("polygon",{points:l(n).DdecoA101},null,8,xh),a("polygon",{points:l(n).DdecoA102},null,8,Oh),a("polygon",{points:l(n).DdecoA103},null,8,Ih),a("polygon",{points:l(n).DdecoA104},null,8,Eh),a("polygon",{points:l(n).DdecoA105},null,8,Nh),a("polygon",{points:l(n).DdecoA106},null,8,Gh),a("polygon",{points:l(n).DdecoA107},null,8,Wh),a("polygon",{points:l(n).DdecoA108},null,8,jh),a("polygon",{points:l(n).DdecoA109},null,8,Fh),a("polygon",{points:l(n).DdecoA110},null,8,Qh),a("polygon",{points:l(n).DdecoA111},null,8,Lh),a("polygon",{points:l(n).DdecoA112},null,8,Uh),a("polygon",{points:l(n).DdecoA113},null,8,Hh),a("polygon",{points:l(n).DdecoA114},null,8,Yh)]),a("g",Kh,[a("polygon",{points:l(n).DdecoA21},null,8,Xh),a("polygon",{points:l(n).DdecoA22},null,8,Zh),a("polygon",{points:l(n).DdecoA23},null,8,Jh),a("polygon",{points:l(n).DdecoA24},null,8,ev),a("polygon",{points:l(n).DdecoA25},null,8,tv),a("polygon",{points:l(n).DdecoA26},null,8,Av)])])):q("",!0)],2)):q("",!0)],6),[[fe,i.value]])])),_:3}))}}),av={class:"sfd-slot-wrap"},sv={class:"sfd-svg-hidden"},lv={key:0,class:"sfd-svg-elem",viewBox:"0 0 208.91 186.33"},iv=["filter","points"],nv=["d"],rv={class:"sfd-svg-decoB"},uv=["d"],dv=["points"],cv=["points"],pv={key:1,class:"sfd-svg-elem",viewBox:"0 0 213.7 185"},fv=["filter","points"],gv={class:"sfd-svg-decoB"},hv=["points"],vv=["points"],Vv=["points"],mv={class:"sfd-svg-decoB"},yv=["points"],bv=["points"],qv=["points"],wv={class:"sfd-svg-decoA"},$v=["points"],Cv=["points"],kv=["points"],Tv={key:2,class:"sfd-svg-elem",viewBox:"0 0 214.06 185.38"},Sv=["filter","points"],Bv={class:"sfd-svg-decoA"},_v=["points"],Dv=["points"],Pv=["points"],Rv={class:"sfd-svg-decoB"},zv=["points"],Mv=["points"],xv={key:3,class:"sfd-svg-elem",viewBox:"0 0 210.22 183.69"},Ov=["filter","points"],Iv=["d"],Ev={class:"sfd-svg-decoB"},Nv=["points"],Gv=["points"],Wv=Object.assign({name:"ScifiDecoB3"},{__name:"B3",props:{...Et,glowRange:{type:Number,default:20}},setup(e){const A=e,t=ce("sfDec"),i=C(!1),o=ue({path:{}}),{path:n}=be(o),s=m((()=>ie("cpt-deco",{...A.fontWeight&&{fw:A.fontWeight},...A.fontSize&&{fz:A.fontSize+"px"},...A.scale&&{scale:A.scale},...A.size&&{size:A.size+"px"}})));return Ae((()=>{(async()=>{o.path=$e(Ya(o.width)),await ee(),i.value=!0})()})),(A,o)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-deco-b3","sf-svg-deco","sf-svg-component",A.className,""+(i.value?"is-inited":"is-loading"),`sfd-appea-${A.appearance}`,{"is-deco-color-alt":A.decorationColorAlt,"is-dir-alt":A.directionAlt}]),style:X(s.value)},[a("div",av,[H(A.$slots,"default")]),i.value?(r(),h("div",{key:0,class:S(["sfd-svg-wrap",{"t3d-shadow-item":"t3d"==A.shadowType,"sf-shadow-item":"drop"==A.shadowType}])},[(r(),h("svg",sv,[K(Xt,{uid:l(t),glowRange:e.glowRange},null,8,["uid","glowRange"])])),"A"==A.appearance?(r(),h("svg",lv,[a("polygon",{class:"sfd-svg-bg",filter:A.glow&&`url(#${l(t)})`,points:l(n).AmainBG},null,8,iv),a("path",{class:"sfd-svg-decoA",d:l(n).AdecoA},null,8,nv),a("g",rv,[o[0]||(o[0]=a("line",{x1:"193.9",y1:"142.29",x2:"184.67",y2:"126.3"},null,-1)),a("path",{d:l(n).AdecoB1},null,8,uv),a("polygon",{points:l(n).AdecoB2},null,8,dv),a("polygon",{points:l(n).AdecoB3},null,8,cv)])])):q("",!0),"B"==A.appearance?(r(),h("svg",pv,[a("polygon",{class:"sfd-svg-bg",filter:A.glow&&`url(#${l(t)})`,points:l(n).BmainBG},null,8,fv),a("g",gv,[a("polygon",{points:l(n).BdecoB11},null,8,hv),a("polygon",{points:l(n).BdecoB12},null,8,vv),a("polygon",{points:l(n).BdecoB13},null,8,Vv)]),a("g",mv,[a("polygon",{points:l(n).BdecoB21},null,8,yv),a("polygon",{points:l(n).BdecoB22},null,8,bv),a("polygon",{points:l(n).BdecoB23},null,8,qv)]),a("g",wv,[a("polygon",{points:l(n).BdecoA1},null,8,$v),a("polygon",{points:l(n).BdecoA2},null,8,Cv),a("polygon",{points:l(n).BdecoA3},null,8,kv)])])):q("",!0),"C"==A.appearance?(r(),h("svg",Tv,[a("polygon",{class:"sfd-svg-bg",filter:A.glow&&`url(#${l(t)})`,points:l(n).CmainBG},null,8,Sv),a("g",Bv,[a("polygon",{points:l(n).CdecoA1},null,8,_v),a("polygon",{points:l(n).CdecoA2},null,8,Dv),a("polygon",{points:l(n).CdecoA3},null,8,Pv)]),a("g",Rv,[a("polygon",{points:l(n).CdecoB1},null,8,zv),a("polygon",{points:l(n).CdecoB2},null,8,Mv)])])):q("",!0),"D"==A.appearance?(r(),h("svg",xv,[a("polygon",{class:"sfd-svg-bg",filter:A.glow&&`url(#${l(t)})`,points:l(n).DmainBG},null,8,Ov),a("path",{class:"sfd-svg-decoA",d:l(n).DdecoA},null,8,Iv),a("g",Ev,[a("polygon",{points:l(n).DdecoB1},null,8,Nv),a("polygon",{points:l(n).DdecoB2},null,8,Gv)])])):q("",!0)],2)):q("",!0)],6),[[fe,i.value]])])),_:3}))}}),jv={class:"sfd-slot-wrap"},Fv={key:0,class:"svg-wrap"},Qv={viewBox:"0 0 45.29 172.01"},Lv=["d"],Uv={key:1,class:"svg-wrap"},Hv={viewBox:"0 0 68.16 172.21"},Yv=["d"],Kv=["d"],Xv={key:2,class:"svg-wrap"},Zv={viewBox:"0 0 76.68 172.7"},Jv=["d"],eV=["points"],tV=["points"],AV={key:3,class:"svg-wrap"},oV={viewBox:"0 0 44.5 172.69"},aV=["d"],sV=["points"],lV={key:4,class:"svg-wrap"},iV={viewBox:"0 0 37.63 172.75"},nV=["points"],rV=["points"],uV=Object.assign({name:"ScifiDecoC1"},{__name:"C1",props:{...Et,glowRange:{type:Number,default:20},bracketRitio:Number},setup(e){const A=e;ce("sfDec");const t=C(!1),i=ue({path:{}}),{path:o}=be(i),n=m((()=>ie("cpt-deco",{...A.fontWeight&&{fw:A.fontWeight},...A.fontSize&&{fz:A.fontSize+"px"},...A.scale&&{scale:A.scale},...A.bracketRitio&&{bratio:A.bracketRitio},...A.size&&{size:A.size+"px"}})));return Ae((()=>{(async()=>{i.path=$e(Ka(i.width)),await ee(),t.value=!0})()})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-deco-c1","sf-svg-deco","sf-svg-component",e.className,""+(t.value?"is-inited":"is-loading"),`sfd-appea-${e.appearance}`,{"is-deco-color-alt":e.decorationColorAlt,"is-dir-alt":e.directionAlt}]),style:X(n.value)},[t.value?(r(),h("div",{key:0,class:S(["sfd-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[a("div",jv,[H(e.$slots,"default")]),"A"==e.appearance?(r(),h("div",Fv,[(r(),h(U,null,Ve(2,(e=>a("svg",Qv,[a("path",{class:"sfd-svg-decoB",d:l(o).Adeco},null,8,Lv)]))),64))])):q("",!0),"B"==e.appearance?(r(),h("div",Uv,[(r(),h(U,null,Ve(2,(e=>a("svg",Hv,[a("path",{class:"sfd-svg-decoB",d:l(o).BdecoB},null,8,Yv),a("path",{class:"sfd-svg-decoA",d:l(o).BdecoA},null,8,Kv)]))),64))])):q("",!0),"C"==e.appearance?(r(),h("div",Xv,[(r(),h(U,null,Ve(2,(e=>a("svg",Zv,[a("path",{class:"sfd-svg-decoB",d:l(o).CdecoB},null,8,Jv),a("polygon",{class:"sfd-svg-decoA",points:l(o).CdecoA1},null,8,eV),a("polygon",{class:"sfd-svg-decoA",points:l(o).CdecoA2},null,8,tV)]))),64))])):q("",!0),"D"==e.appearance?(r(),h("div",AV,[(r(),h(U,null,Ve(2,(e=>a("svg",oV,[a("path",{class:"sfd-svg-decoB",d:l(o).DdecoB},null,8,aV),a("polygon",{class:"sfd-svg-decoA",points:l(o).DdecoA},null,8,sV)]))),64))])):q("",!0),"E"==e.appearance?(r(),h("div",lV,[(r(),h(U,null,Ve(2,(e=>a("svg",iV,[a("polygon",{class:"sfd-svg-decoB",points:l(o).EdecoB},null,8,nV),a("polygon",{class:"sfd-svg-decoA",points:l(o).EdecoA},null,8,rV)]))),64))])):q("",!0)],2)):q("",!0)],6),[[fe,t.value]])])),_:3}))}}),Zt={backgroundOpacity:Number,width:Number,scale:Number,className:String,aniDuration:Number,borderWidth:Number,text:{type:String,default:"SCIFI HEADER"},animation:{type:Boolean,default:!0},decoration:{type:Boolean,default:!0},decorationAlt:Boolean,decorationColorAlt:Boolean,shadowType:{type:String,default:"drop",validator:e=>["drop","t3d","none"].includes(e)},glow:{type:Boolean,default:!1},glowRange:Number,glowOpacity:Number,gradientReverse:{type:Boolean,default:!1},gradientBackground:{type:Boolean,default:!0}},dV=["id"],cV=["stdDeviation"],pV=["id"],Jt=Object.assign({name:"SVGDefs"},{__name:"SVGDefs",props:{uid:{type:String,required:!0},glowRange:{type:Number,default:8}},setup:e=>(A,t)=>(r(),h("defs",null,[a("filter",{id:`bgGlow_${e.uid}`},[t[0]||(t[0]=a("feFlood",null,null,-1)),t[1]||(t[1]=a("feComposite",{in2:"SourceGraphic",operator:"out"},null,-1)),a("feGaussianBlur",{stdDeviation:e.glowRange,result:"blur"},null,8,cV),t[2]||(t[2]=a("feOffset",{dx:"0",dy:"0",result:"offsetblur"},null,-1)),t[3]||(t[3]=a("feComposite",{operator:"atop",in2:"SourceGraphic"},null,-1))],8,dV),a("linearGradient",{class:"sfh-bg-grad",id:`bgGrad${e.uid}`,gradientUnits:"userSpaceOnUse",x1:"0%",y1:"100%",x2:"0%",y2:"0%"},[...t[4]||(t[4]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"100%"},null,-1)])],8,pV)]))}),fV=["d"],gV=["d"],hV=["d"],vV=["d"],VV={class:"sfh-svg-elem",x:"0px",y:"0px"},mV=["filter","d"],yV=["d"],bV={class:"sfh-text"},qV=Object.assign({name:"ScifiHeaderA1"},{__name:"A1",props:{...Zt},setup(e){const A=e,t=ce("sfHed"),i=C(!1),o=ue({resizing:!1,path:{}}),{path:n}=be(o),s=m((()=>A.width||450)),d=m((()=>ie("cpt-header",{...A.borderWidth&&{bdw:A.borderWidth+"px"},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.glowOpacity&&{glowop:A.glowOpacity},...A.aniDuration&&{anidur:A.aniDuration+"s"},...A.scale&&{scale:A.scale},bggrad:`url(#bgGrad${t})`,width:s.value+"px"})));return Ae((()=>{(async()=>{o.path=$e(Xa(s.value)),await ee(),i.value=!0})()})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-header-a1","sf-svg-header","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),{"is-animation":e.animation,"is-revs-grad":e.gradientReverse,"is-deco-color-alt":e.decorationColorAlt}]),style:X(d.value),ref:"svgHeader"},[i.value?(r(),h("div",{key:0,class:S(["sfh-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h(U,null,Ve(2,(e=>a("svg",{class:S("sfh-side-deco sfh-sd-"+e),x:"0px",y:"0px",viewBox:"0 0 150 80"},[a("path",{class:"deco-4",d:l(n).deco4},null,8,fV),a("path",{class:"deco-3",d:l(n).deco3},null,8,gV),a("path",{class:"deco-2",d:l(n).deco2},null,8,hV),a("path",{class:"deco-1",d:l(n).deco1},null,8,vV)],2))),64)),(r(),h("svg",VV,[K(Jt,{uid:l(t)},null,8,["uid"]),a("path",{class:"sfh-main-bg",filter:e.glow&&`url(#bgGlow_${l(t)})`,d:l(n).mainBG},null,8,mV),e.decoration?(r(),h("path",{key:0,class:"sfh-deco-btm",d:l(n).decoBG},null,8,yV)):q("",!0)]))],2)):q("",!0),a("div",bV,[H(e.$slots,"default")])],6),[[fe,i.value]])])),_:3}))}}),wV={class:S("sfh-svg-elem"),x:"0px",y:"0px"},$V={key:0},CV=["d"],kV=["filter","d"],TV=["d"],SV=["d"],BV={key:1},_V=["d"],DV=["filter","d"],PV=["d"],RV=["d"],zV=["d"],MV=["d"],xV={class:"sfh-text"},OV=Object.assign({name:"ScifiHeaderA2"},{__name:"A2",props:{...Zt},setup(e){const A=e,t=ce("sfHed"),i=C(!1),o=ue({resizing:!1,path:{}}),{path:n}=be(o),s=m((()=>A.width||800)),d=m((()=>ie("cpt-header",{...A.borderWidth&&{bdw:A.borderWidth+"px"},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.glowOpacity&&{glowop:A.glowOpacity},...A.aniDuration&&{anidur:A.aniDuration+"s"},...A.scale&&{scale:A.scale},bggrad:`url(#bgGrad${t})`,width:s.value+"px"})));return Ae((()=>{(async()=>{o.path=$e(Za(s.value)),await ee(),i.value=!0})()})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-header-a2","sf-svg-header","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),{"is-revs-grad":e.gradientReverse,"is-deco-color-alt":e.decorationColorAlt}]),style:X(d.value),ref:"svgHeader"},[i.value?(r(),h("div",{key:0,class:S(["sfh-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",wV,[K(Jt,{uid:l(t)},null,8,["uid"]),e.decorationAlt?q("",!0):(r(),h("g",$V,[a("path",{class:"sfh-main-bg sfh-main-bg-btm",d:l(n).AmainBG2},null,8,CV),a("path",{class:"sfh-main-bg sfh-main-bg-top",filter:e.glow&&`url(#bgGlow_${l(t)})`,d:l(n).AmainBG1},null,8,kV),a("path",{class:"sfh-deco-l",d:l(n).AdecoL},null,8,TV),a("path",{class:"sfh-deco-r",d:l(n).AdecoR},null,8,SV)])),e.decorationAlt?(r(),h("g",BV,[a("path",{class:"sfh-main-bg sfh-main-bg-btm",d:l(n).BmainBG2},null,8,_V),a("path",{class:"sfh-main-bg sfh-main-bg-top",filter:e.glow&&`url(#bgGlow_${l(t)})`,d:l(n).BmainBG1},null,8,DV),a("path",{class:"sfh-deco-l",d:l(n).BdecoL},null,8,PV),a("path",{class:"sfh-deco-r",d:l(n).BdecoR},null,8,RV)])):q("",!0),e.decoration&&!e.decorationColorAlt?(r(),h("path",{key:2,class:"sfh-deco-b",d:l(n).decoB},null,8,zV)):q("",!0),e.decoration?(r(),h("path",{key:3,class:"sfh-deco-bc",d:l(n).decoBc},null,8,MV)):q("",!0)]))],2)):q("",!0),a("div",xV,[H(e.$slots,"default")])],6),[[fe,i.value]])])),_:3}))}}),IV={class:S("sfh-svg-elem"),x:"0px",y:"0px"},EV={key:0},NV=["filter","d"],GV={class:"sfh-deco-side"},WV=["d"],jV=["d"],FV=["d"],QV=["d"],LV={class:"sfh-deco-side"},UV=["d"],HV=["d"],YV=["d"],KV=["d"],XV={key:1},ZV=["filter","d"],JV={class:"sfh-deco-side"},em=["d"],tm=["d"],Am=["d"],om=["d"],am=["d"],sm={class:"sfh-deco-side"},lm=["d"],im=["d"],nm=["d"],rm=["d"],um=["d"],dm={key:2},cm=["d"],pm=["d"],fm=["d"],gm={class:"sfh-text"},hm=Object.assign({name:"ScifiHeaderA3"},{__name:"A3",props:{...Zt},setup(e){const A=e,t=ce("sfHed"),i=C(!1),o=ue({resizing:!1,path:{}}),{path:n}=be(o),s=m((()=>A.width||800)),d=m((()=>ie("cpt-header",{...A.borderWidth&&{bdw:A.borderWidth+"px"},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.glowOpacity&&{glowop:A.glowOpacity},...A.aniDuration&&{anidur:A.aniDuration+"s"},...A.scale&&{scale:A.scale},bggrad:`url(#bgGrad${t})`,width:s.value+"px"})));return Ae((()=>{(async()=>{o.path=$e(Ja(s.value)),await ee(),i.value=!0})()})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-header-a3","sf-svg-header","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),{"is-revs-grad":e.gradientReverse,"is-deco-color-alt":e.decorationColorAlt}]),style:X(d.value),ref:"svgHeader"},[i.value?(r(),h("div",{key:0,class:S(["sfh-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",IV,[K(Jt,{uid:l(t)},null,8,["uid"]),e.decorationAlt?q("",!0):(r(),h("g",EV,[a("path",{class:"sfh-main-bg",filter:e.glow&&`url(#bgGlow_${l(t)})`,d:l(n).AmainBG1},null,8,NV),a("g",GV,[a("path",{class:"sfh-deco2",d:l(n).Adeco2L},null,8,WV),a("path",{class:"sfh-deco3",d:l(n).Adeco3L},null,8,jV),a("path",{class:"sfh-deco4",d:l(n).Adeco4L},null,8,FV),a("path",{class:"sfh-deco0",d:l(n).Adeco0L},null,8,QV)]),a("g",LV,[a("path",{class:"sfh-deco2",d:l(n).Adeco2R},null,8,UV),a("path",{class:"sfh-deco3",d:l(n).Adeco3R},null,8,HV),a("path",{class:"sfh-deco4",d:l(n).Adeco4R},null,8,YV),a("path",{class:"sfh-deco0",d:l(n).Adeco0R},null,8,KV)])])),e.decorationAlt?(r(),h("g",XV,[a("path",{class:"sfh-main-bg",filter:e.glow&&`url(#bgGlow_${l(t)})`,d:l(n).BmainBG1},null,8,ZV),a("g",JV,[a("path",{class:"sfh-deco1",d:l(n).Bdeco1L},null,8,em),a("path",{class:"sfh-deco2",d:l(n).Bdeco2L},null,8,tm),a("path",{class:"sfh-deco3",d:l(n).Bdeco3L},null,8,Am),a("path",{class:"sfh-deco4",d:l(n).Bdeco4L},null,8,om),a("path",{class:"sfh-deco5",d:l(n).Bdeco5L},null,8,am)]),a("g",sm,[a("path",{class:"sfh-deco1",d:l(n).Bdeco1R},null,8,lm),a("path",{class:"sfh-deco2",d:l(n).Bdeco2R},null,8,im),a("path",{class:"sfh-deco3",d:l(n).Bdeco3R},null,8,nm),a("path",{class:"sfh-deco4",d:l(n).Bdeco4R},null,8,rm),a("path",{class:"sfh-deco5",d:l(n).Bdeco5R},null,8,um)])])):q("",!0),e.decoration?(r(),h("g",dm,[a("path",{class:"sfh-deco-bl",d:l(n).decoBl},null,8,cm),a("path",{class:"sfh-deco-br",d:l(n).decoBr},null,8,pm),a("path",{class:"sfh-deco-bc",d:l(n).decoBc},null,8,fm)])):q("",!0)]))],2)):q("",!0),a("div",gm,[H(e.$slots,"default")])],6),[[fe,i.value]])])),_:3}))}}),vm={class:S("sfh-svg-elem"),x:"0px",y:"0px"},Vm={key:0},mm={class:"sfh-deco-side"},ym=["d"],bm=["d"],qm=["d"],wm={class:"sfh-deco-side"},$m=["d"],Cm=["d"],km=["d"],Tm=["d"],Sm=["filter","d"],Bm={key:1},_m={class:"sfh-deco-side"},Dm=["d"],Pm=["d"],Rm=["d"],zm={class:"sfh-deco-side"},Mm=["d"],xm=["d"],Om=["d"],Im=["d"],Em=["filter","d"],Nm={class:"sfh-text"},Gm=Object.assign({name:"ScifiHeaderA4"},{__name:"A4",props:{...Zt},setup(e){const A=e,t=ce("sfHed"),i=C(!1),o=ue({resizing:!1,path:{}}),{path:n}=be(o),s=m((()=>A.width||800)),d=m((()=>ie("cpt-header",{...A.borderWidth&&{bdw:A.borderWidth+"px"},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.glowOpacity&&{glowop:A.glowOpacity},...A.aniDuration&&{anidur:A.aniDuration+"s"},...A.scale&&{scale:A.scale},bggrad:`url(#bgGrad${t})`,width:s.value+"px"})));return Ae((()=>{(async()=>{o.path=$e(es(s.value)),await ee(),i.value=!0})()})),(e,A)=>(r(),L(pe,{name:"fade"},{default:E((()=>[re(a("div",{class:S(["scifi-header-a4","sf-svg-header","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),{"is-revs-grad":e.gradientReverse,"is-deco-color-alt":e.decorationColorAlt}]),style:X(d.value),ref:"svgHeader"},[i.value?(r(),h("div",{key:0,class:S(["sfh-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",vm,[K(Jt,{uid:l(t)},null,8,["uid"]),e.decorationAlt?q("",!0):(r(),h("g",Vm,[a("g",mm,[a("path",{class:"sfh-deco3",d:l(n).Adeco3L},null,8,ym),a("path",{class:"sfh-deco2",d:l(n).Adeco2L},null,8,bm),a("path",{class:"sfh-deco1",d:l(n).Adeco1L},null,8,qm)]),a("g",wm,[a("path",{class:"sfh-deco3",d:l(n).Adeco3R},null,8,$m),a("path",{class:"sfh-deco2",d:l(n).Adeco2R},null,8,Cm),a("path",{class:"sfh-deco1",d:l(n).Adeco1R},null,8,km)]),e.decoration?(r(),h("path",{key:0,class:"sfh-deco-bc",d:l(n).decoBc},null,8,Tm)):q("",!0),a("path",{class:"sfh-main-bg",filter:e.glow&&`url(#bgGlow_${l(t)})`,d:l(n).AmainBG},null,8,Sm)])),e.decorationAlt?(r(),h("g",Bm,[a("g",_m,[a("path",{class:"sfh-deco1",d:l(n).Bdeco1L},null,8,Dm),a("path",{class:"sfh-deco2",d:l(n).Bdeco2L},null,8,Pm),a("path",{class:"sfh-deco3",d:l(n).Bdeco3L},null,8,Rm)]),a("g",zm,[a("path",{class:"sfh-deco1",d:l(n).Bdeco1R},null,8,Mm),a("path",{class:"sfh-deco2",d:l(n).Bdeco2R},null,8,xm),a("path",{class:"sfh-deco3",d:l(n).Bdeco3R},null,8,Om)]),e.decoration?(r(),h("path",{key:0,class:"sfh-deco-bc",d:l(n).decoBc},null,8,Im)):q("",!0),a("path",{class:"sfh-main-bg",filter:e.glow&&`url(#bgGlow_${l(t)})`,d:l(n).BmainBG},null,8,Em)])):q("",!0)]))],2)):q("",!0),a("div",Nm,[H(e.$slots,"default")])],6),[[fe,i.value]])])),_:3}))}}),Oe={backgroundOpacity:Number,scale:Number,decoration:{type:Boolean,default:!0},decorationAlt:{type:Boolean,default:!1},decorationColorAlt:Boolean,glow:{type:Boolean,default:!1},glowRange:Number,glowOpacity:Number,title:String,className:String,titleWidth:{type:Number,default:150},borderd:{type:Boolean,default:!0},borderWidth:Number,rotate:{type:String,validator:e=>["x","y","z","all"].includes(e)},reverse:{type:Boolean,default:!1},directionAlt:{type:Boolean,default:!1},shadowType:{type:String,default:"drop",validator:e=>["drop","t3d","none"].includes(e)},animation:{type:Boolean,default:!0},aniDuration:Number,dotSize:{type:Number,default:2},dotOffset:{type:Number,default:0},backgroundBlur:{type:Boolean,default:!1},blurRange:Number,resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)},showSlotImmed:{type:Boolean,default:!1}},Wm=["id"],jm=["stdDeviation"],Ie=Object.assign({name:"SVGDefs"},{__name:"SVGDefs",props:{uid:{type:String,required:!0},glowRange:{type:Number,default:5}},setup:e=>(A,t)=>(r(),h("defs",null,[a("filter",{id:`bgGlow_${e.uid}`},[t[0]||(t[0]=a("feFlood",null,null,-1)),t[1]||(t[1]=a("feComposite",{in2:"SourceGraphic",operator:"out"},null,-1)),a("feGaussianBlur",{stdDeviation:e.glowRange,result:"blur"},null,8,jm),t[2]||(t[2]=a("feOffset",{dx:"0",dy:"0",result:"offsetblur"},null,-1)),t[3]||(t[3]=a("feComposite",{operator:"atop",in2:"SourceGraphic"},null,-1))],8,Wm)]))}),Fm={key:0,class:"sfp-content"},Qm={key:0,class:"sfp-title"},Lm={class:"sfp-rotate-wrap"},Um=["width","height"],Hm=["filter","points"],Ym=["points"],Km=["points"],Xm=["points"],Zm=["points"],Jm=["points"],ey=["points"],ty=["points"],Ay=["points"],oy=["points"],ay=["points"],sy=["points"],ly=Object.assign({name:"ScifiPanelA1"},{__name:"A1",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&V({width:t,height:a})}));const V=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(ts(e,A,o.titleWidth))})(),await ee(),d.value=!0},f=m((()=>ie("cpt-panel",{...o.title&&{twidth:o.titleWidth+"px"},...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale},width:c.info.width+"px",height:c.info.height+"px"}))),v=m((()=>o.directionAlt?c.info.height:c.info.width)),y=m((()=>o.directionAlt?c.info.width:c.info.height)),b=e=>{const A=o.directionAlt?"DA_":"";return c.path[A+e]};return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-a1","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),""+(e.directionAlt?"sfp-dir-alt-on":"sfp-dir-alt-off"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:X(f.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",Fm,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h("div",{key:1,class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[e.title?(r(),h("div",Qm,Q(e.title),1)):q("",!0),a("div",Lm,[(r(),h("svg",{class:"sfp-svg-elem",width:v.value,height:y.value},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("polyline",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",points:b("mainBG")},null,8,Hm),(!e.title&&!e.decorationAlt||e.title&&e.decorationAlt)&&e.decoration?(r(),h("polyline",{key:0,class:"sfp-corner-lb-longdeco",points:b("cornerDecoLBLong")},null,8,Ym)):q("",!0),e.title?q("",!0):(r(),h(U,{key:1},[a("polyline",{class:"sfp-corner-rect0",points:b("cornerRect0")},null,8,Km),a("polyline",{class:"sfp-corner-rect1",points:b("cornerRect1")},null,8,Xm),a("polyline",{class:"sfp-corner-rect2",points:b("cornerRect2")},null,8,Zm),a("polyline",{class:"sfp-corner-rect3",points:b("cornerRect3")},null,8,Jm),a("polyline",{class:"sfp-corner-rect4",points:b("cornerRect4")},null,8,ey)],64)),e.decoration?(r(),h("polyline",{key:2,class:"sfp-corner-lt-triangle",points:b("cornerTrangleLT")},null,8,ty)):q("",!0),e.decoration?(r(),h("polyline",{key:3,class:"sfp-corner-rb-triangle",points:b("cornerTrangleRB")},null,8,Ay)):q("",!0),(e.title&&!e.decorationAlt||!e.title&&e.decorationAlt)&&e.decoration?(r(),h("polyline",{key:4,class:"sfp-corner-lb-triangle",points:b("cornerTrangleLB")},null,8,oy)):q("",!0),e.title&&!e.decorationAlt||!e.title&&e.decorationAlt||!e.decoration?(r(),h("polyline",{key:5,class:"sfp-corner-lb-line",points:b("cornerLineLB")},null,8,ay)):q("",!0),e.title?(r(),h("polyline",{key:6,class:"sfp-title-deco",points:b("titleDeco")},null,8,sy)):q("",!0)],8,Um))])],2)):q("",!0)],6)),[[t,{callback:V,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),iy={key:0,class:"sfp-content"},ny={class:"sfp-title"},ry={class:"sfp-rotate-wrap"},uy=["width","height"],dy=["filter","d"],cy=["d"],py=["points"],fy=["points"],gy=["points"],hy=["points"],vy=["points"],Vy=["d"],my=Object.assign({name:"ScifiPanelA2"},{__name:"A2",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&V({width:t,height:a})}));const V=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(As(e,A,o.titleWidth))})(),await ee(),d.value=!0},f=m((()=>ie("cpt-panel",{...o.title&&{twidth:o.titleWidth+"px"},...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale},width:c.info.width+"px",height:c.info.height+"px"}))),v=m((()=>o.directionAlt?c.info.height:c.info.width)),y=m((()=>o.directionAlt?c.info.width:c.info.height)),b=e=>{const A=o.directionAlt?"DA_":"";return c.path[A+e]};return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-a3","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),""+(e.directionAlt?"sfp-dir-alt-on":"sfp-dir-alt-off"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-alt":e.decorationAlt,"is-deco-color-alt":e.decorationColorAlt}]),style:X(f.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",iy,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h(U,{key:1},[a("div",ny,Q(e.title),1),a("div",{class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[a("div",ry,[(r(),h("svg",{class:"sfp-svg-elem",width:v.value,height:y.value},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("path",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",d:b("mainBG")},null,8,dy),a("path",{class:"sfp-corner-line",fill:"transparent",d:b("cornerLine")},null,8,cy),a("polyline",{class:"sfp-corner-block",points:b("cornerBlock")},null,8,py),e.decoration?(r(),h(U,{key:0},[a("polyline",{class:"sfp-corner-triangle-lb",points:b("cornerTriangleLB")},null,8,fy),e.decorationAlt?q("",!0):(r(),h("polyline",{key:0,class:"sfp-corner-triangle-rt",points:b("cornerTriangleRT")},null,8,gy))],64)):q("",!0),e.decorationAlt?(r(),h("path",{key:2,class:"sfp-title-deco-alt",d:b("titleDecoAlt")},null,8,Vy)):(r(),h(U,{key:1},[a("polyline",{class:"sfp-head-line",points:b("titleDeco")},null,8,hy),a("polyline",{class:"sfp-title-deco",points:b("headLine")},null,8,vy)],64))],8,uy))])],2)],64)):q("",!0)],6)),[[t,{callback:V,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),yy={key:0,class:"sfp-content"},by={class:"sfp-corenr-title"},qy=["width","height"],wy=["filter","points"],$y=["points"],Cy=["points"],ky=["points"],Ty=["points"],Sy=Object.assign({name:"ScifiPanelA3"},{__name:"A3",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&V({width:t,height:a})}));const V=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(os(e,A))})(),await ee(),d.value=!0},f=m((()=>ie("cpt-panel",{...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale},width:c.info.width+"px",height:c.info.height+"px"})));return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-a2","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:X(f.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",yy,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h(U,{key:1},[a("div",by,Q(e.title),1),a("div",{class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",{class:"sfp-svg-elem",width:l(g).width,height:l(g).height},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("polyline",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",points:l(p).mainBG},null,8,wy),a("polyline",{class:"sfp-corner-large-trg",points:l(p).titleTrangle},null,8,$y),a("polyline",{class:"sfp-corner-small-trg",points:l(p).decorTriangle},null,8,Cy),e.decoration?(r(),h(U,{key:0},[a("polyline",{class:"sfp-corner-long-line",points:l(p).decorLine1},null,8,ky),a("polyline",{class:"sfp-corner-short-line",points:l(p).decorLine2},null,8,Ty)],64)):q("",!0)],8,qy))],2)],64)):q("",!0)],6)),[[t,{callback:V,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),By={key:0,class:"sfp-content"},_y=["width","height"],Dy=["filter","points"],Py=["points"],Ry=["points"],zy=["points"],My=Object.assign({name:"ScifiPanelB1"},{__name:"B1",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{},borderCorner:["topLeft","topRight","bottomLeft","bottomRight"]}),{path:p,info:g}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&V({width:t,height:a})}));const V=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(as(e,A))})(),await ee(),d.value=!0},f=m((()=>ie("cpt-panel",{...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale},...o.blurRange&&{bgblur:o.blurRange+"px"}})));return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-b1","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:X(f.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",By,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h("div",{key:1,class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),h("svg",{class:"sfp-svg-elem",width:l(g).width,height:l(g).height},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",points:l(p).mainBG},null,8,Dy),a("polygon",{class:"sfp-deco-l",points:l(p).decoL},null,8,Py),a("polygon",{class:"sfp-deco-r",points:l(p).decoR},null,8,Ry)],8,_y)),e.decoration?(r(!0),h(U,{key:0},Ve(c.borderCorner,(e=>(r(),h("svg",{class:S("sfp-svg-corner sfp-corner-"+e),width:"50",height:"50"},[a("polygon",{class:"sfp-corner-ele",points:l(p).decoCorner},null,8,zy)],2)))),256)):q("",!0)],2)):q("",!0)],6)),[[t,{callback:V,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),xy={key:0,class:"sfp-content"},Oy=["width","height"],Iy=["id"],Ey=["id"],Ny=["points"],Gy=["points"],Wy=["points"],jy=["filter","points"],Fy=["width","height","fill","mask"],Qy=Object.assign({name:"ScifiPanelB2"},{__name:"B2",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&V({width:t,height:a})}));const V=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(ss(e,A))})(),await ee(),d.value=!0},f=m((()=>ie("cpt-panel",{...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale},...o.blurRange&&{bgblur:o.blurRange+"px"},...o.aniDuration&&{anidur:o.aniDuration+"s"}})));return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-b2","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),{"is-resizing":c.resizing,"is-animation":e.animation,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:X(f.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",xy,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h("div",{key:1,class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),h("svg",{class:"sfp-svg-elem",width:l(g).width,height:l(g).height},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("defs",null,[a("linearGradient",{class:"sfp-grad-group",id:`gradient-${l(n)}`,x1:"0%",y1:"0%",x2:"100%",y2:"100%"},[...A[0]||(A[0]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"100%"},null,-1)])],8,Iy),a("mask",{id:`mask-${l(n)}`},[e.decoration?(r(),h("polyline",{key:0,class:"sfp-deco-l",fill:"#fff",points:l(p).decoL},null,8,Ny)):q("",!0),e.decoration?(r(),h("polyline",{key:1,class:"sfp-deco-r",fill:"#fff",points:l(p).decoR},null,8,Gy)):q("",!0)],8,Ey)]),a("polyline",{class:"sfp-deco-b",points:l(p).decoB},null,8,Wy),a("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",points:l(p).mainBG},null,8,jy),a("rect",{x:"0",y:"0",width:l(g).width,height:l(g).height,fill:`url(#gradient-${l(n)})`,mask:`url(#mask-${l(n)})`},null,8,Fy)],8,Oy))],2)):q("",!0)],6)),[[t,{callback:V,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),Ly={key:0,class:"sfp-content"},Uy=["width","height"],Hy=["filter","d"],Yy=["points"],Ky=["d"],Xy=["points"],Zy=["d"],Jy=["points"],eb=["points"],tb=Object.assign({name:"ScifiPanelB3"},{__name:"B3",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&V({width:t,height:a})}));const V=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(ls(e,A))})(),await ee(),d.value=!0},f=m((()=>ie("cpt-panel",{...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale},...o.blurRange&&{bgblur:o.blurRange+"px"}})));return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-b3","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:X(f.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",Ly,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h("div",{key:1,class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),h("svg",{class:"sfp-svg-elem",width:l(g).width,height:l(g).height},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("path",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",d:l(p).mainBG},null,8,Hy),e.decorationAlt?(r(),h("polyline",{key:0,class:"sfp-deco-arrow-tl",points:l(p).decoArrowTL},null,8,Yy)):q("",!0),!e.decorationAlt&&e.decoration?(r(),h("path",{key:1,class:"sfp-deco-line-tl",d:l(p).decoLineTL},null,8,Ky)):q("",!0),e.decorationAlt?(r(),h("polyline",{key:2,class:"sfp-deco-arrow-br",points:l(p).decoArrowBR},null,8,Xy)):q("",!0),!e.decorationAlt&&e.decoration?(r(),h("path",{key:3,class:"sfp-deco-line-br",d:l(p).decoLineBR},null,8,Zy)):q("",!0),a("polyline",{class:"sfp-deco-lb",points:l(p).decoLB},null,8,Jy),a("polyline",{class:"sfp-deco-rt",points:l(p).decoRT},null,8,eb)],8,Uy))],2)):q("",!0)],6)),[[t,{callback:V,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),Ab={key:0,class:"sfp-content"},ob=["width","height"],ab=["id"],sb=["id"],lb=["id"],ib=["id"],nb=["filter","points"],rb=["points"],ub=["points"],db=["points"],cb=["points"],pb=["points"],fb=["points"],gb=["stroke","points"],hb=["stroke","points"],vb=["stroke","points"],Vb=["stroke","points"],mb=Object.assign({name:"ScifiPanelB4"},{__name:"B4",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&V({width:t,height:a})}));const V=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(is(e,A))})(),await ee(),d.value=!0},f=m((()=>ie("cpt-panel",{...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale},...o.blurRange&&{bgblur:o.blurRange+"px"}})));return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-b4","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),""+(e.decoration?"sfp-has-deco":"sfp-no-deco"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:X(f.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",Ab,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h("div",{key:1,class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),h("svg",{class:"sfp-svg-elem",width:l(g).width,height:l(g).height},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("defs",null,[a("linearGradient",{gradientUnits:"userSpaceOnUse",x1:"0%",y1:"0%",x2:"8%",y2:"8%",id:`gradient1-${l(n)}`},[...A[0]||(A[0]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"100%"},null,-1)])],8,ab),a("linearGradient",{gradientUnits:"userSpaceOnUse",x1:"100%",y1:"0%",x2:"92%",y2:"8%",id:`gradient2-${l(n)}`},[...A[1]||(A[1]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"100%"},null,-1)])],8,sb),a("linearGradient",{gradientUnits:"userSpaceOnUse",x1:"100%",y1:"100%",x2:"92%",y2:"92%",id:`gradient3-${l(n)}`},[...A[2]||(A[2]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"100%"},null,-1)])],8,lb),a("linearGradient",{gradientUnits:"userSpaceOnUse",x1:"0%",y1:"100%",x2:"8%",y2:"92%",id:`gradient4-${l(n)}`},[...A[3]||(A[3]=[a("stop",{offset:"0%"},null,-1),a("stop",{offset:"100%"},null,-1)])],8,ib)]),a("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",points:l(p).mainBG},null,8,nb),a("polyline",{class:"sfp-inf-line1",points:l(p).line1},null,8,rb),a("polyline",{class:"sfp-inf-line2",points:l(p).line2},null,8,ub),a("polyline",{class:"sfp-inf-line3",points:l(p).line3},null,8,db),e.decoration?(r(),h(U,{key:0},[a("polyline",{class:"sfp-inf-line4",points:l(p).line4},null,8,cb),a("polyline",{class:"sfp-inf-line5",points:l(p).line5},null,8,pb),a("polyline",{class:"sfp-inf-line6",points:l(p).line6},null,8,fb)],64)):q("",!0),e.decoration?(r(),h(U,{key:1},[a("polyline",{class:"sfp-corner-line",stroke:`url(#gradient1-${l(n)})`,points:l(p).cornerTL},null,8,gb),a("polyline",{class:"sfp-corner-line",stroke:`url(#gradient2-${l(n)})`,points:l(p).cornerTR},null,8,hb),a("polyline",{class:"sfp-corner-line",stroke:`url(#gradient3-${l(n)})`,points:l(p).cornerBR},null,8,vb),a("polyline",{class:"sfp-corner-line",stroke:`url(#gradient4-${l(n)})`,points:l(p).cornerBL},null,8,Vb)],64)):q("",!0)],8,ob))],2)):q("",!0)],6)),[[t,{callback:V,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),yb={key:0,class:"sfp-content"},bb=["width","height"],qb=["points"],wb=["filter","points"],$b=["points"],Cb=["points"],kb=["points"],Tb=["points"],Sb={key:0,attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"},Bb=["points"],_b={key:0,attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"},Db=["points"],Pb={key:0,attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"},Rb=["points"],zb={key:0,attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"},Mb=["points"],xb={key:0,attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"},Ob=["points"],Ib={key:0,attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"},Eb=["x"],Nb=["points"],Gb=["points"],Wb=Object.assign({name:"ScifiPanelDV1"},{__name:"DV1",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&V({width:t,height:a})}));const V=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(ns(e,A,o.titleWidth))})(),await ee(),d.value=!0},f=m((()=>ie("cpt-panel",{...o.title&&{twidth:o.titleWidth+"px"},...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale},width:c.info.width+"px",height:c.info.height+"px"})));return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-dv1","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),""+(e.directionAlt?"sfp-dir-alt-on":"sfp-dir-alt-off"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:X(f.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",yb,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h("div",{key:1,class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",{class:"sfp-svg-elem",width:l(g).width,height:l(g).height},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("polygon",{class:"sfp-title-bg",points:l(p).titleBG},null,8,qb),a("polyline",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",points:l(p).border},null,8,wb),a("polygon",{class:"sfp-title-deco-r",points:l(p).titleDecoR},null,8,$b),a("polygon",{class:"sfp-title-deco-l",points:l(p).titleDecoL},null,8,Cb),a("polygon",{class:"sfp-title-bg-in",points:l(p).titleBGin},null,8,kb),e.decoration?(r(),h(U,{key:0},[a("polygon",{class:"sfp-deco-t1",opacity:"1",points:l(p).decoT1},[e.animation?(r(),h("animate",Sb)):q("",!0)],8,Tb),a("polygon",{class:"sfp-deco-t2",opacity:"0.7",points:l(p).decoT2},[e.animation?(r(),h("animate",_b)):q("",!0)],8,Bb),a("polygon",{class:"sfp-deco-t3",opacity:"0.5",points:l(p).decoT3},[e.animation?(r(),h("animate",Pb)):q("",!0)],8,Db),a("polygon",{class:"sfp-deco-t4",opacity:"1",points:l(p).decoT4},[e.animation?(r(),h("animate",zb)):q("",!0)],8,Rb),a("polygon",{class:"sfp-deco-t5",opacity:"0.7",points:l(p).decoT5},[e.animation?(r(),h("animate",xb)):q("",!0)],8,Mb),a("polygon",{class:"sfp-deco-t6",opacity:"0.5",points:l(p).decoT6},[e.animation?(r(),h("animate",Ib)):q("",!0)],8,Ob)],64)):q("",!0),a("text",{class:"sfp-title-text",x:""+l(g).width/2,y:"32","font-size":"18","text-anchor":"middle","dominant-baseline":"middle"},Q(e.title),9,Eb),a("polygon",{class:"sfp-deco-l",points:l(p).decoL},null,8,Nb),a("polygon",{class:"sfp-deco-r",points:l(p).decoR},null,8,Gb)],8,bb))],2)):q("",!0)],6)),[[t,{callback:V,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),jb={key:0,class:"sfp-content"},Fb=["width","height"],Qb=["filter","points"],Lb=["points"],Ub=["points"],Hb=["points"],Yb=Object.assign({name:"ScifiPanelDV2"},{__name:"DV2",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{},corners:["left-top","right-top","left-bottom","right-bottom"]}),{path:p,info:g}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&V({width:t,height:a})}));const V=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(rs(e,A))})(),await ee(),d.value=!0},f=m((()=>ie("cpt-panel",{...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale},...o.aniDuration&&{anidur:o.aniDuration+"s"}})));return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-dv2","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-animation":e.animation,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:X(f.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",jb,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h("div",{key:1,class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",{class:"sfp-svg-elem",width:l(g).width,height:l(g).height},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",points:l(p).mainBG},null,8,Qb)],8,Fb)),(r(!0),h(U,null,Ve(c.corners,(A=>(r(),h("svg",{width:"150",height:"150",key:A,class:S(`sfp-${A} svg-corner`)},[a("polygon",{points:l(p).decoA},null,8,Lb),e.decoration?(r(),h(U,{key:0},[a("polygon",{points:l(p).decoB},null,8,Ub),a("polygon",{points:l(p).decoC},null,8,Hb)],64)):q("",!0)],2)))),128))],2)):q("",!0)],6)),[[t,{callback:V,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),Kb={key:0,class:"sfp-content"},Xb=["width","height"],Zb=["filter","points"],Jb=["points"],eq=["points"],tq=["points"],Aq=["points"],oq=["points"],aq=["points"],sq=["points"],lq=["points"],iq=["points"],nq=["points"],rq={class:"sfp-dote"},uq=["cx","cy","r"],dq=["cx","cy","r"],cq=["cx","cy","r"],pq=["cx","cy","r"],fq=Object.assign({name:"ScifiPanelDV3"},{__name:"DV3",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&V({width:t,height:a})}));const V=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(us(e,A))})(),await ee(),d.value=!0},f=m((()=>ie("cpt-panel",{...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale}})));return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-dv3","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:X(f.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",Kb,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h("div",{key:1,class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),h("svg",{class:"sfp-svg-elem",width:l(g).width,height:l(g).height},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",points:l(p).mainBG},null,8,Zb),a("polyline",{class:"sfp-border",points:l(p).lineT},null,8,Jb),a("polyline",{class:"sfp-border",points:l(p).lineB},null,8,eq),a("polyline",{class:"sfp-border",points:l(p).lineL},null,8,tq),a("polyline",{class:"sfp-border",points:l(p).lineR},null,8,Aq),e.decoration?(r(),h(U,{key:0},[a("polyline",{class:"sfp-center-line",points:l(p).lineLc},null,8,oq),a("polyline",{class:"sfp-center-line",points:l(p).lineRc},null,8,aq),a("polyline",{class:"sfp-deco-line",points:l(p).deco1},null,8,sq),a("polyline",{class:"sfp-deco-line",points:l(p).deco2},null,8,lq),a("polyline",{class:"sfp-deco-line",points:l(p).deco3},null,8,iq),a("polyline",{class:"sfp-deco-line",points:l(p).deco4},null,8,nq)],64)):q("",!0),a("g",rq,[a("circle",{cx:5+e.dotOffset,cy:5+e.dotOffset,r:e.dotSize},null,8,uq),a("circle",{cx:l(g).width-5-e.dotOffset,cy:5+e.dotOffset,r:e.dotSize},null,8,dq),a("circle",{cx:l(g).width-5-e.dotOffset,cy:l(g).height-5-e.dotOffset,r:e.dotSize},null,8,cq),a("circle",{cx:5+e.dotOffset,cy:l(g).height-5-e.dotOffset,r:e.dotSize},null,8,pq)])],8,Xb))],2)):q("",!0)],6)),[[t,{callback:V,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),gq={key:0,class:"sfp-content"},hq=["width","height"],vq=["filter","points"],Vq=["points"],mq={key:0,class:"sfp-svg-dot"},yq=["cx","cy","r"],bq=["cx","cy","r"],qq=["cx","cy","r"],wq=["cx","cy","r"],$q=Object.assign({name:"ScifiPanelDV4"},{__name:"DV4",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&V({width:t,height:a})}));const V=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(ds(e,A))})(),await ee(),d.value=!0},f=m((()=>ie("cpt-panel",{...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale}})));return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-dv4","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:X(f.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",gq,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h("div",{key:1,class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),h("svg",{class:"sfp-svg-elem",width:l(g).width,height:l(g).height},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",points:l(p).mainBG},null,8,vq),a("polyline",{class:"sfp-svg-inner-bd",points:l(p).innerBorder},null,8,Vq),e.decoration?(r(),h("g",mq,[a("circle",{cx:13+e.dotOffset,cy:13+e.dotOffset,r:e.dotSize},null,8,yq),a("circle",{cx:l(g).width-13-e.dotOffset,cy:13+e.dotOffset,r:e.dotSize},null,8,bq),a("circle",{cx:l(g).width-13-e.dotOffset,cy:l(g).height-13-e.dotOffset,r:e.dotSize},null,8,qq),a("circle",{cx:13+e.dotOffset,cy:l(g).height-13-e.dotOffset,r:e.dotSize},null,8,wq)])):q("",!0)],8,hq))],2)):q("",!0)],6)),[[t,{callback:V,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),Cq={key:0,class:"sfp-content"},kq=["width","height"],Tq=["filter","points"],Sq={class:"sfp-corner-line sfp-line-w2"},Bq=["points"],_q=["points"],Dq=["points"],Pq=["points"],Rq={key:0,class:"sfp-corner-line sfp-line-w5"},zq=["points"],Mq=["points"],xq=["points"],Oq=["points"],Iq=Object.assign({name:"ScifiPanelDV5"},{__name:"DV5",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&V({width:t,height:a})}));const V=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(cs(e,A))})(),await ee(),d.value=!0},f=m((()=>ie("cpt-panel",{...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale}})));return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-dv5","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:X(f.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",Cq,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h("div",{key:1,class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),h("svg",{class:"sfp-svg-elem",width:l(g).width,height:l(g).height},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("polyline",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",points:l(p).mainBG},null,8,Tq),a("g",Sq,[a("polyline",{points:l(p).cornerA1},null,8,Bq),a("polyline",{points:l(p).cornerA2},null,8,_q),a("polyline",{points:l(p).cornerA3},null,8,Dq),a("polyline",{points:l(p).cornerA4},null,8,Pq)]),e.decoration?(r(),h("g",Rq,[a("polyline",{points:l(p).cornerB1},null,8,zq),a("polyline",{points:l(p).cornerB2},null,8,Mq),a("polyline",{points:l(p).cornerB3},null,8,xq),a("polyline",{points:l(p).cornerB4},null,8,Oq)])):q("",!0)],8,kq))],2)):q("",!0)],6)),[[t,{callback:V,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),Eq={key:0,class:"sfp-content"},Nq=["width","height"],Gq=["filter","points"],Wq=["points"],jq=Object.assign({name:"ScifiPanelDV6"},{__name:"DV6",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{},corners:["left-top","right-top","left-bottom","right-bottom"]}),{path:p,info:g}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&V({width:t,height:a})}));const V=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(ps(e,A))})(),await ee(),d.value=!0},f=m((()=>ie("cpt-panel",{...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale}})));return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-dv6","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:X(f.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",Eq,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h("div",{key:1,class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),h("svg",{class:"sfp-svg-elem",width:l(g).width,height:l(g).height},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",points:l(p).mainBG},null,8,Gq)],8,Nq)),d.value&&e.decoration?(r(!0),h(U,{key:0},Ve(c.corners,(e=>(r(),h("svg",{width:"150px",height:"150px",key:e,class:S(`sfp-${e} sfp-svg-corner`)},[a("polygon",{points:l(p).deco},null,8,Wq)],2)))),128)):q("",!0)],2)):q("",!0)],6)),[[t,{callback:V,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),Fq={key:0,class:"sfp-content"},Qq=["width","height"],Lq={key:0},Uq=["id"],Hq=["filter","d"],Yq=["filter"],Kq=["d"],Xq=["d"],Zq=["d"],Jq=["d"],ew=Object.assign({name:"ScifiPanelDV7"},{__name:"DV7",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&V({width:t,height:a})}));const V=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(fs(e,A))})(),await ee(),d.value=!0},f=m((()=>ie("cpt-panel",{...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale},...o.aniDuration&&{anidur:o.aniDuration+"s"}})));return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-dv7","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-animation":e.animation,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:X(f.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",Fq,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h("div",{key:1,class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),h("svg",{class:"sfp-svg-elem",width:l(g).width,height:l(g).height},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),e.decoration?(r(),h("defs",Lq,[a("filter",{class:"sfp-glow-filter",id:`filter2-${l(n)}`,height:"150%",width:"150%",x:"-25%",y:"-25%"},[...A[0]||(A[0]=[a("feMorphology",{operator:"dilate",radius:"1",in:"SourceAlpha",result:"thicken"},null,-1),a("feGaussianBlur",{in:"thicken",stdDeviation:"2",result:"blurred"},null,-1),a("feFlood",{result:"glowColor"},null,-1),a("feComposite",{in:"glowColor",in2:"blurred",operator:"in",result:"softGlowColored"},null,-1),a("feMerge",null,[a("feMergeNode",{in:"softGlowColored"}),a("feMergeNode",{in:"SourceGraphic"})],-1)])],8,Uq)])):q("",!0),a("path",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",d:l(p).mainBG},null,8,Hq),e.decoration?(r(),h("g",{key:1,class:"sfp-corner",filter:`url(#filter2-${l(n)})`},[a("path",{d:l(p).corner1},null,8,Kq),a("path",{d:l(p).corner2},null,8,Xq),a("path",{d:l(p).corner3},null,8,Zq),a("path",{d:l(p).corner4},null,8,Jq)],8,Yq)):q("",!0)],8,Qq))],2)):q("",!0)],6)),[[t,{callback:V,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),tw={key:0,class:"sfp-content"},Aw=["width","height"],ow=["filter","d"],aw=["d"],sw=["d"],lw={key:1},iw=["points"],nw=["points"],rw=["d"],uw=Object.assign({name:"ScifiPanelDV8"},{__name:"DV8",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&V({width:t,height:a})}));const V=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(gs(e,A))})(),await ee(),d.value=!0},f=m((()=>ie("cpt-panel",{...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale}})));return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-dv8","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),{"is-resizing":c.resizing,"is-animation":e.animation,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:X(f.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",tw,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h("div",{key:1,class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),h("svg",{class:"sfp-svg-elem",width:l(g).width,height:l(g).height},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("path",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",d:l(p).mainBG},null,8,ow),a("path",{class:"sfp-dash",d:l(p).headDecoA},null,8,aw),e.borderd?(r(),h("path",{key:0,class:"sfp-head-line",d:l(p).headDecoB},null,8,sw)):q("",!0),e.decoration?(r(),h("g",lw,[e.decoration?(r(),h("polyline",{key:0,class:"sfp-corner-lb",points:l(p).decoLB},null,8,iw)):q("",!0),a("polyline",{class:"sfp-corner-rt",points:l(p).decoRT},null,8,nw)])):q("",!0),a("path",{class:"sfp-corner-rb",d:l(p).decoRB},null,8,rw)],8,Aw))],2)):q("",!0)],6)),[[t,{callback:V,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),dw={key:0,class:"sfp-content"},cw=["width","height"],pw=["id","d"],fw=["id","d"],gw=["id"],hw=["id"],vw=["fill"],Vw=["dur","path"],mw=["dur","path"],yw=["filter","points"],bw=["xlink:href","mask"],qw=Object.assign({name:"ScifiPanelDV9"},{__name:"DV9",props:{...Oe},setup(e){const{$optResizeCounter:A,initResizeBy:t}=ge("$global",null),i=t(),o=e,n=ce("sfPan"),s=C(!1),d=C(!1),u=C(!1),c=ue({resizing:!1,info:{width:0,height:0},path:{}});m((()=>2*(c.info.width+c.info.height)));const p=m((()=>o.aniDuration||10)),{path:g,info:V}=be(c);I((()=>A.value),((e,A)=>{if("root"!=i.value(o.resizeObserver))return;const{clientWidth:t,clientHeight:a}=s.value;e>A&&f({width:t,height:a})}));const f=async({width:e,height:A})=>{c.info.width=e,c.info.height=A,(()=>{const{width:e,height:A}=c.info;c.path=$e(hs(e,A))})(),await ee(),d.value=!0},v=m((()=>ie("cpt-panel",{...o.borderWidth&&{bdw:o.borderWidth+"px"},...o.backgroundOpacity&&{bgop:o.backgroundOpacity},...o.glowOpacity&&{glowop:o.glowOpacity},...o.scale&&{scale:o.scale},...o.aniDuration&&{anidur:o.aniDuration+"s"}})));return Ae((()=>{u.value=!0})),(e,A)=>{const t=Ce("tui-resize");return r(),L(pe,{name:"fade"},{default:E((()=>[re((r(),h("div",{class:S(["scifi-panel-dv9","sf-svg-panel","sf-svg-component",e.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-animation":e.animation,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:X(v.value),ref_key:"svgPanel",ref:s},[e.showSlotImmed||d.value?(r(),h("div",dw,[H(e.$slots,"default")])):q("",!0),d.value?(r(),h("div",{key:1,class:S(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),h("svg",{class:"sfp-svg-elem",width:l(V).width,height:l(V).height},[K(Ie,{uid:l(n),glowRange:e.glowRange},null,8,["uid","glowRange"]),a("defs",null,[e.reverse?(r(),h("path",{key:1,id:`path-${l(n)}`,d:l(g).pathR,fill:"transparent"},null,8,fw)):(r(),h("path",{key:0,id:`path-${l(n)}`,d:l(g).pathN,fill:"transparent"},null,8,pw)),a("radialGradient",{id:`gradient-${l(n)}`,cx:"50%",cy:"50%",r:"50%"},[...A[0]||(A[0]=[a("stop",{offset:"0%","stop-color":"#fff","stop-opacity":"1"},null,-1),a("stop",{offset:"100%","stop-color":"#fff","stop-opacity":"0"},null,-1)])],8,gw),a("mask",{id:`mask-${l(n)}`},[a("circle",{cx:"0",cy:"0",r:"150",fill:`url(#gradient-${l(n)})`},[e.reverse?(r(),h("animateMotion",{key:1,dur:`${p.value}s`,path:l(g).pathR,rotate:"auto",repeatCount:"indefinite"},null,8,mw)):(r(),h("animateMotion",{key:0,dur:`${p.value}s`,path:l(g).pathN,rotate:"auto",repeatCount:"indefinite"},null,8,Vw))],8,vw)],8,hw)]),a("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${l(n)})`:"",points:l(g).mainBG},null,8,yw),a("use",{class:"sfp-deco-light","xlink:href":`#path-${l(n)}`,mask:`url(#mask-${l(n)})`},null,8,bw)],8,cw))],2)):q("",!0)],6)),[[t,{callback:f,uid:l(n),disabled:"self"!=l(i)(e.resizeObserver)&&d.value}],[fe,u.value]])])),_:3})}}}),ww={backgroundOpacity:Number,scale:Number,decoration:{type:Boolean,default:!0},decorationAlt:{type:Boolean,default:!1},glow:{type:Boolean,default:!1},glowRange:Number,glowOpacity:Number,title:String,className:String,titleWidth:{type:Number,default:150},borderd:{type:Boolean,default:!0},borderWidth:Number,rotate:{type:String,validator:e=>["x","y","z","all"].includes(e)},reverse:{type:Boolean,default:!1},directionAlt:{type:Boolean,default:!1},shadowType:{type:String,default:"drop",validator:e=>["drop","t3d","none"].includes(e)},animation:{type:Boolean,default:!0},aniDuration:Number,dotSize:{type:Number,default:2},dotOffset:{type:Number,default:0},backgroundBlur:{type:Boolean,default:!1},blurRange:Number},$w={class:"tui-panel-content"},Cw=Object.assign({name:"TuiPanelA1"},{__name:"A1",props:{...ww,angleLength:Number,angleWeight:Number,anglePosition:Number,borderRadius:Number,borderRadiusFix:Number},setup(e){const A=e;ce("tuipan"),C(!1);const t=m((()=>ie("cpt-panel",{...A.borderWidth&&{bdw:A.borderWidth+"px"},...A.backgroundOpacity&&{bgop:A.backgroundOpacity},...A.scale&&{scale:A.scale},...A.angleLength&&{agl:A.angleLength+"px"},...A.angleWeight&&{agw:A.angleWeight+"px"},...A.anglePosition&&{agp:A.anglePosition+"px"},...A.borderRadius&&{bdra:A.borderRadius+"px"},...A.borderRadiusFix&&{bdrafix:A.borderRadiusFix+"px"},...A.blurRange&&{bgblur:A.blurRange+"px"},...A.glowRange&&{glowr:A.glowRange+"px"},...A.glowOpacity&&{glowop:A.glowOpacity}})));return Ae((()=>{})),(e,A)=>(r(),h("div",{class:S(["tui-panel-a1","tui-panel",e.className,{"is-borderd":e.borderd}]),style:X(t.value)},[a("div",$w,[H(e.$slots,"default")]),a("div",{class:S(["tui-panel-appera",{"t3d-shadow-item":"t3d"==e.shadowType,"tui-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur,"is-glow":e.glow}])},[...A[0]||(A[0]=[a("div",{class:"tui-panel-bg"},null,-1),a("div",{class:"tui-corner-angle-l"},null,-1),a("div",{class:"tui-corner-angle-r"},null,-1)])],2)],6))}}),fA={width:Number,minWidth:Number,fontWeight:String,fontSize:Number,offset:Number,title:String,className:String,backgroundOpacity:Number,scale:{type:Number,default:1},appearance:{type:String,default:"A",validator:e=>["A","B","C","D"].includes(e)},position:{type:String,default:null,validator:e=>["center","left","right"].includes(e)},decorationColorAlt:{type:Boolean,default:!1}},kw={class:"sfpt-text"},Tw=["width"],Sw=["points"],Bw=["points"],_w=["points"],Dw=["width"],Pw=["d"],Rw=Object.assign({name:"ScifiPanelTitleA1"},{__name:"A1",props:{...fA},setup(e){const A=e,t=C(null);ce("sfPanTi");const i=C(!1),o=ue({resizing:!1,path:{},width:0}),{path:n}=be(o),s=()=>{const e=t.value;e&&(o.width=e.clientWidth,(async()=>{o.path=$e(vs(o.width)),await ee(),i.value=!0})())},d=m((()=>ie("cpt-panti",{...A.fontWeight&&{fw:A.fontWeight},...A.fontSize&&{fz:A.fontSize+"px"},...A.scale&&{scale:A.scale},...A.offset&&{ofs:A.offset+"px"},width:o.width+"px"})));return Ae((()=>{s()})),(e,A)=>(r(),h("div",{class:S(["scifi-panti-a1","sf-svg-panti","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),`sfpt-position-${e.position||"center"}`,`sfpt-appea-${e.appearance}`,{"is-deco-color-alt":e.decorationColorAlt}]),style:X(d.value),ref_key:"pantiRef",ref:t},[a("div",kw,[e.title?(r(),h(U,{key:1},[ke(Q(e.title),1)],64)):H(e.$slots,"default",{key:0})]),i.value?(r(),h(U,{key:0},["A"==e.appearance?(r(),h("svg",{key:0,class:"sfpt-svg-elem",width:e.width,height:"8"},[a("polyline",{class:"dec-center",stroke:"none",points:l(n).AdecoC},null,8,Sw),a("polyline",{class:"dec-left",stroke:"none",points:l(n).AdecoL},null,8,Bw),a("polyline",{class:"dec-right",stroke:"none",points:l(n).AdecoR},null,8,_w)],8,Tw)):q("",!0),"B"==e.appearance?(r(),h("svg",{key:1,class:"sfpt-svg-elem",width:e.width,height:"40"},[a("path",{class:"dec-path",d:l(n).Bdeco},null,8,Pw)],8,Dw)):q("",!0)],64)):q("",!0)],6))}}),zw={class:"sfpt-text"},Mw={class:"sfpt-svg-elem",width:"20",height:"40"},xw=["d"],Ow={class:"sfpt-svg-elem",width:"20",height:"40"},Iw=["d"],Ew=["d"],Nw=["d"],Gw=Object.assign({name:"ScifiPanelTitleA2"},{__name:"A2",props:{...fA},setup(e){const A=e,t=C(null);ce("sfPanTi");const i=C(!1),o=ue({resizing:!1,path:{}}),{path:n}=be(o);m((()=>A.width||450));const s=()=>{const e=t.value;e&&(o.width=e.clientWidth,(async()=>{o.path=$e(Vs(o.width)),await ee(),i.value=!0})())},d=m((()=>ie("cpt-panti",{...A.fontWeight&&{fw:A.fontWeight},...A.fontSize&&{fz:A.fontSize+"px"},...A.scale&&{scale:A.scale},...A.offset&&{ofs:A.offset+"px"},width:o.width+"px"})));return Ae((()=>{s()})),(e,A)=>(r(),h("div",{class:S(["scifi-panti-a2","sf-svg-panti","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),`sfpt-position-${e.position||"center"}`,`sfpt-appea-${e.appearance}`,{"is-deco-color-alt":e.decorationColorAlt}]),style:X(d.value),ref_key:"pantiRef",ref:t},[a("div",zw,[e.title?(r(),h(U,{key:1},[ke(Q(e.title),1)],64)):H(e.$slots,"default",{key:0})]),i.value?(r(),h(U,{key:0},["A"==e.appearance?(r(),h(U,{key:0},Ve(2,(e=>a("svg",Mw,[a("path",{class:"dec-polyline",d:l(n).Adeco},null,8,xw)]))),64)):q("",!0),"B"==e.appearance?(r(),h(U,{key:1},Ve(2,(e=>a("svg",Ow,[a("path",{class:"dec-path1",d:l(n).Bdeco1},null,8,Iw),a("path",{class:"dec-path2",d:l(n).Bdeco2},null,8,Ew),a("path",{class:"dec-path3",d:l(n).Bdeco3},null,8,Nw)]))),64)):q("",!0)],64)):q("",!0)],6))}}),Ww={key:0,class:"deco-svg",width:"20",height:"30"},jw=["d"],Fw={key:1,class:"deco-svg",width:"20",height:"30"},Qw=["d"],Lw=["d"],Uw=["d"],Hw={class:"sfpt-text"},Yw=Object.assign({name:"ScifiPanelTitleA3"},{__name:"A3",props:{...fA},setup(e){const A=e,t=C(null),i=C(!1),o=ue({resizing:!1,path:{}}),{path:n}=be(o),s=m((()=>ie("cpt-panti",{...A.fontWeight&&{fw:A.fontWeight},...A.fontSize&&{fz:A.fontSize+"px"},...A.scale&&{scale:A.scale},...A.offset&&{ofs:A.offset+"px"}})));return Ae((()=>{(async()=>{o.path=$e(ms(o.width)),await ee(),i.value=!0})()})),(e,A)=>(r(),h("div",{class:S(["scifi-panti-a3","sf-svg-panti","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),`sfpt-position-${e.position||"left"}`,`sfpt-appea-${e.appearance}`,{"is-deco-color-alt":e.decorationColorAlt}]),style:X(s.value),ref_key:"pantiRef",ref:t},["A"==e.appearance?(r(),h("svg",Ww,[a("path",{class:"deco-path",d:l(n).Adeco},null,8,jw)])):q("",!0),"B"==e.appearance?(r(),h("svg",Fw,[a("path",{class:"deco-path",d:l(n).Bdeco1},null,8,Qw),a("path",{class:"deco-path-sub",d:l(n).Bdeco2},null,8,Lw),a("path",{class:"deco-path-sub",d:l(n).Bdeco3},null,8,Uw)])):q("",!0),a("span",Hw,[e.title?(r(),h(U,{key:1},[ke(Q(e.title),1)],64)):H(e.$slots,"default",{key:0})])],6))}}),go={width:Number,minWidth:Number,fontWeight:String,fontSize:Number,offset:Number,title:String,className:String,backgroundOpacity:Number,scale:{type:Number,default:1},appearance:{type:String,default:"A",validator:e=>["A","B","C","D"].includes(e)},position:{type:String,default:null,validator:e=>["center","left","right"].includes(e)},decorationColorAlt:{type:Boolean,default:!1}},Kw=Object.assign({name:"TuiPanelTitleA1"},{__name:"A1",props:{...go},setup(e){const A=e,t=m((()=>ie("cpt-panti",{...A.fontWeight&&{fw:A.fontWeight},...A.fontSize&&{fz:A.fontSize+"px"},...A.scale&&{scale:A.scale},...A.offset&&{ofs:A.offset+"px"}})));return(e,A)=>(r(),h("div",{class:S(["tui-panti-a1","tui-panti",e.className,`position-${e.position||"center"}`,{"is-deco-color-alt":e.decorationColorAlt}]),style:X(t.value),ref:"pantiRef"},[e.title?(r(),h(U,{key:1},[ke(Q(e.title),1)],64)):H(e.$slots,"default",{key:0})],6))}}),Xw=Object.assign({name:"TuiPanelTitleA2"},{__name:"A2",props:{...go},setup(e){const A=e,t=m((()=>ie("cpt-panti",{...A.fontWeight&&{fw:A.fontWeight},...A.fontSize&&{fz:A.fontSize+"px"},...A.scale&&{scale:A.scale},...A.offset&&{ofs:A.offset+"px"}})));return(e,A)=>(r(),h("div",{class:S(["tui-panti-a2","tui-panti",e.className,`position-${e.position||"left"}`,{"is-deco-color-alt":e.decorationColorAlt}]),style:X(t.value),ref:"pantiRef"},[e.title?(r(),h(U,{key:1},[ke(Q(e.title),1)],64)):H(e.$slots,"default",{key:0})],6))}}),i$={$dDrag:Cl,$dMenu:nl,$dResize:kl,$dPopover:ml,$dCursorTip:cl,$dVcid:Tl},n$={tuiService:tl,tuiBus:ZA},r$={$gAttention:pi,$gMask:qi,$gLoading:mi,$gPopover:Si,$gPopoverDirectiveCloseAll:yl},u$=[Ei,Gi,Yn,Dr,hr,Pr,Zn,rr,Nr,Ur,ro,Xr,Kr,Au,nu,Zr,tu,hu,mu,gu,Bu,fo,cA,zu,xu,eo,Gu,ju,Lu,Qu,Fu,Uu,ct,Ad,sd,ad,od,no,Xu,Yu,cd,pd,ld,ud,md,$d,dc,uc,Ud,oc,gc,ac,nc,hc,_c,Gc,ip,bp,Sp,Fp,of,vf,_f,jf,og,eh,ov,Wv,uV,qV,OV,hm,Gm,ly,my,Sy,My,Qy,tb,mb,Wb,Yb,fq,$q,Iq,jq,ew,uw,qw,Cw,Rw,Gw,Yw,Kw,Xw];export{u$ as toComps,i$ as toDirective,r$ as toGlobal,n$ as toRoot};
|
|
1
|
+
import{tMitt as _a,tEvent as xe,tObj as ut,styleInit as il,tQuery as je,tDom as Kt,tLang as el,tConsole as On,tCryptoStore as kl,tMonitor as Jl,cssVarGen as ce,tType as ze,genUid as Ce,tTimer as se,tNum as Qe,tResize as pl,tInterval as Bt,tTheme as gl,tClass as ll,deviceInfo as Mn,fullScreen as ea,viewTransStart as ta,viewTransWait as En,syncContSize as Ln,tArr as wt,tStr as Rl,tStore as la,tMutation as It,tTime as aa,tCoreTpl as Ge}from"@techui/utils";import{svgPatDiamondWeaving as na,svgPatZigzagB as Wn,svgPatZigzagA as jn,svgPatWaveB as Gn,svgPatWaveA as Fn,svgPatTriangleB as Hn,svgPatTriangleA as Qn,svgPatTotem as Un,svgPatRectWeavingC as Yn,svgPatRectWeavingB as Kn,svgPatRectWeavingA as Xn,svgPatSlashParallel as Zn,svgPatShellB as Jn,svgPatShellA as eo,svgPatRain as to,svgPatMountains as lo,svgPatMazeC as ao,svgPatMazeB as no,svgPatMazeA as oo,svgPatLineWeaving as io,svgPatLineGrid as so,svgPatHexagonCurved as ro,svgPatHexagonD as Ao,svgPatHexagonC as uo,svgPatHexagonB as co,svgPatHexagonA as fo,svgPatDots as po,svgPatDiamondPixel as go,svgPatDiamondLattice as ho,svgPatDiamondFlipped as vo,svgPatCubeC as mo,svgPatCubeB as yo,svgPatCubeA as bo,svgPatCrosshairB as Vo,svgPatCrosshairA as wo,svgPatContourLine as qo,svgPatCircularOverlayB as Co,svgPatCircularOverlayA as $o,svgPatCircuitDiagram as ko,svgPatBlocks as So,svgPatTest as To,svgSpinRingA as oa,svgSpinRingC as Bo,svgSpinRingB as xo,svgSpinPulseRingC as Po,svgSpinPulseRingB as Ro,svgSpinPulseRingA as zo,svgSpinPulseDotC as Io,svgSpinPulseDotB as No,svgSpinPulseDotA as Do,svgSpinPointC as _o,svgSpinPointB as Oo,svgSpinPointA as Mo,svgSpinClock as Eo,svgSpinBlocksC as Lo,svgSpinBlocksB as Wo,svgSpinBlocksA as jo,svgSpinBarsC as Go,svgSpinBarsB as Fo,svgSpinBarsA as Ho,getVer as Qo,openDec as Sl,openEnc as Tl,getEnv as zl,coreConsoleInfo as Uo,cidVaild as Oa,floatInfo as Yo,cssVarGen as xt,adptCalc as Ko,bar3DPathGen as Xo,cidGen as Ma,md5Enc as ia,pieArcPathGen as Zo,t3dCoeffCalc as sa,t3dUpdateRotate as ra,t3dUpdateOrient as Jo,scifiButtonA1 as ei,scifiButtonA2 as ti,scifiButtonA3 as li,scifiButtonA4 as ai,scifiButtonA5 as ni,scifiGeomHexagon as oi,scifiGeomeParallelogram as ii,scifiGeomeRectangle as si,scifiGeomeTrapezoid as ri,scifiGeomeTriangle as Ai,scifiDecoA1 as ui,scifiDecoB1 as di,scifiDecoB2 as ci,scifiDecoB3 as fi,scifiDecoD1 as pi,scifiHeaderA1 as gi,scifiHeaderA2 as hi,scifiHeaderA3 as vi,scifiHeaderA4 as mi,scifiPanelA1 as yi,scifiPanelA3 as bi,scifiPanelA2 as Vi,scifiPanelB1 as wi,scifiPanelB2 as qi,scifiPanelB3 as Ci,scifiPanelB4 as $i,scifiPanelDV1 as ki,scifiPanelDV2 as Si,scifiPanelDV3 as Ti,scifiPanelDV4 as Bi,scifiPanelDV5 as xi,scifiPanelDV6 as Pi,scifiPanelDV7 as Ri,scifiPanelDV8 as zi,scifiPanelDV9 as Ii,scifiPanelTitleA1 as Ni,scifiPanelTitleA2 as Di,scifiPanelTitleA3 as _i}from"@techui/scifi";import{reactive as Ve,toRefs as Le,computed as m,getCurrentInstance as Ue,createElementBlock as g,openBlock as r,normalizeStyle as re,normalizeClass as T,renderSlot as K,watch as F,onMounted as fe,createBlock as Y,Transition as Be,withCtx as _,createElementVNode as s,ref as k,inject as me,provide as Ke,onBeforeUnmount as tt,Fragment as J,createCommentVNode as q,Teleport as mt,unref as d,createVNode as ne,withDirectives as he,withModifiers as Xe,mergeProps as Pe,vShow as Te,nextTick as oe,useSlots as dt,resolveComponent as be,renderList as ke,createSlots as Nt,toDisplayString as G,createTextVNode as Re,normalizeProps as st,guardReactiveProps as ht,render as at,h as qt,resolveDynamicComponent as it,onUnmounted as Ct,onBeforeMount as St,resolveDirective as Ee,defineComponent as Ea,useAttrs as yl,shallowRef as La,markRaw as Oi,vModelText as Mi,watchEffect as Ol,onUpdated as Ei,toRaw as Aa,TransitionGroup as Wa,withKeys as ua,createStaticVNode as Li}from"vue";import Wi from"@techui/locales";import We from"@techui/colors";import{useFloating as Ml,offset as El,shift as Ll,flip as Wl,arrow as ji}from"@techui/libs/floating-ui";import{useRouter as ja,useRoute as jl}from"vue-router";import Gi from"@techui/libs/dt-detector";import Fi from"@techui/libs/async-validator";import nt from"@techui/libs/dayjs";import Hi from"@techui/libs/dayjs/plugin/isoWeek";import Ga from"@techui/libs/dayjs/plugin/weekOfYear";import Qi from"@techui/libs/dayjs/plugin/isSameOrAfter";import Ui from"@techui/libs/dayjs/plugin/isSameOrBefore";import Yi from"@techui/libs/svg-injector";const Fa=new _a;Fa.data={};const Ki="data:audio/mpeg;base64,//OAxAAAAAAAAAAAAFhpbmcAAAAPAAAABAAAA6oAW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbycnJycnJycnJycnJycnJycnJycnJycnJyfb29vb29vb29vb29vb29vb29vb29vb29vb/////////////////////////////////AAAAKExBTUUzLjEwMAQAAAAAAAAAAAAVCCQEGCEAAbgAAAOqYpgBhQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/zkMQACIgCdHVAAAAACBjsn///lwf//B95QEP+XP/+Tg///z8H//Lh/id5/B/IKiRWpnhllnljdrcbQ4Yw0AzECAcIT0DBJ1IaAdfqJ7PUUCYuloWvZuy5h6NDXWtt2R8a2vBugsBRVewstea96LNcsYQBy5c79MsWvTtlUxk8BPq5SNjdGWJeN7alNJQuTGEJ7dl2NKDKReOPxJJay92Wswlypp3qGPe3GVsrjFOypl8wle0RKx5opT3qGMyl9YzTXKa8uxl8HxqUuS+1998+0XYxCmsQI5Egzh+N/N7xjGHdTM47T/Rq5SU0Zbg/UCNwZdSQHAkqzduRP5B8Yvf+cld+o//zoMTVTHwWqx+awQSO6DBJnLG7nVpa3bu6uNWW0sgmoZnofm6Oby5zUmnNbXuy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AB//5DAE8ATQBNAAAA//4gADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAyADEAMAAgADAAMAAwADAAMABBADEAMwAgADAAMAAwADAAMAAwADAAMAAwADAAMAAwAEEAQwA1AEQAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADQAQQA0ADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAAABDT01NAAAA9AAAAWVuZ//+AAD//iAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADIAMQAwACAAMAAwADAAMAAwAEEAMQAzACAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAQQBDADUARAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAANABBADQAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAAAENPTU0AAAD0AAABZW5n//4AAP/+IAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMgAxADAAIAAwADAAMAAwADAAQQAxADMAIAAwADAAMAAwADAAMAAwADAAMAAwADAAMABBAEMANQBEACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAA0AEEANAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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qqqo=",da={clickA:Ki,clickB:Xi,clickC:Zi,dindonA:Ji,dindonB:es,dindonC:ts,errorA:ls,errorB:as,errorC:ns,errorD:os,pingA:is,pingB:ss,pingC1:rs,pingC2:As,pingC3:us,popupA:ds,popupB:cs,popupC:fs,popupD:ps},kt=new Map,gs=e=>e+"_"+Date.now()+"_"+Math.random().toString(36).slice(2,8),hs=(e,t=!1,l=null,a=0)=>{const i=da[e]?e:"pingA",A=l||(t?i:null),o=A||gs(i);A&&Ha(A);const n={audio:new Audio(da[i]),timer:null,playing:!0,endedHandler:null,errorHandler:null,resolveCallback:null},s=n.audio;kt.set(o,n),n.endedHandler=function(){t&&a>0?kt.has(o)&&kt.get(o).playing&&(n.timer=setTimeout((()=>{kt.has(o)&&kt.get(o).playing&&(s.currentTime=0,s.play().catch((e=>{"AbortError"!==e?.name&&console.warn("Error replaying audio:",e)})))}),a)):t||(n.resolveCallback&&n.resolveCallback(o),al(o))},xe.add(s,"ended",n.endedHandler,o),n.errorHandler=e=>{al(o)},xe.add(s,"error",n.errorHandler,o),s.loop=t&&0===a;const r=s.play();return t?Promise.resolve(o):new Promise(((e,t)=>{n.resolveCallback=e,r.catch((t=>{"AbortError"!==t?.name&&console.warn("Error playing audio:",t),al(o),e(o)}))}))},al=e=>{if(kt.has(e)){const t=kt.get(e);t.playing=!1,t.endedHandler&&xe.remove(t.audio,"ended",e),t.errorHandler&&xe.remove(t.audio,"error",e),t.audio.pause(),t.audio.currentTime=0,t.timer&&clearTimeout(t.timer),kt.delete(e)}},Ha=e=>!!kt.has(e)&&(al(e),!0),vs=()=>{kt.forEach(((e,t)=>{al(t)}))},ms={play:hs,stop:Ha,stopAll:vs},ys=(e,t,l)=>{const{background:a}=e;if(!a)return void console.error("Error: themePalette initialized error");const i=Ve({viewType:"all",cssResult:"",graphicType:"SvgPattern",cssAni:{},css:{},grad:{},SvgPattern:{gradType:"radial",gradOrientation:"ellipse at bottom",viewSvgName:"diamondWeaving",viewBG:null,viewGrad:a.view_grad,viewSvgFill:a.view_svgfill,viewSvgFillOpacity:a.view_svgfill_opa,rootSvgName:"diamondWeaving",rootBG:a.root,rootSvgFill:a.root_svgfill,rootSvgFillOpacity:a.root_svgfill_opa}});("view"==l||"root"==l||"all"==l)&&(i.viewType=l),ut.isEmpty(t)||(i.graphicType=t.graphicType||"SvgPattern","SvgPattern"==t.graphicType&&(i.SvgPattern=ut.dpm(i.SvgPattern,t.SvgPattern),!t.rootSvgName&&t.viewSvgName&&(i.SvgPattern.rootSvgName=i.SvgPattern.viewSvgName),"line"==t.gradType&&!t.gradOrientation&&(i.SvgPattern.gradOrientation="to top")));const A=`${i.graphicType} root:${"all"==i.viewType||"root"==i.viewType?i.SvgPattern.rootSvgName:"none"} view:${"all"==i.viewType||"view"==i.viewType?i.SvgPattern.viewSvgName:"none"}`;"SvgPattern"==i.graphicType&&(i.cssResult=bs(i,a,i.viewType)),il("Background",A,i.cssResult)},bs=(e,t,l)=>{let a="";const{gradType:i,gradOrientation:A,viewSvgName:o,viewBG:n,viewGrad:s,viewSvgFill:r,viewSvgFillOpacity:d,rootSvgName:u,rootBG:c,rootSvgFill:p,rootSvgFillOpacity:g}=e.SvgPattern;if("all"==l||"root"==l){let t=e.SvgPattern.rootSvgFill.replace("#","%23");a+=`.tui-root-bg{${`background-repeat: repeat; background:url("data:image/svg+xml;utf8,${ca(u).replace(/#color/g,t).replace(/#opacity/g,g)}"),${c};`}}`}if("all"==l||"view"==l){let l=e.SvgPattern.viewSvgFill.replace("#","%23");const r=ca(o).replace(/#color/g,l).replace(/#opacity/g,d);let u="";if(n)u=n.includes("grad")?t[n.replace("grad","")]:n;else{const e={type:i,orientation:A,grad0:s[0],grad1:s[1],grad2:s[2]};u=Vs(e)}a+=`.tui-view-bg{ ${`background-repeat: repeat; background:url("data:image/svg+xml;utf8,${r}"),${u}};`}}`}return a},ca=e=>{switch(e){case"test":return To();case"blocks":return So();case"circuitDiagram":return ko();case"circularOverlayA":return $o();case"circularOverlayB":return Co();case"contourLine":return qo();case"crosshairA":return wo();case"crosshairB":return Vo();case"cubeA":return bo();case"cubeB":return yo();case"cubeC":return mo();case"diamondFlipped":return vo();case"diamondLattice":return ho();case"diamondPixel":return go();case"diamondWeaving":return na();case"dots":return po();case"hexagonA":return fo();case"hexagonB":return co();case"hexagonC":return uo();case"hexagonD":return Ao();case"HexagonCurved":return ro();case"lineGrid":return so();case"lineWeaving":return io();case"mazeA":return oo();case"mazeB":return no();case"mazeC":return ao();case"mazeD":return"data:image/svg+xml;utf8,";case"mountains":return lo();case"rain":return to();case"shellA":return eo();case"shellB":return Jn();case"slashParallel":return Zn();case"rectWeavingA":return Xn();case"rectWeavingB":return Kn();case"rectWeavingC":return Yn();case"totem":return Un();case"triangleA":return Qn();case"triangleB":return Hn();case"waveA":return Fn();case"waveB":return Gn();case"zigZagA":return jn();case"zigZagB":return Wn();default:return console.warn("Warning: svg background name error!",e),na()}},Vs=e=>{const{type:t,orientation:l,grad0:a,grad1:i,grad2:A}=e;let o="";return"line"==t?o="linear-gradient":(e.type="radial")&&(o="radial-gradient"),`${o}( ${l}, ${a}, ${i}, ${A})`},ws=e=>{const t=Ve({nameFull:"blocksA",nameArea:"pointA"});e?.full?.name&&(t.nameFull=e.full.name),e?.area?.name&&(t.nameArea=e.area.name);const l='mask-image:url("data:image/svg+xml;utf8,',a=`${l}${fa(t.nameFull)}");`,i=`${l}${fa(t.nameArea)}");`;il("Spinners",`full:${t.nameFull} area:${t.nameArea}`,`.spinner-full{${a}} .spinner-area{ ${i} }`)},fa=e=>{switch(e){case"barsA":return Ho();case"barsB":return Fo();case"barsC":return Go();case"blocksA":return jo();case"blocksB":return Wo();case"blocksC":return Lo();case"clock":return Eo();case"pointA":return Mo();case"pointB":return Oo();case"pointC":return _o();case"pulseDotA":return Do();case"pulseDotB":return No();case"pulseDotC":return Io();case"pulseRingA":return zo();case"pulseRingB":return Ro();case"pulseRingC":return Po();case"ringA":return oa();case"ringB":return xo();case"ringC":return Bo();default:return console.warn("Warning: svg spinner name error!"),oa()}},pa=["zh-CN","zh-TW","en"],qs=(e,t)=>{const l=e.globalConfig.lang;return pa.includes(l)?l:pa.includes(e.globalState.initLang)?e.globalState.initLang:t.getSysLang()||"zh-CN"},Cs=(e,t,l)=>!ut.isEmpty(t)&&(e.globalConfig.lang=l,e.locale={...t.data},e.globalState.localeReady=!0,!0),$s=(e,t,l=null)=>{const a=Ve({data:{mapData:{code:"",name:""},chartData:{title:"",params:{}}},globalConfig:{platform:"scifi",theme:"lightBlue",themeScheme:"light",t3D:!0,maskBlur:!0,background:"all",menuTrigger:"click",floaterTo:"#tuiAdpt",resizeBy:"self",sound:!0,transition:!0,adaptive:"extension",lang:"",version:Qo()},globalState:{fullScreen:!1,maximize:!1,siderCollapse:!1,clickTarget:null,clickCounter:0,escCounter:0,resizeCounter:0,portletCounter:0,echartsThemeInited:!1,themeInited:!1,localeReady:!1,initLang:l},globalParams:{blurSaturate:"180%",blurRange:5,initDur:1},viewTrans:{curDur:1.2,altDur:1.2,curTarget:"root",altTarget:"root",curName:"vt-overlap",altNames:{theme:"vt-circle-rt",common:"vt-overlap",routerPre:"vt-cube-left",routerNxt:"vt-cube-right",layout:"vt-fade"}},deviceInfo:{type:null,browser:null,resolutionH:null,resolutionV:null,touchable:!1,orientation:null,screenInvert:!1},controlPanel:{visible:!1,modal:!0,width:220,extension:[],options:{}},attentionConfig:{message:{position:"top-center",offset:0,duration:3e3,counter:0},notification:{position:"top-right",offset:0,counter:0},toast:{offsetX:0,offsetY:0,duration:3e3,visible:!1},flash:{spreadRadius:15,blurRadius:30,frequency:1,appearance:"toast",visible:!1,queueLength:0,queueOffset:0,queuePosition:"top"},dispatcher:{visible:!0,debug:!1,offset:40,position:"bottom-right",currentChannel:null,queue:[]}},popoverConfig:{duration:3e3,maxLength:5,appearance:"popTip"},t3dConfig:{inited:!1},adaptiveConfig:{ready:!1,inited:!1,resizeCounter:0,dragTip:!0},backgroundConfig:{graphicType:"SvgPattern",SvgPattern:{}},spinnerConfig:{full:{name:"blocksA",size:100},area:{name:"pointA",size:40}},themePalette:{},locale:{}}),{data:i,globalConfig:A,globalState:o,globalParams:n,viewTrans:s,deviceInfo:r,controlPanel:d,attentionConfig:u,popoverConfig:c,t3dConfig:p,adaptiveConfig:g,backgroundConfig:v,spinnerConfig:f,themePalette:h,locale:y}=Le(a),V=async e=>{const t=e||b();a.globalState.localeReady=!1,el.hasLang(t)||await Wi.ensure(t),el.setCurrent(t);const l=el.load(t);return!!Cs(a,l,t)},b=()=>a.globalConfig.lang||el.getSysLang()||"zh-CN",q=(e,t)=>{if(!e)return"";if("object"==typeof e){return e[{"zh-CN":"cn","zh-TW":"tw",en:"en"}[a.globalConfig.lang]||a.globalConfig.lang]??e.cn??e.tw??e.en??e["zh-CN"]??e["zh-TW"]??Object.values(e)[0]??""}return je.valueByPath(a.locale,e,!0,t)},w={s:(e,t,l,a="store")=>kl.s(e,t,l,Tl,a),g:(e,t,l="store")=>kl.g(e,t,Sl,l),d:(e,t)=>kl.d(e,t)},k=()=>(console.info("$tState:",a),"From TechUI"),x=()=>{"dev"==zl()&&t&&(Jl.enable(),Uo("TechUI",q("info.debug")),window.tuiDebugMonitor=Jl,window.tuiServiceState=k,window.openEnc=Tl,window.openDec=Sl),window.tuiGetEnv=zl};return{$tState:a,state:a,$data:i,$mapData:m((()=>a.data.map)),$chartData:m((()=>a.data.chart)),$globalConfig:A,$gPlatform:m((()=>a.globalConfig.platform)),$gTheme:m((()=>a.globalConfig.theme)),$gThemeScheme:m((()=>a.globalConfig.themeScheme)),$gT3D:m((()=>a.globalConfig.t3D)),$gMaskBlur:m((()=>a.globalConfig.maskBlur)),$gMenuTrigger:m((()=>a.globalConfig.menuTrigger)),$gFloaterTo:m((()=>a.globalConfig.floaterTo)),$gResizeBy:m((()=>a.globalConfig.resizeBy)),$gTransition:m((()=>a.globalConfig.transition)),$gSound:m((()=>a.globalConfig.sound)),$gBackground:m((()=>a.globalConfig.background)),$gAdaptive:m((()=>a.globalConfig.adaptive)),$gVersion:m((()=>a.globalConfig.version)),$gLang:m((()=>a.globalConfig.lang)),$globalState:o,$gMaximize:m((()=>a.globalState.maximize)),$gFullScreen:m((()=>a.globalState.fullScreen)),$gSiderCollapse:m((()=>a.globalState.siderCollapse)),$gClickTarget:m((()=>a.globalState.clickTarget)),$gClickCounter:m((()=>a.globalState.clickCounter)),$gEscCounter:m((()=>a.globalState.escCounter)),$gResizeCounter:m((()=>a.globalState.resizeCounter)),$gPortletCounter:m((()=>a.globalState.portletCounter)),$gEchartsThemeInited:m((()=>a.globalState.echartsThemeInited)),$gThemeInited:m((()=>a.globalState.themeInited)),$gLocaleReady:m((()=>a.globalState.localeReady)),$globalParams:n,$viewTrans:s,$deviceInfo:r,$controlPanel:d,$attentionConfig:u,$aMessage:m((()=>a.attentionConfig.message)),$aNotification:m((()=>a.attentionConfig.notification)),$aToast:m((()=>a.attentionConfig.toast)),$aFlash:m((()=>a.attentionConfig.flash)),$aDispatcher:m((()=>a.attentionConfig.dispatcher)),$popoverConfig:c,$t3dConfig:p,$adaptiveConfig:g,$adptReady:m((()=>a.adaptiveConfig.ready)),$adptInited:m((()=>a.adaptiveConfig.inited)),$aResizeCounter:m((()=>a.adaptiveConfig.resizeCounter)),$backgroundConfig:v,$spinnerConfig:f,$themePalette:h,$locale:y,$optResizeCounter:m((()=>a.adaptiveConfig.inited?a.adaptiveConfig.resizeCounter:a.globalState.resizeCounter)),$optFloaterTo:m((()=>a.adaptiveConfig.inited?a.globalConfig.floaterTo:"#tuiRoot")),$tc:(e,t=!1)=>t?m((()=>je.valueByPath(a.themePalette,e,!1))):je.valueByPath(a.themePalette,e,!1),initBG:(e,t=null)=>{const{themePalette:l,backgroundConfig:i,globalConfig:{background:A}}=a;"none"!=A&&(e&&!ut.isEmpty(e)&&(a.backgroundConfig=ut.dpm(i,e)),ys(l,i,A))},resetBG:()=>{const e=je.el("#styleBackground");e&&e.remove()},initSpinner:e=>{e&&(a.spinnerConfig=ut.dpm(a.spinnerConfig,e)),ws(a.spinnerConfig)},resetAdaptiveConfig:()=>{a.globalState.portletCounter=0,a.globalConfig.adaptive="disabled",a.adaptiveConfig.inited=!1,a.adaptiveConfig.resizeCounter=0,Kt.adpt.reset();const e=je.el("#styleAdaptive");e&&e.remove()},initI18n:async()=>{a.globalConfig.lang=qs(a,el),await V(a.globalConfig.lang),x()},switchLang:V,i18n:q,getSysLang:b,tConsolei18n:(e,t,l,a=!0)=>{if(!e||!t||!l)return void console.warn("tConsolei18n: Missing required parameters");const i=q(e+".label"),A=q(l);On.s(e,t,`${i}:${A}`,a)},controlPanelToggle:()=>{a.controlPanel.visible=!a.controlPanel.visible},maximizeToggle:()=>{a.globalState.maximize=!a.globalState.maximize},toggleSider:()=>{a.globalState.siderCollapse=!a.globalState.siderCollapse},initResizeBy:()=>m((()=>e=>"self"===e||"none"===e?e:"global"===e?a.globalConfig.resizeBy:void 0)),openEnc:Tl,openDec:Sl,cryptoStore:w,audio:ms,initDebug:x}},Qa=Object.assign({name:"TuiTag"},{__name:"index",props:{tuiService:{type:Object,default:null},type:{type:String,default:"default",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},size:{type:String,default:"default",validator:e=>["default","small","large"].includes(e)},tone:{type:String,default:"base",validator:e=>["strong","weak","base"].includes(e)},round:{type:Boolean,default:!1},customColor:{type:[String,Array],default:null,validator:e=>"string"==ze(e)?CSS.supports("color",e):"array"==ze(e)?e.length>0&&e.every((e=>CSS.supports("color",e))):void 0}},setup(e){const t=e,{proxy:l}=Ue(),a=m((()=>l.$tService?.$gThemeScheme?.value||t.tuiService?.$gThemeScheme?.value)),i=m((()=>{const e=t.customColor;if(!e)return;let l=We.genColors(e,7,50);return"dark"==a.value&&(l=l.reverse()),ce("custom",We.genColorObj(l))}));return(t,l)=>(r(),g("span",{class:T(["tui-tag",`tui-type-${e.customColor?"custom":e.type}`,`tui-size-${e.size}`,`tui-tone-${e.tone}`,"tui-shape-"+(e.round?"round":"react")]),style:re(e.customColor?i.value:null)},[K(t.$slots,"default")],6))}}),Xt=Object.assign({name:"TuiTyped"},{__name:"index",props:{appearance:{type:String,default:"background",validator:e=>["background","text","line","accent","none"].includes(e)},type:{type:String,default:"default",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},tone:{type:String,default:"base",validator:e=>["extremeInvert","strongInvert","strong","base","weak"].includes(e)},transparent:{type:Boolean,default:!1},backgroundBlur:{type:Boolean,default:!0},hasShadow:{type:Boolean,default:!0},shadowColor:{type:String,default:"weak",validator:e=>["weakest","weaker","weak","base","strong","stronger","strongest","match"].includes(e)},linePosition:{type:String,default:"top",validator:e=>["top","right","bottom","left"].includes(e)},lineThickness:Number,customColor:{type:[String,Array],default:null,validator:e=>"string"==ze(e)?CSS.supports("color",e):"array"==ze(e)?e.length>0&&e.every((e=>CSS.supports("color",e))):void 0},tuiService:Object},setup(e){const{proxy:{$slots:t,$tService:l}}=Ue(),a=e;let i;i=a.tuiService?a.tuiService.$gThemeScheme:l.$gThemeScheme;const A=m((()=>"background"==a.appearance||"strongInvert"!=a.tone&&"extremeInvert"!=a.tone?a.tone:"strong")),o=m((()=>ce("cpt-typed",{...("line"==a.appearance||"accent"==a.appearance)&&a.lineThickness&&{bdw:a.lineThickness+"px"}}))),n=Ve({colorArr:null,colorObj:null}),d=()=>{if(!n.colorArr)return;const e=("background"==a.appearance||"accent"==a.appearance)&&a.transparent;n.colorObj=We.genColorObj(n.colorArr,e?[.9,.8,.7,.5]:null)};F((()=>[a.appearance,a.transparent,a.customColor]),(()=>{a.customColor&&d()}));const u=m((()=>n.colorObj?ce("custom",n.colorObj):null));return fe((()=>{a.customColor&&(()=>{const e=a.customColor;if(!e)return;let t=We.genColors(e,7,50);"dark"==i.value&&(t=t.reverse()),n.colorArr=t,d()})()})),(t,l)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[s("div",{class:T(["tui-typed",`tui-typed-${e.appearance}`,"none"!=e.appearance&&`tui-type-${e.customColor?"custom":e.type}`,,"none"!=e.appearance&&`tui-tone-${A.value}`,("line"==e.appearance||"accent"==e.appearance)&&`tui-pos-${e.linePosition}`,("background"==e.appearance||"accent"==e.appearance)&&e.hasShadow&&`tui-shadow-${e.shadowColor}`,("background"==e.appearance||"accent"==e.appearance)&&""+(e.transparent?"is-trans":"is-plain"),("background"==e.appearance||"accent"==e.appearance)&&{"is-blur-bg":e.transparent&&e.backgroundBlur}]),style:re([o.value,e.customColor?u.value:null])},[K(t.$slots,"default")],6)])),_:3}))}}),_t=[],ks=["id"],Ss=300,Zt=Object.assign({name:"TuiPopPanel"},{__name:"index",props:{eventTarget:{type:[Object,Element],default:null},trigger:{type:String,default:"click",validator:e=>["contextmenu","click","hover"].includes(e)},disabled:{type:Boolean,default:!1},placement:{type:String,default:"bottom-start"},appendTo:String,offset:{type:Number,default:4},zIndex:{type:Number,default:2e3},panelClassName:{type:String,default:""},panelStyle:{type:[String,Object,Array],default:""},minWidth:{type:[String,Number],default:""},maxWidth:{type:[String,Number],default:""},panelId:{type:String,default:""},showDelay:{type:Number,default:120},hideDelay:{type:Number,default:180},closeOnClickOutside:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},destroyOnHide:{type:Boolean,default:!0},maxInstances:{type:Number,default:1},transitionName:{type:String,default:"fade"},typed:{type:Boolean,default:!1},type:{type:String,default:null,validator:e=>null==e||["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},typedConfig:{type:Object,default:null},showArrow:{type:Boolean,default:!1},arrowSize:{type:Number,default:6},arrowPadding:{type:Number,default:4},tuiService:{type:Object,default:null},dynamicRender:{type:Boolean,default:!1},debug:{type:Boolean,default:!1}},emits:["show","shown","hide","hidden"],setup(e,{expose:t,emit:l}){const{proxy:a}=Ue(),{$tService:i}=a,A=e,o=l,n=Ce("popPanel"),u=k(null),c=k(null),p=k(null),v=k(null),f=k(!1),h=k(!1),y=k(!1),V=k(!1),b=k(!1),w=k(0),x=k({}),C=k(!1),S=`${n}_show`,B=`${n}_hide`,$=`${n}_init`;let z=null,R=null,N=null,O=null;const M=me("TuiPopPanelContext",null),I=new Map,P=k(!1),D=m((()=>A.dynamicRender?A.tuiService:i)),G=m((()=>D.value?.$globalState?.value||null)),E=m((()=>D.value?.$optFloaterTo?.value||null)),W=m((()=>A.appendTo||E.value||"#tuiRoot")),j=m((()=>A.typed)),L=m((()=>{const e=A.typedConfig||{};return{tuiService:D.value,appearance:e.appearance||"background",...e,type:A.type??e.type??"default"}})),H=m((()=>A.showArrow?A.offset+A.arrowSize+2:A.offset)),Q=m((()=>`-${Math.max(2*A.arrowSize,8)}px`)),U=e=>""===e||null==e?null:"number"==typeof e?`${e}px`:e,X=m((()=>ce("cpt-popPanel",{zIndex:A.zIndex,...A.showArrow&&{arrowSize:`${A.arrowSize}px`},...""!==A.minWidth&&null!=A.minWidth&&{minWidth:U(A.minWidth)},...""!==A.maxWidth&&null!=A.maxWidth&&{maxWidth:U(A.maxWidth)}}))),Z=m((()=>{const e=(te.value||A.placement||"bottom-start").split("-")[0];return"top"===e?"bottom center":"bottom"===e?"top center":"left"===e?"center right":"right"===e?"center left":"top center"})),ee=m((()=>v.value)),{placement:te,middlewareData:le,x:ae,y:ie,update:Ae}=Ml(ee,c,{placement:A.placement,strategy:"fixed",middleware:[El((()=>H.value)),Ll({padding:5,boundary:"viewport"}),Wl({fallbackPlacements:["top-start","bottom-start","left-start","right-start"]}),ji({element:p,padding:A.arrowPadding})]});F([()=>le.value,()=>ae.value,()=>ie.value,()=>te.value,()=>A.showArrow,()=>A.arrowSize],(([e,t,l,a])=>{if(null==t||null==l||(x.value={position:"fixed",left:`${t}px`,top:`${l}px`},!A.showArrow||!e?.arrow||!p.value))return;const{x:i,y:o}=e.arrow,n={top:"bottom",right:"left",bottom:"top",left:"right"}[a.split("-")[0]];p.value.style.left="",p.value.style.top="",p.value.style.right="",p.value.style.bottom="",null!=i&&(p.value.style.left=`${i}px`),null!=o&&(p.value.style.top=`${o}px`),p.value.style[n]=Q.value,p.value.setAttribute("data-placement",a)}));const de=()=>{const e=_t.findIndex((e=>e.uid===n));-1!==e&&_t.splice(e,1)},ue=e=>_t.find((t=>t.uid===e))||null,pe=()=>{P.value&&(M?.releaseHover?.(),P.value=!1)},ge=()=>{const e=(()=>{const e=new Set([n]);let t=M?.uid||null;for(;t;)e.add(t),t=ue(t)?.parentUid||null;return e})(),t=_t.filter((t=>t.uid!==n&&!e.has(t.uid)));if(1===A.maxInstances)return void t.forEach((e=>e.hide(0)));const l=_t.length-A.maxInstances+1;l>0&&t.slice(0,l).forEach((e=>e.hide(0)))},ve=()=>{C.value=!1,se.c(S),se.c(B)},ye=()=>{N&&(window.clearTimeout(N),N=null),h.value=!1,y.value=!1,b.value=!1,A.destroyOnHide&&(f.value=!1),de(),pe(),R?.(),R=null,z=null,o("hidden")},Ve=()=>A.debug&&"hover"===A.trigger,be=(e=A.hideDelay,t=!1)=>{const l=C.value;return ve(),h.value||f.value||!l?(se.s(B,(()=>{!h.value&&!f.value||y.value||!t&&"hover"===A.trigger&&(V.value||b.value||w.value>0)||(Array.from(I.values()).forEach((e=>e?.())),o("hide"),y.value=!0,h.value=!1,z=new Promise((e=>{R=e,N=window.setTimeout(ye,Ss)})))}),e),z):(pe(),de(),o("hidden"),Promise.resolve())},qe=(e=A.showDelay,t=null)=>{ve(),C.value=!0,se.s(S,(async()=>{C.value=!1,!(A.disabled||y.value||h.value)&&v.value&&("contextmenu"===t?.type&&"contextmenu"===A.trigger&&(t.preventDefault(),t.stopPropagation()),ge(),o("show"),f.value=!0,await oe(),await oe(),!y.value&&(_t.some((e=>e.uid===n))||_t.push({uid:n,parentUid:M?.uid||null,hide:()=>be(0,!0)}),h.value=!0,await oe(),Ae(),o("shown")))}),e)},we=e=>{if("mouseenter"===e?.type)!M||"hover"!==M.getTrigger?.()||P.value||(M.holdHover?.(),P.value=!0),V.value=!0,qe(A.showDelay,e);else if("mouseleave"===e?.type){if(V.value=!1,Ve())return;be(A.hideDelay)}},ke=e=>{"hover"===A.trigger?we(e):(e=>{A.disabled||("contextmenu"===e?.type&&"contextmenu"===A.trigger&&(e.preventDefault(),e.stopPropagation()),h.value||f.value?be(0):qe(0,e))})(e)},Se=()=>{O&&("hover"===A.trigger?(xe.remove(O,"mouseenter",n),xe.remove(O,"mouseleave",n)):xe.remove(O,A.trigger,n))},$e=()=>{v.value&&(O=v.value,"hover"===A.trigger?(xe.add(O,"mouseenter",ke,n),xe.add(O,"mouseleave",ke,n)):xe.add(O,A.trigger,ke,n))},ze=()=>{if(A.eventTarget)return v.value=A.eventTarget,void $e();const e=u.value?.firstElementChild;e?(v.value=e,$e(),(()=>{const e=u.value;e&&(Array.from(e.childNodes).forEach((t=>{e.parentNode.insertBefore(t,e)})),e.parentNode.removeChild(e))})()):se.s($,ze,100)},Re=()=>{b.value=!0,se.c(B)},Ne=()=>{if(b.value=!1,"hover"===A.trigger){if(Ve())return;be(A.hideDelay)}},Oe=()=>{w.value+=1,se.c(B)},_e=()=>{if(w.value=Math.max(0,w.value-1),"hover"===A.trigger&&!V.value&&!b.value&&0===w.value){if(Ve())return;be(A.hideDelay)}};return Ke("TuiPopPanelContext",{uid:n,getTrigger:()=>A.trigger,holdHover:Oe,releaseHover:_e,registerChildCloser:(e,t)=>{!e||"function"!=typeof t||I.set(e,t)},unregisterChildCloser:e=>{I.delete(e)}}),F((()=>A.eventTarget),(e=>{e&&e!==v.value&&(Se(),v.value=e,$e())})),F((()=>A.trigger),(()=>{Se(),$e()})),F(h,(e=>{e&&!y.value&&Ae()})),F((()=>G.value?.clickCounter),(()=>{if(!A.closeOnClickOutside||!h.value)return;const e=G.value?.clickTarget;e&&c.value?.contains(e)||e&&v.value?.contains?.(e)||be(0)})),F((()=>G.value?.escCounter),(()=>{!A.closeOnEsc||!h.value||be(0)})),fe((()=>{M?.registerChildCloser?.(n,(()=>be(0,!0))),ze()})),tt((()=>{pe(),M?.unregisterChildCloser?.(n),de(),Se(),ve(),se.c($),N&&(window.clearTimeout(N),N=null),R?.(),R=null,z=null})),t({show:(e=A.showDelay)=>qe(e),hide:()=>be(0,!0),toggle:ke,update:Ae,holdHover:Oe,releaseHover:_e,getVisible:()=>h.value}),(t,l)=>(r(),g(J,null,[e.eventTarget?q("",!0):(r(),g("div",{key:0,class:"tui-pop-panel-trigger-wrap",ref_key:"triggerWrapRef",ref:u},[K(t.$slots,"trigger")],512)),f.value?(r(),Y(mt,{to:W.value,key:d(n),fallback:"#tuiRoot"},[ne(Be,{name:e.transitionName},{default:_((()=>[he(s("div",{ref_key:"panelRef",ref:c,id:e.panelId||`tui-pop-panel-${d(n)}`,class:T(["tui-pop-panel",e.panelClassName,{"is-typed":j.value,"is-hideArrow":!e.showArrow}]),style:re([X.value,e.panelStyle,x.value,{transformOrigin:Z.value}]),onMouseenter:Re,onMouseleave:Ne,onClick:l[0]||(l[0]=Xe((()=>{}),["stop"]))},[j.value?(r(),Y(Xt,Pe({key:0},L.value,{class:"tui-pop-panel-typed"}),{default:_((()=>[e.showArrow?(r(),g("div",{key:0,ref_key:"arrowRef",ref:p,class:"tui-pop-panel-arrow"},null,512)):q("",!0),K(t.$slots,"default",{hide:()=>be(0,!0),show:()=>qe(0),toggle:ke,update:d(Ae),visible:h.value,holdHover:Oe,releaseHover:_e})])),_:3},16)):(r(),g(J,{key:1},[e.showArrow?(r(),g("div",{key:0,ref_key:"arrowRef",ref:p,class:"tui-pop-panel-arrow"},null,512)):q("",!0),K(t.$slots,"default",{hide:()=>be(0,!0),show:()=>qe(0),toggle:ke,update:d(Ae),visible:h.value,holdHover:Oe,releaseHover:_e})],64))],46,ks),[[Te,h.value]])])),_:3},8,["name"])],8,["to"])):q("",!0)],64))}}),Ts={class:"tui-mult-poppanel-item__label"},Bs=["onClick"],xs={class:"tui-mult-poppanel-item__label"},Ps={key:2,class:"tui-mult-poppanel-empty"},Rs=Object.assign({name:"TuiMultPopPanelBranch"},{__name:"mult-branch",props:{items:{type:Array,default:()=>[]},level:{type:Number,default:1},fieldNames:{type:Object,default:()=>({id:"id",label:"label",children:"children",disabled:"disabled",placement:"placement",trigger:"trigger"})},panelProps:{type:Object,default:()=>({})},submenuTrigger:{type:String,default:"click"},submenuPlacement:{type:String,default:"right-start"},closeOnLeafClick:{type:Boolean,default:!0},rootHide:{type:Function,default:null},currentHide:{type:Function,default:null},parentPath:{type:Array,default:()=>[]}},emits:["select"],setup(e,{emit:t}){const l=e,a=t,i=dt(),A=m((()=>l.fieldNames.id||"id")),o=m((()=>l.fieldNames.label||"label")),n=m((()=>l.fieldNames.children||"children")),u=m((()=>l.fieldNames.disabled||"disabled")),c=m((()=>l.fieldNames.placement||"placement")),p=m((()=>l.fieldNames.trigger||"trigger")),v=(e,t,l=null)=>e&&t in e?e[t]:l,f=(e,t)=>String(v(e,A.value,t)),h=e=>v(e,o.value,""),y=e=>{const t=v(e,n.value,[]);return Array.isArray(t)?t:[]},V=e=>!!v(e,u.value,!1),b=e=>y(e).length>0,w=e=>v(e,p.value,"")||l.submenuTrigger,k=e=>v(e,c.value,"")||l.submenuPlacement,x=()=>{l.rootHide?.()},C=()=>{l.currentHide?.()},S=(e,t)=>[...l.parentPath,f(e,t)];return(t,A)=>{const o=be("TuiMultPopPanelBranch");return r(),g("div",{class:T(["tui-mult-poppanel",[`is-level-${e.level}`]])},[d(i).panelTop?K(t.$slots,"panelTop",{key:0,items:e.items,level:e.level,closeAll:x,closeCurrent:C}):q("",!0),e.items.length?(r(!0),g(J,{key:1},ke(e.items,((n,u)=>(r(),g(J,{key:f(n,u)},[b(n)?(r(),Y(Zt,Pe({key:0,ref_for:!0},e.panelProps,{disabled:V(n),trigger:w(n),placement:k(n)}),{trigger:_((()=>[s("div",{class:T(["tui-mult-poppanel-item has-children",{"is-disabled":V(n)}])},[K(t.$slots,"item",{item:n,level:e.level,path:S(n,u),hasChildren:!0,disabled:V(n),closeAll:x,closeCurrent:C},(()=>[s("span",Ts,G(h(n)),1),A[1]||(A[1]=s("i",{class:"tui-icon ti-arrow-right tui-mult-poppanel-item__arrow"},null,-1))]))],2)])),default:_((({hide:l})=>[ne(o,{items:y(n),level:e.level+1,"field-names":e.fieldNames,"panel-props":e.panelProps,"submenu-trigger":e.submenuTrigger,"submenu-placement":e.submenuPlacement,"close-on-leaf-click":e.closeOnLeafClick,"root-hide":e.rootHide,"current-hide":l,"parent-path":S(n,u),onSelect:A[0]||(A[0]=e=>a("select",e))},Nt({_:2},[d(i).panelTop?{name:"panelTop",fn:_((e=>[K(t.$slots,"panelTop",Pe({ref_for:!0},e))])),key:"0"}:void 0,d(i).item?{name:"item",fn:_((e=>[K(t.$slots,"item",Pe({ref_for:!0},e))])),key:"1"}:void 0,d(i).empty?{name:"empty",fn:_((()=>[K(t.$slots,"empty")])),key:"2"}:void 0]),1032,["items","level","field-names","panel-props","submenu-trigger","submenu-placement","close-on-leaf-click","root-hide","current-hide","parent-path"])])),_:2},1040,["disabled","trigger","placement"])):(r(),g("div",{key:1,class:T(["tui-mult-poppanel-item",{"is-disabled":V(n)}]),onClick:Xe((e=>((e,t)=>{V(e)||(a("select",{item:e,level:l.level,path:S(e,t),closeAll:x,closeCurrent:C}),l.closeOnLeafClick&&l.rootHide?.())})(n,u)),["stop"])},[K(t.$slots,"item",{item:n,level:e.level,path:S(n,u),hasChildren:!1,disabled:V(n),closeAll:x,closeCurrent:C},(()=>[s("span",xs,G(h(n)),1)]))],10,Bs))],64)))),128)):(r(),g("div",Ps,[K(t.$slots,"empty",{},(()=>[A[2]||(A[2]=Re("No data",-1))]))]))],2)}}}),Ua=Object.assign({name:"TuiMultPopPanel"},{__name:"mult",props:{items:{type:Array,default:()=>[]},eventTarget:{type:[Object,Element],default:null},trigger:{type:String,default:"click",validator:e=>["contextmenu","click","hover"].includes(e)},submenuTrigger:{type:String,default:"",validator:e=>["","click","hover"].includes(e)},placement:{type:String,default:"bottom-start"},submenuPlacement:{type:String,default:"right-start"},disabled:{type:Boolean,default:!1},appendTo:String,offset:{type:Number,default:4},zIndex:{type:Number,default:2e3},panelClassName:{type:String,default:""},panelStyle:{type:[String,Object,Array],default:""},minWidth:{type:[String,Number],default:""},maxWidth:{type:[String,Number],default:""},panelId:{type:String,default:""},showDelay:{type:Number,default:120},hideDelay:{type:Number,default:180},closeOnClickOutside:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},destroyOnHide:{type:Boolean,default:!0},maxInstances:{type:Number,default:1},transitionName:{type:String,default:"fade"},typed:{type:Boolean,default:!1},type:{type:String,default:null},typedConfig:{type:Object,default:null},showArrow:{type:Boolean,default:!1},arrowSize:{type:Number,default:6},arrowPadding:{type:Number,default:4},tuiService:{type:Object,default:null},dynamicRender:{type:Boolean,default:!1},closeOnLeafClick:{type:Boolean,default:!0},fieldNames:{type:Object,default:()=>({id:"id",label:"label",children:"children",disabled:"disabled",placement:"placement",trigger:"trigger"})}},emits:["show","shown","hide","hidden","select"],setup(e,{expose:t,emit:l}){const a=e,i=l,A=k(null),o=dt(),n=m((()=>a.submenuTrigger?a.submenuTrigger:"hover"===a.trigger?"hover":"click")),s=m((()=>({disabled:a.disabled,appendTo:a.appendTo,offset:a.offset,zIndex:a.zIndex,panelClassName:a.panelClassName,panelStyle:a.panelStyle,minWidth:a.minWidth,maxWidth:a.maxWidth,showDelay:a.showDelay,hideDelay:a.hideDelay,closeOnClickOutside:a.closeOnClickOutside,closeOnEsc:a.closeOnEsc,destroyOnHide:a.destroyOnHide,maxInstances:a.maxInstances,transitionName:a.transitionName,typed:a.typed,type:a.type,typedConfig:a.typedConfig,showArrow:a.showArrow,arrowSize:a.arrowSize,arrowPadding:a.arrowPadding,tuiService:a.tuiService,dynamicRender:a.dynamicRender})));return t({show:(...e)=>A.value?.show?.(...e),hide:(...e)=>A.value?.hide?.(...e),toggle:(...e)=>A.value?.toggle?.(...e),update:(...e)=>A.value?.update?.(...e),getVisible:()=>A.value?.getVisible?.()}),(t,l)=>(r(),Y(Zt,Pe({ref_key:"rootPanelRef",ref:A},s.value,{"event-target":e.eventTarget,trigger:e.trigger,placement:e.placement,"panel-id":e.panelId,onShow:l[1]||(l[1]=e=>i("show")),onShown:l[2]||(l[2]=e=>i("shown")),onHide:l[3]||(l[3]=e=>i("hide")),onHidden:l[4]||(l[4]=e=>i("hidden"))}),{trigger:_((()=>[K(t.$slots,"trigger")])),default:_((({hide:a})=>[ne(Rs,{items:e.items,level:1,"field-names":e.fieldNames,"panel-props":s.value,"submenu-trigger":n.value,"submenu-placement":e.submenuPlacement,"close-on-leaf-click":e.closeOnLeafClick,"root-hide":a,"current-hide":a,onSelect:l[0]||(l[0]=e=>i("select",e))},Nt({_:2},[d(o).panelTop?{name:"panelTop",fn:_((e=>[K(t.$slots,"panelTop",st(ht(e)))])),key:"0"}:void 0,d(o).item?{name:"item",fn:_((e=>[K(t.$slots,"item",st(ht(e)))])),key:"1"}:void 0,d(o).empty?{name:"empty",fn:_((()=>[K(t.$slots,"empty")])),key:"2"}:void 0]),1032,["items","field-names","panel-props","submenu-trigger","submenu-placement","close-on-leaf-click","root-hide","current-hide"])])),_:3},16,["event-target","trigger","placement","panel-id"]))}}),zs={eventTarget:{type:[Object,Element],default:null},menus:{type:Array,default:()=>[]},className:{type:String,default:""},uid:String,offset:{type:Number,default:8},zIndex:{type:Number,default:2e3},minWidth:{type:[String,Number],default:160},maxWidth:{type:[String,Number],default:200},submenuTrigger:{type:String,default:"",validator:e=>["","click","hover"].includes(e)},submenuPlacement:{type:String,default:"right-start"},closeOnLeafClick:{type:Boolean,default:!0},menuClick:{type:Function,default:null},closeDropPanel:{type:Function,default:null},popPanelConfig:{type:Object,default:()=>({})},dropPanelConfig:{type:Object,default:()=>({})},tuiService:{type:Object,default:null},dynamicRender:{type:Boolean,default:!1},tagConfig:Object},Is=["title"],Ns={class:"tui-mi-label"},Ds={key:1,class:"tui-mi-desc"},_s={key:3,class:"tui-icon ti-arrow-right tui-mi-arrow"},Ya=Object.assign({name:"TuiMenu",inheritAttrs:!1},{__name:"index",props:{trigger:{type:String,default:"contextmenu",validator:e=>["contextmenu","click","hover"].includes(e)},disabled:{type:Boolean,default:!1},placement:String,appendTo:String,...zs},emits:["menuClick"],setup(e,{expose:t,emit:l}){const a=e,i=l,A=k(null),o=e=>""===e||null==e?null:"number"==typeof e?`${e}px`:e,n=m((()=>({id:"value",label:"label",children:"children",disabled:"disabled",placement:"placement",trigger:"trigger"}))),d=m((()=>{const e=a.popPanelConfig||a.dropPanelConfig||{};return["tui-menu-panel",a.className,e.panelClassName].filter(Boolean).join(" ")})),u=m((()=>{const e=a.popPanelConfig||a.dropPanelConfig||{};return[{"--tui-menu-z-index":a.zIndex,"--tui-menu-min-width":o(a.minWidth)||"160px","--tui-menu-max-width":o(a.maxWidth)||"200px"},e.panelStyle]})),c=m((()=>{const e=a.popPanelConfig||a.dropPanelConfig||{},{panelClassName:t,panelStyle:l,...i}=e;return{items:a.menus,eventTarget:a.eventTarget,trigger:a.trigger,submenuTrigger:a.submenuTrigger,placement:a.placement||"bottom-start",submenuPlacement:a.submenuPlacement,appendTo:a.appendTo,offset:a.offset,zIndex:a.zIndex,panelClassName:d.value,panelStyle:u.value,minWidth:a.minWidth,maxWidth:a.maxWidth,closeOnLeafClick:a.closeOnLeafClick,tuiService:a.tuiService,dynamicRender:a.dynamicRender,...i}})),p=e=>{const{item:t}=e;t?.disabled||(i("menuClick",{item:t,index:e.path?.[e.path.length-1]??null,path:e.path||[],level:e.level,closeAll:e.closeAll,closeCurrent:e.closeCurrent,event:null,target:a.eventTarget}),a.menuClick?.({item:t,index:e.path?.[e.path.length-1]??null,path:e.path||[],level:e.level,closeAll:e.closeAll,closeCurrent:e.closeCurrent,event:null,target:a.eventTarget}))};return t({toggle:e=>A.value?.toggle?.(e),show:(...e)=>A.value?.show?.(...e),hide:(...e)=>A.value?.hide?.(...e),update:(...e)=>A.value?.update?.(...e)}),(e,t)=>(r(),Y(Ua,Pe({ref_key:"menuRef",ref:A},c.value,{"field-names":n.value,onSelect:p}),Nt({item:_((({item:e,hasChildren:t,disabled:l})=>[s("div",{title:e.title,class:T(["menu-item",{"is-disabled":l,"has-divider":e.divider}])},[e.icon?(r(),g("i",{key:0,class:T(`tui-mi-icon ${e.icon}`)},null,2)):q("",!0),s("span",Ns,G(e.label),1),e.description?(r(),g("span",Ds,G(e.description),1)):q("",!0),e.tagContent?(r(),Y(Qa,st(Pe({key:2},{type:e.tagType||"primary",...a.tagConfig})),{default:_((()=>[Re(G(e.tagContent),1)])),_:2},1040)):q("",!0),t?(r(),g("i",_s)):q("",!0)],10,Is)])),_:2},[e.eventTarget?void 0:{name:"trigger",fn:_((()=>[K(e.$slots,"default")])),key:"0"}]),1040,["field-names"]))}}),Os={mounted(e,t,l){if(!t||!t.value)return;const a=document.createElement("div");a.className="tui-menu-directive-host";const i=l?.appContext||l?.ctx?.appContext||null,A=l?.ctx?.appContext?.app||l?.appContext?.app||null,{$tService:o}=A?.config?.globalProperties||{},n=t=>{const l=qt(Ya,{...t||{},eventTarget:e,tuiService:o,dynamicRender:!0,onMenuClick:t?.menuClick});l.appContext=i,at(l,a)};n(t.value),e.__tuiMenuContainer=a,e.__tuiMenuMount=n},updated(e,t){!t||!t.value||!e.__tuiMenuMount||e.__tuiMenuMount(t.value)},unmounted(e){e.__tuiMenuContainer&&at(null,e.__tuiMenuContainer),delete e.__tuiMenuContainer,delete e.__tuiMenuMount}},Gl=["top-start","top-end","bottom-start","bottom-end"],Ka=["default","invert","primary","success","warning","danger","info","emphasis"],Ms=(e,t)=>{const l=e.typedConfig||{};return{tuiService:t,appearance:l.appearance||"background",transparent:l.transparent??!0,backgroundBlur:l.backgroundBlur??!0,hasShadow:l.hasShadow??!1,shadowColor:l.shadowColor??"weak",...l,type:e.type??l.type??"invert"}},Es=(e,t)=>l=>{let a=1,i=1;if(e.appendTo?.includes("tuiAdpt")){const e=t.adpt?.info||{};a=e.scaleX||1,i=e.scaleY||1}const A=(()=>{switch(l){case"top-start":case"top-end":return{mainAxis:0,crossAxis:0};case"bottom-start":case"bottom-end":return{mainAxis:20/a,crossAxis:10/i};default:return{mainAxis:0,crossAxis:0}}})();return e.fixOffset?A:Array.isArray(e.offset)?{mainAxis:e.offset[0]??0,crossAxis:e.offset[1]??0}:"number"==typeof e.offset?{mainAxis:e.offset,crossAxis:0}:{mainAxis:0,crossAxis:0}},Ls=(e="bottom-start")=>"top"===e.split("-")[0]?"bottom center":"top center",Ws=(e="bottom-start")=>`follow-${e}`,js={eventTarget:{type:[Object,Element],default:null},bindTriggerEvents:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},placement:{type:String,default:"bottom-start",validator:e=>Gl.includes(e)},appendTo:String,offset:{type:[Number,Array],default:null},fixOffset:{type:Boolean,default:!0},zIndex:{type:Number,default:2e3},panelClassName:{type:String,default:""},panelStyle:{type:[String,Object,Array],default:""},panelId:{type:String,default:""},showDelay:{type:Number,default:120},hideDelay:{type:Number,default:120},closeOnEsc:{type:Boolean,default:!0},debug:{type:Boolean,default:!1},transitionName:{type:String,default:"fade"},typed:{type:Boolean,default:!0},type:{type:String,default:null,validator:e=>null==e||Ka.includes(e)},typedConfig:{type:Object,default:null},caretSize:{type:Number,default:5},caretOffset:{type:Number,default:2},tuiService:{type:Object,default:null},dynamicRender:{type:Boolean,default:!1}},Gs=["id"],Fs=300,Xa=Object.assign({name:"TuiFollowPanel"},{__name:"index",props:{...js},emits:["show","shown","hide","hidden"],setup(e,{expose:t,emit:l}){const{proxy:a}=Ue(),{$tService:i}=a,A=e,o=l,n=Ce("followPanel"),u=k(null),c=k(null),p=k(null),v=k(!1),f=k(!1),h=Ve({x:0,y:0}),y=`${n}_show`,V=`${n}_hide`,b=`${n}_init`;let w=null;const x=m((()=>A.dynamicRender?A.tuiService:i)),C=m((()=>x.value?.$globalState?.value||null)),S=m((()=>x.value?.$optFloaterTo?.value||null)),B=m((()=>A.appendTo||S.value||"#tuiRoot")),$=m((()=>A.typed)),z=m((()=>Ms(A,x.value))),R=Es(A,Kt),N=m((()=>ce("cpt-followPanel",{zIndex:A.zIndex,...A.caretSize&&{caretSize:`${A.caretSize}px`},...Qe.isNEG0(A.caretOffset)&&{caretOffset:`${A.caretOffset}px`}}))),O=m((()=>({getBoundingClientRect:()=>({width:0,height:0,x:h.x,y:h.y,top:h.y,left:h.x,right:h.x,bottom:h.y})}))),{placement:M,floatingStyles:I,update:P}=Ml(O,c,{placement:A.placement,strategy:"fixed",middleware:[El((({placement:e})=>R(e))),Ll({padding:8,boundary:"viewport"}),Wl({fallbackPlacements:Gl})]}),D=m((()=>Ls(M.value||A.placement))),G=m((()=>Ws(M.value||A.placement)));F(f,(async e=>{e&&(await oe(),P(),requestAnimationFrame((()=>{P(),o("shown")})))}));const E=()=>{v.value=!1,o("hidden")},W=(e,t=null)=>{if(!A.disabled){if("number"==typeof e)h.x=e,h.y=t??0;else{if(null==e?.clientX||null==e?.clientY)return;h.x=e.clientX,h.y=e.clientY}P()}},j=(e=null)=>{A.disabled||(se.c(V),e&&W(e),v.value||(v.value=!0),o("show"),se.s(y,(()=>{f.value=!0}),A.showDelay))},L=(e=!1)=>{const t="boolean"==typeof e&&e;A.debug&&!t||(se.c(y),(f.value||v.value)&&(o("hide"),f.value=!1,se.s(V,E,Math.max(A.hideDelay,Fs))))},H=()=>{!A.bindTriggerEvents||!w||(xe.remove(w,"mouseenter",j,n),xe.remove(w,"mousemove",W,n),xe.remove(w,"mouseleave",L,n))},Q=()=>{!A.bindTriggerEvents||!p.value||(w=p.value,xe.add(w,"mouseenter",j,n),xe.add(w,"mousemove",W,n),xe.add(w,"mouseleave",L,n))},U=()=>{if(A.eventTarget)return p.value=A.eventTarget,void Q();const e=u.value?.firstElementChild;e?(p.value=e,Q(),(()=>{const e=u.value;e?.parentNode&&(Array.from(e.childNodes).forEach((t=>{e.parentNode.insertBefore(t,e)})),e.parentNode.removeChild(e))})()):se.s(b,U,100)};return F((()=>A.eventTarget),(e=>{e&&e!==p.value&&(H(),p.value=e,Q())})),F((()=>C.value?.escCounter),(()=>{!A.closeOnEsc||!f.value||L(!0)})),fe((()=>{U()})),tt((()=>{f.value=!1,v.value=!1,H(),A.debug||(se.c(y),se.c(V)),se.c(b)})),t({show:j,hide:L,update:P,updatePos:W,getVisible:()=>f.value}),(e,t)=>(r(),g(J,null,[e.eventTarget?q("",!0):(r(),g("div",{key:0,class:"tui-follow-panel-trigger-wrap",ref_key:"triggerWrapRef",ref:u},[K(e.$slots,"trigger")],512)),v.value?(r(),Y(mt,{to:B.value,key:d(n),fallback:"#tuiRoot"},[ne(Be,{name:e.transitionName},{default:_((()=>[he(s("div",{ref_key:"panelRef",ref:c,id:e.panelId||`tui-follow-panel-${d(n)}`,class:T(["tui-follow-panel",G.value,e.panelClassName,{"is-typed":$.value,"debug-on":A.debug}]),style:re([N.value,e.panelStyle,d(I),{transformOrigin:D.value}])},[$.value?(r(),Y(Xt,Pe({key:0},z.value,{class:"tui-follow-panel-typed"}),{default:_((()=>[t[0]||(t[0]=s("div",{class:"follow-caret"},null,-1)),K(e.$slots,"default",{hide:L,show:j,update:d(P),updatePos:W,visible:f.value})])),_:3},16)):(r(),g(J,{key:1},[t[1]||(t[1]=s("div",{class:"follow-caret"},null,-1)),K(e.$slots,"default",{hide:L,show:j,update:d(P),updatePos:W,visible:f.value})],64))],14,Gs),[[Te,f.value]])])),_:3},8,["name"])],8,["to"])):q("",!0)],64))}}),Hs={id:String,className:String,title:String,content:{type:String,required:!0},component:Object,tuiService:Object,appendTo:String,destroy:Function,eventTarget:[HTMLElement,SVGPathElement,SVGEllipseElement,SVGPolygonElement],followPanelConfig:Object,zIndex:Number,maxWidth:Number,frequency:Number,placement:{type:String,default:"bottom-start",validator:e=>Gl.includes(e)},type:{type:String,default:"invert",validator:e=>Ka.includes(e)},delay:{type:Number,default:500},offset:{type:Array,validator:e=>!(!Array.isArray(e)||2!==e.length)&&e.every((e=>"number"==typeof e))},transparent:{type:Boolean,default:!0},backgroundBlur:{type:Boolean,default:!0},tone:{type:String,default:"base",validator:e=>["extremeInvert","strongInvert","strong","base","weak"].includes(e)},hasShadow:{type:Boolean,default:!1},shadowColor:{type:String,default:"weak",validator:e=>["weakest","weaker","weak","base","strong","stronger","strongest","match"].includes(e)},disabled:{type:Boolean,default:!1},caretSize:{type:Number,default:5},caretOffset:{type:Number,default:2},typedConfig:Object},Qs=e=>{const t=e.typedConfig||{};return{...t,tuiService:e.tuiService||t.tuiService,appearance:t.appearance||"background",type:e.type??t.type??"invert",tone:e.tone??t.tone??"base",transparent:e.transparent??t.transparent??!0,backgroundBlur:e.backgroundBlur??t.backgroundBlur??!0,hasShadow:e.hasShadow??t.hasShadow??!1,shadowColor:e.shadowColor??t.shadowColor??"weak"}},Us=e=>ce("cpt-curtip",{...e.maxWidth&&{maxWidth:`${e.maxWidth}px`},...e.zIndex&&{zIndex:`${e.zIndex}`},...e.caretSize&&{caretSize:`${e.caretSize}px`},...Qe.isNEG0(e.caretOffset)&&{caretOffset:`${e.caretOffset}px`}}),Ys=(e,t)=>{const l=[t];return e.maxWidth&&l.push({maxWidth:`${e.maxWidth}px`}),{...e.followPanelConfig||{},eventTarget:e.eventTarget,bindTriggerEvents:e.bindTriggerEvents,disabled:e.disabled,placement:e.placement,appendTo:e.appendTo,offset:e.offset,fixOffset:!e.offset,zIndex:e.zIndex,panelClassName:["tui-cursor-tip-panel",e.className].filter(Boolean).join(" "),panelStyle:l,panelId:e.id?`curtip-${e.id}`:"",showDelay:e.bindTriggerEvents?e.delay:0,hideDelay:0,closeOnEsc:!0,typed:!0,type:e.type,typedConfig:Qs(e),caretSize:e.caretSize,caretOffset:e.caretOffset,tuiService:e.tuiService,dynamicRender:e.dynamicRender}},Ks={key:0,class:"tip-title"},Xs={class:"tip-content"},Za=Object.assign({name:"TuiCursorTip"},{__name:"cursorTip",props:{...Hs,dynamicRender:{type:Boolean,default:!1},bindTriggerEvents:{type:Boolean,default:!0}},setup(e,{expose:t}){const l=e,a=k(null),i=m((()=>Us(l))),A=m((()=>Ys(l,i.value))),o=()=>{l.destroy&&l.destroy()};return t({hide:(e=!1)=>{a.value?.hide(e)},show:e=>{a.value?.show(e)},update:()=>{a.value?.update()},updatePos:(e,t)=>{a.value?.updatePos(e,t)}}),(e,t)=>(r(),Y(Xa,Pe({ref_key:"followRef",ref:a},A.value,{onHidden:o}),{trigger:_((()=>[K(e.$slots,"default")])),default:_((()=>[K(e.$slots,"content",{},(()=>[e.component?(r(),Y(it(e.component),{key:0})):(r(),g(J,{key:1},[e.title?(r(),g("div",Ks,G(e.title),1)):q("",!0),s("div",Xs,G(e.content),1)],64))]))])),_:3},16))}}),ga=e=>{e.mouseEvent=!0,xe.add(e,"mouseenter",e.show,e.id),xe.add(e,"mouseleave",e.hide,e.id),xe.add(e,"mousemove",e.update,e.id)},ha=e=>{xe.remove(e,"mouseenter",e.id),xe.remove(e,"mouseleave",e.id),xe.remove(e,"mousemove",e.id)},Zs={mounted(e,t,l){if(!t)return;const{delay:a=500,disabled:i=!1}=t.value||{},A=l.ctx.appContext.app,{$tService:o}=A.config.globalProperties,{$optFloaterTo:n}=o;e.appendTo=t.value.appendTo||n.value,e.disabled=i,e.instance=null,e.id=Ce("curtipDir");let s=null,r=null;const d=()=>{e.instance&&(at(null,s),s&&r?.contains(s)&&r.removeChild(s),s=null,r=null,e.instance=null)};e.destroy=d;e.show=l=>{e.disabled||(null!=l?.clientX&&null!=l?.clientY&&(e.pointer={x:l.clientX,y:l.clientY}),se.c(`${e.id}_ti`),se.s(`${e.id}_ti`,(()=>{e.instance||(s=document.createElement("div"),s.id=`${e.id}_inst`,s.className="curtipinst-outer",r=je.el(e.appendTo)||je.el("#tuiRoot"),e.instance=qt(Za,{...e.options||t.value,id:e.id,eventTarget:e,tuiService:o,dynamicRender:!0,bindTriggerEvents:!1,appendTo:e.appendTo,destroy:d}),e.options||(e.options=t.value),r.appendChild(s),at(e.instance,s)),oe((()=>{e.instance?.component?.exposed?.updatePos(e.pointer.x,e.pointer.y),e.instance?.component?.exposed?.show()}))}),a))},e.hide=()=>{se.c(`${e.id}_ti`),e.instance?.component?.exposed?.hide()},e.update=t=>{e.disabled||!t||(null!=t.clientX&&null!=t.clientY&&(e.pointer={x:t.clientX,y:t.clientY}),e.instance?.component?.exposed?.updatePos(e.pointer.x,e.pointer.y))},i||ga(e);const u=F((()=>o.$optFloaterTo.value),(l=>{e.appendTo=t.value.appendTo||l}));e.floaterUnwatch=u},updated(e,t){t&&(e.options=t.value,t.value.disabled!=t.oldValue?.disabled&&(e.mouseEvent&&(ha(e),e.mouseEvent=!1),e.disabled=t.value.disabled,e.disabled?(se.c(`${e.id}_ti`),e.instance?.component?.exposed?.hide(!0),e.destroy()):ga(e)))},unmounted(e){e.mouseEvent&&(e.floaterUnwatch&&e.floaterUnwatch(),ha(e),e.instance&&e.destroy&&e.destroy(),delete e.mouseEvent,delete e.destroy,delete e.show,delete e.hide,delete e.id,delete e.update,delete e.appendTo,delete e.options,delete e.disabled)}},Fl={id:String,className:String,appendTo:String,title:String,titleIcon:String,tuiService:Object,component:Object,instances:Object,destroy:Function,event:[Function,PointerEvent,Object],eventTarget:[HTMLElement,SVGPathElement],autoClose:Boolean,showTrigger:Boolean,popPanelConfig:Object,zIndex:Number,maxWidth:Number,placement:{type:String,default:"top",validator:e=>["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"].includes(e)},type:{type:String,default:null,validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},appearance:{type:String,default:"popTip",validator:e=>["popTip","popInfo"].includes(e)},trigger:{type:String,default:"hover",validator:e=>["hover","click"].includes(e)},debug:{type:Boolean,default:!1},content:{type:String,required:!1},enterable:{type:Boolean,default:!1},delay:{type:Number,default:500},offset:{type:Number,default:4},duration:{type:Number,default:3e3},closeOnClickOutside:{type:Boolean,default:null},defaultOn:{type:Boolean,default:!1},showArrow:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},transparent:{type:Boolean,default:!0},backgroundBlur:{type:Boolean,default:!0},tone:{type:String,default:"base",validator:e=>["extremeInvert","strongInvert","strong","base","weak"].includes(e)},hasShadow:{type:Boolean,default:!0},shadowColor:{type:String,default:"weak",validator:e=>["weakest","weaker","weak","base","strong","stronger","strongest","match"].includes(e)},typedConfig:Object},Ja=(e,t)=>ce(e,{...t.maxWidth&&{maxWidth:`${t.maxWidth}px`}}),en=(e,t)=>{const l=e.typedConfig||{};return{...l,appearance:l.appearance||"background",tone:e.tone??l.tone,transparent:e.transparent??l.transparent,backgroundBlur:e.backgroundBlur??l.backgroundBlur,hasShadow:e.hasShadow??l.hasShadow,shadowColor:e.shadowColor??l.shadowColor,type:e.type||l.type||t}},tn=(e,t)=>[e,t.className,t.enterable&&"is-enterable"].filter(Boolean).join(" "),ln=(e,t)=>{const{panelClassName:l,panelStyle:a,typedConfig:i,arrowSize:A,offsetAdjust:o=0}=t,n=e.popPanelConfig||{},s=e.closeOnClickOutside??n.closeOnClickOutside??"click"===e.trigger;return{...n,eventTarget:e.eventTarget,trigger:e.trigger,placement:e.placement,disabled:e.disabled,appendTo:e.appendTo,offset:e.offset+o,zIndex:e.zIndex||1e3,panelClassName:l,panelStyle:a,showDelay:e.delay,hideDelay:200,typed:!0,typedConfig:i,showArrow:e.showArrow,arrowSize:A,tuiService:e.tuiService,dynamicRender:!!e.tuiService,closeOnClickOutside:s,closeOnEsc:!0,debug:e.debug}},Js={class:"popinfo-body"},er={key:0,class:"popinfo-title"},Hl=Object.assign({name:"TuiPopinfo"},{__name:"popinfo",props:{...Fl,enterable:{type:Boolean,default:!0}},setup(e,{expose:t}){const l=e,a=`${Ce("popInfo")}_autoH`,i=k(null),A=m((()=>Ja("cpt-pinfo",l))),o=m((()=>tn("tui-popinfo",l))),n=m((()=>en(l,"default"))),d=m((()=>ln(l,{panelClassName:o.value,panelStyle:A.value,typedConfig:n.value,arrowSize:8,offsetAdjust:2}))),u=()=>{l.autoClose&&"click"===l.trigger&&se.s(a,(()=>{i.value?.hide?.()}),l.duration)},c=()=>{se.c(a),l.defaultOn&&l.destroy?.(!1,!0)};return fe((()=>{l.defaultOn&&i.value?.show?.()})),t({hide:()=>{i.value?.hide?.()},update:()=>i.value?.update?.(),getVisible:()=>i.value?.getVisible?.()||!1}),(e,t)=>(r(),Y(Zt,Pe({ref_key:"popPanelRef",ref:i},d.value,{onShown:u,onHidden:c}),{trigger:_((()=>[K(e.$slots,"default")])),default:_((()=>[s("div",Js,[e.title?(r(),g("div",er,[e.titleIcon?(r(),g("i",{key:0,class:T(`popinfo-icon ${e.titleIcon}`)},null,2)):q("",!0),Re(" "+G(e.title),1)])):q("",!0),e.component?(r(),Y(it(e.component),{key:1})):K(e.$slots,"content",{key:2},(()=>[Re(G(e.content),1)]))])])),_:3},16))}}),tr={class:"poptip-content"},Ql=Object.assign({name:"TuiPopTip"},{__name:"poptip",props:{...Fl},setup(e,{expose:t}){const l=e,a=`${Ce("popTip")}_autoH`,i=k(null),A=m((()=>Ja("cpt-ptip",l))),o=m((()=>tn("tui-poptip",l))),n=m((()=>en(l,"invert"))),d=m((()=>ln(l,{panelClassName:o.value,panelStyle:A.value,typedConfig:n.value,arrowSize:6}))),u=()=>{l.autoClose&&"click"===l.trigger&&se.s(a,(()=>{i.value?.hide?.()}),l.duration)},c=()=>{se.c(a),l.defaultOn&&l.destroy?.(!1,!0)};return fe((()=>{l.defaultOn&&i.value?.show?.()})),t({hide:()=>{i.value?.hide?.()},update:()=>i.value?.update?.(),getVisible:()=>i.value?.getVisible?.()||!1}),(e,t)=>(r(),Y(Zt,Pe({ref_key:"popPanelRef",ref:i},d.value,{onShown:u,onHidden:c}),{trigger:_((()=>[K(e.$slots,"default")])),default:_((()=>[s("div",tr,[e.component?(r(),Y(it(e.component),{key:0})):K(e.$slots,"content",{key:1},(()=>[Re(G(e.content),1)]))])])),_:3},16))}}),bt=Ve([]),lr=()=>{const e=[...bt];e.length>0&&(e.forEach((e=>{const t=e.props.eventTarget;t&&t.instance&&t.destroy&&t.destroy(!0)})),bt.length=0)},ar=()=>{if(0===bt.length)return;const e=bt[0].props.eventTarget;e&&e.instance&&e.destroy&&e.destroy()},va=e=>{e.defaultOn?e.mouseEvent():"hover"===e.trigger?(xe.add(e,"mouseenter",e.mouseEvent,e.id),xe.add(e,"mouseleave",e.leaveEvent,e.id)):"click"===e.trigger&&xe.add(e,"click",e.mouseEvent,e.id)},ma=e=>{e.defaultOn||("hover"===e.trigger?(xe.remove(e,"mouseenter",e.id),xe.remove(e,"mouseleave",e.id)):"click"===e.trigger&&xe.remove(e,"click",e.id))},nr={mounted(e,t,l){if(!t)return;const{trigger:a="hover",autoClose:i=!0,duration:A=5e3,defaultOn:o=!1,disabled:n=!1}=t.value||{};e.disabled=n,e.trigger=a,e.autoClose=i,e.defaultOn=o,e.options=t.value||{},e.lastEvent=null;const s=l.ctx.appContext.app,{$tService:r}=s.config.globalProperties,{$popoverConfig:d}=r,{$optFloaterTo:u}=r;e.appendTo=t.value.appendTo||u.value;const c=Ce("popOverDir");let p=null,g=null;e.instance=null,e.id=c;const v=(t=!1)=>{const l=bt.indexOf(e.instance);-1!==l&&!t&&bt.splice(l,1),p&&(at(null,p),g&&g.contains(p)&&g.removeChild(p)),p=null,g=null,e.instance=null},f=(t=!1,l=!1)=>{if(e.instance){if(l)return se.c(c+"_hideEnd"),void v(t);se.s(c+"_hide",(()=>{e.instance&&(e.instance.component?.exposed?.hide?.(),se.s(c+"_hideEnd",(()=>v(t)),500))}),200)}},m=(t=e.lastEvent)=>{if(!p)return;const l={...e.options||{}},a=l.appearance||"popTip",i=qt("popTip"===a?Ql:Hl,{...l,id:c,destroy:f,tuiService:r,instances:bt,event:t,eventTarget:e,trigger:e.trigger,defaultOn:!0}),A=bt.indexOf(e.instance);e.instance=i,-1!==A?bt[A]=i:bt.push(i),at(i,p)};e.destroy=f,e.renderInstance=m;e.mouseEvent=async t=>{e.lastEvent=t||e.lastEvent,!e.instance&&!e.disabled&&(await oe(),!e.instance&&!e.disabled&&(t=>{e.instance||e.disabled||(e.lastEvent=t||e.lastEvent,p=document.createElement("div"),p.id=c+"_wrap",p.className="popinst-outer",bt.length>=d.value.maxLength&&ar(),g=je.el(e.appendTo)||je.el("#tuiRoot"),g.appendChild(p),m(e.lastEvent),"click"===e.trigger&&e.autoClose&&!o&&se.s(c+"_autoH",(()=>{f()}),A))})(e.lastEvent))},e.leaveEvent=()=>{se.c(c+"_autoH"),e.instance&&("hover"===e.trigger&&e.options?.debug||e.instance.component?.exposed?.hide?.())},n||va(e);const h=F((()=>r.$optFloaterTo.value),(l=>{e.appendTo=t.value.appendTo||l}));e.floaterUnwatch=h},updated(e,t){if(!t)return;e.options=t.value||{};const l=t.value.trigger!=t.oldValue?.trigger,a=t.value.disabled!=t.oldValue?.disabled,i=t.value.defaultOn!=t.oldValue?.defaultOn,A=t.value.maxWidth!=t.oldValue?.maxWidth,o=t.value.content!=t.oldValue?.content,n=t.value.title!=t.oldValue?.title;(l||a||i)&&(se.c(e.id+"_show"),e.destroy?.(),ma(e)),l&&(e.trigger=t.value.trigger),a&&(e.disabled=t.value.disabled,e.disabled&&e.destroy?.()),i&&(e.defaultOn=!!t.value.defaultOn),t.value.autoClose!=t.oldValue?.autoClose&&(e.autoClose=t.value.autoClose),e.instance&&!e.disabled&&(A||o||n||l||a||i)&&e.renderInstance&&e.renderInstance(),(l||a||i)&&!e.disabled&&va(e)},unmounted(e){e.mouseEvent&&(e.floaterUnwatch&&e.floaterUnwatch(),se.c(e.id+"_show"),se.c(e.id+"_hide"),se.c(e.id+"_hideEnd"),se.c(e.id+"_autoH"),ma(e),e.instance&&e.destroy&&e.destroy(),delete e.mouseEvent,delete e.leaveEvent,delete e.trigger,delete e.autoClose,delete e.defaultOn,delete e.destroy,delete e.renderInstance,delete e.lastEvent,delete e.appendTo,delete e.options,delete e.disabled,delete e.id)}},or={install(e){e.config.globalProperties.$tPopoverDirectiveCloseAll=()=>lr()}},ir=(e,t=!1)=>{let l=1,a=1;if(t){const{scaleX:e,scaleY:t}=Kt.adpt.info;l=e,a=t}const i=e.style.transform;e.style.transform="";const A=e.getBoundingClientRect(),o=e.parentElement.getBoundingClientRect(),n=A.left-o.left,s=A.top-o.top;return e.style.transform=i,{minX:-n/l,minY:-s/a,maxX:(o.width-A.width-n)/l,maxY:(o.height-A.height-s)/a}},sr=(e,t)=>{const l="absolute"==t?e.offsetParent:e.parentElement;return l?{minX:0,minY:0,maxX:l.clientWidth-e.offsetWidth,maxY:l.clientHeight-e.offsetHeight}:null},rr=(e,t,l=!1)=>{let a=1,i=1;if(l){const{scaleX:e,scaleY:t}=Kt.adpt.info;a=e,i=t}const A=e.getBoundingClientRect();if("transform"===t){const t=window.getComputedStyle(e),l=new DOMMatrix(t.transform);return{startX:l.m41*a,startY:l.m42*i}}{const l=("absolute"==t?e.offsetParent:e.parentElement)?.getBoundingClientRect()||{left:0,top:0};return{startX:A.left-("transform"!=t?l.left:0),startY:A.top-("transform"!=t?l.top:0)}}},Ar=({el:e,e:t,mouseStartX:l,mouseStartY:a,startX:i,startY:A,positionType:o,boundaries:n,inAdpt:s})=>{let r=1,d=1;if(s){const{scaleX:e,scaleY:t}=Kt.adpt.info;r=e,d=t}let u=(i+(t.clientX-l))/r,c=(A+(t.clientY-a))/d;n&&(u=Math.min(n.maxX,Math.max(n.minX,u)),c=Math.min(n.maxY,Math.max(n.minY,c))),"transform"===o?e.style.transform=`translate(${u}px, ${c}px)`:(e.style.left=`${u}px`,e.style.top=`${c}px`)},an=e=>(e._tuiDragState||(e._tuiDragState={uid:null,triggerEl:null,handleMousedown:null,triggerCursor:""}),e._tuiDragState),nn=e=>{e&&(xe.remove(document,"mousemove",e),xe.remove(document,"mouseup",e))},ya=e=>{const t=an(e);nn(t.uid),t.triggerEl&&(t.handleMousedown&&t.triggerEl.onmousedown===t.handleMousedown&&(t.triggerEl.onmousedown=null),t.triggerEl.style.cursor=t.triggerCursor||""),t.triggerEl=null,t.handleMousedown=null},ba=(e,t)=>{t?e.style="":e.style.cursor=""},ur={mounted(e,t){if(!t)return;const l=t=>{const{containment:l=!0,inAdpt:a=!1,enabled:i=!0,positionType:A="transform",resetOnDisable:o=!1,uid:n}=t||{},s=an(e),r=t?.trigger?e.querySelector(t.trigger):e,d=n||s.uid||`drag_${Math.random().toString(36).slice(2,10)}`;if(ya(e),s.uid=d,s.triggerEl=r,s.triggerCursor=r?.style?.cursor||"",e.enabled=i,e.resetOnDisable=o,!e.enabled)return ba(e,e.resetOnDisable),void(r&&(r.style.cursor=s.triggerCursor||""));if(!r)return;r.style.cursor="move";const u=i=>{if(!e.enabled)return;if(t?.exclude){const e=i.target?.closest?.(t.exclude);if(e&&r.contains(e))return}let o=null;l&&(o="transform"===A?ir(e,a):sr(e,A));const{startX:n,startY:d}=rr(e,A,a),u=i.clientX,c=i.clientY;xe.add(document,"mousemove",(t=>{Ar({el:e,e:t,mouseStartX:u,mouseStartY:c,startX:n,startY:d,positionType:A,boundaries:o,inAdpt:a})}),s.uid),xe.add(document,"mouseup",(()=>{nn(s.uid)}),s.uid),i.preventDefault()};s.handleMousedown=u,r.onmousedown=u};l(t.value),e.dragUpdate=l},updated(e,t){t&&(!ut.isEq(t.value,t.oldValue)||e.enabled!==t.value?.enabled)&&e.dragUpdate?.(t.value)},unmounted(e){ya(e),ba(e,e.resetOnDisable),delete e._tuiDragState,delete e.dragUpdate}};function Va(e,t){const l=ze(e);if(l.includes("function"))return{disabled:!1,uid:t.uid||Ce("vResize"),cid:null,duration:200,callback:e};if("object"===l&&e){const l=e.cid??null;return"string"===ze(l)&&!l.includes("Error")&&Oa(l,t.className),{disabled:e.disabled??!1,uid:e.uid||t.uid||Ce("vResize"),cid:l,duration:e.duration??200,callback:e.callback}}return{disabled:!0,uid:t.uid||Ce("vResize"),cid:null,duration:200,callback:null}}function wa(e,t){e.disabled=t.disabled,e.uid=t.uid,e.cid=t.cid,e.duration=t.duration,e.callback=t.callback}function qa(e){!e.disabled&&ze(e.callback).includes("function")&&pl.o(e,(t=>{for(let l of t){const{width:t,height:a}=l.contentRect;e.callback({width:t,height:a})}}),e.duration)}function Bl(e){pl.d(e)}const dr={mounted(e,t){wa(e,Va(t.value,e)),qa(e)},updated(e,t){const l=e.disabled,a=e.duration,i=e.uid,A=e.callback;wa(e,Va(t.value,e));const o=!l&&ze(A).includes("function");!e.disabled&&ze(e.callback).includes("function")?(!o||l!==e.disabled||a!==e.duration||i!==e.uid)&&(o&&Bl(e),qa(e)):o&&Bl(e)},unmounted(e){Bl(e)}},cr={mounted(e,t){const l=t.value;"string"==ze(l)&&!l.includes("Error")&&Oa(l,e.className)},unmounted(e){}},bl={tuiService:Object,destroy:Function,className:String,spreadRadius:Number,blurRadius:Number,queueOffset:Number,content:{type:String,required:!0},id:{type:String,required:!0},icon:{type:String},hideIcon:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},debug:{type:Boolean,default:!1},calledByFlash:{type:Boolean,default:!1},grouping:{type:Boolean,default:!1},transparent:{type:Boolean,default:!0},backgroundBlur:{type:Boolean,default:!0},hasShadow:{type:Boolean,default:!0},shadowColor:{type:String,default:"weak",validator:e=>["weakest","weaker","weak","base","strong","stronger","strongest","match"].includes(e)},tone:{type:String,default:"base",validator:e=>["extremeInvert","strongInvert","strong","base","weak"].includes(e)},aniType:{type:String,default:"soft",validator:e=>["soft","sudden"].includes(e)},appearance:{type:String,default:"toast",validator:e=>["message","toast"].includes(e)},queuePosition:{type:String,validator:e=>["top","top-left","top-right","left","right","bottom","bottom-left","bottom-right"].includes(e)},type:{type:String,default:"info",validator:e=>["primary","success","warning","danger","error","info","emphasis","focus"].includes(e)},typedConfig:Object},fr={key:0,class:"tui-icon ti-info-circle"},pr={key:1,class:"tui-icon ti-check-circle"},gr={key:2,class:"tui-icon ti-alert-circle"},hr={key:3,class:"tui-icon ti-alert-triangle"},vr={key:2,class:"debug"},mr={key:4,class:"repeat-num"},yr=Object.assign({name:"TuiMessage"},{__name:"index",props:{...bl,debug:{type:Boolean,default:!1},position:{type:String}},setup(e,{expose:t}){const l=Ve({index:0,content:"",id:"",repeat:1}),a=e,i=m((()=>"error"==a.type?"danger":a.type)),{offset:A}=a.tuiService.$aMessage.value,o=k(!1),n=(e,t=!1)=>{se.c(a.id),a.destroy(t)},d=()=>{const{position:e}=a;let t=Vt[e].findIndex((e=>e.component.props.id===a.id));l.index=t};F((()=>Vt[a.position]),(e=>{d()}),{deep:!0}),F((()=>a.tuiService.$gEscCounter.value),(e=>{e&&!a.calledByFlash&&n()}));const u=()=>{a.tuiService.$aMessage.value.counter-=1},c=m((()=>ce("cpt-msg",{offset:A,index:l.index}))),p=k({tuiService:a.tuiService,appearance:"background",type:i,tone:m((()=>a.tone)),transparent:m((()=>a.transparent)),backgroundBlur:m((()=>a.backgroundBlur)),hasShadow:m((()=>a.hasShadow)),shadowColor:m((()=>a.shadowColor)),...a.typedConfig});return fe((()=>{a.calledByFlash||a.tuiService.$gSound.value&&a.tuiService.audio.play("popupA"),a.tuiService.$aMessage.value.counter+=1,d(),o.value=!0,l.content=a.content})),t({hide:()=>{o.value=!1,u()},updateIndex:d,closeMessage:n,repeatAdd:()=>{l.repeat++}}),(t,a)=>(r(),Y(Be,{name:"slide-fade"},{default:_((()=>[he(ne(Xt,Pe(p.value,{class:["tui-message",`position-${e.position}`,`message-${t.id}`,`message-index-${l.index}`,t.className&&`${t.className}`],style:c.value}),{default:_((()=>[t.icon?q("",!0):(r(),g(J,{key:0},["info"==i.value||"primary"==i.value||"emphasis"==i.value?(r(),g("i",fr)):q("",!0),"success"==i.value?(r(),g("i",pr)):q("",!0),"warning"==i.value?(r(),g("i",gr)):q("",!0),"danger"==i.value?(r(),g("i",hr)):q("",!0)],64)),t.icon?(r(),g("i",{key:1,class:T(t.icon)},null,2)):q("",!0),e.debug?(r(),g("span",vr,G(l.index+1)+":"+G(t.id),1)):q("",!0),s("span",null,G(t.content),1),t.showClose?(r(),g("i",{key:3,class:"close-message tui-icon ti-times",onClick:n})):q("",!0),l.repeat>1?(r(),g("span",mr,G(l.repeat),1)):q("",!0)])),_:1},16,["class","style"]),[[Te,o.value]])])),_:1}))}});Ve([]);const Vt=Ve({"top-left":[],"top-center":[],"top-right":[],"bottom-left":[],"bottom-center":[],"bottom-right":[]}),br=(e,t)=>{const{$tService:l,$tNotifyCloseAll:a,$tAttentionDispatcher:i}=t.config.globalProperties,{position:A,duration:o}=l.$aMessage.value,{counter:n}=l.$aNotification.value,{show:s,currentChannel:r}=l.$aDispatcher.value,{$optFloaterTo:d}=l,u=e.appendTo||d.value;if(s||i(e),r&&"message"!=r&&!e.calledByFlash)return void l.$aDispatcher.value.queue.push({...e,attentionType:"message"});let c=null;const p=document.createElement("div"),g=Ce("msgdir"),v=e.position||A||"top-center",f=t=>{if(c.component.exposed.hide(),!t){const e=Vt[v].indexOf(c);Vt[v].splice(e,1)}setTimeout((()=>{at(null,p),ze(e.onClose).includes("function")&&e.onClose()}),500)},m=()=>{c=qt(yr,{...e,position:v,id:g,destroy:f,tuiService:l}),Vt[v].push(c),at(c,p),(je.el(u)||je.el("#tuiRoot")).appendChild(p.firstElementChild),e.calledByFlash?e.calledByFlash&&e.duration&&se.s(g,f,e.duration):se.s(g,f,e.duration||o||3e3)};if(e.grouping){const t=Vt[v].findIndex((t=>t.props.content===e.content));if(-1==t)m();else{const{id:l,destroy:a}=Vt[v][t].props;Vt[v][t].component.exposed.repeatAdd(),e.calledByFlash||se.s(l,a,e.duration||o||3e3)}}else m();return{destroy:f}},Vr=()=>{for(let e in Vt)Vt[e].forEach(((e,t)=>{e.component.exposed.closeMessage(null,!0)})),Vt[e]=[]},wr={key:0,class:"tui-icon ti-info-circle"},qr={key:1,class:"tui-icon ti-check-circle"},Cr={key:2,class:"tui-icon ti-alert-circle"},$r={key:3,class:"tui-icon ti-alert-triangle"},kr={class:"notification-container"},Sr={class:"notification-title"},Tr={class:"notification-content"},Br={key:0,class:"debug"},xr={key:2,class:"repeat-num"},Pr=Object.assign({name:"TuiNotification"},{__name:"index",props:{...bl,title:{type:String},position:{type:String},debug:{type:Boolean,default:!1}},setup(e,{expose:t}){const l=k(),a=Ve({index:0,title:"",content:"",id:"",repeat:1,offsetSum:1}),i=e,A=m((()=>"error"==i.type?"danger":i.type)),{offset:o}=i.tuiService.$aNotification.value,{content:n,title:u}=Le(a),c=k(!1),p=(e,t=!1)=>{se.c(i.id),i.destroy(t)},v=()=>{const{position:e}=i;let t=pt[e].findIndex((e=>e.component.props.id===i.id));a.index=t},f=()=>{const{position:e}=i,t=pt[e].findIndex((e=>e.component.props.id===i.id));let l=10;if(t>-1)for(let a=0;a<pt[e].length&&!(a>=t);a++)l+=pt[e][a].el.offsetHeight+15;a.offsetSum=l};F((()=>pt[i.position]),(e=>{v(),f()}),{deep:!0}),F((()=>i.tuiService.$gEscCounter.value),(e=>{e&&p()}));const h=()=>{i.tuiService.$aNotification.value.counter-=1},y=m((()=>ce("cpt-noti",{offset:o,index:a.index,offsetSum:a.offsetSum}))),V=k({tuiService:i.tuiService,appearance:"background",type:A,tone:m((()=>i.tone)),transparent:m((()=>i.transparent)),backgroundBlur:m((()=>i.backgroundBlur)),hasShadow:m((()=>i.hasShadow)),shadowColor:m((()=>i.shadowColor)),...i.typedConfig});return fe((()=>{i.tuiService.$gSound.value&&i.tuiService.audio.play("popupA"),i.tuiService.$aNotification.value.counter+=1,v(),oe((()=>{f()})),c.value=!0,a.content=i.content,i.title?a.title=i.title:a.title=i.tuiService.i18n(A.value+".label")})),t({hide:()=>{c.value=!1,h()},updateIndex:v,closeNotification:p,repeatAdd:()=>{a.repeat++}}),(t,i)=>(r(),Y(Be,{name:"slide-fade"},{default:_((()=>[he(ne(Xt,Pe(V.value,{ref_key:"notificationRef",ref:l,class:["tui-notification",`position-${e.position}`,`notification-${t.id}`,`notification-index-${a.index}`,t.className&&`${t.className}`],style:y.value}),{default:_((()=>[t.icon?q("",!0):(r(),g(J,{key:0},["info"==A.value||"primary"==A.value||"emphasis"==A.value?(r(),g("i",wr)):q("",!0),"success"==A.value?(r(),g("i",qr)):q("",!0),"warning"==A.value?(r(),g("i",Cr)):q("",!0),"danger"==A.value?(r(),g("i",$r)):q("",!0)],64)),t.icon?(r(),g("i",{key:1,class:T(`notification-icon ${t.icon}`)},null,2)):q("",!0),s("div",kr,[s("span",Sr,G(d(u)),1),s("span",Tr,G(d(n)),1),e.debug?(r(),g("span",Br,G(a.index+1)+":"+G(t.id),1)):q("",!0),t.showClose?(r(),g("i",{key:1,class:"close-notification tui-icon ti-times",onClick:p})):q("",!0),a.repeat>1?(r(),g("span",xr,G(a.repeat),1)):q("",!0)])])),_:1},16,["class","style"]),[[Te,c.value]])])),_:1}))}});Ve([]);const pt=Ve({"top-left":[],"top-center":[],"top-right":[],"bottom-left":[],"bottom-center":[],"bottom-right":[]}),Rr=(e,t)=>{const{$tService:l,$tMessageCloseAll:a,$tAttentionDispatcher:i}=t.config.globalProperties,{position:A}=l.$aNotification.value,{counter:o}=l.$aMessage.value,{show:n,currentChannel:s}=l.$aDispatcher.value,{$optFloaterTo:r}=l,d=e.appendTo||r.value;if(n||i(e),s&&"notification"!=s)return void l.$aDispatcher.value.queue.push({...e,attentionType:"notification"});let u=null;const c=document.createElement("div"),p=Ce("notidir"),g=e.position||A||"top-center",v=t=>{if(u.component.exposed.hide(),!t){const e=pt[g].indexOf(u);pt[g].splice(e,1)}setTimeout((()=>{at(null,c),ze(e.onClose).includes("function")&&e.onClose()}),500)},f=()=>{u=qt(Pr,{...e,position:g,id:p,destroy:v,tuiService:l}),pt[g].push(u),at(u,c),(je.el(d)||je.el("#tuiRoot")).appendChild(c.firstElementChild),e.duration&&se.s(p,v,e.duration)};if(e.grouping){const t=pt[g].findIndex((t=>(e.title?t.props.title===e.title:!e.title)&&t.props.content===e.content));if(-1==t)f();else{const{id:l,destroy:a}=pt[g][t].props;pt[g][t].component.exposed.repeatAdd(),e.duration&&se.s(l,a,e.duration)}}else f();return{destroy:v}},zr=()=>{for(let e in pt)pt[e].forEach(((e,t)=>{e.component.exposed.closeNotification(null,!0)})),pt[e]=[]},Ir={key:0,class:"tui-icon ti-info-circle"},Nr={key:1,class:"tui-icon ti-check-circle"},Dr={key:2,class:"tui-icon ti-alert-circle"},_r={key:3,class:"tui-icon ti-alert-triangle"},Or={key:2,class:"toast-title"},Mr={class:"toast-content"},Er={key:3,class:"close-toast"},Lr=Object.assign({name:"TuiToast"},{__name:"index",props:{title:String,...bl,showClose:{type:Boolean,default:!1}},setup(e,{expose:t}){const l=Ve({content:"",id:""}),a=e,i=m((()=>"error"==a.type?"danger":a.type)),{offsetX:A,offsetY:o}=a.tuiService.$aToast.value,n=k(!1);F((()=>a.tuiService.$gEscCounter.value),(e=>{e&&!a.calledByFlash&&d()}));const d=()=>{se.c(a.id),a.destroy()},u=m((()=>ce("cpt-toast",{offsetX:A,offsetY:o}))),c=k({tuiService:a.tuiService,appearance:"background",type:i,tone:m((()=>a.tone)),transparent:m((()=>a.transparent)),backgroundBlur:m((()=>a.backgroundBlur)),hasShadow:m((()=>a.hasShadow)),shadowColor:m((()=>a.shadowColor)),...a.typedConfig});return fe((()=>{a.calledByFlash||a.tuiService.$gSound.value&&a.tuiService.audio.play("popupB"),n.value=!0,l.content=a.content,a.tuiService.$aToast.value.visible=!0})),t({hide:()=>{n.value=!1,a.tuiService.$aToast.value.visible=!1},closeToast:d}),(t,l)=>(r(),Y(Be,{name:"slide-fade"},{default:_((()=>[he(ne(Xt,Pe(c.value,{class:["tui-toast",`toast-${t.id}`,t.className&&`${t.className}`],style:u.value}),{default:_((()=>[t.icon||t.hideIcon?q("",!0):(r(),g(J,{key:0},["info"==i.value||"primary"==i.value||"emphasis"==i.value?(r(),g("i",Ir)):q("",!0),"success"==i.value?(r(),g("i",Nr)):q("",!0),"warning"==i.value?(r(),g("i",Dr)):q("",!0),"danger"==i.value?(r(),g("i",_r)):q("",!0)],64)),t.icon&&!t.hideIcon?(r(),g("i",{key:1,class:T(`toast-icon ${t.icon}`)},null,2)):q("",!0),e.title?(r(),g("span",Or,G(e.title),1)):q("",!0),s("span",Mr,G(t.content),1),e.showClose?(r(),g("div",Er,[s("i",{class:"tui-icon ti-times",onClick:d})])):q("",!0)])),_:1},16,["class","style"]),[[Te,n.value]])])),_:1}))}});Ve([]);let Et=null;const Wr=(e,t)=>{const{$tService:l,$tAttentionDispatcher:a}=t.config.globalProperties,{duration:i}=l.$aToast.value,{show:A,currentChannel:o}=l.$aDispatcher.value,{$optFloaterTo:n}=l,s=e.appendTo||n.value;if(A||a(e),o&&"toast"!=o&&!e.calledByFlash)return void l.$aDispatcher.value.queue.push({...e,attentionType:"toast"});const r=document.createElement("div"),d=Ce("tostdir"),u=()=>{Et?.component.exposed.hide(),Et=null,setTimeout((()=>{at(null,r),ze(e.onClose).includes("function")&&e.onClose()}),500)};return Et&&on(),Et=qt(Lr,{...e,id:d,destroy:u,tuiService:l}),at(Et,r),(je.el(s)||je.el("#tuiRoot")).appendChild(r.firstElementChild),e.calledByFlash||se.s(d,u,e.duration||i||3e3),{destroy:u}},on=()=>{Et&&Et.component.exposed.closeToast()},jr={class:"text"},Gr=Object.assign({name:"TuiFlash"},{__name:"index",props:{...bl},setup(e,{expose:t}){const{proxy:l}=Ue(),a=e,i=m((()=>"error"==a.type?"danger":a.type)),A=m((()=>{const{blurRadius:e}=a.tuiService.$aFlash.value;return a.blurRadius||e})),o=m((()=>{const{spreadRadius:e}=a.tuiService.$aFlash.value;return a.spreadRadius||e})),n=m((()=>{const{queuePosition:e}=a.tuiService.$aFlash.value;return a.queuePosition||e})),u=m((()=>{const{queueOffset:e}=a.tuiService.$aFlash.value;return a.queueOffset||e})),c=k(!1),p=m((()=>ce("cpt-flash",{blurR:A.value,spreadR:o.value,offset:u.value})));return fe((()=>{a.tuiService.audio.play("dindonB",!0,a.id,600),c.value=!0,a.tuiService.$aFlash.value.visible=!0})),t({hide:()=>{a.tuiService.audio.stop(a.id),c.value=!1,a.tuiService.$aFlash.value.visible=!1},closeFlash:()=>{se.c(a.id),a.destroy()}}),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["tui-flash",`flash-${i.value}`,`flash-${e.id}`,`aniType-${e.aniType}`,e.className&&`${e.className}`]),style:re(p.value)},[d(ft).length>1?(r(),g("div",{key:0,class:T(`queue-wrap queuePosition-${n.value}`)},[(r(!0),g(J,null,ke(d(ft),((e,t)=>(r(),g("div",{class:T(`queue-item item-${e.type}`)},[s("span",jr,G(t+1),1)],2)))),256))],2)):q("",!0)],6),[[Te,c.value]])])),_:1}))}}),ft=Ve([]);let Mt=null,fl=null;const sn=(e,t)=>{ze(e.onClose).includes("function")&&(e.onFlashClose=e.onClose,delete e.onClose);const{$tService:l,$tNotifyCloseAll:a,$tMessageCloseAll:i,$tToastClose:A,$tMessage:o,$tToast:n,$tAttentionDispatcher:s}=t.config.globalProperties,{show:r,currentChannel:d}=l.$aDispatcher.value,{$optFloaterTo:u}=l,c=e.appendTo||u.value;if(r||s(e),d&&"flash"!=d)return void l.$aDispatcher.value.queue.push({...e,attentionType:"flash"});const p=document.createElement("div"),g=Ce("flashdir"),v=()=>{Mt?.component?.exposed.hide(),Mt=null,fl=null,at(null,p),ft.splice(0,1),l.$aFlash.value.queueLength=ft.length,ft.length>0&&sn(ft[0],t)};e.onClose=v,e.calledByFlash=!0,e.showClose=!0,e.grouping=!0;return Mt?Mt.props.content==e.content?"message"==e.appearance&&o(e):(-1===ft.findIndex((t=>t.content===e.content))&&ft.push(e),l.$aFlash.value.queueLength=ft.length):(-1===ft.findIndex((t=>t.content===e.content))&&ft.push(e),l.$aFlash.value.queueLength=ft.length,fl="message"==e.appearance?o(e):n(e),Mt=qt(Gr,{...e,id:g,destroy:v,tuiService:l}),at(Mt,p),(je.el(c)||je.el("#tuiRoot")).appendChild(p.firstElementChild)),{destroy:v}},Fr=()=>{0!=ft.length&&(ft.splice(0),fl?.destroy(),Mt.component.exposed.closeFlash())},Hr={class:"attention-icon-wrap"},Qr={class:"queu-length"},Ur={class:"attention-debugger"},Yr=Object.assign({name:"TuiAttentionDispatcher"},{__name:"index",props:{tuiService:Object,destroy:Function,globalProperties:Object,id:{type:String,required:!0}},setup(e,{expose:t}){const l=Ce("attentionDisp"),a=Ve({messageCounter:0,notificationCounter:0,toastShow:!1,falshShow:!1,falshQueue:0,dispatchStart:!1}),i=e,{$tMessage:A,$tNotify:o,$tToast:n,$tFlash:u,$tMessageCloseAll:c,$tNotifyCloseAll:p,$tToastClose:v}=i.globalProperties,{$aDispatcher:f,$aFlash:h,$aToast:y,$aNotification:V,$aMessage:b}=i.tuiService,{visible:q,debug:w,offset:x,position:C,currentChannel:S,queue:B}=Le(f.value);F((()=>b.value.counter),(e=>{h.value.queueLength>0||(a.messageCounter=e,e>0&&(f.value.currentChannel="message"))}),{immediate:!0}),F((()=>V.value.counter),(e=>{a.notificationCounter=e,e>0&&(f.value.currentChannel="notification")}),{immediate:!0}),F((()=>y.value.visible),(e=>{h.value.queueLength>0||(a.toastShow=e,e&&(f.value.currentChannel="toast"))}),{immediate:!0}),F((()=>h.value.visible),(e=>{a.falshShow=e}),{immediate:!0}),F((()=>h.value.queueLength),(e=>{a.falshQueue=e,e>0&&(f.value.currentChannel="flash")}),{immediate:!0}),F((()=>B.value),(e=>{e.find((e=>"flash"===e.attentionType))&&(a.dispatchStart=!0,se.s("queueWatch",(()=>{switch(S.value){case"message":c();break;case"notification":p();break;case"toast":v();break}oe((()=>{z()}))}),1e3))}),{deep:!0});const $=m((()=>{const e=b.value.counter>0,t=V.value.counter>0,l=h.value.queueLength>0,i=y.value.visible;return!!(e||t|i||l)||(f.value.currentChannel=null,!a.dispatchStart&&0==a.falshQueue&&(B.value.length>0?(a.dispatchStart=!0,z()):O.value&&M()),!1)})),z=()=>{const e=B.value.find((e=>"flash"===e.attentionType))||B.value[0];if(e){let t=N(B.value,e.attentionType);t.length>0&&R(t,e.attentionType)}},R=(e,t)=>{let i=0;Bt.s(l+"_tInter",(()=>{if(i>=e.length)return a.dispatchStart=!1,void Bt.c(l+"_tInter");"message"==t?A(e[i]):"notification"==t?o(e[i]):"toast"==t?n(e[i]):"flash"==t&&u(e[i]),i++}),"toast"==t?2e3:500)},N=(e,t)=>{const l=[],a=[];for(let i=0;i<e.length;i++)e[i].attentionType===t&&(l.push(e[i]),a.push(i));for(let t=a.length-1;t>=0;t--)e.splice(a[t],1);return l},O=k(!1),M=()=>{i.destroy()},I=m((()=>ce("cpt-dispatcher",{offset:x.value})));return fe((()=>{O.value=!0})),t({hide:()=>{O.value=!1},closeDispatcher:M}),(t,l)=>he((r(),g("div",{class:T(`tui-attention-dispatcher-wrap attdis-${e.id} attdis-${d(B).length>0?"queue":"noQueue"} attdis-pos-${d(C)} attdis-${d(q)?"visible":"invisible"}`),style:re(I.value)},[ne(Be,{name:"fade",class:"attention-icon-transition"},{default:_((()=>[he(s("div",Hr,[l[0]||(l[0]=s("i",{class:"tui-icon ti-bell"},null,-1)),s("span",Qr,G(d(B).length),1)],512),[[Te,d(B).length>0]])])),_:1}),he(s("div",Ur,[s("p",null,"messageCounter:"+G(a.messageCounter),1),s("p",null,"notificationCounter:"+G(a.notificationCounter),1),s("p",null,"toastShow:"+G(a.toastShow),1),s("p",null,"falshShow:"+G(a.falshShow),1),s("p",null,"falshQueue:"+G(a.falshQueue),1),s("p",null,"attentionOn:"+G($.value),1),s("p",null,"currentChannel:"+G(d(S)),1),s("p",null,"queueLenght:"+G(d(B).length),1)],512),[[Te,d(w)]])],6)),[[Te,O.value]])}});let jt=null;const Kr=(e,t)=>{if(jt)return;const{$tService:l}=t.config.globalProperties,{$optFloaterTo:a}=l,i=e.appendTo||a.value,A=document.createElement("div"),o=Ce("attdispdir"),n=()=>{jt?.component.exposed.hide(),jt=null,setTimeout((()=>{at(null,A)}),500)};return jt=qt(Yr,{id:o,destroy:n,tuiService:l,globalProperties:t.config.globalProperties}),at(jt,A),(je.el(i)||je.el("#tuiRoot")).appendChild(A.firstElementChild),{destroy:n}},Xr=()=>{jt.component.exposed.closeDispatcher()},Zr={install(e){e.config.globalProperties.$tMessage=t=>br(t,e),e.config.globalProperties.$tMessageCloseAll=()=>Vr(),e.config.globalProperties.$tNotify=t=>Rr(t,e),e.config.globalProperties.$tNotifyCloseAll=()=>zr(),e.config.globalProperties.$tToast=t=>Wr(t,e),e.config.globalProperties.$tToastClose=()=>on(),e.config.globalProperties.$tFlash=t=>sn(t,e),e.config.globalProperties.$tFlashClose=()=>{0!=ft.length&&(ft.splice(0),fl?.destroy(),Mt.component.exposed.closeFlash())},e.config.globalProperties.$tAttentionDispatcher=t=>Kr(t,e),e.config.globalProperties.$tAttentionDispatcherClose=()=>{jt.component.exposed.closeDispatcher()}}},Jr={class:"loading-inner"},eA={key:0,class:"svg-icon spinner-full"},tA={class:"desc"},rn=Object.assign({name:"TuiLoadingFull"},{__name:"LoadingFull",props:{size:Number,color:String,update:Boolean,zIndex:Number,tuiService:Object,tMask:Function,tMaskClose:Function,destroy:Function,dynamicRender:{type:Boolean,default:!1},desc:{type:String,default:""},modelValue:{type:Boolean,default:!0},appendTo:{type:String,default:null}},emits:["update:modelValue"],setup(e,{expose:t,emit:l}){const{proxy:a}=Ue(),{$tState:i,$tService:A,$tMask:o,$tMaskClose:n}=a,d=k(!1),u=Ce("loadFull"),c=e,p=l,v=k(!0),f=m((()=>c.modelValue)),h=m((()=>c.dynamicRender?c.tMask:o)),y=m((()=>c.dynamicRender?c.tMaskClose:n)),V=m((()=>c.dynamicRender?c.tuiService:A)),b=m((()=>V.value.$tState.spinnerConfig)),w=m((()=>c.color||b.value.full.color)),x=m((()=>c.size||b.value.full.size)),C=m((()=>ce("cpt-lodf",{...w.value&&{color:w.value},...x.value&&{size:x.value+"px"},...c.zIndex&&{zIndex:c.zIndex}}))),S=m((()=>c.desc?c.desc:V.value.i18n("common.loading"))),B=(e=!0)=>{e&&p("update:modelValue",!1),y.value?.(u),d.value=!1,c.dynamicRender&&se.s(u+"_tiInst",(()=>{c.destroy?.()}),1e3)};return fe((()=>{F(f,(e=>{e?(d.value=!0,se.c(u+"_ti"),h.value?.({owner:u,appendTo:c.appendTo,modelValue:!0,position:"fixed"})):B(!1)}),{immediate:!0}),v.value=!1,c.color&&c.update&&(b.value.full.color=c.color),c.size&&c.update&&(b.value.full.size=c.size),je.el("#styleSpinners")||V.value.initSpinner()})),Ct((()=>{se.c(u+"_ti"),se.c(u+"_tiInst")})),tt((()=>{v.value=!0})),t({destroy:()=>B()}),(t,l)=>!v.value||e.dynamicRender?(r(),Y(mt,{key:0,to:e.appendTo,disabled:v.value||e.dynamicRender||!e.appendTo,fallback:"#app"},[ne(Be,{name:"fade"},{default:_((()=>[d.value||e.dynamicRender?he((r(),g("div",{key:0,class:T(["tui-loading-full",""+(d.value?"loading-ani-on":"loading-ani-off")]),style:re(C.value)},[s("div",Jr,[d.value||e.dynamicRender?(r(),g("i",eA)):q("",!0),s("div",tA,G(S.value),1)])],6)),[[Te,d.value]]):q("",!0)])),_:1})],8,["to","disabled"])):q("",!0)}});let ot=null;const lA=e=>{let t=null;return"string"==ze(e.appendTo)?t=je.el(e.appendTo):"htmldivelement"==ze(e.appendTo)&&(t=e.appendTo),t||je.el("#app")},aA=e=>({close:()=>un(),update:(t={})=>An(t,e)}),An=(e={},t)=>{const{$tService:l,$tMask:a,$tMaskClose:i}=t.config.globalProperties;if(!ot){const e=document.createElement("div");ot={container:e,destroy:()=>{at(null,e),ot=null},controller:aA(t),options:{},rootDom:null}}ot.options={...ot.options,...e},ot.rootDom=lA(ot.options);const A=qt(rn,{...ot.options,modelValue:ot.options.modelValue??ot.options.visible??!0,destroy:ot.destroy,dynamicRender:!0,tuiService:l,tMask:a,tMaskClose:i,appendTo:null});at(A,ot.container);const o=ot.container.firstElementChild||ot.container._vnode?.el;return o&&ot.rootDom&&o.parentNode!==ot.rootDom&&ot.rootDom.appendChild(o),ot.controller},un=()=>{ot&&ot.container?._vnode?.component?.exposed?.destroy?.()},nA={install(e){e.config.globalProperties.$tLoading=t=>An(t,e),e.config.globalProperties.$tLoadingClose=()=>un()}},dn=Object.assign({name:"TuiMask"},{__name:"index",props:{modelValue:{type:Boolean,default:!1},dynamicRender:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},mode:{type:String,default:"full",validator:e=>["full","area"].includes(e)},areaColorReverse:{type:Boolean,default:!1},areaBorderRadius:Number,areaBlur:{type:String,default:"auto",validator:e=>["auto","always","none"].includes(e)},appendTo:[String,Object],destroy:Function,click:Function,tuiService:Object,zIndex:Number,transition:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(e,{expose:t,emit:l}){const{proxy:{$tState:a,$tService:i}}=Ue(),A=e,o=l,n=k(!1),s=m((()=>A.modelValue));F(s,(e=>{oe((()=>{n.value=e}))}),{immediate:!0});const d=()=>{A.click?.()},u=m((()=>ce("cpt-msk",{...A.zIndex&&{zIndex:A.zIndex},...A.areaBorderRadius&&{bdra:A.areaBorderRadius+"px"}}))),c=m((()=>A.dynamicRender?A.tuiService:i)),p=m((()=>c.value.$tState.globalConfig.maskBlur));return fe((()=>{})),t({destroy:()=>((e=!0)=>{e&&o("update:modelValue",!1),n.value=!1,se.s("maskInst",(()=>{A.destroy?.()}),500)})()}),(t,l)=>(r(),Y(Be,{name:"fade",disabled:!e.transition},{default:_((()=>[!e.dynamicRender&&s.value||e.dynamicRender?he((r(),g("div",{key:0,class:T(["tui-mask","tui-bg-"+(p.value?"blur":"trans"),"tui-mask-"+(e.modal?"on":"off"),`tui-mask-${e.mode}`,"area"==e.mode&&"tui-bg-"+(e.areaColorReverse?"reverse":"normal"),"area"==e.mode?`tui-area-blur-${e.areaBlur}`:"test"]),onClick:d,style:re(u.value)},null,6)),[[Te,e.dynamicRender&&n.value||!e.dynamicRender]]):q("",!0)])),_:1},8,["disabled"]))}});let et=null;const oA=(e,t)=>{const{$optFloaterTo:l}=t,a=e.appendTo||l.value;return je.el(a)||je.el("#tuiRoot")},iA=e=>({close:e=>fn(e),update:(t={})=>cn(t,e)}),cn=(e={},t)=>{const{$tService:l}=t.config.globalProperties,a=e.owner||e.source||null;if(!et){const e=document.createElement("div"),l=()=>{at(null,e),et=null},i=iA(t);et={container:e,app:t,destroy:l,controller:i,owner:a,options:{},rootDom:null}}et.owner=a,et.options={...et.options,...e},et.rootDom=oA(et.options,l);const i=qt(dn,{...et.options,modelValue:et.options.modelValue??et.options.visible??!0,tuiService:l,destroy:et.destroy,dynamicRender:!0});at(i,et.container);const A=et.container.firstElementChild||et.container._vnode?.el;return A&&et.rootDom&&A.parentNode!==et.rootDom&&et.rootDom.appendChild(A),et.controller},fn=(e=null)=>{!et||e&&et.owner&&e!==et.owner||et.container?._vnode?.component?.exposed?.destroy?.()},sA={install(e){e.config.globalProperties.$tMask=t=>cn(t,e),e.config.globalProperties.$tMaskClose=e=>fn(e)}},rA=["id"],AA=Object.assign({name:"TuiPopinst"},{__name:"popinst",props:{...Fl,popinstSize:Number,content:String,showTrigger:{type:Boolean,default:!0}},setup(e,{expose:t}){const l=Ve({index:0,id:"",x:0,y:0}),a=e,{$optFloaterTo:i}=a.tuiService;m((()=>a.appendTo||i.value));const A=m((()=>{const{popinstSize:e,showTrigger:t,popPanelConfig:l,...i}=a;return{...i,popPanelConfig:{...l||{},closeOnClickOutside:!1,maxInstances:l?.maxInstances??a.tuiService?.$popoverConfig?.value?.maxLength??5}}})),o=m((()=>a.appearance)),n=k(!1),d=k(!1),u=k(null),c=()=>{let e=a.instances.findIndex((e=>e.component.props.id===a.id));l.index=e};F((()=>a.instances),(()=>{c()}),{deep:!0});const p=m((()=>ce("cpt-pinst",{...a.zIndex&&{zIndex:a.zIndex},...a.popinstSize&&{size:a.popinstSize+"px"},x:l.x+"px",y:l.y+"px"})));return fe((()=>{const{offsetX:e,offsetY:t}=a.event;l.x=e,l.y=t,c(),n.value=!0,d.value=!0})),t({hide:()=>{d.value=!1,se.c("leave-"+a.id)},updateIndex:c,closePopinst:(e,t=!1)=>{se.c(a.id),a.destroy(t)}}),(t,i)=>(r(),g(J,null,[ne(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["tui-popinst",`popinst-${t.type}`,`popinst-${t.id}`,`popinst-index-${l.index}`,"popinst-"+(t.transparent?"trans":"plain"),"popinst-"+(e.showTrigger?"showTrigger":"hideTrigger"),t.className]),ref_key:"popinstRef",ref:u,style:re(p.value),id:"popinst-"+t.id},null,14,rA),[[Te,d.value]])])),_:1}),n.value?(r(),Y(it("popTip"==o.value&&Ql||"popInfo"==o.value&&Hl),Pe({key:0},A.value,{id:t.id,defaultOn:!0,eventTarget:u.value}),{content:_((()=>[(r(),Y(it(a.component)))])),_:1},16,["id","eventTarget"])):q("",!0)],64))}}),zt=Ve([]),uA=(e,t)=>{const{autoClose:l=!0,disabled:a=!1}=e;if(a)return;const{$tService:i}=t.config.globalProperties,{$popoverConfig:A}=i,o=A.value||{},n=e.duration??o.duration??5e3,s=e.appearance??o.appearance??"popTip",r=e.maxLength??o.maxLength??5,d=e.event.target;let u=d;if(d){const{target:t,currentTarget:l}=e.event;if(t!=l)return}let c=null,p=!1,g=!1;const v=document.createElement("div"),f=Ce("popInstDir");v.id=f+"_wrap",v.className="popinst-outer";const m=(t=!1)=>{if(p)return;p=!0,g=!1,se.c(f+"_autoH");const l=zt.indexOf(c);-1!==l&&!t&&zt.splice(l,1),at(null,v),u?.contains?.(v)&&u.removeChild(v),ze(e.onClose).includes("function")&&e.onClose()},h=(e=!1,t=!1)=>{if(!p&&!g){if(g=!0,t)return void m(e);c?.component?.exposed?.hide?.(),setTimeout((()=>m(e)),500)}};return zt.length>=r&&dA(),c=qt(AA,{...e,duration:n,appearance:s,id:f,destroy:h,tuiService:i,instances:zt}),zt.push(c),u.appendChild(v),at(c,v),l&&se.s(f+"_autoH",(()=>h()),n),{destroy:h}},dA=()=>{const e=zt[0];e&&e.component.exposed.closePopinst(null,!0)},cA=()=>{zt.length>0&&[...zt].forEach((e=>{e.component.exposed.closePopinst(null,!0)}))},fA={install(e){e.config.globalProperties.$tPopover=t=>uA(t,e),e.config.globalProperties.$tPopoverCloaseAll=()=>{zt.length>0&&[...zt].forEach((e=>{e.component.exposed.closePopinst(null,!0)}))}}},pA={class:"tui-control-panel",id:"controlPanel"},gA={class:"panel-title"},hA={class:"desc"},vA={class:"panel-content"},mA={class:"item-title"},yA={class:"item-content"},bA={class:"color-view"},VA=Object.assign({name:"TuiControlPanel"},{__name:"index",setup(e){const{proxy:{isActAdvFeatures:t}}=Ue(),{$tState:l,$t3dConfig:a,themeToggle:i,switchLang:A,$globalConfig:o,i18n:n,tConsolei18n:u,$deviceInfo:c,$gLang:p,$gLocaleReady:v}=me("$global",null),f=m((()=>l.controlPanel.modal)),h=m((()=>l.controlPanel.width)),y=k(!1),V=k([]),b=[{label:"简中",value:"zh-CN"},{label:"繁中",value:"zh-TW"},{label:"EN",value:"en"}],w=b.map((e=>e.value)),x=()=>({lang:!1,langs:w,...l.controlPanel.options||{}}),C=()=>{const{langs:e}=x(),t=b.filter((t=>e.includes(t.value)));return t.length>0?t:b},S=()=>{const e=x(),t=t=>!1!==e[t];return[{label:"theme",hide:!t("theme"),value:"light",type:"theme",children:[],title:n("controlPanel.label.theme")},{label:"lang",hide:!t("lang"),type:"radio",value:"zh-CN",title:n("controlPanel.label.lang"),children:C()},{label:"t3D",hide:!t("t3D"),type:"switch",value:!0,title:n("controlPanel.label.t3D")},{label:"maskBlur",hide:!t("maskBlur"),type:"switch",value:!0,title:n("controlPanel.label.maskBlur")},{label:"transition",hide:!t("transition"),type:"switch",value:!0,title:n("controlPanel.label.transition")},{label:"sound",hide:!t("sound"),type:"switch",value:!0,title:n("controlPanel.label.sound")},{label:"adaptive",hide:!t("adaptive"),type:"radio",value:"extension",title:n("controlPanel.label.adaptive"),children:[{label:n("controlPanel.label.ad_extension"),value:"extension"},{label:n("controlPanel.label.ad_flexible"),value:"flexible"},{label:n("controlPanel.label.ad_fixed"),value:"fixed"},{label:n("controlPanel.label.ad_stretch"),value:"stretch"},{label:n("controlPanel.label.ad_disabled"),value:"disabled"}]},{label:"floaterTo",hide:!t("floaterTo"),type:"radio",value:"#tuiAdpt",title:n("controlPanel.label.floaterTo"),children:[{label:n("controlPanel.label.ft_adpt"),value:"#tuiAdpt"},{label:n("controlPanel.label.ft_root"),value:"#tuiRoot"}]},{label:"resizeBy",hide:!t("resizeBy"),type:"radio",value:"self",title:n("controlPanel.label.resizeBy"),children:[{label:n("controlPanel.label.rb_self"),value:"self"},{label:n("controlPanel.label.rb_root"),value:"root"}]},{label:"background",hide:!t("background"),type:"radio",value:"all",title:n("controlPanel.label.background"),children:[{label:n("controlPanel.label.bg_all"),value:"all"},{label:n("controlPanel.label.bg_view"),value:"view"},{label:n("controlPanel.label.bg_root"),value:"root"},{label:n("controlPanel.label.bg_none"),value:"none"}]},{label:"menuTrigger",hide:!t("menuTrigger"),type:"radio",value:"click",title:n("controlPanel.label.menuTrigger"),children:[{label:n("controlPanel.label.mt_click"),value:"click"},{label:n("controlPanel.label.mt_hover"),value:"hover"}]}]},B=()=>{const e=l.controlPanel.extension;z.visibleItems=[],z.settings.forEach(((e,t)=>{let l=o.value[e.label];typeof l<"u"&&(e.value=l),e.hide||z.visibleItems.push(e.label)})),z.visibleItems=[...new Set(z.visibleItems)];let t=["label","type","value","title","tipContent"];e.forEach(((e,l)=>{if(t.every((t=>t in e))){if(!z.visibleItems.includes(e.label)){let t=o.value[e.label];typeof t<"u"&&(e.value=t),z.settings.push(e)}}else u("warning","controlExtension","warn.controlExtension")}))},$=()=>{let e=gl.loadIndex();e&&e.length>0&&(e.forEach((e=>{e.label=n(`theme.${e.value}`)+" - "+n(`theme.${e.scheme}`)})),R({label:"theme",key:"children",value:e}),1==e.length&&R({label:"theme",key:"hide",value:!0}))},z=Ve({visibleItems:[],settings:S(),drawerConfig:{direction:"rtl",padding:0,zIndex:3e3,showClose:!1}}),R=e=>{const{label:t,key:l,value:a}=e,i=z.settings.find((e=>e.label===t));i?i[l]=a:console.error(`Error: Item with label '${t}' not found.`)},N=()=>{const e=S(),t=new Set(e.map((e=>e.label))),l=new Map(z.settings.map((e=>[e.label,e])));e.forEach((e=>{const t=l.get(e.label);t&&(e.value=t.value,"theme"===e.label&&Array.isArray(t.children)&&t.children.length>0&&(e.children=t.children))}));const a=z.settings.filter((e=>!t.has(e.label)));z.settings=[...e,...a],z.visibleItems=[]},O=async(e,t)=>{if("theme"==t.type){let l=t.children.filter((t=>t.value==e))[0];i(e,l.scheme)}else"lang"==t.label?await A(e):l.globalConfig[t.label]=e};F((()=>l.controlPanel.visible),(e=>{y.value=e,e&&(N(),B(),$())})),F((()=>l.adaptiveConfig.inited),(e=>{const t=!1!==x().adaptive;if(e)R({label:"adaptive",key:"hide",value:!t});else{if(l.adaptiveConfig.ready)return;R({label:"adaptive",key:"hide",value:!0})}}),{immediate:!0}),F((()=>l.globalConfig.adaptive),(e=>{const t=!1!==x().floaterTo;"disabled"!=e&&t?R({label:"floaterTo",key:"hide",value:!1}):(R({label:"floaterTo",key:"hide",value:!0}),V.value.forEach((e=>e.scrollTo(0,!1))))}),{immediate:!0}),F([()=>p.value,()=>v.value],(([,e])=>{e&&(N(),B(),$())}),{immediate:!0}),F((()=>c.value.browser),(e=>{const t=!1!==x().transition;R("webkit"==e&&t?{label:"transition",key:"hide",value:!1}:{label:"transition",key:"hide",value:!0})})),F((()=>a.value.inited),(e=>{const t=!1!==x().t3D;R(e&&t?{label:"t3D",key:"hide",value:!1}:{label:"t3D",key:"hide",value:!0})})),F((()=>y.value),(e=>{e||(l.controlPanel.visible=!1)}));const M=()=>{y.value=!1,l.controlPanel.visible=!1},I=e=>n(`controlPanel.tip.${e.label}`);return St((()=>{M()})),fe((()=>{t||R({label:"t3D",key:"hide",value:!0}),N(),B(),$()})),(e,t)=>{const a=be("TuiPopTip"),i=be("TuiRadioItem"),A=be("TuiRadio"),o=be("TuiVirtualScroller"),u=be("TuiToggle"),c=be("TuiDrawer");return r(),Y(c,Pe({modelValue:y.value,"onUpdate:modelValue":t[0]||(t[0]=e=>y.value=e)},z.drawerConfig,{modal:f.value,size:h.value}),{default:_((()=>[s("div",pA,[s("div",gA,[s("span",hA,G(d(n)("controlPanel.title")),1),s("span",{class:"panel-close",onClick:M},[...t[1]||(t[1]=[s("i",{class:"tui-icon ti-times"},null,-1)])])]),s("div",vA,[(r(!0),g(J,null,ke(z.settings,((e,n)=>(r(),g(J,null,[e.hide?q("",!0):(r(),g("div",{key:0,class:T(`item-group group-${e.type}`)},[s("div",mA,[Re(G(e.title||e.label)+" ",1),ne(a,{content:e.tipContent||I(e),maxWidth:h.value-20,placement:"top",zIndex:9e3,delay:500},{default:_((()=>[...t[2]||(t[2]=[s("i",{class:"tui-icon ti-info-circle"},null,-1)])])),_:1},8,["content","maxWidth"])]),s("div",yA,["theme"==e.type?(r(),Y(A,{key:0,class:"radio-theme",defaultIcon:!1,onChange:t=>O(t,e),modelValue:e.value,"onUpdate:modelValue":t=>e.value=t},{default:_((()=>[(r(!0),g(J,null,ke(e.children,((e,l)=>(r(),Y(i,{value:e.value||e.label,key:e.label},{default:_((()=>[ne(a,{content:e.label,maxWidth:h.value-20,delay:500,zIndex:9e3},{default:_((()=>[s("div",bA,[t[3]||(t[3]=s("i",{class:"tui-icon ti-check"},null,-1)),(r(!0),g(J,null,ke(e.colors,((e,t)=>(r(),g("div",{class:"color-item",style:re(`background-color:${e}`),key:e.label},null,4)))),128))])])),_:2},1032,["content","maxWidth"])])),_:2},1032,["value"])))),128))])),_:2},1032,["onChange","modelValue","onUpdate:modelValue"])):q("",!0),e.children?.length>2&&"radio"==e.type?(r(),Y(o,{key:1,ref_for:!0,ref_key:"scrollerRef",ref:V,border:"auto",controlType:"button",buttonSize:"small",showPagination:!1},{default:_((()=>[ne(A,{size:"small",defaultIcon:!1,appearance:"button",onChange:t=>O(t,e),modelValue:e.value,"onUpdate:modelValue":t=>e.value=t},{default:_((()=>[(r(!0),g(J,null,ke(e.children,((e,t)=>(r(),Y(i,{value:e.value||e.label,key:e.label},{default:_((()=>[Re(G(e.label),1)])),_:2},1032,["value"])))),128))])),_:2},1032,["onChange","modelValue","onUpdate:modelValue"])])),_:2},1536)):q("",!0),e.children?.length<=2&&"radio"==e.type?(r(),Y(A,{key:2,size:"small",defaultIcon:!1,appearance:"button",onChange:t=>O(t,e),modelValue:e.value,"onUpdate:modelValue":t=>e.value=t},{default:_((()=>[(r(!0),g(J,null,ke(e.children,((e,t)=>(r(),Y(i,{value:e.value||e.label,key:e.label},{default:_((()=>[Re(G(e.label),1)])),_:2},1032,["value"])))),128))])),_:2},1032,["onChange","modelValue","onUpdate:modelValue"])):q("",!0),"switch"==e.type?(r(),Y(u,{key:3,onChange:t=>(e=>{l.globalConfig[e.label]=e.value})(e),modelValue:e.value,"onUpdate:modelValue":t=>e.value=t,appearance:"toggleRect",size:"small"},null,8,["onChange","modelValue","onUpdate:modelValue"])):q("",!0)])],2))],64)))),256))])])])),_:1},16,["modelValue","modal","size"])}}}),wA=e=>{const{chart:t,common:l,scroll:a,font:i,scifi:A}=e,{bg:o,bd:n,bg_layer:s,bd_layer:r}=l,{track:d,thumb:u,track_layer:c,thumb_layer:p}=a,{line:{weak:g,base:v,strong:f},bubble:{fc:m,bg:h,hlite:y},map:{fc:V,fc_hov:b,fc_act:q,bg:w,bd:k,bg_hov:x,bd_hov:C,bg_act:S,bd_act:T,glow:B,shadow:$},palette:z,visual:R}=t,{hlite:N,focus:O}=A,{weaker:_,weak:M,base:I,strong:P,stronger:D}=i;let G=We.scale(z,6,"lch");const E={color:G,textStyle:{},title:{textStyle:{color:I},subtextStyle:{color:M}},line:{label:{color:"inherit",textBorderColor:o,textBorderWidth:5},itemStyle:{borderWidth:"2"},lineStyle:{width:"3"},symbolSize:"7",symbol:"emptyCircle",smooth:!0},radar:{splitLine:{lineStyle:{show:!0,color:v,type:"dashed"}},axisLine:{show:!0,lineStyle:{color:v,type:"dashed"}},axisName:{show:!0,color:I},splitArea:{areaStyle:{color:[g,o]}},symbolSize:"7",symbol:"emptyCircle",markLine:{label:{color:"inherit",textBorderColor:o,textBorderWidth:5}},smooth:!0},sunburst:{itemStyle:{borderColor:g,borderWidth:2},levels:[{},{itemStyle:{borderColor:g,borderWidth:2}}]},bar:{label:{color:I},itemStyle:{barBorderWidth:0,barBorderColor:g},markLine:{label:{color:"inherit",textBorderColor:o,textBorderWidth:5}}},pie:{label:{color:I},itemStyle:{borderWidth:0,borderColor:o}},scatter:{label:{show:!0,color:m},emphasis:{labele:{fontWeight:"bold"}},itemStyle:{color:{type:"radial",x:.3,y:.3,r:.5,colorStops:[{offset:0,color:y},{offset:1,color:h}],global:!1},borderWidth:0,borderColor:g}},boxplot:{itemStyle:{borderWidth:0,borderColor:g}},parallel:{itemStyle:{borderWidth:0,borderColor:g}},sankey:{itemStyle:{borderWidth:0,borderColor:g}},funnel:{itemStyle:{borderWidth:0,borderColor:g}},gauge:{itemStyle:{borderWidth:0,borderColor:f},axisLine:{show:!0,lineStyle:{color:[[1,g]]}},axisTick:{show:!0,lineStyle:{color:f}},axisLabel:{show:!0,color:I},splitLine:{show:!0,lineStyle:{color:f}},detail:{color:I}},graph:{itemStyle:{borderWidth:0,borderColor:g},lineStyle:{width:1,color:v},symbolSize:"7",symbol:"circle",smooth:!0,color:G,label:{color:I}},map:{itemStyle:{areaColor:w,borderColor:k,borderWidth:.5},label:{color:I},emphasis:{itemStyle:{areaColor:x,borderColor:k,borderWidth:1},label:{color:I}}},geo:{scaleLimit:{min:.5,max:7},itemStyle:{areaColor:w,borderColor:k,shadowColor:$,shadowOffsetY:0,shadowBlur:5,borderWidth:.5},label:{show:!0,fontSize:12,color:V},emphasis:{itemStyle:{areaColor:x,borderColor:C,borderWidth:1},label:{fontSize:14,color:b}},select:{itemStyle:{areaColor:S,borderColor:T,borderWidth:1},label:{fontSize:14,color:q}}},categoryAxis:{axisLine:{show:!0,lineStyle:{color:v}},splitLine:{show:!1,lineStyle:{color:g}},axisTick:{show:!1,lineStyle:{color:g}},axisLabel:{show:!0,color:I},splitArea:{show:!1}},valueAxis:{nameTextStyle:{color:M},axisLine:{show:!0,lineStyle:{color:v}},axisTick:{show:!1,lineStyle:{color:g}},axisLabel:{show:!0,color:I},splitLine:{show:!0,lineStyle:{color:g}},splitArea:{show:!1}},logAxis:{axisLine:{show:!0,lineStyle:{color:v}},axisTick:{show:!1,lineStyle:{color:g}},axisLabel:{show:!0,color:I},splitLine:{show:!1,lineStyle:{color:g}},splitArea:{show:!1}},timeAxis:{axisLine:{show:!0,lineStyle:{color:v}},axisTick:{show:!1,lineStyle:{color:g}},axisLabel:{show:!0,color:I},splitLine:{show:!1,lineStyle:{color:g}},splitArea:{show:!1}},toolbox:{iconStyle:{borderColor:I},emphasis:{iconStyle:{borderColor:P}}},legend:{y:"bottom",x:"center",textStyle:{color:I},itemStyle:{borderColor:"transparent",borderWidth:1,opacity:1}},tooltip:{backgroundColor:o,textStyle:{color:I},axisPointer:{lineStyle:{color:I,width:1},crossStyle:{color:I,width:1}}},timeline:{symbol:"circle",progress:{itemStyle:{color:N,borderColor:"white",borderWidth:0},lineStyle:{color:N,shadowColor:"rgba(0, 0, 0, 0)"}},lineStyle:{color:O,width:1,shadowColor:"rgba(0, 0, 0, 0)"},itemStyle:{color:O,borderColor:"white",borderWidth:0},controlStyle:{color:_,borderColor:"white",borderWidth:0},checkpointStyle:{symbol:"circle",color:N,borderColor:"white",borderWidth:0,shadowColor:"rgba(0, 0, 0, 0)"},label:{color:I},emphasis:{itemStyle:{color:O},controlStyle:{color:I,borderWidth:0},label:{color:P}}},visualMap:{color:We.scale(R,4,"lch"),textStyle:{color:I},zlevel:10},dataZoom:{backgroundColor:o,fillerColor:We.fade(N,.1),borderColor:n,handleStyle:{color:s,borderColor:We.darken(r,.7)},dataBackground:{lineStyle:{color:O},areaStyle:{color:We.fade(O,.5)}},moveHandleSize:7,moveHandleStyle:{color:u},brushStyle:{color:O},textStyle:{color:I}}};return JSON.stringify(E)};async function qA(e,t){if(t)try{const l=JSON.parse(wA(t));e.registerTheme("eTheme",l)}catch(e){console.error("registerEchartsTheme: Failed to register theme",e)}else console.warn("registerEchartsTheme: themePalette is required!")}const CA=async()=>{const e=gl.load();return e.length>0?e:(await import("@techui/themes/lightBlue"),gl.load()||[])};function pn(e,t="",l={}){for(let a in e)if(e.hasOwnProperty(a)){let i=t?`${t}-${a}`:`--${a}`;"object"!=typeof e[a]||Array.isArray(e[a])?l[i]=e[a]:pn(e[a],i,l)}return l}const $A=e=>{const t=["bg","bd","weakest","weaker","weak","base","strong","stronger","strongest"],l=[.1,.2,.3,.4,.5,.6,.7,.8,.9];for(let a in e)CSS.supports("color",e[a])&&t.includes(a)&&l.forEach((t=>{const l=`${a}_op${10*t}`,i=We.fade(e[a],t);CSS.supports("color",i)&&(e[l]=i)}))},kA=(e,t,l)=>{let a=ut.dpc(l);const i=["common","button","input","tone","primary","success","info","warning","danger","emphasis"];for(let e in a)i.includes(e)&&$A(a[e]);let A=`color-scheme: ${e};${JSON.stringify(pn(a)).replace(/{|}|"/g,"").replace(/,--/g,";--")}`;il("Theme",t,`:root{${A}}`)},SA=(e={})=>{const{threshold:t=15,resetInterval:l=1e3,onTrigger:a=(()=>{})}=e,i=Ce("clickWatch"),A=k(0);let o=0;const n=e=>{const i=(new Date).getTime();i-o>l&&(A.value=0),A.value++,o=i,A.value>=t&&(a(),A.value=0)};return fe((()=>{xe.add(window,"contextmenu",n,i,!1,!1),xe.add(window,"touchstart",n,i,!1,!1)})),Ct((()=>{xe.remove(window,"contextmenu",i,!1,!1),xe.remove(window,"touchstart",i,!1,!1)})),{clickCount:A}},TA=Object.assign({name:"TuiProvider"},{__name:"index-scifi",setup(e){const{proxy:t,proxy:{$tBus:l,$tState:a,$tService:i,$echarts:A,isActAdvFeatures:o,isActEchartsFeatures:n,isActAdminFeatures:s,$tPopover:u,$tPopoverCloaseAll:c,$tMask:p,$tMaskClose:v,$tLoading:f,$tLoadingClose:m,$tMessage:h,$tMessageCloseAll:y,$tNotify:V,$tNotifyCloseAll:b,$tToast:w,$tToastClose:x,$tFlash:C,$tFlashClose:S,$tAttentionDispatcher:B,$tAttentionDispatcherClose:$}}=Ue(),{$gVersion:z,$globalConfig:R,$globalState:N,$globalParams:O,$viewTrans:_,$gPlatform:M,$deviceInfo:I,$gMaskBlur:P,$gTheme:D,$gThemeScheme:G,initI18n:E,getSysLang:W,cryptoStore:j,initBG:L,resetBG:Y,$gBackground:H,resetAdaptiveConfig:Q,$adptInited:U,$gTransition:J,$gLocaleReady:X}=i;SA({threshold:19,resetInterval:200,onTrigger:()=>{Yo()}});const Z=ja(),ee=jl(),te=k(!1),le=k(!1),ae=k(!1),ie=Ce("provider");F((()=>a.globalConfig.theme),((e,t)=>{Ve(e)})),F((()=>D.value),(e=>{ll.replace(je.el("body"),"theme-",e)}),{immediate:!0}),F((()=>G.value),(e=>{ll.replace(je.el("body"),"theme-scheme-",e)}),{immediate:!0}),F((()=>a.globalConfig.maskBlur),(e=>{ll.replace(je.el("body"),"mask-",e?"blur":"trans")}),{immediate:!0}),F((()=>a.globalConfig.adaptive),(e=>{"disabled"!=e||!U.value||Q()}),{immediate:!0}),F((()=>a.globalConfig),(e=>{j.s("local","globalConfig",e)}),{deep:!0}),F((()=>H.value),(e=>{ae.value&&("none"!=e?L(null,"watch-$gBackground"):Y())})),F((()=>a.backgroundConfig),(()=>{"none"!=H.value&&L(null,"watch-backgroundConfig")}),{deep:!0});const Ae=async()=>{le.value||!ae.value||(Q(),le.value=!0,await oe(),le.value=!1)},se=()=>{window.location.reload()};window.softReload=Ae,window.hardReload=se;const re=()=>{const{type:e,h:t,v:l,touchable:i,orientation:A,screenInvert:o,browser:n}=Mn();a.deviceInfo={type:e,resolutionH:t,resolutionV:l,touchable:i,orientation:A,screenInvert:o,browser:n}},de=(e,t="push")=>{const l={...ee.query,...e};"push"===t?Z.push({query:l}):Z.replace({query:l})},ue=e=>e?Array.isArray(e)?e.reduce(((e,t)=>(e[t]=ee.query[t],e)),{}):ee.query[e]:ee.query,pe=e=>{const t=e?.meta?.order;return"number"==ze(t)?t:-1},ge=async({path:e,query:t,transTarget:l=null,transName:a=null,transDur:i=null,useOrder:A=!1,waitReady:o=!1,from:n=null})=>{if(ee.path==e)return;if(a||l||i){let e;"layout"==l&&(e=_.value.altNames.layout),me(l,a||e,i)}if(A){const t=Z.currentRoute.value,l=pe(t),a=Z.resolve(e),i=pe(a);if(l>-1&&i>-1){const{altNames:{routerPre:e,routerNxt:t}}=_.value;i>l?me(null,t):i<l&&me(null,e)}}await oe();const s=o?En():null;ta({callback:async()=>{await Z.push({path:e,query:t}),await oe(),o&&await s},enable:J.value,complete:()=>{me()}})},ve=async(e,t)=>{!e||!t||(me("root",_.value.altNames.theme),await oe(),ta({callback:()=>{a.globalConfig.theme=e,a.globalConfig.themeScheme=t},enable:!0,complete:()=>{me()}}))},me=(e=null,t=null,l=null)=>{t&&(_.value.curName=t),e&&(_.value.curTarget=e),l&&(_.value.curDur=l),!t&&!e&&!l&&(_.value.curName=_.value.altNames.common,_.value.curTarget=_.value.altTarget,_.value.curDur=_.value.altDur),ye()},ye=()=>{const{blurSaturate:e,blurRange:t,initDur:l}=O.value,{curTarget:a,curName:i,curDur:A}=_.value;let o=ce("tui-global",{[`transi-${a}`]:i,"blur-satur":e,"blur-range":t+"px","init-dur":l+"s","transi-dur":A+"s"});il("GlobalParams",`vtName-${i};vtTraget-${a}`,`:root{${o}}`)},Ve=async e=>{n&&(N.value.echartsThemeInited=!1);let t=e,l=await CA(),i=l.find((e=>e.value===t));!i&&l.length>0&&(i=l[0],t=i.value,R.value.theme=i.value,R.value.themeScheme=i.scheme),a.themePalette=i.data,kA(G.value,t,i.data),ae.value||(ae.value=!0,N.value.themeInited=!0),L(null,"processTheme"),(async e=>{n&&A&&(await qA(A,e),N.value.echartsThemeInited=!0)})(i.data)};St((async()=>{Ke("$global",{$tBus:l,proxy:t,updateRouteQuery:de,getRouteQuery:ue,routerTransition:ge,themeToggle:ve,...i,softReload:Ae,hardReload:se,$tBus:l,$tState:a,$tService:i,$echarts:A,isActAdvFeatures:o,isActEchartsFeatures:n,isActAdminFeatures:s,$tPopover:u,$tPopoverCloaseAll:c,$tMask:p,$tMaskClose:v,$tLoading:f,$tLoadingClose:m,$tMessage:h,$tMessageCloseAll:y,$tNotify:V,$tNotifyCloseAll:b,$tToast:w,$tToastClose:x,$tFlash:C,$tFlashClose:S,$tAttentionDispatcher:B,$tAttentionDispatcherClose:$});let e=j.g("local","globalConfig");e&&(e.platform==M.value&&e.version==z.value?a.globalConfig=e:j.d("local","globalConfig")),R.value.lang||(R.value.lang=W()),await E(),Ve(D.value)}));const qe=e=>{"F11"===e.key&&(e.preventDefault(),ea.toggle()),"Escape"===e.key&&N.value.escCounter++},we=e=>{N.value.clickCounter++,N.value.clickTarget=e.target};fe((()=>{ye();let e=je.el("#preLoading");e&&e.remove(),screen.orientation&&screen.orientation.addEventListener("change",re),xe.add(document,"keydown",qe,ie,!1,!1),xe.add(document,"click",we,ie,!1,!1),xe.add(document,"contextmenu",we,ie,!1,!1),te.value=!0})),Ct((()=>{screen.orientation.removeEventListener("change",re),xe.remove(document,"keydown",ie,!1,!1),xe.remove(document,"click",ie,!1,!1),xe.remove(document,"contextmenu",ie,!1,!1)}));const ke=e=>{re(),N.value.fullScreen=ea.isEnabled(),N.value.resizeCounter++};return(e,t)=>{const l=be("TuiControlPanel"),a=Ee("tui-resize");return!le.value&&ae.value?he((r(),g("div",{key:0,id:"tuiRoot",class:T(["tui-root",`theme-${d(D)}`,`theme-scheme-${d(G)}`,"mask-"+(d(P)?"blur":"trans"),d(I).type,d(I).orientation&&`screen-dir-${d(I).orientation}`,"screen-"+(d(I).screenInvert?"invert":"no-invert"),{"tui-view-bg":"view"==d(H),"tui-root-bg":"root"==d(H)||"all"==d(H)}])},[ne(l),K(e.$slots,"default")],2)),[[a,{callback:ke,uid:d(ie)}]]):q("",!0)}}}),BA={key:0,class:"tui-adpt-popup"},xA={class:"popup-text"},PA={class:"tui-adpt-drag-inner"},RA={class:"info-text"},zA=Object.assign({name:"TuiAdptDragTip"},{__name:"dragTip",props:{visible:Boolean,css:String,tipMute:Boolean,tipAutoShow:Boolean,modelValue:Boolean},emits:["update:modelValue"],setup(e,{emit:t}){const{i18n:l,$gSound:a,$adaptiveConfig:i,audio:A}=me("$global",null),o=e,n=t,u=k(!1),c=k(!0),p=k(!1),v=e=>{e||i.value.dragTip?(i.value.dragTip=!1,se.s("adptDragInfoPre",(()=>{u.value=!0,!o.tipMute&&!e&&(a.value&&A.play("pingA"),se.s("adptDragInfo",(()=>{f()}),4e3))}),e?1e3:500)):a.value&&A.play("pingA")},f=()=>{se.c("adptDragInfo"),u.value=!1};F((()=>o.visible),(e=>{p.value=o.modelValue,e&&o.tipAutoShow?v():f()}),{immediate:!0});const m=Ve({appearance:"iconButton",icon:["tui-icon ti-arrow-move","tui-icon ti-cursor-click"]}),h=()=>{n("update:modelValue",!o.modelValue)};return fe((()=>{c.value=!1})),tt((()=>{c.value=!0,se.c("adptDragInfo"),se.c("adptDragInfoPre")})),(t,a)=>{const i=be("TuiToggle");return c.value?q("",!0):(r(),Y(mt,{key:0,to:"#tuiRoot",fallback:"#app",disabled:c.value},[ne(Be,{name:"fade"},{default:_((()=>[e.visible?(r(),g("div",{key:0,class:"tui-adpt-drag-info",style:re(e.css)},[ne(Be,{name:"fade-inner"},{default:_((()=>[u.value?(r(),g("div",BA,[s("div",xA,G(d(l)("adaptive.dragTip")),1)])):q("",!0)])),_:1}),s("div",PA,[s("i",{onMouseenter:v,onMouseleave:f,class:"tui-icon ti-info"},null,32),ne(i,Pe({onChange:h,modelValue:p.value,"onUpdate:modelValue":a[0]||(a[0]=e=>p.value=e)},m),null,16,["modelValue"]),s("span",RA,G(d(l)("adaptive.dragText")),1)])],4)):q("",!0)])),_:1})],8,["disabled"]))}}}),IA={class:"tui-low-res-tip"},NA={class:"text"},DA=Object.assign({name:"TuiAdptLowResTip"},{__name:"lowResTip",emits:["closeLowResTip"],setup(e,{emit:t}){const{i18n:l}=me("$global",null),a=t,i=()=>{a("closeLowResTip")};return(e,t)=>{const a=Ee("tui-popover");return r(),Y(Be,{name:"fade"},{default:_((()=>[s("div",IA,[t[0]||(t[0]=s("i",{class:"tui-icon ti-info-circle tui-info-icon"},null,-1)),he((r(),g("span",NA,[Re(G(d(l)("adaptive.lowResText")),1)])),[[a,{content:d(l)("adaptive.lowResTip"),placement:"top",delay:1e3,maxWidth:300}]]),s("i",{class:"tui-icon ti-times",onClick:i})])])),_:1})}}}),_A={key:1,class:"tui-terminate-tip"},OA="TuiAdaptive",MA=Object.assign({name:OA,inheritAttrs:!1},{__name:"index",props:{className:String,spinnerConfig:Object,shadowConfig:Object,tipMute:{type:Boolean,default:!1},tipAutoShow:{type:Boolean,default:!0},adaptiveType:{type:String,default:"extension",validator:e=>["extension","flexible","fixed","stretch","disabled"].includes(e)},adaptiveInterval:{type:Number,default:300},width:{type:Number,default:1900},height:{type:Number,default:1060},shadow:{type:Boolean,default:!0},loading:{type:Boolean,default:!0},portletCount:{type:Number,default:0},userSelect:{type:Boolean,default:!0},monitorRatio:{type:Boolean,default:!0},pointEvent:{type:String,default:"default",validator:e=>["default","penetration"].includes(e)}},emits:["update:adaptiveType","update:loading","resizeStart","resizeEnd"],setup(e,{emit:t}){const{$tState:l,$adaptiveConfig:a,$gPortletCounter:i,$gResizeCounter:A,$gBackground:o,$deviceInfo:n,$adptInited:s,$adptReady:u,$gAdaptive:c,initSpinner:p,resetAdaptiveConfig:v,i18n:f,tConsolei18n:h}=me("$global",null),y=dt(),V=e,b=t,w=Ce("adaptive"),x=k(null),C=k(null),S=k(null),B=k(V.loading),$=k(null),z=k(null),R=m((()=>z.value?.includes("pc"))),N=Ve({curType:null,transform:"",count:0,viewState:{maximize:!1},cssvar:"",resizing:!1,inited:!1,overSizeH:!0,observer:"",calcSuccess:!0,terminateServiceStr:"",penetraDomInfo:{},dragable:!1,clickable:!1,lowResolution:!1,disLowResolTip:!1,oriResRatio:0}),{viewState:O,inited:_}=Le(N),M=m((()=>xt("cpt-adpt-penetra",{...N.penetraDomInfo.width&&{width:N.penetraDomInfo.width+"px"},...N.penetraDomInfo.height&&{height:N.penetraDomInfo.height+"px"}}))),I=m((()=>xt("cpt-browser",{...$.value&&{ratio:$.value}}))),P=async()=>{const e=window.devicePixelRatio;if(N.oriResRatio||(N.oriResRatio=e),!x.value||"disabled"==c.value)return b("resizeEnd"),void(N.resizing=!1);const t=(window.outerWidth/window.innerWidth).toFixed(1);let a;a=window.mozInnerScreenX?N.oriResRatio==e?1:e:1==e||t<1.02&&t>.99?1:e;const i=n.value.type;i&&(z.value=i);const A=1!=a&&R.value&&V.monitorRatio;if(A){$.value=a;const e=je.el("#styleAdaptive");if(e&&e.dataset.info==c.value)return N.dragable||(N.dragable=!0,N.lowResolution=!1),b("resizeEnd"),void(N.resizing=!1)}else N.dragable=!1,N.clickable=!1;if(!N.dragable){let e=x.value,t={apWidth:e.clientWidth,apHeight:e.clientHeight,cfgWidth:V.width,cfgHeight:V.height,mode:c.value},l=Ko(t);const{classExtend:a,overSizeH:i,staWidth:A,staHeight:o,scale:n,scaleX:s,scaleY:r,translateX:d,translateY:u,cssHeight:p,alpha:g,delta:v,success:m}=l;N.calcSuccess=m,m||(N.terminateServiceStr=f("error.terminateService"));const h={scale:(n-.02)/v,scaleX:(s-.02)/v,scaleY:(r-.02)/v};"stretch"!=c.value&&!N.dragable&&0!=h.scale&&h.scale<1?N.lowResolution=!0:N.lowResolution=!1,Kt.adpt.init(h),N.cssvar=`--cfa:${A}; --cfb:${p}; --cfn:${v}; --cfm:${g}; --cfc:${n}; --cfd:${s}; --cfe:${r}; --cff:${d}; --cfg:${u};`,il("Adaptive",c.value,`:root{${N.cssvar}}`)}A&&!N.dragable&&(N.dragable=!0),N.inited||(N.inited=!0),await oe(),b("resizeEnd"),N.resizing=!1,!s.value&&je.el("#tuiAdpt")&&(l.adaptiveConfig.inited=!0),N.curType=c.value,!N.dragable&&y.penetration&&W()},D=()=>{b("resizeStart"),N.resizing=!0,se.s(w+"_debo",P,500)},E=()=>{N.dragable||l.adaptiveConfig.resizeCounter++};F((()=>i.value),(e=>{e>=V.portletCount?(B.value=!1,b("update:loading",!1)):B.value||(B.value=!0)})),F((()=>V.loading),(e=>{B.value!=e&&(B.value=e)}),{immediate:!0}),F((()=>V.adaptiveType),(e=>{l.globalConfig.adaptive=e}),{immediate:!0}),F((()=>c.value),(e=>{b("update:adaptiveType",e),"disabled"!=e&&D()}),{immediate:!0}),F((()=>S.value),(e=>{W()})),F((()=>A.value),(e=>{e&&D()}));const W=async()=>{await oe();let e=S.value;e&&(N.penetraDomInfo=Ln({source:C.value,target:e})),console.log("element-------",e,N.penetraDomInfo,N.resizing)},j=()=>{N.disLowResolTip=!0};return fe((()=>{x.value.closest("#tuiAdpt")?h("error","adaptiveNesting","error.adaptiveNesting"):(V.portletCount>0?B.value=!0:V.loading&&(B.value=V.loading),(!je.el("#styleSpinners")||V.spinnerConfig)&&p(V.spinnerConfig),u.value||oe((()=>{l.adaptiveConfig.ready=!0})),D())})),tt((()=>{N.dragable=!1,N.clickable=!1,N.lowResolution=!1,l.adaptiveConfig.ready=!1,v()})),(t,l)=>{const a=be("TuiLoadingFull"),i=Ee("tui-resize"),A=Ee("tui-drag");return r(),g(J,null,[he((r(),g("div",Pe({id:"tuiAdptOuter"},t.$attrs,{class:["tui-adaptive",e.className,""+(d(O).maximize?"tui-adpt-size-max":"tui-adpt-size-nor"),`tui-adpt-${N.curType}`,`tui-pevent-${e.pointEvent}`,{"has-penetration":t.$slots.penetration,"is-disabled":"disabled"==d(c),"is-resizing":N.resizing,"is-dragable":N.dragable&&!N.clickable,"is-clickable":N.clickable,"is-low-resolution":N.lowResolution,"is-initing":!N.inited}],ref_key:"apElement",ref:x}),[N.lowResolution&&!N.disLowResolTip?(r(),Y(DA,{key:0,onCloseLowResTip:j})):q("",!0),N.calcSuccess?q("",!0):(r(),g("div",_A,G(N.terminateServiceStr),1)),ne(a,{appendTo:"#tuiAdptOuter",modelValue:B.value,"onUpdate:modelValue":l[0]||(l[0]=e=>B.value=e)},null,8,["modelValue"]),(d(_)||"disabled"==d(c))&&N.calcSuccess?(r(),g(J,{key:2},[he((r(),g("div",{ref_key:"apContainer",ref:C,id:"tuiAdpt",class:T(["tui-adpt-container",{"tui-view-bg":"all"==d(o)&&!t.$slots.penetration,"show-shadow":e.shadow&&!t.$slots.penetration,"dis-user-select":!e.userSelect}])},[K(t.$slots,"default",{viewState:d(O)})],2)),[[i,{callback:E,uid:d(w)}]]),t.$slots.penetration?(r(),g("div",{key:0,id:"tuiAdptPenetration",ref_key:"adptPenetration",ref:S,class:T(["tui-adpt-penetration",{"tui-view-bg":"all"==d(o)&&t.$slots.penetration,"show-shadow":e.shadow&&t.$slots.penetration,"dis-user-select":!e.userSelect}]),style:re(M.value)},[K(t.$slots,"penetration",{viewBGName:"tui-view-bg"})],6)):q("",!0)],64)):q("",!0)],16)),[[A,{enabled:N.dragable,trigger:"#tuiAdpt",resetOnDisable:!0,containment:!1,positionType:"transform",inAdpt:!1,uid:d(w)}]]),ne(zA,{visible:N.dragable,modelValue:N.clickable,"onUpdate:modelValue":l[1]||(l[1]=e=>N.clickable=e),css:I.value,tipAutoShow:e.tipAutoShow,tipMute:e.tipMute},null,8,["visible","modelValue","css","tipAutoShow","tipMute"])],64)}}}),EA=["onMouseenter","onClick"],LA=Object.assign({name:"TuiBar3DGroup"},{__name:"group",props:{gap:Number,labelWidth:Number,items:{type:Array,default:[],validator:e=>{const{valid:t,message:l}=wt.fieldValid(e,["label","value"]);return t||console.warn("TuiBar3DGroup Warning! ",l),t}},progress3DBarConfig:Object,valueSize:{type:Number,default:16},queueInit:{type:Boolean,default:!0},clickable:{type:Boolean,default:!1}},emits:["itemClick"],setup(e,{emit:t}){const l=e,a=t,i=k([]),A=k(0),o=k([]),n=k(null),s=e=>!!l.queueInit&&e!==A.value,d=e=>{o.value.push(e),A.value<l.items.length-1&&A.value++},u=m((()=>({valueSize:l.valueSize,...l.progress3DBarConfig}))),c=m((()=>xt("cpt-b3dg",{...l.gap&&{gap:l.gap+"px"}}))),p=e=>l.clickable&&null!=n.value&&n.value!==e?.4:1,v=()=>{l.clickable&&(n.value=null)};return(t,A)=>{const o=be("TuiBar3D");return r(),g("div",{class:T(["tui-percent-3d-bar-group",{"has-label":!1,"is-clickable":e.clickable}]),style:re(c.value)},[(r(!0),g(J,null,ke(e.items,((e,t)=>(r(),g("div",{class:"tui-ppg-item",key:e.id||e.label||t,style:re({opacity:p(t)}),onMouseenter:e=>(e=>{l.clickable&&(n.value=e)})(t),onMouseleave:v,onClick:i=>((e,t,i)=>{l.clickable&&a("itemClick",{event:i,data:e,index:t})})(e,t,i)},[ne(o,Pe({ref_for:!0,ref_key:"childRefs",ref:i},{ref_for:!0},u.value,{initHold:s(t),onInited:d,label:e.label,value:e.value}),null,16,["initHold","label","value"])],44,EA)))),128))],6)}}}),gn=["normal","success","danger","warning","emphasis","critical"],WA=["cylinder","cube"],jA=["none","auto","all","allReverse"],GA=["auto","top"],FA=["self","global","none"],HA=["bottom","top","left","right"],hl=e=>null==e||CSS.supports("color",e),QA=e=>!(!e||"object"!=typeof e||!Object.keys(e).some((e=>gn.includes(e))))&&Object.values(e).every((e=>"number"==typeof e&&!Number.isNaN(e)&&e>=0)),hn={index:Number,iconsSymbol:String,label:{type:String,required:!0},precision:{type:Number,default:0},unit:{type:String,default:""},valueSize:Number,displayValue:{type:String,default:"auto",validator:e=>jA.includes(e)},mainValuePosition:{type:String,default:"auto",validator:e=>GA.includes(e)},shape:{type:String,default:"cylinder",validator:e=>WA.includes(e)},initHold:{type:Boolean,default:!1},aniDelay:{type:Number,default:2e3},duration:{type:Number,default:1e3},gap:{type:Number,default:30},viewDeep:{type:Number,default:15,validator:e=>e>=0&&e<=50},showTrack:{type:Boolean,default:!0},trackOpacity:{type:Number,default:.5},trackBlur:{type:Number,default:1},barBlur:{type:Number,default:1},barOpacity:{type:Number,default:.9},clickable:{type:Boolean,default:!1},inactiveOpacity:{type:Number,default:.4,validator:e=>"number"==typeof e&&e>=0&&e<=1},barColorRatio:{type:Number,default:15},baseColor:{type:String,default:null,validator:hl},showBase:{type:Boolean,default:!1},baseColorRatio:{type:Number,default:1},baseSpacing:{type:Number,default:20},baseOpacity:{type:Number,default:.9},baseBlur:{type:Number,default:.5},baseColorWeakened:{type:Boolean,default:!1},status:{type:String,default:null,validator:e=>gn.includes(e)},thresholds:{type:Object,default:null,validator:QA},resizeObserver:{type:String,default:"global",validator:e=>FA.includes(e)}},UA={...hn,value:{type:Number,default:0,validator:e=>e>=0},maxValue:{type:Number,default:null,validator:e=>e>=0},barColor:{type:String,default:null,validator:hl},baseColor:{type:String,default:null,validator:hl}},YA=e=>!(!Array.isArray(e)||!e.length)&&e.every((e=>!(!e||"object"!=typeof e||"number"!=typeof e.value||Number.isNaN(e.value)||e.value<0||null!=e.color&&!hl(e.color)))),KA={...hn,segments:{type:Array,default:()=>[],validator:YA},maxValue:{type:Number,default:null,validator:e=>e>=0},segmentGap:{type:Number,default:0,validator:e=>e>=0},showLegend:{type:Boolean,default:!1},legendPosition:{type:String,default:"bottom",validator:e=>HA.includes(e)},legendTeleportTo:{type:[String,Object],default:null},legendWidth:[Number,String]},Ca={top:{cx:null,cy:null,rx:null,ry:null},sideA:null,sideB:null,body:null,success:!1},vl=()=>({normal:null,success:null,danger:null,warning:null,emphasis:null,critical:null,custom:null}),Ul=({value:e,maxValue:t})=>t&&t>0?e/t*100:e<=100?e:100,vn=({displayValue:e,precision:t,aniPct:l,aniVal:a,maxValue:i,unit:A,dustSettled:o})=>{let n,s,r,d,u,c;if("none"===e)return{mainVal:n,mainUnit:s,subVal:r,subUnit:d};if(t){const e=parseFloat(Number(l).toFixed(t)),i=parseFloat(Number(a).toFixed(t));c=o?e:Qe.padZero(e,t),u=o?i:Qe.padZero(i,t)}else c=Math.round(l),u=Math.round(a);return i&&A&&"auto"!==e?"all"===e?(n=u,s=A,r=c,d="%"):"allReverse"===e&&(r=u,d=A,n=c,s="%"):i&&A?(n=u,s=A):(n=c,s="%"),{mainVal:n,mainUnit:s,subVal:r,subUnit:d}},Gt=({shape:e,width:t,height:l,topMargin:a,maxHeight:i,percent:A,viewDeep:o})=>{const n=Xo(e,t,l,a,i,A,o);return n.success?n:{...Ca,top:{...Ca.top}}},XA=({thresholds:e,value:t})=>{if(!e)return!1;const l=Object.entries(e).sort(((e,t)=>t[1]-e[1]));return l.find((([e,l])=>t>=l))?.[0]||l[l.length-1]?.[0]||"normal"},mn=({settled:e,customBarColor:t,explicitStatus:l,thresholds:a,currentValue:i,fallbackStatus:A})=>!!e&&(t?"custom":l||(a?XA({thresholds:a,value:i}):A||!1)),Il=e=>{Object.keys(e).forEach((t=>{e[t]=null}))},ZA=({aniPct:e,aniVal:t,state:l,props:a,debut:i,emit:A})=>o=>{l.dustSettled=!1;const n=e.value,s=o-n,r=Date.now(),d=()=>{const u=Date.now()-r,c=Math.min(u/a.duration,1),p=1-Math.pow(1-c,3);e.value=n+s*p,t.value=a.maxValue?a.value*p:e.value,c<1?requestAnimationFrame(d):(e.value=o,l.dustSettled=!0,i.value||(i.value=!0,A("inited",a.index)))};requestAnimationFrame(d)},$a=({aniPct:e,aniVal:t,state:l,duration:a,targetValue:i,targetPct:A,debut:o,emit:n,index:s})=>()=>{l.dustSettled=!1;const r=e.value,d=t.value,u=A-r,c=i-d,p=Date.now(),g=()=>{const v=Date.now()-p,f=Math.min(v/a,1),m=1-Math.pow(1-f,3);e.value=r+u*m,t.value=d+c*m,f<1?requestAnimationFrame(g):(e.value=A,t.value=i,l.dustSettled=!0,o.value||(o.value=!0,n("inited",s)))};requestAnimationFrame(g)},JA=({segments:e,aniPct:t,maxValue:l,maxHeight:a,shape:i,width:A,height:o,topMargin:n,viewDeep:s,colorRatio:r,palette:d,gap:u=0})=>{let c=0,p=0,g=0;return(e||[]).map(((e,v)=>{const f=Ul({value:Number(e?.value)||0,maxValue:l}),m=Math.max(Math.min(t-c,f),0),h=Math.min(m,100),y=h/100*a,V=-(p+g*u),b=e?.color||d[v%d.length]||"#5aa6ff",q=We.genColors(b,3,r,!1),w=Gt({shape:i,width:A,height:o,topMargin:n,maxHeight:a,percent:h,viewDeep:s}),k={...e,index:v,rawPercent:f,visiblePercent:h,visibleHeight:y,translateY:V,baseColor:b,colors:q,path:w,visible:h>0};return c+=f,h>0&&(p+=y,g+=1),k}))},eu={class:"tui-svg-inner"},tu=["width","height","viewBox"],lu=["id"],au=["id"],nu=["id"],ou=["id"],iu=["id"],su={key:0},ru=["id"],Au=["id"],uu=["id"],du=["id"],cu={key:1},fu=["id"],pu=["id"],gu=["id"],hu=["id"],vu={key:2},mu=["id","points"],yu=["id","points"],bu=["id"],Vu=["href"],wu={key:3},qu=["id","d"],Cu=["id"],$u=["href"],ku=["id"],Su=["stdDeviation"],Tu=["id"],Bu=["stdDeviation"],xu=["id"],Pu=["stdDeviation"],Ru=["opacity","filter"],zu=["d","fill"],Iu=["cx","cy","rx","ry","fill"],Nu=["points","fill"],Du=["points","fill"],_u=["points","fill"],Ou=["opacity","filter"],Mu=["href","fill"],Eu=["cx","cy","rx","ry","fill"],Lu=["href","fill"],Wu=["href","fill"],ju=["points","fill"],Gu=["x","y","width","height","fill","clip-path"],Fu=["x"],Hu=["opacity","filter"],Qu=["d","fill"],Uu=["cx","cy","rx","ry","fill"],Yu=["points","fill"],Ku=["points","fill"],Xu=["points","fill"],Zu={class:"tui-value"},Ju={class:"tui-unit"},ed={class:"tui-bar3d-label"},td={key:0,class:"tui-isubval"},ld={class:"tui-val"},ad={class:"tui-unit"},nd={class:"tui-ilabel"},od="TuiBar3D",id=Object.assign({name:od},{__name:"index",props:UA,emits:["inited"],setup(e,{expose:t,emit:l}){const{$themePalette:a,$gThemeScheme:i,$optResizeCounter:A,initResizeBy:o}=me("$global",null),n=o(),u=e,c=l,p=Ce("bar3D"),v=k(!1),f=k(!1),h=k(!1),y=k(!1),V=k(null),b=Ve({width:100,height:200,dustSettled:!1,barColorGroup:{normal:null,success:null,danger:null,warning:null,emphasis:null,critical:null,custom:null},baseColorGroup:{normal:null,success:null,danger:null,warning:null,emphasis:null,critical:null,custom:null}}),w=k(0),x=k(0),C=k("normal"),S=m((()=>Ul({value:u.value,maxValue:u.maxValue}))),B=m((()=>{const e=parseInt(u.iconsSymbol,16);return String.fromCharCode(e)})),$=m((()=>vn({displayValue:u.displayValue,precision:u.precision,aniPct:w.value,aniVal:x.value,maxValue:u.maxValue,unit:u.unit,dustSettled:b.dustSettled}))),z=m((()=>(w.value<=100?w.value:100)/100*(b.height-(u.showTrack?u.gap:10)-50))),R=m((()=>{if(!u.showTrack)return;const e=.1*b.width,t=b.height-.1*b.width*2;return Gt({shape:u.shape,width:b.width,height:b.height,topMargin:e,maxHeight:t,percent:100,viewDeep:u.viewDeep})})),N=m((()=>{if(!u.showBase)return;const e=u.baseSpacing/b.width,t=.1*b.width+.05*b.height-4,l=b.height-.1*b.width*2;return Gt({shape:u.shape,width:b.width+2*u.baseSpacing,height:b.height,topMargin:t,maxHeight:l,percent:5,viewDeep:u.viewDeep+u.viewDeep*e*2})})),O=m((()=>{const e=u.showTrack?u.gap:0,t=e/b.width,l=b.width-e,a=b.height-e*(u.showBase?.8:1),i=.1*l+a*t*.05,A=a-.1*l*2;return Gt({shape:u.shape,width:l,height:a,topMargin:i,maxHeight:A,percent:w.value<=100?w.value:100,viewDeep:u.viewDeep-u.viewDeep*t})})),M=ZA({aniPct:w,aniVal:x,state:b,props:u,debut:h,emit:c});F((()=>[u.value,u.initHold]),(()=>{u.initHold||M(S.value)})),F((()=>A.value),((e,t)=>{if("root"!=n.value(u.resizeObserver))return;const{clientWidth:l,clientHeight:a}=V.value;e>t&&I({width:l,height:a})}));const I=async({width:e,height:t})=>{y.value=!0,b.width=e,b.height=t,v.value||(v.value=!0),await oe(),setTimeout((()=>{y.value=!1}),500)};F((()=>[u.barColorRatio,u.barColor]),(()=>{P("bar")})),F((()=>[u.baseColorRatio,u.baseColor]),(()=>{P("base")}));const P=e=>{"bar"===e?Il(b.barColorGroup):"base"===e&&Il(b.baseColorGroup)},D=m((()=>{const e=mn({settled:b.dustSettled,customBarColor:u.barColor,explicitStatus:u.status,thresholds:u.thresholds,currentValue:x.value,fallbackStatus:C.value});return e&&"custom"!==e&&(C.value=e),e})),E=m((()=>{const e=!!u.barColor&&"custom",t=D.value||e||u.status||C.value;let l;if("custom"!==t)if(t&&"normal"!==t&&"critical"!==t)l=a.value[t]?.base;else if("critical"===t){const e="light"==i.value?"stronger":"weaker";l=a.value.danger[e]}else l=a.value.primary?.base;else l=u.barColor;let A,o=null;if(l){if(b.barColorGroup[t]?A=b.barColorGroup[t]:(A=We.genColors(l,3,u.barColorRatio,!1),b.barColorGroup[t]=A),u.showBase&&!u.baseColorWeakened)if(b.baseColorGroup[t])o=b.baseColorGroup[t];else{if(u.baseColor)o=We.genColors(u.baseColor,3,u.barColorRatio/1.5,!1);else{const e=We.darken(l,u.baseColorRatio);o=We.genColors(e,3,u.barColorRatio/1.5,!1)}b.baseColorGroup[t]=o}return{bar:A,base:o}}})),W=m((()=>b.height-z.value-50-.1*u.viewDeep)),j=m((()=>{const e=E.value||{};return xt("cpt-bar3d",{...e.bar&&{bargard_A:e.bar[0],bargard_B:e.bar[1],bargard_C:e.bar[2]},...e.base&&{basgrad_A:e.base[0],basgrad_B:e.base[1],basgrad_C:e.base[2]},...u.valueSize&&{valsize:u.valueSize+"px"},...u.gap&&u.showTrack&&{gapfix:u.gap/2+"px"},...u.baseSpacing&&{basefix:-u.baseSpacing+"px"},valtop:W.value+"px",viewdeep:u.viewDeep/(u.showBase?1:1.6)+"px"})}));return fe((()=>{f.value=!0,u.value&&!u.initHold&&se.s("pgsPool3D"+p,(()=>{M(S.value)}),u.aniDelay)})),t({inited:v.value&&h.value}),(e,t)=>{const l=be("TuiTextTip"),a=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["tui-progress-3d-bar",`is-${D.value||C.value}`]),style:re(j.value)},[he((r(),g("div",{class:"tui-svg-wrap",ref_key:"svgWrapRef",ref:V},[s("div",eu,[ne(Be,{name:"fade"},{default:_((()=>[v.value?(r(),g("svg",{key:0,class:"tui-svg-el",width:b.width,height:b.height,viewBox:`0 0 ${b.width} ${b.height}`},[s("defs",null,[s("radialGradient",{class:"tui-grad-bar-top",id:`gradBarTop_${d(p)}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[...t[0]||(t[0]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,lu),s("linearGradient",{class:"tui-grad-shine",id:`gradShine_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[1]||(t[1]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"50%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,au),s("linearGradient",{class:"tui-grad-bar-cyde",id:`gradBarCyde_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[2]||(t[2]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"50%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,nu),s("linearGradient",{class:"tui-grad-bar-cubeSA",id:`gradBarCubeSA_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[3]||(t[3]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,ou),s("linearGradient",{class:"tui-grad-bar-cubeSB",id:`gradBarCubeSB_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[4]||(t[4]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,iu),e.showTrack?(r(),g("g",su,[s("radialGradient",{class:"tui-grad-trk-top",id:`gradTrkTop_${d(p)}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[...t[5]||(t[5]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,ru),s("linearGradient",{class:"tui-grad-trk-cyde",id:`gradTrkCyde_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[6]||(t[6]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"50%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,Au),s("linearGradient",{class:"tui-grad-trk-cubeSA",id:`gradTrkCubeSA_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[7]||(t[7]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"50%"},null,-1)])],8,uu),s("linearGradient",{class:"tui-grad-trk-cubeSB",id:`gradTrkCubeSB_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[8]||(t[8]=[s("stop",{offset:"0%"},null,-1)])],8,du)])):q("",!0),e.showBase?(r(),g("g",cu,[s("linearGradient",{class:T(["tui-grad-bas-cubeSA",{"is-weakened":u.baseColorWeakened}]),id:`gradBasCubeSA_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[9]||(t[9]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"50%"},null,-1)])],10,fu),s("radialGradient",{class:T(["tui-grad-bas-top",{"is-weakened":u.baseColorWeakened}]),id:`gradBasTop_${d(p)}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[...t[10]||(t[10]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],10,pu),s("linearGradient",{class:T(["tui-grad-bas-cyde",{"is-weakened":u.baseColorWeakened}]),id:`gradBasCyde_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[11]||(t[11]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"50%"},null,-1),s("stop",{offset:"100%"},null,-1)])],10,gu),s("linearGradient",{class:T(["tui-grad-bas-cubeSB",{"is-weakened":u.baseColorWeakened}]),id:`gradBasCubeSB_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[12]||(t[12]=[s("stop",{offset:"0%"},null,-1)])],10,hu)])):q("",!0),"cube"===e.shape?(r(),g("g",vu,[s("polygon",{id:`shapeCubeSA_${d(p)}`,points:O.value.sideA},null,8,mu),s("polygon",{id:`shapeCubeSB_${d(p)}`,points:O.value.sideB},null,8,yu),s("clipPath",{id:`shapeClip_${d(p)}`},[s("use",{href:`#shapeCubeSA_${d(p)}`},null,8,Vu)],8,bu)])):(r(),g("g",wu,[s("path",{id:`shapeCyde_${d(p)}`,d:O.value.body},null,8,qu),s("clipPath",{id:`shapeClip_${d(p)}`},[s("use",{href:`#shapeCyde_${d(p)}`},null,8,$u)],8,Cu)])),e.showTrack?(r(),g("filter",{key:4,id:`blurTrk_${d(p)}`},[s("feGaussianBlur",{in:"SourceGraphic",stdDeviation:u.trackBlur},null,8,Su)],8,ku)):q("",!0),e.showBase?(r(),g("filter",{key:5,id:`blurBas_${d(p)}`},[s("feGaussianBlur",{in:"SourceGraphic",stdDeviation:u.baseBlur},null,8,Bu)],8,Tu)):q("",!0),s("filter",{id:`blurBar_${d(p)}`},[s("feGaussianBlur",{in:"SourceGraphic",stdDeviation:u.barBlur},null,8,Pu)],8,xu)]),e.showBase?(r(),g("g",{key:0,class:"tui-bar-base",opacity:e.baseOpacity,filter:`url(#blurBas_${d(p)})`},["cylinder"===e.shape?(r(),g(J,{key:0},[s("path",{d:N.value.body,fill:`url(#gradBasCyde_${d(p)})`,stroke:"none"},null,8,zu),s("ellipse",{cx:N.value.top.cx,cy:N.value.top.cy,rx:N.value.top.rx,ry:N.value.top.ry,fill:`url(#gradBasTop_${d(p)})`,stroke:"none"},null,8,Iu)],64)):(r(),g(J,{key:1},[s("polygon",{points:N.value.sideA,fill:`url(#gradBasCubeSA_${d(p)})`,stroke:"none"},null,8,Nu),s("polygon",{points:N.value.sideB,fill:`url(#gradBasCubeSB_${d(p)})`,stroke:"none"},null,8,Du),s("polygon",{points:N.value.top,fill:`url(#gradBasTop_${d(p)})`,stroke:"none"},null,8,_u)],64))],8,Ru)):q("",!0),s("g",{class:"tui-bar-ani tui-bar-ele",opacity:e.barOpacity,filter:`url(#blurBar_${d(p)})`},["cylinder"===e.shape?(r(),g(J,{key:0},[w.value>0?(r(),g("use",{key:0,href:`#shapeCyde_${d(p)}`,fill:`url(#gradBarCyde_${d(p)})`,stroke:"none"},null,8,Mu)):q("",!0),w.value>0?(r(),g("ellipse",{key:1,cx:O.value.top.cx,cy:O.value.top.cy,rx:O.value.top.rx,ry:O.value.top.ry,fill:`url(#gradBarTop_${d(p)})`,stroke:"none",class:"tui-bar-top"},null,8,Eu)):q("",!0)],64)):(r(),g(J,{key:1},[w.value>0?(r(),g("use",{key:0,href:`#shapeCubeSA_${d(p)}`,fill:`url(#gradBarCubeSA_${d(p)})`,stroke:"none"},null,8,Lu)):q("",!0),w.value>0?(r(),g("use",{key:1,href:`#shapeCubeSB_${d(p)}`,fill:`url(#gradBarCubeSB_${d(p)})`,stroke:"none"},null,8,Wu)):q("",!0),w.value>0?(r(),g("polygon",{key:2,points:O.value.top,fill:`url(#gradBarTop_${d(p)})`,stroke:"none",class:"tui-bar-top"},null,8,ju)):q("",!0)],64)),w.value>0?(r(),g("rect",{key:2,x:b.width/4,y:e.viewDeep/1.5,width:b.width/4,height:b.height,fill:`url(#gradShine_${d(p)})`,stroke:"none","clip-path":`url(#shapeClip_${d(p)})`,rx:"2",ry:"2"},null,8,Gu)):q("",!0)],8,Ou),e.iconsSymbol?(r(),g("text",{key:1,x:b.width/2,"text-anchor":"middle",class:"tui-icon tui-icon-in-svg"},G(B.value),9,Fu)):q("",!0),e.showTrack?(r(),g("g",{key:2,class:"tui-bar-trk",opacity:e.trackOpacity,filter:`url(#blurTrk_${d(p)})`},["cylinder"===e.shape?(r(),g(J,{key:0},[s("path",{d:R.value.body,fill:`url(#gradTrkCyde_${d(p)})`,stroke:"none"},null,8,Qu),s("ellipse",{cx:R.value.top.cx,cy:R.value.top.cy,rx:R.value.top.rx,ry:R.value.top.ry,fill:`url(#gradTrkTop_${d(p)})`,stroke:"none"},null,8,Uu)],64)):(r(),g(J,{key:1},[s("polygon",{points:R.value.sideA,fill:`url(#gradTrkCubeSA_${d(p)})`,stroke:"none"},null,8,Yu),s("polygon",{points:R.value.sideB,fill:`url(#gradTrkCubeSB_${d(p)})`,stroke:"none"},null,8,Ku),s("polygon",{points:R.value.top,fill:`url(#gradTrkTop_${d(p)})`,stroke:"none"},null,8,Xu)],64))],8,Hu)):q("",!0)],8,tu)):q("",!0)])),_:1}),$.value.mainUnit?(r(),g("div",{key:0,class:T(["tui-bar3d-val",{"is-top":"top"==e.mainValuePosition}])},[s("span",Zu,G($.value.mainVal),1),s("span",Ju,G($.value.mainUnit),1)],2)):q("",!0)])])),[[a,{callback:I,uid:d(p),disabled:"self"!=d(n)(e.resizeObserver)&&v.value}]]),s("div",ed,[$.value.subUnit?(r(),g("div",td,[s("span",ld,G($.value.subVal),1),s("span",ad,G($.value.subUnit),1)])):q("",!0),s("div",nd,[ne(l,null,{default:_((()=>[Re(G(e.label),1)])),_:1})])])],6),[[Te,f.value]])])),_:1})}}}),sd=["title","onMouseenter","onMouseleave"],rd={class:"tui-legend-label"},Ad={class:"tui-legend-value"},yn={__name:"legend",props:{items:{type:Array,default:()=>[]},activeIndex:Number,layout:{type:String,default:"row",validator:e=>["row","column"].includes(e)},clickable:{type:Boolean,default:!1},width:[Number,String]},emits:["itemHover","itemLeave"],setup(e,{emit:t}){const l=e,a=t,i=m((()=>null==l.width||""===l.width?null:{width:"number"==typeof l.width?`${l.width}px`:l.width}));return(t,l)=>e.items.length>0?(r(),g("div",{key:0,class:T(["tui-pie-legend",`is-${e.layout}`,{"is-clickable":e.clickable,"has-fixed-width":!!i.value}])},[(r(!0),g(J,null,ke(e.items,(t=>(r(),g("div",{class:T(["tui-legend-item",{active:e.activeIndex===t.index}]),key:t.label,style:re(i.value),title:i.value?t.label:null,onMouseenter:e=>((e,t,l)=>{a("itemHover",{item:e,index:t,event:l})})(t,t.index,e),onMouseleave:e=>((e,t,l)=>{a("itemLeave",{item:e,index:t,event:l})})(t,t.index,e)},[s("span",{class:"tui-legend-color",style:re({backgroundColor:t.color})},null,4),s("span",rd,G(t.label),1),s("span",Ad,G(t.value.toLocaleString()),1)],46,sd)))),128))],2)):q("",!0)}},ud={class:"tui-stack-3d-bar-main"},dd={class:"tui-stack-3d-bar-visual"},cd={class:"tui-svg-inner"},fd=["width","height","viewBox"],pd={key:0},gd=["id"],hd=["id"],vd=["id"],md=["id"],yd={key:1},bd=["id"],Vd=["id"],wd=["id"],qd=["id"],Cd=["id"],$d=["stop-color"],kd=["stop-color"],Sd=["id"],Td=["stop-color"],Bd=["stop-color"],xd=["stop-color"],Pd=["id"],Rd=["stop-color"],zd=["stop-color"],Id=["id"],Nd=["stop-color"],Dd=["stop-color"],_d=["id"],Od=["stdDeviation"],Md=["id"],Ed=["stdDeviation"],Ld=["id"],Wd=["stdDeviation"],jd=["opacity","filter"],Gd=["d","fill"],Fd=["cx","cy","rx","ry","fill"],Hd=["points","fill"],Qd=["points","fill"],Ud=["points","fill"],Yd=["opacity","filter"],Kd=["transform","opacity"],Xd=["d","fill","onMouseover","onClick"],Zd=["cx","cy","rx","ry","fill","onMouseover","onClick"],Jd=["points","fill","onMouseover","onClick"],ec=["points","fill","onMouseover","onClick"],tc=["points","fill","onMouseover","onClick"],lc=["x"],ac=["opacity","filter"],nc=["d","fill"],oc=["cx","cy","rx","ry","fill"],ic=["points","fill"],sc=["points","fill"],rc=["points","fill"],Ac={class:"tui-value"},uc={class:"tui-unit"},dc={class:"tui-bar3d-label"},cc={key:0,class:"tui-isubval"},fc={class:"tui-val"},pc={class:"tui-unit"},gc={class:"tui-ilabel"},hc=Object.assign({name:"TuiStackBar3D"},{__name:"stack",props:KA,emits:["inited","itemClick"],setup(e,{expose:t,emit:l}){const{$themePalette:a,$gThemeScheme:i,$optResizeCounter:A,initResizeBy:o}=me("$global",null),n=o(),u=e,c=l,p=Ce("stackBar3D"),v=k(!1),f=k(!1),h=k(!1),y=k(!1),V=k(!1),b=k(null),w=Ve({width:100,height:200,dustSettled:!1,hovSegmentIdx:null,hovLegendIdx:null,barColorGroup:{normal:null,success:null,danger:null,warning:null,emphasis:null,critical:null,custom:null},baseColorGroup:{normal:null,success:null,danger:null,warning:null,emphasis:null,critical:null,custom:null}}),x=k(0),C=k(0),S=k("normal"),B=m((()=>(u.segments||[]).reduce(((e,t)=>e+(Number(t?.value)||0)),0))),$=m((()=>u.maxValue||B.value||100)),z=m((()=>Ul({value:B.value,maxValue:$.value}))),R=m((()=>{const e=[a.value?.primary?.base,a.value?.success?.base,a.value?.warning?.base,a.value?.danger?.base,a.value?.emphasis?.base,a.value?.primary?.weaker].filter(Boolean);return e.length?e:[We.pri5,We.suc5,We.war5,We.dan5,We.rsa5,We.cya5]})),N=m((()=>vn({displayValue:u.displayValue,precision:u.precision,aniPct:x.value,aniVal:C.value,maxValue:u.maxValue,unit:u.unit,dustSettled:w.dustSettled}))),O=m((()=>(u.segments||[]).map(((e,t)=>({index:t,label:e?.label||`Segment${t+1}`,value:Number(e?.value)||0,color:e?.color||R.value[t%R.value.length]||"#5aa6ff"}))))),M=m((()=>["left","right"].includes(u.legendPosition)?"column":"row")),I=m((()=>{if(!h.value||!u.legendTeleportTo)return null;if("string"==typeof u.legendTeleportTo)return typeof document<"u"?document.querySelector(u.legendTeleportTo):null;const e=d(u.legendTeleportTo);return 1===e?.nodeType?e:null})),P=m((()=>!!I.value)),D=m((()=>w.hovSegmentIdx??w.hovLegendIdx??null)),E=m((()=>{const e=u.showTrack?u.gap:0,t=w.width?e/w.width:0,l=w.width-e,a=w.height-e*(u.showBase?.8:1);return{gap:e,width:l,height:a,topMargin:.1*l+a*t*.05,maxHeight:a-.1*l*2,viewDeep:u.viewDeep-u.viewDeep*t}})),W=m((()=>{const e=Math.min(x.value,100)/100*E.value.maxHeight;return w.height-e-50-.1*u.viewDeep})),j=m((()=>{if(!u.showTrack)return;const e=.1*w.width,t=w.height-.1*w.width*2;return Gt({shape:u.shape,width:w.width,height:w.height,topMargin:e,maxHeight:t,percent:100,viewDeep:u.viewDeep})})),L=m((()=>{if(!u.showBase)return;const e=u.baseSpacing/w.width,t=.1*w.width+.05*w.height-4,l=w.height-.1*w.width*2;return Gt({shape:u.shape,width:w.width+2*u.baseSpacing,height:w.height,topMargin:t,maxHeight:l,percent:5,viewDeep:u.viewDeep+u.viewDeep*e*2})})),K=m((()=>JA({segments:u.segments,aniPct:Math.min(x.value,100),maxValue:$.value,maxHeight:E.value.maxHeight,shape:u.shape,width:E.value.width,height:E.value.height,topMargin:E.value.topMargin,viewDeep:E.value.viewDeep,colorRatio:u.barColorRatio,palette:R.value,gap:u.segmentGap}))),H=e=>{const t=Number(e?.value)||0,l=(e=>{const t=Number(e?.value)||0;return B.value?t/B.value*100:0})(e),a=u.precision>0?t.toFixed(u.precision):String(Math.round(t)),i=u.precision>0?l.toFixed(u.precision):String(Math.round(l));return`${e?.label||"Segment"}: ${a}${u.unit||""} (${i}%)`},Q=e=>null==D.value||D.value===e?1:u.inactiveOpacity,U=e=>{w.hovSegmentIdx=e.index},X=()=>{w.hovSegmentIdx=null},Z=({index:e})=>{w.hovLegendIdx=e},ee=()=>{w.hovLegendIdx=null},te=(e,t)=>{u.clickable&&c("itemClick",{event:t,data:u.segments?.[e.index]||e,index:e.index})};F((()=>[u.segments,u.initHold,u.maxValue]),(()=>{u.initHold||$a({aniPct:x,aniVal:C,state:w,duration:u.duration,targetValue:B.value,targetPct:z.value,debut:y,emit:c,index:u.index})()}),{deep:!0}),F((()=>A.value),((e,t)=>{if("root"!=n.value(u.resizeObserver)||!b.value)return;const{clientWidth:l,clientHeight:a}=b.value;e>t&&le({width:l,height:a})}));const le=async({width:e,height:t})=>{V.value=!0,w.width=e,w.height=t,v.value||(v.value=!0),await oe(),setTimeout((()=>{V.value=!1}),500)},ae=async()=>{if(await oe(),!b.value)return;const{clientWidth:e,clientHeight:t}=b.value;!e||!t||le({width:e,height:t})};F((()=>[u.showLegend,u.legendPosition,u.legendTeleportTo]),(()=>{ae()})),F((()=>O.value.length),(()=>{ae()})),F((()=>[u.baseColorRatio,u.baseColor]),(()=>{Il(w.baseColorGroup)}));const ie=m((()=>{const e=mn({settled:w.dustSettled,customBarColor:!1,explicitStatus:u.status,thresholds:u.thresholds,currentValue:C.value,fallbackStatus:S.value});return e&&"custom"!==e&&(S.value=e),e})),Ae=m((()=>{const e=ie.value||u.status||S.value;let t;if(u.baseColor)t=u.baseColor;else if(e&&"normal"!==e&&"critical"!==e)t=a.value[e]?.base;else if("critical"===e){const e="light"==i.value?"stronger":"weaker";t=a.value.danger[e]}else t=a.value.primary?.base;if(!t||!u.showBase||u.baseColorWeakened)return null;if(w.baseColorGroup[e])return w.baseColorGroup[e];const l=We.darken(t,u.baseColorRatio),A=We.genColors(l,3,u.barColorRatio/1.5,!1);return w.baseColorGroup[e]=A,A})),de=m((()=>{const e=Ae.value||[];return xt("cpt-bar3d",{...e.length&&{basgrad_A:e[0],basgrad_B:e[1],basgrad_C:e[2]},...u.valueSize&&{valsize:u.valueSize+"px"},...u.gap&&u.showTrack&&{gapfix:u.gap/2+"px"},...u.baseSpacing&&{basefix:-u.baseSpacing+"px"},valtop:W.value+"px",viewdeep:u.viewDeep/(u.showBase?1:1.6)+"px"})}));return fe((async()=>{f.value=!0,await oe(),h.value=!0,B.value&&!u.initHold&&se.s("stackPgsPool3D"+p,(()=>{$a({aniPct:x,aniVal:C,state:w,duration:u.duration,targetValue:B.value,targetPct:z.value,debut:y,emit:c,index:u.index})()}),u.aniDelay)})),t({inited:v.value&&y.value}),(e,t)=>{const l=be("TuiTextTip"),a=Ee("tui-cursor-tip"),i=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["tui-stack-3d-bar","tui-progress-3d-bar",`is-${ie.value||S.value}`,`tui-legend-pos-${e.legendPosition}`,{"is-clickable":u.clickable}]),style:re(de.value)},[s("div",ud,[s("div",dd,[he((r(),g("div",{class:"tui-svg-wrap",ref_key:"visualRef",ref:b},[s("div",cd,[ne(Be,{name:"fade"},{default:_((()=>[v.value?(r(),g("svg",{key:0,class:"tui-svg-el",width:w.width,height:w.height,viewBox:`0 0 ${w.width} ${w.height}`},[s("defs",null,[e.showTrack?(r(),g("g",pd,[s("radialGradient",{class:"tui-grad-trk-top",id:`gradTrkTop_${d(p)}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[...t[0]||(t[0]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,gd),s("linearGradient",{class:"tui-grad-trk-cyde",id:`gradTrkCyde_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[1]||(t[1]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"50%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,hd),s("linearGradient",{class:"tui-grad-trk-cubeSA",id:`gradTrkCubeSA_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[2]||(t[2]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"50%"},null,-1)])],8,vd),s("linearGradient",{class:"tui-grad-trk-cubeSB",id:`gradTrkCubeSB_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[3]||(t[3]=[s("stop",{offset:"0%"},null,-1)])],8,md)])):q("",!0),e.showBase?(r(),g("g",yd,[s("linearGradient",{class:T(["tui-grad-bas-cubeSA",{"is-weakened":u.baseColorWeakened}]),id:`gradBasCubeSA_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[4]||(t[4]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"50%"},null,-1)])],10,bd),s("radialGradient",{class:T(["tui-grad-bas-top",{"is-weakened":u.baseColorWeakened}]),id:`gradBasTop_${d(p)}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[...t[5]||(t[5]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],10,Vd),s("linearGradient",{class:T(["tui-grad-bas-cyde",{"is-weakened":u.baseColorWeakened}]),id:`gradBasCyde_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[6]||(t[6]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"50%"},null,-1),s("stop",{offset:"100%"},null,-1)])],10,wd),s("linearGradient",{class:T(["tui-grad-bas-cubeSB",{"is-weakened":u.baseColorWeakened}]),id:`gradBasCubeSB_${d(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[7]||(t[7]=[s("stop",{offset:"0%"},null,-1)])],10,qd)])):q("",!0),(r(!0),g(J,null,ke(K.value,(e=>(r(),g(J,{key:`grad_${e.index}`},[s("radialGradient",{id:`gradSegTop_${d(p)}_${e.index}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[s("stop",{offset:"0%","stop-color":e.colors[1]},null,8,$d),s("stop",{offset:"100%","stop-color":e.colors[0]},null,8,kd)],8,Cd),s("linearGradient",{id:`gradSegCyde_${d(p)}_${e.index}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[s("stop",{offset:"0%","stop-color":e.colors[0]},null,8,Td),s("stop",{offset:"50%","stop-color":e.colors[1]},null,8,Bd),s("stop",{offset:"100%","stop-color":e.colors[2]},null,8,xd)],8,Sd),s("linearGradient",{id:`gradSegCubeSA_${d(p)}_${e.index}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[s("stop",{offset:"0%","stop-color":e.colors[1]},null,8,Rd),s("stop",{offset:"100%","stop-color":e.colors[0]},null,8,zd)],8,Pd),s("linearGradient",{id:`gradSegCubeSB_${d(p)}_${e.index}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[s("stop",{offset:"0%","stop-color":e.colors[1]},null,8,Nd),s("stop",{offset:"100%","stop-color":e.colors[2]},null,8,Dd)],8,Id)],64)))),128)),e.showTrack?(r(),g("filter",{key:2,id:`blurTrk_${d(p)}`},[s("feGaussianBlur",{in:"SourceGraphic",stdDeviation:u.trackBlur},null,8,Od)],8,_d)):q("",!0),e.showBase?(r(),g("filter",{key:3,id:`blurBas_${d(p)}`},[s("feGaussianBlur",{in:"SourceGraphic",stdDeviation:u.baseBlur},null,8,Ed)],8,Md)):q("",!0),s("filter",{id:`blurBar_${d(p)}`},[s("feGaussianBlur",{in:"SourceGraphic",stdDeviation:u.barBlur},null,8,Wd)],8,Ld)]),e.showBase?(r(),g("g",{key:0,class:"tui-bar-base",opacity:e.baseOpacity,filter:`url(#blurBas_${d(p)})`},["cylinder"===e.shape?(r(),g(J,{key:0},[s("path",{d:L.value.body,fill:`url(#gradBasCyde_${d(p)})`,stroke:"none"},null,8,Gd),s("ellipse",{cx:L.value.top.cx,cy:L.value.top.cy,rx:L.value.top.rx,ry:L.value.top.ry,fill:`url(#gradBasTop_${d(p)})`,stroke:"none"},null,8,Fd)],64)):(r(),g(J,{key:1},[s("polygon",{points:L.value.sideA,fill:`url(#gradBasCubeSA_${d(p)})`,stroke:"none"},null,8,Hd),s("polygon",{points:L.value.sideB,fill:`url(#gradBasCubeSB_${d(p)})`,stroke:"none"},null,8,Qd),s("polygon",{points:L.value.top,fill:`url(#gradBasTop_${d(p)})`,stroke:"none"},null,8,Ud)],64))],8,jd)):q("",!0),s("g",{class:"tui-bar-ani tui-bar-ele",opacity:e.barOpacity,filter:`url(#blurBar_${d(p)})`},[(r(!0),g(J,null,ke(K.value,(t=>he((r(),g("g",{key:t.index,transform:`translate(0, ${t.translateY})`,opacity:Q(t.index)},["cylinder"===e.shape?(r(),g(J,{key:0},[he(s("path",{d:t.path.body,fill:`url(#gradSegCyde_${d(p)}_${t.index})`,stroke:"none",onMouseover:e=>U(t),onMouseleave:X,style:re({cursor:u.clickable?"pointer":"default"}),onClick:e=>te(t,e)},null,44,Xd),[[a,{content:H(t)}]]),he(s("ellipse",{cx:t.path.top.cx,cy:t.path.top.cy,rx:t.path.top.rx,ry:t.path.top.ry,fill:`url(#gradSegTop_${d(p)}_${t.index})`,stroke:"none",class:"tui-bar-top",onMouseover:e=>U(t),onMouseleave:X,style:re({cursor:u.clickable?"pointer":"default"}),onClick:e=>te(t,e)},null,44,Zd),[[a,{content:H(t)}]])],64)):(r(),g(J,{key:1},[he(s("polygon",{points:t.path.sideA,fill:`url(#gradSegCubeSA_${d(p)}_${t.index})`,stroke:"none",onMouseover:e=>U(t),onMouseleave:X,style:re({cursor:u.clickable?"pointer":"default"}),onClick:e=>te(t,e)},null,44,Jd),[[a,{content:H(t)}]]),he(s("polygon",{points:t.path.sideB,fill:`url(#gradSegCubeSB_${d(p)}_${t.index})`,stroke:"none",onMouseover:e=>U(t),onMouseleave:X,style:re({cursor:u.clickable?"pointer":"default"}),onClick:e=>te(t,e)},null,44,ec),[[a,{content:H(t)}]]),he(s("polygon",{points:t.path.top,fill:`url(#gradSegTop_${d(p)}_${t.index})`,stroke:"none",class:"tui-bar-top",onMouseover:e=>U(t),onMouseleave:X,style:re({cursor:u.clickable?"pointer":"default"}),onClick:e=>te(t,e)},null,44,tc),[[a,{content:H(t)}]])],64))],8,Kd)),[[Te,t.visible]]))),128))],8,Yd),e.iconsSymbol?(r(),g("text",{key:1,x:w.width/2,"text-anchor":"middle",class:"tui-icon tui-icon-in-svg"},G(String.fromCharCode(parseInt(e.iconsSymbol,16))),9,lc)):q("",!0),e.showTrack?(r(),g("g",{key:2,class:"tui-bar-trk",opacity:e.trackOpacity,filter:`url(#blurTrk_${d(p)})`},["cylinder"===e.shape?(r(),g(J,{key:0},[s("path",{d:j.value.body,fill:`url(#gradTrkCyde_${d(p)})`,stroke:"none"},null,8,nc),s("ellipse",{cx:j.value.top.cx,cy:j.value.top.cy,rx:j.value.top.rx,ry:j.value.top.ry,fill:`url(#gradTrkTop_${d(p)})`,stroke:"none"},null,8,oc)],64)):(r(),g(J,{key:1},[s("polygon",{points:j.value.sideA,fill:`url(#gradTrkCubeSA_${d(p)})`,stroke:"none"},null,8,ic),s("polygon",{points:j.value.sideB,fill:`url(#gradTrkCubeSB_${d(p)})`,stroke:"none"},null,8,sc),s("polygon",{points:j.value.top,fill:`url(#gradTrkTop_${d(p)})`,stroke:"none"},null,8,rc)],64))],8,ac)):q("",!0)],8,fd)):q("",!0)])),_:1}),N.value.mainUnit?(r(),g("div",{key:0,class:T(["tui-bar3d-val",{"is-top":"top"==e.mainValuePosition}])},[s("span",Ac,G(N.value.mainVal),1),s("span",uc,G(N.value.mainUnit),1)],2)):q("",!0)])])),[[i,{callback:le,uid:d(p),disabled:"self"!=d(n)(e.resizeObserver)&&v.value}]]),s("div",dc,[N.value.subUnit?(r(),g("div",cc,[s("span",fc,G(N.value.subVal),1),s("span",pc,G(N.value.subUnit),1)])):q("",!0),s("div",gc,[ne(l,null,{default:_((()=>[Re(G(e.label),1)])),_:1})])])]),e.showLegend&&O.value.length?(r(),Y(mt,{key:0,to:I.value||"body",disabled:!P.value},[ne(yn,{class:"tui-stack-3d-bar-legend",items:O.value,"active-index":D.value,layout:M.value,width:u.legendWidth,onItemHover:Z,onItemLeave:ee},null,8,["items","active-index","layout","width"])],8,["to","disabled"])):q("",!0)])],6),[[Te,f.value]])])),_:1})}}}),vc=(e,t,l="358")=>{const a=je.get1stParent(e,".tui-3d-panel");if(!a)return;if(ll.has(a,"is-3doff"))return;if(!(e&&e instanceof HTMLElement&&"string"==typeof t&&""!==t.trim()))return;const i=e.querySelector("svg");if(!i)return;const A="pathG"+t,o=i.querySelector(`g#${CSS.escape(A)}`);o&&i.removeChild(o);const n=i.querySelectorAll("path"),s=[];if(n.forEach((e=>{const t=e.getAttribute("stroke-width");null!=t&&""!==t.trim()&&String(t).includes(l)&&s.push(e)})),s.length>0){const e=document.createElementNS("http://www.w3.org/2000/svg","g");e.setAttribute("id",A),s.forEach((t=>{const l=t.getAttribute("fill"),a=t.getAttribute("stroke");t.setAttribute("class","ori-svg-item");const i=t.cloneNode(!0);i.setAttribute("class","t3d-shadow-item"),i.setAttribute("style",`--tui-t3d-thickcolor:${We.darken("none"!=l?l:a,2.5)}`),e.appendChild(i)})),i.insertBefore(e,i.firstChild)}},mc=e=>{const t="pathG"+e,l=je.el(`#${t}`);l&&l.remove()},Qt="$theme.",nl="$theme:",ol="$scheme:",yc=new Set(["data","links","nodes","edges","features","coordinates","coords"]),bc=e=>e&&"object"==typeof e&&"value"in e,ka=e=>bc(e)?e.value:e,bn=(e="")=>e.toLowerCase().includes("color"),Vc=e=>e.includes(Qt)||e.includes(nl)||e.includes(ol),wc=(e,t,l="")=>Vc(e)&&(t.inColorField||bn(l)),Vn=(e,t)=>{let l=0,a=0,i=0;for(let A=0;A<e.length;A++){const o=e[A];if("("===o)l++;else if(")"===o)l=Math.max(0,l-1);else if("{"===o)a++;else if("}"===o)a=Math.max(0,a-1);else if("["===o)i++;else if("]"===o)i=Math.max(0,i-1);else if(o===t&&0===l&&0===a&&0===i)return[e.slice(0,A),e.slice(A+1)]}return[e,""]},qc=(e,t=",")=>{const l=[];let a=0,i=0,A=0,o=0;for(let n=0;n<e.length;n++){const s=e[n];"("===s?a++:")"===s?a=Math.max(0,a-1):"{"===s?i++:"}"===s?i=Math.max(0,i-1):"["===s?A++:"]"===s?A=Math.max(0,A-1):s===t&&0===a&&0===i&&0===A&&(l.push(e.slice(o,n).trim()),o=n+1)}return l.push(e.slice(o).trim()),l.filter(Boolean)},Cc=e=>{const t=e.trim();return t.startsWith("{")&&t.endsWith("}")?t.slice(1,-1).trim():t},$c=e=>{const t=Cc(e);return qc(t).reduce(((e,t)=>{const[l,a]=Vn(t,":"),i=l.trim();return!i||!a||(e[i]=a.trim()),e}),{})},wn=(e,t)=>{console.warn(`[TuiEcharts theme option] ${e}`,t)},qn=(e,t)=>{const[l,a]=Vn(e,"|"),i=l.trim(),A=t.$tc?.(i);return A?a?We.expr(`${A}|${a.trim()}`):A:(wn(`Theme color path "${i}" was not found.`,e),`${Qt}${e}`)},kc=(e,t)=>{const l=e.trim();return l.startsWith(Qt)?qn(l.slice(Qt.length),t):l.startsWith(nl)||l.startsWith(ol)?Cn(l,t):We.expr(l)},Sa=(e,t,l,a)=>{const i=$c(e),A=i[t]??i.default;return void 0===A?(wn(`No matching key "${t}" or "default" in ${a}.`,i),`${a}${e}`):kc(A,l)},Cn=(e,t={})=>{if("string"!=typeof e)return e;const l=e.trim();return l.startsWith(Qt)?qn(l.slice(Qt.length),t):l.startsWith(ol)?Sa(l.slice(ol.length),ka(t.themeScheme),t,ol):l.startsWith(nl)?Sa(l.slice(nl.length),ka(t.theme),t,nl):e},Sc=(e,t)=>!t.scanData&&yc.has(e),Nl=(e,t,l="")=>{if("string"==typeof e)return wc(e,t,l)?Cn(e,t):e;if(!e||"object"!=typeof e||"function"==typeof e||Sc(l,t))return e;const a=t.inColorField||bn(l)?{...t,inColorField:!0}:t;if(Array.isArray(e)){let t=!1;const l=e.map((e=>{const l=Nl(e,a);return l!==e&&(t=!0),l}));return t?l:e}const i=Object.getPrototypeOf(e),A=i===Object.prototype||null===i?{}:Object.create(i);let o=!1;return Object.keys(e).forEach((t=>{const l=e[t],i=Nl(l,a,t);A[t]=i,i!==l&&(o=!0)})),o?A:e},$n=(e,t={})=>t.enabled?Nl(e,{...t,inColorField:!1}):e,Tc="TuiEcharts",Bc=Object.assign({name:Tc,inheritAttrs:!1},{__name:"chart",props:{width:[Number,String],height:[Number,String],chartOption:{type:Object,required:!0},initOptions:{type:Object,default:()=>({})},loading:{type:Boolean,default:null},useLoader:{type:Boolean,default:!0},initT3DShadow:{type:Boolean,default:!1},t3DShadowUpdate:{type:String,default:"finished",validator:e=>["rendered","finished"].includes(e)},renderer:{type:String,default:"canvas",validator:e=>["svg","canvas"].includes(e)},ready:{type:Boolean,default:!1},dataOpacity:Number,dataBlur:Number,resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)},themeToken:{type:Boolean,default:!0},themeTokenScanData:{type:Boolean,default:!1}},emits:["chartClick","chartDblClick","chartMouseDown","chartMouseUp","chartMouseOver","chartGlobalOut","chartInit","chartReady","chartRendered","chartFinished","chartThemeChanged","update:loading"],setup(e,{expose:t,emit:l}){const a=me("$global",null),{$gT3D:i,$gTheme:A,$gThemeScheme:o,$gEchartsThemeInited:n,$optResizeCounter:u,initResizeBy:c,$echarts:p,$tc:g}=a||{},v=c(),f=Ea({name:"TuiPassThrough",setup:(e,{slots:t})=>()=>t.default?.()}),h=be("TuiLoaderPanel"),y=yl(),V=Ce("echart"),b=e,q=l,w=k(null),x=La(null),C=Ve({loading:!0,inited:!1,resizing:!0}),S=m({get:()=>b.loading??C.loading,set:e=>{null!==b.loading?q("update:loading",e):C.loading=e}}),T=m((()=>b.useLoader?h:f)),B=m((()=>b.useLoader?{loading:S.value,inited:C.inited}:{})),$=(e=b.chartOption)=>$n(e,{enabled:b.themeToken,scanData:b.themeTokenScanData,theme:A,themeScheme:o,$tc:g}),z=async()=>{if(w.value)try{if(M(),x.value||!p)return;await oe(),x.value=p.init(w.value,"eTheme",{...b.initOptions,renderer:b.initT3DShadow?"svg":b.renderer}),q("chartInit",x.value),x.value.setOption($()),R(),await oe(),x.value&&(q("chartReady",x.value),S.value=!1)}catch(e){console.error("ECharts initialization failed:",e)}},R=()=>{if(!x.value)return;const e=(e,t)=>{x.value&&x.value.on(e,t)};e("click",(e=>q("chartClick",e))),e("dblclick",(e=>q("chartDblClick",e))),e("mousedown",(e=>q("chartMouseDown",e))),e("mouseup",(e=>q("chartMouseUp",e))),e("mouseover",(e=>q("chartMouseOver",e))),e("globalout",(e=>q("chartGlobalOut",e))),e("rendered",(()=>{x.value&&"rendered"==b.t3DShadowUpdate&&N(),q("chartRendered")})),e("finished",(function(){x.value&&("finished"==b.t3DShadowUpdate&&N(),q("chartFinished"),S.value=!1,C.inited=!1)}))},N=()=>{if(!w.value)return;let e=!0;const t=je.get1stParent(w.value,".tui-3d-panel");(!t||t&&ll.has(t,"is-3doff"))&&(e=!1),b.initT3DShadow&&e?vc(w.value,V):mc(V)},O=me("TuiT3DPanel",null);F((()=>[i.value,b.initT3DShadow,O?.view3d?.value]),(([e,t,l])=>{N()})),F((()=>n.value),(async e=>{!x.value||!e||(q("chartThemeChanged",{chart:x.value,theme:e}),await oe(),x.value.setTheme("eTheme"),x.value.setOption($()))}));const M=()=>{x.value&&(x.value.dispose(),x.value=null)},I=()=>{x.value&&x.value.resize()};F((()=>b.ready),(e=>{e&&z()})),F((()=>b.chartOption),(()=>{x.value&&oe((()=>{x.value&&(x.value.setOption($()),S.value=!1)}))}),{deep:!0});const P=m((()=>ce("cpt-echart",{...b.width&&{width:ze.join("number",b.width,"px")},...b.height&&{height:ze.join("number",b.height,"px")},...b.dataOpacity&&{opa:b.dataOpacity},...b.dataBlur&&{blur:b.dataBlur+"px"}})));F((()=>u.value),((e,t)=>{"root"==v.value(b.resizeObserver)&&e>t&&D()}));const D=async()=>{C.resizing=!0,I(),await oe(),setTimeout((()=>{C?.resizing&&(C.resizing=!1)}),500)};return fe((()=>{b.ready&&oe((()=>{z()}))})),tt((()=>{M()})),t({resize:I,getChart:()=>x.value,setOption:(e,t)=>{x.value&&x.value.setOption($(e),t)},clear:()=>{x.value&&x.value.clear()},initChart:z,dispose:M}),(t,l)=>{const a=Ee("tui-resize");return r(),Y(it(T.value),st(ht(B.value)),{default:_((()=>[he(s("div",Pe({ref_key:"chartRef",ref:w},d(y),{class:["tui-echarts",{"is-resizing":C.resizing}],style:P.value}),null,16),[[a,{callback:D,uid:d(V),disabled:"self"!=d(v)(e.resizeObserver)}]]),K(t.$slots,"default")])),_:3},16)}}}),xc=(e,t,l,a,i)=>{if(!e.value)return;const A=(t,l)=>{e.value&&e.value.on(t,l)};A("click",xe.debounce((l=>{let i,A=l;if(l.value&&!t.chartOption.geo3D)i=e.value.convertToPixel("geo",[l.value[0],l.value[1]]),A.domPosition=i;else if("geo"==l.componentType&&l.event?.offsetX){const{offsetX:t,offsetY:a}=l.event;i=e.value.convertFromPixel("geo",[t,a]),A.coordPosition=i}a("chartClick",A,l)}),500,!0)),A("dblclick",(e=>a("chartDblClick",e))),A("mousedown",(e=>a("chartMouseDown",e))),A("mouseup",(e=>a("chartMouseUp",e))),A("mouseover",(e=>a("chartMouseOver",e))),A("globalout",(e=>a("chartGlobalOut",e))),A("geoRoam",(e=>a("chartGeoRoam",e))),A("timelinechanged",(l=>{const{allAreaCodes:i,chartOption:{timeline:A}}=t;let o=l;if("geoTitle"==A.titleType){let t=A.data[l.currentIndex],a=i.find((e=>e.name.includes(t))),n=e.value.convertToPixel("geo",[a.lng,a.lat]);o.domPosition=n,o.current=a}a("chartTimelinechanged",o)})),A("rendered",(()=>{a("chartRendered")})),A("finished",(()=>{e.value&&(a("chartFinished"),l.inited=!0)}))},Pc=e=>{e.value&&e.value.resize()},Rc=e=>e.value,zc=(e,t,l)=>{e.value&&e.value.setOption(t,l)},Ic=e=>{e.value&&e.value.clear()},Nc=e=>{if(e.value)try{const t=e.value.getOption();t.geo&&t.geo[0]&&(t.geo[0].roam=!0,t.geo[0].zoom=1,t.geo[0].center=null,e.value.setOption(t,!1))}catch(e){console.error("Failed to reset map view:",e)}},kn=async(e,t,l)=>{try{return l?(e.registerMap(t,l),!0):(console.warn("GeoJSON data is missing"),!1)}catch(e){return console.error("Failed to register map:",e),!1}},Dc=async(e,t,l,a,i,A,o)=>{if(t.value)try{if(Sn(l),l.value)return;if(!await kn(e,a.mapName,a.geoJsonData))return void console.error("Map registration failed, aborting chart initialization");await oe(),l.value=Oi(e.init(t.value,"eTheme",{...a.initOptions,notMerge:!1,renderer:a.renderer})),A("chartInit",l.value),l.value.setOption(a.chartOption),o(),await oe(),l.value&&(A("chartReady",l.value),i.value=!1)}catch(e){console.error("ECharts Map initialization failed:",e)}},_c=(e,t,l,a,i=!1)=>{e.value&&(e.value.setOption(t,i),l.value=!1,a("chartUpdate"))},Sn=e=>{e.value&&(e.value.dispose(),e.value=null)},Oc=["onClick"],Mc={class:"breadcrumb-text"},Ec="TuiEchartsMap",Lc=Object.assign({name:Ec,inheritAttrs:!1},{__name:"map",props:{width:[Number,String],height:[Number,String],chartOption:{type:Object,required:!0},geoJsonData:{type:Object,required:!0},allAreaCodes:Array,mapName:{type:String,required:!0},initOptions:{type:Object,default:()=>({})},loading:{type:Boolean,default:null},useLoader:{type:Boolean,default:!0},renderer:{type:String,default:"canvas",validator:e=>["svg","canvas"].includes(e)},ready:{type:Boolean,default:!1},dataOpacity:Number,dataBlur:Number,resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)},updateReplace:{type:Boolean,default:!0},themeToken:{type:Boolean,default:!0},themeTokenScanData:{type:Boolean,default:!1},enableBreadcrumb:{type:Boolean,default:!1},breadcrumbConfig:{type:Object,default:()=>({data:[{code:1e5,name:"全国"}],position:{top:"5%",left:"5%"}})}},emits:["chartClick","chartDblClick","chartMouseDown","chartMouseUp","chartMouseOver","chartGlobalOut","chartInit","chartReady","chartRendered","chartFinished","chartGeoRoam","chartUpdate","chartTimelinechanged","breadcrumbClick","chartThemeChanged","update:loading"],setup(e,{expose:t,emit:l}){const a=me("$global",null),{$gT3D:i,$gTheme:A,$gThemeScheme:o,$gEchartsThemeInited:n,$optResizeCounter:u,initResizeBy:c,$echarts:p,$tc:v}=a||{},f=c(),h=Ea({name:"TuiPassThrough",setup:(e,{slots:t})=>()=>t.default?.()}),y=be("TuiLoaderPanel"),V=yl(),b=Ce("echart_map"),w=k(null),x=La(null),C=e,S=l,T=Ve({loading:!0,inited:!1,resizing:!0}),B=m({get:()=>C.loading??T.loading,set:e=>{null!==C.loading?S("update:loading",e):T.loading=e}}),$=m((()=>C.useLoader?y:h)),z=m((()=>C.useLoader?{loading:B.value,inited:T.inited}:{})),R=m((()=>C.breadcrumbConfig?.data||[])),N=m((()=>{let e=C.breadcrumbConfig?.position||{},t={};for(let l in e)"number"==typeof e[l]?t[l]=e[l]+"px":t[l]=e[l];return t})),O=(e=C.chartOption)=>$n(e,{enabled:C.themeToken,scanData:C.themeTokenScanData,theme:A,themeScheme:o,$tc:v}),M=async()=>{p&&await Dc(p,w,x,{...C,chartOption:O()},B,S,P,C.updateReplace)},I=()=>{_c(x,O(),B,S,C.updateReplace)},P=()=>{xc(x,C,T,S)},D=()=>{Sn(x)},E=()=>{Pc(x)},W=m((()=>ce("cpt-echart-map",{...C.width&&{width:ze.join("number",C.width,"px")},...C.height&&{height:ze.join("number",C.height,"px")},...C.dataOpacity&&{opa:C.dataOpacity},...C.dataBlur&&{blur:C.dataBlur+"px"}})));F((()=>C.geoJsonData),(async()=>{if(x.value){if(!p)return;await kn(p,C.mapName,C.geoJsonData),oe((()=>{I()}))}}),{deep:!0}),F((()=>C.ready),(e=>{e&&M()})),F((()=>C.chartOption),(()=>{x.value&&oe((()=>{I()}))}),{deep:!0}),F((()=>n.value),(async e=>{!x.value||!e||(S("chartThemeChanged",{chart:x.value,theme:e}),await oe(),x.value.setTheme("eTheme"),x.value.setOption(O(),C.updateReplace))})),F((()=>u.value),((e,t)=>{"root"==f.value(C.resizeObserver)&&e>t&&j()}));const j=async()=>{T.resizing=!0,E(),await oe(),setTimeout((()=>{T?.resizing&&(T.resizing=!1)}),500)};return fe((()=>{C.ready&&oe((()=>{M()}))})),tt((()=>{D()})),t({resize:E,getChart:()=>Rc(x),setOption:(e,t)=>{zc(x,O(e),t)},initChart:M,clear:()=>{Ic(x)},resetMapView:()=>{Nc(x)},dispose:D}),(t,l)=>{const a=Ee("tui-resize");return r(),Y(it($.value),st(ht(z.value)),{default:_((()=>[he(s("div",Pe({ref_key:"mapRef",ref:w},d(V),{class:["tui-echarts-map",{"is-resizing":T.resizing}],style:W.value}),null,16),[[a,{callback:j,uid:d(b),disabled:"self"!=d(f)(e.resizeObserver)}]]),e.enableBreadcrumb&&R.value.length>0?(r(),g("div",{key:0,class:"tui-map-breadcrumb",style:re(N.value)},[(r(!0),g(J,null,ke(R.value,((e,t)=>(r(),g("div",{key:`${e.code}-${t}`,class:"breadcrumb-item",onClick:l=>((e,t)=>{const l=R.value.slice(0,t+1);S("breadcrumbClick",{item:e,index:t,breadcrumb:l,chart:x.value})})(e,t)},[s("span",Mc,G(e.name),1)],8,Oc)))),128)),l[0]||(l[0]=s("i",{class:"tui-icon ti-map breadcrumb-icon"},null,-1))],4)):q("",!0),K(t.$slots,"default")])),_:3},16)}}}),Wc={key:0,class:"tui-panic-alert-inner"},jc={class:"alert-title"},Gc={class:"alert-content"},Fc={key:0,class:"debug-input-wrap"},Hc=["placeholder"],Qc={class:"alert-action"},Ta="TuiPanicAlert",Uc=Object.assign({name:Ta},{__name:"index",props:{modelValue:{type:Boolean,default:null},icon:{type:String,default:null},title:{type:String,default:null},content:{type:String,default:null},showClose:{type:Boolean,default:!1},blur:{type:Boolean,default:!0},clearDom:{type:Boolean,default:!1},fallBackPath:{type:String,default:null},silenceCondition:{type:Object,default:{}},mute:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},type:{type:String,default:"danger",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},tone:{type:String,default:"strong",validator:e=>["extremeInvert","strongInvert","strong","base","weak"].includes(e)},transparent:{type:Boolean,default:!1},backgroundBlur:{type:Boolean,default:!0},hasShadow:{type:Boolean,default:!0},shadowColor:{type:String,default:"weak",validator:e=>["weakest","weaker","weak","base","strong","stronger","strongest","match"].includes(e)}},emits:["open","close","back","update:modelValue"],setup(e,{emit:t}){const{vnode:l,proxy:{$tMessage:a}}=Ue(),{hardReload:i,i18n:A,$deviceInfo:o,$gSound:n,audio:u}=me("$global",null),c=ja(),p=Gi(),v=Ma(Ta),f=Ce("panicAlert"),h=e,y=k(!1),V=k(!0),b=k(!1),w=t,x=Ve({done:!1,config:!1}),C=(e,t)=>A(`panicAlert.${e}`,t),S={device:null,resolutionH:{min:null,max:null},resolutionV:{min:null,max:null},rejectDebugEnv:null,debugMD5:null},B=Ve({domCleared:!1,debug:{alertOn:!1,inputOn:!1,hasKey:!1,input:"",placeHolder:"input the debug code"},icon:"tui-icon ti-comment-times",title:"",content:"",silenceCondition:{}});yl();const $=()=>{l.props.onBack?w("back"):h.fallBackPath?c.push(h.fallBackPath):c.back()},z=async()=>{B.domCleared?i():(b.value=!1,h.modelValue&&w("update:modelValue",!1),w("close",!1),await oe(),se.s("closePA"+f,(()=>{y.value=!1,B.icon=null,B.title=null,B.content=null}),500))},R=()=>{B.debug.inputOn=!B.debug.inputOn},N=()=>{const{input:e}=B.debug;if(!e||e.length<8)a({content:C("debugger.codeLength"),type:"warning"});else{const{debugMD5:t}=B.silenceCondition;t==ia(e)?(la.session.s("debugCode",e),a({content:C("debugger.codeCorrect"),type:"success"}),se.s("reloadPA"+f,(()=>{i()}),2e3)):a({content:C("debugger.codeError"),type:"warning"})}},O=async e=>{if(e){const{debugMD5:e}=B.silenceCondition;B.icon="tui-icon ti-bug-ban",B.title=C("debugger.title"),B.content=C("debugger.content")+(e?C("debugger.contentWithCode"):""),I(),await oe(),y.value=!0,w("open",!0),B.debug.alertOn=!0}else i()},M=k(null),I=()=>{B.domCleared=!0,je.clearExcept(je.el("#tuiRoot"),M.value)},P=()=>{p.il()&&(p.st(),p.rl((e=>{O(e)})))},D=e=>{if(e){if(B.silenceCondition=ut.dpm(S,h.silenceCondition),x.config=!0,h.clearDom&&y.value&&I(),!B?.silenceCondition?.rejectDebugEnv)return;{const{rejectDebugEnv:e,debugMD5:t}=B.silenceCondition;if(e){if(!y.value){let l="";if(t){B.debug.hasKey=!0;const e=la.session.g("debugCode");if(e&&(l=ia(e)),e&&t==l)return}("all"==e||"prod"==e&&"prod"==zl())&&(p.il()||(p.al((e=>{O(e)})),p.lc()))}}else P()}}},E=e=>{if(!h.silenceCondition||B.debug.alertOn)return;const{type:t,resolutionH:l,resolutionV:a}=e,{device:i,resolutionH:A,resolutionV:o}=B.silenceCondition;if(i&&!i.includes(t.split("-")[0])){const e=Rl.upperAll(t.split("-")[0]),l=Rl.upperAll(i);return B.icon="tui-icon ti-laptop-phone",B.title=C("device.title"),B.content=C("device.content",{deviceA:l,deviceB:e}),y.value=!0,void w("open",!0)}return A.min&&l<A.min?(B.icon="tui-icon ti-computer-alert",B.title=C("resolution.title"),B.content=C("resolution.content",{resoluHV:C("resolution.horizontal"),operator:C("resolution.less"),resoluMinMax:C("resolution.min"),curResol:l,safeResol:A.min}),y.value=!0,void w("open",!0)):A.max&&l>A.max?(B.icon="tui-icon ti-computer-alert",B.title=C("resolution.title"),B.content=C("resolution.content",{resoluHV:C("resolution.horizontal"),operator:C("resolution.greater"),resoluMinMax:C("resolution.max"),curResol:l,safeResol:A.max}),y.value=!0,void w("open",!0)):o.min&&a<o.min?(B.icon="tui-icon ti-computer-alert",B.title=C("resolution.title"),B.content=C("resolution.content",{resoluHV:C("resolution.vertical"),operator:C("resolution.less"),resoluMinMax:C("resolution.min"),curResol:a,safeResol:o.min}),y.value=!0,void w("open",!0)):o.max&&a>o.max?(B.icon="tui-icon ti-computer-alert",B.title=C("resolution.title"),B.content=C("resolution.content",{resoluHV:C("resolution.vertical"),operator:C("resolution.greater"),resoluMinMax:C("resolution.max"),curResol:a,safeResol:o.max}),y.value=!0,void w("open",!0)):void(y.value&&!h.modelValue&&z())};F((()=>h.silenceCondition),(e=>{W(e)}),{deep:!0}),F((()=>o.value),(e=>{E(e)}),{deep:!0}),F((()=>h.modelValue),(e=>{(e=>{if(e){const{title:e,content:t}=B;e||(B.title=C("example.title")),t||(B.content=C("example.content")),y.value=!0,w("open",!0),h.clearDom&&I()}else{if(V.value)return;y.value=!1,w("close",!1)}})(e)}),{immediate:!0}),F((()=>y.value),(async e=>{e&&(se.c("closePA"+f),await oe(),n.value&&u.play("errorB"),b.value=!0)}));const W=e=>{D(e),E(o.value)},j=k({appearance:"background",type:m((()=>h.type)),tone:m((()=>h.tone)),transparent:m((()=>h.transparent)),backgroundBlur:m((()=>h.backgroundBlur)),hasShadow:m((()=>h.hasShadow)),shadowColor:m((()=>h.shadowColor))});return St((()=>{})),fe((()=>{W(h.silenceCondition),V.value=!1,x.config&&(x.done=!0)})),tt((()=>{P(),V.value=!0})),(t,l)=>{const a=be("TuiButton"),i=be("TuiTyped"),o=be("TuiMask"),n=Ee("tui-popover"),u=Ee("tui-vcid");return V.value?q("",!0):(r(),Y(mt,{key:0,to:"#tuiRoot",fallback:"#app",disabled:V.value},[x.done?he((r(),g("div",{key:0,ref_key:"panicAlertRef",ref:M,class:"tui-panic-alert"},[ne(Be,{name:"fade"},{default:_((()=>[y.value?(r(),g("div",Wc,[he(ne(i,st(ht(j.value)),{default:_((()=>[s("i",{class:T(`alert-icon ${e.icon||B.icon}`)},null,2),s("div",jc,G(e.title||B.title),1),s("div",Gc,G(e.content||B.content),1),B.debug.alertOn&&B.debug.inputOn?(r(),g("div",Fc,[he(s("input",{class:"debug-input tui-input","onUpdate:modelValue":l[0]||(l[0]=e=>B.debug.input=e),placeholder:C("debugger.inputCode"),type:"text"},null,8,Hc),[[Mi,B.debug.input]]),ne(a,{onClick:N},{default:_((()=>[...l[1]||(l[1]=[s("i",{class:"tui-icon ti-check"},null,-1)])])),_:1}),ne(a,{onClick:R},{default:_((()=>[...l[2]||(l[2]=[s("i",{class:"tui-icon ti-times"},null,-1)])])),_:1})])):q("",!0),s("div",Qc,[B.debug.alertOn?q("",!0):(r(),g(J,{key:0},[e.showClose?he((r(),g("div",{key:1,class:"icon-circle",onClick:z},[...l[4]||(l[4]=[s("i",{class:"tui-icon ti-times"},null,-1)])])),[[n,{content:d(A)("common.close"),placement:"bottom",appendTo:"#app",debug:!0,delay:1e3,zIndex:2e3}]]):he((r(),g("div",{key:0,class:"icon-circle",onClick:$},[...l[3]||(l[3]=[s("i",{class:"tui-icon ti-chevron-left"},null,-1)])])),[[n,{content:d(A)("common.back"),placement:"bottom",appendTo:"#app",delay:1e3,zIndex:2e3}]])],64)),B.debug.alertOn&&B.debug.hasKey&&!B.debug.inputOn?he((r(),g("div",{key:1,class:"icon-circle",onClick:R},[...l[5]||(l[5]=[s("i",{class:"tui-icon ti-key-encrypt"},null,-1)])])),[[n,{content:C("debugger.inputCode"),placement:"bottom",appendTo:"#app",delay:1e3,zIndex:2e3}]]):q("",!0)])])),_:1},16),[[Te,b.value]])])):q("",!0)])),_:1})])),[[u,d(v)]]):q("",!0),ne(o,{"model-value":y.value&&b.value&&e.modal},null,8,["model-value"])],8,["disabled"]))}}}),Tn={width:[Number,String],height:[Number,String],data:{type:Array,required:!0,default:()=>[]},innerRadiusPercent:{type:Number,default:50,validator:e=>e>=0&&e<=95},cornerRadius:{type:Number,default:10},gapSize:{type:Number,default:10},useGradient:{type:Boolean,default:!1},gradientRatio:{type:Number,default:.3},thicknessColorRatio:{type:Number,default:2},showCenterText:{type:Boolean,default:!0},radiusRatio:{type:Number,default:.8},chartTitle:{type:String,default:"Total"},pieOffset:Number,centerTextOffset:Number,unit:String,hoverOffset:{type:Number,default:5},clickable:{type:Boolean,default:!1},inactiveOpacity:{type:Number,default:.4,validator:e=>"number"==typeof e&&e>=0&&e<=1},activeIndex:{type:Number,default:null},animationDuration:{type:Number,default:750},animationEasing:{type:String,default:"cubic-bezier(0.23, 1, 0.32, 1)"},animate:{type:Boolean,default:!0},legendShow:{type:Boolean,default:!0},legendPosition:{type:String,default:"bottom",validator:e=>["bottom","top","left","right"].includes(e)},legendTeleportTo:{type:[String,Object],default:null},legendWidth:[Number,String],showShadowGroup:{type:Boolean,default:!1},resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},Yc={transformOriginTop:[Number,String],...Tn,legendTeleportTo:{type:[String,Object],default:"default"},transform3D:{type:Object,default:{x:0,y:0,z:0}},t3DConfig:Object},Kc=["width","height","viewBox"],Xc=["cx","cy","r","id"],Zc=["stop-color"],Jc=["stop-color"],ef={key:0,class:"pie-shadow-group"},tf=["fill","d","transform"],lf=["d","fill","transform","onMouseover","onMouseleave","onClick"],af={class:"tui-info-value"},nf={class:"tui-info-name"},of={key:0,class:"tui-info-unit"},Bn=Object.assign({name:"TuiPie"},{__name:"pie",props:Tn,emits:["sliceHover","sliceLeave","sliceClick","itemClick","legendChange"],setup(e,{emit:t}){const{$themePalette:l,$optResizeCounter:a,initResizeBy:i}=me("$global",null),A=i(),o=e,n=t,u=Ce("pie3D"),c=k(!1),p=k(!1),v=k(!1),f=Ve({width:300,height:300,hovSliceIdx:null,hovLegendIdx:null,isResizing:!1,dftColors:[]}),h=e=>{if("string"!=typeof e||!e.trim())return!1;const t=e.trim();return"string"==typeof We[t]||(!(typeof CSS<"u"&&"function"==typeof CSS.supports)||CSS.supports("color",t))},y=()=>{Array.isArray(o.data)&&0!==o.data.length?(o.data.some((e=>!h(e?.color)))||f.dftColors.length!==o.data.length)&&(()=>{if(!ut.isEmpty(l.value)){const e=o.data.length,t=["#197fe6","#47eb99","#eaeb47","#eb9947","#eb4747","#9947eb"];f.dftColors=We.scale(t,e)}})():f.dftColors=[]},V=(e,t)=>h(e?.color)?e.color:f.dftColors[t%f.dftColors.length],b=k([]),w=k(!1);F((()=>o.data),(e=>{if(y(),!o.animate)return void(b.value=e.map(((e,t)=>{const l={...e};return!h(l.color)&&f.dftColors.length>0&&(l.color=V(l,t)),{...l,animValue:l&&"number"==typeof l.value&&l.value>0?l.value:0}})));const t={};b.value.forEach((e=>{e&&e.label&&(t[e.label]={animValue:e.animValue||0,color:e.color})}));const l=e.map(((e,l)=>{const a=e.label&&void 0!==t[e.label]?t[e.label].animValue:0,i={...e};return!h(i.color)&&f.dftColors.length>0&&(i.color=V(i,l)),{...i,animValue:a,targetValue:i&&"number"==typeof i.value&&i.value>0?i.value:0}})),a=new Set(e.map((e=>e.label))),i=[];Object.keys(t).forEach((e=>{!a.has(e)&&t[e].animValue>0&&i.push({label:e,color:t[e].color,animValue:t[e].animValue,targetValue:0,value:0})})),b.value=[...l,...i],o.animate&&!w.value&&(w.value=!0,function(){if(!o.animate)return;const e=Date.now(),t=o.animationDuration,l=()=>{const a=Date.now()-e,i=Math.min(a/t,1),A=((e,t)=>{switch(t){case"linear":return e;case"ease-in":return e*e;case"ease-out":return e*(2-e);case"ease-in-out":return e<.5?2*e*e:(4-2*e)*e-1;case"cubic-bezier(0.23, 1, 0.32, 1)":default:return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1}})(i,o.animationEasing);b.value.forEach((e=>{if(void 0!==e.targetValue){const t=e.animValue||0,l=e.targetValue-t;e.animValue=t+l*A}})),i<1?requestAnimationFrame(l):(b.value.forEach((e=>{void 0!==e.targetValue&&(e.animValue=e.targetValue)})),w.value=!1)};requestAnimationFrame(l)}())}),{deep:!0,immediate:!0});const x=m((()=>f.width/2)),C=m((()=>f.height/2)),S=m((()=>Qe.min(f.height,f.width))),B=m((()=>S.value/2*o.radiusRatio)),$=m((()=>b.value.reduce(((e,t)=>e+(t&&"number"==typeof t.animValue&&t.animValue>0?t.animValue:0)),0))),z=m((()=>o.data.reduce(((e,t)=>e+(t&&"number"==typeof t.value&&t.value>0?t.value:0)),0))),R=m((()=>Array.isArray(b.value)?b.value.filter((e=>e&&"number"==typeof e.animValue&&e.animValue>0&&e.label)):[])),N=m((()=>R.value.map(((e,t)=>({index:t,label:e.label,color:e.color,value:e.value||e.targetValue||0}))))),O=m((()=>null!=o.activeIndex?o.activeIndex:f.hovSliceIdx??f.hovLegendIdx??null)),M=e=>null==O.value||O.value===e?1:o.inactiveOpacity,I=e=>({"--tui-t3d-thickcolor":We.darken(e.color,o.thicknessColorRatio),opacity:M(e.index)}),P=m((()=>B.value*(o.innerRadiusPercent/100))),D=m((()=>{const e=[];if($.value<=0||0===R.value.length)return e;const t=2*Math.PI;let l=-Math.PI/2;return R.value.forEach(((a,i)=>{const A=a.animValue/$.value*t;if(A<1e-6)return;const n=l,s=l+A,r=Zo(x.value,C.value,B.value,P.value,n,s,o.cornerRadius,o.gapSize);if(r.includes("Error"))return;const d=a.color||(f.dftColors.length>0?f.dftColors[i%f.dftColors.length]:"#cccccc"),c=o.useGradient?`url(#${u}-grad-${i})`:d;let p="";if(f.hovSliceIdx===i&&o.hoverOffset>0){const e=n+A/2,t=o.hoverOffset*Math.cos(e),l=o.hoverOffset*Math.sin(e);p=`translate(${t.toFixed(3)}, ${l.toFixed(3)})`}const g=a.value||a.targetValue||a.animValue,v=(g/z.value*100).toFixed(1),m=`${a.label}: ${g.toLocaleString()} (${v}%)`;e.push({idSuffix:i,d:r,fill:c,transform:p,tooltip:m,color:d,originalData:a,index:i}),l=s})),e})),E=m((()=>o.showCenterText&&o.innerRadiusPercent>10&&$.value>0)),W=m((()=>{const e=2*P.value;let t=Math.min(.1*S.value,Math.max(.03*S.value,.15*e));return(0===R.value.length||0===$.value)&&(t=Math.min(.08*S.value,Math.max(.02*S.value,.1*e))),{title:.9*t,total:1.1*t}})),j=m((()=>z.value<=0&&0===R.value.length&&!o.data.some((e=>e&&"number"==typeof e.value&&e.value>0))?"N/A":z.value.toLocaleString())),L=m((()=>xt("cpt-tpie",{...o.pieOffset&&{pieoffset:ze.join("number",o.pieOffset,"px")},...o.centerTextOffset&&{totaloffset:ze.join("number",o.centerTextOffset,"px")}}))),K=m((()=>xt("cpt-tpie-font",{total:W.value.total+"px",title:W.value.title+"px"}))),H=k(!1),Q=m((()=>["left","right"].includes(o.legendPosition)?"column":"row")),U=m((()=>{if(!v.value||!o.legendTeleportTo)return null;if("string"==typeof o.legendTeleportTo)return typeof document<"u"?document.querySelector(o.legendTeleportTo):null;const e=d(o.legendTeleportTo);return 1===e?.nodeType?e:null})),X=m((()=>!!U.value));F((()=>N.value),(e=>{n("legendChange",e)}),{deep:!0,immediate:!0}),F((()=>a.value),((e,t)=>{"root"==A.value(o.resizeObserver)&&e>t&&Z()}));const Z=async()=>{f.isResizing=!0,await oe(),H.value&&(f.width=Number(o.width)||H.value.clientWidth,f.height=Number(o.height)||H.value.clientHeight),setTimeout((()=>{f.isResizing=!1,p.value=!0}),500)};F((()=>[o.legendPosition,o.legendShow,o.legendTeleportTo]),(async()=>{await oe(),Z()})),F((()=>N.value.length),(async()=>{await oe(),Z()}));const ee=({index:e})=>{f.hovLegendIdx=e},te=()=>{f.hovLegendIdx=null};return fe((async()=>{c.value=!0,await oe(),v.value=!0,y(),(()=>{y();const e=o.data.map(((e,t)=>{const l={...e};return!h(l.color)&&f.dftColors.length>0&&(l.color=V(l,t)),{...l,animValue:l&&"number"==typeof l.value&&l.value>0?l.value:0}}));b.value=e})()})),(e,t)=>{const l=Ee("tui-cursor-tip"),a=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["tui-pie-chart",`tui-legend-pos-${e.legendPosition}`,{"is-resizing":f.isResizing}])},[he((r(),g("div",{class:"tui-pie-inner",style:re(L.value),ref_key:"pieWrapRef",ref:H},[ne(Be,{name:"fade"},{default:_((()=>[p.value?(r(),g("svg",{key:0,class:"tui-svg",width:f.width,height:f.height,viewBox:`0 0 ${f.width} ${f.height}`},[s("defs",null,[o.useGradient?(r(!0),g(J,{key:0},ke(D.value,(t=>(r(),g("radialGradient",{cx:x.value,cy:C.value,r:B.value,key:`${d(u)}-grad-${t.idSuffix}`,id:`${d(u)}-grad-${t.idSuffix}`,gradientUnits:"userSpaceOnUse"},[s("stop",{offset:.7,"stop-color":d(We).lighten(t.color,e.gradientRatio)},null,8,Zc),s("stop",{offset:1,"stop-color":d(We).darken(t.color,e.gradientRatio)},null,8,Jc)],8,Xc)))),128)):q("",!0)]),o.showShadowGroup?(r(),g("g",ef,[(r(!0),g(J,null,ke(D.value,(e=>(r(),g("path",{style:re(I(e)),key:e.idSuffix,fill:e.fill,d:e.d,transform:e.transform,class:"t3d-shadow-item"},null,12,tf)))),128))])):q("",!0),s("g",null,[(r(!0),g(J,null,ke(D.value,(e=>he((r(),g("path",{key:e.idSuffix,d:e.d,fill:e.fill,transform:e.transform,class:"pie-slice",style:re({opacity:M(e.index),cursor:o.clickable?"pointer":"default"}),onMouseover:t=>((e,t)=>{f.hovSliceIdx=e.index,n("sliceHover",{event:t,data:e.originalData,index:e.index})})(e,t),onMouseleave:t=>((e,t)=>{f.hovSliceIdx=null,n("sliceLeave",{event:t,data:e.originalData,index:e.index})})(e,t),onClick:t=>((e,t)=>{if(!o.clickable)return;const l={event:t,data:e.originalData,index:e.index};n("sliceClick",l),n("itemClick",l)})(e,t)},null,44,lf)),[[l,{content:e.tooltip}]]))),128))])],8,Kc)):q("",!0)])),_:1}),E.value?(r(),g("div",{key:0,class:"tui-total-info text-shadow-item",style:re(K.value)},[s("div",af,G(j.value),1),s("div",nf,G(o.chartTitle),1),o.unit?(r(),g("div",of,"("+G(o.unit)+")",1)):q("",!0)],4)):q("",!0)],4)),[[a,{callback:Z,uid:d(u),disabled:"self"!=d(A)(e.resizeObserver)&&p.value}]]),o.legendShow&&N.value.length>0?(r(),Y(mt,{key:0,to:U.value||"body",disabled:!X.value},[ne(yn,{items:N.value,"active-index":O.value,layout:Q.value,width:o.legendWidth,onItemHover:ee,onItemLeave:te},null,8,["items","active-index","layout","width"])],8,["to","disabled"])):q("",!0)],2),[[Te,c.value]])])),_:1})}}}),sf={class:"tui-pie-inner"},rf=Object.assign({name:"TuiPie3D"},{__name:"index",props:Yc,emits:["sliceHover","sliceLeave","sliceClick","itemClick"],setup(e,{emit:t}){const l=e,a=t,i=k(null),A=k(null),o=m((()=>({width:l.width,height:l.height,data:l.data,innerRadiusPercent:l.innerRadiusPercent,cornerRadius:l.cornerRadius,gapSize:l.gapSize,useGradient:l.useGradient,gradientRatio:l.gradientRatio,thicknessColorRatio:l.thicknessColorRatio,showCenterText:l.showCenterText,radiusRatio:l.radiusRatio,chartTitle:l.chartTitle,pieOffset:l.pieOffset,centerTextOffset:l.centerTextOffset,unit:l.unit,hoverOffset:l.hoverOffset,animationDuration:l.animationDuration,animationEasing:l.animationEasing,animate:l.animate,legendShow:l.legendShow,legendPosition:l.legendPosition,legendWidth:l.legendWidth,legendTeleportTo:"default"===l.legendTeleportTo?A.value:l.legendTeleportTo,showShadowGroup:!0,resizeObserver:l.resizeObserver}))),n=m((()=>({mode:"static",transformOrigin:"top",showShadow:!0,thicknessFixGap:!0,thicknessCoeff:.15,shadowCoeff:.1,shadowBlur:3,coeff:1,rotateMax:90,initialRotate:{...l.transform3D},...null!=l.transformOriginTop?{transformOriginTop:l.transformOriginTop}:{},...l.t3DConfig}))),d=e=>{i.value=null!=e?.index?Number(e.index):null,a("sliceHover",e)},u=e=>{i.value=null,a("sliceLeave",e)},c=e=>{a("sliceClick",e),a("itemClick",e)},p=m((()=>xt("cpt-tpie3d",{...l.transformOriginTop&&{tot:ze.join("number",l.transformOriginTop,"px")}})));return(e,t)=>{const a=be("Tui3DPanel");return r(),Y(Be,{name:"fade"},{default:_((()=>[s("div",{class:T(["tui-pie-3d",`tui-legend-pos-${e.legendPosition}`]),style:re(p.value)},[s("div",sf,[ne(a,Pe(n.value,{class:"t3d-panel"}),{default:_((()=>[ne(Bn,Pe(o.value,{"active-index":i.value,"inactive-opacity":l.inactiveOpacity,clickable:l.clickable,onSliceHover:d,onSliceLeave:u,onSliceClick:c}),null,16,["active-index","inactive-opacity","clickable"])])),_:1},16)]),l.legendShow?(r(),g("div",{key:0,ref_key:"legendTeleportHostRef",ref:A,class:"tui-pie-legend-teleport-host"},null,512)):q("",!0)],6)])),_:1})}}}),Wt=new _a,Ba=e=>{let t=ut.keyValid(e,["x","y","z"],!1);return t.valid||console.warn("HoverRotate Warning",t.message),t.valid},xa="Tui3DPanel",Af=Object.assign({name:xa},{__name:"index",props:{animationRotate:{type:Array,default:()=>[],validator:e=>{const{valid:t,message:l}=wt.fieldValid(e,["x","y"]);return t||console.warn("Tui3DPanel Warning! ",l),t}},hoverMask:{type:Boolean,default:!1},hoverDelay:{type:Number,default:0},hoverRotate:{type:Object,default:{x:0,y:0,z:0},validator:Ba},initialRotate:{type:Object,default:{x:0,y:0,z:0},validator:Ba},rotateMax:{type:Number,default:50},rotateMin:{type:Number,default:-50},perspective:Number,transformOrigin:{type:String,default:null,validator:e=>["bottom","top","left","right","left top","center","right top","left bottom","right bottom"].includes(e)},duration:{type:Number,default:null},aniDelay:{type:Number,default:1e3},coeff:{type:Number,default:null},mode:{type:String,default:"auto",required:!0,validator:e=>["hover","matrix","hive","unity","animation","gyro","auto","static"].includes(e)},eventBus:{type:Boolean,default:!1},uesAlpha:{type:Boolean,default:!1},fixAlpha:{type:Number,default:0},showShadow:{type:Boolean,default:!0},shadowCoeff:Number,shadowBlur:Number,shadowTransparent:Number,showThickness:{type:Boolean,default:!0},thicknessLength:Number,thicknessCoeff:Number,thicknessBlur:Number,thicknessTransparent:Number,thicknessColor:{type:String,default:null},thicknessFixGap:{type:Boolean,default:!1},view3d:{type:Boolean,default:!0},inAdaptive:{type:Boolean,default:!0},index:{type:Number,default:0},group:{type:String,default:"t3dcom"}},setup(e){const t=k(null),l=k(!1),{$tState:a,$t3dConfig:i,$gT3D:A,tConsolei18n:o,$deviceInfo:n}=me("$global",null),u=e,c=Ma(xa),p=Ce("t3d"),v=Ve({view3d:!1,hoverState:!1,curAniIndex:0,mode:"",coeff:1,shadowCoeff:1,eventInited:!1,curRotate:{x:0,y:0,z:0},animationRotate:[],aniStart:!1,initialRotate:{},hoverRotate:{},fixAlpha:0,ParmarsBak:{coeff:1,shadowCoeff:1},screenDir:"landscape",screenInvert:!1});Ke("TuiT3DPanel",{view3d:m((()=>v.view3d))});const f=m((()=>{const e=v.mode;return u.duration?u.duration:"hive"==e||"matrix"==e||"unity"==e?0:"animation"==e?5e3:"hover"==e?1e3:"gyro"==e?500:void 0})),h=e=>{"hover"==v.mode&&A.value&&v.view3d&&(1==e?(se.c(p+"out"),se.s(p+"in",(()=>{const{x:e,y:t}=v.hoverRotate;w(e,t),se.s(p+"hovSta",(()=>{v.hoverState=!0}),f.value)}),u.hoverDelay)):0==e&&(v.hoverState=!1,se.c(p+"hovSta"),se.c(p+"in"),se.s(p+"out",(()=>{const{x:e,y:t}=v.initialRotate;w(e,t)}),u.hoverDelay)))},y=e=>{if(u.eventBus||0==u.index){let l=t.value.getBoundingClientRect(),a=window.innerWidth,i=window.innerHeight;if(u.inAdaptive){const e=sa(v.ParmarsBak.coeff,v.ParmarsBak.shadowCoeff,a);v.coeff=e[0],v.shadowCoeff=e[1]}const{rotateX:A,rotateY:o}=ra(v.mode,v.coeff,e,l,i,a);w(A,o),Wt.emit(u.group+"t3DBus",e)}else Wt.on(u.group+"t3DBus",(e=>{let l=t.value.getBoundingClientRect(),a=window.innerWidth,i=window.innerHeight;if(u.inAdaptive){const e=sa(v.ParmarsBak.coeff,v.ParmarsBak.shadowCoeff,a);v.coeff=e[0],v.shadowCoeff=e[1]}const{rotateX:A,rotateY:o}=ra(v.mode,v.coeff,e,l,i,a);w(A,o)}))},V=e=>{if(0==u.index||null==u.index){0==v.fixAlpha&&e.alpha&&(v.fixAlpha=e.alpha?.toFixed(5)||0);const t=v.coeff;let{alpha:l,beta:a,gamma:i,delta:A}=Jo(e,v.fixAlpha,u.uesAlpha);"landscape"!=v.screenDir||v.screenInvert?"portrait"!=v.screenDir||v.screenInvert?"landscape"==v.screenDir&&v.screenInvert?w(i*A*t/3,-a*A*t/3,l*A*t/3):"portrait"==v.screenDir&&v.screenInvert&&w(-a*A*t/3,-i*A*t/3,l*A*t/3):w(a*A*t/3,i*A*t/3,l*A*t/3):w(-i*A*t/3,a*A*t/3,l*A*t/3);const o={fixAlpha:v.fixAlpha,x:v.curRotate.x,y:v.curRotate.y,z:v.curRotate.z};null!=u.index&&Wt.emit(u.group+"t3DGyroBus",o)}else Wt.on(u.group+"t3DGyroBus",(e=>{const{fixAlpha:t,x:l,y:a,z:i}=e;v.fixAlpha=t,v.curRotate.x=l,v.curRotate.y=a,v.curRotate.z=i}))},b=()=>{se.s(p+"panelAni",(()=>{v.aniStart=!0;let e=v.curAniIndex,t=u.animationRotate;w(t[e].x,t[e].y),e!=t.length-1?v.curAniIndex++:v.curAniIndex=0,b()}),v.aniStart?f.value:u.aniDelay)},w=(e,t,l)=>{v.curRotate.x=x(e),v.curRotate.y=x(t),"number"==ze(l)&&(v.curRotate.z=x(l))},x=e=>{const t=u.rotateMax,l=u.rotateMin;return e>t?t:e<l?l:e},C=()=>{v.mode&&("animation"==v.mode?se.c(p+"panelAni"):"gyro"==v.mode?((u.eventBus||0==u.index)&&v.eventInited&&(xe.remove(window,"deviceorientation",p),v.eventInited=!1),null!=u.index&&Wt.off(u.group+"t3DGyroBus"),u.index):((u.eventBus||0==u.index)&&v.eventInited&&(xe.remove(window,"mousemove",p,!0),v.eventInited=!1),null!=u.index&&Wt.off(u.group+"t3DBus")),v.curRotate.x=0,v.curRotate.y=0,v.curRotate.z=0)},S=m((()=>xt("cpt-t3dp",{...u.thicknessColor&&{thickcolor:u.thicknessColor},...u.transformOrigin&&{transorigin:u.transformOrigin},...u.thicknessCoeff&&{thickcoeff:u.thicknessCoeff},...u.thicknessBlur&&{thickblur:u.thicknessBlur+"px"},...u.shadowCoeff&&1!=v.shadowCoeff&&{shadowcoeff:v.shadowCoeff},...u.shadowBlur&&{shadowblur:u.shadowBlur+"px"},...u.shadowTransparent&&{shadowtrans:u.shadowTransparent},...u.thicknessTransparent&&{thicktrans:u.thicknessTransparent},...u.perspective&&{perspective:u.perspective+"px"},...f.value&&{dur:f.value+"ms"},...l.value&&{rotateX:v.curRotate.x,rotateY:v.curRotate.y,rotateZ:v.curRotate.z}})));F((()=>[u.coeff,u.shadowCoeff,u.fixAlpha]),(()=>{B()})),F((()=>u.initialRotate),(()=>{B()}),{deep:!0}),F((()=>u.hoverRotate),(()=>{B()}),{deep:!0});const B=()=>{u.hoverRotate&&(v.hoverRotate=ut.dpm(v.curRotate,u.hoverRotate)),u.initialRotate&&(v.initialRotate=ut.dpm(v.curRotate,u.initialRotate),"static"==v.mode&&(v.curRotate=v.initialRotate)),u.coeff&&(v.coeff=u.coeff,v.ParmarsBak.coeff=v.coeff),u.shadowCoeff&&(v.shadowCoeff=u.shadowCoeff,v.ParmarsBak.shadowCoeff=v.shadowCoeff),u.fixAlpha&&(v.fixAlpha=u.fixAlpha)};F((()=>n.value.orientation),(e=>{v.screenDir=e}),{immediate:!0}),F((()=>n.value.screenInvert),(e=>{v.screenInvert=e}),{immediate:!0}),F((()=>[A.value,u.view3d]),(([e,t])=>{v.view3d=!(!e||!t)}),{immediate:!0}),F((()=>v.view3d),(e=>{e?(B(),(async()=>{const e=v.mode;if(e){if(!A.value||!v.view3d)return void(v.curRotate={x:0,y:0,z:0});if("hover"==e){const{x:e,y:t}=v.initialRotate;w(e,t)}else"hive"==e||"matrix"==e||"unity"==e?u.eventBus||0==u.index?(xe.add(window,"mousemove",y,p,!0),v.eventInited=!0):y():"animation"==e?b():"gyro"==e?"https:"==window.location.protocol?0==u.index||null==u.index?(typeof DeviceOrientationEvent<"u"&&"function"==typeof DeviceOrientationEvent.requestPermission&&DeviceOrientationEvent.requestPermission(),xe.add(window,"deviceorientation",V,p),v.eventInited=!0):V():o("warning","panelGyro","warn.panelGyro"):"static"==e&&(v.curRotate=v.initialRotate)}})()):C()}),{immediate:!0}),F((()=>n.value.type),(async e=>{if(!e)return;v.view3d&&(v.view3d=!1,C()),await oe(),(e=>{const t=e;n.value.type,"auto"==u.mode?t.includes("pc")?v.mode="matrix":(t.includes("mobile")||t.includes("pad"))&&(v.mode="gyro"):v.mode=u.mode})(e);const t=v.mode,l=A.value,a=u.view3d;l&&a&&(e.includes("mobile")||e.includes("pad")?("gyro"==t||"animation"==t)&&(v.view3d=!0):e.includes("pc")&&"gyro"!=t&&(v.view3d=!0))}),{immediate:!0});const $=e=>{const t=je.el(".tui-3d-panel",!0);t.length>0&&e&&!i.value.inited?a.t3dConfig.inited=!0:0==t.length&&!e&&i.value.inited&&(a.t3dConfig.inited=!1)};return St((()=>{})),fe((async()=>{l.value=!0,await oe(),$(!0)})),tt((async()=>{l.value=!0,v.view3d=!1,C(),await oe(),$(!1)})),(a,i)=>{const o=Ee("tui-vcid");return l.value?he((r(),g("div",{key:0,style:re(S.value),class:T(["tui-3d-panel",`tui-mode-${e.mode}`,"tui-shadow-"+(e.showShadow?"show":"hide"),"tui-thickness-"+(e.showThickness?"show":"hide"),{"is-3doff":!d(A)||!v.view3d,"is-fixgap":e.thicknessFixGap}]),ref_key:"t3dRef",ref:t},[s("div",{class:T(["tui-3d-panel-inner",[{"is-hover":v.hoverState,"has-mask":e.hoverMask&&"hover"==e.mode&&d(A)}]]),onMouseenter:i[0]||(i[0]=e=>h(1)),onMouseleave:i[1]||(i[1]=e=>h(0))},[K(a.$slots,"default",{boxShadowName:"box-shadow-item",textShadowName:"text-shadow-item",t3dShadowName:"t3d-shadow-item",dropShadowName:"drop-shadow-item"})],34)],6)),[[o,d(c)]]):q("",!0)}}}),sl={type:{type:String,default:"default",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis","focus"].includes(e)},decoType:{type:String,default:"A",validator:e=>["A","B","C","D","E","F","G","H","I","J"].includes(e)},size:{type:String,default:null,validator:e=>["large","default","small"].includes(e)},customColor:{type:[String,Array],default:null,validator:e=>"string"==ze(e)?CSS.supports("color",e):"array"==ze(e)?e.length>0&&e.every((e=>CSS.supports("color",e))):void 0},iconPosition:{type:String,default:"start",validator:e=>["start","end"].includes(e)},nativeType:{type:String,default:"button",validator:e=>["button","submit","reset"].includes(e)},decoDirection:{type:String,default:"br",validator:e=>["tl","tr","bl","br"].includes(e)},borderRadius:{type:Number,default:-1},decoThickness:{type:Number,default:0},decoOffset:{type:Number,default:-1},decoSize:{type:Number,default:0},plain:{type:Boolean,default:!1},round:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},link:{type:Boolean,default:!1},text:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},textWithBG:{type:Boolean,default:!1},icon:String},uf=["disabled","type"],df=Object.assign({name:"TuiButton"},{__name:"button",props:{...sl},emits:["click"],setup(e,{emit:t}){const{proxy:{$slots:l,$tService:{$gThemeScheme:a}}}=Ue(),i=e,A=m((()=>{const e=i.customColor;if(!e)return;let t=We.genColors(e,7,50);return"dark"==a.value&&(t=t.reverse()),ce("custom",We.genColorObj(t))})),o=t,n=me("TuiButtonG",null),s=m((()=>n?.size?.value||i.size)),u=e=>{i.disabled||i.loading||o("click",e)};return fe((()=>{})),(e,t)=>(r(),g("button",{class:T([!e.link&&!e.text&&"tui-button",`tui-type-${e.customColor?"custom":e.type}`,s.value&&`tui-size-${s.value}`,{"tui-button-link":e.link,"tui-button-text":e.text,"is-plain":e.plain,"is-round":e.round,"is-circle":e.circle,"text-has-bg":e.textWithBG&&e.text,"is-disabled":e.disabled}]),disabled:e.disabled,type:e.nativeType,onClick:u,style:re(e.customColor?A.value:null)},[e.icon?(r(),g("i",{key:0,class:T(e.icon)},null,2)):q("",!0),d(l).default&&!e.circle?K(e.$slots,"default",{key:1}):q("",!0)],14,uf))}}),cf=["disabled","type"],ff=Object.assign({name:"TuiButtonA1"},{__name:"buttonA1",props:{...sl},emits:["click"],setup(e,{emit:t}){const{proxy:{$slots:l,$tState:a,$tService:{$gThemeScheme:i}}}=Ue(),A=e,o=t,n=e=>{A.disabled||A.loading||o("click",e)},u=m((()=>ce("cpt-btn",{...A.borderRadius>-1&&{radius:A.borderRadius+"px"},...A.decoSize>0&&{decoSize:A.decoSize+"px"},...A.decoOffset>-1&&{decoOffset:A.decoOffset+"px"},...A.decoThickness>0&&{decoThickness:A.decoThickness+"px"}}))),c=m((()=>{const e=A.customColor;if(!e)return;let t=We.genColors(e,7,50);return"dark"==i.value&&(t=t.reverse()),ce("custom",We.genColorObj(t))}));return(e,t)=>(r(),g("button",{class:T(["tui-button","tui-button-a1",`tui-type-${e.customColor?"custom":e.type}`,`tui-decotype-${e.decoType}`,e.size&&`tui-size-${e.size}`,"B"==e.decoType&&`tui-caret-${e.decoDirection}`,{"is-plain":e.plain,"is-disabled":e.disabled}]),disabled:e.disabled,type:e.nativeType,onClick:n,style:re([e.customColor?c.value:null,u.value])},[e.icon?(r(),g("i",{key:0,class:T(e.icon)},null,2)):q("",!0),d(l).default?K(e.$slots,"default",{key:1}):q("",!0),"C"==e.decoType?(r(),g(J,{key:2},[t[0]||(t[0]=s("div",{class:"bd-angle-left"},null,-1)),t[1]||(t[1]=s("div",{class:"bd-angle-right"},null,-1))],64)):q("",!0),"B"==e.decoType?(r(),g("div",{key:3,class:T(`tui-caret caret-${e.decoDirection}`),style:re(u.value)},null,6)):q("",!0)],14,cf))}}),pf=["disabled","type"],gf=Object.assign({name:"TuiButtonA2"},{__name:"buttonA2",props:{...sl},emits:["click"],setup(e,{emit:t}){const{proxy:{$slots:l,$tService:{$gThemeScheme:a}}}=Ue(),i=e,A=t,o=e=>{i.disabled||i.loading||A("click",e)},n=m((()=>ce("cpt-btn",{...i.borderRadius>-1&&{radius:i.borderRadius+"px"},...i.decoThickness>0&&{decoThick:i.decoThickness+"px"}}))),s=m((()=>{const e=i.customColor;if(!e)return;let t=We.genColors(e,7,50);return"dark"==a.value&&(t=t.reverse()),ce("custom",We.genColorObj(t))}));return(e,t)=>(r(),g("button",{class:T(["tui-button","tui-button-a2",`tui-type-${e.customColor?"custom":e.type}`,`tui-decotype-${e.decoType}`,e.size&&`tui-size-${e.size}`,{"is-plain":e.plain,"is-disabled":e.disabled,"has-icon":e.icon||d(l).icon}]),disabled:e.disabled,type:e.nativeType,onClick:o,style:re([e.customColor?s.value:null,n.value])},[e.icon?(r(),g("i",{key:0,class:T(e.icon)},null,2)):q("",!0),d(l).default&&!e.circle?K(e.$slots,"default",{key:1}):q("",!0)],14,pf))}}),hf=["disabled","type"],xn=Object.assign({name:"TuiButtonA3"},{__name:"buttonA3",props:{...sl},emits:["click"],setup(e,{emit:t}){const{proxy:{$slots:l,$tService:{$gThemeScheme:a}}}=Ue(),i=e,A=t,o=e=>{i.disabled||i.loading||A("click",e)},n=m((()=>ce("cpt-btn",{...i.borderRadius>-1&&{radius:(i.borderRadius>8?8:i.borderRadius)+"px"},...i.decoOffset>-1&&{decoOffset:i.decoOffset+"px"},...i.decoThickness>0&&{decoThick:i.decoThickness+"px",decoThickHov:i.decoThickness+i.decoThickness/2+"px"}}))),s=m((()=>{const e=i.customColor;if(!e)return;let t=We.genColors(e,7,50);return"dark"==a.value&&(t=t.reverse()),ce("custom",We.genColorObj(t))}));return(e,t)=>(r(),g("button",{class:T(["tui-button","tui-button-a3",`tui-type-${e.customColor?"custom":e.type}`,`tui-decotype-${e.decoType}`,e.size&&`tui-size-${e.size}`,{"is-plain":e.plain,"is-disabled":e.disabled,"has-icon":e.icon||d(l).icon}]),disabled:e.disabled,type:e.nativeType,onClick:o,style:re([e.customColor?s.value:null,n.value])},[e.icon?(r(),g("i",{key:0,class:T(e.icon)},null,2)):q("",!0),d(l).default&&!e.circle?K(e.$slots,"default",{key:1}):q("",!0)],14,hf))}}),vf=["disabled","type"],mf={class:"tui-icon-wrap"},yf=Object.assign({name:"TuiButtonB1"},{__name:"buttonB1",props:{...sl},emits:["click"],setup(e,{emit:t}){const{proxy:{$slots:l,$tState:a,$tService:{$gThemeScheme:i}}}=Ue(),A=e,o=m((()=>A.icon||"start"==A.iconPosition&&"tui-icon ti-chevron-left"||"end"==A.iconPosition&&"tui-icon ti-chevron-right")),n=t,u=e=>{A.disabled||A.loading||n("click",e)},c=m((()=>{const e=A.customColor;if(!e)return;let t=We.genColors(e,7,50);return"dark"==i.value&&(t=t.reverse()),ce("custom",We.genColorObj(t))}));return(e,t)=>(r(),g("button",{class:T(["tui-button","tui-button-b1",`tui-type-${e.customColor?"custom":e.type}`,`tui-decotype-${e.decoType}`,e.size&&`tui-size-${e.size}`,"B"==e.decoType&&`tui-caret-${e.decoDirection}`,{"is-plain":e.plain,"is-disabled":e.disabled,"is-icon-end":"end"===e.iconPosition}]),disabled:e.disabled,type:e.nativeType,onClick:u,style:re([e.customColor?c.value:null])},[s("div",mf,[s("i",{class:T(`tui-btn-icon ${o.value}`)},null,2)]),d(l).default?K(e.$slots,"default",{key:0}):q("",!0)],14,vf))}}),bf=Object.assign({name:"TuiButtonGroup"},{__name:"buttonGroup",props:{size:{type:String,default:"default",validator:e=>["large","default","small"].includes(e)},vertical:{type:Boolean,default:!1}},setup(e){const t=e;return Ke("TuiButtonG",{size:m((()=>t.size)),appearance:"default"}),(t,l)=>(r(),g("div",{class:T(["tui-button-group",[`tui-button-group-size-${e.size}`,{"tui-button-group-vertical":e.vertical}]])},[K(t.$slots,"default")],2))}}),Vf={key:0,class:"tui-grid-debug-tag"},wf=Object.assign({name:"TuiGrid"},{__name:"index",props:{rows:{type:Number,default:3},cols:{type:Number,default:3},gap:[Number,String],debug:{type:Boolean,default:!1},rowConfig:{type:Array,default:()=>[]},colConfig:{type:Array,default:()=>[]},cellConfig:{type:Object,default:()=>({})}},setup(e){const t=e,l=m((()=>t.rows*t.cols)),a=e=>Math.floor(e/t.cols),i=e=>e%t.cols,A=e=>`cell-${a(e)}-${i(e)}`,o=e=>{const l=`${a(e)}-${i(e)}`;return t.cellConfig[l]||{}},n=m((()=>Array.from({length:l.value},((e,t)=>({index:t,row:a(t),col:i(t),slotName:A(t),config:o(t)}))).filter((e=>!(e=>{if(o(e).hidden)return!0;const l=a(e),A=i(e);for(const[e,a]of Object.entries(t.cellConfig)){const[t,i]=e.split("-").map(Number),o=a.rowSpan||1,n=a.colSpan||1;if(l>=t&&l<t+o&&A>=i&&A<i+n&&(l!==t||A!==i))return!0}return!1})(e.index))))),s=m((()=>0===t.rowConfig.length?`repeat(${t.rows}, 1fr)`:t.rowConfig.map((e=>"number"==typeof e.size?`${e.size}fr`:e.size||"1fr")).join(" "))),d=m((()=>0===t.colConfig.length?`repeat(${t.cols}, 1fr)`:t.colConfig.map((e=>"number"==typeof e.size?`${e.size}fr`:e.size||"1fr")).join(" "))),u=m((()=>ce("cpt-grid",{"tpl-rows":s.value,"tpl-cols":d.value,...t.gap&&{gap:ze.join("number",t.gap,"px")}}))),c=e=>{const t=o(e);return ce("cpt-grid-item",{...t.rowSpan&&{"row-end":`span ${t.rowSpan}`},...t.colSpan&&{"col-end":`span ${t.colSpan}`},...t.pointerEvent&&{"pot-evt":t.pointerEvent}})};return(t,l)=>(r(),g("div",{class:T(["tui-grid-wrap",{"debug-on":e.debug}]),style:re(u.value)},[(r(!0),g(J,null,ke(n.value,(l=>(r(),g("div",{key:l.slotName,class:T(["tui-grid-item",`tui-cell-${l.row}-${l.col}`,l.config?.className]),style:re(c(l.index))},[K(t.$slots,l.slotName,{row:l.row,col:l.col}),e.debug?(r(),g("span",Vf,G(l.slotName),1)):q("",!0)],6)))),128))],6))}}),qf=Object.assign({name:"TuiCol"},{__name:"col",props:{span:{type:Number,default:24},offset:{type:Number,default:0},push:{type:Number,default:0},pull:{type:Number,default:0},xs:{type:[Number,Object],default:null},sm:{type:[Number,Object],default:null},md:{type:[Number,Object],default:null},lg:{type:[Number,Object],default:null},xl:{type:[Number,Object],default:null},tag:{type:String,default:"div"}},setup(e){const t=e,l=me("TuiRow",null),a=m((()=>l.gutter?.value||0)),i=m((()=>{const e=["tui-col"];return e.push(`tui-col-${t.span}`),t.offset>0&&e.push(`tui-col-offset-${t.offset}`),t.push>0&&e.push(`tui-col-push-${t.push}`),t.pull>0&&e.push(`tui-col-pull-${t.pull}`),["xs","sm","md","lg","xl"].forEach((l=>{const a="number"==typeof(i=t[l])?{span:i}:"object"==typeof i&&null!==i?i:{};var i;Object.keys(a).length>0&&(void 0!==a.span&&e.push(`tui-col-${l}-${a.span}`),void 0!==a.offset&&a.offset>0&&e.push(`tui-col-${l}-offset-${a.offset}`),void 0!==a.push&&a.push>0&&e.push(`tui-col-${l}-push-${a.push}`),void 0!==a.pull&&a.pull>0&&e.push(`tui-col-${l}-pull-${a.pull}`))})),e})),A=m((()=>[ce("cpt-col",{...a.value&&{pdl:a.value/2+"px",pdr:a.value/2+"px"}})]));return(t,l)=>(r(),Y(it(e.tag),{class:T(i.value),style:re(A.value)},{default:_((()=>[K(t.$slots,"default")])),_:3},8,["class","style"]))}}),Cf=Object.assign({name:"TuiRow"},{__name:"row",props:{gutter:{type:Number,default:0},justify:{type:String,default:"start",validator:e=>["start","end","center","space-around","space-between","space-evenly"].includes(e)},align:{type:String,default:"top",validator:e=>["top","middle","bottom"].includes(e)},tag:{type:String,default:"div"}},setup(e){const t=e;Ke("TuiRow",{gutter:m((()=>t.gutter))});const l=m((()=>["tui-row","start"!==t.justify?`is-justify-${t.justify}`:"","top"!==t.align?`is-align-${t.align}`:""])),a=m((()=>[ce("cpt-row",{...t.gutter&&{mgl:`-${t.gutter/2}px`,mgr:`-${t.gutter/2}px`}})]));return(t,i)=>(r(),Y(it(e.tag),{class:T(l.value),style:re(a.value)},{default:_((()=>[K(t.$slots,"default")])),_:3},8,["class","style"]))}}),$f={class:"doc-content-wrapper"},kf={class:"doc-wrap"},Sf={class:"nav-wrap"},Tf={class:"nav-inner"},Bf={class:"nav-group"},xf={class:"nav-item"},Pf=["onClick"],Rf={key:0,class:"nav-group"},zf={class:"nav-item item-sub"},If=["onClick"],Nf=Object.assign({name:"TuiAnchorSpy"},{__name:"index",props:{data:{type:Array,default:[]}},setup(e){const t=e;let l=ref(!1),a=ref([0,-1]);const i=(e,i)=>{if(l.value=!0,a.value[0]=e,i>-1){let e=document.querySelectorAll("#"+t.data[a.value[0]].id+"> h2");a.value[1]=i,e[a.value[1]]?e[a.value[1]].scrollIntoView({behavior:"smooth"}):console.warn("This item cannot be found")}else{if(t.data[a.value[0]].id){let e=document.querySelector("#"+t.data[a.value[0]].id);e?e.scrollIntoView({behavior:"smooth"}):console.warn("This item cannot be found")}else console.warn("ID is not defined");a.value[1]=-1}},A=e=>{var t=document.querySelectorAll(".doc-component");se.s("docScroll",(()=>{if(l.value)l.value=!1;else for(let l=t.length-1;l>=0;l--)if(e.scrollTop>=t[l].offsetTop-100){a.value[0]=l,a.value[1]=-1;let i=t[l].querySelectorAll("h2");for(let t=i.length-1;t>=0;t--)if(e.scrollTop>=i[t].offsetTop-100){a.value[1]=t;break}break}}),200)};return(t,l)=>{const o=be("el-scrollbar");return r(),Y(o,{class:"tui-anchor-spy-wrap",native:!0,onScroll:A},{default:_((()=>[s("div",$f,[s("div",kf,[(r(!0),g(J,null,ke(e.data,((e,t)=>(r(),Y(it(e.component),{class:"doc-component",id:e.id},null,8,["id"])))),256))]),s("div",Sf,[s("div",Tf,[s("ul",Bf,[(r(!0),g(J,null,ke(e.data,((e,t)=>(r(),g("li",xf,[s("div",{class:T(["nav-link link-main",d(a)[0]==t&&-1==d(a)[1]?"active":""]),onClick:e=>i(t)},G(e.name),11,Pf),d(a)[0]==t?(r(),g("ul",Rf,[(r(!0),g(J,null,ke(e.children,((e,l)=>(r(),g("li",zf,[s("div",{class:T(["nav-link",d(a)[1]==l?"active":""]),onClick:e=>i(t,l)},G(e),11,If)])))),256))])):q("",!0)])))),256))])])])])])),_:1})}}}),Df={class:"tui-nc-inner"},_f={key:2,class:"tui-nc-arrow"},Ft={__name:"content",props:{item:{type:Object,required:!0},pathIds:{type:Array,default:null},level:{type:Number,default:null},fromEllipsis:{type:Boolean,default:!1},hasSubmenu:{type:Boolean,default:!1}},setup(e){const t=e,{$gMenuTrigger:l}=me("$global",null),a=me("TuiNavNode",null),{parProps:i,state:A,dir:o,isOpenedItem:n,isActiveItem:u,isCurrentItem:c,isPopupMode:p,collapse:v,updatePath:f,clearOpenedPath:h,popperDelay:y,tipConfig:V,getItemId:b,getItemLabel:w,getItemDisabled:k}=me("TuiNav",null),x=Ce("navCont"),C=m((()=>t.pathIds?.length?t.pathIds:a?.pathIds?.value||[])),S=m((()=>t.level??a?.baseLevel?.value??1)),B=m((()=>b(t.item))),$=m((()=>w(t.item))),z=m((()=>k(t.item))),R=m((()=>t.hasSubmenu&&!(v.value&&"v"===o.value&&1===S.value))),N=m((()=>"ellipsis"===B.value?A.actLeafInfo.fromEllipsis:c(C.value))),O=m((()=>"ellipsis"===B.value?A.actLeafInfo.fromEllipsis:u(B.value))),M=m((()=>n(B.value)));function I(){z.value||("click"==i.menuTrigger||"global"==i.menuTrigger&&"click"==l.value||!t.hasSubmenu||!p.value?f(C.value,t.item,t.fromEllipsis):h())}function P(){z.value||("hover"==i.menuTrigger||"global"==i.menuTrigger&&"hover"==l.value)&&t.hasSubmenu&&p.value&&!M.value&&se.s(`${x}_${B.value}`,(()=>{f(C.value,t.item,t.fromEllipsis)}),300)}function D(){se.c(`${x}_${B.value}`)}const E=m((()=>"v"===o.value||1==S.value&&!t.fromEllipsis?"angle-down":"angle-right")),W=m((()=>ce("cpt-navcont",{...!p.value&&{pdleft:15*S.value+"px"}})));return(t,l)=>{const a=be("TuiTextTip"),i=Ee("tui-popover");return r(),g("div",{class:T(["tui-nav-content",`tui-level-${S.value}`,{"is-current":N.value,"is-active":O.value,"is-opened":M.value,"is-disabled":z.value,"has-submenu":e.hasSubmenu}]),style:re(W.value),onClick:I,onMouseenter:P,onMouseleave:D},[K(t.$slots,"default",{},(()=>[he((r(),g("div",Df,[e.item.icon||"v"==d(o)?(r(),g("i",{key:0,class:T(["tui-nc-icon",e.item.icon?e.item.icon:"v"==d(o)&&e.hasSubmenu?"tui-icon ti-folder":"tui-icon ti-file"])},null,2)):q("",!0),!d(v)||"v"==!d(o)||S.value>1?(r(),Y(a,Pe({key:1,class:"tui-nc-title"},d(V)),{default:_((()=>[Re(G($.value),1)])),_:1},16)):q("",!0),R.value?(r(),g("div",_f,[s("i",{class:T(`tui-icon ti-${E.value}`)},null,2)])):q("",!0)])),[[i,{content:$.value,trigger:"hover",placement:"right",delay:d(y),zIndex:2e3,disabled:1==S.value&&!d(v)||S.value>1||M.value}]])]))],38)}}},Of={class:"tui-nav-pm-trigger"},Mf={class:"nav-pm-content"},Ef={key:0,class:"nav-pm-item"},Lf={key:1,class:"nav-pm-submenu"},Yl={__name:"popMenu",props:{item:{type:Object,required:!0},pathIds:{type:Array,default:null},baseLevel:{type:Number,default:null},fromEllipsis:{type:Boolean,default:!1},popperClass:String},setup(e){const t=e,{$optFloaterTo:l}=me("$global",null),a=me("TuiNavNode",null),{parProps:i,state:A,dir:o,isOpenedItem:n,getItemId:u,getItemChildren:c}=me("TuiNav"),p=k(!1),v=k(!0),f=k(null),h=k(null),y=m((()=>t.pathIds?.length?t.pathIds:a?.pathIds?.value||[])),V=m((()=>t.baseLevel??a?.baseLevel?.value??1)),b=m((()=>u(t.item))),w=m((()=>c(t.item)));function x(){p.value=!1}F((()=>A.openedPath.slice()),(()=>{n(b.value)?f.value&&(p.value=!0,oe((()=>{B()}))):x()}),{immediate:!0});const C=m((()=>"h"===o.value&&1===V.value&&!t.fromEllipsis||t.fromEllipsis&&1===V.value?"bottom-start":"right-start")),{floatingStyles:S,update:B}=Ml(f,h,{placement:C.value,strategy:"fixed",middleware:[El(i.popperOffset),Wl({fallbackPlacements:["left-start","right-start"],padding:5}),Ll({padding:5})]});return fe((()=>{v.value=!1})),tt((()=>{v.value=!0,x()})),(t,a)=>(r(),g("div",{class:"nav-pop-menu",ref_key:"triggerRef",ref:f},[s("div",Of,[K(t.$slots,"default")]),v.value?q("",!0):(r(),Y(mt,{key:0,to:d(l),fallback:"#tuiRoot",disabled:v.value},[ne(Be,{name:"fade"},{default:_((()=>[p.value?(r(),g("div",{key:0,ref_key:"popperRef",ref:h,class:T(["tui-nav-popper",[e.popperClass]]),style:re(d(S))},[s("div",Mf,[(r(!0),g(J,null,ke(w.value,((t,l)=>(r(),g(J,{key:d(u)(t)||l},[0===d(c)(t).length?(r(),g("div",Ef,[ne(Ft,{item:t,pathIds:[...y.value,d(u)(t)],level:V.value+1,fromEllipsis:e.fromEllipsis},null,8,["item","pathIds","level","fromEllipsis"])])):(r(),g("div",Lf,[ne(Yl,{item:t,baseLevel:V.value+1,pathIds:[...y.value,d(u)(t)],fromEllipsis:e.fromEllipsis},{default:_((()=>[ne(Ft,{item:t,pathIds:[...y.value,d(u)(t)],hasSubmenu:!0,level:V.value+1,fromEllipsis:e.fromEllipsis},null,8,["item","pathIds","level","fromEllipsis"])])),_:2},1032,["item","baseLevel","pathIds","fromEllipsis"])]))],64)))),128))])],6)):q("",!0)])),_:1})],8,["to","disabled"]))],512))}},Wf={key:0,class:"nav-ellipsis-menu"},jf={__name:"ellipsis",props:{items:{type:Array,default:()=>[]}},setup(e){const t=e,{parProps:l}=me("TuiNav",null),a=["ellipsis"],i=m((()=>l?.props?.id||"id")),A=m((()=>l?.props?.label||"label")),o=m((()=>l?.props?.children||"children")),n=m((()=>({[i.value]:"ellipsis",[A.value]:"more",icon:l.ellipsisIcon,[o.value]:t.items})));return(t,i)=>e.items.length>0?(r(),g("div",Wf,[ne(Yl,{popperClass:"nav-em-popper",item:n.value,pathIds:a,fromEllipsis:!0,baseLevel:1},{default:_((()=>[ne(Ft,{class:"nav-em-cont",item:n.value,pathIds:a,hasSubmenu:!0,fromEllipsis:!0,level:1},{default:_((()=>[s("i",{class:T(["nav-em-icon",d(l).ellipsisIcon])},null,2)])),_:1},8,["item"])])),_:1},8,["item"])])):q("",!0)}},Dl={__name:"item",props:{item:{type:Object,required:!0},pathIds:{type:Array,required:!0},baseLevel:{type:Number,default:1},fromEllipsis:{type:Boolean,default:!1}},setup(e){const t=e,l=Ce("navCont"),{parProps:a,dir:i,isOpenedItem:A,collapse:o,getItemId:n,getItemChildren:s,getItemDisabled:u}=me("TuiNav",null);Ke("TuiNavNode",{pathIds:m((()=>t.pathIds)),baseLevel:m((()=>t.baseLevel)),fromEllipsis:m((()=>t.fromEllipsis))});const c=m((()=>n(t.item))),p=m((()=>s(t.item))),v=m((()=>u(t.item))),f=m((()=>0===p.value.length)),h=m((()=>A(c.value))),y=k(0),V=m((()=>{const e=p.value,t=a.lineHeight||40;return ce("cpt-navitem",{...e.length>0&&{conth:`${y.value||t*e.length}px`}})})),b=e=>{y.value=e.height};return(a,A)=>{const s=Ee("tui-resize");return r(),g("div",{class:T(["nav-item",{"is-disabled":v.value}])},[f.value?(r(),Y(Ft,{key:0,item:e.item,fromEllipsis:e.fromEllipsis},null,8,["item","fromEllipsis"])):(r(),g(J,{key:1},["h"==d(i)||"v"==d(i)&&d(o)?(r(),Y(Yl,{key:0,item:e.item,fromEllipsis:e.fromEllipsis},{default:_((()=>[ne(Ft,{item:e.item,fromEllipsis:e.fromEllipsis,hasSubmenu:!0},null,8,["item","fromEllipsis"])])),_:1},8,["item","fromEllipsis"])):(r(),g("div",{key:1,class:T(["nav-tree-menu",{"is-opened":h.value}])},[ne(Ft,{item:e.item,fromEllipsis:e.fromEllipsis,hasSubmenu:!0},null,8,["item","fromEllipsis"]),ne(Be,{name:"fade"},{default:_((()=>[h.value?he((r(),g("div",{key:0,class:"nav-tree-menu-cont",style:re(V.value)},[(r(!0),g(J,null,ke(p.value,((l,a)=>(r(),Y(Dl,{key:d(n)(l)||a,item:l,baseLevel:t.baseLevel+1,fromEllipsis:e.fromEllipsis,pathIds:[...e.pathIds,d(n)(l)]},null,8,["item","baseLevel","fromEllipsis","pathIds"])))),128))],4)),[[s,{callback:b,uid:d(l),disabled:"v"!=d(i)&&h.value}]]):q("",!0)])),_:1})],2))],64))],2)}}},Pa=e=>{const{data:t,search:l,config:a={}}=e,i={findAll:!1,matchAll:!0,idKey:"id",childrenKey:"children",deepClone:!1,returnPath:!1,...a},{findAll:A,matchAll:o,idKey:n,childrenKey:s,deepClone:r,returnPath:d}=i,u=e=>String(e?.[n]??""),c=e=>e?.[s]||[],p=[];const g=function e(t,a=[],i=[]){for(let n=0;n<t.length;n++){const s=t[n],g=[...a,n],v=[...i,u(s)];if(o?Object.keys(l).every((e=>s[e]===l[e])):Object.keys(l).some((e=>s[e]===l[e]))){let e=r?JSON.parse(JSON.stringify(s)):{...s};if(e.pathIds=v,e.pathStr=v.join("_"),d&&(e={node:e,path:g,level:a.length,pathIds:v,pathStr:v.join("_")}),!A)return e;p.push(e)}const f=c(s);if(f.length>0){const t=e(f,g,v);if(!A&&t)return t}}return null}(t,[],[]);return A?p.length>0?p:null:g},Gf={class:"tui-nav-inner"},Ff=Object.assign({name:"TuiNav"},{__name:"index",props:{defaultOpened:Array,defaultActive:Array,data:{type:Array,default:()=>[]},direction:{type:String,default:"v",validator:e=>["v","h"].includes(e)},collapse:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!0},ellipsisIcon:{type:String,default:"tui-icon ti-more-h"},popperOffset:{type:Number,default:4},popperDelay:{type:Number,default:1e3},menuTrigger:{type:String,default:"global",validator:e=>["click","hover","global"].includes(e)},router:{type:Boolean,default:!1},routerBase:{type:String,default:"/"},accordion:{type:Boolean,default:!1},maxVisible:{type:Number,default:0},props:{type:Object,default:()=>({id:"id",children:"children",label:"label",disabled:"disabled",path:"path"})},lineHeight:Number,titleLocaleMap:{type:Object,default:()=>({})},tipConfig:Object,resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},emits:["change","open","close"],setup(e,{emit:t}){const{$gClickTarget:l,$gClickCounter:a,$gEscCounter:i,$optResizeCounter:A,$gLang:o,initResizeBy:n}=me("$global",null),u=n(),c=e,p=Ce("nav"),v=k(null),f=k(!1),h=k(!1),y=t,V=m((()=>c.props?.id||"id")),b=m((()=>c.props?.children||"children")),w=m((()=>c.props?.label||"label")),x=m((()=>c.props?.disabled||"disabled")),C=m((()=>c.props?.path||"path")),S=e=>String(e?.[V.value]??""),B=e=>e?.[b.value]||[],$=e=>e?.[w.value]||"",z=e=>e?.[C.value]||null,R=e=>{const t=z(e);if(t)return t;const l=$(e);return l?((e="/",t="")=>`${String(e||"/").replace(/\/+$/,"")||""}/${String(t||"").replace(/^\/+/,"")}`.replace(/\/+/g,"/"))(c.routerBase,l):null},N=(e=[])=>[].concat(e||[]).map((e=>String(e))),O=(e=[])=>N(e).join("_"),M=(e,t,l=!1)=>{const a=N(e);return{pathIds:a,pathStr:O(a),item:t,fromEllipsis:l}},I=Ve({navMode:null,actLeafInfo:{item:null,pathIds:[],fromEllipsis:!1},openedPath:[],activePath:[],actInEllipsis:!1,maxVisible:0,resizing:!1,temp:{pathIds:[],routePath:null}}),P=m((()=>"h"==c.direction||"v"==c.direction&&c.collapse)),D=m((()=>I.resizing?0:c.maxVisible||I.maxVisible)),G=m((()=>c.data)),E=m((()=>{if(c.ellipsis&&"h"===c.direction&&D.value>0&&G.value.length>D.value){return{vItems:G.value.slice(0,D.value),hItems:G.value.slice(D.value)}}return{vItems:G.value,hItems:[]}}));function W(e){return I.openedPath.length>0&&I.openedPath.includes(String(e))}function j(e){return I.activePath.length>0&&I.activePath.includes(String(e))}function L(e,t,l=!1){const a=N(e);I.actLeafInfo={item:t,fromEllipsis:l,pathIds:a},I.activePath=[...a],I.actInEllipsis=l}function K(e=[]){I.openedPath=[...N(e)]}function H(e){const t=function(e){const t=[],l=e=>{const a=S(e);a&&t.push(a),B(e).forEach(l)};return l(e),t}(e);I.openedPath=I.openedPath.filter((e=>!t.includes(String(e))))}function Q(){P.value?I.openedPath.length>0&&(K([]),I.activePath.length>0&&(I.activePath=[],I.actLeafInfo.pathIds.length>0&&(I.activePath=[...I.actLeafInfo.pathIds],I.actInEllipsis=I.actLeafInfo.fromEllipsis)),I.temp.pathIds=[]):!c.collapse&&I.actLeafInfo.pathIds.length>0&&(I.openedPath=I.actLeafInfo.pathIds.slice(0,-1))}function U(e=!0){const t=N(I.actLeafInfo.pathIds);if(t.length>0){const l=t[0],a=E.value.vItems.findIndex((e=>S(e)===l)),i=E.value.hItems.findIndex((e=>S(e)===l));a>-1&&(I.actLeafInfo.fromEllipsis=!1,I.actInEllipsis=!1),i>-1&&(I.actLeafInfo.fromEllipsis=!0,I.actInEllipsis=!0),e&&Q()}}const X=jl();F((()=>[X.path,G.value]),(async([e,t])=>{if(!c.router||0==t.length)return;I.temp.routePath||(I.temp.routePath=e);const l=I.actLeafInfo.item,a=R(l);if(a&&e===a)return;let i=Pa({data:G.value,search:{[C.value]:e},config:{matchAll:!1,idKey:V.value,childrenKey:b.value}});if(!i){const t=((e="")=>{const t=String(c.routerBase||"/").replace(/\/+$/,""),l=String(e||"");return t&&"/"!==t?l.startsWith(t)?l.slice(t.length).replace(/^\/+/,""):null:l.replace(/^\/+/,"")})(e);t&&(i=Pa({data:G.value,search:{[w.value]:t},config:{matchAll:!1,idKey:V.value,childrenKey:b.value}}))}if(i){L(i.pathIds,i,!1),U(!0),await(async()=>{await oe(),await new Promise((e=>{"function"==typeof requestAnimationFrame?requestAnimationFrame((()=>requestAnimationFrame(e))):setTimeout(e,16)}))})();const e=v.value?.querySelector(".is-current"),t=je.get1stParent(v.value,".is-dragable");e&&!t&&e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}}),{immediate:!0}),F((()=>[c.collapse,c.direction]),(([e,t])=>{(!e||"h"==t)&&Q()})),Ke("TuiNav",{parProps:c,state:I,dir:m((()=>c.direction)),collapse:m((()=>c.collapse&&"v"==c.direction)),menuItems:G,splitItems:E,isPopupMode:P,popperDelay:m((()=>c.popperDelay)),tipConfig:m((()=>c.tipConfig)),pathToString:O,getItemId:S,getItemChildren:B,getItemLabel:e=>{const t=((e="")=>{const t=c.titleLocaleMap||{};return t[e]||t[{"zh-CN":"cn","zh-TW":"tw",en:"en"}[e]||e]})(o?.value||"");return t&&e?.[t]?e[t]:e?.[c.titleLocaleMap?.fallback||"title"]||$(e)||""},getItemRawLabel:$,getItemDisabled:e=>!!e?.[x.value],getItemPath:z,isOpenedItem:W,isActiveItem:j,isCurrentItem:function(e){return!!I.actLeafInfo.pathIds.length&&((e=[],t=[])=>{const l=N(e),a=N(t);return l.length===a.length&&l.every(((e,t)=>e===a[t]))})(I.actLeafInfo.pathIds,e)},updatePath:async(e,t,l=!1)=>{const a=N(e),i=S(t),A=B(t).length>0,o=I.openedPath.indexOf(i);if(-1===o)return I.actInEllipsis=l,I.temp.pathIds=a,P.value?("ellipsis"!==i&&!j(i)&&(I.activePath=[...a]),void(A?(K(a),y("open",M(a,t,l))):(y("change",M(a,t,l)),L(a,t,l),K(a.slice(0,-1)),await oe(),Q()))):void(A?(y("open",M(a,t,l)),function(e,t){c.accordion?I.openedPath=[...N(e)]:W(t)||(I.openedPath=[...I.openedPath,String(t)])}(a,i)):(y("change",M(a,t,l)),L(a,t,l)));y("close",M(a,t,l)),P.value?K(I.openedPath.slice(0,o)):H(t)},clearOpenedPath:Q}),F((()=>i.value),(()=>{P.value&&Q()})),F((()=>a.value),(()=>{!function(e){if(!P.value)return;const t=e.closest(".tui-nav"),l=e.closest(".tui-nav-content");!t&&!l&&Q()}(l.value)})),F((()=>A.value),((e,t)=>{if("root"!=u.value(c.resizeObserver)||"v"==c.direction)return;const{clientWidth:l,clientHeight:a}=v.value;e>t&&Z({width:l})}));const Z=async e=>{if(v.value){if(I.resizing=!0,await oe(),"h"==c.direction&&c.ellipsis&&!c.maxVisible){const t=v.value.querySelectorAll(".nav-item");let l;t.length>0&&(l=Array.from(t).map((e=>e.offsetWidth)));let a=48,i=0;for(let t of l){if(a+=t,!(a<=e.width))break;i++}I.maxVisible=i,I.resizing=!1,U(!0)}f.value||(f.value=!0,c.defaultActive?.length&&(I.activePath=N(c.defaultActive),I.actLeafInfo.pathIds=[...I.activePath]),U(!0),c.defaultOpened?.length&&(I.openedPath=N(c.defaultOpened)))}},ee=m((()=>ce("cpt-nav",{...c.lineHeight&&{lh:c.lineHeight+"px"}})));return fe((()=>{h.value=!0})),(t,l)=>{const a=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{ref_key:"navRef",ref:v,style:re(ee.value),class:T(["tui-nav",`tui-dir-${e.direction}`,{"is-collapse":e.collapse&&"v"==e.direction,"is-ellipsis":e.ellipsis&&"h"==e.direction,"is-popup":P.value,"is-tree":!P.value}])},[s("div",Gf,["h"==e.direction?(r(),g(J,{key:0},[(r(!0),g(J,null,ke(E.value.vItems,((e,t)=>(r(),Y(Dl,{key:S(e)||t,item:e,pathIds:[S(e)]},null,8,["item","pathIds"])))),128)),e.ellipsis&&"h"===e.direction&&E.value.hItems.length>0?(r(),Y(jf,{key:0,items:E.value.hItems},null,8,["items"])):q("",!0)],64)):(r(!0),g(J,{key:1},ke(G.value,((e,t)=>(r(),Y(Dl,{key:S(e)||t,item:e,pathIds:[S(e)]},null,8,["item","pathIds"])))),128))])],6)),[[Te,h.value],[a,{callback:Z,uid:d(p),disabled:"self"!=d(u)(e.resizeObserver)&&f.value}]])])),_:1})}}}),Hf={key:0,class:"tui-con-arrows"},Qf={class:"tui-con-item"},Uf={class:"tui-con-item"},Yf={class:"tui-con-indicators"},Kf=["onClick","onMouseenter"],Ra={__name:"control",props:{parProps:{type:Object,required:!0},state:{type:Object,required:!0},ctrlTypeCPT:String},emits:["prev","next","goTo"],setup(e,{emit:t}){const l=e,a=t,i=Ce("rollNavIconCtrl"),A=()=>{"hover"==l.parProps.trigger&&se.c(i)};return(t,o)=>{const n=be("TuiButton");return he((r(),g("div",{class:T(["tui-roll-nav-icon-control",{"tui-control-hide":e.state?.disableRolling}])},["enhanced"==e.ctrlTypeCPT?(r(),g("div",Hf,[s("div",Qf,[ne(n,{disabled:e.state?.disabelPrev,onClick:o[0]||(o[0]=e=>a("prev"))},{default:_((()=>[...o[2]||(o[2]=[s("i",{class:"tui-icon ti-chevron-left"},null,-1)])])),_:1},8,["disabled"])]),s("div",Uf,[ne(n,{disabled:e.state?.disabelNext,onClick:o[1]||(o[1]=e=>a("next"))},{default:_((()=>[...o[3]||(o[3]=[s("i",{class:"tui-icon ti-chevron-right"},null,-1)])])),_:1},8,["disabled"])])])):q("",!0),s("div",Yf,[(r(!0),g(J,null,ke(e.state.maxRoll,((t,o)=>(r(),g("div",{class:T(["tui-con-indicator",{"is-active":o==e.state.curRoll}]),onClick:e=>(e=>{"click"==l.parProps.trigger&&a("goTo",e)})(o),onMouseenter:e=>(e=>{"hover"==l.parProps.trigger&&se.s(i,(()=>{a("goTo",e)}),500)})(o),onMouseleave:A},null,42,Kf)))),256))])],2)),[[Te,!e.state.disableRolling]])}}},Ut=e=>{if(!e||!e.length)return[];const t=e[0].children||[];return 1===t.length&&t[0].children&&t[0].children.length>1?Ut(t):t},Xf=({state:e,direction:t,mode:l,seamless:a,autoRolling:i,visibleLength:A,controlType:o,controlDirection:n,controlAlign:s,hoverPause:r,interval:d,duration:u,inited:c,isStop:p,isPaused:g,isTransing:v,isMotionBlur:f})=>({state:e,direction:t,mode:l,seamless:a,autoRolling:i,visibleLength:A,controlType:o,controlDirection:n,controlAlign:s,hoverPause:r,interval:d,duration:u,inited:c,isStop:p,isPaused:g,isTransing:v,isMotionBlur:f,rollWrapSize:e.rollWrapSize,rollInnerSize:e.rollInnerSzie,rollItemSize:e.rollItemSzie,curRollCalc:e.curRollCalc,maxRollCalc:e.maxRollCalc,curRoll:e.curRoll,maxRoll:e.maxRoll,itemsLen:e.itemsLen,pageLen:e.pageLen,disablePrev:e.disabelPrev,disableNext:e.disabelNext,disableRolling:e.disableRolling}),Zf=({orient:e,mode:t,curRollCalc:l,rollItemSize:a,rollWrapSize:i})=>{const A=l*("item"===t&&a||"page"===t&&i||0);return"v"===e?`translateY(-${A}px)`:`translateX(-${A}px)`},Jf=({state:e,visibleLength:t})=>{e.disableRolling=e.itemsLen<=t},ep=({state:e,seamless:t})=>{if(t)return e.disabelPrev=!1,void(e.disabelNext=!1);e.disabelNext=e.curRollCalc===e.maxRollCalc,e.disabelPrev=0===e.curRollCalc},tp=({curRollCalc:e,maxRollCalc:t,seamless:l,auto:a})=>t>e?e+1:t===e&&!l&&a?0:e,lp=({curRollCalc:e,maxRollCalc:t,seamless:l,auto:a})=>e>0?e-1:!l&&0===e&&a?t:e,ap=({index:e,mode:t,seamless:l,visibleLength:a,maxRollCalc:i})=>{if("string"==typeof e){if("item"===t){if("frist"===e||"first"===e)return l?a:0;if("last"===e)return l?i-a:i}else{if("frist"===e||"first"===e)return l?1:0;if("last"===e)return l?i-1:i}return null}return"number"==typeof e?e>i||e<0?0:e:null},np=({orient:e,element:t})=>t?"v"===e?t.clientHeight:t.clientWidth:0,op=({disableRolling:e,mode:t,seamless:l,visibleLength:a,itemsLen:i,rollWrapSize:A,key:o})=>{const n=a?A/a:0;if(e)return{rollItemSzie:n,rollInnerSzie:A,maxRollCalc:0,maxRoll:0,pageLen:1,curRollCalc:0,resetTransing:!0};const s=Math.ceil(i/a)+(l?2:0),r=A*s;return"item"===t?{rollItemSzie:n,rollInnerSzie:r,maxRollCalc:l?i+a:i-a,maxRoll:l?i+a:i-a,pageLen:s,curRollCalc:"rollingIOR"===o||"seamlessChange"===o||"modeChange"===o?l?a:0:null,resetTransing:"rollingIOR"===o||"seamlessChange"===o||"modeChange"===o}:{rollItemSzie:n,rollInnerSzie:r,maxRollCalc:s-1,maxRoll:s-(l?2:0),pageLen:s,curRollCalc:"rollingIOR"===o||"seamlessChange"===o||"modeChange"===o?l?1:0:null,resetTransing:"rollingIOR"===o||"seamlessChange"===o||"modeChange"===o}},ip=({direction:e,controlPosition:t})=>t||("h"===e?"right":"top"),sp=({direction:e,controlType:t,controlPosition:l})=>t||("h"===e?"top"===l||"bottom"===l?"base":"enhanced":"left"===l||"right"===l?"base":"enhanced"),rp=e=>(Ut(e||[])||[]).map((e=>e?.props)).filter(Boolean),Ap=({direction:e,element:t})=>t?"h"===e?t.clientWidth:t.clientHeight:0,up=({direction:e,outerSize:t,itemApproxWidth:l,itemApproxHeight:a})=>{const i="h"===e?Math.ceil(t/l):Math.floor(t/a);return Math.max(1,i||1)},dp=({activeIndex:e,visibleLength:t})=>e<0||!t?null:Math.floor(e/t),cp=(e,t)=>{if(t>=0&&t<e.length&&!e[t]?.disabled)return e[t];for(let t=e.length-1;t>=0;t--)if(!e[t]?.disabled)return e[t];return e[0]},fp=({rollingCfg:e,props:t})=>{e.debug=t.debug,e.resizeObserver=t.resizeObserver,e.motionBlur=t.motionBlur,e.direction="h"===t.direction?"left":"up",e.wheelRolling=!0,e.interceptWheel=!0,e.duration=t.duration??500},pp=({state:e,info:t})=>{Object.keys(t).forEach((l=>{e[l]=t[l]})),e.rollInnerSize=t.rollInnerSize??t.rollInnerSzie??e.rollInnerSize,e.rollItemSize=t.rollItemSize??t.rollItemSzie??e.rollItemSize,e.disablePrev=t.disablePrev??t.disabelPrev??e.disablePrev,e.disableNext=t.disableNext??t.disabelNext??e.disableNext},gp=Object.assign({name:"TuiRollingNavIcon"},{__name:"index",props:{duration:Number,modelValue:[String,Number],direction:{type:String,default:"h",validator:e=>["v","h"].includes(e)},itemApproxWidth:{type:Number,default:140},itemApproxHeight:{type:Number,default:80},frameWidth:{type:Number,default:100},frameHeight:{type:Number,default:80},iconSize:{type:Number,default:24},controlType:{type:String,default:null,validator:e=>["base","enhanced"].includes(e)},controlPosition:{type:String,default:null,validator:e=>["top","right","bottom","left"].includes(e)},frameShap:{type:String,default:"round",validator:e=>["none","round","circle"].includes(e)},trigger:{type:String,default:"click",validator:e=>["click","hover"].includes(e)},closeable:{type:Boolean,default:!1},debug:{type:Boolean,default:!1},motionBlur:{type:Boolean,default:!0},tipConfig:Object,titleLocaleMap:{type:Object,default:()=>({})},resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},emits:["start","rolling","change","update:modelValue"],setup(e,{emit:t}){const{$optResizeCounter:l,$gLang:a,initResizeBy:i}=me("$global",null),A=i(),o=dt(),n=e,u=t,c=k(!1),p=k(null),v=k(null),f=k(null),h=k(null),y=k(null),V=Ce("rollNavIcon"),b=Ve({rollWrapSize:0,rollInnerSzie:0,rollInnerSize:0,rollItemSzie:0,rollItemSize:0,curRollCalc:0,maxRollCalc:0,itemsLen:0,pageLen:0,disabelPrev:!1,disablePrev:!1,disabelNext:!1,disableNext:!1,disableRolling:!1,rollOuterSize:0,lastActTabIdx:0,rollUpdateParams:null}),w=Ve({motionBlur:!1,direction:"left",debug:!1,visibleLength:4,seamless:!1,mode:"page",showControl:!1,autoRolling:!1,wheelRolling:!0,interceptWheel:!0,initIndex:null,resizeObserver:"global",slotObserver:!1,duration:500}),x=k(!1),C=k([]),S=k(-1);Ke("TuiRollNavI",{tipConfig:m((()=>n.tipConfig)),modelValue:m((()=>n.modelValue)),closeable:m((()=>n.closeable)),frameShap:m((()=>n.frameShap)),locale:m((()=>a?.value||"")),titleLocaleMap:m((()=>n.titleLocaleMap)),change:(e,t)=>{u("change",e,t),u("update:modelValue",e),P("activeChange")},regIdx:()=>(S.value++,S.value),iNavData:C});const B=m((()=>ip({direction:n.direction,controlPosition:n.controlPosition}))),$=m((()=>sp({direction:n.direction,controlType:n.controlType,controlPosition:B.value}))),z=m((()=>ce("cpt-rollni",{...b.rollOuterSize&&{rollSize:b.rollOuterSize+"px"},itmw:n.itemApproxWidth+"px",itmh:n.itemApproxHeight+"px",framew:n.frameWidth+"px",frameh:n.frameHeight+"px",iconsize:n.iconSize+"px"}))),R=()=>{f.value?.prev()},N=()=>{f.value?.next()},O=e=>{f.value?.goTo(e)},M=(e,t,l)=>{pp({state:b,info:e}),n.debug&&console.info("update",e,t,l),x.value=!1},I=m((()=>C.value.findIndex((e=>e.value===n.modelValue)))),P=async e=>{x.value=!0,b.disableRolling=!1,await oe(),await(async e=>{if("tabIOR"!=e&&"slotChange"!=e||!v.value)return;x.value&&(b.rollOuterSize=0),await oe();const t=Ap({direction:n.direction,element:v.value});b.rollOuterSize=t,w.visibleLength=up({direction:n.direction,outerSize:t,itemApproxWidth:n.itemApproxWidth,itemApproxHeight:n.itemApproxHeight})})(e),Qe.isNEG0(I.value)?(w.initIndex=dp({activeIndex:I.value,visibleLength:w.visibleLength}),b.lastActTabIdx=I.value):w.initIndex=null,c.value?Qe.isNEG0(I.value)&&(await oe(),b.itemsLen&&f.value?.forceUpdate(e)):c.value=!0};F((()=>I.value),(()=>{P("activeChange")})),F((()=>n.controlPosition),(async()=>{await oe(),P("slotChange")})),Ol((()=>{if(!c.value)return;const e=rp(o.default?.()||[]),t=e.length;if(C.value=e,t>0){if(I.value<0){const e=cp(C.value,b.lastActTabIdx);void 0!==e?.value&&u("update:modelValue",e.value)}if(b.itemsLen>0&&t!=b.itemsLen){const e=t>b.itemsLen?"add":"rem";P(e)}}else P("watchEffect")}));F((()=>[n.direction,n.debug,n.duration,n.motionBlur,n.resizeObserver]),(()=>{fp({rollingCfg:w,props:n})}),{immediate:!0}),F((()=>l.value),((e,t)=>{"root"==A.value(n.resizeObserver)&&e>t&&D()}));const D=()=>{P("tabIOR")};return fe((()=>{h.value.uid=V+"_pre",y.value.uid=V+"_suf",h.value&&y.value&&It.o([h.value,y.value],(()=>{P("slotChange")}),{childList:!0,subtree:!1},200)})),tt((()=>{It.d([h.value,y.value])})),(t,l)=>{const a=be("TuiRolling"),i=Ee("tui-resize");return he((r(),g("div",{class:T(["tui-roll-nav-icon",`tui-direction-${e.direction}`,`tui-ctrlType-${$.value}`,`tui-ctrlPos-${B.value}`,{"is-initing":!c.value}]),ref_key:"rollTabsRef",ref:p,style:re(z.value)},[he(s("div",{class:"tui-prefix",ref_key:"prefixRef",ref:h},["left"==B.value||"top"==B.value?(r(),Y(Ra,{key:0,state:b,parProps:n,ctrlTypeCPT:$.value,onPrev:R,onNext:N,onGoTo:O},null,8,["state","parProps","ctrlTypeCPT"])):q("",!0)],512),[[Te,("left"==B.value||"top"==B.value)&&!b.disableRolling]]),s("div",{class:T(["tui-rolling-outer",{"is-initing":x.value}]),ref_key:"rollOuterRef",ref:v},[c.value?(r(),Y(a,Pe({key:0},w,{ref_key:"rollElemRef",ref:f,onUpdate:M}),{default:_((()=>[K(t.$slots,"default")])),_:3},16)):q("",!0)],2),he(s("div",{class:"tui-suffix",ref_key:"suffixRef",ref:y},["right"==B.value||"bottom"==B.value?(r(),Y(Ra,{key:0,state:b,parProps:n,ctrlTypeCPT:$.value,onPrev:R,onNext:N,onGoTo:O},null,8,["state","parProps","ctrlTypeCPT"])):q("",!0)],512),[[Te,("right"==B.value||"bottom"==B.value)&&!b.disableRolling]])],6)),[[i,{callback:D,uid:d(V),disabled:"self"!=d(A)(e.resizeObserver)&&c.value}]])}}}),Pn={title:String,label:{type:String,required:!0},index:{type:Number,required:!0},value:{type:[String,Number],required:!0},disabled:{type:Boolean,default:!1},locked:{type:Boolean,default:!1},icon:{type:String,default:"tui-icon ti-file-doc"},closeable:{type:Boolean,default:null},item:Object},hp={key:0,class:"tui-roll-lock tui-icon ti-lock"},vp=Object.assign({name:"TuiRollingNavIconItem"},{__name:"item",props:{...Pn,icon:{type:String,default:"tui-icon ti-file-doc"}},emits:["remove"],setup(e,{emit:t}){const{proxy:l,uid:a}=Ue(),i=e,A=t,{tipConfig:o,iNavData:n,frameShap:u,modelValue:c,change:p,closeable:v,regIdx:f,locale:h,titleLocaleMap:y}=me("TuiRollNavI",null),V=m((()=>"null"!=ze(i.closeable)?i.closeable:v.value)),b=m((()=>c.value==i.value)),w=m((()=>{const e=i.item||{},t=h?.value||"",l=y?.value||{},a=y?.value?.fallback||"title",A=l?.[t]||l?.[{"zh-CN":"cn","zh-TW":"tw",en:"en"}[t]||t];return A&&e?.[A]?e[A]:i.title||e?.[a]||i.label||e?.label||""})),x=k(null),C=()=>{i.disabled||p(i.value,x.value)},S=()=>{A("remove")};return fe((()=>{x.value=f()})),(t,l)=>{const a=be("TuiTextTip"),i=be("TuiRollingItem");return r(),Y(i,null,{default:_((()=>[s("div",{class:T(["tui-roll-nav-icon-item",`tui-shape-${d(u)}`]),onClick:C},[s("div",{class:T(["item-frame",{"is-active":b.value,"is-disabled":t.disabled}])},[e.icon?(r(),g("i",{key:0,class:T(["tui-roll-icon",e.icon])},null,2)):q("",!0),ne(a,Pe(d(o),{class:"tui-roll-label"}),{default:_((()=>[Re(G(w.value),1)])),_:1},16),V.value?(r(),g(J,{key:1},[t.locked?(r(),g("i",hp)):(r(),g("i",{key:1,class:"tui-roll-remove tui-icon ti-times",onClick:Xe(S,["stop"])}))],64)):q("",!0)],2)],2)])),_:1})}}}),mp={class:"tui-con-item"},yp={class:"tui-con-item"},bp={class:"tui-con-item"},za={__name:"control",props:{parProps:{type:Object,required:!0},state:{type:Object,required:!0}},emits:["prev","next"],setup(e,{emit:t}){const l=t;return fe((()=>{})),(t,a)=>{const i=be("TuiButton");return he((r(),g("div",{class:T(["tui-roll-control",{"tui-control-hide":e.state?.disableRolling}])},[s("div",mp,G((e.state.curRoll||0)+1)+"/"+G(e.state.maxRoll||1),1),s("div",yp,[ne(i,{disabled:e.state?.disabelPrev,onClick:a[0]||(a[0]=e=>l("prev"))},{default:_((()=>[...a[2]||(a[2]=[s("i",{class:"tui-icon ti-chevron-left"},null,-1)])])),_:1},8,["disabled"])]),s("div",bp,[ne(i,{disabled:e.state?.disabelNext,onClick:a[1]||(a[1]=e=>l("next"))},{default:_((()=>[...a[3]||(a[3]=[s("i",{class:"tui-icon ti-chevron-right"},null,-1)])])),_:1},8,["disabled"])])],2)),[[Te,!e.state.disableRolling]])}}},Vp=({direction:e,controlPosition:t})=>t||("h"===e?"suffix":"prefix"),wp=e=>(Ut(e||[])||[]).map((e=>e?.props)).filter(Boolean),qp=({direction:e,element:t})=>t?"h"===e?t.clientWidth:t.clientHeight:0,Cp=({direction:e,outerSize:t,itemApproxWidth:l,itemApproxHeight:a})=>{const i=Math.floor("h"===e?t/l:t/a);return Math.max(1,i||1)},$p=({activeIndex:e,visibleLength:t})=>e<0||!t?null:Math.floor(e/t),kp=(e,t)=>{if(t>=0&&t<e.length&&!e[t]?.disabled)return{item:e[t],index:t};for(let t=e.length-1;t>=0;t--)if(!e[t]?.disabled)return{item:e[t],index:t};return{item:e[0],index:0}},Sp=({rollingCfg:e,props:t})=>{e.debug=t.debug,e.resizeObserver=t.resizeObserver,e.motionBlur=t.motionBlur,e.direction="h"===t.direction?"left":"up",e.wheelRolling=!0,e.interceptWheel=!0,e.duration=t.duration??500},Tp=({state:e,info:t})=>{Object.keys(t).forEach((l=>{e[l]=t[l]})),e.rollInnerSize=t.rollInnerSize??t.rollInnerSzie??e.rollInnerSize,e.rollItemSize=t.rollItemSize??t.rollItemSzie??e.rollItemSize,e.disablePrev=t.disablePrev??t.disabelPrev??e.disablePrev,e.disableNext=t.disableNext??t.disabelNext??e.disableNext},Bp={key:0,class:"tui-slot-inner"},xp={key:1,class:"tui-slot-inner"},Pp=Object.assign({name:"TuiRollingNavTabs"},{__name:"index",props:{duration:Number,prefixReverse:Boolean,suffixReverse:Boolean,modelValue:[String,Number],direction:{type:String,default:"h",validator:e=>["v","h"].includes(e)},itemApproxWidth:{type:Number,default:140},itemApproxHeight:{type:Number,default:40},controlPosition:{type:String,default:null,validator:e=>["prefix","suffix"].includes(e)},closeable:{type:Boolean,default:!1},debug:{type:Boolean,default:!1},motionBlur:{type:Boolean,default:!0},tipConfig:Object,titleLocaleMap:{type:Object,default:()=>({})},resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},emits:["start","rolling","change","update:modelValue"],setup(e,{emit:t}){const{$optResizeCounter:l,$gLang:a,initResizeBy:i}=me("$global",null),A=i(),o=dt(),n=e,u=t,c=Ce("rollNavTabs"),p=k(!1),v=k(null),f=k(null),h=k(null),y=k(null),V=k(null),b=Ve({rollWrapSize:0,rollInnerSzie:0,rollInnerSize:0,rollItemSzie:0,rollItemSize:0,curRollCalc:0,maxRollCalc:0,itemsLen:0,pageLen:0,disabelPrev:!1,disablePrev:!1,disabelNext:!1,disableNext:!1,disableRolling:!1,rollOuterSize:0,lastActTabIdx:0,rollUpdateParams:null}),w=Ve({motionBlur:!1,direction:"left",debug:!1,visibleLength:4,seamless:!1,mode:"page",showControl:!1,autoRolling:!1,wheelRolling:!0,interceptWheel:!0,initIndex:null,resizeObserver:"global",slotObserver:!1,duration:500}),x=k(!1),C=k([]);Ke("TuiRollNavT",{tipConfig:m((()=>n.tipConfig)),modelValue:m((()=>n.modelValue)),closeable:m((()=>n.closeable)),locale:m((()=>a?.value||"")),titleLocaleMap:m((()=>n.titleLocaleMap)),change:(e,t,l,a=null)=>{u("change",e,t,l,a),u("update:modelValue",e),M("activeChange")},tNavData:C});const S=m((()=>Vp({direction:n.direction,controlPosition:n.controlPosition}))),B=m((()=>ce("cpt-rolltab",{...b.rollOuterSize&&{size:b.rollOuterSize+"px"},itmw:n.itemApproxWidth+"px",itmh:n.itemApproxHeight+"px"}))),$=()=>{h.value?.prev()},z=()=>{h.value?.next()},R=(e,t,l)=>{Tp({state:b,info:e}),n.debug&&console.info("update",e,t,l),x.value=!1},N=m((()=>C.value.findIndex((e=>e.value===n.modelValue)))),O=(e,t)=>{n.debug&&console.info("[rollingNavTabs:init]",{stage:e,key:t,inited:p.value,initing:x.value,activeIdx:N.value,visibleLength:w.visibleLength,initIndex:w.initIndex,rollOuterSize:b.rollOuterSize,itemsLen:b.itemsLen,maxRollCalc:b.maxRollCalc,maxRoll:b.maxRoll,disabelPrev:b.disabelPrev,disabelNext:b.disabelNext,disableRolling:b.disableRolling})},M=async e=>{x.value=!0,b.disableRolling=!1,await oe(),(e=>{if("tabIOR"!=e&&"slotChange"!=e||!f.value)return;x.value&&(b.rollOuterSize=0);const t=qp({direction:n.direction,element:f.value});b.rollOuterSize=t,w.visibleLength=Cp({direction:n.direction,outerSize:t,itemApproxWidth:n.itemApproxWidth,itemApproxHeight:n.itemApproxHeight})})(e),Qe.isNEG0(N.value)?(w.initIndex=$p({activeIndex:N.value,visibleLength:w.visibleLength}),b.lastActTabIdx=N.value):w.initIndex=null,O("measured",e),p.value?Qe.isNEG0(N.value)&&(await oe(),b.itemsLen&&h.value?.forceUpdate(e)):p.value=!0,await oe(),O("completed",e)};F((()=>N.value),(()=>{M("activeChange")})),F((()=>n.controlPosition),(async()=>{await oe(),M("slotChange")})),Ol((()=>{if(!p.value)return;const e=wp(o.default?.()||[]),t=e.length;if(C.value=e,t>0){if(N.value<0){const e=kp(C.value,b.lastActTabIdx);u("update:modelValue",e?.item?.value),u("change",e?.item?.value,e?.index,e?.item,"watchEffect")}if(b.itemsLen>0&&t!=b.itemsLen){const e=t>b.itemsLen?"add":"rem";M(e)}}else M("watchEffect")}));F((()=>[n.direction,n.debug,n.duration,n.motionBlur,n.resizeObserver]),(()=>{Sp({rollingCfg:w,props:n})}),{immediate:!0}),F((()=>l.value),((e,t)=>{"root"==A.value(n.resizeObserver)&&e>t&&I()}));const I=()=>{M("tabIOR")};return fe((()=>{y.value.uid=c+"_pre",V.value.uid=c+"_suf",M("tabIOR"),y.value&&V.value&&It.o([y.value,V.value],(()=>{M("slotChange")}),{childList:!0,subtree:!1},200)})),tt((()=>{It.d([y.value,V.value])})),(t,l)=>{const a=be("TuiRolling"),i=Ee("tui-resize");return he((r(),g("div",{class:T(["tui-roll-nav-tabs",`tui-direction-${e.direction}`,{"is-initing":!p.value}]),ref_key:"rollTabsRef",ref:v,style:re(B.value)},[he(s("div",{class:T("tui-prefix "+(e.prefixReverse?"tui-prefix-reverse":"")),ref_key:"prefixRef",ref:y},[t.$slots.prefix?(r(),g("div",Bp,[K(t.$slots,"prefix")])):q("",!0),"prefix"==S.value?(r(),Y(za,{key:1,state:b,parProps:n,onPrev:$,onNext:z},null,8,["state","parProps"])):q("",!0)],2),[[Te,t.$slots.prefix||"prefix"==S.value&&!b.disableRolling]]),s("div",{class:T(["tui-rolling-outer",{"is-initing":x.value}]),ref_key:"rollOuterRef",ref:f},[p.value?(r(),Y(a,Pe({key:0},w,{ref_key:"rollElemRef",ref:h,onUpdate:R}),{default:_((()=>[K(t.$slots,"default")])),_:3},16)):q("",!0)],2),he(s("div",{class:T("tui-suffix "+(e.suffixReverse?"tui-suffix-reverse":"")),ref_key:"suffixRef",ref:V},["suffix"==S.value?(r(),Y(za,{key:0,state:b,parProps:n,onPrev:$,onNext:z},null,8,["state","parProps"])):q("",!0),t.$slots.suffix?(r(),g("div",xp,[K(t.$slots,"suffix")])):q("",!0)],2),[[Te,t.$slots.suffix||"suffix"==S.value&&!b.disableRolling]])],6)),[[i,{callback:I,uid:d(c),disabled:"self"!=d(A)(e.resizeObserver)&&p.value}]])}}}),Rp={key:0,class:"tui-roll-lock tui-icon ti-lock"},zp=Object.assign({name:"TuiRollingNavTab"},{__name:"item",props:{...Pn,icon:{type:String,default:null}},emits:["remove"],setup(e,{emit:t}){const{proxy:l,uid:a}=Ue(),i=e,A=t,{tipConfig:o,tNavData:n,modelValue:u,change:c,closeable:p,regIdx:v,locale:f,titleLocaleMap:h}=me("TuiRollNavT",null),y=m((()=>"null"!=ze(i.closeable)?i.closeable:p.value)),V=m((()=>u.value==i.value)),b=m((()=>{const e=i.item||{},t=f?.value||"",l=h?.value||{},a=h?.value?.fallback||"title",A=l?.[t]||l?.[{"zh-CN":"cn","zh-TW":"tw",en:"en"}[t]||t];return A&&e?.[A]?e[A]:i.title||e?.[a]||i.label||e?.label||""})),w=()=>{i.disabled||c(i.value,i.index,i.item)},k=()=>{A("remove",i.index,i.value,i.item)};return(t,l)=>{const a=be("TuiTextTip"),i=be("TuiRollingItem");return r(),Y(i,null,{default:_((()=>[s("div",{class:T(["tui-roll-nav-tab",{"is-active":V.value,"is-disabled":t.disabled}]),onClick:w},[e.icon?(r(),g("i",{key:0,class:T(["tui-roll-icon",e.icon])},null,2)):q("",!0),ne(a,Pe({...d(o),appearance:"curtip"},{class:"tui-label"}),{default:_((()=>[Re(G(b.value),1)])),_:1},16),y.value?(r(),g(J,{key:1},[t.locked?(r(),g("i",Rp)):(r(),g("i",{key:1,class:"tui-roll-remove tui-icon ti-times",onClick:Xe(k,["stop"])}))],64)):q("",!0)],2)])),_:1})}}}),Ip={class:"btn-inner"},Np={key:0,class:"tui-icon ti-times"},Dp=Object.assign({name:"TuiRouterNav"},{__name:"index",props:{className:String,appendTo:[String,Object],options:{type:Array,default:()=>[],validator:e=>{const{valid:t,message:l}=wt.fieldValid(e,["label","path"]);return t||console.warn("TuiRouterNav Warning! ",l),t}},triggerStyle:{type:String,default:"react",validator:e=>["react","circle"].includes(e)},triggerAni:{type:Boolean,default:!0},triggerAniDelay:{type:Number,default:5e3},triggerPosition:{type:String,default:"center",validator:e=>["left","center","right"].includes(e)},buttonWidth:{type:[Number,String],default:"auto"},modal:{type:Boolean,default:!0},useOrder:{type:Boolean,default:!0},activeMatch:{type:String,default:"prefix",validator:e=>["prefix","exact","custom"].includes(e)},activeMatcher:{type:Function,default:null},buttonComponent:{type:[String,Object],default:null},buttonConfig:{type:Object,default:()=>({})}},setup(e){const{$optFloaterTo:t,routerTransition:l}=me("$global",null),a=dt(),i=jl(),A=Ce("routerNav"),o=e,n=m((()=>{const e=o.appendTo??t.value;return"string"==typeof e?e:d(e)})),u=Ve({drawerConfig:{direction:"btt",padding:40,modal:!0,showClose:!1,className:"tui-router-nav-drawer"}}),c=m((()=>ce("cpt-rnav",{btnw:"number"==typeof o.buttonWidth?o.buttonWidth+"px":o.buttonWidth}))),p=k(!1),v=k(!1),f=k(!0),h=e=>e&&"/"!==e&&e.replace(/\/+$/,"")||"/",y=e=>{if(!e?.path)return!1;if("custom"===o.activeMatch&&"function"==typeof o.activeMatcher)return!!o.activeMatcher({item:e,route:i});const t=h(i.path),l=h(e.path);return"exact"===o.activeMatch?t===l:"/"===l?"/"===t:t===l||t.startsWith(`${l}/`)},V=e=>e?.buttonComponent||o.buttonComponent||xn,b=e=>({...o.buttonConfig,...e?.buttonConfig}),w=()=>{p.value=!p.value},x=e=>{!e?.path||y(e)||e?.disabled||(l({path:e.path,query:e.query,useOrder:o.useOrder,waitReady:!0}),p.value=!1)};return fe((()=>{f.value=!1,se.s(A,(()=>{v.value=!0}),o.triggerAniDelay)})),tt((()=>{f.value=!0,se.c(A)})),(t,l)=>{const A=be("TuiDrawer");return r(),g(J,null,[f.value||d(i)?.path?.includes("login")?q("",!0):(r(),Y(mt,{key:0,to:n.value,fallback:"#tuiRoot",disabled:f.value},[s("div",{class:T(`tui-router-nav-restraint tui-position-${e.triggerPosition} ${e.className||""}`)},[ne(Be,{name:"fade"},{default:_((()=>[p.value?q("",!0):(r(),g("div",{key:0,class:T(`tui-router-nav-btn btn-turn-on style-${e.triggerStyle} ani-${e.triggerAni&&v.value?"on":"off"} `),onClick:w},[...l[1]||(l[1]=[s("i",{class:"tui-icon ti-angle-up"},null,-1)])],2))])),_:1})],2)],8,["to","disabled"])),ne(A,Pe({modelValue:p.value,"onUpdate:modelValue":l[0]||(l[0]=e=>p.value=e)},u.drawerConfig,{modal:e.modal}),{default:_((()=>[s("div",{class:T(`tui-router-nav-btn btn-turn-off style-${e.triggerStyle} tui-position-${e.triggerPosition}`),onClick:w},[s("div",Ip,[p.value?(r(),g("i",Np)):q("",!0)])],2),s("div",{class:"tui-route-nav-inner",style:re(c.value)},[(r(!0),g(J,null,ke(e.options,((e,l)=>(r(),g(J,{key:l},[d(a).item?K(t.$slots,"item",{key:0,item:e,active:y(e),type:y(e)?"primary":"default",disabled:e.disabled,navigate:()=>x(e)}):(r(),Y(it(V(e)),Pe({key:1,ref_for:!0},b(e),{class:{"is-active":y(e)},type:y(e)?"primary":"default",disabled:e.disabled,"aria-current":y(e)?"page":null,onClick:t=>x(e)}),{default:_((()=>[Re(G(e.buttonLabel||e.label),1)])),_:2},1040,["class","type","disabled","aria-current","onClick"]))],64)))),128))],4)])),_:3},16,["modelValue","modal"])],64)}}}),_p={class:"tui-step-head"},Op={key:0,class:"tui-step-line"},Mp={class:"tui-step-icon"},Ep={key:2,class:"tui-step-index"},Lp={class:"tui-step-main"},Rn=Object.assign({name:"TuiStep"},{__name:"item",props:{title:{type:String,default:""},description:{type:String,default:""},icon:{type:String,default:""},status:{type:String,validator:e=>["","wait","process","finish","error","success","warning"].includes(e),default:""}},setup(e){const{proxy:t,uid:l}=Ue(),a=e,{tipConfig:i,descriptionLines:A,registerStep:o,steps:n,parentProps:u}=me("TuiSteps",null);fe((()=>{o({props:a,uid:l})}));const c=m((()=>n.value.findIndex((e=>e.uid===l)))),p=m((()=>a.status?a.status:c.value<u.active?u.finishStatus:c.value===u.active?u.processStatus:"wait")),v=m((()=>{if(a.icon)return a.icon;{const e=p.value;return"success"==e?"tui-icon ti-check-circle":"warning"==e?"tui-icon ti-alert-circle":"error"==e?"tui-icon ti-times-circle":null}})),f=m((()=>({...i.value,lines:A.value})));return(t,l)=>{const a=be("TuiTextTip");return r(),g("div",{class:T(["tui-step",[`is-${p.value}`,{"is-simple":d(u).simple,"is-vertical":"vertical"===d(u).direction}]])},[s("div",_p,[d(u).simple?q("",!0):(r(),g("div",Op,[...l[0]||(l[0]=[s("i",{class:"tui-step-line-inner"},null,-1)])])),s("div",Mp,[t.$slots.icon?K(t.$slots,"icon",{key:0}):v.value?(r(),g("i",{key:1,class:T(v.value)},null,2)):(r(),g("span",Ep,G(c.value+1),1))])]),s("div",Lp,[ne(a,Pe(d(i),{class:"tui-step-title"}),{default:_((()=>[K(t.$slots,"title",{},(()=>[Re(G(e.title),1)]))])),_:3},16),!t.$slots.description&&!e.description||d(u).simple?q("",!0):(r(),Y(a,Pe({key:0},f.value,{class:"tui-step-description"}),{default:_((()=>[K(t.$slots,"description",{},(()=>[Re(G(e.description),1)]))])),_:3},16))]),d(u).simple&&d(n).length!=c.value+1?(r(),g("div",{key:0,class:T(["tui-simple-arrow","vertical"===d(u).direction?"tui-icon ti-chevron-down":"tui-icon ti-chevron-right"])},null,2)):q("",!0)],2)}}}),Wp=Object.assign({name:"TuiSteps"},{__name:"index",props:{direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},active:{type:Number,default:0},processStatus:{type:String,default:"process"},finishStatus:{type:String,default:"finish"},simple:{type:Boolean,default:!1},simpleWithBG:{type:Boolean,default:!0},options:{type:Array,default:()=>[],validator:e=>{const{valid:t,message:l}=wt.fieldValid(e,["title"]);return t||console.warn("TuiSteps Warning! ",l),t}},descriptionLines:{type:Number,default:2},tipConfig:Object},setup(e){const t=e,l=k([]);return Ke("TuiSteps",{tipConfig:m((()=>t.tipConfig)),descriptionLines:m((()=>t.descriptionLines)),parentProps:t,steps:l,registerStep:e=>{l.value.push(e)}}),(t,l)=>(r(),g("div",{class:T(["tui-steps",{"steps-vertical":"vertical"===e.direction,"steps-simple":e.simple,"steps-simple-BG":e.simpleWithBG}])},[e.options&&e.options.length?(r(!0),g(J,{key:0},ke(e.options,((e,t)=>(r(),Y(Rn,{key:t,title:e.title,description:e.description,icon:e.icon,status:e.status},null,8,["title","description","icon","status"])))),128)):K(t.$slots,"default",{key:1})],2))}}),jp={class:"tui-pager"},Gp=Object.assign({name:"TuiTabs"},{__name:"index",props:{appearance:{type:String,default:"simple",validator:e=>["simple","card","button"].includes(e)},faceTo:{type:String,default:"up",validator:e=>["up","down","left","right"].includes(e)},textDirection:{type:String,default:null,validator:e=>["h","v"].includes(e)},size:{type:String,default:"default",validator:e=>["default","large","small"].includes(e)},align:{type:String,default:null,validator:e=>["start","center","end"].includes(e)},hideBaseLine:{type:Boolean,default:!1},scrollable:{type:Boolean,default:!1},scrollOffset:{type:Number,default:0},options:{type:Array,default:[],validator:e=>{const{valid:t,message:l}=wt.fieldValid(e,["label"]);return t||console.warn("TuiTabs Warning! ",l),t}},modelValue:[String,Number,Boolean],itemMaxWidth:[Number,String],tipConfig:Object,tagConfig:Object,resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},emits:["change","update:modelValue"],setup(e,{emit:t}){const{$optResizeCounter:l,initResizeBy:a}=me("$global",null),i=a(),A=e,o=t;Ke("TuiTabs",{tipConfig:m((()=>A.tipConfig)),updateValue:e=>o("update:modelValue",e),change:e=>o("change",e),modelValue:m((()=>A.modelValue)),appearance:m((()=>A.appearance)),tagConfig:m((()=>A.tagConfig)),textDirection:m((()=>A.textDirection))});const n=m((()=>ce("cpt-tab",{...A.itemMaxWidth&&{maxw:ze.join("number",A.itemMaxWidth,"px")},...A.align&&{align:A.align},...b.active&&{scroll:u()}}))),u=()=>{const e=b.curIndex*b.wrapSize;return"v"==V.value?`translateY(-${e}px)`:`translateX(-${e}px)`},c=Ce("tabs"),p=k(!1),v=k(!1),f=k(null),h=k(null),y=k(null),V=m((()=>"up"==A.faceTo||"down"==A.faceTo?"h":"left"==A.faceTo||"right"==A.faceTo?"v":void 0)),b=Ve({active:!1,wrapSize:0,innerSize:0,disLeftArrow:!1,disRightArrow:!1,maxIndex:0,curIndex:0}),w=()=>{b.active&&b.curIndex>0&&b.curIndex--},x=()=>{b.active&&b.curIndex<b.maxIndex&&b.curIndex++},C=()=>{0==b.curIndex?b.disLeftArrow=!0:b.disLeftArrow=!1,b.curIndex==b.maxIndex?b.disRightArrow=!0:b.disRightArrow=!1};F((()=>l.value),((e,t)=>{!A.scrollable||"root"!=i.value(A.resizeObserver)||e>t&&S()}));const S=()=>{if(h.value){let e,t;"h"==V.value?(e=h.value.clientWidth-A.scrollOffset,t=y.value.clientWidth):"v"==V.value&&(e=h.value.clientHeight-A.scrollOffset,t=y.value.clientHeight),b.wrapSize=e,b.innerSize=t,t>e?(b.active=!0,b.maxIndex=Math.ceil(t/e)-1):b.active=!1,b.curIndex=0}p.value||(p.value=!0)};return fe((()=>{v.value=!0})),(t,l)=>{const a=be("TuiTab"),A=be("TuiButton"),o=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["tui-tabs",`tui-tabs-${e.appearance}`,e.size&&`tui-size-${e.size}`,`tui-face-${e.faceTo}`,e.textDirection&&`tui-textDir-${e.textDirection}`,e.scrollable&&"simple"==e.appearance&&`tui-tabs-scrollabel tui-scroll-${V.value}`,{"hide-base-line":e.hideBaseLine}]),style:re(n.value),ref_key:"tabWrap",ref:f},[e.scrollable&&"simple"==e.appearance?(r(),g(J,{key:0},[s("div",{class:"tui-scroll-wrap",ref_key:"scrollWrapRef",ref:h},[s("div",{class:T(["tui-scroll-inner"]),ref_key:"scrollInnerRef",ref:y,onTransitionend:C},[e.options.length>0?(r(!0),g(J,{key:0},ke(e.options,((e,t)=>(r(),Y(a,Pe({ref_for:!0},e,{value:e.value?e.value:t}),{default:_((()=>[Re(G(e.label),1)])),_:2},1040,["value"])))),256)):K(t.$slots,"default",{key:1})],544)],512),s("div",{class:T(["tui-scroll-control",{"tui-scroll-active":b.active}])},[s("div",jp,G(b.curIndex+1)+"/"+G(b.maxIndex+1),1),ne(A,{link:"",disabled:b.disLeftArrow,onClick:w},{default:_((()=>[...l[0]||(l[0]=[s("i",{class:"tui-icon ti-chevron-left"},null,-1)])])),_:1},8,["disabled"]),ne(A,{link:"",disabled:b.disRightArrow,onClick:x},{default:_((()=>[...l[1]||(l[1]=[s("i",{class:"tui-icon ti-chevron-right"},null,-1)])])),_:1},8,["disabled"])],2)],64)):(r(),g(J,{key:1},[e.options.length>0?(r(!0),g(J,{key:0},ke(e.options,((e,t)=>(r(),Y(a,Pe({ref_for:!0},e,{value:e.value?e.value:t}),{default:_((()=>[Re(G(e.label),1)])),_:2},1040,["value"])))),256)):K(t.$slots,"default",{key:1})],64)),t.$slots.suffix?K(t.$slots,"suffix",{key:2}):q("",!0)],6)),[[Te,v.value],[o,{callback:S,uid:d(c),disabled:!e.scrollable||"self"!=d(i)(e.resizeObserver)&&p.value}]])])),_:3})}}}),Fp=Object.assign({name:"TuiTab"},{__name:"tab",props:{value:{type:[String,Number,Boolean],required:!0},count:{type:Number,default:0},icon:{type:String,default:null},tagType:{type:String,default:"default"},disabled:{type:Boolean,default:!1}},setup(e){const t=e,{tipConfig:l,updateValue:a,change:i,modelValue:A,tagConfig:o,textDirection:n}=me("TuiTabs",null),s=m((()=>A.value==t.value)),u=()=>{t.disabled||(a(t.value),i(t.value))};return(t,a)=>{const i=be("TuiTextTip"),A=be("TuiTag");return r(),g("div",{onClick:u,class:T(["tui-tab-item",{"is-active":s.value,"is-disabled":e.disabled}])},[e.icon?(r(),g("i",{key:0,class:T(`tab-icon ${e.icon}`)},null,2)):q("",!0),ne(i,Pe(d(l),{textDirection:d(n)}),{default:_((()=>[K(t.$slots,"default")])),_:3},16,["textDirection"]),e.count?(r(),Y(A,Pe({key:1,class:"tab-value",size:"small",type:e.tagType},d(o)),{default:_((()=>[Re(G(e.count),1)])),_:1},16,["type"])):q("",!0)],2)}}}),ml=Symbol("treeNodeContextKey");let Hp=0;function Qp(){return Hp++}const Up={class:"tui-tree-node-label"},Yp={key:1,class:"tui-text"},Kp={__name:"content",props:{node:{type:Object,required:!0},expanded:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},indent:{type:Number,default:18},icon:{type:[String,Object]},nodeIcon:{type:String}},emits:["expand-click","check-change"],setup(e,{emit:t}){const l=e,{appearance:a,showIcon:i,defaultIcon:A}=me(ml,{appearance:"tree",showIcon:!1,defaultIcon:null}),o=t;function n(){if(l.node.disabled)return;const e={target:{checked:!l.node.checked}};o("check-change",e)}const d=m((()=>{let e=0;return e=a.includes("menu")&&1===l.node.level?10:(l.node.level-1)*l.indent,[ce("cpt-tree-cont",{pdl:e+"px"})]})),u=m((()=>a.includes("menu"))),c=m((()=>["tui-icon ti-caret-right",{"is-leaf":l.node.isLeaf,"is-expanded":!l.node.isLeaf&&l.expanded}])),p=m((()=>l.nodeIcon?l.nodeIcon:i?A&&l.node.isLeaf?A:l.node.isLeaf?"tui-icon ti-file":l.expanded?"tui-icon tis-folder-open":"tui-icon tis-folder":null)),v=m((()=>l.nodeIcon||i));return(t,l)=>(r(),g("div",{class:T(["tui-tree-node-cont",{"tui-tree-appear-menu":u.value,"tui-tree-node-1st-cont":1===e.node.level&&u.value}]),style:re(d.value)},[u.value?q("",!0):(r(),g("span",{key:0,class:"tui-tree-expand-icon",onClick:l[0]||(l[0]=Xe((e=>o("expand-click")),["stop"]))},[s("i",{class:T(c.value)},null,2)])),t.$slots.icon?K(t.$slots,"icon",{key:1,node:e.node}):v.value?(r(),g("i",{key:2,class:T("tui-tree-node-icon "+p.value)},null,2)):q("",!0),e.showCheckbox?(r(),g("i",{key:3,class:T(["tui-checkbox tui-icon",{"is-checked":e.node.checked,"is-indeterminate":e.node.indeterminate,"is-disabled":e.node.disabled,"ti-minus-square":e.node.indeterminate,"ti-check-square":e.node.checked,"ti-square":!e.node.checked&&!e.node.indeterminate}]),onClick:Xe(n,["stop"])},null,2)):q("",!0),s("div",Up,[t.$slots.default?K(t.$slots,"default",{key:0,node:e.node,data:e.node.data}):(r(),g("span",Yp,G(e.node.label),1))]),u.value?(r(),g("span",{key:4,class:"tui-tree-expand-icon tui-tree-expand-icon-right",onClick:l[1]||(l[1]=Xe((e=>o("expand-click")),["stop"]))},[s("i",{class:T(c.value)},null,2)])):q("",!0)],6))}},Xp=["id"],Zp={key:0,class:"tui-tree-node-loading"},Jp={class:"tui-tree-node-loading-text"},eg={key:0,class:"tui-tree-node-children",role:"group"},zn={__name:"node",props:{node:{type:Object,required:!0},props:{type:Object,default:()=>({})},renderAfterExpand:{type:Boolean,default:!0},showCheckbox:{type:Boolean,default:!1},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},checkOnClickLeaf:{type:Boolean,default:!0},currentNodeKey:[String,Number],indent:{type:Number,default:18},icon:[String,Object]},setup(e){const{i18n:t}=me("$global",null),l=e,{store:a,emitter:i,root:A,appearance:o,showIcon:n,defaultIcon:u}=me(ml,{appearance:"tree",showIcon:!1,defaultIcon:null}),c=k(!1),p=k(null),v=k(null),f=m((()=>{const{currentNode:e}=a;return e&&e.id===l.node.id}));function h(e){return a.getNodeKey(e)}function y(){l.node.isLeaf||(c.value?function(){l.node.collapse(),i.emit("node-collapse",l.node.data,l.node,this)}():function(){if(!l.node.loading){if(A.value.accordion){const{childNodes:e}=l.node.parent;e.forEach((e=>{e!==l.node&&e.collapse()}))}l.node.expand(),i.emit("node-expand",l.node.data,l.node,this)}}())}function V(){const{node:e}=l;i.emit("node-click",e.data,e,this),w(),l.expandOnClickNode&&y(),l.showCheckbox&&l.checkOnClickNode&&!e.disabled&&x({target:{checked:!e.checked}})}function b(e){a.currentNode!==l.node&&w(),i.emit("node-contextmenu",e,l.node.data,l.node,this)}function w(){f.value||a.setCurrentNode(l.node)}function x(e){const t=e.target.checked;l.node.setChecked(t,!a.checkStrictly),oe((()=>{i.emit("check",l.node.data,{checkedNodes:a.getCheckedNodes(),checkedKeys:a.getCheckedKeys(),halfCheckedNodes:a.getHalfCheckedNodes(),halfCheckedKeys:a.getHalfCheckedKeys()})})),i.emit("check-change",l.node.data,t,l.node.indeterminate)}function C(e){e.style.height="0",e.style.overflow="hidden",e.style.opacity="0"}function S(e,t){e.offsetHeight,e.style.transition="height 0.3s ease, opacity 0.3s ease",e.style.height=e.scrollHeight+"px",e.style.opacity="1",setTimeout((()=>{t()}),300)}function B(e){e.style.height="auto",e.style.overflow="",e.style.transition="",e.style.opacity=""}function $(e){e.style.height=e.scrollHeight+"px",e.style.overflow="hidden"}function z(e,t){e.offsetHeight,e.style.transition="height 0.3s ease, opacity 0.3s ease",e.style.height="0",e.style.opacity="0",setTimeout((()=>{t()}),300)}function R(e){e.style.height="",e.style.overflow="",e.style.transition="",e.style.opacity=""}return F((()=>l.node.expanded),(e=>{if(c.value=e,e&&A.value.accordion&&l.node.parent){const{childNodes:e}=l.node.parent;e.forEach((e=>{e!==l.node&&e.expanded&&e.collapse()}))}}),{immediate:!0}),F((()=>l.node.checked),(e=>{p.value!==e&&(i.emit("check-change",l.node.data,e,l.node.indeterminate),p.value=e)}),{immediate:!0}),F((()=>l.node.indeterminate),(e=>{v.value!==e&&(v.value=e)}),{immediate:!0}),F((()=>l.node.visible),(()=>{})),(a,i)=>he((r(),g("div",{class:T(["tui-tree-node",{"is-expanded":c.value,"is-current":f.value,"is-hidden":!e.node.visible,"is-focusable":!e.node.disabled,"is-checked":!e.node.disabled&&e.node.checked,"is-indeterminate":e.node.indeterminate,"is-first-level":1===e.node.level,[`tui-tree-node-level-${e.node.level}`]:!0}]),role:"treeitem",id:e.node.id,onClick:Xe(V,["stop"]),onContextmenu:Xe(b,["prevent"])},[ne(Kp,{node:e.node,expanded:c.value,"show-checkbox":e.showCheckbox,"node-icon":e.node.data.icon,indent:e.indent,icon:e.icon,onExpandClick:y,onCheckChange:x},Nt({_:2},[a.$slots.default?{name:"default",fn:_((e=>[K(a.$slots,"default",{node:e.node,data:e.data})])),key:"0"}:void 0,a.$slots.icon?{name:"icon",fn:_((e=>[K(a.$slots,"icon",st(ht(e)))])),key:"1"}:void 0]),1032,["node","expanded","show-checkbox","node-icon","indent","icon"]),e.node.loading?(r(),g("div",Zp,[i[0]||(i[0]=s("span",{class:"tui-tree-node-loading-icon"},"⟳",-1)),s("span",Jp,G(d(t)("common.processing")),1)])):q("",!0),ne(Be,{name:"tui-tree-node",onBeforeEnter:C,onEnter:S,onAfterEnter:B,onBeforeLeave:$,onLeave:z,onAfterLeave:R},{default:_((()=>[!e.renderAfterExpand||c.value?he((r(),g("div",eg,[(r(!0),g(J,null,ke(e.node.childNodes,(t=>(r(),Y(zn,{key:h(t),node:t,props:l,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"expand-on-click-node":e.expandOnClickNode,"check-on-click-node":e.checkOnClickNode,"check-on-click-leaf":e.checkOnClickLeaf,"current-node-key":e.currentNodeKey,indent:e.indent,icon:e.icon},Nt({_:2},[a.$slots.default?{name:"default",fn:_((e=>[K(a.$slots,"default",{node:e.node,data:e.data})])),key:"0"}:void 0,a.$slots.icon?{name:"icon",fn:_((e=>[K(a.$slots,"icon",Pe({ref_for:!0},e))])),key:"1"}:void 0]),1032,["node","props","render-after-expand","show-checkbox","expand-on-click-node","check-on-click-node","check-on-click-leaf","current-node-key","indent","icon"])))),128))],512)),[[Te,c.value]]):q("",!0)])),_:3})],42,Xp)),[[Te,e.node.visible]])}};class Ht{constructor(e){this.id=Qp(),this.data=e.data||null,this.expanded=!1,this.parent=e.parent,this.visible=!0,this.isCurrent=!1,this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.checked=!1,this.indeterminate=!1;for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this[t]=e[t]);this.parent&&(this.level=this.parent.level+1);const t=this.store;if(!t)throw new Error("[Tree] store is required!");t.registerNode(this),this.data&&this.setData(this.data),!0!==t.lazy&&this.data&&this.updateLeafState()}setData(e){if(!e)return;let t;this.data=e,this.childNodes=[],t=0===this.level&&Array.isArray(this.data)?this.data:this.data[this.store.props.children]||[];for(let e=0,l=t.length;e<l;e++)this.insertChild({data:t[e]});this.updateLeafState()}setData(e){if(!e)return;let t;this.data=e,this.childNodes=[],t=0===this.level&&Array.isArray(this.data)?this.data:this.data[this.store.props.children]||[];for(let e=0,l=t.length;e<l;e++)this.insertChild({data:t[e]});this.updateLeafState()}get label(){return this.data[this.store.props.label]}get key(){const e=this.store.key;return this.data?this.data[e]:null}get disabled(){return this.data[this.store.props.disabled]}get nextSibling(){const e=this.parent;if(!e)return null;const t=e.childNodes.indexOf(this);return t<0?null:t+1<e.childNodes.length?e.childNodes[t+1]:null}get previousSibling(){const e=this.parent;if(!e)return null;const t=e.childNodes.indexOf(this);return t<=0?null:e.childNodes[t-1]}contains(e){if(e===this)return!0;const{childNodes:t}=this;let l=!1;for(let a=0,i=t.length;a<i&&(l=t[a].contains(e),!l);a++);return l}remove(){const e=this.parent;e&&e.removeChild(this)}insertChild(e,t,l){if(!e)throw new Error("insertChild error: child is required");if(!(e instanceof Ht)){if(!l){const l=this.getChildren(!0);l.includes(e.data)||(typeof t>"u"||t<0?l.push(e.data):l.splice(t,0,e.data))}Object.assign(e,{parent:this,store:this.store}),e=new Ht(e)}return e.level=this.level+1,typeof t>"u"||t<0?this.childNodes.push(e):this.childNodes.splice(t,0,e),this.updateLeafState(),e}insertBefore(e,t){let l;t&&(l=this.childNodes.indexOf(t)),this.insertChild(e,l)}insertAfter(e,t){let l;t&&(l=this.childNodes.indexOf(t),-1!==l&&(l+=1)),this.insertChild(e,l)}removeChild(e){const t=this.getChildren()||[],l=t.indexOf(e.data);l>-1&&t.splice(l,1);const a=this.childNodes.indexOf(e);a>-1&&(this.store&&this.store.deregisterNode(e),e.parent=null,this.childNodes.splice(a,1)),this.updateLeafState()}removeChildByData(e){let t=null;for(let l=0;l<this.childNodes.length;l++)if(this.childNodes[l].data===e){t=this.childNodes[l];break}t&&this.removeChild(t)}expand(e,t){if(this.store.accordion&&this.parent&&this.parent.childNodes.forEach((e=>{e!==this&&e.collapse()})),t){let e=this.parent;for(;e&&e.level>0;)e.expanded=!0,e=e.parent}!this.store.lazy||this.loaded&&!this.store.renderAfterExpand?(this.expanded=!0,this.loaded=!0,e&&e()):this.loadData((t=>{this.expanded=!0,t instanceof Array&&e&&e()}))}doCreateChildren(e,t={}){e.forEach((e=>{this.insertChild({data:e,...t})}))}collapse(){this.expanded=!1}loadData(e=(()=>{})){!0!==this.store.lazy||!this.store.load||this.loaded||this.loading?e&&e():(this.loading=!0,this.store.load(this,(t=>{this.loading=!1,t&&Array.isArray(t)?(this.loaded=!0,this.childNodes=[],this.doCreateChildren(t),this.updateLeafState(),e&&e(t)):(this.expanded=!1,e&&e(null))})))}updateLeafState(){if(!0===this.store.lazy&&!0!==this.loaded&&void 0!==this.data[this.store.props.isLeaf])return void(this.isLeaf=this.data[this.store.props.isLeaf]);const e=this.childNodes;!this.store.lazy||!0===this.store.lazy&&!0===this.loaded?this.isLeaf=!e||0===e.length:this.isLeaf=!1}setChecked(e,t,l,a){if(this.indeterminate="half"===e,this.checked=!0===e,this.store.checkStrictly)return;!1===this.shouldNotify&&(this.shouldNotify=a);let{childNodes:i}=this;if(t&&i.length>0)for(let l=0,A=i.length;l<A;l++)i[l].setChecked(e,t,!0,a);const{parent:A}=this;!A||0===A.level||l||this.updateParentCheckState()}updateParentCheckState(){let e=this.parent;for(;e&&e.level>0;)e.updateCheckState(),e=e.parent}updateCheckState(){const e=this.childNodes,t=e.length;let l=0,a=0;for(let i=0;i<t;i++){const t=e[i];t.checked?l++:t.indeterminate&&a++}l===t?(this.checked=!0,this.indeterminate=!1):l>0||a>0?(this.checked=!1,this.indeterminate=!0):(this.checked=!1,this.indeterminate=!1),this.parent&&this.parent.level>0&&this.parent.updateCheckState()}getChildren(e=!1){if(0===this.level)return this.data;const t=this.data;if(!t)return null;const l=this.store.props;let a=t[l.children];return e&&!a&&(a=t[l.children]=[]),a}updateChildren(){const e=this.getChildren()||[],t=this.childNodes.splice(0);e.forEach(((e,l)=>{let a=t.find((t=>t.data===e));a?(this.insertChild(a,l),a.updateChildren()):this.insertChild({data:e},l)})),t.forEach((t=>{e.includes(t.data)||this.store.deregisterNode(t)}))}filter(e){const t=this.store.filterNodeMethod,l=this.store.lazy;if(t)return this.visible=t.call(null,e,this.data,this),l&&!this.loaded&&this.visible&&this.loadData(),this.childNodes.forEach((t=>{t.filter(e)})),!this.visible&&this.childNodes.length&&this.childNodes.some((e=>e.visible))&&(this.visible=!0),this.visible;this.visible=!0}}class tg{constructor(e){this.currentNode=null,this.currentNodeKey=null;for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this[t]=e[t]);this.filterNodeMethod||(this.filterNodeMethod=(e,t,l)=>!e||l.label.toLowerCase().includes(e.toLowerCase())),this.nodesMap={},this.root=new Ht({data:this.data||[],store:this}),this.lazy||this._initDefaultCheckedNodes()}filter(e){this.filterNodeMethod&&this.root.filter(e)}setData(e){e!==this.root.data?(this.root.setData(e),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(e){if(e instanceof Ht)return e;const t="object"!=typeof e?e:this.getNodeKey(e);return this.nodesMap[t]||null}insertBefore(e,t){const l=this.getNodeKey(t),a=this.getNode(l);a.parent.insertBefore({data:e},a)}insertAfter(e,t){const l=this.getNodeKey(t),a=this.getNode(l);a.parent.insertAfter({data:e},a)}remove(e){const t=this.getNode(e);t&&t.parent&&(t===this.currentNode&&(this.currentNode=null),t.parent.removeChild(t))}append(e,t){const l=t?this.getNode(t):this.root;l&&l.insertChild({data:e})}_initDefaultCheckedNodes(){const e=this.defaultCheckedKeys||[],t=this.nodesMap;Object.keys(t).forEach((e=>{t[e].setChecked(!1,!0,!0)})),e.forEach((e=>{const l=t[e];l&&l.setChecked(!0,!this.checkStrictly)}))}_initDefaultCheckedNode(e){-1!==(this.defaultCheckedKeys||[]).indexOf(e.key)&&e.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKeys(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())}registerNode(e){const t=this.getNodeKey(e);t&&(this.nodesMap[t]=e)}deregisterNode(e){this.key&&(e.childNodes.forEach((e=>{this.deregisterNode(e)})),delete this.nodesMap[e.key])}getNodeKey(e,t){return typeof t<"u"?t:this.key?e instanceof Ht?e.data[this.key]:e[this.key]:e.id}updateChildren(e,t){const l=this.nodesMap[e];if(l&&(l.childNodes.forEach((e=>{l.removeChild(e)})),t))for(let e=0;e<t.length;e++){const a=t[e];l.insertChild({data:a})}}_setCheckedKeys(e,t=!1,l={}){const a=this.nodesMap,i=Object.keys(l);for(const e in a)if(Object.prototype.hasOwnProperty.call(a,e)){const A=a[e],o=i.length>0&&Object.prototype.hasOwnProperty.call(l,A.key);(!t||t&&A.isLeaf)&&A.setChecked(o,!this.checkStrictly)}}setCheckedNodes(e,t=!1){const l={};for(let t=0,a=e.length;t<a;t++){const a=e[t][this.key];a&&(l[a]=!0)}this._setCheckedKeys(void 0,t,l)}setCheckedKeys(e,t=!1){this.defaultCheckedKeys=e;const l={};Array.isArray(e)&&e.forEach((e=>{l[e]=!0})),this._setCheckedKeys(void 0,t,l)}setDefaultExpandedKeys(e){if(e=e||[],this.defaultExpandedKeys=e,this.accordion){const t={};for(let l=e.length-1;l>=0;l--){const a=e[l],i=this.getNode(a);if(!i)continue;const A=i.level;t[A]||(t[A]=[]),t[A].push(i)}Object.keys(t).forEach((e=>{const l=t[e];l.length>0&&l[0].expand(null,this.autoExpandParent)}))}else e.forEach((e=>{const t=this.getNode(e);t&&t.expand(null,this.autoExpandParent)}))}setChecked(e,t,l){const a=this.getNode(e);a&&a.setChecked(!!t,l)}getCurrentNode(){return this.currentNode}setCurrentNode(e,t=!0){const l=this.currentNode;l&&(l.isCurrent=!1),this.currentNode=e,e&&(e.isCurrent=!0,t&&this.expandOnClickNode&&e.parent&&e.parent.expand(null,this.autoExpandParent))}setCurrentNodeKey(e,t=!0){if(null==e)return this.currentNode&&(this.currentNode.isCurrent=!1),void(this.currentNode=null);const l=this.getNode(e);l&&this.setCurrentNode(l,t)}getCheckedNodes(e=!1,t=!1){const l=[],a=i=>{i.childNodes.forEach((i=>{(i.checked||t&&i.indeterminate)&&(!e||e&&i.isLeaf)&&l.push(i.data),a(i)}))};return a(this.root),l}getCheckedKeys(e=!1){return this.getCheckedNodes(e).map((e=>(e||{})[this.key]))}getHalfCheckedNodes(){const e=[],t=l=>{l.childNodes.forEach((l=>{l.indeterminate&&e.push(l.data),t(l)}))};return t(this.root),e}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map((e=>(e||{})[this.key]))}_getAllNodes(){const e=[],t=this.nodesMap;for(const l in t)Object.prototype.hasOwnProperty.call(t,l)&&e.push(t[l]);return e}updateChildrenData(e,t){const l=this.nodesMap[e];if(!l)return;const a=l.childNodes;for(let e=a.length-1;e>=0;e--){const t=a[e];this.remove(t.data)}for(let e=0;e<t.length;e++){const a=t[e];this.append(a,l.data)}}getCurrentKey(){return this.currentNode?this.getNodeKey(this.currentNode):null}findNodes(e,t=!1){const l=[],a=i=>{if(e(i)&&l.push(i),t){const e=i.childNodes;for(let t=0;t<e.length;t++)a(e[t])}},i=this._getAllNodes();for(let e=0;e<i.length;e++)a(i[e]);return l}expandAllNodes(){this._getAllNodes().forEach((e=>{e.expand(null,!0)}))}collapseAllNodes(){this._getAllNodes().forEach((e=>{e.collapse()}))}filterNodeByKey(e,t){if(!this.filterNodeMethod)return;const l=this.getNode(e);l&&l.filter(t)}findParentNode(e,t){const l=this.getNode(e);if(!l)return null;let a=l.parent;for(;a&&a!==this.root;){if(t(a))return a;a=a.parent}return null}getNodePath(e){const t=this.getNode(e);if(!t)return[];const l=[t];let a=t.parent;for(;a&&a!==this.root;)l.unshift(a),a=a.parent;return l}getAllChildren(e,t=!0){const l=this.getNode(e);if(!l)return[];const a=[],i=e=>{e.childNodes.forEach((e=>{(t||!e.isLeaf)&&a.push(e),i(e)}))};return i(l),a}batchSetNodeState(e,t,l,a){e.forEach((e=>{const i=this.getNode(e);i&&(void 0!==t&&(t?i.expand(null,this.autoExpandParent):i.collapse()),void 0!==l&&i.setChecked(l,!this.checkStrictly),void 0!==a&&a&&this.setCurrentNode(i))}))}}const lg={key:0,class:"tui-tree-filter"},ag={key:1,class:"tui-tree-empty"},ng={key:2,class:"tui-tree-loading"},og={class:"tui-tree-load-text"},ig={class:"tui-tree-inner"},sg=Object.assign({name:"TuiTree"},{__name:"index",props:{data:{type:Array,default:()=>[]},emptyText:String,nodeKey:{type:String,default:"id"},props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled",isLeaf:"isLeaf",class:"class"})},renderAfterExpand:{type:Boolean,default:!0},highlightCurrent:{type:Boolean,default:!1},defaultExpandAll:{type:Boolean,default:!1},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},checkOnClickLeaf:{type:Boolean,default:!0},autoExpandParent:{type:Boolean,default:!0},defaultExpandedKeys:{type:Array,default:()=>[]},showCheckbox:{type:Boolean,default:!1},checkStrictly:{type:Boolean,default:!1},defaultCheckedKeys:{type:Array,default:()=>[]},currentNodeKey:[String,Number],filterNodeMethod:{type:Function},accordion:{type:Boolean,default:!1},indent:{type:Number,default:18},icon:{type:[String,Object]},lazy:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,load:Function,appearance:{type:String,default:"tree",validator:e=>["tree","menu","menu-block"].includes(e)},showIcon:{type:Boolean,default:!1}},emits:["node-click","node-contextmenu","check-change","check","current-change","node-expand","node-collapse","node-drag-start","node-drag-enter","node-drag-leave","node-drag-over","node-drag-end","node-drop"],setup(e,{expose:t,emit:l}){const{i18n:a}=me("$global",null),i=e,A=l,o=Ve(new tg({key:i.nodeKey,data:i.data,lazy:i.lazy,props:i.props,load:i.load,currentNodeKey:i.currentNodeKey,checkStrictly:i.checkStrictly,defaultCheckedKeys:i.defaultCheckedKeys,defaultExpandedKeys:i.defaultExpandedKeys,autoExpandParent:i.autoExpandParent,defaultExpandAll:i.defaultExpandAll,filterNodeMethod:i.filterNodeMethod,accordion:i.accordion})),n=m((()=>o.root)),u=k(null),c=k(""),p=k(!1),v=m((()=>{const{childNodes:e}=n.value;return!e||0===e.length||e.every((e=>!1===e.visible))})),f=k(null);function h(){Ke(ml,{store:o,root:n,currentNode:u,appearance:i.appearance,showIcon:i.showIcon,defaultIcon:i.icon,emitter:{emit:(e,...t)=>{A(e,...t)}}})}Ke(ml,{store:o,root:n,currentNode:u,appearance:i.appearance,showIcon:i.showIcon,defaultIcon:i.icon,emitter:{emit:(e,...t)=>{A(e,...t)}}}),F((()=>i.data),(e=>{o.setData(e)}),{deep:!0}),F((()=>i.currentNodeKey),(e=>{o.setCurrentNodeKey(e)})),F((()=>i.defaultCheckedKeys),(e=>{o.setDefaultCheckedKeys(e)})),F((()=>i.defaultExpandedKeys),(e=>{o.setDefaultExpandedKeys(e)})),F(c,(e=>{o.filter(e)})),F((()=>i.appearance),(e=>{h()})),F((()=>i.showIcon),(e=>{h()})),F((()=>i.icon),(e=>{h()}));const y=e=>o.getNodeKey(e);return t({filter:e=>{c.value=void 0===e?"":e},updateKeyChildren:(e,t)=>o.updateChildren(e,t),getCheckedNodes:(e,t)=>o.getCheckedNodes(e,t),setCheckedNodes:e=>o.setCheckedNodes(e),getCheckedKeys:e=>o.getCheckedKeys(e),setCheckedKeys:(e,t)=>o.setCheckedKeys(e,t),setChecked:(e,t,l)=>o.setChecked(e,t,l),getHalfCheckedNodes:()=>o.getHalfCheckedNodes(),getHalfCheckedKeys:()=>o.getHalfCheckedKeys(),getCurrentKey:()=>o.getCurrentKey(),getCurrentNode:()=>o.getCurrentNode(),setCurrentKey:(e,t=!0)=>{o.setCurrentKey(e,t),u.value=o.currentNode},setCurrentNode:(e,t=!0)=>{o.setCurrentNode(e,t),u.value=o.currentNode},getNode:e=>o.getNode(e),remove:e=>o.remove(e),append:(e,t)=>o.append(e,t),insertBefore:(e,t)=>o.insertBefore(e,t),insertAfter:(e,t)=>o.insertAfter(e,t)}),fe((()=>{u.value=o.currentNode,i.lazy&&i.load&&(!i.data||0===i.data.length)&&(p.value=!0,i.load(n.value,(e=>{p.value=!1,n.value.doCreateChildren(e),o._initDefaultCheckedNodes()})))})),(t,l)=>{const A=be("TuiInput"),o=be("TuiEmpty");return r(),g("div",{class:T(["tui-tree",`tui-appea-${e.appearance}`,{"is-draggable":e.draggable,"is-drop-not-allow":!e.allowDrop,"is-drop-inner":"inner"===f.value,"tui-highlight":e.highlightCurrent,"show-icon":e.showIcon}])},[e.filterNodeMethod?(r(),g("div",lg,[ne(A,{clearable:"",type:"text",modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=e=>c.value=e),placeholder:d(a)("placeholder.filter")},null,8,["modelValue","placeholder"])])):q("",!0),v.value?(r(),g("div",ag,[ne(o,{text:e.emptyText},null,8,["text"])])):q("",!0),p.value?(r(),g("div",ng,[s("span",og,G(d(a)("common.processing")),1)])):q("",!0),he(s("div",ig,[(r(!0),g(J,null,ke(n.value.childNodes,(l=>(r(),Y(zn,{key:y(l),node:l,props:i,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"expand-on-click-node":e.expandOnClickNode,"check-on-click-node":e.checkOnClickNode,"check-on-click-leaf":e.checkOnClickLeaf,"current-node-key":e.currentNodeKey,indent:e.indent,icon:e.icon},Nt({_:2},[t.$slots.default?{name:"default",fn:_((e=>[K(t.$slots,"default",{node:e.node,data:e.data})])),key:"0"}:void 0,t.$slots.icon?{name:"icon",fn:_((e=>[K(t.$slots,"icon",Pe({ref_for:!0},e))])),key:"1"}:void 0]),1032,["node","props","render-after-expand","show-checkbox","expand-on-click-node","check-on-click-node","check-on-click-leaf","current-node-key","indent","icon"])))),128))],512),[[Te,!v.value]])],2)}}}),rg=Object.assign({name:"TuiCheckbox"},{__name:"index",props:{modelValue:Array,max:Number,defaultIcon:{type:Boolean,default:!0},separable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},appearance:{type:String,default:"simple",validator:e=>["simple","buttonPlain","button"].includes(e)},direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)},textDirection:{type:String,default:null,validator:e=>["h","v"].includes(e)},size:{type:String,default:"default",validator:e=>["default","small","large"].includes(e)},align:{type:String,default:null,validator:e=>["start","center","end"].includes(e)},options:{type:Array,default:[],validator:e=>{const{valid:t,message:l}=wt.fieldValid(e,["label"]);return t||console.warn("TuiCheckBox Warning! ",l),t}},tipConfig:Object,itemMaxWidth:Number,itemMinWidth:Number,itemWidth:Number,className:String},emits:["change","update:modelValue"],setup(e,{emit:t}){const l=e,a=me("TuiForm",null),i=m((()=>a?.size?.value||l.size)),A=m((()=>a?.disabled?.value||l.disabled)),o=m((()=>ce("cpt-ckbox",{...l.align&&{align:l.align},...l.itemMaxWidth&&{imaxw:l.itemMaxWidth+"px"},...l.itemMinWidth&&{iminw:l.itemMinWidth+"px"},...l.itemWidth&&{iw:l.itemWidth+"px"}}))),n=t;return Ke("TuiCkboxG",{tipConfig:m((()=>l.tipConfig)),modelValue:m((()=>l.modelValue)),defaultIcon:m((()=>l.defaultIcon)),max:m((()=>l.max)),parDisabled:A,isChecked:e=>l.modelValue.includes(e),updateValue:e=>{const t=[...l.modelValue];if(!e&&0!=e||-1!=t.indexOf(e)){const l=t.indexOf(e);l>-1&&t.splice(l,1)}else{if(l.max&&t.length>=l.max)return;t.push(e)}n("update:modelValue",t),n("change",t)}}),fe((()=>{})),(t,l)=>{const a=be("TuiCheckboxItem");return r(),g("div",{class:T(["tui-checkbox",`tui-checkbox-${e.appearance}`,`tui-size-${i.value}`,e.className,e.direction&&`tui-dir-${e.direction}`,e.textDirection&&`tui-textDir-${e.textDirection}`,{"is-separable":e.separable}]),style:re(o.value)},[e.options.length>0?(r(!0),g(J,{key:0},ke(e.options,((e,t)=>(r(),Y(a,{value:null!=e.value&&null!=e.value?e.value:t,count:e.count,icon:e.icon,disabled:e.disabled},{default:_((()=>[Re(G(e.label),1)])),_:2},1032,["value","count","icon","disabled"])))),256)):K(t.$slots,"default",{key:1})],6)}}}),Ag={key:0,class:T("checkbox-icon tui-icon ti-square")},ug={key:1,class:T("checkbox-icon tui-icon tis-check-square")},dg=Object.assign({name:"TuiCheckboxItem"},{__name:"item",props:{value:{type:[String,Number,Boolean],required:!0},icon:{type:[String,Array],default:null},disabled:{type:Boolean,default:!1}},setup(e){const t=e,{tipConfig:l,updateValue:a,modelValue:i,defaultIcon:A,max:o,isChecked:n,parDisabled:s}=me("TuiCkboxG",null),u=m((()=>u.value)),c=m((()=>n(t.value))),p=m((()=>"array"==ze(t.icon)&&2==t.icon.length?c.value?t.icon[1]:t.icon[0]:"string"==ze(t.icon)?t.icon:void 0)),v=e=>{t.disabled||s.value||a(t.value)};return St((()=>{})),(t,a)=>{const i=be("TuiTextTip");return r(),g("div",{onClick:v,class:T(["tui-checkbox-item",{"is-active":c.value,"is-disabled":e.disabled||d(s)}])},[!c.value&&d(A)?(r(),g("i",Ag)):d(A)?(r(),g("i",ug)):q("",!0),e.icon?(r(),g("i",{key:2,class:T(`checkbox-icon ${p.value}`)},null,2)):q("",!0),ne(i,st(ht(d(l))),{default:_((()=>[K(t.$slots,"default")])),_:3},16)],2)}}}),cg=Object.assign({name:"TuiForm"},{__name:"index",props:{model:{type:Object,default:()=>({})},rules:{type:Object,default:()=>({})},inline:{type:Boolean,default:!1},labelPosition:{type:String,default:"right",validator:e=>["left","right","top"].includes(e)},labelWidth:{type:[String,Number],default:150},labelSuffix:{type:String,default:":"},labelHide:{type:Boolean,default:!1},asteriskHide:{type:Boolean,default:!1},asteriskPosition:{type:String,default:"left",validator:e=>["left","right"].includes(e)},showMessage:{type:Boolean,default:!0},inlineMessage:{type:Boolean,default:!1},showValidateState:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},size:{type:String,default:"default",validator:e=>["large","default","small"].includes(e)},disabled:{type:Boolean,default:!1},scrollToError:{type:Boolean,default:!1},scrollIntoViewOptions:{type:[Object,Boolean],default:!0}},emits:["validate"],setup(e,{expose:t,emit:l}){const a=e,i=l,A=k([]),o=e=>{if(e&&e.length>0){const t=[];return e.forEach((e=>{const l=A.value.find((t=>t.prop===e));l&&t.push(l)})),t}return A.value.filter((e=>e.prop))},n=async e=>{if(!a.model)return console.warn("[TuiForm] model is required for validate to work."),!1;let t;"function"!=typeof e&&(t=new Promise(((t,l)=>{e=(e,a)=>{e?t(!0):l(a)}})));let l=!0,i=0,A={};const n=o();return 0===n.length?(e(!0,{}),t):(n.forEach((t=>{t.validate("",((o,r)=>{o&&(l=!1,A[t.prop]=r||{message:o,field:t.prop}),"function"==typeof e&&++i===n.length&&(e(l,A),!l&&a.scrollToError&&s(Object.keys(A)[0]))}))})),t)},s=e=>{const t=A.value.find((t=>t.prop===e)),l=t?.$el?.value||t?.$el;l?.scrollIntoView&&l.scrollIntoView(a.scrollIntoViewOptions)};return F((()=>a.rules),(()=>{a.validateOnRuleChange&&n().catch((()=>{}))}),{deep:!0}),Ke("TuiForm",{labelWidth:m((()=>a.labelWidth)),labelPosition:m((()=>a.labelPosition)),labelSuffix:m((()=>a.labelSuffix)),labelHide:m((()=>a.labelHide)),asteriskHide:m((()=>a.asteriskHide)),asteriskPosition:m((()=>a.asteriskPosition)),showMessage:m((()=>a.showMessage)),inlineMessage:m((()=>a.inlineMessage)),showValidateState:m((()=>a.showValidateState)),inline:m((()=>a.inline)),validateOnRuleChange:m((()=>a.validateOnRuleChange)),model:m((()=>a.model)),rules:m((()=>a.rules)),size:m((()=>a.size)),disabled:m((()=>a.disabled)),addField:e=>{if(e){const t=A.value.findIndex((t=>t.uid===e.uid));if(t>-1)return void(A.value[t]=e);A.value.push(e)}},removeField:e=>{if(e?.uid){const t=A.value.findIndex((t=>t.uid===e.uid));t>-1&&A.value.splice(t,1)}},emit:i}),t({validate:n,validateField:(e,t)=>{const l=o([].concat(e));0!==l.length?l.forEach((e=>{e.validate("",t)})):console.warn("[TuiForm] please pass correct props!")},resetFields:()=>{a.model?A.value.forEach((e=>{e.resetField()})):console.warn("[TuiForm] model is required for resetFields to work.")},clearValidate:e=>{(e?o([].concat(e)):A.value).forEach((e=>{e.clearValidate()}))},scrollToField:s,fields:m((()=>A.value))}),(t,l)=>(r(),g("form",{class:T(["tui-form",{"is-inline":e.inline,[`tui-label-pos-${e.labelPosition}`]:e.labelPosition,[`tui-size-${e.size}`]:e.size}]),onSubmit:l[0]||(l[0]=Xe((()=>{}),["prevent"]))},[K(t.$slots,"default")],34))}});function xl(e,t,l){let a=e;const i=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split(".");let A=0;for(let e=i.length;A<e-1&&(a||l);++A){const e=i[A];if(!(e in a)){if(l)throw new Error("please transfer a valid prop path to form item!");break}a=a[e]}return{o:a,k:i[A],v:a?a[i[A]]:null}}const fg={key:0,class:"tui-fi-label-wrap"},pg=["for"],gg={key:0,class:"tui-fi-asterisk"},hg={key:1,class:"tui-fi-asterisk"},vg={key:2,class:"tui-fi-label-suffix"},mg={class:"tui-fi-content-wrap"},yg=160,bg=Object.assign({name:"TuiFormItem"},{__name:"item",props:{contentAlign:{type:String,default:null,validator:e=>["left","center","right"].includes(e)},prop:[String,Array],label:String,required:Boolean,error:String,for:String,validateStatus:{type:String,validator:e=>["","error","validating","success"].includes(e)}},setup(e,{expose:t}){const l=e,a=Ce("formItem"),i=`${a}_change`,A=me("TuiForm",null),{asteriskHide:o,asteriskPosition:n,labelWidth:u,labelPosition:c,labelSuffix:p,labelHide:v,showMessage:f,inlineMessage:h,showValidateState:y,inline:V,model:b,addField:w,removeField:x,size:C,rules:S,emit:B}=A,$=dt(),z=Ue(),R=k(null),N=k(""),O=k(""),M=k(!1),I=k(void 0),P=k(null),D=k(!1),E=m((()=>Array.isArray(l.prop)?l.prop.join("."):l.prop)),W=m((()=>R.value?.$el||R.value)),j={uid:a,get prop(){return E.value},validate:ie,resetField:de,clearValidate:Ae,get $el(){return R}},L=m((()=>l.for||E.value)),Y=m((()=>{const e=z?.vnode?.props||{};return Object.prototype.hasOwnProperty.call(e,"required")})),H=m((()=>V.value&&"right"==c.value?"left":c.value)),Q=m((()=>{let e=ae();if(!e)return Y.value&&l.required;let t=!1;return e?.length&&e.every((e=>!e.required||(t=!0,!1))),t||Y.value&&l.required})),U=m((()=>!l.label&&!$.label||v.value)),J=m((()=>{if(!V.value)return[ce("cpt-fi-label",{..."top"===H.value&&{width:"100%"},..."top"!=H.value&&u.value&&"auto"!==u.value&&{width:ze.join("number",u.value,"px")}})]})),X=m((()=>"error"===N.value&&f.value&&O.value)),Z=()=>{const e=le();I.value=Array.isArray(e)?[...e]:e},ee=()=>{D.value||!E.value||(w(j),D.value=!0)},te=()=>{D.value&&(x(j),D.value=!1)},le=()=>{if(b.value&&E.value)return xl(b.value,E.value,!0).v},ae=()=>{const e=S.value,t=Y.value?[{required:!!l.required}]:[],a=E.value||"";if(!a)return t.length?t:null;const i=xl(e,a,!1),A=e?e[a]??i.v:[];return A?[].concat(A).concat(t):t.length?t:null};function ie(e,t=(()=>{})){se.c(i),M.value=!1;const l=E.value,a=(e=>{const t=ae();if(t)return t.filter((t=>!t.trigger||""===e||(Array.isArray(t.trigger)?t.trigger.includes(e):t.trigger===e))).map((e=>({...e})))})(e);if(!l||!a||0===a.length)return t(),!0;N.value="validating";const A={};a.length>0&&a.forEach((e=>{delete e.trigger})),A[l]=a;const o=new Fi(A),n={};n[l]=le(),o.validate(n,{firstFields:!0},(e=>{N.value=e?"error":"success",O.value=e?e[0].message:"";const a=e?{message:O.value,field:l}:null;t(O.value,a),B("validate",l,!e,O.value||null)}))}function Ae(){se.c(i),N.value="",O.value="",M.value=!1}function de(){if(!E.value)return;se.c(i),N.value="",O.value="";const e=le(),t=xl(b.value,E.value,!0);M.value=!0,Array.isArray(e)?t.o[t.k]=[].concat(I.value):t.o[t.k]=I.value,oe((()=>{M.value=!1}))}const ue=()=>{const e=W.value?.querySelectorAll?.("input, textarea, select, [tabindex]")||je.el("input, textarea, select, [tabindex]",!0);e?.length&&e[0].focus?.()},pe=()=>{"function"==typeof P.value&&(P.value(),P.value=null)},ge=()=>{pe();const e=ae();if(!E.value||!e||!e.length&&!Y.value)return;const t=m((()=>le()));P.value=F(t,(()=>{M.value?M.value=!1:(se.c(i),se.s(i,(()=>{ie("change")}),yg))}),{deep:!0})};return F((()=>l.error),(e=>{O.value=e,N.value=e?"error":""}),{immediate:!0}),F((()=>l.validateStatus),(e=>{N.value=e})),F((()=>E.value),((e,t)=>{if(t&&!e)return te(),void Ae();e&&!t&&ee(),e!==t&&Ae(),Z(),ge()})),F([Y,()=>l.required,S],(()=>{ge()}),{deep:!0}),fe((()=>{ee(),Z(),ge()})),tt((()=>{se.c(i),pe(),te()})),Ke("tuiFormItem",{...Le(l),size:C,validateState:N,validateMessage:O,validate:ie}),t({size:C,validateMessage:O,validateState:N,validate:ie,resetField:de,clearValidate:Ae,prop:E,$el:R}),(t,l)=>{const a=be("TuiTextTip");return r(),g("div",{class:T(["tui-form-item",`tui-fi-label-pos-${H.value}`,`tui-size-${d(C)}`,{"is-no-label":U.value&&!d(v),"is-hide-label":d(v),"is-inline":d(V),"is-error":"error"===N.value,"is-validating":d(y)&&"validating"===N.value,"is-success":d(y)&&"success"===N.value,"is-required":Q.value,"is-no-asterisk":d(o)}]),style:re(J.value),ref_key:"formItemRef",ref:R},[d(u)&&!U.value?(r(),g("div",fg,[s("label",{class:T(["tui-fi-label",`tui-label-pos-${H.value}`]),for:L.value,onClick:ue},[Q.value&&!d(o)&&"left"==d(n)?(r(),g("span",gg,"*")):q("",!0),K(t.$slots,"label",{},(()=>[ne(a,null,{default:_((()=>[Re(G(e.label),1)])),_:1})])),Q.value&&!d(o)&&"right"==d(n)?(r(),g("span",hg,"*")):q("",!0),d(p)?(r(),g("span",vg,G(d(p)),1)):q("",!0)],10,pg)])):q("",!0),s("div",mg,[s("div",{class:T(["tui-fi-content",e.contentAlign&&`is-align-${e.contentAlign}`])},[K(t.$slots,"default")],2),ne(Be,{name:"fades"},{default:_((()=>[X.value?(r(),g("div",{key:0,class:T(["tui-fi-error",{"is-inline":d(h)}])},[K(t.$slots,"error",{error:O.value},(()=>[Re(G(O.value),1)]))],2)):q("",!0)])),_:3})])],6)}}}),Vg={key:0,class:"tui-input-prefix"},wg=["type","value","placeholder","disabled","readonly","maxlength","autocomplete","min","max","step"],qg={key:2,class:"tui-length-counter"},Cg={key:4,class:"tui-input-suffix"},$g=["value","placeholder","disabled","readonly","maxlength","rows","autosize"],kg={key:0,class:"tui-length-counter"},Sg=Object.assign({name:"TuiInput"},{__name:"index",props:{type:{type:String,default:"text",validator:e=>["text","textarea","password","number"].includes(e)},size:{type:String,default:"default",validator:e=>["small","default","large"].includes(e)},rows:{type:[String,Number],default:3},autocomplete:{type:String,default:"off"},modelValue:[String,Number],maxLength:[String,Number],min:[String,Number],max:[String,Number],step:[String,Number],placeholder:String,icon:String,prefixIcon:String,suffixIcon:String,clearable:Boolean,formatter:Function,disabled:Boolean,readonly:Boolean,autosize:Boolean,precision:{type:Number,default:0},min:{type:Number,default:-100},max:{type:Number,default:Number.MAX_SAFE_INTEGER},step:{type:Number,default:1}},emits:["update:modelValue","input","change","blur","focus","clear"],setup(e,{expose:t,emit:l}){const{proxy:{$tService:{i18n:a}}}=Ue(),i=dt(),A=e,o=l,n=me("TuiForm",null),d=me("tuiFormItem",null),u=m((()=>n?.size?.value||A.size)),c=m((()=>n?.disabled?.value||A.disabled)),p=m({get:()=>A.modelValue,set:e=>o("update:modelValue",e)}),v=m((()=>A.prefixIcon||A.icon)),f=k(!1),h=m((()=>"password"===A.type?f.value?"text":"password":A.type)),y=()=>{f.value=!f.value},V=k(0),b=k(null),w=e=>{let t;if("number"==A.type){const l=Math.pow(10,A.precision);t=Math.round(e.target.value*l)/l,t<A.min?t=A.min:t>A.max&&(t=A.max)}else t=e.target.value,"text"===A.type&&A.formatter&&(t=A.formatter(t)),A.maxLength&&(t=t.slice(0,Number(A.maxLength)));p.value=t,V.value=t.length,o("input",e)},x=()=>{!i.prefix&&!i.suffix&&b.value.focus()},C=()=>{p.value="",V.value=0,b.value.focus(),o("clear")},S=k(!1),B=e=>{o("blur",e),d?.validate?.("blur"),S.value=!1},$=e=>{o("focus",e),S.value=!0},z=m((()=>A.clearable&&!c.value&&!A.readonly)),R=m((()=>A.placeholder||a("placeholder.input"))),N=m((()=>{const e=Number(A.modelValue);return!Number.isNaN(e)&&e<=A.min})),O=m((()=>{const e=Number(A.modelValue);return!Number.isNaN(e)&&e>=A.max})),M=()=>{if(c.value||O.value)return;const e=Qe.verify(A.modelValue)?A.modelValue:Number(A.modelValue),t=Math.pow(10,A.precision);let l=Math.round((e+A.step)*t)/t;l>A.max&&(l=A.max),o("update:modelValue",l),o("change",l)},I=()=>{if(c.value||N.value)return;const e=Qe.verify(A.modelValue)?A.modelValue:Number(A.modelValue),t=Math.pow(10,A.precision);let l=Math.round((e-A.step)*t)/t;l<A.min&&(l=A.min),o("update:modelValue",l),o("change",l)};return t({focus:()=>{b.value?.focus()},blur:()=>{b.value?.blur()},select:()=>{b.value?.select()},inputRef:b}),(t,l)=>{const a=be("TuiButton");return r(),g("div",{class:T(["textarea"==e.type?"tui-textarea":"tui-input","number"==e.type&&"tui-input-number",`tui-size-${u.value}`,{"is-disabled":c.value,"is-readonly":e.readonly,"is-focus":S.value},"textarea"!==e.type?{"tui-custom-prefix":t.$slots.prefix||"number"==e.type,"tui-custom-suffix":t.$slots.suffix||"number"==e.type}:""]),onClick:x},["textarea"!==e.type?(r(),g(J,{key:0},[t.$slots.prefix||v.value||"number"==e.type?(r(),g("div",Vg,["number"==e.type?(r(),Y(a,{key:0,disabled:c.value||e.readonly||N.value,onClick:I},{default:_((()=>[...l[0]||(l[0]=[s("i",{class:"tui-icon ti-angle-left"},null,-1)])])),_:1},8,["disabled"])):K(t.$slots,"prefix",{key:1},(()=>[v.value?(r(),g("i",{key:0,class:T(["tui-input-icon",v.value])},null,2)):q("",!0)]))])):q("",!0),s("input",{class:"tui-input-inner",ref_key:"inputRef",ref:b,type:h.value,value:p.value,placeholder:R.value,disabled:c.value,readonly:e.readonly,maxlength:e.maxLength,autocomplete:e.autocomplete,min:e.min,max:e.max,step:e.step,onInput:w,onBlur:B,onFocus:$},null,40,wg),z.value&&p.value?(r(),g("div",{key:1,class:"input-clearable",onClick:C},[...l[1]||(l[1]=[s("i",{class:"tui-input-icon tui-icon ti-times"},null,-1)])])):q("",!0),e.maxLength?(r(),g("div",qg,G(V.value)+"/"+G(e.maxLength),1)):q("",!0),"password"===e.type&&p.value?(r(),g("div",{key:3,class:"input-togglePass",onClick:y},[s("i",{class:T("tui-input-icon "+(f.value?"tui-icon ti-eye":"tui-icon ti-eye-off-slash"))},null,2)])):t.$slots.suffix||e.suffixIcon||"number"==e.type?(r(),g("div",Cg,["number"==e.type?(r(),Y(a,{key:0,disabled:c.value||e.readonly||O.value,onClick:M},{default:_((()=>[...l[2]||(l[2]=[s("i",{class:"tui-icon ti-angle-right"},null,-1)])])),_:1},8,["disabled"])):K(t.$slots,"suffix",{key:1},(()=>[e.suffixIcon?(r(),g("i",{key:0,class:T(["tui-input-icon",e.suffixIcon])},null,2)):q("",!0)]))])):q("",!0)],64)):(r(),g(J,{key:1},[s("textarea",{class:"tui-textarea-inner",ref_key:"inputRef",ref:b,value:p.value,placeholder:R.value,disabled:c.value,readonly:e.readonly,maxlength:e.maxLength,rows:e.rows,autosize:e.autosize,onInput:w,onBlur:B,onFocus:$},null,40,$g),e.maxLength?(r(),g("div",kg,G(V.value)+"/"+G(e.maxLength),1)):q("",!0)],64))],2)}}}),Tg=Object.assign({name:"TuiRadio"},{__name:"index",props:{modelValue:[String,Number,Boolean],defaultIcon:{type:Boolean,default:!0},separable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},appearance:{type:String,default:"simple",validator:e=>["simple","buttonPlain","button"].includes(e)},direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)},textDirection:{type:String,default:null,validator:e=>["h","v"].includes(e)},size:{type:String,default:"default",validator:e=>["default","small","large"].includes(e)},align:{type:String,default:null,validator:e=>["start","center","end"].includes(e)},options:{type:Array,default:[],validator:e=>{const{valid:t,message:l}=wt.fieldValid(e,["label"]);return t||console.warn("TuiRadio Warning! ",l),t}},tipConfig:Object,itemMaxWidth:Number,itemMinWidth:Number,itemWidth:Number,className:String},emits:["change","update:modelValue"],setup(e,{emit:t}){const l=e,a=me("TuiForm",null),i=m((()=>a?.size?.value||l.size)),A=m((()=>a?.disabled?.value||l.disabled)),o=m((()=>ce("cpt-radio",{...l.align&&{align:l.align},...l.itemMaxWidth&&{imaxw:l.itemMaxWidth+"px"},...l.itemMinWidth&&{iminw:l.itemMinWidth+"px"},...l.itemWidth&&{iw:l.itemWidth+"px"}}))),n=t;return Ke("TuiRadioG",{tipConfig:m((()=>l.tipConfig)),updateValue:e=>n("update:modelValue",e),change:e=>n("change",e),modelValue:m((()=>l.modelValue)),defaultIcon:m((()=>l.defaultIcon)),parDisabled:A}),fe((()=>{})),(t,l)=>{const a=be("TuiRadioItem");return r(),g("div",{class:T(["tui-radio",`tui-radio-${e.appearance}`,`tui-size-${i.value}`,e.className,e.direction&&`tui-dir-${e.direction}`,e.textDirection&&`tui-textDir-${e.textDirection}`,{"is-separable":e.separable}]),style:re(o.value)},[e.options.length>0?(r(!0),g(J,{key:0},ke(e.options,((e,t)=>(r(),Y(a,{value:null!=e.value&&null!=e.value?e.value:t,count:e.count,icon:e.icon,disabled:e.disabled},{default:_((()=>[Re(G(e.label),1)])),_:2},1032,["value","count","icon","disabled"])))),256)):K(t.$slots,"default",{key:1})],6)}}}),Bg={key:0,class:T("radio-icon tui-icon ti-circle")},xg={key:1,class:T("radio-icon tui-icon tis-dot-circle")},Pg=Object.assign({name:"TuiRadioItem"},{__name:"item",props:{value:{type:[String,Number,Boolean],required:!0},icon:{type:[String,Array],default:null},disabled:{type:Boolean,default:!1}},setup(e){const t=e,{tipConfig:l,change:a,updateValue:i,modelValue:A,defaultIcon:o,parDisabled:n}=me("TuiRadioG",null),s=m((()=>A.value===t.value)),u=m((()=>"array"==ze(t.icon)&&2==t.icon.length?s.value?t.icon[1]:t.icon[0]:"string"==ze(t.icon)?t.icon:void 0)),c=()=>{t.disabled||n.value||(i(t.value),a(t.value))};return(t,a)=>{const i=be("TuiTextTip");return r(),g("div",{onClick:c,class:T(["tui-radio-item",{"is-active":s.value,"is-disabled":e.disabled||d(n)}])},[!s.value&&d(o)?(r(),g("i",Bg)):d(o)?(r(),g("i",xg)):q("",!0),e.icon?(r(),g("i",{key:2,class:T(`radio-icon ${u.value}`)},null,2)):q("",!0),ne(i,st(ht(d(l))),{default:_((()=>[K(t.$slots,"default")])),_:3},16)],2)}}}),Rg={key:0,class:"tui-icon ti-check"},_l=Object.assign({name:"TuiOption"},{__name:"option",props:{value:[String,Number,Object],label:String,disabled:{type:Boolean,default:!1}},emits:["select"],setup(e,{emit:t}){const l=e,a=t,{registerItem:i,tipConfig:A,selected:o,handleSelect:n,filterText:s,filterMethod:u}=me("TuiSelect",null),c=()=>{l.disabled||(a("select",{value:l.value,label:l.label}),n({value:l.value,label:l.label}))},p=m((()=>o.value.some((e=>e.value===l.value)))),v=m((()=>!s.value||(u?u({value:l.value,label:l.label},s.value):l.label.toLowerCase().includes(s.value.toLowerCase()))));return fe((()=>{i({value:l.value,label:l.label})})),(t,l)=>{const a=be("TuiTextTip");return v.value?(r(),g("div",{key:0,class:T(["tui-select-item",{"is-disabled":e.disabled,"is-selected":p.value}]),onClick:c},[ne(a,Pe(d(A),{class:"tui-label"}),{default:_((()=>[Re(G(e.label),1)])),_:1},16),p.value?(r(),g("i",Rg)):q("",!0)],2)):q("",!0)}}}),zg=(e,t)=>ce("cpt-slt-dpd",{...e.fitInputWidth&&t&&{w:`${t}px`}}),Ig=(e,t,l,a)=>({...e.popPanelConfig||{},trigger:"click",placement:"bottom-start",offset:e.offset,disabled:t,panelClassName:l,panelStyle:a,transitionName:"dropani",closeOnClickOutside:!0,closeOnEsc:!0}),Ng={key:0,class:"tui-select-prefix"},Dg={key:1,class:"tui-select-tags"},_g={key:0,class:"tui-select-tag"},Og=["onClick"],Mg={key:0,class:"tui-select-tag"},Eg={key:2,class:"tui-select-value"},Lg={key:3,class:"tui-placeholder"},Wg={class:"dropdown-scroll-wrap"},jg=Object.assign({name:"TuiSelect"},{__name:"index",props:{size:{type:String,default:"default",validator:e=>["large","default","small"].includes(e)},multiple:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},collapseTags:{type:Boolean,default:!0},maxCollapseTags:{type:Number,default:2},filterable:{type:Boolean,default:!1},allowCreate:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!0},options:{type:Array,default:()=>[],validator:e=>{const{valid:t,message:l}=wt.fieldValid(e,["label","value"]);return t||console.warn("TuiSelect Warning! ",l),t}},modelValue:[String,Number,Array],placeholder:String,creatPlaceholder:String,icon:String,prefixIcon:String,multipleLimit:Number,filterMethod:Function,filterPlaceholder:String,offset:{type:Number,default:10},popPanelConfig:Object,tipConfig:Object},emits:["update:modelValue","change","visible-change","clear","blur","focus"],setup(e,{emit:t}){const{proxy:{$tService:{i18n:l}}}=Ue(),a=e,i=dt(),A=(e,t=[])=>(e?.length&&e.forEach((e=>{if(!e)return;if(Array.isArray(e))return void A(e,t);if(e.type===_l){const l=e.props||{};void 0!==l.value&&t.push({value:l.value,label:l.label??l.value})}const l=e.children;Array.isArray(l)&&A(l,t)})),t),o=m((()=>A(i.default?.()||[]))),n=m((()=>a.placeholder||l("placeholder.select"))),d=m((()=>a.filterPlaceholder||l("placeholder.filter"))),u=me("TuiForm",null),c=m((()=>u?.size?.value||a.size)),p=m((()=>u?.disabled?.value||a.disabled)),v=t,f=k(null),h=k(null),y=k(null),V=k(null),b=k(!1),w=k(!1),x=k(""),C=k([]),S=k(null),B=k([]),$=k(!1),z=k(0),R=m((()=>a.prefixIcon||a.icon)),N=m((()=>a.multiple?C.value.map((e=>e.label)).join(", "):C.value[0]?.label||"")),O=m((()=>zg(a,z.value))),M=m((()=>["tui-slt-popPanel",a.fitInputWidth&&"is-fitInputWidth"].filter(Boolean).join(" "))),I=m((()=>Ig(a,p.value,M.value,O.value))),P=()=>{a.fitInputWidth&&h.value&&(z.value=h.value.clientWidth)},D=async()=>{b.value=!0,v("visible-change",!0),await oe(),Q()},E=()=>{b.value=!1,x.value&&(x.value=""),v("visible-change",!1)},W=(e,t=!0)=>{if(a.multiple){const t=C.value.findIndex((t=>t.value===e.value));if(-1!==t)C.value.splice(t,1);else{if(a.multipleLimit>0&&C.value.length>=a.multipleLimit)return;C.value.push(e)}S.value=C.value.map((e=>e.value))}else C.value=[e],S.value=e.value,t&&y.value?.hide?.();t&&j("all")},j=(e="all")=>{let t;t=a.multiple?{values:S.value,items:C.value}:{value:S.value,item:C.value[0]},("update"==e||"all"==e)&&v("update:modelValue",S.value),("change"==e||"all"==e)&&v("change",t)},L=()=>{C.value=[],S.value=null,x.value="",j("all"),v("clear")},H=(e=a.modelValue)=>{const t=a.options.length>0?a.options:o.value.length>0?o.value:B.value;if(t.length)if(e&&0!=e.length)if(a.multiple||"string"!=ze(e)&&"number"!=ze(e))a.multiple&&"array"==ze(e)&&(wt.shallowEQ(Aa(e),Aa(S.value))||(C.value=[],e.forEach((e=>{t.forEach((t=>{t.value==e&&W({value:t.value,label:t.label},!1)}))}))));else{const l=t.filter((t=>t.value==e));if(!l.length)return;l[0].value!=C.value[0]?.value&&(C.value=l,S.value=l[0].value)}else C.value=[],S.value=null};F((()=>a.modelValue),(e=>{H(e)}),{immediate:!0}),F(o,(()=>{H()}));const Q=()=>{if(!V.value)return void($.value=!1);const e=V.value.querySelectorAll(".tui-select-item");$.value=e.length>0};F((()=>x.value),(async()=>{await oe(),Q(),y.value?.update?.()}),{immediate:!0});return Ke("TuiSelect",{tipConfig:m((()=>a.tipConfig)),selected:m((()=>C.value)),filterText:m((()=>x.value)),filterMethod:a.filterMethod?(e,t)=>a.filterMethod(e,t):null,handleSelect:e=>W(e),registerItem:e=>{0==B.value.filter((t=>t.value==e.value)).length&&B.value.push(e),H()}}),fe((async()=>{P(),await oe(),Q()})),Ei(Q),(t,l)=>{const a=be("TuiTextTip"),i=be("TuiInput"),A=be("TuiEmpty");return r(),g("div",{ref_key:"selectRef",ref:f,class:T(["tui-select",`tui-select-${c.value}`,{"is-disabled":p.value,"is-focus":b.value,"is-multiple":e.multiple,"is-clearable":e.clearable}])},[ne(Zt,Pe({ref_key:"popPanelRef",ref:y},I.value,{onShow:P,onShown:D,onHidden:E}),{trigger:_((()=>[s("div",{class:"tui-select-trigger",onMouseenter:l[0]||(l[0]=e=>w.value=!0),onMouseleave:l[1]||(l[1]=e=>w.value=!1),ref_key:"triggerRef",ref:h},[t.$slots.prefix||R.value?(r(),g("div",Ng,[K(t.$slots,"prefix",{},(()=>[R.value?(r(),g("i",{key:0,class:T(["tui-select-icon",R.value])},null,2)):q("",!0)]))])):q("",!0),e.multiple&&C.value.length>0?(r(),g("div",Dg,[(r(!0),g(J,null,ke(C.value,((t,l)=>(r(),g(J,{key:l},[!e.collapseTags||l<e.maxCollapseTags?(r(),g("span",_g,[ne(a,Pe({ref_for:!0},e.tipConfig,{class:"tui-label"}),{default:_((()=>[Re(G(t.label),1)])),_:2},1040),s("span",{class:"tui-remove",onClick:Xe((e=>(e=>{C.value.splice(e,1),S.value=C.value.map((e=>e.value)),j("update")})(l)),["stop"])},"✕",8,Og)])):q("",!0)],64)))),128)),e.collapseTags&&C.value.length>e.maxCollapseTags?(r(),g("span",Mg,G(C.value.length-e.maxCollapseTags)+"+ ",1)):q("",!0)])):N.value?(r(),g("div",Eg,[ne(a,st(ht(e.tipConfig)),{default:_((()=>[Re(G(N.value),1)])),_:1},16)])):(r(),g("div",Lg,G(n.value),1)),s("i",{class:T(["tui-select-clear","tui-icon","ti-times",{"is-show":N.value&&e.clearable&&!p.value&&w.value}]),onClick:Xe(L,["stop"])},null,2),l[3]||(l[3]=s("i",{class:"tui-select-arrow tui-icon ti-chevron-down"},null,-1))],544)])),default:_((()=>[s("div",{ref_key:"panelContentRef",ref:V,class:"tui-slt-dropdown-content"},[e.filterable||e.allowCreate?(r(),Y(i,{key:0,size:c.value,class:T(["tui-select-input",{"is-filterable":e.filterable,"is-allowCreate":e.allowCreate}]),icon:"tui-icon ti-filter",placeholder:d.value,clearable:"",modelValue:x.value,"onUpdate:modelValue":l[2]||(l[2]=e=>x.value=e)},null,8,["size","class","placeholder","modelValue"])):q("",!0),s("div",Wg,[K(t.$slots,"default",{},(()=>[e.options.length>0?(r(!0),g(J,{key:0},ke(e.options,((e,t)=>(r(),Y(_l,{key:t,value:e.value,label:e.label,disabled:e.disaCPT},null,8,["value","label","disabled"])))),128)):q("",!0)])),$.value?q("",!0):(r(),Y(A,{key:0,size:"small"}))])],512)])),_:3},16)],2)}}}),Gg={key:2,class:"tui-place-holder"},Fg=["disabled","multiple","size","placeholder","name","id","required","autofocus"],Hg=Object.assign({name:"TuiSelectNative"},{__name:"native",props:{modelValue:[String,Number,Array],options:{type:Array,default:()=>[]},valueKey:{type:String,default:"value"},labelKey:{type:String,default:"label"},disabledKey:{type:String,default:"disabled"},size:{type:String,default:null,validator:e=>["small","large"].includes(e)},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},required:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},placeholder:String,name:String,id:String,customClass:String,width:[String,Number],icon:String,clearable:Boolean},emits:["update:modelValue","change","focus","blur","clear"],setup(e,{expose:t,emit:l}){const a=e,i=l,A=k(null),o=m((()=>a.clearable&&!a.disabled)),n=m((()=>a.placeholder?a.placeholder:"Please Select")),d=m((()=>{if(a.multiple)return"small"===a.size?3:"large"===a.size?8:5})),u=m((()=>[ce("cpt-slt-nat",{...a.width&&{width:ze.join("number",a.width,"px")}})])),c=e=>"object"==typeof e&&null!==e?e[a.valueKey]||e.id||JSON.stringify(e):e,p=e=>"object"==typeof e&&null!==e?e[a.valueKey]:e,v=e=>"object"==typeof e&&null!==e?e[a.labelKey]||e[a.valueKey]:e,f=e=>"object"==typeof e&&null!==e&&e[a.disabledKey]||!1,h=e=>{let t;t=a.multiple?Array.from(e.target.selectedOptions).map((e=>e.value)):e.target.value,i("update:modelValue",t),i("change",t,e)},y=()=>{i("update:modelValue",null),i("clear")},V=()=>{A.value&&oe((()=>{const e=A.value,t=e.options;if(a.multiple){const e=Array.isArray(a.modelValue)?a.modelValue:[];for(let l=0;l<t.length;l++){const a=t[l];a.selected=e.includes(a.value)}}else e.value=a.modelValue||""}))};F((()=>a.modelValue),V,{immediate:!0}),F((()=>a.options),(()=>{oe(V)}),{deep:!0}),fe((()=>{V()}));const b=e=>{i("focus",e)},w=e=>{i("blur",e)};return t({focus:()=>A.value?.focus(),blur:()=>A.value?.blur(),getSelectElement:()=>A.value,syncSelectedState:V}),(t,l)=>{const a=be("TuiOptionNative");return r(),g("div",{class:T(["tui-select-native",`tui-size-${e.size}`,{"has-icon":e.icon&&!e.multiple}])},[e.icon&&!e.multiple?(r(),g("i",{key:0,class:T(["tui-prefix-icon",e.icon])},null,2)):q("",!0),o.value&&e.modelValue?(r(),g("div",{key:1,class:"input-clearable",onClick:y},[...l[0]||(l[0]=[s("i",{class:"tui-slt-icon tui-icon ti-times-circle"},null,-1)])])):q("",!0),e.modelValue||e.multiple?q("",!0):(r(),g("div",Gg,G(n.value),1)),s("select",{class:T(["tui-sn-element",e.customClass,{"is-disabled":e.disabled,"is-multiple":e.multiple}]),style:re(u.value),ref_key:"selectRef",ref:A,disabled:e.disabled,multiple:e.multiple,size:d.value,placeholder:n.value,name:e.name,id:e.id,required:e.required,autofocus:e.autofocus,onChange:h,onFocus:b,onBlur:w},[e.options&&e.options.length>0?(r(!0),g(J,{key:0},ke(e.options,(e=>(r(),Y(a,{key:c(e),value:p(e),label:v(e),disabled:f(e)},null,8,["value","label","disabled"])))),128)):K(t.$slots,"default",{key:1})],46,Fg)],2)}}}),Qg=["value","disabled","selected"],Ug=Object.assign({name:"TuiOptionNative"},{__name:"optionNative",props:{value:{type:[String,Number,Boolean],required:!0},label:[String,Number],disabled:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},customClass:String},setup(e){const t=e;me("tuiSelectContext",null);const l=m((()=>t.label||t.value));return(t,a)=>(r(),g("option",{class:T(["tui-option-native",e.customClass,{"is-disabled":e.disabled,"is-selected":e.selected}]),value:e.value,disabled:e.disabled,selected:e.selected},[K(t.$slots,"default",{},(()=>[Re(G(l.value),1)]))],10,Qg))}}),Yg={key:0,class:"tui-tp-prefix"},Kg=["value","placeholder","disabled"],Xg=["type","value","min","max","step","disabled"],Zg={class:"tui-tp-suffix"},Jg=Object.assign({name:"TuiTimePickerNative"},{__name:"native",props:{type:{type:String,default:"date",validator:e=>["date","time","datetime","month","week"].includes(e)},modelValue:[String,Date],note:String,placeholder:String,min:String,max:String,step:[String,Number],format:String,size:{type:String,default:"default",validator:e=>["small","default","large"].includes(e)},prefixIcon:String,suffixIcon:String,clearable:Boolean,disabled:Boolean,readonly:Boolean,required:Boolean},emits:["update:modelValue","change","focus","blur","input","clear"],setup(e,{expose:t,emit:l}){const{i18n:a}=me("$global",null);nt.extend(Ga),nt.extend(Hi);const i=e,A=l,o=me("TuiForm",null),n=m((()=>o?.size?.value||i.size)),d=m((()=>o?.disabled?.value||i.disabled)),u=k(null),c=m((()=>i.clearable&&!d.value&&!i.readonly)),p=m((()=>i.prefixIcon||i.icon)),v=m((()=>{if(i.suffixIcon)return i.suffixIcon;switch(i.type){case"time":return"tui-icon ti-clock";default:return"tui-icon ti-calendar"}})),f=m((()=>{if(i.format)return i.format;switch(i.type){case"date":return"YYYY-MM-DD";case"datetime":return"YYYY-MM-DD HH:mm";case"time":return"HH:MM";case"week":return null;case"month":return"YYYY-MM"}})),h={date:a("datetime.placeholder.date"),time:a("datetime.placeholder.time"),datetime:a("datetime.placeholder.datetime"),month:a("datetime.placeholder.month"),week:a("datetime.placeholder.week")},y=m((()=>i.placeholder||h[i.type]||a("placeholder.select"))),V=()=>{b.value="",A("update:modelValue",""),A("clear")},b=k(null),w=m((()=>i.modelValue?i.modelValue:"")),x=e=>{if(!e)return"";const t=nt(e);switch(i.type){case"time":return aa.formatTime(e,f.value);case"week":return aa.formatWeek(e,f.value);default:return t.format(f.value)}},C=()=>{d.value||u.value&&u.value.showPicker()},S=e=>{const t=e.target.value;b.value=t;const l=x(t);A("update:modelValue",l),A("input",t,l,e)},B=e=>{const t=e.target.value;b.value=t;const l=x(t);A("update:modelValue",l),A("change",t,l,e)};return t({focus:()=>{const e=document.querySelector(".display-input");e&&e.focus()},blur:()=>{u.value&&u.value.blur()},openPicker:()=>{C()}}),(t,l)=>(r(),g("div",{class:T(["tui-timepicker-native",`tui-type-${e.type}`,`tui-size-${n.value}`,{"is-disabled":d.value,"is-readonly":e.readonly}])},[t.$slots.prefix||p.value?(r(),g("div",Yg,[K(t.$slots,"prefix",{},(()=>[p.value?(r(),g("i",{key:0,class:T(["tui-tp-icon",p.value])},null,2)):q("",!0)]))])):q("",!0),s("input",{type:"text",value:w.value,placeholder:y.value,disabled:d.value,readonly:!0,class:T(["tui-tp-inner",{"is-disabled":d.value}]),onClick:C},null,10,Kg),s("input",{ref_key:"hiddenInput",ref:u,type:"datetime"==e.type?"datetime-local":e.type,value:b.value,min:e.min,max:e.max,step:e.step,disabled:d.value,class:"tui-tpn-hinput",onInput:S,onChange:B},null,40,Xg),c.value&&b.value?(r(),g("div",{key:1,class:"input-clearable",onClick:V},[...l[0]||(l[0]=[s("i",{class:"tui-tp-icon tui-icon ti-times"},null,-1)])])):q("",!0),s("div",Zg,[K(t.$slots,"suffix",{},(()=>[s("i",{class:T(["tui-tp-icon",v.value])},null,2)]))])],2))}}),eh=Object.assign({name:"TuiAccordion"},{__name:"index",props:{direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)},height:[Number,String],width:[Number,String],itemMinSize:{type:Number,default:40},autoplay:{type:Boolean,default:!0},duration:{type:Number,default:null},interval:{type:Number,default:3e3},initialIndex:{type:Number,default:0},contentType:{type:String,default:"default",validator:e=>["default","image"].includes(e)},trigger:{type:String,default:"hover",validator:e=>["hover","click"].includes(e)},motionBlur:{type:Boolean,default:!0},pauseOnHover:{type:Boolean,default:!0},wheelSwitch:{type:Boolean,default:!0},interceptWheel:{type:Boolean,default:!0},activeShowTitle:{type:Boolean,default:!0},typedConfig:Object,linkText:String,resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("accordion"),o=k(!1),n=k(!1),s=k(!1),u=k([]),c=k(!1),p=Ve({isMotionBlur:!1,hover:!1,clientSize:0,itemMaxSize:0,itemAveSize:0,activeIndex:Qe.isNEG0(i.initialIndex)?Number(i.initialIndex):null}),v=m((()=>u.value.map((e=>e.index)).sort(((e,t)=>e-t)))),f=m((()=>null===p.activeIndex)),h=()=>v.value.length?Qe.isNEG0(i.initialIndex)&&v.value.includes(i.initialIndex)?Number(i.initialIndex):v.value[0]:null,y=e=>{const t=Qe.isNEG0(e)?Number(e):null;t!==p.activeIndex&&(i.motionBlur&&null!==t&&(p.isMotionBlur=!0,se.c(A+"_blur"),se.s(A+"_blur",(()=>{p.isMotionBlur=!1}),200)),p.activeIndex=t)},V=e=>{if(!v.value.length||!e)return!1;const t=h(),l=null!==p.activeIndex?v.value.indexOf(p.activeIndex):-1,a=(-1===l?v.value.indexOf(t):l)+e;return!(a<0||a>=v.value.length)&&(y(v.value[a]),!0)},b=e=>{if("click"!==i.trigger||!i.wheelSwitch)return;if(c.value)return void(i.interceptWheel&&e.preventDefault());const t=Math.abs(e.deltaY)>=Math.abs(e.deltaX)?e.deltaY:e.deltaX;!t||!V(t>0?1:-1)||(c.value=!0,se.c(A+"_wheel_lock"),se.s(A+"_wheel_lock",(()=>{c.value=!1}),220),i.interceptWheel&&e.preventDefault())},q=()=>{Bt.c(A+"_tInter")},w=()=>{q(),i.autoplay&&0!==v.value.length&&((null===p.activeIndex||!v.value.includes(p.activeIndex))&&y(h()),Bt.s(A+"_tInter",(()=>{const e=v.value.indexOf(p.activeIndex);let t;t=-1===e||e===v.value.length-1?0:e+1,y(v.value[t])}),i.interval))},x=m((()=>ce("cpt-acd",{...i.width&&{width:ze.join("number",i.width,"px")},...i.height&&{height:ze.join("number",i.height,"px")},...i.duration&&{dur:i.duration+"s"},...p.itemAveSize&&!i.autoplay&&{avesize:ze.join("number",p.itemAveSize,"px")},minsize:i.itemMinSize+"px",maxsize:p.itemMaxSize+"px"}))),C=m((()=>"image"==i.contentType?"none":i.typedConfig?.appearance||"line"));Ke("TuiAcord",{direction:m((()=>i.direction)),itemMinSize:m((()=>i.itemMinSize)),autoplay:m((()=>i.autoplay)),contentType:m((()=>i.contentType)),typedConfig:m((()=>i.typedConfig)),trigger:m((()=>i.trigger)),activeShowTitle:m((()=>i.activeShowTitle)),linkText:m((()=>i.linkText)),state:p,setActiveItem:y,registerItem:e=>{const t={uid:e.uid,index:e.index},l=u.value.findIndex((e=>e.uid===t.uid));-1===l?u.value.push(t):u.value[l]=t},unregisterItem:e=>{u.value=u.value.filter((t=>t.uid!==e))},typedAppeaCPT:C,uid:A}),F((()=>i.autoplay),(e=>{e?w():q()})),F((()=>i.initialIndex),(e=>{i.autoplay?w():Qe.isNEG0(e)&&v.value.includes(e)&&y(e)})),F((()=>[i.direction,i.typedConfig?.appearance]),(()=>{S()})),F(v,(e=>{if(!e.length)return p.activeIndex=null,void q();(null===p.activeIndex||!e.includes(p.activeIndex))&&(p.activeIndex=h()),i.autoplay&&w()}),{deep:!0}),F((()=>t.value),((e,t)=>{"root"==a.value(i.resizeObserver)&&e>t&&S()}));const S=()=>{const e=i.itemMinSize,t=("line"==C.value?3:"none"==C.value&&1)||0;"h"==i.direction?p.clientSize=s.value?.clientWidth:p.clientSize=s.value?.clientHeight,p.itemMaxSize=p.clientSize-(u.value.length-1)*(e+t),p.itemAveSize=(p.clientSize-u.value.length*t)/u.value.length,p.itemMaxSize<100&&(p.itemMaxSize=100),n.value||(n.value=!0)};return fe((()=>{o.value=!0,i.autoplay&&w(),null===p.activeIndex&&!i.autoplay&&v.value.length>0&&(p.activeIndex=h())})),tt((()=>{q(),se.c(A+"_blur"),se.c(A+"_wheel_lock")})),(t,l)=>{const u=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["tui-accordion",`tui-dir-${e.direction}`,`tui-appea-${C.value}`,{"tui-motion-blur":e.motionBlur&&p.isMotionBlur,"tui-none-active":f.value}]),onMouseenter:l[0]||(l[0]=Xe((t=>e.autoplay&&(p.hover=!0,void(i.pauseOnHover&&q()))),["stop"])),onMouseleave:l[1]||(l[1]=Xe((t=>e.autoplay&&(p.hover=!1,void(i.pauseOnHover&&w()))),["stop"])),onWheel:Xe(b,["stop"]),ref_key:"acodRef",ref:s,style:re(x.value)},[K(t.$slots,"default")],38)),[[Te,o.value],[u,{callback:S,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}]])])),_:3})}}}),th={key:0,class:"tui-acoditm-main"},lh={key:0,class:"tui-acoditm-ihead"},ah={class:"tui-acoditm-icont"},nh={key:0,class:"tui-acoditm-main"},oh={class:"tui-text"},ih=["src"],Ia=260,sh=Object.assign({name:"TuiAccordionItem"},{__name:"item",props:{icon:String,title:String,image:String,hasLinkButton:Boolean,description:String,index:{type:Number,required:!0},type:{type:String,default:"default",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},typeColor:String},emits:["activated","deactivated","navigateTo"],setup(e,{emit:t}){const{i18n:l}=me("$global",null),a=e,i=t,{uid:A,trigger:o,linkText:n,activeShowTitle:u,typedAppeaCPT:c,typedConfig:p,direction:v,contentType:f,state:h,setActiveItem:y,registerItem:V,unregisterItem:b,autoplay:w}=me("TuiAcord",null),k=`accordion-item-${a.index}-${a.title||"item"}`,x=()=>{"hover"===o.value&&(se.c(A+"_hover_leave"),se.s(A+"_hover_enter",(()=>{y(a.index),i("activated")}),Ia))},C=()=>{"hover"===o.value&&(se.c(A+"_hover_enter"),!w.value&&se.s(A+"_hover_leave",(()=>{y(null),i("deactivated")}),Ia))},S=()=>{if("click"===o.value){if(!w.value&&h.activeIndex===a.index)return y(null),void i("deactivated");y(a.index),i("activated")}},B=()=>{i("navigateTo",a.index)},$=m((()=>h.activeIndex===a.index)),z=m((()=>"image"==f.value)),R=m((()=>z.value?"invert":"none"!=c.value?a.type:"default")),N=m((()=>p.value?.linePosition?p.value?.linePosition:"h"==v.value?"top":"v"==v.value?"left":void 0)),O=m((()=>({type:a.type,tone:"base",hasShadow:!1,transparent:!1,customColor:a.typeColor,...p.value,appearance:c.value})));return fe((()=>{V({uid:k,index:a.index})})),tt((()=>{se.c(A+"_hover_enter"),se.c(A+"_hover_leave"),b(k)})),(t,i)=>{const A=be("TuiTextTip"),p=be("TuiTag"),f=be("TuiButton"),m=be("TuiTyped");return r(),Y(m,Pe({class:["tui-accordion-item",`tui-dir-${d(v)}`,`tui-trigger-${d(o)}`,{"is-imgtype":z.value,"is-active":$.value,"has-head":d(u)&&!z.value}],onMouseenter:Xe(x,["stop"]),onMouseleave:Xe(C,["stop"])},O.value,{linePosition:N.value}),{default:_((()=>[ne(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:"tui-acoditm-bar",onClick:Xe(S,["stop"])},[e.icon?(r(),g("i",{key:0,class:T(["tui-acd-icon",e.icon])},null,2)):q("",!0),e.title?(r(),Y(A,{key:1,class:"tui-title"},{default:_((()=>[Re(G(e.title),1)])),_:1})):q("",!0),ne(p,{type:R.value,size:"small",customColor:"none"!=d(c)&&a.typeColor||null,class:"tui-index"},{default:_((()=>[Re(G(e.index+1),1)])),_:1},8,["type","customColor"])],512),[[Te,!$.value||"v"==d(v)&&!z.value&&d(u)]])])),_:1}),ne(Be,{name:"fade"},{default:_((()=>[z.value?q("",!0):he((r(),g("div",th,["h"==d(v)&&d(u)?(r(),g("div",lh,[e.icon?(r(),g("i",{key:0,class:T(["tui-acd-icon",e.icon])},null,2)):q("",!0),e.title?(r(),Y(A,{key:1,class:"tui-title"},{default:_((()=>[Re(G(e.title),1)])),_:1})):q("",!0),ne(p,{type:R.value,size:"small",customColor:"none"!=d(c)&&a.typeColor||null,class:"tui-index"},{default:_((()=>[Re(G(e.index+1),1)])),_:1},8,["type","customColor"])])):q("",!0),s("div",ah,[K(t.$slots,"default")])],512)),[[Te,$.value]])])),_:3}),ne(Be,{name:"fade"},{default:_((()=>[z.value?he((r(),g("div",nh,[e.hasLinkButton?(r(),Y(f,{key:0,size:"small",class:"tui-link",type:"primary",link:"",onClick:B},{default:_((()=>[s("span",oh,G(d(n)||d(l)("common.detail")),1),i[0]||(i[0]=s("i",{class:"tui-icon ti-chevron-right"},null,-1))])),_:1})):q("",!0),e.title?(r(),Y(A,{key:1,class:"tui-title"},{default:_((()=>[Re(G(e.title),1)])),_:1})):q("",!0),e.description?(r(),Y(A,{key:2,type:"default",lines:2,placement:"bottom",class:"tui-description"},{default:_((()=>[Re(G(e.description),1)])),_:1})):q("",!0)],512)),[[Te,$.value]]):q("",!0)])),_:1}),a.image&&z.value?(r(),g("img",{key:0,class:"tui-img",src:e.image},null,8,ih)):q("",!0)])),_:3},16,["class","linePosition"])}}}),rh={class:"tui-calendar"},Ah={class:"tui-ch-date-title"},uh={class:"tui-year"},dh={class:"tui-month"},ch={class:"calendar-body"},fh={class:"calendar-weekdays"},ph=["onClick"],gh={class:"date-cell-inner"},hh={class:"date-number"},vh=Object.assign({name:"TuiCalendar"},{__name:"index",props:{modelValue:{type:[Date,String],default:()=>new Date},range:{type:Array,default:()=>[]},buttons:{type:Array,default:()=>["year","month","today"]},buttonSize:{type:String,default:"default",validator:e=>["large","default","small"].includes(e)},titleAlign:{type:String,default:"left",validator:e=>["left","center","right"].includes(e)},cellAlign:{type:String,default:"left",validator:e=>["left","center"].includes(e)},todos:{type:Object,default:()=>({})},tagConfig:Object,weekStartsOn:{type:String,default:"sunday",validator:e=>["sunday","monday"].includes(e)},weekdayFormat:{type:String,default:"weekdayShort",validator:e=>["weekday","weekdayShort","weekdayMin"].includes(e)}},emits:["update:modelValue","change","select"],setup(e,{expose:t,emit:l}){const{i18n:a,$gLang:i}=me("$global",null);nt.extend(Ui),nt.extend(Qi),nt.extend(Ga);const A=e,o=m((()=>({size:"small",tone:"strong",...A.tagConfig}))),n=l,u=k(nt(A.modelValue)),c=k(nt(A.modelValue)),p=m((()=>u.value.year())),v=m((()=>u.value.month()+1)),f=m((()=>"en"!=i.value?a("datetime.timeUnits.year"):"")),h=m((()=>a("datetime.timeUnits.month"))),y=m((()=>a("datetime.action.today"))),V=m((()=>{const e=a(`datetime.${A.weekdayFormat}`)||[];return"sunday"===A.weekStartsOn?e:[...e.slice(1),e[0]]})),b=m((()=>(a("datetime.monthShort")||[])[v.value-1]||`${v.value}${h.value}`)),w=m((()=>`${p.value}${f.value}`)),x=m((()=>{const e=u.value.startOf("month");u.value.endOf("month");let t=e.day();"monday"===A.weekStartsOn&&(t=0===t?6:t-1);const l=[];let a=e.subtract(t,"day");for(let e=0;e<6;e++){const e=[];for(let t=0;t<7;t++)e.push(C(a)),a=a.add(1,"day");l.push(e)}return l[l.length-1].every((e=>"next-month"===e.type))&&l.pop(),l.flat()}));function C(e){const t=nt(),l=e.format("YYYY-MM-DD");let a="current-month";return e.isBefore(u.value.startOf("month"))?a="prev-month":e.isAfter(u.value.endOf("month"))&&(a="next-month"),{date:e.toDate(),day:e.date(),fullDate:l,dayjs:e,type:a,isSelected:e.isSame(c.value,"day"),isToday:e.isSame(t,"day"),todoCount:A.todos[l]||0}}function S(e){u.value=u.value.add(e,"year")}function B(e){u.value=u.value.add(e,"month")}function $(){const e=nt();u.value=e,z(C(e))}function z(e){c.value=e.dayjs,"current-month"!==e.type&&(u.value=e.dayjs),n("update:modelValue",e.date),n("change",e.date),n("select",e)}const R=m((()=>c.value.toDate()));function N(e,t){const l=nt(e),i=nt(t);let o,n;"monday"===A.weekStartsOn?(o=l.startOf("week").add(1,"day"),n=i.endOf("week").add(1,"day")):(o=l.startOf("week"),n=i.endOf("week"));const s=n.diff(o,"month",!0);return s>2&&console.warn(a("datetime.validation.rangeExceedsLimit")||"时间跨度不能超过两个月"),{start:o.toDate(),end:n.toDate(),isValid:s<=2}}return F((()=>A.modelValue),(e=>{if(e){const t=nt(e);c.value=t,u.value=t}}),{immediate:!0}),F((()=>A.range),(e=>{if(e&&2===e.length){const[t,l]=e;N(t,l).isValid||console.warn(a("datetime.validation.invalidRange")||"提供的日期范围无效")}})),t({selectedDay:R,pickDay:function(e){const t=nt(e);u.value=t,z(C(t))},selectDate:z,calculateValidatedDateRange:N,formatDate:function(e,t="YYYY-MM-DD"){return nt(e).format(t)},getDiff:function(e,t,l="day"){return nt(e).diff(nt(t),l)},isInRange:function(e,t,l){const a=nt(e);return a.isSameOrAfter(nt(t))&&a.isSameOrBefore(nt(l))},getMonthDates:function(e,t){const l=nt().year(e).month(t-1).startOf("month"),a=l.endOf("month"),i=[];let A=l;for(;A.isSameOrBefore(a);)i.push(A.toDate()),A=A.add(1,"day");return i},currentDateDayjs:m((()=>u.value)),selectedDateDayjs:m((()=>c.value))}),(t,l)=>{const A=be("TuiButton"),n=be("TuiButtonGroup"),u=be("TuiTag");return r(),g("div",rh,[s("div",{class:T(["tui-calendar-header",`is-align-${e.titleAlign}`,`is-lang-${d(i)}`])},[s("div",Ah,[s("span",uh,G(w.value),1),s("span",dh,G(b.value),1)]),e.buttons.length>0?(r(),Y(n,{key:0,size:e.buttonSize},{default:_((()=>[e.buttons.includes("year")?(r(),Y(A,{key:0,icon:"tui-icon ti-chevrons-left",onClick:l[0]||(l[0]=e=>S(-1)),title:d(a)("datetime.navigation.previousYear")},null,8,["title"])):q("",!0),e.buttons.includes("month")?(r(),Y(A,{key:1,icon:"tui-icon ti-chevron-left",onClick:l[1]||(l[1]=e=>B(-1)),title:d(a)("datetime.navigation.previousMonth")},null,8,["title"])):q("",!0),e.buttons.includes("today")?(r(),Y(A,{key:2,onClick:$,class:"today-btn",title:y.value},{default:_((()=>[Re(G(y.value),1)])),_:1},8,["title"])):q("",!0),e.buttons.includes("month")?(r(),Y(A,{key:3,icon:"tui-icon ti-chevron-right",onClick:l[2]||(l[2]=e=>B(1)),title:d(a)("datetime.navigation.nextMonth")},null,8,["title"])):q("",!0),e.buttons.includes("year")?(r(),Y(A,{key:4,icon:"tui-icon ti-chevrons-right",onClick:l[3]||(l[3]=e=>S(1)),title:d(a)("datetime.navigation.nextYear")},null,8,["title"])):q("",!0)])),_:1},8,["size"])):q("",!0)],2),s("div",ch,[s("div",fh,[(r(!0),g(J,null,ke(V.value,(e=>(r(),g("div",{class:"weekday",key:e},G(e),1)))),128))]),s("div",{class:T(["calendar-dates",`cell-align-${e.cellAlign}`])},[(r(!0),g(J,null,ke(x.value,(e=>(r(),g("div",{key:e.fullDate,class:T(["date-cell",{"prev-month":"prev-month"===e.type,"next-month":"next-month"===e.type,"current-month":"current-month"===e.type,"is-selected":e.isSelected,"is-today":e.isToday,"has-todo":e.todoCount>0}]),onClick:t=>z(e)},[K(t.$slots,"date-cell",{data:e},(()=>[s("div",gh,[s("span",hh,G(e.day),1),e.todoCount>0?(r(),Y(u,Pe({key:0,ref_for:!0},o.value,{type:(e.isSelected?"default":e.isToday&&"success")||e.todoCount&&"warning",size:"small"}),{default:_((()=>[Re(G(e.todoCount),1)])),_:2},1040,["type"])):q("",!0)])]))],10,ph)))),128))],2)])])}}}),mh={key:0,class:"tui-icon ti-chevron-left"},yh={key:1,class:"tui-icon ti-chevron-up"},bh={key:0,class:"tui-icon ti-chevron-right"},Vh={key:1,class:"tui-icon ti-chevron-down"},wh=["onMouseenter","onMouseleave","onClick"],qh=160,tl=400,Na=100,Ch=Object.assign({name:"TuiCarousel"},{__name:"index",props:{height:Number,borderRadius:Number,linkText:String,initialIndex:{type:Number,default:0},trigger:{type:String,default:"hover",validator:e=>["hover","click"].includes(e)},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3,validator:e=>e>=0},indicatorPosition:{type:String,default:"inside",validator:e=>["outside","inside","none"].includes(e)},indicatorHasIndex:{type:Boolean,default:!0},arrow:{type:String,default:"hover",validator:e=>["always","hover","never"].includes(e)},appearance:{type:String,default:"default",validator:e=>["default","card"].includes(e)},cardScale:{type:Number,default:.8,validator:e=>e>0&&e<=1},loop:{type:Boolean,default:!0},sequentialRolling:{type:Boolean,default:!0},direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!0},wheelRolling:{type:Boolean,default:!0},interceptWheel:{type:Boolean,default:!0},resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},emits:["change"],setup(e,{expose:t,emit:l}){const{$optResizeCounter:a,initResizeBy:i}=me("$global",null),A=i(),o=e,n=l,u=Ce("carousel"),c=k(!1),p=k(!1),v=k(null),f=k([]),h=k(!1),y=Ve({isMotionBlur:!1,clientSize:0,hover:!1,actIndex:-1,duration:400,animToken:0}),V=(e=tl)=>{y.duration=e},b=e=>{if(f.value.length<=1||e==y.actIndex)return;se.c(u+"_act"),se.c(u+"_dur"),o.motionBlur&&(y.isMotionBlur=!0,se.c(u+"_blur"),se.s(u+"_blur",(()=>{y.isMotionBlur=!1}),"card"===o.appearance?200:300));const t=e=>{if(!o.sequentialRolling||-1===y.actIndex)return V(tl),void w(e);const l=((e,t)=>{const l=f.value.length-1,a=Math.abs(e-t);if(1===a||o.loop&&(e===l&&0===t||0===e&&t===l))return t;if(o.loop){let i=e+(f.value.length-a<a?e<t?-1:1:e<t?1:-1);return i<0?l:i>l?0:i}return e<t?e+1:e-1})(y.actIndex,e),a=l===e;V(a?tl:Na),w(l),a?se.s(u+"_dur",(()=>{V(tl)}),tl):se.s(u+"_act",(()=>t(e)),Na)};t(e)},w=(e,t=null)=>{if(e=Number(e),isNaN(e)||e!==Math.floor(e))return void console.warn("[Carousel]index must be an integer.");const l=f.value.length,a=y.actIndex;y.animToken+=1,y.actIndex=e<0?o.loop?l-1:0:e>=l?o.loop?0:l-1:e,a===y.actIndex?x(a):n("change",y.actIndex,a)},x=e=>{f.value.forEach(((t,l)=>{t.translateItem(l,y.actIndex,e)}))},C=()=>{y.hover=!0,o.pauseOnHover&&B()},S=()=>{y.hover=!1,$()},B=()=>{Bt.c(u+"_tInter")},$=()=>{o.interval<=0||!o.autoplay||Bt.g(u+"_tInter")||Bt.s(u+"_tInter",(()=>{f.value.length<=1?B():y.actIndex<f.value.length-1||o.loop?R():B()}),o.interval)},z=()=>{b(y.actIndex-1)},R=()=>{b(y.actIndex+1)},N=e=>{if(!o.wheelRolling||f.value.length<=1)return;const t=(e=>Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY)(e);if(!t)return;const l=t>0,a=o.loop||y.actIndex<f.value.length-1,i=o.loop||y.actIndex>0,A=l?a:i;(o.interceptWheel?a||i:A)&&(e.cancelable&&e.preventDefault(),A&&!h.value&&(h.value=!0,se.s(u+"_wheel",(()=>{h.value=!1}),qh),l?R():z()))};F((()=>a.value),((e,t)=>{"root"==A.value(o.resizeObserver)&&e>t&&(O(),w(y.actIndex))}));const O=()=>{"h"==o.direction?y.clientSize=v.value?.clientWidth:y.clientSize=v.value?.clientHeight,p.value||(p.value=!0)},M=m((()=>ce("cpt-caro",{scale:o.cardScale,dur:y.duration/1e3+"s",...o.height&&{height:o.height+"px"},...o.borderRadius&&{bdra:o.borderRadius+"px"}}))),I=m((()=>"outside"===o.indicatorPosition||"card"===o.appearance?"outside":o.indicatorPosition));return fe((async()=>{c.value=!0,await oe(),$(),b(o.initialIndex||0)})),tt((()=>{Bt.c(u+"_tInter"),se.c(u+"_act"),se.c(u+"_wheel"),se.c(u+"_blur"),se.c(u+"_dur")})),F((()=>o.autoplay),(e=>{e?$():B()})),F((()=>[o.loop,o.appearance,o.direction,o.height,c.value]),(async()=>{B(),await oe(),O(),w(y.actIndex),$()})),F((()=>y.actIndex),((e,t)=>{x(t),Bt.g(u+"_tInter")&&(B(),$())})),Ke("TuiCaro",{state:y,direction:m((()=>o.direction)),appearance:m((()=>o.appearance)),loop:m((()=>o.loop)),cardScale:m((()=>o.cardScale)),linkText:m((()=>o.linkText)),addItem:e=>{f.value.push(e)},removeItem:e=>{const t=f.value.findIndex((t=>t.uid===e));-1!==t&&(f.value.splice(t,1),f.value.length&&y.actIndex===t&&w(0))},items:f,throttledAct:b}),t({state:y,setActiveItem:w,prev:z,next:R}),(t,l)=>{const a=be("TuiButton"),i=Ee("tui-resize");return he((r(),g("div",{class:T(["tui-carousel",`tui-appea-${e.appearance}`,`tui-dir-${e.direction}`,`tui-indic-${I.value}`]),onMouseenter:Xe(C,["stop"]),onMouseleave:Xe(S,["stop"]),onWheel:N,ref_key:"caroRef",ref:v,style:re(M.value)},[s("div",{class:T(["tui-caro-container",{"tui-motion-blur":e.motionBlur&&y.isMotionBlur}])},[ne(a,{link:"",class:T(["tui-caro-arrow","tui-caro-arrow-pre",{"is-show":"never"!=e.arrow&&("always"===e.arrow||y.hover)&&(e.loop||y.actIndex>0)}]),onClick:Xe(z,["stop"])},{default:_((()=>["h"==e.direction?(r(),g("i",mh)):(r(),g("i",yh))])),_:1},8,["class"]),ne(a,{link:"",class:T(["tui-caro-arrow","tui-caro-arrow-nxt",{"is-show":"never"!=e.arrow&&("always"===e.arrow||y.hover)&&(e.loop||y.actIndex<f.value.length-1)}]),onClick:Xe(R,["stop"])},{default:_((()=>["h"==e.direction?(r(),g("i",bh)):(r(),g("i",Vh))])),_:1},8,["class"]),K(t.$slots,"default")],2),"none"!==e.indicatorPosition?(r(),g("div",{key:0,class:T(["tui-caro-indicators",{"has-index":e.indicatorHasIndex,"is-outside":"outside"==I.value}])},[(r(!0),g(J,null,ke(f.value,((t,l)=>(r(),g("div",{key:l,class:T(["tui-caro-indic",{"is-active":l===y.actIndex}]),onMouseenter:t=>"hover"===e.trigger&&b(l),onMouseleave:t=>"hover"===e.trigger&&(se.c(u+"_act"),se.c(u+"_dur"),se.c(u+"_blur"),void(o.motionBlur&&(y.isMotionBlur=!1))),onClick:t=>"click"===e.trigger&&b(l)},[ne(a,{link:""},{default:_((()=>[e.indicatorHasIndex?(r(),g(J,{key:0},[Re(G(l+1),1)],64)):q("",!0)])),_:2},1024)],42,wh)))),128))],2)):q("",!0)],38)),[[Te,c.value],[i,{callback:O,uid:d(u),disabled:"self"!=d(A)(e.resizeObserver)&&p.value}]])}}}),$h={key:0,class:"tui-caro-item-content"},kh={class:"tui-text"},Sh=Object.assign({name:"TuiCarouselItem"},{__name:"item",props:{title:String,description:String,hasLinkButton:Boolean},emits:["navigateTo"],setup(e,{emit:t}){const{i18n:l}=me("$global",null),a=me("TuiCaro",null),{state:i,direction:A,linkText:o,appearance:n,loop:u,cardScale:c,throttledAct:p,addItem:v,removeItem:f,items:h}=a,y=k(!1),V=k(!1),b=k(!1),w=k(0);let x=null;const C=k(Symbol("carousel-item")),S=m((()=>h.value.findIndex((e=>e.uid===C.value)))),B=t,$=()=>{B("navigateTo",S.value)},z=(e,t)=>{const l=h.value.length,a=l-1,A="card"===n.value,o=i.clientSize,s=A?2.1:1;let r=A?o*(e-t)*c.value/s:o*(e-t);return u.value&&(e<t&&t-e>a/2?r=A?o*(l+e-t)*c.value/s:o*(l+e-t):e>t&&e-t>a/2&&(r=A?o*(e-l-t)*c.value/s:o*(e-l-t))),r},R=(e,t)=>{D.transform=t?`translateY(${e}px)`:`translateX(${e}px)`},N=(e,t,l)=>{const a=h.value,o="v"===A.value,s=e;if(a.length<=1)return;if(b.value&&"card"===n.value)return void O(s,t);const r=I.value;l===t||l!==s&&t!==s?r&&w.value!==i.animToken&&(b.value=!1):(b.value=!0,r?w.value=i.animToken:(x&&clearTimeout(x),x=setTimeout((()=>{b.value=!1,x=null}),i.duration))),s!==t?R(z(s,t),o):O(s,t)},O=(e,t)=>{const l="v"===A.value;R(e!==t?z(e,t):0,l)},M=m((()=>i.actIndex===h.value.findIndex((e=>e.uid===C.value)))),I=m((()=>"card"===n.value)),P=m((()=>{if(!I.value)return!1;const e=h.value,t=a.state.actIndex,l=e.findIndex((e=>e.uid===C.value));if(u.value){const a=e.length-1;if(0===t&&l===a)return!0;if(t===a&&0===l)return!0}return Math.abs(l-t)<=1})),D=Ve({transform:""}),E=e=>{I.value&&e.target===j.value&&("transform"!==e.propertyName&&"opacity"!==e.propertyName||(b.value=!1))},W=()=>{if(a&&I.value){const e=h.value.findIndex((e=>e.uid===C.value));a.throttledAct(e)}},j=k(null);return F((()=>i.animToken),(e=>{I.value&&e!==w.value&&(b.value=!1)})),fe((async()=>{v({uid:C.value,translateItem:N,$el:j.value}),await oe((()=>{h.value.forEach((e=>{e.uid===C.value&&(e.$el=j.value)}))})),y.value=!0,await oe((()=>{N(S.value,i.actIndex,i.actIndex+1)}))})),tt((()=>{x&&clearTimeout(x),f(C.value)})),(t,a)=>{const i=be("TuiButton"),A=be("TuiTextTip");return he((r(),g("div",{ref_key:"carouselItemRef",ref:j,class:T(["tui-carousel-item",{"is-active":M.value,"is-in-stage":P.value&&I.value,"is-hover":V.value,"is-animating":b.value,"is-frist":0==S.value,"is-last":S.value==d(h).length-1}]),onClick:W,style:re(D),onTransitionend:E},[I.value?(r(),g("div",{key:0,class:T(["tui-caro-mask",{"is-show":!M.value}])},null,2)):q("",!0),ne(Be,{name:"fade"},{default:_((()=>[e.title||e.description?he((r(),g("div",$h,[e.hasLinkButton?(r(),Y(i,{key:0,size:"small",class:"tui-link",type:"primary",link:"",onClick:$},{default:_((()=>[s("span",kh,G(d(o)||d(l)("common.detail")),1),a[0]||(a[0]=s("i",{class:"tui-icon ti-chevron-right"},null,-1))])),_:1})):q("",!0),e.title?(r(),Y(A,{key:1,class:"tui-title"},{default:_((()=>[Re(G(e.title),1)])),_:1})):q("",!0),e.description?(r(),Y(A,{key:2,type:"default",lines:2,placement:"bottom",class:"tui-description"},{default:_((()=>[Re(G(e.description),1)])),_:1})):q("",!0)],512)),[[Te,M.value]]):q("",!0)])),_:1}),K(t.$slots,"default")],38)),[[Te,y.value]])}}}),Th={class:"tui-dfc-inner"},Bh={class:"tui-dfc-front tui-dfc-top"},xh={class:"tui-dfc-cont"},Ph={class:"tui-dfc-back tui-dfc-bottom"},Rh={class:"tui-dfc-cont"},zh={class:"tui-dfc-cont"},Ih={class:"tui-dfc-cont"},Nh=Object.assign({name:"FlipCard"},{__name:"card",props:{digit:{type:String,required:!0},duration:{type:Number,default:300},index:{type:Number,default:0},flipMode:{type:String,default:"shortest"}},setup(e){const t=e,l=k("0"),a=k("0"),i=k(!1),A=k("down"),o=k([]),n=k(!1),d=(e,l)=>{const a=parseInt(e),i=parseInt(l);switch(t.flipMode){case"downOnly":return"down";case"shortest":return(i-a+10)%10<=(a-i+10)%10?"down":"up";case"smart":default:return 0===a&&9===i?"up":9===a&&0===i||i>a?"down":"up"}},u=e=>{const s=parseInt(l.value),r=parseInt(e);if(s===r)return;let u=[];switch(t.flipMode){case"downOnly":let e=s;for(;e!==r;)e=(e+1)%10,u.push(String(e));break;case"shortest":const t=(r-s+10)%10,l=(s-r+10)%10;if(t<=l){let e=s;for(let l=0;l<t;l++)e=(e+1)%10,u.push(String(e))}else{let e=s;for(let t=0;t<l;t++)e=(e-1+10)%10,u.push(String(e))}break;case"smart":default:if(!(Math.abs(r-s)>1)||0===s&&9===r||9===s&&0===r)u=[String(r)];else if(r>s)for(let e=s+1;e<=r;e++)u.push(String(e));else for(let e=s-1;e>=r;e--)u.push(String(e));break}o.value.length>3&&(o.value=[]),o.value.push(...u),n.value||(async()=>{if(!n.value&&0!==o.value.length){for(n.value=!0;o.value.length>0;){const e=o.value.shift(),n=d(l.value,e);await new Promise((o=>{a.value=l.value,A.value=n,i.value=!0;const s=100*t.index;setTimeout((()=>{l.value=e}),s+t.duration/2),setTimeout((()=>{i.value=!1,o()}),s+t.duration)}))}n.value=!1}})()};F((()=>t.digit),(e=>{/^\d$/.test(e)?e!==l.value&&(o.value=[],u(e)):console.warn("FlipCard should only receive digit characters (0-9)")}),{immediate:!0});const c=m((()=>ce("cpt-dflip-card",{idx:t.index})));return(e,t)=>(r(),g("div",{class:T(["tui-dflip-card",{flipping:i.value}]),style:re(c.value)},[s("div",Th,[s("div",Bh,[s("span",xh,G(l.value),1)]),s("div",Ph,[s("span",Rh,G(l.value),1)]),i.value?(r(),g(J,{key:0},[s("div",{class:T(["tui-dfc-front","tui-dfc-top",`tui-flip-top-${A.value}`])},[s("span",zh,G("down"===A.value?a.value:l.value),1)],2),s("div",{class:T(["tui-dfc-back","tui-dfc-bottom",`tui-flip-bottom-${A.value}`])},[s("span",Ih,G("down"===A.value?l.value:a.value),1)],2)],64)):q("",!0)])],6))}}),Dh={key:0,class:"tui-df-static tui-df-prefix"},_h={class:"tui-flip-digits-wrap"},Oh={key:1,class:"tui-flip-item-wrap"},Mh={key:0,class:"tui-static-sub"},Eh={key:1,class:"tui-static-nor"},Lh={key:1,class:"tui-df-static tui-df-suffix"},Wh=Object.assign({name:"TuiDigitalFlip"},{__name:"index",props:{value:{type:[String,Number],default:0,required:!0},duration:{type:Number,default:500},delay:{type:Number,default:1e3},useGrouping:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1},dropShadow:{type:Boolean,default:!1},prefix:String,suffix:String,gap:Number,customClass:String,flipMode:{type:String,default:"shortest",validator:e=>["smart","downOnly","shortest"].includes(e)},appearance:{type:String,default:"default",validator:e=>["default","reverse","custom"].includes(e)},size:{type:String,default:"default",validator:e=>["huge","large","default","small","custom"].includes(e)}},setup(e){const t=e,l=k(!1),a=k([]),i=k(!0),A=e=>e.reduce(((e,t)=>{const l=t.value||t;return Array.isArray(l)?e+l.length:e}),0),o=async e=>{const t=d(e),l=a.value,i=A(t),o=A(l);i>o?(a.value=((e,t)=>{const l=t-A(e);if(l<=0)return e;const a=e.map((e=>({...e,value:Array.isArray(e.value)?[...e.value]:e.value})));for(let e=0;e<a.length;e++)if("digits"===a[e].type){a[e].value=Array(l).fill("0").concat(a[e].value);break}return a})(l,i),await oe(),a.value=t):(i<o&&(a.value=((e,t)=>{const l=e.map((e=>({...e,value:Array.isArray(e.value)?[...e.value]:e.value})));let a=t;for(let e=0;e<l.length&&a>0;e++)if("digits"===l[e].type){const t=Math.min(l[e].value.length,a);l[e].value=[...Array(t).fill("0"),...l[e].value.slice(t)],a-=t}return l})(l,o-i)),a.value=t)},n=m((()=>(e=>{let l=e.toString();return t.useGrouping&&(l=l.replace(/^-?\d+/g,(e=>e.replace(/(?=(?!\b)(\d{3})+$)/g,",")))),l})(t.value))),d=e=>{let t=0;return e.map((e=>Array.isArray(e)?{type:"digits",id:"digits-"+t++,value:e}:{type:"symbol",id:`symbol-${e}`,value:e}))};F(n,(async(e,l)=>{e?.length!=l?.length&&(a.value=[],await oe());const A=(e=>{const t=[];let l=[];for(let a=0;a<e.length;a++){const i=e[a];/\d/.test(i)?l.push(i):(l.length>0&&(t.push([...l]),l=[]),t.push(i))}return l.length>0&&t.push([...l]),t})(e);if(i.value){const e=A.map((e=>Array.isArray(e)?Array(e.length).fill("0"):e));a.value=d(e),i.value=!1,await oe(),setTimeout((()=>{a.value=d(A)}),t.delay||0)}else o(A)}),{immediate:!0});const u=m((()=>ce("cpt-dflip",{...t.delay&&{delay:`${t.delay}ms`},...t.gap&&{gap:t.gap+"px"},dur:`${t.duration}ms`})));return fe((()=>{l.value=!0})),(t,i)=>l.value?(r(),g("div",{key:0,class:T(["tui-digital-flip",`tui-appear-${e.appearance}`,`tui-size-${e.size}`,e.customClass,{"is-bordered":e.bordered,"is-drop-shadow":e.dropShadow}]),style:re(u.value)},[e.prefix?(r(),g("div",Dh,G(e.prefix),1)):q("",!0),s("div",_h,[(r(!0),g(J,null,ke(a.value,((t,l)=>(r(),g(J,{key:t.id},["digits"===t.type?(r(),Y(Wa,{key:0,name:"slide",tag:"div",class:"tui-flip-segment"},{default:_((()=>[(r(!0),g(J,null,ke(t.value,((l,a)=>(r(),g("div",{key:`${t.id}-${t.value.length-a-1}`,class:"tui-flip-item-wrap"},[ne(Nh,{flipMode:e.flipMode,digit:l,duration:e.duration,index:a},null,8,["flipMode","digit","duration","index"])])))),128))])),_:2},1024)):(r(),g("div",Oh,["."===t.value||","===t.value?(r(),g("div",Mh,G(t.value),1)):(r(),g("div",Eh,G(t.value),1))]))],64)))),128))]),e.suffix?(r(),g("div",Lh,G(e.suffix),1)):q("",!0)],6)):q("",!0)}});function Da(e){return/^(\d|\.|,){1}$/.test(e.toString())}const jh={class:T(["tui-dr-scroll"])},Gh={class:"tui-dr-text"},Fh={__name:"scroll",props:{to:{default:"0",validator:Da},from:{default:"0",validator:Da},dislocation:{type:Boolean,default:!1},interval:{type:Number,default:500}},setup(e){const t=e,{delay:l,includeSymbols:a}=me("TuiDigitalRolling",null),i=m((()=>{const e=["0","1","2","3","4","5","6","7","8","9"];return a.value?[",",".",...e]:e})),A=k(0),o=k(1),n=k(null),u=k(0),c=m((()=>A.value/i.value.length)),p=()=>{n.value&&(A.value=n.value.clientHeight)},v=e=>{const t=i.value.findIndex((t=>e===t));u.value=t*c.value},f=()=>{const e=n.value?.parentElement;e&&(e.style.height=`${c.value}px`)};F((()=>t.to),((e,l)=>{if(t.dislocation){const t=i.value.findIndex((e=>l===e)),a=i.value.findIndex((t=>e===t));o.value=Math.abs(a-t)}else o.value=1;v(e)}),{immediate:!0});const h=m((()=>ce("cpt-drs",{trsdur:t.interval/1e3*o.value+"s",trans:`translateY(-${u.value}px)`}))),y=()=>{const e=c.value;p(),c.value!==e&&(f(),v(t.to))};return fe((async()=>{await oe(),p(),f(),v(t.from),setTimeout((()=>{v(t.to)}),l.value||1e3),n.value&&pl.o(n.value,y,0)})),Ct((()=>{n.value&&pl.d(n.value)})),(e,t)=>(r(),g("div",jh,[s("div",{ref_key:"listRef",ref:n,class:"tui-drs-list",style:re(h.value)},[(r(!0),g(J,null,ke(i.value,(e=>(r(),g("div",{class:T(["tui-digital",{"is-num":d(Qe).isDigit(e)}]),key:e},[s("span",Gh,G(e),1)],2)))),128))],4)]))}},Hh={key:0,class:"tui-dr-static tui-prefix"},Qh={key:1,class:"tui-dr-static tui-dr-sub"},Uh={key:2,class:"tui-dr-static tui-dr-symbol"},Yh={key:1,class:"tui-dr-static tui-suffix"},Kh=Object.assign({name:"TuiDigitalRolling"},{__name:"index",props:{value:{type:[String,Number],default:0,required:!0},dislocation:{type:Boolean,default:!1},interval:{type:Number,default:1e3},useGrouping:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1},dropShadow:{type:Boolean,default:!1},appearanceLayer:{type:String,default:"group",validator:e=>["item","group"].includes(e)},prefix:String,suffix:String,delay:Number,gap:Number,customClass:String,includeSymbols:{type:Boolean,default:!1},appearance:{type:String,default:"default",validator:e=>["default","reverse","custom","simple"].includes(e)},size:{type:String,default:"default",validator:e=>["huge","large","default","small","custom"].includes(e)}},setup(e){const t=e,l=k(!1),a=k([]),i=k([]);Ke("TuiDigitalRolling",{delay:m((()=>t.delay)),includeSymbols:m((()=>t.includeSymbols))});F((()=>t.value),(e=>{(e=>{let l=e+"";t.useGrouping&&(l=l.replace(/^-?\d+/g,(e=>e.replace(/(?=(?!\b)(\d{3})+$)/g,","))));const A=l.split("");i.value=a.value.concat(),a.value=A})(e)}),{immediate:!0}),F((()=>[t.appearanceLayer,t.appearance,t.size]),(e=>{l.value=!1,oe((()=>{l.value=!0}))}));const A=m((()=>ce("cpt-dr",{...t.delay&&{delay:`${t.delay}ms`},...Qe.isNEG0(t.gap)&&{gap:ze.join("number",t.gap,"px")}})));return fe((()=>{l.value=!0})),(t,i)=>l.value?(r(),Y(Wa,{key:0,class:T(["tui-digit-rolling",`tui-appear-layer-${e.appearanceLayer}`,`tui-appear-${e.appearance}`,`tui-size-${e.size}`,e.customClass,{"is-bordered":e.bordered,"is-drop-shadow":e.dropShadow}]),name:"slidey",tag:"div",style:re(A.value)},{default:_((()=>[e.prefix?(r(),g("div",Hh,G(e.prefix),1)):q("",!0),(r(!0),g(J,null,ke(a.value,((t,l)=>(r(),g(J,null,[(e.includeSymbols?/[0-9.,]/.test(t):/[0-9]/.test(t))?(r(),Y(Fh,{class:"tui-dr-item",key:"DT"+l,to:t,interval:e.interval,dislocation:e.dislocation,from:"0"},{default:_((()=>[Re(G(t),1)])),_:2},1032,["to","interval","dislocation"])):"."===t||","===t?(r(),g("div",Qh,G(t),1)):(r(),g("div",Uh,G(t),1))],64)))),256)),e.suffix?(r(),g("div",Yh,G(e.suffix),1)):q("",!0)])),_:1},8,["class","style"])):q("",!0)}}),Xh=Object.assign({name:"TuiLoaderPanel"},{__name:"index",props:{loading:{type:Boolean,default:!0},inited:{type:Boolean,default:!1},loadingOpacity:{type:Number,default:.2},zIndex:Number,size:Number,color:String,update:Boolean,mask:{type:Boolean,default:!1},maskModal:{type:Boolean,default:!0},maskColorReverse:{type:Boolean,default:!1},maskBorderRadius:Number,maskBlur:{type:String,default:"auto",validator:e=>["auto","always","none"].includes(e)},pointEvent:{type:String,default:"all",validator:e=>["none","all"].includes(e)}},setup(e){const{$globalState:t}=me("$global"),l=e;F((()=>l.inited),(e=>{!0===e&&t.value.portletCounter++}));const a=m((()=>ce("cpt-lodpan",{...Qe.isNEG0(l.loadingOpacity)&&{opa:l.loadingOpacity}})));return(e,t)=>{const i=be("TuiLoadingArea");return r(),g("div",{class:"tui-loader-panel",style:re(a.value)},[ne(i,{"model-value":l.loading,"z-index":l.zIndex,size:l.size,color:l.color,update:l.update,mask:l.mask,"mask-modal":l.maskModal,"mask-color-reverse":l.maskColorReverse,"mask-border-radius":l.maskBorderRadius,"mask-blur":l.maskBlur,"point-event":l.pointEvent},null,8,["model-value","z-index","size","color","update","mask","mask-modal","mask-color-reverse","mask-border-radius","mask-blur","point-event"]),s("div",{class:T("portlet-slot "+(l.loading?"portlet-loading":""))},[K(e.$slots,"default")],2)],4)}}}),Zh=["aria-valuenow"],Jh={class:"progress-group-pre"},ev={key:1,class:"progress-icon"},tv={key:3,class:"progress-text"},lv={key:1},av={class:"progress-group-suf"},nv={class:"progress-bar"},ov={key:0,class:"bar-innerText"},iv={key:0,class:"progress-text"},sv={key:1},rv={class:"progress-svg",viewBox:"0 0 100 100"},Av=["d","stroke-width","stroke-linecap","stroke-dasharray","stroke-dashoffset"],uv=["d","opacity","stroke-width","stroke-linecap","stroke-dasharray","stroke-dashoffset"],dv={class:"progress-info-wrap"},cv={key:0,class:"progress-icon"},fv={key:1,class:"progress-text"},pv={key:1},gv={key:2,class:"progress-label"},hv=Object.assign({name:"TuiProgress"},{__name:"index",props:{tagConfig:Object,tipConfig:Object,delay:Number,index:Number,strokeWidth:Number,duration:Number,width:Number,format:Function,indeterminate:{type:Boolean,default:!1},striped:{type:Boolean,default:!1},stripedFlow:{type:Boolean,default:!1},label:String,labelNewline:Boolean,labelSize:Number,labelWidth:Number,labelPosition:{type:String,default:"default",validator:e=>["default","newline","inside"].includes(e)},displayValue:{type:String,default:"auto",validator:e=>["auto","all"].includes(e)},icon:String,iconSize:Number,iconColor:{type:String,default:null,validator:e=>CSS.supports("color",e)},value:{type:Number,default:0,validator:e=>e>=0},maxValue:{type:Number,default:0,validator:e=>e>=0},unit:String,precision:{type:Number,default:2},valueSize:Number,showValue:{type:Boolean,default:!0},valuePosition:{type:String,default:"default",validator:e=>["default","newline","inside"].includes(e)},type:{type:String,default:"bar",validator:e=>["bar","circle","guage"].includes(e)},status:{type:String,default:null,validator:e=>["normal","success","danger","warning","emphasis","critical"].includes(e)},showStatusIcon:{type:Boolean,default:!0},strokeLinecap:{type:String,default:"round",validator:e=>["butt","round","square"].includes(e)},thresholds:{type:Object,default:null,validator(e){if(!e||"object"!=typeof e)return!1;const t=["normal","success","danger","warning","emphasis","critical"];return!!Object.keys(e).some((e=>t.includes(e)))&&Object.values(e).every((e=>"number"==typeof e&&!isNaN(e)&&e>=0))}},color:{type:String,default:null,validator:e=>CSS.supports("color",e)}},setup(e){const t=e,l=Ce("progress"),a=k(!1),i=m((()=>a.value?t.maxValue?(t.value/t.maxValue*100).toFixed(t.precision):t.value:0)),A=m((()=>{if(t.status)return t.status;if(t.thresholds){const e=Object.entries(t.thresholds).sort(((e,t)=>t[1]-e[1])),l=e.find((([e,l])=>t.value>=l));return l?l[0]:e[e.length-1]?.[0]||"normal"}})),o=k(null),n=m((()=>[ce("cpt-pgs",{...t.duration&&{dur:t.duration+"s"},...t.strokeWidth&&{stokw:t.strokeWidth+"px"},...t.labelWidth&&{labw:t.labelWidth+"px"},...t.labelSize&&{labfz:t.labelSize+"px"},...t.valueSize&&{valfz:t.valueSize+"px"},...t.iconSize&&{isize:t.iconSize+"px"},...t.width&&{width:t.width+"px"},...t.color&&{mcolor:t.color},...t.iconColor&&{icolor:t.iconColor},perct:i.value+"%"})])),d=m((()=>{switch(t.status){case"success":return"tui-icon ti-check-circle";case"warning":return"tui-icon ti-alert-circle";case"danger":return"tui-icon ti-alert-triangle"}})),u=m((()=>{const e="guage"===t.type,l=t.strokeWidth||6;if("circle"===t.type||e){const a=50-l/2,A=2*Math.PI*a,o=e?.75:1,n=-1*A*(1-o)/2+"px";return{radius:a,trailDasharray:`${A*o}px, ${A}px`,circleDasharray:`${A*o*(i.value/100)}px, ${A}px`,dashoffset:n,strokeWidth:l,strokeLinecap:t.strokeLinecap,d:`\n M 50 50\n m 0 ${e?"":"-"}${a}\n a ${a} ${a} 0 1 1 0 ${e?"-":""}${2*a}\n a ${a} ${a} 0 1 1 0 ${e?"":"-"}${2*a}\n `}}return null})),c=m((()=>t.showValue?t.format?t.format(t):t.unit&&Qe.isNEG0(t.maxValue)&&"all"==t.displayValue?`${t.value}${t.unit} ${i.value}%`:t.unit&&Qe.isNEG0(t.maxValue)?`${t.value}${t.unit}`:`${i.value}%`:""));return fe((()=>{se.s(l+"_pgsinit",(()=>{a.value=!0}),t.delay||1e3)})),(l,a)=>{const p=be("TuiTag"),v=be("TuiTextTip");return r(),g("div",{class:T(["tui-progress",[`tui-progress-${e.type}`,A.value?`is-${A.value}`:"",{"progress-without-text":!e.showValue,"progress-text-inside":"inside"==e.valuePosition,"progress-label-newline":e.labelNewline,"progress-contain-label":e.label}]]),role:"progressbar","aria-valuenow":i.value,"aria-valuemin":"0","aria-valuemax":"100",style:re(n.value)},["bar"===e.type?(r(),g(J,{key:0},[s("div",Jh,[e.index?(r(),Y(p,Pe({key:0},e.tagConfig,{size:"small"}),{default:_((()=>[Re(G(e.index),1)])),_:1},16)):q("",!0),e.icon||l.$slots.icon?(r(),g("div",ev,[K(l.$slots,"icon",{},(()=>[s("i",{class:T(e.icon)},null,2)]))])):q("",!0),e.label||l.$slots.label?(r(),g("div",{key:2,class:"progress-label",ref_key:"pgsLabelRef",ref:o},[ne(v,st(ht(t.tipConfig)),{default:_((()=>[K(l.$slots,"label",{},(()=>[Re(G(e.label),1)]))])),_:3},16)],512)):q("",!0),(e.showValue||l.$slots.default)&&"newline"==e.valuePosition?(r(),g("div",tv,[K(l.$slots,"default",{value:i.value},(()=>[e.status&&e.showStatusIcon?(r(),g("i",{key:0,class:T(d.value)},null,2)):(r(),g("span",lv,G(c.value),1))]))])):q("",!0)]),s("div",av,[s("div",nv,[s("div",{class:T(["bar-inner",{"is-indeterminate":e.indeterminate,"is-striped":e.striped,"is-stripedFlow":e.stripedFlow}])},[e.showValue&&"inside"==e.valuePosition?(r(),g("div",ov,G(c.value),1)):q("",!0)],2)]),(e.showValue||l.$slots.default)&&"default"==e.valuePosition?(r(),g("div",iv,[K(l.$slots,"default",{value:i.value},(()=>[e.status&&e.showStatusIcon?(r(),g("i",{key:0,class:T(d.value)},null,2)):(r(),g("span",sv,G(c.value),1))]))])):q("",!0)])],64)):(r(),g(J,{key:1},[(r(),g("svg",rv,[s("path",{class:"progress-circle-track",fill:"none",d:u.value.d,"stroke-width":u.value.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-dasharray":u.value.trailDasharray,"stroke-dashoffset":u.value.dashoffset},null,8,Av),s("path",{class:"progress-circle-path",fill:"none",d:u.value.d,opacity:i.value?1:0,"stroke-width":u.value.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-dasharray":u.value.circleDasharray,"stroke-dashoffset":u.value.dashoffset},null,8,uv)])),s("div",dv,[e.icon||l.$slots.icon?(r(),g("div",cv,[K(l.$slots,"icon",{},(()=>[s("i",{class:T(e.icon)},null,2)]))])):q("",!0),e.showValue||l.$slots.default?(r(),g("div",fv,[K(l.$slots,"default",{value:i.value},(()=>[e.status&&e.showStatusIcon?(r(),g("i",{key:0,class:T(d.value)},null,2)):(r(),g("span",pv,G(c.value),1))]))])):q("",!0),e.label||l.$slots.label?(r(),g("div",gv,[K(l.$slots,"label",{},(()=>[s("span",null,G(e.label),1)]))])):q("",!0)])],64))],14,Zh)}}}),vv={class:"tui-ppg-item"},mv=Object.assign({name:"TuiProgressPoolGroup"},{__name:"group",props:{gap:Number,labelWidth:Number,items:{type:Array,default:[],validator:e=>{const{valid:t,message:l}=wt.fieldValid(e,["label","value"]);return t||console.warn("TuiProgressPoolGroup Warning! ",l),t}},direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)},progressPoolConfig:Object,valueSize:{type:Number,default:16},queueInit:{type:Boolean,default:!0}},setup(e){const t=e,l=k([]),a=k(0),i=k([]),A=e=>!!t.queueInit&&e!==a.value,o=e=>{i.value.push(e),a.value<t.items.length-1&&a.value++},n=m((()=>{let e;return e="h"==t.direction?{barDirection:"v",labelPostion:"bottom",valueDirection:"v"}:{barDirection:"h",labelPostion:"left",valueDirection:"h"},{valueSize:t.valueSize,...t.progressPoolConfig,...e}})),s=m((()=>ce("cpt-pgspolg",{...t.gap&&{gap:t.gap+"px"},...t.labelWidth&&"v"==t.direction&&{labelw:t.labelWidth+"px"}})));return fe((()=>{})),Ct((()=>{})),(t,a)=>{const i=be("TuiProgressPool");return r(),g("div",{class:T(["tui-progress-pool-group",`tui-ppg-dir-${e.direction}`,{"has-label":!1}]),style:re(s.value)},[(r(!0),g(J,null,ke(e.items,((e,t)=>(r(),g("div",vv,[ne(i,Pe({ref_for:!0,ref_key:"childRefs",ref:l},{ref_for:!0},n.value,{initHold:A(t),onInited:o,label:e.label,value:e.value}),null,16,["initHold","label","value"])])))),256))],6)}}}),yv={key:0,class:"tui-pp-label"},bv={class:"tui-ilabel"},Vv={key:0,class:"tui-isubval"},wv={class:"tui-val"},qv={class:"tui-unit"},Cv=["width","height"],$v=["id","x1","y1","x2","y2"],kv=["id","gradientUnits","cx","cy","r","fx","fy"],Sv=["id"],Tv=["x","y","width","height","rx","ry"],Bv=["cx","cy","r"],xv=["x","y","rx","ry","stroke-width","stroke","width","height"],Pv=["cx","cy","r","stroke-width","stroke"],Rv=["clip-path"],zv=["stroke-width","stroke-dasharray","stroke","points"],Iv={key:1},Nv=["transform"],Dv=["d","fill"],_v=["transform"],Ov=["d","fill"],Mv={class:"tui-value"},Ev={class:"tui-unit"},Lv={key:1,class:"tui-pp-inner-label"},Wv={key:1,class:"tui-pp-subval"},jv={class:"tui-val"},Gv={class:"tui-unit"},Fv=Object.assign({name:"TuiProgressPool"},{__name:"index",props:{index:Number,width:Number,height:Number,valueSize:Number,label:{type:String,required:!0},value:{type:Number,default:0,validator:e=>e>=0},maxValue:{type:Number,default:null,validator:e=>e>=0},precision:{type:Number,default:0},shape:{type:String,default:"square",validator:e=>["square","circle"].includes(e)},colors:{type:[String,Array],default:null,validator:e=>"string"==ze(e)?CSS.supports("color",e):"array"==ze(e)&&2==e.length&&(e.length>0&&e.every((e=>CSS.supports("color",e))))},borderWidth:{type:Number,default:3},borderGap:{type:Number,default:3},borderRadius:{type:Number,default:5},fillContent:{type:String,default:"bar",validator:e=>["bar","wave"].includes(e)},gradientType:{type:String,default:"linear",validator:e=>["linear","radial"].includes(e)},gradientAni:{type:Boolean,default:!1},gradientDuration:Number,waveGap:{type:Number,default:10},waveHeight:{type:Number,default:20},waveSegments:{type:Number,default:6},waveDuration:Number,barDash:{type:Array,default:()=>[5,2]},barDirection:{type:String,default:"h",validator:e=>["h","v"].includes(e)},initHold:{type:Boolean,default:!1},aniDelay:{type:Number,default:2e3},duration:Number,valueDirection:{type:String,default:"h",validator:e=>["h","v"].includes(e)},unit:{type:String,default:""},labelPostion:{type:String,default:"top",validator:e=>["top","left","bottom","right","inner"].includes(e)},displayValue:{type:String,default:"auto",validator:e=>["none","auto","all","allReverse"].includes(e)},indeptSubValue:{type:Boolean,default:!1},status:{type:String,default:null,validator:e=>["normal","success","danger","warning","emphasis","critical"].includes(e)},thresholds:{type:Object,default:null,validator(e){if(!e||"object"!=typeof e)return!1;const t=["normal","success","danger","warning","emphasis","critical"];return!!Object.keys(e).some((e=>t.includes(e)))&&Object.values(e).every((e=>"number"==typeof e&&!isNaN(e)&&e>=0))}},resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},emits:["inited"],setup(e,{expose:t,emit:l}){const{$optResizeCounter:a,initResizeBy:i}=me("$global",null),A=i(),o=e,n=l,u=Ce("psgPool"),c=k(!1),p=k(!1),v=k(!1),f=k(null),h=k(null),y=k(null),V=Ve({width:o.width||200,height:o.height||100,parWidth:0,parHeight:0,dustSettled:!1}),b=k(0),w=k(0),x=m((()=>o.maxValue&&o.maxValue>0?o.value/o.maxValue*100:o.value)),C=k("normal"),S=m((()=>{if(V.dustSettled){if(o.status)return o.status;if(o.thresholds){const e=Object.entries(o.thresholds).sort(((e,t)=>t[1]-e[1])),t=e.find((([e,t])=>b.value>=t)),l=t?t[0]:e[e.length-1]?.[0]||"normal";return C.value=l,l}}})),B=m((()=>{let e,t,l,a,i,A;if("none"==o.displayValue)return{mainVal:e,mainUnit:t,subVal:l,subUnit:a};if(o.precision){const e=parseFloat(Number(w.value).toFixed(o.precision)),t=parseFloat(Number(b.value).toFixed(o.precision));A=V.dustSettled?e:Qe.padZero(e,o.precision),i=V.dustSettled?t:Qe.padZero(t,o.precision)}else A=Math.round(w.value),i=Math.round(b.value);return o.maxValue&&o.unit&&"auto"!=o.displayValue?"all"==o.displayValue?(e=i,t=o.unit,l=A,a="%"):"allReverse"==o.displayValue&&(l=i,a=o.unit,e=A,t="%"):o.maxValue&&o.unit?(e=i,t=o.unit):(e=A,t="%"),{mainVal:e,mainUnit:t,subVal:l,subUnit:a}})),$=m((()=>"inner"===o.labelPostion)),z=m((()=>!!o.label&&!$.value)),R=m((()=>!!o.label&&$.value)),N=m((()=>!!B.value.mainUnit)),O=m((()=>"v"===o.barDirection?"v":"h")),M=m((()=>"h"===o.barDirection?V.height-2*o.borderWidth-2*o.borderGap:V.width-2*o.borderWidth-2*o.borderGap)),I=m((()=>V.width-2*o.borderWidth-2*o.borderGap)),P=m((()=>V.height-2*o.borderWidth-2*o.borderGap)),D=m((()=>"h"===o.barDirection?{x1:"0%",y1:"0%",x2:"100%",y2:"0%"}:{x1:"0%",y1:"100%",x2:"0%",y2:"0%"})),E=m((()=>"bar"==o.fillContent?{r:Math.max(V.width,V.height)/1.5,cx:V.width/2,cy:V.height/2,fx:V.width/2,fy:V.height/2,un:"userSpaceOnUse"}:{r:"100%",cx:"50%",cy:"50%",fx:"50%",fy:"50%",un:"objectBoundingBox"})),W=m((()=>{let e=w.value/100;if(!e)return"";if("h"===o.barDirection){const t=o.borderWidth+o.borderGap,l=V.height/2;return`${t}, ${l} ${t+(V.width-2*o.borderWidth-2*o.borderGap)*e}, ${l+.001}`}{const t=V.width/2,l=V.height-o.borderWidth-o.borderGap;return`${t}, ${l} ${t+.001}, ${l-(V.height-2*o.borderWidth-2*o.borderGap)*e}`}}));let j=k(0),L=k(0);function K(e){y.value||(y.value=0==e?1:e,j.value=b.value,L.value=w.value);const t=e-y.value,l=o.duration||2e3;if(t<l){const e=(o.maxValue?o.value:x.value)-j.value,a=x.value-L.value;b.value=j.value+t/l*e,w.value=L.value+t/l*a,h.value=requestAnimationFrame(K)}else b.value=o.maxValue?o.value:x.value,w.value=x.value,V.dustSettled=!0,v.value||(v.value=!0,n("inited",o.index))}function H(){V.dustSettled=!1,cancelAnimationFrame(h.value),y.value=null,h.value=requestAnimationFrame(K)}F((()=>[o.value,o.initHold]),(()=>{o.initHold||H()})),F((()=>a.value),((e,t)=>{"root"==A.value(o.resizeObserver)&&e>t&&Q({width:null,height:null})}));const Q=({width:e,height:t})=>{o.width&&o.height&&p.value||(V.parWidth=f.value?.clientWidth||100,V.parHeight=f.value?.clientHeight||50,o.width||(V.width=V.parWidth),o.height||(V.height=V.parHeight),p.value||(p.value=!0))},U=m((()=>"string"==ze(o.colors)?{A:o.colors,B:o.colors}:"array"==ze(o.colors)?{A:o.colors[0],B:o.colors[1]}:void 0)),J=m((()=>ce("cpt-pgspol",{...o.colors&&{gad_A:U.value.A},...o.colors&&{gad_B:U.value.B},...o.valueSize&&{valsize:o.valueSize+"px"},...o.waveDuration&&{wdur:o.waveDuration+"ms"},...o.gradientDuration&&{gdur:o.gradientDuration+"ms"},adelay:o.aniDelay+"ms"}))),X=m((()=>Math.min(Math.max(w.value,0),100)/100*V.height+5)),Z=m((()=>{const e=5*V.width,t=o.waveHeight,l=e/o.waveSegments;let a=`M 0 ${t}`;for(let e=0;e<o.waveSegments;e++){const i=e*l;a+=` C ${i+.3*l} ${t}, ${i+.4*l} 0, ${i+.5*l} 0`,a+=` C ${i+.6*l} 0, ${i+.7*l} ${t}, ${i+l} ${t}`}return a+=` L ${e} ${V.height+5} L 0 ${V.height+5} Z`,a}));return fe((()=>{c.value=!0,o.value&&!o.initHold&&se.s(u+"_ti",(()=>{H()}),o.aniDelay),o.gradientAni&&o.thresholds&&console.warn("TuiProgressPool Warning! For user experience considerations, 'gradientAni' will be disabled when 'thresholds' are activated.")})),tt((()=>{})),Ct((()=>{h.value&&cancelAnimationFrame(h.value)})),t({inited:p.value&&v.value}),(t,l)=>{const a=be("TuiTextTip"),i=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["tui-progress-pool",`tui-pp-label-pos-${e.labelPostion}`,`is-${S.value||e.status||C.value}`,{"has-label":e.label}]),style:re(J.value)},[z.value?(r(),g("div",yv,[s("div",bv,[ne(a,null,{default:_((()=>[Re(G(e.label),1)])),_:1})]),B.value.subUnit&&!e.indeptSubValue?(r(),g("div",Vv,[s("span",wv,G(B.value.subVal),1),s("span",qv,G(B.value.subUnit),1)])):q("",!0)])):q("",!0),he((r(),g("div",{class:"tui-svg-wrap",ref_key:"svgWrapRef",ref:f},[V.width&&V.height&&p.value?(r(),g("svg",{key:0,class:T("tui-svg-el tui-svg-"+(e.gradientAni&&!e.thresholds?"ani":"sta")),width:V.width,height:V.height},[s("defs",null,["linear"==e.gradientType?(r(),g("linearGradient",{key:0,id:`grad_${d(u)}`,x1:D.value.x1,y1:D.value.y1,x2:D.value.x2,y2:D.value.y2},[...l[0]||(l[0]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,$v)):(r(),g("radialGradient",{key:1,id:`grad_${d(u)}`,gradientUnits:E.value.un,cx:E.value.cx,cy:E.value.cy,r:E.value.r,fx:E.value.fx,fy:E.value.fy},[...l[1]||(l[1]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,kv)),s("clipPath",{id:d(u)+"clipPathId"},["square"===e.shape?(r(),g("rect",{key:0,x:e.borderWidth+e.borderGap,y:e.borderWidth+e.borderGap,width:I.value,height:P.value,rx:e.borderRadius/2,ry:e.borderRadius/2},null,8,Tv)):"circle"===e.shape?(r(),g("circle",{key:1,cx:V.width/2,cy:V.height/2,r:Math.min(I.value,P.value)/2},null,8,Bv)):q("",!0)],8,Sv)]),"square"===e.shape?(r(),g("rect",{key:0,x:e.borderWidth/2,y:e.borderWidth/2,rx:e.borderRadius,ry:e.borderRadius,fill:"transparent","stroke-width":e.borderWidth,stroke:`url(#grad_${d(u)})`,width:V.width-e.borderWidth,height:V.height-e.borderWidth},null,8,xv)):"circle"===e.shape?(r(),g("circle",{key:1,cx:V.width/2,cy:V.height/2,r:Math.min(V.width,V.height)/2-e.borderWidth/2,fill:"transparent","stroke-width":e.borderWidth,stroke:`url(#grad_${d(u)})`},null,8,Pv)):q("",!0),s("g",{"clip-path":`url(#${d(u)+"clipPathId"})`},["bar"==e.fillContent?(r(),g("polyline",{key:0,"stroke-width":M.value,"stroke-dasharray":e.barDash.join(","),stroke:`url(#grad_${d(u)})`,points:W.value},null,8,zv)):(r(),g("g",Iv,[s("g",{transform:`translate(0, ${V.height-X.value-e.waveHeight/2})`},[s("path",{d:Z.value,fill:`url(#grad_${d(u)})`,opacity:"0.7",class:"tui-svg-wave tui-wave-A"},null,8,Dv)],8,Nv),s("g",{transform:`translate(0, ${V.height-X.value-e.waveHeight/2+e.waveGap})`},[s("path",{d:Z.value,fill:`url(#grad_${d(u)})`,opacity:"0.7",class:"tui-svg-wave tui-wave-B"},null,8,Ov)],8,_v)]))],8,Rv)],10,Cv)):q("",!0),N.value||R.value?(r(),g("div",{key:1,class:T(["tui-pp-val",{"is-label-inner":R.value,"tui-pp-inner-v":R.value&&"v"===O.value,"tui-pp-inner-h":R.value&&"h"===O.value}])},[N.value?(r(),g("div",{key:0,class:T(["tui-pp-main",`tui-val-dir-${e.valueDirection}`])},[s("span",Mv,G(B.value.mainVal),1),s("span",Ev,G(B.value.mainUnit),1)],2)):q("",!0),R.value?(r(),g("div",Lv,[ne(a,null,{default:_((()=>[Re(G(e.label),1)])),_:1})])):q("",!0)],2)):q("",!0)])),[[i,{callback:Q,uid:d(u),disabled:"self"!=d(A)(e.resizeObserver)&&p.value}]]),B.value.subUnit&&e.indeptSubValue?(r(),g("div",Wv,[s("span",jv,G(B.value.subVal),1),s("span",Gv,G(B.value.subUnit),1)])):q("",!0)],6),[[Te,c.value]])])),_:1})}}}),Hv=Object.assign({name:"TuiTimeline"},{__name:"index",props:{maxWidth:Number,maxLine:Number,direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)},timestampPlacement:{type:String,default:"bottom",validator:e=>["top","bottom"].includes(e)},options:{type:Array,default:()=>[],validator:e=>{const{valid:t,message:l}=wt.fieldValid(e,["timestamp","content"]);return t||console.warn("TuiTimeline Warning! ",l),t}},lines:{type:Number,default:2},tipConfig:Object},setup(e){const t=e,l=m((()=>ce("cpt-tl",{...t.maxWidth&&{maxWidth:t.maxWidth+"px"},...t.maxLine&&{maxLine:t.maxLine}})));return Ke("TuiTimeline",{timestampPlc:m((()=>t.timestampPlacement)),direction:m((()=>t.direction)),tipConfig:m((()=>t.tipConfig)),lines:m((()=>t.lines))}),(t,a)=>{const i=be("TuiTimelineItem");return r(),g("div",{class:T(["",["tui-timeline",`timeline-dir-${e.direction}`]]),style:re(l.value)},[e.options&&e.options.length?(r(!0),g(J,{key:0},ke(e.options,((e,t)=>(r(),Y(i,Pe({key:t},{ref_for:!0},e),{default:_((()=>[Re(G(e.content),1)])),_:2},1040)))),128)):K(t.$slots,"default",{key:1})],6)}}}),Qv={class:"tl-node-inner"},Uv={key:1,class:"tl-node-dot"},Yv={key:0,class:"tl-item-timestamp"},Kv={key:1,class:"tl-item-timestamp"},Xv=Object.assign({name:"TuiTimelineItem"},{__name:"item",props:{timestamp:String,hideTimestamp:Boolean,color:String,icon:String,hollow:Boolean,type:{type:String,default:null,validator:e=>["primary","success","warning","danger","info"].includes(e)},size:{type:String,default:"default",validator:e=>["default","large","small"].includes(e)}},setup(e){const t=e,{tipConfig:l,lines:a,timestampPlc:i,direction:A}=me("TuiTimeline",null),o=m((()=>({...l.value,lines:a.value}))),n=m((()=>ce("cpt-tli",{...t.color&&{dotc:t.color}}))),u=k(!1);return fe((()=>{u.value=!0})),(t,l)=>{const a=be("TuiTextTip");return u.value?(r(),g("div",{key:0,class:T(["tui-timeline-item",`is-${d(A)}`]),style:re(n.value)},[s("div",{class:T(["tl-item-node",`tl-node-${e.size}`,e.type&&`tl-node-${e.type}`,(e.icon||t.$slots.icon)&&"has-icon",{"is-hollow":e.hollow}])},[s("div",Qv,[K(t.$slots,"dot",{},(()=>[e.icon?(r(),g("i",{key:0,class:T(`tl-node-icon ${e.icon}`)},null,2)):(r(),g("div",Uv))]))])],2),s("div",{class:T(["tl-item-content",`tl-time-plc-${d(i)}`])},[e.hideTimestamp||"top"!==d(i)?q("",!0):(r(),g("div",Yv,G(e.timestamp),1)),ne(a,Pe({class:"tl-item-text"},o.value),{default:_((()=>[K(t.$slots,"default")])),_:3},16),e.hideTimestamp||"bottom"!==d(i)?q("",!0):(r(),g("div",Kv,G(e.timestamp),1))],2)],6)):q("",!0)}}}),Zv={key:0,class:"pre-data-wrap"},Jv={class:"main-data-wrap"},em={key:1,class:"suf-data-wrap"},tm={key:0,class:"tui-icon ti-chevron-left"},lm={key:1,class:"tui-icon ti-chevron-up"},am={key:0,class:"tui-icon tis-play"},nm={key:1,class:"tui-icon tis-pause"},om={key:0,class:"tui-icon ti-chevron-right"},im={key:1,class:"tui-icon ti-chevron-down"},sm={key:0,class:"tui-con-indicators"},rm=["onClick","onMouseenter"],Am={key:0,class:"tui-icon tis-play"},um={key:1,class:"tui-icon tis-pause"},dm={key:1,class:"tui-debug-wrap"},cm={class:"debug-item"},fm={class:"debug-item"},pm={class:"debug-item"},gm={class:"debug-item"},hm={class:"debug-item"},vm={class:"debug-item"},mm={class:"debug-item"},ym=500,bm=200,Vm=6e3,wm=3e3,qm=500,Cm=160,$m=Object.assign({name:"TuiRolling"},{__name:"index",props:{oddBackground:String,evenBackground:String,initIndex:Number,interval:Number,visibleLength:{type:Number,default:4},duration:{type:Number,default:null},hoverPause:{type:Boolean,default:!0},debug:{type:Boolean,default:!1},fillData:{type:Boolean,default:!0},delay:{type:Number,default:1e3},showControl:{type:Boolean,default:!0},seamless:{type:Boolean,default:!0},autoRolling:{type:Boolean,default:!0},wheelRolling:{type:Boolean,default:!0},interceptWheel:{type:Boolean,default:!1},slotObserver:{type:Boolean,default:!0},controlAlign:{type:String,default:"center",validator:e=>["start","end","center"].includes(e)},controlType:{type:String,default:null,validator:e=>["arrow","indicator"].includes(e)},controlDirection:{type:String,default:"v",validator:e=>["v","h","vr","hr"].includes(e)},trigger:{type:String,default:"click",validator:e=>["click","hover"].includes(e)},indicatorHasToggle:Boolean,direction:{type:String,default:"up",validator:e=>["up","down","left","right"].includes(e)},mode:{type:String,default:"item",validator:e=>["item","page"].includes(e)},motionBlur:{type:Boolean,default:!0},resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},emits:["start","rolling","update"],setup(e,{expose:t,emit:l}){const{$optResizeCounter:a,initResizeBy:i}=me("$global",null),A=i(),o=dt(),n=e,u=l,c=m((()=>"up"==n.direction||"down"==n.direction?"v":"left"==n.direction||"right"==n.direction?"h":void 0)),p=m((()=>n.duration?n.duration:"page"==n.mode?ym:bm)),v=Ce("roll"),f=Ve({rollWrapSize:0,rollInnerSzie:0,rollItemSzie:0,curRollCalc:0,maxRollCalc:0,curRoll:0,maxRoll:0,itemsLen:0,pageLen:0,disabelPrev:!1,disabelNext:!1,disableRolling:!0}),h=k(null),y=k(null),V=k(null),b=k(!1),w=k(!1),x=k(!1),C=k(!1),S=k(!0),B=k([]),$=k(!1),z=m((()=>n.seamless&&B.value.length?"item"==n.mode?B.value.slice(-n.visibleLength):B.value.slice(-(f.itemsLen%n.visibleLength||n.visibleLength)):[])),R=m((()=>{if(!n.seamless||!B.value.length)return[];if(f.disableRolling){let e=[];if(n.fillData){const t=n.visibleLength-B.value.length;for(;e.length<t;){const l=t-e.length,a=Math.min(B.value.length,l);for(let t=0;t<a;t++){const l=B.value[t];e.push(l)}}}return e}return B.value.slice(0,n.visibleLength)})),N=m((()=>n.interval||("page"===n.mode?Vm:wm))),O=()=>{f.disableRolling||se.s(v+"_auto",(()=>{!S.value&&!C.value&&("up"==n.direction||"left"==n.direction?j(!0):L(!0),O())}),N.value)},M=()=>{f.disableRolling||(n.seamless&&("item"==n.mode?f.curRollCalc>=f.maxRollCalc?f.curRollCalc=n.visibleLength:0==f.curRollCalc&&(f.curRollCalc=f.itemsLen):f.curRollCalc>=f.maxRollCalc?f.curRollCalc=1:0==f.curRollCalc&&(f.curRollCalc=f.maxRollCalc-1)),w.value=!1,I(),u("update",{...ut.dpc(f),isTransing:w.value,wheelLock:$.value},"RollingTransitionEnd",""))},I=()=>{ep({state:f,seamless:n.seamless})},P=()=>{S.value=!S.value,S.value||O()},D=()=>{S.value=!1,O()},E=()=>{S.value=!0},W=(e,t=!1)=>{if(!n.seamless||!w.value)return!1;let l=!1;return"item"==n.mode?("next"===e&&f.curRollCalc>=f.maxRollCalc&&(f.curRollCalc=n.visibleLength,l=!0),"prev"===e&&0===f.curRollCalc&&(f.curRollCalc=f.itemsLen,l=!0)):("next"===e&&f.curRollCalc>=f.maxRollCalc&&(f.curRollCalc=1,l=!0),"prev"===e&&0===f.curRollCalc&&(f.curRollCalc=f.maxRollCalc-1,l=!0)),!!l&&(w.value=!1,requestAnimationFrame((()=>{"next"===e?j(t):L(t)})),!0)},j=e=>{if(f.disableRolling||w.value||W("next",e))return;const t=tp({curRollCalc:f.curRollCalc,maxRollCalc:f.maxRollCalc,seamless:n.seamless,auto:e});t!==f.curRollCalc?(w.value=!0,f.curRollCalc=t,u("rolling",f.curRollCalc)):w.value=!1},L=e=>{if(f.disableRolling||w.value||W("prev",e))return;const t=lp({curRollCalc:f.curRollCalc,maxRollCalc:f.maxRollCalc,seamless:n.seamless,auto:e});t!==f.curRollCalc?(w.value=!0,f.curRollCalc=t,u("rolling",f.curRollCalc)):w.value=!1},H=()=>{n.hoverPause&&!S.value&&(C.value=!0)},Q=()=>{n.hoverPause&&!S.value&&(C.value=!1,O())},U=(e,t={})=>{n.debug&&console.info("[rolling:wheel]",{stage:e,direction:n.direction,seamless:n.seamless,wheelRolling:n.wheelRolling,interceptWheel:n.interceptWheel,curRoll:f.curRoll,curRollCalc:f.curRollCalc,maxRoll:f.maxRoll,maxRollCalc:f.maxRollCalc,disabelPrev:f.disabelPrev,disabelNext:f.disabelNext,disableRolling:f.disableRolling,isTransing:w.value,wheelLock:$.value,...t})},X=e=>{if(!n.wheelRolling||f.disableRolling)return void U("blocked:disabled",{reason:n.wheelRolling?"disableRolling=true":"wheelRolling=false"});const t=(e=>Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY)(e);if(!t)return void U("blocked:no-delta");const l="up"==n.direction||"left"==n.direction?t>0:t<0,a=n.seamless||!f.disabelNext,i=n.seamless||!f.disabelPrev,A=l?a:i,o=n.interceptWheel?a||i:A;if(U("evaluate",{delta:t,willGoNext:l,canScrollForward:a,canScrollBackward:i,canScrollCurrentDirection:A,shouldIntercept:o}),o)if(e.cancelable&&e.preventDefault(),!A||w.value||$.value){const e=A?w.value?"isTransing=true":"wheelLock=true":"canScrollCurrentDirection=false";U("blocked:after-intercept",{reason:e})}else $.value=!0,U("trigger",{willGoNext:l}),se.s(v+"_wheel",(()=>{$.value=!1,U("unlock")}),Cm),l?j(!1):L(!1);else U("pass-parent",{reason:"shouldIntercept=false"})},Z=m((()=>ce("cpt-roll",{transform:Zf({orient:c.value,mode:n.mode,curRollCalc:f.curRollCalc,rollItemSize:f.rollItemSzie,rollWrapSize:f.rollWrapSize}),transition:w.value?`transform ${p.value}ms`:"none",itemSize:f.rollItemSzie+"px",...f.rollWrapSize&&{wrapSize:f.rollWrapSize+"px"},...f.rollInnerSzie&&{contSize:f.rollInnerSzie+"px"},...n.oddBackground&&{oddBGC:n.oddBackground},...n.evenBackground&&{evenBGC:n.evenBackground}})));F((()=>n.mode),(e=>{ee("modeChange")})),F((()=>n.autoRolling),(e=>{e&&!f.disableRolling?D():E()})),F((()=>n.seamless),(e=>{ee("seamlessChange")})),F((()=>n.visibleLength),(e=>{le(),ee("rollingIOR")})),F((()=>n.initIndex),(e=>{ie(e,!0)})),F((()=>f.curRollCalc),(e=>{const{mode:t,seamless:l,visibleLength:a}=n,{curRollCalc:i,maxRollCalc:A,maxRoll:o,itemsLen:s}=f;let r;r="page"==t&&l?0==i?o-1:i>=A?0:i-1:i,f.curRoll=r})),F((()=>f.curRoll),(e=>{w.value&&n.motionBlur&&(x.value=!0,setTimeout((()=>{x.value=!1}),"item"===n.mode?150:400))}));const ee=async(e=null)=>{if(!y.value||!n.visibleLength)return;f.rollWrapSize=np({orient:c.value,element:y.value});const t=op({disableRolling:f.disableRolling,mode:n.mode,seamless:n.seamless,visibleLength:n.visibleLength,itemsLen:f.itemsLen,rollWrapSize:f.rollWrapSize,key:e});f.rollItemSzie=t.rollItemSzie,f.rollInnerSzie=t.rollInnerSzie,f.maxRollCalc=t.maxRollCalc,f.maxRoll=t.maxRoll,f.pageLen=t.pageLen,t.resetTransing&&(w.value=!1),null!==t.curRollCalc&&(f.curRollCalc=t.curRollCalc),await oe(),"add"==e?(ie("last",!0),O()):"rem"==e?(Qe.isNEG0(n.initIndex)?ie(n.initIndex,!0):ie("last",!0),O()):Qe.isNEG0(n.initIndex)?(ie(n.initIndex,!0),O()):"modeChange"==e&&ie("frist",!0),f.curRollCalc>f.maxRollCalc&&ie("last",!0),await oe(),I(),b.value||(b.value=!0),u("update",{...ut.dpc(f),isTransing:w.value,wheelLock:$.value},"RollingInitParams",e)},te=()=>{const e=o.default?.()||[];let t=Ut(e);B.value=t,f.itemsLen=B.value.length,le()},le=()=>{Jf({state:f,visibleLength:n.visibleLength})};Ol((()=>{if(!n.slotObserver)return;const e=o.default?.()||[];let t=Ut(e);t.length>f.itemsLen?(te(),ee("add")):t.length<f.itemsLen&&(te(),ee("rem"))})),F((()=>a.value),((e,t)=>{"root"==A.value(n.resizeObserver)&&e>t&&ae()}));const ae=()=>{ee("rollingIOR")};fe((()=>{te(),(!n.resizeObserver||"none"==n.resizeObserver)&&ee("rollingInit"),n.autoRolling&&se.s(v+"_init",(()=>{S.value=!1,u("start"),O()}),n.delay)})),tt((()=>{se.c(v+"_auto"),se.c(v+"_init"),se.c(v+"_wheel")}));const ie=(e,t=!1)=>{if(f.disableRolling||w.value)return;const l=ap({index:e,mode:n.mode,seamless:n.seamless,visibleLength:n.visibleLength,maxRollCalc:f.maxRollCalc});if(null!==l){if(l===f.curRollCalc)return void(w.value=!1);w.value=!t,f.curRollCalc=l}},Ae=e=>{"hover"==n.trigger&&se.c(v+"_hov")};return t({toggle:P,next:j,prev:L,play:D,stop:E,isStop:S,getInfo:()=>Xf({state:f,direction:n.direction,mode:n.mode,seamless:n.seamless,autoRolling:n.autoRolling,visibleLength:n.visibleLength,controlType:n.controlType,controlDirection:n.controlDirection,controlAlign:n.controlAlign,hoverPause:n.hoverPause,wheelRolling:n.wheelRolling,interceptWheel:n.interceptWheel,interval:N.value,duration:p.value,inited:b.value,isStop:S.value,isPaused:C.value,isTransing:w.value,isMotionBlur:x.value,wheelLock:$.value}),goTo:ie,clonedItems:te,forceUpdate:e=>{te(),ee(e||"fupdate")}}),(t,l)=>{const a=be("TuiButton"),i=Ee("tui-resize");return r(),g("div",{class:T(["tui-rolling",`tui-roll-dir-${e.controlDirection}`,{"tui-rolling-disabled":f.disableRolling,"tui-initing":!b.value}]),ref_key:"containerRef",ref:h,onMouseenter:H,onMouseleave:Q,onWheel:X},[he((r(),g("div",{class:"tui-rolling-wrap",ref_key:"rollWrapRef",ref:y},[s("div",{class:T(["tui-rolling-inner",`tui-orient-${c.value}`,`tui-mode-${e.mode}`,{"is-seamless":e.seamless,"is-motion-blur":e.motionBlur&&x.value}]),style:re(Z.value),onTransitionend:Xe(M,["self"]),ref_key:"rollInnerRef",ref:V},[b.value?(r(),g(J,{key:0},[f.disableRolling?(r(),g(J,{key:1},[K(t.$slots,"default"),(r(!0),g(J,null,ke(R.value,((e,t)=>(r(),Y(it(e),{key:t})))),128))],64)):(r(),g(J,{key:0},["item"==e.mode?(r(),g(J,{key:0},[(r(!0),g(J,null,ke(z.value,((e,t)=>(r(),Y(it(e),{key:t})))),128)),K(t.$slots,"default"),"item"==e.mode?(r(!0),g(J,{key:0},ke(R.value,((e,t)=>(r(),Y(it(e),{key:t})))),128)):q("",!0)],64)):q("",!0),"page"==e.mode?(r(),g(J,{key:1},[e.seamless?(r(),g("div",Zv,[(r(!0),g(J,null,ke(z.value,((e,t)=>(r(),Y(it(e),{key:t})))),128))])):q("",!0),s("div",Jv,[K(t.$slots,"default")]),e.seamless?(r(),g("div",em,[(r(!0),g(J,null,ke(R.value,((e,t)=>(r(),Y(it(e),{key:t})))),128))])):q("",!0)],64)):q("",!0)],64))],64)):q("",!0)],38)])),[[i,{callback:ae,uid:d(v),disabled:"self"!=d(A)(e.resizeObserver)&&b.value}]]),e.showControl?(r(),g("div",{key:0,class:T(["tui-rolling-controls",`tui-align-${e.controlAlign}`])},["item"==e.mode||"arrow"==e.controlType?(r(),g(J,{key:0},[ne(a,{link:"",disabled:f.disableRolling||f.disabelPrev,onClick:l[0]||(l[0]=e=>L())},{default:_((()=>["v"==e.controlDirection||"vr"==e.controlDirection?(r(),g("i",tm)):(r(),g("i",lm))])),_:1},8,["disabled"]),ne(a,{link:"",disabled:f.disableRolling,onClick:P},{default:_((()=>[S.value?(r(),g("i",am)):(r(),g("i",nm))])),_:1},8,["disabled"]),ne(a,{link:"",disabled:f.disableRolling||f.disabelNext,onClick:l[1]||(l[1]=e=>j())},{default:_((()=>["v"==e.controlDirection||"vr"==e.controlDirection?(r(),g("i",om)):(r(),g("i",im))])),_:1},8,["disabled"])],64)):(r(),g(J,{key:1},[f.maxRoll>1?(r(),g("div",sm,[(r(!0),g(J,null,ke(f.maxRoll,((e,t)=>(r(),g("div",{class:T(["tui-con-indicator",{"is-active":t==f.curRoll}]),onClick:e=>(e=>{"click"==n.trigger&&ie(e+1,!1)})(t),onMouseenter:e=>(e=>{"hover"==n.trigger&&se.s(v+"_hov",(()=>{ie(e+1,!1)}),qm)})(t),onMouseleave:Ae},null,42,rm)))),256))])):q("",!0),e.indicatorHasToggle?(r(),Y(a,{key:1,link:"",disabled:f.disableRolling,onClick:P},{default:_((()=>[S.value?(r(),g("i",Am)):(r(),g("i",um))])),_:1},8,["disabled"])):q("",!0)],64))],2)):q("",!0),e.debug?(r(),g("div",dm,[s("div",cm,"curRoll:"+G(f.curRoll),1),s("div",fm,"curRollCalc:"+G(f.curRollCalc),1),s("div",pm,"maxRoll:"+G(f.maxRoll),1),s("div",gm,"maxRollCalc:"+G(f.maxRollCalc),1),s("div",hm,"itemsLen:"+G(f.itemsLen),1),s("div",vm,"pageLen:"+G(f.pageLen),1),s("div",mm,"visibleLength:"+G(e.visibleLength),1)])):q("",!0)],34)}}}),km={class:"tui-rolling-item"},Sm=Object.assign({name:"TuiRollingItem"},{__name:"item",props:{},setup:e=>(e,t)=>(r(),g("div",km,[K(e.$slots,"default")]))}),Tm=e=>({debug:e.debug,visibleLength:e.visibleLength,showControl:e.showControl,seamless:e.seamless,interval:e.interval,motionBlur:e.motionBlur,duration:e.duration,delay:e.delay,mode:"item",autoRolling:!0,initIndex:null,resizeObserver:e.resizeObserver,slotObserver:!0,fillData:!1,controlDirection:1===e.visibleLength&&1===e.itemLines?"v":"h"}),Bm=({state:e,info:t})=>{for(const l in t)e[l]=t[l];e.rollInnerSize=t.rollInnerSzie,e.rollItemSize=t.rollItemSzie,e.rollOuterSize=t.rollOuterSize,e.disablePrev=t.disabelPrev,e.disableNext=t.disabelNext},xm=e=>{const t=Ut(e);return(Array.isArray(t)?t:t?[t]:[]).map((e=>e?.props||{}))},Pm=Object.assign({name:"TuiRollingNotification"},{__name:"index",props:{lineHeight:Number,interval:Number,visibleLength:{type:Number,default:1,validator:e=>e>0},itemLines:{type:Number,default:1,validator:e=>e>0},showControl:{type:Boolean,default:!0},seamless:{type:Boolean,default:!0},duration:{type:Number,default:200},delay:{type:Number,default:1e3},debug:{type:Boolean,default:!1},transparent:{type:Boolean,default:!1},backgroundBlur:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!0},tone:{type:String,default:"base",validator:e=>["extremeInvert","strongInvert","strong","base","weak"].includes(e)},appearance:{type:String,default:"background"},hasShadow:{type:Boolean,default:!0},shadowColor:{type:String,default:"match"},tagConfig:Object,tipConfig:Object,resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},emits:["start","rolling"],setup(e,{expose:t,emit:l}){const a=dt(),i=e,A=l,o=k(!1),n=k(null),s=Ve({rollWrapSize:0,rollInnerSzie:0,rollItemSzie:0,curRollCalc:0,maxRollCalc:0,itemsLen:0,pageLen:0,disabelPrev:!1,disabelNext:!1,disableRolling:!1,lastActTabIdx:0,rollUpdateParams:null,rollInnerSize:0,rollItemSize:0,rollOuterSize:0,disablePrev:!1,disableNext:!1}),d=m((()=>Tm(i))),u=m((()=>xm(a.default?.()||[]))),c=m((()=>1===i.visibleLength)),p=m((()=>1===i.itemLines)),g=m((()=>c.value&&u.value[s.curRoll]?.type||"default")),v=m((()=>({appearance:i.appearance,hasShadow:i.hasShadow,shadowColor:i.shadowColor,type:["default","invert","primary","success","warning","danger","info","emphasis"].includes(g.value)?g.value:null,tone:i.tone,transparent:i.transparent,backgroundBlur:i.backgroundBlur}))),f=m((()=>ce("cpt-rollnoti",{...i.lineHeight&&{lineHeight:i.lineHeight+"px"},outerHeight:i.visibleLength*i.itemLines*(i.lineHeight||30)+10*i.visibleLength+"px"})));Ke("TuiRollNoti",{tagConfig:m((()=>i.tagConfig)),tipConfig:m((()=>i.tipConfig)),itemLines:m((()=>i.itemLines)),item1Mod:c,line1Mod:p});const h=(e,t,l)=>{Bm({state:s,info:e}),i.debug&&console.info("update",{...e,isTransing:e.isTransing,wheelLock:e.wheelLock},t,l)};return t({state:s,next:(...e)=>n.value?.next?.(...e),prev:(...e)=>n.value?.prev?.(...e),getInfo:(...e)=>n.value?.getInfo?.(...e),forceUpdate:(...e)=>n.value?.forceUpdate?.(...e)}),fe((()=>{o.value=!0})),(e,t)=>{const l=be("TuiRolling"),a=be("TuiTyped");return r(),Y(a,Pe(v.value,{class:["tui-roll-noti",{"tui-roll-iOne":c.value,"tui-roll-lOne":p.value}],style:f.value}),{default:_((()=>[o.value?(r(),Y(l,Pe({key:0},d.value,{ref_key:"rollElemRef",ref:n,onUpdate:h,onStart:t[0]||(t[0]=e=>A("start",e)),onRolling:t[1]||(t[1]=e=>A("rolling",e))}),{default:_((()=>[K(e.$slots,"default")])),_:3},16)):q("",!0)])),_:3},16,["class","style"])}}}),Rm={class:"tui-roll-label"},zm=Object.assign({name:"TuiRollingNotificationItem"},{__name:"item",props:{index:Number,icon:{type:String,default:"tui-icon ti-bell"},type:{type:String,default:"default",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)}},emits:["remove"],setup(e,{emit:t}){const{proxy:l,uid:a}=Ue(),{tipConfig:i,tagConfig:A,line1Mod:o,item1Mod:n,itemLines:u}=me("TuiRollNoti",null),c=m((()=>({...i.value,lines:u.value||1})));return St((()=>{})),(t,l)=>{const a=be("TuiTag"),i=be("TuiTextTip"),o=be("TuiRollingItem");return r(),Y(o,{class:T(["tui-roll-noti-item",!d(n)&&`tui-type-${e.type}`])},{default:_((()=>[d(Qe).isNEG0(e.index)?(r(),Y(a,Pe({key:0},d(A),{size:"small",type:e.type}),{default:_((()=>[Re(G(e.index+1),1)])),_:1},16,["type"])):q("",!0),e.icon?(r(),g("i",{key:1,class:T(["tui-roll-icon",e.icon])},null,2)):q("",!0),s("div",Rm,[ne(i,st(ht(c.value)),{default:_((()=>[K(t.$slots,"default")])),_:3},16)])])),_:3},8,["class"])}}}),Im=()=>({debug:!1,motionBlur:!0,visibleLength:1,showControl:!0,seamless:!0,interval:void 0,mode:"item",duration:null,delay:1e3,autoRolling:!0,initIndex:null,resizeObserver:"global",slotObserver:!0,fillData:!1,controlDirection:"v"}),Nm=(e,t)=>{e.debug=t.debug,e.motionBlur=t.motionBlur,e.visibleLength=t.visibleLength,e.showControl=t.showControl,e.seamless=t.seamless,e.interval=t.interval,e.mode=t.mode,e.duration=t.duration,e.delay=t.delay,e.autoRolling=t.autoRolling,e.resizeObserver=t.resizeObserver},Dm=(e,t)=>{for(const l in t)e[l]=t[l];e.rollInnerSize=t.rollInnerSize??t.rollInnerSzie??e.rollInnerSize,e.rollItemSize=t.rollItemSize??t.rollItemSzie??e.rollItemSize,e.rollOuterSize=t.rollOuterSize??e.rollOuterSize,e.disablePrev=t.disablePrev??t.disabelPrev??e.disablePrev,e.disableNext=t.disableNext??t.disabelNext??e.disableNext},_m=Object.assign({name:"TuiRollingProgress"},{__name:"index",props:{interval:Number,visibleLength:{type:Number,default:1,validator:e=>e>0},mode:{type:String,default:"item",validator:e=>["page","item"].includes(e)},showControl:{type:Boolean,default:!0},seamless:{type:Boolean,default:!0},duration:{type:Number,default:null},delay:{type:Number,default:1e3},debug:{type:Boolean,default:!1},autoRolling:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!0},hasIndex:{type:Boolean,default:!1},showRankings:{type:Boolean,default:!1},tipConfig:Object,tagConfig:Object,progressConfig:Object,resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},emits:["start","rolling"],setup(e,{expose:t,emit:l}){const a=e,i=k(!1),A=k(null),o=Ve({rollWrapSize:0,rollInnerSzie:0,rollItemSzie:0,rollInnerSize:0,rollItemSize:0,curRollCalc:0,maxRollCalc:0,itemsLen:0,pageLen:0,disabelPrev:!1,disabelNext:!1,disablePrev:!1,disableNext:!1,disableRolling:!1,rollOuterSize:0,lastActTabIdx:0,rollUpdateParams:null}),n=Ve({debug:!1,motionBlur:!0,visibleLength:1,showControl:!0,seamless:!0,interval:void 0,mode:"item",duration:null,delay:1e3,autoRolling:!0,initIndex:null,resizeObserver:"global",slotObserver:!0,fillData:!1,controlDirection:"v"}),s=k(!1),d=k(0);Ke("TuiRollProgr",{hasIndex:m((()=>a.hasIndex)),showRankings:m((()=>a.showRankings)),progressConfig:a.progressConfig,tagConfig:a.tagConfig,tipConfig:a.tipConfig,maxValue:d,sendValue:function(e){d.value=Qe.max(e,d.value)}});const u=(e,t,l)=>{Dm(o,e),a.debug&&console.info("update",e,t,l),s.value=!1},c=()=>{Nm(n,a)};return F((()=>[a.debug,a.visibleLength,a.motionBlur,a.showControl,a.seamless,a.interval,a.mode,a.duration,a.delay,a.resizeObserver]),(async()=>{await oe(),c()})),St((()=>{c()})),fe((()=>{i.value=!0})),t({state:o,next:()=>A.value?.next?.(),prev:()=>A.value?.prev?.(),getInfo:()=>A.value?.getInfo?.()||{state:o},forceUpdate:e=>A.value?.forceUpdate?.(e)}),(e,t)=>{const l=be("TuiRolling");return r(),g("div",{class:T(["tui-roll-progress",{"is-initing":s.value}])},[i.value?(r(),Y(l,Pe({key:0},n,{ref_key:"rollElemRef",ref:A,onUpdate:u}),{default:_((()=>[K(e.$slots,"default")])),_:3},16)):q("",!0)],2)}}}),Om=Object.assign({name:"TuiRollingProgressItem"},{__name:"item",props:{index:Number,label:{type:String,required:!0},value:{type:Number,require:!0},icon:{type:String,default:null},status:{type:String,default:null,validator:e=>["default","success","warning","danger","emphasis"].includes(e)},color:{type:String,default:null,validator:e=>CSS.supports("color",e)},showStatusIcon:{type:Boolean,default:!1}},setup(e){const{proxy:t,uid:l}=Ue(),a=e,{sendValue:i,maxValue:A,tagConfig:o,progressConfig:n,tipConfig:s,hasIndex:d,showRankings:u}=me("TuiRollProgr",null),c=k(!1),p=m((()=>{let e=null;if(u.value)switch(a.index){case 0:e="danger";break;case 1:e="warning";break;case 2:e="success";break}return{...o,...e&&{type:e}}})),g=m((()=>{const{index:e,...t}=a;return{showStatusIcon:a.showStatusIcon,labelNewline:!0,valuePosition:"newline",maxValue:A.value,value:a.value,tagConfig:p.value,tipConfig:s,...t,...n,...d.value&&{index:a.index+1}}}));return St((()=>{})),fe((()=>{i(a.value),c.value=!0})),(e,t)=>{const l=be("TuiProgress"),a=be("TuiRollingItem");return r(),Y(a,{class:T(["tui-roll-progresss-item"])},{default:_((()=>[c.value?(r(),Y(l,st(Pe({key:0},g.value)),null,16)):q("",!0)])),_:1})}}}),Mm={class:"progress-config"},Em=Object.assign({name:"TuiRollingTableCol"},{__name:"col",props:{contentType:{type:String,default:null,validator:e=>["string","percent","operation","element","component"].includes(e)}},setup(e){const t=dt(),l=e,{progressConfig:a,tipConfig:i,columnWidths:A,columnAligns:o,operation:n,buttonAppearance:u,operaEmit:c,hasIndexCol:p,sendValue:v,maxValue:f,collectVersion:h}=me("TuiRollTable",null),{rowIndex:y}=me("TuiRollTableRow",null),V=k(!1),b=k(null),w=k(null),x=k(null),C=k(null),S=m((()=>{const e=w.value;return ce("cpt-rolltb-col",{...A.value&&A.value[e]&&{width:A.value[e]+"px"},...o.value&&o.value[e]&&{align:o.value[e]}})})),B=()=>{if(!t.default)return;let e=t.default()[0]?.children;if(e){e[0]?.children&&(e=e[0].children);const t=Qe.convert(e,2);if(t.success)return C.value=t.num,void v(C.value)}C.value=null},$=m((()=>({showValue:!0,strokeWidth:10,maxValue:f.value,...a.value,value:C.value,label:null})));return F((()=>h.value),(()=>{"percent"===l.contentType&&V.value&&B()})),fe((()=>{(()=>{if(b.value){const e=b.value,t=e.parentElement,l=Array.from(t.children).indexOf(e);l>-1&&(w.value=l-(p.value?1:0))}})(),t.default&&t.default().forEach((e=>{e.type&&("string"==typeof e.type?x.value="element":"symbol"==typeof e.type?x.value="string":(e.type.__name||e.type.name)&&(x.value="component"))})),V.value=!0,"percent"==l.contentType&&B()})),(t,l)=>{const a=be("TuiTextTip"),o=be("TuiProgress"),p=be("TuiButton");return r(),g("div",{class:T(["tui-roll-table-col",{"has-width-set":d(A)&&d(A)[w.value]}]),ref_key:"colRef",ref:b,style:re(S.value)},[V.value?(r(),g(J,{key:0},["string"==e.contentType||!e.contentType&&"string"==x.value?(r(),Y(a,st(Pe({key:0},d(i))),{default:_((()=>[K(t.$slots,"default")])),_:3},16)):"percent"==e.contentType?(r(),g(J,{key:1},[ne(o,st(ht($.value)),null,16),s("div",Mm,G($.value),1)],64)):"operation"==e.contentType?(r(!0),g(J,{key:2},ke(d(n),((e,t)=>(r(),Y(p,{size:"small",type:e.type,plain:"plain"==d(u),link:"link"==d(u),text:"text"==d(u),onClick:t=>(e=>{c({button:e,rowIndex:y.value})})(e)},{default:_((()=>[Re(G(e.label),1)])),_:2},1032,["type","plain","link","text","onClick"])))),256)):K(t.$slots,"default",{key:3})],64)):q("",!0)],6)}}}),Lm=e=>({debug:e.debug,motionBlur:e.motionBlur,visibleLength:e.visibleLength,showControl:e.showControl,seamless:e.seamless,interval:e.interval,fillData:e.fillData,mode:e.mode,duration:e.duration,delay:e.delay,autoRolling:e.autoRolling,initIndex:null,resizeObserver:e.resizeObserver,slotObserver:!0,controlDirection:"v"}),Wm=({state:e,info:t={}})=>{Object.keys(t).forEach((l=>{e[l]=t[l]})),e.rollInnerSize=e.rollInnerSzie,e.rollItemSize=e.rollItemSzie,e.disablePrev=e.disabelPrev,e.disableNext=e.disabelNext},jm={key:0,class:"tui-roll-tabl-row tui-roll-tabl-thead"},Gm={key:0,class:"tui-roll-table-col tui-idx"},Fm=Object.assign({name:"TuiRollingTable"},{__name:"index",props:{interval:Number,theadHeight:Number,visibleLength:{type:Number,default:5,validator:e=>e>0},mode:{type:String,default:"item",validator:e=>["page","item"].includes(e)},showControl:{type:Boolean,default:!0},seamless:{type:Boolean,default:!0},duration:{type:Number,default:null},delay:{type:Number,default:1e3},autoRolling:{type:Boolean,default:!0},debug:{type:Boolean,default:!1},header:{type:Array,default:null,validator:e=>e.length>0},columnWidths:{type:Array,default:null,validator:e=>!(!e||0===e.length)&&e.every((e=>Qe.isNG0(e)||"auto"===e||null===e))},columnAligns:{type:Array,default:null,validator:e=>!(!e||0===e.length)&&e.every((e=>["start","end","center"].includes(e)||null===e))},columnTypes:{type:Array,default:null,validator:e=>!(!e||0===e.length)&&e.every((e=>["string","percent","operation","element","component"].includes(e)||null===e))},operation:{type:Array,default:null,validator:e=>!(!e||0===e.length)&&e.every((e=>"object"==ze(e)))},headerBG:{type:String,default:null,validator:e=>CSS.supports("color",e)},headerFC:{type:String,default:null,validator:e=>CSS.supports("color",e)},fontColor:{type:String,default:null,validator:e=>CSS.supports("color",e)},oddRowBG:{type:String,default:null,validator:e=>CSS.supports("color",e)},evenRowBG:{type:String,default:null,validator:e=>CSS.supports("color",e)},rowBD:{type:String,default:null,validator:e=>CSS.supports("color",e)},hasIndexCol:{type:Boolean,default:!1},showRankings:{type:Boolean,default:!1},fillData:{type:Boolean,default:!1},buttonAppearance:{type:String,default:"plain",validator:e=>["plain","link","text"].includes(e)},motionBlur:{type:Boolean,default:!0},progressConfig:Object,tipConfig:Object,tagConfig:Object,resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)}},emits:["operation","start","rolling"],setup(e,{expose:t,emit:l}){dt();const a=e,i=l,A=k(!1),o=k(null),n=Ve({rollWrapSize:0,rollInnerSzie:0,rollItemSzie:0,curRollCalc:0,maxRollCalc:0,itemsLen:0,pageLen:0,disabelPrev:!1,disabelNext:!1,disableRolling:!1,rollInnerSize:0,rollItemSize:0,rollOuterSize:0,disablePrev:!1,disableNext:!1}),s=k(!1),d=m((()=>Lm(a))),u=m((()=>ce("cpt-rolltb",{...a.headerBG&&{hbg:a.headerBG},...a.headerFC&&{hfc:a.headerFC},...a.fontColor&&{fc:a.fontColor},...a.rowBD&&{rowbd:a.rowBD},...a.oddRowBG&&{oddbg:a.oddRowBG},...a.evenRowBG&&{evenbg:a.evenRowBG},...a.theadHeight&&{thheight:a.theadHeight+"px"}}))),c=e=>ce("cpt-rolltb-col",{...a.columnWidths&&a.columnWidths[e]&&{width:a.columnWidths[e]+"px"},...a.columnAligns&&a.columnAligns[e]&&{align:a.columnAligns[e]}}),p=k(0),v=k(0),f=()=>{p.value=0,v.value+=1};Ke("TuiRollTable",{progressConfig:m((()=>a.progressConfig)),tipConfig:m((()=>a.tipConfig)),tagConfig:m((()=>a.tagConfig)),header:m((()=>a.header)),columnWidths:m((()=>a.columnWidths)),columnTypes:m((()=>a.columnTypes)),operation:m((()=>a.operation)),columnAligns:m((()=>a.columnAligns)),hasIndexCol:m((()=>a.hasIndexCol)),showRankings:m((()=>a.showRankings)),buttonAppearance:m((()=>a.buttonAppearance)),operaEmit:e=>{i("operation",e)},sendValue:e=>{p.value=Qe.max(e,p.value)},maxValue:p,collectVersion:v});const h=(e,t,l)=>{Wm({state:n,info:e}),a.debug&&console.info("update",e,t,l),s.value=!1};return fe((async()=>{A.value=!0,await oe(),f()})),t({state:n,next:()=>o.value?.next?.(),prev:()=>o.value?.prev?.(),getInfo:()=>o.value?.getInfo?.()||{state:n},forceUpdate:e=>(f(),o.value?.forceUpdate?.(e))}),(t,l)=>{const a=be("TuiTextTip"),i=be("TuiRolling");return r(),g("div",{class:T(["tui-roll-table",{"is-initing":s.value}]),style:re(u.value),ref:"tableWrapRef"},[e.header?(r(),g("div",jm,[e.hasIndexCol?(r(),g("div",Gm,"#")):q("",!0),(r(!0),g(J,null,ke(e.header,((t,l)=>(r(),g("div",{class:T(["tui-roll-table-col",{"has-width-set":e.columnWidths&&e.columnWidths[l]}]),style:re(c(l))},[ne(a,Pe({ref_for:!0},e.tipConfig),{default:_((()=>[Re(G(t),1)])),_:2},1040)],6)))),256))])):q("",!0),A.value?(r(),Y(i,Pe({key:1},d.value,{ref_key:"rollElemRef",ref:o,onUpdate:h}),{default:_((()=>[K(t.$slots,"default")])),_:3},16)):q("",!0)],6)}}}),Hm=Object.assign({name:"TuiRollingTableRow"},{__name:"row",props:{data:{type:Array,default:null,validator:e=>e.length>0},index:{type:Number,default:null,required:!0,validator:e=>e>=0}},setup(e){const{proxy:t,uid:l}=Ue(),a=e,{header:i,columnTypes:A,hasIndexCol:o,showRankings:n,tagConfig:s}=me("TuiRollTable",null),u=m((()=>{let e=null;if(n.value)switch(a.index){case 0:e="danger";break;case 1:e="warning";break;case 2:e="success";break}return{...s.value,...e&&{type:e}}}));return Ke("TuiRollTableRow",{rowIndex:m((()=>a.index))}),St((()=>{})),fe((()=>{})),(t,l)=>{const a=be("TuiTag"),n=be("TuiRollingTableCol"),s=be("TuiRollingItem");return r(),Y(s,{class:T(["tui-roll-tabl-row"])},{default:_((()=>[d(o)?(r(),Y(n,{key:0,class:"tui-idx",index:-1,contentType:"component"},{default:_((()=>[ne(a,Pe({size:"small"},u.value),{default:_((()=>[Re(G(e.index+1),1)])),_:1},16)])),_:1})):q("",!0),e.data&&e.data.length>0?(r(!0),g(J,{key:1},ke(d(i),((t,l)=>(r(),Y(n,{contentType:d(A)&&d(A)[l],index:l},{default:_((()=>[Re(G(e.data[l]),1)])),_:2},1032,["contentType","index"])))),256)):K(t.$slots,"default",{key:2})])),_:3})}}}),Qm={class:"dialog-title"},Um={class:"dialog-body"},Ym={key:1,class:"dialog-footer"},In=Object.assign({name:"TuiDialogBase"},{__name:"base",props:{fullscreen:Boolean,title:String,appendTo:String,center:Boolean,overflow:Boolean,divider:Boolean,showClose:Boolean,dragContainment:Boolean,draggable:Boolean,hideHeader:Boolean,hideFooter:Boolean,closeIcon:{type:String,default:"tui-icon ti-times"},positionType:{type:String,default:"transform",validator:e=>["absolute","fixed","transform"].includes(e)},type:{type:String,default:"default",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},customColor:[String,Array],typedConfig:Object,visibleInner:Boolean,uid:String},emits:["close","confirm"],setup(e,{expose:t,emit:l}){const{i18n:a}=me("$global",null),i=e,A=l,o=k(null),n=k(null),u=m((()=>i.title||"Title")),c=m((()=>i.draggable&&!i.fullscreen&&!i.hideHeader)),p=m((()=>({enabled:c.value,trigger:".dialog-header",exclude:".dialog-close",containment:i.dragContainment,positionType:i.positionType,inAdpt:i.appendTo?.includes("tuiAdpt"),uid:i.uid}))),v=m((()=>({transparent:!1,appearance:"background",customColor:i.customColor,type:i.type,...i.typedConfig}))),f=()=>{A("close")},h=()=>{A("confirm")};return t({dialogRef:o,headerRef:n}),(t,l)=>{const i=be("TuiButton"),A=be("TuiTyped"),m=Ee("tui-drag");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["dialog-inner",`dialog-pos-${e.positionType||"relative"}`,{"is-fullscreen":e.fullscreen,"is-center":e.center,"is-overflow":e.overflow,"is-divider":e.divider}]),role:"dialog",ref_key:"dialogRef",ref:o,onClick:l[0]||(l[0]=Xe((()=>{}),["stop"]))},[he(ne(A,st(ht(v.value)),{default:_((()=>[e.hideHeader?q("",!0):(r(),g("div",{key:0,class:T(["dialog-header",{"is-draggable":c.value}]),ref_key:"headerRef",ref:n},[K(t.$slots,"header",{},(()=>[s("span",Qm,G(u.value),1)])),e.showClose?(r(),g("div",{key:0,class:"dialog-close",onClick:f},[s("i",{class:T(e.closeIcon)},null,2)])):q("",!0)],2)),s("div",Um,[K(t.$slots,"default")]),e.hideFooter?q("",!0):(r(),g("div",Ym,[K(t.$slots,"footer",{},(()=>[ne(i,{onClick:f},{default:_((()=>[Re(G(d(a)("common.cancel")),1)])),_:1}),ne(i,{type:"default"==e.type||"invert"==e.type?"primary":e.type,customColor:e.customColor,onClick:h},{default:_((()=>[Re(G(d(a)("common.confirm")),1)])),_:1},8,["type","customColor"])]))]))])),_:3},16),[[Te,e.visibleInner]])],2)),[[m,p.value]])])),_:3})}}}),Ot=k(0),cl=k(0),Km=500,Xm=Object.assign({name:"TuiDialog"},{__name:"index",props:{top:[String,Number],fullscreen:Boolean,modelValue:Boolean,title:String,modalClass:String,beforeClose:Function,overflow:Boolean,center:Boolean,destroyOnClose:Boolean,appendTo:String,modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},closeOnBackdrop:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},divider:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},dragContainment:{type:Boolean,default:!0},resetDragOnClose:{type:Boolean,default:!0},alignCenter:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},hideHeader:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},zIndex:{type:Number,default:null},width:{type:[String,Number],default:null},closeIcon:{type:String,default:"tui-icon ti-times"},positionType:{type:String,default:"transform",validator:e=>["absolute","fixed","transform"].includes(e)},type:{type:String,default:"default",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},customColor:[String,Array],typedConfig:Object},emits:["update:modelValue","open","opened","close","closed","confirm","open-auto-focus","close-auto-focus"],setup(e,{emit:t}){const{proxy:{$tMask:l,$tMaskClose:a,$tService:i}}=Ue(),{$gClickCounter:A,$gEscCounter:o,$optFloaterTo:n}=me("$global",null),s=e,u=k(!0),c=dt(),p=m((()=>s.appendTo||n.value)),v=t,f=k(!1),h=k(!1),y=k(null),V=k(null),b=k(0),w=Ce("dialog");let x=!1,C=!1;const S=m((()=>[ce("cpt-dlg",{...s.width&&{width:"string"==ze(s.width)?s.width:s.width+"px"},...s.top&&{top:"string"==ze(s.top)?s.top:s.top+"px"},zIndex:s.zIndex||2001+b.value})]));let T=null;const B=()=>{T&&(T(),T=null)},$=()=>{s.beforeClose?s.beforeClose((()=>I())):I()},z=()=>{s.closeOnBackdrop&&1==Ot.value&&$()};F((()=>o.value),(()=>{f.value&&s.closeOnEsc&&Ot.value==b.value&&$()}));const R=()=>{s.beforeClose?s.beforeClose((()=>I())):I(),v("confirm")},N=()=>(y.value.offsetWidth-V.value.dialogRef.offsetWidth)/2+30*(b.value-1)+"px",O=()=>{if(s.alignCenter){return(y.value.offsetHeight-V.value.dialogRef.offsetHeight)/2+"px"}return s.top?"string"==ze(s.top)?s.top:"number"==ze(s.top)?s.top+"px":void 0:100+30*b.value+"px"},M=async()=>{x||(x=!0,f.value=!0,v("open"),Ot.value++,b.value=Ot.value,s.modal&&!s.fullscreen&&(cl.value++,l({appendTo:p.value,visible:f.value,modal:s.modal,position:"fixed",click:z})),await oe((()=>{v("opened"),v("open-auto-focus"),x=!1,h.value=!0})),s.lockScroll&&(()=>{if(!s.lockScroll)return;const e="has-dialog-open";document.body.classList.contains(e)||document.body.classList.add(e),T=()=>document.body.classList.remove(e)})(),await oe(),(()=>{const e=V.value?.dialogRef,t=y.value;if(e&&t&&!s.fullscreen){if("transform"!==s.positionType){if(!e.style?.left){const l=t.offsetWidth,a=e.offsetWidth;l>0&&a>0&&(e.style.left=N(),e.style.top=O())}return}(s.resetDragOnClose||!e.style.transform)&&(e.style.transform=`translate(${N()},${O()})`)}})())},I=async()=>{C||(C=!0,v("update:modelValue",!1),v("close"),Ot.value>0&&Ot.value--,s.modal&&!s.fullscreen&&(cl.value>0&&cl.value--,0==cl.value&&a()),h.value=!1,0==Ot.value&&s.lockScroll&&B(),await oe((()=>{v("closed"),v("close-auto-focus"),C=!1,se.s(w+"_close",(()=>{f.value=!1,s.draggable&&s.resetDragOnClose&&(V.value.dialogRef.style=null)}),Km)})))};return F((()=>s.positionType),(e=>{V.value?.dialogRef&&(V.value.dialogRef.style=null)})),F((()=>s.modelValue),(e=>{e?s.openDelay?setTimeout(M,s.openDelay):M():s.closeDelay?setTimeout(I,s.closeDelay):I()})),fe((()=>{u.value=!1})),tt((()=>{u.value=!0,B()})),(t,l)=>u.value?q("",!0):(r(),Y(mt,{key:0,to:p.value,fallback:"#tuiRoot",disabled:u.value},[f.value||!e.destroyOnClose?he((r(),g("div",Pe({key:0,class:"tui-dialog"},t.$attrs,{style:S.value,ref_key:"dialogWrapRef",ref:y}),[ne(In,{ref_key:"baseDialogRef",ref:V,fullscreen:e.fullscreen,title:e.title,center:e.center,overflow:e.overflow,divider:e.divider,showClose:e.showClose,dragContainment:e.dragContainment,draggable:e.draggable,closeIcon:e.closeIcon,positionType:e.positionType,type:e.type,customColor:e.customColor,typedConfig:e.typedConfig,visibleInner:h.value,appendTo:p.value,uid:d(w),hideHeader:e.hideHeader,hideFooter:e.hideFooter,onClose:$,onConfirm:R},Nt({default:_((()=>[K(t.$slots,"default")])),_:2},[d(c).header?{name:"header",fn:_((()=>[K(t.$slots,"header")])),key:"0"}:void 0,d(c).footer?{name:"footer",fn:_((()=>[K(t.$slots,"footer")])),key:"1"}:void 0]),1032,["fullscreen","title","center","overflow","divider","showClose","dragContainment","draggable","closeIcon","positionType","type","customColor","typedConfig","visibleInner","appendTo","uid","hideHeader","hideFooter"])],16)),[[Te,f.value]]):q("",!0)],8,["to","disabled"]))}}),Zm=200,Jm=Object.assign({name:"TuiDialogNative"},{__name:"native",props:{top:[String,Number],modelValue:{type:Boolean,default:!1},title:{type:String,default:""},closeOnBackdrop:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},customClass:{type:String,default:""},modal:{type:Boolean,default:!0},fullscreen:Boolean,overflow:Boolean,center:Boolean,divider:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},hideHeader:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},width:{type:[String,Number],default:null},closeIcon:{type:String,default:"tui-icon ti-times"},type:{type:String,default:"default",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},customColor:[String,Array],typedConfig:Object},emits:["update:modelValue","open","close","opened","closed","confirm"],setup(e,{expose:t,emit:l}){const{$gMaskBlur:a}=me("$global",null),i=e,A=l,o=Ce("nDialog"),n=k(null),s=k(null),u=k(!1),c=m((()=>({fullscreen:i.fullscreen,title:i.title,center:i.center,overflow:i.overflow,divider:i.divider,showClose:i.showClose,hideHeader:i.hideHeader,hideFooter:i.hideFooter,dragContainment:!1,draggable:!1,closeIcon:i.closeIcon,positionType:null,type:i.type,customColor:i.customColor,typedConfig:i.typedConfig,visibleInner:u.value})));F((()=>i.modelValue),(async e=>{e?await p():v()}));const p=async()=>{if(n.value){A("open");try{i.modal?n.value.showModal():n.value.show(),await oe(),u.value=!0,A("opened")}catch(e){console.error("打开对话框失败:",e)}}},v=()=>{n.value&&(A("close"),u.value=!1,setTimeout((()=>{n.value.close()}),Zm))},f=()=>{A("update:modelValue",!1)},h=e=>{e.target===n.value&&i.closeOnBackdrop&&f()},y=()=>{f()},V=()=>{A("confirm"),f()},b=()=>{A("update:modelValue",!1),A("closed")},w=e=>{"Escape"===e.key&&!i.closeOnEsc&&e.preventDefault()};return t({open:()=>{A("update:modelValue",!0)},close:f,dialogRef:n,baseDialogRef:s}),fe((()=>{i.modelValue&&oe((()=>p())),i.closeOnEsc||xe.add(document,"keydown",w,o)})),Ct((()=>{xe.remove(document,"keydown",o)})),(t,l)=>(r(),g("dialog",{ref_key:"dialogRef",ref:n,class:T(["native-dialog","tui-dialog-native",`${e.customClass}`,"bg-"+(d(a)?"blur":"trans"),{"is-fullscreen":e.fullscreen}]),onClick:h,onClose:b},[e.modelValue?(r(),g("div",{key:0,class:T(["dialog-native-content"]),onClick:l[0]||(l[0]=Xe((()=>{}),["stop"]))},[ne(In,Pe({uid:d(o),ref_key:"baseDialogRef",ref:s},c.value,{onClose:y,onConfirm:V}),Nt({default:_((()=>[K(t.$slots,"default")])),_:2},[t.$slots.header?{name:"header",fn:_((()=>[K(t.$slots,"header")])),key:"0"}:void 0,t.$slots.footer?{name:"footer",fn:_((()=>[K(t.$slots,"footer")])),key:"1"}:void 0]),1040,["uid"])])):q("",!0)],34))}}),ey={key:1,class:"panel-inner"},ty=Object.assign({name:"TuiDrawer"},{__name:"index",props:{modelValue:Boolean,direction:{type:String,default:"rtl",validator:e=>["ttb","btt","ltr","rtl"].includes(e)},appendTo:String,showClose:{type:Boolean,default:!1},closeOnBackdrop:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},size:{type:[String,Number],default:"auto"},padding:{type:Number,default:30},zIndex:{type:Number,default:2001},className:String},emits:["open","close","update:modelValue"],setup(e,{emit:t}){const{$gEscCounter:l,$optFloaterTo:a,$tState:i}=me("$global",null),A=e,o=k(!1),n=k(!0),d=t,u=m((()=>A.appendTo||a.value)),c=m((()=>ce("cpt-drawer",{size:"number"==ze(A.size)?A.size+"px":A.size,padding:A.padding+"px",zIndex:A.zIndex}))),p=()=>{o.value=!1,se.s("drawerClose",(()=>{d("update:modelValue",!1)}),400)},v=m((()=>i.globalConfig.maskBlur));return F((()=>l.value),(()=>{o.value&&A.closeOnEsc&&p()})),F((()=>A.modelValue),(e=>{oe((()=>{o.value=e})),d(e?"open":"close",e)})),fe((()=>{n.value=!1})),tt((()=>{n.value=!0,se.c("drawerClose")})),(t,l)=>{const a=be("TuiMask");return n.value?q("",!0):(r(),Y(mt,{key:0,to:u.value,fallback:"#tuiRoot",disabled:n.value},[e.modal?(r(),Y(a,{key:0,"model-value":o.value,modal:e.modal,onClick:l[0]||(l[0]=Xe((t=>e.closeOnBackdrop?p():null),["self"]))},null,8,["model-value","modal"])):q("",!0),ne(Be,{name:"fade"},{default:_((()=>[o.value?(r(),g("div",{key:0,class:T(["tui-drawer",e.className,""+(v.value?"bg-blur":"bg-trans"),`direction-${e.direction}`,""+(e.modal?"mask-on":"mask-off")]),style:re(c.value)},[e.showClose?(r(),g("div",{key:0,class:"drawer-close",onClick:p},[...l[1]||(l[1]=[s("i",{class:"tui-icon ti-times"},null,-1)])])):q("",!0),o.value?(r(),g("div",ey,[K(t.$slots,"default")])):q("",!0)],6)):q("",!0)])),_:3})],8,["to","disabled"]))}}}),ly={class:"tui-text"},ay=Object.assign({name:"TuiEmpty"},{__name:"index",props:{size:{type:String,default:null,validator:e=>["small","large"].includes(e)},buttonType:{type:String,default:"default",validator:e=>["primary","success","warning","danger","info","default","emphasis","focus"].includes(e)},icon:{type:String,default:"tui-icon ti-alert-circle"},showButton:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1},text:String,buttonClick:Function,buttonText:String},setup(e){const{proxy:{$tService:{i18n:t}}}=Ue(),l=e,a=m((()=>l.text||t("empty.text"))),i=m((()=>l.buttonText||t("empty.buttonText")));return(t,l)=>{const A=be("TuiButton");return r(),g("span",{class:T(["tui-empty",e.size&&`tui-size-${e.size}`,{"is-bordered":e.bordered}])},[s("i",{class:T(`tui-empty-icon ${e.icon}`)},null,2),K(t.$slots,"default",{},(()=>[s("span",ly,G(a.value),1)])),e.showButton?(r(),Y(A,{key:0,size:e.size,type:e.buttonType,onClick:e.buttonClick},{default:_((()=>[Re(G(i.value),1)])),_:1},8,["size","type","onClick"])):q("",!0)],2)}}}),ny={key:0,class:"svg-icon spinner-area"},oy=Object.assign({name:"TuiLoadingArea",inheritAttrs:!1},{__name:"LoadingArea",props:{zIndex:Number,size:Number,color:String,update:Boolean,mask:{type:Boolean,default:!1},maskModal:{type:Boolean,default:!0},maskColorReverse:{type:Boolean,default:!1},maskBorderRadius:Number,maskBlur:{type:String,default:"auto",validator:e=>["auto","always","none"].includes(e)},pointEvent:{type:String,default:"all",validator:e=>["none","all"].includes(e)},modelValue:{type:Boolean,default:!0}},setup(e){const{proxy:t}=Ue(),{$tState:l,$tState:{spinnerConfig:a},$tService:{initSpinner:i}}=t,A=yl(),o=k(!1),n=Ce("loadArea"),s=e,u=m((()=>s.modelValue)),c=m((()=>s.color||a.area.color)),p=m((()=>s.size||a.area.size)),v=m((()=>ce("cpt-loda",{...c.value&&{color:c.value},...p.value&&{size:p.value+"px"},...s.zIndex&&{zIndex:s.zIndex},...s.pointEvent&&{pe:s.pointEvent}})));return F(u,(e=>{e?(o.value=!0,se.c(n+"_ti")):se.s(n+"_ti",(()=>{o.value=!1}),500)}),{immediate:!0}),fe((()=>{s.color&&s.update&&(a.area.color=s.color),s.size&&s.update&&(a.area.size=s.size),je.el("#styleSpinners")||i()})),Ct((()=>{se.c(n+"_ti")})),(t,l)=>{const a=be("TuiMask");return r(),g(J,null,[ne(Be,{name:"fade"},{default:_((()=>[u.value?(r(),g("div",Pe({key:0},d(A),{class:["tui-loading-area",""+(o.value?"loading-ani-on":"loading-ani-off")],style:v.value}),[o.value?(r(),g("i",ny)):q("",!0)],16)):q("",!0)])),_:1}),e.mask?(r(),Y(a,{key:0,"model-value":u.value,mode:"area",modal:e.maskModal,"area-color-reverse":e.maskColorReverse,"area-border-radius":e.maskBorderRadius,"area-blur":e.maskBlur,"z-index":e.zIndex},null,8,["model-value","modal","area-color-reverse","area-border-radius","area-blur","z-index"])):q("",!0)],64)}}}),iy={key:0,class:"tui-icon ti-angle-left"},sy={key:1,class:"tui-icon ti-angle-up"},ry={key:0,class:"tui-icon ti-angle-right"},Ay={key:1,class:"tui-icon ti-angle-down"},uy={key:2,class:"tui-page-info"},dy=Object.assign({name:"TuiStepScroller"},{__name:"step",props:{border:{type:String,default:"auto",validator:e=>["auto","none","always"].includes(e)},controlPosition:{type:String,default:"both",validator:e=>["float","start","end","both"].includes(e)},controlSize:{type:String,default:"default",validator:e=>["default","small","large"].includes(e)},direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)},scrollMode:{type:String,default:"full",validator:e=>["full","half"].includes(e)},showControl:{type:Boolean,default:!0},showPagination:{type:Boolean,default:!0},wheelScroll:{type:Boolean,default:!0},resizeObserver:{type:String,default:"self",validator:e=>["self","global","none"].includes(e)}},setup(e,{expose:t}){const{$optResizeCounter:l,initResizeBy:a}=me("$global",null),i=a(),A=e,o=k(!1),n=k(null),u=k(null);F((()=>l.value),((e,t)=>{"root"==i.value(A.resizeObserver)&&e>t&&h()}));const c=Ce("stepscrl"),p=Ve({curPage:0,maxPage:1,outerSize:0,innerSize:0,needScroll:!1,disablePrev:!0,disableNext:!0}),v=()=>{let e=0,t=0;const{clientWidth:l,clientHeight:a}=n.value,{scrollWidth:i,scrollHeight:o}=u.value;return"h"==A.direction?(e=i,t=l):(e=o,t=a),{innerSize:e,outerSize:t}},f=()=>{p.disablePrev=p.curPage<=0,p.disableNext=p.curPage>=p.maxPage-1},h=async()=>{if(await oe(),!n.value||!u.value)return;const e=p.curPage,t=v();if(p.needScroll=t.innerSize>t.outerSize,p.innerSize=t.innerSize,p.outerSize=t.outerSize,await oe(),p.needScroll){const e=v();p.needScroll=e.innerSize>e.outerSize,p.innerSize=e.innerSize,p.outerSize=e.outerSize}p.maxPage=p.needScroll?Math.max(1,Math.ceil(p.innerSize/p.outerSize)):1,p.curPage=p.needScroll?Math.min(Math.max(e,0),p.maxPage-1):0,f(),o.value||(o.value=!0)},y=m((()=>p.curPage>0)),V=m((()=>p.curPage<p.maxPage-1));F([y,V],(()=>{f()}),{immediate:!0});const b=m((()=>A.showControl&&p.needScroll)),w=m((()=>A.showPagination&&p.needScroll)),x=m((()=>{const e=p.curPage*p.outerSize;return ce("cpt-scrl",{tsf:`translate${"h"===A.direction?"X":"Y"}(-${e}px)`})})),C=(e=-1,t=!0)=>{n.value&&Qe.isNEG0(e)&&e>-1&&(p.curPage=Math.min(Math.max(e,0),Math.max(p.maxPage-1,0)),f())},S=()=>{o.value&&(p.needScroll=!1,p.curPage=0,p.maxPage=1,p.outerSize=0,p.innerSize=0,p.disablePrev=!0,p.disableNext=!0,o.value=!1)},B=(e,t=null)=>{y.value&&(t?p.curPage=Qe.safeFixed(p.curPage-t,1):"full"==A.scrollMode?Qe.isNEG0(p.curPage)&&(p.curPage=Math.ceil(Math.max(0,p.curPage-1))):p.curPage-=.5,f())},$=(e,t=null)=>{V.value&&(t?p.curPage=Qe.safeFixed(p.curPage+t,1):"full"==A.scrollMode?Qe.isNEG0(p.curPage)&&(p.curPage=Math.floor(Math.min(p.curPage+1,p.maxPage))):p.curPage+=.5,f())},z=()=>({...p,direction:A.direction,scrollMode:A.scrollMode,canScrollStart:y.value,canScrollEnd:V.value}),R=(e=!1)=>{e&&S(),h()},N=xe.throttle((e=>{e.deltaY>0||e.deltaX>0?$(0,.1):(e.deltaY<0||e.deltaX<0)&&B(0,.1)}),50),O=e=>{e.preventDefault(),N(e)};return fe((()=>{A.wheelScroll&&xe.add(n.value,"wheel",O,c,{passive:!1}),u.value&&It.o(u.value,(()=>{h()}),{childList:!0,subtree:!1},100)})),Ct((()=>{It.d(u.value),A.wheelScroll&&xe.remove(n.value,"wheel",c)})),F([()=>A.controlPosition,()=>A.direction],(()=>{h()})),Ke("TuiScroller",{scrollTo:C,next:$,prev:B,initSize:h,resetScrollInner:S,getInfo:z,forceUpdate:R,state:p,border:A.border}),t({scrollTo:C,next:$,prev:B,initSize:h,resetScrollInner:S,getInfo:z,forceUpdate:R,state:p}),(t,l)=>{const a=Ee("tui-resize");return r(),g("div",{class:T(["tui-step-scroller",`tui-btn-pos-${e.controlPosition}`,`tui-btn-size-${e.controlSize}`,`tui-border-${e.border}`,""+(p.needScroll?"tui-scroll-active":"tui-scroll-inactive"),{"is-horizontal":"h"==e.direction,"is-vertical":"v"==e.direction,"is-inited":o.value,"is-preparing":!o.value}]),style:re(x.value)},[he((r(),g("div",{ref_key:"scrollOuterRef",ref:n,class:"tui-scroller-outer"},[s("div",{ref_key:"scrollInnerRef",ref:u,class:"tui-scroller-inner"},[K(t.$slots,"default")],512)])),[[a,{callback:h,disabled:"self"!=d(i)(e.resizeObserver)&&o.value,uid:d(c)}]]),b.value?(r(),g("div",{key:0,class:T(["tui-scroll-btn tui-btn-sta",{disabled:!y.value}]),onClick:B},["h"==A.direction?(r(),g("i",iy)):(r(),g("i",sy))],2)):q("",!0),b.value?(r(),g("div",{key:1,class:T(["tui-scroll-btn tui-btn-end",{disabled:!V.value}]),onClick:$},["h"==A.direction?(r(),g("i",ry)):(r(),g("i",Ay))],2)):q("",!0),w.value?(r(),g("div",uy,G(p.curPage+1)+"/"+G(p.maxPage),1)):q("",!0)],6)}}}),cy={key:0,class:"tui-icon ti-angle-left"},fy={key:1,class:"tui-icon ti-angle-up"},py={key:0,class:"tui-icon ti-angle-right"},gy={key:1,class:"tui-icon ti-angle-down"},hy=Object.assign({name:"TuiVirtualScroller"},{__name:"virtual",props:{border:{type:String,default:"auto",validator:e=>["auto","none","always"].includes(e)},direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)},controlType:{type:String,default:"scrollbar",validator:e=>["button","scrollbar","none"].includes(e)},buttonPosition:{type:String,default:"both",validator:e=>["float","start","end","both"].includes(e)},buttonSize:{type:String,default:"default",validator:e=>["default","small","large"].includes(e)},scrollSpeed:{type:Number,default:1},scrollbarSize:{type:String,default:"small",validator:e=>["mini","small","default","large","xlarge"].includes(e)},resizeObserver:{type:String,default:"self",validator:e=>["self","global","none"].includes(e)}},setup(e,{expose:t}){const{$optResizeCounter:l,initResizeBy:a}=me("$global",null),i=a(),A=e,o=Ce("virtscrl"),n=k(null),u=k(null),c=k(null),p=k(!1),v=k(!1),f=k(0),h=k(0),y=k(null),V=Ve({scrollPosition:0,maxScroll:0,needScroll:!1,disablePrev:!0,disableNext:!0}),b=()=>{V.disablePrev=V.scrollPosition<=0,V.disableNext=V.scrollPosition>=V.maxScroll},w=m((()=>n.value&&u.value?ce("cpt-scrl",{tsf:"h"===A.direction?`translateX(-${V.scrollPosition}px)`:`translateY(-${V.scrollPosition}px)`}):{})),x=m((()=>{if(!n.value||!u.value)return{};const e=n.value,t=u.value;let l,a,i,o;return"h"===A.direction?(l=e.clientWidth,a=t.scrollWidth,i=Math.max(20,l/a*l),o=V.maxScroll>0?V.scrollPosition/V.maxScroll*(l-i):0):(l=e.clientHeight,a=t.scrollHeight,i=Math.max(20,l/a*l),o=V.maxScroll>0?V.scrollPosition/V.maxScroll*(l-i):0),ce("cpt-scrl-thumb",{["h"===A.direction?"width":"height"]:`${i}px`,tsf:"h"===A.direction?`translateX(${o}px)`:`translateY(${o}px)`})})),C=m((()=>V.scrollPosition>0)),S=m((()=>V.scrollPosition<V.maxScroll)),B=m((()=>V.scrollPosition>0)),$=m((()=>V.scrollPosition<V.maxScroll)),z=m((()=>"h"==A.direction?B.value||$.value:C.value||S.value));F(z,(e=>{V.needScroll=e}),{immediate:!0});const R=(e=0)=>{V.scrollPosition=Math.max(0,Math.min(V.maxScroll,e)),b()},N=(e=50)=>{R(V.scrollPosition-e)},O=(e=50)=>{R(V.scrollPosition+e)},_=xe.throttle((e=>{const t="h"===A.direction&&e.deltaX||e.deltaY;O(t*A.scrollSpeed)}),50),M=e=>{e.preventDefault(),_(e)},I=(e,t)=>{if(!n.value||!u.value)return;const l=n.value,a=u.value;"h"===A.direction?V.maxScroll=Math.max(0,a.scrollWidth-l.clientWidth):V.maxScroll=Math.max(0,a.scrollHeight-l.clientHeight),V.scrollPosition=Math.max(0,Math.min(V.maxScroll,V.scrollPosition)),V.needScroll=V.maxScroll>0,b(),p.value||(p.value=!0)},P=e=>{if(e.target===c.value)return;const t=e.currentTarget.getBoundingClientRect(),l="h"===A.direction?e.clientX-t.left:e.clientY-t.top,a="h"===A.direction?n.value.clientWidth:n.value.clientHeight,i="h"===A.direction?c.value.offsetWidth:c.value.offsetHeight,o=(l-i/2)/(a-i)*V.maxScroll;R(o)},D=e=>{e.stopPropagation(),v.value=!0,f.value="h"===A.direction?e.clientX:e.clientY,h.value=V.scrollPosition,xe.add(document,"mousemove",G,o),xe.add(document,"mouseup",E,o)},G=e=>{if(!v.value)return;const t=(("h"===A.direction?e.clientX:e.clientY)-f.value)/(("h"===A.direction?n.value.clientWidth:n.value.clientHeight)-("h"===A.direction?c.value.offsetWidth:c.value.offsetHeight))*V.maxScroll,l=h.value+t;R(l)},E=()=>{v.value=!1,xe.remove(document,"mousemove",o),xe.remove(document,"mouseup",o)},W=e=>{const t=50*A.scrollSpeed,l=()=>{"start"===e?N(t):O(t)};l(),y.value=setInterval(l,100)},j=()=>{y.value&&(clearInterval(y.value),y.value=null)};return F((()=>l.value),((e,t)=>{"root"==i.value(A.resizeObserver)&&e>t&&I()})),fe((()=>{n.value&&u.value&&(It.o(u.value,(()=>{I()}),{childList:!0,subtree:!1},100),xe.add(n.value,"wheel",M,o,{passive:!1}),I())})),Ct((()=>{It.d(u.value),xe.remove(document,"mousemove",o),xe.remove(document,"mouseup",o),xe.remove(n.value,"wheel",o),j()})),F([()=>A.direction,()=>A.controlType,()=>A.buttonSize],(()=>{V.scrollPosition=0,I()})),t({scrollTo:R,scrollToTop:()=>{R(0)},scrollToBottom:()=>{R(V.maxScroll)},next:O,prev:N,getInfo:()=>({...V,direction:A.direction,controlType:A.controlType}),forceUpdate:()=>{I()},state:V}),(t,l)=>{const a=Ee("tui-resize");return r(),g("div",{class:T(["tui-virtual-scroller",`tui-ctrl-type-${e.controlType}`,`tui-border-${e.border}`,""+(z.value?"tui-scroll-active":"tui-scroll-inactive"),"button"==e.controlType&&`tui-btn-pos-${e.buttonPosition} tui-btn-size-${e.buttonSize}`,{"is-horizontal":"h"===e.direction,"is-vertical":"v"===e.direction}]),style:re(w.value)},[he((r(),g("div",{ref_key:"scrollOuterRef",ref:n,class:"tui-scroller-outer"},[s("div",{ref_key:"scrollInnerRef",ref:u,class:"tui-scroller-inner"},[K(t.$slots,"default")],512)])),[[a,{callback:e=>I(),disabled:"self"!=d(i)(e.resizeObserver)&&p.value,uid:d(o)}]]),z.value?(r(),g(J,{key:0},["scrollbar"===e.controlType?(r(),g("div",{key:0,class:T(["tui-scroll-bar",`tui-scroll-bar-${e.direction}`,`tui-bar-size-${e.scrollbarSize}`]),onMousedown:P},[s("div",{ref_key:"thumbRef",ref:c,class:"tui-scroll-bar-thumb",style:re(x.value),onMousedown:D},null,36)],34)):q("",!0),"button"===e.controlType?(r(),g(J,{key:1},[s("div",{class:T(["tui-scroll-btn tui-btn-sta",{disabled:"h"==A.direction?!B.value:!C.value}]),onMousedown:l[0]||(l[0]=e=>W("start")),onMouseup:j,onMouseleave:j},["h"==A.direction?(r(),g("i",cy)):(r(),g("i",fy))],34),s("div",{class:T(["tui-scroll-btn tui-btn-end",{disabled:"h"==A.direction?!$.value:!S.value}]),onMousedown:l[1]||(l[1]=e=>W("end")),onMouseup:j,onMouseleave:j},["h"==A.direction?(r(),g("i",py)):(r(),g("i",gy))],34)],64)):q("",!0)],64)):q("",!0)],6)}}}),Kl={maxWidth:Number,offset:Number,lines:{type:Number,default:null},textDirection:{type:String,default:"h",validator:e=>["h","v",null].includes(e)},delay:{type:Number,default:1e3},transparent:{type:Boolean,default:!0},backgroundBlur:{type:Boolean,default:!0},type:{type:String,default:"invert",validator:e=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(e)},appearance:{type:String,default:"popTip",validator:e=>["popTip","curtip"].includes(e)},tone:{type:String,default:"base",validator:e=>["extremeInvert","strongInvert","strong","base","weak"].includes(e)}},vy=["data-lines","data-ellipsis"],my=Object.assign({name:"TuiTextCurtip"},{__name:"textCurTip",props:{...Kl,placement:{type:String,default:"bottom-start",validator:e=>["top-start","top-end","bottom-start","bottom-end"].includes(e)}},setup(e){const{$optFloaterTo:t}=me("$global",null),l=e,a=k(null),i=k(!1),A=k(""),o=k(0),n=async()=>{const e=a.value;if(e&&(A.value=e.textContent||"",l.lines&&l.lines>1||"v"==l.textDirection?i.value=e.scrollHeight>e.clientHeight:i.value=e.scrollWidth>e.clientWidth,!l.maxWidth))if(t.value.includes("tuiAdpt"))o.value=a.value?.clientWidth||0;else{const e=a.value?.getBoundingClientRect();e?.width&&(o.value=e?.width||0)}};return F((()=>l.lines),(()=>{oe(n)})),fe((()=>{oe(n)})),(t,l)=>{const s=Ee("tui-cursor-tip");return he((r(),g("div",{"data-lines":t.lines,"data-ellipsis":i.value,ref_key:"textRef",ref:a,onMouseenterCapture:n},[K(t.$slots,"default")],40,vy)),[[s,{placement:e.placement,delay:t.delay,type:t.type,backgroundBlur:t.backgroundBlur,transparent:t.transparent,tone:t.tone,maxWidth:t.maxWidth||o.value>200?o.value:200,disabled:!i.value,content:A.value,offset:t.offset}]])}}}),yy=["data-lines","data-ellipsis"],by=Object.assign({name:"TuiTextPopTip"},{__name:"textPopTip",props:{...Kl,placement:{type:String,default:"bottom",validator:e=>["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"].includes(e)}},setup(e){const{$optFloaterTo:t}=me("$global",null),l=e,a=k(null),i=k(!1),A=k(""),o=k(0),n=async()=>{const e=a.value;if(e&&(A.value=e.textContent||"",l.lines&&l.lines>1||"v"==l.textDirection?i.value=e.scrollHeight>e.clientHeight:i.value=e.scrollWidth>e.clientWidth,!l.maxWidth))if(t.value.includes("tuiAdpt"))o.value=a.value?.clientWidth||0;else{const e=a.value?.getBoundingClientRect();e?.width&&(o.value=e?.width||0)}};return F((()=>l.lines),(()=>{oe(n)})),fe((()=>{oe(n)})),(t,l)=>{const s=Ee("tui-popover");return he((r(),g("div",{"data-lines":t.lines,"data-ellipsis":i.value,ref_key:"textRef",ref:a,onMouseenterCapture:n},[K(t.$slots,"default")],40,yy)),[[s,{placement:e.placement,delay:t.delay,type:t.type,backgroundBlur:t.backgroundBlur,transparent:t.transparent,tone:t.tone,maxWidth:t.maxWidth||o.value>200?o.value:200,disabled:!i.value,content:A.value,offset:t.offset}]])}}}),Vy=Object.assign({name:"TuiTextTip"},{__name:"index",props:{...Kl,placement:String},setup(e){const t=e,l=m((()=>ce("cpt-texttip",{...t.lines&&{lines:t.lines}}))),a=m((()=>"popTip"==t.appearance?by:my)),i=k(!1);return fe((()=>{i.value=!0})),(e,A)=>i.value?(r(),Y(it(a.value),Pe({key:0,class:[e.lines&&1!=e.lines?"tui-text-multiple":"tui-text-single"],style:l.value},t),{default:_((()=>[K(e.$slots,"default")])),_:3},16,["class","style"])):q("",!0)}}),wy={key:0,class:"deact-label"},qy={key:0,class:"toggle-label"},Cy={key:1,class:"act-label"},Xl=Object.assign({name:"TuiToggle"},{__name:"index",props:{activeText:String,inactiveText:String,inlinePrompt:Boolean,width:Number,appearance:{type:String,default:"toggleRect",validator:e=>["toggleRound","toggleRect","icon","iconPlain","iconButton"].includes(e)},size:{type:String,default:"default",validator:e=>["default","small","large"].includes(e)},icon:{type:[String,Array],default:["tui-icon ti-toggle-off","tui-icon ti-toggle-on"]},modelValue:{type:Boolean,required:!0},disabled:{type:Boolean,default:!1}},emits:["change","update:modelValue"],setup(e,{emit:t}){const{proxy:l}=Ue(),a=e,i=me("TuiForm",null),A=m((()=>i?.size?.value||a.size)),o=m((()=>i?.disabled?.value||a.disabled)),n=m((()=>ce("cpt-tgl",{...a.width&&{width:a.width+"px"}}))),d=m((()=>"array"==ze(a.icon)?a.icon[1]:"string"==ze(a.icon)?a.icon:void 0)),u=m((()=>"array"==ze(a.icon)?2==a.icon.length?a.icon[0]:a.icon[1]:a.icon)),c=t,p=()=>{o.value||(c("update:modelValue",!a.modelValue),c("change",!a.modelValue))};return fe((()=>{})),(t,l)=>(r(),g("div",{class:T(["tui-toggle",""+(e.modelValue?"tui-toggle-act":"tui-toggle-deact"),`tui-appea-${e.appearance}`,`tui-size-${A.value}`,{"is-disabled":o.value}]),style:re(n.value)},[!e.inlinePrompt&&e.inactiveText?(r(),g("div",wy,G(e.inactiveText),1)):q("",!0),s("div",{onClick:p,class:"tui-toggle-core"},[s("div",{class:T(`toggle-inner ${e.appearance.includes("icon")?e.modelValue?d.value:u.value:""}`)},null,2),e.inlinePrompt?(r(),g("div",qy,[!e.modelValue&&e.inactiveText?(r(),g(J,{key:0},[Re(G(e.inactiveText),1)],64)):q("",!0),e.modelValue&&e.activeText?(r(),g(J,{key:1},[Re(G(e.activeText),1)],64)):q("",!0)])):q("",!0)]),!e.inlinePrompt&&e.activeText?(r(),g("div",Cy,G(e.activeText),1)):q("",!0)],6))}}),$y={key:0,class:"toggle-label"},ky=Object.assign({name:"TuiControlPanelToggle"},{__name:"toggleControlPanel",props:{modelValue:{type:Boolean,default:!1},appearance:{type:String,default:"iconPlain"},size:{type:String,default:"default"},icon:{type:[String,Array],default:"tui-icon ti-cog"},showLabel:{type:Boolean,default:!1},label:{type:String,default:null},direction:{type:String,default:"h"}},emits:["change","update:modelValue"],setup(e,{emit:t}){const{proxy:l,proxy:{$tState:a,$tService:i}}=Ue(),{controlPanelToggle:A,$controlPanel:o,$globalConfig:n,i18n:s}=i,d=e,u=t,c=k(!1),p=k(!1);F((()=>o.value.visible),(e=>{c.value=e,u("update:modelValue",e),u("change",e)}));const v=e=>{c.value&&A()},f=m((()=>d.label?d.label:s("controlPanel.title")));return fe((()=>{null!=d.modelValue?(c.value=d.modelValue,o.value.show=d.modelValue):c.value=o.value.show,p.value=!0})),(t,l)=>(r(),g("div",{class:T(`tui-toggle-ctrlpanel direction-${e.direction}`)},[e.showLabel?(r(),g("div",$y,G(f.value),1)):q("",!0),p.value?(r(),Y(Xl,{key:1,appearance:e.appearance,size:e.size,icon:e.icon,onClick:v,modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=e=>c.value=e)},null,8,["appearance","size","icon","modelValue"])):q("",!0)],2))}}),Sy={key:0,class:"toggle-label"},Ty=Object.assign({name:"TuiT3DPanelToggle"},{__name:"toggleT3DPanel",props:{modelValue:{type:Boolean,default:!1},appearance:{type:String,default:"iconPlain"},size:{type:String,default:"default"},icon:{type:[String,Array],default:["tui-icon ti-grid","tui-icon ti-cube"]},showLabel:{type:Boolean,default:!1},label:{type:String,default:null},direction:{type:String,default:"h"}},emits:["change","update:modelValue"],setup(e,{emit:t}){const{proxy:{$tState:l,$tService:a}}=Ue(),{$gT3D:i,$globalConfig:A,i18n:o}=a,n=e,s=t,d=k(!1),u=k(!1);F((()=>A.value.t3D),(e=>{d.value=e,s("update:modelValue",e),s("change",e)}));const c=()=>{A.value.t3D=d.value},p=m((()=>n.label?n.label:o("controlPanel.label.t3D")));return fe((()=>{(n.modelValue!=i.value||d.value!=i.value)&&(d.value=i.value,s("update:modelValue",i.value)),u.value=!0})),(t,l)=>(r(),g("div",{class:T(`tui-toggle-t3d direction-${e.direction}`)},[e.showLabel?(r(),g("div",Sy,G(p.value),1)):q("",!0),u.value?(r(),Y(Xl,{key:1,appearance:e.appearance,size:e.size,icon:e.icon,onClick:c,modelValue:d.value,"onUpdate:modelValue":l[0]||(l[0]=e=>d.value=e)},null,8,["appearance","size","icon","modelValue"])):q("",!0)],2))}}),By=["viewBox","width","height"],xy=["opacity","stroke-width"],Py=["x2","y1","y2"],Ry=["x1","x2","y1","y2"],zy=["x1","x2","y2"],Iy=["x1","x2","y1","y2"],Ny=["opacity","stroke-width"],Dy=["x1","x2","y1","y2"],_y=["x1","x2","y1","y2"],Oy={key:0},My={class:"tui-dot-h"},Ey=["cx","cy"],Ly=["cx","cy"],Wy={class:"tui-dot-v"},jy=["cx","cy"],Gy=["cx","cy"],Fy=["cx","cy"],Hy=["cx","cy","r"],Qy=["x","y","width","height"],Uy=["transform"],Yy={"text-anchor":"end","dominant-baseline":"end",class:"cursorX"},Ky={"text-anchor":"start","dominant-baseline":"end",class:"cursorY"},Xy=Object.assign({name:"TuiCrosshair"},{__name:"index",props:{crosshairRadius:{type:Number,default:40},lineStroke:{type:Number,default:.2},lineOpacity:{type:Number,default:1},scopeShape:{type:String,default:"rect",validator:e=>["rect","circle"].includes(e)},aimingPoint:{type:String,default:"center",validator:e=>["side","center"].includes(e)},coordinates:{type:Boolean,default:!0}},setup(e){const t=e,l=Ce("crosshair"),a=k(!0),i=k(0),A=k(0),o=k(window.innerWidth),n=k(window.innerHeight),d=k(null),u=e=>{d.value&&(i.value=e.clientX,A.value=e.clientY)},c=()=>{o.value=window.innerWidth,n.value=window.innerHeight},p=m((()=>ce("cpt-cross",{textoffset:-(t.crosshairRadius+5)+"px"})));return fe((()=>{a.value=!1,xe.add(window,"mousemove",u,l),xe.add(window,"resize",c,l),i.value=o.value/2,A.value=n.value/2})),tt((()=>{a.value=!0,xe.remove(window,"mousemove",l),xe.remove(window,"resize",l)})),Ct((()=>{})),(t,l)=>a.value?q("",!0):(r(),Y(mt,{key:0,to:"#tuiRoot",fallback:"#app",disabled:a.value},[(r(),g("svg",{class:"tui-crosshair",ref_key:"svgRef",ref:d,viewBox:`0 0 ${o.value} ${n.value}`,width:o.value,height:n.value,style:re(p.value)},[s("g",{class:"tui-long-line",opacity:e.lineOpacity,"stroke-width":e.lineStroke},[s("line",{x1:0,x2:i.value-e.crosshairRadius,y1:A.value,y2:A.value},null,8,Py),s("line",{x1:i.value+e.crosshairRadius,x2:o.value,y1:A.value,y2:A.value},null,8,Ry),s("line",{x1:i.value,x2:i.value,y1:0,y2:A.value-e.crosshairRadius},null,8,zy),s("line",{x1:i.value,x2:i.value,y1:A.value+e.crosshairRadius,y2:n.value},null,8,Iy)],8,xy),s("g",{class:"tui-short-line",opacity:e.lineOpacity,"stroke-width":2*e.lineStroke},[s("line",{x1:i.value-e.crosshairRadius,x2:i.value+e.crosshairRadius,y1:A.value,y2:A.value},null,8,Dy),s("line",{x1:i.value,x2:i.value,y1:A.value-e.crosshairRadius,y2:A.value+e.crosshairRadius},null,8,_y)],8,Ny),"side"==e.aimingPoint?(r(),g("g",Oy,[s("g",My,[s("circle",{cx:i.value-e.crosshairRadius,cy:A.value,r:"2"},null,8,Ey),s("circle",{cx:i.value+e.crosshairRadius,cy:A.value,r:"2"},null,8,Ly)]),s("g",Wy,[s("circle",{cx:i.value,cy:A.value-e.crosshairRadius,r:"2"},null,8,jy),s("circle",{cx:i.value,cy:A.value+e.crosshairRadius,r:"2"},null,8,Gy)])])):(r(),g("circle",{key:1,class:"tui-aiming-point",cx:i.value,cy:A.value,r:"3"},null,8,Fy)),"circle"==e.scopeShape?(r(),g("circle",{key:2,class:"tui-center-circle",cx:i.value,cy:A.value,r:e.crosshairRadius},null,8,Hy)):(r(),g("rect",{key:3,class:"tui-center-rect",x:i.value-e.crosshairRadius,y:A.value-e.crosshairRadius,width:2*e.crosshairRadius,height:2*e.crosshairRadius,rx:"10",ry:"10"},null,8,Qy)),e.coordinates?(r(),g("g",{key:4,class:"tui-center-area",transform:`translate(${i.value},${A.value})`},[s("text",Yy,G(Math.round(i.value)),1),s("text",Ky,G(Math.round(A.value)),1)],8,Uy)):q("",!0)],12,By))],8,["disabled"]))}}),Zy=["src"],Jy={class:"tui-login-inner"},eb={class:"logo-section"},tb={class:"tui-form-wrap"},lb={class:"captcha-img-container"},ab=["src"],nb={key:1,class:"captcha-error"},ob={class:"help-section"},ib={class:"button-group"},sb=Object.assign({name:"TuiLogin"},{__name:"index",props:{form:{type:Object,required:!0,validator:e=>e&&["username","password"].every((t=>t in e))},usernamePlaceholder:String,passwordPlaceholder:String,captchaPlaceholder:String,loginButtonText:String,helpText:String,forgetText:String,loading:{type:Boolean,default:!1},enableCaptcha:{type:Boolean,default:!0},captchaImg:{type:String,default:"ERROR"},rules:Object,formSize:{type:String,default:"large",validator:e=>["small","default","large"].includes(e)},position:{type:String,default:"center",validator:e=>["center","left","right"].includes(e)},backgroundType:{type:String,default:"vector",validator:e=>["image","gradient","vector"].includes(e)},backgroundImage:String},emits:["login","help","forget","validate","captchaError"],setup(e,{expose:t,emit:l}){const{proxy:{$tMessage:a},$backgroundConfig:i,i18n:A,$gBackground:o,$globalConfig:n}=me("$global",null),u=e,c=m((()=>u.usernamePlaceholder||A("login.placeholder.username"))),p=m((()=>u.passwordPlaceholder||A("login.placeholder.password"))),v=m((()=>u.captchaPlaceholder||A("login.placeholder.captcha"))),f=m((()=>u.loginButtonText||A("login.button.login"))),h=m((()=>u.helpText||A("login.button.help"))),y=m((()=>u.forgetText||A("login.button.forget"))),V=k(null),b=l,w=m((()=>u.form.username&&u.form.password&&(!u.enableCaptcha||u.form.captcha))),x=async()=>{if(w.value)try{await V.value.validate()&&b("login",{...u.form})}catch{a({content:A("login.message.faild"),type:"warning"})}},C=()=>{b("help")},S=()=>{b("forget")},B=()=>{b("captchaError")};t({resetForm:()=>{V.value.resetFields()}});const $=m((()=>u.rules||{username:[{required:!0,message:A("login.placeholder.username"),trigger:"blur"},{min:4,max:24,message:A("login.rules.length",{min:4,max:20}),trigger:"blur"}],password:[{required:!0,message:A("login.placeholder.password"),trigger:"blur"},{min:6,max:24,message:A("login.rules.length",{min:6,max:20}),trigger:"blur"}],captcha:[{required:!0,message:A("login.placeholder.captcha"),trigger:"blur"},{min:4,max:6,message:A("login.rules.length",{min:4,max:6}),trigger:"blur"}]})),z=Ve({config:{labelHide:!0,size:m((()=>u.formSize))},items:[{prop:"username",prefixIcon:"tui-icon ti-user",placeholder:c},{prop:"password",type:"password",prefixIcon:"tui-icon ti-lock",placeholder:p},{prop:"captcha",prefixIcon:"tui-icon ti-shield",placeholder:v,isCaptcha:!0}]});return F((()=>u.backgroundType),(e=>{"vector"==e&&"none"==o.value&&(n.value.background="all")}),{immediate:!0}),(t,l)=>{const a=be("TuiLoadingArea"),i=be("TuiInput"),A=be("TuiFormItem"),n=be("TuiForm"),c=be("TuiButton");return r(),g("div",{class:T(["tui-login",{"tui-view-bg":("view"==d(o)||"all"==d(o))&&"vector"==e.backgroundType,"tui-root-bg":"root"==d(o)&&"vector"==e.backgroundType}])},[e.backgroundImage&&"image"==e.backgroundType?(r(),g("img",{key:0,class:"tui-login-bg",src:e.backgroundImage,alt:""},null,8,Zy)):q("",!0),s("div",{class:T(["tui-login-locator",`tui-pos-${e.position}`])},[(r(),Y(it(t.$slots.border?t.$slots.border()[0].type:"div"),Pe({class:["tui-login-border",t.$slots.border?"is-outside-border":"is-native-border"]},{...t.$slots.border?t.$slots.border()[0].props:{}}),{default:_((()=>[s("div",Jy,[ne(a,{"model-value":u.loading,mask:!0},null,8,["model-value"]),s("div",eb,[K(t.$slots,"logo",{},(()=>[l[0]||(l[0]=s("div",{class:"default-logo"},[s("h2",null,"Login")],-1))]))]),s("div",tb,[ne(n,Pe({ref_key:"formRef",ref:V,model:e.form},z.config,{rules:$.value,labelHide:""}),{default:_((()=>[(r(!0),g(J,null,ke(z.items,(l=>(r(),g(J,{key:l.prop},["captcha"!=l.prop||e.enableCaptcha&&"captcha"==l.prop?(r(),Y(A,{key:0,prop:l.prop},{default:_((()=>["captcha"!=l.prop?(r(),Y(i,{key:0,modelValue:e.form[l.prop],"onUpdate:modelValue":t=>e.form[l.prop]=t,placeholder:l.placeholder,type:l.type||"text",onKeyup:ua(x,["enter"])},{prefix:_((()=>[s("i",{class:T(l.prefixIcon)},null,2)])),_:2},1032,["modelValue","onUpdate:modelValue","placeholder","type"])):(r(),Y(i,{key:1,modelValue:e.form[l.prop],"onUpdate:modelValue":t=>e.form[l.prop]=t,placeholder:l.placeholder,onKeyup:ua(x,["enter"])},{prefix:_((()=>[s("i",{class:T(l.prefixIcon)},null,2)])),suffix:_((()=>[s("div",lb,["ERROR"!==e.captchaImg?(r(),g("img",{key:0,src:e.captchaImg,class:"captcha-img",onError:B},null,40,ab)):(r(),g("span",nb,G(e.captchaImg),1)),K(t.$slots,"captcha-suffix")])])),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"]))])),_:2},1032,["prop"])):q("",!0)],64)))),128)),K(t.$slots,"input")])),_:3},16,["model","rules"]),s("div",ob,[s("span",{class:"help-link",onClick:C},G(h.value),1),s("span",{class:"forgot-link",onClick:S},G(y.value),1)]),s("div",ib,[ne(c,{disabled:!w.value||e.loading,type:"primary",block:"",onClick:x,size:e.formSize},{default:_((()=>[Re(G(f.value),1)])),_:1},8,["disabled","size"])])])]),K(t.$slots,"extra")])),_:3},16,["class"]))],2)],2)}}}),rb=Object.assign({name:"TuiLangToggle"},{__name:"index",props:{direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)},langs:{type:Array,default:()=>["zh-CN","zh-TW","en"]},size:{type:String,default:"default",validator:e=>["small","default","large"].includes(e)},itemWidth:Number},emits:["change","update:modelValue"],setup(e,{emit:t}){const l=e,a=t,{$gLang:i,switchLang:A}=me("$global",null)||{},o={"zh-CN":{label:"简中",value:"zh-CN"},"zh-TW":{label:"繁中",value:"zh-TW"},en:{label:"EN",value:"en"}},n=m((()=>i?.value||"zh-CN")),s=m((()=>{const e=Array.isArray(l.langs)?l.langs:[],t=[...new Set(e)].map((e=>o[e])).filter(Boolean);return t.length?t:Object.values(o)})),d=async e=>{!A||n.value===e||(await A(e),a("update:modelValue",e),a("change",e))};return(t,l)=>{const a=be("TuiRadio");return he((r(),Y(a,{class:"tui-lang-toggle","class-name":"tui-lang-toggle",appearance:"button",itemWidth:e.itemWidth,"default-icon":!1,direction:e.direction,size:e.size,"model-value":n.value,options:s.value,onChange:d},null,8,["itemWidth","direction","size","model-value","options"])),[[Te,s.value.length>1]])}}}),Ab=Object.assign({name:"TuiIconLogo"},{__name:"index",props:{size:Number,padding:Number,appearance:{type:String,default:"colorful",validator:e=>["colorful","white","black","weakest","strongest","custom"].includes(e)}},setup(e){const{$tc:t}=me("$global"),l=e,a=m((()=>ce("cpt-logo-icon",{...l.size&&{size:l.size+"px"},...l.padding&&{pd:l.padding+"px"},..."strongest"==l.appearance&&{color:t("tone.strongest")},..."weakest"==l.appearance&&{color:t("tone.weakest")}})));return(t,l)=>(r(),g("div",{class:T(["tui-logo-icon",`tui-appea-${e.appearance}`]),style:re(a.value)},[...l[0]||(l[0]=[Li('<div class="tui-logo-inner"><i class="tui-icon ti-techui-lb-part"></i><i class="tui-icon ti-techui-lt-part"></i><i class="tui-icon ti-techui-rb-part"></i><i class="tui-icon ti-techui-rt-part"></i></div>',1)])],6))}}),ub=["src"],db={class:"text-main"},cb={key:0,class:"text-sub"},fb=Object.assign({name:"TuiSystemLogo"},{__name:"system",props:{logoSize:Number,logoPadding:Number,textSize:Number,iconAppearance:{type:String,default:"colorful",validator:e=>["colorful","white","black","weakest","strongest","custom"].includes(e)},textAppearance:{type:String,default:"fontBase",validator:e=>["fontBase","white","black","weakest","strongest","custom"].includes(e)},direction:{type:String,default:"h",validator:e=>["v","h"].includes(e)},tag:String,collapse:Boolean,iconLogo:String,iconSrc:String,mainText:String,subText:String,tagConfig:Object},setup(e){const{$gSiderCollapse:t,$gPlatform:l,$tc:a}=me("$global"),i=dt(),A=e,o=m((()=>({type:"danger",tone:"strong",size:"small",...A.tagConfig}))),n=m((()=>ce("cpt-logo-sys",{...A.textSize&&{tsize:A.textSize+"px"},..."strongest"==A.textAppearance&&{color:a("tone.strongest")},..."weakest"==A.textAppearance&&{color:a("tone.weakest")}}))),u=m((()=>ce("cpt-logo-sys-icon",{...A.logoSize&&{size:A.logoSize+"px"},..."strongest"==A.iconAppearance&&{color:a("tone.strongest")},..."weakest"==A.iconAppearance&&{color:a("tone.weakest")}}))),c=m((()=>A.mainText||"TechUI")),p=m((()=>void 0!==A.subText?A.subText:Rl.upper1st(l.value))),v=m((()=>"h"==A.direction&&!(t.value||A.collapse)||"v"==A.direction)),f=m((()=>i.icon||A.iconLogo||A.iconSrc));return(t,l)=>{const a=be("TuiIconLogo"),m=be("TuiTag");return r(),g("div",{class:T(["tui-logo-system",`tui-dir-${e.direction}`,`tui-appea-${e.textAppearance}`]),style:re(n.value)},[f.value?(r(),g("div",{key:1,class:T(["tui-logo-custom-icon"]),style:re(u.value)},[d(i).icon?K(t.$slots,"icon",{key:0}):e.iconLogo?(r(),g("i",{key:1,class:T([e.iconLogo])},null,2)):e.iconSrc?(r(),g("img",{key:2,src:e.iconSrc,class:"tui-logo-img",alt:"logo"},null,8,ub)):q("",!0)],4)):(r(),Y(a,{key:0,size:A.logoSize,padding:A.logoPadding,appearance:A.iconAppearance},null,8,["size","padding","appearance"])),v.value?(r(),g("div",{key:2,class:T(["tui-logo-text",`tui-appea-${e.textAppearance}`])},[K(t.$slots,"text",{},(()=>[s("span",db,G(c.value),1),p.value?(r(),g("span",cb,G(p.value),1)):q("",!0)])),e.tag?(r(),Y(m,Pe({key:0,class:"tui-logo-tag"},o.value),{default:_((()=>[Re(G(e.tag),1)])),_:1},16)):q("",!0)],2)):q("",!0)],6)}}}),pb=["data-fallback"],gb=["src","alt"],hb=Object.assign({name:"TuiSvgInjector"},{__name:"index",props:{src:{type:String,default:""},alt:{type:String,default:""},options:{type:Object,default:()=>({})},fallback:{type:String,default:"img",validator:e=>["img","hide","slot"].includes(e)},width:Number,height:Number,padding:Number,color:String},emits:["load","error"],setup(e,{expose:t,emit:l}){const a=e,i=l,A=k(null),o=k("idle"),n=m((()=>"loading"===o.value)),s=m((()=>"loaded"===o.value)),d=m((()=>"error"===o.value));t({isLoading:n,isLoaded:s,isError:d});let u=!1;const c=()=>{!a.src||u||(u=!0,o.value="loading",oe((()=>{u=!1,A.value&&Yi(A.value,a.options,(e=>{if("string"==typeof e)return o.value="error",void i("error",e);e instanceof Element&&(null!=a.width&&e.setAttribute("width",String(a.width)),null!=a.height&&e.setAttribute("height",String(a.height))),o.value="loaded",i("load",e)}))})))};F((()=>a.src),(e=>{e&&c()}),{immediate:!0}),fe((()=>{"idle"===o.value&&a.src&&c()}));const p=m((()=>ce("cpt-svginj",{...null!=a.width&&{w:a.width+"px"},...null!=a.height&&{h:a.height+"px"},...null!=a.padding&&{pd:a.padding+"px"},...a.color&&{color:a.color}})));return(t,l)=>(r(),g("div",{class:T(["tui-svg-injector-wrap",{"tui-svginj-loading":n.value,"tui-svginj-loaded":s.value,"tui-svginj-error":d.value,"tui-svginj-custom":e.color}]),"data-fallback":e.fallback,style:re(p.value)},[d.value&&"slot"===e.fallback?K(t.$slots,"default",{key:0}):(r(),g("img",{key:1,ref_key:"svgEle",ref:A,class:"tui-svg-ele",src:e.src,alt:e.alt},null,8,gb))],14,pb))}}),vb=Object.assign({name:"TuiTextGradient"},{__name:"index",props:{fontSize:Number,gradientType:{type:String,default:"linear",validator:e=>["linear","radial","conic"].includes(e)},colors:{type:Array,default:null,validator:e=>!e||"array"==ze(e)&&(e.length>=2&&e.every((e=>CSS.supports("color",e))))},angle:{type:Number,default:0,validator:e=>e>=0&&e<=360},fontWeight:{type:String,default:null,validator:e=>["normal","bold","bolder","lighter"].includes(e)},animated:{type:Boolean,default:!1},animationType:{type:String,default:"swap",validator:e=>["swap","flow","rotate"].includes(e)},duration:{type:Number,default:3e3}},setup(e){const t=e,l=m((()=>t.colors?.length?t.animated?"swap"==t.animationType?[...t.colors,...[...t.colors].reverse()]:"flow"==t.animationType?[...t.colors,...t.colors]:t.colors:t.colors:null)),a=m((()=>{const e=l.value||t.colors;if(!e?.length)return null;const a=e.join(", ");switch(t.gradientType){case"linear":return`linear-gradient(${t.angle}deg, ${a})`;case"radial":return`radial-gradient(circle, ${a})`;case"conic":return`conic-gradient(from ${t.angle}deg, ${a})`;default:return`linear-gradient(${t.angle}deg, ${a})`}})),i=m((()=>t.animated?"flow"==t.animationType?"200% 100%":"rotate"==t.animationType?"220% 220%":"200% 200%":null)),A=m((()=>ce("cpt-txtg",{...t.fontWeight&&{fw:t.fontWeight},...t.fontSize&&{fz:t.fontSize+"px"},...t.colors&&{bg:a.value},...t.animated&&{dur:t.duration+"ms"},...i.value&&{bgsz:i.value}}))),o=m((()=>["tui-text-grad",{"is-animated":t.animated,"ani-swap":t.animated&&"swap"==t.animationType,"ani-flow":t.animated&&"flow"==t.animationType,"ani-rotate":t.animated&&"rotate"==t.animationType}]));return(e,t)=>(r(),g("span",{class:T(o.value),style:re(A.value)},[K(e.$slots,"default")],6))}}),mb=["onClick","title"],yb={key:0,class:"tui-icon ti-check"},bb={class:"colors-wrap"},Vb=Object.assign({name:"TuiThemeToggle"},{__name:"index",props:{direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)}},emits:["change"],setup(e,{emit:t}){const{$tState:l,themeToggle:a,$gTheme:i}=me("$global",null),A=t,o=Ve({curTheme:"lightBlue",themes:[]});return F((()=>i.value),(e=>{e!=o.curTheme&&(o.curTheme=i.value)})),fe((()=>{o.themes=gl.loadIndex(),o.curTheme=i.value})),St((()=>{})),(t,l)=>he((r(),g("div",{class:T(["tui-theme-toggle",""+("h"==e.direction?"tui-dir-h":"tui-dir-v")])},[(r(!0),g(J,null,ke(o.themes,(e=>(r(),g("div",{key:e.value,class:T(["tui-sim-radio-item",{active:o.curTheme===e.value}]),onClick:t=>(e=>{o.curTheme!=e.value&&(A("change",e.value),o.curTheme=e.value,a(e.value,e.scheme))})(e),title:e.label||e.value},[o.curTheme===e.value?(r(),g("i",yb)):q("",!0),s("div",bb,[(r(!0),g(J,null,ke(e.colors,(e=>(r(),g("span",{class:"color-item",style:re(`background-color:${e}`)},null,4)))),256))])],10,mb)))),128))],2)),[[Te,o.themes.length>1]])}}),wb=["src","alt"],qb=Object.assign({name:"TuiThemeImage"},{__name:"index",props:{type:{type:String,default:"themeScheme",validator:e=>["theme","themeScheme"].includes(e)},srcMap:{type:Object,default:()=>({})},fallback:String,alt:{type:String,default:""},fit:{type:String,default:"cover",validator:e=>["fill","contain","cover","none","scale-down"].includes(e)},width:[String,Number],height:[String,Number],radius:[String,Number]},emits:["load","error"],setup(e,{expose:t,emit:l}){const a=e,i=l,A=me("$global",null)||{},o=A.$gTheme,n=A.$gThemeScheme,d=m((()=>"theme"===a.type?o?.value||"":n?.value||"")),u=m((()=>{const e=a.srcMap?.[d.value];return e||(a.fallback?a.fallback:Object.values(a.srcMap||{}).find(Boolean)||"")})),c=m((()=>ce("cpt-theme-img",{...null!=a.width&&{width:ze.join("number",a.width,"px")},...null!=a.height&&{height:ze.join("number",a.height,"px")},...null!=a.radius&&{radius:ze.join("number",a.radius,"px")}}))),p=e=>i("load",e),v=e=>i("error",e);return t({currentKey:d,currentSrc:u}),(t,l)=>(r(),g("div",{class:"tui-theme-image",style:re(c.value)},[u.value?(r(),g("img",{key:0,class:"tui-theme-image-inner",src:u.value,alt:e.alt,style:re({objectFit:e.fit}),draggable:"false",onLoad:p,onError:v},null,44,wb)):K(t.$slots,"empty",{key:1},(()=>[l[0]||(l[0]=s("div",{class:"tui-theme-image-empty"},null,-1))]))],4))}}),Cb=Object.assign({name:"TuiPassThrough",inheritAttrs:!1},{__name:"index",setup:e=>(e,t)=>K(e.$slots,"default")}),$b=Object.assign({name:"ScifiTabs"},{__name:"scifiTabs",props:{modelValue:[String,Number],options:{type:Array,default:()=>[],validator:e=>e.every((e=>{const t=Object.prototype.hasOwnProperty.call(e,"label"),l=Object.prototype.hasOwnProperty.call(e,"value");return t&&l}))},buttonConfig:Object,gap:Number,direction:{type:String,default:"h",validator:e=>["h","v"].includes(e)},buttonType:{type:String,default:"ScifiButtonHex",validator:e=>["ScifiButtonHex","ScifiButtonPod","ScifiButtonDash","ScifiButtonExo","ScifiButtonFin","ScifiButtonA1","ScifiButtonA2","ScifiButtonA3","ScifiButtonA4","ScifiButtonA5"].includes(e)}},emits:["update:modelValue","change"],setup(e,{emit:t}){const l=e,a=t,i=m((()=>ce("cpt-sf-tabs",{...l.gap&&{gap:l.gap+"px"}})));return(t,l)=>(r(),g("div",{style:re(i.value),class:T(["scifi-tabs-wrap",`scifi-dir-${e.direction}`])},[(r(!0),g(J,null,ke(e.options,(t=>(r(),Y(it(e.buttonType),Pe({key:t.value,onClick:e=>(e=>{a("update:modelValue",e),a("change",e)})(t.value),class:"scifi-tab-item "+(e.modelValue===t.value?"is-active":"")},{ref_for:!0},{activeIsPrimary:!0,...e.buttonConfig}),{default:_((()=>[Re(G(t.label),1)])),_:2},1040,["onClick","class"])))),128))],6))}}),rl={backgroundOpacity:Number,width:Number,className:String,aniDuration:Number,borderWidth:Number,animation:{type:Boolean,default:!0},decoration:{type:Boolean,default:!0},border:{type:Boolean,default:!0},decorationColorAlt:{type:Boolean,default:!1},appearance:{type:String,default:"A",validator:e=>["A","B","C","D"].includes(e)},directionAlt:{type:Boolean,default:!1},size:{type:String,default:"default",validator:e=>["large","default","small"].includes(e)},type:{type:String,default:"default",validator:e=>["default","primary","success","warning","danger","emphasis"].includes(e)},activeIsPrimary:{type:Boolean,default:!1},shadowType:{type:String,default:"drop",validator:e=>["drop","t3d","none"].includes(e)},disabled:{type:Boolean,default:!1},glow:{type:Boolean,default:!0},glowRange:Number,glowOpacity:Number,scaleAction:{type:Boolean,default:!0}},kb=["id"],Sb=["stdDeviation"],Yt=Object.assign({name:"SVGDefs"},{__name:"SVGDefs",props:{uid:{type:String,required:!0},glowRange:{type:Number,default:5}},setup:e=>(t,l)=>(r(),g("defs",null,[s("filter",{id:`bgGlow_${e.uid}`},[s("feGaussianBlur",{in:"SourceAlpha",stdDeviation:e.glowRange,result:"blur"},null,8,Sb),l[0]||(l[0]=s("feComposite",{in2:"SourceAlpha",operator:"arithmetic",k2:"-1",k3:"1",result:"shadowDiff"},null,-1)),l[1]||(l[1]=s("feFlood",null,null,-1)),l[2]||(l[2]=s("feComposite",{in2:"shadowDiff",operator:"in"},null,-1)),l[3]||(l[3]=s("feComposite",{in2:"SourceGraphic",operator:"over",result:"firstfilter"},null,-1))],8,kb)]))}),Tb={width:32,height:"60",class:"sfb-deco-appea-a"},Bb=["d"],xb=["d"],Pb=["d"],Rb={width:32,height:"60",class:"sfb-deco-appea-b"},zb=["d"],Ib=["d"],Nb={width:32,height:"60",class:"sfb-deco-appea-c"},Db=["d"],_b=["width"],Ob=["filter","d"],Mb=Object.assign({name:"ScifiButtonA1"},{__name:"A1",props:{...rl},setup(e){const t=e,l=k(null),a=Ce("sfBtn"),i=k(!1),A=k(!1),o=Ve({resizing:!1,width:0,path:{}}),{path:n}=Le(o),u=m((()=>{let e=0;return"small"==t.size&&(e=20),"large"==t.size&&(e=-20),o.width+e})),c=()=>{const e=l.value;e&&(o.width=t.width?t.width:e.clientWidth,(async()=>{o.path=Ge(ei(u.value)),await oe(),i.value=!0})())},p=m((()=>ce("cpt-btn",{...o.width&&{width:o.width+"px"},...t.borderWidth&&{bdw:t.borderWidth+"px"},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.glowOpacity&&{glowop:t.glowOpacity},...t.aniDuration&&{anidur:t.aniDuration+"s"},bggrad:`url(#${a})`})));return fe((()=>{A.value=!0,oe((()=>{c()}))})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-button-a1",`scifi-type-${e.type}`,"sf-svg-button","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),`sfb-size-${e.size}`,`sfb-appea-${e.appearance}`,{"active-is-primary":e.activeIsPrimary,"is-disabled":e.disabled,"is-deco-color-alt":e.decorationColorAlt,"dis-scale":!e.scaleAction}]),style:re(p.value),ref_key:"btnRef",ref:l},[s("span",{onClick:t[0]||(t[0]=(...t)=>e.oriClick&&e.oriClick(...t)),class:"sfb-text"},[K(e.$slots,"default")]),i.value?(r(),g("div",{key:0,class:T(["sfb-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},["A"==e.appearance?(r(),g(J,{key:0},ke(2,(e=>s("svg",Tb,[s("path",{class:"sfb-deco-a",d:d(n).A_decoA},null,8,Bb),s("path",{class:"sfb-deco-b",d:d(n).A_decoB},null,8,xb),s("path",{class:"sfb-deco-c",d:d(n).A_decoC},null,8,Pb)]))),64)):q("",!0),"B"==e.appearance?(r(),g(J,{key:1},ke(2,(e=>s("svg",Rb,[s("path",{class:"sfb-deco-a",d:d(n).B_decoA},null,8,zb),s("path",{class:"sfb-deco-b",d:d(n).B_decoB},null,8,Ib)]))),64)):q("",!0),"C"==e.appearance?(r(),g(J,{key:2},ke(2,(e=>s("svg",Nb,[s("path",{class:"sfb-deco-a",d:d(n).C_deco},null,8,Db)]))),64)):q("",!0),(r(),g("svg",{width:e.width,height:"60",class:"sfb-svg-elem"},[ne(Yt,{uid:d(a),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${d(a)})`,d:d(n).mainBG},null,8,Ob)],8,_b))],2)):q("",!0)],6),[[Te,A.value]])])),_:3}))}}),Eb=["width"],Lb=["filter","d"],Wb={width:32,height:"60",class:"sfb-deco-appea-a"},jb=["d"],Gb=["d"],Fb=["d"],Hb=["d"],Qb={width:32,height:"60",class:"sfb-deco-appea-b"},Ub=["d"],Yb=["d"],Kb=Object.assign({name:"ScifiButtonA2"},{__name:"A2",props:{...rl},setup(e){const t=e,l=k(null),a=Ce("sfBtn"),i=k(!1),A=k(!1),o=Ve({resizing:!1,width:0,path:{}}),{path:n}=Le(o),u=m((()=>{let e=0;return"small"==t.size&&(e=20),"large"==t.size&&(e=-20),o.width+e})),c=()=>{const e=l.value;e&&(o.width=e.clientWidth,(async()=>{o.path=Ge(ti(u.value)),await oe(),i.value=!0})())},p=m((()=>ce("cpt-btn",{...o.width&&{width:o.width+"px"},...t.borderWidth&&{bdw:t.borderWidth+"px"},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.glowOpacity&&{glowop:t.glowOpacity},...t.aniDuration&&{anidur:t.aniDuration+"s"},bggrad:`url(#${a})`})));return fe((()=>{A.value=!0,oe((()=>{c()}))})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-button-a2",`scifi-type-${e.type}`,"sf-svg-button","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),`sfb-size-${e.size}`,`sfb-appea-${e.appearance}`,{"active-is-primary":e.activeIsPrimary,"is-disabled":e.disabled,"is-deco-color-alt":e.decorationColorAlt,"dis-scale":!e.scaleAction}]),style:re(p.value),ref_key:"btnRef",ref:l},[s("span",{onClick:t[0]||(t[0]=(...t)=>e.oriClick&&e.oriClick(...t)),class:"sfb-text"},[K(e.$slots,"default")]),i.value?(r(),g("div",{key:0,class:T(["sfb-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{width:e.width,height:"60",class:"sfb-svg-elem"},[ne(Yt,{uid:d(a),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${d(a)})`,d:d(n).mainBG},null,8,Lb)],8,Eb)),"A"==e.appearance?(r(),g(J,{key:0},ke(2,(e=>s("svg",Wb,[s("path",{class:"sfb-deco-a",d:d(n).A_decoAt},null,8,jb),s("path",{class:"sfb-deco-a",d:d(n).A_decoAb},null,8,Gb),s("path",{class:"sfb-deco-b",d:d(n).A_decoB},null,8,Fb),s("path",{class:"sfb-deco-c",d:d(n).A_decoC},null,8,Hb)]))),64)):q("",!0),"B"==e.appearance?(r(),g(J,{key:1},ke(2,(e=>s("svg",Qb,[s("path",{class:"sfb-deco-a",d:d(n).B_decoA},null,8,Ub),s("path",{class:"sfb-deco-a",d:d(n).B_decoB},null,8,Yb)]))),64)):q("",!0)],2)):q("",!0)],6),[[Te,A.value]])])),_:3}))}}),Xb=["width"],Zb={key:0,class:"sfb-deco-appea-a"},Jb=["d"],eV=["d"],tV=["d"],lV=["d"],aV=["d"],nV=["d"],oV=["d"],iV={key:1,class:"sfb-deco-appea-b"},sV=["d"],rV=["d"],AV=["d"],uV=["d"],dV=["d"],cV=["d"],fV=["d"],pV=["d"],gV=["filter","d"],hV=Object.assign({name:"ScifiButtonA3"},{__name:"A3",props:{...rl},setup(e){const t=e,l=k(null),a=Ce("sfBtn"),i=k(!1),A=k(!1),o=Ve({resizing:!1,width:0,path:{}}),{path:n}=Le(o),u=m((()=>{let e=0;return"small"==t.size&&(e=20),"large"==t.size&&(e=-20),o.width+e})),c=()=>{const e=l.value;e&&(o.width=e.clientWidth,(async()=>{o.path=Ge(li(u.value)),await oe(),i.value=!0})())},p=m((()=>ce("cpt-btn",{...o.width&&{width:o.width+"px"},...t.borderWidth&&{bdw:t.borderWidth+"px"},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.glowOpacity&&{glowop:t.glowOpacity},...t.aniDuration&&{anidur:t.aniDuration+"s"},bggrad:`url(#${a})`})));return fe((()=>{A.value=!0,oe((()=>{c()}))})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-button-a3",`scifi-type-${e.type}`,"sf-svg-button","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),`sfb-size-${e.size}`,`sfb-appea-${e.appearance}`,{"active-is-primary":e.activeIsPrimary,"is-disabled":e.disabled,"is-deco-color-alt":e.decorationColorAlt,"dis-scale":!e.scaleAction}]),style:re(p.value),ref_key:"btnRef",ref:l},[s("span",{onClick:t[0]||(t[0]=(...t)=>e.oriClick&&e.oriClick(...t)),class:"sfb-text"},[K(e.$slots,"default")]),i.value?(r(),g("div",{key:0,class:T(["sfb-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{width:e.width,height:"60",class:"sfb-svg-elem"},[ne(Yt,{uid:d(a),glowRange:e.glowRange},null,8,["uid","glowRange"]),"A"==e.appearance?(r(),g("g",Zb,[s("path",{class:"sfb-deco-lt",d:d(n).A_decoLT},null,8,Jb),s("path",{class:"sfb-deco-rt",d:d(n).A_decoRT},null,8,eV),s("path",{class:"sfb-deco-lb",d:d(n).A_decoLB},null,8,tV),s("path",{class:"sfb-deco-rb1",d:d(n).A_decoRB1},null,8,lV),s("path",{class:"sfb-deco-rb2",d:d(n).A_decoRB2},null,8,aV),s("path",{class:"sfb-deco-rb3",d:d(n).A_decoRB3},null,8,nV),s("path",{class:"sfb-deco-rb4",d:d(n).A_decoRB4},null,8,oV)])):q("",!0),"B"==e.appearance?(r(),g("g",iV,[s("path",{class:"sfb-deco-lt",d:d(n).B_decoLT},null,8,sV),s("path",{class:"sfb-deco-rb",d:d(n).B_decoRB},null,8,rV),s("path",{class:"sfb-deco-rt",d:d(n).B_decoRT},null,8,AV),s("path",{class:"sfb-deco-lb",d:d(n).B_decoLB},null,8,uV),s("path",{class:"sfb-deco-lt-rt",d:d(n).B_decoLT1},null,8,dV),s("path",{class:"sfb-deco-lt-rt",d:d(n).B_decoLT2},null,8,cV),s("path",{class:"sfb-deco-lt-rt",d:d(n).B_decoLT3},null,8,fV),s("path",{class:"sfb-deco-lt-rt",d:d(n).B_decoLT4},null,8,pV)])):q("",!0),s("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${d(a)})`,d:d(n).mainBG},null,8,gV)],8,Xb))],2)):q("",!0)],6),[[Te,A.value]])])),_:3}))}}),vV=["width"],mV=["filter","d"],yV={width:20,height:"60",class:"sfb-deco-appea-a"},bV=["d"],VV=["d"],wV=["d"],qV=["d"],CV=["width"],$V=["filter","d"],kV={width:20,height:"60",class:"sfb-deco-appea-b"},SV=["d"],TV=["d"],BV=["d"],xV=Object.assign({name:"ScifiButtonA4"},{__name:"A4",props:{...rl},setup(e){const t=e,l=k(null),a=Ce("sfBtn"),i=k(!1),A=k(!1),o=Ve({resizing:!1,width:0,path:{}}),{path:n}=Le(o),u=m((()=>{let e=0;return"small"==t.size&&(e=20),"large"==t.size&&(e=-20),o.width+e})),c=()=>{const e=l.value;e&&(o.width=e.clientWidth,(async()=>{o.path=Ge(ai(u.value)),await oe(),i.value=!0})())},p=m((()=>ce("cpt-btn",{...o.width&&{width:o.width+"px"},...t.borderWidth&&{bdw:t.borderWidth+"px"},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.glowOpacity&&{glowop:t.glowOpacity},...t.aniDuration&&{anidur:t.aniDuration+"s"},bggrad:`url(#${a})`})));return fe((()=>{A.value=!0,oe((()=>{c()}))})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-button-a4",`scifi-type-${e.type}`,"sf-svg-button","sf-svg-component",e.className,""+(i.value?"is-inited":"is-loading"),`sfb-size-${e.size}`,`sfb-appea-${e.appearance}`,{"active-is-primary":e.activeIsPrimary,"is-disabled":e.disabled,"is-deco-color-alt":e.decorationColorAlt,"dis-scale":!e.scaleAction}]),style:re(p.value),ref_key:"btnRef",ref:l},[s("span",{onClick:t[0]||(t[0]=(...t)=>e.oriClick&&e.oriClick(...t)),class:"sfb-text"},[K(e.$slots,"default")]),i.value?(r(),g("div",{key:0,class:T(["sfb-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},["A"==e.appearance?(r(),g(J,{key:0},[(r(),g("svg",{width:e.width,height:"60",class:"sfb-svg-elem"},[ne(Yt,{uid:d(a),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${d(a)})`,d:d(n).A_mainBG},null,8,mV)],8,vV)),(r(),g(J,null,ke(2,(e=>s("svg",yV,[s("path",{class:"sfb-deco-t1",d:d(n).A_decoT1},null,8,bV),s("path",{class:"sfb-deco-b1",d:d(n).A_decoB1},null,8,VV),s("path",{class:"sfb-deco-t1",d:d(n).A_decoT2},null,8,wV),1==e?(r(),g("path",{key:0,class:"sfb-deco-t3",d:d(n).A_decoT3},null,8,qV)):q("",!0)]))),64))],64)):q("",!0),"B"==e.appearance?(r(),g(J,{key:1},[(r(),g("svg",{width:e.width,height:"60",class:"sfb-svg-elem"},[ne(Yt,{uid:d(a),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${d(a)})`,d:d(n).B_mainBG},null,8,$V)],8,CV)),(r(),g(J,null,ke(2,(e=>s("svg",kV,[s("path",{class:"sfb-deco-a",d:d(n).B_decoA},null,8,SV),s("path",{class:"sfb-deco-b",d:d(n).B_decoB},null,8,TV),1==e?(r(),g("path",{key:0,class:"sfb-deco-c",d:d(n).B_decoC},null,8,BV)):q("",!0)]))),64))],64)):q("",!0)],2)):q("",!0)],6),[[Te,A.value]])])),_:3}))}}),PV=["width"],RV=["filter","d"],zV={width:40,height:"60",class:"sfb-deco-appea-a"},IV=["d"],NV=["width"],DV=["d"],Pl="sfBtn_8",_V=Object.assign({name:"ScifiButtonA5"},{__name:"A5",props:{...rl},setup(e){const t=e,l=k(null),a=k(!1),i=k(!1),A=Ve({resizing:!1,width:0,path:{}}),{path:o}=Le(A),n=m((()=>{let e=0;return"small"==t.size&&(e=20),"large"==t.size&&(e=-20),A.width+e})),u=()=>{const e=l.value;e&&(A.width=e.clientWidth,(async()=>{A.path=Ge(ni(n.value)),await oe(),a.value=!0})())},c=m((()=>ce("cpt-btn",{...A.width&&{width:A.width+"px"},...t.borderWidth&&{bdw:t.borderWidth+"px"},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.glowOpacity&&{glowop:t.glowOpacity},...t.aniDuration&&{anidur:t.aniDuration+"s"},bggrad:`url(#${Pl})`})));return fe((()=>{i.value=!0,oe((()=>{u()}))})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-button-a5",`scifi-type-${e.type}`,"sf-svg-button","sf-svg-component",e.className,""+(a.value?"is-inited":"is-loading"),`sfb-size-${e.size}`,`sfb-appea-${e.appearance}`,{"active-is-primary":e.activeIsPrimary,"is-disabled":e.disabled,"is-deco-color-alt":e.decorationColorAlt,"is-dir-alt":e.directionAlt,"dis-scale":!e.scaleAction}]),style:re(c.value),ref_key:"btnRef",ref:l},[s("span",{onClick:t[0]||(t[0]=(...t)=>e.oriClick&&e.oriClick(...t)),class:"sfb-text"},[K(e.$slots,"default")]),a.value?(r(),g("div",{key:0,class:T(["sfb-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{width:e.width,height:"60",class:"sfb-svg-elem"},[ne(Yt,{uid:Pl,glowRange:e.glowRange},null,8,["glowRange"]),s("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${Pl})`,d:d(o).mainBG},null,8,RV)],8,PV)),"A"==e.appearance?(r(),g(J,{key:0},ke(2,(e=>s("svg",zV,[s("path",{class:"decoration-B",d:d(o).decoA},null,8,IV)]))),64)):q("",!0),"B"==e.appearance?(r(),g("svg",{key:1,width:e.width,height:"60",class:"sfb-deco-appea-b"},[s("path",{class:"decoration-B",d:d(o).decoB},null,8,DV)],8,NV)):q("",!0)],2)):q("",!0)],6),[[Te,i.value]])])),_:3}))}}),Al={className:String,scale:Number,backgroundOpacity:Number,decoration:{type:Boolean,default:!0},decorationAlt:{type:Boolean,default:!1},decorationColorAlt:{type:Boolean,default:!1},decorationOpacity:Number,gradientBackground:{type:Boolean,default:!1},gradientReverse:{type:Boolean,default:!1},glow:{type:Boolean,default:!0},glowRange:Number,glowOpacity:Number,borderWidth:Number,width:{type:Number,default:300},height:{type:Number,default:150},directionAlt:{type:Boolean,default:!1},cornerAlt:Boolean,decoAltScale:Number,decoAltTransX:Number,decoAltTransY:Number,shadowType:{type:String,default:"drop",validator:e=>["drop","t3d","none"].includes(e)},borderd:{type:Boolean,default:!0}},OV=["id"],MV=["stdDeviation"],EV=["id"],ul=Object.assign({name:"SVGDefs"},{__name:"SVGDefs",props:{uid:{type:String,required:!0},glowRange:{type:Number,default:8}},setup:e=>(t,l)=>(r(),g("defs",null,[s("filter",{id:`bgGlow_${e.uid}`},[l[0]||(l[0]=s("feFlood",null,null,-1)),l[1]||(l[1]=s("feComposite",{in2:"SourceGraphic",operator:"out"},null,-1)),s("feGaussianBlur",{stdDeviation:e.glowRange,result:"blur"},null,8,MV),l[2]||(l[2]=s("feOffset",{dx:"0",dy:"0",result:"offsetblur"},null,-1)),l[3]||(l[3]=s("feComposite",{operator:"atop",in2:"SourceGraphic"},null,-1))],8,OV),s("linearGradient",{class:"sfg-bg-grad",id:`bgGrad${e.uid}`,x1:"0%",y1:"100%",x2:"0%",y2:"0%"},[...l[4]||(l[4]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,EV)]))}),LV={class:"sfg-slot-wrap"},WV={class:"sfg-slot-inner"},jV=["viewBox"],GV=["id"],FV=["d"],HV=["filter","d"],QV=["viewBox"],UV=["id"],YV=["d"],KV=["mask","d"],XV=["viewBox"],ZV=["d"],JV=Object.assign({name:"ScifiHexagon"},{__name:"Hexagon",props:{...Al},setup(e){const t=e,l=Ce("sfGeo"),a=k(!1),i=Ve({path:{}}),{path:A}=Le(i),o=m((()=>t.directionAlt?t.height:t.width)),n=m((()=>t.directionAlt?t.width:t.height)),u=m((()=>ce("cpt-geom",{...t.scale&&{scale:t.scale},...t.glowOpacity&&{glowop:t.glowOpacity},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.decorationOpacity&&{deop:t.decorationOpacity},...t.borderWidth&&{bdw:t.borderWidth+"px"},...t.decoAltTransX&&{datx:t.decoAltTransX*(t.directionAlt?-1:1)+"px"},...t.decoAltTransY&&{daty:t.decoAltTransY+"px"},...t.decoAltScale&&{dascale:t.decoAltScale},width:o.value+"px",height:n.value+"px",bggrad:`url(#bgGrad${l})`,bgmask:`url(#slotMask${l})`})));return fe((()=>{(async()=>{i.path=Ge(oi(o.value,n.value)),await oe(),a.value=!0})()})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-hexagon","sf-svg-geometry","sf-svg-component",e.className,""+(a.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),""+(e.directionAlt?"sfg-dir-alt-on":"sfg-dir-alt-off"),{"is-deco-color-alt":e.decorationColorAlt,"is-borderd":e.borderd,"is-borderless":!e.borderd}]),style:re(u.value),ref:"svgGeometry"},[s("div",LV,[s("div",WV,[K(e.$slots,"default")])]),a.value?(r(),g("div",{key:0,class:T(["sfg-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{class:"sfg-bg-wrap",viewBox:`0 0 ${o.value} ${n.value}`},[ne(ul,{uid:d(l),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("mask",{id:`slotMask${d(l)}`},[s("path",{fill:"white",d:d(A).mainBG},null,8,FV)],8,GV),s("path",{filter:e.glow&&`url(#bgGlow_${d(l)})`,d:d(A).mainBG},null,8,HV)],8,jV)),!e.decorationAlt&&e.decoration?(r(),g(J,{key:0},ke(2,(e=>s("svg",{class:"sfg-deco-a-elem",viewBox:`0 0 ${o.value} ${n.value}`},[s("defs",null,[s("mask",{id:`decoMask${d(l)}`},[s("path",{fill:"white",d:d(A).mask},null,8,YV)],8,UV)]),s("path",{mask:`url(#decoMask${d(l)})`,d:d(A).deco},null,8,KV)],8,QV))),64)):q("",!0),e.decorationAlt&&e.decoration?(r(),g("svg",{key:1,class:"sfg-deco-b-elem",viewBox:`0 0 ${o.value} ${n.value}`},[s("path",{d:d(A).mainBG},null,8,ZV)],8,XV)):q("",!0)],2)):q("",!0)],6),[[Te,a.value]])])),_:3}))}}),ew={class:"sfg-slot-wrap"},tw={class:"sfg-slot-inner"},lw=["viewBox"],aw=["filter","d"],nw=["id"],ow=["d"],iw=["viewBox"],sw=["id"],rw=["d"],Aw=["mask","d"],uw=["viewBox"],dw=["d"],cw=Object.assign({name:"ScifiParallelogram"},{__name:"Parallelogram",props:{...Al},setup(e){const t=e,l=Ce("sfGeo"),a=k(!1),i=Ve({path:{}}),{path:A}=Le(i),o=m((()=>ce("cpt-geom",{...t.scale&&{scale:t.scale},...t.glowOpacity&&{glowop:t.glowOpacity},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.decorationOpacity&&{deop:t.decorationOpacity},...t.borderWidth&&{bdw:t.borderWidth+"px"},...t.decoAltTransX&&{datx:t.decoAltTransX*(t.directionAlt?-1:1)+"px"},...t.decoAltTransY&&{daty:t.decoAltTransY+"px"},...t.decoAltScale&&{dascale:t.decoAltScale},width:t.width+"px",height:t.height+"px",bggrad:`url(#bgGrad${l})`,bgmask:`url(#slotMask${l})`})));return fe((()=>{(async()=>{i.path=Ge(ii(t.width,t.height)),await oe(),a.value=!0})()})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-parallelogram","sf-svg-geometry","sf-svg-component",e.className,""+(a.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),""+(e.directionAlt?"sfg-dir-alt-on":"sfg-dir-alt-off"),{"is-deco-color-alt":e.decorationColorAlt,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-revs-grad":e.gradientReverse}]),style:re(o.value),ref:"svgGeometry"},[s("div",ew,[s("div",tw,[K(e.$slots,"default")])]),a.value?(r(),g("div",{key:0,class:T(["sfg-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{class:"sfg-bg-wrap",viewBox:`0 0 ${e.width} ${e.height}`},[ne(ul,{uid:d(l)},null,8,["uid"]),s("path",{filter:e.glow&&`url(#bgGlow_${d(l)})`,d:e.cornerAlt?d(A).BmainBG:d(A).AmainBG},null,8,aw),s("mask",{id:`slotMask${d(l)}`},[s("path",{fill:"white",d:e.cornerAlt?d(A).BmainBG:d(A).AmainBG},null,8,ow)],8,nw)],8,lw)),!e.decorationAlt&&e.decoration?(r(),g(J,{key:0},ke(2,(t=>s("svg",{class:"sfg-deco-a-elem",viewBox:`0 0 ${e.width} ${e.height}`},[s("defs",null,[s("mask",{id:`decoMask${d(l)}`},[s("path",{fill:"white",d:e.cornerAlt?d(A).Bmask:d(A).Amask},null,8,rw)],8,sw)]),s("path",{mask:`url(#decoMask${d(l)})`,d:e.cornerAlt?d(A).Bdeco:d(A).Adeco},null,8,Aw)],8,iw))),64)):q("",!0),e.decorationAlt&&e.decoration?(r(),g("svg",{key:1,class:"sfg-deco-b-elem",viewBox:`0 0 ${e.width} ${e.height}`},[s("path",{d:e.cornerAlt?d(A).BmainBG:d(A).AmainBG},null,8,dw)],8,uw)):q("",!0)],2)):q("",!0)],6),[[Te,a.value]])])),_:3}))}}),fw={class:"sfg-slot-wrap"},pw={class:"sfg-slot-inner"},gw=["viewBox"],hw=["filter","d"],vw=["id"],mw=["d"],yw=["viewBox"],bw=["id"],Vw=["d"],ww=["mask","d"],qw=["viewBox"],Cw=["d"],$w=Object.assign({name:"ScifiRectangle"},{__name:"Rectangle",props:{...Al},setup(e){const t=e,l=Ce("sfGeo"),a=k(!1),i=Ve({path:{}}),{path:A}=Le(i),o=m((()=>ce("cpt-geom",{...t.scale&&{scale:t.scale},...t.glowOpacity&&{glowop:t.glowOpacity},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.decorationOpacity&&{deop:t.decorationOpacity},...t.borderWidth&&{bdw:t.borderWidth+"px"},...t.decoAltTransX&&{datx:t.decoAltTransX*(t.directionAlt?-1:1)+"px"},...t.decoAltTransY&&{daty:t.decoAltTransY+"px"},...t.decoAltScale&&{dascale:t.decoAltScale},width:t.width+"px",height:t.height+"px",bggrad:`url(#bgGrad${l})`,bgmask:`url(#slotMask${l})`})));return fe((()=>{(async()=>{i.path=Ge(si(t.width,t.height)),await oe(),a.value=!0})()})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-rectangle","sf-svg-geometry","sf-svg-component",e.className,""+(a.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),""+(e.directionAlt?"sfg-dir-alt-on":"sfg-dir-alt-off"),{"is-deco-color-alt":e.decorationColorAlt,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-revs-grad":e.gradientReverse}]),style:re(o.value),ref:"svgGeometry"},[s("div",fw,[s("div",pw,[K(e.$slots,"default")])]),a.value?(r(),g("div",{key:0,class:T(["sfg-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{class:"sfg-bg-wrap",viewBox:`0 0 ${e.width} ${e.height}`},[ne(ul,{uid:d(l)},null,8,["uid"]),s("path",{filter:e.glow&&`url(#bgGlow_${d(l)})`,d:e.cornerAlt?d(A).BmainBG:d(A).AmainBG},null,8,hw),s("mask",{id:`slotMask${d(l)}`},[s("path",{fill:"white",d:e.cornerAlt?d(A).BmainBG:d(A).AmainBG},null,8,mw)],8,vw)],8,gw)),!e.decorationAlt&&e.decoration?(r(),g(J,{key:0},ke(2,(t=>s("svg",{class:"sfg-deco-a-elem",viewBox:`0 0 ${e.width} ${e.height}`},[s("defs",null,[s("mask",{id:`mask-${d(l)}`},[s("path",{fill:"white",d:e.cornerAlt?d(A).Bmask:d(A).Amask},null,8,Vw)],8,bw)]),s("path",{mask:`url(#mask-${d(l)})`,d:e.cornerAlt?d(A).Bdeco:d(A).Adeco},null,8,ww)],8,yw))),64)):q("",!0),e.decorationAlt&&e.decoration?(r(),g("svg",{key:1,class:"sfg-deco-b-elem",viewBox:`0 0 ${e.width} ${e.height}`},[s("path",{d:e.cornerAlt?d(A).BmainBG:d(A).AmainBG},null,8,Cw)],8,qw)):q("",!0)],2)):q("",!0)],6),[[Te,a.value]])])),_:3}))}}),kw={class:"sfg-slot-wrap"},Sw={class:"sfg-slot-inner"},Tw=["viewBox"],Bw=["filter","d"],xw=["id"],Pw=["d"],Rw=["viewBox"],zw=["id"],Iw=["d"],Nw=["mask","d"],Dw=["viewBox"],_w=["d"],Ow=Object.assign({name:"ScifiTrapezoid"},{__name:"Trapezoid",props:{...Al},setup(e){const t=e,l=Ce("sfGeo"),a=k(!1),i=Ve({path:{}}),{path:A}=Le(i),o=m((()=>ce("cpt-geom",{...t.scale&&{scale:t.scale},...t.glowOpacity&&{glowop:t.glowOpacity},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.decorationOpacity&&{deop:t.decorationOpacity},...t.borderWidth&&{bdw:t.borderWidth+"px"},...t.decoAltTransX&&{datx:t.decoAltTransX+"px"},...t.decoAltTransY&&{daty:t.decoAltTransY*(t.directionAlt?-1:1)+"px"},...t.decoAltScale&&{dascale:t.decoAltScale},width:t.width+"px",height:t.height+"px",bggrad:`url(#bgGrad${l})`,bgmask:`url(#slotMask${l})`})));return fe((()=>{(async()=>{i.path=Ge(ri(t.width,t.height)),await oe(),a.value=!0})()})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-trapezoid","sf-svg-geometry","sf-svg-component",e.className,""+(a.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),""+(e.directionAlt?"sfg-dir-alt-on":"sfg-dir-alt-off"),{"is-deco-color-alt":e.decorationColorAlt,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-revs-grad":e.gradientReverse}]),style:re(o.value),ref:"svgGeometry"},[s("div",kw,[s("div",Sw,[K(e.$slots,"default")])]),a.value?(r(),g("div",{key:0,class:T(["sfg-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{class:"sfg-bg-wrap",viewBox:`0 0 ${e.width} ${e.height}`},[ne(ul,{uid:d(l)},null,8,["uid"]),s("path",{filter:e.glow&&`url(#bgGlow_${d(l)})`,d:e.cornerAlt?d(A).BmainBG:d(A).AmainBG},null,8,Bw),s("mask",{id:`slotMask${d(l)}`},[s("path",{fill:"white",d:e.cornerAlt?d(A).BmainBG:d(A).AmainBG},null,8,Pw)],8,xw)],8,Tw)),!e.decorationAlt&&e.decoration?(r(),g(J,{key:0},ke(2,(t=>s("svg",{class:"sfg-deco-a-elem",viewBox:`0 0 ${e.width} ${e.height}`},[s("defs",null,[s("mask",{id:`decoMask${d(l)}`},[s("path",{id:"clipPathId",fill:"white",d:e.cornerAlt?d(A).Bmask:d(A).Amask},null,8,Iw)],8,zw)]),s("path",{mask:`url(#decoMask${d(l)})`,d:e.cornerAlt?d(A).Bdeco:d(A).Adeco},null,8,Nw)],8,Rw))),64)):q("",!0),e.decorationAlt&&e.decoration?(r(),g("svg",{key:1,class:"sfg-deco-b-elem",viewBox:`0 0 ${e.width} ${e.height}`},[s("path",{d:e.cornerAlt?d(A).BmainBG:d(A).AmainBG},null,8,_w)],8,Dw)):q("",!0)],2)):q("",!0)],6),[[Te,a.value]])])),_:3}))}}),Mw={class:"sfg-slot-wrap"},Ew={class:"sfg-slot-inner"},Lw=["viewBox"],Ww=["filter","d"],jw=["id"],Gw=["d"],Fw=["viewBox"],Hw=["id"],Qw=["d"],Uw=["mask","d"],Yw=["viewBox"],Kw=["d"],Xw=Object.assign({name:"ScifiTriangle"},{__name:"Triangle",props:{...Al},setup(e){const t=e,l=Ce("sfGeo"),a=k(!1),i=Ve({path:{}}),{path:A}=Le(i),o=m((()=>ce("cpt-geom",{...t.scale&&{scale:t.scale},...t.glowOpacity&&{glowop:t.glowOpacity},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.decorationOpacity&&{deop:t.decorationOpacity},...t.borderWidth&&{bdw:t.borderWidth+"px"},...t.decoAltTransX&&{datx:t.decoAltTransX+"px"},...t.decoAltTransY&&{daty:t.decoAltTransY*(t.directionAlt?-1:1)+"px"},...t.decoAltScale&&{dascale:t.decoAltScale},width:t.width+"px",height:t.height+"px",bggrad:`url(#bgGrad${l})`,bgmask:`url(#slotMask${l})`})));return fe((()=>{(async()=>{i.path=Ge(Ai(t.width,t.height)),await oe(),a.value=!0})()})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-triangle","sf-svg-geometry","sf-svg-component",e.className,""+(a.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),""+(e.directionAlt?"sfg-dir-alt-on":"sfg-dir-alt-off"),{"is-deco-color-alt":e.decorationColorAlt,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-revs-grad":e.gradientReverse}]),style:re(o.value),ref:"svgGeometry"},[s("div",Mw,[s("div",Ew,[K(e.$slots,"default")])]),a.value?(r(),g("div",{key:0,class:T(["sfg-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{class:"sfg-bg-wrap",viewBox:`0 0 ${e.width} ${e.height}`},[ne(ul,{uid:d(l)},null,8,["uid"]),s("path",{filter:e.glow&&`url(#bgGlow_${d(l)})`,d:e.cornerAlt?d(A).BmainBG:d(A).AmainBG},null,8,Ww),s("mask",{id:`slotMask${d(l)}`},[s("path",{fill:"white",d:e.cornerAlt?d(A).BmainBG:d(A).AmainBG},null,8,Gw)],8,jw)],8,Lw)),!e.decorationAlt&&e.decoration?(r(),g(J,{key:0},ke(2,(t=>s("svg",{class:"sfg-deco-a-elem",viewBox:`0 0 ${e.width} ${e.height}`},[s("defs",null,[s("mask",{id:`decoMask${d(l)}`},[s("path",{id:"clipPathId",fill:"white",d:e.cornerAlt?d(A).Bmask:d(A).Amask},null,8,Qw)],8,Hw)]),s("path",{mask:`url(#decoMask${d(l)})`,d:e.cornerAlt?d(A).Bdeco:d(A).Adeco},null,8,Uw)],8,Fw))),64)):q("",!0),e.decorationAlt&&e.decoration?(r(),g("svg",{key:1,class:"sfg-deco-b-elem",viewBox:`0 0 ${e.width} ${e.height}`},[s("path",{d:e.cornerAlt?d(A).BmainBG:d(A).AmainBG},null,8,Kw)],8,Yw)):q("",!0)],2)):q("",!0)],6),[[Te,a.value]])])),_:3}))}}),dl={backgroundOpacity:Number,directionAlt:Boolean,decorationAlt:Boolean,decorationColorAlt:Boolean,fontWeight:String,fontSize:Number,className:String,scale:Number,appearance:{type:String,default:"A",validator:e=>["A","B","C","D","E","F"].includes(e)},shadowType:{type:String,default:"drop",validator:e=>["drop","t3d","none"].includes(e)},borderd:{type:Boolean,default:!0},glow:{type:Boolean,default:!0},glowRange:Number,glowOpacity:Number,size:Number},Zw=["id"],Jw=["stdDeviation"],Vl=Object.assign({name:"SVGDefs"},{__name:"SVGDefs",props:{uid:{type:String,required:!0},glowRange:{type:Number,default:10}},setup:e=>(t,l)=>(r(),g("defs",null,[s("filter",{id:`bgGlow_${e.uid}`},[l[0]||(l[0]=s("feFlood",null,null,-1)),l[1]||(l[1]=s("feComposite",{in2:"SourceGraphic",operator:"out"},null,-1)),s("feGaussianBlur",{stdDeviation:e.glowRange,result:"blur"},null,8,Jw),l[2]||(l[2]=s("feOffset",{dx:"0",dy:"0",result:"offsetblur"},null,-1)),l[3]||(l[3]=s("feComposite",{operator:"atop",in2:"SourceGraphic"},null,-1))],8,Zw)]))}),e0={class:"sfd-slot-wrap"},t0={class:"sfd-svg-hidden"},l0={key:0,class:"sfd-svg-elem",viewBox:"0 0 243.82 243.82"},a0=["d"],n0=["filter"],o0={key:1,class:"sfd-svg-elem",viewBox:"0 0 276.46 239.42"},i0=["d"],s0=["filter","d"],r0={key:2,class:"sfd-svg-elem",viewBox:"0 0 293.21 233.77"},A0=["d"],u0=["filter","d"],d0=Object.assign({name:"ScifiDecoA1"},{__name:"A1",props:{...dl},setup(e){const t=e,l=Ce("sfDec"),a=k(!1),i=Ve({path:{}}),{path:A}=Le(i),o=m((()=>ce("cpt-deco",{...t.fontWeight&&{fw:t.fontWeight},...t.fontSize&&{fz:t.fontSize+"px"},...t.scale&&{scale:t.scale},...t.glowOpacity&&{glowop:t.glowOpacity},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.fontSize&&{fz:t.fontSize+"px"},...t.size&&{size:t.size+"px"}})));return fe((()=>{(async()=>{i.path=Ge(ui(i.width)),await oe(),a.value=!0})()})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-deco-a1","sf-svg-deco","sf-svg-component",e.className,""+(a.value?"is-inited":"is-loading"),`sfd-appea-${e.appearance}`,{"is-deco-color-alt":e.decorationColorAlt,"is-deco-alt":e.decorationAlt,"is-dir-alt":e.directionAlt}]),style:re(o.value)},[s("div",e0,[K(e.$slots,"default")]),a.value?(r(),g("div",{key:0,class:T(["sfd-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",t0,[ne(Vl,{uid:d(l),glowRange:e.glowRange},null,8,["uid","glowRange"])])),"A"==e.appearance?(r(),g("svg",l0,[e.borderd?(r(),g("path",{key:0,class:"sfd-svg-bd",d:d(A).Adeco},null,8,a0)):q("",!0),s("circle",{filter:e.glow&&`url(#bgGlow_${d(l)})`,class:"sfd-svg-bg",cx:"121.91",cy:"121.21",r:"103.42"},null,8,n0)])):q("",!0),"B"==e.appearance?(r(),g("svg",o0,[e.borderd?(r(),g("path",{key:0,class:"sfd-svg-bd",d:d(A).Bdeco},null,8,i0)):q("",!0),s("path",{filter:e.glow&&`url(#bgGlow_${d(l)})`,class:"sfd-svg-bg",d:d(A).BmainBG},null,8,s0)])):q("",!0),"C"==e.appearance?(r(),g("svg",r0,[e.borderd?(r(),g("path",{key:0,class:"sfd-svg-bd",d:d(A).Cdeco},null,8,A0)):q("",!0),s("path",{filter:e.glow&&`url(#bgGlow_${d(l)})`,class:"sfd-svg-bg",d:d(A).CmainBG},null,8,u0)])):q("",!0)],2)):q("",!0)],6),[[Te,a.value]])])),_:3}))}}),c0={class:"sfd-slot-wrap"},f0={class:"sfd-svg-hidden"},p0={key:0,viewBox:"0 0 596.2 564.96"},g0=["filter","d"],h0={class:"sfd-svg-decoA"},v0=["d"],m0=["d"],y0=["d"],b0=["d"],V0={class:"sfd-svg-decoB"},w0=["d"],q0=["d"],C0=["d"],$0=["d"],k0={key:1,viewBox:"0 0 596.16 594.75"},S0={class:"sfd-svg-decoB"},T0=["d"],B0=["d"],x0=["d"],P0=["d"],R0=["d"],z0=["d"],I0=["d"],N0=["d"],D0=["filter"],_0={key:2,viewBox:"0 0 596.18 596.17"},O0=["filter","d"],M0={class:"sfd-svg-decoB"},E0=["points"],L0=["d"],W0=["points"],j0=["points"],G0={class:"sfd-svg-decoA"},F0=["d"],H0=["d"],Q0=["d"],U0=["d"],Y0={class:"sfd-svg-decoB"},K0=["d"],X0=["d"],Z0=["d"],J0=["d"],e1={key:3,viewBox:"0 0 567.49 567.5"},t1=["filter"],l1=["d"],a1={class:"sfd-svg-decoB"},n1=["d"],o1=["d"],i1=["d"],s1=["d"],r1=Object.assign({name:"ScifiDecoB1"},{__name:"B1",props:{...dl,glowRange:{type:Number,default:20}},setup(e){const t=e,l=Ce("sfDec"),a=k(!1),i=Ve({path:{}}),{path:A}=Le(i),o=m((()=>ce("cpt-deco",{...t.fontWeight&&{fw:t.fontWeight},...t.fontSize&&{fz:t.fontSize+"px"},...t.scale&&{scale:t.scale},...t.size&&{size:t.size+"px"}})));return fe((()=>{(async()=>{i.path=Ge(di(i.width)),await oe(),a.value=!0})()})),(t,i)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-deco-b1","sf-svg-deco","sf-svg-component",t.className,""+(a.value?"is-inited":"is-loading"),`sfd-appea-${t.appearance}`,{"is-deco-color-alt":t.decorationColorAlt,"is-deco-alt":t.decorationAlt,"is-dir-alt":t.directionAlt}]),style:re(o.value)},[s("div",c0,[K(t.$slots,"default")]),a.value?(r(),g("div",{key:0,class:T(["sfd-svg-wrap",{"t3d-shadow-item":"t3d"==t.shadowType,"sf-shadow-item":"drop"==t.shadowType}])},[(r(),g("svg",f0,[ne(Vl,{uid:d(l),glowRange:e.glowRange},null,8,["uid","glowRange"])])),"A"==t.appearance?(r(),g("svg",p0,[s("path",{class:"sfd-svg-bg",filter:t.glow&&`url(#bgGlow_${d(l)})`,d:d(A).AmainBG},null,8,g0),s("g",h0,[s("path",{d:d(A).AdecoA1},null,8,v0),s("path",{d:d(A).AdecoA2},null,8,m0),s("path",{d:d(A).AdecoA3},null,8,y0),s("path",{d:d(A).AdecoA4},null,8,b0)]),s("g",V0,[s("path",{d:d(A).AdecoB1},null,8,w0),s("path",{d:d(A).AdecoB2},null,8,q0),s("path",{d:d(A).AdecoB3},null,8,C0),s("path",{d:d(A).AdecoB4},null,8,$0)])])):q("",!0),"B"==t.appearance?(r(),g("svg",k0,[s("g",S0,[s("path",{d:d(A).BdecoB1},null,8,T0),s("path",{d:d(A).BdecoB2},null,8,B0),s("path",{d:d(A).BdecoB3},null,8,x0),s("path",{d:d(A).BdecoB4},null,8,P0),s("path",{d:d(A).BdecoB5},null,8,R0),s("path",{d:d(A).BdecoB6},null,8,z0),s("path",{d:d(A).BdecoB7},null,8,I0)]),s("path",{class:"sfd-svg-decoA",d:d(A).BdecoA},null,8,N0),s("circle",{class:"sfd-svg-bg",filter:t.glow&&`url(#bgGlow_${d(l)})`,cx:"297.43",cy:"294.27",r:"243"},null,8,D0)])):q("",!0),"C"==t.appearance?(r(),g("svg",_0,[s("path",{class:"sfd-svg-bg",filter:t.glow&&`url(#bgGlow_${d(l)})`,d:d(A).CmainBG},null,8,O0),s("g",M0,[s("polygon",{points:d(A).CdecoB1},null,8,E0),s("path",{d:d(A).CdecoB2},null,8,L0),s("polygon",{points:d(A).CdecoB3},null,8,W0),s("polygon",{points:d(A).CdecoB4},null,8,j0)]),s("g",G0,[s("path",{d:d(A).CdecoA1},null,8,F0),s("path",{d:d(A).CdecoA2},null,8,H0),s("path",{d:d(A).CdecoA3},null,8,Q0),s("path",{d:d(A).CdecoA4},null,8,U0)]),s("g",Y0,[s("path",{d:d(A).CdecoC1},null,8,K0),s("path",{d:d(A).CdecoC2},null,8,X0),s("path",{d:d(A).CdecoC3},null,8,Z0),s("path",{d:d(A).CdecoC4},null,8,J0)])])):q("",!0),"D"==t.appearance?(r(),g("svg",e1,[s("circle",{class:"sfd-svg-bg",filter:t.glow&&`url(#bgGlow_${d(l)})`,cx:"283.41",cy:"284.1",r:"194.5"},null,8,t1),s("path",{class:"sfd-svg-decoA",d:d(A).DdecoA},null,8,l1),s("g",a1,[s("path",{d:d(A).DdecoB1},null,8,n1),s("path",{d:d(A).DdecoB2},null,8,o1),s("path",{d:d(A).DdecoB3},null,8,i1),s("path",{d:d(A).DdecoB4},null,8,s1)])])):q("",!0)],2)):q("",!0)],6),[[Te,a.value]])])),_:3}))}}),A1={class:"sfd-slot-wrap"},u1={class:"sfd-svg-hidden"},d1={key:0,class:"sfd-svg-elem",viewBox:"0 0 210.67 182.47"},c1=["filter","points"],f1=["d"],p1={class:"sfd-svg-decoA"},g1=["points"],h1=["points"],v1=["points"],m1=["points"],y1={key:1,class:"sfd-svg-elem",viewBox:"0 0 210.67 182.47"},b1=["filter","points"],V1={class:"sfd-svg-decoA"},w1=["points"],q1=["points"],C1=["points"],$1={class:"sfd-svg-decoA"},k1=["points"],S1=["points"],T1=["d"],B1=["d"],x1={key:2,class:"sfd-svg-elem",viewBox:"0 0 210.67 182.46"},P1=["filter","points"],R1={class:"sfd-svg-decoA"},z1=["points"],I1=["points"],N1=["points"],D1=["points"],_1=["points"],O1=["points"],M1=["d"],E1={key:3,class:"sfd-svg-elem",viewBox:"0 0 210.67 182.46"},L1=["filter","points"],W1=["d"],j1={class:"sfd-svg-decoA"},G1=["points"],F1=["points"],H1=["points"],Q1=["points"],U1=["points"],Y1=["points"],K1=["points"],X1=["points"],Z1=["points"],J1=["points"],eq=["points"],tq=["points"],lq=["points"],aq=["points"],nq={class:"sfd-svg-decoA"},oq=["points"],iq=["points"],sq=["points"],rq=["points"],Aq=["points"],uq=["points"],dq=Object.assign({name:"ScifiDecoB2"},{__name:"B2",props:{...dl,glowRange:{type:Number,default:20}},setup(e){const t=e,l=Ce("sfDec"),a=k(!1),i=Ve({path:{}}),{path:A}=Le(i),o=m((()=>ce("cpt-deco",{...t.fontWeight&&{fw:t.fontWeight},...t.fontSize&&{fz:t.fontSize+"px"},...t.scale&&{scale:t.scale},...t.size&&{size:t.size+"px"}})));return fe((()=>{(async()=>{i.path=Ge(ci(i.width)),await oe(),a.value=!0})()})),(t,i)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-deco-b2","sf-svg-deco","sf-svg-component",t.className,""+(a.value?"is-inited":"is-loading"),`sfd-appea-${t.appearance}`,{"is-deco-color-alt":t.decorationColorAlt,"is-dir-alt":t.directionAlt}]),style:re(o.value)},[s("div",A1,[K(t.$slots,"default")]),a.value?(r(),g("div",{key:0,class:T(["sfd-svg-wrap",{"t3d-shadow-item":"t3d"==t.shadowType,"sf-shadow-item":"drop"==t.shadowType}])},[(r(),g("svg",u1,[ne(Vl,{uid:d(l),glowRange:e.glowRange},null,8,["uid","glowRange"])])),"A"==t.appearance?(r(),g("svg",d1,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${d(l)})`,points:d(A).AmainBG},null,8,c1),s("path",{class:"sfd-svg-decoB",d:d(A).AdecoB},null,8,f1),s("g",p1,[s("polygon",{points:d(A).AdecoA1},null,8,g1),s("polygon",{points:d(A).AdecoA2},null,8,h1),s("polygon",{points:d(A).AdecoA3},null,8,v1),s("polygon",{points:d(A).AdecoA4},null,8,m1)])])):q("",!0),"B"==t.appearance?(r(),g("svg",y1,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${d(l)})`,points:d(A).BmainBG},null,8,b1),s("g",V1,[s("polygon",{points:d(A).BdecoA11},null,8,w1),s("polygon",{points:d(A).BdecoA12},null,8,q1),s("polygon",{points:d(A).BdecoA13},null,8,C1)]),s("g",$1,[s("polygon",{points:d(A).BdecoA21},null,8,k1),s("polygon",{points:d(A).BdecoA22},null,8,S1),s("path",{d:d(A).BdecoA23},null,8,T1)]),s("path",{class:"sfd-svg-decoB",d:d(A).BdecoB},null,8,B1)])):q("",!0),"C"==t.appearance?(r(),g("svg",x1,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${d(l)})`,points:d(A).CmainBG},null,8,P1),s("g",R1,[s("polygon",{points:d(A).CdecoA1},null,8,z1),s("polygon",{points:d(A).CdecoA2},null,8,I1),s("polygon",{points:d(A).CdecoA3},null,8,N1),s("polygon",{points:d(A).CdecoA4},null,8,D1),s("polygon",{points:d(A).CdecoA5},null,8,_1),s("polygon",{points:d(A).CdecoA6},null,8,O1)]),s("path",{class:"sfd-svg-decoB",d:d(A).CdecoB},null,8,M1)])):q("",!0),"D"==t.appearance?(r(),g("svg",E1,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${d(l)})`,points:d(A).DmainBG},null,8,L1),s("path",{class:"sfd-svg-decoB",d:d(A).DdecoB},null,8,W1),s("g",j1,[s("polygon",{points:d(A).DdecoA101},null,8,G1),s("polygon",{points:d(A).DdecoA102},null,8,F1),s("polygon",{points:d(A).DdecoA103},null,8,H1),s("polygon",{points:d(A).DdecoA104},null,8,Q1),s("polygon",{points:d(A).DdecoA105},null,8,U1),s("polygon",{points:d(A).DdecoA106},null,8,Y1),s("polygon",{points:d(A).DdecoA107},null,8,K1),s("polygon",{points:d(A).DdecoA108},null,8,X1),s("polygon",{points:d(A).DdecoA109},null,8,Z1),s("polygon",{points:d(A).DdecoA110},null,8,J1),s("polygon",{points:d(A).DdecoA111},null,8,eq),s("polygon",{points:d(A).DdecoA112},null,8,tq),s("polygon",{points:d(A).DdecoA113},null,8,lq),s("polygon",{points:d(A).DdecoA114},null,8,aq)]),s("g",nq,[s("polygon",{points:d(A).DdecoA21},null,8,oq),s("polygon",{points:d(A).DdecoA22},null,8,iq),s("polygon",{points:d(A).DdecoA23},null,8,sq),s("polygon",{points:d(A).DdecoA24},null,8,rq),s("polygon",{points:d(A).DdecoA25},null,8,Aq),s("polygon",{points:d(A).DdecoA26},null,8,uq)])])):q("",!0)],2)):q("",!0)],6),[[Te,a.value]])])),_:3}))}}),cq={class:"sfd-slot-wrap"},fq={class:"sfd-svg-hidden"},pq={key:0,class:"sfd-svg-elem",viewBox:"0 0 208.91 186.33"},gq=["filter","points"],hq=["d"],vq={class:"sfd-svg-decoB"},mq=["d"],yq=["points"],bq=["points"],Vq={key:1,class:"sfd-svg-elem",viewBox:"0 0 213.7 185"},wq=["filter","points"],qq={class:"sfd-svg-decoB"},Cq=["points"],$q=["points"],kq=["points"],Sq={class:"sfd-svg-decoB"},Tq=["points"],Bq=["points"],xq=["points"],Pq={class:"sfd-svg-decoA"},Rq=["points"],zq=["points"],Iq=["points"],Nq={key:2,class:"sfd-svg-elem",viewBox:"0 0 214.06 185.38"},Dq=["filter","points"],_q={class:"sfd-svg-decoA"},Oq=["points"],Mq=["points"],Eq=["points"],Lq={class:"sfd-svg-decoB"},Wq=["points"],jq=["points"],Gq={key:3,class:"sfd-svg-elem",viewBox:"0 0 210.22 183.69"},Fq=["filter","points"],Hq=["d"],Qq={class:"sfd-svg-decoB"},Uq=["points"],Yq=["points"],Kq=Object.assign({name:"ScifiDecoB3"},{__name:"B3",props:{...dl,glowRange:{type:Number,default:20}},setup(e){const t=e,l=Ce("sfDec"),a=k(!1),i=Ve({path:{}}),{path:A}=Le(i),o=m((()=>ce("cpt-deco",{...t.fontWeight&&{fw:t.fontWeight},...t.fontSize&&{fz:t.fontSize+"px"},...t.scale&&{scale:t.scale},...t.size&&{size:t.size+"px"}})));return fe((()=>{(async()=>{i.path=Ge(fi(i.width)),await oe(),a.value=!0})()})),(t,i)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-deco-b3","sf-svg-deco","sf-svg-component",t.className,""+(a.value?"is-inited":"is-loading"),`sfd-appea-${t.appearance}`,{"is-deco-color-alt":t.decorationColorAlt,"is-dir-alt":t.directionAlt}]),style:re(o.value)},[s("div",cq,[K(t.$slots,"default")]),a.value?(r(),g("div",{key:0,class:T(["sfd-svg-wrap",{"t3d-shadow-item":"t3d"==t.shadowType,"sf-shadow-item":"drop"==t.shadowType}])},[(r(),g("svg",fq,[ne(Vl,{uid:d(l),glowRange:e.glowRange},null,8,["uid","glowRange"])])),"A"==t.appearance?(r(),g("svg",pq,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${d(l)})`,points:d(A).AmainBG},null,8,gq),s("path",{class:"sfd-svg-decoA",d:d(A).AdecoA},null,8,hq),s("g",vq,[i[0]||(i[0]=s("line",{x1:"193.9",y1:"142.29",x2:"184.67",y2:"126.3"},null,-1)),s("path",{d:d(A).AdecoB1},null,8,mq),s("polygon",{points:d(A).AdecoB2},null,8,yq),s("polygon",{points:d(A).AdecoB3},null,8,bq)])])):q("",!0),"B"==t.appearance?(r(),g("svg",Vq,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${d(l)})`,points:d(A).BmainBG},null,8,wq),s("g",qq,[s("polygon",{points:d(A).BdecoB11},null,8,Cq),s("polygon",{points:d(A).BdecoB12},null,8,$q),s("polygon",{points:d(A).BdecoB13},null,8,kq)]),s("g",Sq,[s("polygon",{points:d(A).BdecoB21},null,8,Tq),s("polygon",{points:d(A).BdecoB22},null,8,Bq),s("polygon",{points:d(A).BdecoB23},null,8,xq)]),s("g",Pq,[s("polygon",{points:d(A).BdecoA1},null,8,Rq),s("polygon",{points:d(A).BdecoA2},null,8,zq),s("polygon",{points:d(A).BdecoA3},null,8,Iq)])])):q("",!0),"C"==t.appearance?(r(),g("svg",Nq,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${d(l)})`,points:d(A).CmainBG},null,8,Dq),s("g",_q,[s("polygon",{points:d(A).CdecoA1},null,8,Oq),s("polygon",{points:d(A).CdecoA2},null,8,Mq),s("polygon",{points:d(A).CdecoA3},null,8,Eq)]),s("g",Lq,[s("polygon",{points:d(A).CdecoB1},null,8,Wq),s("polygon",{points:d(A).CdecoB2},null,8,jq)])])):q("",!0),"D"==t.appearance?(r(),g("svg",Gq,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${d(l)})`,points:d(A).DmainBG},null,8,Fq),s("path",{class:"sfd-svg-decoA",d:d(A).DdecoA},null,8,Hq),s("g",Qq,[s("polygon",{points:d(A).DdecoB1},null,8,Uq),s("polygon",{points:d(A).DdecoB2},null,8,Yq)])])):q("",!0)],2)):q("",!0)],6),[[Te,a.value]])])),_:3}))}}),Xq={class:"sfd-slot-wrap"},Zq={key:0,class:"svg-wrap"},Jq={viewBox:"0 0 45.29 172.01"},eC=["d"],tC={key:1,class:"svg-wrap"},lC={viewBox:"0 0 68.16 172.21"},aC=["d"],nC=["d"],oC={key:2,class:"svg-wrap"},iC={viewBox:"0 0 76.68 172.7"},sC=["d"],rC=["points"],AC=["points"],uC={key:3,class:"svg-wrap"},dC={viewBox:"0 0 44.5 172.69"},cC=["d"],fC=["points"],pC={key:4,class:"svg-wrap"},gC={viewBox:"0 0 37.63 172.75"},hC=["points"],vC=["points"],mC=Object.assign({name:"ScifiDecoC1"},{__name:"C1",props:{...dl,glowRange:{type:Number,default:20},bracketRitio:Number},setup(e){const t=e;Ce("sfDec");const l=k(!1),a=Ve({path:{}}),{path:i}=Le(a),A=m((()=>ce("cpt-deco",{...t.fontWeight&&{fw:t.fontWeight},...t.fontSize&&{fz:t.fontSize+"px"},...t.scale&&{scale:t.scale},...t.bracketRitio&&{bratio:t.bracketRitio},...t.size&&{size:t.size+"px"}})));return fe((()=>{(async()=>{a.path=Ge(pi(a.width)),await oe(),l.value=!0})()})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-deco-c1","sf-svg-deco","sf-svg-component",e.className,""+(l.value?"is-inited":"is-loading"),`sfd-appea-${e.appearance}`,{"is-deco-color-alt":e.decorationColorAlt,"is-dir-alt":e.directionAlt}]),style:re(A.value)},[l.value?(r(),g("div",{key:0,class:T(["sfd-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[s("div",Xq,[K(e.$slots,"default")]),"A"==e.appearance?(r(),g("div",Zq,[(r(),g(J,null,ke(2,(e=>s("svg",Jq,[s("path",{class:"sfd-svg-decoB",d:d(i).Adeco},null,8,eC)]))),64))])):q("",!0),"B"==e.appearance?(r(),g("div",tC,[(r(),g(J,null,ke(2,(e=>s("svg",lC,[s("path",{class:"sfd-svg-decoB",d:d(i).BdecoB},null,8,aC),s("path",{class:"sfd-svg-decoA",d:d(i).BdecoA},null,8,nC)]))),64))])):q("",!0),"C"==e.appearance?(r(),g("div",oC,[(r(),g(J,null,ke(2,(e=>s("svg",iC,[s("path",{class:"sfd-svg-decoB",d:d(i).CdecoB},null,8,sC),s("polygon",{class:"sfd-svg-decoA",points:d(i).CdecoA1},null,8,rC),s("polygon",{class:"sfd-svg-decoA",points:d(i).CdecoA2},null,8,AC)]))),64))])):q("",!0),"D"==e.appearance?(r(),g("div",uC,[(r(),g(J,null,ke(2,(e=>s("svg",dC,[s("path",{class:"sfd-svg-decoB",d:d(i).DdecoB},null,8,cC),s("polygon",{class:"sfd-svg-decoA",points:d(i).DdecoA},null,8,fC)]))),64))])):q("",!0),"E"==e.appearance?(r(),g("div",pC,[(r(),g(J,null,ke(2,(e=>s("svg",gC,[s("polygon",{class:"sfd-svg-decoB",points:d(i).EdecoB},null,8,hC),s("polygon",{class:"sfd-svg-decoA",points:d(i).EdecoA},null,8,vC)]))),64))])):q("",!0)],2)):q("",!0)],6),[[Te,l.value]])])),_:3}))}}),wl={backgroundOpacity:Number,width:Number,scale:Number,className:String,aniDuration:Number,borderWidth:Number,text:{type:String,default:"SCIFI HEADER"},animation:{type:Boolean,default:!0},decoration:{type:Boolean,default:!0},decorationAlt:Boolean,decorationColorAlt:Boolean,shadowType:{type:String,default:"drop",validator:e=>["drop","t3d","none"].includes(e)},glow:{type:Boolean,default:!1},glowRange:Number,glowOpacity:Number,gradientReverse:{type:Boolean,default:!1},gradientBackground:{type:Boolean,default:!0}},yC=["id"],bC=["stdDeviation"],VC=["id"],ql=Object.assign({name:"SVGDefs"},{__name:"SVGDefs",props:{uid:{type:String,required:!0},glowRange:{type:Number,default:8}},setup:e=>(t,l)=>(r(),g("defs",null,[s("filter",{id:`bgGlow_${e.uid}`},[l[0]||(l[0]=s("feFlood",null,null,-1)),l[1]||(l[1]=s("feComposite",{in2:"SourceGraphic",operator:"out"},null,-1)),s("feGaussianBlur",{stdDeviation:e.glowRange,result:"blur"},null,8,bC),l[2]||(l[2]=s("feOffset",{dx:"0",dy:"0",result:"offsetblur"},null,-1)),l[3]||(l[3]=s("feComposite",{operator:"atop",in2:"SourceGraphic"},null,-1))],8,yC),s("linearGradient",{class:"sfh-bg-grad",id:`bgGrad${e.uid}`,gradientUnits:"userSpaceOnUse",x1:"0%",y1:"100%",x2:"0%",y2:"0%"},[...l[4]||(l[4]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,VC)]))}),wC=["d"],qC=["d"],CC=["d"],$C=["d"],kC={class:"sfh-svg-elem",x:"0px",y:"0px"},SC=["filter","d"],TC=["d"],BC={class:"sfh-text"},xC=Object.assign({name:"ScifiHeaderA1"},{__name:"A1",props:{...wl},setup(e){const t=e,l=Ce("sfHed"),a=k(!1),i=Ve({resizing:!1,path:{}}),{path:A}=Le(i),o=m((()=>t.width||450)),n=m((()=>ce("cpt-header",{...t.borderWidth&&{bdw:t.borderWidth+"px"},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.glowOpacity&&{glowop:t.glowOpacity},...t.aniDuration&&{anidur:t.aniDuration+"s"},...t.scale&&{scale:t.scale},bggrad:`url(#bgGrad${l})`,width:o.value+"px"})));return fe((()=>{(async()=>{i.path=Ge(gi(o.value)),await oe(),a.value=!0})()})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-header-a1","sf-svg-header","sf-svg-component",e.className,""+(a.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),{"is-animation":e.animation,"is-revs-grad":e.gradientReverse,"is-deco-color-alt":e.decorationColorAlt}]),style:re(n.value),ref:"svgHeader"},[a.value?(r(),g("div",{key:0,class:T(["sfh-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g(J,null,ke(2,(e=>s("svg",{class:T("sfh-side-deco sfh-sd-"+e),x:"0px",y:"0px",viewBox:"0 0 150 80"},[s("path",{class:"deco-4",d:d(A).deco4},null,8,wC),s("path",{class:"deco-3",d:d(A).deco3},null,8,qC),s("path",{class:"deco-2",d:d(A).deco2},null,8,CC),s("path",{class:"deco-1",d:d(A).deco1},null,8,$C)],2))),64)),(r(),g("svg",kC,[ne(ql,{uid:d(l)},null,8,["uid"]),s("path",{class:"sfh-main-bg",filter:e.glow&&`url(#bgGlow_${d(l)})`,d:d(A).mainBG},null,8,SC),e.decoration?(r(),g("path",{key:0,class:"sfh-deco-btm",d:d(A).decoBG},null,8,TC)):q("",!0)]))],2)):q("",!0),s("div",BC,[K(e.$slots,"default")])],6),[[Te,a.value]])])),_:3}))}}),PC={class:T("sfh-svg-elem"),x:"0px",y:"0px"},RC={key:0},zC=["d"],IC=["filter","d"],NC=["d"],DC=["d"],_C={key:1},OC=["d"],MC=["filter","d"],EC=["d"],LC=["d"],WC=["d"],jC=["d"],GC={class:"sfh-text"},FC=Object.assign({name:"ScifiHeaderA2"},{__name:"A2",props:{...wl},setup(e){const t=e,l=Ce("sfHed"),a=k(!1),i=Ve({resizing:!1,path:{}}),{path:A}=Le(i),o=m((()=>t.width||800)),n=m((()=>ce("cpt-header",{...t.borderWidth&&{bdw:t.borderWidth+"px"},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.glowOpacity&&{glowop:t.glowOpacity},...t.aniDuration&&{anidur:t.aniDuration+"s"},...t.scale&&{scale:t.scale},bggrad:`url(#bgGrad${l})`,width:o.value+"px"})));return fe((()=>{(async()=>{i.path=Ge(hi(o.value)),await oe(),a.value=!0})()})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-header-a2","sf-svg-header","sf-svg-component",e.className,""+(a.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),{"is-revs-grad":e.gradientReverse,"is-deco-color-alt":e.decorationColorAlt}]),style:re(n.value),ref:"svgHeader"},[a.value?(r(),g("div",{key:0,class:T(["sfh-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",PC,[ne(ql,{uid:d(l)},null,8,["uid"]),e.decorationAlt?q("",!0):(r(),g("g",RC,[s("path",{class:"sfh-main-bg sfh-main-bg-btm",d:d(A).AmainBG2},null,8,zC),s("path",{class:"sfh-main-bg sfh-main-bg-top",filter:e.glow&&`url(#bgGlow_${d(l)})`,d:d(A).AmainBG1},null,8,IC),s("path",{class:"sfh-deco-l",d:d(A).AdecoL},null,8,NC),s("path",{class:"sfh-deco-r",d:d(A).AdecoR},null,8,DC)])),e.decorationAlt?(r(),g("g",_C,[s("path",{class:"sfh-main-bg sfh-main-bg-btm",d:d(A).BmainBG2},null,8,OC),s("path",{class:"sfh-main-bg sfh-main-bg-top",filter:e.glow&&`url(#bgGlow_${d(l)})`,d:d(A).BmainBG1},null,8,MC),s("path",{class:"sfh-deco-l",d:d(A).BdecoL},null,8,EC),s("path",{class:"sfh-deco-r",d:d(A).BdecoR},null,8,LC)])):q("",!0),e.decoration&&!e.decorationColorAlt?(r(),g("path",{key:2,class:"sfh-deco-b",d:d(A).decoB},null,8,WC)):q("",!0),e.decoration?(r(),g("path",{key:3,class:"sfh-deco-bc",d:d(A).decoBc},null,8,jC)):q("",!0)]))],2)):q("",!0),s("div",GC,[K(e.$slots,"default")])],6),[[Te,a.value]])])),_:3}))}}),HC={class:T("sfh-svg-elem"),x:"0px",y:"0px"},QC={key:0},UC=["filter","d"],YC={class:"sfh-deco-side"},KC=["d"],XC=["d"],ZC=["d"],JC=["d"],e$={class:"sfh-deco-side"},t$=["d"],l$=["d"],a$=["d"],n$=["d"],o$={key:1},i$=["filter","d"],s$={class:"sfh-deco-side"},r$=["d"],A$=["d"],u$=["d"],d$=["d"],c$=["d"],f$={class:"sfh-deco-side"},p$=["d"],g$=["d"],h$=["d"],v$=["d"],m$=["d"],y$={key:2},b$=["d"],V$=["d"],w$=["d"],q$={class:"sfh-text"},C$=Object.assign({name:"ScifiHeaderA3"},{__name:"A3",props:{...wl},setup(e){const t=e,l=Ce("sfHed"),a=k(!1),i=Ve({resizing:!1,path:{}}),{path:A}=Le(i),o=m((()=>t.width||800)),n=m((()=>ce("cpt-header",{...t.borderWidth&&{bdw:t.borderWidth+"px"},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.glowOpacity&&{glowop:t.glowOpacity},...t.aniDuration&&{anidur:t.aniDuration+"s"},...t.scale&&{scale:t.scale},bggrad:`url(#bgGrad${l})`,width:o.value+"px"})));return fe((()=>{(async()=>{i.path=Ge(vi(o.value)),await oe(),a.value=!0})()})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-header-a3","sf-svg-header","sf-svg-component",e.className,""+(a.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),{"is-revs-grad":e.gradientReverse,"is-deco-color-alt":e.decorationColorAlt}]),style:re(n.value),ref:"svgHeader"},[a.value?(r(),g("div",{key:0,class:T(["sfh-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",HC,[ne(ql,{uid:d(l)},null,8,["uid"]),e.decorationAlt?q("",!0):(r(),g("g",QC,[s("path",{class:"sfh-main-bg",filter:e.glow&&`url(#bgGlow_${d(l)})`,d:d(A).AmainBG1},null,8,UC),s("g",YC,[s("path",{class:"sfh-deco2",d:d(A).Adeco2L},null,8,KC),s("path",{class:"sfh-deco3",d:d(A).Adeco3L},null,8,XC),s("path",{class:"sfh-deco4",d:d(A).Adeco4L},null,8,ZC),s("path",{class:"sfh-deco0",d:d(A).Adeco0L},null,8,JC)]),s("g",e$,[s("path",{class:"sfh-deco2",d:d(A).Adeco2R},null,8,t$),s("path",{class:"sfh-deco3",d:d(A).Adeco3R},null,8,l$),s("path",{class:"sfh-deco4",d:d(A).Adeco4R},null,8,a$),s("path",{class:"sfh-deco0",d:d(A).Adeco0R},null,8,n$)])])),e.decorationAlt?(r(),g("g",o$,[s("path",{class:"sfh-main-bg",filter:e.glow&&`url(#bgGlow_${d(l)})`,d:d(A).BmainBG1},null,8,i$),s("g",s$,[s("path",{class:"sfh-deco1",d:d(A).Bdeco1L},null,8,r$),s("path",{class:"sfh-deco2",d:d(A).Bdeco2L},null,8,A$),s("path",{class:"sfh-deco3",d:d(A).Bdeco3L},null,8,u$),s("path",{class:"sfh-deco4",d:d(A).Bdeco4L},null,8,d$),s("path",{class:"sfh-deco5",d:d(A).Bdeco5L},null,8,c$)]),s("g",f$,[s("path",{class:"sfh-deco1",d:d(A).Bdeco1R},null,8,p$),s("path",{class:"sfh-deco2",d:d(A).Bdeco2R},null,8,g$),s("path",{class:"sfh-deco3",d:d(A).Bdeco3R},null,8,h$),s("path",{class:"sfh-deco4",d:d(A).Bdeco4R},null,8,v$),s("path",{class:"sfh-deco5",d:d(A).Bdeco5R},null,8,m$)])])):q("",!0),e.decoration?(r(),g("g",y$,[s("path",{class:"sfh-deco-bl",d:d(A).decoBl},null,8,b$),s("path",{class:"sfh-deco-br",d:d(A).decoBr},null,8,V$),s("path",{class:"sfh-deco-bc",d:d(A).decoBc},null,8,w$)])):q("",!0)]))],2)):q("",!0),s("div",q$,[K(e.$slots,"default")])],6),[[Te,a.value]])])),_:3}))}}),$$={class:T("sfh-svg-elem"),x:"0px",y:"0px"},k$={key:0},S$={class:"sfh-deco-side"},T$=["d"],B$=["d"],x$=["d"],P$={class:"sfh-deco-side"},R$=["d"],z$=["d"],I$=["d"],N$=["d"],D$=["filter","d"],_$={key:1},O$={class:"sfh-deco-side"},M$=["d"],E$=["d"],L$=["d"],W$={class:"sfh-deco-side"},j$=["d"],G$=["d"],F$=["d"],H$=["d"],Q$=["filter","d"],U$={class:"sfh-text"},Y$=Object.assign({name:"ScifiHeaderA4"},{__name:"A4",props:{...wl},setup(e){const t=e,l=Ce("sfHed"),a=k(!1),i=Ve({resizing:!1,path:{}}),{path:A}=Le(i),o=m((()=>t.width||800)),n=m((()=>ce("cpt-header",{...t.borderWidth&&{bdw:t.borderWidth+"px"},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.glowOpacity&&{glowop:t.glowOpacity},...t.aniDuration&&{anidur:t.aniDuration+"s"},...t.scale&&{scale:t.scale},bggrad:`url(#bgGrad${l})`,width:o.value+"px"})));return fe((()=>{(async()=>{i.path=Ge(mi(o.value)),await oe(),a.value=!0})()})),(e,t)=>(r(),Y(Be,{name:"fade"},{default:_((()=>[he(s("div",{class:T(["scifi-header-a4","sf-svg-header","sf-svg-component",e.className,""+(a.value?"is-inited":"is-loading"),""+(e.gradientBackground?"is-grad-bg":"is-nor-bg"),{"is-revs-grad":e.gradientReverse,"is-deco-color-alt":e.decorationColorAlt}]),style:re(n.value),ref:"svgHeader"},[a.value?(r(),g("div",{key:0,class:T(["sfh-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",$$,[ne(ql,{uid:d(l)},null,8,["uid"]),e.decorationAlt?q("",!0):(r(),g("g",k$,[s("g",S$,[s("path",{class:"sfh-deco3",d:d(A).Adeco3L},null,8,T$),s("path",{class:"sfh-deco2",d:d(A).Adeco2L},null,8,B$),s("path",{class:"sfh-deco1",d:d(A).Adeco1L},null,8,x$)]),s("g",P$,[s("path",{class:"sfh-deco3",d:d(A).Adeco3R},null,8,R$),s("path",{class:"sfh-deco2",d:d(A).Adeco2R},null,8,z$),s("path",{class:"sfh-deco1",d:d(A).Adeco1R},null,8,I$)]),e.decoration?(r(),g("path",{key:0,class:"sfh-deco-bc",d:d(A).decoBc},null,8,N$)):q("",!0),s("path",{class:"sfh-main-bg",filter:e.glow&&`url(#bgGlow_${d(l)})`,d:d(A).AmainBG},null,8,D$)])),e.decorationAlt?(r(),g("g",_$,[s("g",O$,[s("path",{class:"sfh-deco1",d:d(A).Bdeco1L},null,8,M$),s("path",{class:"sfh-deco2",d:d(A).Bdeco2L},null,8,E$),s("path",{class:"sfh-deco3",d:d(A).Bdeco3L},null,8,L$)]),s("g",W$,[s("path",{class:"sfh-deco1",d:d(A).Bdeco1R},null,8,j$),s("path",{class:"sfh-deco2",d:d(A).Bdeco2R},null,8,G$),s("path",{class:"sfh-deco3",d:d(A).Bdeco3R},null,8,F$)]),e.decoration?(r(),g("path",{key:0,class:"sfh-deco-bc",d:d(A).decoBc},null,8,H$)):q("",!0),s("path",{class:"sfh-main-bg",filter:e.glow&&`url(#bgGlow_${d(l)})`,d:d(A).BmainBG},null,8,Q$)])):q("",!0)]))],2)):q("",!0),s("div",U$,[K(e.$slots,"default")])],6),[[Te,a.value]])])),_:3}))}}),rt={backgroundOpacity:Number,scale:Number,decoration:{type:Boolean,default:!0},decorationAlt:{type:Boolean,default:!1},decorationColorAlt:Boolean,glow:{type:Boolean,default:!1},glowRange:Number,glowOpacity:Number,title:String,className:String,titleWidth:{type:Number,default:150},borderd:{type:Boolean,default:!0},borderWidth:Number,rotate:{type:String,validator:e=>["x","y","z","all"].includes(e)},reverse:{type:Boolean,default:!1},directionAlt:{type:Boolean,default:!1},shadowType:{type:String,default:"drop",validator:e=>["drop","t3d","none"].includes(e)},animation:{type:Boolean,default:!0},aniDuration:Number,dotSize:{type:Number,default:2},dotOffset:{type:Number,default:0},backgroundBlur:{type:Boolean,default:!1},blurRange:Number,resizeObserver:{type:String,default:"global",validator:e=>["self","global","none"].includes(e)},showSlotImmed:{type:Boolean,default:!1}},K$=["id"],X$=["stdDeviation"],At=Object.assign({name:"SVGDefs"},{__name:"SVGDefs",props:{uid:{type:String,required:!0},glowRange:{type:Number,default:5}},setup:e=>(t,l)=>(r(),g("defs",null,[s("filter",{id:`bgGlow_${e.uid}`},[l[0]||(l[0]=s("feFlood",null,null,-1)),l[1]||(l[1]=s("feComposite",{in2:"SourceGraphic",operator:"out"},null,-1)),s("feGaussianBlur",{stdDeviation:e.glowRange,result:"blur"},null,8,X$),l[2]||(l[2]=s("feOffset",{dx:"0",dy:"0",result:"offsetblur"},null,-1)),l[3]||(l[3]=s("feComposite",{operator:"atop",in2:"SourceGraphic"},null,-1))],8,K$)]))}),Z$={key:0,class:"sfp-content"},J$={key:0,class:"sfp-title"},ek={class:"sfp-rotate-wrap"},tk=["width","height"],lk=["filter","points"],ak=["points"],nk=["points"],ok=["points"],ik=["points"],sk=["points"],rk=["points"],Ak=["points"],uk=["points"],dk=["points"],ck=["points"],fk=["points"],pk=Object.assign({name:"ScifiPanelA1"},{__name:"A1",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&f({width:l,height:A})}));const f=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge(yi(e,t,i.titleWidth))})(),await oe(),n.value=!0},h=m((()=>ce("cpt-panel",{...i.title&&{twidth:i.titleWidth+"px"},...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale},width:c.info.width+"px",height:c.info.height+"px"}))),y=m((()=>i.directionAlt?c.info.height:c.info.width)),V=m((()=>i.directionAlt?c.info.width:c.info.height)),b=e=>{const t=i.directionAlt?"DA_":"";return c.path[t+e]};return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-a1","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),""+(e.directionAlt?"sfp-dir-alt-on":"sfp-dir-alt-off"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:re(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",Z$,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g("div",{key:1,class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[e.title?(r(),g("div",J$,G(e.title),1)):q("",!0),s("div",ek,[(r(),g("svg",{class:"sfp-svg-elem",width:y.value,height:V.value},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polyline",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",points:b("mainBG")},null,8,lk),(!e.title&&!e.decorationAlt||e.title&&e.decorationAlt)&&e.decoration?(r(),g("polyline",{key:0,class:"sfp-corner-lb-longdeco",points:b("cornerDecoLBLong")},null,8,ak)):q("",!0),e.title?q("",!0):(r(),g(J,{key:1},[s("polyline",{class:"sfp-corner-rect0",points:b("cornerRect0")},null,8,nk),s("polyline",{class:"sfp-corner-rect1",points:b("cornerRect1")},null,8,ok),s("polyline",{class:"sfp-corner-rect2",points:b("cornerRect2")},null,8,ik),s("polyline",{class:"sfp-corner-rect3",points:b("cornerRect3")},null,8,sk),s("polyline",{class:"sfp-corner-rect4",points:b("cornerRect4")},null,8,rk)],64)),e.decoration?(r(),g("polyline",{key:2,class:"sfp-corner-lt-triangle",points:b("cornerTrangleLT")},null,8,Ak)):q("",!0),e.decoration?(r(),g("polyline",{key:3,class:"sfp-corner-rb-triangle",points:b("cornerTrangleRB")},null,8,uk)):q("",!0),(e.title&&!e.decorationAlt||!e.title&&e.decorationAlt)&&e.decoration?(r(),g("polyline",{key:4,class:"sfp-corner-lb-triangle",points:b("cornerTrangleLB")},null,8,dk)):q("",!0),e.title&&!e.decorationAlt||!e.title&&e.decorationAlt||!e.decoration?(r(),g("polyline",{key:5,class:"sfp-corner-lb-line",points:b("cornerLineLB")},null,8,ck)):q("",!0),e.title?(r(),g("polyline",{key:6,class:"sfp-title-deco",points:b("titleDeco")},null,8,fk)):q("",!0)],8,tk))])],2)):q("",!0)],6)),[[l,{callback:f,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),gk={key:0,class:"sfp-content"},hk={class:"sfp-title"},vk={class:"sfp-rotate-wrap"},mk=["width","height"],yk=["filter","d"],bk=["d"],Vk=["points"],wk=["points"],qk=["points"],Ck=["points"],$k=["points"],kk=["d"],Sk=Object.assign({name:"ScifiPanelA2"},{__name:"A2",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&f({width:l,height:A})}));const f=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge(bi(e,t,i.titleWidth))})(),await oe(),n.value=!0},h=m((()=>ce("cpt-panel",{...i.title&&{twidth:i.titleWidth+"px"},...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale},width:c.info.width+"px",height:c.info.height+"px"}))),y=m((()=>i.directionAlt?c.info.height:c.info.width)),V=m((()=>i.directionAlt?c.info.width:c.info.height)),b=e=>{const t=i.directionAlt?"DA_":"";return c.path[t+e]};return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-a3","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),""+(e.directionAlt?"sfp-dir-alt-on":"sfp-dir-alt-off"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-alt":e.decorationAlt,"is-deco-color-alt":e.decorationColorAlt}]),style:re(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",gk,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g(J,{key:1},[s("div",hk,G(e.title),1),s("div",{class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[s("div",vk,[(r(),g("svg",{class:"sfp-svg-elem",width:y.value,height:V.value},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("path",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",d:b("mainBG")},null,8,yk),s("path",{class:"sfp-corner-line",fill:"transparent",d:b("cornerLine")},null,8,bk),s("polyline",{class:"sfp-corner-block",points:b("cornerBlock")},null,8,Vk),e.decoration?(r(),g(J,{key:0},[s("polyline",{class:"sfp-corner-triangle-lb",points:b("cornerTriangleLB")},null,8,wk),e.decorationAlt?q("",!0):(r(),g("polyline",{key:0,class:"sfp-corner-triangle-rt",points:b("cornerTriangleRT")},null,8,qk))],64)):q("",!0),e.decorationAlt?(r(),g("path",{key:2,class:"sfp-title-deco-alt",d:b("titleDecoAlt")},null,8,kk)):(r(),g(J,{key:1},[s("polyline",{class:"sfp-head-line",points:b("titleDeco")},null,8,Ck),s("polyline",{class:"sfp-title-deco",points:b("headLine")},null,8,$k)],64))],8,mk))])],2)],64)):q("",!0)],6)),[[l,{callback:f,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),Tk={key:0,class:"sfp-content"},Bk={class:"sfp-corenr-title"},xk=["width","height"],Pk=["filter","points"],Rk=["points"],zk=["points"],Ik=["points"],Nk=["points"],Dk=Object.assign({name:"ScifiPanelA3"},{__name:"A3",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&f({width:l,height:A})}));const f=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge(Vi(e,t))})(),await oe(),n.value=!0},h=m((()=>ce("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale},width:c.info.width+"px",height:c.info.height+"px"})));return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-a2","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:re(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",Tk,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g(J,{key:1},[s("div",Bk,G(e.title),1),s("div",{class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{class:"sfp-svg-elem",width:d(v).width,height:d(v).height},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polyline",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",points:d(p).mainBG},null,8,Pk),s("polyline",{class:"sfp-corner-large-trg",points:d(p).titleTrangle},null,8,Rk),s("polyline",{class:"sfp-corner-small-trg",points:d(p).decorTriangle},null,8,zk),e.decoration?(r(),g(J,{key:0},[s("polyline",{class:"sfp-corner-long-line",points:d(p).decorLine1},null,8,Ik),s("polyline",{class:"sfp-corner-short-line",points:d(p).decorLine2},null,8,Nk)],64)):q("",!0)],8,xk))],2)],64)):q("",!0)],6)),[[l,{callback:f,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),_k={key:0,class:"sfp-content"},Ok=["width","height"],Mk=["filter","points"],Ek=["points"],Lk=["points"],Wk=["points"],jk=Object.assign({name:"ScifiPanelB1"},{__name:"B1",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{},borderCorner:["topLeft","topRight","bottomLeft","bottomRight"]}),{path:p,info:v}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&f({width:l,height:A})}));const f=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge(wi(e,t))})(),await oe(),n.value=!0},h=m((()=>ce("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale},...i.blurRange&&{bgblur:i.blurRange+"px"}})));return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-b1","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:re(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",_k,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g("div",{key:1,class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),g("svg",{class:"sfp-svg-elem",width:d(v).width,height:d(v).height},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",points:d(p).mainBG},null,8,Mk),s("polygon",{class:"sfp-deco-l",points:d(p).decoL},null,8,Ek),s("polygon",{class:"sfp-deco-r",points:d(p).decoR},null,8,Lk)],8,Ok)),e.decoration?(r(!0),g(J,{key:0},ke(c.borderCorner,(e=>(r(),g("svg",{class:T("sfp-svg-corner sfp-corner-"+e),width:"50",height:"50"},[s("polygon",{class:"sfp-corner-ele",points:d(p).decoCorner},null,8,Wk)],2)))),256)):q("",!0)],2)):q("",!0)],6)),[[l,{callback:f,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),Gk={key:0,class:"sfp-content"},Fk=["width","height"],Hk=["id"],Qk=["id"],Uk=["points"],Yk=["points"],Kk=["points"],Xk=["filter","points"],Zk=["width","height","fill","mask"],Jk=Object.assign({name:"ScifiPanelB2"},{__name:"B2",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&f({width:l,height:A})}));const f=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge(qi(e,t))})(),await oe(),n.value=!0},h=m((()=>ce("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale},...i.blurRange&&{bgblur:i.blurRange+"px"},...i.aniDuration&&{anidur:i.aniDuration+"s"}})));return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-b2","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),{"is-resizing":c.resizing,"is-animation":e.animation,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:re(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",Gk,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g("div",{key:1,class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),g("svg",{class:"sfp-svg-elem",width:d(v).width,height:d(v).height},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("defs",null,[s("linearGradient",{class:"sfp-grad-group",id:`gradient-${d(A)}`,x1:"0%",y1:"0%",x2:"100%",y2:"100%"},[...t[0]||(t[0]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,Hk),s("mask",{id:`mask-${d(A)}`},[e.decoration?(r(),g("polyline",{key:0,class:"sfp-deco-l",fill:"#fff",points:d(p).decoL},null,8,Uk)):q("",!0),e.decoration?(r(),g("polyline",{key:1,class:"sfp-deco-r",fill:"#fff",points:d(p).decoR},null,8,Yk)):q("",!0)],8,Qk)]),s("polyline",{class:"sfp-deco-b",points:d(p).decoB},null,8,Kk),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",points:d(p).mainBG},null,8,Xk),s("rect",{x:"0",y:"0",width:d(v).width,height:d(v).height,fill:`url(#gradient-${d(A)})`,mask:`url(#mask-${d(A)})`},null,8,Zk)],8,Fk))],2)):q("",!0)],6)),[[l,{callback:f,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),eS={key:0,class:"sfp-content"},tS=["width","height"],lS=["filter","d"],aS=["points"],nS=["d"],oS=["points"],iS=["d"],sS=["points"],rS=["points"],AS=Object.assign({name:"ScifiPanelB3"},{__name:"B3",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&f({width:l,height:A})}));const f=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge(Ci(e,t))})(),await oe(),n.value=!0},h=m((()=>ce("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale},...i.blurRange&&{bgblur:i.blurRange+"px"}})));return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-b3","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:re(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",eS,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g("div",{key:1,class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),g("svg",{class:"sfp-svg-elem",width:d(v).width,height:d(v).height},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("path",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",d:d(p).mainBG},null,8,lS),e.decorationAlt?(r(),g("polyline",{key:0,class:"sfp-deco-arrow-tl",points:d(p).decoArrowTL},null,8,aS)):q("",!0),!e.decorationAlt&&e.decoration?(r(),g("path",{key:1,class:"sfp-deco-line-tl",d:d(p).decoLineTL},null,8,nS)):q("",!0),e.decorationAlt?(r(),g("polyline",{key:2,class:"sfp-deco-arrow-br",points:d(p).decoArrowBR},null,8,oS)):q("",!0),!e.decorationAlt&&e.decoration?(r(),g("path",{key:3,class:"sfp-deco-line-br",d:d(p).decoLineBR},null,8,iS)):q("",!0),s("polyline",{class:"sfp-deco-lb",points:d(p).decoLB},null,8,sS),s("polyline",{class:"sfp-deco-rt",points:d(p).decoRT},null,8,rS)],8,tS))],2)):q("",!0)],6)),[[l,{callback:f,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),uS={key:0,class:"sfp-content"},dS=["width","height"],cS=["id"],fS=["id"],pS=["id"],gS=["id"],hS=["filter","points"],vS=["points"],mS=["points"],yS=["points"],bS=["points"],VS=["points"],wS=["points"],qS=["stroke","points"],CS=["stroke","points"],$S=["stroke","points"],kS=["stroke","points"],SS=Object.assign({name:"ScifiPanelB4"},{__name:"B4",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&f({width:l,height:A})}));const f=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge($i(e,t))})(),await oe(),n.value=!0},h=m((()=>ce("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale},...i.blurRange&&{bgblur:i.blurRange+"px"}})));return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-b4","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),""+(e.decoration?"sfp-has-deco":"sfp-no-deco"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:re(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",uS,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g("div",{key:1,class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),g("svg",{class:"sfp-svg-elem",width:d(v).width,height:d(v).height},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("defs",null,[s("linearGradient",{gradientUnits:"userSpaceOnUse",x1:"0%",y1:"0%",x2:"8%",y2:"8%",id:`gradient1-${d(A)}`},[...t[0]||(t[0]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,cS),s("linearGradient",{gradientUnits:"userSpaceOnUse",x1:"100%",y1:"0%",x2:"92%",y2:"8%",id:`gradient2-${d(A)}`},[...t[1]||(t[1]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,fS),s("linearGradient",{gradientUnits:"userSpaceOnUse",x1:"100%",y1:"100%",x2:"92%",y2:"92%",id:`gradient3-${d(A)}`},[...t[2]||(t[2]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,pS),s("linearGradient",{gradientUnits:"userSpaceOnUse",x1:"0%",y1:"100%",x2:"8%",y2:"92%",id:`gradient4-${d(A)}`},[...t[3]||(t[3]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,gS)]),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",points:d(p).mainBG},null,8,hS),s("polyline",{class:"sfp-inf-line1",points:d(p).line1},null,8,vS),s("polyline",{class:"sfp-inf-line2",points:d(p).line2},null,8,mS),s("polyline",{class:"sfp-inf-line3",points:d(p).line3},null,8,yS),e.decoration?(r(),g(J,{key:0},[s("polyline",{class:"sfp-inf-line4",points:d(p).line4},null,8,bS),s("polyline",{class:"sfp-inf-line5",points:d(p).line5},null,8,VS),s("polyline",{class:"sfp-inf-line6",points:d(p).line6},null,8,wS)],64)):q("",!0),e.decoration?(r(),g(J,{key:1},[s("polyline",{class:"sfp-corner-line",stroke:`url(#gradient1-${d(A)})`,points:d(p).cornerTL},null,8,qS),s("polyline",{class:"sfp-corner-line",stroke:`url(#gradient2-${d(A)})`,points:d(p).cornerTR},null,8,CS),s("polyline",{class:"sfp-corner-line",stroke:`url(#gradient3-${d(A)})`,points:d(p).cornerBR},null,8,$S),s("polyline",{class:"sfp-corner-line",stroke:`url(#gradient4-${d(A)})`,points:d(p).cornerBL},null,8,kS)],64)):q("",!0)],8,dS))],2)):q("",!0)],6)),[[l,{callback:f,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),TS={key:0,class:"sfp-content"},BS=["width","height"],xS=["points"],PS=["filter","points"],RS=["points"],zS=["points"],IS=["points"],NS=["points"],DS={key:0,attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"},_S=["points"],OS={key:0,attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"},MS=["points"],ES={key:0,attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"},LS=["points"],WS={key:0,attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"},jS=["points"],GS={key:0,attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"},FS=["points"],HS={key:0,attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"},QS=["x"],US=["points"],YS=["points"],KS=Object.assign({name:"ScifiPanelDV1"},{__name:"DV1",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&f({width:l,height:A})}));const f=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge(ki(e,t,i.titleWidth))})(),await oe(),n.value=!0},h=m((()=>ce("cpt-panel",{...i.title&&{twidth:i.titleWidth+"px"},...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale},width:c.info.width+"px",height:c.info.height+"px"})));return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-dv1","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),""+(e.directionAlt?"sfp-dir-alt-on":"sfp-dir-alt-off"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-hide-deco":!e.decoration,"is-deco-color-alt":e.decorationColorAlt}]),style:re(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",TS,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g("div",{key:1,class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{class:"sfp-svg-elem",width:d(v).width,height:d(v).height},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polygon",{class:"sfp-title-bg",points:d(p).titleBG},null,8,xS),s("polyline",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",points:d(p).border},null,8,PS),s("polygon",{class:"sfp-title-deco-r",points:d(p).titleDecoR},null,8,RS),s("polygon",{class:"sfp-title-deco-l",points:d(p).titleDecoL},null,8,zS),s("polygon",{class:"sfp-title-bg-in",points:d(p).titleBGin},null,8,IS),e.decoration?(r(),g(J,{key:0},[s("polygon",{class:"sfp-deco-t1",opacity:"1",points:d(p).decoT1},[e.animation?(r(),g("animate",DS)):q("",!0)],8,NS),s("polygon",{class:"sfp-deco-t2",opacity:"0.7",points:d(p).decoT2},[e.animation?(r(),g("animate",OS)):q("",!0)],8,_S),s("polygon",{class:"sfp-deco-t3",opacity:"0.5",points:d(p).decoT3},[e.animation?(r(),g("animate",ES)):q("",!0)],8,MS),s("polygon",{class:"sfp-deco-t4",opacity:"1",points:d(p).decoT4},[e.animation?(r(),g("animate",WS)):q("",!0)],8,LS),s("polygon",{class:"sfp-deco-t5",opacity:"0.7",points:d(p).decoT5},[e.animation?(r(),g("animate",GS)):q("",!0)],8,jS),s("polygon",{class:"sfp-deco-t6",opacity:"0.5",points:d(p).decoT6},[e.animation?(r(),g("animate",HS)):q("",!0)],8,FS)],64)):q("",!0),s("text",{class:"sfp-title-text",x:""+d(v).width/2,y:"32","font-size":"18","text-anchor":"middle","dominant-baseline":"middle"},G(e.title),9,QS),s("polygon",{class:"sfp-deco-l",points:d(p).decoL},null,8,US),s("polygon",{class:"sfp-deco-r",points:d(p).decoR},null,8,YS)],8,BS))],2)):q("",!0)],6)),[[l,{callback:f,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),XS={key:0,class:"sfp-content"},ZS=["width","height"],JS=["filter","points"],eT=["points"],tT=["points"],lT=["points"],aT=Object.assign({name:"ScifiPanelDV2"},{__name:"DV2",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{},corners:["left-top","right-top","left-bottom","right-bottom"]}),{path:p,info:v}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&f({width:l,height:A})}));const f=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge(Si(e,t))})(),await oe(),n.value=!0},h=m((()=>ce("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale},...i.aniDuration&&{anidur:i.aniDuration+"s"}})));return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-dv2","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-animation":e.animation,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:re(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",XS,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g("div",{key:1,class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{class:"sfp-svg-elem",width:d(v).width,height:d(v).height},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",points:d(p).mainBG},null,8,JS)],8,ZS)),(r(!0),g(J,null,ke(c.corners,(t=>(r(),g("svg",{width:"150",height:"150",key:t,class:T(`sfp-${t} svg-corner`)},[s("polygon",{points:d(p).decoA},null,8,eT),e.decoration?(r(),g(J,{key:0},[s("polygon",{points:d(p).decoB},null,8,tT),s("polygon",{points:d(p).decoC},null,8,lT)],64)):q("",!0)],2)))),128))],2)):q("",!0)],6)),[[l,{callback:f,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),nT={key:0,class:"sfp-content"},oT=["width","height"],iT=["filter","points"],sT=["points"],rT=["points"],AT=["points"],uT=["points"],dT=["points"],cT=["points"],fT=["points"],pT=["points"],gT=["points"],hT=["points"],vT={class:"sfp-dote"},mT=["cx","cy","r"],yT=["cx","cy","r"],bT=["cx","cy","r"],VT=["cx","cy","r"],wT=Object.assign({name:"ScifiPanelDV3"},{__name:"DV3",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&f({width:l,height:A})}));const f=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge(Ti(e,t))})(),await oe(),n.value=!0},h=m((()=>ce("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale}})));return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-dv3","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:re(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",nT,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g("div",{key:1,class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),g("svg",{class:"sfp-svg-elem",width:d(v).width,height:d(v).height},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",points:d(p).mainBG},null,8,iT),s("polyline",{class:"sfp-border",points:d(p).lineT},null,8,sT),s("polyline",{class:"sfp-border",points:d(p).lineB},null,8,rT),s("polyline",{class:"sfp-border",points:d(p).lineL},null,8,AT),s("polyline",{class:"sfp-border",points:d(p).lineR},null,8,uT),e.decoration?(r(),g(J,{key:0},[s("polyline",{class:"sfp-center-line",points:d(p).lineLc},null,8,dT),s("polyline",{class:"sfp-center-line",points:d(p).lineRc},null,8,cT),s("polyline",{class:"sfp-deco-line",points:d(p).deco1},null,8,fT),s("polyline",{class:"sfp-deco-line",points:d(p).deco2},null,8,pT),s("polyline",{class:"sfp-deco-line",points:d(p).deco3},null,8,gT),s("polyline",{class:"sfp-deco-line",points:d(p).deco4},null,8,hT)],64)):q("",!0),s("g",vT,[s("circle",{cx:5+e.dotOffset,cy:5+e.dotOffset,r:e.dotSize},null,8,mT),s("circle",{cx:d(v).width-5-e.dotOffset,cy:5+e.dotOffset,r:e.dotSize},null,8,yT),s("circle",{cx:d(v).width-5-e.dotOffset,cy:d(v).height-5-e.dotOffset,r:e.dotSize},null,8,bT),s("circle",{cx:5+e.dotOffset,cy:d(v).height-5-e.dotOffset,r:e.dotSize},null,8,VT)])],8,oT))],2)):q("",!0)],6)),[[l,{callback:f,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),qT={key:0,class:"sfp-content"},CT=["width","height"],$T=["filter","points"],kT=["points"],ST={key:0,class:"sfp-svg-dot"},TT=["cx","cy","r"],BT=["cx","cy","r"],xT=["cx","cy","r"],PT=["cx","cy","r"],RT=Object.assign({name:"ScifiPanelDV4"},{__name:"DV4",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&f({width:l,height:A})}));const f=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge(Bi(e,t))})(),await oe(),n.value=!0},h=m((()=>ce("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale}})));return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-dv4","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:re(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",qT,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g("div",{key:1,class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),g("svg",{class:"sfp-svg-elem",width:d(v).width,height:d(v).height},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",points:d(p).mainBG},null,8,$T),s("polyline",{class:"sfp-svg-inner-bd",points:d(p).innerBorder},null,8,kT),e.decoration?(r(),g("g",ST,[s("circle",{cx:13+e.dotOffset,cy:13+e.dotOffset,r:e.dotSize},null,8,TT),s("circle",{cx:d(v).width-13-e.dotOffset,cy:13+e.dotOffset,r:e.dotSize},null,8,BT),s("circle",{cx:d(v).width-13-e.dotOffset,cy:d(v).height-13-e.dotOffset,r:e.dotSize},null,8,xT),s("circle",{cx:13+e.dotOffset,cy:d(v).height-13-e.dotOffset,r:e.dotSize},null,8,PT)])):q("",!0)],8,CT))],2)):q("",!0)],6)),[[l,{callback:f,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),zT={key:0,class:"sfp-content"},IT=["width","height"],NT=["filter","points"],DT={class:"sfp-corner-line sfp-line-w2"},_T=["points"],OT=["points"],MT=["points"],ET=["points"],LT={key:0,class:"sfp-corner-line sfp-line-w5"},WT=["points"],jT=["points"],GT=["points"],FT=["points"],HT=Object.assign({name:"ScifiPanelDV5"},{__name:"DV5",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&f({width:l,height:A})}));const f=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge(xi(e,t))})(),await oe(),n.value=!0},h=m((()=>ce("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale}})));return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-dv5","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:re(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",zT,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g("div",{key:1,class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),g("svg",{class:"sfp-svg-elem",width:d(v).width,height:d(v).height},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polyline",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",points:d(p).mainBG},null,8,NT),s("g",DT,[s("polyline",{points:d(p).cornerA1},null,8,_T),s("polyline",{points:d(p).cornerA2},null,8,OT),s("polyline",{points:d(p).cornerA3},null,8,MT),s("polyline",{points:d(p).cornerA4},null,8,ET)]),e.decoration?(r(),g("g",LT,[s("polyline",{points:d(p).cornerB1},null,8,WT),s("polyline",{points:d(p).cornerB2},null,8,jT),s("polyline",{points:d(p).cornerB3},null,8,GT),s("polyline",{points:d(p).cornerB4},null,8,FT)])):q("",!0)],8,IT))],2)):q("",!0)],6)),[[l,{callback:f,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),QT={key:0,class:"sfp-content"},UT=["width","height"],YT=["filter","points"],KT=["points"],XT=Object.assign({name:"ScifiPanelDV6"},{__name:"DV6",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{},corners:["left-top","right-top","left-bottom","right-bottom"]}),{path:p,info:v}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&f({width:l,height:A})}));const f=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge(Pi(e,t))})(),await oe(),n.value=!0},h=m((()=>ce("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale}})));return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-dv6","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:re(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",QT,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g("div",{key:1,class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),g("svg",{class:"sfp-svg-elem",width:d(v).width,height:d(v).height},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",points:d(p).mainBG},null,8,YT)],8,UT)),n.value&&e.decoration?(r(!0),g(J,{key:0},ke(c.corners,(e=>(r(),g("svg",{width:"150px",height:"150px",key:e,class:T(`sfp-${e} sfp-svg-corner`)},[s("polygon",{points:d(p).deco},null,8,KT)],2)))),128)):q("",!0)],2)):q("",!0)],6)),[[l,{callback:f,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),ZT={key:0,class:"sfp-content"},JT=["width","height"],eB={key:0},tB=["id"],lB=["filter","d"],aB=["filter"],nB=["d"],oB=["d"],iB=["d"],sB=["d"],rB=Object.assign({name:"ScifiPanelDV7"},{__name:"DV7",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&f({width:l,height:A})}));const f=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge(Ri(e,t))})(),await oe(),n.value=!0},h=m((()=>ce("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale},...i.aniDuration&&{anidur:i.aniDuration+"s"}})));return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-dv7","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-animation":e.animation,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:re(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",ZT,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g("div",{key:1,class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),g("svg",{class:"sfp-svg-elem",width:d(v).width,height:d(v).height},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),e.decoration?(r(),g("defs",eB,[s("filter",{class:"sfp-glow-filter",id:`filter2-${d(A)}`,height:"150%",width:"150%",x:"-25%",y:"-25%"},[...t[0]||(t[0]=[s("feMorphology",{operator:"dilate",radius:"1",in:"SourceAlpha",result:"thicken"},null,-1),s("feGaussianBlur",{in:"thicken",stdDeviation:"2",result:"blurred"},null,-1),s("feFlood",{result:"glowColor"},null,-1),s("feComposite",{in:"glowColor",in2:"blurred",operator:"in",result:"softGlowColored"},null,-1),s("feMerge",null,[s("feMergeNode",{in:"softGlowColored"}),s("feMergeNode",{in:"SourceGraphic"})],-1)])],8,tB)])):q("",!0),s("path",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",d:d(p).mainBG},null,8,lB),e.decoration?(r(),g("g",{key:1,class:"sfp-corner",filter:`url(#filter2-${d(A)})`},[s("path",{d:d(p).corner1},null,8,nB),s("path",{d:d(p).corner2},null,8,oB),s("path",{d:d(p).corner3},null,8,iB),s("path",{d:d(p).corner4},null,8,sB)],8,aB)):q("",!0)],8,JT))],2)):q("",!0)],6)),[[l,{callback:f,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),AB={key:0,class:"sfp-content"},uB=["width","height"],dB=["filter","d"],cB=["d"],fB=["d"],pB={key:1},gB=["points"],hB=["points"],vB=["d"],mB=Object.assign({name:"ScifiPanelDV8"},{__name:"DV8",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&f({width:l,height:A})}));const f=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge(zi(e,t))})(),await oe(),n.value=!0},h=m((()=>ce("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale}})));return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-dv8","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),""+(e.rotate?"sfp-rotate-"+e.rotate:"sfp-rotate-none"),{"is-resizing":c.resizing,"is-animation":e.animation,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:re(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",AB,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g("div",{key:1,class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{class:"sfp-svg-elem",width:d(v).width,height:d(v).height},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("path",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",d:d(p).mainBG},null,8,dB),s("path",{class:"sfp-dash",d:d(p).headDecoA},null,8,cB),e.borderd?(r(),g("path",{key:0,class:"sfp-head-line",d:d(p).headDecoB},null,8,fB)):q("",!0),e.decoration?(r(),g("g",pB,[e.decoration?(r(),g("polyline",{key:0,class:"sfp-corner-lb",points:d(p).decoLB},null,8,gB)):q("",!0),s("polyline",{class:"sfp-corner-rt",points:d(p).decoRT},null,8,hB)])):q("",!0),s("path",{class:"sfp-corner-rb",d:d(p).decoRB},null,8,vB)],8,uB))],2)):q("",!0)],6)),[[l,{callback:f,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),yB={key:0,class:"sfp-content"},bB=["width","height"],VB=["id","d"],wB=["id","d"],qB=["id"],CB=["id"],$B=["fill"],kB=["dur","path"],SB=["dur","path"],TB=["filter","points"],BB=["xlink:href","mask"],xB=Object.assign({name:"ScifiPanelDV9"},{__name:"DV9",props:{...rt},setup(e){const{$optResizeCounter:t,initResizeBy:l}=me("$global",null),a=l(),i=e,A=Ce("sfPan"),o=k(!1),n=k(!1),u=k(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}});m((()=>2*(c.info.width+c.info.height)));const p=m((()=>i.aniDuration||10)),{path:v,info:f}=Le(c);F((()=>t.value),((e,t)=>{if("root"!=a.value(i.resizeObserver))return;const{clientWidth:l,clientHeight:A}=o.value;e>t&&h({width:l,height:A})}));const h=async({width:e,height:t})=>{c.info.width=e,c.info.height=t,(()=>{const{width:e,height:t}=c.info;c.path=Ge(Ii(e,t))})(),await oe(),n.value=!0},y=m((()=>ce("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale},...i.aniDuration&&{anidur:i.aniDuration+"s"}})));return fe((()=>{u.value=!0})),(e,t)=>{const l=Ee("tui-resize");return r(),Y(Be,{name:"fade"},{default:_((()=>[he((r(),g("div",{class:T(["scifi-panel-dv9","sf-svg-panel","sf-svg-component",e.className,""+(n.value?"is-inited":"is-loading"),{"is-resizing":c.resizing,"is-animation":e.animation,"is-borderd":e.borderd,"is-borderless":!e.borderd,"is-deco-color-alt":e.decorationColorAlt}]),style:re(y.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",yB,[K(e.$slots,"default")])):q("",!0),n.value?(r(),g("div",{key:1,class:T(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur}])},[(r(),g("svg",{class:"sfp-svg-elem",width:d(f).width,height:d(f).height},[ne(At,{uid:d(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("defs",null,[e.reverse?(r(),g("path",{key:1,id:`path-${d(A)}`,d:d(v).pathR,fill:"transparent"},null,8,wB)):(r(),g("path",{key:0,id:`path-${d(A)}`,d:d(v).pathN,fill:"transparent"},null,8,VB)),s("radialGradient",{id:`gradient-${d(A)}`,cx:"50%",cy:"50%",r:"50%"},[...t[0]||(t[0]=[s("stop",{offset:"0%","stop-color":"#fff","stop-opacity":"1"},null,-1),s("stop",{offset:"100%","stop-color":"#fff","stop-opacity":"0"},null,-1)])],8,qB),s("mask",{id:`mask-${d(A)}`},[s("circle",{cx:"0",cy:"0",r:"150",fill:`url(#gradient-${d(A)})`},[e.reverse?(r(),g("animateMotion",{key:1,dur:`${p.value}s`,path:d(v).pathR,rotate:"auto",repeatCount:"indefinite"},null,8,SB)):(r(),g("animateMotion",{key:0,dur:`${p.value}s`,path:d(v).pathN,rotate:"auto",repeatCount:"indefinite"},null,8,kB))],8,$B)],8,CB)]),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${d(A)})`:"",points:d(v).mainBG},null,8,TB),s("use",{class:"sfp-deco-light","xlink:href":`#path-${d(A)}`,mask:`url(#mask-${d(A)})`},null,8,BB)],8,bB))],2)):q("",!0)],6)),[[l,{callback:h,uid:d(A),disabled:"self"!=d(a)(e.resizeObserver)&&n.value}],[Te,u.value]])])),_:3})}}}),PB={backgroundOpacity:Number,scale:Number,decoration:{type:Boolean,default:!0},decorationAlt:{type:Boolean,default:!1},glow:{type:Boolean,default:!1},glowRange:Number,glowOpacity:Number,title:String,className:String,titleWidth:{type:Number,default:150},borderd:{type:Boolean,default:!0},borderWidth:Number,rotate:{type:String,validator:e=>["x","y","z","all"].includes(e)},reverse:{type:Boolean,default:!1},directionAlt:{type:Boolean,default:!1},shadowType:{type:String,default:"drop",validator:e=>["drop","t3d","none"].includes(e)},animation:{type:Boolean,default:!0},aniDuration:Number,dotSize:{type:Number,default:2},dotOffset:{type:Number,default:0},backgroundBlur:{type:Boolean,default:!1},blurRange:Number},RB={class:"tui-panel-content"},zB=Object.assign({name:"TuiPanelA1"},{__name:"A1",props:{...PB,angleLength:Number,angleWeight:Number,anglePosition:Number,borderRadius:Number,borderRadiusFix:Number},setup(e){const t=e;Ce("tuipan"),k(!1);const l=m((()=>ce("cpt-panel",{...t.borderWidth&&{bdw:t.borderWidth+"px"},...t.backgroundOpacity&&{bgop:t.backgroundOpacity},...t.scale&&{scale:t.scale},...t.angleLength&&{agl:t.angleLength+"px"},...t.angleWeight&&{agw:t.angleWeight+"px"},...t.anglePosition&&{agp:t.anglePosition+"px"},...t.borderRadius&&{bdra:t.borderRadius+"px"},...t.borderRadiusFix&&{bdrafix:t.borderRadiusFix+"px"},...t.blurRange&&{bgblur:t.blurRange+"px"},...t.glowRange&&{glowr:t.glowRange+"px"},...t.glowOpacity&&{glowop:t.glowOpacity}})));return fe((()=>{})),(e,t)=>(r(),g("div",{class:T(["tui-panel-a1","tui-panel",e.className,{"is-borderd":e.borderd}]),style:re(l.value)},[s("div",RB,[K(e.$slots,"default")]),s("div",{class:T(["tui-panel-appera",{"t3d-shadow-item":"t3d"==e.shadowType,"tui-shadow-item":"drop"==e.shadowType,"has-bd-filter":e.backgroundBlur,"is-glow":e.glow}])},[...t[0]||(t[0]=[s("div",{class:"tui-panel-bg"},null,-1),s("div",{class:"tui-corner-angle-l"},null,-1),s("div",{class:"tui-corner-angle-r"},null,-1)])],2)],6))}}),Zl={width:Number,minWidth:Number,fontWeight:String,fontSize:Number,offset:Number,top:Number,title:String,className:String,backgroundOpacity:Number,scale:{type:Number,default:1},appearance:{type:String,default:"A",validator:e=>["A","B","C","D"].includes(e)},position:{type:String,default:null,validator:e=>["center","left","right"].includes(e)},decorationColorAlt:{type:Boolean,default:!1}},IB={class:"sfpt-text"},NB=["width"],DB=["points"],_B=["points"],OB=["points"],MB=["width"],EB=["d"],LB=Object.assign({name:"ScifiPanelTitleA1"},{__name:"A1",props:{...Zl},setup(e){const t=e,l=k(null);Ce("sfPanTi");const a=k(!1),i=Ve({resizing:!1,path:{},width:0}),{path:A}=Le(i),o=()=>{const e=l.value;e&&(i.width=e.clientWidth,(async()=>{i.path=Ge(Ni(i.width)),await oe(),a.value=!0})())},n=m((()=>ce("cpt-panti",{...t.fontWeight&&{fw:t.fontWeight},...t.fontSize&&{fz:t.fontSize+"px"},...t.scale&&{scale:t.scale},...t.offset&&{ofs:t.offset+"px"},...t.top&&{top:t.top+"px"},width:i.width+"px"})));return fe((()=>{o()})),(e,t)=>(r(),g("div",{class:T(["scifi-panti-a1","sf-svg-panti","sf-svg-component",e.className,""+(a.value?"is-inited":"is-loading"),`sfpt-position-${e.position||"center"}`,`sfpt-appea-${e.appearance}`,{"is-deco-color-alt":e.decorationColorAlt}]),style:re(n.value),ref_key:"pantiRef",ref:l},[s("div",IB,[e.title?(r(),g(J,{key:1},[Re(G(e.title),1)],64)):K(e.$slots,"default",{key:0})]),a.value?(r(),g(J,{key:0},["A"==e.appearance?(r(),g("svg",{key:0,class:"sfpt-svg-elem",width:e.width,height:"8"},[s("polyline",{class:"dec-center",stroke:"none",points:d(A).AdecoC},null,8,DB),s("polyline",{class:"dec-left",stroke:"none",points:d(A).AdecoL},null,8,_B),s("polyline",{class:"dec-right",stroke:"none",points:d(A).AdecoR},null,8,OB)],8,NB)):q("",!0),"B"==e.appearance?(r(),g("svg",{key:1,class:"sfpt-svg-elem",width:e.width,height:"40"},[s("path",{class:"dec-path",d:d(A).Bdeco},null,8,EB)],8,MB)):q("",!0)],64)):q("",!0)],6))}}),WB={class:"sfpt-text"},jB={class:"sfpt-svg-elem",width:"20",height:"40"},GB=["d"],FB={class:"sfpt-svg-elem",width:"20",height:"40"},HB=["d"],QB=["d"],UB=["d"],YB=Object.assign({name:"ScifiPanelTitleA2"},{__name:"A2",props:{...Zl},setup(e){const t=e,l=k(null);Ce("sfPanTi");const a=k(!1),i=Ve({resizing:!1,path:{}}),{path:A}=Le(i);m((()=>t.width||450));const o=()=>{const e=l.value;e&&(i.width=e.clientWidth,(async()=>{i.path=Ge(Di(i.width)),await oe(),a.value=!0})())},n=m((()=>ce("cpt-panti",{...t.fontWeight&&{fw:t.fontWeight},...t.fontSize&&{fz:t.fontSize+"px"},...t.scale&&{scale:t.scale},...t.offset&&{ofs:t.offset+"px"},...t.top&&{top:t.top+"px"},width:i.width+"px"})));return fe((()=>{o()})),(e,t)=>(r(),g("div",{class:T(["scifi-panti-a2","sf-svg-panti","sf-svg-component",e.className,""+(a.value?"is-inited":"is-loading"),`sfpt-position-${e.position||"center"}`,`sfpt-appea-${e.appearance}`,{"is-deco-color-alt":e.decorationColorAlt}]),style:re(n.value),ref_key:"pantiRef",ref:l},[s("div",WB,[e.title?(r(),g(J,{key:1},[Re(G(e.title),1)],64)):K(e.$slots,"default",{key:0})]),a.value?(r(),g(J,{key:0},["A"==e.appearance?(r(),g(J,{key:0},ke(2,(e=>s("svg",jB,[s("path",{class:"dec-polyline",d:d(A).Adeco},null,8,GB)]))),64)):q("",!0),"B"==e.appearance?(r(),g(J,{key:1},ke(2,(e=>s("svg",FB,[s("path",{class:"dec-path1",d:d(A).Bdeco1},null,8,HB),s("path",{class:"dec-path2",d:d(A).Bdeco2},null,8,QB),s("path",{class:"dec-path3",d:d(A).Bdeco3},null,8,UB)]))),64)):q("",!0)],64)):q("",!0)],6))}}),KB={key:0,class:"deco-svg",width:"20",height:"30"},XB=["d"],ZB={key:1,class:"deco-svg",width:"20",height:"30"},JB=["d"],ex=["d"],tx=["d"],lx={class:"sfpt-text"},ax=Object.assign({name:"ScifiPanelTitleA3"},{__name:"A3",props:{...Zl},setup(e){const t=e,l=k(null),a=k(!1),i=Ve({resizing:!1,path:{}}),{path:A}=Le(i),o=m((()=>ce("cpt-panti",{...t.fontWeight&&{fw:t.fontWeight},...t.fontSize&&{fz:t.fontSize+"px"},...t.scale&&{scale:t.scale},...t.offset&&{ofs:t.offset+"px"},...t.top&&{top:t.top+"px"}})));return fe((()=>{(async()=>{i.path=Ge(_i(i.width)),await oe(),a.value=!0})()})),(e,t)=>(r(),g("div",{class:T(["scifi-panti-a3","sf-svg-panti","sf-svg-component",e.className,""+(a.value?"is-inited":"is-loading"),`sfpt-position-${e.position||"left"}`,`sfpt-appea-${e.appearance}`,{"is-deco-color-alt":e.decorationColorAlt}]),style:re(o.value),ref_key:"pantiRef",ref:l},["A"==e.appearance?(r(),g("svg",KB,[s("path",{class:"deco-path",d:d(A).Adeco},null,8,XB)])):q("",!0),"B"==e.appearance?(r(),g("svg",ZB,[s("path",{class:"deco-path",d:d(A).Bdeco1},null,8,JB),s("path",{class:"deco-path-sub",d:d(A).Bdeco2},null,8,ex),s("path",{class:"deco-path-sub",d:d(A).Bdeco3},null,8,tx)])):q("",!0),s("span",lx,[e.title?(r(),g(J,{key:1},[Re(G(e.title),1)],64)):K(e.$slots,"default",{key:0})])],6))}}),Nn={width:Number,minWidth:Number,fontWeight:String,fontSize:Number,offset:Number,top:Number,title:String,className:String,backgroundOpacity:Number,scale:{type:Number,default:1},appearance:{type:String,default:"A",validator:e=>["A","B","C","D"].includes(e)},position:{type:String,default:null,validator:e=>["center","left","right"].includes(e)},decorationColorAlt:{type:Boolean,default:!1}},nx=Object.assign({name:"TuiPanelTitleA1"},{__name:"A1",props:{...Nn},setup(e){const t=e,l=m((()=>ce("cpt-panti",{...t.fontWeight&&{fw:t.fontWeight},...t.fontSize&&{fz:t.fontSize+"px"},...t.scale&&{scale:t.scale},...t.offset&&{ofs:t.offset+"px"},...t.top&&{top:t.top+"px"}})));return(e,t)=>(r(),g("div",{class:T(["tui-panti-a1","tui-panti",e.className,`position-${e.position||"center"}`,{"is-deco-color-alt":e.decorationColorAlt}]),style:re(l.value),ref:"pantiRef"},[e.title?(r(),g(J,{key:1},[Re(G(e.title),1)],64)):K(e.$slots,"default",{key:0})],6))}}),ox=Object.assign({name:"TuiPanelTitleA2"},{__name:"A2",props:{...Nn},setup(e){const t=e,l=m((()=>ce("cpt-panti",{...t.fontWeight&&{fw:t.fontWeight},...t.fontSize&&{fz:t.fontSize+"px"},...t.scale&&{scale:t.scale},...t.offset&&{ofs:t.offset+"px"},...t.top&&{top:t.top+"px"}})));return(e,t)=>(r(),g("div",{class:T(["tui-panti-a2","tui-panti",e.className,`position-${e.position||"left"}`,{"is-deco-color-alt":e.decorationColorAlt}]),style:re(l.value),ref:"pantiRef"},[e.title?(r(),g(J,{key:1},[Re(G(e.title),1)],64)):K(e.$slots,"default",{key:0})],6))}}),Vx={$dDrag:ur,$dMenu:Os,$dResize:dr,$dPopover:nr,$dCursorTip:Zs,$dVcid:cr},wx={tuiService:$s,tuiBus:Fa},qx={$gAttention:Zr,$gMask:sA,$gLoading:nA,$gPopover:fA,$gPopoverDirectiveCloseAll:or},Cx=[VA,TA,MA,LA,id,hc,Bn,rf,Uc,Af,Bc,Lc,bf,df,ff,gf,xn,yf,Qa,Xt,wf,qf,Cf,Nf,Ff,gp,vp,Pp,zp,Dp,Wp,Rn,Gp,Fp,sg,rg,dg,cg,bg,Sg,Tg,Pg,jg,Hg,_l,Ug,Jg,eh,sh,vh,Ch,Sh,Wh,Kh,Xh,hv,mv,Fv,$m,Sm,Pm,zm,_m,Om,Em,Fm,Hm,Hv,Xv,Xm,Jm,ty,ay,dn,oy,rn,Zt,Ua,Xa,Ya,dy,hy,Vy,Za,Hl,Ql,Xl,ky,Ty,Xy,sb,rb,Ab,fb,hb,vb,Vb,qb,Cb,$b,Mb,Kb,hV,xV,_V,JV,cw,$w,Ow,Xw,d0,r1,dq,Kq,mC,xC,FC,C$,Y$,pk,Sk,Dk,jk,Jk,AS,SS,KS,aT,wT,RT,HT,XT,rB,mB,xB,zB,LB,YB,ax,nx,ox];export{Cx as toComps,Vx as toDirective,qx as toGlobal,wx as toRoot};
|