@techui/scifi 0.0.6-alpha.1 → 0.1.0-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 +88 -5
- package/TECHUI.md +38 -40
- package/UPDATE.md +62 -8
- package/core/core.d.ts +329 -200
- package/core/core.js +1275 -1218
- package/core/core_bg.wasm +0 -0
- package/core/core_bg.wasm.d.ts +67 -64
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/index.js +190 -112
- package/package.json +6 -6
- package/dist/modules/echartsTheme.js +0 -1
- package/dist/modules/tuiEcharts.js +0 -1
- package/dist/modules/tuiEchartsMap.js +0 -1
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tMitt as Ye,tEvent as bA,tObj as RA,styleInit as JA,tQuery as CA,tDom as XA,tLang as ke,initLang as rt,tStore as qe,tConsole as dt,tMonitor as Te,tType as DA,genUid as X,tResize as Fe,cssVarGen as F,tTimer as hA,syncContSize as ct,tArr as Le,tNum as ve,tStr as me,tTheme as we,tClass as ge,deviceInfo as ut,fullScreen as Se,viewTransStart as De,tCoreTpl as iA}from"@techui/utils";import{svgPatDiamondWeaving as Me,svgPatZigzagB as Vt,svgPatZigzagA as pt,svgPatWaveB as gt,svgPatWaveA as ft,svgPatTriangleB as ht,svgPatTriangleA as qt,svgPatTotem as vt,svgPatRectWeavingC as mt,svgPatRectWeavingB as wt,svgPatRectWeavingA as yt,svgPatSlashParallel as bt,svgPatShellB as $t,svgPatShellA as Bt,svgPatRain as Ct,svgPatMountains as _t,svgPatMazeC as kt,svgPatMazeB as Tt,svgPatMazeA as St,svgPatLineWeaving as Dt,svgPatLineGrid as Mt,svgPatHexagonCurved as Rt,svgPatHexagonD as zt,svgPatHexagonC as Pt,svgPatHexagonB as Ot,svgPatHexagonA as Gt,svgPatDots as Et,svgPatDiamondPixel as Nt,svgPatDiamondLattice as It,svgPatDiamondFlipped as Qt,svgPatCubeC as Wt,svgPatCubeB as jt,svgPatCubeA as xt,svgPatCrosshairB as Yt,svgPatCrosshairA as Ft,svgPatContourLine as Lt,svgPatCircularOverlayB as Ut,svgPatCircularOverlayA as Ht,svgPatCircuitDiagram as Kt,svgPatBlocks as Zt,svgPatTest as Jt,svgSpinRingA as Re,svgSpinRingC as Xt,svgSpinRingB as As,svgSpinPulseRingC as es,svgSpinPulseRingB as ts,svgSpinPulseRingA as ss,svgSpinPulseDotC as os,svgSpinPulseDotB as as,svgSpinPulseDotA as is,svgSpinPointC as ns,svgSpinPointB as ls,svgSpinPointA as rs,svgSpinClock as ds,svgSpinBlocksC as cs,svgSpinBlocksB as us,svgSpinBlocksA as Vs,svgSpinBarsC as ps,svgSpinBarsB as gs,svgSpinBarsA as fs,openDec as ye,openEnc as be,getVer as hs,getEnv as $e,coreConsoleInfo as qs,cidVaild as Ue,cssVarGen as IA,adptCalc as vs,bar3DPathGen as fe,cidGen as He,md5Enc as ze,pieArcPathGen as ms,t3dCoeffCalc as Pe,t3dUpdateRotate as Oe,t3dUpdateOrient as ws,floatInfo as ys,scifiButtonA1 as bs,scifiButtonA2 as $s,scifiButtonA3 as Bs,scifiButtonA4 as Cs,scifiButtonA5 as _s,scifiGeomHexagon as ks,scifiGeomeParallelogram as Ts,scifiGeomeRectangle as Ss,scifiGeomeTrapezoid as Ds,scifiGeomeTriangle as Ms,scifiDecoA1 as Rs,scifiDecoB1 as zs,scifiDecoB2 as Ps,scifiDecoB3 as Os,scifiDecoD1 as Gs,scifiHeaderA1 as Es,scifiHeaderA2 as Ns,scifiHeaderA3 as Is,scifiHeaderA4 as Qs,scifiPanelA1 as Ws,scifiPanelA3 as js,scifiPanelA2 as xs,scifiPanelB1 as Ys,scifiPanelB2 as Fs,scifiPanelB3 as Ls,scifiPanelB4 as Us,scifiPanelDV1 as Hs,scifiPanelDV2 as Ks,scifiPanelDV3 as Zs,scifiPanelDV4 as Js,scifiPanelDV5 as Xs,scifiPanelDV6 as Ao,scifiPanelDV7 as eo,scifiPanelDV8 as to,scifiPanelDV9 as so,scifiPanelTitleA1 as oo,scifiPanelTitleA2 as ao,scifiPanelTitleA3 as io}from"@techui/scifi";import{reactive as H,toRefs as aA,computed as m,getCurrentInstance as QA,ref as C,watch as W,onMounted as L,onUnmounted as Ae,onBeforeUnmount as ee,createBlock as Z,createCommentVNode as q,openBlock as l,Teleport as Be,createVNode as Y,Transition as J,withCtx as j,withDirectives as U,createElementBlock as u,normalizeStyle as E,normalizeClass as k,createElementVNode as A,toDisplayString as uA,vShow as oA,h as Ke,render as le,nextTick as Q,inject as qA,unref as e,useSlots as Ze,resolveComponent as zA,resolveDirective as wA,Fragment as O,mergeProps as Ce,renderSlot as K,renderList as rA,createTextVNode as FA,useAttrs as no,onBeforeMount as re,normalizeProps as lo,guardReactiveProps as ro,vModelText as co,provide as Je,createStaticVNode as uo}from"vue";import{$c as PA}from"@techui/colors";import Vo from"@techui/libs/dt-detector";import{useRouter as Xe,useRoute as po}from"vue-router";const At=new Ye;At.data={};const go="data:audio/mpeg;base64,//OAxAAAAAAAAAAAAFhpbmcAAAAPAAAABAAAA6oAW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbycnJycnJycnJycnJycnJycnJycnJycnJyfb29vb29vb29vb29vb29vb29vb29vb29vb/////////////////////////////////AAAAKExBTUUzLjEwMAQAAAAAAAAAAAAVCCQEGCEAAbgAAAOqYpgBhQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/zkMQACIgCdHVAAAAACBjsn///lwf//B95QEP+XP/+Tg///z8H//Lh/id5/B/IKiRWpnhllnljdrcbQ4Yw0AzECAcIT0DBJ1IaAdfqJ7PUUCYuloWvZuy5h6NDXWtt2R8a2vBugsBRVewstea96LNcsYQBy5c79MsWvTtlUxk8BPq5SNjdGWJeN7alNJQuTGEJ7dl2NKDKReOPxJJay92Wswlypp3qGPe3GVsrjFOypl8wle0RKx5opT3qGMyl9YzTXKa8uxl8HxqUuS+1998+0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qqqqqqqqqqqqqqqv/zEMT5BGBOowAIBiGqqqqqqqqqqqqqqqqq//MQxPIAAAP8AAAAAKqqqqqqqqqqqqqqqqo=",bo="data:audio/mpeg;base64,SUQzAwAAAAAVf1RYWFgAAAD5AAAB//5DAE8ATQBNAAAA//4gADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAyADEAMAAgADAAMAAwADAAMABBADEAMwAgADAAMAAwADAAMAAwADAAMAAwADAAMAAwAEEAQwA1AEQAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADQAQQA0ADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAAABDT01NAAAA9AAAAWVuZ//+AAD//iAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADIAMQAwACAAMAAwADAAMAAwAEEAMQAzACAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAQQBDADUARAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAANABBADQAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAAAENPTU0AAAD0AAABZW5n//4AAP/+IAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMgAxADAAIAAwADAAMAAwADAAQQAxADMAIAAwADAAMAAwADAAMAAwADAAMAAwADAAMABBAEMANQBEACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAA0AEEANAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwAAAAAAAAAAAAAAA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eg;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+qtMFQpMLwPMLAEZ6YAAqYFgDQz0sMCgPSApWEmBQFGKIFKGxRpKqyKCWjIgArhwAMQ8FjS52BHfgVy6OLy/J+86dy35kkZsxKloH++V/+NwxOB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AAAAAAAAAAAA",_o="data:audio/mpeg;base64,/+NIxAAAAAAAAAAAAFhpbmcAAAAPAAAAAwAAA/AAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm////////////////////////////////////////////AAAAPExBTUUzLjEwMAQoAAAAAAAAAAAVCCQDMCEAAcwAAAPw36ttfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+NYxAAfMna+X0FYAL/rYykSBOAAMYxjGP/mMAOUgDGMYxjGMAAAAAAEMYxjGMY///p73ve977pjGMYxlPe973vfbGMYxjGMe973ve+6YxjGMr5e977/////9jGG5uSxvAjATATBHXJZPPvB8HwcBAEAQBAH3//lAQBAEAfB8H////B8PggCAIBhvArQvQrAzAbAEYE/ClRZYxmTRt3K1NvH9oSS4K0kVoCzvVuZf5aZNEuSXhlUhrxrLXcV5IrKDMxQkr1q26CnltT9475qOFugcASE5FICgYqWW5WLsth21chf6y1lv9wDTZOlKbMRiTKkTnBkstgB2n+d2cfl/sd463ym1TZY1ZTWlUNSmMuzEmtKZa7vf5dyvdikQiUiYDdcFUqqqaoXAROUVBoxDFpVUABGYGhE5bLX9rRqm3S46ybsYACCYuB2CgFjPf7///+ZinwZMKCZKz0ZytUapi8YmCm2EAAO/+NIxN5D05q7GZjoMWAgAp6o4qrSmCoGuv7LOU03a+aq4ymtTU1Wlq3v7q/vf6y1r+d/carU28s6XYqY4KlVTEFNRTMuMTAwLjFVVVVVVVVVVVVVVVVVVVVVVVVMQU1FMy4xMDAuMVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV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qq//MQxO0AwApkoBAAAaqqqqqqqqqqqqqqqqr/8xDE8gAAA/wAAAAAqqqqqqqqqqqqqqqqqv/zEMTyAAAD/AAAAACqqqqqqqqqqqqqqqqq//MQxPIAAANIAAAAAKqqqqqqqqqqqqqqqqo=",Ge={clickA:go,clickB:fo,clickC:ho,dindonA:qo,dindonB:vo,dindonC:mo,errorA:wo,errorB:yo,errorC:bo,errorD:$o,pingA:Bo,pingB:Co,pingC1:_o,pingC2:ko,pingC3:To,popupA:So,popupB:Do,popupC:Mo,popupD:Ro},OA=new Map,zo=(A,e=!1,a=null,t=0)=>{const l=Ge[A]?A:"pinA",o=a||l;et(o);const i={audio:new Audio(Ge[l]),timer:null,playing:!0,endedHandler:null,errorHandler:null,resolveCallback:null},s=i.audio;OA.set(o,i),i.endedHandler=function(){e&&t>0?OA.has(o)&&OA.get(o).playing&&(i.timer=setTimeout((()=>{OA.has(o)&&OA.get(o).playing&&(s.currentTime=0,s.play().catch((A=>{console.warn("Error replaying audio:",A)})))}),t)):e||(i.resolveCallback&&i.resolveCallback(o),ZA(o))},bA.add(s,"ended",i.endedHandler,o),i.errorHandler=A=>{ZA(o)},bA.add(s,"error",i.errorHandler,o),s.loop=e&&0===t;const n=s.play();return e?Promise.resolve(o):new Promise(((A,e)=>{i.resolveCallback=A,n.catch((A=>{console.warn("Error playing audio:",A),ZA(o),e(A)}))}))},ZA=A=>{if(OA.has(A)){const e=OA.get(A);e.playing=!1,e.endedHandler&&bA.remove(e.audio,"ended",A),e.errorHandler&&bA.remove(e.audio,"error",A),e.audio.pause(),e.audio.currentTime=0,e.timer&&clearTimeout(e.timer),OA.delete(A)}},et=A=>!!OA.has(A)&&(ZA(A),!0),Po=()=>{OA.forEach(((A,e)=>{ZA(e)}))},Oo={play:zo,stop:et,stopAll:Po},Go=(A,e,a)=>{const{background:t}=A;if(!t)return void console.error("Error: themePalette initialized error");const l=H({viewType:"all",cssResult:"",graphicType:"SvgPattern",cssAni:{},css:{},grad:{},SvgPattern:{gradType:"radial",gradOrientation:"ellipse at bottom",viewSvgName:"diamondWeaving",viewBG:null,viewGrad:t.view_grad,viewSvgFill:t.view_svgfill,viewSvgFillOpacity:t.view_svgfill_opa,rootSvgName:"diamondWeaving",rootBG:t.root,rootSvgFill:t.root_svgfill,rootSvgFillOpacity:t.root_svgfill_opa}});("view"==a||"root"==a||"all"==a)&&(l.viewType=a),RA.isEmpty(e)||(l.graphicType=e.graphicType||"SvgPattern","SvgPattern"==e.graphicType&&(l.SvgPattern=RA.dpm(l.SvgPattern,e.SvgPattern),!e.rootSvgName&&e.viewSvgName&&(l.SvgPattern.rootSvgName=l.SvgPattern.viewSvgName),"line"==e.gradType&&!e.gradOrientation&&(l.SvgPattern.gradOrientation="to top")));const o=`${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=Eo(l,t,l.viewType)),JA("Background",o,l.cssResult)},Eo=(A,e,a)=>{let t="";const{gradType:l,gradOrientation:o,viewSvgName:i,viewBG:s,viewGrad:n,viewSvgFill:r,viewSvgFillOpacity:d,rootSvgName:u,rootBG:c,rootSvgFill:V,rootSvgFillOpacity:p}=A.SvgPattern;if("all"==a||"root"==a){let e=A.SvgPattern.rootSvgFill.replace("#","%23");t+=`.tui-root-bg{${`background-repeat: repeat; background:url("data:image/svg+xml;utf8,${Ee(u).replace(/#color/g,e).replace(/#opacity/g,p)}"),${c};`}}`}if("all"==a||"view"==a){let a=A.SvgPattern.viewSvgFill.replace("#","%23");const r=Ee(i).replace(/#color/g,a).replace(/#opacity/g,d);let u="";if(s)u=s.includes("grad")?e[s.replace("grad","")]:s;else{const A={type:l,orientation:o,grad0:n[0],grad1:n[1],grad2:n[2]};u=No(A)}t+=`.tui-view-bg{ ${`background-repeat: repeat; background:url("data:image/svg+xml;utf8,${r}"),${u}};`}}`}return t},Ee=A=>{switch(A){case"test":return Jt();case"blocks":return Zt();case"circuitDiagram":return Kt();case"circularOverlayA":return Ht();case"circularOverlayB":return Ut();case"contourLine":return Lt();case"crosshairA":return Ft();case"crosshairB":return Yt();case"cubeA":return xt();case"cubeB":return jt();case"cubeC":return Wt();case"diamondFlipped":return Qt();case"diamondLattice":return It();case"diamondPixel":return Nt();case"diamondWeaving":return Me();case"dots":return Et();case"hexagonA":return Gt();case"hexagonB":return Ot();case"hexagonC":return Pt();case"hexagonD":return zt();case"HexagonCurved":return Rt();case"lineGrid":return Mt();case"lineWeaving":return Dt();case"mazeA":return St();case"mazeB":return Tt();case"mazeC":return kt();case"mazeD":return"data:image/svg+xml;utf8,";case"mountains":return _t();case"rain":return Ct();case"shellA":return Bt();case"shellB":return $t();case"slashParallel":return bt();case"rectWeavingA":return yt();case"rectWeavingB":return wt();case"rectWeavingC":return mt();case"totem":return vt();case"triangleA":return qt();case"triangleB":return ht();case"waveA":return ft();case"waveB":return gt();case"zigZagA":return pt();case"zigZagB":return Vt();default:return console.warn("Warning: svg background name error!",A),Me()}},No=A=>{const{type:e,orientation:a,grad0:t,grad1:l,grad2:o}=A;let i="";return"line"==e?i="linear-gradient":(A.type="radial")&&(i="radial-gradient"),`${i}( ${a}, ${t}, ${l}, ${o})`},Io=A=>{const e=H({nameFull:"blocksA",nameArea:"pointA"});A?.full?.name&&(e.nameFull=A.full.name),A?.area?.name&&(e.nameArea=A.area.name);const a='mask-image:url("data:image/svg+xml;utf8,',t=`${a}${Ne(e.nameFull)}");`,l=`${a}${Ne(e.nameArea)}");`;JA("Spinners",`full:${e.nameFull} area:${e.nameArea}`,`.spinner-full{${t}} .spinner-area{ ${l} }`)},Ne=A=>{switch(A){case"barsA":return fs();case"barsB":return gs();case"barsC":return ps();case"blocksA":return Vs();case"blocksB":return us();case"blocksC":return cs();case"clock":return ds();case"pointA":return rs();case"pointB":return ls();case"pointC":return ns();case"pulseDotA":return is();case"pulseDotB":return as();case"pulseDotC":return os();case"pulseRingA":return ss();case"pulseRingB":return ts();case"pulseRingC":return es();case"ringA":return Re();case"ringB":return As();case"ringC":return Xt();default:return console.warn("Warning: svg spinner name error!"),Re()}},Qo={s(A,e,a,t="store"){if(!e||void 0===a)return void console.error("tStoreCrypto: Key and data are required for setting storage.");const l="local"===A?localStorage:sessionStorage;try{const A=JSON.stringify(a),o=be(A,t);l.setItem(e,o)}catch(A){console.error("tStoreCrypto: Failed to set encrypted data:",A)}},g(A,e,a="store"){if(!e)return console.error("tStoreCrypto: Key is required for getting data."),null;const t="local"===A?localStorage:sessionStorage;try{const A=t.getItem(e);if(!A)return null;const l=ye(A,a);return JSON.parse(l)}catch(a){return console.error("tStoreCrypto: Failed to get or decrypt data:",a),this.d(A,e),null}},d(A,e){("local"===A?localStorage:sessionStorage).removeItem(e)}},Wo=(A,e)=>{const a=H({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:hs()},globalState:{fullScreen:!1,maximize:!1,siderCollapse:!1,clickTarget:null,clickCounter:0,escCounter:0,resizeCounter:0},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},popoverConfig:{duration:3e3,maxLength:5,appearance:"poptip"},t3dConfig:{inited:!1},adaptiveConfig:{ready:!1,inited:!1,portletCounter:0,resizeCounter:0,dragTip:!0},backgroundConfig:{graphicType:"SvgPattern",SvgPattern:{}},spinnerConfig:{full:{name:"blocksA",size:100},area:{name:"pointA",size:40}},themePalette:{},locale:{}}),{data:t,globalConfig:l,globalState:o,globalParams:i,viewTrans:s,deviceInfo:n,popoverConfig:r,t3dConfig:d,adaptiveConfig:u,backgroundConfig:c,spinnerConfig:V,themePalette:p,locale:g}=aA(a),q=()=>qe.session.g("sysLang")||"en",f=A=>CA.valueByPath(a.locale,A),h=()=>(console.info("$tState:",a),"From TechUI"),v=()=>{"dev"==$e()&&e&&(Te.enable(),qs("TechUI",f("info.debug")),window.tuiDebugMonitor=Te,window.tuiServiceState=h,window.openEnc=be,window.openDec=ye),window.tuiGetEnv=$e};return{$tState:a,state:a,$data:t,$mapData:m((()=>a.data.map)),$chartData:m((()=>a.data.chart)),$globalConfig:l,$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)),$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)),$globalParams:i,$viewTrans:s,$deviceInfo:n,$popoverConfig:r,$t3dConfig:d,$adaptiveConfig:u,$adptReady:m((()=>a.adaptiveConfig.ready)),$adptInited:m((()=>a.adaptiveConfig.inited)),$aPortletCounter:m((()=>a.adaptiveConfig.portletCounter)),$aResizeCounter:m((()=>a.adaptiveConfig.resizeCounter)),$backgroundConfig:c,$spinnerConfig:V,$themePalette:p,$locale:g,$optResizeCounter:m((()=>a.adaptiveConfig.inited?a.adaptiveConfig.resizeCounter:a.globalState.resizeCounter)),$optFloaterTo:m((()=>a.adaptiveConfig.inited?a.globalConfig.floaterTo:"#tuiRoot")),$tc:(A,e=!1)=>e?m((()=>CA.valueByPath(a.themePalette,A,!1))):CA.valueByPath(a.themePalette,A,!1),initBG:A=>{const{themePalette:e,backgroundConfig:t,globalConfig:{background:l}}=a;"none"!=l&&(RA.isEmpty(A)||(a.backgroundConfig=RA.dpm(t,A)),Go(e,t,l))},resetBG:()=>{const A=CA.el("#styleBackground");A&&A.remove()},initSpinner:A=>{A&&(a.spinnerConfig=RA.dpm(a.spinnerConfig,A)),Io(a.spinnerConfig)},resetAdaptiveConfig:()=>{a.globalConfig.adaptive="disabled",a.adaptiveConfig.inited=!1,a.adaptiveConfig.portletCounter=0,a.adaptiveConfig.resizeCounter=0,XA.adpt.reset();const A=CA.el("#styleAdaptive");A&&A.remove()},initI18n:async()=>{let A=q(),e=ke.load();e?e.value!=A&&rt(e.value):("cn"==A?await import("@techui/locales/cn"):"hk"==A?await import("@techui/locales/hk"):await import("@techui/locales/en"),e=ke.load()),RA.isEmpty(e)||(a.locale=e.data),v()},i18n:f,getSysLang:q,tConsolei18n:(A,e,a,t=!0)=>{if(!A||!e||!a)return void console.warn("tConsolei18n: Missing required parameters");const l=f(A+".label"),o=f(a);dt.s(A,e,`${l}:${o}`,t)},maximizeToggle:()=>{a.globalState.maximize=!a.globalState.maximize},toggleSider:()=>{a.globalState.siderCollapse=!a.globalState.siderCollapse},initResizeBy:()=>m((()=>A=>"self"===A||"none"===A?A:"global"===A?a.globalConfig.resizeBy:void 0)),openEnc:be,openDec:ye,tStoreCrypto:Qo,audio:Oo,initDebug:v}},jo=(A,e=!1)=>{let a=1,t=1;if(e){const{scaleX:A,scaleY:e}=XA.adpt.info;a=A,t=e}const l=A.style.transform;A.style.transform="";const o=A.getBoundingClientRect(),i=A.parentElement.getBoundingClientRect(),s=o.left-i.left,n=o.top-i.top;return A.style.transform=l,{minX:-s/a,minY:-n/t,maxX:(i.width-o.width-s)/a,maxY:(i.height-o.height-n)/t}},xo=(A,e)=>{const a="absolute"==e?A.offsetParent:A.parentElement;return{minX:0,minY:0,maxX:a.clientWidth-A.offsetWidth,maxY:a.clientHeight-A.offsetHeight}},Yo=(A,e,a=!1)=>{let t=1,l=1;if(a){const{scaleX:A,scaleY:e}=XA.adpt.info;t=A,l=e}const o=A.getBoundingClientRect();if("transform"===e){const e=window.getComputedStyle(A),a=new DOMMatrix(e.transform);return{startX:a.m41*t,startY:a.m42*l}}{const a=("absolute"==e?A.offsetParent:A.parentElement)?.getBoundingClientRect()||{left:0,top:0};return{startX:o.left-("transform"!=e?a.left:0),startY:o.top-("transform"!=e?a.top:0)}}},Fo=({el:A,e:e,mouseStartX:a,mouseStartY:t,startX:l,startY:o,positionType:i,boundaries:s,inAdpt:n})=>{let r=1,d=1;if(n){const{scaleX:A,scaleY:e}=XA.adpt.info;r=A,d=e}let u=(l+(e.clientX-a))/r,c=(o+(e.clientY-t))/d;s&&(u=Math.min(s.maxX,Math.max(s.minX,u)),c=Math.min(s.maxY,Math.max(s.minY,c))),"transform"===i?A.style.transform=`translate(${u}px, ${c}px)`:(A.style.left=`${u}px`,A.style.top=`${c}px`)},Lo={mounted(A,e){if(!e)return;const a=e=>{const{containment:a=!0,inAdpt:t=!1,enabled:l=!0,positionType:o="transform",resetOnDisable:i=!1,uid:s}=e;A.enabled=l,A.resetOnDisable=i;const n=e?.trigger?A.querySelector(e.trigger):A;if(!A.enabled)return A.resetOnDisable?A.style="":A.style.cursor="",n&&(n.style.cursor=""),void(A.onmousedown=null);if(!n)return;n.style.cursor="move";n.onmousedown=l=>{if(!A.enabled)return;if(e?.exclude){const A=n.querySelector(e.exclude);if(A&&(l.target===A||A.contains(l.target)))return}let i=null;a&&(i="transform"===o?jo(A,t):xo(A,o));const{startX:r,startY:d}=Yo(A,o,t),u=l.clientX,c=l.clientY;bA.add(document,"mousemove",(e=>{Fo({el:A,e:e,mouseStartX:u,mouseStartY:c,startX:r,startY:d,positionType:o,boundaries:i,inAdpt:t})}),s),bA.add(document,"mouseup",(()=>{bA.remove(document,"mousemove",s),bA.remove(document,"mouseup",s)}),s),l.preventDefault()}};a(e.value),A.dragUpdate=a},updated(A,e){e&&(RA.isEq(e.value,e.oldValue)||A.dragUpdate?.(e.value))},unmounted(A){A.onmousedown=null,delete A.dragUpdate}};function Ie(A){!A.disabled&&A.callback&&Fe.o(A,(e=>{for(let a of e){const{width:e,height:t}=a.contentRect;A.callback({width:e,height:t})}}),A.duration)}function Qe(A){Fe.d(A)}const Uo={mounted(A,e){if(DA(e.value).includes("function"))A.disabled=!1,A.uid=null,A.cid=null,A.duration=200,A.callback=e.value;else if("object"==DA(e.value)){A.disabled=e.value.disabled||!1,A.uid=e.value.uid||X("vResize"),A.duration=e.value.duration||200,A.callback=e.value.callback;const a=e.value.cid;a&&"string"==DA(a)&&!a.includes("Error")&&Ue(a,A.className)}Ie(A)},updated(A,e){const a=A.disabled;DA(e.value).includes("function")?(A.disabled=!1,A.callback=e.value):"object"==DA(e.value)&&(A.disabled=e.value.disabled||!1,A.callback=e.value.callback),a!==A.disabled&&(A.disabled?Qe(A):Ie(A))},unmounted(A){Qe(A)}},Ho={mounted(A,e){const a=e.value;"string"==DA(a)&&!a.includes("Error")&&Ue(a,A.className)},unmounted(A){}},Ko={class:"loading-inner"},Zo={key:0,class:"svg-icon spinner-full"},Jo={class:"desc"},tt=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}=QA(),{$tState:o,$tService:i,$tMask:s,$tMaskClose:n}=t,r=C(!1),d=X("loadFull"),c=e,V=C(!0),p=m((()=>c.dynamicRender?c.tMask:s)),g=m((()=>c.dynamicRender?c.tMaskClose:n)),f=m((()=>c.dynamicRender?c.tuiService:i)),h=m((()=>f.value.$tState.spinnerConfig)),v=m((()=>c.color||h.value.full.color)),w=m((()=>c.size||h.value.full.size)),y=m((()=>F("cpt-lodf",{...v.value&&{color:v.value},...w.value&&{size:w.value+"px"},...c.zIndex&&{zIndex:c.zIndex}})));W((()=>c.visible),(A=>{A?B():x()}));const b=m((()=>c.desc?c.desc:f.value.i18n("common.loading"))),B=()=>{r.value=!0,hA.c(d+"_ti"),p.value({appendTo:c.appendTo,visible:!0,position:"fixed"})},x=()=>{g.value(),r.value=!1,c.dynamicRender&&hA.s(d+"_tiInst",(()=>{c.destroy()}),1e3)};return L((()=>{V.value=!1,c.color&&c.update&&(h.value.full.color=c.color),c.size&&c.update&&(h.value.full.size=c.size),c.visible&&B(),CA.el("#styleSpinners")||f.value.initSpinner()})),Ae((()=>{hA.c(d+"_ti"),hA.c(d+"_tiInst")})),ee((()=>{V.value=!0})),a({destroy:x}),(a,t)=>!V.value||e.dynamicRender?(l(),Z(Be,{key:0,to:e.appendTo,disabled:V.value||e.dynamicRender||!e.appendTo,fallback:"#app"},[Y(J,{name:"fade"},{default:j((()=>[r.value||e.dynamicRender?U((l(),u("div",{key:0,class:k(["tui-loading-full",""+(r.value?"loading-ani-on":"loading-ani-off")]),style:E(y.value)},[A("div",Ko,[r.value||e.dynamicRender?(l(),u("i",Zo)):q("",!0),A("div",Jo,uA(b.value),1)])],6)),[[oA,r.value]]):q("",!0)])),_:1})],8,["to","disabled"])):q("",!0)}});let HA=C(null);const Xo=(A,e)=>{const{$tService:a,$tMask:t,$tMaskClose:l}=e.config.globalProperties;if(HA.value)return;const o=document.createElement("div");let i=null;"string"==DA(A.appendTo)?i=CA.el(A.appendTo):"htmldivelement"==DA(A.appendTo)&&(i=A.appendTo);let s=i||CA.el("#app");HA.value=Ke(tt,{...A,destroy:()=>{le(null,o),HA.value=null},dynamicRender:!0,tuiService:a,tMask:t,tMaskClose:l,appendTo:null}),le(HA.value,o),s.appendChild(o.firstElementChild)},Aa=()=>{HA.value?.component.exposed.destroy()},ea={install(A){A.config.globalProperties.$tLoading=e=>Xo(e,A),A.config.globalProperties.$tLoadingClose=()=>{HA.value?.component.exposed.destroy()}}},st=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:A=>["absolute","fixed"].includes(A)},appendTo:[String,Object],destroy:Function,click:Function,tuiService:Object,zIndex:Number},setup(A,{expose:e}){const{proxy:{$tState:a,$tService:t}}=QA(),o=A,i=C(!1);W((()=>o.visible),(A=>{Q((()=>{i.value=A}))}),{immediate:!0});const s=m((()=>F("cpt-msk",{...o.position&&{position:o.position},...o.zIndex&&{zIndex:o.zIndex}}))),n=m((()=>o.dynamicRender?o.tuiService:t)),r=m((()=>n.value.$tState.globalConfig.maskBlur));return L((()=>{})),e({destroy:()=>{i.value=!1,hA.s("maskInst",(()=>{o.destroy()}),500)}}),(e,a)=>(l(),Z(J,{name:"fade"},{default:j((()=>[!A.dynamicRender&&A.visible||A.dynamicRender?U((l(),u("div",{key:0,class:k(["tui-mask",[r.value?"bg-blur":"bg-trans",A.modal?"mask-on":"mask-off"]]),onClick:a[0]||(a[0]=(...e)=>A.click&&A.click(...e)),style:E(s.value)},null,6)),[[oA,A.dynamicRender&&i.value||!A.dynamicRender]]):q("",!0)])),_:1}))}});let KA=C(null);const ta=(A,e)=>{const{$tService:a}=e.config.globalProperties;if(KA.value)return;const t=document.createElement("div"),{$optFloaterTo:l}=a,o=A.appendTo||l.value;let i=CA.el(o)||CA.el("#tuiRoot");KA.value=Ke(st,{...A,tuiService:a,destroy:()=>{le(null,t),KA.value=null},dynamicRender:!0}),le(KA.value,t),i.appendChild(t.firstElementChild)},sa=()=>{KA.value?.component.exposed.destroy()},oa={install(A){A.config.globalProperties.$tMask=e=>ta(e,A),A.config.globalProperties.$tMaskClose=()=>{KA.value?.component.exposed.destroy()}}},aa={key:0,class:"tui-adpt-popup"},ia={class:"popup-text"},na={class:"tui-adpt-drag-inner"},la={class:"info-text"},ra=Object.assign({name:"TuiAdptDragTip"},{__name:"adptScifi_dragTip",props:{visible:Boolean,css:String,tipMute:Boolean,tipAutoShow:Boolean,modelValue:Boolean},emits:["update:modelValue"],setup(a,{emit:t}){const{i18n:o,$gSound:i,$adaptiveConfig:s,audio:n}=qA("$global",null),r=a,d=t,c=C(!1),V=C(!0),p=C(!1),g=A=>{A||s.value.dragTip?(s.value.dragTip=!1,hA.s("adptDragInfoPre",(()=>{c.value=!0,!r.tipMute&&!A&&(i.value&&n.play("pingA"),hA.s("adptDragInfo",(()=>{f()}),4e3))}),A?1e3:500)):i.value&&n.play("pingA")};H({popupText:"重置浏览器缩放可退出视图控制模式,单击下方图标可激活鼠标点击"});const f=()=>{hA.c("adptDragInfo"),c.value=!1};W((()=>r.visible),(A=>{p.value=r.modelValue,A&&r.tipAutoShow?g():f()}),{immediate:!0});const h=()=>{p.value=!p.value,d("update:modelValue",!r.modelValue)};return L((()=>{V.value=!1})),ee((()=>{V.value=!0,hA.c("adptDragInfo"),hA.c("adptDragInfoPre")})),(t,i)=>V.value?q("",!0):(l(),Z(Be,{key:0,to:"#tuiRoot",fallback:"#app",disabled:V.value},[Y(J,{name:"fade"},{default:j((()=>[a.visible?(l(),u("div",{key:0,class:"tui-adpt-drag-info",style:E(a.css)},[Y(J,{name:"fade-inner"},{default:j((()=>[c.value?(l(),u("div",aa,[A("div",ia,uA(e(o)("adaptive.dragTip")),1)])):q("",!0)])),_:1}),A("div",na,[A("i",{onMouseenter:g,onMouseleave:f,class:"tui-icon ti-info"},null,32),A("div",{class:k(["tui-drag-mode-toggle",{"is-active":p.value}]),onClick:h},[A("i",{class:k(["tui-icon",p.value?"ti-cursor-click":"ti-arrow-move"])},null,2)],2),A("span",la,uA(e(o)("adaptive.dragText")),1)])],4)):q("",!0)])),_:1})],8,["disabled"]))}}),da={class:"text"},ca={key:0,class:"tui-adpt-popup"},ua={class:"popup-text"},Va=Object.assign({name:"TuiAdptLowResTip"},{__name:"adptScifi_lowResTip",emits:["closeLowResTip"],setup(a,{emit:t}){const{i18n:o}=qA("$global",null),i=C(!1),s=t,n=A=>{i.value=!0},r=()=>{i.value=!1},d=()=>{s("closeLowResTip")};return(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[A("div",{class:"tui-low-res-tip",onMouseenter:n,onMouseleave:r},[t[0]||(t[0]=A("i",{class:"tui-icon ti-info-circle tui-info-icon"},null,-1)),A("span",da,uA(e(o)("adaptive.lowResText")),1),A("i",{class:"tui-icon ti-times",onClick:d}),Y(J,{name:"fade-inner"},{default:j((()=>[i.value?(l(),u("div",ca,[A("div",ua,uA(e(o)("adaptive.lowResTip")),1)])):q("",!0)])),_:1})],32)])),_:1}))}}),pa={key:1,class:"tui-terminate-tip"},ga="TuiAdaptive",fa=Object.assign({name:ga,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:A=>["extension","flexible","fixed","stretch","disabled"].includes(A)},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}},emits:["update:adaptiveType","update:loading","resizeStart","resizeEnd"],setup(A,{emit:a}){const{$tState:t,$adaptiveConfig:o,$gResizeCounter:i,$gBackground:s,$deviceInfo:n,$adptInited:r,$adptReady:d,$gAdaptive:c,initSpinner:V,resetAdaptiveConfig:p,i18n:g,tConsolei18n:f}=qA("$global",null),h=Ze(),v=A,w=a,y=X("adaptive"),b=C(null),B=C(null),x=C(null),S=C(v.loading),D=C(null),M=C(null),T=m((()=>M.value?.includes("pc"))),R=H({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:z,inited:G}=aA(R),P=m((()=>IA("cpt-adpt-penetra",{...R.penetraDomInfo.width&&{width:R.penetraDomInfo.width+"px"},...R.penetraDomInfo.height&&{height:R.penetraDomInfo.height+"px"}}))),N=m((()=>IA("cpt-browser",{...D.value&&{ratio:D.value}}))),I=async()=>{const A=window.devicePixelRatio;if(R.oriResRatio||(R.oriResRatio=A),!b.value||"disabled"==c.value)return w("resizeEnd"),void(R.resizing=!1);const e=(window.outerWidth/window.innerWidth).toFixed(1);let a;a=window.mozInnerScreenX?R.oriResRatio==A?1:A:1==A||e<1.02&&e>.99?1:A;const l=n.value.type;l&&(M.value=l);const o=1!=a&&T.value&&v.monitorRatio;if(o){D.value=a;const A=CA.el("#styleAdaptive");if(A&&A.dataset.info==c.value)return R.dragable||(R.dragable=!0,R.lowResolution=!1),w("resizeEnd"),void(R.resizing=!1)}else R.dragable=!1,R.clickable=!1;if(!R.dragable){let A=b.value,e={apWidth:A.clientWidth,apHeight:A.clientHeight,cfgWidth:v.width,cfgHeight:v.height,mode:c.value},a=vs(e);const{classExtend:t,overSizeH:l,staWidth:o,staHeight:i,scale:s,scaleX:n,scaleY:r,translateX:d,translateY:u,cssHeight:V,alpha:p,delta:q,success:f}=a;R.calcSuccess=f,f||(R.terminateServiceStr=g("error.terminateService"));const m={scale:(s-.02)/q,scaleX:(n-.02)/q,scaleY:(r-.02)/q};"stretch"!=c.value&&!R.dragable&&0!=m.scale&&m.scale<1?R.lowResolution=!0:R.lowResolution=!1,XA.adpt.init(m),R.cssvar=`--cfa:${o}; --cfb:${V}; --cfn:${q}; --cfm:${p}; --cfc:${s}; --cfd:${n}; --cfe:${r}; --cff:${d}; --cfg:${u};`,JA("Adaptive",c.value,`:root{${R.cssvar}}`),h.penetration&&F()}o&&!R.dragable&&(R.dragable=!0),R.inited||(R.inited=!0),await Q(),w("resizeEnd"),R.resizing=!1,!r.value&&CA.el("#tuiAdpt")&&(t.adaptiveConfig.inited=!0),R.curType=c.value},$=()=>{w("resizeStart"),R.resizing=!0,hA.s(y+"_debo",I,500)},j=()=>{R.dragable||t.adaptiveConfig.resizeCounter++};W((()=>t.adaptiveConfig.portletCounter),(A=>{A>=v.portletCount?(S.value=!1,w("update:loading",!1)):S.value||(S.value=!0)})),W((()=>v.loading),(A=>{S.value!=A&&(S.value=A)}),{immediate:!0}),W((()=>v.adaptiveType),(A=>{t.globalConfig.adaptive=A}),{immediate:!0}),W((()=>c.value),(A=>{w("update:adaptiveType",A),"disabled"!=A&&$()}),{immediate:!0}),W((()=>x.value),(A=>{F()})),W((()=>i.value),(A=>{A&&$()}));const F=()=>{Q((()=>{let A=x.value;A&&(R.penetraDomInfo=ct({source:B.value,target:A}))}))},_=()=>{R.disLowResolTip=!0};return L((()=>{b.value.closest("#tuiAdpt")?f("error","adaptiveNesting","error.adaptiveNesting"):(v.portletCount>0?S.value=!0:v.loading&&(S.value=v.loading),(!CA.el("#styleSpinners")||v.spinnerConfig)&&V(v.spinnerConfig),d.value||Q((()=>{t.adaptiveConfig.ready=!0})),$())})),ee((()=>{R.dragable=!1,R.clickable=!1,R.lowResolution=!1,t.adaptiveConfig.ready=!1,p()})),(a,t)=>{const o=zA("TuiAdptLowResTip"),i=zA("TuiLoadingFull"),n=zA("TuiAdptDragTip"),r=wA("tui-resize"),d=wA("tui-drag");return l(),u(O,null,[U((l(),u("div",Ce({id:"tuiAdptOuter"},a.$attrs,{class:["tui-adaptive",A.className,""+(e(z).maximize?"tui-adpt-size-max":"tui-adpt-size-nor"),`tui-adpt-${R.curType}`,{"has-penetration":a.$slots.penetration,"is-disabled":"disabled"==e(c),"is-resizing":R.resizing,"is-dragable":R.dragable,"is-clickable":R.clickable,"is-low-resolution":R.lowResolution,"is-initing":!R.inited}],ref_key:"apElement",ref:b}),[R.lowResolution&&!R.disLowResolTip?(l(),Z(o,{key:0,onCloseLowResTip:_})):q("",!0),R.calcSuccess?q("",!0):(l(),u("div",pa,uA(R.terminateServiceStr),1)),Y(i,{appendTo:"#tuiAdptOuter",visible:S.value},null,8,["visible"]),(e(G)||"disabled"==e(c))&&R.calcSuccess?(l(),u(O,{key:2},[U((l(),u("div",{ref_key:"apContainer",ref:B,id:"tuiAdpt",class:k(["tui-adpt-container",{"tui-view-bg":"all"==e(s)&&!a.$slots.penetration,"show-shadow":A.shadow&&!a.$slots.penetration,"dis-user-select":!A.userSelect}])},[K(a.$slots,"default",{viewState:e(z)})],2)),[[r,{callback:j,uid:e(y)}]]),a.$slots.penetration?(l(),u("div",{key:0,id:"tuiAdptPenetration",ref_key:"adptPenetration",ref:x,class:k(["tui-adpt-penetration",{"tui-view-bg":"all"==e(s)&&a.$slots.penetration,"show-shadow":A.shadow&&a.$slots.penetration,"dis-user-select":!A.userSelect}]),style:E(P.value)},[K(a.$slots,"penetration",{viewBGName:"tui-view-bg"})],6)):q("",!0)],64)):q("",!0)],16)),[[d,{enabled:R.dragable,trigger:"#tuiAdpt",resetOnDisable:!0,containment:!1,positionType:"transform",inAdpt:!1,uid:e(y)}]]),Y(n,{visible:R.dragable,modelValue:R.clickable,"onUpdate:modelValue":t[0]||(t[0]=A=>R.clickable=A),css:N.value,tipAutoShow:A.tipAutoShow,tipMute:A.tipMute},null,8,["visible","modelValue","css","tipAutoShow","tipMute"])],64)}}}),ha={class:"tui-ppg-item"},qa=Object.assign({name:"TuiBar3DGroup"},{__name:"group",props:{gap:Number,labelWidth:Number,items:{type:Array,default:[],validator:A=>{const{valid:e,message:a}=Le.fieldValid(A,["label","value"]);return e||console.warn("TuiBar3DGroup Warning! ",a),e}},progress3DBarConfig:Object,valueSize:{type:Number,default:16},queueInit:{type:Boolean,default:!0}},setup(A){const e=A,a=C([]),t=C(0),o=C([]),i=A=>!!e.queueInit&&A!==t.value,s=A=>{o.value.push(A),t.value<e.items.length-1&&t.value++},n=m((()=>({valueSize:e.valueSize,...e.progress3DBarConfig}))),r=m((()=>IA("cpt-b3dg",{...e.gap&&{gap:e.gap+"px"}})));return L((()=>{})),Ae((()=>{})),(e,t)=>{const o=zA("TuiBar3D");return l(),u("div",{class:k(["tui-percent-3d-bar-group",{"has-label":!1}]),style:E(r.value)},[(l(!0),u(O,null,rA(A.items,((A,e)=>(l(),u("div",ha,[Y(o,Ce({ref_for:!0,ref_key:"childRefs",ref:a},{ref_for:!0},n.value,{initHold:i(e),onInited:s,label:A.label,value:A.value}),null,16,["initHold","label","value"])])))),256))],4)}}}),va={class:"tui-svg-inner"},ma=["width","height","viewBox"],wa=["id"],ya=["id"],ba=["id"],$a=["id"],Ba=["id"],Ca={key:0},_a=["id"],ka=["id"],Ta=["id"],Sa=["id"],Da={key:1},Ma=["id"],Ra=["id"],za=["id"],Pa=["id"],Oa={key:2},Ga=["id","points"],Ea=["id","points"],Na=["id"],Ia=["href"],Qa={key:3},Wa=["id","d"],ja=["id"],xa=["href"],Ya=["id"],Fa=["stdDeviation"],La=["id"],Ua=["stdDeviation"],Ha=["id"],Ka=["stdDeviation"],Za=["opacity","filter"],Ja=["d","fill"],Xa=["cx","cy","rx","ry","fill"],Ai=["points","fill"],ei=["points","fill"],ti=["points","fill"],si=["opacity","filter"],oi=["href","fill"],ai=["cx","cy","rx","ry","fill"],ii=["href","fill"],ni=["href","fill"],li=["points","fill"],ri=["x","y","width","height","fill","clip-path"],di=["x"],ci=["opacity","filter"],ui=["d","fill"],Vi=["cx","cy","rx","ry","fill"],pi=["points","fill"],gi=["points","fill"],fi=["points","fill"],hi={class:"tui-value"},qi={class:"tui-unit"},vi={class:"tui-bar3d-label"},mi={key:0,class:"tui-isubval"},wi={class:"tui-val"},yi={class:"tui-unit"},bi={class:"tui-ilabel"},$i="TuiBar3D",Bi=Object.assign({name:$i},{__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:A=>A>=0},maxValue:{type:Number,default:null,validator:A=>A>=0},valueSize:Number,displayValue:{type:String,default:"auto",validator:A=>["none","auto","all","allReverse"].includes(A)},mainValuePosition:{type:String,default:"auto",validator:A=>["auto","top"].includes(A)},shape:{type:String,default:"cylinder",validator:A=>["cylinder","cube"].includes(A)},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:A=>A>=0&&A<=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:A=>CSS.supports("color",A)},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:A=>CSS.supports("color",A)},status:{type:String,default:null,validator:A=>["normal","success","danger","warning","emphasis","critical"].includes(A)},thresholds:{type:Object,default:null,validator(A){if(!A||"object"!=typeof A)return!1;const e=["normal","success","danger","warning","emphasis","critical"];return!!Object.keys(A).some((A=>e.includes(A)))&&Object.values(A).every((A=>"number"==typeof A&&!isNaN(A)&&A>=0))}},resizeObserver:{type:String,default:"global",validator:A=>["self","global","none"].includes(A)}},emits:["inited"],setup(a,{expose:t,emit:o}){const{$themePalette:i,$gThemeScheme:s,$optResizeCounter:n,initResizeBy:r}=qA("$global",null),d=r(),c=a,V=o,p=X("bar3D"),g=C(!1),f=C(!1),h=C(!1),v=C(!1),w=C(null),y=H({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}}),b=C(0),B=C(0),x=m((()=>c.maxValue&&c.maxValue>0?c.value/c.maxValue*100:c.value<=100?c.value:100)),S=m((()=>{const A=parseInt(c.iconsSymbol,16);return String.fromCharCode(A)})),D=m((()=>{let A,e,a,t,l,o;if("none"==c.displayValue)return{mainVal:A,mainUnit:e,subVal:a,subUnit:t};if(c.precision){const A=parseFloat(Number(b.value).toFixed(c.precision)),e=parseFloat(Number(B.value).toFixed(c.precision));o=y.dustSettled?A:ve.padZero(A,c.precision),l=y.dustSettled?e:ve.padZero(e,c.precision)}else o=Math.round(b.value),l=Math.round(B.value);return c.maxValue&&c.unit&&"auto"!=c.displayValue?"all"==c.displayValue?(A=l,e=c.unit,a=o,t="%"):"allReverse"==c.displayValue&&(a=l,t=c.unit,A=o,e="%"):c.maxValue&&c.unit?(A=l,e=c.unit):(A=o,e="%"),{mainVal:A,mainUnit:e,subVal:a,subUnit:t}})),M=m((()=>(b.value<=100?b.value:100)/100*(y.height-(c.showTrack?c.gap:10)-50))),T=m((()=>{if(!c.showTrack)return;const A=.1*y.width,e=y.height-.1*y.width*2,a=fe(c.shape,y.width,y.height,A,e,100,c.viewDeep);return a.success?a:{top:{cx:null,cy:null,rx:null,ry:null},sideA:null,sideB:null,body:null}})),R=m((()=>{if(!c.showBase)return;const A=c.baseSpacing/y.width,e=.1*y.width+.05*y.height-4,a=y.height-.1*y.width*2,t=fe(c.shape,y.width+2*c.baseSpacing,y.height,e,a,5,c.viewDeep+c.viewDeep*A*2);return t.success?t:{top:{cx:null,cy:null,rx:null,ry:null},sideA:null,sideB:null,body:null}})),z=m((()=>{const A=c.showTrack?c.gap:0,e=A/y.width,a=y.width-A,t=y.height-A*(c.showBase?.8:1),l=.1*a+t*e*.05,o=t-.1*a*2,i=fe(c.shape,a,t,l,o,b.value<=100?b.value:100,c.viewDeep-c.viewDeep*e);return i.success?i:{top:{cx:null,cy:null,rx:null,ry:null},sideA:null,sideB:null,body:null}}));W((()=>[c.value,c.initHold]),(()=>{c.initHold||G(x.value)}));const G=A=>{y.dustSettled=!1;const e=b.value,a=A-e,t=Date.now(),l=()=>{const o=Date.now()-t,i=Math.min(o/c.duration,1),s=1-Math.pow(1-i,3);b.value=e+a*s,B.value=c.maxValue?c.value*s:b.value,i<1?requestAnimationFrame(l):(b.value=A,y.dustSettled=!0,h.value||(h.value=!0,V("inited",c.index)))};requestAnimationFrame(l)};W((()=>n.value),((A,e)=>{if("root"!=d.value(c.resizeObserver))return;const{clientWidth:a,clientHeight:t}=w.value;A>e&&P({width:a,height:t})}));const P=async({width:A,height:e})=>{v.value=!0,y.width=A,y.height=e,g.value||(g.value=!0),await Q(),setTimeout((()=>{v.value=!1}),500)};W((()=>[c.barColorRatio,c.barColor]),(A=>{N("bar")})),W((()=>[c.baseColorRatio,c.baseColor]),(A=>{N("base")}));const N=A=>{"bar"==A?Object.keys(y.barColorGroup).forEach((A=>{y.barColorGroup[A]=null})):"base"==A&&Object.keys(y.baseColorGroup).forEach((A=>{y.baseColorGroup[A]=null}))},I=C("normal"),$=m((()=>{if(!y.dustSettled)return!1;if(c.barColor)return"custom";if(c.status)return c.status;if(c.thresholds){const A=Object.entries(c.thresholds).sort(((A,e)=>e[1]-A[1])),e=A.find((([A,e])=>B.value>=e)),a=e?e[0]:A[A.length-1]?.[0]||"normal";return I.value=a,a}})),F=m((()=>{const A=!!c.barColor&&"custom",e=$.value||A||c.status||I.value;let a;if("custom"!=e)if(e&&"normal"!=e&&"critical"!=e)a=i.value[e]?.base;else if("critical"==e){const A="light"==s.value?"stronger":"weaker";a=i.value.danger[A]}else a=i.value.primary?.base;else a=c.barColor;let t,l=null;if(a){if(y.barColorGroup[e]?t=y.barColorGroup[e]:(t=PA.genColors(a,3,c.barColorRatio,!1),y.barColorGroup[e]=t),c.showBase&&!c.baseColorWeakened)if(y.baseColorGroup[e])l=y.baseColorGroup[e];else{if(c.baseColor)l=PA.genColors(c.baseColor,3,c.barColorRatio/1.5,!1);else{const A=PA.darken(a,c.baseColorRatio);l=PA.genColors(A,3,c.barColorRatio/1.5,!1)}y.baseColorGroup[e]=l}return{bar:t,base:l}}})),K=m((()=>y.height-M.value-50-.1*c.viewDeep)),_=m((()=>{const A=F.value;return IA("cpt-bar3d",{...A.bar&&{bargard_A:A.bar[0],bargard_B:A.bar[1],bargard_C:A.bar[2]},...A.base&&{basgrad_A:A.base[0],basgrad_B:A.base[1],basgrad_C:A.base[2]},...c.valueSize&&{valsize:c.valueSize+"px"},...c.gap&&c.showTrack&&{gapfix:c.gap/2+"px"},...c.baseSpacing&&{basefix:-c.baseSpacing+"px"},valtop:K.value+"px",viewdeep:c.viewDeep/(c.showBase?1:1.6)+"px"})}));return L((()=>{f.value=!0,c.value&&!c.initHold&&hA.s("pgsPool3D"+p,(()=>{G(x.value)}),c.aniDelay)})),t({inited:g.value&&h.value}),(t,o)=>{const i=zA("TuiTextTip"),s=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["tui-progress-3d-bar",`is-${$.value||I.value}`]),style:E(_.value)},[U((l(),u("div",{class:"tui-svg-wrap",ref_key:"svgWrapRef",ref:w},[A("div",va,[Y(J,{name:"fade"},{default:j((()=>[g.value?(l(),u("svg",{key:0,class:"tui-svg-el",width:y.width,height:y.height,viewBox:`0 0 ${y.width} ${y.height}`},[A("defs",null,[A("radialGradient",{class:"tui-grad-bar-top",id:`gradBarTop_${e(p)}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[...o[0]||(o[0]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"100%"},null,-1)])],8,wa),A("linearGradient",{class:"tui-grad-shine",id:`gradShine_${e(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...o[1]||(o[1]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"50%"},null,-1),A("stop",{offset:"100%"},null,-1)])],8,ya),A("linearGradient",{class:"tui-grad-bar-cyde",id:`gradBarCyde_${e(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...o[2]||(o[2]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"50%"},null,-1),A("stop",{offset:"100%"},null,-1)])],8,ba),A("linearGradient",{class:"tui-grad-bar-cubeSA",id:`gradBarCubeSA_${e(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...o[3]||(o[3]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"100%"},null,-1)])],8,$a),A("linearGradient",{class:"tui-grad-bar-cubeSB",id:`gradBarCubeSB_${e(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...o[4]||(o[4]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"100%"},null,-1)])],8,Ba),a.showTrack?(l(),u("g",Ca,[A("radialGradient",{class:"tui-grad-trk-top",id:`gradTrkTop_${e(p)}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[...o[5]||(o[5]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"100%"},null,-1)])],8,_a),A("linearGradient",{class:"tui-grad-trk-cyde",id:`gradTrkCyde_${e(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...o[6]||(o[6]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"50%"},null,-1),A("stop",{offset:"100%"},null,-1)])],8,ka),A("linearGradient",{class:"tui-grad-trk-cubeSA",id:`gradTrkCubeSA_${e(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...o[7]||(o[7]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"50%"},null,-1)])],8,Ta),A("linearGradient",{class:"tui-grad-trk-cubeSB",id:`gradTrkCubeSB_${e(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...o[8]||(o[8]=[A("stop",{offset:"0%"},null,-1)])],8,Sa)])):q("",!0),a.showBase?(l(),u("g",Da,[A("linearGradient",{class:k(["tui-grad-bas-cubeSA",{"is-weakened":c.baseColorWeakened}]),id:`gradBasCubeSA_${e(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...o[9]||(o[9]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"50%"},null,-1)])],10,Ma),A("radialGradient",{class:k(["tui-grad-bas-top",{"is-weakened":c.baseColorWeakened}]),id:`gradBasTop_${e(p)}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[...o[10]||(o[10]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"100%"},null,-1)])],10,Ra),A("linearGradient",{class:k(["tui-grad-bas-cyde",{"is-weakened":c.baseColorWeakened}]),id:`gradBasCyde_${e(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...o[11]||(o[11]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"50%"},null,-1),A("stop",{offset:"100%"},null,-1)])],10,za),A("linearGradient",{class:k(["tui-grad-bas-cubeSB",{"is-weakened":c.baseColorWeakened}]),id:`gradBasCubeSB_${e(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...o[12]||(o[12]=[A("stop",{offset:"0%"},null,-1)])],10,Pa)])):q("",!0),"cube"===a.shape?(l(),u("g",Oa,[A("polygon",{id:`shapeCubeSA_${e(p)}`,points:z.value.sideA},null,8,Ga),A("polygon",{id:`shapeCubeSB_${e(p)}`,points:z.value.sideB},null,8,Ea),A("clipPath",{id:`shapeClip_${e(p)}`},[A("use",{href:`#shapeCubeSA_${e(p)}`},null,8,Ia)],8,Na)])):(l(),u("g",Qa,[A("path",{id:`shapeCyde_${e(p)}`,d:z.value.body},null,8,Wa),A("clipPath",{id:`shapeClip_${e(p)}`},[A("use",{href:`#shapeCyde_${e(p)}`},null,8,xa)],8,ja)])),a.showTrack?(l(),u("filter",{key:4,id:`blurTrk_${e(p)}`},[A("feGaussianBlur",{in:"SourceGraphic",stdDeviation:c.trackBlur},null,8,Fa)],8,Ya)):q("",!0),a.showBase?(l(),u("filter",{key:5,id:`blurBas_${e(p)}`},[A("feGaussianBlur",{in:"SourceGraphic",stdDeviation:c.baseBlur},null,8,Ua)],8,La)):q("",!0),A("filter",{id:`blurBar_${e(p)}`},[A("feGaussianBlur",{in:"SourceGraphic",stdDeviation:c.barBlur},null,8,Ka)],8,Ha)]),a.showBase?(l(),u("g",{key:0,class:"tui-bar-base",opacity:a.baseOpacity,filter:`url(#blurBas_${e(p)})`},["cylinder"===a.shape?(l(),u(O,{key:0},[A("path",{d:R.value.body,fill:`url(#gradBasCyde_${e(p)})`,stroke:"none"},null,8,Ja),A("ellipse",{cx:R.value.top.cx,cy:R.value.top.cy,rx:R.value.top.rx,ry:R.value.top.ry,fill:`url(#gradBasTop_${e(p)})`,stroke:"none"},null,8,Xa)],64)):(l(),u(O,{key:1},[A("polygon",{points:R.value.sideA,fill:`url(#gradBasCubeSA_${e(p)})`,stroke:"none"},null,8,Ai),A("polygon",{points:R.value.sideB,fill:`url(#gradBasCubeSB_${e(p)})`,stroke:"none"},null,8,ei),A("polygon",{points:R.value.top,fill:`url(#gradBasTop_${e(p)})`,stroke:"none"},null,8,ti)],64))],8,Za)):q("",!0),A("g",{class:"tui-bar-ani tui-bar-ele",opacity:a.barOpacity,filter:`url(#blurBar_${e(p)})`},["cylinder"===a.shape?(l(),u(O,{key:0},[b.value>0?(l(),u("use",{key:0,href:`#shapeCyde_${e(p)}`,fill:`url(#gradBarCyde_${e(p)})`,stroke:"none"},null,8,oi)):q("",!0),b.value>0?(l(),u("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_${e(p)})`,stroke:"none",class:"tui-bar-top"},null,8,ai)):q("",!0)],64)):(l(),u(O,{key:1},[b.value>0?(l(),u("use",{key:0,href:`#shapeCubeSA_${e(p)}`,fill:`url(#gradBarCubeSA_${e(p)})`,stroke:"none"},null,8,ii)):q("",!0),b.value>0?(l(),u("use",{key:1,href:`#shapeCubeSB_${e(p)}`,fill:`url(#gradBarCubeSB_${e(p)})`,stroke:"none"},null,8,ni)):q("",!0),b.value>0?(l(),u("polygon",{key:2,points:z.value.top,fill:`url(#gradBarTop_${e(p)})`,stroke:"none",class:"tui-bar-top"},null,8,li)):q("",!0)],64)),b.value>0?(l(),u("rect",{key:2,x:y.width/4,y:a.viewDeep/1.5,width:y.width/4,height:y.height,fill:`url(#gradShine_${e(p)})`,stroke:"none","clip-path":`url(#shapeClip_${e(p)})`,rx:"2",ry:"2"},null,8,ri)):q("",!0)],8,si),a.iconsSymbol?(l(),u("text",{key:1,x:y.width/2,"text-anchor":"middle",class:"tui-icon tui-icon-in-svg"},uA(S.value),9,di)):q("",!0),a.showTrack?(l(),u("g",{key:2,class:"tui-bar-trk",opacity:a.trackOpacity,filter:`url(#blurTrk_${e(p)})`},["cylinder"===a.shape?(l(),u(O,{key:0},[A("path",{d:T.value.body,fill:`url(#gradTrkCyde_${e(p)})`,stroke:"none"},null,8,ui),A("ellipse",{cx:T.value.top.cx,cy:T.value.top.cy,rx:T.value.top.rx,ry:T.value.top.ry,fill:`url(#gradTrkTop_${e(p)})`,stroke:"none"},null,8,Vi)],64)):(l(),u(O,{key:1},[A("polygon",{points:T.value.sideA,fill:`url(#gradTrkCubeSA_${e(p)})`,stroke:"none"},null,8,pi),A("polygon",{points:T.value.sideB,fill:`url(#gradTrkCubeSB_${e(p)})`,stroke:"none"},null,8,gi),A("polygon",{points:T.value.top,fill:`url(#gradTrkTop_${e(p)})`,stroke:"none"},null,8,fi)],64))],8,ci)):q("",!0)],8,ma)):q("",!0)])),_:1}),D.value.mainUnit?(l(),u("div",{key:0,class:k(["tui-bar3d-val",{"is-top":"top"==a.mainValuePosition}])},[A("span",hi,uA(D.value.mainVal),1),A("span",qi,uA(D.value.mainUnit),1)],2)):q("",!0)])])),[[s,{callback:P,uid:e(p),disabled:"self"!=e(d)(a.resizeObserver)&&g.value}]]),A("div",vi,[D.value.subUnit?(l(),u("div",mi,[A("span",wi,uA(D.value.subVal),1),A("span",yi,uA(D.value.subUnit),1)])):q("",!0),A("div",bi,[Y(i,null,{default:j((()=>[FA(uA(a.label),1)])),_:1})])])],6),[[oA,f.value]])])),_:1})}}}),Ci=Object.assign({name:"TuiTyped"},{__name:"index",props:{appearance:{type:String,default:"background",validator:A=>["background","text","line","none"].includes(A)},type:{type:String,default:"default",validator:A=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(A)},tone:{type:String,default:"base",validator:A=>["extremeInvert","strongInvert","strong","base","weak"].includes(A)},transparent:{type:Boolean,default:!1},backgroundBlur:{type:Boolean,default:!0},hasShadow:{type:Boolean,default:!0},shadowColor:{type:String,default:"weak",validator:A=>["weakest","weaker","weak","base","strong","stronger","strongest","match"].includes(A)},linePosition:{type:String,default:"top",validator:A=>["top","right","bottom","left"].includes(A)},lineThickness:Number,customColor:{type:[String,Array],default:null,validator:A=>"string"==DA(A)?CSS.supports("color",A):"array"==DA(A)?A.length>0&&A.every((A=>CSS.supports("color",A))):void 0},tuiService:Object},setup(e){const{proxy:{$slots:a,$tService:t}}=QA(),o=e;let i;i=o.tuiService?o.tuiService.$gThemeScheme:t.$gThemeScheme;const s=m((()=>"background"==o.appearance||"strongInvert"!=o.tone&&"extremeInvert"!=o.tone?o.tone:"strong")),n=m((()=>F("cpt-typed",{..."line"==o.appearance&&o.lineThickness&&{bdw:o.lineThickness+"px"}}))),r=H({colorArr:null,colorObj:null}),d=()=>{if(!r.colorArr)return;const A="background"==o.appearance&&o.transparent;r.colorObj=PA.genColorObj(r.colorArr,A?[.9,.8,.7,.5]:null)};W((()=>[o.appearance,o.transparent,o.customColor]),(()=>{o.customColor&&d()}));const u=m((()=>r.colorObj?F("custom",r.colorObj):null));return L((()=>{o.customColor&&(()=>{const A=o.customColor;if(!A)return;let e=PA.genColors(A,7,50);"dark"==i.value&&(e=e.reverse()),r.colorArr=e,d()})()})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[A("div",{class:k(["tui-typed",`tui-typed-${e.appearance}`,"none"!=e.appearance&&`tui-type-${e.customColor?"custom":e.type}`,,"none"!=e.appearance&&`tui-tone-${s.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:E([n.value,e.customColor?u.value:null])},[K(a.$slots,"default")],6)])),_:3}))}}),_i={key:0,class:"tui-panic-alert-inner"},ki={class:"alert-title"},Ti={class:"alert-content"},Si={key:0,class:"debug-input-wrap"},Di=["placeholder"],Mi={class:"alert-action"},We="TuiPanicAlert",Ri=Object.assign({name:We},{__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:A=>["default","invert","primary","success","warning","danger","info","emphasis"].includes(A)},tone:{type:String,default:"strong",validator:A=>["extremeInvert","strongInvert","strong","base","weak"].includes(A)},transparent:{type:Boolean,default:!1},backgroundBlur:{type:Boolean,default:!0},hasShadow:{type:Boolean,default:!0},shadowColor:{type:String,default:"weak",validator:A=>["weakest","weaker","weak","base","strong","stronger","strongest","match"].includes(A)}},emits:["open","close","back","update:modelValue"],setup(a,{emit:t}){const{vnode:o,proxy:{$tMessage:i}}=QA(),{hardReload:s,i18n:n,$deviceInfo:r,$gSound:d,audio:c}=qA("$global",null),V=Xe(),p=Vo(),g=He(We),f=X("panicAlert"),h=a,v=C(!1),w=C(!0),y=C(!1),b=t,B=H({done:!1,config:!1}),x=A=>n(`panicAlert.${A}`),S={device:null,resolutionH:{min:null,max:null},resolutionV:{min:null,max:null},rejectDebugEnv:null,debugMD5:null},D=H({domCleared:!1,debug:{alertOn:!1,inputOn:!1,hasKey:!1,input:"",placeHolder:"input the debug code"},icon:"tui-icon ti-comment-times",title:"",content:"",silenceCondition:{}});no();const M=()=>{o.props.onBack?b("back"):h.fallBackPath?V.push(h.fallBackPath):V.back()},T=async()=>{D.domCleared?s():(y.value=!1,h.modelValue&&b("update:modelValue",!1),b("close",!1),await Q(),hA.s("closePA"+f,(()=>{v.value=!1,D.icon=null,D.title=null,D.content=null}),500))},R=()=>{D.debug.inputOn=!D.debug.inputOn},z=()=>{const{input:A}=D.debug;if(!A||A.length<12)i({content:x("debugger.codeLength"),type:"warning"});else{const{debugMD5:e}=D.silenceCondition;e==ze(A)?(qe.session.s("debugCode",A),i({content:x("debugger.codeCorrect"),type:"success"}),hA.s("reloadPA"+f,(()=>{s()}),2e3)):i({content:x("debugger.codeError"),type:"warning"})}},E=async A=>{if(A){const{debugMD5:A}=D.silenceCondition;D.icon="tui-icon ti-bug-ban",D.title=x("debugger.title"),D.content=x("debugger.content")+(A?x("debugger.contentWithCode"):""),P(),await Q(),v.value=!0,b("open",!0),D.debug.alertOn=!0}else s()},G=C(null),P=()=>{D.domCleared=!0,CA.clearExcept(CA.el("#tuiRoot"),G.value)},N=()=>{p.il()&&(p.st(),p.rl((A=>{E(A)})))},I=A=>{if(A){if(D.silenceCondition=RA.dpm(S,h.silenceCondition),B.config=!0,h.clearDom&&v.value&&P(),!D?.silenceCondition?.rejectDebugEnv)return;{const{rejectDebugEnv:A,debugMD5:e}=D.silenceCondition;if(A){if(!v.value){let a="";if(e){D.debug.hasKey=!0;const A=qe.session.g("debugCode");if(A&&(a=ze(A)),A&&e==a)return}("all"==A||"prod"==A&&"prod"==$e())&&(p.il()||(p.al((A=>{E(A)})),p.lc()))}}else N()}}},$=A=>{if(!h.silenceCondition||D.debug.alertOn)return;const{type:e,resolutionH:a,resolutionV:t}=A,{device:l,resolutionH:o,resolutionV:i}=D.silenceCondition;if(l&&!l.includes(e.split("-")[0])){const A=me.upperAll(e.split("-")[0]),a=me.upperAll(l);return D.icon="tui-icon ti-laptop-phone",D.title=x("device.title"),D.content=x("device.content").replace("{deviceA}",a).replace("{deviceB}",A),v.value=!0,void b("open",!0)}return o.min&&a<o.min?(D.icon="tui-icon ti-computer-alert",D.title=x("resolution.title"),D.content=x("resolution.content").replace(/{resoluHV}/g,x("resolution.horizontal")).replace("{operator}",x("resolution.less")).replace("{resoluMinMax}",x("resolution.min")).replace("{curResol}",a).replace("{safeResol}",o.min),v.value=!0,void b("open",!0)):o.max&&a>o.max?(D.icon="tui-icon ti-computer-alert",D.title=x("resolution.title"),D.content=x("resolution.content").replace(/{resoluHV}/g,x("resolution.horizontal")).replace("{operator}",x("resolution.greater")).replace("{resoluMinMax}",x("resolution.max")).replace("{curResol}",a).replace("{safeResol}",o.max),v.value=!0,void b("open",!0)):i.min&&t<i.min?(D.icon="tui-icon ti-computer-alert",D.title=x("resolution.title"),D.content=x("resolution.content").replace(/{resoluHV}/g,x("resolution.vertical")).replace("{operator}",x("resolution.less")).replace("{resoluMinMax}",x("resolution.min")).replace("{curResol}",t).replace("{safeResol}",i.min),v.value=!0,void b("open",!0)):i.max&&t>i.max?(D.icon="tui-icon ti-computer-alert",D.title=x("resolution.title"),D.content=x("resolution.content").replace(/{resoluHV}/g,x("resolution.vertical")).replace("{operator}",x("resolution.greater")).replace("{resoluMinMax}",x("resolution.max")).replace("{curResol}",t).replace("{safeResol}",i.max),v.value=!0,void b("open",!0)):void(v.value&&!h.modelValue&&T())};W((()=>h.silenceCondition),(A=>{I(A),$(r.value)}),{deep:!0,immediate:!0}),W((()=>r.value),(A=>{$(A)}),{deep:!0,immediate:!0}),W((()=>h.modelValue),(A=>{(A=>{if(A){const{title:A,content:e}=D;A||(D.title=x("example.title")),e||(D.content=x("example.content")),v.value=!0,b("open",!0)}else{if(w.value)return;v.value=!1,b("close",!1)}})(A)}),{immediate:!0}),W((()=>v.value),(async A=>{A&&(hA.c("closePA"+f),await Q(),d.value&&c.play("errorB"),y.value=!0)}));const F=C({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 re((()=>{})),L((()=>{w.value=!1,B.config&&(B.done=!0)})),ee((()=>{N(),w.value=!0})),(t,o)=>{const i=zA("TuiButton"),s=zA("TuiPoptip"),r=zA("TuiMask"),d=wA("tui-vcid");return w.value?q("",!0):(l(),Z(Be,{key:0,to:"#tuiRoot",fallback:"#app",disabled:w.value},[B.done?U((l(),u("div",{key:0,ref_key:"panicAlertRef",ref:G,class:"tui-panic-alert"},[Y(J,{name:"fade"},{default:j((()=>[v.value?(l(),u("div",_i,[U(Y(Ci,lo(ro(F.value)),{default:j((()=>[A("i",{class:k(`alert-icon ${a.icon||D.icon}`)},null,2),A("div",ki,uA(a.title||D.title),1),A("div",Ti,uA(a.content||D.content),1),D.debug.alertOn&&D.debug.inputOn?(l(),u("div",Si,[U(A("input",{class:"debug-input tui-input","onUpdate:modelValue":o[0]||(o[0]=A=>D.debug.input=A),placeholder:x("debugger.inputCode"),type:"text"},null,8,Di),[[co,D.debug.input]]),Y(i,{onClick:z},{default:j((()=>[...o[1]||(o[1]=[A("i",{class:"tui-icon ti-check"},null,-1)])])),_:1}),Y(i,{onClick:R},{default:j((()=>[...o[2]||(o[2]=[A("i",{class:"tui-icon ti-times"},null,-1)])])),_:1})])):q("",!0),A("div",Mi,[D.debug.alertOn?q("",!0):(l(),u(O,{key:0},[a.showClose?(l(),Z(s,{key:1,content:e(n)("common.close"),placement:"bottom",delay:1e3,zIndex:2e3,appendTo:"#app"},{default:j((()=>[A("div",{class:"icon-circle",onClick:T},[...o[4]||(o[4]=[A("i",{class:"tui-icon ti-times"},null,-1)])])])),_:1},8,["content"])):(l(),Z(s,{key:0,content:e(n)("common.back"),placement:"bottom",delay:1e3,zIndex:2e3,appendTo:"#app"},{default:j((()=>[A("div",{class:"icon-circle",onClick:M},[...o[3]||(o[3]=[A("i",{class:"tui-icon ti-chevron-left"},null,-1)])])])),_:1},8,["content"]))],64)),D.debug.alertOn&&D.debug.hasKey&&!D.debug.inputOn?(l(),Z(s,{key:1,content:x("debugger.inputCode"),placement:"bottom",delay:1e3,zIndex:2e3,appendTo:"#app"},{default:j((()=>[A("div",{class:"icon-circle",onClick:R},[...o[5]||(o[5]=[A("i",{class:"tui-icon ti-key-encrypt"},null,-1)])])])),_:1},8,["content"])):q("",!0)])])),_:1},16),[[oA,y.value]])])):q("",!0)])),_:1})])),[[d,e(g)]]):q("",!0),Y(r,{visible:v.value&&y.value&&a.modal},null,8,["visible"])],8,["disabled"]))}}}),zi=["width","height","viewBox"],Pi=["cx","cy","r","id"],Oi=["stop-color"],Gi=["stop-color"],Ei={class:"pie-shadow-group"},Ni=["fill","d","transform"],Ii={opacity:".7"},Qi=["d","fill","transform","onMouseover","onMouseleave","onClick"],Wi={class:"tui-info-value"},ji={class:"tui-info-name"},xi={key:0,class:"tui-info-unit"},Yi={key:0,class:"tui-legend"},Fi={class:"tui-legend-label"},Li={class:"tui-legend-value"},Ui=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:A=>A>=0&&A<=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:A=>["bottom","top","left","right"].includes(A)},useDefaultColors:{type:Boolean,default:!0},resizeObserver:{type:String,default:"global",validator:A=>["self","global","none"].includes(A)}},emits:["sliceHover","sliceLeave","sliceClick"],setup(a,{emit:t}){const{$themePalette:o,$optResizeCounter:i,initResizeBy:s}=qA("$global",null),n=s(),r=a,d=t,c=X("pie3D"),V=C(!1),p=C(!1),g=H({width:300,height:300,hovSliceIdx:null,isResizing:!1,dftColors:[]}),f=()=>{if(!RA.isEmpty(o.value)){const{primary:A,success:e,warning:a,danger:t}=o.value,l=r.data.length,i=["#197fe6","#47eb99","#eaeb47","#eb9947","#eb4747","#9947eb"];g.dftColors=PA.scale(i,l)}},h=C([]),v=C(!1),w=()=>{const A=r.data.map(((A,e)=>{const a={...A};return r.useDefaultColors&&!a.color&&g.dftColors.length>0&&(a.color=g.dftColors[e%g.dftColors.length]),{...a,animValue:a&&"number"==typeof a.value&&a.value>0?a.value:0}}));h.value=A};W((()=>r.data),(A=>{if(0===g.dftColors.length&&r.useDefaultColors&&f(),!r.animate)return void(h.value=A.map(((A,e)=>{const a={...A};return r.useDefaultColors&&!a.color&&g.dftColors.length>0&&(a.color=g.dftColors[e%g.dftColors.length]),{...a,animValue:a&&"number"==typeof a.value&&a.value>0?a.value:0}})));const e={};h.value.forEach((A=>{A&&A.label&&(e[A.label]={animValue:A.animValue||0,color:A.color})}));const a=A.map(((A,a)=>{const t=A.label&&void 0!==e[A.label]?e[A.label].animValue:0,l={...A};return r.useDefaultColors&&!l.color&&g.dftColors.length>0&&(l.color=g.dftColors[a%g.dftColors.length]),{...l,animValue:t,targetValue:l&&"number"==typeof l.value&&l.value>0?l.value:0}})),t=new Set(A.map((A=>A.label))),l=[];Object.keys(e).forEach((A=>{!t.has(A)&&e[A].animValue>0&&l.push({label:A,color:e[A].color,animValue:e[A].animValue,targetValue:0,value:0})})),h.value=[...a,...l],r.animate&&!v.value&&(v.value=!0,y())}),{deep:!0});const y=()=>{if(!r.animate)return;const A=Date.now(),e=r.animationDuration,a=()=>{const t=Date.now()-A,l=Math.min(t/e,1),o=b(l,r.animationEasing);h.value.forEach((A=>{if(void 0!==A.targetValue){const e=A.animValue||0,a=A.targetValue-e;A.animValue=e+a*o}})),l<1?requestAnimationFrame(a):(h.value.forEach((A=>{void 0!==A.targetValue&&(A.animValue=A.targetValue)})),v.value=!1)};requestAnimationFrame(a)},b=(A,e)=>{switch(e){case"linear":return A;case"ease-in":return A*A;case"ease-out":return A*(2-A);case"ease-in-out":return A<.5?2*A*A:(4-2*A)*A-1;case"cubic-bezier(0.23, 1, 0.32, 1)":default:return A<.5?4*A*A*A:(A-1)*(2*A-2)*(2*A-2)+1}},B=m((()=>g.width/2)),x=m((()=>g.height/2)),S=m((()=>ve.min(g.height,g.width))),D=m((()=>S.value/2*r.radiusRatio)),M=m((()=>h.value.reduce(((A,e)=>A+(e&&"number"==typeof e.animValue&&e.animValue>0?e.animValue:0)),0))),T=m((()=>r.data.reduce(((A,e)=>A+(e&&"number"==typeof e.value&&e.value>0?e.value:0)),0))),R=m((()=>Array.isArray(h.value)?h.value.filter((A=>A&&"number"==typeof A.animValue&&A.animValue>0&&A.label)):[])),z=m((()=>D.value*(r.innerRadiusPercent/100))),G=m((()=>{const A=[];if(M.value<=0||0===R.value.length)return A;const e=2*Math.PI;let a=-Math.PI/2;return R.value.forEach(((t,l)=>{const o=t.animValue/M.value*e;if(o<1e-6)return;const i=a,s=a+o,n=ms(B.value,x.value,D.value,z.value,i,s,r.cornerRadius,r.gapSize);if(n.includes("Error"))return;const d=t.color||(g.dftColors.length>0?g.dftColors[l%g.dftColors.length]:"#cccccc"),u=r.useGradient?`url(#grad-${l})`:d;let c="";if(g.hovSliceIdx===l&&r.hoverOffset>0){const A=i+o/2,e=r.hoverOffset*Math.cos(A),a=r.hoverOffset*Math.sin(A);c=`translate(${e.toFixed(3)}, ${a.toFixed(3)})`}const V=t.value||t.targetValue||t.animValue,p=(V/T.value*100).toFixed(1),q=`${t.label}: ${V.toLocaleString()} (${p}%)`;A.push({idSuffix:l,d:n,fill:u,transform:c,tooltip:q,color:d,originalData:t,index:l}),a=s})),A})),P=m((()=>r.showCenterText&&r.innerRadiusPercent>10&&M.value>0)),N=m((()=>{const A=2*z.value;let e=Math.min(.1*S.value,Math.max(.03*S.value,.15*A));return(0===R.value.length||0===M.value)&&(e=Math.min(.08*S.value,Math.max(.02*S.value,.1*A))),{title:.9*e,total:1.1*e}})),I=m((()=>T.value<=0&&0===R.value.length&&!r.data.some((A=>A&&"number"==typeof A.value&&A.value>0))?"N/A":T.value.toLocaleString())),$=m((()=>IA("cpt-tpie",{...r.pieOffset&&{pieoffset:DA.join("number",r.pieOffset,"px")},...r.centerTextOffset&&{totaloffset:DA.join("number",r.centerTextOffset,"px")}}))),F=m((()=>IA("cpt-tpie-font",{total:N.value.total+"px",title:N.value.title+"px"}))),K=C(!1);W((()=>i.value),((A,e)=>{"root"==n.value(r.resizeObserver)&&A>e&&_()}));const _=async()=>{g.isResizing=!0,await Q(),K.value&&(g.width=K.value.clientWidth,g.height=K.value.clientHeight),setTimeout((()=>{g.isResizing=!1,p.value=!0}),500)};W((()=>r.legendPosition),(async()=>{await Q(),_()}));const AA=m((()=>({mode:"static",transformOrigin:"top",showShadow:!0,thicknessFixGap:!0,thicknessCoeff:.15,shadowCoeff:.1,shadowBlur:3,coeff:1,rotateMax:90,initialRotate:{...r.transform3D},...r.t3DConfig})));return W((()=>r.data),(()=>{r.useDefaultColors&&0===g.dftColors.length&&f(),w()}),{immediate:!0}),L((()=>{V.value=!0,f(),w()})),(t,o)=>{const i=zA("Tui3DPanel"),s=wA("tui-cursor-tip"),f=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["tui-pie-3d",`tui-legend-pos-${a.legendPosition}`,{"is-resizing":g.isResizing}])},[U((l(),u("div",{class:"tui-pie-inner",style:E($.value),ref_key:"pieWrapRef",ref:K},[Y(i,Ce(AA.value,{class:"t3d-panel"}),{default:j((()=>[Y(J,{name:"fade"},{default:j((()=>[p.value?(l(),u("svg",{key:0,class:"tui-svg",width:g.width,height:g.height,viewBox:`0 0 ${g.width} ${g.height}`},[A("defs",null,[r.useGradient?(l(!0),u(O,{key:0},rA(G.value,(t=>(l(),u("radialGradient",{cx:B.value,cy:x.value,r:D.value,key:`grad-${t.idSuffix}`,id:`grad-${t.idSuffix}`,gradientUnits:"userSpaceOnUse"},[A("stop",{offset:.7,"stop-color":e(PA).lighten(t.color,a.gradientRatio)},null,8,Oi),A("stop",{offset:1,"stop-color":e(PA).darken(t.color,a.gradientRatio)},null,8,Gi)],8,Pi)))),128)):q("",!0)]),A("g",Ei,[(l(!0),u(O,null,rA(G.value,(A=>(l(),u("path",{style:E(`--tui-t3d-thickcolor:${e(PA).darken(A.color,a.thicknessColorRatio)};`),key:A.idSuffix,fill:A.fill,d:A.d,transform:A.transform,class:"t3d-shadow-item"},null,12,Ni)))),128))]),A("g",Ii,[(l(!0),u(O,null,rA(G.value,(A=>U((l(),u("path",{key:A.idSuffix,d:A.d,fill:A.fill,transform:A.transform,class:"pie-slice",onMouseover:e=>((A,e)=>{g.hovSliceIdx=A.index,d("sliceHover",{event:e,data:A.originalData})})(A,e),onMouseleave:e=>((A,e)=>{g.hovSliceIdx=null,d("sliceLeave",{event:e,data:A.originalData})})(A,e),onClick:e=>((A,e)=>{d("sliceClick",{event:e,data:A.originalData})})(A,e)},null,40,Qi)),[[s,{content:A.tooltip}]]))),128))])],8,zi)):q("",!0)])),_:1}),P.value?(l(),u("div",{key:0,class:"tui-total-info text-shadow-item",style:E(F.value)},[A("div",Wi,uA(I.value),1),A("div",ji,uA(r.chartTitle),1),r.unit?(l(),u("div",xi,"("+uA(r.unit)+")",1)):q("",!0)],4)):q("",!0)])),_:1},16)],4)),[[f,{callback:_,uid:e(c),disabled:"self"!=e(n)(a.resizeObserver)&&p.value}]]),r.legendShow&&R.value.length>0?(l(),u("div",Yi,[(l(!0),u(O,null,rA(R.value,(e=>(l(),u("div",{class:k(["tui-legend-item",{active:g.hovSliceIdx===R.value.indexOf(e)}]),key:e.label},[A("span",{class:"tui-legend-color",style:E({backgroundColor:e.color})},null,4),A("span",Fi,uA(e.label),1),A("span",Li,uA((e.value||e.targetValue||0).toLocaleString()),1)],2)))),128))])):q("",!0)],2),[[oA,V.value]])])),_:1})}}}),xA=new Ye,je=A=>{let e=RA.keyValid(A,["x","y","z"],!1);return e.valid||console.warn("HoverRotate Warning",e.message),e.valid},xe="Tui3DPanel",Hi=Object.assign({name:xe},{__name:"index",props:{animationRotate:{type:Array,default:()=>[],validator:A=>{const{valid:e,message:a}=Le.fieldValid(A,["x","y"]);return e||console.warn("Tui3DPanel Warning! ",a),e}},hoverMask:{type:Boolean,default:!1},hoverDelay:{type:Number,default:0},hoverRotate:{type:Object,default:{x:0,y:0,z:0},validator:je},initialRotate:{type:Object,default:{x:0,y:0,z:0},validator:je},rotateMax:{type:Number,default:50},rotateMin:{type:Number,default:-50},perspective:Number,transformOrigin:{type:String,default:null,validator:A=>["bottom","top","left","right","left top","center","right top","left bottom","right bottom"].includes(A)},duration:{type:Number,default:null},aniDelay:{type:Number,default:1e3},coeff:{type:Number,default:null},mode:{type:String,default:"auto",required:!0,validator:A=>["hover","matrix","hive","unity","animation","gyro","auto","static"].includes(A)},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(a){const t=C(null),o=C(!1),{$tState:i,$t3dConfig:s,$gT3D:n,tConsolei18n:r,$deviceInfo:d}=qA("$global",null),c=a,V=He(xe),p=X("t3d"),g=H({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});Je("TuiT3DPanel",{view3d:m((()=>g.view3d))});const f=m((()=>{const A=g.mode;return c.duration?c.duration:"hive"==A||"matrix"==A||"unity"==A?0:"animation"==A?5e3:"hover"==A?1e3:"gyro"==A?500:void 0})),h=A=>{"hover"==g.mode&&n.value&&g.view3d&&(1==A?(hA.c(p+"out"),hA.s(p+"in",(()=>{const{x:A,y:e}=g.hoverRotate;b(A,e),hA.s(p+"hovSta",(()=>{g.hoverState=!0}),f.value)}),c.hoverDelay)):0==A&&(g.hoverState=!1,hA.c(p+"hovSta"),hA.c(p+"in"),hA.s(p+"out",(()=>{const{x:A,y:e}=g.initialRotate;b(A,e)}),c.hoverDelay)))},v=A=>{if(c.eventBus||0==c.index){let e=t.value.getBoundingClientRect(),a=document.body.clientWidth,l=document.body.clientHeight;if(c.inAdaptive){const A=Pe(g.ParmarsBak.coeff,g.ParmarsBak.shadowCoeff,a);g.coeff=A[0],g.shadowCoeff=A[1]}const{rotateX:o,rotateY:i}=Oe(g.mode,g.coeff,A,e,l,a);b(o,i),xA.emit(c.group+"t3DBus",A)}else xA.on(c.group+"t3DBus",(A=>{let e=t.value.getBoundingClientRect(),a=document.body.clientWidth,l=document.body.clientHeight;if(c.inAdaptive){const A=Pe(g.ParmarsBak.coeff,g.ParmarsBak.shadowCoeff,a);g.coeff=A[0],g.shadowCoeff=A[1]}const{rotateX:o,rotateY:i}=Oe(g.mode,g.coeff,A,e,l,a);b(o,i)}))},w=A=>{if(0==c.index||null==c.index){0==g.fixAlpha&&A.alpha&&(g.fixAlpha=A.alpha?.toFixed(5)||0);const e=g.coeff;let{alpha:a,beta:t,gamma:l,delta:o}=ws(A,g.fixAlpha,c.uesAlpha);"landscape"!=g.screenDir||g.screenInvert?"portrait"!=g.screenDir||g.screenInvert?"landscape"==g.screenDir&&g.screenInvert?b(l*o*e/3,-t*o*e/3,a*o*e/3):"portrait"==g.screenDir&&g.screenInvert&&b(-t*o*e/3,-l*o*e/3,a*o*e/3):b(t*o*e/3,l*o*e/3,a*o*e/3):b(-l*o*e/3,t*o*e/3,a*o*e/3);const i={fixAlpha:g.fixAlpha,x:g.curRotate.x,y:g.curRotate.y,z:g.curRotate.z};null!=c.index&&xA.emit(c.group+"t3DGyroBus",i)}else xA.on(c.group+"t3DGyroBus",(A=>{const{fixAlpha:e,x:a,y:t,z:l}=A;g.fixAlpha=e,g.curRotate.x=a,g.curRotate.y=t,g.curRotate.z=l}))},y=()=>{hA.s(p+"panelAni",(()=>{g.aniStart=!0;let A=g.curAniIndex,e=c.animationRotate;b(e[A].x,e[A].y),A!=e.length-1?g.curAniIndex++:g.curAniIndex=0,y()}),g.aniStart?f.value:c.aniDelay)},b=(A,e,a)=>{g.curRotate.x=B(A),g.curRotate.y=B(e),"number"==DA(a)&&(g.curRotate.z=B(a))},B=A=>{const e=c.rotateMax,a=c.rotateMin;return A>e?e:A<a?a:A},x=()=>{g.mode&&("animation"==g.mode?hA.c(p+"panelAni"):"gyro"==g.mode?((c.eventBus||0==c.index)&&g.eventInited&&(bA.remove(window,"deviceorientation",p),g.eventInited=!1),null!=c.index&&xA.off(c.group+"t3DGyroBus"),c.index):((c.eventBus||0==c.index)&&g.eventInited&&(bA.remove(window,"mousemove",p,!0),g.eventInited=!1),null!=c.index&&xA.off(c.group+"t3DBus")),g.curRotate.x=0,g.curRotate.y=0,g.curRotate.z=0)},S=m((()=>IA("cpt-t3dp",{...c.thicknessColor&&{thickcolor:c.thicknessColor},...c.transformOrigin&&{transorigin:c.transformOrigin},...c.thicknessCoeff&&{thickcoeff:c.thicknessCoeff},...c.thicknessBlur&&{thickblur:c.thicknessBlur+"px"},...c.shadowCoeff&&1!=g.shadowCoeff&&{shadowcoeff:g.shadowCoeff},...c.shadowBlur&&{shadowblur:c.shadowBlur+"px"},...c.shadowTransparent&&{shadowtrans:c.shadowTransparent},...c.thicknessTransparent&&{thicktrans:c.thicknessTransparent},...c.perspective&&{perspective:c.perspective+"px"},...f.value&&{dur:f.value+"ms"},...o.value&&{rotateX:g.curRotate.x,rotateY:g.curRotate.y,rotateZ:g.curRotate.z}})));W((()=>[c.coeff,c.shadowCoeff,c.fixAlpha]),(()=>{D()})),W((()=>c.initialRotate),(()=>{D()}),{deep:!0}),W((()=>c.hoverRotate),(()=>{D()}),{deep:!0});const D=()=>{c.hoverRotate&&(g.hoverRotate=RA.dpm(g.curRotate,c.hoverRotate)),c.initialRotate&&(g.initialRotate=RA.dpm(g.curRotate,c.initialRotate),"static"==g.mode&&(g.curRotate=g.initialRotate)),c.coeff&&(g.coeff=c.coeff,g.ParmarsBak.coeff=g.coeff),c.shadowCoeff&&(g.shadowCoeff=c.shadowCoeff,g.ParmarsBak.shadowCoeff=g.shadowCoeff),c.fixAlpha&&(g.fixAlpha=c.fixAlpha)};W((()=>d.value.orientation),(A=>{g.screenDir=A}),{immediate:!0}),W((()=>d.value.screenInvert),(A=>{g.screenInvert=A}),{immediate:!0}),W((()=>[n.value,c.view3d]),(([A,e])=>{g.view3d=!(!A||!e)}),{immediate:!0}),W((()=>g.view3d),(A=>{A?(D(),(async()=>{const A=g.mode;if(A){if(!n.value||!g.view3d)return void(g.curRotate={x:0,y:0,z:0});if("hover"==A){const{x:A,y:e}=g.initialRotate;b(A,e)}else"hive"==A||"matrix"==A||"unity"==A?c.eventBus||0==c.index?(bA.add(window,"mousemove",v,p,!0),g.eventInited=!0):v():"animation"==A?y():"gyro"==A?"https:"==window.location.protocol?0==c.index||null==c.index?(typeof DeviceOrientationEvent<"u"&&"function"==typeof DeviceOrientationEvent.requestPermission&&DeviceOrientationEvent.requestPermission(),bA.add(window,"deviceorientation",w,p),g.eventInited=!0):w():r("warning","panelGyro","warn.panelGyro"):"static"==A&&(g.curRotate=g.initialRotate)}})()):x()}),{immediate:!0}),W((()=>d.value.type),(async A=>{if(!A)return;g.view3d&&(g.view3d=!1,x()),await Q(),(A=>{const e=A;d.value.type,"auto"==c.mode?e.includes("pc")?g.mode="matrix":(e.includes("mobile")||e.includes("pad"))&&(g.mode="gyro"):g.mode=c.mode})(A);const e=g.mode,a=n.value,t=c.view3d;a&&t&&(A.includes("mobile")||A.includes("pad")?("gyro"==e||"animation"==e)&&(g.view3d=!0):A.includes("pc")&&"gyro"!=e&&(g.view3d=!0))}),{immediate:!0});const M=A=>{const e=CA.el(".tui-3d-panel",!0);e.length>0&&A&&!s.value.inited?i.t3dConfig.inited=!0:0==e.length&&!A&&s.value.inited&&(i.t3dConfig.inited=!1)};return re((()=>{})),L((async()=>{o.value=!0,await Q(),M(!0)})),ee((async()=>{o.value=!0,g.view3d=!1,x(),await Q(),M(!1)})),(i,s)=>{const r=wA("tui-vcid");return o.value?U((l(),u("div",{key:0,style:E(S.value),class:k(["tui-3d-panel",`tui-mode-${a.mode}`,"tui-shadow-"+(a.showShadow?"show":"hide"),"tui-thickness-"+(a.showThickness?"show":"hide"),{"is-3doff":!e(n)||!g.view3d,"is-fixgap":a.thicknessFixGap}]),ref_key:"t3dRef",ref:t},[A("div",{class:k(["tui-3d-panel-inner",[{"is-hover":g.hoverState,"has-mask":a.hoverMask&&"hover"==a.mode&&e(n)}]]),onMouseenter:s[0]||(s[0]=A=>h(1)),onMouseleave:s[1]||(s[1]=A=>h(0))},[K(i.$slots,"default",{boxShadowName:"box-shadow-item",textShadowName:"text-shadow-item",t3dShadowName:"t3d-shadow-item",dropShadowName:"drop-shadow-item"})],34)],6)),[[r,e(V)]]):q("",!0)}}}),Ki=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(A){const e=A,a=m((()=>e.rows*e.cols)),t=A=>Math.floor(A/e.cols),o=A=>A%e.cols,i=A=>{const a=`${t(A)}-${o(A)}`;return e.cellConfig[a]||{}},s=A=>{if(i(A).hidden)return!0;const a=t(A),l=o(A);for(const[A,t]of Object.entries(e.cellConfig)){const[e,o]=A.split("-").map(Number),i=t.rowSpan||1,s=t.colSpan||1;if(a>=e&&a<e+i&&l>=o&&l<o+s&&(a!==e||l!==o))return!0}return!1},n=m((()=>0===e.rowConfig.length?`repeat(${e.rows}, 1fr)`:e.rowConfig.map((A=>"number"==typeof A.size?`${A.size}fr`:A.size||"1fr")).join(" "))),r=m((()=>0===e.colConfig.length?`repeat(${e.cols}, 1fr)`:e.colConfig.map((A=>"number"==typeof A.size?`${A.size}fr`:A.size||"1fr")).join(" "))),d=m((()=>F("cpt-grid",{"tpl-rows":n.value,"tpl-cols":r.value,...e.gap&&{gap:DA.join("number",e.gap,"px")}}))),c=A=>{const e=i(A);return F("cpt-grid-item",{...e.rowSpan&&{"row-end":`span ${e.rowSpan}`},...e.colSpan&&{"col-end":`span ${e.colSpan}`},...e.pointerEvent&&{"pot-evt":e.pointerEvent}})};return(A,e)=>(l(),u("div",{class:"tui-grid-wrap",style:E(d.value)},[(l(!0),u(O,null,rA(a.value,((e,a)=>(l(),u(O,null,[s(a)?q("",!0):(l(),u("div",{key:0,class:k(["tui-grid-item",`tui-cell-${t(a)}-${o(a)}`,i(a)?.className]),style:E(c(a))},[K(A.$slots,`cell-${t(a)}-${o(a)}`,{row:t(a),col:o(a)})],6))],64)))),256))],4))}}),Zi=Object.assign({name:"TuiLoaderPanel"},{__name:"index",props:{loading:{type:Boolean,default:!0},inited:{type:Boolean,default:!1},loadingOpacity:{type:Number,default:.1}},setup(e){const{proxy:a}=QA(),{$tService:t,$tState:o,$router:i,$route:s}=a,n=e;W((()=>n.inited),((A,e)=>{1==A&&o.adaptiveConfig.portletCounter++}));const r=m((()=>F("cpt-lodpan",{...n.loadingOpacity&&{opa:n.loadingOpacity}})));return(e,a)=>{const t=zA("TuiLoadingArea");return l(),u("div",{class:"tui-loader-panel",style:E(r.value)},[Y(t,{visible:n.loading},null,8,["visible"]),A("div",{class:k("portlet-slot "+(n.loading?"portelt-loading":""))},[K(e.$slots,"default",{class:"test"})],2)],4)}}}),Ji={key:0,class:"svg-icon spinner-area"},Xi=Object.assign({name:"TuiLoadingArea"},{__name:"LoadingArea",props:{zIndex:Number,size:Number,color:String,update:Boolean,mask:Boolean,visible:{type:Boolean,default:!0}},setup(A){const{proxy:e}=QA(),{$tState:a,$tState:{spinnerConfig:t},$tService:{initSpinner:o}}=e,i=C(!1),s=X("loadArea"),n=A,r=m((()=>n.color||t.area.color)),d=m((()=>n.size||t.area.size)),c=m((()=>F("cpt-loda",{...r.value&&{color:r.value},...d.value&&{size:d.value+"px"},...n.zIndex&&{zIndex:n.zIndex}})));return W((()=>n.visible),((A,e)=>{A?(i.value=!0,hA.c(s+"_ti")):hA.s(s+"_ti",(()=>{i.value=!1}),500)}),{immediate:!0}),L((()=>{n.color&&n.update&&(t.area.color=n.color),n.size&&n.update&&(t.area.size=n.size),CA.el("#styleSpinners")||o()})),Ae((()=>{hA.c(s+"_ti")})),(e,a)=>{const t=zA("TuiMask");return l(),u(O,null,[Y(t,{visible:A.visible&&A.mask},null,8,["visible"]),Y(J,{name:"fade"},{default:j((()=>[A.visible?(l(),u("div",{key:0,class:k(["tui-loading-area",""+(i.value?"loading-ani-on":"loading-ani-off")]),style:E(c.value)},[i.value?(l(),u("i",Ji)):q("",!0)],6)):q("",!0)])),_:1})],64)}}}),An=async()=>{const A=we.load();return A.length>0?A:(await import("@techui/themes/lightBlue"),we.load()||[])};function ot(A,e="",a={}){for(let t in A)if(A.hasOwnProperty(t)){let l=e?`${e}-${t}`:`--${t}`;"object"!=typeof A[t]||Array.isArray(A[t])?a[l]=A[t]:ot(A[t],l,a)}return a}const en=A=>{const e=["bg","bd","weakest","weaker","weak","base","strong","stronger","strongest"],a=[.1,.2,.3,.4,.5,.6,.7,.8,.9];for(let t in A)CSS.supports("color",A[t])&&e.includes(t)&&a.forEach((e=>{const a=`${t}_op${10*e}`,l=PA.fade(A[t],e);CSS.supports("color",l)&&(A[a]=l)}))},tn=(A,e,a)=>{let t=RA.dpc(a);const l=["common","button","input","tone","primary","success","info","warning","danger","emphasis"];for(let A in t)l.includes(A)&&en(t[A]);let o=`color-scheme: ${A};${JSON.stringify(ot(t)).replace(/{|}|"/g,"").replace(/,--/g,";--")}`;JA("Theme",e,`:root{${o}}`)};function sn(A={}){const{threshold:e=15,resetInterval:a=1e3,onTrigger:t=(()=>{})}=A,l=X("clickWatch"),o=C(0);let i=0;const s=A=>{const l=(new Date).getTime();l-i>a&&(o.value=0),o.value++,i=l,o.value>=e&&(t(),o.value=0)};return L((()=>{bA.add(window,"contextmenu",s,l,!1,!1),bA.add(window,"touchstart",s,l,!1,!1)})),Ae((()=>{bA.remove(window,"contextmenu",l,!1,!1),bA.remove(window,"touchstart",l,!1,!1)})),{clickCount:o}}const on=Object.assign({name:"TuiProvider"},{__name:"index-scifi",setup(A){const{proxy:a,proxy:{$tBus:t,$tState:o,$tService:i,isActAdvFeatures:s,isActEchartsFeatures:n,$tMask:r,$tMaskClose:d,$tLoading:c,$tLoadingClose:V}}=QA(),{$gVersion:p,$globalConfig:g,$globalState:f,$globalParams:h,$viewTrans:v,$gPlatform:m,$deviceInfo:w,$gMaskBlur:y,$gTheme:b,$gThemeScheme:B,initI18n:x,tStoreCrypto:S,initBG:D,resetBG:M,$gBackground:T,resetAdaptiveConfig:R,$adptInited:O,$gTransition:z}=i;let E=null;sn({threshold:19,resetInterval:200,onTrigger:()=>{ys()}});const G=Xe(),P=po(),N=C(!1),I=C(!1),$=C(!1),j=X("provider");W((()=>o.globalConfig.theme),((A,e)=>{oA(A)})),W((()=>b.value),(A=>{ge.replace(CA.el("body"),"theme-",A)}),{immediate:!0}),W((()=>B.value),(A=>{ge.replace(CA.el("body"),"theme-scheme-",A)}),{immediate:!0}),W((()=>o.globalConfig.maskBlur),(A=>{ge.replace(CA.el("body"),"mask-",A?"blur":"trans")}),{immediate:!0}),W((()=>o.globalConfig.adaptive),(A=>{"disabled"!=A||!O.value||R()}),{immediate:!0}),W((()=>o.globalConfig),(A=>{S.s("local","globalConfig",A)}),{deep:!0}),W((()=>T.value),(A=>{"none"!=A?D():M()})),W((()=>o.backgroundConfig),(()=>{"none"!=T.value&&D()}),{deep:!0});const Y=async()=>{I.value||!$.value||(R(),I.value=!0,await Q(),I.value=!1)},H=()=>{window.location.reload()};window.softReload=Y,window.hardReload=H;const Z=()=>{const{type:A,h:e,v:a,touchable:t,orientation:l,screenInvert:i,browser:s}=ut();o.deviceInfo={type:A,resolutionH:e,resolutionV:a,touchable:t,orientation:l,screenInvert:i,browser:s}},_=(A,e="push")=>{const a={...P.query,...A};"push"===e?G.push({query:a}):G.replace({query:a})},J=A=>A?Array.isArray(A)?A.reduce(((A,e)=>(A[e]=P.query[e],A)),{}):P.query[A]:P.query,AA=A=>{const e=A?.meta?.order;return"number"==DA(e)?e:-1},eA=async({path:A,query:e,transTarget:a=null,transName:t=null,transDur:l=null,useOrder:o=!1,from:i=null})=>{if(P.path!=A){if(t||a||l){let A;"layout"==a&&(A=v.value.altNames.layout),tA(a,t||A,l)}if(o){const e=G.currentRoute.value,a=AA(e),t=G.resolve(A),l=AA(t);if(a>-1&&l>-1){const{altNames:{routerPre:A,routerNxt:e}}=v.value;l>a?tA(null,e):l<a&&tA(null,A)}}await Q(),De({callback:()=>G.push({path:A,query:e}),enable:z.value,complete:()=>{tA()}})}},aA=async(A,e)=>{!A||!e||(tA("root",v.value.altNames.theme),await Q(),De({callback:()=>{o.globalConfig.theme=A,o.globalConfig.themeScheme=e},enable:!0,complete:()=>{tA()}}))},tA=(A=null,e=null,a=null)=>{e&&(v.value.curName=e),A&&(v.value.curTarget=A),a&&(v.value.curDur=a),!e&&!A&&!a&&(v.value.curName=v.value.altNames.common,v.value.curTarget=v.value.altTarget,v.value.curDur=v.value.altDur),lA()},lA=()=>{const{blurSaturate:A,blurRange:e,initDur:a}=h.value,{curTarget:t,curName:l,curDur:o}=v.value;let i=F("tui-global",{[`transi-${t}`]:l,"blur-satur":A,"blur-range":e+"px","init-dur":a+"s","transi-dur":o+"s"});JA("GlobalParams",`vtName-${l};vtTraget-${t}`,`:root{${i}}`)},oA=async A=>{let e=A,a=await An(),t=a.find((A=>A.value===e));!t&&a.length>0&&(t=a[0],e=t.value,g.value.theme=t.value,g.value.themeScheme=t.scheme),o.themePalette=t.data,tn(B.value,e,t.data),$.value||($.value=!0),D(),n&&(E?E(t.data):(async A=>{if(n){const{registerEchartsTheme:e}=await import("./modules/echartsTheme.js");E=e,E(A)}})(t.data))};re((async()=>{Je("$global",{$tBus:t,proxy:a,updateRouteQuery:_,getRouteQuery:J,routerTransition:eA,themeToggle:aA,...i,softReload:Y,hardReload:H,$tBus:t,$tState:o,$tService:i,isActAdvFeatures:s,isActEchartsFeatures:n,$tMask:r,$tMaskClose:d,$tLoading:c,$tLoadingClose:V}),await x();let A=S.g("local","globalConfig");A&&(A.platform==m.value&&A.version==p.value?o.globalConfig=A:S.d("local","globalConfig")),oA(b.value)}));const iA=A=>{"F11"===A.key&&(A.preventDefault(),Se.toggle()),"Escape"===A.key&&f.value.escCounter++},sA=A=>{f.value.clickCounter++,f.value.clickTarget=A.target};L((()=>{lA();let A=CA.el("#preLoading");A&&A.remove(),screen.orientation&&screen.orientation.addEventListener("change",Z),bA.add(document,"keydown",iA,j,!1,!1),bA.add(document,"click",sA,j,!1,!1),bA.add(document,"contextmenu",sA,j,!1,!1),N.value=!0})),Ae((()=>{screen.orientation.removeEventListener("change",Z),bA.remove(document,"keydown",j,!1,!1),bA.remove(document,"click",j,!1,!1),bA.remove(document,"contextmenu",j,!1,!1)}));const nA=A=>{Z(),f.value.fullScreen=Se.isEnabled(),f.value.resizeCounter++};return(A,a)=>{const t=wA("tui-resize");return!I.value&&$.value?U((l(),u("div",{key:0,id:"tuiRoot",class:k(["tui-root",`theme-${e(b)}`,`theme-scheme-${e(B)}`,"mask-"+(e(y)?"blur":"trans"),e(w).type,e(w).orientation&&`screen-dir-${e(w).orientation}`,"screen-"+(e(w).screenInvert?"invert":"no-invert"),{"tui-view-bg":"view"==e(T),"tui-root-bg":"root"==e(T)||"all"==e(T)}])},[K(A.$slots,"default")],2)),[[t,{callback:nA,uid:e(j)}]]):q("",!0)}}}),te={backgroundOpacity:Number,width:Number,className:String,aniDuration:Number,borderWidth:Number,text:{type:String,default:"SCIFI HEADER"},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:A=>["A","B","C","D"].includes(A)},directionAlt:{type:Boolean,default:!1},size:{type:String,default:"default",validator:A=>["large","default","small"].includes(A)},shadowType:{type:String,default:"drop",validator:A=>["drop","t3d","none"].includes(A)},disabled:{type:Boolean,default:!1},glow:{type:Boolean,default:!0},glowRange:Number,glowOpacity:Number,scaleAction:{type:Boolean,default:!0}},an=["id"],nn=["stdDeviation"],YA=Object.assign({name:"SVGDefs"},{__name:"SVGDefs",props:{uid:{type:String,required:!0},glowRange:{type:Number,default:5}},setup:e=>(a,t)=>(l(),u("defs",null,[A("filter",{id:`bgGlow_${e.uid}`},[A("feGaussianBlur",{in:"SourceAlpha",stdDeviation:e.glowRange,result:"blur"},null,8,nn),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,an)]))}),ln={width:32,height:"60",class:"sf-deco-appea-a"},rn=["d"],dn=["d"],cn=["d"],un={width:32,height:"60",class:"sf-deco-appea-b"},Vn=["d"],pn=["d"],gn={width:32,height:"60",class:"sf-deco-appea-c"},fn=["d"],hn=["width"],qn=["filter","d"],vn=Object.assign({name:"ScifiButtonA1"},{__name:"A1",props:{...te},setup(a){const t=a,o=C(null),i=X("sfBtn"),s=C(!1),n=C(!1),r=H({resizing:!1,width:0,path:{}}),{path:d}=aA(r),c=m((()=>r.width+("small"==t.size?20:0))),V=()=>{const A=o.value;A&&(r.width=A.clientWidth,(async()=>{r.path=iA(bs(c.value)),await Q(),s.value=!0})())},p=m((()=>F("cpt-btn",{...r.width&&{width:r.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(#${i})`})));return L((()=>{n.value=!0,Q((()=>{V()}))})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-button-a1","sf-svg-button","sf-svg-component",a.className,""+(s.value?"is-inited":"is-loading"),`sf-size-${a.size}`,`sf-appea-${a.appearance}`,{"is-disabled":a.disabled,"is-deco-color-alt":a.decorationColorAlt,"dis-scale":!a.scaleAction}]),style:E(p.value),ref_key:"btnRef",ref:o},[A("span",{onClick:t[0]||(t[0]=(...A)=>a.oriClick&&a.oriClick(...A)),class:"sf-button-text"},[K(a.$slots,"default")]),s.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},["A"==a.appearance?(l(),u(O,{key:0},rA(2,(a=>A("svg",ln,[A("path",{class:"sf-deco-a",d:e(d).A_decoA},null,8,rn),A("path",{class:"sf-deco-b",d:e(d).A_decoB},null,8,dn),A("path",{class:"sf-deco-c",d:e(d).A_decoC},null,8,cn)]))),64)):q("",!0),"B"==a.appearance?(l(),u(O,{key:1},rA(2,(a=>A("svg",un,[A("path",{class:"sf-deco-a",d:e(d).B_decoA},null,8,Vn),A("path",{class:"sf-deco-b",d:e(d).B_decoB},null,8,pn)]))),64)):q("",!0),"C"==a.appearance?(l(),u(O,{key:2},rA(2,(a=>A("svg",gn,[A("path",{class:"sf-deco-a",d:e(d).C_deco},null,8,fn)]))),64)):q("",!0),(l(),u("svg",{width:a.width,height:"60",class:"sf-btn-svg-el"},[Y(YA,{uid:e(i),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("path",{class:"sf-main-bg",filter:a.glow&&`url(#bgGlow_${e(i)})`,d:e(d).mainBG},null,8,qn)],8,hn))],2)):q("",!0)],6),[[oA,n.value]])])),_:3}))}}),mn=["width"],wn=["filter","d"],yn={width:32,height:"60",class:"sf-deco-appea-a"},bn=["d"],$n=["d"],Bn=["d"],Cn=["d"],_n={width:32,height:"60",class:"sf-deco-appea-b"},kn=["d"],Tn=["d"],Sn=Object.assign({name:"ScifiButtonA2"},{__name:"A2",props:{...te},setup(a){const t=a,o=C(null),i=X("sfBtn"),s=C(!1),n=C(!1),r=H({resizing:!1,width:0,path:{}}),{path:d}=aA(r),c=m((()=>r.width+("small"==t.size?20:0))),V=()=>{const A=o.value;A&&(r.width=A.clientWidth,(async()=>{r.path=iA($s(c.value)),await Q(),s.value=!0})())},p=m((()=>F("cpt-btn",{...r.width&&{width:r.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(#${i})`})));return L((()=>{n.value=!0,Q((()=>{V()}))})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-button-a2","sf-svg-button","sf-svg-component",a.className,""+(s.value?"is-inited":"is-loading"),`sf-size-${a.size}`,`sf-appea-${a.appearance}`,{"is-disabled":a.disabled,"is-deco-color-alt":a.decorationColorAlt,"dis-scale":!a.scaleAction}]),style:E(p.value),ref_key:"btnRef",ref:o},[A("span",{onClick:t[0]||(t[0]=(...A)=>a.oriClick&&a.oriClick(...A)),class:"sf-button-text"},[K(a.$slots,"default")]),s.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",{width:a.width,height:"60",class:"sf-btn-svg-el"},[Y(YA,{uid:e(i),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("path",{class:"sf-main-bg",filter:a.glow&&`url(#bgGlow_${e(i)})`,d:e(d).mainBG},null,8,wn)],8,mn)),"A"==a.appearance?(l(),u(O,{key:0},rA(2,(a=>A("svg",yn,[A("path",{class:"sf-deco-a",d:e(d).A_decoAt},null,8,bn),A("path",{class:"sf-deco-a",d:e(d).A_decoAb},null,8,$n),A("path",{class:"sf-deco-b",d:e(d).A_decoB},null,8,Bn),A("path",{class:"sf-deco-c",d:e(d).A_decoC},null,8,Cn)]))),64)):q("",!0),"B"==a.appearance?(l(),u(O,{key:1},rA(2,(a=>A("svg",_n,[A("path",{class:"sf-deco-a",d:e(d).B_decoA},null,8,kn),A("path",{class:"sf-deco-a",d:e(d).B_decoB},null,8,Tn)]))),64)):q("",!0)],2)):q("",!0)],6),[[oA,n.value]])])),_:3}))}}),Dn=["width"],Mn={key:0,class:"sf-deco-appea-a"},Rn=["d"],zn=["d"],Pn=["d"],On=["d"],Gn=["d"],En=["d"],Nn=["d"],In={key:1,class:"sf-deco-appea-b"},Qn=["d"],Wn=["d"],jn=["d"],xn=["d"],Yn=["d"],Fn=["d"],Ln=["d"],Un=["d"],Hn=["filter","d"],Kn=Object.assign({name:"ScifiButtonA3"},{__name:"A3",props:{...te},setup(a){const t=a,o=C(null),i=X("sfBtn"),s=C(!1),n=C(!1),r=H({resizing:!1,width:0,path:{}}),{path:d}=aA(r),c=m((()=>r.width+("small"==t.size?20:0))),V=()=>{const A=o.value;A&&(r.width=A.clientWidth,(async()=>{r.path=iA(Bs(c.value)),await Q(),s.value=!0})())},p=m((()=>F("cpt-btn",{...r.width&&{width:r.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(#${i})`})));return L((()=>{n.value=!0,Q((()=>{V()}))})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-button-a3","sf-svg-button","sf-svg-component",a.className,""+(s.value?"is-inited":"is-loading"),`sf-size-${a.size}`,`sf-appea-${a.appearance}`,{"is-disabled":a.disabled,"is-deco-color-alt":a.decorationColorAlt,"dis-scale":!a.scaleAction}]),style:E(p.value),ref_key:"btnRef",ref:o},[A("span",{onClick:t[0]||(t[0]=(...A)=>a.oriClick&&a.oriClick(...A)),class:"sf-button-text"},[K(a.$slots,"default")]),s.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",{width:a.width,height:"60",class:"sf-btn-svg-el"},[Y(YA,{uid:e(i),glowRange:a.glowRange},null,8,["uid","glowRange"]),"A"==a.appearance?(l(),u("g",Mn,[A("path",{class:"sf-deco-lt",d:e(d).A_decoLT},null,8,Rn),A("path",{class:"sf-deco-rt",d:e(d).A_decoRT},null,8,zn),A("path",{class:"sf-deco-lb",d:e(d).A_decoLB},null,8,Pn),A("path",{class:"sf-deco-rb1",d:e(d).A_decoRB1},null,8,On),A("path",{class:"sf-deco-rb2",d:e(d).A_decoRB2},null,8,Gn),A("path",{class:"sf-deco-rb3",d:e(d).A_decoRB3},null,8,En),A("path",{class:"sf-deco-rb4",d:e(d).A_decoRB4},null,8,Nn)])):q("",!0),"B"==a.appearance?(l(),u("g",In,[A("path",{class:"sf-deco-lt",d:e(d).B_decoLT},null,8,Qn),A("path",{class:"sf-deco-rb",d:e(d).B_decoRB},null,8,Wn),A("path",{class:"sf-deco-rt",d:e(d).B_decoRT},null,8,jn),A("path",{class:"sf-deco-lb",d:e(d).B_decoLB},null,8,xn),A("path",{class:"sf-deco-lt-rt",d:e(d).B_decoLT1},null,8,Yn),A("path",{class:"sf-deco-lt-rt",d:e(d).B_decoLT2},null,8,Fn),A("path",{class:"sf-deco-lt-rt",d:e(d).B_decoLT3},null,8,Ln),A("path",{class:"sf-deco-lt-rt",d:e(d).B_decoLT4},null,8,Un)])):q("",!0),A("path",{class:"sf-main-bg",filter:a.glow&&`url(#bgGlow_${e(i)})`,d:e(d).mainBG},null,8,Hn)],8,Dn))],2)):q("",!0)],6),[[oA,n.value]])])),_:3}))}}),Zn=["width"],Jn=["filter","d"],Xn={width:20,height:"60",class:"sf-deco-appea-a"},Al=["d"],el=["d"],tl=["d"],sl=["d"],ol=["width"],al=["filter","d"],il={width:20,height:"60",class:"sf-deco-appea-b"},nl=["d"],ll=["d"],rl=["d"],dl=Object.assign({name:"ScifiButtonA4"},{__name:"A4",props:{...te},setup(a){const t=a,o=C(null),i=X("sfBtn"),s=C(!1),n=C(!1),r=H({resizing:!1,width:0,path:{}}),{path:d}=aA(r),c=m((()=>r.width+("small"==t.size?20:0))),V=()=>{const A=o.value;A&&(r.width=A.clientWidth,(async()=>{r.path=iA(Cs(c.value)),await Q(),s.value=!0})())},p=m((()=>F("cpt-btn",{...r.width&&{width:r.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(#${i})`})));return L((()=>{n.value=!0,Q((()=>{V()}))})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-button-a4","sf-svg-button","sf-svg-component",a.className,""+(s.value?"is-inited":"is-loading"),`sf-size-${a.size}`,`sf-appea-${a.appearance}`,{"is-disabled":a.disabled,"is-deco-color-alt":a.decorationColorAlt,"dis-scale":!a.scaleAction}]),style:E(p.value),ref_key:"btnRef",ref:o},[A("span",{onClick:t[0]||(t[0]=(...A)=>a.oriClick&&a.oriClick(...A)),class:"sf-button-text"},[K(a.$slots,"default")]),s.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},["A"==a.appearance?(l(),u(O,{key:0},[(l(),u("svg",{width:a.width,height:"60",class:"sf-btn-svg-el"},[Y(YA,{uid:e(i),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("path",{class:"sf-main-bg",filter:a.glow&&`url(#bgGlow_${e(i)})`,d:e(d).A_mainBG},null,8,Jn)],8,Zn)),(l(),u(O,null,rA(2,(a=>A("svg",Xn,[A("path",{class:"sf-deco-t1",d:e(d).A_decoT1},null,8,Al),A("path",{class:"sf-deco-b1",d:e(d).A_decoB1},null,8,el),A("path",{class:"sf-deco-t1",d:e(d).A_decoT2},null,8,tl),1==a?(l(),u("path",{key:0,class:"sf-deco-t3",d:e(d).A_decoT3},null,8,sl)):q("",!0)]))),64))],64)):q("",!0),"B"==a.appearance?(l(),u(O,{key:1},[(l(),u("svg",{width:a.width,height:"60",class:"sf-btn-svg-el"},[Y(YA,{uid:e(i),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("path",{class:"sf-main-bg",filter:a.glow&&`url(#bgGlow_${e(i)})`,d:e(d).B_mainBG},null,8,al)],8,ol)),(l(),u(O,null,rA(2,(a=>A("svg",il,[A("path",{class:"sf-deco-a",d:e(d).B_decoA},null,8,nl),A("path",{class:"sf-deco-b",d:e(d).B_decoB},null,8,ll),1==a?(l(),u("path",{key:0,class:"sf-deco-c",d:e(d).B_decoC},null,8,rl)):q("",!0)]))),64))],64)):q("",!0)],2)):q("",!0)],6),[[oA,n.value]])])),_:3}))}}),cl=["width"],ul=["filter","d"],Vl={width:40,height:"60",class:"sf-deco-appea-a"},pl=["d"],gl=["width"],fl=["d"],he="sfBtn_8",hl=Object.assign({name:"ScifiButtonA5"},{__name:"A5",props:{...te},setup(a){const t=a,o=C(null),i=C(!1),s=C(!1),n=H({resizing:!1,width:0,path:{}}),{path:r}=aA(n),d=m((()=>n.width+("small"==t.size?20:0))),c=()=>{const A=o.value;A&&(n.width=A.clientWidth,(async()=>{n.path=iA(_s(d.value)),await Q(),i.value=!0})())},V=m((()=>F("cpt-btn",{...n.width&&{width:n.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(#${he})`})));return L((()=>{s.value=!0,Q((()=>{c()}))})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-button-a5","sf-svg-button","sf-svg-component",a.className,""+(i.value?"is-inited":"is-loading"),`sf-size-${a.size}`,`sf-appea-${a.appearance}`,{"is-disabled":a.disabled,"is-deco-color-alt":a.decorationColorAlt,"is-dir-alt":a.directionAlt,"dis-scale":!a.scaleAction}]),style:E(V.value),ref_key:"btnRef",ref:o},[A("span",{onClick:t[0]||(t[0]=(...A)=>a.oriClick&&a.oriClick(...A)),class:"sf-button-text"},[K(a.$slots,"default")]),i.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",{width:a.width,height:"60",class:"sf-btn-svg-el"},[Y(YA,{uid:he,glowRange:a.glowRange},null,8,["glowRange"]),A("path",{class:"sf-main-bg",filter:a.glow&&`url(#bgGlow_${he})`,d:e(r).mainBG},null,8,ul)],8,cl)),"A"==a.appearance?(l(),u(O,{key:0},rA(2,(a=>A("svg",Vl,[A("path",{class:"decoration-B",d:e(r).decoA},null,8,pl)]))),64)):q("",!0),"B"==a.appearance?(l(),u("svg",{key:1,width:a.width,height:"60",class:"sf-deco-appea-b"},[A("path",{class:"decoration-B",d:e(r).decoB},null,8,fl)],8,gl)):q("",!0)],2)):q("",!0)],6),[[oA,s.value]])])),_:3}))}}),se={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:A=>["drop","t3d","none"].includes(A)},borderd:{type:Boolean,default:!0}},ql=["id"],vl=["stdDeviation"],ml=["id"],oe=Object.assign({name:"SVGDefs"},{__name:"SVGDefs",props:{uid:{type:String,required:!0},glowRange:{type:Number,default:8}},setup:e=>(a,t)=>(l(),u("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,vl),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,ql),A("linearGradient",{class:"sf-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,ml)]))}),wl={class:"sf-slot-wrap"},yl={class:"sf-slot-inner"},bl=["viewBox"],$l=["id"],Bl=["d"],Cl=["filter","d"],_l=["viewBox"],kl=["id"],Tl=["d"],Sl=["mask","d"],Dl=["viewBox"],Ml=["d"],Rl=Object.assign({name:"ScifiHexagon"},{__name:"Hexagon",props:{...se},setup(a){const t=a,o=X("sfGeo"),i=C(!1),s=H({path:{}}),{path:n}=aA(s),r=m((()=>t.directionAlt?t.height:t.width)),d=m((()=>t.directionAlt?t.width:t.height)),c=m((()=>F("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:r.value+"px",height:d.value+"px",bggrad:`url(#bgGrad${o})`,bgmask:`url(#slotMask${o})`})));return L((()=>{(async()=>{s.path=iA(ks(r.value,d.value)),await Q(),i.value=!0})()})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-hexagon","sf-svg-geometry",a.className,""+(i.value?"is-inited":"is-loading"),""+(a.gradientBackground?"is-grad-bg":"is-nor-bg"),""+(a.directionAlt?"sf-dir-alt-on":"sf-dir-alt-off"),{"is-deco-color-alt":a.decorationColorAlt,"is-borderd":a.borderd}]),style:E(c.value),ref:"svgGeometry"},[A("div",wl,[A("div",yl,[K(a.$slots,"default")])]),i.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",{class:"sf-bg-wrap",viewBox:`0 0 ${r.value} ${d.value}`},[Y(oe,{uid:e(o),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("mask",{id:`slotMask${e(o)}`},[A("path",{fill:"white",d:e(n).mainBG},null,8,Bl)],8,$l),A("path",{filter:a.glow&&`url(#bgGlow_${e(o)})`,d:e(n).mainBG},null,8,Cl)],8,bl)),!a.decorationAlt&&a.decoration?(l(),u(O,{key:0},rA(2,(a=>A("svg",{class:"sf-deco-a-elem",viewBox:`0 0 ${r.value} ${d.value}`},[A("defs",null,[A("mask",{id:`decoMask${e(o)}`},[A("path",{fill:"white",d:e(n).mask},null,8,Tl)],8,kl)]),A("path",{mask:`url(#decoMask${e(o)})`,d:e(n).deco},null,8,Sl)],8,_l))),64)):q("",!0),a.decorationAlt&&a.decoration?(l(),u("svg",{key:1,class:"sf-deco-b-elem",viewBox:`0 0 ${r.value} ${d.value}`},[A("path",{d:e(n).mainBG},null,8,Ml)],8,Dl)):q("",!0)],2)):q("",!0)],6),[[oA,i.value]])])),_:3}))}}),zl={class:"sf-slot-wrap"},Pl={class:"sf-slot-inner"},Ol=["viewBox"],Gl=["filter","d"],El=["id"],Nl=["d"],Il=["viewBox"],Ql=["id"],Wl=["d"],jl=["mask","d"],xl=["viewBox"],Yl=["d"],Fl=Object.assign({name:"ScifiParallelogram"},{__name:"Parallelogram",props:{...se},setup(a){const t=a,o=X("sfGeo"),i=C(!1),s=H({path:{}}),{path:n}=aA(s),r=m((()=>F("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${o})`,bgmask:`url(#slotMask${o})`})));return L((()=>{(async()=>{s.path=iA(Ts(t.width,t.height)),await Q(),i.value=!0})()})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-parallelogram","sf-svg-geometry",a.className,""+(i.value?"is-inited":"is-loading"),""+(a.gradientBackground?"is-grad-bg":"is-nor-bg"),""+(a.directionAlt?"sf-dir-alt-on":"sf-dir-alt-off"),{"is-deco-color-alt":a.decorationColorAlt,"is-borderd":a.borderd,"is-revs-grad":a.gradientReverse}]),style:E(r.value),ref:"svgGeometry"},[A("div",zl,[A("div",Pl,[K(a.$slots,"default")])]),i.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",{class:"sf-bg-wrap",viewBox:`0 0 ${a.width} ${a.height}`},[Y(oe,{uid:e(o)},null,8,["uid"]),A("path",{filter:a.glow&&`url(#bgGlow_${e(o)})`,d:a.cornerAlt?e(n).BmainBG:e(n).AmainBG},null,8,Gl),A("mask",{id:`slotMask${e(o)}`},[A("path",{fill:"white",d:a.cornerAlt?e(n).BmainBG:e(n).AmainBG},null,8,Nl)],8,El)],8,Ol)),!a.decorationAlt&&a.decoration?(l(),u(O,{key:0},rA(2,(t=>A("svg",{class:"sf-deco-a-elem",viewBox:`0 0 ${a.width} ${a.height}`},[A("defs",null,[A("mask",{id:`decoMask${e(o)}`},[A("path",{fill:"white",d:a.cornerAlt?e(n).Bmask:e(n).Amask},null,8,Wl)],8,Ql)]),A("path",{mask:`url(#decoMask${e(o)})`,d:a.cornerAlt?e(n).Bdeco:e(n).Adeco},null,8,jl)],8,Il))),64)):q("",!0),a.decorationAlt&&a.decoration?(l(),u("svg",{key:1,class:"sf-deco-b-elem",viewBox:`0 0 ${a.width} ${a.height}`},[A("path",{d:a.cornerAlt?e(n).BmainBG:e(n).AmainBG},null,8,Yl)],8,xl)):q("",!0)],2)):q("",!0)],6),[[oA,i.value]])])),_:3}))}}),Ll={class:"sf-slot-wrap"},Ul={class:"sf-slot-inner"},Hl=["viewBox"],Kl=["filter","d"],Zl=["id"],Jl=["d"],Xl=["viewBox"],Ar=["id"],er=["d"],tr=["mask","d"],sr=["viewBox"],or=["d"],ar=Object.assign({name:"ScifiRectangle"},{__name:"Rectangle",props:{...se},setup(a){const t=a,o=X("sfGeo"),i=C(!1),s=H({path:{}}),{path:n}=aA(s),r=m((()=>F("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${o})`,bgmask:`url(#slotMask${o})`})));return L((()=>{(async()=>{s.path=iA(Ss(t.width,t.height)),await Q(),i.value=!0})()})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-rectangle","sf-svg-geometry",a.className,""+(i.value?"is-inited":"is-loading"),""+(a.gradientBackground?"is-grad-bg":"is-nor-bg"),""+(a.directionAlt?"sf-dir-alt-on":"sf-dir-alt-off"),{"is-deco-color-alt":a.decorationColorAlt,"is-borderd":a.borderd,"is-revs-grad":a.gradientReverse}]),style:E(r.value),ref:"svgGeometry"},[A("div",Ll,[A("div",Ul,[K(a.$slots,"default")])]),i.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",{class:"sf-bg-wrap",viewBox:`0 0 ${a.width} ${a.height}`},[Y(oe,{uid:e(o)},null,8,["uid"]),A("path",{filter:a.glow&&`url(#bgGlow_${e(o)})`,d:a.cornerAlt?e(n).BmainBG:e(n).AmainBG},null,8,Kl),A("mask",{id:`slotMask${e(o)}`},[A("path",{fill:"white",d:a.cornerAlt?e(n).BmainBG:e(n).AmainBG},null,8,Jl)],8,Zl)],8,Hl)),!a.decorationAlt&&a.decoration?(l(),u(O,{key:0},rA(2,(t=>A("svg",{class:"sf-deco-a-elem",viewBox:`0 0 ${a.width} ${a.height}`},[A("defs",null,[A("mask",{id:`mask-${e(o)}`},[A("path",{fill:"white",d:a.cornerAlt?e(n).Bmask:e(n).Amask},null,8,er)],8,Ar)]),A("path",{mask:`url(#mask-${e(o)})`,d:a.cornerAlt?e(n).Bdeco:e(n).Adeco},null,8,tr)],8,Xl))),64)):q("",!0),a.decorationAlt&&a.decoration?(l(),u("svg",{key:1,class:"sf-deco-b-elem",viewBox:`0 0 ${a.width} ${a.height}`},[A("path",{d:a.cornerAlt?e(n).BmainBG:e(n).AmainBG},null,8,or)],8,sr)):q("",!0)],2)):q("",!0)],6),[[oA,i.value]])])),_:3}))}}),ir={class:"sf-slot-wrap"},nr={class:"sf-slot-inner"},lr=["viewBox"],rr=["filter","d"],dr=["id"],cr=["d"],ur=["viewBox"],Vr=["id"],pr=["d"],gr=["mask","d"],fr=["viewBox"],hr=["d"],qr=Object.assign({name:"ScifiTrapezoid"},{__name:"Trapezoid",props:{...se},setup(a){const t=a,o=X("sfGeo"),i=C(!1),s=H({path:{}}),{path:n}=aA(s),r=m((()=>F("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${o})`,bgmask:`url(#slotMask${o})`})));return L((()=>{(async()=>{s.path=iA(Ds(t.width,t.height)),await Q(),i.value=!0})()})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-trapezoid","sf-svg-geometry",a.className,""+(i.value?"is-inited":"is-loading"),""+(a.gradientBackground?"is-grad-bg":"is-nor-bg"),""+(a.directionAlt?"sf-dir-alt-on":"sf-dir-alt-off"),{"is-deco-color-alt":a.decorationColorAlt,"is-borderd":a.borderd,"is-revs-grad":a.gradientReverse}]),style:E(r.value),ref:"svgGeometry"},[A("div",ir,[A("div",nr,[K(a.$slots,"default")])]),i.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",{class:"sf-bg-wrap",viewBox:`0 0 ${a.width} ${a.height}`},[Y(oe,{uid:e(o)},null,8,["uid"]),A("path",{filter:a.glow&&`url(#bgGlow_${e(o)})`,d:a.cornerAlt?e(n).BmainBG:e(n).AmainBG},null,8,rr),A("mask",{id:`slotMask${e(o)}`},[A("path",{fill:"white",d:a.cornerAlt?e(n).BmainBG:e(n).AmainBG},null,8,cr)],8,dr)],8,lr)),!a.decorationAlt&&a.decoration?(l(),u(O,{key:0},rA(2,(t=>A("svg",{class:"sf-deco-a-elem",viewBox:`0 0 ${a.width} ${a.height}`},[A("defs",null,[A("mask",{id:`decoMask${e(o)}`},[A("path",{id:"clipPathId",fill:"white",d:a.cornerAlt?e(n).Bmask:e(n).Amask},null,8,pr)],8,Vr)]),A("path",{mask:`url(#decoMask${e(o)})`,d:a.cornerAlt?e(n).Bdeco:e(n).Adeco},null,8,gr)],8,ur))),64)):q("",!0),a.decorationAlt&&a.decoration?(l(),u("svg",{key:1,class:"sf-deco-b-elem",viewBox:`0 0 ${a.width} ${a.height}`},[A("path",{d:a.cornerAlt?e(n).BmainBG:e(n).AmainBG},null,8,hr)],8,fr)):q("",!0)],2)):q("",!0)],6),[[oA,i.value]])])),_:3}))}}),vr={class:"sf-slot-wrap"},mr={class:"sf-slot-inner"},wr=["viewBox"],yr=["filter","d"],br=["id"],$r=["d"],Br=["viewBox"],Cr=["id"],_r=["d"],kr=["mask","d"],Tr=["viewBox"],Sr=["d"],Dr=Object.assign({name:"ScifiTriangle"},{__name:"Triangle",props:{...se},setup(a){const t=a,o=X("sfGeo"),i=C(!1),s=H({path:{}}),{path:n}=aA(s),r=m((()=>F("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${o})`,bgmask:`url(#slotMask${o})`})));return L((()=>{(async()=>{s.path=iA(Ms(t.width,t.height)),await Q(),i.value=!0})()})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-triangle","sf-svg-geometry",a.className,""+(i.value?"is-inited":"is-loading"),""+(a.gradientBackground?"is-grad-bg":"is-nor-bg"),""+(a.directionAlt?"sf-dir-alt-on":"sf-dir-alt-off"),{"is-deco-color-alt":a.decorationColorAlt,"is-borderd":a.borderd,"is-revs-grad":a.gradientReverse}]),style:E(r.value),ref:"svgGeometry"},[A("div",vr,[A("div",mr,[K(a.$slots,"default")])]),i.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",{class:"sf-bg-wrap",viewBox:`0 0 ${a.width} ${a.height}`},[Y(oe,{uid:e(o)},null,8,["uid"]),A("path",{filter:a.glow&&`url(#bgGlow_${e(o)})`,d:a.cornerAlt?e(n).BmainBG:e(n).AmainBG},null,8,yr),A("mask",{id:`slotMask${e(o)}`},[A("path",{fill:"white",d:a.cornerAlt?e(n).BmainBG:e(n).AmainBG},null,8,$r)],8,br)],8,wr)),!a.decorationAlt&&a.decoration?(l(),u(O,{key:0},rA(2,(t=>A("svg",{class:"sf-deco-a-elem",viewBox:`0 0 ${a.width} ${a.height}`},[A("defs",null,[A("mask",{id:`decoMask${e(o)}`},[A("path",{id:"clipPathId",fill:"white",d:a.cornerAlt?e(n).Bmask:e(n).Amask},null,8,_r)],8,Cr)]),A("path",{mask:`url(#decoMask${e(o)})`,d:a.cornerAlt?e(n).Bdeco:e(n).Adeco},null,8,kr)],8,Br))),64)):q("",!0),a.decorationAlt&&a.decoration?(l(),u("svg",{key:1,class:"sf-deco-b-elem",viewBox:`0 0 ${a.width} ${a.height}`},[A("path",{d:a.cornerAlt?e(n).BmainBG:e(n).AmainBG},null,8,Sr)],8,Tr)):q("",!0)],2)):q("",!0)],6),[[oA,i.value]])])),_:3}))}}),ae={backgroundOpacity:Number,directionAlt:Boolean,decorationAlt:Boolean,decorationColorAlt:Boolean,fontWeight:String,fontSize:Number,className:String,scale:Number,appearance:{type:String,default:"A",validator:A=>["A","B","C","D","E","F"].includes(A)},shadowType:{type:String,default:"drop",validator:A=>["drop","t3d","none"].includes(A)},borderd:{type:Boolean,default:!0},glow:{type:Boolean,default:!0},glowRange:Number,glowOpacity:Number,size:Number},Mr=["id"],Rr=["stdDeviation"],de=Object.assign({name:"SVGDefs"},{__name:"SVGDefs",props:{uid:{type:String,required:!0},glowRange:{type:Number,default:10}},setup:e=>(a,t)=>(l(),u("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,Rr),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,Mr)]))}),zr={class:"sf-slot-wrap"},Pr={class:"sf-svg-hidden"},Or={key:0,class:"sf-svg-deco-elem",viewBox:"0 0 243.82 243.82"},Gr=["d"],Er=["filter"],Nr={key:1,class:"sf-svg-deco-elem",viewBox:"0 0 276.46 239.42"},Ir=["d"],Qr=["filter","d"],Wr={key:2,class:"sf-svg-deco-elem",viewBox:"0 0 293.21 233.77"},jr=["d"],xr=["filter","d"],Yr=Object.assign({name:"ScifiDecoA1"},{__name:"A1",props:{...ae},setup(a){const t=a,o=X("sfDec"),i=C(!1),s=H({path:{}}),{path:n}=aA(s),r=m((()=>F("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 L((()=>{(async()=>{s.path=iA(Rs(s.width)),await Q(),i.value=!0})()})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-deco-a1","sf-svg-deco","sf-svg-component",a.className,""+(i.value?"is-inited":"is-loading"),`sf-appea-${a.appearance}`,{"is-deco-color-alt":a.decorationColorAlt,"is-deco-alt":a.decorationAlt,"is-dir-alt":a.directionAlt}]),style:E(r.value)},[A("div",zr,[K(a.$slots,"default")]),i.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",Pr,[Y(de,{uid:e(o),glowRange:a.glowRange},null,8,["uid","glowRange"])])),"A"==a.appearance?(l(),u("svg",Or,[a.borderd?(l(),u("path",{key:0,class:"sf-svg-bd",d:e(n).Adeco},null,8,Gr)):q("",!0),A("circle",{filter:a.glow&&`url(#bgGlow_${e(o)})`,class:"sf-svg-bg",cx:"121.91",cy:"121.21",r:"103.42"},null,8,Er)])):q("",!0),"B"==a.appearance?(l(),u("svg",Nr,[a.borderd?(l(),u("path",{key:0,class:"sf-svg-bd",d:e(n).Bdeco},null,8,Ir)):q("",!0),A("path",{filter:a.glow&&`url(#bgGlow_${e(o)})`,class:"sf-svg-bg",d:e(n).BmainBG},null,8,Qr)])):q("",!0),"C"==a.appearance?(l(),u("svg",Wr,[a.borderd?(l(),u("path",{key:0,class:"sf-svg-bd",d:e(n).Cdeco},null,8,jr)):q("",!0),A("path",{filter:a.glow&&`url(#bgGlow_${e(o)})`,class:"sf-svg-bg",d:e(n).CmainBG},null,8,xr)])):q("",!0)],2)):q("",!0)],6),[[oA,i.value]])])),_:3}))}}),Fr={class:"sf-slot-wrap"},Lr={class:"sf-svg-hidden"},Ur={key:0,viewBox:"0 0 596.2 564.96"},Hr=["filter","d"],Kr={class:"svg-decoA"},Zr=["d"],Jr=["d"],Xr=["d"],Ad=["d"],ed={class:"svg-decoB"},td=["d"],sd=["d"],od=["d"],ad=["d"],id={key:1,viewBox:"0 0 596.16 594.75"},nd={class:"svg-decoB"},ld=["d"],rd=["d"],dd=["d"],cd=["d"],ud=["d"],Vd=["d"],pd=["d"],gd=["d"],fd=["filter"],hd={key:2,viewBox:"0 0 596.18 596.17"},qd=["filter","d"],vd={class:"svg-decoB"},md=["points"],wd=["d"],yd=["points"],bd=["points"],$d={class:"svg-decoA"},Bd=["d"],Cd=["d"],_d=["d"],kd=["d"],Td={class:"svg-decoB"},Sd=["d"],Dd=["d"],Md=["d"],Rd=["d"],zd={key:3,viewBox:"0 0 567.49 567.5"},Pd=["filter"],Od=["d"],Gd={class:"svg-decoB"},Ed=["d"],Nd=["d"],Id=["d"],Qd=["d"],Wd=Object.assign({name:"ScifiDecoB1"},{__name:"B1",props:{...ae,glowRange:{type:Number,default:20}},setup(a){const t=a,o=X("sfDec"),i=C(!1),s=H({path:{}}),{path:n}=aA(s),r=m((()=>F("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 L((()=>{(async()=>{s.path=iA(zs(s.width)),await Q(),i.value=!0})()})),(t,s)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-deco-b1","sf-svg-deco","sf-svg-component",t.className,""+(i.value?"is-inited":"is-loading"),`sf-appea-${t.appearance}`,{"is-deco-color-alt":t.decorationColorAlt,"is-deco-alt":t.decorationAlt,"is-dir-alt":t.directionAlt}]),style:E(r.value)},[A("div",Fr,[K(t.$slots,"default")]),i.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==t.shadowType,"sf-shadow-item":"drop"==t.shadowType}])},[(l(),u("svg",Lr,[Y(de,{uid:e(o),glowRange:a.glowRange},null,8,["uid","glowRange"])])),"A"==t.appearance?(l(),u("svg",Ur,[A("path",{class:"sf-svg-bg",filter:t.glow&&`url(#bgGlow_${e(o)})`,d:e(n).AmainBG},null,8,Hr),A("g",Kr,[A("path",{d:e(n).AdecoA1},null,8,Zr),A("path",{d:e(n).AdecoA2},null,8,Jr),A("path",{d:e(n).AdecoA3},null,8,Xr),A("path",{d:e(n).AdecoA4},null,8,Ad)]),A("g",ed,[A("path",{d:e(n).AdecoB1},null,8,td),A("path",{d:e(n).AdecoB2},null,8,sd),A("path",{d:e(n).AdecoB3},null,8,od),A("path",{d:e(n).AdecoB4},null,8,ad)])])):q("",!0),"B"==t.appearance?(l(),u("svg",id,[A("g",nd,[A("path",{d:e(n).BdecoB1},null,8,ld),A("path",{d:e(n).BdecoB2},null,8,rd),A("path",{d:e(n).BdecoB3},null,8,dd),A("path",{d:e(n).BdecoB4},null,8,cd),A("path",{d:e(n).BdecoB5},null,8,ud),A("path",{d:e(n).BdecoB6},null,8,Vd),A("path",{d:e(n).BdecoB7},null,8,pd)]),A("path",{class:"svg-decoA",d:e(n).BdecoA},null,8,gd),A("circle",{class:"sf-svg-bg",filter:t.glow&&`url(#bgGlow_${e(o)})`,cx:"297.43",cy:"294.27",r:"243"},null,8,fd)])):q("",!0),"C"==t.appearance?(l(),u("svg",hd,[A("path",{class:"sf-svg-bg",filter:t.glow&&`url(#bgGlow_${e(o)})`,d:e(n).CmainBG},null,8,qd),A("g",vd,[A("polygon",{points:e(n).CdecoB1},null,8,md),A("path",{d:e(n).CdecoB2},null,8,wd),A("polygon",{points:e(n).CdecoB3},null,8,yd),A("polygon",{points:e(n).CdecoB4},null,8,bd)]),A("g",$d,[A("path",{d:e(n).CdecoA1},null,8,Bd),A("path",{d:e(n).CdecoA2},null,8,Cd),A("path",{d:e(n).CdecoA3},null,8,_d),A("path",{d:e(n).CdecoA4},null,8,kd)]),A("g",Td,[A("path",{d:e(n).CdecoC1},null,8,Sd),A("path",{d:e(n).CdecoC2},null,8,Dd),A("path",{d:e(n).CdecoC3},null,8,Md),A("path",{d:e(n).CdecoC4},null,8,Rd)])])):q("",!0),"D"==t.appearance?(l(),u("svg",zd,[A("circle",{class:"sf-svg-bg",filter:t.glow&&`url(#bgGlow_${e(o)})`,cx:"283.41",cy:"284.1",r:"194.5"},null,8,Pd),A("path",{class:"svg-decoA",d:e(n).DdecoA},null,8,Od),A("g",Gd,[A("path",{d:e(n).DdecoB1},null,8,Ed),A("path",{d:e(n).DdecoB2},null,8,Nd),A("path",{d:e(n).DdecoB3},null,8,Id),A("path",{d:e(n).DdecoB4},null,8,Qd)])])):q("",!0)],2)):q("",!0)],6),[[oA,i.value]])])),_:3}))}}),jd={class:"sf-slot-wrap"},xd={class:"sf-svg-hidden"},Yd={key:0,class:"sf-svg-deco-elem",viewBox:"0 0 210.67 182.47"},Fd=["filter","points"],Ld=["d"],Ud={class:"svg-decoA"},Hd=["points"],Kd=["points"],Zd=["points"],Jd=["points"],Xd={key:1,class:"sf-svg-deco-elem",viewBox:"0 0 210.67 182.47"},Ac=["filter","points"],ec={class:"svg-decoA"},tc=["points"],sc=["points"],oc=["points"],ac={class:"svg-decoA"},ic=["points"],nc=["points"],lc=["d"],rc=["d"],dc={key:2,class:"sf-svg-deco-elem",viewBox:"0 0 210.67 182.46"},cc=["filter","points"],uc={class:"svg-decoA"},Vc=["points"],pc=["points"],gc=["points"],fc=["points"],hc=["points"],qc=["points"],vc=["d"],mc={key:3,class:"sf-svg-deco-elem",viewBox:"0 0 210.67 182.46"},wc=["filter","points"],yc=["d"],bc={class:"svg-decoA"},$c=["points"],Bc=["points"],Cc=["points"],_c=["points"],kc=["points"],Tc=["points"],Sc=["points"],Dc=["points"],Mc=["points"],Rc=["points"],zc=["points"],Pc=["points"],Oc=["points"],Gc=["points"],Ec={class:"svg-decoA"},Nc=["points"],Ic=["points"],Qc=["points"],Wc=["points"],jc=["points"],xc=["points"],Yc=Object.assign({name:"ScifiDecoB2"},{__name:"B2",props:{...ae,glowRange:{type:Number,default:20}},setup(a){const t=a,o=X("sfDec"),i=C(!1),s=H({path:{}}),{path:n}=aA(s),r=m((()=>F("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 L((()=>{(async()=>{s.path=iA(Ps(s.width)),await Q(),i.value=!0})()})),(t,s)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-deco-b2","sf-svg-deco","sf-svg-component",t.className,""+(i.value?"is-inited":"is-loading"),`sf-appea-${t.appearance}`,{"is-deco-color-alt":t.decorationColorAlt,"is-dir-alt":t.directionAlt}]),style:E(r.value)},[A("div",jd,[K(t.$slots,"default")]),i.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==t.shadowType,"sf-shadow-item":"drop"==t.shadowType}])},[(l(),u("svg",xd,[Y(de,{uid:e(o),glowRange:a.glowRange},null,8,["uid","glowRange"])])),"A"==t.appearance?(l(),u("svg",Yd,[A("polygon",{class:"sf-svg-bg",filter:t.glow&&`url(#${e(o)})`,points:e(n).AmainBG},null,8,Fd),A("path",{class:"svg-decoB",d:e(n).AdecoB},null,8,Ld),A("g",Ud,[A("polygon",{points:e(n).AdecoA1},null,8,Hd),A("polygon",{points:e(n).AdecoA2},null,8,Kd),A("polygon",{points:e(n).AdecoA3},null,8,Zd),A("polygon",{points:e(n).AdecoA4},null,8,Jd)])])):q("",!0),"B"==t.appearance?(l(),u("svg",Xd,[A("polygon",{class:"sf-svg-bg",filter:t.glow&&`url(#${e(o)})`,points:e(n).BmainBG},null,8,Ac),A("g",ec,[A("polygon",{points:e(n).BdecoA11},null,8,tc),A("polygon",{points:e(n).BdecoA12},null,8,sc),A("polygon",{points:e(n).BdecoA13},null,8,oc)]),A("g",ac,[A("polygon",{points:e(n).BdecoA21},null,8,ic),A("polygon",{points:e(n).BdecoA22},null,8,nc),A("path",{d:e(n).BdecoA23},null,8,lc)]),A("path",{class:"svg-decoB",d:e(n).BdecoB},null,8,rc)])):q("",!0),"C"==t.appearance?(l(),u("svg",dc,[A("polygon",{class:"sf-svg-bg",filter:t.glow&&`url(#${e(o)})`,points:e(n).CmainBG},null,8,cc),A("g",uc,[A("polygon",{points:e(n).CdecoA1},null,8,Vc),A("polygon",{points:e(n).CdecoA2},null,8,pc),A("polygon",{points:e(n).CdecoA3},null,8,gc),A("polygon",{points:e(n).CdecoA4},null,8,fc),A("polygon",{points:e(n).CdecoA5},null,8,hc),A("polygon",{points:e(n).CdecoA6},null,8,qc)]),A("path",{class:"svg-decoB",d:e(n).CdecoB},null,8,vc)])):q("",!0),"D"==t.appearance?(l(),u("svg",mc,[A("polygon",{class:"sf-svg-bg",filter:t.glow&&`url(#${e(o)})`,points:e(n).DmainBG},null,8,wc),A("path",{class:"svg-decoB",d:e(n).DdecoB},null,8,yc),A("g",bc,[A("polygon",{points:e(n).DdecoA101},null,8,$c),A("polygon",{points:e(n).DdecoA102},null,8,Bc),A("polygon",{points:e(n).DdecoA103},null,8,Cc),A("polygon",{points:e(n).DdecoA104},null,8,_c),A("polygon",{points:e(n).DdecoA105},null,8,kc),A("polygon",{points:e(n).DdecoA106},null,8,Tc),A("polygon",{points:e(n).DdecoA107},null,8,Sc),A("polygon",{points:e(n).DdecoA108},null,8,Dc),A("polygon",{points:e(n).DdecoA109},null,8,Mc),A("polygon",{points:e(n).DdecoA110},null,8,Rc),A("polygon",{points:e(n).DdecoA111},null,8,zc),A("polygon",{points:e(n).DdecoA112},null,8,Pc),A("polygon",{points:e(n).DdecoA113},null,8,Oc),A("polygon",{points:e(n).DdecoA114},null,8,Gc)]),A("g",Ec,[A("polygon",{points:e(n).DdecoA21},null,8,Nc),A("polygon",{points:e(n).DdecoA22},null,8,Ic),A("polygon",{points:e(n).DdecoA23},null,8,Qc),A("polygon",{points:e(n).DdecoA24},null,8,Wc),A("polygon",{points:e(n).DdecoA25},null,8,jc),A("polygon",{points:e(n).DdecoA26},null,8,xc)])])):q("",!0)],2)):q("",!0)],6),[[oA,i.value]])])),_:3}))}}),Fc={class:"sf-slot-wrap"},Lc={class:"sf-svg-hidden"},Uc={key:0,class:"sf-svg-deco-elem",viewBox:"0 0 208.91 186.33"},Hc=["filter","points"],Kc=["d"],Zc={class:"svg-decoB"},Jc=["d"],Xc=["points"],Au=["points"],eu={key:1,class:"sf-svg-deco-elem",viewBox:"0 0 213.7 185"},tu=["filter","points"],su={class:"svg-decoB"},ou=["points"],au=["points"],iu=["points"],nu={class:"svg-decoB"},lu=["points"],ru=["points"],du=["points"],cu={class:"svg-decoA"},uu=["points"],Vu=["points"],pu=["points"],gu={key:2,class:"sf-svg-deco-elem",viewBox:"0 0 214.06 185.38"},fu=["filter","points"],hu={class:"svg-decoA"},qu=["points"],vu=["points"],mu=["points"],wu={class:"svg-decoB"},yu=["points"],bu=["points"],$u={key:3,class:"sf-svg-deco-elem",viewBox:"0 0 210.22 183.69"},Bu=["filter","points"],Cu=["d"],_u={class:"svg-decoB"},ku=["points"],Tu=["points"],Su=Object.assign({name:"ScifiDecoB3"},{__name:"B3",props:{...ae,glowRange:{type:Number,default:20}},setup(a){const t=a,o=X("sfDec"),i=C(!1),s=H({path:{}}),{path:n}=aA(s),r=m((()=>F("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 L((()=>{(async()=>{s.path=iA(Os(s.width)),await Q(),i.value=!0})()})),(t,s)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-deco-b3","sf-svg-deco","sf-svg-component",t.className,""+(i.value?"is-inited":"is-loading"),`sf-appea-${t.appearance}`,{"is-deco-color-alt":t.decorationColorAlt,"is-dir-alt":t.directionAlt}]),style:E(r.value)},[A("div",Fc,[K(t.$slots,"default")]),i.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==t.shadowType,"sf-shadow-item":"drop"==t.shadowType}])},[(l(),u("svg",Lc,[Y(de,{uid:e(o),glowRange:a.glowRange},null,8,["uid","glowRange"])])),"A"==t.appearance?(l(),u("svg",Uc,[A("polygon",{class:"sf-svg-bg",filter:t.glow&&`url(#${e(o)})`,points:e(n).AmainBG},null,8,Hc),A("path",{class:"svg-decoA",d:e(n).AdecoA},null,8,Kc),A("g",Zc,[s[0]||(s[0]=A("line",{x1:"193.9",y1:"142.29",x2:"184.67",y2:"126.3"},null,-1)),A("path",{d:e(n).AdecoB1},null,8,Jc),A("polygon",{points:e(n).AdecoB2},null,8,Xc),A("polygon",{points:e(n).AdecoB3},null,8,Au)])])):q("",!0),"B"==t.appearance?(l(),u("svg",eu,[A("polygon",{class:"sf-svg-bg",filter:t.glow&&`url(#${e(o)})`,points:e(n).BmainBG},null,8,tu),A("g",su,[A("polygon",{points:e(n).BdecoB11},null,8,ou),A("polygon",{points:e(n).BdecoB12},null,8,au),A("polygon",{points:e(n).BdecoB13},null,8,iu)]),A("g",nu,[A("polygon",{points:e(n).BdecoB21},null,8,lu),A("polygon",{points:e(n).BdecoB22},null,8,ru),A("polygon",{points:e(n).BdecoB23},null,8,du)]),A("g",cu,[A("polygon",{points:e(n).BdecoA1},null,8,uu),A("polygon",{points:e(n).BdecoA2},null,8,Vu),A("polygon",{points:e(n).BdecoA3},null,8,pu)])])):q("",!0),"C"==t.appearance?(l(),u("svg",gu,[A("polygon",{class:"sf-svg-bg",filter:t.glow&&`url(#${e(o)})`,points:e(n).CmainBG},null,8,fu),A("g",hu,[A("polygon",{points:e(n).CdecoA1},null,8,qu),A("polygon",{points:e(n).CdecoA2},null,8,vu),A("polygon",{points:e(n).CdecoA3},null,8,mu)]),A("g",wu,[A("polygon",{points:e(n).CdecoB1},null,8,yu),A("polygon",{points:e(n).CdecoB2},null,8,bu)])])):q("",!0),"D"==t.appearance?(l(),u("svg",$u,[A("polygon",{class:"sf-svg-bg",filter:t.glow&&`url(#${e(o)})`,points:e(n).DmainBG},null,8,Bu),A("path",{class:"svg-decoA",d:e(n).DdecoA},null,8,Cu),A("g",_u,[A("polygon",{points:e(n).DdecoB1},null,8,ku),A("polygon",{points:e(n).DdecoB2},null,8,Tu)])])):q("",!0)],2)):q("",!0)],6),[[oA,i.value]])])),_:3}))}}),Du={class:"sf-slot-wrap"},Mu={key:0,class:"svg-wrap"},Ru={viewBox:"0 0 45.29 172.01"},zu=["d"],Pu={key:1,class:"svg-wrap"},Ou={viewBox:"0 0 68.16 172.21"},Gu=["d"],Eu=["d"],Nu={key:2,class:"svg-wrap"},Iu={viewBox:"0 0 76.68 172.7"},Qu=["d"],Wu=["points"],ju=["points"],xu={key:3,class:"svg-wrap"},Yu={viewBox:"0 0 44.5 172.69"},Fu=["d"],Lu=["points"],Uu={key:4,class:"svg-wrap"},Hu={viewBox:"0 0 37.63 172.75"},Ku=["points"],Zu=["points"],Ju=Object.assign({name:"ScifiDecoC1"},{__name:"C1",props:{...ae,glowRange:{type:Number,default:20},bracketRitio:Number},setup(a){const t=a;X("sfDec");const o=C(!1),i=H({path:{}}),{path:s}=aA(i),n=m((()=>F("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 L((()=>{(async()=>{i.path=iA(Gs(i.width)),await Q(),o.value=!0})()})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-deco-c1","sf-svg-deco","sf-svg-component",a.className,""+(o.value?"is-inited":"is-loading"),`sf-appea-${a.appearance}`,{"is-deco-color-alt":a.decorationColorAlt,"is-dir-alt":a.directionAlt}]),style:E(n.value)},[o.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[A("div",Du,[K(a.$slots,"default")]),"A"==a.appearance?(l(),u("div",Mu,[(l(),u(O,null,rA(2,(a=>A("svg",Ru,[A("path",{class:"svg-decoB",d:e(s).Adeco},null,8,zu)]))),64))])):q("",!0),"B"==a.appearance?(l(),u("div",Pu,[(l(),u(O,null,rA(2,(a=>A("svg",Ou,[A("path",{class:"svg-decoB",d:e(s).BdecoB},null,8,Gu),A("path",{class:"svg-decoA",d:e(s).BdecoA},null,8,Eu)]))),64))])):q("",!0),"C"==a.appearance?(l(),u("div",Nu,[(l(),u(O,null,rA(2,(a=>A("svg",Iu,[A("path",{class:"svg-decoB",d:e(s).CdecoB},null,8,Qu),A("polygon",{class:"svg-decoA",points:e(s).CdecoA1},null,8,Wu),A("polygon",{class:"svg-decoA",points:e(s).CdecoA2},null,8,ju)]))),64))])):q("",!0),"D"==a.appearance?(l(),u("div",xu,[(l(),u(O,null,rA(2,(a=>A("svg",Yu,[A("path",{class:"svg-decoB",d:e(s).DdecoB},null,8,Fu),A("polygon",{class:"svg-decoA",points:e(s).DdecoA},null,8,Lu)]))),64))])):q("",!0),"E"==a.appearance?(l(),u("div",Uu,[(l(),u(O,null,rA(2,(a=>A("svg",Hu,[A("polygon",{class:"svg-decoB",points:e(s).EdecoB},null,8,Ku),A("polygon",{class:"svg-decoA",points:e(s).EdecoA},null,8,Zu)]))),64))])):q("",!0)],2)):q("",!0)],6),[[oA,o.value]])])),_:3}))}}),ce={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:A=>["drop","t3d","none"].includes(A)},glow:{type:Boolean,default:!1},glowRange:Number,glowOpacity:Number,gradientReverse:{type:Boolean,default:!1},gradientBackground:{type:Boolean,default:!0}},Xu=["id"],AV=["stdDeviation"],eV=["id"],ue=Object.assign({name:"SVGDefs"},{__name:"SVGDefs",props:{uid:{type:String,required:!0},glowRange:{type:Number,default:8}},setup:e=>(a,t)=>(l(),u("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,AV),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,Xu),A("linearGradient",{class:"sf-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,eV)]))}),tV=["d"],sV=["d"],oV=["d"],aV=["d"],iV={class:"sf-svg-element",x:"0px",y:"0px"},nV=["filter","d"],lV=["d"],rV={class:"sf-header-text"},dV=Object.assign({name:"ScifiHeaderA1"},{__name:"A1",props:{...ce},setup(a){const t=a,o=X("sfHed"),i=C(!1),s=H({resizing:!1,path:{}}),{path:n}=aA(s),r=m((()=>t.width||450)),d=m((()=>F("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${o})`,width:r.value+"px"})));return L((()=>{(async()=>{s.path=iA(Es(r.value)),await Q(),i.value=!0})()})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-header-a1","sf-svg-header","sf-svg-component",a.className,""+(i.value?"is-inited":"is-loading"),""+(a.gradientBackground?"is-grad-bg":"is-nor-bg"),{"is-animation":a.animation,"is-revs-grad":a.gradientReverse,"is-deco-color-alt":a.decorationColorAlt}]),style:E(d.value),ref:"svgHeader"},[i.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u(O,null,rA(2,(a=>A("svg",{class:k("sf-side-deco sf-sd-"+a),x:"0px",y:"0px",viewBox:"0 0 150 80"},[A("path",{class:"deco-4",d:e(n).deco4},null,8,tV),A("path",{class:"deco-3",d:e(n).deco3},null,8,sV),A("path",{class:"deco-2",d:e(n).deco2},null,8,oV),A("path",{class:"deco-1",d:e(n).deco1},null,8,aV)],2))),64)),(l(),u("svg",iV,[Y(ue,{uid:e(o)},null,8,["uid"]),A("path",{class:"sf-main-bg",filter:a.glow&&`url(#bgGlow_${e(o)})`,d:e(n).mainBG},null,8,nV),a.decoration?(l(),u("path",{key:0,class:"sf-deco-btm",d:e(n).decoBG},null,8,lV)):q("",!0)]))],2)):q("",!0),A("div",rV,[K(a.$slots,"default")])],6),[[oA,i.value]])])),_:3}))}}),cV={class:k("sf-svg-element"),x:"0px",y:"0px"},uV={key:0},VV=["d"],pV=["filter","d"],gV=["d"],fV=["d"],hV={key:1},qV=["d"],vV=["filter","d"],mV=["d"],wV=["d"],yV=["d"],bV=["d"],$V={class:"sf-header-text"},BV=Object.assign({name:"ScifiHeaderA2"},{__name:"A2",props:{...ce},setup(a){const t=a,o=X("sfHed"),i=C(!1),s=H({resizing:!1,path:{}}),{path:n}=aA(s),r=m((()=>t.width||800)),d=m((()=>F("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${o})`,width:r.value+"px"})));return L((()=>{(async()=>{s.path=iA(Ns(r.value)),await Q(),i.value=!0})()})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-header-a2","sf-svg-header","sf-svg-component",a.className,""+(i.value?"is-inited":"is-loading"),""+(a.gradientBackground?"is-grad-bg":"is-nor-bg"),{"is-revs-grad":a.gradientReverse,"is-deco-color-alt":a.decorationColorAlt}]),style:E(d.value),ref:"svgHeader"},[i.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",cV,[Y(ue,{uid:e(o)},null,8,["uid"]),a.decorationAlt?q("",!0):(l(),u("g",uV,[A("path",{class:"sf-main-bg sf-main-bg-btm",d:e(n).AmainBG2},null,8,VV),A("path",{class:"sf-main-bg sf-main-bg-top",filter:a.glow&&`url(#bgGlow_${e(o)})`,d:e(n).AmainBG1},null,8,pV),A("path",{class:"sf-deco-l",d:e(n).AdecoL},null,8,gV),A("path",{class:"sf-deco-r",d:e(n).AdecoR},null,8,fV)])),a.decorationAlt?(l(),u("g",hV,[A("path",{class:"sf-main-bg sf-main-bg-btm",d:e(n).BmainBG2},null,8,qV),A("path",{class:"sf-main-bg sf-main-bg-top",filter:a.glow&&`url(#bgGlow_${e(o)})`,d:e(n).BmainBG1},null,8,vV),A("path",{class:"sf-deco-l",d:e(n).BdecoL},null,8,mV),A("path",{class:"sf-deco-r",d:e(n).BdecoR},null,8,wV)])):q("",!0),a.decoration&&!a.decorationColorAlt?(l(),u("path",{key:2,class:"sf-deco-b",d:e(n).decoB},null,8,yV)):q("",!0),a.decoration?(l(),u("path",{key:3,class:"sf-deco-bc",d:e(n).decoBc},null,8,bV)):q("",!0)]))],2)):q("",!0),A("div",$V,[K(a.$slots,"default")])],6),[[oA,i.value]])])),_:3}))}}),CV={class:k("sf-svg-element"),x:"0px",y:"0px"},_V={key:0},kV=["filter","d"],TV={class:"sf-deco-side"},SV=["d"],DV=["d"],MV=["d"],RV=["d"],zV={class:"sf-deco-side"},PV=["d"],OV=["d"],GV=["d"],EV=["d"],NV={key:1},IV=["filter","d"],QV={class:"sf-deco-side"},WV=["d"],jV=["d"],xV=["d"],YV=["d"],FV=["d"],LV={class:"sf-deco-side"},UV=["d"],HV=["d"],KV=["d"],ZV=["d"],JV=["d"],XV={key:2},Ap=["d"],ep=["d"],tp=["d"],sp={class:"sf-header-text"},op=Object.assign({name:"ScifiHeaderA3"},{__name:"A3",props:{...ce},setup(a){const t=a,o=X("sfHed"),i=C(!1),s=H({resizing:!1,path:{}}),{path:n}=aA(s),r=m((()=>t.width||800)),d=m((()=>F("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${o})`,width:r.value+"px"})));return L((()=>{(async()=>{s.path=iA(Is(r.value)),await Q(),i.value=!0})()})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-header-a3","sf-svg-header","sf-svg-component",a.className,""+(i.value?"is-inited":"is-loading"),""+(a.gradientBackground?"is-grad-bg":"is-nor-bg"),{"is-revs-grad":a.gradientReverse,"is-deco-color-alt":a.decorationColorAlt}]),style:E(d.value),ref:"svgHeader"},[i.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",CV,[Y(ue,{uid:e(o)},null,8,["uid"]),a.decorationAlt?q("",!0):(l(),u("g",_V,[A("path",{class:"sf-main-bg",filter:a.glow&&`url(#bgGlow_${e(o)})`,d:e(n).AmainBG1},null,8,kV),A("g",TV,[A("path",{class:"sf-deco2",d:e(n).Adeco2L},null,8,SV),A("path",{class:"sf-deco3",d:e(n).Adeco3L},null,8,DV),A("path",{class:"sf-deco4",d:e(n).Adeco4L},null,8,MV),A("path",{class:"sf-deco0",d:e(n).Adeco0L},null,8,RV)]),A("g",zV,[A("path",{class:"sf-deco2",d:e(n).Adeco2R},null,8,PV),A("path",{class:"sf-deco3",d:e(n).Adeco3R},null,8,OV),A("path",{class:"sf-deco4",d:e(n).Adeco4R},null,8,GV),A("path",{class:"sf-deco0",d:e(n).Adeco0R},null,8,EV)])])),a.decorationAlt?(l(),u("g",NV,[A("path",{class:"sf-main-bg",filter:a.glow&&`url(#bgGlow_${e(o)})`,d:e(n).BmainBG1},null,8,IV),A("g",QV,[A("path",{class:"sf-deco1",d:e(n).Bdeco1L},null,8,WV),A("path",{class:"sf-deco2",d:e(n).Bdeco2L},null,8,jV),A("path",{class:"sf-deco3",d:e(n).Bdeco3L},null,8,xV),A("path",{class:"sf-deco4",d:e(n).Bdeco4L},null,8,YV),A("path",{class:"sf-deco5",d:e(n).Bdeco5L},null,8,FV)]),A("g",LV,[A("path",{class:"sf-deco1",d:e(n).Bdeco1R},null,8,UV),A("path",{class:"sf-deco2",d:e(n).Bdeco2R},null,8,HV),A("path",{class:"sf-deco3",d:e(n).Bdeco3R},null,8,KV),A("path",{class:"sf-deco4",d:e(n).Bdeco4R},null,8,ZV),A("path",{class:"sf-deco5",d:e(n).Bdeco5R},null,8,JV)])])):q("",!0),a.decoration?(l(),u("g",XV,[A("path",{class:"sf-deco-bl",d:e(n).decoBl},null,8,Ap),A("path",{class:"sf-deco-br",d:e(n).decoBr},null,8,ep),A("path",{class:"sf-deco-bc",d:e(n).decoBc},null,8,tp)])):q("",!0)]))],2)):q("",!0),A("div",sp,[K(a.$slots,"default")])],6),[[oA,i.value]])])),_:3}))}}),ap={class:k("sf-svg-element"),x:"0px",y:"0px"},ip={key:0},np={class:"sf-deco-side"},lp=["d"],rp=["d"],dp=["d"],cp={class:"sf-deco-side"},up=["d"],Vp=["d"],pp=["d"],gp=["d"],fp=["filter","d"],hp={key:1},qp={class:"sf-deco-side"},vp=["d"],mp=["d"],wp=["d"],yp={class:"sf-deco-side"},bp=["d"],$p=["d"],Bp=["d"],Cp=["d"],_p=["filter","d"],kp={class:"sf-header-text"},Tp=Object.assign({name:"ScifiHeaderA4"},{__name:"A4",props:{...ce},setup(a){const t=a,o=X("sfHed"),i=C(!1),s=H({resizing:!1,path:{}}),{path:n}=aA(s),r=m((()=>t.width||800)),d=m((()=>F("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${o})`,width:r.value+"px"})));return L((()=>{(async()=>{s.path=iA(Qs(r.value)),await Q(),i.value=!0})()})),(a,t)=>(l(),Z(J,{name:"fade"},{default:j((()=>[U(A("div",{class:k(["scifi-header-a4","sf-svg-header","sf-svg-component",a.className,""+(i.value?"is-inited":"is-loading"),""+(a.gradientBackground?"is-grad-bg":"is-nor-bg"),{"is-revs-grad":a.gradientReverse,"is-deco-color-alt":a.decorationColorAlt}]),style:E(d.value),ref:"svgHeader"},[i.value?(l(),u("div",{key:0,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",ap,[Y(ue,{uid:e(o)},null,8,["uid"]),a.decorationAlt?q("",!0):(l(),u("g",ip,[A("g",np,[A("path",{class:"sf-deco3",d:e(n).Adeco3L},null,8,lp),A("path",{class:"sf-deco2",d:e(n).Adeco2L},null,8,rp),A("path",{class:"sf-deco1",d:e(n).Adeco1L},null,8,dp)]),A("g",cp,[A("path",{class:"sf-deco3",d:e(n).Adeco3R},null,8,up),A("path",{class:"sf-deco2",d:e(n).Adeco2R},null,8,Vp),A("path",{class:"sf-deco1",d:e(n).Adeco1R},null,8,pp)]),a.decoration?(l(),u("path",{key:0,class:"sf-deco-bc",d:e(n).decoBc},null,8,gp)):q("",!0),A("path",{class:"sf-main-bg",filter:a.glow&&`url(#bgGlow_${e(o)})`,d:e(n).AmainBG},null,8,fp)])),a.decorationAlt?(l(),u("g",hp,[A("g",qp,[A("path",{class:"sf-deco1",d:e(n).Bdeco1L},null,8,vp),A("path",{class:"sf-deco2",d:e(n).Bdeco2L},null,8,mp),A("path",{class:"sf-deco3",d:e(n).Bdeco3L},null,8,wp)]),A("g",yp,[A("path",{class:"sf-deco1",d:e(n).Bdeco1R},null,8,bp),A("path",{class:"sf-deco2",d:e(n).Bdeco2R},null,8,$p),A("path",{class:"sf-deco3",d:e(n).Bdeco3R},null,8,Bp)]),a.decoration?(l(),u("path",{key:0,class:"sf-deco-bc",d:e(n).decoBc},null,8,Cp)):q("",!0),A("path",{class:"sf-main-bg",filter:a.glow&&`url(#bgGlow_${e(o)})`,d:e(n).BmainBG},null,8,_p)])):q("",!0)]))],2)):q("",!0),A("div",kp,[K(a.$slots,"default")])],6),[[oA,i.value]])])),_:3}))}}),TA={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:A=>["x","y","z","all"].includes(A)},reverse:{type:Boolean,default:!1},directionAlt:{type:Boolean,default:!1},shadowType:{type:String,default:"drop",validator:A=>["drop","t3d","none"].includes(A)},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:A=>["self","global","none"].includes(A)},showSlotImmed:{type:Boolean,default:!1}},Sp=["id"],Dp=["stdDeviation"],SA=Object.assign({name:"SVGDefs"},{__name:"SVGDefs",props:{uid:{type:String,required:!0},glowRange:{type:Number,default:5}},setup:e=>(a,t)=>(l(),u("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,Dp),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,Sp)]))}),Mp={key:0,class:"sf-panel-content"},Rp={key:0,class:"sf-panel-title"},zp={class:"sf-rotate-wrap"},Pp=["width","height"],Op=["filter","points"],Gp=["points"],Ep=["points"],Np=["points"],Ip=["points"],Qp=["points"],Wp=["points"],jp=["points"],xp=["points"],Yp=["points"],Fp=["points"],Lp=["points"],Up=Object.assign({name:"ScifiPanelA1"},{__name:"A1",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&f({width:a,height:t})}));const f=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(Ws(A,e,s.titleWidth))})(),await Q(),d.value=!0},h=m((()=>F("cpt-panel",{...s.title&&{twidth:s.titleWidth+"px"},...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale},width:V.info.width+"px",height:V.info.height+"px"}))),v=m((()=>s.directionAlt?V.info.height:V.info.width)),w=m((()=>s.directionAlt?V.info.width:V.info.height)),y=A=>{const e=s.directionAlt?"DA_":"";return V.path[e+A]};return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-a1","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),""+(a.rotate?"sf-rotate-"+a.rotate:"sf-rotate-none"),""+(a.directionAlt?"sf-dir-alt-on":"sf-dir-alt-off"),{"is-resizing":V.resizing,"is-borderd":a.borderd,"is-deco-color-alt":a.decorationColorAlt}]),style:E(h.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",Mp,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u("div",{key:1,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[a.title?(l(),u("div",Rp,uA(a.title),1)):q("",!0),A("div",zp,[(l(),u("svg",{class:"sf-svg-element",width:v.value,height:w.value},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("polyline",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",points:y("mainBG")},null,8,Op),(!a.title&&!a.decorationAlt||a.title&&a.decorationAlt)&&a.decoration?(l(),u("polyline",{key:0,class:"sf-corner-lb-longdeco",points:y("cornerDecoLBLong")},null,8,Gp)):q("",!0),a.title?q("",!0):(l(),u(O,{key:1},[A("polyline",{class:"sf-corner-rect0",points:y("cornerRect0")},null,8,Ep),A("polyline",{class:"sf-corner-rect1",points:y("cornerRect1")},null,8,Np),A("polyline",{class:"sf-corner-rect2",points:y("cornerRect2")},null,8,Ip),A("polyline",{class:"sf-corner-rect3",points:y("cornerRect3")},null,8,Qp),A("polyline",{class:"sf-corner-rect4",points:y("cornerRect4")},null,8,Wp)],64)),a.decoration?(l(),u("polyline",{key:2,class:"sf-corner-lt-triangle",points:y("cornerTrangleLT")},null,8,jp)):q("",!0),a.decoration?(l(),u("polyline",{key:3,class:"sf-corner-rb-triangle",points:y("cornerTrangleRB")},null,8,xp)):q("",!0),(a.title&&!a.decorationAlt||!a.title&&a.decorationAlt)&&a.decoration?(l(),u("polyline",{key:4,class:"sf-corner-lb-triangle",points:y("cornerTrangleLB")},null,8,Yp)):q("",!0),a.title&&!a.decorationAlt||!a.title&&a.decorationAlt||!a.decoration?(l(),u("polyline",{key:5,class:"sf-corner-lb-line",points:y("cornerLineLB")},null,8,Fp)):q("",!0),a.title?(l(),u("polyline",{key:6,class:"sf-title-deco",points:y("titleDeco")},null,8,Lp)):q("",!0)],8,Pp))])],2)):q("",!0)],6)),[[o,{callback:f,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),Hp={key:0,class:"sf-panel-content"},Kp={class:"sf-panel-title"},Zp={class:"sf-rotate-wrap"},Jp=["width","height"],Xp=["filter","d"],Ag=["d"],eg=["points"],tg=["points"],sg=["points"],og=["points"],ag=["points"],ig=["d"],ng=Object.assign({name:"ScifiPanelA2"},{__name:"A2",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&f({width:a,height:t})}));const f=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(js(A,e,s.titleWidth))})(),await Q(),d.value=!0},h=m((()=>F("cpt-panel",{...s.title&&{twidth:s.titleWidth+"px"},...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale},width:V.info.width+"px",height:V.info.height+"px"}))),v=m((()=>s.directionAlt?V.info.height:V.info.width)),w=m((()=>s.directionAlt?V.info.width:V.info.height)),y=A=>{const e=s.directionAlt?"DA_":"";return V.path[e+A]};return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-a3","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),""+(a.rotate?"sf-rotate-"+a.rotate:"sf-rotate-none"),""+(a.directionAlt?"sf-dir-alt-on":"sf-dir-alt-off"),{"is-resizing":V.resizing,"is-borderd":a.borderd,"is-deco-alt":a.decorationAlt,"is-deco-color-alt":a.decorationColorAlt}]),style:E(h.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",Hp,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u(O,{key:1},[A("div",Kp,uA(a.title),1),A("div",{class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[A("div",Zp,[(l(),u("svg",{class:"sf-svg-element",width:v.value,height:w.value},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("path",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",d:y("mainBG")},null,8,Xp),A("path",{class:"sf-corner-line",fill:"transparent",d:y("cornerLine")},null,8,Ag),A("polyline",{class:"sf-corner-block",points:y("cornerBlock")},null,8,eg),a.decoration?(l(),u(O,{key:0},[A("polyline",{class:"sf-corner-triangle-lb",points:y("cornerTriangleLB")},null,8,tg),a.decorationAlt?q("",!0):(l(),u("polyline",{key:0,class:"sf-corner-triangle-rt",points:y("cornerTriangleRT")},null,8,sg))],64)):q("",!0),a.decorationAlt?(l(),u("path",{key:2,class:"sf-title-deco-alt",d:y("titleDecoAlt")},null,8,ig)):(l(),u(O,{key:1},[A("polyline",{class:"sf-head-line",points:y("titleDeco")},null,8,og),A("polyline",{class:"sf-title-deco",points:y("headLine")},null,8,ag)],64))],8,Jp))])],2)],64)):q("",!0)],6)),[[o,{callback:f,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),lg={key:0,class:"sf-panel-content"},rg={class:"sf-corenr-title"},dg=["width","height"],cg=["filter","points"],ug=["points"],Vg=["points"],pg=["points"],gg=["points"],fg=Object.assign({name:"ScifiPanelA3"},{__name:"A3",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&f({width:a,height:t})}));const f=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(xs(A,e))})(),await Q(),d.value=!0},h=m((()=>F("cpt-panel",{...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale},width:V.info.width+"px",height:V.info.height+"px"})));return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-a2","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),""+(a.rotate?"sf-rotate-"+a.rotate:"sf-rotate-none"),{"is-resizing":V.resizing,"is-borderd":a.borderd,"is-deco-color-alt":a.decorationColorAlt}]),style:E(h.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",lg,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u(O,{key:1},[A("div",rg,uA(a.title),1),A("div",{class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",{class:"sf-svg-element",width:e(g).width,height:e(g).height},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("polyline",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",points:e(p).mainBG},null,8,cg),A("polyline",{class:"sf-corner-large-trg",points:e(p).titleTrangle},null,8,ug),A("polyline",{class:"sf-corner-small-trg",points:e(p).decorTriangle},null,8,Vg),a.decoration?(l(),u(O,{key:0},[A("polyline",{class:"sf-corner-long-line",points:e(p).decorLine1},null,8,pg),A("polyline",{class:"sf-corner-short-line",points:e(p).decorLine2},null,8,gg)],64)):q("",!0)],8,dg))],2)],64)):q("",!0)],6)),[[o,{callback:f,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),hg={key:0,class:"sf-panel-content"},qg=["width","height"],vg=["filter","points"],mg=["points"],wg=["points"],yg=["points"],bg=Object.assign({name:"ScifiPanelB1"},{__name:"B1",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{},borderCorner:["topLeft","topRight","bottomLeft","bottomRight"]}),{path:p,info:g}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&f({width:a,height:t})}));const f=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(Ys(A,e))})(),await Q(),d.value=!0},h=m((()=>F("cpt-panel",{...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale},...s.blurRange&&{bgblur:s.blurRange+"px"}})));return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-b1","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":V.resizing,"is-borderd":a.borderd,"is-deco-color-alt":a.decorationColorAlt}]),style:E(h.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",hg,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u("div",{key:1,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType,"has-bd-filter":a.backgroundBlur}])},[(l(),u("svg",{class:"sf-svg-element",width:e(g).width,height:e(g).height},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("polygon",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",points:e(p).mainBG},null,8,vg),A("polygon",{class:"sf-deco-l",points:e(p).decoL},null,8,mg),A("polygon",{class:"sf-deco-r",points:e(p).decoR},null,8,wg)],8,qg)),a.decoration?(l(!0),u(O,{key:0},rA(V.borderCorner,(a=>(l(),u("svg",{class:k("sf-svg-corner sf-corner-"+a),width:"50",height:"50"},[A("polygon",{class:"sf-corner-ele",points:e(p).decoCorner},null,8,yg)],2)))),256)):q("",!0)],2)):q("",!0)],6)),[[o,{callback:f,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),$g={key:0,class:"sf-panel-content"},Bg=["width","height"],Cg=["id"],_g=["id"],kg=["points"],Tg=["points"],Sg=["points"],Dg=["filter","points"],Mg=["width","height","fill","mask"],Rg=Object.assign({name:"ScifiPanelB2"},{__name:"B2",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&f({width:a,height:t})}));const f=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(Fs(A,e))})(),await Q(),d.value=!0},h=m((()=>F("cpt-panel",{...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale},...s.blurRange&&{bgblur:s.blurRange+"px"},...s.aniDuration&&{anidur:s.aniDuration+"s"}})));return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-b2","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),""+(a.rotate?"sf-rotate-"+a.rotate:"sf-rotate-none"),{"is-resizing":V.resizing,"is-animation":a.animation,"is-borderd":a.borderd,"is-deco-color-alt":a.decorationColorAlt}]),style:E(h.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",$g,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u("div",{key:1,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType,"has-bd-filter":a.backgroundBlur}])},[(l(),u("svg",{class:"sf-svg-element",width:e(g).width,height:e(g).height},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("defs",null,[A("linearGradient",{class:"sf-grad-group",id:`gradient-${e(n)}`,x1:"0%",y1:"0%",x2:"100%",y2:"100%"},[...t[0]||(t[0]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"100%"},null,-1)])],8,Cg),A("mask",{id:`mask-${e(n)}`},[a.decoration?(l(),u("polyline",{key:0,class:"sf-deco-l",fill:"#fff",points:e(p).decoL},null,8,kg)):q("",!0),a.decoration?(l(),u("polyline",{key:1,class:"sf-deco-r",fill:"#fff",points:e(p).decoR},null,8,Tg)):q("",!0)],8,_g)]),A("polyline",{class:"sf-deco-b",points:e(p).decoB},null,8,Sg),A("polygon",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",points:e(p).mainBG},null,8,Dg),A("rect",{x:"0",y:"0",width:e(g).width,height:e(g).height,fill:`url(#gradient-${e(n)})`,mask:`url(#mask-${e(n)})`},null,8,Mg)],8,Bg))],2)):q("",!0)],6)),[[o,{callback:f,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),zg={key:0,class:"sf-panel-content"},Pg=["width","height"],Og=["filter","d"],Gg=["points"],Eg=["d"],Ng=["points"],Ig=["d"],Qg=["points"],Wg=["points"],jg=Object.assign({name:"ScifiPanelB3"},{__name:"B3",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&f({width:a,height:t})}));const f=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(Ls(A,e))})(),await Q(),d.value=!0},h=m((()=>F("cpt-panel",{...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale},...s.blurRange&&{bgblur:s.blurRange+"px"}})));return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-b3","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),""+(a.rotate?"sf-rotate-"+a.rotate:"sf-rotate-none"),{"is-resizing":V.resizing,"is-borderd":a.borderd,"is-deco-color-alt":a.decorationColorAlt}]),style:E(h.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",zg,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u("div",{key:1,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType,"has-bd-filter":a.backgroundBlur}])},[(l(),u("svg",{class:"sf-svg-element",width:e(g).width,height:e(g).height},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("path",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",d:e(p).mainBG},null,8,Og),a.decorationAlt?(l(),u("polyline",{key:0,class:"sf-deco-arrow-tl",points:e(p).decoArrowTL},null,8,Gg)):q("",!0),!a.decorationAlt&&a.decoration?(l(),u("path",{key:1,class:"sf-deco-line-tl",d:e(p).decoLineTL},null,8,Eg)):q("",!0),a.decorationAlt?(l(),u("polyline",{key:2,class:"sf-deco-arrow-br",points:e(p).decoArrowBR},null,8,Ng)):q("",!0),!a.decorationAlt&&a.decoration?(l(),u("path",{key:3,class:"sf-deco-line-br",d:e(p).decoLineBR},null,8,Ig)):q("",!0),A("polyline",{class:"sf-deco-lb",points:e(p).decoLB},null,8,Qg),A("polyline",{class:"sf-deco-rt",points:e(p).decoRT},null,8,Wg)],8,Pg))],2)):q("",!0)],6)),[[o,{callback:f,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),xg={key:0,class:"sf-panel-content"},Yg=["width","height"],Fg=["id"],Lg=["id"],Ug=["id"],Hg=["id"],Kg=["filter","points"],Zg=["points"],Jg=["points"],Xg=["points"],Af=["points"],ef=["points"],tf=["points"],sf=["stroke","points"],of=["stroke","points"],af=["stroke","points"],nf=["stroke","points"],lf=Object.assign({name:"ScifiPanelB4"},{__name:"B4",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&f({width:a,height:t})}));const f=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(Us(A,e))})(),await Q(),d.value=!0},h=m((()=>F("cpt-panel",{...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale},...s.blurRange&&{bgblur:s.blurRange+"px"}})));return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-b4","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),""+(a.rotate?"sf-rotate-"+a.rotate:"sf-rotate-none"),""+(a.decoration?"sf-has-deco":"sf-no-deco"),{"is-resizing":V.resizing,"is-borderd":a.borderd,"is-deco-color-alt":a.decorationColorAlt}]),style:E(h.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",xg,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u("div",{key:1,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType,"has-bd-filter":a.backgroundBlur}])},[(l(),u("svg",{class:"sf-svg-element",width:e(g).width,height:e(g).height},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("defs",null,[A("linearGradient",{gradientUnits:"userSpaceOnUse",x1:"0%",y1:"0%",x2:"8%",y2:"8%",id:`gradient1-${e(n)}`},[...t[0]||(t[0]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"100%"},null,-1)])],8,Fg),A("linearGradient",{gradientUnits:"userSpaceOnUse",x1:"100%",y1:"0%",x2:"92%",y2:"8%",id:`gradient2-${e(n)}`},[...t[1]||(t[1]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"100%"},null,-1)])],8,Lg),A("linearGradient",{gradientUnits:"userSpaceOnUse",x1:"100%",y1:"100%",x2:"92%",y2:"92%",id:`gradient3-${e(n)}`},[...t[2]||(t[2]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"100%"},null,-1)])],8,Ug),A("linearGradient",{gradientUnits:"userSpaceOnUse",x1:"0%",y1:"100%",x2:"8%",y2:"92%",id:`gradient4-${e(n)}`},[...t[3]||(t[3]=[A("stop",{offset:"0%"},null,-1),A("stop",{offset:"100%"},null,-1)])],8,Hg)]),A("polygon",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",points:e(p).mainBG},null,8,Kg),A("polyline",{class:"sf-inf-line1",points:e(p).line1},null,8,Zg),A("polyline",{class:"sf-inf-line2",points:e(p).line2},null,8,Jg),A("polyline",{class:"sf-inf-line3",points:e(p).line3},null,8,Xg),a.decoration?(l(),u(O,{key:0},[A("polyline",{class:"sf-inf-line4",points:e(p).line4},null,8,Af),A("polyline",{class:"sf-inf-line5",points:e(p).line5},null,8,ef),A("polyline",{class:"sf-inf-line6",points:e(p).line6},null,8,tf)],64)):q("",!0),a.decoration?(l(),u(O,{key:1},[A("polyline",{class:"sf-corner-line",stroke:`url(#gradient1-${e(n)})`,points:e(p).cornerTL},null,8,sf),A("polyline",{class:"sf-corner-line",stroke:`url(#gradient2-${e(n)})`,points:e(p).cornerTR},null,8,of),A("polyline",{class:"sf-corner-line",stroke:`url(#gradient3-${e(n)})`,points:e(p).cornerBR},null,8,af),A("polyline",{class:"sf-corner-line",stroke:`url(#gradient4-${e(n)})`,points:e(p).cornerBL},null,8,nf)],64)):q("",!0)],8,Yg))],2)):q("",!0)],6)),[[o,{callback:f,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),rf={key:0,class:"sf-panel-content"},df=["width","height"],cf=["points"],uf=["filter","points"],Vf=["points"],pf=["points"],gf=["points"],ff=["points"],hf={key:0,attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"},qf=["points"],vf={key:0,attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"},mf=["points"],wf={key:0,attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"},yf=["points"],bf={key:0,attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"},$f=["points"],Bf={key:0,attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"},Cf=["points"],_f={key:0,attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"},kf=["x"],Tf=["points"],Sf=["points"],Df=Object.assign({name:"ScifiPanelDV1"},{__name:"DV1",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&f({width:a,height:t})}));const f=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(Hs(A,e,s.titleWidth))})(),await Q(),d.value=!0},h=m((()=>F("cpt-panel",{...s.title&&{twidth:s.titleWidth+"px"},...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale},width:V.info.width+"px",height:V.info.height+"px"})));return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-dv1","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),""+(a.rotate?"sf-rotate-"+a.rotate:"sf-rotate-none"),""+(a.directionAlt?"sf-dir-alt-on":"sf-dir-alt-off"),{"is-resizing":V.resizing,"is-borderd":a.borderd,"is-deco-color-alt":a.decorationColorAlt}]),style:E(h.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",rf,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u("div",{key:1,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",{class:"sf-svg-element",width:e(g).width,height:e(g).height},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("polygon",{class:"sf-title-bg",points:e(p).titleBG},null,8,cf),A("polyline",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",points:e(p).border},null,8,uf),A("polygon",{class:"sf-title-deco-r",points:e(p).titleDecoR},null,8,Vf),A("polygon",{class:"sf-title-deco-l",points:e(p).titleDecoL},null,8,pf),A("polygon",{class:"sf-title-bg-in",points:e(p).titleBGin},null,8,gf),a.decoration?(l(),u(O,{key:0},[A("polygon",{class:"sf-deco-t1",opacity:"1",points:e(p).decoT1},[a.animation?(l(),u("animate",hf)):q("",!0)],8,ff),A("polygon",{class:"sf-deco-t2",opacity:"0.7",points:e(p).decoT2},[a.animation?(l(),u("animate",vf)):q("",!0)],8,qf),A("polygon",{class:"sf-deco-t3",opacity:"0.5",points:e(p).decoT3},[a.animation?(l(),u("animate",wf)):q("",!0)],8,mf),A("polygon",{class:"sf-deco-t4",opacity:"1",points:e(p).decoT4},[a.animation?(l(),u("animate",bf)):q("",!0)],8,yf),A("polygon",{class:"sf-deco-t5",opacity:"0.7",points:e(p).decoT5},[a.animation?(l(),u("animate",Bf)):q("",!0)],8,$f),A("polygon",{class:"sf-deco-t6",opacity:"0.5",points:e(p).decoT6},[a.animation?(l(),u("animate",_f)):q("",!0)],8,Cf)],64)):q("",!0),A("text",{class:"sf-title-text",x:""+e(g).width/2,y:"32","font-size":"18","text-anchor":"middle","dominant-baseline":"middle"},uA(a.title),9,kf),A("polygon",{class:"sf-deco-l",points:e(p).decoL},null,8,Tf),A("polygon",{class:"sf-deco-r",points:e(p).decoR},null,8,Sf)],8,df))],2)):q("",!0)],6)),[[o,{callback:f,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),Mf={key:0,class:"sf-panel-content"},Rf=["width","height"],zf=["filter","points"],Pf=["points"],Of=["points"],Gf=["points"],Ef=Object.assign({name:"ScifiPanelDV2"},{__name:"DV2",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{},corners:["left-top","right-top","left-bottom","right-bottom"]}),{path:p,info:g}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&f({width:a,height:t})}));const f=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(Ks(A,e))})(),await Q(),d.value=!0},h=m((()=>F("cpt-panel",{...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale},...s.aniDuration&&{anidur:s.aniDuration+"s"}})));return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-dv2","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":V.resizing,"is-animation":a.animation,"is-borderd":a.borderd,"is-deco-color-alt":a.decorationColorAlt}]),style:E(h.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",Mf,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u("div",{key:1,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",{class:"sf-svg-element",width:e(g).width,height:e(g).height},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("polygon",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",points:e(p).mainBG},null,8,zf)],8,Rf)),(l(!0),u(O,null,rA(V.corners,(t=>(l(),u("svg",{width:"150",height:"150",key:t,class:k(`sf-${t} svg-corner`)},[A("polygon",{points:e(p).decoA},null,8,Pf),a.decoration?(l(),u(O,{key:0},[A("polygon",{points:e(p).decoB},null,8,Of),A("polygon",{points:e(p).decoC},null,8,Gf)],64)):q("",!0)],2)))),128))],2)):q("",!0)],6)),[[o,{callback:f,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),Nf={key:0,class:"sf-panel-content"},If=["width","height"],Qf=["filter","points"],Wf=["points"],jf=["points"],xf=["points"],Yf=["points"],Ff=["points"],Lf=["points"],Uf=["points"],Hf=["points"],Kf=["points"],Zf=["points"],Jf={class:"sf-dote"},Xf=["cx","cy","r"],Ah=["cx","cy","r"],eh=["cx","cy","r"],th=["cx","cy","r"],sh=Object.assign({name:"ScifiPanelDV3"},{__name:"DV3",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&f({width:a,height:t})}));const f=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(Zs(A,e))})(),await Q(),d.value=!0},h=m((()=>F("cpt-panel",{...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale}})));return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-dv3","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":V.resizing,"is-borderd":a.borderd,"is-deco-color-alt":a.decorationColorAlt}]),style:E(h.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",Nf,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u("div",{key:1,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType,"has-bd-filter":a.backgroundBlur}])},[(l(),u("svg",{class:"sf-svg-element",width:e(g).width,height:e(g).height},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("polygon",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",points:e(p).mainBG},null,8,Qf),A("polyline",{class:"sf-border",points:e(p).lineT},null,8,Wf),A("polyline",{class:"sf-border",points:e(p).lineB},null,8,jf),A("polyline",{class:"sf-border",points:e(p).lineL},null,8,xf),A("polyline",{class:"sf-border",points:e(p).lineR},null,8,Yf),a.decoration?(l(),u(O,{key:0},[A("polyline",{class:"sf-center-line",points:e(p).lineLc},null,8,Ff),A("polyline",{class:"sf-center-line",points:e(p).lineRc},null,8,Lf),A("polyline",{class:"sf-deco-line",points:e(p).deco1},null,8,Uf),A("polyline",{class:"sf-deco-line",points:e(p).deco2},null,8,Hf),A("polyline",{class:"sf-deco-line",points:e(p).deco3},null,8,Kf),A("polyline",{class:"sf-deco-line",points:e(p).deco4},null,8,Zf)],64)):q("",!0),A("g",Jf,[A("circle",{cx:5+a.dotOffset,cy:5+a.dotOffset,r:a.dotSize},null,8,Xf),A("circle",{cx:e(g).width-5-a.dotOffset,cy:5+a.dotOffset,r:a.dotSize},null,8,Ah),A("circle",{cx:e(g).width-5-a.dotOffset,cy:e(g).height-5-a.dotOffset,r:a.dotSize},null,8,eh),A("circle",{cx:5+a.dotOffset,cy:e(g).height-5-a.dotOffset,r:a.dotSize},null,8,th)])],8,If))],2)):q("",!0)],6)),[[o,{callback:f,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),oh={key:0,class:"sf-panel-content"},ah=["width","height"],ih=["filter","points"],nh=["points"],lh={key:0,class:"sf-svg-dot"},rh=["cx","cy","r"],dh=["cx","cy","r"],ch=["cx","cy","r"],uh=["cx","cy","r"],Vh=Object.assign({name:"ScifiPanelDV4"},{__name:"DV4",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&f({width:a,height:t})}));const f=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(Js(A,e))})(),await Q(),d.value=!0},h=m((()=>F("cpt-panel",{...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale}})));return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-dv4","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":V.resizing,"is-borderd":a.borderd,"is-deco-color-alt":a.decorationColorAlt}]),style:E(h.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",oh,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u("div",{key:1,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType,"has-bd-filter":a.backgroundBlur}])},[(l(),u("svg",{class:"sf-svg-element",width:e(g).width,height:e(g).height},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("polygon",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",points:e(p).mainBG},null,8,ih),A("polyline",{class:"sf-svg-inner-bd",points:e(p).innerBorder},null,8,nh),a.decoration?(l(),u("g",lh,[A("circle",{cx:13+a.dotOffset,cy:13+a.dotOffset,r:a.dotSize},null,8,rh),A("circle",{cx:e(g).width-13-a.dotOffset,cy:13+a.dotOffset,r:a.dotSize},null,8,dh),A("circle",{cx:e(g).width-13-a.dotOffset,cy:e(g).height-13-a.dotOffset,r:a.dotSize},null,8,ch),A("circle",{cx:13+a.dotOffset,cy:e(g).height-13-a.dotOffset,r:a.dotSize},null,8,uh)])):q("",!0)],8,ah))],2)):q("",!0)],6)),[[o,{callback:f,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),ph={key:0,class:"sf-panel-content"},gh=["width","height"],fh=["filter","points"],hh={class:"sf-corner-line sf-line-w2"},qh=["points"],vh=["points"],mh=["points"],wh=["points"],yh={key:0,class:"sf-corner-line sf-line-w5"},bh=["points"],$h=["points"],Bh=["points"],Ch=["points"],_h=Object.assign({name:"ScifiPanelDV5"},{__name:"DV5",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&f({width:a,height:t})}));const f=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(Xs(A,e))})(),await Q(),d.value=!0},h=m((()=>F("cpt-panel",{...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale}})));return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-dv5","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":V.resizing,"is-borderd":a.borderd,"is-deco-color-alt":a.decorationColorAlt}]),style:E(h.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",ph,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u("div",{key:1,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType,"has-bd-filter":a.backgroundBlur}])},[(l(),u("svg",{class:"sf-svg-element",width:e(g).width,height:e(g).height},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("polyline",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",points:e(p).mainBG},null,8,fh),A("g",hh,[A("polyline",{points:e(p).cornerA1},null,8,qh),A("polyline",{points:e(p).cornerA2},null,8,vh),A("polyline",{points:e(p).cornerA3},null,8,mh),A("polyline",{points:e(p).cornerA4},null,8,wh)]),a.decoration?(l(),u("g",yh,[A("polyline",{points:e(p).cornerB1},null,8,bh),A("polyline",{points:e(p).cornerB2},null,8,$h),A("polyline",{points:e(p).cornerB3},null,8,Bh),A("polyline",{points:e(p).cornerB4},null,8,Ch)])):q("",!0)],8,gh))],2)):q("",!0)],6)),[[o,{callback:f,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),kh={key:0,class:"sf-panel-content"},Th=["width","height"],Sh=["filter","points"],Dh=["points"],Mh=Object.assign({name:"ScifiPanelDV6"},{__name:"DV6",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{},corners:["left-top","right-top","left-bottom","right-bottom"]}),{path:p,info:g}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&f({width:a,height:t})}));const f=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(Ao(A,e))})(),await Q(),d.value=!0},h=m((()=>F("cpt-panel",{...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale}})));return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-dv6","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":V.resizing,"is-borderd":a.borderd,"is-deco-color-alt":a.decorationColorAlt}]),style:E(h.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",kh,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u("div",{key:1,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType,"has-bd-filter":a.backgroundBlur}])},[(l(),u("svg",{class:"sf-svg-element",width:e(g).width,height:e(g).height},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("polygon",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",points:e(p).mainBG},null,8,Sh)],8,Th)),d.value&&a.decoration?(l(!0),u(O,{key:0},rA(V.corners,(a=>(l(),u("svg",{width:"150px",height:"150px",key:a,class:k(`sf-${a} sf-svg-corner`)},[A("polygon",{points:e(p).deco},null,8,Dh)],2)))),128)):q("",!0)],2)):q("",!0)],6)),[[o,{callback:f,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),Rh={key:0,class:"sf-panel-content"},zh=["width","height"],Ph={key:0},Oh=["id"],Gh=["filter","d"],Eh=["filter"],Nh=["d"],Ih=["d"],Qh=["d"],Wh=["d"],jh=Object.assign({name:"ScifiPanelDV7"},{__name:"DV7",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&f({width:a,height:t})}));const f=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(eo(A,e))})(),await Q(),d.value=!0},h=m((()=>F("cpt-panel",{...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale},...s.aniDuration&&{anidur:s.aniDuration+"s"}})));return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-dv7","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":V.resizing,"is-animation":a.animation,"is-borderd":a.borderd,"is-deco-color-alt":a.decorationColorAlt}]),style:E(h.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",Rh,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u("div",{key:1,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType,"has-bd-filter":a.backgroundBlur}])},[(l(),u("svg",{class:"sf-svg-element",width:e(g).width,height:e(g).height},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),a.decoration?(l(),u("defs",Ph,[A("filter",{class:"sf-glow-filter",id:`filter2-${e(n)}`,height:"150%",width:"150%",x:"-25%",y:"-25%"},[...t[0]||(t[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,Oh)])):q("",!0),A("path",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",d:e(p).mainBG},null,8,Gh),a.decoration?(l(),u("g",{key:1,class:"sf-corner",filter:`url(#filter2-${e(n)})`},[A("path",{d:e(p).corner1},null,8,Nh),A("path",{d:e(p).corner2},null,8,Ih),A("path",{d:e(p).corner3},null,8,Qh),A("path",{d:e(p).corner4},null,8,Wh)],8,Eh)):q("",!0)],8,zh))],2)):q("",!0)],6)),[[o,{callback:f,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),xh={key:0,class:"sf-panel-content"},Yh=["width","height"],Fh=["filter","d"],Lh=["d"],Uh=["d"],Hh={key:1},Kh=["points"],Zh=["points"],Jh=["d"],Xh=Object.assign({name:"ScifiPanelDV8"},{__name:"DV8",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:g}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&f({width:a,height:t})}));const f=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(to(A,e))})(),await Q(),d.value=!0},h=m((()=>F("cpt-panel",{...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale}})));return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-dv8","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),""+(a.rotate?"sf-rotate-"+a.rotate:"sf-rotate-none"),{"is-resizing":V.resizing,"is-animation":a.animation,"is-borderd":a.borderd,"is-deco-color-alt":a.decorationColorAlt}]),style:E(h.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",xh,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u("div",{key:1,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType}])},[(l(),u("svg",{class:"sf-svg-element",width:e(g).width,height:e(g).height},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("path",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",d:e(p).mainBG},null,8,Fh),A("path",{class:"sf-dash",d:e(p).headDecoA},null,8,Lh),a.borderd?(l(),u("path",{key:0,class:"sf-head-line",d:e(p).headDecoB},null,8,Uh)):q("",!0),a.decoration?(l(),u("g",Hh,[a.decoration?(l(),u("polyline",{key:0,class:"sf-corner-lb",points:e(p).decoLB},null,8,Kh)):q("",!0),A("polyline",{class:"sf-corner-rt",points:e(p).decoRT},null,8,Zh)])):q("",!0),A("path",{class:"sf-corner-rb",d:e(p).decoRB},null,8,Jh)],8,Yh))],2)):q("",!0)],6)),[[o,{callback:f,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),Aq={key:0,class:"sf-panel-content"},eq=["width","height"],tq=["id","d"],sq=["id","d"],oq=["id"],aq=["id"],iq=["fill"],nq=["dur","path"],lq=["dur","path"],rq=["filter","points"],dq=["xlink:href","mask"],cq=Object.assign({name:"ScifiPanelDV9"},{__name:"DV9",props:{...TA},setup(a){const{$optResizeCounter:t,initResizeBy:o}=qA("$global",null),i=o(),s=a,n=X("sfPan"),r=C(!1),d=C(!1),c=C(!1),V=H({resizing:!1,info:{width:0,height:0},path:{}});m((()=>2*(V.info.width+V.info.height)));const p=m((()=>s.aniDuration||10)),{path:g,info:f}=aA(V);W((()=>t.value),((A,e)=>{if("root"!=i.value(s.resizeObserver))return;const{clientWidth:a,clientHeight:t}=r.value;A>e&&h({width:a,height:t})}));const h=async({width:A,height:e})=>{V.info.width=A,V.info.height=e,(()=>{const{width:A,height:e}=V.info;V.path=iA(so(A,e))})(),await Q(),d.value=!0},v=m((()=>F("cpt-panel",{...s.borderWidth&&{bdw:s.borderWidth+"px"},...s.backgroundOpacity&&{bgop:s.backgroundOpacity},...s.glowOpacity&&{glowop:s.glowOpacity},...s.scale&&{scale:s.scale},...s.aniDuration&&{anidur:s.aniDuration+"s"}})));return L((()=>{c.value=!0})),(a,t)=>{const o=wA("tui-resize");return l(),Z(J,{name:"fade"},{default:j((()=>[U((l(),u("div",{class:k(["scifi-panel-dv9","sf-svg-panel","sf-svg-component",a.className,""+(d.value?"is-inited":"is-loading"),{"is-resizing":V.resizing,"is-animation":a.animation,"is-borderd":a.borderd,"is-deco-color-alt":a.decorationColorAlt}]),style:E(v.value),ref_key:"svgPanel",ref:r},[a.showSlotImmed||d.value?(l(),u("div",Aq,[K(a.$slots,"default")])):q("",!0),d.value?(l(),u("div",{key:1,class:k(["sf-svg-wrap",{"t3d-shadow-item":"t3d"==a.shadowType,"sf-shadow-item":"drop"==a.shadowType,"has-bd-filter":a.backgroundBlur}])},[(l(),u("svg",{class:"sf-svg-element",width:e(f).width,height:e(f).height},[Y(SA,{uid:e(n),glowRange:a.glowRange},null,8,["uid","glowRange"]),A("defs",null,[a.reverse?(l(),u("path",{key:1,id:`path-${e(n)}`,d:e(g).pathR,fill:"transparent"},null,8,sq)):(l(),u("path",{key:0,id:`path-${e(n)}`,d:e(g).pathN,fill:"transparent"},null,8,tq)),A("radialGradient",{id:`gradient-${e(n)}`,cx:"50%",cy:"50%",r:"50%"},[...t[0]||(t[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,oq),A("mask",{id:`mask-${e(n)}`},[A("circle",{cx:"0",cy:"0",r:"150",fill:`url(#gradient-${e(n)})`},[a.reverse?(l(),u("animateMotion",{key:1,dur:`${p.value}s`,path:e(g).pathR,rotate:"auto",repeatCount:"indefinite"},null,8,lq)):(l(),u("animateMotion",{key:0,dur:`${p.value}s`,path:e(g).pathN,rotate:"auto",repeatCount:"indefinite"},null,8,nq))],8,iq)],8,aq)]),A("polygon",{class:"sf-svg-bg",filter:a.glow?`url(#bgGlow_${e(n)})`:"",points:e(g).mainBG},null,8,rq),A("use",{class:"sf-deco-light","xlink:href":`#path-${e(n)}`,mask:`url(#mask-${e(n)})`},null,8,dq)],8,eq))],2)):q("",!0)],6)),[[o,{callback:h,uid:e(n),disabled:"self"!=e(i)(a.resizeObserver)&&d.value}],[oA,c.value]])])),_:3})}}}),uq={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:A=>["x","y","z","all"].includes(A)},reverse:{type:Boolean,default:!1},directionAlt:{type:Boolean,default:!1},shadowType:{type:String,default:"drop",validator:A=>["drop","t3d","none"].includes(A)},animation:{type:Boolean,default:!0},aniDuration:Number,dotSize:{type:Number,default:2},dotOffset:{type:Number,default:0},backgroundBlur:{type:Boolean,default:!1},blurRange:Number},Vq={class:"tui-panel-content"},pq=Object.assign({name:"TuiPanelA1"},{__name:"A1",props:{...uq,angleLength:Number,angleWeight:Number,anglePosition:Number,borderRadius:Number,borderRadiusFix:Number},setup(e){const a=e;X("tuipan"),C(!1);const t=m((()=>F("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 L((()=>{})),(e,a)=>(l(),u("div",{class:k(["tui-panel-a1","tui-panel",e.className,{"is-borderd":e.borderd}]),style:E(t.value)},[A("div",Vq,[K(e.$slots,"default")]),A("div",{class:k(["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))}}),_e={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:A=>["A","B","C","D"].includes(A)},position:{type:String,default:null,validator:A=>["center","left","right"].includes(A)},decorationColorAlt:{type:Boolean,default:!1}},gq={class:"sf-panti-text"},fq=["width"],hq=["points"],qq=["points"],vq=["points"],mq=["width"],wq=["d"],yq=Object.assign({name:"ScifiPanelTitleA1"},{__name:"A1",props:{..._e},setup(a){const t=a,o=C(null);X("sfPanTi");const i=C(!1),s=H({resizing:!1,path:{},width:0}),{path:n}=aA(s),r=()=>{const A=o.value;A&&(s.width=A.clientWidth,(async()=>{s.path=iA(oo(s.width)),await Q(),i.value=!0})())},d=m((()=>F("cpt-panti",{...t.fontWeight&&{fw:t.fontWeight},...t.fontSize&&{fz:t.fontSize+"px"},...t.scale&&{scale:t.scale},...t.offset&&{ofs:t.offset+"px"},width:s.width+"px"})));return L((()=>{r()})),(a,t)=>(l(),u("div",{class:k(["scifi-panti-a1","sf-svg-panti","sf-svg-component",a.className,""+(i.value?"is-inited":"is-loading"),`position-${a.position||"center"}`,`sf-appea-${a.appearance}`,{"is-deco-color-alt":a.decorationColorAlt}]),style:E(d.value),ref_key:"pantiRef",ref:o},[A("div",gq,[a.title?(l(),u(O,{key:1},[FA(uA(a.title),1)],64)):K(a.$slots,"default",{key:0})]),i.value?(l(),u(O,{key:0},["A"==a.appearance?(l(),u("svg",{key:0,class:"sf-svg-element",width:a.width,height:"8"},[A("polyline",{class:"dec-center",stroke:"none",points:e(n).AdecoC},null,8,hq),A("polyline",{class:"dec-left",stroke:"none",points:e(n).AdecoL},null,8,qq),A("polyline",{class:"dec-right",stroke:"none",points:e(n).AdecoR},null,8,vq)],8,fq)):q("",!0),"B"==a.appearance?(l(),u("svg",{key:1,class:"sf-svg-element",width:a.width,height:"40"},[A("path",{class:"dec-path",d:e(n).Bdeco},null,8,wq)],8,mq)):q("",!0)],64)):q("",!0)],6))}}),bq={class:"sf-panti-text"},$q={class:"sf-svg-element",width:"20",height:"40"},Bq=["d"],Cq={class:"sf-svg-element",width:"20",height:"40"},_q=["d"],kq=["d"],Tq=["d"],Sq=Object.assign({name:"ScifiPanelTitleA2"},{__name:"A2",props:{..._e},setup(a){const t=a,o=C(null);X("sfPanTi");const i=C(!1),s=H({resizing:!1,path:{}}),{path:n}=aA(s);m((()=>t.width||450));const r=()=>{const A=o.value;A&&(s.width=A.clientWidth,(async()=>{s.path=iA(ao(s.width)),await Q(),i.value=!0})())},d=m((()=>F("cpt-panti",{...t.fontWeight&&{fw:t.fontWeight},...t.fontSize&&{fz:t.fontSize+"px"},...t.scale&&{scale:t.scale},...t.offset&&{ofs:t.offset+"px"},width:s.width+"px"})));return L((()=>{r()})),(a,t)=>(l(),u("div",{class:k(["scifi-panti-a2","sf-svg-panti","sf-svg-component",a.className,""+(i.value?"is-inited":"is-loading"),`position-${a.position||"center"}`,`sf-appea-${a.appearance}`,{"is-deco-color-alt":a.decorationColorAlt}]),style:E(d.value),ref_key:"pantiRef",ref:o},[A("div",bq,[a.title?(l(),u(O,{key:1},[FA(uA(a.title),1)],64)):K(a.$slots,"default",{key:0})]),i.value?(l(),u(O,{key:0},["A"==a.appearance?(l(),u(O,{key:0},rA(2,(a=>A("svg",$q,[A("path",{class:"dec-polyline",d:e(n).Adeco},null,8,Bq)]))),64)):q("",!0),"B"==a.appearance?(l(),u(O,{key:1},rA(2,(a=>A("svg",Cq,[A("path",{class:"dec-path1",d:e(n).Bdeco1},null,8,_q),A("path",{class:"dec-path2",d:e(n).Bdeco2},null,8,kq),A("path",{class:"dec-path3",d:e(n).Bdeco3},null,8,Tq)]))),64)):q("",!0)],64)):q("",!0)],6))}}),Dq={key:0,class:"deco-svg",width:"20",height:"30"},Mq=["d"],Rq={key:1,class:"deco-svg",width:"20",height:"30"},zq=["d"],Pq=["d"],Oq=["d"],Gq={class:"sf-panti-text"},Eq=Object.assign({name:"ScifiPanelTitleA3"},{__name:"A3",props:{..._e},setup(a){const t=a,o=C(null),i=C(!1),s=H({resizing:!1,path:{}}),{path:n}=aA(s),r=m((()=>F("cpt-panti",{...t.fontWeight&&{fw:t.fontWeight},...t.fontSize&&{fz:t.fontSize+"px"},...t.scale&&{scale:t.scale},...t.offset&&{ofs:t.offset+"px"}})));return L((()=>{(async()=>{s.path=iA(io(s.width)),await Q(),i.value=!0})()})),(a,t)=>(l(),u("div",{class:k(["scifi-panti-a3","sf-svg-panti","sf-svg-component",a.className,""+(i.value?"is-inited":"is-loading"),`position-${a.position||"left"}`,`sf-appea-${a.appearance}`,{"is-deco-color-alt":a.decorationColorAlt}]),style:E(r.value),ref_key:"pantiRef",ref:o},["A"==a.appearance?(l(),u("svg",Dq,[A("path",{class:"deco-path",d:e(n).Adeco},null,8,Mq)])):q("",!0),"B"==a.appearance?(l(),u("svg",Rq,[A("path",{class:"deco-path",d:e(n).Bdeco1},null,8,zq),A("path",{class:"deco-path-sub",d:e(n).Bdeco2},null,8,Pq),A("path",{class:"deco-path-sub",d:e(n).Bdeco3},null,8,Oq)])):q("",!0),A("span",Gq,[a.title?(l(),u(O,{key:1},[FA(uA(a.title),1)],64)):K(a.$slots,"default",{key:0})])],6))}}),Nq=Object.assign({name:"TuiIconLogo"},{__name:"index",props:{size:Number,padding:Number,appearance:{type:String,default:"colorful",validator:A=>["colorful","white","black","weakest","strongest","custom"].includes(A)}},setup(A){const{$tc:e}=qA("$global"),a=A,t=m((()=>F("cpt-logo-icon",{...a.size&&{size:a.size+"px"},...a.padding&&{pd:a.padding+"px"},..."strongest"==a.appearance&&{color:e("tone.strongest")},..."weakest"==a.appearance&&{color:e("tone.weakest")}})));return(e,a)=>(l(),u("div",{class:k(["tui-logo-icon",`tui-appea-${A.appearance}`]),style:E(t.value)},[...a[0]||(a[0]=[uo('<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))}}),Iq=["src"],Qq={class:"text-main"},Wq={key:0,class:"text-sub"},jq=Object.assign({name:"TuiSystemLogo"},{__name:"system",props:{logoSize:Number,logoPadding:Number,textSize:Number,iconAppearance:{type:String,default:"colorful",validator:A=>["colorful","white","black","weakest","strongest","custom"].includes(A)},textAppearance:{type:String,default:"fontBase",validator:A=>["fontBase","white","black","weakest","strongest","custom"].includes(A)},direction:{type:String,default:"h",validator:A=>["v","h"].includes(A)},collapse:Boolean,iconLogo:String,iconSrc:String,mainText:String,subText:String},setup(a){const{$gSiderCollapse:t,$gPlatform:o,$tc:i}=qA("$global"),s=Ze(),n=a,r=m((()=>F("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((()=>F("cpt-logo-sys-icon",{...n.logoSize&&{size:n.logoSize+"px"},..."strongest"==n.iconAppearance&&{color:i("tone.strongest")},..."weakest"==n.iconAppearance&&{color:i("tone.weakest")}}))),c=m((()=>n.mainText||"TechUI")),V=m((()=>void 0!==n.subText?n.subText:me.upper1st(o.value))),p=m((()=>"h"==n.direction&&!(t.value||n.collapse)||"v"==n.direction)),g=m((()=>s.icon||n.iconLogo||n.iconSrc));return(t,o)=>{const i=zA("TuiIconLogo");return l(),u("div",{class:k(["tui-logo-system",`tui-dir-${a.direction}`,`tui-appea-${a.textAppearance}`])},[g.value?(l(),u("div",{key:1,class:k(["tui-logo-custom-icon"]),style:E(d.value)},[e(s).icon?K(t.$slots,"icon",{key:0}):a.iconLogo?(l(),u("i",{key:1,class:k([a.iconLogo])},null,2)):a.iconSrc?(l(),u("img",{key:2,src:a.iconSrc,class:"tui-logo-img",alt:"logo"},null,8,Iq)):q("",!0)],4)):(l(),Z(i,{key:0,size:n.logoSize,padding:n.logoPadding,appearance:n.iconAppearance},null,8,["size","padding","appearance"])),p.value?(l(),u("div",{key:2,class:k(["tui-logo-text",`tui-appea-${a.textAppearance}`]),style:E(r.value)},[K(t.$slots,"text",{},(()=>[A("span",Qq,uA(c.value),1),V.value?(l(),u("span",Wq,uA(V.value),1)):q("",!0)]))],6)):q("",!0)],2)}}}),xq=["onClick","title"],Yq={key:0,class:"tui-icon ti-check"},Fq={class:"colors-wrap"},Lq=Object.assign({name:"TuiThemeToggle"},{__name:"index",props:{direction:{type:String,default:"h",validator:A=>["h","v"].includes(A)}},emits:["change"],setup(e,{emit:a}){const{$tState:t,themeToggle:o}=qA("$global",null),i=a,s=H({curTheme:"lightBlue",themes:[]});return L((()=>{s.themes=we.loadIndex(),s.curTheme=t.globalConfig.theme})),re((()=>{})),(a,t)=>U((l(),u("div",{class:k(["tui-theme-toggle",""+("h"==e.direction?"tui-dir-h":"tui-dir-v")])},[(l(!0),u(O,null,rA(s.themes,(e=>(l(),u("div",{key:e.value,class:k(["tui-sim-radio-item",{active:s.curTheme===e.value}]),onClick:A=>(A=>{i("change",A.value),s.curTheme=A.value,o(A.value,A.scheme)})(e),title:e.label||e.value},[s.curTheme===e.value?(l(),u("i",Yq)):q("",!0),A("div",Fq,[(l(!0),u(O,null,rA(e.colors,(A=>(l(),u("span",{class:"color-item",style:E(`background-color:${A}`)},null,4)))),256))])],10,xq)))),128))],2)),[[oA,s.themes.length>1]])}}),at={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:A=>["A","B","C","D"].includes(A)},position:{type:String,default:null,validator:A=>["center","left","right"].includes(A)},decorationColorAlt:{type:Boolean,default:!1}},Uq=Object.assign({name:"TuiPanelTitleA1"},{__name:"A1",props:{...at},setup(A){const e=A,a=m((()=>F("cpt-panti",{...e.fontWeight&&{fw:e.fontWeight},...e.fontSize&&{fz:e.fontSize+"px"},...e.scale&&{scale:e.scale},...e.offset&&{ofs:e.offset+"px"}})));return(A,e)=>(l(),u("div",{class:k(["tui-panti-a1","tui-panti",A.className,`position-${A.position||"center"}`,{"is-deco-color-alt":A.decorationColorAlt}]),style:E(a.value),ref:"pantiRef"},[A.title?(l(),u(O,{key:1},[FA(uA(A.title),1)],64)):K(A.$slots,"default",{key:0})],6))}}),Hq=Object.assign({name:"TuiPanelTitleA2"},{__name:"A2",props:{...at},setup(A){const e=A,a=m((()=>F("cpt-panti",{...e.fontWeight&&{fw:e.fontWeight},...e.fontSize&&{fz:e.fontSize+"px"},...e.scale&&{scale:e.scale},...e.offset&&{ofs:e.offset+"px"}})));return(A,e)=>(l(),u("div",{class:k(["tui-panti-a2","tui-panti",A.className,`position-${A.position||"left"}`,{"is-deco-color-alt":A.decorationColorAlt}]),style:E(a.value),ref:"pantiRef"},[A.title?(l(),u(O,{key:1},[FA(uA(A.title),1)],64)):K(A.$slots,"default",{key:0})],6))}}),sv={$dDrag:Lo,$dResize:Uo,$dVcid:Ho},ov={tuiService:Wo,tuiBus:At},av={$gMask:oa,$gLoading:ea},iv=[fa,ra,Va,qa,Bi,Ui,Ki,Hi,on,st,tt,Xi,Zi,Lq,Ri,Nq,jq,vn,Sn,Kn,dl,hl,Rl,Fl,ar,qr,Dr,Yr,Wd,Yc,Su,Ju,dV,BV,op,Tp,Up,ng,fg,bg,Rg,jg,lf,Df,Ef,sh,Vh,_h,Mh,jh,Xh,cq,pq,yq,Sq,Eq,Uq,Hq],Kq=[{name:"TuiEcharts",component:()=>import("./modules/tuiEcharts.js")},{name:"TuiEchartsMap",component:()=>import("./modules/tuiEchartsMap.js")}];function nv(A,e){e&&Kq.forEach((async e=>{try{const a=await e.component();A.component(e.name,a.default||a)}catch{}}))}export{nv as dynamicEcharts,iv as toComps,sv as toDirective,av as toGlobal,ov as toRoot};
|
|
1
|
+
import{tMitt as xa,tEvent as Be,tObj as At,styleInit as al,tQuery as Me,tDom as Yt,tLang as Jt,tConsole as $n,tCryptoStore as wl,tMonitor as Ul,cssVarGen as de,tType as Re,genUid as qe,tTimer as oe,tNum as Fe,tResize as Pa,tInterval as Pt,tTheme as dl,tClass as tl,deviceInfo as kn,fullScreen as Yl,viewTransStart as Kl,viewTransWait as Sn,syncContSize as Tn,tArr as bt,tStr as Tl,tStore as Xl,tMutation as It,tTime as Zl,tCoreTpl as Ee}from"@techui/utils";import{svgPatDiamondWeaving as Jl,svgPatZigzagB as Bn,svgPatZigzagA as xn,svgPatWaveB as Pn,svgPatWaveA as Rn,svgPatTriangleB as zn,svgPatTriangleA as In,svgPatTotem as Nn,svgPatRectWeavingC as Dn,svgPatRectWeavingB as _n,svgPatRectWeavingA as On,svgPatSlashParallel as Mn,svgPatShellB as En,svgPatShellA as Ln,svgPatRain as Wn,svgPatMountains as jn,svgPatMazeC as Gn,svgPatMazeB as Fn,svgPatMazeA as Hn,svgPatLineWeaving as Qn,svgPatLineGrid as Un,svgPatHexagonCurved as Yn,svgPatHexagonD as Kn,svgPatHexagonC as Xn,svgPatHexagonB as Zn,svgPatHexagonA as Jn,svgPatDots as eo,svgPatDiamondPixel as to,svgPatDiamondLattice as lo,svgPatDiamondFlipped as ao,svgPatCubeC as no,svgPatCubeB as oo,svgPatCubeA as io,svgPatCrosshairB as so,svgPatCrosshairA as ro,svgPatContourLine as Ao,svgPatCircularOverlayB as uo,svgPatCircularOverlayA as co,svgPatCircuitDiagram as fo,svgPatBlocks as po,svgPatTest as go,svgSpinRingA as ea,svgSpinRingC as ho,svgSpinRingB as vo,svgSpinPulseRingC as mo,svgSpinPulseRingB as yo,svgSpinPulseRingA as Vo,svgSpinPulseDotC as bo,svgSpinPulseDotB as wo,svgSpinPulseDotA as qo,svgSpinPointC as Co,svgSpinPointB as $o,svgSpinPointA as ko,svgSpinClock as So,svgSpinBlocksC as To,svgSpinBlocksB as Bo,svgSpinBlocksA as xo,svgSpinBarsC as Po,svgSpinBarsB as Ro,svgSpinBarsA as zo,getVer as Io,openDec as ql,openEnc as Cl,getEnv as Bl,coreConsoleInfo as No,cidVaild as Ra,floatInfo as Do,cssVarGen as wt,adptCalc as _o,bar3DPathGen as Oo,cidGen as gl,md5Enc as ta,pieArcPathGen as Mo,t3dCoeffCalc as la,t3dUpdateRotate as aa,t3dUpdateOrient as Eo,scifiButtonA1 as Lo,scifiButtonA2 as Wo,scifiButtonA3 as jo,scifiButtonA4 as Go,scifiButtonA5 as Fo,scifiGeomHexagon as Ho,scifiGeomeParallelogram as Qo,scifiGeomeRectangle as Uo,scifiGeomeTrapezoid as Yo,scifiGeomeTriangle as Ko,scifiDecoA1 as Xo,scifiDecoB1 as Zo,scifiDecoB2 as Jo,scifiDecoB3 as ei,scifiDecoD1 as ti,scifiHeaderA1 as li,scifiHeaderA2 as ai,scifiHeaderA3 as ni,scifiHeaderA4 as oi,scifiPanelA1 as ii,scifiPanelA3 as si,scifiPanelA2 as ri,scifiPanelB1 as Ai,scifiPanelB2 as ui,scifiPanelB3 as di,scifiPanelB4 as ci,scifiPanelDV1 as fi,scifiPanelDV2 as pi,scifiPanelDV3 as gi,scifiPanelDV4 as hi,scifiPanelDV5 as vi,scifiPanelDV6 as mi,scifiPanelDV7 as yi,scifiPanelDV8 as Vi,scifiPanelDV9 as bi,scifiPanelTitleA1 as wi,scifiPanelTitleA2 as qi,scifiPanelTitleA3 as Ci}from"@techui/scifi";import{reactive as Ve,toRefs as Oe,computed as m,getCurrentInstance as Ue,createElementBlock as g,openBlock as r,normalizeStyle as ie,normalizeClass as B,renderSlot as X,watch as H,onMounted as ce,createBlock as Y,Transition as Se,withCtx as _,createElementVNode as s,ref as C,inject as ve,provide as Ke,onBeforeUnmount as Je,Fragment as J,createCommentVNode as w,Teleport as vt,unref as u,createVNode as ae,withDirectives as ge,withModifiers as Xe,mergeProps as xe,vShow as ke,nextTick as ne,useSlots as ut,resolveComponent as ye,renderList as Ce,createSlots as Et,toDisplayString as F,createTextVNode as Pe,normalizeProps as pt,guardReactiveProps as qt,render as lt,h as Ct,resolveDynamicComponent as it,onUnmounted as Tt,onBeforeMount as Bt,resolveDirective as _e,shallowRef as za,markRaw as $i,useAttrs as Ia,vModelText as ki,watchEffect as zl,onUpdated as Si,toRaw as na,TransitionGroup as Na,withKeys as oa,createStaticVNode as Ti}from"vue";import Bi from"@techui/locales";import{$c as We}from"@techui/colors";import{useFloating as Il,offset as Nl,shift as Dl,flip as _l,arrow as xi}from"@techui/libs/floating-ui";import{useRouter as Da,useRoute as Ol}from"vue-router";import Pi from"@techui/libs/dt-detector";import Ri from"@techui/libs/async-validator";import at from"@techui/libs/dayjs";import zi from"@techui/libs/dayjs/plugin/isoWeek";import _a from"@techui/libs/dayjs/plugin/weekOfYear";import Ii from"@techui/libs/dayjs/plugin/isSameOrAfter";import Ni from"@techui/libs/dayjs/plugin/isSameOrBefore";import Di from"@techui/libs/svg-injector";const Oa=new xa;Oa.data={};const _i="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+awQSO6DBJnLG7nVpa3bu6uNWW0sgmoZnofm6Oby5zUmnNbXuyBSx1n4zZwxB+NSV32CRlx06IcnIfz7/1qtmtVs7y/60apv5/6yeiS++klnoZkcNansI3NPw7+fKGRTtQSBwQCgQDDCA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MwAgADAAMAAwADAAMAAwADAAMAAwADAAMAAwAEEAQwA1AEQAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADQAQQA0ADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMAAwADAAAABDT01NAAAA9AAAAWVuZ//+AAD//iAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADIAMQAwACAAMAAwADAAMAAwAEEAMQAzACAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAQQBDADUARAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAANABBADQAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAgADAAMAAwADAAMAAwADAAMAAAAENPTU0AAAD0AAABZW5n//4AAP/+IAAwADAAMAAwADAAMAAwADAAIAAwADAAMAAwADAAMgAxADAAIAAwADAAMAAwADAAQQAxADMAIAAwADAAMAAwADAAMAAwADAAMAAwADAAMABBAEMANQBEACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAA0AEEANAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwACAAMAAwADAAMAAwADAAMAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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B:Gi,errorC:Fi,errorD:Hi,pingA:Qi,pingB:Ui,pingC1:Yi,pingC2:Ki,pingC3:Xi,popupA:Zi,popupB:Ji,popupC:es,popupD:ts},kt=new Map,ls=e=>e+"_"+Date.now()+"_"+Math.random().toString(36).slice(2,8),as=(e,t=!1,l=null,a=0)=>{const i=ia[e]?e:"pingA",A=l||(t?i:null),o=A||ls(i);A&&Ma(A);const n={audio:new Audio(ia[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),ll(o))},Be.add(s,"ended",n.endedHandler,o),n.errorHandler=e=>{ll(o)},Be.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),ll(o),e(o)}))}))},ll=e=>{if(kt.has(e)){const t=kt.get(e);t.playing=!1,t.endedHandler&&Be.remove(t.audio,"ended",e),t.errorHandler&&Be.remove(t.audio,"error",e),t.audio.pause(),t.audio.currentTime=0,t.timer&&clearTimeout(t.timer),kt.delete(e)}},Ma=e=>!!kt.has(e)&&(ll(e),!0),ns=()=>{kt.forEach(((e,t)=>{ll(t)}))},os={play:as,stop:Ma,stopAll:ns},is=(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),At.isEmpty(t)||(i.graphicType=t.graphicType||"SvgPattern","SvgPattern"==t.graphicType&&(i.SvgPattern=At.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=ss(i,a,i.viewType)),al("Background",A,i.cssResult)},ss=(e,t,l)=>{let a="";const{gradType:i,gradOrientation:A,viewSvgName:o,viewBG:n,viewGrad:s,viewSvgFill:r,viewSvgFillOpacity:u,rootSvgName:d,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,${sa(d).replace(/#color/g,t).replace(/#opacity/g,g)}"),${c};`}}`}if("all"==l||"view"==l){let l=e.SvgPattern.viewSvgFill.replace("#","%23");const r=sa(o).replace(/#color/g,l).replace(/#opacity/g,u);let d="";if(n)d=n.includes("grad")?t[n.replace("grad","")]:n;else{const e={type:i,orientation:A,grad0:s[0],grad1:s[1],grad2:s[2]};d=rs(e)}a+=`.tui-view-bg{ ${`background-repeat: repeat; background:url("data:image/svg+xml;utf8,${r}"),${d}};`}}`}return a},sa=e=>{switch(e){case"test":return go();case"blocks":return po();case"circuitDiagram":return fo();case"circularOverlayA":return co();case"circularOverlayB":return uo();case"contourLine":return Ao();case"crosshairA":return ro();case"crosshairB":return so();case"cubeA":return io();case"cubeB":return oo();case"cubeC":return no();case"diamondFlipped":return ao();case"diamondLattice":return lo();case"diamondPixel":return to();case"diamondWeaving":return Jl();case"dots":return eo();case"hexagonA":return Jn();case"hexagonB":return Zn();case"hexagonC":return Xn();case"hexagonD":return Kn();case"HexagonCurved":return Yn();case"lineGrid":return Un();case"lineWeaving":return Qn();case"mazeA":return Hn();case"mazeB":return Fn();case"mazeC":return Gn();case"mazeD":return"data:image/svg+xml;utf8,";case"mountains":return jn();case"rain":return Wn();case"shellA":return Ln();case"shellB":return En();case"slashParallel":return Mn();case"rectWeavingA":return On();case"rectWeavingB":return _n();case"rectWeavingC":return Dn();case"totem":return Nn();case"triangleA":return In();case"triangleB":return zn();case"waveA":return Rn();case"waveB":return Pn();case"zigZagA":return xn();case"zigZagB":return Bn();default:return console.warn("Warning: svg background name error!",e),Jl()}},rs=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})`},As=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}${ra(t.nameFull)}");`,i=`${l}${ra(t.nameArea)}");`;al("Spinners",`full:${t.nameFull} area:${t.nameArea}`,`.spinner-full{${a}} .spinner-area{ ${i} }`)},ra=e=>{switch(e){case"barsA":return zo();case"barsB":return Ro();case"barsC":return Po();case"blocksA":return xo();case"blocksB":return Bo();case"blocksC":return To();case"clock":return So();case"pointA":return ko();case"pointB":return $o();case"pointC":return Co();case"pulseDotA":return qo();case"pulseDotB":return wo();case"pulseDotC":return bo();case"pulseRingA":return Vo();case"pulseRingB":return yo();case"pulseRingC":return mo();case"ringA":return ea();case"ringB":return vo();case"ringC":return ho();default:return console.warn("Warning: svg spinner name error!"),ea()}},Aa=["zh-CN","zh-TW","en"],us=(e,t)=>{const l=e.globalConfig.lang;return Aa.includes(l)?l:Aa.includes(e.globalState.initLang)?e.globalState.initLang:t.getSysLang()||"zh-CN"},ds=(e,t,l)=>!At.isEmpty(t)&&(e.globalConfig.lang=l,e.locale={...t.data},e.globalState.localeReady=!0,!0),cs=(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:Io()},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:u,attentionConfig:d,popoverConfig:c,t3dConfig:p,adaptiveConfig:g,backgroundConfig:v,spinnerConfig:f,themePalette:h,locale:y}=Oe(a),V=async e=>{const t=e||b();a.globalState.localeReady=!1,Jt.hasLang(t)||await Bi.ensure(t),Jt.setCurrent(t);const l=Jt.load(t);return!!ds(a,l,t)},b=()=>a.globalConfig.lang||Jt.getSysLang()||"zh-CN",w=(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 Me.valueByPath(a.locale,e,!0,t)},q={s:(e,t,l,a="store")=>wl.s(e,t,l,Cl,a),g:(e,t,l="store")=>wl.g(e,t,ql,l),d:(e,t)=>wl.d(e,t)},C=()=>(console.info("$tState:",a),"From TechUI"),x=()=>{"dev"==Bl()&&t&&(Ul.enable(),No("TechUI",w("info.debug")),window.tuiDebugMonitor=Ul,window.tuiServiceState=C,window.openEnc=Cl,window.openDec=ql),window.tuiGetEnv=Bl};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:u,$attentionConfig:d,$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((()=>Me.valueByPath(a.themePalette,e,!1))):Me.valueByPath(a.themePalette,e,!1),initBG:(e,t=null)=>{const{themePalette:l,backgroundConfig:i,globalConfig:{background:A}}=a;"none"!=A&&(e&&!At.isEmpty(e)&&(a.backgroundConfig=At.dpm(i,e)),is(l,i,A))},resetBG:()=>{const e=Me.el("#styleBackground");e&&e.remove()},initSpinner:e=>{e&&(a.spinnerConfig=At.dpm(a.spinnerConfig,e)),As(a.spinnerConfig)},resetAdaptiveConfig:()=>{a.globalState.portletCounter=0,a.globalConfig.adaptive="disabled",a.adaptiveConfig.inited=!1,a.adaptiveConfig.resizeCounter=0,Yt.adpt.reset();const e=Me.el("#styleAdaptive");e&&e.remove()},initI18n:async()=>{a.globalConfig.lang=us(a,Jt),await V(a.globalConfig.lang),x()},switchLang:V,i18n:w,getSysLang:b,tConsolei18n:(e,t,l,a=!0)=>{if(!e||!t||!l)return void console.warn("tConsolei18n: Missing required parameters");const i=w(e+".label"),A=w(l);$n.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:Cl,openDec:ql,cryptoStore:q,audio:os,initDebug:x}},Ea=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"==Re(e)?CSS.supports("color",e):"array"==Re(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()),de("custom",We.genColorObj(l))}));return(t,l)=>(r(),g("span",{class:B(["tui-tag",`tui-type-${e.customColor?"custom":e.type}`,`tui-size-${e.size}`,`tui-tone-${e.tone}`,"tui-shape-"+(e.round?"round":"react")]),style:ie(e.customColor?i.value:null)},[X(t.$slots,"default")],6))}}),Kt=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"==Re(e)?CSS.supports("color",e):"array"==Re(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((()=>de("cpt-typed",{..."line"==a.appearance&&a.lineThickness&&{bdw:a.lineThickness+"px"}}))),n=Ve({colorArr:null,colorObj:null}),u=()=>{if(!n.colorArr)return;const e="background"==a.appearance&&a.transparent;n.colorObj=We.genColorObj(n.colorArr,e?[.9,.8,.7,.5]:null)};H((()=>[a.appearance,a.transparent,a.customColor]),(()=>{a.customColor&&u()}));const d=m((()=>n.colorObj?de("custom",n.colorObj):null));return ce((()=>{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,u()})()})),(t,l)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[s("div",{class:B(["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&&`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:ie([o.value,e.customColor?d.value:null])},[X(t.$slots,"default")],6)])),_:3}))}}),Dt=[],fs=["id"],ps=300,Xt=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=qe("popPanel"),d=C(null),c=C(null),p=C(null),v=C(null),f=C(!1),h=C(!1),y=C(!1),V=C(!1),b=C(!1),q=C(0),x=C({}),k=C(!1),S=`${n}_show`,T=`${n}_hide`,$=`${n}_init`;let R=null,z=null,O=null,N=null;const M=ve("TuiPopPanelContext",null),P=new Map,I=C(!1),D=m((()=>A.dynamicRender?A.tuiService:i)),E=m((()=>D.value?.$globalState?.value||null)),W=m((()=>D.value?.$optFloaterTo?.value||null)),F=m((()=>A.appendTo||W.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"}})),G=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,K=m((()=>de("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:se,update:re}=Il(ee,c,{placement:A.placement,strategy:"fixed",middleware:[Nl((()=>G.value)),Dl({padding:5,boundary:"viewport"}),_l({fallbackPlacements:["top-start","bottom-start","left-start","right-start"]}),xi({element:p,padding:A.arrowPadding})]});H([()=>le.value,()=>Ae.value,()=>se.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 ue=()=>{const e=Dt.findIndex((e=>e.uid===n));-1!==e&&Dt.splice(e,1)},pe=e=>Dt.find((t=>t.uid===e))||null,fe=()=>{I.value&&(M?.releaseHover?.(),I.value=!1)},me=()=>{const e=(()=>{const e=new Set([n]);let t=M?.uid||null;for(;t;)e.add(t),t=pe(t)?.parentUid||null;return e})(),t=Dt.filter((t=>t.uid!==n&&!e.has(t.uid)));if(1===A.maxInstances)return void t.forEach((e=>e.hide(0)));const l=Dt.length-A.maxInstances+1;l>0&&t.slice(0,l).forEach((e=>e.hide(0)))},he=()=>{k.value=!1,oe.c(S),oe.c(T)},ye=()=>{O&&(window.clearTimeout(O),O=null),h.value=!1,y.value=!1,b.value=!1,A.destroyOnHide&&(f.value=!1),ue(),fe(),z?.(),z=null,R=null,o("hidden")},Ve=()=>A.debug&&"hover"===A.trigger,be=(e=A.hideDelay,t=!1)=>{const l=k.value;return he(),h.value||f.value||!l?(oe.s(T,(()=>{!h.value&&!f.value||y.value||!t&&"hover"===A.trigger&&(V.value||b.value||q.value>0)||(Array.from(P.values()).forEach((e=>e?.())),o("hide"),y.value=!0,h.value=!1,R=new Promise((e=>{z=e,O=window.setTimeout(ye,ps)})))}),e),R):(fe(),ue(),o("hidden"),Promise.resolve())},we=(e=A.showDelay,t=null)=>{he(),k.value=!0,oe.s(S,(async()=>{k.value=!1,!(A.disabled||y.value||h.value)&&v.value&&("contextmenu"===t?.type&&"contextmenu"===A.trigger&&(t.preventDefault(),t.stopPropagation()),me(),o("show"),f.value=!0,await ne(),await ne(),!y.value&&(Dt.some((e=>e.uid===n))||Dt.push({uid:n,parentUid:M?.uid||null,hide:()=>be(0,!0)}),h.value=!0,await ne(),re(),o("shown")))}),e)},Ce=e=>{if("mouseenter"===e?.type)!M||"hover"!==M.getTrigger?.()||I.value||(M.holdHover?.(),I.value=!0),V.value=!0,we(A.showDelay,e);else if("mouseleave"===e?.type){if(V.value=!1,Ve())return;be(A.hideDelay)}},Te=e=>{"hover"===A.trigger?Ce(e):(e=>{A.disabled||("contextmenu"===e?.type&&"contextmenu"===A.trigger&&(e.preventDefault(),e.stopPropagation()),h.value||f.value?be(0):we(0,e))})(e)},$e=()=>{N&&("hover"===A.trigger?(Be.remove(N,"mouseenter",n),Be.remove(N,"mouseleave",n)):Be.remove(N,A.trigger,n))},Re=()=>{v.value&&(N=v.value,"hover"===A.trigger?(Be.add(N,"mouseenter",Te,n),Be.add(N,"mouseleave",Te,n)):Be.add(N,A.trigger,Te,n))},ze=()=>{if(A.eventTarget)return v.value=A.eventTarget,void Re();const e=d.value?.firstElementChild;e?(v.value=e,Re(),(()=>{const e=d.value;e&&(Array.from(e.childNodes).forEach((t=>{e.parentNode.insertBefore(t,e)})),e.parentNode.removeChild(e))})()):oe.s($,ze,100)},Oe=()=>{b.value=!0,oe.c(T)},_e=()=>{if(b.value=!1,"hover"===A.trigger){if(Ve())return;be(A.hideDelay)}},Ne=()=>{q.value+=1,oe.c(T)},Me=()=>{if(q.value=Math.max(0,q.value-1),"hover"===A.trigger&&!V.value&&!b.value&&0===q.value){if(Ve())return;be(A.hideDelay)}};return Ke("TuiPopPanelContext",{uid:n,getTrigger:()=>A.trigger,holdHover:Ne,releaseHover:Me,registerChildCloser:(e,t)=>{!e||"function"!=typeof t||P.set(e,t)},unregisterChildCloser:e=>{P.delete(e)}}),H((()=>A.eventTarget),(e=>{e&&e!==v.value&&($e(),v.value=e,Re())})),H((()=>A.trigger),(()=>{$e(),Re()})),H(h,(e=>{e&&!y.value&&re()})),H((()=>E.value?.clickCounter),(()=>{if(!A.closeOnClickOutside||!h.value)return;const e=E.value?.clickTarget;e&&c.value?.contains(e)||e&&v.value?.contains?.(e)||be(0)})),H((()=>E.value?.escCounter),(()=>{!A.closeOnEsc||!h.value||be(0)})),ce((()=>{M?.registerChildCloser?.(n,(()=>be(0,!0))),ze()})),Je((()=>{fe(),M?.unregisterChildCloser?.(n),ue(),$e(),he(),oe.c($),O&&(window.clearTimeout(O),O=null),z?.(),z=null,R=null})),t({show:(e=A.showDelay)=>we(e),hide:()=>be(0,!0),toggle:Te,update:re,holdHover:Ne,releaseHover:Me,getVisible:()=>h.value}),(t,l)=>(r(),g(J,null,[e.eventTarget?w("",!0):(r(),g("div",{key:0,class:"tui-popPanel-trigger-wrap",ref_key:"triggerWrapRef",ref:d},[X(t.$slots,"trigger")],512)),f.value?(r(),Y(vt,{to:F.value,key:u(n),fallback:"#tuiRoot"},[ae(Se,{name:e.transitionName},{default:_((()=>[ge(s("div",{ref_key:"panelRef",ref:c,id:e.panelId||`tui-popPanel-${u(n)}`,class:B(["tui-popPanel-panel",e.panelClassName,{"is-typed":j.value,"is-hideArrow":!e.showArrow}]),style:ie([K.value,e.panelStyle,x.value,{transformOrigin:Z.value}]),onMouseenter:Oe,onMouseleave:_e,onClick:l[0]||(l[0]=Xe((()=>{}),["stop"]))},[j.value?(r(),Y(Kt,xe({key:0},L.value,{class:"tui-popPanel-typed"}),{default:_((()=>[e.showArrow?(r(),g("div",{key:0,ref_key:"arrowRef",ref:p,class:"tui-popPanel-arrow"},null,512)):w("",!0),X(t.$slots,"default",{hide:()=>be(0,!0),show:()=>we(0),toggle:Te,update:u(re),visible:h.value,holdHover:Ne,releaseHover:Me})])),_:3},16)):(r(),g(J,{key:1},[e.showArrow?(r(),g("div",{key:0,ref_key:"arrowRef",ref:p,class:"tui-popPanel-arrow"},null,512)):w("",!0),X(t.$slots,"default",{hide:()=>be(0,!0),show:()=>we(0),toggle:Te,update:u(re),visible:h.value,holdHover:Ne,releaseHover:Me})],64))],46,fs),[[ke,h.value]])])),_:3},8,["name"])],8,["to"])):w("",!0)],64))}}),gs={class:"tui-multPopPanel-item__label"},hs=["onClick"],vs={class:"tui-multPopPanel-item__label"},ms={key:2,class:"tui-multPopPanel-empty"},ys=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=ut(),A=m((()=>l.fieldNames.id||"id")),o=m((()=>l.fieldNames.label||"label")),n=m((()=>l.fieldNames.children||"children")),d=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,d.value,!1),b=e=>y(e).length>0,q=e=>v(e,p.value,"")||l.submenuTrigger,C=e=>v(e,c.value,"")||l.submenuPlacement,x=()=>{l.rootHide?.()},k=()=>{l.currentHide?.()},S=(e,t)=>[...l.parentPath,f(e,t)];return(t,A)=>{const o=ye("TuiMultPopPanelBranch");return r(),g("div",{class:B(["tui-multPopPanel",[`is-level-${e.level}`]])},[u(i).panelTop?X(t.$slots,"panelTop",{key:0,items:e.items,level:e.level,closeAll:x,closeCurrent:k}):w("",!0),e.items.length?(r(!0),g(J,{key:1},Ce(e.items,((n,d)=>(r(),g(J,{key:f(n,d)},[b(n)?(r(),Y(Xt,xe({key:0,ref_for:!0},e.panelProps,{disabled:V(n),trigger:q(n),placement:C(n)}),{trigger:_((()=>[s("div",{class:B(["tui-multPopPanel-item has-children",{"is-disabled":V(n)}])},[X(t.$slots,"item",{item:n,level:e.level,path:S(n,d),hasChildren:!0,disabled:V(n),closeAll:x,closeCurrent:k},(()=>[s("span",gs,F(h(n)),1),A[1]||(A[1]=s("i",{class:"tui-icon ti-arrow-right tui-multPopPanel-item__arrow"},null,-1))]))],2)])),default:_((({hide:l})=>[ae(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,d),onSelect:A[0]||(A[0]=e=>a("select",e))},Et({_:2},[u(i).panelTop?{name:"panelTop",fn:_((e=>[X(t.$slots,"panelTop",xe({ref_for:!0},e))])),key:"0"}:void 0,u(i).item?{name:"item",fn:_((e=>[X(t.$slots,"item",xe({ref_for:!0},e))])),key:"1"}:void 0,u(i).empty?{name:"empty",fn:_((()=>[X(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:B(["tui-multPopPanel-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:k}),l.closeOnLeafClick&&l.rootHide?.())})(n,d)),["stop"])},[X(t.$slots,"item",{item:n,level:e.level,path:S(n,d),hasChildren:!1,disabled:V(n),closeAll:x,closeCurrent:k},(()=>[s("span",vs,F(h(n)),1)]))],10,hs))],64)))),128)):(r(),g("div",ms,[X(t.$slots,"empty",{},(()=>[A[2]||(A[2]=Pe("No data",-1))]))]))],2)}}}),La=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=C(null),o=ut(),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(Xt,xe({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:_((()=>[X(t.$slots,"trigger")])),default:_((({hide:a})=>[ae(ys,{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))},Et({_:2},[u(o).panelTop?{name:"panelTop",fn:_((e=>[X(t.$slots,"panelTop",pt(qt(e)))])),key:"0"}:void 0,u(o).item?{name:"item",fn:_((e=>[X(t.$slots,"item",pt(qt(e)))])),key:"1"}:void 0,u(o).empty?{name:"empty",fn:_((()=>[X(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"]))}}),Wa={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},Vs=["title"],bs={class:"tui-mi-label"},ws={key:1,class:"tui-mi-desc"},qs={key:3,class:"tui-icon ti-arrow-right tui-mi-arrow"},Cs=Object.assign({name:"TuiMenuBase",inheritAttrs:!1},{__name:"base",props:{trigger:{type:String,default:"contextmenu",validator:e=>["contextmenu","click","hover"].includes(e)},disabled:{type:Boolean,default:!1},placement:String,appendTo:String,...Wa},setup(e,{expose:t}){const l=e,a=C(null),i=e=>""===e||null==e?null:"number"==typeof e?`${e}px`:e,A=m((()=>({id:"value",label:"label",children:"children",disabled:"disabled",placement:"placement",trigger:"trigger"}))),o=m((()=>{const e=l.popPanelConfig||l.dropPanelConfig||{};return["tui-menu-panel",l.className,e.panelClassName].filter(Boolean).join(" ")})),n=m((()=>{const e=l.popPanelConfig||l.dropPanelConfig||{};return[{"--tui-menu-z-index":l.zIndex,"--tui-menu-min-width":i(l.minWidth)||"160px","--tui-menu-max-width":i(l.maxWidth)||"200px"},e.panelStyle]})),u=m((()=>{const e=l.popPanelConfig||l.dropPanelConfig||{},{panelClassName:t,panelStyle:a,...i}=e;return{items:l.menus,eventTarget:l.eventTarget,trigger:l.trigger,submenuTrigger:l.submenuTrigger,placement:l.placement||"bottom-start",submenuPlacement:l.submenuPlacement,appendTo:l.appendTo,offset:l.offset,zIndex:l.zIndex,panelClassName:o.value,panelStyle:n.value,minWidth:l.minWidth,maxWidth:l.maxWidth,closeOnLeafClick:l.closeOnLeafClick,tuiService:l.tuiService,dynamicRender:l.dynamicRender,...i}})),d=e=>{const{item:t}=e;t?.disabled||l.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:l.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(La,xe({ref_key:"menuRef",ref:a},u.value,{"field-names":A.value,onSelect:d}),Et({item:_((({item:e,hasChildren:t,disabled:a})=>[s("div",{title:e.title,class:B(["menu-item",{"is-disabled":a,"has-divider":e.divider}])},[e.icon?(r(),g("i",{key:0,class:B(`tui-mi-icon ${e.icon}`)},null,2)):w("",!0),s("span",bs,F(e.label),1),e.description?(r(),g("span",ws,F(e.description),1)):w("",!0),e.tagContent?(r(),Y(Ea,pt(xe({key:2},{type:e.tagType||"primary",...l.tagConfig})),{default:_((()=>[Pe(F(e.tagContent),1)])),_:2},1040)):w("",!0),t?(r(),g("i",qs)):w("",!0)],10,Vs)])),_:2},[e.eventTarget?void 0:{name:"trigger",fn:_((()=>[X(e.$slots,"default")])),key:"0"}]),1040,["field-names"]))}}),ja=Object.assign({name:"TuiMenu",inheritAttrs:!1},{__name:"avatar",props:{trigger:{type:String,default:"contextmenu",validator:e=>["contextmenu","click","hover"].includes(e)},disabled:{type:Boolean,default:!1},placement:String,appendTo:String,...Wa},emits:["menuClick"],setup(e,{expose:t,emit:l}){const a=e,i=l,A=C(null),o=e=>{i("menuClick",e)},n=m((()=>({...a,menuClick:o})));return t({toggle:e=>A.value?.toggle?.(e),show:()=>A.value?.show?.(),hide:()=>A.value?.hide?.(),update:()=>A.value?.update?.()}),(e,t)=>(r(),Y(Cs,xe({ref_key:"menuRef",ref:A},n.value),{default:_((()=>[e.eventTarget?w("",!0):X(e.$slots,"default",{key:0})])),_:3},16))}}),$s={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=Ct(ja,{...t||{},eventTarget:e,tuiService:o,dynamicRender:!0,onMenuClick:t?.menuClick});l.appContext=i,lt(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&<(null,e.__tuiMenuContainer),delete e.__tuiMenuContainer,delete e.__tuiMenuMount}},Ml=["top-start","top-end","bottom-start","bottom-end"],Ga=["default","invert","primary","success","warning","danger","info","emphasis"],ks=(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"}},Ss=(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}},Ts=(e="bottom-start")=>"top"===e.split("-")[0]?"bottom center":"top center",Bs=(e="bottom-start")=>`follow-${e}`,xs={eventTarget:{type:[Object,Element],default:null},bindTriggerEvents:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},placement:{type:String,default:"bottom-start",validator:e=>Ml.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||Ga.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}},Ps=["id"],Rs=300,Fa=Object.assign({name:"TuiFollowPanel"},{__name:"index",props:{...xs},emits:["show","shown","hide","hidden"],setup(e,{expose:t,emit:l}){const{proxy:a}=Ue(),{$tService:i}=a,A=e,o=l,n=qe("followPanel"),d=C(null),c=C(null),p=C(null),v=C(!1),f=C(!1),h=Ve({x:0,y:0}),y=`${n}_show`,V=`${n}_hide`,b=`${n}_init`;let q=null;const x=m((()=>A.dynamicRender?A.tuiService:i)),k=m((()=>x.value?.$globalState?.value||null)),S=m((()=>x.value?.$optFloaterTo?.value||null)),T=m((()=>A.appendTo||S.value||"#tuiRoot")),$=m((()=>A.typed)),R=m((()=>ks(A,x.value))),z=Ss(A,Yt),O=m((()=>de("cpt-followPanel",{zIndex:A.zIndex,...A.caretSize&&{caretSize:`${A.caretSize}px`},...Fe.isNEG0(A.caretOffset)&&{caretOffset:`${A.caretOffset}px`}}))),N=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:P,update:I}=Il(N,c,{placement:A.placement,strategy:"fixed",middleware:[Nl((({placement:e})=>z(e))),Dl({padding:8,boundary:"viewport"}),_l({fallbackPlacements:Ml})]}),D=m((()=>Ts(M.value||A.placement))),E=m((()=>Bs(M.value||A.placement)));H(f,(async e=>{e&&(await ne(),I(),requestAnimationFrame((()=>{I(),o("shown")})))}));const W=()=>{v.value=!1,o("hidden")},F=(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}I()}},j=(e=null)=>{A.disabled||(oe.c(V),e&&F(e),v.value||(v.value=!0),o("show"),oe.s(y,(()=>{f.value=!0}),A.showDelay))},L=(e=!1)=>{const t="boolean"==typeof e&&e;A.debug&&!t||(oe.c(y),(f.value||v.value)&&(o("hide"),f.value=!1,oe.s(V,W,Math.max(A.hideDelay,Rs))))},G=()=>{!A.bindTriggerEvents||!q||(Be.remove(q,"mouseenter",j,n),Be.remove(q,"mousemove",F,n),Be.remove(q,"mouseleave",L,n))},Q=()=>{!A.bindTriggerEvents||!p.value||(q=p.value,Be.add(q,"mouseenter",j,n),Be.add(q,"mousemove",F,n),Be.add(q,"mouseleave",L,n))},U=()=>{if(A.eventTarget)return p.value=A.eventTarget,void Q();const e=d.value?.firstElementChild;e?(p.value=e,Q(),(()=>{const e=d.value;e?.parentNode&&(Array.from(e.childNodes).forEach((t=>{e.parentNode.insertBefore(t,e)})),e.parentNode.removeChild(e))})()):oe.s(b,U,100)};return H((()=>A.eventTarget),(e=>{e&&e!==p.value&&(G(),p.value=e,Q())})),H((()=>k.value?.escCounter),(()=>{!A.closeOnEsc||!f.value||L(!0)})),ce((()=>{U()})),Je((()=>{f.value=!1,v.value=!1,G(),A.debug||(oe.c(y),oe.c(V)),oe.c(b)})),t({show:j,hide:L,update:I,updatePos:F,getVisible:()=>f.value}),(e,t)=>(r(),g(J,null,[e.eventTarget?w("",!0):(r(),g("div",{key:0,class:"tui-followPanel-trigger-wrap",ref_key:"triggerWrapRef",ref:d},[X(e.$slots,"trigger")],512)),v.value?(r(),Y(vt,{to:T.value,key:u(n),fallback:"#tuiRoot"},[ae(Se,{name:e.transitionName},{default:_((()=>[ge(s("div",{ref_key:"panelRef",ref:c,id:e.panelId||`tui-followPanel-${u(n)}`,class:B(["tui-followPanel-panel",E.value,e.panelClassName,{"is-typed":$.value,"debug-on":A.debug}]),style:ie([O.value,e.panelStyle,u(P),{transformOrigin:D.value}])},[$.value?(r(),Y(Kt,xe({key:0},R.value,{class:"tui-followPanel-typed"}),{default:_((()=>[t[0]||(t[0]=s("div",{class:"follow-caret"},null,-1)),X(e.$slots,"default",{hide:L,show:j,update:u(I),updatePos:F,visible:f.value})])),_:3},16)):(r(),g(J,{key:1},[t[1]||(t[1]=s("div",{class:"follow-caret"},null,-1)),X(e.$slots,"default",{hide:L,show:j,update:u(I),updatePos:F,visible:f.value})],64))],14,Ps),[[ke,f.value]])])),_:3},8,["name"])],8,["to"])):w("",!0)],64))}}),Ha={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=>Ml.includes(e)},type:{type:String,default:"invert",validator:e=>Ga.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},zs=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"}},Is=e=>de("cpt-curtip",{...e.maxWidth&&{maxWidth:`${e.maxWidth}px`},...e.zIndex&&{zIndex:`${e.zIndex}`},...e.caretSize&&{caretSize:`${e.caretSize}px`},...Fe.isNEG0(e.caretOffset)&&{caretOffset:`${e.caretOffset}px`}}),Ns=(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:zs(e),caretSize:e.caretSize,caretOffset:e.caretOffset,tuiService:e.tuiService,dynamicRender:e.dynamicRender}},Ds={key:0,class:"tip-title"},_s={class:"tip-content"},Qa=Object.assign({name:"TuiCursorTipBase"},{__name:"cursorTip-base",props:{...Ha,dynamicRender:{type:Boolean,default:!1},bindTriggerEvents:{type:Boolean,default:!0}},setup(e,{expose:t}){const l=e,a=C(null),i=m((()=>Is(l))),A=m((()=>Ns(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(Fa,xe({ref_key:"followRef",ref:a},A.value,{onHidden:o}),{trigger:_((()=>[X(e.$slots,"default")])),default:_((()=>[X(e.$slots,"content",{},(()=>[e.component?(r(),Y(it(e.component),{key:0})):(r(),g(J,{key:1},[e.title?(r(),g("div",Ds,F(e.title),1)):w("",!0),s("div",_s,F(e.content),1)],64))]))])),_:3},16))}}),ua=e=>{e.mouseEvent=!0,Be.add(e,"mouseenter",e.show,e.id),Be.add(e,"mouseleave",e.hide,e.id),Be.add(e,"mousemove",e.update,e.id)},da=e=>{Be.remove(e,"mouseenter",e.id),Be.remove(e,"mouseleave",e.id),Be.remove(e,"mousemove",e.id)},Os={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=qe("curtipDir");let s=null,r=null;const u=()=>{e.instance&&(lt(null,s),s&&r?.contains(s)&&r.removeChild(s),s=null,r=null,e.instance=null)};e.destroy=u;e.show=l=>{e.disabled||(null!=l?.clientX&&null!=l?.clientY&&(e.pointer={x:l.clientX,y:l.clientY}),oe.c(`${e.id}_ti`),oe.s(`${e.id}_ti`,(()=>{e.instance||(s=document.createElement("div"),s.id=`${e.id}_inst`,s.className="curtipinst-outer",r=Me.el(e.appendTo)||Me.el("#tuiRoot"),e.instance=Ct(Qa,{...e.options||t.value,id:e.id,eventTarget:e,tuiService:o,dynamicRender:!0,bindTriggerEvents:!1,appendTo:e.appendTo,destroy:u}),e.options||(e.options=t.value),r.appendChild(s),lt(e.instance,s)),ne((()=>{e.instance?.component?.exposed?.updatePos(e.pointer.x,e.pointer.y),e.instance?.component?.exposed?.show()}))}),a))},e.hide=()=>{oe.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||ua(e);const d=H((()=>o.$optFloaterTo.value),(l=>{e.appendTo=t.value.appendTo||l}));e.floaterUnwatch=d},updated(e,t){t&&(e.options=t.value,t.value.disabled!=t.oldValue?.disabled&&(e.mouseEvent&&(da(e),e.mouseEvent=!1),e.disabled=t.value.disabled,e.disabled?(oe.c(`${e.id}_ti`),e.instance?.component?.exposed?.hide(!0),e.destroy()):ua(e)))},unmounted(e){e.mouseEvent&&(e.floaterUnwatch&&e.floaterUnwatch(),da(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)}},El={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},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},Ua=(e,t)=>de(e,{...t.maxWidth&&{maxWidth:`${t.maxWidth}px`}}),Ya=(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}},Ka=(e,t)=>[e,t.className,t.enterable&&"is-enterable"].filter(Boolean).join(" "),Xa=(e,t)=>{const{panelClassName:l,panelStyle:a,typedConfig:i,arrowSize:A,offsetAdjust:o=0}=t;return{...e.popPanelConfig||{},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:"click"===e.trigger,closeOnEsc:!0,debug:e.debug}},Ms={class:"popinfo-body"},Es={key:0,class:"popinfo-title"},Ll=Object.assign({name:"TuiPopinfo"},{__name:"popinfo",props:{...El,enterable:{type:Boolean,default:!0}},setup(e,{expose:t}){const l=e,a=`${qe("popInfo")}_autoH`,i=C(null),A=m((()=>Ua("cpt-pinfo",l))),o=m((()=>Ka("tui-popinfo",l))),n=m((()=>Ya(l,"default"))),u=m((()=>Xa(l,{panelClassName:o.value,panelStyle:A.value,typedConfig:n.value,arrowSize:8,offsetAdjust:2}))),d=()=>{l.autoClose&&"click"===l.trigger&&oe.s(a,(()=>{i.value?.hide?.()}),l.duration)},c=()=>{oe.c(a),l.defaultOn&&l.destroy?.(!1,!0)};return ce((()=>{l.defaultOn&&i.value?.show?.()})),t({hide:()=>{i.value?.hide?.()},update:()=>i.value?.update?.(),getVisible:()=>i.value?.getVisible?.()||!1}),(e,t)=>(r(),Y(Xt,xe({ref_key:"popPanelRef",ref:i},u.value,{onShown:d,onHidden:c}),{trigger:_((()=>[X(e.$slots,"default")])),default:_((()=>[s("div",Ms,[e.title?(r(),g("div",Es,[e.titleIcon?(r(),g("i",{key:0,class:B(`popinfo-icon ${e.titleIcon}`)},null,2)):w("",!0),Pe(" "+F(e.title),1)])):w("",!0),e.component?(r(),Y(it(e.component),{key:1})):X(e.$slots,"content",{key:2},(()=>[Pe(F(e.content),1)]))])])),_:3},16))}}),Ls={class:"poptip-content"},Wl=Object.assign({name:"TuiPopTip"},{__name:"poptip",props:{...El},setup(e,{expose:t}){const l=e,a=`${qe("popTip")}_autoH`,i=C(null),A=m((()=>Ua("cpt-ptip",l))),o=m((()=>Ka("tui-poptip",l))),n=m((()=>Ya(l,"invert"))),u=m((()=>Xa(l,{panelClassName:o.value,panelStyle:A.value,typedConfig:n.value,arrowSize:6}))),d=()=>{l.autoClose&&"click"===l.trigger&&oe.s(a,(()=>{i.value?.hide?.()}),l.duration)},c=()=>{oe.c(a),l.defaultOn&&l.destroy?.(!1,!0)};return ce((()=>{l.defaultOn&&i.value?.show?.()})),t({hide:()=>{i.value?.hide?.()},update:()=>i.value?.update?.(),getVisible:()=>i.value?.getVisible?.()||!1}),(e,t)=>(r(),Y(Xt,xe({ref_key:"popPanelRef",ref:i},u.value,{onShown:d,onHidden:c}),{trigger:_((()=>[X(e.$slots,"default")])),default:_((()=>[s("div",Ls,[e.component?(r(),Y(it(e.component),{key:0})):X(e.$slots,"content",{key:1},(()=>[Pe(F(e.content),1)]))])])),_:3},16))}}),yt=Ve([]),Ws=()=>{const e=[...yt];e.length>0&&(e.forEach((e=>{const t=e.props.eventTarget;t&&t.instance&&t.destroy&&t.destroy(!0)})),yt.length=0)},js=()=>{if(0===yt.length)return;const e=yt[0].props.eventTarget;e&&e.instance&&e.destroy&&e.destroy()},ca=e=>{e.defaultOn?e.mouseEvent():"hover"===e.trigger?(Be.add(e,"mouseenter",e.mouseEvent,e.id),Be.add(e,"mouseleave",e.leaveEvent,e.id)):"click"===e.trigger&&Be.add(e,"click",e.mouseEvent,e.id)},fa=e=>{e.defaultOn||("hover"===e.trigger?(Be.remove(e,"mouseenter",e.id),Be.remove(e,"mouseleave",e.id)):"click"===e.trigger&&Be.remove(e,"click",e.id))},Gs={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:u}=r,{$optFloaterTo:d}=r;e.appendTo=t.value.appendTo||d.value;const c=qe("popOverDir");let p=null,g=null;e.instance=null,e.id=c;const v=(t=!1)=>{const l=yt.indexOf(e.instance);-1!==l&&!t&&yt.splice(l,1),p&&(lt(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 oe.c(c+"_hideEnd"),void v(t);oe.s(c+"_hide",(()=>{e.instance&&(e.instance.component?.exposed?.hide?.(),oe.s(c+"_hideEnd",(()=>v(t)),500))}),200)}},m=(t=e.lastEvent)=>{if(!p)return;const l={...e.options||{}},a=l.appearance||"popTip",i=Ct("popTip"===a?Wl:Ll,{...l,id:c,destroy:f,tuiService:r,instances:yt,event:t,eventTarget:e,trigger:e.trigger,defaultOn:!0}),A=yt.indexOf(e.instance);e.instance=i,-1!==A?yt[A]=i:yt.push(i),lt(i,p)};e.destroy=f,e.renderInstance=m;e.mouseEvent=async t=>{e.lastEvent=t||e.lastEvent,!e.instance&&!e.disabled&&(await ne(),!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",yt.length>=u.value.maxLength&&js(),g=Me.el(e.appendTo)||Me.el("#tuiRoot"),g.appendChild(p),m(e.lastEvent),"click"===e.trigger&&e.autoClose&&!o&&oe.s(c+"_autoH",(()=>{f()}),A))})(e.lastEvent))},e.leaveEvent=()=>{oe.c(c+"_autoH"),e.instance&&("hover"===e.trigger&&e.options?.debug||e.instance.component?.exposed?.hide?.())},n||ca(e);const h=H((()=>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)&&(oe.c(e.id+"_show"),e.destroy?.(),fa(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&&ca(e)},unmounted(e){e.mouseEvent&&(e.floaterUnwatch&&e.floaterUnwatch(),oe.c(e.id+"_show"),oe.c(e.id+"_hide"),oe.c(e.id+"_hideEnd"),oe.c(e.id+"_autoH"),fa(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)}},Fs={install(e){e.config.globalProperties.$tPopoverDirectiveCloseAll=()=>Ws()}},Hs=(e,t=!1)=>{let l=1,a=1;if(t){const{scaleX:e,scaleY:t}=Yt.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}},Qs=(e,t)=>{const l="absolute"==t?e.offsetParent:e.parentElement;return{minX:0,minY:0,maxX:l.clientWidth-e.offsetWidth,maxY:l.clientHeight-e.offsetHeight}},Us=(e,t,l=!1)=>{let a=1,i=1;if(l){const{scaleX:e,scaleY:t}=Yt.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)}}},Ys=({el:e,e:t,mouseStartX:l,mouseStartY:a,startX:i,startY:A,positionType:o,boundaries:n,inAdpt:s})=>{let r=1,u=1;if(s){const{scaleX:e,scaleY:t}=Yt.adpt.info;r=e,u=t}let d=(i+(t.clientX-l))/r,c=(A+(t.clientY-a))/u;n&&(d=Math.min(n.maxX,Math.max(n.minX,d)),c=Math.min(n.maxY,Math.max(n.minY,c))),"transform"===o?e.style.transform=`translate(${d}px, ${c}px)`:(e.style.left=`${d}px`,e.style.top=`${c}px`)},Ks={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;e.enabled=i,e.resetOnDisable=o;const s=t?.trigger?e.querySelector(t.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=i=>{if(!e.enabled)return;if(t?.exclude){const e=s.querySelector(t.exclude);if(e&&(i.target===e||e.contains(i.target)))return}let o=null;l&&(o="transform"===A?Hs(e,a):Qs(e,A));const{startX:r,startY:u}=Us(e,A,a),d=i.clientX,c=i.clientY;Be.add(document,"mousemove",(t=>{Ys({el:e,e:t,mouseStartX:d,mouseStartY:c,startX:r,startY:u,positionType:A,boundaries:o,inAdpt:a})}),n),Be.add(document,"mouseup",(()=>{Be.remove(document,"mousemove",n),Be.remove(document,"mouseup",n)}),n),i.preventDefault()}};l(t.value),e.dragUpdate=l},updated(e,t){t&&(At.isEq(t.value,t.oldValue)||e.dragUpdate?.(t.value))},unmounted(e){e.onmousedown=null,delete e.dragUpdate}};function pa(e,t){const l=Re(e);if(l.includes("function"))return{disabled:!1,uid:t.uid||qe("vResize"),cid:null,duration:200,callback:e};if("object"===l&&e){const l=e.cid??null;return"string"===Re(l)&&!l.includes("Error")&&Ra(l,t.className),{disabled:e.disabled??!1,uid:e.uid||t.uid||qe("vResize"),cid:l,duration:e.duration??200,callback:e.callback}}return{disabled:!0,uid:t.uid||qe("vResize"),cid:null,duration:200,callback:null}}function ga(e,t){e.disabled=t.disabled,e.uid=t.uid,e.cid=t.cid,e.duration=t.duration,e.callback=t.callback}function ha(e){!e.disabled&&Re(e.callback).includes("function")&&Pa.o(e,(t=>{for(let l of t){const{width:t,height:a}=l.contentRect;e.callback({width:t,height:a})}}),e.duration)}function $l(e){Pa.d(e)}const Xs={mounted(e,t){ga(e,pa(t.value,e)),ha(e)},updated(e,t){const l=e.disabled,a=e.duration,i=e.uid,A=e.callback;ga(e,pa(t.value,e));const o=!l&&Re(A).includes("function");!e.disabled&&Re(e.callback).includes("function")?(!o||l!==e.disabled||a!==e.duration||i!==e.uid)&&(o&&$l(e),ha(e)):o&&$l(e)},unmounted(e){$l(e)}},Zs={mounted(e,t){const l=t.value;"string"==Re(l)&&!l.includes("Error")&&Ra(l,e.className)},unmounted(e){}},hl={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},Js={key:0,class:"tui-icon ti-info-circle"},er={key:1,class:"tui-icon ti-check-circle"},tr={key:2,class:"tui-icon ti-alert-circle"},lr={key:3,class:"tui-icon ti-alert-triangle"},ar={key:2,class:"debug"},nr={key:4,class:"repeat-num"},or=Object.assign({name:"TuiMessage"},{__name:"index",props:{...hl,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=C(!1),n=(e,t=!1)=>{oe.c(a.id),a.destroy(t)},u=()=>{const{position:e}=a;let t=Vt[e].findIndex((e=>e.component.props.id===a.id));l.index=t};H((()=>Vt[a.position]),(e=>{u()}),{deep:!0}),H((()=>a.tuiService.$gEscCounter.value),(e=>{e&&!a.calledByFlash&&n()}));const d=()=>{a.tuiService.$aMessage.value.counter-=1},c=m((()=>de("cpt-msg",{offset:A,index:l.index}))),p=C({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 ce((()=>{a.calledByFlash||a.tuiService.$gSound.value&&a.tuiService.audio.play("popupA"),a.tuiService.$aMessage.value.counter+=1,u(),o.value=!0,l.content=a.content})),t({hide:()=>{o.value=!1,d()},updateIndex:u,closeMessage:n,repeatAdd:()=>{l.repeat++}}),(t,a)=>(r(),Y(Se,{name:"slide-fade"},{default:_((()=>[ge(ae(Kt,xe(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?w("",!0):(r(),g(J,{key:0},["info"==i.value||"primary"==i.value||"emphasis"==i.value?(r(),g("i",Js)):w("",!0),"success"==i.value?(r(),g("i",er)):w("",!0),"warning"==i.value?(r(),g("i",tr)):w("",!0),"danger"==i.value?(r(),g("i",lr)):w("",!0)],64)),t.icon?(r(),g("i",{key:1,class:B(t.icon)},null,2)):w("",!0),e.debug?(r(),g("span",ar,F(l.index+1)+":"+F(t.id),1)):w("",!0),s("span",null,F(t.content),1),t.showClose?(r(),g("i",{key:3,class:"close-message tui-icon ti-times",onClick:n})):w("",!0),l.repeat>1?(r(),g("span",nr,F(l.repeat),1)):w("",!0)])),_:1},16,["class","style"]),[[ke,o.value]])])),_:1}))}});Ve([]);const Vt=Ve({"top-left":[],"top-center":[],"top-right":[],"bottom-left":[],"bottom-center":[],"bottom-right":[]}),ir=(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:u}=l,d=e.appendTo||u.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=qe("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((()=>{lt(null,p),Re(e.onClose).includes("function")&&e.onClose()}),500)},m=()=>{c=Ct(or,{...e,position:v,id:g,destroy:f,tuiService:l}),Vt[v].push(c),lt(c,p),(Me.el(d)||Me.el("#tuiRoot")).appendChild(p.firstElementChild),e.calledByFlash?e.calledByFlash&&e.duration&&oe.s(g,f,e.duration):oe.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||oe.s(l,a,e.duration||o||3e3)}}else m();return{destroy:f}},sr=()=>{for(let e in Vt)Vt[e].forEach(((e,t)=>{e.component.exposed.closeMessage(null,!0)})),Vt[e]=[]},rr={key:0,class:"tui-icon ti-info-circle"},Ar={key:1,class:"tui-icon ti-check-circle"},ur={key:2,class:"tui-icon ti-alert-circle"},dr={key:3,class:"tui-icon ti-alert-triangle"},cr={class:"notification-container"},fr={class:"notification-title"},pr={class:"notification-content"},gr={key:0,class:"debug"},hr={key:2,class:"repeat-num"},vr=Object.assign({name:"TuiNotification"},{__name:"index",props:{...hl,title:{type:String},position:{type:String},debug:{type:Boolean,default:!1}},setup(e,{expose:t}){const l=C(),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:d}=Oe(a),c=C(!1),p=(e,t=!1)=>{oe.c(i.id),i.destroy(t)},v=()=>{const{position:e}=i;let t=ft[e].findIndex((e=>e.component.props.id===i.id));a.index=t},f=()=>{const{position:e}=i,t=ft[e].findIndex((e=>e.component.props.id===i.id));let l=10;if(t>-1)for(let a=0;a<ft[e].length&&!(a>=t);a++)l+=ft[e][a].el.offsetHeight+15;a.offsetSum=l};H((()=>ft[i.position]),(e=>{v(),f()}),{deep:!0}),H((()=>i.tuiService.$gEscCounter.value),(e=>{e&&p()}));const h=()=>{i.tuiService.$aNotification.value.counter-=1},y=m((()=>de("cpt-noti",{offset:o,index:a.index,offsetSum:a.offsetSum}))),V=C({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 ce((()=>{i.tuiService.$gSound.value&&i.tuiService.audio.play("popupA"),i.tuiService.$aNotification.value.counter+=1,v(),ne((()=>{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(Se,{name:"slide-fade"},{default:_((()=>[ge(ae(Kt,xe(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?w("",!0):(r(),g(J,{key:0},["info"==A.value||"primary"==A.value||"emphasis"==A.value?(r(),g("i",rr)):w("",!0),"success"==A.value?(r(),g("i",Ar)):w("",!0),"warning"==A.value?(r(),g("i",ur)):w("",!0),"danger"==A.value?(r(),g("i",dr)):w("",!0)],64)),t.icon?(r(),g("i",{key:1,class:B(`notification-icon ${t.icon}`)},null,2)):w("",!0),s("div",cr,[s("span",fr,F(u(d)),1),s("span",pr,F(u(n)),1),e.debug?(r(),g("span",gr,F(a.index+1)+":"+F(t.id),1)):w("",!0),t.showClose?(r(),g("i",{key:1,class:"close-notification tui-icon ti-times",onClick:p})):w("",!0),a.repeat>1?(r(),g("span",hr,F(a.repeat),1)):w("",!0)])])),_:1},16,["class","style"]),[[ke,c.value]])])),_:1}))}});Ve([]);const ft=Ve({"top-left":[],"top-center":[],"top-right":[],"bottom-left":[],"bottom-center":[],"bottom-right":[]}),mr=(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,u=e.appendTo||r.value;if(n||i(e),s&&"notification"!=s)return void l.$aDispatcher.value.queue.push({...e,attentionType:"notification"});let d=null;const c=document.createElement("div"),p=qe("notidir"),g=e.position||A||"top-center",v=t=>{if(d.component.exposed.hide(),!t){const e=ft[g].indexOf(d);ft[g].splice(e,1)}setTimeout((()=>{lt(null,c),Re(e.onClose).includes("function")&&e.onClose()}),500)},f=()=>{d=Ct(vr,{...e,position:g,id:p,destroy:v,tuiService:l}),ft[g].push(d),lt(d,c),(Me.el(u)||Me.el("#tuiRoot")).appendChild(c.firstElementChild),e.duration&&oe.s(p,v,e.duration)};if(e.grouping){const t=ft[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}=ft[g][t].props;ft[g][t].component.exposed.repeatAdd(),e.duration&&oe.s(l,a,e.duration)}}else f();return{destroy:v}},yr=()=>{for(let e in ft)ft[e].forEach(((e,t)=>{e.component.exposed.closeNotification(null,!0)})),ft[e]=[]},Vr={key:0,class:"tui-icon ti-info-circle"},br={key:1,class:"tui-icon ti-check-circle"},wr={key:2,class:"tui-icon ti-alert-circle"},qr={key:3,class:"tui-icon ti-alert-triangle"},Cr={key:2,class:"toast-title"},$r={class:"toast-content"},kr={key:3,class:"close-toast"},Sr=Object.assign({name:"TuiToast"},{__name:"index",props:{title:String,...hl,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=C(!1);H((()=>a.tuiService.$gEscCounter.value),(e=>{e&&!a.calledByFlash&&u()}));const u=()=>{oe.c(a.id),a.destroy()},d=m((()=>de("cpt-toast",{offsetX:A,offsetY:o}))),c=C({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 ce((()=>{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:u}),(t,l)=>(r(),Y(Se,{name:"slide-fade"},{default:_((()=>[ge(ae(Kt,xe(c.value,{class:["tui-toast",`toast-${t.id}`,t.className&&`${t.className}`],style:d.value}),{default:_((()=>[t.icon||t.hideIcon?w("",!0):(r(),g(J,{key:0},["info"==i.value||"primary"==i.value||"emphasis"==i.value?(r(),g("i",Vr)):w("",!0),"success"==i.value?(r(),g("i",br)):w("",!0),"warning"==i.value?(r(),g("i",wr)):w("",!0),"danger"==i.value?(r(),g("i",qr)):w("",!0)],64)),t.icon&&!t.hideIcon?(r(),g("i",{key:1,class:B(`toast-icon ${t.icon}`)},null,2)):w("",!0),e.title?(r(),g("span",Cr,F(e.title),1)):w("",!0),s("span",$r,F(t.content),1),e.showClose?(r(),g("div",kr,[s("i",{class:"tui-icon ti-times",onClick:u})])):w("",!0)])),_:1},16,["class","style"]),[[ke,n.value]])])),_:1}))}});Ve([]);let Mt=null;const Tr=(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"),u=qe("tostdir"),d=()=>{Mt?.component.exposed.hide(),Mt=null,setTimeout((()=>{lt(null,r),Re(e.onClose).includes("function")&&e.onClose()}),500)};return Mt&&Za(),Mt=Ct(Sr,{...e,id:u,destroy:d,tuiService:l}),lt(Mt,r),(Me.el(s)||Me.el("#tuiRoot")).appendChild(r.firstElementChild),e.calledByFlash||oe.s(u,d,e.duration||i||3e3),{destroy:d}},Za=()=>{Mt&&Mt.component.exposed.closeToast()},Br={class:"text"},xr=Object.assign({name:"TuiFlash"},{__name:"index",props:{...hl},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})),d=m((()=>{const{queueOffset:e}=a.tuiService.$aFlash.value;return a.queueOffset||e})),c=C(!1),p=m((()=>de("cpt-flash",{blurR:A.value,spreadR:o.value,offset:d.value})));return ce((()=>{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:()=>{oe.c(a.id),a.destroy()}}),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["tui-flash",`flash-${i.value}`,`flash-${e.id}`,`aniType-${e.aniType}`,e.className&&`${e.className}`]),style:ie(p.value)},[u(ct).length>1?(r(),g("div",{key:0,class:B(`queue-wrap queuePosition-${n.value}`)},[(r(!0),g(J,null,Ce(u(ct),((e,t)=>(r(),g("div",{class:B(`queue-item item-${e.type}`)},[s("span",Br,F(t+1),1)],2)))),256))],2)):w("",!0)],6),[[ke,c.value]])])),_:1}))}}),ct=Ve([]);let Ot=null,ul=null;const Ja=(e,t)=>{Re(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:u}=l.$aDispatcher.value,{$optFloaterTo:d}=l,c=e.appendTo||d.value;if(r||s(e),u&&"flash"!=u)return void l.$aDispatcher.value.queue.push({...e,attentionType:"flash"});const p=document.createElement("div"),g=qe("flashdir"),v=()=>{Ot?.component?.exposed.hide(),Ot=null,ul=null,lt(null,p),ct.splice(0,1),l.$aFlash.value.queueLength=ct.length,ct.length>0&&Ja(ct[0],t)};e.onClose=v,e.calledByFlash=!0,e.showClose=!0,e.grouping=!0;return Ot?Ot.props.content==e.content?"message"==e.appearance&&o(e):(-1===ct.findIndex((t=>t.content===e.content))&&ct.push(e),l.$aFlash.value.queueLength=ct.length):(-1===ct.findIndex((t=>t.content===e.content))&&ct.push(e),l.$aFlash.value.queueLength=ct.length,ul="message"==e.appearance?o(e):n(e),Ot=Ct(xr,{...e,id:g,destroy:v,tuiService:l}),lt(Ot,p),(Me.el(c)||Me.el("#tuiRoot")).appendChild(p.firstElementChild)),{destroy:v}},Pr=()=>{0!=ct.length&&(ct.splice(0),ul?.destroy(),Ot.component.exposed.closeFlash())},Rr={class:"attention-icon-wrap"},zr={class:"queu-length"},Ir={class:"attention-debugger"},Nr=Object.assign({name:"TuiAttentionDispatcher"},{__name:"index",props:{tuiService:Object,destroy:Function,globalProperties:Object,id:{type:String,required:!0}},setup(e,{expose:t}){const l=qe("attentionDisp"),a=Ve({messageCounter:0,notificationCounter:0,toastShow:!1,falshShow:!1,falshQueue:0,dispatchStart:!1}),i=e,{$tMessage:A,$tNotify:o,$tToast:n,$tFlash:d,$tMessageCloseAll:c,$tNotifyCloseAll:p,$tToastClose:v}=i.globalProperties,{$aDispatcher:f,$aFlash:h,$aToast:y,$aNotification:V,$aMessage:b}=i.tuiService,{visible:w,debug:q,offset:x,position:k,currentChannel:S,queue:T}=Oe(f.value);H((()=>b.value.counter),(e=>{h.value.queueLength>0||(a.messageCounter=e,e>0&&(f.value.currentChannel="message"))}),{immediate:!0}),H((()=>V.value.counter),(e=>{a.notificationCounter=e,e>0&&(f.value.currentChannel="notification")}),{immediate:!0}),H((()=>y.value.visible),(e=>{h.value.queueLength>0||(a.toastShow=e,e&&(f.value.currentChannel="toast"))}),{immediate:!0}),H((()=>h.value.visible),(e=>{a.falshShow=e}),{immediate:!0}),H((()=>h.value.queueLength),(e=>{a.falshQueue=e,e>0&&(f.value.currentChannel="flash")}),{immediate:!0}),H((()=>T.value),(e=>{e.find((e=>"flash"===e.attentionType))&&(a.dispatchStart=!0,oe.s("queueWatch",(()=>{switch(S.value){case"message":c();break;case"notification":p();break;case"toast":v();break}ne((()=>{R()}))}),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&&(T.value.length>0?(a.dispatchStart=!0,R()):N.value&&M()),!1)})),R=()=>{const e=T.value.find((e=>"flash"===e.attentionType))||T.value[0];if(e){let t=O(T.value,e.attentionType);t.length>0&&z(t,e.attentionType)}},z=(e,t)=>{let i=0;Pt.s(l+"_tInter",(()=>{if(i>=e.length)return a.dispatchStart=!1,void Pt.c(l+"_tInter");"message"==t?A(e[i]):"notification"==t?o(e[i]):"toast"==t?n(e[i]):"flash"==t&&d(e[i]),i++}),"toast"==t?2e3:500)},O=(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},N=C(!1),M=()=>{i.destroy()},P=m((()=>de("cpt-dispatcher",{offset:x.value})));return ce((()=>{N.value=!0})),t({hide:()=>{N.value=!1},closeDispatcher:M}),(t,l)=>ge((r(),g("div",{class:B(`tui-attention-dispatcher-wrap attdis-${e.id} attdis-${u(T).length>0?"queue":"noQueue"} attdis-pos-${u(k)} attdis-${u(w)?"visible":"invisible"}`),style:ie(P.value)},[ae(Se,{name:"fade",class:"attention-icon-transition"},{default:_((()=>[ge(s("div",Rr,[l[0]||(l[0]=s("i",{class:"tui-icon ti-bell"},null,-1)),s("span",zr,F(u(T).length),1)],512),[[ke,u(T).length>0]])])),_:1}),ge(s("div",Ir,[s("p",null,"messageCounter:"+F(a.messageCounter),1),s("p",null,"notificationCounter:"+F(a.notificationCounter),1),s("p",null,"toastShow:"+F(a.toastShow),1),s("p",null,"falshShow:"+F(a.falshShow),1),s("p",null,"falshQueue:"+F(a.falshQueue),1),s("p",null,"attentionOn:"+F($.value),1),s("p",null,"currentChannel:"+F(u(S)),1),s("p",null,"queueLenght:"+F(u(T).length),1)],512),[[ke,u(q)]])],6)),[[ke,N.value]])}});let jt=null;const Dr=(e,t)=>{if(jt)return;const{$tService:l}=t.config.globalProperties,{$optFloaterTo:a}=l,i=e.appendTo||a.value,A=document.createElement("div"),o=qe("attdispdir"),n=()=>{jt?.component.exposed.hide(),jt=null,setTimeout((()=>{lt(null,A)}),500)};return jt=Ct(Nr,{id:o,destroy:n,tuiService:l,globalProperties:t.config.globalProperties}),lt(jt,A),(Me.el(i)||Me.el("#tuiRoot")).appendChild(A.firstElementChild),{destroy:n}},_r=()=>{jt.component.exposed.closeDispatcher()},Or={install(e){e.config.globalProperties.$tMessage=t=>ir(t,e),e.config.globalProperties.$tMessageCloseAll=()=>sr(),e.config.globalProperties.$tNotify=t=>mr(t,e),e.config.globalProperties.$tNotifyCloseAll=()=>yr(),e.config.globalProperties.$tToast=t=>Tr(t,e),e.config.globalProperties.$tToastClose=()=>Za(),e.config.globalProperties.$tFlash=t=>Ja(t,e),e.config.globalProperties.$tFlashClose=()=>{0!=ct.length&&(ct.splice(0),ul?.destroy(),Ot.component.exposed.closeFlash())},e.config.globalProperties.$tAttentionDispatcher=t=>Dr(t,e),e.config.globalProperties.$tAttentionDispatcherClose=()=>{jt.component.exposed.closeDispatcher()}}},Mr={class:"loading-inner"},Er={key:0,class:"svg-icon spinner-full"},Lr={class:"desc"},en=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,u=C(!1),d=qe("loadFull"),c=e,p=l,v=C(!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)),q=m((()=>c.color||b.value.full.color)),x=m((()=>c.size||b.value.full.size)),k=m((()=>de("cpt-lodf",{...q.value&&{color:q.value},...x.value&&{size:x.value+"px"},...c.zIndex&&{zIndex:c.zIndex}}))),S=m((()=>c.desc?c.desc:V.value.i18n("common.loading"))),T=(e=!0)=>{e&&p("update:modelValue",!1),y.value?.(d),u.value=!1,c.dynamicRender&&oe.s(d+"_tiInst",(()=>{c.destroy?.()}),1e3)};return ce((()=>{H(f,(e=>{e?(u.value=!0,oe.c(d+"_ti"),h.value?.({owner:d,appendTo:c.appendTo,modelValue:!0,position:"fixed"})):T(!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),Me.el("#styleSpinners")||V.value.initSpinner()})),Tt((()=>{oe.c(d+"_ti"),oe.c(d+"_tiInst")})),Je((()=>{v.value=!0})),t({destroy:()=>T()}),(t,l)=>!v.value||e.dynamicRender?(r(),Y(vt,{key:0,to:e.appendTo,disabled:v.value||e.dynamicRender||!e.appendTo,fallback:"#app"},[ae(Se,{name:"fade"},{default:_((()=>[u.value||e.dynamicRender?ge((r(),g("div",{key:0,class:B(["tui-loading-full",""+(u.value?"loading-ani-on":"loading-ani-off")]),style:ie(k.value)},[s("div",Mr,[u.value||e.dynamicRender?(r(),g("i",Er)):w("",!0),s("div",Lr,F(S.value),1)])],6)),[[ke,u.value]]):w("",!0)])),_:1})],8,["to","disabled"])):w("",!0)}});let nt=null;const Wr=e=>{let t=null;return"string"==Re(e.appendTo)?t=Me.el(e.appendTo):"htmldivelement"==Re(e.appendTo)&&(t=e.appendTo),t||Me.el("#app")},jr=e=>({close:()=>ln(),update:(t={})=>tn(t,e)}),tn=(e={},t)=>{const{$tService:l,$tMask:a,$tMaskClose:i}=t.config.globalProperties;if(!nt){const e=document.createElement("div");nt={container:e,destroy:()=>{lt(null,e),nt=null},controller:jr(t),options:{},rootDom:null}}nt.options={...nt.options,...e},nt.rootDom=Wr(nt.options);const A=Ct(en,{...nt.options,modelValue:nt.options.modelValue??nt.options.visible??!0,destroy:nt.destroy,dynamicRender:!0,tuiService:l,tMask:a,tMaskClose:i,appendTo:null});lt(A,nt.container);const o=nt.container.firstElementChild||nt.container._vnode?.el;return o&&nt.rootDom&&o.parentNode!==nt.rootDom&&nt.rootDom.appendChild(o),nt.controller},ln=()=>{nt&&nt.container?._vnode?.component?.exposed?.destroy?.()},Gr={install(e){e.config.globalProperties.$tLoading=t=>tn(t,e),e.config.globalProperties.$tLoadingClose=()=>ln()}},an=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=C(!1),s=m((()=>A.modelValue));H(s,(e=>{ne((()=>{n.value=e}))}),{immediate:!0});const u=()=>{A.click?.()},d=m((()=>de("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 ce((()=>{})),t({destroy:()=>((e=!0)=>{e&&o("update:modelValue",!1),n.value=!1,oe.s("maskInst",(()=>{A.destroy?.()}),500)})()}),(t,l)=>(r(),Y(Se,{name:"fade",disabled:!e.transition},{default:_((()=>[!e.dynamicRender&&s.value||e.dynamicRender?ge((r(),g("div",{key:0,class:B(["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:u,style:ie(d.value)},null,6)),[[ke,e.dynamicRender&&n.value||!e.dynamicRender]]):w("",!0)])),_:1},8,["disabled"]))}});let tt=null;const Fr=(e,t)=>{const{$optFloaterTo:l}=t,a=e.appendTo||l.value;return Me.el(a)||Me.el("#tuiRoot")},Hr=e=>({close:e=>on(e),update:(t={})=>nn(t,e)}),nn=(e={},t)=>{const{$tService:l}=t.config.globalProperties,a=e.owner||e.source||null;if(!tt){const e=document.createElement("div"),l=()=>{lt(null,e),tt=null},i=Hr(t);tt={container:e,app:t,destroy:l,controller:i,owner:a,options:{},rootDom:null}}tt.owner=a,tt.options={...tt.options,...e},tt.rootDom=Fr(tt.options,l);const i=Ct(an,{...tt.options,modelValue:tt.options.modelValue??tt.options.visible??!0,tuiService:l,destroy:tt.destroy,dynamicRender:!0});lt(i,tt.container);const A=tt.container.firstElementChild||tt.container._vnode?.el;return A&&tt.rootDom&&A.parentNode!==tt.rootDom&&tt.rootDom.appendChild(A),tt.controller},on=(e=null)=>{!tt||e&&tt.owner&&e!==tt.owner||tt.container?._vnode?.component?.exposed?.destroy?.()},Qr={install(e){e.config.globalProperties.$tMask=t=>nn(t,e),e.config.globalProperties.$tMaskClose=e=>on(e)}},Ur=["id"],Yr=Object.assign({name:"TuiPopinst"},{__name:"popinst",props:{...El,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,...l}=a;return l})),{duration:o,appearance:n}=a.tuiService.$popoverConfig.value,u=m((()=>a.appearance||n)),d=C(!1),c=C(!1),p=C(null),v=()=>{let e=a.instances.findIndex((e=>e.component.props.id===a.id));l.index=e};H((()=>a.instances),(()=>{v()}),{deep:!0});const f=m((()=>de("cpt-pinst",{...a.zIndex&&{zIndex:a.zIndex},...a.popinstSize&&{size:a.popinstSize+"px"},x:l.x+"px",y:l.y+"px"})));return ce((()=>{const{offsetX:e,offsetY:t}=a.event;l.x=e,l.y=t,v(),d.value=!0,c.value=!0})),t({hide:()=>{c.value=!1,oe.c("leave-"+a.id)},updateIndex:v,closePopinst:(e,t=!1)=>{oe.c(a.id),a.destroy(t)}}),(t,i)=>(r(),g(J,null,[ae(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:p,style:ie(f.value),id:"popinst-"+t.id},null,14,Ur),[[ke,c.value]])])),_:1}),d.value?(r(),Y(it("popTip"==u.value&&Wl||"popInfo"==u.value&&Ll),xe({key:0},A.value,{id:t.id,defaultOn:!0,eventTarget:p.value}),{content:_((()=>[(r(),Y(it(a.component)))])),_:1},16,["id","eventTarget"])):w("",!0)],64))}}),St=Ve([]),Kr=(e,t)=>{const{autoClose:l=!0,duration:a=5e3,disabled:i=!1}=e;if(i)return;const{$tService:A}=t.config.globalProperties,{$popoverConfig:o}=A,n=e.event.target;let s=n;if(n){const{target:t,currentTarget:l}=e.event;if(t!=l)return}let r=null;const u=document.createElement("div"),d=qe("popInstDir");u.id=d+"_wrap",u.className="popinst-outer";const c=(t,l=!1)=>{const a=St.indexOf(r);if(-1==a)return;let i=!1;const A=()=>{i||(i=!0,t||St.splice(a,1),lt(null,u),s.contains(u)&&s.removeChild(u),Re(e.onClose).includes("function")&&e.onClose())};l?A():(r.component.exposed.hide(),setTimeout(A,500))};return St.length>=o.value.maxLength&&Xr(),r=Ct(Yr,{...e,id:d,destroy:c,tuiService:A,instances:St}),St.push(r),s.appendChild(u),lt(r,u),l&&oe.s(d+"_autoH",c,a),{destroy:c}},Xr=()=>{const e=St[0];e&&(e.component.exposed.closePopinst(null,!0),St.splice(0,1))},Zr=()=>{St.length>0&&(St.forEach(((e,t)=>{e.component.exposed.closePopinst(null,!0)})),St.length=0)},Jr={install(e){e.config.globalProperties.$tPopover=t=>Kr(t,e),e.config.globalProperties.$tPopoverCloaseAll=()=>{St.length>0&&(St.forEach(((e,t)=>{e.component.exposed.closePopinst(null,!0)})),St.length=0)}}},eA={class:"tui-control-panel",id:"controlPanel"},tA={class:"panel-title"},lA={class:"desc"},aA={class:"panel-content"},nA={class:"item-title"},oA={class:"item-content"},iA={class:"color-view"},sA=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:d,$deviceInfo:c,$gLang:p,$gLocaleReady:v}=ve("$global",null),f=m((()=>l.controlPanel.modal)),h=m((()=>l.controlPanel.width)),y=C(!1),V=C([]),b=[{label:"简中",value:"zh-CN"},{label:"繁中",value:"zh-TW"},{label:"EN",value:"en"}],q=b.map((e=>e.value)),x=()=>({lang:!1,langs:q,...l.controlPanel.options||{}}),k=()=>{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:k()},{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"}]}]},T=()=>{const e=l.controlPanel.extension;R.visibleItems=[],R.settings.forEach(((e,t)=>{let l=o.value[e.label];typeof l<"u"&&(e.value=l),e.hide||R.visibleItems.push(e.label)})),R.visibleItems=[...new Set(R.visibleItems)];let t=["label","type","value","title","tipContent"];e.forEach(((e,l)=>{if(t.every((t=>t in e))){if(!R.visibleItems.includes(e.label)){let t=o.value[e.label];typeof t<"u"&&(e.value=t),R.settings.push(e)}}else d("warning","controlExtension","warn.controlExtension")}))},$=()=>{let e=dl.loadIndex();e&&e.length>0&&(e.forEach((e=>{e.label=n(`theme.${e.value}`)+" - "+n(`theme.${e.scheme}`)})),z({label:"theme",key:"children",value:e}),1==e.length&&z({label:"theme",key:"hide",value:!0}))},R=Ve({visibleItems:[],settings:S(),drawerConfig:{direction:"rtl",padding:0,zIndex:3e3,showClose:!1}}),z=e=>{const{label:t,key:l,value:a}=e,i=R.settings.find((e=>e.label===t));i?i[l]=a:console.error(`Error: Item with label '${t}' not found.`)},O=()=>{const e=S(),t=new Set(e.map((e=>e.label))),l=new Map(R.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=R.settings.filter((e=>!t.has(e.label)));R.settings=[...e,...a],R.visibleItems=[]},N=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};H((()=>l.controlPanel.visible),(e=>{y.value=e,e&&(O(),T(),$())})),H((()=>l.adaptiveConfig.inited),(e=>{const t=!1!==x().adaptive;if(e)z({label:"adaptive",key:"hide",value:!t});else{if(l.adaptiveConfig.ready)return;z({label:"adaptive",key:"hide",value:!0})}}),{immediate:!0}),H((()=>l.globalConfig.adaptive),(e=>{const t=!1!==x().floaterTo;"disabled"!=e&&t?z({label:"floaterTo",key:"hide",value:!1}):(z({label:"floaterTo",key:"hide",value:!0}),V.value.forEach((e=>e.scrollTo(0,!1))))}),{immediate:!0}),H([()=>p.value,()=>v.value],(([,e])=>{e&&(O(),T(),$())}),{immediate:!0}),H((()=>c.value.browser),(e=>{const t=!1!==x().transition;z("webkit"==e&&t?{label:"transition",key:"hide",value:!1}:{label:"transition",key:"hide",value:!0})})),H((()=>a.value.inited),(e=>{const t=!1!==x().t3D;z(e&&t?{label:"t3D",key:"hide",value:!1}:{label:"t3D",key:"hide",value:!0})})),H((()=>y.value),(e=>{e||(l.controlPanel.visible=!1)}));const M=()=>{y.value=!1,l.controlPanel.visible=!1},P=e=>n(`controlPanel.tip.${e.label}`);return Bt((()=>{M()})),ce((()=>{t||z({label:"t3D",key:"hide",value:!0}),O(),T(),$()})),(e,t)=>{const a=ye("TuiPopTip"),i=ye("TuiRadioItem"),A=ye("TuiRadio"),o=ye("TuiVirtualScroller"),d=ye("TuiToggle"),c=ye("TuiDrawer");return r(),Y(c,xe({modelValue:y.value,"onUpdate:modelValue":t[0]||(t[0]=e=>y.value=e)},R.drawerConfig,{modal:f.value,size:h.value}),{default:_((()=>[s("div",eA,[s("div",tA,[s("span",lA,F(u(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",aA,[(r(!0),g(J,null,Ce(R.settings,((e,n)=>(r(),g(J,null,[e.hide?w("",!0):(r(),g("div",{key:0,class:B(`item-group group-${e.type}`)},[s("div",nA,[Pe(F(e.title||e.label)+" ",1),ae(a,{content:e.tipContent||P(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",oA,["theme"==e.type?(r(),Y(A,{key:0,class:"radio-theme",defaultIcon:!1,onChange:t=>N(t,e),modelValue:e.value,"onUpdate:modelValue":t=>e.value=t},{default:_((()=>[(r(!0),g(J,null,Ce(e.children,((e,l)=>(r(),Y(i,{value:e.value||e.label,key:e.label},{default:_((()=>[ae(a,{content:e.label,maxWidth:h.value-20,delay:500,zIndex:9e3},{default:_((()=>[s("div",iA,[t[3]||(t[3]=s("i",{class:"tui-icon ti-check"},null,-1)),(r(!0),g(J,null,Ce(e.colors,((e,t)=>(r(),g("div",{class:"color-item",style:ie(`background-color:${e}`),key:e.label},null,4)))),128))])])),_:2},1032,["content","maxWidth"])])),_:2},1032,["value"])))),128))])),_:2},1032,["onChange","modelValue","onUpdate:modelValue"])):w("",!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:_((()=>[ae(A,{size:"small",defaultIcon:!1,appearance:"button",onChange:t=>N(t,e),modelValue:e.value,"onUpdate:modelValue":t=>e.value=t},{default:_((()=>[(r(!0),g(J,null,Ce(e.children,((e,t)=>(r(),Y(i,{value:e.value||e.label,key:e.label},{default:_((()=>[Pe(F(e.label),1)])),_:2},1032,["value"])))),128))])),_:2},1032,["onChange","modelValue","onUpdate:modelValue"])])),_:2},1536)):w("",!0),e.children?.length<=2&&"radio"==e.type?(r(),Y(A,{key:2,size:"small",defaultIcon:!1,appearance:"button",onChange:t=>N(t,e),modelValue:e.value,"onUpdate:modelValue":t=>e.value=t},{default:_((()=>[(r(!0),g(J,null,Ce(e.children,((e,t)=>(r(),Y(i,{value:e.value||e.label,key:e.label},{default:_((()=>[Pe(F(e.label),1)])),_:2},1032,["value"])))),128))])),_:2},1032,["onChange","modelValue","onUpdate:modelValue"])):w("",!0),"switch"==e.type?(r(),Y(d,{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"])):w("",!0)])],2))],64)))),256))])])])),_:1},16,["modelValue","modal","size"])}}}),rA=e=>{const{chart:t,common:l,font:a,scifi:i}=e,{bg:A,bd:o}=l,{line:{weak:n,base:s,strong:r},bubble:{fc:u,bg:d,hlite:c},map:{fc:p,fc_hov:g,fc_act:v,bg:f,bd:m,bg_hov:h,bd_hov:y,bg_act:V,bd_act:b,glow:w,shadow:q},palette:C,visual:x}=t,{hlite:k,focus:S}=i,{weaker:B,weak:T,base:$,strong:R,stronger:z}=a;let O=We.scale(C,6,"lch"),_=We.scale(x,4,"lch");return JSON.stringify({color:O,textStyle:{},title:{textStyle:{color:$},subtextStyle:{color:T}},line:{label:{color:"inherit",textBorderColor:A,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:$},splitArea:{areaStyle:{color:[n,A]}},symbolSize:"7",symbol:"emptyCircle",markLine:{label:{color:"inherit",textBorderColor:A,textBorderWidth:5}},smooth:!0},bar:{itemStyle:{barBorderWidth:0,barBorderColor:n},markLine:{label:{color:"inherit",textBorderColor:A,textBorderWidth:5}}},pie:{itemStyle:{borderWidth:0,borderColor:A}},scatter:{label:{show:!0,color:u},emphasis:{labele:{fontWeight:"bold"}},itemStyle:{color:{type:"radial",x:.3,y:.3,r:.5,colorStops:[{offset:0,color:c},{offset:1,color:d}],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:$},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:O,label:{color:$}},map:{itemStyle:{areaColor:f,borderColor:m,borderWidth:.5},label:{color:$},emphasis:{itemStyle:{areaColor:h,borderColor:m,borderWidth:1},label:{color:$}}},geo:{scaleLimit:{min:.5,max:7},itemStyle:{areaColor:f,borderColor:m,shadowColor:q,shadowOffsetY:0,shadowBlur:5,borderWidth:.5},label:{show:!0,fontSize:12,color:p},emphasis:{itemStyle:{areaColor:h,borderColor:y,borderWidth:1},label:{fontSize:14,color:g}},select:{itemStyle:{areaColor:V,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:$},splitArea:{show:!1}},valueAxis:{nameTextStyle:{color:T},axisLine:{show:!0,lineStyle:{color:s}},axisTick:{show:!1,lineStyle:{color:n}},axisLabel:{show:!0,color:$},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:$},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:$},splitLine:{show:!1,lineStyle:{color:n}},splitArea:{show:!1}},toolbox:{iconStyle:{borderColor:$},emphasis:{iconStyle:{borderColor:R}}},legend:{y:"bottom",x:"center",textStyle:{color:$},itemStyle:{borderColor:"transparent",borderWidth:1,opacity:1}},tooltip:{backgroundColor:A,textStyle:{color:$},axisPointer:{lineStyle:{color:$,width:1},crossStyle:{color:$,width:1}}},timeline:{symbol:"circle",progress:{itemStyle:{color:k,borderColor:"white",borderWidth:0},lineStyle:{color:k,shadowColor:"rgba(0, 0, 0, 0)"}},lineStyle:{color:S,width:1,shadowColor:"rgba(0, 0, 0, 0)"},itemStyle:{color:S,borderColor:"white",borderWidth:0},controlStyle:{color:B,borderColor:"white",borderWidth:0},checkpointStyle:{symbol:"circle",color:k,borderColor:"white",borderWidth:0,shadowColor:"rgba(0, 0, 0, 0)"},label:{color:$},emphasis:{itemStyle:{color:S},controlStyle:{color:$,borderWidth:0},label:{color:R}}},visualMap:{color:_,textStyle:{color:$},zlevel:10}})};async function AA(e,t){if(t)try{const l=JSON.parse(rA(t));e.registerTheme("eTheme",l)}catch(e){console.error("registerEchartsTheme: Failed to register theme",e)}else console.warn("registerEchartsTheme: themePalette is required!")}const uA=async()=>{const e=dl.load();return e.length>0?e:(await import("@techui/themes/lightBlue"),dl.load()||[])};function sn(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]:sn(e[a],i,l)}return l}const dA=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)}))},cA=(e,t,l)=>{let a=At.dpc(l);const i=["common","button","input","tone","primary","success","info","warning","danger","emphasis"];for(let e in a)i.includes(e)&&dA(a[e]);let A=`color-scheme: ${e};${JSON.stringify(sn(a)).replace(/{|}|"/g,"").replace(/,--/g,";--")}`;al("Theme",t,`:root{${A}}`)},fA=(e={})=>{const{threshold:t=15,resetInterval:l=1e3,onTrigger:a=(()=>{})}=e,i=qe("clickWatch"),A=C(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 ce((()=>{Be.add(window,"contextmenu",n,i,!1,!1),Be.add(window,"touchstart",n,i,!1,!1)})),Tt((()=>{Be.remove(window,"contextmenu",i,!1,!1),Be.remove(window,"touchstart",i,!1,!1)})),{clickCount:A}},pA=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:d,$tPopoverCloaseAll:c,$tMask:p,$tMaskClose:v,$tLoading:f,$tLoadingClose:m,$tMessage:h,$tMessageCloseAll:y,$tNotify:V,$tNotifyCloseAll:b,$tToast:q,$tToastClose:x,$tFlash:k,$tFlashClose:S,$tAttentionDispatcher:T,$tAttentionDispatcherClose:$}}=Ue(),{$gVersion:R,$globalConfig:z,$globalState:O,$globalParams:_,$viewTrans:N,$gPlatform:M,$deviceInfo:P,$gMaskBlur:I,$gTheme:D,$gThemeScheme:E,initI18n:W,getSysLang:F,cryptoStore:j,initBG:L,resetBG:G,$gBackground:Y,resetAdaptiveConfig:Q,$adptInited:U,$gTransition:J,$gLocaleReady:K}=i;fA({threshold:19,resetInterval:200,onTrigger:()=>{Do()}});const Z=Da(),ee=Ol(),te=C(!1),le=C(!1),ie=C(!1),Ae=qe("provider");H((()=>a.globalConfig.theme),((e,t)=>{be(e)})),H((()=>D.value),(e=>{tl.replace(Me.el("body"),"theme-",e)}),{immediate:!0}),H((()=>E.value),(e=>{tl.replace(Me.el("body"),"theme-scheme-",e)}),{immediate:!0}),H((()=>a.globalConfig.maskBlur),(e=>{tl.replace(Me.el("body"),"mask-",e?"blur":"trans")}),{immediate:!0}),H((()=>a.globalConfig.adaptive),(e=>{"disabled"!=e||!U.value||Q()}),{immediate:!0}),H((()=>a.globalConfig),(e=>{j.s("local","globalConfig",e)}),{deep:!0}),H((()=>Y.value),(e=>{ie.value&&("none"!=e?L(null,"watch-$gBackground"):G())})),H((()=>a.backgroundConfig),(()=>{"none"!=Y.value&&L(null,"watch-backgroundConfig")}),{deep:!0});const oe=async()=>{le.value||!ie.value||(Q(),le.value=!0,await ne(),le.value=!1)},se=()=>{window.location.reload()};window.softReload=oe,window.hardReload=se;const re=()=>{const{type:e,h:t,v:l,touchable:i,orientation:A,screenInvert:o,browser:n}=kn();a.deviceInfo={type:e,resolutionH:t,resolutionV:l,touchable:i,orientation:A,screenInvert:o,browser:n}},ue=(e,t="push")=>{const l={...ee.query,...e};"push"===t?Z.push({query:l}):Z.replace({query:l})},pe=e=>e?Array.isArray(e)?e.reduce(((e,t)=>(e[t]=ee.query[t],e)),{}):ee.query[e]:ee.query,ve=e=>{const t=e?.meta?.order;return"number"==Re(t)?t:-1},fe=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=N.value.altNames.layout),he(l,a||e,i)}if(A){const t=Z.currentRoute.value,l=ve(t),a=Z.resolve(e),i=ve(a);if(l>-1&&i>-1){const{altNames:{routerPre:e,routerNxt:t}}=N.value;i>l?he(null,t):i<l&&he(null,e)}}await ne();const s=o?Sn():null;Kl({callback:async()=>{await Z.push({path:e,query:t}),await ne(),o&&await s},enable:J.value,complete:()=>{he()}})},me=async(e,t)=>{!e||!t||(he("root",N.value.altNames.theme),await ne(),Kl({callback:()=>{a.globalConfig.theme=e,a.globalConfig.themeScheme=t},enable:!0,complete:()=>{he()}}))},he=(e=null,t=null,l=null)=>{t&&(N.value.curName=t),e&&(N.value.curTarget=e),l&&(N.value.curDur=l),!t&&!e&&!l&&(N.value.curName=N.value.altNames.common,N.value.curTarget=N.value.altTarget,N.value.curDur=N.value.altDur),Ve()},Ve=()=>{const{blurSaturate:e,blurRange:t,initDur:l}=_.value,{curTarget:a,curName:i,curDur:A}=N.value;let o=de("tui-global",{[`transi-${a}`]:i,"blur-satur":e,"blur-range":t+"px","init-dur":l+"s","transi-dur":A+"s"});al("GlobalParams",`vtName-${i};vtTraget-${a}`,`:root{${o}}`)},be=async e=>{n&&(O.value.echartsThemeInited=!1);let t=e,l=await uA(),i=l.find((e=>e.value===t));!i&&l.length>0&&(i=l[0],t=i.value,z.value.theme=i.value,z.value.themeScheme=i.scheme),a.themePalette=i.data,cA(E.value,t,i.data),ie.value||(ie.value=!0,O.value.themeInited=!0),L(null,"processTheme"),(async e=>{n&&A&&(await AA(A,e),O.value.echartsThemeInited=!0)})(i.data)};Bt((async()=>{Ke("$global",{$tBus:l,proxy:t,updateRouteQuery:ue,getRouteQuery:pe,routerTransition:fe,themeToggle:me,...i,softReload:oe,hardReload:se,$tBus:l,$tState:a,$tService:i,$echarts:A,isActAdvFeatures:o,isActEchartsFeatures:n,isActAdminFeatures:s,$tPopover:d,$tPopoverCloaseAll:c,$tMask:p,$tMaskClose:v,$tLoading:f,$tLoadingClose:m,$tMessage:h,$tMessageCloseAll:y,$tNotify:V,$tNotifyCloseAll:b,$tToast:q,$tToastClose:x,$tFlash:k,$tFlashClose:S,$tAttentionDispatcher:T,$tAttentionDispatcherClose:$});let e=j.g("local","globalConfig");e&&(e.platform==M.value&&e.version==R.value?a.globalConfig=e:j.d("local","globalConfig")),z.value.lang||(z.value.lang=F()),await W(),be(D.value)}));const we=e=>{"F11"===e.key&&(e.preventDefault(),Yl.toggle()),"Escape"===e.key&&O.value.escCounter++},Ce=e=>{O.value.clickCounter++,O.value.clickTarget=e.target};ce((()=>{Ve();let e=Me.el("#preLoading");e&&e.remove(),screen.orientation&&screen.orientation.addEventListener("change",re),Be.add(document,"keydown",we,Ae,!1,!1),Be.add(document,"click",Ce,Ae,!1,!1),Be.add(document,"contextmenu",Ce,Ae,!1,!1),te.value=!0})),Tt((()=>{screen.orientation.removeEventListener("change",re),Be.remove(document,"keydown",Ae,!1,!1),Be.remove(document,"click",Ae,!1,!1),Be.remove(document,"contextmenu",Ae,!1,!1)}));const xe=e=>{re(),O.value.fullScreen=Yl.isEnabled(),O.value.resizeCounter++};return(e,t)=>{const l=ye("TuiControlPanel"),a=_e("tui-resize");return!le.value&&ie.value?ge((r(),g("div",{key:0,id:"tuiRoot",class:B(["tui-root",`theme-${u(D)}`,`theme-scheme-${u(E)}`,"mask-"+(u(I)?"blur":"trans"),u(P).type,u(P).orientation&&`screen-dir-${u(P).orientation}`,"screen-"+(u(P).screenInvert?"invert":"no-invert"),{"tui-view-bg":"view"==u(Y),"tui-root-bg":"root"==u(Y)||"all"==u(Y)}])},[ae(l),X(e.$slots,"default")],2)),[[a,{callback:xe,uid:u(Ae)}]]):w("",!0)}}}),gA={key:0,class:"tui-adpt-popup"},hA={class:"popup-text"},vA={class:"tui-adpt-drag-inner"},mA={class:"info-text"},yA=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}=ve("$global",null),o=e,n=t,d=C(!1),c=C(!0),p=C(!1),v=e=>{e||i.value.dragTip?(i.value.dragTip=!1,oe.s("adptDragInfoPre",(()=>{d.value=!0,!o.tipMute&&!e&&(a.value&&A.play("pingA"),oe.s("adptDragInfo",(()=>{f()}),4e3))}),e?1e3:500)):a.value&&A.play("pingA")},f=()=>{oe.c("adptDragInfo"),d.value=!1};H((()=>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 ce((()=>{c.value=!1})),Je((()=>{c.value=!0,oe.c("adptDragInfo"),oe.c("adptDragInfoPre")})),(t,a)=>{const i=ye("TuiToggle");return c.value?w("",!0):(r(),Y(vt,{key:0,to:"#tuiRoot",fallback:"#app",disabled:c.value},[ae(Se,{name:"fade"},{default:_((()=>[e.visible?(r(),g("div",{key:0,class:"tui-adpt-drag-info",style:ie(e.css)},[ae(Se,{name:"fade-inner"},{default:_((()=>[d.value?(r(),g("div",gA,[s("div",hA,F(u(l)("adaptive.dragTip")),1)])):w("",!0)])),_:1}),s("div",vA,[s("i",{onMouseenter:v,onMouseleave:f,class:"tui-icon ti-info"},null,32),ae(i,xe({onChange:h,modelValue:p.value,"onUpdate:modelValue":a[0]||(a[0]=e=>p.value=e)},m),null,16,["modelValue"]),s("span",mA,F(u(l)("adaptive.dragText")),1)])],4)):w("",!0)])),_:1})],8,["disabled"]))}}}),VA={class:"tui-low-res-tip"},bA={class:"text"},wA=Object.assign({name:"TuiAdptLowResTip"},{__name:"lowResTip",emits:["closeLowResTip"],setup(e,{emit:t}){const{i18n:l}=ve("$global",null),a=t,i=()=>{a("closeLowResTip")};return(e,t)=>{const a=_e("tui-popover");return r(),Y(Se,{name:"fade"},{default:_((()=>[s("div",VA,[t[0]||(t[0]=s("i",{class:"tui-icon ti-info-circle tui-info-icon"},null,-1)),ge((r(),g("span",bA,[Pe(F(u(l)("adaptive.lowResText")),1)])),[[a,{content:u(l)("adaptive.lowResTip"),placement:"top",delay:1e3,maxWidth:300}]]),s("i",{class:"tui-icon ti-times",onClick:i})])])),_:1})}}}),qA={key:1,class:"tui-terminate-tip"},CA="TuiAdaptive",$A=Object.assign({name:CA,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:d,$gAdaptive:c,initSpinner:p,resetAdaptiveConfig:v,i18n:f,tConsolei18n:h}=ve("$global",null),y=ut(),V=e,b=t,q=qe("adaptive"),x=C(null),k=C(null),S=C(null),T=C(V.loading),$=C(null),R=C(null),z=m((()=>R.value?.includes("pc"))),O=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:_,inited:N}=Oe(O),M=m((()=>wt("cpt-adpt-penetra",{...O.penetraDomInfo.width&&{width:O.penetraDomInfo.width+"px"},...O.penetraDomInfo.height&&{height:O.penetraDomInfo.height+"px"}}))),P=m((()=>wt("cpt-browser",{...$.value&&{ratio:$.value}}))),I=async()=>{const e=window.devicePixelRatio;if(O.oriResRatio||(O.oriResRatio=e),!x.value||"disabled"==c.value)return b("resizeEnd"),void(O.resizing=!1);const t=(window.outerWidth/window.innerWidth).toFixed(1);let a;a=window.mozInnerScreenX?O.oriResRatio==e?1:e:1==e||t<1.02&&t>.99?1:e;const i=n.value.type;i&&(R.value=i);const A=1!=a&&z.value&&V.monitorRatio;if(A){$.value=a;const e=Me.el("#styleAdaptive");if(e&&e.dataset.info==c.value)return O.dragable||(O.dragable=!0,O.lowResolution=!1),b("resizeEnd"),void(O.resizing=!1)}else O.dragable=!1,O.clickable=!1;if(!O.dragable){let e=x.value,t={apWidth:e.clientWidth,apHeight:e.clientHeight,cfgWidth:V.width,cfgHeight:V.height,mode:c.value},l=_o(t);const{classExtend:a,overSizeH:i,staWidth:A,staHeight:o,scale:n,scaleX:s,scaleY:r,translateX:u,translateY:d,cssHeight:p,alpha:g,delta:v,success:m}=l;O.calcSuccess=m,m||(O.terminateServiceStr=f("error.terminateService"));const h={scale:(n-.02)/v,scaleX:(s-.02)/v,scaleY:(r-.02)/v};"stretch"!=c.value&&!O.dragable&&0!=h.scale&&h.scale<1?O.lowResolution=!0:O.lowResolution=!1,Yt.adpt.init(h),O.cssvar=`--cfa:${A}; --cfb:${p}; --cfn:${v}; --cfm:${g}; --cfc:${n}; --cfd:${s}; --cfe:${r}; --cff:${u}; --cfg:${d};`,al("Adaptive",c.value,`:root{${O.cssvar}}`)}A&&!O.dragable&&(O.dragable=!0),O.inited||(O.inited=!0),await ne(),b("resizeEnd"),O.resizing=!1,!s.value&&Me.el("#tuiAdpt")&&(l.adaptiveConfig.inited=!0),O.curType=c.value,!O.dragable&&y.penetration&&W()},D=()=>{b("resizeStart"),O.resizing=!0,oe.s(q+"_debo",I,500)},E=()=>{O.dragable||l.adaptiveConfig.resizeCounter++};H((()=>i.value),(e=>{e>=V.portletCount?(T.value=!1,b("update:loading",!1)):T.value||(T.value=!0)})),H((()=>V.loading),(e=>{T.value!=e&&(T.value=e)}),{immediate:!0}),H((()=>V.adaptiveType),(e=>{l.globalConfig.adaptive=e}),{immediate:!0}),H((()=>c.value),(e=>{b("update:adaptiveType",e),"disabled"!=e&&D()}),{immediate:!0}),H((()=>S.value),(e=>{W()})),H((()=>A.value),(e=>{e&&D()}));const W=async()=>{await ne();let e=S.value;e&&(O.penetraDomInfo=Tn({source:k.value,target:e})),console.log("element-------",e,O.penetraDomInfo,O.resizing)},j=()=>{O.disLowResolTip=!0};return ce((()=>{x.value.closest("#tuiAdpt")?h("error","adaptiveNesting","error.adaptiveNesting"):(V.portletCount>0?T.value=!0:V.loading&&(T.value=V.loading),(!Me.el("#styleSpinners")||V.spinnerConfig)&&p(V.spinnerConfig),d.value||ne((()=>{l.adaptiveConfig.ready=!0})),D())})),Je((()=>{O.dragable=!1,O.clickable=!1,O.lowResolution=!1,l.adaptiveConfig.ready=!1,v()})),(t,l)=>{const a=ye("TuiLoadingFull"),i=_e("tui-resize"),A=_e("tui-drag");return r(),g(J,null,[ge((r(),g("div",xe({id:"tuiAdptOuter"},t.$attrs,{class:["tui-adaptive",e.className,""+(u(_).maximize?"tui-adpt-size-max":"tui-adpt-size-nor"),`tui-adpt-${O.curType}`,`tui-pevent-${e.pointEvent}`,{"has-penetration":t.$slots.penetration,"is-disabled":"disabled"==u(c),"is-resizing":O.resizing,"is-dragable":O.dragable&&!O.clickable,"is-clickable":O.clickable,"is-low-resolution":O.lowResolution,"is-initing":!O.inited}],ref_key:"apElement",ref:x}),[O.lowResolution&&!O.disLowResolTip?(r(),Y(wA,{key:0,onCloseLowResTip:j})):w("",!0),O.calcSuccess?w("",!0):(r(),g("div",qA,F(O.terminateServiceStr),1)),ae(a,{appendTo:"#tuiAdptOuter",modelValue:T.value,"onUpdate:modelValue":l[0]||(l[0]=e=>T.value=e)},null,8,["modelValue"]),(u(N)||"disabled"==u(c))&&O.calcSuccess?(r(),g(J,{key:2},[ge((r(),g("div",{ref_key:"apContainer",ref:k,id:"tuiAdpt",class:B(["tui-adpt-container",{"tui-view-bg":"all"==u(o)&&!t.$slots.penetration,"show-shadow":e.shadow&&!t.$slots.penetration,"dis-user-select":!e.userSelect}])},[X(t.$slots,"default",{viewState:u(_)})],2)),[[i,{callback:E,uid:u(q)}]]),t.$slots.penetration?(r(),g("div",{key:0,id:"tuiAdptPenetration",ref_key:"adptPenetration",ref:S,class:B(["tui-adpt-penetration",{"tui-view-bg":"all"==u(o)&&t.$slots.penetration,"show-shadow":e.shadow&&t.$slots.penetration,"dis-user-select":!e.userSelect}]),style:ie(M.value)},[X(t.$slots,"penetration",{viewBGName:"tui-view-bg"})],6)):w("",!0)],64)):w("",!0)],16)),[[A,{enabled:O.dragable,trigger:"#tuiAdpt",resetOnDisable:!0,containment:!1,positionType:"transform",inAdpt:!1,uid:u(q)}]]),ae(yA,{visible:O.dragable,modelValue:O.clickable,"onUpdate:modelValue":l[1]||(l[1]=e=>O.clickable=e),css:P.value,tipAutoShow:e.tipAutoShow,tipMute:e.tipMute},null,8,["visible","modelValue","css","tipAutoShow","tipMute"])],64)}}}),kA=["onMouseenter","onClick"],SA=Object.assign({name:"TuiBar3DGroup"},{__name:"group",props:{gap:Number,labelWidth:Number,items:{type:Array,default:[],validator:e=>{const{valid:t,message:l}=bt.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=C([]),A=C(0),o=C([]),n=C(null),s=e=>!!l.queueInit&&e!==A.value,u=e=>{o.value.push(e),A.value<l.items.length-1&&A.value++},d=m((()=>({valueSize:l.valueSize,...l.progress3DBarConfig}))),c=m((()=>wt("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=ye("TuiBar3D");return r(),g("div",{class:B(["tui-percent-3d-bar-group",{"has-label":!1,"is-clickable":e.clickable}]),style:ie(c.value)},[(r(!0),g(J,null,Ce(e.items,((e,t)=>(r(),g("div",{class:"tui-ppg-item",key:e.id||e.label||t,style:ie({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)},[ae(o,xe({ref_for:!0,ref_key:"childRefs",ref:i},{ref_for:!0},d.value,{initHold:s(t),onInited:u,label:e.label,value:e.value}),null,16,["initHold","label","value"])],44,kA)))),128))],6)}}}),rn=["normal","success","danger","warning","emphasis","critical"],TA=["cylinder","cube"],BA=["none","auto","all","allReverse"],xA=["auto","top"],PA=["self","global","none"],RA=["bottom","top","left","right"],cl=e=>null==e||CSS.supports("color",e),zA=e=>!(!e||"object"!=typeof e||!Object.keys(e).some((e=>rn.includes(e))))&&Object.values(e).every((e=>"number"==typeof e&&!Number.isNaN(e)&&e>=0)),An={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=>BA.includes(e)},mainValuePosition:{type:String,default:"auto",validator:e=>xA.includes(e)},shape:{type:String,default:"cylinder",validator:e=>TA.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:cl},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=>rn.includes(e)},thresholds:{type:Object,default:null,validator:zA},resizeObserver:{type:String,default:"global",validator:e=>PA.includes(e)}},IA={...An,value:{type:Number,default:0,validator:e=>e>=0},maxValue:{type:Number,default:null,validator:e=>e>=0},barColor:{type:String,default:null,validator:cl},baseColor:{type:String,default:null,validator:cl}},NA=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&&!cl(e.color)))),DA={...An,segments:{type:Array,default:()=>[],validator:NA},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=>RA.includes(e)},legendTeleportTo:{type:[String,Object],default:null},legendWidth:[Number,String]},va={top:{cx:null,cy:null,rx:null,ry:null},sideA:null,sideB:null,body:null,success:!1},fl=()=>({normal:null,success:null,danger:null,warning:null,emphasis:null,critical:null,custom:null}),jl=({value:e,maxValue:t})=>t&&t>0?e/t*100:e<=100?e:100,un=({displayValue:e,precision:t,aniPct:l,aniVal:a,maxValue:i,unit:A,dustSettled:o})=>{let n,s,r,u,d,c;if("none"===e)return{mainVal:n,mainUnit:s,subVal:r,subUnit:u};if(t){const e=parseFloat(Number(l).toFixed(t)),i=parseFloat(Number(a).toFixed(t));c=o?e:Fe.padZero(e,t),d=o?i:Fe.padZero(i,t)}else c=Math.round(l),d=Math.round(a);return i&&A&&"auto"!==e?"all"===e?(n=d,s=A,r=c,u="%"):"allReverse"===e&&(r=d,u=A,n=c,s="%"):i&&A?(n=d,s=A):(n=c,s="%"),{mainVal:n,mainUnit:s,subVal:r,subUnit:u}},Gt=({shape:e,width:t,height:l,topMargin:a,maxHeight:i,percent:A,viewDeep:o})=>{const n=Oo(e,t,l,a,i,A,o);return n.success?n:{...va,top:{...va.top}}},_A=({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"},dn=({settled:e,customBarColor:t,explicitStatus:l,thresholds:a,currentValue:i,fallbackStatus:A})=>!!e&&(t?"custom":l||(a?_A({thresholds:a,value:i}):A||!1)),xl=e=>{Object.keys(e).forEach((t=>{e[t]=null}))},OA=({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(),u=()=>{const d=Date.now()-r,c=Math.min(d/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(u):(e.value=o,l.dustSettled=!0,i.value||(i.value=!0,A("inited",a.index)))};requestAnimationFrame(u)},ma=({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,u=t.value,d=A-r,c=i-u,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+d*m,t.value=u+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)},MA=({segments:e,aniPct:t,maxValue:l,maxHeight:a,shape:i,width:A,height:o,topMargin:n,viewDeep:s,colorRatio:r,palette:u,gap:d=0})=>{let c=0,p=0,g=0;return(e||[]).map(((e,v)=>{const f=jl({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*d),b=e?.color||u[v%u.length]||"#5aa6ff",w=We.genColors(b,3,r,!1),q=Gt({shape:i,width:A,height:o,topMargin:n,maxHeight:a,percent:h,viewDeep:s}),C={...e,index:v,rawPercent:f,visiblePercent:h,visibleHeight:y,translateY:V,baseColor:b,colors:w,path:q,visible:h>0};return c+=f,h>0&&(p+=y,g+=1),C}))},EA={class:"tui-svg-inner"},LA=["width","height","viewBox"],WA=["id"],jA=["id"],GA=["id"],FA=["id"],HA=["id"],QA={key:0},UA=["id"],YA=["id"],KA=["id"],XA=["id"],ZA={key:1},JA=["id"],eu=["id"],tu=["id"],lu=["id"],au={key:2},nu=["id","points"],ou=["id","points"],iu=["id"],su=["href"],ru={key:3},Au=["id","d"],uu=["id"],du=["href"],cu=["id"],fu=["stdDeviation"],pu=["id"],gu=["stdDeviation"],hu=["id"],vu=["stdDeviation"],mu=["opacity","filter"],yu=["d","fill"],Vu=["cx","cy","rx","ry","fill"],bu=["points","fill"],wu=["points","fill"],qu=["points","fill"],Cu=["opacity","filter"],$u=["href","fill"],ku=["cx","cy","rx","ry","fill"],Su=["href","fill"],Tu=["href","fill"],Bu=["points","fill"],xu=["x","y","width","height","fill","clip-path"],Pu=["x"],Ru=["opacity","filter"],zu=["d","fill"],Iu=["cx","cy","rx","ry","fill"],Nu=["points","fill"],Du=["points","fill"],_u=["points","fill"],Ou={class:"tui-value"},Mu={class:"tui-unit"},Eu={class:"tui-bar3d-label"},Lu={key:0,class:"tui-isubval"},Wu={class:"tui-val"},ju={class:"tui-unit"},Gu={class:"tui-ilabel"},Fu="TuiBar3D",Hu=Object.assign({name:Fu},{__name:"index",props:IA,emits:["inited"],setup(e,{expose:t,emit:l}){const{$themePalette:a,$gThemeScheme:i,$optResizeCounter:A,initResizeBy:o}=ve("$global",null),n=o(),d=e,c=l,p=qe("bar3D"),v=C(!1),f=C(!1),h=C(!1),y=C(!1),V=C(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}}),q=C(0),x=C(0),k=C("normal"),S=m((()=>jl({value:d.value,maxValue:d.maxValue}))),T=m((()=>{const e=parseInt(d.iconsSymbol,16);return String.fromCharCode(e)})),$=m((()=>un({displayValue:d.displayValue,precision:d.precision,aniPct:q.value,aniVal:x.value,maxValue:d.maxValue,unit:d.unit,dustSettled:b.dustSettled}))),R=m((()=>(q.value<=100?q.value:100)/100*(b.height-(d.showTrack?d.gap:10)-50))),z=m((()=>{if(!d.showTrack)return;const e=.1*b.width,t=b.height-.1*b.width*2;return Gt({shape:d.shape,width:b.width,height:b.height,topMargin:e,maxHeight:t,percent:100,viewDeep:d.viewDeep})})),O=m((()=>{if(!d.showBase)return;const e=d.baseSpacing/b.width,t=.1*b.width+.05*b.height-4,l=b.height-.1*b.width*2;return Gt({shape:d.shape,width:b.width+2*d.baseSpacing,height:b.height,topMargin:t,maxHeight:l,percent:5,viewDeep:d.viewDeep+d.viewDeep*e*2})})),N=m((()=>{const e=d.showTrack?d.gap:0,t=e/b.width,l=b.width-e,a=b.height-e*(d.showBase?.8:1),i=.1*l+a*t*.05,A=a-.1*l*2;return Gt({shape:d.shape,width:l,height:a,topMargin:i,maxHeight:A,percent:q.value<=100?q.value:100,viewDeep:d.viewDeep-d.viewDeep*t})})),M=OA({aniPct:q,aniVal:x,state:b,props:d,debut:h,emit:c});H((()=>[d.value,d.initHold]),(()=>{d.initHold||M(S.value)})),H((()=>A.value),((e,t)=>{if("root"!=n.value(d.resizeObserver))return;const{clientWidth:l,clientHeight:a}=V.value;e>t&&P({width:l,height:a})}));const P=async({width:e,height:t})=>{y.value=!0,b.width=e,b.height=t,v.value||(v.value=!0),await ne(),setTimeout((()=>{y.value=!1}),500)};H((()=>[d.barColorRatio,d.barColor]),(()=>{I("bar")})),H((()=>[d.baseColorRatio,d.baseColor]),(()=>{I("base")}));const I=e=>{"bar"===e?xl(b.barColorGroup):"base"===e&&xl(b.baseColorGroup)},D=m((()=>{const e=dn({settled:b.dustSettled,customBarColor:d.barColor,explicitStatus:d.status,thresholds:d.thresholds,currentValue:x.value,fallbackStatus:k.value});return e&&"custom"!==e&&(k.value=e),e})),E=m((()=>{const e=!!d.barColor&&"custom",t=D.value||e||d.status||k.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=d.barColor;let A,o=null;if(l){if(b.barColorGroup[t]?A=b.barColorGroup[t]:(A=We.genColors(l,3,d.barColorRatio,!1),b.barColorGroup[t]=A),d.showBase&&!d.baseColorWeakened)if(b.baseColorGroup[t])o=b.baseColorGroup[t];else{if(d.baseColor)o=We.genColors(d.baseColor,3,d.barColorRatio/1.5,!1);else{const e=We.darken(l,d.baseColorRatio);o=We.genColors(e,3,d.barColorRatio/1.5,!1)}b.baseColorGroup[t]=o}return{bar:A,base:o}}})),W=m((()=>b.height-R.value-50-.1*d.viewDeep)),j=m((()=>{const e=E.value||{};return wt("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]},...d.valueSize&&{valsize:d.valueSize+"px"},...d.gap&&d.showTrack&&{gapfix:d.gap/2+"px"},...d.baseSpacing&&{basefix:-d.baseSpacing+"px"},valtop:W.value+"px",viewdeep:d.viewDeep/(d.showBase?1:1.6)+"px"})}));return ce((()=>{f.value=!0,d.value&&!d.initHold&&oe.s("pgsPool3D"+p,(()=>{M(S.value)}),d.aniDelay)})),t({inited:v.value&&h.value}),(e,t)=>{const l=ye("TuiTextTip"),a=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["tui-progress-3d-bar",`is-${D.value||k.value}`]),style:ie(j.value)},[ge((r(),g("div",{class:"tui-svg-wrap",ref_key:"svgWrapRef",ref:V},[s("div",EA,[ae(Se,{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_${u(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,WA),s("linearGradient",{class:"tui-grad-shine",id:`gradShine_${u(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,jA),s("linearGradient",{class:"tui-grad-bar-cyde",id:`gradBarCyde_${u(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,GA),s("linearGradient",{class:"tui-grad-bar-cubeSA",id:`gradBarCubeSA_${u(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,FA),s("linearGradient",{class:"tui-grad-bar-cubeSB",id:`gradBarCubeSB_${u(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,HA),e.showTrack?(r(),g("g",QA,[s("radialGradient",{class:"tui-grad-trk-top",id:`gradTrkTop_${u(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,UA),s("linearGradient",{class:"tui-grad-trk-cyde",id:`gradTrkCyde_${u(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,YA),s("linearGradient",{class:"tui-grad-trk-cubeSA",id:`gradTrkCubeSA_${u(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,KA),s("linearGradient",{class:"tui-grad-trk-cubeSB",id:`gradTrkCubeSB_${u(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[8]||(t[8]=[s("stop",{offset:"0%"},null,-1)])],8,XA)])):w("",!0),e.showBase?(r(),g("g",ZA,[s("linearGradient",{class:B(["tui-grad-bas-cubeSA",{"is-weakened":d.baseColorWeakened}]),id:`gradBasCubeSA_${u(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,JA),s("radialGradient",{class:B(["tui-grad-bas-top",{"is-weakened":d.baseColorWeakened}]),id:`gradBasTop_${u(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,eu),s("linearGradient",{class:B(["tui-grad-bas-cyde",{"is-weakened":d.baseColorWeakened}]),id:`gradBasCyde_${u(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,tu),s("linearGradient",{class:B(["tui-grad-bas-cubeSB",{"is-weakened":d.baseColorWeakened}]),id:`gradBasCubeSB_${u(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[12]||(t[12]=[s("stop",{offset:"0%"},null,-1)])],10,lu)])):w("",!0),"cube"===e.shape?(r(),g("g",au,[s("polygon",{id:`shapeCubeSA_${u(p)}`,points:N.value.sideA},null,8,nu),s("polygon",{id:`shapeCubeSB_${u(p)}`,points:N.value.sideB},null,8,ou),s("clipPath",{id:`shapeClip_${u(p)}`},[s("use",{href:`#shapeCubeSA_${u(p)}`},null,8,su)],8,iu)])):(r(),g("g",ru,[s("path",{id:`shapeCyde_${u(p)}`,d:N.value.body},null,8,Au),s("clipPath",{id:`shapeClip_${u(p)}`},[s("use",{href:`#shapeCyde_${u(p)}`},null,8,du)],8,uu)])),e.showTrack?(r(),g("filter",{key:4,id:`blurTrk_${u(p)}`},[s("feGaussianBlur",{in:"SourceGraphic",stdDeviation:d.trackBlur},null,8,fu)],8,cu)):w("",!0),e.showBase?(r(),g("filter",{key:5,id:`blurBas_${u(p)}`},[s("feGaussianBlur",{in:"SourceGraphic",stdDeviation:d.baseBlur},null,8,gu)],8,pu)):w("",!0),s("filter",{id:`blurBar_${u(p)}`},[s("feGaussianBlur",{in:"SourceGraphic",stdDeviation:d.barBlur},null,8,vu)],8,hu)]),e.showBase?(r(),g("g",{key:0,class:"tui-bar-base",opacity:e.baseOpacity,filter:`url(#blurBas_${u(p)})`},["cylinder"===e.shape?(r(),g(J,{key:0},[s("path",{d:O.value.body,fill:`url(#gradBasCyde_${u(p)})`,stroke:"none"},null,8,yu),s("ellipse",{cx:O.value.top.cx,cy:O.value.top.cy,rx:O.value.top.rx,ry:O.value.top.ry,fill:`url(#gradBasTop_${u(p)})`,stroke:"none"},null,8,Vu)],64)):(r(),g(J,{key:1},[s("polygon",{points:O.value.sideA,fill:`url(#gradBasCubeSA_${u(p)})`,stroke:"none"},null,8,bu),s("polygon",{points:O.value.sideB,fill:`url(#gradBasCubeSB_${u(p)})`,stroke:"none"},null,8,wu),s("polygon",{points:O.value.top,fill:`url(#gradBasTop_${u(p)})`,stroke:"none"},null,8,qu)],64))],8,mu)):w("",!0),s("g",{class:"tui-bar-ani tui-bar-ele",opacity:e.barOpacity,filter:`url(#blurBar_${u(p)})`},["cylinder"===e.shape?(r(),g(J,{key:0},[q.value>0?(r(),g("use",{key:0,href:`#shapeCyde_${u(p)}`,fill:`url(#gradBarCyde_${u(p)})`,stroke:"none"},null,8,$u)):w("",!0),q.value>0?(r(),g("ellipse",{key:1,cx:N.value.top.cx,cy:N.value.top.cy,rx:N.value.top.rx,ry:N.value.top.ry,fill:`url(#gradBarTop_${u(p)})`,stroke:"none",class:"tui-bar-top"},null,8,ku)):w("",!0)],64)):(r(),g(J,{key:1},[q.value>0?(r(),g("use",{key:0,href:`#shapeCubeSA_${u(p)}`,fill:`url(#gradBarCubeSA_${u(p)})`,stroke:"none"},null,8,Su)):w("",!0),q.value>0?(r(),g("use",{key:1,href:`#shapeCubeSB_${u(p)}`,fill:`url(#gradBarCubeSB_${u(p)})`,stroke:"none"},null,8,Tu)):w("",!0),q.value>0?(r(),g("polygon",{key:2,points:N.value.top,fill:`url(#gradBarTop_${u(p)})`,stroke:"none",class:"tui-bar-top"},null,8,Bu)):w("",!0)],64)),q.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_${u(p)})`,stroke:"none","clip-path":`url(#shapeClip_${u(p)})`,rx:"2",ry:"2"},null,8,xu)):w("",!0)],8,Cu),e.iconsSymbol?(r(),g("text",{key:1,x:b.width/2,"text-anchor":"middle",class:"tui-icon tui-icon-in-svg"},F(T.value),9,Pu)):w("",!0),e.showTrack?(r(),g("g",{key:2,class:"tui-bar-trk",opacity:e.trackOpacity,filter:`url(#blurTrk_${u(p)})`},["cylinder"===e.shape?(r(),g(J,{key:0},[s("path",{d:z.value.body,fill:`url(#gradTrkCyde_${u(p)})`,stroke:"none"},null,8,zu),s("ellipse",{cx:z.value.top.cx,cy:z.value.top.cy,rx:z.value.top.rx,ry:z.value.top.ry,fill:`url(#gradTrkTop_${u(p)})`,stroke:"none"},null,8,Iu)],64)):(r(),g(J,{key:1},[s("polygon",{points:z.value.sideA,fill:`url(#gradTrkCubeSA_${u(p)})`,stroke:"none"},null,8,Nu),s("polygon",{points:z.value.sideB,fill:`url(#gradTrkCubeSB_${u(p)})`,stroke:"none"},null,8,Du),s("polygon",{points:z.value.top,fill:`url(#gradTrkTop_${u(p)})`,stroke:"none"},null,8,_u)],64))],8,Ru)):w("",!0)],8,LA)):w("",!0)])),_:1}),$.value.mainUnit?(r(),g("div",{key:0,class:B(["tui-bar3d-val",{"is-top":"top"==e.mainValuePosition}])},[s("span",Ou,F($.value.mainVal),1),s("span",Mu,F($.value.mainUnit),1)],2)):w("",!0)])])),[[a,{callback:P,uid:u(p),disabled:"self"!=u(n)(e.resizeObserver)&&v.value}]]),s("div",Eu,[$.value.subUnit?(r(),g("div",Lu,[s("span",Wu,F($.value.subVal),1),s("span",ju,F($.value.subUnit),1)])):w("",!0),s("div",Gu,[ae(l,null,{default:_((()=>[Pe(F(e.label),1)])),_:1})])])],6),[[ke,f.value]])])),_:1})}}}),Qu=["title","onMouseenter","onMouseleave"],Uu={class:"tui-legend-label"},Yu={class:"tui-legend-value"},cn={__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:B(["tui-pie-legend",`is-${e.layout}`,{"is-clickable":e.clickable,"has-fixed-width":!!i.value}])},[(r(!0),g(J,null,Ce(e.items,(t=>(r(),g("div",{class:B(["tui-legend-item",{active:e.activeIndex===t.index}]),key:t.label,style:ie(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:ie({backgroundColor:t.color})},null,4),s("span",Uu,F(t.label),1),s("span",Yu,F(t.value.toLocaleString()),1)],46,Qu)))),128))],2)):w("",!0)}},Ku={class:"tui-stack-3d-bar-main"},Xu={class:"tui-stack-3d-bar-visual"},Zu={class:"tui-svg-inner"},Ju=["width","height","viewBox"],ed={key:0},td=["id"],ld=["id"],ad=["id"],nd=["id"],od={key:1},id=["id"],sd=["id"],rd=["id"],Ad=["id"],ud=["id"],dd=["stop-color"],cd=["stop-color"],fd=["id"],pd=["stop-color"],gd=["stop-color"],hd=["stop-color"],vd=["id"],md=["stop-color"],yd=["stop-color"],Vd=["id"],bd=["stop-color"],wd=["stop-color"],qd=["id"],Cd=["stdDeviation"],$d=["id"],kd=["stdDeviation"],Sd=["id"],Td=["stdDeviation"],Bd=["opacity","filter"],xd=["d","fill"],Pd=["cx","cy","rx","ry","fill"],Rd=["points","fill"],zd=["points","fill"],Id=["points","fill"],Nd=["opacity","filter"],Dd=["transform","opacity"],_d=["d","fill","onMouseover","onClick"],Od=["cx","cy","rx","ry","fill","onMouseover","onClick"],Md=["points","fill","onMouseover","onClick"],Ed=["points","fill","onMouseover","onClick"],Ld=["points","fill","onMouseover","onClick"],Wd=["x"],jd=["opacity","filter"],Gd=["d","fill"],Fd=["cx","cy","rx","ry","fill"],Hd=["points","fill"],Qd=["points","fill"],Ud=["points","fill"],Yd={class:"tui-value"},Kd={class:"tui-unit"},Xd={class:"tui-bar3d-label"},Zd={key:0,class:"tui-isubval"},Jd={class:"tui-val"},ec={class:"tui-unit"},tc={class:"tui-ilabel"},lc=Object.assign({name:"TuiStackBar3D"},{__name:"stack",props:DA,emits:["inited","itemClick"],setup(e,{expose:t,emit:l}){const{$themePalette:a,$gThemeScheme:i,$optResizeCounter:A,initResizeBy:o}=ve("$global",null),n=o(),d=e,c=l,p=qe("stackBar3D"),v=C(!1),f=C(!1),h=C(!1),y=C(!1),V=C(!1),b=C(null),q=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=C(0),k=C(0),S=C("normal"),T=m((()=>(d.segments||[]).reduce(((e,t)=>e+(Number(t?.value)||0)),0))),$=m((()=>d.maxValue||T.value||100)),R=m((()=>jl({value:T.value,maxValue:$.value}))),z=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.vil5,We.cyl5]})),O=m((()=>un({displayValue:d.displayValue,precision:d.precision,aniPct:x.value,aniVal:k.value,maxValue:d.maxValue,unit:d.unit,dustSettled:q.dustSettled}))),N=m((()=>(d.segments||[]).map(((e,t)=>({index:t,label:e?.label||`Segment${t+1}`,value:Number(e?.value)||0,color:e?.color||z.value[t%z.value.length]||"#5aa6ff"}))))),M=m((()=>["left","right"].includes(d.legendPosition)?"column":"row")),P=m((()=>{if(!h.value||!d.legendTeleportTo)return null;if("string"==typeof d.legendTeleportTo)return typeof document<"u"?document.querySelector(d.legendTeleportTo):null;const e=u(d.legendTeleportTo);return 1===e?.nodeType?e:null})),I=m((()=>!!P.value)),D=m((()=>q.hovSegmentIdx??q.hovLegendIdx??null)),E=m((()=>{const e=d.showTrack?d.gap:0,t=q.width?e/q.width:0,l=q.width-e,a=q.height-e*(d.showBase?.8:1);return{gap:e,width:l,height:a,topMargin:.1*l+a*t*.05,maxHeight:a-.1*l*2,viewDeep:d.viewDeep-d.viewDeep*t}})),W=m((()=>{const e=Math.min(x.value,100)/100*E.value.maxHeight;return q.height-e-50-.1*d.viewDeep})),j=m((()=>{if(!d.showTrack)return;const e=.1*q.width,t=q.height-.1*q.width*2;return Gt({shape:d.shape,width:q.width,height:q.height,topMargin:e,maxHeight:t,percent:100,viewDeep:d.viewDeep})})),L=m((()=>{if(!d.showBase)return;const e=d.baseSpacing/q.width,t=.1*q.width+.05*q.height-4,l=q.height-.1*q.width*2;return Gt({shape:d.shape,width:q.width+2*d.baseSpacing,height:q.height,topMargin:t,maxHeight:l,percent:5,viewDeep:d.viewDeep+d.viewDeep*e*2})})),G=m((()=>MA({segments:d.segments,aniPct:Math.min(x.value,100),maxValue:$.value,maxHeight:E.value.maxHeight,shape:d.shape,width:E.value.width,height:E.value.height,topMargin:E.value.topMargin,viewDeep:E.value.viewDeep,colorRatio:d.barColorRatio,palette:z.value,gap:d.segmentGap}))),Q=e=>{const t=Number(e?.value)||0,l=(e=>{const t=Number(e?.value)||0;return T.value?t/T.value*100:0})(e),a=d.precision>0?t.toFixed(d.precision):String(Math.round(t)),i=d.precision>0?l.toFixed(d.precision):String(Math.round(l));return`${e?.label||"Segment"}: ${a}${d.unit||""} (${i}%)`},U=e=>null==D.value||D.value===e?1:d.inactiveOpacity,X=e=>{q.hovSegmentIdx=e.index},K=()=>{q.hovSegmentIdx=null},Z=({index:e})=>{q.hovLegendIdx=e},ee=()=>{q.hovLegendIdx=null},te=(e,t)=>{d.clickable&&c("itemClick",{event:t,data:d.segments?.[e.index]||e,index:e.index})};H((()=>[d.segments,d.initHold,d.maxValue]),(()=>{d.initHold||ma({aniPct:x,aniVal:k,state:q,duration:d.duration,targetValue:T.value,targetPct:R.value,debut:y,emit:c,index:d.index})()}),{deep:!0}),H((()=>A.value),((e,t)=>{if("root"!=n.value(d.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,q.width=e,q.height=t,v.value||(v.value=!0),await ne(),setTimeout((()=>{V.value=!1}),500)},Ae=async()=>{if(await ne(),!b.value)return;const{clientWidth:e,clientHeight:t}=b.value;!e||!t||le({width:e,height:t})};H((()=>[d.showLegend,d.legendPosition,d.legendTeleportTo]),(()=>{Ae()})),H((()=>N.value.length),(()=>{Ae()})),H((()=>[d.baseColorRatio,d.baseColor]),(()=>{xl(q.baseColorGroup)}));const se=m((()=>{const e=dn({settled:q.dustSettled,customBarColor:!1,explicitStatus:d.status,thresholds:d.thresholds,currentValue:k.value,fallbackStatus:S.value});return e&&"custom"!==e&&(S.value=e),e})),re=m((()=>{const e=se.value||d.status||S.value;let t;if(d.baseColor)t=d.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||!d.showBase||d.baseColorWeakened)return null;if(q.baseColorGroup[e])return q.baseColorGroup[e];const l=We.darken(t,d.baseColorRatio),A=We.genColors(l,3,d.barColorRatio/1.5,!1);return q.baseColorGroup[e]=A,A})),ue=m((()=>{const e=re.value||[];return wt("cpt-bar3d",{...e.length&&{basgrad_A:e[0],basgrad_B:e[1],basgrad_C:e[2]},...d.valueSize&&{valsize:d.valueSize+"px"},...d.gap&&d.showTrack&&{gapfix:d.gap/2+"px"},...d.baseSpacing&&{basefix:-d.baseSpacing+"px"},valtop:W.value+"px",viewdeep:d.viewDeep/(d.showBase?1:1.6)+"px"})}));return ce((async()=>{f.value=!0,await ne(),h.value=!0,T.value&&!d.initHold&&oe.s("stackPgsPool3D"+p,(()=>{ma({aniPct:x,aniVal:k,state:q,duration:d.duration,targetValue:T.value,targetPct:R.value,debut:y,emit:c,index:d.index})()}),d.aniDelay)})),t({inited:v.value&&y.value}),(e,t)=>{const l=ye("TuiTextTip"),a=_e("tui-cursor-tip"),i=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["tui-stack-3d-bar","tui-progress-3d-bar",`is-${se.value||S.value}`,`tui-legend-pos-${e.legendPosition}`,{"is-clickable":d.clickable}]),style:ie(ue.value)},[s("div",Ku,[s("div",Xu,[ge((r(),g("div",{class:"tui-svg-wrap",ref_key:"visualRef",ref:b},[s("div",Zu,[ae(Se,{name:"fade"},{default:_((()=>[v.value?(r(),g("svg",{key:0,class:"tui-svg-el",width:q.width,height:q.height,viewBox:`0 0 ${q.width} ${q.height}`},[s("defs",null,[e.showTrack?(r(),g("g",ed,[s("radialGradient",{class:"tui-grad-trk-top",id:`gradTrkTop_${u(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,td),s("linearGradient",{class:"tui-grad-trk-cyde",id:`gradTrkCyde_${u(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,ld),s("linearGradient",{class:"tui-grad-trk-cubeSA",id:`gradTrkCubeSA_${u(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,ad),s("linearGradient",{class:"tui-grad-trk-cubeSB",id:`gradTrkCubeSB_${u(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[3]||(t[3]=[s("stop",{offset:"0%"},null,-1)])],8,nd)])):w("",!0),e.showBase?(r(),g("g",od,[s("linearGradient",{class:B(["tui-grad-bas-cubeSA",{"is-weakened":d.baseColorWeakened}]),id:`gradBasCubeSA_${u(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,id),s("radialGradient",{class:B(["tui-grad-bas-top",{"is-weakened":d.baseColorWeakened}]),id:`gradBasTop_${u(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,sd),s("linearGradient",{class:B(["tui-grad-bas-cyde",{"is-weakened":d.baseColorWeakened}]),id:`gradBasCyde_${u(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,rd),s("linearGradient",{class:B(["tui-grad-bas-cubeSB",{"is-weakened":d.baseColorWeakened}]),id:`gradBasCubeSB_${u(p)}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[...t[7]||(t[7]=[s("stop",{offset:"0%"},null,-1)])],10,Ad)])):w("",!0),(r(!0),g(J,null,Ce(G.value,(e=>(r(),g(J,{key:`grad_${e.index}`},[s("radialGradient",{id:`gradSegTop_${u(p)}_${e.index}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[s("stop",{offset:"0%","stop-color":e.colors[1]},null,8,dd),s("stop",{offset:"100%","stop-color":e.colors[0]},null,8,cd)],8,ud),s("linearGradient",{id:`gradSegCyde_${u(p)}_${e.index}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[s("stop",{offset:"0%","stop-color":e.colors[0]},null,8,pd),s("stop",{offset:"50%","stop-color":e.colors[1]},null,8,gd),s("stop",{offset:"100%","stop-color":e.colors[2]},null,8,hd)],8,fd),s("linearGradient",{id:`gradSegCubeSA_${u(p)}_${e.index}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[s("stop",{offset:"0%","stop-color":e.colors[1]},null,8,md),s("stop",{offset:"100%","stop-color":e.colors[0]},null,8,yd)],8,vd),s("linearGradient",{id:`gradSegCubeSB_${u(p)}_${e.index}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[s("stop",{offset:"0%","stop-color":e.colors[1]},null,8,bd),s("stop",{offset:"100%","stop-color":e.colors[2]},null,8,wd)],8,Vd)],64)))),128)),e.showTrack?(r(),g("filter",{key:2,id:`blurTrk_${u(p)}`},[s("feGaussianBlur",{in:"SourceGraphic",stdDeviation:d.trackBlur},null,8,Cd)],8,qd)):w("",!0),e.showBase?(r(),g("filter",{key:3,id:`blurBas_${u(p)}`},[s("feGaussianBlur",{in:"SourceGraphic",stdDeviation:d.baseBlur},null,8,kd)],8,$d)):w("",!0),s("filter",{id:`blurBar_${u(p)}`},[s("feGaussianBlur",{in:"SourceGraphic",stdDeviation:d.barBlur},null,8,Td)],8,Sd)]),e.showBase?(r(),g("g",{key:0,class:"tui-bar-base",opacity:e.baseOpacity,filter:`url(#blurBas_${u(p)})`},["cylinder"===e.shape?(r(),g(J,{key:0},[s("path",{d:L.value.body,fill:`url(#gradBasCyde_${u(p)})`,stroke:"none"},null,8,xd),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_${u(p)})`,stroke:"none"},null,8,Pd)],64)):(r(),g(J,{key:1},[s("polygon",{points:L.value.sideA,fill:`url(#gradBasCubeSA_${u(p)})`,stroke:"none"},null,8,Rd),s("polygon",{points:L.value.sideB,fill:`url(#gradBasCubeSB_${u(p)})`,stroke:"none"},null,8,zd),s("polygon",{points:L.value.top,fill:`url(#gradBasTop_${u(p)})`,stroke:"none"},null,8,Id)],64))],8,Bd)):w("",!0),s("g",{class:"tui-bar-ani tui-bar-ele",opacity:e.barOpacity,filter:`url(#blurBar_${u(p)})`},[(r(!0),g(J,null,Ce(G.value,(t=>ge((r(),g("g",{key:t.index,transform:`translate(0, ${t.translateY})`,opacity:U(t.index)},["cylinder"===e.shape?(r(),g(J,{key:0},[ge(s("path",{d:t.path.body,fill:`url(#gradSegCyde_${u(p)}_${t.index})`,stroke:"none",onMouseover:e=>X(t),onMouseleave:K,style:ie({cursor:d.clickable?"pointer":"default"}),onClick:e=>te(t,e)},null,44,_d),[[a,{content:Q(t)}]]),ge(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_${u(p)}_${t.index})`,stroke:"none",class:"tui-bar-top",onMouseover:e=>X(t),onMouseleave:K,style:ie({cursor:d.clickable?"pointer":"default"}),onClick:e=>te(t,e)},null,44,Od),[[a,{content:Q(t)}]])],64)):(r(),g(J,{key:1},[ge(s("polygon",{points:t.path.sideA,fill:`url(#gradSegCubeSA_${u(p)}_${t.index})`,stroke:"none",onMouseover:e=>X(t),onMouseleave:K,style:ie({cursor:d.clickable?"pointer":"default"}),onClick:e=>te(t,e)},null,44,Md),[[a,{content:Q(t)}]]),ge(s("polygon",{points:t.path.sideB,fill:`url(#gradSegCubeSB_${u(p)}_${t.index})`,stroke:"none",onMouseover:e=>X(t),onMouseleave:K,style:ie({cursor:d.clickable?"pointer":"default"}),onClick:e=>te(t,e)},null,44,Ed),[[a,{content:Q(t)}]]),ge(s("polygon",{points:t.path.top,fill:`url(#gradSegTop_${u(p)}_${t.index})`,stroke:"none",class:"tui-bar-top",onMouseover:e=>X(t),onMouseleave:K,style:ie({cursor:d.clickable?"pointer":"default"}),onClick:e=>te(t,e)},null,44,Ld),[[a,{content:Q(t)}]])],64))],8,Dd)),[[ke,t.visible]]))),128))],8,Nd),e.iconsSymbol?(r(),g("text",{key:1,x:q.width/2,"text-anchor":"middle",class:"tui-icon tui-icon-in-svg"},F(String.fromCharCode(parseInt(e.iconsSymbol,16))),9,Wd)):w("",!0),e.showTrack?(r(),g("g",{key:2,class:"tui-bar-trk",opacity:e.trackOpacity,filter:`url(#blurTrk_${u(p)})`},["cylinder"===e.shape?(r(),g(J,{key:0},[s("path",{d:j.value.body,fill:`url(#gradTrkCyde_${u(p)})`,stroke:"none"},null,8,Gd),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_${u(p)})`,stroke:"none"},null,8,Fd)],64)):(r(),g(J,{key:1},[s("polygon",{points:j.value.sideA,fill:`url(#gradTrkCubeSA_${u(p)})`,stroke:"none"},null,8,Hd),s("polygon",{points:j.value.sideB,fill:`url(#gradTrkCubeSB_${u(p)})`,stroke:"none"},null,8,Qd),s("polygon",{points:j.value.top,fill:`url(#gradTrkTop_${u(p)})`,stroke:"none"},null,8,Ud)],64))],8,jd)):w("",!0)],8,Ju)):w("",!0)])),_:1}),O.value.mainUnit?(r(),g("div",{key:0,class:B(["tui-bar3d-val",{"is-top":"top"==e.mainValuePosition}])},[s("span",Yd,F(O.value.mainVal),1),s("span",Kd,F(O.value.mainUnit),1)],2)):w("",!0)])])),[[i,{callback:le,uid:u(p),disabled:"self"!=u(n)(e.resizeObserver)&&v.value}]]),s("div",Xd,[O.value.subUnit?(r(),g("div",Zd,[s("span",Jd,F(O.value.subVal),1),s("span",ec,F(O.value.subUnit),1)])):w("",!0),s("div",tc,[ae(l,null,{default:_((()=>[Pe(F(e.label),1)])),_:1})])])]),e.showLegend&&N.value.length?(r(),Y(vt,{key:0,to:P.value||"body",disabled:!I.value},[ae(cn,{class:"tui-stack-3d-bar-legend",items:N.value,"active-index":D.value,layout:M.value,width:d.legendWidth,onItemHover:Z,onItemLeave:ee},null,8,["items","active-index","layout","width"])],8,["to","disabled"])):w("",!0)])],6),[[ke,f.value]])])),_:1})}}}),ac=(e,t,l="358")=>{const a=Me.get1stParent(e,".tui-3d-panel");if(!a)return;if(tl.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)}},nc=e=>{const t="pathG"+e,l=Me.el(`#${t}`);l&&l.remove()},ya="TuiEcharts",oc=Object.assign({name:ya},{__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:t,emit:l}){const{$gT3D:a,$gTheme:i,$gEchartsThemeInited:A,$optResizeCounter:o,initResizeBy:n,$echarts:d}=ve("$global",null),c=n(),p=gl(ya),g=qe("echart"),v=e,f=l,h=C(null),y=za(null),V=Ve({loading:!0,inited:!1,resizing:!0}),b=m({get:()=>v.loading??V.loading,set:e=>{null!==v.loading?f("update:loading",e):V.loading=e}}),w=async()=>{if(h.value)try{if(S(),y.value||!d)return;await ne(),y.value=d.init(h.value,"eTheme",{...v.initOptions,renderer:v.initT3DShadow?"svg":v.renderer}),f("chartInit",y.value),y.value.setOption(v.chartOption),q(),await ne(),y.value&&(f("chartReady",y.value),b.value=!1)}catch(e){console.error("ECharts initialization failed:",e)}},q=()=>{if(!y.value)return;const e=(e,t)=>{y.value&&y.value.on(e,t)};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",(()=>{y.value&&"rendered"==v.t3DShadowUpdate&&x(),f("chartRendered")})),e("finished",(function(){y.value&&("finished"==v.t3DShadowUpdate&&x(),f("chartFinished"),b.value=!1,V.inited=!1)}))},x=()=>{if(!h.value)return;let e=!0;const t=Me.get1stParent(h.value,".tui-3d-panel");(!t||t&&tl.has(t,"is-3doff"))&&(e=!1),v.initT3DShadow&&e?ac(h.value,g):nc(g)},k=ve("TuiT3DPanel",null);H((()=>[a.value,v.initT3DShadow,k?.view3d?.value]),(([e,t,l])=>{x()})),H((()=>A.value),(async e=>{y.value&&e&&(await ne(),y.value.setTheme("eTheme"))}));const S=()=>{y.value&&(y.value.dispose(),y.value=null)},T=()=>{y.value&&y.value.resize()};H((()=>v.ready),(e=>{e&&w()})),H((()=>v.chartOption),(()=>{y.value&&ne((()=>{y.value&&(y.value.setOption(v.chartOption),b.value=!1)}))}),{deep:!0});const $=m((()=>wt("cpt-echart",{...v.width&&{width:Re.join("number",v.width,"px")},...v.height&&{height:Re.join("number",v.height,"px")},...v.dataOpacity&&{opa:v.dataOpacity},...v.dataBlur&&{blur:v.dataBlur+"px"}})));H((()=>o.value),((e,t)=>{"root"==c.value(v.resizeObserver)&&e>t&&R()}));const R=async()=>{V.resizing=!0,T(),await ne(),setTimeout((()=>{V?.resizing&&(V.resizing=!1)}),500)};return ce((()=>{v.ready&&ne((()=>{w()}))})),Je((()=>{S()})),t({resize:T,getChart:()=>y.value,setOption:(e,t)=>{y.value&&y.value.setOption(e,t)},clear:()=>{y.value&&y.value.clear()},initChart:w,dispose:S}),(t,l)=>{const a=ye("TuiLoaderPanel"),i=_e("tui-resize");return r(),Y(a,{loading:b.value,inited:V.inited},{default:_((()=>[ge(s("div",{ref_key:"chartRef",ref:h,class:B(["tui-echarts",{"is-resizing":V.resizing}]),style:ie($.value)},null,6),[[i,{callback:R,uid:u(g),cid:u(p),disabled:"self"!=u(c)(e.resizeObserver)}]]),X(t.$slots,"default")])),_:3},8,["loading","inited"])}}}),ic=(e,t,l,a,i)=>{if(!e.value)return;const A=(t,l)=>{e.value&&e.value.on(t,l)};A("click",Be.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)}))},sc=e=>{e.value&&e.value.resize()},rc=e=>e.value,Ac=(e,t,l)=>{e.value&&e.value.setOption(t,l)},uc=e=>{e.value&&e.value.clear()},dc=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)}},fn=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}},cc=async(e,t,l,a,i,A,o)=>{if(t.value)try{if(pn(l),l.value)return;if(!await fn(e,a.mapName,a.geoJsonData))return void console.error("Map registration failed, aborting chart initialization");await ne(),l.value=$i(e.init(t.value,"eTheme",{...a.initOptions,notMerge:!1,renderer:a.renderer})),A("chartInit",l.value),l.value.setOption(a.chartOption),o(),await ne(),l.value&&(A("chartReady",l.value),i.value=!1)}catch(e){console.error("ECharts Map initialization failed:",e)}},fc=(e,t,l,a,i=!1)=>{e.value&&(e.value.setOption(t,i),l.value=!1,a("chartUpdate"))},pn=e=>{e.value&&(e.value.dispose(),e.value=null)},pc=["onClick"],gc={class:"breadcrumb-text"},Va="TuiEchartsMap",hc=Object.assign({name:Va},{__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:t,emit:l}){const{$gT3D:a,$gTheme:i,$gEchartsThemeInited:A,$optResizeCounter:o,initResizeBy:n,$echarts:d}=ve("$global",null),c=n(),p=gl(Va),v=qe("echart_map"),f=C(null),h=za(null),y=e,V=l,b=Ve({loading:!0,inited:!1,resizing:!0}),q=m({get:()=>y.loading??b.loading,set:e=>{null!==y.loading?V("update:loading",e):b.loading=e}}),x=m((()=>y.breadcrumbConfig?.data||[])),k=m((()=>{let e=y.breadcrumbConfig?.position||{},t={};for(let l in e)"number"==typeof e[l]?t[l]=e[l]+"px":t[l]=e[l];return t})),S=async()=>{d&&await cc(d,f,h,y,q,V,$,y.updateReplace)},T=()=>{fc(h,y.chartOption,q,V,y.updateReplace)},$=()=>{ic(h,y,b,V)},R=()=>{pn(h)},z=()=>{sc(h)},O=m((()=>wt("cpt-echart-map",{...y.width&&{width:Re.join("number",y.width,"px")},...y.height&&{height:Re.join("number",y.height,"px")},...y.dataOpacity&&{opa:y.dataOpacity},...y.dataBlur&&{blur:y.dataBlur+"px"}})));H((()=>y.geoJsonData),(async()=>{if(h.value){if(!d)return;await fn(d,y.mapName,y.geoJsonData),ne((()=>{T()}))}}),{deep:!0}),H((()=>y.ready),(e=>{e&&S()})),H((()=>y.chartOption),(()=>{h.value&&ne((()=>{T()}))}),{deep:!0}),H((()=>A.value),(async e=>{h.value&&e&&(await ne(),h.value.setTheme("eTheme"))})),H((()=>o.value),((e,t)=>{"root"==c.value(y.resizeObserver)&&e>t&&N()}));const N=async()=>{b.resizing=!0,z(),await ne(),setTimeout((()=>{b?.resizing&&(b.resizing=!1)}),500)};return ce((()=>{y.ready&&ne((()=>{S()}))})),Je((()=>{R()})),t({resize:z,getChart:()=>rc(h),setOption:(e,t)=>{Ac(h,e,t)},initChart:S,clear:()=>{uc(h)},resetMapView:()=>{dc(h)},dispose:R}),(t,l)=>{const a=ye("TuiLoaderPanel"),i=_e("tui-resize");return r(),Y(a,{loading:q.value,inited:b.inited},{default:_((()=>[ge(s("div",{ref_key:"mapRef",ref:f,class:B(["tui-echarts-map",{"is-resizing":b.resizing}]),style:ie(O.value)},null,6),[[i,{callback:N,uid:u(v),cid:u(p),disabled:"self"!=u(c)(e.resizeObserver)}]]),e.enableBreadcrumb&&x.value.length>0?(r(),g("div",{key:0,class:"tui-map-breadcrumb",style:ie(k.value)},[(r(!0),g(J,null,Ce(x.value,((e,t)=>(r(),g("div",{key:`${e.code}-${t}`,class:"breadcrumb-item",onClick:l=>((e,t)=>{const l=x.value.slice(0,t+1);V("breadcrumbClick",{item:e,index:t,breadcrumb:l,chart:h.value})})(e,t)},[s("span",gc,F(e.name),1)],8,pc)))),128)),l[0]||(l[0]=s("i",{class:"tui-icon ti-map breadcrumb-icon"},null,-1))],4)):w("",!0),X(t.$slots,"default")])),_:3},8,["loading","inited"])}}}),vc={key:0,class:"tui-panic-alert-inner"},mc={class:"alert-title"},yc={class:"alert-content"},Vc={key:0,class:"debug-input-wrap"},bc=["placeholder"],wc={class:"alert-action"},ba="TuiPanicAlert",qc=Object.assign({name:ba},{__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:d}=ve("$global",null),c=Da(),p=Pi(),v=gl(ba),f=qe("panicAlert"),h=e,y=C(!1),V=C(!0),b=C(!1),q=t,x=Ve({done:!1,config:!1}),k=(e,t)=>A(`panicAlert.${e}`,t),S={device:null,resolutionH:{min:null,max:null},resolutionV:{min:null,max:null},rejectDebugEnv:null,debugMD5:null},T=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:{}});Ia();const $=()=>{l.props.onBack?q("back"):h.fallBackPath?c.push(h.fallBackPath):c.back()},R=async()=>{T.domCleared?i():(b.value=!1,h.modelValue&&q("update:modelValue",!1),q("close",!1),await ne(),oe.s("closePA"+f,(()=>{y.value=!1,T.icon=null,T.title=null,T.content=null}),500))},z=()=>{T.debug.inputOn=!T.debug.inputOn},O=()=>{const{input:e}=T.debug;if(!e||e.length<8)a({content:k("debugger.codeLength"),type:"warning"});else{const{debugMD5:t}=T.silenceCondition;t==ta(e)?(Xl.session.s("debugCode",e),a({content:k("debugger.codeCorrect"),type:"success"}),oe.s("reloadPA"+f,(()=>{i()}),2e3)):a({content:k("debugger.codeError"),type:"warning"})}},N=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 ne(),y.value=!0,q("open",!0),T.debug.alertOn=!0}else i()},M=C(null),P=()=>{T.domCleared=!0,Me.clearExcept(Me.el("#tuiRoot"),M.value)},I=()=>{p.il()&&(p.st(),p.rl((e=>{N(e)})))},D=e=>{if(e){if(T.silenceCondition=At.dpm(S,h.silenceCondition),x.config=!0,h.clearDom&&y.value&&P(),!T?.silenceCondition?.rejectDebugEnv)return;{const{rejectDebugEnv:e,debugMD5:t}=T.silenceCondition;if(e){if(!y.value){let l="";if(t){T.debug.hasKey=!0;const e=Xl.session.g("debugCode");if(e&&(l=ta(e)),e&&t==l)return}("all"==e||"prod"==e&&"prod"==Bl())&&(p.il()||(p.al((e=>{N(e)})),p.lc()))}}else I()}}},E=e=>{if(!h.silenceCondition||T.debug.alertOn)return;const{type:t,resolutionH:l,resolutionV:a}=e,{device:i,resolutionH:A,resolutionV:o}=T.silenceCondition;if(i&&!i.includes(t.split("-")[0])){const e=Tl.upperAll(t.split("-")[0]),l=Tl.upperAll(i);return T.icon="tui-icon ti-laptop-phone",T.title=k("device.title"),T.content=k("device.content",{deviceA:l,deviceB:e}),y.value=!0,void q("open",!0)}return A.min&&l<A.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:l,safeResol:A.min}),y.value=!0,void q("open",!0)):A.max&&l>A.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:l,safeResol:A.max}),y.value=!0,void q("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:o.min}),y.value=!0,void q("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:o.max}),y.value=!0,void q("open",!0)):void(y.value&&!h.modelValue&&R())};H((()=>h.silenceCondition),(e=>{W(e)}),{deep:!0}),H((()=>o.value),(e=>{E(e)}),{deep:!0}),H((()=>h.modelValue),(e=>{(e=>{if(e){const{title:e,content:t}=T;e||(T.title=k("example.title")),t||(T.content=k("example.content")),y.value=!0,q("open",!0),h.clearDom&&P()}else{if(V.value)return;y.value=!1,q("close",!1)}})(e)}),{immediate:!0}),H((()=>y.value),(async e=>{e&&(oe.c("closePA"+f),await ne(),n.value&&d.play("errorB"),b.value=!0)}));const W=e=>{D(e),E(o.value)},j=C({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 Bt((()=>{})),ce((()=>{W(h.silenceCondition),V.value=!1,x.config&&(x.done=!0)})),Je((()=>{I(),V.value=!0})),(t,l)=>{const a=ye("TuiButton"),i=ye("TuiTyped"),o=ye("TuiMask"),n=_e("tui-popover"),d=_e("tui-vcid");return V.value?w("",!0):(r(),Y(vt,{key:0,to:"#tuiRoot",fallback:"#app",disabled:V.value},[x.done?ge((r(),g("div",{key:0,ref_key:"panicAlertRef",ref:M,class:"tui-panic-alert"},[ae(Se,{name:"fade"},{default:_((()=>[y.value?(r(),g("div",vc,[ge(ae(i,pt(qt(j.value)),{default:_((()=>[s("i",{class:B(`alert-icon ${e.icon||T.icon}`)},null,2),s("div",mc,F(e.title||T.title),1),s("div",yc,F(e.content||T.content),1),T.debug.alertOn&&T.debug.inputOn?(r(),g("div",Vc,[ge(s("input",{class:"debug-input tui-input","onUpdate:modelValue":l[0]||(l[0]=e=>T.debug.input=e),placeholder:k("debugger.inputCode"),type:"text"},null,8,bc),[[ki,T.debug.input]]),ae(a,{onClick:O},{default:_((()=>[...l[1]||(l[1]=[s("i",{class:"tui-icon ti-check"},null,-1)])])),_:1}),ae(a,{onClick:z},{default:_((()=>[...l[2]||(l[2]=[s("i",{class:"tui-icon ti-times"},null,-1)])])),_:1})])):w("",!0),s("div",wc,[T.debug.alertOn?w("",!0):(r(),g(J,{key:0},[e.showClose?ge((r(),g("div",{key:1,class:"icon-circle",onClick:R},[...l[4]||(l[4]=[s("i",{class:"tui-icon ti-times"},null,-1)])])),[[n,{content:u(A)("common.close"),placement:"bottom",appendTo:"#app",debug:!0,delay:1e3,zIndex:2e3}]]):ge((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:u(A)("common.back"),placement:"bottom",appendTo:"#app",delay:1e3,zIndex:2e3}]])],64)),T.debug.alertOn&&T.debug.hasKey&&!T.debug.inputOn?ge((r(),g("div",{key:1,class:"icon-circle",onClick:z},[...l[5]||(l[5]=[s("i",{class:"tui-icon ti-key-encrypt"},null,-1)])])),[[n,{content:k("debugger.inputCode"),placement:"bottom",appendTo:"#app",delay:1e3,zIndex:2e3}]]):w("",!0)])])),_:1},16),[[ke,b.value]])])):w("",!0)])),_:1})])),[[d,u(v)]]):w("",!0),ae(o,{"model-value":y.value&&b.value&&e.modal},null,8,["model-value"])],8,["disabled"]))}}}),gn={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)}},Cc={transformOriginTop:[Number,String],...gn,legendTeleportTo:{type:[String,Object],default:"default"},transform3D:{type:Object,default:{x:0,y:0,z:0}},t3DConfig:Object},$c=["width","height","viewBox"],kc=["cx","cy","r","id"],Sc=["stop-color"],Tc=["stop-color"],Bc={key:0,class:"pie-shadow-group"},xc=["fill","d","transform"],Pc=["d","fill","transform","onMouseover","onMouseleave","onClick"],Rc={class:"tui-info-value"},zc={class:"tui-info-name"},Ic={key:0,class:"tui-info-unit"},hn=Object.assign({name:"TuiPie"},{__name:"pie",props:gn,emits:["sliceHover","sliceLeave","sliceClick","itemClick","legendChange"],setup(e,{emit:t}){const{$themePalette:l,$optResizeCounter:a,initResizeBy:i}=ve("$global",null),A=i(),o=e,n=t,d=qe("pie3D"),c=C(!1),p=C(!1),v=C(!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(!At.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=C([]),q=C(!1);H((()=>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&&!q.value&&(q.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)})),q.value=!1)};requestAnimationFrame(l)}())}),{deep:!0,immediate:!0});const x=m((()=>f.width/2)),k=m((()=>f.height/2)),S=m((()=>Fe.min(f.height,f.width))),T=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))),R=m((()=>o.data.reduce(((e,t)=>e+(t&&"number"==typeof t.value&&t.value>0?t.value:0)),0))),z=m((()=>Array.isArray(b.value)?b.value.filter((e=>e&&"number"==typeof e.animValue&&e.animValue>0&&e.label)):[])),O=m((()=>z.value.map(((e,t)=>({index:t,label:e.label,color:e.color,value:e.value||e.targetValue||0}))))),N=m((()=>null!=o.activeIndex?o.activeIndex:f.hovSliceIdx??f.hovLegendIdx??null)),M=e=>null==N.value||N.value===e?1:o.inactiveOpacity,P=e=>({"--tui-t3d-thickcolor":We.darken(e.color,o.thicknessColorRatio),opacity:M(e.index)}),I=m((()=>T.value*(o.innerRadiusPercent/100))),D=m((()=>{const e=[];if($.value<=0||0===z.value.length)return e;const t=2*Math.PI;let l=-Math.PI/2;return z.value.forEach(((a,i)=>{const A=a.animValue/$.value*t;if(A<1e-6)return;const n=l,s=l+A,r=Mo(x.value,k.value,T.value,I.value,n,s,o.cornerRadius,o.gapSize);if(r.includes("Error"))return;const u=a.color||(f.dftColors.length>0?f.dftColors[i%f.dftColors.length]:"#cccccc"),c=o.useGradient?`url(#${d}-grad-${i})`:u;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/R.value*100).toFixed(1),m=`${a.label}: ${g.toLocaleString()} (${v}%)`;e.push({idSuffix:i,d:r,fill:c,transform:p,tooltip:m,color:u,originalData:a,index:i}),l=s})),e})),E=m((()=>o.showCenterText&&o.innerRadiusPercent>10&&$.value>0)),W=m((()=>{const e=2*I.value;let t=Math.min(.1*S.value,Math.max(.03*S.value,.15*e));return(0===z.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((()=>R.value<=0&&0===z.value.length&&!o.data.some((e=>e&&"number"==typeof e.value&&e.value>0))?"N/A":R.value.toLocaleString())),L=m((()=>wt("cpt-tpie",{...o.pieOffset&&{pieoffset:Re.join("number",o.pieOffset,"px")},...o.centerTextOffset&&{totaloffset:Re.join("number",o.centerTextOffset,"px")}}))),G=m((()=>wt("cpt-tpie-font",{total:W.value.total+"px",title:W.value.title+"px"}))),Q=C(!1),U=m((()=>["left","right"].includes(o.legendPosition)?"column":"row")),X=m((()=>{if(!v.value||!o.legendTeleportTo)return null;if("string"==typeof o.legendTeleportTo)return typeof document<"u"?document.querySelector(o.legendTeleportTo):null;const e=u(o.legendTeleportTo);return 1===e?.nodeType?e:null})),K=m((()=>!!X.value));H((()=>O.value),(e=>{n("legendChange",e)}),{deep:!0,immediate:!0}),H((()=>a.value),((e,t)=>{"root"==A.value(o.resizeObserver)&&e>t&&Z()}));const Z=async()=>{f.isResizing=!0,await ne(),Q.value&&(f.width=Number(o.width)||Q.value.clientWidth,f.height=Number(o.height)||Q.value.clientHeight),setTimeout((()=>{f.isResizing=!1,p.value=!0}),500)};H((()=>[o.legendPosition,o.legendShow,o.legendTeleportTo]),(async()=>{await ne(),Z()})),H((()=>O.value.length),(async()=>{await ne(),Z()}));const ee=({index:e})=>{f.hovLegendIdx=e},te=()=>{f.hovLegendIdx=null};return ce((async()=>{c.value=!0,await ne(),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=_e("tui-cursor-tip"),a=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["tui-pie-chart",`tui-legend-pos-${e.legendPosition}`,{"is-resizing":f.isResizing}])},[ge((r(),g("div",{class:"tui-pie-inner",style:ie(L.value),ref_key:"pieWrapRef",ref:Q},[ae(Se,{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},Ce(D.value,(t=>(r(),g("radialGradient",{cx:x.value,cy:k.value,r:T.value,key:`${u(d)}-grad-${t.idSuffix}`,id:`${u(d)}-grad-${t.idSuffix}`,gradientUnits:"userSpaceOnUse"},[s("stop",{offset:.7,"stop-color":u(We).lighten(t.color,e.gradientRatio)},null,8,Sc),s("stop",{offset:1,"stop-color":u(We).darken(t.color,e.gradientRatio)},null,8,Tc)],8,kc)))),128)):w("",!0)]),o.showShadowGroup?(r(),g("g",Bc,[(r(!0),g(J,null,Ce(D.value,(e=>(r(),g("path",{style:ie(P(e)),key:e.idSuffix,fill:e.fill,d:e.d,transform:e.transform,class:"t3d-shadow-item"},null,12,xc)))),128))])):w("",!0),s("g",null,[(r(!0),g(J,null,Ce(D.value,(e=>ge((r(),g("path",{key:e.idSuffix,d:e.d,fill:e.fill,transform:e.transform,class:"pie-slice",style:ie({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,Pc)),[[l,{content:e.tooltip}]]))),128))])],8,$c)):w("",!0)])),_:1}),E.value?(r(),g("div",{key:0,class:"tui-total-info text-shadow-item",style:ie(G.value)},[s("div",Rc,F(j.value),1),s("div",zc,F(o.chartTitle),1),o.unit?(r(),g("div",Ic,"("+F(o.unit)+")",1)):w("",!0)],4)):w("",!0)],4)),[[a,{callback:Z,uid:u(d),disabled:"self"!=u(A)(e.resizeObserver)&&p.value}]]),o.legendShow&&O.value.length>0?(r(),Y(vt,{key:0,to:X.value||"body",disabled:!K.value},[ae(cn,{items:O.value,"active-index":N.value,layout:U.value,width:o.legendWidth,onItemHover:ee,onItemLeave:te},null,8,["items","active-index","layout","width"])],8,["to","disabled"])):w("",!0)],2),[[ke,c.value]])])),_:1})}}}),Nc={class:"tui-pie-inner"},Dc=Object.assign({name:"TuiPie3D"},{__name:"index",props:Cc,emits:["sliceHover","sliceLeave","sliceClick","itemClick"],setup(e,{emit:t}){const l=e,a=t,i=C(null),A=C(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}))),u=e=>{i.value=null!=e?.index?Number(e.index):null,a("sliceHover",e)},d=e=>{i.value=null,a("sliceLeave",e)},c=e=>{a("sliceClick",e),a("itemClick",e)},p=m((()=>wt("cpt-tpie3d",{...l.transformOriginTop&&{tot:Re.join("number",l.transformOriginTop,"px")}})));return(e,t)=>{const a=ye("Tui3DPanel");return r(),Y(Se,{name:"fade"},{default:_((()=>[s("div",{class:B(["tui-pie-3d",`tui-legend-pos-${e.legendPosition}`]),style:ie(p.value)},[s("div",Nc,[ae(a,xe(n.value,{class:"t3d-panel"}),{default:_((()=>[ae(hn,xe(o.value,{"active-index":i.value,"inactive-opacity":l.inactiveOpacity,clickable:l.clickable,onSliceHover:u,onSliceLeave:d,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)):w("",!0)],6)])),_:1})}}}),Wt=new xa,wa=e=>{let t=At.keyValid(e,["x","y","z"],!1);return t.valid||console.warn("HoverRotate Warning",t.message),t.valid},qa="Tui3DPanel",_c=Object.assign({name:qa},{__name:"index",props:{animationRotate:{type:Array,default:()=>[],validator:e=>{const{valid:t,message:l}=bt.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:wa},initialRotate:{type:Object,default:{x:0,y:0,z:0},validator:wa},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=C(null),l=C(!1),{$tState:a,$t3dConfig:i,$gT3D:A,tConsolei18n:o,$deviceInfo:n}=ve("$global",null),d=e,c=gl(qa),p=qe("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 d.duration?d.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?(oe.c(p+"out"),oe.s(p+"in",(()=>{const{x:e,y:t}=v.hoverRotate;q(e,t),oe.s(p+"hovSta",(()=>{v.hoverState=!0}),f.value)}),d.hoverDelay)):0==e&&(v.hoverState=!1,oe.c(p+"hovSta"),oe.c(p+"in"),oe.s(p+"out",(()=>{const{x:e,y:t}=v.initialRotate;q(e,t)}),d.hoverDelay)))},y=e=>{if(d.eventBus||0==d.index){let l=t.value.getBoundingClientRect(),a=window.innerWidth,i=window.innerHeight;if(d.inAdaptive){const e=la(v.ParmarsBak.coeff,v.ParmarsBak.shadowCoeff,a);v.coeff=e[0],v.shadowCoeff=e[1]}const{rotateX:A,rotateY:o}=aa(v.mode,v.coeff,e,l,i,a);q(A,o),Wt.emit(d.group+"t3DBus",e)}else Wt.on(d.group+"t3DBus",(e=>{let l=t.value.getBoundingClientRect(),a=window.innerWidth,i=window.innerHeight;if(d.inAdaptive){const e=la(v.ParmarsBak.coeff,v.ParmarsBak.shadowCoeff,a);v.coeff=e[0],v.shadowCoeff=e[1]}const{rotateX:A,rotateY:o}=aa(v.mode,v.coeff,e,l,i,a);q(A,o)}))},V=e=>{if(0==d.index||null==d.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}=Eo(e,v.fixAlpha,d.uesAlpha);"landscape"!=v.screenDir||v.screenInvert?"portrait"!=v.screenDir||v.screenInvert?"landscape"==v.screenDir&&v.screenInvert?q(i*A*t/3,-a*A*t/3,l*A*t/3):"portrait"==v.screenDir&&v.screenInvert&&q(-a*A*t/3,-i*A*t/3,l*A*t/3):q(a*A*t/3,i*A*t/3,l*A*t/3):q(-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!=d.index&&Wt.emit(d.group+"t3DGyroBus",o)}else Wt.on(d.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=()=>{oe.s(p+"panelAni",(()=>{v.aniStart=!0;let e=v.curAniIndex,t=d.animationRotate;q(t[e].x,t[e].y),e!=t.length-1?v.curAniIndex++:v.curAniIndex=0,b()}),v.aniStart?f.value:d.aniDelay)},q=(e,t,l)=>{v.curRotate.x=x(e),v.curRotate.y=x(t),"number"==Re(l)&&(v.curRotate.z=x(l))},x=e=>{const t=d.rotateMax,l=d.rotateMin;return e>t?t:e<l?l:e},k=()=>{v.mode&&("animation"==v.mode?oe.c(p+"panelAni"):"gyro"==v.mode?((d.eventBus||0==d.index)&&v.eventInited&&(Be.remove(window,"deviceorientation",p),v.eventInited=!1),null!=d.index&&Wt.off(d.group+"t3DGyroBus"),d.index):((d.eventBus||0==d.index)&&v.eventInited&&(Be.remove(window,"mousemove",p,!0),v.eventInited=!1),null!=d.index&&Wt.off(d.group+"t3DBus")),v.curRotate.x=0,v.curRotate.y=0,v.curRotate.z=0)},S=m((()=>wt("cpt-t3dp",{...d.thicknessColor&&{thickcolor:d.thicknessColor},...d.transformOrigin&&{transorigin:d.transformOrigin},...d.thicknessCoeff&&{thickcoeff:d.thicknessCoeff},...d.thicknessBlur&&{thickblur:d.thicknessBlur+"px"},...d.shadowCoeff&&1!=v.shadowCoeff&&{shadowcoeff:v.shadowCoeff},...d.shadowBlur&&{shadowblur:d.shadowBlur+"px"},...d.shadowTransparent&&{shadowtrans:d.shadowTransparent},...d.thicknessTransparent&&{thicktrans:d.thicknessTransparent},...d.perspective&&{perspective:d.perspective+"px"},...f.value&&{dur:f.value+"ms"},...l.value&&{rotateX:v.curRotate.x,rotateY:v.curRotate.y,rotateZ:v.curRotate.z}})));H((()=>[d.coeff,d.shadowCoeff,d.fixAlpha]),(()=>{T()})),H((()=>d.initialRotate),(()=>{T()}),{deep:!0}),H((()=>d.hoverRotate),(()=>{T()}),{deep:!0});const T=()=>{d.hoverRotate&&(v.hoverRotate=At.dpm(v.curRotate,d.hoverRotate)),d.initialRotate&&(v.initialRotate=At.dpm(v.curRotate,d.initialRotate),"static"==v.mode&&(v.curRotate=v.initialRotate)),d.coeff&&(v.coeff=d.coeff,v.ParmarsBak.coeff=v.coeff),d.shadowCoeff&&(v.shadowCoeff=d.shadowCoeff,v.ParmarsBak.shadowCoeff=v.shadowCoeff),d.fixAlpha&&(v.fixAlpha=d.fixAlpha)};H((()=>n.value.orientation),(e=>{v.screenDir=e}),{immediate:!0}),H((()=>n.value.screenInvert),(e=>{v.screenInvert=e}),{immediate:!0}),H((()=>[A.value,d.view3d]),(([e,t])=>{v.view3d=!(!e||!t)}),{immediate:!0}),H((()=>v.view3d),(e=>{e?(T(),(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;q(e,t)}else"hive"==e||"matrix"==e||"unity"==e?d.eventBus||0==d.index?(Be.add(window,"mousemove",y,p,!0),v.eventInited=!0):y():"animation"==e?b():"gyro"==e?"https:"==window.location.protocol?0==d.index||null==d.index?(typeof DeviceOrientationEvent<"u"&&"function"==typeof DeviceOrientationEvent.requestPermission&&DeviceOrientationEvent.requestPermission(),Be.add(window,"deviceorientation",V,p),v.eventInited=!0):V():o("warning","panelGyro","warn.panelGyro"):"static"==e&&(v.curRotate=v.initialRotate)}})()):k()}),{immediate:!0}),H((()=>n.value.type),(async e=>{if(!e)return;v.view3d&&(v.view3d=!1,k()),await ne(),(e=>{const t=e;n.value.type,"auto"==d.mode?t.includes("pc")?v.mode="matrix":(t.includes("mobile")||t.includes("pad"))&&(v.mode="gyro"):v.mode=d.mode})(e);const t=v.mode,l=A.value,a=d.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=Me.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 Bt((()=>{})),ce((async()=>{l.value=!0,await ne(),$(!0)})),Je((async()=>{l.value=!0,v.view3d=!1,k(),await ne(),$(!1)})),(a,i)=>{const o=_e("tui-vcid");return l.value?ge((r(),g("div",{key:0,style:ie(S.value),class:B(["tui-3d-panel",`tui-mode-${e.mode}`,"tui-shadow-"+(e.showShadow?"show":"hide"),"tui-thickness-"+(e.showThickness?"show":"hide"),{"is-3doff":!u(A)||!v.view3d,"is-fixgap":e.thicknessFixGap}]),ref_key:"t3dRef",ref:t},[s("div",{class:B(["tui-3d-panel-inner",[{"is-hover":v.hoverState,"has-mask":e.hoverMask&&"hover"==e.mode&&u(A)}]]),onMouseenter:i[0]||(i[0]=e=>h(1)),onMouseleave:i[1]||(i[1]=e=>h(0))},[X(a.$slots,"default",{boxShadowName:"box-shadow-item",textShadowName:"text-shadow-item",t3dShadowName:"t3d-shadow-item",dropShadowName:"drop-shadow-item"})],34)],6)),[[o,u(c)]]):w("",!0)}}}),nl={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"==Re(e)?CSS.supports("color",e):"array"==Re(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},Oc=["disabled","type"],Mc=Object.assign({name:"TuiButton"},{__name:"button",props:{...nl},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()),de("custom",We.genColorObj(t))})),o=t,n=ve("TuiButtonG",null),s=m((()=>n?.size?.value||i.size)),d=e=>{i.disabled||i.loading||o("click",e)};return ce((()=>{})),(e,t)=>(r(),g("button",{class:B([!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:d,style:ie(e.customColor?A.value:null)},[e.icon?(r(),g("i",{key:0,class:B(e.icon)},null,2)):w("",!0),u(l).default&&!e.circle?X(e.$slots,"default",{key:1}):w("",!0)],14,Oc))}}),Ec=["disabled","type"],Lc=Object.assign({name:"TuiButtonA1"},{__name:"buttonA1",props:{...nl},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)},d=m((()=>de("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()),de("custom",We.genColorObj(t))}));return(e,t)=>(r(),g("button",{class:B(["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:ie([e.customColor?c.value:null,d.value])},[e.icon?(r(),g("i",{key:0,class:B(e.icon)},null,2)):w("",!0),u(l).default?X(e.$slots,"default",{key:1}):w("",!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)):w("",!0),"B"==e.decoType?(r(),g("div",{key:3,class:B(`tui-caret caret-${e.decoDirection}`),style:ie(d.value)},null,6)):w("",!0)],14,Ec))}}),Wc=["disabled","type"],jc=Object.assign({name:"TuiButtonA2"},{__name:"buttonA2",props:{...nl},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((()=>de("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()),de("custom",We.genColorObj(t))}));return(e,t)=>(r(),g("button",{class:B(["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||u(l).icon}]),disabled:e.disabled,type:e.nativeType,onClick:o,style:ie([e.customColor?s.value:null,n.value])},[e.icon?(r(),g("i",{key:0,class:B(e.icon)},null,2)):w("",!0),u(l).default&&!e.circle?X(e.$slots,"default",{key:1}):w("",!0)],14,Wc))}}),Gc=["disabled","type"],vn=Object.assign({name:"TuiButtonA3"},{__name:"buttonA3",props:{...nl},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((()=>de("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()),de("custom",We.genColorObj(t))}));return(e,t)=>(r(),g("button",{class:B(["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||u(l).icon}]),disabled:e.disabled,type:e.nativeType,onClick:o,style:ie([e.customColor?s.value:null,n.value])},[e.icon?(r(),g("i",{key:0,class:B(e.icon)},null,2)):w("",!0),u(l).default&&!e.circle?X(e.$slots,"default",{key:1}):w("",!0)],14,Gc))}}),Fc=["disabled","type"],Hc={class:"tui-icon-wrap"},Qc=Object.assign({name:"TuiButtonB1"},{__name:"buttonB1",props:{...nl},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,d=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()),de("custom",We.genColorObj(t))}));return(e,t)=>(r(),g("button",{class:B(["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:d,style:ie([e.customColor?c.value:null])},[s("div",Hc,[s("i",{class:B(`tui-btn-icon ${o.value}`)},null,2)]),u(l).default?X(e.$slots,"default",{key:0}):w("",!0)],14,Fc))}}),Uc=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:B(["tui-button-group",[`tui-button-group-size-${e.size}`,{"tui-button-group-vertical":e.vertical}]])},[X(t.$slots,"default")],2))}}),Yc=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 t=e,l=m((()=>t.rows*t.cols)),a=e=>Math.floor(e/t.cols),i=e=>e%t.cols,A=e=>{const l=`${a(e)}-${i(e)}`;return t.cellConfig[l]||{}},o=e=>{if(A(e).hidden)return!0;const l=a(e),o=i(e);for(const[e,a]of Object.entries(t.cellConfig)){const[t,i]=e.split("-").map(Number),A=a.rowSpan||1,n=a.colSpan||1;if(l>=t&&l<t+A&&o>=i&&o<i+n&&(l!==t||o!==i))return!0}return!1},n=m((()=>0===t.rowConfig.length?`repeat(${t.rows}, 1fr)`:t.rowConfig.map((e=>"number"==typeof e.size?`${e.size}fr`:e.size||"1fr")).join(" "))),s=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((()=>de("cpt-grid",{"tpl-rows":n.value,"tpl-cols":s.value,...t.gap&&{gap:Re.join("number",t.gap,"px")}}))),d=e=>{const t=A(e);return de("cpt-grid-item",{...t.rowSpan&&{"row-end":`span ${t.rowSpan}`},...t.colSpan&&{"col-end":`span ${t.colSpan}`},...t.pointerEvent&&{"pot-evt":t.pointerEvent}})};return(e,t)=>(r(),g("div",{class:"tui-grid-wrap",style:ie(u.value)},[(r(!0),g(J,null,Ce(l.value,((t,l)=>(r(),g(J,null,[o(l)?w("",!0):(r(),g("div",{key:0,class:B(["tui-grid-item",`tui-cell-${a(l)}-${i(l)}`,A(l)?.className]),style:ie(d(l))},[X(e.$slots,`cell-${a(l)}-${i(l)}`,{row:a(l),col:i(l)})],6))],64)))),256))],4))}}),Kc=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=ve("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((()=>[de("cpt-col",{...a.value&&{pdl:a.value/2+"px",pdr:a.value/2+"px"}})]));return(t,l)=>(r(),Y(it(e.tag),{class:B(i.value),style:ie(A.value)},{default:_((()=>[X(t.$slots,"default")])),_:3},8,["class","style"]))}}),Xc=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((()=>[de("cpt-row",{...t.gutter&&{mgl:`-${t.gutter/2}px`,mgr:`-${t.gutter/2}px`}})]));return(t,i)=>(r(),Y(it(e.tag),{class:B(l.value),style:ie(a.value)},{default:_((()=>[X(t.$slots,"default")])),_:3},8,["class","style"]))}}),Zc={class:"doc-content-wrapper"},Jc={class:"doc-wrap"},ef={class:"nav-wrap"},tf={class:"nav-inner"},lf={class:"nav-group"},af={class:"nav-item"},nf=["onClick"],of={key:0,class:"nav-group"},sf={class:"nav-item item-sub"},rf=["onClick"],Af=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");oe.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=ye("el-scrollbar");return r(),Y(o,{class:"tui-anchor-spy-wrap",native:!0,onScroll:A},{default:_((()=>[s("div",Zc,[s("div",Jc,[(r(!0),g(J,null,Ce(e.data,((e,t)=>(r(),Y(it(e.component),{class:"doc-component",id:e.id},null,8,["id"])))),256))]),s("div",ef,[s("div",tf,[s("ul",lf,[(r(!0),g(J,null,Ce(e.data,((e,t)=>(r(),g("li",af,[s("div",{class:B(["nav-link link-main",u(a)[0]==t&&-1==u(a)[1]?"active":""]),onClick:e=>i(t)},F(e.name),11,nf),u(a)[0]==t?(r(),g("ul",of,[(r(!0),g(J,null,Ce(e.children,((e,l)=>(r(),g("li",sf,[s("div",{class:B(["nav-link",u(a)[1]==l?"active":""]),onClick:e=>i(t,l)},F(e),11,rf)])))),256))])):w("",!0)])))),256))])])])])])),_:1})}}}),uf={class:"tui-nc-inner"},df={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}=ve("$global",null),a=ve("TuiNavNode",null),{parProps:i,state:A,dir:o,isOpenedItem:n,isActiveItem:d,isCurrentItem:c,isPopupMode:p,collapse:v,updatePath:f,clearOpenedPath:h,popperDelay:y,tipConfig:V,getItemId:b,getItemLabel:q,getItemDisabled:C}=ve("TuiNav",null),x=qe("navCont"),k=m((()=>t.pathIds?.length?t.pathIds:a?.pathIds?.value||[])),S=m((()=>t.level??a?.baseLevel?.value??1)),T=m((()=>b(t.item))),$=m((()=>q(t.item))),R=m((()=>C(t.item))),z=m((()=>t.hasSubmenu&&!(v.value&&"v"===o.value&&1===S.value))),O=m((()=>"ellipsis"===T.value?A.actLeafInfo.fromEllipsis:c(k.value))),N=m((()=>"ellipsis"===T.value?A.actLeafInfo.fromEllipsis:d(T.value))),M=m((()=>n(T.value)));function P(){R.value||("click"==i.menuTrigger||"global"==i.menuTrigger&&"click"==l.value||!t.hasSubmenu||!p.value?f(k.value,t.item,t.fromEllipsis):h())}function I(){R.value||("hover"==i.menuTrigger||"global"==i.menuTrigger&&"hover"==l.value)&&t.hasSubmenu&&p.value&&!M.value&&oe.s(`${x}_${T.value}`,(()=>{f(k.value,t.item,t.fromEllipsis)}),300)}function D(){oe.c(`${x}_${T.value}`)}const E=m((()=>"v"===o.value||1==S.value&&!t.fromEllipsis?"angle-down":"angle-right")),W=m((()=>de("cpt-navcont",{...!p.value&&{pdleft:15*S.value+"px"}})));return(t,l)=>{const a=ye("TuiTextTip"),i=_e("tui-popover");return r(),g("div",{class:B(["tui-nav-content",`tui-level-${S.value}`,{"is-current":O.value,"is-active":N.value,"is-opened":M.value,"is-disabled":R.value,"has-submenu":e.hasSubmenu}]),style:ie(W.value),onClick:P,onMouseenter:I,onMouseleave:D},[X(t.$slots,"default",{},(()=>[ge((r(),g("div",uf,[e.item.icon||"v"==u(o)?(r(),g("i",{key:0,class:B(["tui-nc-icon",e.item.icon?e.item.icon:"v"==u(o)&&e.hasSubmenu?"tui-icon ti-folder":"tui-icon ti-file"])},null,2)):w("",!0),!u(v)||"v"==!u(o)||S.value>1?(r(),Y(a,xe({key:1,class:"tui-nc-title"},u(V)),{default:_((()=>[Pe(F($.value),1)])),_:1},16)):w("",!0),z.value?(r(),g("div",df,[s("i",{class:B(`tui-icon ti-${E.value}`)},null,2)])):w("",!0)])),[[i,{content:$.value,trigger:"hover",placement:"right",delay:u(y),zIndex:2e3,disabled:1==S.value&&!u(v)||S.value>1||M.value}]])]))],38)}}},cf={class:"tui-nav-pm-trigger"},ff={class:"nav-pm-content"},pf={key:0,class:"nav-pm-item"},gf={key:1,class:"nav-pm-submenu"},Gl={__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}=ve("$global",null),a=ve("TuiNavNode",null),{parProps:i,state:A,dir:o,isOpenedItem:n,getItemId:d,getItemChildren:c}=ve("TuiNav"),p=C(!1),v=C(!0),f=C(null),h=C(null),y=m((()=>t.pathIds?.length?t.pathIds:a?.pathIds?.value||[])),V=m((()=>t.baseLevel??a?.baseLevel?.value??1)),b=m((()=>d(t.item))),q=m((()=>c(t.item)));function x(){p.value=!1}H((()=>A.openedPath.slice()),(()=>{n(b.value)?f.value&&(p.value=!0,ne((()=>{T()}))):x()}),{immediate:!0});const k=m((()=>"h"===o.value&&1===V.value&&!t.fromEllipsis||t.fromEllipsis&&1===V.value?"bottom-start":"right-start")),{floatingStyles:S,update:T}=Il(f,h,{placement:k.value,strategy:"fixed",middleware:[Nl(i.popperOffset),_l({fallbackPlacements:["left-start","right-start"],padding:5}),Dl({padding:5})]});return ce((()=>{v.value=!1})),Je((()=>{v.value=!0,x()})),(t,a)=>(r(),g("div",{class:"nav-pop-menu",ref_key:"triggerRef",ref:f},[s("div",cf,[X(t.$slots,"default")]),v.value?w("",!0):(r(),Y(vt,{key:0,to:u(l),fallback:"#tuiRoot",disabled:v.value},[ae(Se,{name:"fade"},{default:_((()=>[p.value?(r(),g("div",{key:0,ref_key:"popperRef",ref:h,class:B(["tui-nav-popper",[e.popperClass]]),style:ie(u(S))},[s("div",ff,[(r(!0),g(J,null,Ce(q.value,((t,l)=>(r(),g(J,{key:u(d)(t)||l},[0===u(c)(t).length?(r(),g("div",pf,[ae(Ft,{item:t,pathIds:[...y.value,u(d)(t)],level:V.value+1,fromEllipsis:e.fromEllipsis},null,8,["item","pathIds","level","fromEllipsis"])])):(r(),g("div",gf,[ae(Gl,{item:t,baseLevel:V.value+1,pathIds:[...y.value,u(d)(t)],fromEllipsis:e.fromEllipsis},{default:_((()=>[ae(Ft,{item:t,pathIds:[...y.value,u(d)(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)):w("",!0)])),_:1})],8,["to","disabled"]))],512))}},hf={key:0,class:"nav-ellipsis-menu"},vf={__name:"ellipsis",props:{items:{type:Array,default:()=>[]}},setup(e){const t=e,{parProps:l}=ve("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",hf,[ae(Gl,{popperClass:"nav-em-popper",item:n.value,pathIds:a,fromEllipsis:!0,baseLevel:1},{default:_((()=>[ae(Ft,{class:"nav-em-cont",item:n.value,pathIds:a,hasSubmenu:!0,fromEllipsis:!0,level:1},{default:_((()=>[s("i",{class:B(["nav-em-icon",u(l).ellipsisIcon])},null,2)])),_:1},8,["item"])])),_:1},8,["item"])])):w("",!0)}},Pl={__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=qe("navCont"),{parProps:a,dir:i,isOpenedItem:A,collapse:o,getItemId:n,getItemChildren:s,getItemDisabled:d}=ve("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((()=>d(t.item))),f=m((()=>0===p.value.length)),h=m((()=>A(c.value))),y=C(0),V=m((()=>{const e=p.value,t=a.lineHeight||40;return de("cpt-navitem",{...e.length>0&&{conth:`${y.value||t*e.length}px`}})})),b=e=>{y.value=e.height};return(a,A)=>{const s=_e("tui-resize");return r(),g("div",{class:B(["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"==u(i)||"v"==u(i)&&u(o)?(r(),Y(Gl,{key:0,item:e.item,fromEllipsis:e.fromEllipsis},{default:_((()=>[ae(Ft,{item:e.item,fromEllipsis:e.fromEllipsis,hasSubmenu:!0},null,8,["item","fromEllipsis"])])),_:1},8,["item","fromEllipsis"])):(r(),g("div",{key:1,class:B(["nav-tree-menu",{"is-opened":h.value}])},[ae(Ft,{item:e.item,fromEllipsis:e.fromEllipsis,hasSubmenu:!0},null,8,["item","fromEllipsis"]),ae(Se,{name:"fade"},{default:_((()=>[h.value?ge((r(),g("div",{key:0,class:"nav-tree-menu-cont",style:ie(V.value)},[(r(!0),g(J,null,Ce(p.value,((l,a)=>(r(),Y(Pl,{key:u(n)(l)||a,item:l,baseLevel:t.baseLevel+1,fromEllipsis:e.fromEllipsis,pathIds:[...e.pathIds,u(n)(l)]},null,8,["item","baseLevel","fromEllipsis","pathIds"])))),128))],4)),[[s,{callback:b,uid:u(l),disabled:"v"!=u(i)&&h.value}]]):w("",!0)])),_:1})],2))],64))],2)}}},Ca=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:u}=i,d=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,d(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("/"),u&&(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},mf={class:"tui-nav-inner"},yf=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}=ve("$global",null),d=n(),c=e,p=qe("nav"),v=C(null),f=C(!1),h=C(!1),y=t,V=m((()=>c.props?.id||"id")),b=m((()=>c.props?.children||"children")),q=m((()=>c.props?.label||"label")),x=m((()=>c.props?.disabled||"disabled")),k=m((()=>c.props?.path||"path")),S=e=>String(e?.[V.value]??""),T=e=>e?.[b.value]||[],$=e=>e?.[q.value]||"",R=e=>e?.[k.value]||null,z=e=>{const t=R(e);if(t)return t;const l=$(e);return l?((e="/",t="")=>`${String(e||"/").replace(/\/+$/,"")||""}/${String(t||"").replace(/^\/+/,"")}`.replace(/\/+/g,"/"))(c.routerBase,l):null},O=(e=[])=>[].concat(e||[]).map((e=>String(e))),N=(e=[])=>O(e).join("/"),M=(e,t,l=!1)=>{const a=O(e);return{pathIds:a,pathStr:N(a),item:t,fromEllipsis:l}},P=Ve({navMode:null,actLeafInfo:{item:null,pathIds:[],fromEllipsis:!1},openedPath:[],activePath:[],actInEllipsis:!1,maxVisible:0,resizing:!1,temp:{pathIds:[],routePath:null}}),I=m((()=>"h"==c.direction||"v"==c.direction&&c.collapse)),D=m((()=>P.resizing?0:c.maxVisible||P.maxVisible)),E=m((()=>c.data)),W=m((()=>{if(c.ellipsis&&"h"===c.direction&&D.value>0&&E.value.length>D.value){return{vItems:E.value.slice(0,D.value),hItems:E.value.slice(D.value)}}return{vItems:E.value,hItems:[]}}));function F(e){return P.openedPath.length>0&&P.openedPath.includes(String(e))}function j(e){return P.activePath.length>0&&P.activePath.includes(String(e))}function L(e,t,l=!1){const a=O(e);P.actLeafInfo={item:t,fromEllipsis:l,pathIds:a},P.activePath=[...a],P.actInEllipsis=l}function G(e=[]){P.openedPath=[...O(e)]}function Q(e){const t=function(e){const t=[],l=e=>{const a=S(e);a&&t.push(a),T(e).forEach(l)};return l(e),t}(e);P.openedPath=P.openedPath.filter((e=>!t.includes(String(e))))}function U(){I.value?P.openedPath.length>0&&(G([]),P.activePath.length>0&&(P.activePath=[],P.actLeafInfo.pathIds.length>0&&(P.activePath=[...P.actLeafInfo.pathIds],P.actInEllipsis=P.actLeafInfo.fromEllipsis)),P.temp.pathIds=[]):!c.collapse&&P.actLeafInfo.pathIds.length>0&&(P.openedPath=P.actLeafInfo.pathIds.slice(0,-1))}function X(e=!0){const t=O(P.actLeafInfo.pathIds);if(t.length>0){const l=t[0],a=W.value.vItems.findIndex((e=>S(e)===l)),i=W.value.hItems.findIndex((e=>S(e)===l));a>-1&&(P.actLeafInfo.fromEllipsis=!1,P.actInEllipsis=!1),i>-1&&(P.actLeafInfo.fromEllipsis=!0,P.actInEllipsis=!0),e&&U()}}const K=Ol();H((()=>[K.path,E.value]),(async([e,t])=>{if(!c.router||0==t.length)return;P.temp.routePath||(P.temp.routePath=e);const l=P.actLeafInfo.item,a=z(l);if(a&&e===a)return;let i=Ca({data:E.value,search:{[k.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=Ca({data:E.value,search:{[q.value]:t},config:{matchAll:!1,idKey:V.value,childrenKey:b.value}}))}if(i){L(i.pathIds,i,!1),X(!0),await(async()=>{await ne(),await new Promise((e=>{"function"==typeof requestAnimationFrame?requestAnimationFrame((()=>requestAnimationFrame(e))):setTimeout(e,16)}))})();const e=v.value?.querySelector(".is-current"),t=Me.get1stParent(v.value,".is-dragable");e&&!t&&e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}}),{immediate:!0}),H((()=>[c.collapse,c.direction]),(([e,t])=>{(!e||"h"==t)&&U()})),Ke("TuiNav",{parProps:c,state:P,dir:m((()=>c.direction)),collapse:m((()=>c.collapse&&"v"==c.direction)),menuItems:E,splitItems:W,isPopupMode:I,popperDelay:m((()=>c.popperDelay)),tipConfig:m((()=>c.tipConfig)),pathToString:N,getItemId:S,getItemChildren:T,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:R,isOpenedItem:F,isActiveItem:j,isCurrentItem:function(e){return!!P.actLeafInfo.pathIds.length&&((e=[],t=[])=>{const l=O(e),a=O(t);return l.length===a.length&&l.every(((e,t)=>e===a[t]))})(P.actLeafInfo.pathIds,e)},updatePath:async(e,t,l=!1)=>{const a=O(e),i=S(t),A=T(t).length>0,o=P.openedPath.indexOf(i);if(-1===o)return P.actInEllipsis=l,P.temp.pathIds=a,I.value?("ellipsis"!==i&&!j(i)&&(P.activePath=[...a]),void(A?(G(a),y("open",M(a,t,l))):(y("change",M(a,t,l)),L(a,t,l),G(a.slice(0,-1)),await ne(),U()))):void(A?(y("open",M(a,t,l)),function(e,t){c.accordion?P.openedPath=[...O(e)]:F(t)||(P.openedPath=[...P.openedPath,String(t)])}(a,i)):(y("change",M(a,t,l)),L(a,t,l)));y("close",M(a,t,l)),I.value?G(P.openedPath.slice(0,o)):Q(t)},clearOpenedPath:U}),H((()=>i.value),(()=>{I.value&&U()})),H((()=>a.value),(()=>{!function(e){if(!I.value)return;const t=e.closest(".tui-nav"),l=e.closest(".tui-nav-content");!t&&!l&&U()}(l.value)})),H((()=>A.value),((e,t)=>{if("root"!=d.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(P.resizing=!0,await ne(),"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++}P.maxVisible=i,P.resizing=!1,X(!0)}f.value||(f.value=!0,c.defaultActive?.length&&(P.activePath=O(c.defaultActive),P.actLeafInfo.pathIds=[...P.activePath]),X(!0),c.defaultOpened?.length&&(P.openedPath=O(c.defaultOpened)))}},ee=m((()=>de("cpt-nav",{...c.lineHeight&&{lh:c.lineHeight+"px"}})));return ce((()=>{h.value=!0})),(t,l)=>{const a=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{ref_key:"navRef",ref:v,style:ie(ee.value),class:B(["tui-nav",`tui-dir-${e.direction}`,{"is-collapse":e.collapse&&"v"==e.direction,"is-ellipsis":e.ellipsis&&"h"==e.direction,"is-popup":I.value,"is-tree":!I.value}])},[s("div",mf,["h"==e.direction?(r(),g(J,{key:0},[(r(!0),g(J,null,Ce(W.value.vItems,((e,t)=>(r(),Y(Pl,{key:S(e)||t,item:e,pathIds:[S(e)]},null,8,["item","pathIds"])))),128)),e.ellipsis&&"h"===e.direction&&W.value.hItems.length>0?(r(),Y(vf,{key:0,items:W.value.hItems},null,8,["items"])):w("",!0)],64)):(r(!0),g(J,{key:1},Ce(E.value,((e,t)=>(r(),Y(Pl,{key:S(e)||t,item:e,pathIds:[S(e)]},null,8,["item","pathIds"])))),128))])],6)),[[ke,h.value],[a,{callback:Z,uid:u(p),disabled:"self"!=u(d)(e.resizeObserver)&&f.value}]])])),_:1})}}}),Vf={key:0,class:"tui-con-arrows"},bf={class:"tui-con-item"},wf={class:"tui-con-item"},qf={class:"tui-con-indicators"},Cf=["onClick","onMouseenter"],$a={__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=qe("rollNavIconCtrl"),A=()=>{"hover"==l.parProps.trigger&&oe.c(i)};return(t,o)=>{const n=ye("TuiButton");return ge((r(),g("div",{class:B(["tui-roll-nav-icon-control",{"tui-control-hide":e.state?.disableRolling}])},["enhanced"==e.ctrlTypeCPT?(r(),g("div",Vf,[s("div",bf,[ae(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",wf,[ae(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"])])])):w("",!0),s("div",qf,[(r(!0),g(J,null,Ce(e.state.maxRoll,((t,o)=>(r(),g("div",{class:B(["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&&oe.s(i,(()=>{a("goTo",e)}),500)})(o),onMouseleave:A},null,42,Cf)))),256))])],2)),[[ke,!e.state.disableRolling]])}}},Qt=e=>{if(!e||!e.length)return[];const t=e[0].children||[];return 1===t.length&&t[0].children&&t[0].children.length>1?Qt(t):t},$f=({state:e,direction:t,mode:l,seamless:a,autoRolling:i,visibleLength:A,controlType:o,controlDirection:n,controlAlign:s,hoverPause:r,interval:u,duration:d,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:u,duration:d,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}),kf=({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)`},Sf=({state:e,visibleLength:t})=>{e.disableRolling=e.itemsLen<=t},Tf=({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},Bf=({curRollCalc:e,maxRollCalc:t,seamless:l,auto:a})=>t>e?e+1:t===e&&!l&&a?0:e,xf=({curRollCalc:e,maxRollCalc:t,seamless:l,auto:a})=>e>0?e-1:!l&&0===e&&a?t:e,Pf=({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},Rf=({orient:e,element:t})=>t?"v"===e?t.clientHeight:t.clientWidth:0,zf=({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}},If=({direction:e,controlPosition:t})=>t||("h"===e?"right":"top"),Nf=({direction:e,controlType:t,controlPosition:l})=>t||("h"===e?"top"===l||"bottom"===l?"base":"enhanced":"left"===l||"right"===l?"base":"enhanced"),Df=e=>(Qt(e||[])||[]).map((e=>e?.props)).filter(Boolean),_f=({direction:e,element:t})=>t?"h"===e?t.clientWidth:t.clientHeight:0,Of=({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)},Mf=({activeIndex:e,visibleLength:t})=>e<0||!t?null:Math.floor(e/t),Ef=(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]},Lf=({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},Wf=({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},jf=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}=ve("$global",null),A=i(),o=ut(),n=e,d=t,c=C(!1),p=C(null),v=C(null),f=C(null),h=C(null),y=C(null),V=qe("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}),q=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=C(!1),k=C([]),S=C(-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)=>{d("change",e,t),d("update:modelValue",e),I("activeChange")},regIdx:()=>(S.value++,S.value),iNavData:k});const T=m((()=>If({direction:n.direction,controlPosition:n.controlPosition}))),$=m((()=>Nf({direction:n.direction,controlType:n.controlType,controlPosition:T.value}))),R=m((()=>de("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"}))),z=()=>{f.value?.prev()},O=()=>{f.value?.next()},N=e=>{f.value?.goTo(e)},M=(e,t,l)=>{Wf({state:b,info:e}),n.debug&&console.info("update",e,t,l),x.value=!1},P=m((()=>k.value.findIndex((e=>e.value===n.modelValue)))),I=async e=>{x.value=!0,b.disableRolling=!1,await ne(),await(async e=>{if("tabIOR"!=e&&"slotChange"!=e||!v.value)return;x.value&&(b.rollOuterSize=0),await ne();const t=_f({direction:n.direction,element:v.value});b.rollOuterSize=t,q.visibleLength=Of({direction:n.direction,outerSize:t,itemApproxWidth:n.itemApproxWidth,itemApproxHeight:n.itemApproxHeight})})(e),Fe.isNEG0(P.value)?(q.initIndex=Mf({activeIndex:P.value,visibleLength:q.visibleLength}),b.lastActTabIdx=P.value):q.initIndex=null,c.value?Fe.isNEG0(P.value)&&(await ne(),b.itemsLen&&f.value?.forceUpdate(e)):c.value=!0};H((()=>P.value),(()=>{I("activeChange")})),H((()=>n.controlPosition),(async()=>{await ne(),I("slotChange")})),zl((()=>{if(!c.value)return;const e=Df(o.default?.()||[]),t=e.length;if(k.value=e,t>0){if(P.value<0){const e=Ef(k.value,b.lastActTabIdx);void 0!==e?.value&&d("update:modelValue",e.value)}if(b.itemsLen>0&&t!=b.itemsLen){const e=t>b.itemsLen?"add":"rem";I(e)}}else I("watchEffect")}));H((()=>[n.direction,n.debug,n.duration,n.motionBlur,n.resizeObserver]),(()=>{Lf({rollingCfg:q,props:n})}),{immediate:!0}),H((()=>l.value),((e,t)=>{"root"==A.value(n.resizeObserver)&&e>t&&D()}));const D=()=>{I("tabIOR")};return ce((()=>{h.value.uid=V+"_pre",y.value.uid=V+"_suf",h.value&&y.value&&It.o([h.value,y.value],(()=>{I("slotChange")}),{childList:!0,subtree:!1},200)})),Je((()=>{It.d([h.value,y.value])})),(t,l)=>{const a=ye("TuiRolling"),i=_e("tui-resize");return ge((r(),g("div",{class:B(["tui-roll-nav-icon",`tui-direction-${e.direction}`,`tui-ctrlType-${$.value}`,`tui-ctrlPos-${T.value}`,{"is-initing":!c.value}]),ref_key:"rollTabsRef",ref:p,style:ie(R.value)},[ge(s("div",{class:"tui-prefix",ref_key:"prefixRef",ref:h},["left"==T.value||"top"==T.value?(r(),Y($a,{key:0,state:b,parProps:n,ctrlTypeCPT:$.value,onPrev:z,onNext:O,onGoTo:N},null,8,["state","parProps","ctrlTypeCPT"])):w("",!0)],512),[[ke,("left"==T.value||"top"==T.value)&&!b.disableRolling]]),s("div",{class:B(["tui-rolling-outer",{"is-initing":x.value}]),ref_key:"rollOuterRef",ref:v},[c.value?(r(),Y(a,xe({key:0},q,{ref_key:"rollElemRef",ref:f,onUpdate:M}),{default:_((()=>[X(t.$slots,"default")])),_:3},16)):w("",!0)],2),ge(s("div",{class:"tui-suffix",ref_key:"suffixRef",ref:y},["right"==T.value||"bottom"==T.value?(r(),Y($a,{key:0,state:b,parProps:n,ctrlTypeCPT:$.value,onPrev:z,onNext:O,onGoTo:N},null,8,["state","parProps","ctrlTypeCPT"])):w("",!0)],512),[[ke,("right"==T.value||"bottom"==T.value)&&!b.disableRolling]])],6)),[[i,{callback:D,uid:u(V),disabled:"self"!=u(A)(e.resizeObserver)&&c.value}]])}}}),mn={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},Gf={key:0,class:"tui-roll-lock tui-icon ti-lock"},Ff=Object.assign({name:"TuiRollingNavIconItem"},{__name:"item",props:{...mn,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:d,modelValue:c,change:p,closeable:v,regIdx:f,locale:h,titleLocaleMap:y}=ve("TuiRollNavI",null),V=m((()=>"null"!=Re(i.closeable)?i.closeable:v.value)),b=m((()=>c.value==i.value)),q=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=C(null),k=()=>{i.disabled||p(i.value,x.value)},S=()=>{A("remove")};return ce((()=>{x.value=f()})),(t,l)=>{const a=ye("TuiTextTip"),i=ye("TuiRollingItem");return r(),Y(i,null,{default:_((()=>[s("div",{class:B(["tui-roll-nav-icon-item",`tui-shape-${u(d)}`]),onClick:k},[s("div",{class:B(["item-frame",{"is-active":b.value,"is-disabled":t.disabled}])},[e.icon?(r(),g("i",{key:0,class:B(["tui-roll-icon",e.icon])},null,2)):w("",!0),ae(a,xe(u(o),{class:"tui-roll-label"}),{default:_((()=>[Pe(F(q.value),1)])),_:1},16),V.value?(r(),g(J,{key:1},[t.locked?(r(),g("i",Gf)):(r(),g("i",{key:1,class:"tui-roll-remove tui-icon ti-times",onClick:Xe(S,["stop"])}))],64)):w("",!0)],2)],2)])),_:1})}}}),Hf={class:"tui-con-item"},Qf={class:"tui-con-item"},Uf={class:"tui-con-item"},ka={__name:"control",props:{parProps:{type:Object,required:!0},state:{type:Object,required:!0}},emits:["prev","next"],setup(e,{emit:t}){const l=t;return ce((()=>{})),(t,a)=>{const i=ye("TuiButton");return ge((r(),g("div",{class:B(["tui-roll-control",{"tui-control-hide":e.state?.disableRolling}])},[s("div",Hf,F((e.state.curRoll||0)+1)+"/"+F(e.state.maxRoll||1),1),s("div",Qf,[ae(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",Uf,[ae(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)),[[ke,!e.state.disableRolling]])}}},Yf=({direction:e,controlPosition:t})=>t||("h"===e?"suffix":"prefix"),Kf=e=>(Qt(e||[])||[]).map((e=>e?.props)).filter(Boolean),Xf=({direction:e,element:t})=>t?"h"===e?t.clientWidth:t.clientHeight:0,Zf=({direction:e,outerSize:t,itemApproxWidth:l,itemApproxHeight:a})=>{const i=Math.floor("h"===e?t/l:t/a);return Math.max(1,i||1)},Jf=({activeIndex:e,visibleLength:t})=>e<0||!t?null:Math.floor(e/t),ep=(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}},tp=({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},lp=({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},ap={key:0,class:"tui-slot-inner"},np={key:1,class:"tui-slot-inner"},op=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}=ve("$global",null),A=i(),o=ut(),n=e,d=t,c=qe("rollNavTabs"),p=C(!1),v=C(null),f=C(null),h=C(null),y=C(null),V=C(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}),q=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=C(!1),k=C([]);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)=>{d("change",e,t,l,a),d("update:modelValue",e),M("activeChange")},tNavData:k});const S=m((()=>Yf({direction:n.direction,controlPosition:n.controlPosition}))),T=m((()=>de("cpt-rolltab",{...b.rollOuterSize&&{size:b.rollOuterSize+"px"},itmw:n.itemApproxWidth+"px",itmh:n.itemApproxHeight+"px"}))),$=()=>{h.value?.prev()},R=()=>{h.value?.next()},z=(e,t,l)=>{lp({state:b,info:e}),n.debug&&console.info("update",e,t,l),x.value=!1},O=m((()=>k.value.findIndex((e=>e.value===n.modelValue)))),N=(e,t)=>{n.debug&&console.info("[rollingNavTabs:init]",{stage:e,key:t,inited:p.value,initing:x.value,activeIdx:O.value,visibleLength:q.visibleLength,initIndex:q.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 ne(),(e=>{if("tabIOR"!=e&&"slotChange"!=e||!f.value)return;x.value&&(b.rollOuterSize=0);const t=Xf({direction:n.direction,element:f.value});b.rollOuterSize=t,q.visibleLength=Zf({direction:n.direction,outerSize:t,itemApproxWidth:n.itemApproxWidth,itemApproxHeight:n.itemApproxHeight})})(e),Fe.isNEG0(O.value)?(q.initIndex=Jf({activeIndex:O.value,visibleLength:q.visibleLength}),b.lastActTabIdx=O.value):q.initIndex=null,N("measured",e),p.value?Fe.isNEG0(O.value)&&(await ne(),b.itemsLen&&h.value?.forceUpdate(e)):p.value=!0,await ne(),N("completed",e)};H((()=>O.value),(()=>{M("activeChange")})),H((()=>n.controlPosition),(async()=>{await ne(),M("slotChange")})),zl((()=>{if(!p.value)return;const e=Kf(o.default?.()||[]),t=e.length;if(k.value=e,t>0){if(O.value<0){const e=ep(k.value,b.lastActTabIdx);d("update:modelValue",e?.item?.value),d("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")}));H((()=>[n.direction,n.debug,n.duration,n.motionBlur,n.resizeObserver]),(()=>{tp({rollingCfg:q,props:n})}),{immediate:!0}),H((()=>l.value),((e,t)=>{"root"==A.value(n.resizeObserver)&&e>t&&P()}));const P=()=>{M("tabIOR")};return ce((()=>{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)})),Je((()=>{It.d([y.value,V.value])})),(t,l)=>{const a=ye("TuiRolling"),i=_e("tui-resize");return ge((r(),g("div",{class:B(["tui-roll-nav-tabs",`tui-direction-${e.direction}`,{"is-initing":!p.value}]),ref_key:"rollTabsRef",ref:v,style:ie(T.value)},[ge(s("div",{class:B("tui-prefix "+(e.prefixReverse?"tui-prefix-reverse":"")),ref_key:"prefixRef",ref:y},[t.$slots.prefix?(r(),g("div",ap,[X(t.$slots,"prefix")])):w("",!0),"prefix"==S.value?(r(),Y(ka,{key:1,state:b,parProps:n,onPrev:$,onNext:R},null,8,["state","parProps"])):w("",!0)],2),[[ke,t.$slots.prefix||"prefix"==S.value&&!b.disableRolling]]),s("div",{class:B(["tui-rolling-outer",{"is-initing":x.value}]),ref_key:"rollOuterRef",ref:f},[p.value?(r(),Y(a,xe({key:0},q,{ref_key:"rollElemRef",ref:h,onUpdate:z}),{default:_((()=>[X(t.$slots,"default")])),_:3},16)):w("",!0)],2),ge(s("div",{class:B("tui-suffix "+(e.suffixReverse?"tui-suffix-reverse":"")),ref_key:"suffixRef",ref:V},["suffix"==S.value?(r(),Y(ka,{key:0,state:b,parProps:n,onPrev:$,onNext:R},null,8,["state","parProps"])):w("",!0),t.$slots.suffix?(r(),g("div",np,[X(t.$slots,"suffix")])):w("",!0)],2),[[ke,t.$slots.suffix||"suffix"==S.value&&!b.disableRolling]])],6)),[[i,{callback:P,uid:u(c),disabled:"self"!=u(A)(e.resizeObserver)&&p.value}]])}}}),ip={key:0,class:"tui-roll-lock tui-icon ti-lock"},sp=Object.assign({name:"TuiRollingNavTab"},{__name:"item",props:{...mn,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:d,change:c,closeable:p,regIdx:v,locale:f,titleLocaleMap:h}=ve("TuiRollNavT",null),y=m((()=>"null"!=Re(i.closeable)?i.closeable:p.value)),V=m((()=>d.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||""})),q=()=>{i.disabled||c(i.value,i.index,i.item)},C=()=>{A("remove",i.index,i.value,i.item)};return(t,l)=>{const a=ye("TuiTextTip"),i=ye("TuiRollingItem");return r(),Y(i,null,{default:_((()=>[s("div",{class:B(["tui-roll-nav-tab",{"is-active":V.value,"is-disabled":t.disabled}]),onClick:q},[e.icon?(r(),g("i",{key:0,class:B(["tui-roll-icon",e.icon])},null,2)):w("",!0),ae(a,xe({...u(o),appearance:"curtip"},{class:"tui-label"}),{default:_((()=>[Pe(F(b.value),1)])),_:1},16),y.value?(r(),g(J,{key:1},[t.locked?(r(),g("i",ip)):(r(),g("i",{key:1,class:"tui-roll-remove tui-icon ti-times",onClick:Xe(C,["stop"])}))],64)):w("",!0)],2)])),_:1})}}}),rp={class:"btn-inner"},Ap={key:0,class:"tui-icon ti-times"},up=Object.assign({name:"TuiRouterNav"},{__name:"index",props:{className:String,appendTo:[String,Object],options:{type:Array,default:()=>[],validator:e=>{const{valid:t,message:l}=bt.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}=ve("$global",null),a=ut(),i=Ol(),A=qe("routerNav"),o=e,n=m((()=>{const e=o.appendTo??t.value;return"string"==typeof e?e:u(e)})),d=Ve({drawerConfig:{direction:"btt",padding:40,modal:!0,showClose:!1,className:"tui-router-nav-drawer"}}),c=m((()=>de("cpt-rnav",{btnw:"number"==typeof o.buttonWidth?o.buttonWidth+"px":o.buttonWidth}))),p=C(!1),v=C(!1),f=C(!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||vn,b=e=>({...o.buttonConfig,...e?.buttonConfig}),q=()=>{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 ce((()=>{f.value=!1,oe.s(A,(()=>{v.value=!0}),o.triggerAniDelay)})),Je((()=>{f.value=!0,oe.c(A)})),(t,l)=>{const A=ye("TuiDrawer");return r(),g(J,null,[f.value||u(i)?.path?.includes("login")?w("",!0):(r(),Y(vt,{key:0,to:n.value,fallback:"#tuiRoot",disabled:f.value},[s("div",{class:B(`tui-router-nav-restraint tui-position-${e.triggerPosition} ${e.className||""}`)},[ae(Se,{name:"fade"},{default:_((()=>[p.value?w("",!0):(r(),g("div",{key:0,class:B(`tui-router-nav-btn btn-turn-on style-${e.triggerStyle} ani-${e.triggerAni&&v.value?"on":"off"} `),onClick:q},[...l[1]||(l[1]=[s("i",{class:"tui-icon ti-angle-up"},null,-1)])],2))])),_:1})],2)],8,["to","disabled"])),ae(A,xe({modelValue:p.value,"onUpdate:modelValue":l[0]||(l[0]=e=>p.value=e)},d.drawerConfig,{modal:e.modal}),{default:_((()=>[s("div",{class:B(`tui-router-nav-btn btn-turn-off style-${e.triggerStyle} tui-position-${e.triggerPosition}`),onClick:q},[s("div",rp,[p.value?(r(),g("i",Ap)):w("",!0)])],2),s("div",{class:"tui-route-nav-inner",style:ie(c.value)},[(r(!0),g(J,null,Ce(e.options,((e,l)=>(r(),g(J,{key:l},[u(a).item?X(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)),xe({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:_((()=>[Pe(F(e.buttonLabel||e.label),1)])),_:2},1040,["class","type","disabled","aria-current","onClick"]))],64)))),128))],4)])),_:3},16,["modelValue","modal"])],64)}}}),dp={class:"tui-step-head"},cp={key:0,class:"tui-step-line"},fp={class:"tui-step-icon"},pp={key:2,class:"tui-step-index"},gp={class:"tui-step-main"},yn=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:d}=ve("TuiSteps",null);ce((()=>{o({props:a,uid:l})}));const c=m((()=>n.value.findIndex((e=>e.uid===l)))),p=m((()=>a.status?a.status:c.value<d.active?d.finishStatus:c.value===d.active?d.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=ye("TuiTextTip");return r(),g("div",{class:B(["tui-step",[`is-${p.value}`,{"is-simple":u(d).simple,"is-vertical":"vertical"===u(d).direction}]])},[s("div",dp,[u(d).simple?w("",!0):(r(),g("div",cp,[...l[0]||(l[0]=[s("i",{class:"tui-step-line-inner"},null,-1)])])),s("div",fp,[t.$slots.icon?X(t.$slots,"icon",{key:0}):v.value?(r(),g("i",{key:1,class:B(v.value)},null,2)):(r(),g("span",pp,F(c.value+1),1))])]),s("div",gp,[ae(a,xe(u(i),{class:"tui-step-title"}),{default:_((()=>[X(t.$slots,"title",{},(()=>[Pe(F(e.title),1)]))])),_:3},16),!t.$slots.description&&!e.description||u(d).simple?w("",!0):(r(),Y(a,xe({key:0},f.value,{class:"tui-step-description"}),{default:_((()=>[X(t.$slots,"description",{},(()=>[Pe(F(e.description),1)]))])),_:3},16))]),u(d).simple&&u(n).length!=c.value+1?(r(),g("div",{key:0,class:B(["tui-simple-arrow","vertical"===u(d).direction?"tui-icon ti-chevron-down":"tui-icon ti-chevron-right"])},null,2)):w("",!0)],2)}}}),hp=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}=bt.fieldValid(e,["title"]);return t||console.warn("TuiSteps Warning! ",l),t}},descriptionLines:{type:Number,default:2},tipConfig:Object},setup(e){const t=e,l=C([]);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:B(["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},Ce(e.options,((e,t)=>(r(),Y(yn,{key:t,title:e.title,description:e.description,icon:e.icon,status:e.status},null,8,["title","description","icon","status"])))),128)):X(t.$slots,"default",{key:1})],2))}}),vp={class:"tui-pager"},mp=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}=bt.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}=ve("$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((()=>de("cpt-tab",{...A.itemMaxWidth&&{maxw:Re.join("number",A.itemMaxWidth,"px")},...A.align&&{align:A.align},...b.active&&{scroll:d()}}))),d=()=>{const e=b.curIndex*b.wrapSize;return"v"==V.value?`translateY(-${e}px)`:`translateX(-${e}px)`},c=qe("tabs"),p=C(!1),v=C(!1),f=C(null),h=C(null),y=C(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}),q=()=>{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};H((()=>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 ce((()=>{v.value=!0})),(t,l)=>{const a=ye("TuiTab"),A=ye("TuiButton"),o=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(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:B(["tui-scroll-inner"]),ref_key:"scrollInnerRef",ref:y,onTransitionend:k},[e.options.length>0?(r(!0),g(J,{key:0},Ce(e.options,((e,t)=>(r(),Y(a,xe({ref_for:!0},e,{value:e.value?e.value:t}),{default:_((()=>[Pe(F(e.label),1)])),_:2},1040,["value"])))),256)):X(t.$slots,"default",{key:1})],544)],512),s("div",{class:B(["tui-scroll-control",{"tui-scroll-active":b.active}])},[s("div",vp,F(b.curIndex+1)+"/"+F(b.maxIndex+1),1),ae(A,{link:"",disabled:b.disLeftArrow,onClick:q},{default:_((()=>[...l[0]||(l[0]=[s("i",{class:"tui-icon ti-chevron-left"},null,-1)])])),_:1},8,["disabled"]),ae(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},Ce(e.options,((e,t)=>(r(),Y(a,xe({ref_for:!0},e,{value:e.value?e.value:t}),{default:_((()=>[Pe(F(e.label),1)])),_:2},1040,["value"])))),256)):X(t.$slots,"default",{key:1})],64)),t.$slots.suffix?X(t.$slots,"suffix",{key:2}):w("",!0)],6)),[[ke,v.value],[o,{callback:S,uid:u(c),disabled:!e.scrollable||"self"!=u(i)(e.resizeObserver)&&p.value}]])])),_:3})}}}),yp=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}=ve("TuiTabs",null),s=m((()=>A.value==t.value)),d=()=>{t.disabled||(a(t.value),i(t.value))};return(t,a)=>{const i=ye("TuiTextTip"),A=ye("TuiTag");return r(),g("div",{onClick:d,class:B(["tui-tab-item",{"is-active":s.value,"is-disabled":e.disabled}])},[e.icon?(r(),g("i",{key:0,class:B(`tab-icon ${e.icon}`)},null,2)):w("",!0),ae(i,xe(u(l),{textDirection:u(n)}),{default:_((()=>[X(t.$slots,"default")])),_:3},16,["textDirection"]),e.count?(r(),Y(A,xe({key:1,class:"tab-value",size:"small",type:e.tagType},u(o)),{default:_((()=>[Pe(F(e.count),1)])),_:1},16,["type"])):w("",!0)],2)}}}),pl=Symbol("treeNodeContextKey");let Vp=0;function bp(){return Vp++}const wp={class:"tui-tree-node-label"},qp={key:1,class:"tui-text"},Cp={__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}=ve(pl,{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 u=m((()=>{let e=0;return e=a.includes("menu")&&1===l.node.level?10:(l.node.level-1)*l.indent,[de("cpt-tree-cont",{pdl:e+"px"})]})),d=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:B(["tui-tree-node-cont",{"tui-tree-appear-menu":d.value,"tui-tree-node-1st-cont":1===e.node.level&&d.value}]),style:ie(u.value)},[d.value?w("",!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:B(c.value)},null,2)])),t.$slots.icon?X(t.$slots,"icon",{key:1,node:e.node}):v.value?(r(),g("i",{key:2,class:B("tui-tree-node-icon "+p.value)},null,2)):w("",!0),e.showCheckbox?(r(),g("i",{key:3,class:B(["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)):w("",!0),s("div",wp,[t.$slots.default?X(t.$slots,"default",{key:0,node:e.node,data:e.node.data}):(r(),g("span",qp,F(e.node.label),1))]),d.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:B(c.value)},null,2)])):w("",!0)],6))}},$p=["id"],kp={key:0,class:"tui-tree-node-loading"},Sp={class:"tui-tree-node-loading-text"},Tp={key:0,class:"tui-tree-node-children",role:"group"},Vn={__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}=ve("$global",null),l=e,{store:a,emitter:i,root:A,appearance:o,showIcon:n,defaultIcon:d}=ve(pl,{appearance:"tree",showIcon:!1,defaultIcon:null}),c=C(!1),p=C(null),v=C(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),q(),l.expandOnClickNode&&y(),l.showCheckbox&&l.checkOnClickNode&&!e.disabled&&x({target:{checked:!e.checked}})}function b(e){a.currentNode!==l.node&&q(),i.emit("node-contextmenu",e,l.node.data,l.node,this)}function q(){f.value||a.setCurrentNode(l.node)}function x(e){const t=e.target.checked;l.node.setChecked(t,!a.checkStrictly),ne((()=>{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 k(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 T(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 R(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 z(e){e.style.height="",e.style.overflow="",e.style.transition="",e.style.opacity=""}return H((()=>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}),H((()=>l.node.checked),(e=>{p.value!==e&&(i.emit("check-change",l.node.data,e,l.node.indeterminate),p.value=e)}),{immediate:!0}),H((()=>l.node.indeterminate),(e=>{v.value!==e&&(v.value=e)}),{immediate:!0}),H((()=>l.node.visible),(()=>{})),(a,i)=>ge((r(),g("div",{class:B(["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"])},[ae(Cp,{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},Et({_:2},[a.$slots.default?{name:"default",fn:_((e=>[X(a.$slots,"default",{node:e.node,data:e.data})])),key:"0"}:void 0,a.$slots.icon?{name:"icon",fn:_((e=>[X(a.$slots,"icon",pt(qt(e)))])),key:"1"}:void 0]),1032,["node","expanded","show-checkbox","node-icon","indent","icon"]),e.node.loading?(r(),g("div",kp,[i[0]||(i[0]=s("span",{class:"tui-tree-node-loading-icon"},"⟳",-1)),s("span",Sp,F(u(t)("common.processing")),1)])):w("",!0),ae(Se,{name:"tui-tree-node",onBeforeEnter:k,onEnter:S,onAfterEnter:T,onBeforeLeave:$,onLeave:R,onAfterLeave:z},{default:_((()=>[!e.renderAfterExpand||c.value?ge((r(),g("div",Tp,[(r(!0),g(J,null,Ce(e.node.childNodes,(t=>(r(),Y(Vn,{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},Et({_:2},[a.$slots.default?{name:"default",fn:_((e=>[X(a.$slots,"default",{node:e.node,data:e.data})])),key:"0"}:void 0,a.$slots.icon?{name:"icon",fn:_((e=>[X(a.$slots,"icon",xe({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)),[[ke,c.value]]):w("",!0)])),_:3})],42,$p)),[[ke,e.node.visible]])}};class Ht{constructor(e){this.id=bp(),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 Bp{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 xp={key:0,class:"tui-tree-filter"},Pp={key:1,class:"tui-tree-empty"},Rp={key:2,class:"tui-tree-loading"},zp={class:"tui-tree-load-text"},Ip={class:"tui-tree-inner"},Np=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}=ve("$global",null),i=e,A=l,o=Ve(new Bp({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)),d=C(null),c=C(""),p=C(!1),v=m((()=>{const{childNodes:e}=n.value;return!e||0===e.length||e.every((e=>!1===e.visible))})),f=C(null);function h(){Ke(pl,{store:o,root:n,currentNode:d,appearance:i.appearance,showIcon:i.showIcon,defaultIcon:i.icon,emitter:{emit:(e,...t)=>{A(e,...t)}}})}Ke(pl,{store:o,root:n,currentNode:d,appearance:i.appearance,showIcon:i.showIcon,defaultIcon:i.icon,emitter:{emit:(e,...t)=>{A(e,...t)}}}),H((()=>i.data),(e=>{o.setData(e)}),{deep:!0}),H((()=>i.currentNodeKey),(e=>{o.setCurrentNodeKey(e)})),H((()=>i.defaultCheckedKeys),(e=>{o.setDefaultCheckedKeys(e)})),H((()=>i.defaultExpandedKeys),(e=>{o.setDefaultExpandedKeys(e)})),H(c,(e=>{o.filter(e)})),H((()=>i.appearance),(e=>{h()})),H((()=>i.showIcon),(e=>{h()})),H((()=>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),d.value=o.currentNode},setCurrentNode:(e,t=!0)=>{o.setCurrentNode(e,t),d.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)}),ce((()=>{d.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=ye("TuiInput"),o=ye("TuiEmpty");return r(),g("div",{class:B(["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",xp,[ae(A,{clearable:"",type:"text",modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=e=>c.value=e),placeholder:u(a)("placeholder.filter")},null,8,["modelValue","placeholder"])])):w("",!0),v.value?(r(),g("div",Pp,[ae(o,{text:e.emptyText},null,8,["text"])])):w("",!0),p.value?(r(),g("div",Rp,[s("span",zp,F(u(a)("common.processing")),1)])):w("",!0),ge(s("div",Ip,[(r(!0),g(J,null,Ce(n.value.childNodes,(l=>(r(),Y(Vn,{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},Et({_:2},[t.$slots.default?{name:"default",fn:_((e=>[X(t.$slots,"default",{node:e.node,data:e.data})])),key:"0"}:void 0,t.$slots.icon?{name:"icon",fn:_((e=>[X(t.$slots,"icon",xe({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),[[ke,!v.value]])],2)}}}),Dp=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}=bt.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=ve("TuiForm",null),i=m((()=>a?.size?.value||l.size)),A=m((()=>a?.disabled?.value||l.disabled)),o=m((()=>de("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)}}),ce((()=>{})),(t,l)=>{const a=ye("TuiCheckboxItem");return r(),g("div",{class:B(["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:ie(o.value)},[e.options.length>0?(r(!0),g(J,{key:0},Ce(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:_((()=>[Pe(F(e.label),1)])),_:2},1032,["value","count","icon","disabled"])))),256)):X(t.$slots,"default",{key:1})],6)}}}),_p={key:0,class:B("checkbox-icon tui-icon ti-square")},Op={key:1,class:B("checkbox-icon tui-icon tis-check-square")},Mp=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}=ve("TuiCkboxG",null),d=m((()=>d.value)),c=m((()=>n(t.value))),p=m((()=>"array"==Re(t.icon)&&2==t.icon.length?c.value?t.icon[1]:t.icon[0]:"string"==Re(t.icon)?t.icon:void 0)),v=e=>{t.disabled||s.value||a(t.value)};return Bt((()=>{})),(t,a)=>{const i=ye("TuiTextTip");return r(),g("div",{onClick:v,class:B(["tui-checkbox-item",{"is-active":c.value,"is-disabled":e.disabled||u(s)}])},[!c.value&&u(A)?(r(),g("i",_p)):u(A)?(r(),g("i",Op)):w("",!0),e.icon?(r(),g("i",{key:2,class:B(`checkbox-icon ${p.value}`)},null,2)):w("",!0),ae(i,pt(qt(u(l))),{default:_((()=>[X(t.$slots,"default")])),_:3},16)],2)}}}),Ep=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=C([]),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 H((()=>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:B(["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"]))},[X(t.$slots,"default")],34))}});function kl(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 Lp={key:0,class:"tui-fi-label-wrap"},Wp=["for"],jp={key:0,class:"tui-fi-asterisk"},Gp={key:1,class:"tui-fi-asterisk"},Fp={key:2,class:"tui-fi-label-suffix"},Hp={class:"tui-fi-content-wrap"},Qp=160,Up=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=qe("formItem"),i=`${a}_change`,A=ve("TuiForm",null),{asteriskHide:o,asteriskPosition:n,labelWidth:d,labelPosition:c,labelSuffix:p,labelHide:v,showMessage:f,inlineMessage:h,showValidateState:y,inline:V,model:b,addField:q,removeField:x,size:k,rules:S,emit:T}=A,$=ut(),R=Ue(),z=C(null),O=C(""),N=C(""),M=C(!1),P=C(void 0),I=C(null),D=C(!1),E=m((()=>Array.isArray(l.prop)?l.prop.join("."):l.prop)),W=m((()=>z.value?.$el||z.value)),j={uid:a,get prop(){return E.value},validate:se,resetField:ue,clearValidate:re,get $el(){return z}},L=m((()=>l.for||E.value)),G=m((()=>{const e=R?.vnode?.props||{};return Object.prototype.hasOwnProperty.call(e,"required")})),Y=m((()=>V.value&&"right"==c.value?"left":c.value)),Q=m((()=>{let e=Ae();if(!e)return G.value&&l.required;let t=!1;return e?.length&&e.every((e=>!e.required||(t=!0,!1))),t||G.value&&l.required})),U=m((()=>!l.label&&!$.label||v.value)),J=m((()=>{if(!V.value)return[de("cpt-fi-label",{..."top"===Y.value&&{width:"100%"},..."top"!=Y.value&&d.value&&"auto"!==d.value&&{width:Re.join("number",d.value,"px")}})]})),K=m((()=>"error"===O.value&&f.value&&N.value)),Z=()=>{const e=le();P.value=Array.isArray(e)?[...e]:e},ee=()=>{D.value||!E.value||(q(j),D.value=!0)},te=()=>{D.value&&(x(j),D.value=!1)},le=()=>{if(b.value&&E.value)return kl(b.value,E.value,!0).v},Ae=()=>{const e=S.value,t=G.value?[{required:!!l.required}]:[],a=E.value||"";if(!a)return t.length?t:null;const i=kl(e,a,!1),A=e?e[a]??i.v:[];return A?[].concat(A).concat(t):t.length?t:null};function se(e,t=(()=>{})){oe.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;O.value="validating";const A={};a.length>0&&a.forEach((e=>{delete e.trigger})),A[l]=a;const o=new Ri(A),n={};n[l]=le(),o.validate(n,{firstFields:!0},(e=>{O.value=e?"error":"success",N.value=e?e[0].message:"";const a=e?{message:N.value,field:l}:null;t(N.value,a),T("validate",l,!e,N.value||null)}))}function re(){oe.c(i),O.value="",N.value="",M.value=!1}function ue(){if(!E.value)return;oe.c(i),O.value="",N.value="";const e=le(),t=kl(b.value,E.value,!0);M.value=!0,Array.isArray(e)?t.o[t.k]=[].concat(P.value):t.o[t.k]=P.value,ne((()=>{M.value=!1}))}const pe=()=>{const e=W.value?.querySelectorAll?.("input, textarea, select, [tabindex]")||Me.el("input, textarea, select, [tabindex]",!0);e?.length&&e[0].focus?.()},ge=()=>{"function"==typeof I.value&&(I.value(),I.value=null)},fe=()=>{ge();const e=Ae();if(!E.value||!e||!e.length&&!G.value)return;const t=m((()=>le()));I.value=H(t,(()=>{M.value?M.value=!1:(oe.c(i),oe.s(i,(()=>{se("change")}),Qp))}),{deep:!0})};return H((()=>l.error),(e=>{N.value=e,O.value=e?"error":""}),{immediate:!0}),H((()=>l.validateStatus),(e=>{O.value=e})),H((()=>E.value),((e,t)=>{if(t&&!e)return te(),void re();e&&!t&&ee(),e!==t&&re(),Z(),fe()})),H([G,()=>l.required,S],(()=>{fe()}),{deep:!0}),ce((()=>{ee(),Z(),fe()})),Je((()=>{oe.c(i),ge(),te()})),Ke("tuiFormItem",{...Oe(l),size:k,validateState:O,validateMessage:N,validate:se}),t({size:k,validateMessage:N,validateState:O,validate:se,resetField:ue,clearValidate:re,prop:E,$el:z}),(t,l)=>{const a=ye("TuiTextTip");return r(),g("div",{class:B(["tui-form-item",`tui-fi-label-pos-${Y.value}`,`tui-size-${u(k)}`,{"is-no-label":U.value&&!u(v),"is-hide-label":u(v),"is-inline":u(V),"is-error":"error"===O.value,"is-validating":u(y)&&"validating"===O.value,"is-success":u(y)&&"success"===O.value,"is-required":Q.value,"is-no-asterisk":u(o)}]),style:ie(J.value),ref_key:"formItemRef",ref:z},[u(d)&&!U.value?(r(),g("div",Lp,[s("label",{class:B(["tui-fi-label",`tui-label-pos-${Y.value}`]),for:L.value,onClick:pe},[Q.value&&!u(o)&&"left"==u(n)?(r(),g("span",jp,"*")):w("",!0),X(t.$slots,"label",{},(()=>[ae(a,null,{default:_((()=>[Pe(F(e.label),1)])),_:1})])),Q.value&&!u(o)&&"right"==u(n)?(r(),g("span",Gp,"*")):w("",!0),u(p)?(r(),g("span",Fp,F(u(p)),1)):w("",!0)],10,Wp)])):w("",!0),s("div",Hp,[s("div",{class:B(["tui-fi-content",e.contentAlign&&`is-align-${e.contentAlign}`])},[X(t.$slots,"default")],2),ae(Se,{name:"fades"},{default:_((()=>[K.value?(r(),g("div",{key:0,class:B(["tui-fi-error",{"is-inline":u(h)}])},[X(t.$slots,"error",{error:N.value},(()=>[Pe(F(N.value),1)]))],2)):w("",!0)])),_:3})])],6)}}}),Yp={key:0,class:"tui-input-prefix"},Kp=["type","value","placeholder","disabled","readonly","maxlength","autocomplete","min","max","step"],Xp={key:2,class:"tui-length-counter"},Zp={key:4,class:"tui-input-suffix"},Jp=["value","placeholder","disabled","readonly","maxlength","rows","autosize"],eg={key:0,class:"tui-length-counter"},tg=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=ut(),A=e,o=l,n=ve("TuiForm",null),u=ve("tuiFormItem",null),d=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=C(!1),h=m((()=>"password"===A.type?f.value?"text":"password":A.type)),y=()=>{f.value=!f.value},V=C(0),b=C(null),q=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()},k=()=>{p.value="",V.value=0,b.value.focus(),o("clear")},S=C(!1),T=e=>{o("blur",e),u?.validate?.("blur"),S.value=!1},$=e=>{o("focus",e),S.value=!0},R=m((()=>A.clearable&&!c.value&&!A.readonly)),z=m((()=>A.placeholder||a("placeholder.input"))),O=m((()=>{const e=Number(A.modelValue);return!Number.isNaN(e)&&e<=A.min})),N=m((()=>{const e=Number(A.modelValue);return!Number.isNaN(e)&&e>=A.max})),M=()=>{if(c.value||N.value)return;const e=Fe.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)},P=()=>{if(c.value||O.value)return;const e=Fe.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=ye("TuiButton");return r(),g("div",{class:B(["textarea"==e.type?"tui-textarea":"tui-input","number"==e.type&&"tui-input-number",`tui-size-${d.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",Yp,["number"==e.type?(r(),Y(a,{key:0,disabled:c.value||e.readonly||O.value,onClick:P},{default:_((()=>[...l[0]||(l[0]=[s("i",{class:"tui-icon ti-angle-left"},null,-1)])])),_:1},8,["disabled"])):X(t.$slots,"prefix",{key:1},(()=>[v.value?(r(),g("i",{key:0,class:B(["tui-input-icon",v.value])},null,2)):w("",!0)]))])):w("",!0),s("input",{class:"tui-input-inner",ref_key:"inputRef",ref:b,type:h.value,value:p.value,placeholder:z.value,disabled:c.value,readonly:e.readonly,maxlength:e.maxLength,autocomplete:e.autocomplete,min:e.min,max:e.max,step:e.step,onInput:q,onBlur:T,onFocus:$},null,40,Kp),R.value&&p.value?(r(),g("div",{key:1,class:"input-clearable",onClick:k},[...l[1]||(l[1]=[s("i",{class:"tui-input-icon tui-icon ti-times"},null,-1)])])):w("",!0),e.maxLength?(r(),g("div",Xp,F(V.value)+"/"+F(e.maxLength),1)):w("",!0),"password"===e.type&&p.value?(r(),g("div",{key:3,class:"input-togglePass",onClick:y},[s("i",{class:B("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",Zp,["number"==e.type?(r(),Y(a,{key:0,disabled:c.value||e.readonly||N.value,onClick:M},{default:_((()=>[...l[2]||(l[2]=[s("i",{class:"tui-icon ti-angle-right"},null,-1)])])),_:1},8,["disabled"])):X(t.$slots,"suffix",{key:1},(()=>[e.suffixIcon?(r(),g("i",{key:0,class:B(["tui-input-icon",e.suffixIcon])},null,2)):w("",!0)]))])):w("",!0)],64)):(r(),g(J,{key:1},[s("textarea",{class:"tui-textarea-inner",ref_key:"inputRef",ref:b,value:p.value,placeholder:z.value,disabled:c.value,readonly:e.readonly,maxlength:e.maxLength,rows:e.rows,autosize:e.autosize,onInput:q,onBlur:T,onFocus:$},null,40,Jp),e.maxLength?(r(),g("div",eg,F(V.value)+"/"+F(e.maxLength),1)):w("",!0)],64))],2)}}}),lg=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}=bt.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=ve("TuiForm",null),i=m((()=>a?.size?.value||l.size)),A=m((()=>a?.disabled?.value||l.disabled)),o=m((()=>de("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}),ce((()=>{})),(t,l)=>{const a=ye("TuiRadioItem");return r(),g("div",{class:B(["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:ie(o.value)},[e.options.length>0?(r(!0),g(J,{key:0},Ce(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:_((()=>[Pe(F(e.label),1)])),_:2},1032,["value","count","icon","disabled"])))),256)):X(t.$slots,"default",{key:1})],6)}}}),ag={key:0,class:B("radio-icon tui-icon ti-circle")},ng={key:1,class:B("radio-icon tui-icon tis-dot-circle")},og=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}=ve("TuiRadioG",null),s=m((()=>A.value===t.value)),d=m((()=>"array"==Re(t.icon)&&2==t.icon.length?s.value?t.icon[1]:t.icon[0]:"string"==Re(t.icon)?t.icon:void 0)),c=()=>{t.disabled||n.value||(i(t.value),a(t.value))};return(t,a)=>{const i=ye("TuiTextTip");return r(),g("div",{onClick:c,class:B(["tui-radio-item",{"is-active":s.value,"is-disabled":e.disabled||u(n)}])},[!s.value&&u(o)?(r(),g("i",ag)):u(o)?(r(),g("i",ng)):w("",!0),e.icon?(r(),g("i",{key:2,class:B(`radio-icon ${d.value}`)},null,2)):w("",!0),ae(i,pt(qt(u(l))),{default:_((()=>[X(t.$slots,"default")])),_:3},16)],2)}}}),ig={key:0,class:"tui-icon ti-check"},Rl=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:d}=ve("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||(d?d({value:l.value,label:l.label},s.value):l.label.toLowerCase().includes(s.value.toLowerCase()))));return ce((()=>{i({value:l.value,label:l.label})})),(t,l)=>{const a=ye("TuiTextTip");return v.value?(r(),g("div",{key:0,class:B(["tui-select-item",{"is-disabled":e.disabled,"is-selected":p.value}]),onClick:c},[ae(a,xe(u(A),{class:"tui-label"}),{default:_((()=>[Pe(F(e.label),1)])),_:1},16),p.value?(r(),g("i",ig)):w("",!0)],2)):w("",!0)}}}),sg=(e,t)=>de("cpt-slt-dpd",{...e.fitInputWidth&&t&&{w:`${t}px`}}),rg=(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}),Ag={key:0,class:"tui-select-prefix"},ug={key:1,class:"tui-select-tags"},dg={key:0,class:"tui-select-tag"},cg=["onClick"],fg={key:0,class:"tui-select-tag"},pg={key:2,class:"tui-select-value"},gg={key:3,class:"tui-placeholder"},hg={class:"dropdown-scroll-wrap"},vg=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}=bt.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=ut(),A=(e,t=[])=>(e?.length&&e.forEach((e=>{if(!e)return;if(Array.isArray(e))return void A(e,t);if(e.type===Rl){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"))),u=m((()=>a.filterPlaceholder||l("placeholder.filter"))),d=ve("TuiForm",null),c=m((()=>d?.size?.value||a.size)),p=m((()=>d?.disabled?.value||a.disabled)),v=t,f=C(null),h=C(null),y=C(null),V=C(null),b=C(!1),q=C(!1),x=C(""),k=C([]),S=C(null),T=C([]),$=C(!1),R=C(0),z=m((()=>a.prefixIcon||a.icon)),O=m((()=>a.multiple?k.value.map((e=>e.label)).join(", "):k.value[0]?.label||"")),N=m((()=>sg(a,R.value))),M=m((()=>["tui-slt-popPanel",a.fitInputWidth&&"is-fitInputWidth"].filter(Boolean).join(" "))),P=m((()=>rg(a,p.value,M.value,N.value))),I=()=>{a.fitInputWidth&&h.value&&(R.value=h.value.clientWidth)},D=async()=>{b.value=!0,v("visible-change",!0),await ne(),Q()},E=()=>{b.value=!1,x.value&&(x.value=""),v("visible-change",!1)},W=(e,t=!0)=>{if(a.multiple){const t=k.value.findIndex((t=>t.value===e.value));if(-1!==t)k.value.splice(t,1);else{if(a.multipleLimit>0&&k.value.length>=a.multipleLimit)return;k.value.push(e)}S.value=k.value.map((e=>e.value))}else k.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:k.value}:{value:S.value,item:k.value[0]},("update"==e||"all"==e)&&v("update:modelValue",S.value),("change"==e||"all"==e)&&v("change",t)},L=()=>{k.value=[],S.value=null,x.value="",j("all"),v("clear")},G=(e=a.modelValue)=>{const t=a.options.length>0?a.options:o.value.length>0?o.value:T.value;if(t.length)if(e&&0!=e.length)if(a.multiple||"string"!=Re(e)&&"number"!=Re(e))a.multiple&&"array"==Re(e)&&(bt.shallowEQ(na(e),na(S.value))||(k.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!=k.value[0]?.value&&(k.value=l,S.value=l[0].value)}else k.value=[],S.value=null};H((()=>a.modelValue),(e=>{G(e)}),{immediate:!0}),H(o,(()=>{G()}));const Q=()=>{if(!V.value)return void($.value=!1);const e=V.value.querySelectorAll(".tui-select-item");$.value=e.length>0};H((()=>x.value),(async()=>{await ne(),Q(),y.value?.update?.()}),{immediate:!0});return Ke("TuiSelect",{tipConfig:m((()=>a.tipConfig)),selected:m((()=>k.value)),filterText:m((()=>x.value)),filterMethod:a.filterMethod?(e,t)=>a.filterMethod(e,t):null,handleSelect:e=>W(e),registerItem:e=>{0==T.value.filter((t=>t.value==e.value)).length&&T.value.push(e),G()}}),ce((async()=>{I(),await ne(),Q()})),Si(Q),(t,l)=>{const a=ye("TuiTextTip"),i=ye("TuiInput"),A=ye("TuiEmpty");return r(),g("div",{ref_key:"selectRef",ref:f,class:B(["tui-select",`tui-select-${c.value}`,{"is-disabled":p.value,"is-focus":b.value,"is-multiple":e.multiple,"is-clearable":e.clearable}])},[ae(Xt,xe({ref_key:"popPanelRef",ref:y},P.value,{onShow:I,onShown:D,onHidden:E}),{trigger:_((()=>[s("div",{class:"tui-select-trigger",onMouseenter:l[0]||(l[0]=e=>q.value=!0),onMouseleave:l[1]||(l[1]=e=>q.value=!1),ref_key:"triggerRef",ref:h},[t.$slots.prefix||z.value?(r(),g("div",Ag,[X(t.$slots,"prefix",{},(()=>[z.value?(r(),g("i",{key:0,class:B(["tui-select-icon",z.value])},null,2)):w("",!0)]))])):w("",!0),e.multiple&&k.value.length>0?(r(),g("div",ug,[(r(!0),g(J,null,Ce(k.value,((t,l)=>(r(),g(J,{key:l},[!e.collapseTags||l<e.maxCollapseTags?(r(),g("span",dg,[ae(a,xe({ref_for:!0},e.tipConfig,{class:"tui-label"}),{default:_((()=>[Pe(F(t.label),1)])),_:2},1040),s("span",{class:"tui-remove",onClick:Xe((e=>(e=>{k.value.splice(e,1),S.value=k.value.map((e=>e.value)),j("update")})(l)),["stop"])},"✕",8,cg)])):w("",!0)],64)))),128)),e.collapseTags&&k.value.length>e.maxCollapseTags?(r(),g("span",fg,F(k.value.length-e.maxCollapseTags)+"+ ",1)):w("",!0)])):O.value?(r(),g("div",pg,[ae(a,pt(qt(e.tipConfig)),{default:_((()=>[Pe(F(O.value),1)])),_:1},16)])):(r(),g("div",gg,F(n.value),1)),s("i",{class:B(["tui-select-clear","tui-icon","ti-times",{"is-show":O.value&&e.clearable&&!p.value&&q.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:B(["tui-select-input",{"is-filterable":e.filterable,"is-allowCreate":e.allowCreate}]),icon:"tui-icon ti-filter",placeholder:u.value,clearable:"",modelValue:x.value,"onUpdate:modelValue":l[2]||(l[2]=e=>x.value=e)},null,8,["size","class","placeholder","modelValue"])):w("",!0),s("div",hg,[X(t.$slots,"default",{},(()=>[e.options.length>0?(r(!0),g(J,{key:0},Ce(e.options,((e,t)=>(r(),Y(Rl,{key:t,value:e.value,label:e.label,disabled:e.disaCPT},null,8,["value","label","disabled"])))),128)):w("",!0)])),$.value?w("",!0):(r(),Y(A,{key:0,size:"small"}))])],512)])),_:3},16)],2)}}}),mg={key:2,class:"tui-place-holder"},yg=["disabled","multiple","size","placeholder","name","id","required","autofocus"],Vg=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=C(null),o=m((()=>a.clearable&&!a.disabled)),n=m((()=>a.placeholder?a.placeholder:"Please Select")),u=m((()=>{if(a.multiple)return"small"===a.size?3:"large"===a.size?8:5})),d=m((()=>[de("cpt-slt-nat",{...a.width&&{width:Re.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&&ne((()=>{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||""}))};H((()=>a.modelValue),V,{immediate:!0}),H((()=>a.options),(()=>{ne(V)}),{deep:!0}),ce((()=>{V()}));const b=e=>{i("focus",e)},q=e=>{i("blur",e)};return t({focus:()=>A.value?.focus(),blur:()=>A.value?.blur(),getSelectElement:()=>A.value,syncSelectedState:V}),(t,l)=>{const a=ye("TuiOptionNative");return r(),g("div",{class:B(["tui-select-native",`tui-size-${e.size}`,{"has-icon":e.icon&&!e.multiple}])},[e.icon&&!e.multiple?(r(),g("i",{key:0,class:B(["tui-prefix-icon",e.icon])},null,2)):w("",!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)])])):w("",!0),e.modelValue||e.multiple?w("",!0):(r(),g("div",mg,F(n.value),1)),s("select",{class:B(["tui-sn-element",e.customClass,{"is-disabled":e.disabled,"is-multiple":e.multiple}]),style:ie(d.value),ref_key:"selectRef",ref:A,disabled:e.disabled,multiple:e.multiple,size:u.value,placeholder:n.value,name:e.name,id:e.id,required:e.required,autofocus:e.autofocus,onChange:h,onFocus:b,onBlur:q},[e.options&&e.options.length>0?(r(!0),g(J,{key:0},Ce(e.options,(e=>(r(),Y(a,{key:c(e),value:p(e),label:v(e),disabled:f(e)},null,8,["value","label","disabled"])))),128)):X(t.$slots,"default",{key:1})],46,yg)],2)}}}),bg=["value","disabled","selected"],wg=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;ve("tuiSelectContext",null);const l=m((()=>t.label||t.value));return(t,a)=>(r(),g("option",{class:B(["tui-option-native",e.customClass,{"is-disabled":e.disabled,"is-selected":e.selected}]),value:e.value,disabled:e.disabled,selected:e.selected},[X(t.$slots,"default",{},(()=>[Pe(F(l.value),1)]))],10,bg))}}),qg={key:0,class:"tui-tp-prefix"},Cg=["value","placeholder","disabled"],$g=["type","value","min","max","step","disabled"],kg={class:"tui-tp-suffix"},Sg=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}=ve("$global",null);at.extend(_a),at.extend(zi);const i=e,A=l,o=ve("TuiForm",null),n=m((()=>o?.size?.value||i.size)),u=m((()=>o?.disabled?.value||i.disabled)),d=C(null),c=m((()=>i.clearable&&!u.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=C(null),q=m((()=>i.modelValue?i.modelValue:"")),x=e=>{if(!e)return"";const t=at(e);switch(i.type){case"time":return Zl.formatTime(e,f.value);case"week":return Zl.formatWeek(e,f.value);default:return t.format(f.value)}},k=()=>{u.value||d.value&&d.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)},T=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:()=>{d.value&&d.value.blur()},openPicker:()=>{k()}}),(t,l)=>(r(),g("div",{class:B(["tui-timepicker-native",`tui-type-${e.type}`,`tui-size-${n.value}`,{"is-disabled":u.value,"is-readonly":e.readonly}])},[t.$slots.prefix||p.value?(r(),g("div",qg,[X(t.$slots,"prefix",{},(()=>[p.value?(r(),g("i",{key:0,class:B(["tui-tp-icon",p.value])},null,2)):w("",!0)]))])):w("",!0),s("input",{type:"text",value:q.value,placeholder:y.value,disabled:u.value,readonly:!0,class:B(["tui-tp-inner",{"is-disabled":u.value}]),onClick:k},null,10,Cg),s("input",{ref_key:"hiddenInput",ref:d,type:"datetime"==e.type?"datetime-local":e.type,value:b.value,min:e.min,max:e.max,step:e.step,disabled:u.value,class:"tui-tpn-hinput",onInput:S,onChange:T},null,40,$g),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)])])):w("",!0),s("div",kg,[X(t.$slots,"suffix",{},(()=>[s("i",{class:B(["tui-tp-icon",v.value])},null,2)]))])],2))}}),Tg=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}=ve("$global",null),a=l(),i=e,A=qe("accordion"),o=C(!1),n=C(!1),s=C(!1),d=C([]),c=C(!1),p=Ve({isMotionBlur:!1,hover:!1,clientSize:0,itemMaxSize:0,itemAveSize:0,activeIndex:Fe.isNEG0(i.initialIndex)?Number(i.initialIndex):null}),v=m((()=>d.value.map((e=>e.index)).sort(((e,t)=>e-t)))),f=m((()=>null===p.activeIndex)),h=()=>v.value.length?Fe.isNEG0(i.initialIndex)&&v.value.includes(i.initialIndex)?Number(i.initialIndex):v.value[0]:null,y=e=>{const t=Fe.isNEG0(e)?Number(e):null;t!==p.activeIndex&&(i.motionBlur&&null!==t&&(p.isMotionBlur=!0,oe.c(A+"_blur"),oe.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,oe.c(A+"_wheel_lock"),oe.s(A+"_wheel_lock",(()=>{c.value=!1}),220),i.interceptWheel&&e.preventDefault())},w=()=>{Pt.c(A+"_tInter")},q=()=>{w(),i.autoplay&&0!==v.value.length&&((null===p.activeIndex||!v.value.includes(p.activeIndex))&&y(h()),Pt.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((()=>de("cpt-acd",{...i.width&&{width:Re.join("number",i.width,"px")},...i.height&&{height:Re.join("number",i.height,"px")},...i.duration&&{dur:i.duration+"s"},...p.itemAveSize&&!i.autoplay&&{avesize:Re.join("number",p.itemAveSize,"px")},minsize:i.itemMinSize+"px",maxsize:p.itemMaxSize+"px"}))),k=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=d.value.findIndex((e=>e.uid===t.uid));-1===l?d.value.push(t):d.value[l]=t},unregisterItem:e=>{d.value=d.value.filter((t=>t.uid!==e))},typedAppeaCPT:k,uid:A}),H((()=>i.autoplay),(e=>{e?q():w()})),H((()=>i.initialIndex),(e=>{i.autoplay?q():Fe.isNEG0(e)&&v.value.includes(e)&&y(e)})),H((()=>[i.direction,i.typedConfig?.appearance]),(()=>{S()})),H(v,(e=>{if(!e.length)return p.activeIndex=null,void w();(null===p.activeIndex||!e.includes(p.activeIndex))&&(p.activeIndex=h()),i.autoplay&&q()}),{deep:!0}),H((()=>t.value),((e,t)=>{"root"==a.value(i.resizeObserver)&&e>t&&S()}));const S=()=>{const e=i.itemMinSize,t=("line"==k.value?3:"none"==k.value&&1)||0;"h"==i.direction?p.clientSize=s.value?.clientWidth:p.clientSize=s.value?.clientHeight,p.itemMaxSize=p.clientSize-(d.value.length-1)*(e+t),p.itemAveSize=(p.clientSize-d.value.length*t)/d.value.length,p.itemMaxSize<100&&(p.itemMaxSize=100),n.value||(n.value=!0)};return ce((()=>{o.value=!0,i.autoplay&&q(),null===p.activeIndex&&!i.autoplay&&v.value.length>0&&(p.activeIndex=h())})),Je((()=>{w(),oe.c(A+"_blur"),oe.c(A+"_wheel_lock")})),(t,l)=>{const d=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["tui-accordion",`tui-dir-${e.direction}`,`tui-appea-${k.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&&w()))),["stop"])),onMouseleave:l[1]||(l[1]=Xe((t=>e.autoplay&&(p.hover=!1,void(i.pauseOnHover&&q()))),["stop"])),onWheel:Xe(b,["stop"]),ref_key:"acodRef",ref:s,style:ie(x.value)},[X(t.$slots,"default")],38)),[[ke,o.value],[d,{callback:S,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}]])])),_:3})}}}),Bg={key:0,class:"tui-acoditm-main"},xg={key:0,class:"tui-acoditm-ihead"},Pg={class:"tui-acoditm-icont"},Rg={key:0,class:"tui-acoditm-main"},zg={class:"tui-text"},Ig=["src"],Sa=260,Ng=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}=ve("$global",null),a=e,i=t,{uid:A,trigger:o,linkText:n,activeShowTitle:d,typedAppeaCPT:c,typedConfig:p,direction:v,contentType:f,state:h,setActiveItem:y,registerItem:V,unregisterItem:b,autoplay:q}=ve("TuiAcord",null),C=`accordion-item-${a.index}-${a.title||"item"}`,x=()=>{"hover"===o.value&&(oe.c(A+"_hover_leave"),oe.s(A+"_hover_enter",(()=>{y(a.index),i("activated")}),Sa))},k=()=>{"hover"===o.value&&(oe.c(A+"_hover_enter"),!q.value&&oe.s(A+"_hover_leave",(()=>{y(null),i("deactivated")}),Sa))},S=()=>{if("click"===o.value){if(!q.value&&h.activeIndex===a.index)return y(null),void i("deactivated");y(a.index),i("activated")}},T=()=>{i("navigateTo",a.index)},$=m((()=>h.activeIndex===a.index)),R=m((()=>"image"==f.value)),z=m((()=>R.value?"invert":"none"!=c.value?a.type:"default")),O=m((()=>p.value?.linePosition?p.value?.linePosition:"h"==v.value?"top":"v"==v.value?"left":void 0)),N=m((()=>({type:a.type,tone:"base",hasShadow:!1,transparent:!1,customColor:a.typeColor,...p.value,appearance:c.value})));return ce((()=>{V({uid:C,index:a.index})})),Je((()=>{oe.c(A+"_hover_enter"),oe.c(A+"_hover_leave"),b(C)})),(t,i)=>{const A=ye("TuiTextTip"),p=ye("TuiTag"),f=ye("TuiButton"),m=ye("TuiTyped");return r(),Y(m,xe({class:["tui-accordion-item",`tui-dir-${u(v)}`,`tui-trigger-${u(o)}`,{"is-imgtype":R.value,"is-active":$.value,"has-head":u(d)&&!R.value}],onMouseenter:Xe(x,["stop"]),onMouseleave:Xe(k,["stop"])},N.value,{linePosition:O.value}),{default:_((()=>[ae(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:"tui-acoditm-bar",onClick:Xe(S,["stop"])},[e.icon?(r(),g("i",{key:0,class:B(["tui-acd-icon",e.icon])},null,2)):w("",!0),e.title?(r(),Y(A,{key:1,class:"tui-title"},{default:_((()=>[Pe(F(e.title),1)])),_:1})):w("",!0),ae(p,{type:z.value,size:"small",customColor:"none"!=u(c)&&a.typeColor||null,class:"tui-index"},{default:_((()=>[Pe(F(e.index+1),1)])),_:1},8,["type","customColor"])],512),[[ke,!$.value||"v"==u(v)&&!R.value&&u(d)]])])),_:1}),ae(Se,{name:"fade"},{default:_((()=>[R.value?w("",!0):ge((r(),g("div",Bg,["h"==u(v)&&u(d)?(r(),g("div",xg,[e.icon?(r(),g("i",{key:0,class:B(["tui-acd-icon",e.icon])},null,2)):w("",!0),e.title?(r(),Y(A,{key:1,class:"tui-title"},{default:_((()=>[Pe(F(e.title),1)])),_:1})):w("",!0),ae(p,{type:z.value,size:"small",customColor:"none"!=u(c)&&a.typeColor||null,class:"tui-index"},{default:_((()=>[Pe(F(e.index+1),1)])),_:1},8,["type","customColor"])])):w("",!0),s("div",Pg,[X(t.$slots,"default")])],512)),[[ke,$.value]])])),_:3}),ae(Se,{name:"fade"},{default:_((()=>[R.value?ge((r(),g("div",Rg,[e.hasLinkButton?(r(),Y(f,{key:0,size:"small",class:"tui-link",type:"primary",link:"",onClick:T},{default:_((()=>[s("span",zg,F(u(n)||u(l)("common.detail")),1),i[0]||(i[0]=s("i",{class:"tui-icon ti-chevron-right"},null,-1))])),_:1})):w("",!0),e.title?(r(),Y(A,{key:1,class:"tui-title"},{default:_((()=>[Pe(F(e.title),1)])),_:1})):w("",!0),e.description?(r(),Y(A,{key:2,type:"default",lines:2,placement:"bottom",class:"tui-description"},{default:_((()=>[Pe(F(e.description),1)])),_:1})):w("",!0)],512)),[[ke,$.value]]):w("",!0)])),_:1}),a.image&&R.value?(r(),g("img",{key:0,class:"tui-img",src:e.image},null,8,Ig)):w("",!0)])),_:3},16,["class","linePosition"])}}}),Dg={class:"tui-calendar"},_g={class:"tui-ch-date-title"},Og={class:"tui-year"},Mg={class:"tui-month"},Eg={class:"calendar-body"},Lg={class:"calendar-weekdays"},Wg=["onClick"],jg={class:"date-cell-inner"},Gg={class:"date-number"},Fg=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}=ve("$global",null);at.extend(Ni),at.extend(Ii),at.extend(_a);const A=e,o=m((()=>({size:"small",tone:"strong",...A.tagConfig}))),n=l,d=C(at(A.modelValue)),c=C(at(A.modelValue)),p=m((()=>d.value.year())),v=m((()=>d.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}`)),q=m((()=>`${p.value}${f.value}`)),x=m((()=>{const e=d.value.startOf("month");d.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(k(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 k(e){const t=at(),l=e.format("YYYY-MM-DD");let a="current-month";return e.isBefore(d.value.startOf("month"))?a="prev-month":e.isAfter(d.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){d.value=d.value.add(e,"year")}function T(e){d.value=d.value.add(e,"month")}function $(){const e=at();d.value=e,R(k(e))}function R(e){c.value=e.dayjs,"current-month"!==e.type&&(d.value=e.dayjs),n("update:modelValue",e.date),n("change",e.date),n("select",e)}const z=m((()=>c.value.toDate()));function O(e,t){const l=at(e),i=at(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 H((()=>A.modelValue),(e=>{if(e){const t=at(e);c.value=t,d.value=t}}),{immediate:!0}),H((()=>A.range),(e=>{if(e&&2===e.length){const[t,l]=e;O(t,l).isValid||console.warn(a("datetime.validation.invalidRange")||"提供的日期范围无效")}})),t({selectedDay:z,pickDay:function(e){const t=at(e);d.value=t,R(k(t))},selectDate:R,calculateValidatedDateRange:O,formatDate:function(e,t="YYYY-MM-DD"){return at(e).format(t)},getDiff:function(e,t,l="day"){return at(e).diff(at(t),l)},isInRange:function(e,t,l){const a=at(e);return a.isSameOrAfter(at(t))&&a.isSameOrBefore(at(l))},getMonthDates:function(e,t){const l=at().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((()=>d.value)),selectedDateDayjs:m((()=>c.value))}),(t,l)=>{const A=ye("TuiButton"),n=ye("TuiButtonGroup"),d=ye("TuiTag");return r(),g("div",Dg,[s("div",{class:B(["tui-calendar-header",`is-align-${e.titleAlign}`,`is-lang-${u(i)}`])},[s("div",_g,[s("span",Og,F(q.value),1),s("span",Mg,F(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:u(a)("datetime.navigation.previousYear")},null,8,["title"])):w("",!0),e.buttons.includes("month")?(r(),Y(A,{key:1,icon:"tui-icon ti-chevron-left",onClick:l[1]||(l[1]=e=>T(-1)),title:u(a)("datetime.navigation.previousMonth")},null,8,["title"])):w("",!0),e.buttons.includes("today")?(r(),Y(A,{key:2,onClick:$,class:"today-btn",title:y.value},{default:_((()=>[Pe(F(y.value),1)])),_:1},8,["title"])):w("",!0),e.buttons.includes("month")?(r(),Y(A,{key:3,icon:"tui-icon ti-chevron-right",onClick:l[2]||(l[2]=e=>T(1)),title:u(a)("datetime.navigation.nextMonth")},null,8,["title"])):w("",!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:u(a)("datetime.navigation.nextYear")},null,8,["title"])):w("",!0)])),_:1},8,["size"])):w("",!0)],2),s("div",Eg,[s("div",Lg,[(r(!0),g(J,null,Ce(V.value,(e=>(r(),g("div",{class:"weekday",key:e},F(e),1)))),128))]),s("div",{class:B(["calendar-dates",`cell-align-${e.cellAlign}`])},[(r(!0),g(J,null,Ce(x.value,(e=>(r(),g("div",{key:e.fullDate,class:B(["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=>R(e)},[X(t.$slots,"date-cell",{data:e},(()=>[s("div",jg,[s("span",Gg,F(e.day),1),e.todoCount>0?(r(),Y(d,xe({key:0,ref_for:!0},o.value,{type:(e.isSelected?"default":e.isToday&&"success")||e.todoCount&&"warning",size:"small"}),{default:_((()=>[Pe(F(e.todoCount),1)])),_:2},1040,["type"])):w("",!0)])]))],10,Wg)))),128))],2)])])}}}),Hg={key:0,class:"tui-icon ti-chevron-left"},Qg={key:1,class:"tui-icon ti-chevron-up"},Ug={key:0,class:"tui-icon ti-chevron-right"},Yg={key:1,class:"tui-icon ti-chevron-down"},Kg=["onMouseenter","onMouseleave","onClick"],Xg=160,el=400,Ta=100,Zg=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}=ve("$global",null),A=i(),o=e,n=l,d=qe("carousel"),c=C(!1),p=C(!1),v=C(null),f=C([]),h=C(!1),y=Ve({isMotionBlur:!1,clientSize:0,hover:!1,actIndex:-1,duration:400,animToken:0}),V=(e=el)=>{y.duration=e},b=e=>{if(f.value.length<=1||e==y.actIndex)return;oe.c(d+"_act"),oe.c(d+"_dur"),o.motionBlur&&(y.isMotionBlur=!0,oe.c(d+"_blur"),oe.s(d+"_blur",(()=>{y.isMotionBlur=!1}),"card"===o.appearance?200:400));const t=e=>{if(!o.sequentialRolling||-1===y.actIndex)return V(el),void q(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?el:Ta),q(l),a?oe.s(d+"_dur",(()=>{V(el)}),el):oe.s(d+"_act",(()=>t(e)),Ta)};t(e)},q=(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)}))},k=()=>{y.hover=!0,o.pauseOnHover&&T()},S=()=>{y.hover=!1,$()},T=()=>{Pt.c(d+"_tInter")},$=()=>{o.interval<=0||!o.autoplay||Pt.g(d+"_tInter")||Pt.s(d+"_tInter",(()=>{f.value.length<=1?T():y.actIndex<f.value.length-1||o.loop?z():T()}),o.interval)},R=()=>{b(y.actIndex-1)},z=()=>{b(y.actIndex+1)},O=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,oe.s(d+"_wheel",(()=>{h.value=!1}),Xg),l?z():R()))};H((()=>a.value),((e,t)=>{"root"==A.value(o.resizeObserver)&&e>t&&(N(),q(y.actIndex))}));const N=()=>{"h"==o.direction?y.clientSize=v.value?.clientWidth:y.clientSize=v.value?.clientHeight,p.value||(p.value=!0)},M=m((()=>de("cpt-caro",{scale:o.cardScale,dur:y.duration/1e3+"s",...o.height&&{height:o.height+"px"},...o.borderRadius&&{bdra:o.borderRadius+"px"}}))),P=m((()=>"outside"===o.indicatorPosition||"card"===o.appearance?"outside":o.indicatorPosition));return ce((async()=>{c.value=!0,await ne(),$(),b(o.initialIndex||0)})),Je((()=>{Pt.c(d+"_tInter"),oe.c(d+"_act"),oe.c(d+"_wheel"),oe.c(d+"_blur"),oe.c(d+"_dur")})),H((()=>o.autoplay),(e=>{e?$():T()})),H((()=>[o.loop,o.appearance,o.direction,o.height,c.value]),(async()=>{T(),await ne(),N(),q(y.actIndex),$()})),H((()=>y.actIndex),((e,t)=>{x(t),Pt.g(d+"_tInter")&&(T(),$())})),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&&q(0))},items:f,throttledAct:b}),t({state:y,setActiveItem:q,prev:R,next:z}),(t,l)=>{const a=ye("TuiButton"),i=_e("tui-resize");return ge((r(),g("div",{class:B(["tui-carousel",`tui-appea-${e.appearance}`,`tui-dir-${e.direction}`,`tui-indic-${P.value}`]),onMouseenter:Xe(k,["stop"]),onMouseleave:Xe(S,["stop"]),onWheel:O,ref_key:"caroRef",ref:v,style:ie(M.value)},[s("div",{class:B(["tui-caro-container",{"tui-motion-blur":e.motionBlur&&y.isMotionBlur}])},[ae(a,{link:"",class:B(["tui-caro-arrow","tui-caro-arrow-pre",{"is-show":"never"!=e.arrow&&("always"===e.arrow||y.hover)&&(e.loop||y.actIndex>0)}]),onClick:Xe(R,["stop"])},{default:_((()=>["h"==e.direction?(r(),g("i",Hg)):(r(),g("i",Qg))])),_:1},8,["class"]),ae(a,{link:"",class:B(["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(z,["stop"])},{default:_((()=>["h"==e.direction?(r(),g("i",Ug)):(r(),g("i",Yg))])),_:1},8,["class"]),X(t.$slots,"default")],2),"none"!==e.indicatorPosition?(r(),g("div",{key:0,class:B(["tui-caro-indicators",{"has-index":e.indicatorHasIndex,"is-outside":"outside"==P.value}])},[(r(!0),g(J,null,Ce(f.value,((t,l)=>(r(),g("div",{key:l,class:B(["tui-caro-indic",{"is-active":l===y.actIndex}]),onMouseenter:t=>"hover"===e.trigger&&b(l),onMouseleave:t=>"hover"===e.trigger&&(oe.c(d+"_act"),oe.c(d+"_dur"),oe.c(d+"_blur"),void(o.motionBlur&&(y.isMotionBlur=!1))),onClick:t=>"click"===e.trigger&&b(l)},[ae(a,{link:""},{default:_((()=>[e.indicatorHasIndex?(r(),g(J,{key:0},[Pe(F(l+1),1)],64)):w("",!0)])),_:2},1024)],42,Kg)))),128))],2)):w("",!0)],38)),[[ke,c.value],[i,{callback:N,uid:u(d),disabled:"self"!=u(A)(e.resizeObserver)&&p.value}]])}}}),Jg={key:0,class:"tui-caro-item-content"},eh={class:"tui-text"},th=Object.assign({name:"TuiCarouselItem"},{__name:"item",props:{title:String,description:String,hasLinkButton:Boolean},emits:["navigateTo"],setup(e,{emit:t}){const{i18n:l}=ve("$global",null),a=ve("TuiCaro",null),{state:i,direction:A,linkText:o,appearance:n,loop:d,cardScale:c,throttledAct:p,addItem:v,removeItem:f,items:h}=a,y=C(!1),V=C(!1),b=C(!1),q=C(0);let x=null;const k=C(Symbol("carousel-item")),S=m((()=>h.value.findIndex((e=>e.uid===k.value)))),T=t,$=()=>{T("navigateTo",S.value)},R=(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 d.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},z=(e,t)=>{D.transform=t?`translateY(${e}px)`:`translateX(${e}px)`},O=(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 N(s,t);const r=P.value;l===t||l!==s&&t!==s?r&&q.value!==i.animToken&&(b.value=!1):(b.value=!0,r?q.value=i.animToken:(x&&clearTimeout(x),x=setTimeout((()=>{b.value=!1,x=null}),i.duration))),s!==t?z(R(s,t),o):N(s,t)},N=(e,t)=>{const l="v"===A.value;z(e!==t?R(e,t):0,l)},M=m((()=>i.actIndex===h.value.findIndex((e=>e.uid===k.value)))),P=m((()=>"card"===n.value)),I=m((()=>{if(!P.value)return!1;const e=h.value,t=a.state.actIndex,l=e.findIndex((e=>e.uid===k.value));if(d.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=>{P.value&&e.target===j.value&&("transform"!==e.propertyName&&"opacity"!==e.propertyName||(b.value=!1))},W=()=>{if(a&&P.value){const e=h.value.findIndex((e=>e.uid===k.value));a.throttledAct(e)}},j=C(null);return H((()=>i.animToken),(e=>{P.value&&e!==q.value&&(b.value=!1)})),ce((async()=>{v({uid:k.value,translateItem:O,$el:j.value}),await ne((()=>{h.value.forEach((e=>{e.uid===k.value&&(e.$el=j.value)}))})),y.value=!0,await ne((()=>{O(S.value,i.actIndex,i.actIndex+1)}))})),Je((()=>{x&&clearTimeout(x),f(k.value)})),(t,a)=>{const i=ye("TuiButton"),A=ye("TuiTextTip");return ge((r(),g("div",{ref_key:"carouselItemRef",ref:j,class:B(["tui-carousel-item",{"is-active":M.value,"is-in-stage":I.value&&P.value,"is-hover":V.value,"is-animating":b.value,"is-frist":0==S.value,"is-last":S.value==u(h).length-1}]),onClick:W,style:ie(D),onTransitionend:E},[P.value?(r(),g("div",{key:0,class:B(["tui-caro-mask",{"is-show":!M.value}])},null,2)):w("",!0),ae(Se,{name:"fade"},{default:_((()=>[e.title||e.description?ge((r(),g("div",Jg,[e.hasLinkButton?(r(),Y(i,{key:0,size:"small",class:"tui-link",type:"primary",link:"",onClick:$},{default:_((()=>[s("span",eh,F(u(o)||u(l)("common.detail")),1),a[0]||(a[0]=s("i",{class:"tui-icon ti-chevron-right"},null,-1))])),_:1})):w("",!0),e.title?(r(),Y(A,{key:1,class:"tui-title"},{default:_((()=>[Pe(F(e.title),1)])),_:1})):w("",!0),e.description?(r(),Y(A,{key:2,type:"default",lines:2,placement:"bottom",class:"tui-description"},{default:_((()=>[Pe(F(e.description),1)])),_:1})):w("",!0)],512)),[[ke,M.value]]):w("",!0)])),_:1}),X(t.$slots,"default")],38)),[[ke,y.value]])}}}),lh={class:"tui-dfc-inner"},ah={class:"tui-dfc-front tui-dfc-top"},nh={class:"tui-dfc-cont"},oh={class:"tui-dfc-back tui-dfc-bottom"},ih={class:"tui-dfc-cont"},sh={class:"tui-dfc-cont"},rh={class:"tui-dfc-cont"},Ah=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=C("0"),a=C("0"),i=C(!1),A=C("down"),o=C([]),n=C(!1),u=(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"}},d=e=>{const s=parseInt(l.value),r=parseInt(e);if(s===r)return;let d=[];switch(t.flipMode){case"downOnly":let e=s;for(;e!==r;)e=(e+1)%10,d.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,d.push(String(e))}else{let e=s;for(let t=0;t<l;t++)e=(e-1+10)%10,d.push(String(e))}break;case"smart":default:if(!(Math.abs(r-s)>1)||0===s&&9===r||9===s&&0===r)d=[String(r)];else if(r>s)for(let e=s+1;e<=r;e++)d.push(String(e));else for(let e=s-1;e>=r;e--)d.push(String(e));break}o.value.length>3&&(o.value=[]),o.value.push(...d),n.value||(async()=>{if(!n.value&&0!==o.value.length){for(n.value=!0;o.value.length>0;){const e=o.value.shift(),n=u(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}})()};H((()=>t.digit),(e=>{/^\d$/.test(e)?e!==l.value&&(o.value=[],d(e)):console.warn("FlipCard should only receive digit characters (0-9)")}),{immediate:!0});const c=m((()=>de("cpt-dflip-card",{idx:t.index})));return(e,t)=>(r(),g("div",{class:B(["tui-dflip-card",{flipping:i.value}]),style:ie(c.value)},[s("div",lh,[s("div",ah,[s("span",nh,F(l.value),1)]),s("div",oh,[s("span",ih,F(l.value),1)]),i.value?(r(),g(J,{key:0},[s("div",{class:B(["tui-dfc-front","tui-dfc-top",`tui-flip-top-${A.value}`])},[s("span",sh,F("down"===A.value?a.value:l.value),1)],2),s("div",{class:B(["tui-dfc-back","tui-dfc-bottom",`tui-flip-bottom-${A.value}`])},[s("span",rh,F("down"===A.value?l.value:a.value),1)],2)],64)):w("",!0)])],6))}}),uh={key:0,class:"tui-df-static tui-df-prefix"},dh={class:"tui-flip-digits-wrap"},ch={key:1,class:"tui-flip-item-wrap"},fh={key:0,class:"tui-static-sub"},ph={key:1,class:"tui-static-nor"},gh={key:1,class:"tui-df-static tui-df-suffix"},hh=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=C(!1),a=C([]),i=C(!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=u(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 ne(),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))),u=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}))};H(n,(async(e,l)=>{e?.length!=l?.length&&(a.value=[],await ne());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=u(e),i.value=!1,await ne(),setTimeout((()=>{a.value=u(A)}),t.delay||0)}else o(A)}),{immediate:!0});const d=m((()=>de("cpt-dflip",{...t.delay&&{delay:`${t.delay}ms`},...t.gap&&{gap:t.gap+"px"},dur:`${t.duration}ms`})));return ce((()=>{l.value=!0})),(t,i)=>l.value?(r(),g("div",{key:0,class:B(["tui-digital-flip",`tui-appear-${e.appearance}`,`tui-size-${e.size}`,e.customClass,{"is-bordered":e.bordered,"is-drop-shadow":e.dropShadow}]),style:ie(d.value)},[e.prefix?(r(),g("div",uh,F(e.prefix),1)):w("",!0),s("div",dh,[(r(!0),g(J,null,Ce(a.value,((t,l)=>(r(),g(J,{key:t.id},["digits"===t.type?(r(),Y(Na,{key:0,name:"slide",tag:"div",class:"tui-flip-segment"},{default:_((()=>[(r(!0),g(J,null,Ce(t.value,((l,a)=>(r(),g("div",{key:`${t.id}-${t.value.length-a-1}`,class:"tui-flip-item-wrap"},[ae(Ah,{flipMode:e.flipMode,digit:l,duration:e.duration,index:a},null,8,["flipMode","digit","duration","index"])])))),128))])),_:2},1024)):(r(),g("div",ch,["."===t.value||","===t.value?(r(),g("div",fh,F(t.value),1)):(r(),g("div",ph,F(t.value),1))]))],64)))),128))]),e.suffix?(r(),g("div",gh,F(e.suffix),1)):w("",!0)],6)):w("",!0)}});function Ba(e){return/^(\d|\.|,){1}$/.test(e.toString())}const vh={class:B(["tui-dr-scroll"])},mh={class:"tui-dr-text"},yh={__name:"scroll",props:{to:{default:"0",validator:Ba},from:{default:"0",validator:Ba},dislocation:{type:Boolean,default:!1},interval:{type:Number,default:500}},setup(e){const t=e,{delay:l,includeSymbols:a}=ve("TuiDigitalRolling",null),i=m((()=>{const e=["0","1","2","3","4","5","6","7","8","9"];return a.value?[",",".",...e]:e})),A=C(0),o=C(1),n=C(null),d=C(0),c=m((()=>A.value/i.value.length)),p=e=>{const t=i.value.findIndex((t=>e===t));d.value=t*c.value};H((()=>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;p(e)}),{immediate:!0});const v=m((()=>de("cpt-drs",{trsdur:t.interval/1e3*o.value+"s",trans:`translateY(-${d.value}px)`})));return ce((async()=>{await ne(),n.value&&(A.value=n.value.clientHeight);const e=n.value?.parentElement;e&&(e.style.height=c.value+"px"),p(t.from),setTimeout((()=>{p(t.to)}),l.value||1e3)})),(e,t)=>(r(),g("div",vh,[s("div",{ref_key:"listRef",ref:n,class:"tui-drs-list",style:ie(v.value)},[(r(!0),g(J,null,Ce(i.value,(e=>(r(),g("div",{class:B(["tui-digital",{"is-num":u(Fe).isDigit(e)}]),key:e},[s("span",mh,F(e),1)],2)))),128))],4)]))}},Vh={key:0,class:"tui-dr-static tui-prefix"},bh={key:1,class:"tui-dr-static tui-dr-sub"},wh={key:2,class:"tui-dr-static tui-dr-symbol"},qh={key:1,class:"tui-dr-static tui-suffix"},Ch=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","none"].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"].includes(e)},size:{type:String,default:"default",validator:e=>["huge","large","default","small","custom"].includes(e)}},setup(e){const t=e,l=C(!1),a=C([]),i=C([]);Ke("TuiDigitalRolling",{delay:m((()=>t.delay)),includeSymbols:m((()=>t.includeSymbols))});H((()=>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}),H((()=>[t.appearanceLayer,t.appearance,t.size]),(e=>{l.value=!1,ne((()=>{l.value=!0}))}));const A=m((()=>de("cpt-dr",{...t.delay&&{delay:`${t.delay}ms`},...Fe.isNEG0(t.gap)&&{gap:Re.join("number",t.gap,"px")}})));return ce((()=>{l.value=!0})),(t,i)=>l.value?(r(),Y(Na,{key:0,class:B(["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:ie(A.value)},{default:_((()=>[e.prefix?(r(),g("div",Vh,F(e.prefix),1)):w("",!0),(r(!0),g(J,null,Ce(a.value,((t,l)=>(r(),g(J,null,[(e.includeSymbols?/[0-9.,]/.test(t):/[0-9]/.test(t))?(r(),Y(yh,{class:"tui-dr-item",key:"DT"+l,to:t,interval:e.interval,dislocation:e.dislocation,from:"0"},{default:_((()=>[Pe(F(t),1)])),_:2},1032,["to","interval","dislocation"])):"."===t||","===t?(r(),g("div",bh,F(t),1)):(r(),g("div",wh,F(t),1))],64)))),256)),e.suffix?(r(),g("div",qh,F(e.suffix),1)):w("",!0)])),_:1},8,["class","style"])):w("",!0)}}),$h=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}=ve("$global"),l=e;H((()=>l.inited),(e=>{!0===e&&t.value.portletCounter++}));const a=m((()=>de("cpt-lodpan",{...Fe.isNEG0(l.loadingOpacity)&&{opa:l.loadingOpacity}})));return(e,t)=>{const i=ye("TuiLoadingArea");return r(),g("div",{class:"tui-loader-panel",style:ie(a.value)},[ae(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:B("portlet-slot "+(l.loading?"portlet-loading":""))},[X(e.$slots,"default")],2)],4)}}}),kh=["aria-valuenow"],Sh={class:"progress-group-pre"},Th={key:1,class:"progress-icon"},Bh={key:3,class:"progress-text"},xh={key:1},Ph={class:"progress-group-suf"},Rh={class:"progress-bar"},zh={key:0,class:"bar-innerText"},Ih={key:0,class:"progress-text"},Nh={key:1},Dh={class:"progress-svg",viewBox:"0 0 100 100"},_h=["d","stroke-width","stroke-linecap","stroke-dasharray","stroke-dashoffset"],Oh=["d","opacity","stroke-width","stroke-linecap","stroke-dasharray","stroke-dashoffset"],Mh={class:"progress-info-wrap"},Eh={key:0,class:"progress-icon"},Lh={key:1,class:"progress-text"},Wh={key:1},jh={key:2,class:"progress-label"},Gh=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=qe("progress"),a=C(!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=C(null),n=m((()=>[de("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+"%"})])),u=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"}})),d=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&&Fe.isNEG0(t.maxValue)&&"all"==t.displayValue?`${t.value}${t.unit} ${i.value}%`:t.unit&&Fe.isNEG0(t.maxValue)?`${t.value}${t.unit}`:`${i.value}%`:""));return ce((()=>{oe.s(l+"_pgsinit",(()=>{a.value=!0}),t.delay||1e3)})),(l,a)=>{const p=ye("TuiTag"),v=ye("TuiTextTip");return r(),g("div",{class:B(["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:ie(n.value)},["bar"===e.type?(r(),g(J,{key:0},[s("div",Sh,[e.index?(r(),Y(p,xe({key:0},e.tagConfig,{size:"small"}),{default:_((()=>[Pe(F(e.index),1)])),_:1},16)):w("",!0),e.icon||l.$slots.icon?(r(),g("div",Th,[X(l.$slots,"icon",{},(()=>[s("i",{class:B(e.icon)},null,2)]))])):w("",!0),e.label||l.$slots.label?(r(),g("div",{key:2,class:"progress-label",ref_key:"pgsLabelRef",ref:o},[ae(v,pt(qt(t.tipConfig)),{default:_((()=>[X(l.$slots,"label",{},(()=>[Pe(F(e.label),1)]))])),_:3},16)],512)):w("",!0),(e.showValue||l.$slots.default)&&"newline"==e.valuePosition?(r(),g("div",Bh,[X(l.$slots,"default",{value:i.value},(()=>[e.status&&e.showStatusIcon?(r(),g("i",{key:0,class:B(u.value)},null,2)):(r(),g("span",xh,F(c.value),1))]))])):w("",!0)]),s("div",Ph,[s("div",Rh,[s("div",{class:B(["bar-inner",{"is-indeterminate":e.indeterminate,"is-striped":e.striped,"is-stripedFlow":e.stripedFlow}])},[e.showValue&&"inside"==e.valuePosition?(r(),g("div",zh,F(c.value),1)):w("",!0)],2)]),(e.showValue||l.$slots.default)&&"default"==e.valuePosition?(r(),g("div",Ih,[X(l.$slots,"default",{value:i.value},(()=>[e.status&&e.showStatusIcon?(r(),g("i",{key:0,class:B(u.value)},null,2)):(r(),g("span",Nh,F(c.value),1))]))])):w("",!0)])],64)):(r(),g(J,{key:1},[(r(),g("svg",Dh,[s("path",{class:"progress-circle-track",fill:"none",d:d.value.d,"stroke-width":d.value.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-dasharray":d.value.trailDasharray,"stroke-dashoffset":d.value.dashoffset},null,8,_h),s("path",{class:"progress-circle-path",fill:"none",d:d.value.d,opacity:i.value?1:0,"stroke-width":d.value.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-dasharray":d.value.circleDasharray,"stroke-dashoffset":d.value.dashoffset},null,8,Oh)])),s("div",Mh,[e.icon||l.$slots.icon?(r(),g("div",Eh,[X(l.$slots,"icon",{},(()=>[s("i",{class:B(e.icon)},null,2)]))])):w("",!0),e.showValue||l.$slots.default?(r(),g("div",Lh,[X(l.$slots,"default",{value:i.value},(()=>[e.status&&e.showStatusIcon?(r(),g("i",{key:0,class:B(u.value)},null,2)):(r(),g("span",Wh,F(c.value),1))]))])):w("",!0),e.label||l.$slots.label?(r(),g("div",jh,[X(l.$slots,"label",{},(()=>[s("span",null,F(e.label),1)]))])):w("",!0)])],64))],14,kh)}}}),Fh={class:"tui-ppg-item"},Hh=Object.assign({name:"TuiProgressPoolGroup"},{__name:"group",props:{gap:Number,labelWidth:Number,items:{type:Array,default:[],validator:e=>{const{valid:t,message:l}=bt.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=C([]),a=C(0),i=C([]),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((()=>de("cpt-pgspolg",{...t.gap&&{gap:t.gap+"px"},...t.labelWidth&&"v"==t.direction&&{labelw:t.labelWidth+"px"}})));return ce((()=>{})),Tt((()=>{})),(t,a)=>{const i=ye("TuiProgressPool");return r(),g("div",{class:B(["tui-percent-pool-group",`tui-ppg-dir-${e.direction}`,{"has-label":!1}]),style:ie(s.value)},[(r(!0),g(J,null,Ce(e.items,((e,t)=>(r(),g("div",Fh,[ae(i,xe({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)}}}),Qh={key:0,class:"tui-pp-label"},Uh={class:"tui-ilabel"},Yh={key:0,class:"tui-isubval"},Kh={class:"tui-val"},Xh={class:"tui-unit"},Zh=["width","height"],Jh=["id","x1","y1","x2","y2"],ev=["id","gradientUnits","cx","cy","r","fx","fy"],tv=["id"],lv=["x","y","width","height","rx","ry"],av=["cx","cy","r"],nv=["x","y","rx","ry","stroke-width","stroke","width","height"],ov=["cx","cy","r","stroke-width","stroke"],iv=["clip-path"],sv=["stroke-width","stroke-dasharray","stroke","points"],rv={key:1},Av=["transform"],uv=["d","fill"],dv=["transform"],cv=["d","fill"],fv={class:"tui-value"},pv={class:"tui-unit"},gv={key:1,class:"tui-pp-subval"},hv={class:"tui-val"},vv={class:"tui-unit"},mv=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"==Re(e)?CSS.supports("color",e):"array"==Re(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"].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}=ve("$global",null),A=i(),o=e,n=l,d=qe("psgPool"),c=C(!1),p=C(!1),v=C(!1),f=C(null),h=C(null),y=C(null),V=Ve({width:o.width||200,height:o.height||100,parWidth:0,parHeight:0,dustSettled:!1}),b=C(0),q=C(0),x=m((()=>o.maxValue&&o.maxValue>0?o.value/o.maxValue*100:o.value)),k=C("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 k.value=l,l}}})),T=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(q.value).toFixed(o.precision)),t=parseFloat(Number(b.value).toFixed(o.precision));A=V.dustSettled?e:Fe.padZero(e,o.precision),i=V.dustSettled?t:Fe.padZero(t,o.precision)}else A=Math.round(q.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((()=>"h"===o.barDirection?V.height-2*o.borderWidth-2*o.borderGap:V.width-2*o.borderWidth-2*o.borderGap)),R=m((()=>V.width-2*o.borderWidth-2*o.borderGap)),z=m((()=>V.height-2*o.borderWidth-2*o.borderGap)),O=m((()=>"h"===o.barDirection?{x1:"0%",y1:"0%",x2:"100%",y2:"0%"}:{x1:"0%",y1:"100%",x2:"0%",y2:"0%"})),N=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"})),M=m((()=>{let e=q.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 P=C(0),I=C(0);function D(e){y.value||(y.value=0==e?1:e,P.value=b.value,I.value=q.value);const t=e-y.value,l=o.duration||2e3;if(t<l){const e=(o.maxValue?o.value:x.value)-P.value,a=x.value-I.value;b.value=P.value+t/l*e,q.value=I.value+t/l*a,h.value=requestAnimationFrame(D)}else b.value=o.maxValue?o.value:x.value,q.value=x.value,V.dustSettled=!0,v.value||(v.value=!0,n("inited",o.index))}function E(){V.dustSettled=!1,cancelAnimationFrame(h.value),y.value=null,h.value=requestAnimationFrame(D)}H((()=>[o.value,o.initHold]),(()=>{o.initHold||E()})),H((()=>a.value),((e,t)=>{"root"==A.value(o.resizeObserver)&&e>t&&W({width:null,height:null})}));const W=({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))},j=m((()=>"string"==Re(o.colors)?{A:o.colors,B:o.colors}:"array"==Re(o.colors)?{A:o.colors[0],B:o.colors[1]}:void 0)),L=m((()=>de("cpt-pgspol",{...o.colors&&{gad_A:j.value.A},...o.colors&&{gad_B:j.value.B},...o.valueSize&&{valsize:o.valueSize+"px"},...o.waveDuration&&{wdur:o.waveDuration+"ms"},...o.gradientDuration&&{gdur:o.gradientDuration+"ms"},adelay:o.aniDelay+"ms"}))),G=m((()=>Math.min(Math.max(q.value,0),100)/100*V.height+5)),Q=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 ce((()=>{c.value=!0,o.value&&!o.initHold&&oe.s(d+"_ti",(()=>{E()}),o.aniDelay),o.gradientAni&&o.thresholds&&console.warn("TuiProgressPool Warning! For user experience considerations, 'gradientAni' will be disabled when 'thresholds' are activated.")})),Je((()=>{})),Tt((()=>{h.value&&cancelAnimationFrame(h.value)})),t({inited:p.value&&v.value}),(t,l)=>{const a=ye("TuiTextTip"),i=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["tui-percent-pool",`tui-pp-label-pos-${e.labelPostion}`,`is-${S.value||e.status||k.value}`,{"has-label":e.label}]),style:ie(L.value)},[e.label?(r(),g("div",Qh,[s("div",Uh,[ae(a,null,{default:_((()=>[Pe(F(e.label),1)])),_:1})]),T.value.subUnit&&!e.indeptSubValue?(r(),g("div",Yh,[s("span",Kh,F(T.value.subVal),1),s("span",Xh,F(T.value.subUnit),1)])):w("",!0)])):w("",!0),ge((r(),g("div",{class:"tui-svg-wrap",ref_key:"svgWrapRef",ref:f},[V.width&&V.height&&p.value?(r(),g("svg",{key:0,class:B("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_${u(d)}`,x1:O.value.x1,y1:O.value.y1,x2:O.value.x2,y2:O.value.y2},[...l[0]||(l[0]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,Jh)):(r(),g("radialGradient",{key:1,id:`grad_${u(d)}`,gradientUnits:N.value.un,cx:N.value.cx,cy:N.value.cy,r:N.value.r,fx:N.value.fx,fy:N.value.fy},[...l[1]||(l[1]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,ev)),s("clipPath",{id:u(d)+"clipPathId"},["square"===e.shape?(r(),g("rect",{key:0,x:e.borderWidth+e.borderGap,y:e.borderWidth+e.borderGap,width:R.value,height:z.value,rx:e.borderRadius,ry:e.borderRadius},null,8,lv)):"circle"===e.shape?(r(),g("circle",{key:1,cx:V.width/2,cy:V.height/2,r:Math.min(R.value,z.value)/2},null,8,av)):w("",!0)],8,tv)]),"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_${u(d)})`,width:V.width-e.borderWidth,height:V.height-e.borderWidth},null,8,nv)):"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_${u(d)})`},null,8,ov)):w("",!0),s("g",{"clip-path":`url(#${u(d)+"clipPathId"})`},["bar"==e.fillContent?(r(),g("polyline",{key:0,"stroke-width":$.value,"stroke-dasharray":e.barDash.join(","),stroke:`url(#grad_${u(d)})`,points:M.value},null,8,sv)):(r(),g("g",rv,[s("g",{transform:`translate(0, ${V.height-G.value-e.waveHeight/2})`},[s("path",{d:Q.value,fill:`url(#grad_${u(d)})`,opacity:"0.7",class:"tui-svg-wave tui-wave-A"},null,8,uv)],8,Av),s("g",{transform:`translate(0, ${V.height-G.value-e.waveHeight/2+e.waveGap})`},[s("path",{d:Q.value,fill:`url(#grad_${u(d)})`,opacity:"0.7",class:"tui-svg-wave tui-wave-B"},null,8,cv)],8,dv)]))],8,iv)],10,Zh)):w("",!0),T.value.mainUnit?(r(),g("div",{key:1,class:B(["tui-pp-val",`tui-val-dir-${e.valueDirection}`])},[s("span",fv,F(T.value.mainVal),1),s("span",pv,F(T.value.mainUnit),1)],2)):w("",!0)])),[[i,{callback:W,uid:u(d),disabled:"self"!=u(A)(e.resizeObserver)&&p.value}]]),T.value.subUnit&&e.indeptSubValue?(r(),g("div",gv,[s("span",hv,F(T.value.subVal),1),s("span",vv,F(T.value.subUnit),1)])):w("",!0)],6),[[ke,c.value]])])),_:1})}}}),yv=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}=bt.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((()=>de("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=ye("TuiTimelineItem");return r(),g("div",{class:B(["",["tui-timeline",`timeline-dir-${e.direction}`]]),style:ie(l.value)},[e.options&&e.options.length?(r(!0),g(J,{key:0},Ce(e.options,((e,t)=>(r(),Y(i,xe({key:t},{ref_for:!0},e),{default:_((()=>[Pe(F(e.content),1)])),_:2},1040)))),128)):X(t.$slots,"default",{key:1})],6)}}}),Vv={class:"tl-node-inner"},bv={key:1,class:"tl-node-dot"},wv={key:0,class:"tl-item-timestamp"},qv={key:1,class:"tl-item-timestamp"},Cv=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}=ve("TuiTimeline",null),o=m((()=>({...l.value,lines:a.value}))),n=m((()=>de("cpt-tli",{...t.color&&{dotc:t.color}}))),d=C(!1);return ce((()=>{d.value=!0})),(t,l)=>{const a=ye("TuiTextTip");return d.value?(r(),g("div",{key:0,class:B(["tui-timeline-item",`is-${u(A)}`]),style:ie(n.value)},[s("div",{class:B(["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",Vv,[X(t.$slots,"dot",{},(()=>[e.icon?(r(),g("i",{key:0,class:B(`tl-node-icon ${e.icon}`)},null,2)):(r(),g("div",bv))]))])],2),s("div",{class:B(["tl-item-content",`tl-time-plc-${u(i)}`])},[e.hideTimestamp||"top"!==u(i)?w("",!0):(r(),g("div",wv,F(e.timestamp),1)),ae(a,xe({class:"tl-item-text"},o.value),{default:_((()=>[X(t.$slots,"default")])),_:3},16),e.hideTimestamp||"bottom"!==u(i)?w("",!0):(r(),g("div",qv,F(e.timestamp),1))],2)],6)):w("",!0)}}}),$v={key:0,class:"pre-data-wrap"},kv={class:"main-data-wrap"},Sv={key:1,class:"suf-data-wrap"},Tv={key:0,class:"tui-icon ti-chevron-left"},Bv={key:1,class:"tui-icon ti-chevron-up"},xv={key:0,class:"tui-icon tis-play"},Pv={key:1,class:"tui-icon tis-pause"},Rv={key:0,class:"tui-icon ti-chevron-right"},zv={key:1,class:"tui-icon ti-chevron-down"},Iv={key:0,class:"tui-con-indicators"},Nv=["onClick","onMouseenter"],Dv={key:0,class:"tui-icon tis-play"},_v={key:1,class:"tui-icon tis-pause"},Ov={key:1,class:"tui-debug-wrap"},Mv={class:"debug-item"},Ev={class:"debug-item"},Lv={class:"debug-item"},Wv={class:"debug-item"},jv={class:"debug-item"},Gv={class:"debug-item"},Fv={class:"debug-item"},Hv=500,Qv=200,Uv=6e3,Yv=3e3,Kv=500,Xv=160,Zv=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}=ve("$global",null),A=i(),o=ut(),n=e,d=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?Hv:Qv)),v=qe("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=C(null),y=C(null),V=C(null),b=C(!1),q=C(!1),x=C(!1),k=C(!1),S=C(!0),T=C([]),$=C(!1),R=m((()=>n.seamless&&T.value.length?"item"==n.mode?T.value.slice(-n.visibleLength):T.value.slice(-(f.itemsLen%n.visibleLength||n.visibleLength)):[])),z=m((()=>{if(!n.seamless||!T.value.length)return[];if(f.disableRolling){let e=[];if(n.fillData){const t=n.visibleLength-T.value.length;for(;e.length<t;){const l=t-e.length,a=Math.min(T.value.length,l);for(let t=0;t<a;t++){const l=T.value[t];e.push(l)}}}return e}return T.value.slice(0,n.visibleLength)})),O=m((()=>n.interval||("page"===n.mode?Uv:Yv))),N=()=>{f.disableRolling||oe.s(v+"_auto",(()=>{!S.value&&!k.value&&("up"==n.direction||"left"==n.direction?j(!0):L(!0),N())}),O.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)),q.value=!1,P(),d("update",{...At.dpc(f),isTransing:q.value,wheelLock:$.value},"RollingTransitionEnd",""))},P=()=>{Tf({state:f,seamless:n.seamless})},I=()=>{S.value=!S.value,S.value||N()},D=()=>{S.value=!1,N()},E=()=>{S.value=!0},W=(e,t=!1)=>{if(!n.seamless||!q.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&&(q.value=!1,requestAnimationFrame((()=>{"next"===e?j(t):L(t)})),!0)},j=e=>{if(f.disableRolling||q.value||W("next",e))return;const t=Bf({curRollCalc:f.curRollCalc,maxRollCalc:f.maxRollCalc,seamless:n.seamless,auto:e});t!==f.curRollCalc?(q.value=!0,f.curRollCalc=t,d("rolling",f.curRollCalc)):q.value=!1},L=e=>{if(f.disableRolling||q.value||W("prev",e))return;const t=xf({curRollCalc:f.curRollCalc,maxRollCalc:f.maxRollCalc,seamless:n.seamless,auto:e});t!==f.curRollCalc?(q.value=!0,f.curRollCalc=t,d("rolling",f.curRollCalc)):q.value=!1},G=()=>{n.hoverPause&&!S.value&&(k.value=!0)},Q=()=>{n.hoverPause&&!S.value&&(k.value=!1,N())},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:q.value,wheelLock:$.value,...t})},K=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||q.value||$.value){const e=A?q.value?"isTransing=true":"wheelLock=true":"canScrollCurrentDirection=false";U("blocked:after-intercept",{reason:e})}else $.value=!0,U("trigger",{willGoNext:l}),oe.s(v+"_wheel",(()=>{$.value=!1,U("unlock")}),Xv),l?j(!1):L(!1);else U("pass-parent",{reason:"shouldIntercept=false"})},Z=m((()=>de("cpt-roll",{transform:kf({orient:c.value,mode:n.mode,curRollCalc:f.curRollCalc,rollItemSize:f.rollItemSzie,rollWrapSize:f.rollWrapSize}),transition:q.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}})));H((()=>n.mode),(e=>{ee("modeChange")})),H((()=>n.autoRolling),(e=>{e&&!f.disableRolling?D():E()})),H((()=>n.seamless),(e=>{ee("seamlessChange")})),H((()=>n.visibleLength),(e=>{le(),ee("rollingIOR")})),H((()=>n.initIndex),(e=>{se(e,!0)})),H((()=>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})),H((()=>f.curRoll),(e=>{q.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=Rf({orient:c.value,element:y.value});const t=zf({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&&(q.value=!1),null!==t.curRollCalc&&(f.curRollCalc=t.curRollCalc),await ne(),"add"==e?(se("last",!1),N()):"rem"==e?(Fe.isNEG0(n.initIndex)?se(n.initIndex,!1):se("last",!1),N()):Fe.isNEG0(n.initIndex)?(se(n.initIndex,!0),N()):"modeChange"==e&&se("frist",!0),f.curRollCalc>f.maxRollCalc&&se("last",!0),await ne(),P(),b.value||(b.value=!0),d("update",{...At.dpc(f),isTransing:q.value,wheelLock:$.value},"RollingInitParams",e)},te=()=>{const e=o.default?.()||[];let t=Qt(e);T.value=t,f.itemsLen=T.value.length,le()},le=()=>{Sf({state:f,visibleLength:n.visibleLength})};zl((()=>{if(!n.slotObserver)return;const e=o.default?.()||[];let t=Qt(e);t.length>f.itemsLen?(te(),ee("add")):t.length<f.itemsLen&&(te(),ee("rem"))})),H((()=>a.value),((e,t)=>{"root"==A.value(n.resizeObserver)&&e>t&&Ae()}));const Ae=()=>{ee("rollingIOR")};ce((()=>{te(),(!n.resizeObserver||"none"==n.resizeObserver)&&ee("rollingInit"),n.autoRolling&&oe.s(v+"_init",(()=>{S.value=!1,d("start"),N()}),n.delay)})),Je((()=>{oe.c(v+"_auto"),oe.c(v+"_init"),oe.c(v+"_wheel")}));const se=(e,t=!1)=>{if(f.disableRolling||q.value)return;const l=Pf({index:e,mode:n.mode,seamless:n.seamless,visibleLength:n.visibleLength,maxRollCalc:f.maxRollCalc});if(null!==l){if(l===f.curRollCalc)return void(q.value=!1);q.value=!t,f.curRollCalc=l}},re=e=>{"hover"==n.trigger&&oe.c(v+"_hov")};return t({toggle:I,next:j,prev:L,play:D,stop:E,isStop:S,getInfo:()=>$f({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:O.value,duration:p.value,inited:b.value,isStop:S.value,isPaused:k.value,isTransing:q.value,isMotionBlur:x.value,wheelLock:$.value}),goTo:se,clonedItems:te,forceUpdate:e=>{te(),ee(e||"fupdate")}}),(t,l)=>{const a=ye("TuiButton"),i=_e("tui-resize");return r(),g("div",{class:B(["tui-rolling",`tui-roll-dir-${e.controlDirection}`,{"tui-rolling-disabled":f.disableRolling,"tui-initing":!b.value}]),ref_key:"containerRef",ref:h,onMouseenter:G,onMouseleave:Q,onWheel:K},[ge((r(),g("div",{class:"tui-rolling-wrap",ref_key:"rollWrapRef",ref:y},[s("div",{class:B(["tui-rolling-inner",`tui-orient-${c.value}`,`tui-mode-${e.mode}`,{"is-seamless":e.seamless,"is-motion-blur":e.motionBlur&&x.value}]),style:ie(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},[X(t.$slots,"default"),(r(!0),g(J,null,Ce(z.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,Ce(R.value,((e,t)=>(r(),Y(it(e),{key:t})))),128)),X(t.$slots,"default"),"item"==e.mode?(r(!0),g(J,{key:0},Ce(z.value,((e,t)=>(r(),Y(it(e),{key:t})))),128)):w("",!0)],64)):w("",!0),"page"==e.mode?(r(),g(J,{key:1},[e.seamless?(r(),g("div",$v,[(r(!0),g(J,null,Ce(R.value,((e,t)=>(r(),Y(it(e),{key:t})))),128))])):w("",!0),s("div",kv,[X(t.$slots,"default")]),e.seamless?(r(),g("div",Sv,[(r(!0),g(J,null,Ce(z.value,((e,t)=>(r(),Y(it(e),{key:t})))),128))])):w("",!0)],64)):w("",!0)],64))],64)):w("",!0)],38)])),[[i,{callback:Ae,uid:u(v),disabled:"self"!=u(A)(e.resizeObserver)&&b.value}]]),e.showControl?(r(),g("div",{key:0,class:B(["tui-rolling-controls",`tui-align-${e.controlAlign}`])},["item"==e.mode||"arrow"==e.controlType?(r(),g(J,{key:0},[ae(a,{link:"",disabled:f.disableRolling||f.disabelPrev,onClick:l[0]||(l[0]=e=>L())},{default:_((()=>["v"==e.controlDirection||"vr"==e.controlDirection?(r(),g("i",Tv)):(r(),g("i",Bv))])),_:1},8,["disabled"]),ae(a,{link:"",disabled:f.disableRolling,onClick:I},{default:_((()=>[S.value?(r(),g("i",xv)):(r(),g("i",Pv))])),_:1},8,["disabled"]),ae(a,{link:"",disabled:f.disableRolling||f.disabelNext,onClick:l[1]||(l[1]=e=>j())},{default:_((()=>["v"==e.controlDirection||"vr"==e.controlDirection?(r(),g("i",Rv)):(r(),g("i",zv))])),_:1},8,["disabled"])],64)):(r(),g(J,{key:1},[f.maxRoll>1?(r(),g("div",Iv,[(r(!0),g(J,null,Ce(f.maxRoll,((e,t)=>(r(),g("div",{class:B(["tui-con-indicator",{"is-active":t==f.curRoll}]),onClick:e=>(e=>{"click"==n.trigger&&se(e+1,!1)})(t),onMouseenter:e=>(e=>{"hover"==n.trigger&&oe.s(v+"_hov",(()=>{se(e+1,!1)}),Kv)})(t),onMouseleave:re},null,42,Nv)))),256))])):w("",!0),e.indicatorHasToggle?(r(),Y(a,{key:1,link:"",disabled:f.disableRolling,onClick:I},{default:_((()=>[S.value?(r(),g("i",Dv)):(r(),g("i",_v))])),_:1},8,["disabled"])):w("",!0)],64))],2)):w("",!0),e.debug?(r(),g("div",Ov,[s("div",Mv,"curRoll:"+F(f.curRoll),1),s("div",Ev,"curRollCalc:"+F(f.curRollCalc),1),s("div",Lv,"maxRoll:"+F(f.maxRoll),1),s("div",Wv,"maxRollCalc:"+F(f.maxRollCalc),1),s("div",jv,"itemsLen:"+F(f.itemsLen),1),s("div",Gv,"pageLen:"+F(f.pageLen),1),s("div",Fv,"visibleLength:"+F(e.visibleLength),1)])):w("",!0)],34)}}}),Jv={class:"tui-rolling-item"},em=Object.assign({name:"TuiRollingItem"},{__name:"item",props:{},setup:e=>(e,t)=>(r(),g("div",Jv,[X(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"}),lm=({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},am=e=>{const t=Qt(e);return(Array.isArray(t)?t:t?[t]:[]).map((e=>e?.props||{}))},nm=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=ut(),i=e,A=l,o=C(!1),n=C(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}),u=m((()=>tm(i))),d=m((()=>am(a.default?.()||[]))),c=m((()=>1===i.visibleLength)),p=m((()=>1===i.itemLines)),g=m((()=>c.value&&d.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((()=>de("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)=>{lm({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)}),ce((()=>{o.value=!0})),(e,t)=>{const l=ye("TuiRolling"),a=ye("TuiTyped");return r(),Y(a,xe(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,xe({key:0},u.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:_((()=>[X(e.$slots,"default")])),_:3},16)):w("",!0)])),_:3},16,["class","style"])}}}),om={class:"tui-roll-label"},im=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:d}=ve("TuiRollNoti",null),c=m((()=>({...i.value,lines:d.value||1})));return Bt((()=>{})),(t,l)=>{const a=ye("TuiTag"),i=ye("TuiTextTip"),o=ye("TuiRollingItem");return r(),Y(o,{class:B(["tui-roll-noti-item",!u(n)&&`tui-type-${e.type}`])},{default:_((()=>[u(Fe).isNEG0(e.index)?(r(),Y(a,xe({key:0},u(A),{size:"small",type:e.type}),{default:_((()=>[Pe(F(e.index+1),1)])),_:1},16,["type"])):w("",!0),e.icon?(r(),g("i",{key:1,class:B(["tui-roll-icon",e.icon])},null,2)):w("",!0),s("div",om,[ae(i,pt(qt(c.value)),{default:_((()=>[X(t.$slots,"default")])),_:3},16)])])),_:3},8,["class"])}}}),sm=()=>({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"}),rm=(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},Am=(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},um=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=C(!1),A=C(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=C(!1),u=C(0);Ke("TuiRollProgr",{hasIndex:m((()=>a.hasIndex)),showRankings:m((()=>a.showRankings)),progressConfig:a.progressConfig,tagConfig:a.tagConfig,tipConfig:a.tipConfig,maxValue:u,sendValue:function(e){u.value=Fe.max(e,u.value)}});const d=(e,t,l)=>{Am(o,e),a.debug&&console.info("update",e,t,l),s.value=!1},c=()=>{rm(n,a)};return H((()=>[a.debug,a.visibleLength,a.motionBlur,a.showControl,a.seamless,a.interval,a.mode,a.duration,a.delay,a.resizeObserver]),(async()=>{await ne(),c()})),Bt((()=>{c()})),ce((()=>{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=ye("TuiRolling");return r(),g("div",{class:B(["tui-roll-progress",{"is-initing":s.value}])},[i.value?(r(),Y(l,xe({key:0},n,{ref_key:"rollElemRef",ref:A,onUpdate:d}),{default:_((()=>[X(e.$slots,"default")])),_:3},16)):w("",!0)],2)}}}),dm=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:u,showRankings:d}=ve("TuiRollProgr",null),c=C(!1),p=m((()=>{let e=null;if(d.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,...u.value&&{index:a.index+1}}}));return Bt((()=>{})),ce((()=>{i(a.value),c.value=!0})),(e,t)=>{const l=ye("TuiProgress"),a=ye("TuiRollingItem");return r(),Y(a,{class:B(["tui-roll-progresss-item"])},{default:_((()=>[c.value?(r(),Y(l,pt(xe({key:0},g.value)),null,16)):w("",!0)])),_:1})}}}),cm={class:"progress-config"},fm=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=ut(),l=e,{progressConfig:a,tipConfig:i,columnWidths:A,columnAligns:o,operation:n,buttonAppearance:d,operaEmit:c,hasIndexCol:p,sendValue:v,maxValue:f,collectVersion:h}=ve("TuiRollTable",null),{rowIndex:y}=ve("TuiRollTableRow",null),V=C(!1),b=C(null),q=C(null),x=C(null),k=C(null),S=m((()=>{const e=q.value;return de("cpt-rolltb-col",{...A.value&&A.value[e]&&{width:A.value[e]+"px"},...o.value&&o.value[e]&&{align:o.value[e]}})})),T=()=>{if(!t.default)return;let e=t.default()[0]?.children;if(e){e[0]?.children&&(e=e[0].children);const t=Fe.convert(e,2);if(t.success)return k.value=t.num,void v(k.value)}k.value=null},$=m((()=>({showValue:!0,strokeWidth:10,maxValue:f.value,...a.value,value:k.value,label:null})));return H((()=>h.value),(()=>{"percent"===l.contentType&&V.value&&T()})),ce((()=>{(()=>{if(b.value){const e=b.value,t=e.parentElement,l=Array.from(t.children).indexOf(e);l>-1&&(q.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&&T()})),(t,l)=>{const a=ye("TuiTextTip"),o=ye("TuiProgress"),p=ye("TuiButton");return r(),g("div",{class:B(["tui-roll-table-col",{"has-width-set":u(A)&&u(A)[q.value]}]),ref_key:"colRef",ref:b,style:ie(S.value)},[V.value?(r(),g(J,{key:0},["string"==e.contentType||!e.contentType&&"string"==x.value?(r(),Y(a,pt(xe({key:0},u(i))),{default:_((()=>[X(t.$slots,"default")])),_:3},16)):"percent"==e.contentType?(r(),g(J,{key:1},[ae(o,pt(qt($.value)),null,16),s("div",cm,F($.value),1)],64)):"operation"==e.contentType?(r(!0),g(J,{key:2},Ce(u(n),((e,t)=>(r(),Y(p,{size:"small",type:e.type,plain:"plain"==u(d),link:"link"==u(d),text:"text"==u(d),onClick:t=>(e=>{c({button:e,rowIndex:y.value})})(e)},{default:_((()=>[Pe(F(e.label),1)])),_:2},1032,["type","plain","link","text","onClick"])))),256)):X(t.$slots,"default",{key:3})],64)):w("",!0)],6)}}}),pm=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"}),gm=({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},hm={key:0,class:"tui-roll-tabl-row tui-roll-tabl-thead"},vm={key:0,class:"tui-roll-table-col tui-idx"},mm=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=>Fe.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"==Re(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}){ut();const a=e,i=l,A=C(!1),o=C(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=C(!1),u=m((()=>pm(a))),d=m((()=>de("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=>de("cpt-rolltb-col",{...a.columnWidths&&a.columnWidths[e]&&{width:a.columnWidths[e]+"px"},...a.columnAligns&&a.columnAligns[e]&&{align:a.columnAligns[e]}}),p=C(0),v=C(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=Fe.max(e,p.value)},maxValue:p,collectVersion:v});const h=(e,t,l)=>{gm({state:n,info:e}),a.debug&&console.info("update",e,t,l),s.value=!1};return ce((async()=>{A.value=!0,await ne(),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=ye("TuiTextTip"),i=ye("TuiRolling");return r(),g("div",{class:B(["tui-roll-table",{"is-initing":s.value}]),style:ie(d.value),ref:"tableWrapRef"},[e.header?(r(),g("div",hm,[e.hasIndexCol?(r(),g("div",vm,"#")):w("",!0),(r(!0),g(J,null,Ce(e.header,((t,l)=>(r(),g("div",{class:B(["tui-roll-table-col",{"has-width-set":e.columnWidths&&e.columnWidths[l]}]),style:ie(c(l))},[ae(a,xe({ref_for:!0},e.tipConfig),{default:_((()=>[Pe(F(t),1)])),_:2},1040)],6)))),256))])):w("",!0),A.value?(r(),Y(i,xe({key:1},u.value,{ref_key:"rollElemRef",ref:o,onUpdate:h}),{default:_((()=>[X(t.$slots,"default")])),_:3},16)):w("",!0)],6)}}}),ym=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}=ve("TuiRollTable",null),d=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))}),Bt((()=>{})),ce((()=>{})),(t,l)=>{const a=ye("TuiTag"),n=ye("TuiRollingTableCol"),s=ye("TuiRollingItem");return r(),Y(s,{class:B(["tui-roll-tabl-row"])},{default:_((()=>[u(o)?(r(),Y(n,{key:0,class:"tui-idx",index:-1,contentType:"component"},{default:_((()=>[ae(a,xe({size:"small"},d.value),{default:_((()=>[Pe(F(e.index+1),1)])),_:1},16)])),_:1})):w("",!0),e.data&&e.data.length>0?(r(!0),g(J,{key:1},Ce(u(i),((t,l)=>(r(),Y(n,{contentType:u(A)&&u(A)[l],index:l},{default:_((()=>[Pe(F(e.data[l]),1)])),_:2},1032,["contentType","index"])))),256)):X(t.$slots,"default",{key:2})])),_:3})}}}),Vm={class:"dialog-title"},bm={class:"dialog-body"},wm={key:1,class:"dialog-footer"},bn=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}=ve("$global",null),i=e,A=l,o=C(null),n=C(null),d=m((()=>i.title||"Title")),c=m((()=>({transparent:!1,appearance:"background",customColor:i.customColor,type:i.type,...i.typedConfig}))),p=()=>{A("close")},v=()=>{A("confirm")};return t({dialogRef:o,headerRef:n}),(t,l)=>{const A=ye("TuiButton"),f=ye("TuiTyped"),m=_e("tui-drag");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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"]))},[ge(ae(f,pt(qt(c.value)),{default:_((()=>[e.hideHeader?w("",!0):(r(),g("div",{key:0,class:B(["dialog-header",{"is-draggable":e.draggable}]),ref_key:"headerRef",ref:n},[X(t.$slots,"header",{},(()=>[s("span",Vm,F(d.value),1)])),e.showClose?(r(),g("div",{key:0,class:"dialog-close",onClick:p},[s("i",{class:B(e.closeIcon)},null,2)])):w("",!0)],2)),s("div",bm,[X(t.$slots,"default")]),e.hideFooter?w("",!0):(r(),g("div",wm,[X(t.$slots,"footer",{},(()=>[ae(A,{onClick:p},{default:_((()=>[Pe(F(u(a)("common.cancel")),1)])),_:1}),ae(A,{type:"default"==e.type||"invert"==e.type?"primary":e.type,customColor:e.customColor,onClick:v},{default:_((()=>[Pe(F(u(a)("common.confirm")),1)])),_:1},8,["type","customColor"])]))]))])),_:3},16),[[ke,e.visibleInner]])],2)),[[m,{enabled:e.draggable&&!e.fullscreen,trigger:".dialog-header",exclude:".dialog-close",containment:e.dragContainment,positionType:e.positionType,inAdpt:i.appendTo?.includes("tuiAdpt"),uid:e.uid}]])])),_:3})}}}),_t=C(0),Al=C(0),qm=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}=ve("$global",null),s=e,d=C(!0),c=m((()=>s.appendTo||n.value)),p=t,v=C(!1),f=C(!1),h=C(null),y=C(null),V=C(0),b=qe("dialog");let q=!1,x=!1;const k=m((()=>[de("cpt-dlg",{...s.width&&{width:"string"==Re(s.width)?s.width:s.width+"px"},...s.top&&{top:"string"==Re(s.top)?s.top:s.top+"px"},zIndex:s.zIndex||2001+V.value})]));let S=null;const B=()=>{S&&(S(),S=null)},T=()=>{s.beforeClose?s.beforeClose((()=>M())):M()},$=()=>{s.closeOnBackdrop&&1==_t.value&&T()};H((()=>o.value),(()=>{v.value&&s.closeOnEsc&&_t.value==V.value&&T()}));const R=()=>{s.beforeClose?s.beforeClose((()=>M())):M(),p("confirm")},z=()=>(h.value.offsetWidth-y.value.dialogRef.offsetWidth)/2+30*(V.value-1)+"px",O=()=>{if(s.alignCenter){return(h.value.offsetHeight-y.value.dialogRef.offsetHeight)/2+"px"}return s.top?"string"==Re(s.top)?s.top:"number"==Re(s.top)?s.top+"px":void 0:100+30*V.value+"px"},N=async()=>{if(!q){if(q=!0,v.value=!0,p("open"),_t.value++,V.value=_t.value,s.modal&&!s.fullscreen&&(Al.value++,l({appendTo:c.value,visible:v.value,modal:s.modal,position:"fixed",click:$})),await ne((()=>{p("opened"),p("open-auto-focus"),q=!1,f.value=!0})),s.lockScroll&&(()=>{if(!s.lockScroll)return;const e="has-dialog-open";document.body.classList.contains(e)||document.body.classList.add(e),S=()=>document.body.classList.remove(e)})(),await ne(),!s.fullscreen&&!y.value.dialogRef.style?.left&&"transform"!=s.positionType){const e=h.value.offsetWidth,t=y.value.dialogRef.offsetWidth;e>0&&t>0&&(y.value.dialogRef.style.left=z(),y.value.dialogRef.style.top=O())}!s.fullscreen&&"transform"==s.positionType&&(s.resetDragOnClose||!y.value.dialogRef.style.transform)&&(y.value.dialogRef.style.transform=`translate(${z()},${O()})`)}},M=async()=>{x||(x=!0,p("update:modelValue",!1),p("close"),_t.value>0&&_t.value--,s.modal&&!s.fullscreen&&(Al.value>0&&Al.value--,0==Al.value&&a()),f.value=!1,0==_t.value&&s.lockScroll&&B(),await ne((()=>{p("closed"),p("close-auto-focus"),x=!1,oe.s(b+"_close",(()=>{v.value=!1,s.destroyOnClose,s.draggable&&s.resetDragOnClose&&(y.value.dialogRef.style=null)}),500)})))};return H((()=>s.positionType),(e=>{y.value?.dialogRef&&(y.value.dialogRef.style=null)})),H((()=>s.modelValue),(e=>{e?s.openDelay?setTimeout(N,s.openDelay):N():s.closeDelay?setTimeout(M,s.closeDelay):M()})),ce((()=>{d.value=!1})),Je((()=>{d.value=!0,B()})),(t,l)=>d.value?w("",!0):(r(),Y(vt,{key:0,to:c.value,fallback:"#tuiRoot",disabled:d.value},[v.value||!e.destroyOnClose?ge((r(),g("div",xe({key:0,class:"tui-dialog"},t.$attrs,{style:k.value,ref_key:"dialogWrapRef",ref:h}),[ae(bn,{ref_key:"baseDialogRef",ref:y,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:f.value,appendTo:c.value,uid:u(b),hideHeader:e.hideHeader,hideFooter:e.hideFooter,onClose:T,onConfirm:R},{header:_((()=>[X(t.$slots,"header")])),footer:_((()=>[X(t.$slots,"footer")])),default:_((()=>[X(t.$slots,"default")])),_:3},8,["fullscreen","title","center","overflow","divider","showClose","dragContainment","draggable","closeIcon","positionType","type","customColor","typedConfig","visibleInner","appendTo","uid","hideHeader","hideFooter"])],16)),[[ke,v.value]]):w("",!0)],8,["to","disabled"]))}}),Cm=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},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}=ve("$global",null),i=e,A=l,o=qe("nDialog"),n=C(null),s=C(null),d=C(!1),c=m((()=>({fullscreen:i.fullscreen,title:i.title,center:i.center,overflow:i.overflow,divider:i.divider,showClose:i.showClose,dragContainment:!1,draggable:!1,closeIcon:i.closeIcon,positionType:null,type:i.type,customColor:i.customColor,typedConfig:i.typedConfig,visibleInner:d.value})));H((()=>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 ne(),d.value=!0,A("opened")}catch(e){console.error("打开对话框失败:",e)}}},v=()=>{n.value&&(A("close"),d.value=!1,setTimeout((()=>{n.value.close()}),200))},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")},q=e=>{"Escape"===e.key&&!i.closeOnEsc&&e.preventDefault()};return t({open:()=>{A("update:modelValue",!0)},close:f,dialogRef:n,baseDialogRef:s}),ce((()=>{i.modelValue&&ne((()=>p())),i.closeOnEsc||Be.add(document,"keydown",q,o)})),Tt((()=>{Be.remove(document,"keydown",q,o)})),(t,l)=>(r(),g("dialog",{ref_key:"dialogRef",ref:n,class:B(["native-dialog","tui-dialog-native",`${e.customClass}`,"bg-"+(u(a)?"blur":"trans"),{"is-fullscreen":e.fullscreen}]),onClick:h,onClose:b},[e.modelValue?(r(),g("div",{key:0,class:B(["dialog-native-content"]),onClick:l[0]||(l[0]=Xe((()=>{}),["stop"]))},[ae(bn,xe({uid:u(o),ref_key:"baseDialogRef",ref:s},c.value,{onClose:y,onConfirm:V}),{header:_((()=>[X(t.$slots,"header")])),footer:_((()=>[X(t.$slots,"footer")])),default:_((()=>[X(t.$slots,"default")])),_:3},16,["uid"])])):w("",!0)],34))}}),$m={key:1,class:"panel-inner"},km=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}=ve("$global",null),A=e,o=C(!1),n=C(!0),u=t,d=m((()=>A.appendTo||a.value)),c=m((()=>de("cpt-drawer",{size:"number"==Re(A.size)?A.size+"px":A.size,padding:A.padding+"px",zIndex:A.zIndex}))),p=()=>{o.value=!1,oe.s("drawerClose",(()=>{u("update:modelValue",!1)}),400)},v=m((()=>i.globalConfig.maskBlur));return H((()=>l.value),(()=>{o.value&&A.closeOnEsc&&p()})),H((()=>A.modelValue),(e=>{ne((()=>{o.value=e})),u(e?"open":"close",e)})),ce((()=>{n.value=!1})),Je((()=>{n.value=!0,oe.c("drawerClose")})),(t,l)=>{const a=ye("TuiMask");return n.value?w("",!0):(r(),Y(vt,{key:0,to:d.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"])):w("",!0),ae(Se,{name:"fade"},{default:_((()=>[o.value?(r(),g("div",{key:0,class:B(["tui-drawer",e.className,""+(v.value?"bg-blur":"bg-trans"),`direction-${e.direction}`,""+(e.modal?"mask-on":"mask-off")]),style:ie(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)])])):w("",!0),o.value?(r(),g("div",$m,[X(t.$slots,"default")])):w("",!0)],6)):w("",!0)])),_:3})],8,["to","disabled"]))}}}),Sm={class:"tui-text"},Tm=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=ye("TuiButton");return r(),g("span",{class:B(["tui-empty",e.size&&`tui-size-${e.size}`,{"is-bordered":e.bordered}])},[s("i",{class:B(`tui-empty-icon ${e.icon}`)},null,2),X(t.$slots,"default",{},(()=>[s("span",Sm,F(a.value),1)])),e.showButton?(r(),Y(A,{key:0,size:e.size,type:e.buttonType,onClick:e.buttonClick},{default:_((()=>[Pe(F(i.value),1)])),_:1},8,["size","type","onClick"])):w("",!0)],2)}}}),Bm={key:0,class:"svg-icon spinner-area"},xm=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=Ia(),o=C(!1),n=qe("loadArea"),s=e,d=m((()=>s.modelValue)),c=m((()=>s.color||a.area.color)),p=m((()=>s.size||a.area.size)),v=m((()=>de("cpt-loda",{...c.value&&{color:c.value},...p.value&&{size:p.value+"px"},...s.zIndex&&{zIndex:s.zIndex},...s.pointEvent&&{pe:s.pointEvent}})));return H(d,(e=>{e?(o.value=!0,oe.c(n+"_ti")):oe.s(n+"_ti",(()=>{o.value=!1}),500)}),{immediate:!0}),ce((()=>{s.color&&s.update&&(a.area.color=s.color),s.size&&s.update&&(a.area.size=s.size),Me.el("#styleSpinners")||i()})),Tt((()=>{oe.c(n+"_ti")})),(t,l)=>{const a=ye("TuiMask");return r(),g(J,null,[ae(Se,{name:"fade"},{default:_((()=>[d.value?(r(),g("div",xe({key:0},u(A),{class:["tui-loading-area",""+(o.value?"loading-ani-on":"loading-ani-off")],style:v.value}),[o.value?(r(),g("i",Bm)):w("",!0)],16)):w("",!0)])),_:1}),e.mask?(r(),Y(a,{key:0,"model-value":d.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"])):w("",!0)],64)}}}),Pm={key:0,class:"tui-icon ti-angle-left"},Rm={key:1,class:"tui-icon ti-angle-up"},zm={key:0,class:"tui-icon ti-angle-right"},Im={key:1,class:"tui-icon ti-angle-down"},Nm={key:2,class:"tui-page-info"},Dm=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}=ve("$global",null),i=a(),A=e,o=C(!1),n=C(null),d=C(null);H((()=>l.value),((e,t)=>{"root"==i.value(A.resizeObserver)&&e>t&&h()}));const c=qe("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}=d.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 ne(),!n.value||!d.value)return;const e=p.curPage,t=v();if(p.needScroll=t.innerSize>t.outerSize,p.innerSize=t.innerSize,p.outerSize=t.outerSize,await ne(),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));H([y,V],(()=>{f()}),{immediate:!0});const b=m((()=>A.showControl&&p.needScroll)),q=m((()=>A.showPagination&&p.needScroll)),x=m((()=>{const e=p.curPage*p.outerSize;return de("cpt-scrl",{tsf:`translate${"h"===A.direction?"X":"Y"}(-${e}px)`})})),k=(e=-1,t=!0)=>{n.value&&Fe.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)},T=(e,t=null)=>{y.value&&(t?p.curPage=Fe.safeFixed(p.curPage-t,1):"full"==A.scrollMode?Fe.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=Fe.safeFixed(p.curPage+t,1):"full"==A.scrollMode?Fe.isNEG0(p.curPage)&&(p.curPage=Math.floor(Math.min(p.curPage+1,p.maxPage))):p.curPage+=.5,f())},R=()=>({...p,direction:A.direction,scrollMode:A.scrollMode,canScrollStart:y.value,canScrollEnd:V.value}),z=(e=!1)=>{e&&S(),h()},O=Be.throttle((e=>{e.deltaY>0||e.deltaX>0?$(0,.1):(e.deltaY<0||e.deltaX<0)&&T(0,.1)}),50),_=e=>{e.preventDefault(),O(e)};return ce((()=>{A.wheelScroll&&Be.add(n.value,"wheel",_,c,{passive:!1}),d.value&&It.o(d.value,(()=>{h()}),{childList:!0,subtree:!1},100)})),Tt((()=>{It.d(d.value),A.wheelScroll&&Be.remove(n.value,"wheel",c)})),H([()=>A.controlPosition,()=>A.direction],(()=>{h()})),Ke("TuiScroller",{scrollTo:k,next:$,prev:T,initSize:h,resetScrollInner:S,getInfo:R,forceUpdate:z,state:p,border:A.border}),t({scrollTo:k,next:$,prev:T,initSize:h,resetScrollInner:S,getInfo:R,forceUpdate:z,state:p}),(t,l)=>{const a=_e("tui-resize");return r(),g("div",{class:B(["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:ie(x.value)},[ge((r(),g("div",{ref_key:"scrollOuterRef",ref:n,class:"tui-scroller-outer"},[s("div",{ref_key:"scrollInnerRef",ref:d,class:"tui-scroller-inner"},[X(t.$slots,"default")],512)])),[[a,{callback:h,disabled:"self"!=u(i)(e.resizeObserver)&&o.value,uid:u(c)}]]),b.value?(r(),g("div",{key:0,class:B(["tui-scroll-btn tui-btn-sta",{disabled:!y.value}]),onClick:T},["h"==A.direction?(r(),g("i",Pm)):(r(),g("i",Rm))],2)):w("",!0),b.value?(r(),g("div",{key:1,class:B(["tui-scroll-btn tui-btn-end",{disabled:!V.value}]),onClick:$},["h"==A.direction?(r(),g("i",zm)):(r(),g("i",Im))],2)):w("",!0),q.value?(r(),g("div",Nm,F(p.curPage+1)+"/"+F(p.maxPage),1)):w("",!0)],6)}}}),_m={key:0,class:"tui-icon ti-angle-left"},Om={key:1,class:"tui-icon ti-angle-up"},Mm={key:0,class:"tui-icon ti-angle-right"},Em={key:1,class:"tui-icon ti-angle-down"},Lm=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}=ve("$global",null),i=a(),A=e,o=qe("virtscrl"),n=C(null),d=C(null),c=C(null),p=C(!1),v=C(!1),f=C(0),h=C(0),y=C(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},q=m((()=>n.value&&d.value?de("cpt-scrl",{tsf:"h"===A.direction?`translateX(-${V.scrollPosition}px)`:`translateY(-${V.scrollPosition}px)`}):{})),x=m((()=>{if(!n.value||!d.value)return{};const e=n.value,t=d.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),de("cpt-scrl-thumb",{["h"===A.direction?"width":"height"]:`${i}px`,tsf:"h"===A.direction?`translateX(${o}px)`:`translateY(${o}px)`})})),k=m((()=>V.scrollPosition>0)),S=m((()=>V.scrollPosition<V.maxScroll)),T=m((()=>V.scrollPosition>0)),$=m((()=>V.scrollPosition<V.maxScroll)),R=m((()=>"h"==A.direction?T.value||$.value:k.value||S.value));H(R,(e=>{V.needScroll=e}),{immediate:!0});const z=(e=0)=>{V.scrollPosition=Math.max(0,Math.min(V.maxScroll,e)),b()},O=(e=50)=>{z(V.scrollPosition-e)},_=(e=50)=>{z(V.scrollPosition+e)},N=Be.throttle((e=>{const t="h"===A.direction&&e.deltaX||e.deltaY;_(t*A.scrollSpeed)}),50),M=e=>{e.preventDefault(),N(e)},P=(e,t)=>{if(!n.value||!d.value)return;const l=n.value,a=d.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)},I=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;z(o)},D=e=>{e.stopPropagation(),v.value=!0,f.value="h"===A.direction?e.clientX:e.clientY,h.value=V.scrollPosition,Be.add(document,"mousemove",E,o),Be.add(document,"mouseup",W,o)},E=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;z(l)},W=()=>{v.value=!1,Be.remove(document,"mousemove",o),Be.remove(document,"mouseup",o)},F=e=>{const t=50*A.scrollSpeed,l=()=>{"start"===e?O(t):_(t)};l(),y.value=setInterval(l,100)},j=()=>{y.value&&(clearInterval(y.value),y.value=null)};return H((()=>l.value),((e,t)=>{"root"==i.value(A.resizeObserver)&&e>t&&P()})),ce((()=>{n.value&&d.value&&(It.o(d.value,(()=>{P()}),{childList:!0,subtree:!1},100),Be.add(n.value,"wheel",M,o,{passive:!1}),P())})),Tt((()=>{It.d(d.value),Be.remove(document,"mousemove",o),Be.remove(document,"mouseup",o),Be.remove(n.value,"wheel",o),j()})),H([()=>A.direction,()=>A.controlType,()=>A.buttonSize],(()=>{V.scrollPosition=0,P()})),t({scrollTo:z,scrollToTop:()=>{z(0)},scrollToBottom:()=>{z(V.maxScroll)},next:_,prev:O,getInfo:()=>({...V,direction:A.direction,controlType:A.controlType}),forceUpdate:()=>{P()},state:V}),(t,l)=>{const a=_e("tui-resize");return r(),g("div",{class:B(["tui-virtual-scroller",`tui-ctrl-type-${e.controlType}`,`tui-border-${e.border}`,""+(R.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:ie(q.value)},[ge((r(),g("div",{ref_key:"scrollOuterRef",ref:n,class:"tui-scroller-outer"},[s("div",{ref_key:"scrollInnerRef",ref:d,class:"tui-scroller-inner"},[X(t.$slots,"default")],512)])),[[a,{callback:e=>P(),disabled:"self"!=u(i)(e.resizeObserver)&&p.value,uid:u(o)}]]),R.value?(r(),g(J,{key:0},["scrollbar"===e.controlType?(r(),g("div",{key:0,class:B(["tui-scroll-bar",`tui-scroll-bar-${e.direction}`,`tui-bar-size-${e.scrollbarSize}`]),onMousedown:I},[s("div",{ref_key:"thumbRef",ref:c,class:"tui-scroll-bar-thumb",style:ie(x.value),onMousedown:D},null,36)],34)):w("",!0),"button"===e.controlType?(r(),g(J,{key:1},[s("div",{class:B(["tui-scroll-btn tui-btn-sta",{disabled:"h"==A.direction?!T.value:!k.value}]),onMousedown:l[0]||(l[0]=e=>F("start")),onMouseup:j,onMouseleave:j},["h"==A.direction?(r(),g("i",_m)):(r(),g("i",Om))],34),s("div",{class:B(["tui-scroll-btn tui-btn-end",{disabled:"h"==A.direction?!$.value:!S.value}]),onMousedown:l[1]||(l[1]=e=>F("end")),onMouseup:j,onMouseleave:j},["h"==A.direction?(r(),g("i",Mm)):(r(),g("i",Em))],34)],64)):w("",!0)],64)):w("",!0)],6)}}}),Fl={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)}},Wm=["data-lines","data-ellipsis"],jm=Object.assign({name:"TuiTextCurtip"},{__name:"textCurTip",props:{...Fl,placement:{type:String,default:"bottom-start",validator:e=>["top-start","top-end","bottom-start","bottom-end"].includes(e)}},setup(e){const{$optFloaterTo:t}=ve("$global",null),l=e,a=C(null),i=C(!1),A=C(""),o=C(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 H((()=>l.lines),(()=>{ne(n)})),ce((()=>{ne(n)})),(t,l)=>{const s=_e("tui-cursor-tip");return ge((r(),g("div",{"data-lines":t.lines,"data-ellipsis":i.value,ref_key:"textRef",ref:a,onMouseenterCapture:n},[X(t.$slots,"default")],40,Wm)),[[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}]])}}}),Gm=["data-lines","data-ellipsis"],Fm=Object.assign({name:"TuiTextPopTip"},{__name:"textPopTip",props:{...Fl,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}=ve("$global",null),l=e,a=C(null),i=C(!1),A=C(""),o=C(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 H((()=>l.lines),(()=>{ne(n)})),ce((()=>{ne(n)})),(t,l)=>{const s=_e("tui-popover");return ge((r(),g("div",{"data-lines":t.lines,"data-ellipsis":i.value,ref_key:"textRef",ref:a,onMouseenterCapture:n},[X(t.$slots,"default")],40,Gm)),[[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}]])}}}),Hm=Object.assign({name:"TuiTextTip"},{__name:"index",props:{...Fl,placement:String},setup(e){const t=e,l=m((()=>de("cpt-texttip",{...t.lines&&{lines:t.lines}}))),a=m((()=>"popTip"==t.appearance?Fm:jm)),i=C(!1);return ce((()=>{i.value=!0})),(e,A)=>i.value?(r(),Y(it(a.value),xe({key:0,class:[e.lines&&1!=e.lines?"tui-text-multiple":"tui-text-single"],style:l.value},t),{default:_((()=>[X(e.$slots,"default")])),_:3},16,["class","style"])):w("",!0)}}),Qm=Object.assign({name:"TuiCursorTip"},{__name:"cursorTip-avatar",props:{...Ha},setup(e){const t=e,l=ut(),a=C(null),i=C(null),A=`${qe("curtipava")}_evtIA`,o=()=>{const e=a.value?.firstElementChild;e?(i.value=e,(()=>{const e=a.value;e?.parentNode&&(Array.from(e.childNodes).forEach((t=>{e.parentNode.insertBefore(t,e)})),e.parentNode.removeChild(e))})()):oe.s(A,o,100)};return ce((()=>{ne((()=>{o()}))})),Je((()=>{oe.c(A)})),(e,A)=>(r(),g(J,null,[s("div",{class:"curtip-temp",ref_key:"tempRef",ref:a},[X(e.$slots,"default")],512),i.value?(r(),Y(Qa,xe({key:0},t,{"event-target":i.value}),Et({_:2},[u(l).content?{name:"content",fn:_((()=>[X(e.$slots,"content")])),key:"0"}:void 0]),1040,["event-target"])):w("",!0)],64))}}),Um={key:0,class:"deact-label"},Ym={key:0,class:"toggle-label"},Km={key:1,class:"act-label"},Hl=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=ve("TuiForm",null),A=m((()=>i?.size?.value||a.size)),o=m((()=>i?.disabled?.value||a.disabled)),n=m((()=>de("cpt-tgl",{...a.width&&{width:a.width+"px"}}))),u=m((()=>"array"==Re(a.icon)?a.icon[1]:"string"==Re(a.icon)?a.icon:void 0)),d=m((()=>"array"==Re(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 ce((()=>{})),(t,l)=>(r(),g("div",{class:B(["tui-toggle",""+(e.modelValue?"tui-toggle-act":"tui-toggle-deact"),`tui-appea-${e.appearance}`,`tui-size-${A.value}`,{"is-disabled":o.value}]),style:ie(n.value)},[!e.inlinePrompt&&e.inactiveText?(r(),g("div",Um,F(e.inactiveText),1)):w("",!0),s("div",{onClick:p,class:"tui-toggle-core"},[s("div",{class:B(`toggle-inner ${e.appearance.includes("icon")?e.modelValue?u.value:d.value:""}`)},null,2),e.inlinePrompt?(r(),g("div",Ym,[!e.modelValue&&e.inactiveText?(r(),g(J,{key:0},[Pe(F(e.inactiveText),1)],64)):w("",!0),e.modelValue&&e.activeText?(r(),g(J,{key:1},[Pe(F(e.activeText),1)],64)):w("",!0)])):w("",!0)]),!e.inlinePrompt&&e.activeText?(r(),g("div",Km,F(e.activeText),1)):w("",!0)],6))}}),Xm={key:0,class:"toggle-label"},Zm=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,u=e,d=t,c=C(!1),p=C(!1);H((()=>o.value.visible),(e=>{c.value=e,d("update:modelValue",e),d("change",e)}));const v=e=>{c.value&&A()},f=m((()=>u.label?u.label:s("controlPanel.title")));return ce((()=>{null!=u.modelValue?(c.value=u.modelValue,o.value.show=u.modelValue):c.value=o.value.show,p.value=!0})),(t,l)=>(r(),g("div",{class:B(`tui-toggle-ctrlpanel direction-${e.direction}`)},[e.showLabel?(r(),g("div",Xm,F(f.value),1)):w("",!0),p.value?(r(),Y(Hl,{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"])):w("",!0)],2))}}),Jm={key:0,class:"toggle-label"},ey=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,u=C(!1),d=C(!1);H((()=>A.value.t3D),(e=>{u.value=e,s("update:modelValue",e),s("change",e)}));const c=()=>{A.value.t3D=u.value},p=m((()=>n.label?n.label:o("controlPanel.label.t3D")));return ce((()=>{(n.modelValue!=i.value||u.value!=i.value)&&(u.value=i.value,s("update:modelValue",i.value)),d.value=!0})),(t,l)=>(r(),g("div",{class:B(`tui-toggle-t3d direction-${e.direction}`)},[e.showLabel?(r(),g("div",Jm,F(p.value),1)):w("",!0),d.value?(r(),Y(Hl,{key:1,appearance:e.appearance,size:e.size,icon:e.icon,onClick:c,modelValue:u.value,"onUpdate:modelValue":l[0]||(l[0]=e=>u.value=e)},null,8,["appearance","size","icon","modelValue"])):w("",!0)],2))}}),ty=["viewBox","width","height"],ly=["opacity","stroke-width"],ay=["x2","y1","y2"],ny=["x1","x2","y1","y2"],oy=["x1","x2","y2"],iy=["x1","x2","y1","y2"],sy=["opacity","stroke-width"],ry=["x1","x2","y1","y2"],Ay=["x1","x2","y1","y2"],uy={key:0},dy={class:"tui-dot-h"},cy=["cx","cy"],fy=["cx","cy"],py={class:"tui-dot-v"},gy=["cx","cy"],hy=["cx","cy"],vy=["cx","cy"],my=["cx","cy","r"],yy=["x","y","width","height"],Vy=["transform"],by={"text-anchor":"end","dominant-baseline":"end",class:"cursorX"},wy={"text-anchor":"start","dominant-baseline":"end",class:"cursorY"},qy=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=qe("crosshair"),a=C(!0),i=C(0),A=C(0),o=C(window.innerWidth),n=C(window.innerHeight),u=C(null),d=e=>{u.value&&(i.value=e.clientX,A.value=e.clientY)},c=()=>{o.value=window.innerWidth,n.value=window.innerHeight},p=m((()=>de("cpt-cross",{textoffset:-(t.crosshairRadius+5)+"px"})));return ce((()=>{a.value=!1,Be.add(window,"mousemove",d,l),Be.add(window,"resize",c,l),i.value=o.value/2,A.value=n.value/2})),Je((()=>{a.value=!0,Be.remove(window,"mousemove",l),Be.remove(window,"resize",l)})),Tt((()=>{})),(t,l)=>a.value?w("",!0):(r(),Y(vt,{key:0,to:"#tuiRoot",fallback:"#app",disabled:a.value},[(r(),g("svg",{class:"tui-crosshair",ref_key:"svgRef",ref:u,viewBox:`0 0 ${o.value} ${n.value}`,width:o.value,height:n.value,style:ie(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,ay),s("line",{x1:i.value+e.crosshairRadius,x2:o.value,y1:A.value,y2:A.value},null,8,ny),s("line",{x1:i.value,x2:i.value,y1:0,y2:A.value-e.crosshairRadius},null,8,oy),s("line",{x1:i.value,x2:i.value,y1:A.value+e.crosshairRadius,y2:n.value},null,8,iy)],8,ly),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,ry),s("line",{x1:i.value,x2:i.value,y1:A.value-e.crosshairRadius,y2:A.value+e.crosshairRadius},null,8,Ay)],8,sy),"side"==e.aimingPoint?(r(),g("g",uy,[s("g",dy,[s("circle",{cx:i.value-e.crosshairRadius,cy:A.value,r:"2"},null,8,cy),s("circle",{cx:i.value+e.crosshairRadius,cy:A.value,r:"2"},null,8,fy)]),s("g",py,[s("circle",{cx:i.value,cy:A.value-e.crosshairRadius,r:"2"},null,8,gy),s("circle",{cx:i.value,cy:A.value+e.crosshairRadius,r:"2"},null,8,hy)])])):(r(),g("circle",{key:1,class:"tui-aiming-point",cx:i.value,cy:A.value,r:"3"},null,8,vy)),"circle"==e.scopeShape?(r(),g("circle",{key:2,class:"tui-center-circle",cx:i.value,cy:A.value,r:e.crosshairRadius},null,8,my)):(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,yy)),e.coordinates?(r(),g("g",{key:4,class:"tui-center-area",transform:`translate(${i.value},${A.value})`},[s("text",by,F(Math.round(i.value)),1),s("text",wy,F(Math.round(A.value)),1)],8,Vy)):w("",!0)],12,ty))],8,["disabled"]))}}),Cy=["src"],$y={class:"tui-login-inner"},ky={class:"logo-section"},Sy={class:"tui-form-wrap"},Ty={class:"captcha-img-container"},By=["src"],xy={key:1,class:"captcha-error"},Py={class:"help-section"},Ry={class:"button-group"},zy=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}=ve("$global",null),d=e,c=m((()=>d.usernamePlaceholder||A("login.placeholder.username"))),p=m((()=>d.passwordPlaceholder||A("login.placeholder.password"))),v=m((()=>d.captchaPlaceholder||A("login.placeholder.captcha"))),f=m((()=>d.loginButtonText||A("login.button.login"))),h=m((()=>d.helpText||A("login.button.help"))),y=m((()=>d.forgetText||A("login.button.forget"))),V=C(null),b=l,q=m((()=>d.form.username&&d.form.password&&(!d.enableCaptcha||d.form.captcha))),x=async()=>{if(q.value)try{await V.value.validate()&&b("login",{...d.form})}catch{a({content:A("login.message.faild"),type:"warning"})}},k=()=>{b("help")},S=()=>{b("forget")},T=()=>{b("captchaError")};t({resetForm:()=>{V.value.resetFields()}});const $=m((()=>d.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"}]})),R=Ve({config:{labelHide:!0,size:m((()=>d.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 H((()=>d.backgroundType),(e=>{"vector"==e&&"none"==o.value&&(n.value.background="all")}),{immediate:!0}),(t,l)=>{const a=ye("TuiLoadingArea"),i=ye("TuiInput"),A=ye("TuiFormItem"),n=ye("TuiForm"),c=ye("TuiButton");return r(),g("div",{class:B(["tui-login",{"tui-view-bg":("view"==u(o)||"all"==u(o))&&"vector"==e.backgroundType,"tui-root-bg":"root"==u(o)&&"vector"==e.backgroundType}])},[e.backgroundImage&&"image"==e.backgroundType?(r(),g("img",{key:0,class:"tui-login-bg",src:e.backgroundImage,alt:""},null,8,Cy)):w("",!0),s("div",{class:B(["tui-login-locator",`tui-pos-${e.position}`])},[(r(),Y(it(t.$slots.border?t.$slots.border()[0].type:"div"),xe({class:["tui-login-border",t.$slots.border?"is-outside-border":"is-native-border"]},{...t.$slots.border?t.$slots.border()[0].props:{}}),{default:_((()=>[s("div",$y,[ae(a,{"model-value":d.loading,mask:!0},null,8,["model-value"]),s("div",ky,[X(t.$slots,"logo",{},(()=>[l[0]||(l[0]=s("div",{class:"default-logo"},[s("h2",null,"Login")],-1))]))]),s("div",Sy,[ae(n,xe({ref_key:"formRef",ref:V,model:e.form},R.config,{rules:$.value,labelHide:""}),{default:_((()=>[(r(!0),g(J,null,Ce(R.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:oa(x,["enter"])},{prefix:_((()=>[s("i",{class:B(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:oa(x,["enter"])},{prefix:_((()=>[s("i",{class:B(l.prefixIcon)},null,2)])),suffix:_((()=>[s("div",Ty,["ERROR"!==e.captchaImg?(r(),g("img",{key:0,src:e.captchaImg,class:"captcha-img",onError:T},null,40,By)):(r(),g("span",xy,F(e.captchaImg),1)),X(t.$slots,"captcha-suffix")])])),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"]))])),_:2},1032,["prop"])):w("",!0)],64)))),128)),X(t.$slots,"input")])),_:3},16,["model","rules"]),s("div",Py,[s("span",{class:"help-link",onClick:k},F(h.value),1),s("span",{class:"forgot-link",onClick:S},F(y.value),1)]),s("div",Ry,[ae(c,{disabled:!q.value||e.loading,type:"primary",block:"",onClick:x,size:e.formSize},{default:_((()=>[Pe(F(f.value),1)])),_:1},8,["disabled","size"])])])]),X(t.$slots,"extra")])),_:3},16,["class"]))],2)],2)}}}),Iy=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}=ve("$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)})),u=async e=>{!A||n.value===e||(await A(e),a("update:modelValue",e),a("change",e))};return(t,l)=>{const a=ye("TuiRadio");return ge((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:u},null,8,["itemWidth","direction","size","model-value","options"])),[[ke,s.value.length>1]])}}}),Ny=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}=ve("$global"),l=e,a=m((()=>de("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:B(["tui-logo-icon",`tui-appea-${e.appearance}`]),style:ie(a.value)},[...l[0]||(l[0]=[Ti('<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))}}),Dy=["src"],_y={class:"text-main"},Oy={key:0,class:"text-sub"},My=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}=ve("$global"),i=ut(),A=e,o=m((()=>({type:"danger",tone:"strong",size:"small",...A.tagConfig}))),n=m((()=>de("cpt-logo-sys",{...A.textSize&&{tsize:A.textSize+"px"},..."strongest"==A.textAppearance&&{color:a("tone.strongest")},..."weakest"==A.textAppearance&&{color:a("tone.weakest")}}))),d=m((()=>de("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:Tl.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=ye("TuiIconLogo"),m=ye("TuiTag");return r(),g("div",{class:B(["tui-logo-system",`tui-dir-${e.direction}`,`tui-appea-${e.textAppearance}`]),style:ie(n.value)},[f.value?(r(),g("div",{key:1,class:B(["tui-logo-custom-icon"]),style:ie(d.value)},[u(i).icon?X(t.$slots,"icon",{key:0}):e.iconLogo?(r(),g("i",{key:1,class:B([e.iconLogo])},null,2)):e.iconSrc?(r(),g("img",{key:2,src:e.iconSrc,class:"tui-logo-img",alt:"logo"},null,8,Dy)):w("",!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:B(["tui-logo-text",`tui-appea-${e.textAppearance}`])},[X(t.$slots,"text",{},(()=>[s("span",_y,F(c.value),1),p.value?(r(),g("span",Oy,F(p.value),1)):w("",!0)])),e.tag?(r(),Y(m,xe({key:0,class:"tui-logo-tag"},o.value),{default:_((()=>[Pe(F(e.tag),1)])),_:1},16)):w("",!0)],2)):w("",!0)],6)}}}),Ey=["data-fallback"],Ly=["src","alt"],Wy=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=C(null),o=C("idle"),n=m((()=>"loading"===o.value)),s=m((()=>"loaded"===o.value)),u=m((()=>"error"===o.value));t({isLoading:n,isLoaded:s,isError:u});let d=!1;const c=()=>{!a.src||d||(d=!0,o.value="loading",ne((()=>{d=!1,A.value&&Di(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)}))})))};H((()=>a.src),(e=>{e&&c()}),{immediate:!0}),ce((()=>{"idle"===o.value&&a.src&&c()}));const p=m((()=>de("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:B(["tui-svg-injector-wrap",{"tui-svginj-loading":n.value,"tui-svginj-loaded":s.value,"tui-svginj-error":u.value,"tui-svginj-custom":e.color}]),"data-fallback":e.fallback,style:ie(p.value)},[u.value&&"slot"===e.fallback?X(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,Ly))],14,Ey))}}),jy=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"==Re(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 t=e,l=m((()=>{const e=t.colors.join(", ");switch(t.gradientType){case"linear":return`linear-gradient(${t.angle}deg, ${e})`;case"radial":return`radial-gradient(circle, ${e})`;case"conic":return`conic-gradient(from ${t.angle}deg, ${e})`;default:return`linear-gradient(${t.angle}deg, ${e})`}})),a=m((()=>de("cpt-txtg",{...t.fontWeight&&{fw:t.fontWeight},...t.fontSize&&{fz:t.fontSize+"px"},...t.colors&&{bg:l.value}})));return(e,t)=>(r(),g("span",{class:"tui-text-grad",style:ie(a.value)},[X(e.$slots,"default")],4))}}),Gy=["onClick","title"],Fy={key:0,class:"tui-icon ti-check"},Hy={class:"colors-wrap"},Qy=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}=ve("$global",null),A=t,o=Ve({curTheme:"lightBlue",themes:[]});return H((()=>i.value),(e=>{e!=o.curTheme&&(o.curTheme=i.value)})),ce((()=>{o.themes=dl.loadIndex(),o.curTheme=i.value})),Bt((()=>{})),(t,l)=>ge((r(),g("div",{class:B(["tui-theme-toggle",""+("h"==e.direction?"tui-dir-h":"tui-dir-v")])},[(r(!0),g(J,null,Ce(o.themes,(e=>(r(),g("div",{key:e.value,class:B(["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",Fy)):w("",!0),s("div",Hy,[(r(!0),g(J,null,Ce(e.colors,(e=>(r(),g("span",{class:"color-item",style:ie(`background-color:${e}`)},null,4)))),256))])],10,Gy)))),128))],2)),[[ke,o.themes.length>1]])}}),Uy=["src","alt"],Yy=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=ve("$global",null)||{},o=A.$gTheme,n=A.$gThemeScheme,u=m((()=>"theme"===a.type?o?.value||"":n?.value||"")),d=m((()=>{const e=a.srcMap?.[u.value];return e||(a.fallback?a.fallback:Object.values(a.srcMap||{}).find(Boolean)||"")})),c=m((()=>de("cpt-theme-img",{...null!=a.width&&{width:Re.join("number",a.width,"px")},...null!=a.height&&{height:Re.join("number",a.height,"px")},...null!=a.radius&&{radius:Re.join("number",a.radius,"px")}}))),p=e=>i("load",e),v=e=>i("error",e);return t({currentKey:u,currentSrc:d}),(t,l)=>(r(),g("div",{class:"tui-theme-image",style:ie(c.value)},[d.value?(r(),g("img",{key:0,class:"tui-theme-image-inner",src:d.value,alt:e.alt,style:ie({objectFit:e.fit}),draggable:"false",onLoad:p,onError:v},null,44,Uy)):X(t.$slots,"empty",{key:1},(()=>[l[0]||(l[0]=s("div",{class:"tui-theme-image-empty"},null,-1))]))],4))}}),Ky=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((()=>de("cpt-sf-tabs",{...l.gap&&{gap:l.gap+"px"}})));return(t,l)=>(r(),g("div",{style:ie(i.value),class:B(["scifi-tabs-wrap",`scifi-dir-${e.direction}`])},[(r(!0),g(J,null,Ce(e.options,(t=>(r(),Y(it(e.buttonType),xe({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:_((()=>[Pe(F(t.label),1)])),_:2},1040,["onClick","class"])))),128))],6))}}),ol={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}},Xy=["id"],Zy=["stdDeviation"],Ut=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,Zy),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,Xy)]))}),Jy={width:32,height:"60",class:"sfb-deco-appea-a"},eV=["d"],tV=["d"],lV=["d"],aV={width:32,height:"60",class:"sfb-deco-appea-b"},nV=["d"],oV=["d"],iV={width:32,height:"60",class:"sfb-deco-appea-c"},sV=["d"],rV=["width"],AV=["filter","d"],uV=Object.assign({name:"ScifiButtonA1"},{__name:"A1",props:{...ol},setup(e){const t=e,l=C(null),a=qe("sfBtn"),i=C(!1),A=C(!1),o=Ve({resizing:!1,width:0,path:{}}),{path:n}=Oe(o),d=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=Ee(Lo(d.value)),await ne(),i.value=!0})())},p=m((()=>de("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 ce((()=>{A.value=!0,ne((()=>{c()}))})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(p.value),ref_key:"btnRef",ref:l},[s("span",{onClick:t[0]||(t[0]=(...t)=>e.oriClick&&e.oriClick(...t)),class:"sfb-text"},[X(e.$slots,"default")]),i.value?(r(),g("div",{key:0,class:B(["sfb-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},["A"==e.appearance?(r(),g(J,{key:0},Ce(2,(e=>s("svg",Jy,[s("path",{class:"sfb-deco-a",d:u(n).A_decoA},null,8,eV),s("path",{class:"sfb-deco-b",d:u(n).A_decoB},null,8,tV),s("path",{class:"sfb-deco-c",d:u(n).A_decoC},null,8,lV)]))),64)):w("",!0),"B"==e.appearance?(r(),g(J,{key:1},Ce(2,(e=>s("svg",aV,[s("path",{class:"sfb-deco-a",d:u(n).B_decoA},null,8,nV),s("path",{class:"sfb-deco-b",d:u(n).B_decoB},null,8,oV)]))),64)):w("",!0),"C"==e.appearance?(r(),g(J,{key:2},Ce(2,(e=>s("svg",iV,[s("path",{class:"sfb-deco-a",d:u(n).C_deco},null,8,sV)]))),64)):w("",!0),(r(),g("svg",{width:e.width,height:"60",class:"sfb-svg-elem"},[ae(Ut,{uid:u(a),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${u(a)})`,d:u(n).mainBG},null,8,AV)],8,rV))],2)):w("",!0)],6),[[ke,A.value]])])),_:3}))}}),dV=["width"],cV=["filter","d"],fV={width:32,height:"60",class:"sfb-deco-appea-a"},pV=["d"],gV=["d"],hV=["d"],vV=["d"],mV={width:32,height:"60",class:"sfb-deco-appea-b"},yV=["d"],VV=["d"],bV=Object.assign({name:"ScifiButtonA2"},{__name:"A2",props:{...ol},setup(e){const t=e,l=C(null),a=qe("sfBtn"),i=C(!1),A=C(!1),o=Ve({resizing:!1,width:0,path:{}}),{path:n}=Oe(o),d=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=Ee(Wo(d.value)),await ne(),i.value=!0})())},p=m((()=>de("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 ce((()=>{A.value=!0,ne((()=>{c()}))})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(p.value),ref_key:"btnRef",ref:l},[s("span",{onClick:t[0]||(t[0]=(...t)=>e.oriClick&&e.oriClick(...t)),class:"sfb-text"},[X(e.$slots,"default")]),i.value?(r(),g("div",{key:0,class:B(["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"},[ae(Ut,{uid:u(a),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${u(a)})`,d:u(n).mainBG},null,8,cV)],8,dV)),"A"==e.appearance?(r(),g(J,{key:0},Ce(2,(e=>s("svg",fV,[s("path",{class:"sfb-deco-a",d:u(n).A_decoAt},null,8,pV),s("path",{class:"sfb-deco-a",d:u(n).A_decoAb},null,8,gV),s("path",{class:"sfb-deco-b",d:u(n).A_decoB},null,8,hV),s("path",{class:"sfb-deco-c",d:u(n).A_decoC},null,8,vV)]))),64)):w("",!0),"B"==e.appearance?(r(),g(J,{key:1},Ce(2,(e=>s("svg",mV,[s("path",{class:"sfb-deco-a",d:u(n).B_decoA},null,8,yV),s("path",{class:"sfb-deco-a",d:u(n).B_decoB},null,8,VV)]))),64)):w("",!0)],2)):w("",!0)],6),[[ke,A.value]])])),_:3}))}}),wV=["width"],qV={key:0,class:"sfb-deco-appea-a"},CV=["d"],$V=["d"],kV=["d"],SV=["d"],TV=["d"],BV=["d"],xV=["d"],PV={key:1,class:"sfb-deco-appea-b"},RV=["d"],zV=["d"],IV=["d"],NV=["d"],DV=["d"],_V=["d"],OV=["d"],MV=["d"],EV=["filter","d"],LV=Object.assign({name:"ScifiButtonA3"},{__name:"A3",props:{...ol},setup(e){const t=e,l=C(null),a=qe("sfBtn"),i=C(!1),A=C(!1),o=Ve({resizing:!1,width:0,path:{}}),{path:n}=Oe(o),d=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=Ee(jo(d.value)),await ne(),i.value=!0})())},p=m((()=>de("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 ce((()=>{A.value=!0,ne((()=>{c()}))})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(p.value),ref_key:"btnRef",ref:l},[s("span",{onClick:t[0]||(t[0]=(...t)=>e.oriClick&&e.oriClick(...t)),class:"sfb-text"},[X(e.$slots,"default")]),i.value?(r(),g("div",{key:0,class:B(["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"},[ae(Ut,{uid:u(a),glowRange:e.glowRange},null,8,["uid","glowRange"]),"A"==e.appearance?(r(),g("g",qV,[s("path",{class:"sfb-deco-lt",d:u(n).A_decoLT},null,8,CV),s("path",{class:"sfb-deco-rt",d:u(n).A_decoRT},null,8,$V),s("path",{class:"sfb-deco-lb",d:u(n).A_decoLB},null,8,kV),s("path",{class:"sfb-deco-rb1",d:u(n).A_decoRB1},null,8,SV),s("path",{class:"sfb-deco-rb2",d:u(n).A_decoRB2},null,8,TV),s("path",{class:"sfb-deco-rb3",d:u(n).A_decoRB3},null,8,BV),s("path",{class:"sfb-deco-rb4",d:u(n).A_decoRB4},null,8,xV)])):w("",!0),"B"==e.appearance?(r(),g("g",PV,[s("path",{class:"sfb-deco-lt",d:u(n).B_decoLT},null,8,RV),s("path",{class:"sfb-deco-rb",d:u(n).B_decoRB},null,8,zV),s("path",{class:"sfb-deco-rt",d:u(n).B_decoRT},null,8,IV),s("path",{class:"sfb-deco-lb",d:u(n).B_decoLB},null,8,NV),s("path",{class:"sfb-deco-lt-rt",d:u(n).B_decoLT1},null,8,DV),s("path",{class:"sfb-deco-lt-rt",d:u(n).B_decoLT2},null,8,_V),s("path",{class:"sfb-deco-lt-rt",d:u(n).B_decoLT3},null,8,OV),s("path",{class:"sfb-deco-lt-rt",d:u(n).B_decoLT4},null,8,MV)])):w("",!0),s("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${u(a)})`,d:u(n).mainBG},null,8,EV)],8,wV))],2)):w("",!0)],6),[[ke,A.value]])])),_:3}))}}),WV=["width"],jV=["filter","d"],GV={width:20,height:"60",class:"sfb-deco-appea-a"},FV=["d"],HV=["d"],QV=["d"],UV=["d"],YV=["width"],KV=["filter","d"],XV={width:20,height:"60",class:"sfb-deco-appea-b"},ZV=["d"],JV=["d"],eb=["d"],tb=Object.assign({name:"ScifiButtonA4"},{__name:"A4",props:{...ol},setup(e){const t=e,l=C(null),a=qe("sfBtn"),i=C(!1),A=C(!1),o=Ve({resizing:!1,width:0,path:{}}),{path:n}=Oe(o),d=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=Ee(Go(d.value)),await ne(),i.value=!0})())},p=m((()=>de("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 ce((()=>{A.value=!0,ne((()=>{c()}))})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(p.value),ref_key:"btnRef",ref:l},[s("span",{onClick:t[0]||(t[0]=(...t)=>e.oriClick&&e.oriClick(...t)),class:"sfb-text"},[X(e.$slots,"default")]),i.value?(r(),g("div",{key:0,class:B(["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"},[ae(Ut,{uid:u(a),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${u(a)})`,d:u(n).A_mainBG},null,8,jV)],8,WV)),(r(),g(J,null,Ce(2,(e=>s("svg",GV,[s("path",{class:"sfb-deco-t1",d:u(n).A_decoT1},null,8,FV),s("path",{class:"sfb-deco-b1",d:u(n).A_decoB1},null,8,HV),s("path",{class:"sfb-deco-t1",d:u(n).A_decoT2},null,8,QV),1==e?(r(),g("path",{key:0,class:"sfb-deco-t3",d:u(n).A_decoT3},null,8,UV)):w("",!0)]))),64))],64)):w("",!0),"B"==e.appearance?(r(),g(J,{key:1},[(r(),g("svg",{width:e.width,height:"60",class:"sfb-svg-elem"},[ae(Ut,{uid:u(a),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${u(a)})`,d:u(n).B_mainBG},null,8,KV)],8,YV)),(r(),g(J,null,Ce(2,(e=>s("svg",XV,[s("path",{class:"sfb-deco-a",d:u(n).B_decoA},null,8,ZV),s("path",{class:"sfb-deco-b",d:u(n).B_decoB},null,8,JV),1==e?(r(),g("path",{key:0,class:"sfb-deco-c",d:u(n).B_decoC},null,8,eb)):w("",!0)]))),64))],64)):w("",!0)],2)):w("",!0)],6),[[ke,A.value]])])),_:3}))}}),lb=["width"],ab=["filter","d"],nb={width:40,height:"60",class:"sfb-deco-appea-a"},ob=["d"],ib=["width"],sb=["d"],Sl="sfBtn_8",rb=Object.assign({name:"ScifiButtonA5"},{__name:"A5",props:{...ol},setup(e){const t=e,l=C(null),a=C(!1),i=C(!1),A=Ve({resizing:!1,width:0,path:{}}),{path:o}=Oe(A),n=m((()=>{let e=0;return"small"==t.size&&(e=20),"large"==t.size&&(e=-20),A.width+e})),d=()=>{const e=l.value;e&&(A.width=e.clientWidth,(async()=>{A.path=Ee(Fo(n.value)),await ne(),a.value=!0})())},c=m((()=>de("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(#${Sl})`})));return ce((()=>{i.value=!0,ne((()=>{d()}))})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(c.value),ref_key:"btnRef",ref:l},[s("span",{onClick:t[0]||(t[0]=(...t)=>e.oriClick&&e.oriClick(...t)),class:"sfb-text"},[X(e.$slots,"default")]),a.value?(r(),g("div",{key:0,class:B(["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"},[ae(Ut,{uid:Sl,glowRange:e.glowRange},null,8,["glowRange"]),s("path",{class:"sfb-main-bg",filter:e.glow&&`url(#bgGlow_${Sl})`,d:u(o).mainBG},null,8,ab)],8,lb)),"A"==e.appearance?(r(),g(J,{key:0},Ce(2,(e=>s("svg",nb,[s("path",{class:"decoration-B",d:u(o).decoA},null,8,ob)]))),64)):w("",!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:u(o).decoB},null,8,sb)],8,ib)):w("",!0)],2)):w("",!0)],6),[[ke,i.value]])])),_:3}))}}),il={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}},Ab=["id"],ub=["stdDeviation"],db=["id"],sl=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,ub),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,Ab),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,db)]))}),cb={class:"sfg-slot-wrap"},fb={class:"sfg-slot-inner"},pb=["viewBox"],gb=["id"],hb=["d"],vb=["filter","d"],mb=["viewBox"],yb=["id"],Vb=["d"],bb=["mask","d"],wb=["viewBox"],qb=["d"],Cb=Object.assign({name:"ScifiHexagon"},{__name:"Hexagon",props:{...il},setup(e){const t=e,l=qe("sfGeo"),a=C(!1),i=Ve({path:{}}),{path:A}=Oe(i),o=m((()=>t.directionAlt?t.height:t.width)),n=m((()=>t.directionAlt?t.width:t.height)),d=m((()=>de("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 ce((()=>{(async()=>{i.path=Ee(Ho(o.value,n.value)),await ne(),a.value=!0})()})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(d.value),ref:"svgGeometry"},[s("div",cb,[s("div",fb,[X(e.$slots,"default")])]),a.value?(r(),g("div",{key:0,class:B(["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}`},[ae(sl,{uid:u(l),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("mask",{id:`slotMask${u(l)}`},[s("path",{fill:"white",d:u(A).mainBG},null,8,hb)],8,gb),s("path",{filter:e.glow&&`url(#bgGlow_${u(l)})`,d:u(A).mainBG},null,8,vb)],8,pb)),!e.decorationAlt&&e.decoration?(r(),g(J,{key:0},Ce(2,(e=>s("svg",{class:"sfg-deco-a-elem",viewBox:`0 0 ${o.value} ${n.value}`},[s("defs",null,[s("mask",{id:`decoMask${u(l)}`},[s("path",{fill:"white",d:u(A).mask},null,8,Vb)],8,yb)]),s("path",{mask:`url(#decoMask${u(l)})`,d:u(A).deco},null,8,bb)],8,mb))),64)):w("",!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:u(A).mainBG},null,8,qb)],8,wb)):w("",!0)],2)):w("",!0)],6),[[ke,a.value]])])),_:3}))}}),$b={class:"sfg-slot-wrap"},kb={class:"sfg-slot-inner"},Sb=["viewBox"],Tb=["filter","d"],Bb=["id"],xb=["d"],Pb=["viewBox"],Rb=["id"],zb=["d"],Ib=["mask","d"],Nb=["viewBox"],Db=["d"],_b=Object.assign({name:"ScifiParallelogram"},{__name:"Parallelogram",props:{...il},setup(e){const t=e,l=qe("sfGeo"),a=C(!1),i=Ve({path:{}}),{path:A}=Oe(i),o=m((()=>de("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 ce((()=>{(async()=>{i.path=Ee(Qo(t.width,t.height)),await ne(),a.value=!0})()})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(o.value),ref:"svgGeometry"},[s("div",$b,[s("div",kb,[X(e.$slots,"default")])]),a.value?(r(),g("div",{key:0,class:B(["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}`},[ae(sl,{uid:u(l)},null,8,["uid"]),s("path",{filter:e.glow&&`url(#bgGlow_${u(l)})`,d:e.cornerAlt?u(A).BmainBG:u(A).AmainBG},null,8,Tb),s("mask",{id:`slotMask${u(l)}`},[s("path",{fill:"white",d:e.cornerAlt?u(A).BmainBG:u(A).AmainBG},null,8,xb)],8,Bb)],8,Sb)),!e.decorationAlt&&e.decoration?(r(),g(J,{key:0},Ce(2,(t=>s("svg",{class:"sfg-deco-a-elem",viewBox:`0 0 ${e.width} ${e.height}`},[s("defs",null,[s("mask",{id:`decoMask${u(l)}`},[s("path",{fill:"white",d:e.cornerAlt?u(A).Bmask:u(A).Amask},null,8,zb)],8,Rb)]),s("path",{mask:`url(#decoMask${u(l)})`,d:e.cornerAlt?u(A).Bdeco:u(A).Adeco},null,8,Ib)],8,Pb))),64)):w("",!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?u(A).BmainBG:u(A).AmainBG},null,8,Db)],8,Nb)):w("",!0)],2)):w("",!0)],6),[[ke,a.value]])])),_:3}))}}),Ob={class:"sfg-slot-wrap"},Mb={class:"sfg-slot-inner"},Eb=["viewBox"],Lb=["filter","d"],Wb=["id"],jb=["d"],Gb=["viewBox"],Fb=["id"],Hb=["d"],Qb=["mask","d"],Ub=["viewBox"],Yb=["d"],Kb=Object.assign({name:"ScifiRectangle"},{__name:"Rectangle",props:{...il},setup(e){const t=e,l=qe("sfGeo"),a=C(!1),i=Ve({path:{}}),{path:A}=Oe(i),o=m((()=>de("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 ce((()=>{(async()=>{i.path=Ee(Uo(t.width,t.height)),await ne(),a.value=!0})()})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(o.value),ref:"svgGeometry"},[s("div",Ob,[s("div",Mb,[X(e.$slots,"default")])]),a.value?(r(),g("div",{key:0,class:B(["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}`},[ae(sl,{uid:u(l)},null,8,["uid"]),s("path",{filter:e.glow&&`url(#bgGlow_${u(l)})`,d:e.cornerAlt?u(A).BmainBG:u(A).AmainBG},null,8,Lb),s("mask",{id:`slotMask${u(l)}`},[s("path",{fill:"white",d:e.cornerAlt?u(A).BmainBG:u(A).AmainBG},null,8,jb)],8,Wb)],8,Eb)),!e.decorationAlt&&e.decoration?(r(),g(J,{key:0},Ce(2,(t=>s("svg",{class:"sfg-deco-a-elem",viewBox:`0 0 ${e.width} ${e.height}`},[s("defs",null,[s("mask",{id:`mask-${u(l)}`},[s("path",{fill:"white",d:e.cornerAlt?u(A).Bmask:u(A).Amask},null,8,Hb)],8,Fb)]),s("path",{mask:`url(#mask-${u(l)})`,d:e.cornerAlt?u(A).Bdeco:u(A).Adeco},null,8,Qb)],8,Gb))),64)):w("",!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?u(A).BmainBG:u(A).AmainBG},null,8,Yb)],8,Ub)):w("",!0)],2)):w("",!0)],6),[[ke,a.value]])])),_:3}))}}),Xb={class:"sfg-slot-wrap"},Zb={class:"sfg-slot-inner"},Jb=["viewBox"],ew=["filter","d"],tw=["id"],lw=["d"],aw=["viewBox"],nw=["id"],ow=["d"],iw=["mask","d"],sw=["viewBox"],rw=["d"],Aw=Object.assign({name:"ScifiTrapezoid"},{__name:"Trapezoid",props:{...il},setup(e){const t=e,l=qe("sfGeo"),a=C(!1),i=Ve({path:{}}),{path:A}=Oe(i),o=m((()=>de("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 ce((()=>{(async()=>{i.path=Ee(Yo(t.width,t.height)),await ne(),a.value=!0})()})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(o.value),ref:"svgGeometry"},[s("div",Xb,[s("div",Zb,[X(e.$slots,"default")])]),a.value?(r(),g("div",{key:0,class:B(["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}`},[ae(sl,{uid:u(l)},null,8,["uid"]),s("path",{filter:e.glow&&`url(#bgGlow_${u(l)})`,d:e.cornerAlt?u(A).BmainBG:u(A).AmainBG},null,8,ew),s("mask",{id:`slotMask${u(l)}`},[s("path",{fill:"white",d:e.cornerAlt?u(A).BmainBG:u(A).AmainBG},null,8,lw)],8,tw)],8,Jb)),!e.decorationAlt&&e.decoration?(r(),g(J,{key:0},Ce(2,(t=>s("svg",{class:"sfg-deco-a-elem",viewBox:`0 0 ${e.width} ${e.height}`},[s("defs",null,[s("mask",{id:`decoMask${u(l)}`},[s("path",{id:"clipPathId",fill:"white",d:e.cornerAlt?u(A).Bmask:u(A).Amask},null,8,ow)],8,nw)]),s("path",{mask:`url(#decoMask${u(l)})`,d:e.cornerAlt?u(A).Bdeco:u(A).Adeco},null,8,iw)],8,aw))),64)):w("",!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?u(A).BmainBG:u(A).AmainBG},null,8,rw)],8,sw)):w("",!0)],2)):w("",!0)],6),[[ke,a.value]])])),_:3}))}}),uw={class:"sfg-slot-wrap"},dw={class:"sfg-slot-inner"},cw=["viewBox"],fw=["filter","d"],pw=["id"],gw=["d"],hw=["viewBox"],vw=["id"],mw=["d"],yw=["mask","d"],Vw=["viewBox"],bw=["d"],ww=Object.assign({name:"ScifiTriangle"},{__name:"Triangle",props:{...il},setup(e){const t=e,l=qe("sfGeo"),a=C(!1),i=Ve({path:{}}),{path:A}=Oe(i),o=m((()=>de("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 ce((()=>{(async()=>{i.path=Ee(Ko(t.width,t.height)),await ne(),a.value=!0})()})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(o.value),ref:"svgGeometry"},[s("div",uw,[s("div",dw,[X(e.$slots,"default")])]),a.value?(r(),g("div",{key:0,class:B(["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}`},[ae(sl,{uid:u(l)},null,8,["uid"]),s("path",{filter:e.glow&&`url(#bgGlow_${u(l)})`,d:e.cornerAlt?u(A).BmainBG:u(A).AmainBG},null,8,fw),s("mask",{id:`slotMask${u(l)}`},[s("path",{fill:"white",d:e.cornerAlt?u(A).BmainBG:u(A).AmainBG},null,8,gw)],8,pw)],8,cw)),!e.decorationAlt&&e.decoration?(r(),g(J,{key:0},Ce(2,(t=>s("svg",{class:"sfg-deco-a-elem",viewBox:`0 0 ${e.width} ${e.height}`},[s("defs",null,[s("mask",{id:`decoMask${u(l)}`},[s("path",{id:"clipPathId",fill:"white",d:e.cornerAlt?u(A).Bmask:u(A).Amask},null,8,mw)],8,vw)]),s("path",{mask:`url(#decoMask${u(l)})`,d:e.cornerAlt?u(A).Bdeco:u(A).Adeco},null,8,yw)],8,hw))),64)):w("",!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?u(A).BmainBG:u(A).AmainBG},null,8,bw)],8,Vw)):w("",!0)],2)):w("",!0)],6),[[ke,a.value]])])),_:3}))}}),rl={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},qw=["id"],Cw=["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,Cw),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,qw)]))}),$w={class:"sfd-slot-wrap"},kw={class:"sfd-svg-hidden"},Sw={key:0,class:"sfd-svg-elem",viewBox:"0 0 243.82 243.82"},Tw=["d"],Bw=["filter"],xw={key:1,class:"sfd-svg-elem",viewBox:"0 0 276.46 239.42"},Pw=["d"],Rw=["filter","d"],zw={key:2,class:"sfd-svg-elem",viewBox:"0 0 293.21 233.77"},Iw=["d"],Nw=["filter","d"],Dw=Object.assign({name:"ScifiDecoA1"},{__name:"A1",props:{...rl},setup(e){const t=e,l=qe("sfDec"),a=C(!1),i=Ve({path:{}}),{path:A}=Oe(i),o=m((()=>de("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 ce((()=>{(async()=>{i.path=Ee(Xo(i.width)),await ne(),a.value=!0})()})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(o.value)},[s("div",$w,[X(e.$slots,"default")]),a.value?(r(),g("div",{key:0,class:B(["sfd-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",kw,[ae(vl,{uid:u(l),glowRange:e.glowRange},null,8,["uid","glowRange"])])),"A"==e.appearance?(r(),g("svg",Sw,[e.borderd?(r(),g("path",{key:0,class:"sfd-svg-bd",d:u(A).Adeco},null,8,Tw)):w("",!0),s("circle",{filter:e.glow&&`url(#bgGlow_${u(l)})`,class:"sfd-svg-bg",cx:"121.91",cy:"121.21",r:"103.42"},null,8,Bw)])):w("",!0),"B"==e.appearance?(r(),g("svg",xw,[e.borderd?(r(),g("path",{key:0,class:"sfd-svg-bd",d:u(A).Bdeco},null,8,Pw)):w("",!0),s("path",{filter:e.glow&&`url(#bgGlow_${u(l)})`,class:"sfd-svg-bg",d:u(A).BmainBG},null,8,Rw)])):w("",!0),"C"==e.appearance?(r(),g("svg",zw,[e.borderd?(r(),g("path",{key:0,class:"sfd-svg-bd",d:u(A).Cdeco},null,8,Iw)):w("",!0),s("path",{filter:e.glow&&`url(#bgGlow_${u(l)})`,class:"sfd-svg-bg",d:u(A).CmainBG},null,8,Nw)])):w("",!0)],2)):w("",!0)],6),[[ke,a.value]])])),_:3}))}}),_w={class:"sfd-slot-wrap"},Ow={class:"sfd-svg-hidden"},Mw={key:0,viewBox:"0 0 596.2 564.96"},Ew=["filter","d"],Lw={class:"sfd-svg-decoA"},Ww=["d"],jw=["d"],Gw=["d"],Fw=["d"],Hw={class:"sfd-svg-decoB"},Qw=["d"],Uw=["d"],Yw=["d"],Kw=["d"],Xw={key:1,viewBox:"0 0 596.16 594.75"},Zw={class:"sfd-svg-decoB"},Jw=["d"],e0=["d"],t0=["d"],l0=["d"],a0=["d"],n0=["d"],o0=["d"],i0=["d"],s0=["filter"],r0={key:2,viewBox:"0 0 596.18 596.17"},A0=["filter","d"],u0={class:"sfd-svg-decoB"},d0=["points"],c0=["d"],f0=["points"],p0=["points"],g0={class:"sfd-svg-decoA"},h0=["d"],v0=["d"],m0=["d"],y0=["d"],V0={class:"sfd-svg-decoB"},b0=["d"],w0=["d"],q0=["d"],C0=["d"],$0={key:3,viewBox:"0 0 567.49 567.5"},k0=["filter"],S0=["d"],T0={class:"sfd-svg-decoB"},B0=["d"],x0=["d"],P0=["d"],R0=["d"],z0=Object.assign({name:"ScifiDecoB1"},{__name:"B1",props:{...rl,glowRange:{type:Number,default:20}},setup(e){const t=e,l=qe("sfDec"),a=C(!1),i=Ve({path:{}}),{path:A}=Oe(i),o=m((()=>de("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 ce((()=>{(async()=>{i.path=Ee(Zo(i.width)),await ne(),a.value=!0})()})),(t,i)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(o.value)},[s("div",_w,[X(t.$slots,"default")]),a.value?(r(),g("div",{key:0,class:B(["sfd-svg-wrap",{"t3d-shadow-item":"t3d"==t.shadowType,"sf-shadow-item":"drop"==t.shadowType}])},[(r(),g("svg",Ow,[ae(vl,{uid:u(l),glowRange:e.glowRange},null,8,["uid","glowRange"])])),"A"==t.appearance?(r(),g("svg",Mw,[s("path",{class:"sfd-svg-bg",filter:t.glow&&`url(#bgGlow_${u(l)})`,d:u(A).AmainBG},null,8,Ew),s("g",Lw,[s("path",{d:u(A).AdecoA1},null,8,Ww),s("path",{d:u(A).AdecoA2},null,8,jw),s("path",{d:u(A).AdecoA3},null,8,Gw),s("path",{d:u(A).AdecoA4},null,8,Fw)]),s("g",Hw,[s("path",{d:u(A).AdecoB1},null,8,Qw),s("path",{d:u(A).AdecoB2},null,8,Uw),s("path",{d:u(A).AdecoB3},null,8,Yw),s("path",{d:u(A).AdecoB4},null,8,Kw)])])):w("",!0),"B"==t.appearance?(r(),g("svg",Xw,[s("g",Zw,[s("path",{d:u(A).BdecoB1},null,8,Jw),s("path",{d:u(A).BdecoB2},null,8,e0),s("path",{d:u(A).BdecoB3},null,8,t0),s("path",{d:u(A).BdecoB4},null,8,l0),s("path",{d:u(A).BdecoB5},null,8,a0),s("path",{d:u(A).BdecoB6},null,8,n0),s("path",{d:u(A).BdecoB7},null,8,o0)]),s("path",{class:"sfd-svg-decoA",d:u(A).BdecoA},null,8,i0),s("circle",{class:"sfd-svg-bg",filter:t.glow&&`url(#bgGlow_${u(l)})`,cx:"297.43",cy:"294.27",r:"243"},null,8,s0)])):w("",!0),"C"==t.appearance?(r(),g("svg",r0,[s("path",{class:"sfd-svg-bg",filter:t.glow&&`url(#bgGlow_${u(l)})`,d:u(A).CmainBG},null,8,A0),s("g",u0,[s("polygon",{points:u(A).CdecoB1},null,8,d0),s("path",{d:u(A).CdecoB2},null,8,c0),s("polygon",{points:u(A).CdecoB3},null,8,f0),s("polygon",{points:u(A).CdecoB4},null,8,p0)]),s("g",g0,[s("path",{d:u(A).CdecoA1},null,8,h0),s("path",{d:u(A).CdecoA2},null,8,v0),s("path",{d:u(A).CdecoA3},null,8,m0),s("path",{d:u(A).CdecoA4},null,8,y0)]),s("g",V0,[s("path",{d:u(A).CdecoC1},null,8,b0),s("path",{d:u(A).CdecoC2},null,8,w0),s("path",{d:u(A).CdecoC3},null,8,q0),s("path",{d:u(A).CdecoC4},null,8,C0)])])):w("",!0),"D"==t.appearance?(r(),g("svg",$0,[s("circle",{class:"sfd-svg-bg",filter:t.glow&&`url(#bgGlow_${u(l)})`,cx:"283.41",cy:"284.1",r:"194.5"},null,8,k0),s("path",{class:"sfd-svg-decoA",d:u(A).DdecoA},null,8,S0),s("g",T0,[s("path",{d:u(A).DdecoB1},null,8,B0),s("path",{d:u(A).DdecoB2},null,8,x0),s("path",{d:u(A).DdecoB3},null,8,P0),s("path",{d:u(A).DdecoB4},null,8,R0)])])):w("",!0)],2)):w("",!0)],6),[[ke,a.value]])])),_:3}))}}),I0={class:"sfd-slot-wrap"},N0={class:"sfd-svg-hidden"},D0={key:0,class:"sfd-svg-elem",viewBox:"0 0 210.67 182.47"},_0=["filter","points"],O0=["d"],M0={class:"sfd-svg-decoA"},E0=["points"],L0=["points"],W0=["points"],j0=["points"],G0={key:1,class:"sfd-svg-elem",viewBox:"0 0 210.67 182.47"},F0=["filter","points"],H0={class:"sfd-svg-decoA"},Q0=["points"],U0=["points"],Y0=["points"],K0={class:"sfd-svg-decoA"},X0=["points"],Z0=["points"],J0=["d"],eq=["d"],tq={key:2,class:"sfd-svg-elem",viewBox:"0 0 210.67 182.46"},lq=["filter","points"],aq={class:"sfd-svg-decoA"},nq=["points"],oq=["points"],iq=["points"],sq=["points"],rq=["points"],Aq=["points"],uq=["d"],dq={key:3,class:"sfd-svg-elem",viewBox:"0 0 210.67 182.46"},cq=["filter","points"],fq=["d"],pq={class:"sfd-svg-decoA"},gq=["points"],hq=["points"],vq=["points"],mq=["points"],yq=["points"],Vq=["points"],bq=["points"],wq=["points"],qq=["points"],Cq=["points"],$q=["points"],kq=["points"],Sq=["points"],Tq=["points"],Bq={class:"sfd-svg-decoA"},xq=["points"],Pq=["points"],Rq=["points"],zq=["points"],Iq=["points"],Nq=["points"],Dq=Object.assign({name:"ScifiDecoB2"},{__name:"B2",props:{...rl,glowRange:{type:Number,default:20}},setup(e){const t=e,l=qe("sfDec"),a=C(!1),i=Ve({path:{}}),{path:A}=Oe(i),o=m((()=>de("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 ce((()=>{(async()=>{i.path=Ee(Jo(i.width)),await ne(),a.value=!0})()})),(t,i)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(o.value)},[s("div",I0,[X(t.$slots,"default")]),a.value?(r(),g("div",{key:0,class:B(["sfd-svg-wrap",{"t3d-shadow-item":"t3d"==t.shadowType,"sf-shadow-item":"drop"==t.shadowType}])},[(r(),g("svg",N0,[ae(vl,{uid:u(l),glowRange:e.glowRange},null,8,["uid","glowRange"])])),"A"==t.appearance?(r(),g("svg",D0,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${u(l)})`,points:u(A).AmainBG},null,8,_0),s("path",{class:"sfd-svg-decoB",d:u(A).AdecoB},null,8,O0),s("g",M0,[s("polygon",{points:u(A).AdecoA1},null,8,E0),s("polygon",{points:u(A).AdecoA2},null,8,L0),s("polygon",{points:u(A).AdecoA3},null,8,W0),s("polygon",{points:u(A).AdecoA4},null,8,j0)])])):w("",!0),"B"==t.appearance?(r(),g("svg",G0,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${u(l)})`,points:u(A).BmainBG},null,8,F0),s("g",H0,[s("polygon",{points:u(A).BdecoA11},null,8,Q0),s("polygon",{points:u(A).BdecoA12},null,8,U0),s("polygon",{points:u(A).BdecoA13},null,8,Y0)]),s("g",K0,[s("polygon",{points:u(A).BdecoA21},null,8,X0),s("polygon",{points:u(A).BdecoA22},null,8,Z0),s("path",{d:u(A).BdecoA23},null,8,J0)]),s("path",{class:"sfd-svg-decoB",d:u(A).BdecoB},null,8,eq)])):w("",!0),"C"==t.appearance?(r(),g("svg",tq,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${u(l)})`,points:u(A).CmainBG},null,8,lq),s("g",aq,[s("polygon",{points:u(A).CdecoA1},null,8,nq),s("polygon",{points:u(A).CdecoA2},null,8,oq),s("polygon",{points:u(A).CdecoA3},null,8,iq),s("polygon",{points:u(A).CdecoA4},null,8,sq),s("polygon",{points:u(A).CdecoA5},null,8,rq),s("polygon",{points:u(A).CdecoA6},null,8,Aq)]),s("path",{class:"sfd-svg-decoB",d:u(A).CdecoB},null,8,uq)])):w("",!0),"D"==t.appearance?(r(),g("svg",dq,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${u(l)})`,points:u(A).DmainBG},null,8,cq),s("path",{class:"sfd-svg-decoB",d:u(A).DdecoB},null,8,fq),s("g",pq,[s("polygon",{points:u(A).DdecoA101},null,8,gq),s("polygon",{points:u(A).DdecoA102},null,8,hq),s("polygon",{points:u(A).DdecoA103},null,8,vq),s("polygon",{points:u(A).DdecoA104},null,8,mq),s("polygon",{points:u(A).DdecoA105},null,8,yq),s("polygon",{points:u(A).DdecoA106},null,8,Vq),s("polygon",{points:u(A).DdecoA107},null,8,bq),s("polygon",{points:u(A).DdecoA108},null,8,wq),s("polygon",{points:u(A).DdecoA109},null,8,qq),s("polygon",{points:u(A).DdecoA110},null,8,Cq),s("polygon",{points:u(A).DdecoA111},null,8,$q),s("polygon",{points:u(A).DdecoA112},null,8,kq),s("polygon",{points:u(A).DdecoA113},null,8,Sq),s("polygon",{points:u(A).DdecoA114},null,8,Tq)]),s("g",Bq,[s("polygon",{points:u(A).DdecoA21},null,8,xq),s("polygon",{points:u(A).DdecoA22},null,8,Pq),s("polygon",{points:u(A).DdecoA23},null,8,Rq),s("polygon",{points:u(A).DdecoA24},null,8,zq),s("polygon",{points:u(A).DdecoA25},null,8,Iq),s("polygon",{points:u(A).DdecoA26},null,8,Nq)])])):w("",!0)],2)):w("",!0)],6),[[ke,a.value]])])),_:3}))}}),_q={class:"sfd-slot-wrap"},Oq={class:"sfd-svg-hidden"},Mq={key:0,class:"sfd-svg-elem",viewBox:"0 0 208.91 186.33"},Eq=["filter","points"],Lq=["d"],Wq={class:"sfd-svg-decoB"},jq=["d"],Gq=["points"],Fq=["points"],Hq={key:1,class:"sfd-svg-elem",viewBox:"0 0 213.7 185"},Qq=["filter","points"],Uq={class:"sfd-svg-decoB"},Yq=["points"],Kq=["points"],Xq=["points"],Zq={class:"sfd-svg-decoB"},Jq=["points"],e1=["points"],t1=["points"],l1={class:"sfd-svg-decoA"},a1=["points"],n1=["points"],o1=["points"],i1={key:2,class:"sfd-svg-elem",viewBox:"0 0 214.06 185.38"},s1=["filter","points"],r1={class:"sfd-svg-decoA"},A1=["points"],u1=["points"],d1=["points"],c1={class:"sfd-svg-decoB"},f1=["points"],p1=["points"],g1={key:3,class:"sfd-svg-elem",viewBox:"0 0 210.22 183.69"},h1=["filter","points"],v1=["d"],m1={class:"sfd-svg-decoB"},y1=["points"],V1=["points"],b1=Object.assign({name:"ScifiDecoB3"},{__name:"B3",props:{...rl,glowRange:{type:Number,default:20}},setup(e){const t=e,l=qe("sfDec"),a=C(!1),i=Ve({path:{}}),{path:A}=Oe(i),o=m((()=>de("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 ce((()=>{(async()=>{i.path=Ee(ei(i.width)),await ne(),a.value=!0})()})),(t,i)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(o.value)},[s("div",_q,[X(t.$slots,"default")]),a.value?(r(),g("div",{key:0,class:B(["sfd-svg-wrap",{"t3d-shadow-item":"t3d"==t.shadowType,"sf-shadow-item":"drop"==t.shadowType}])},[(r(),g("svg",Oq,[ae(vl,{uid:u(l),glowRange:e.glowRange},null,8,["uid","glowRange"])])),"A"==t.appearance?(r(),g("svg",Mq,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${u(l)})`,points:u(A).AmainBG},null,8,Eq),s("path",{class:"sfd-svg-decoA",d:u(A).AdecoA},null,8,Lq),s("g",Wq,[i[0]||(i[0]=s("line",{x1:"193.9",y1:"142.29",x2:"184.67",y2:"126.3"},null,-1)),s("path",{d:u(A).AdecoB1},null,8,jq),s("polygon",{points:u(A).AdecoB2},null,8,Gq),s("polygon",{points:u(A).AdecoB3},null,8,Fq)])])):w("",!0),"B"==t.appearance?(r(),g("svg",Hq,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${u(l)})`,points:u(A).BmainBG},null,8,Qq),s("g",Uq,[s("polygon",{points:u(A).BdecoB11},null,8,Yq),s("polygon",{points:u(A).BdecoB12},null,8,Kq),s("polygon",{points:u(A).BdecoB13},null,8,Xq)]),s("g",Zq,[s("polygon",{points:u(A).BdecoB21},null,8,Jq),s("polygon",{points:u(A).BdecoB22},null,8,e1),s("polygon",{points:u(A).BdecoB23},null,8,t1)]),s("g",l1,[s("polygon",{points:u(A).BdecoA1},null,8,a1),s("polygon",{points:u(A).BdecoA2},null,8,n1),s("polygon",{points:u(A).BdecoA3},null,8,o1)])])):w("",!0),"C"==t.appearance?(r(),g("svg",i1,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${u(l)})`,points:u(A).CmainBG},null,8,s1),s("g",r1,[s("polygon",{points:u(A).CdecoA1},null,8,A1),s("polygon",{points:u(A).CdecoA2},null,8,u1),s("polygon",{points:u(A).CdecoA3},null,8,d1)]),s("g",c1,[s("polygon",{points:u(A).CdecoB1},null,8,f1),s("polygon",{points:u(A).CdecoB2},null,8,p1)])])):w("",!0),"D"==t.appearance?(r(),g("svg",g1,[s("polygon",{class:"sfd-svg-bg",filter:t.glow&&`url(#${u(l)})`,points:u(A).DmainBG},null,8,h1),s("path",{class:"sfd-svg-decoA",d:u(A).DdecoA},null,8,v1),s("g",m1,[s("polygon",{points:u(A).DdecoB1},null,8,y1),s("polygon",{points:u(A).DdecoB2},null,8,V1)])])):w("",!0)],2)):w("",!0)],6),[[ke,a.value]])])),_:3}))}}),w1={class:"sfd-slot-wrap"},q1={key:0,class:"svg-wrap"},C1={viewBox:"0 0 45.29 172.01"},$1=["d"],k1={key:1,class:"svg-wrap"},S1={viewBox:"0 0 68.16 172.21"},T1=["d"],B1=["d"],x1={key:2,class:"svg-wrap"},P1={viewBox:"0 0 76.68 172.7"},R1=["d"],z1=["points"],I1=["points"],N1={key:3,class:"svg-wrap"},D1={viewBox:"0 0 44.5 172.69"},_1=["d"],O1=["points"],M1={key:4,class:"svg-wrap"},E1={viewBox:"0 0 37.63 172.75"},L1=["points"],W1=["points"],j1=Object.assign({name:"ScifiDecoC1"},{__name:"C1",props:{...rl,glowRange:{type:Number,default:20},bracketRitio:Number},setup(e){const t=e;qe("sfDec");const l=C(!1),a=Ve({path:{}}),{path:i}=Oe(a),A=m((()=>de("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 ce((()=>{(async()=>{a.path=Ee(ti(a.width)),await ne(),l.value=!0})()})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(A.value)},[l.value?(r(),g("div",{key:0,class:B(["sfd-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[s("div",w1,[X(e.$slots,"default")]),"A"==e.appearance?(r(),g("div",q1,[(r(),g(J,null,Ce(2,(e=>s("svg",C1,[s("path",{class:"sfd-svg-decoB",d:u(i).Adeco},null,8,$1)]))),64))])):w("",!0),"B"==e.appearance?(r(),g("div",k1,[(r(),g(J,null,Ce(2,(e=>s("svg",S1,[s("path",{class:"sfd-svg-decoB",d:u(i).BdecoB},null,8,T1),s("path",{class:"sfd-svg-decoA",d:u(i).BdecoA},null,8,B1)]))),64))])):w("",!0),"C"==e.appearance?(r(),g("div",x1,[(r(),g(J,null,Ce(2,(e=>s("svg",P1,[s("path",{class:"sfd-svg-decoB",d:u(i).CdecoB},null,8,R1),s("polygon",{class:"sfd-svg-decoA",points:u(i).CdecoA1},null,8,z1),s("polygon",{class:"sfd-svg-decoA",points:u(i).CdecoA2},null,8,I1)]))),64))])):w("",!0),"D"==e.appearance?(r(),g("div",N1,[(r(),g(J,null,Ce(2,(e=>s("svg",D1,[s("path",{class:"sfd-svg-decoB",d:u(i).DdecoB},null,8,_1),s("polygon",{class:"sfd-svg-decoA",points:u(i).DdecoA},null,8,O1)]))),64))])):w("",!0),"E"==e.appearance?(r(),g("div",M1,[(r(),g(J,null,Ce(2,(e=>s("svg",E1,[s("polygon",{class:"sfd-svg-decoB",points:u(i).EdecoB},null,8,L1),s("polygon",{class:"sfd-svg-decoA",points:u(i).EdecoA},null,8,W1)]))),64))])):w("",!0)],2)):w("",!0)],6),[[ke,l.value]])])),_:3}))}}),ml={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}},G1=["id"],F1=["stdDeviation"],H1=["id"],yl=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,F1),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,G1),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,H1)]))}),Q1=["d"],U1=["d"],Y1=["d"],K1=["d"],X1={class:"sfh-svg-elem",x:"0px",y:"0px"},Z1=["filter","d"],J1=["d"],eC={class:"sfh-text"},tC=Object.assign({name:"ScifiHeaderA1"},{__name:"A1",props:{...ml},setup(e){const t=e,l=qe("sfHed"),a=C(!1),i=Ve({resizing:!1,path:{}}),{path:A}=Oe(i),o=m((()=>t.width||450)),n=m((()=>de("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 ce((()=>{(async()=>{i.path=Ee(li(o.value)),await ne(),a.value=!0})()})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(n.value),ref:"svgHeader"},[a.value?(r(),g("div",{key:0,class:B(["sfh-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g(J,null,Ce(2,(e=>s("svg",{class:B("sfh-side-deco sfh-sd-"+e),x:"0px",y:"0px",viewBox:"0 0 150 80"},[s("path",{class:"deco-4",d:u(A).deco4},null,8,Q1),s("path",{class:"deco-3",d:u(A).deco3},null,8,U1),s("path",{class:"deco-2",d:u(A).deco2},null,8,Y1),s("path",{class:"deco-1",d:u(A).deco1},null,8,K1)],2))),64)),(r(),g("svg",X1,[ae(yl,{uid:u(l)},null,8,["uid"]),s("path",{class:"sfh-main-bg",filter:e.glow&&`url(#bgGlow_${u(l)})`,d:u(A).mainBG},null,8,Z1),e.decoration?(r(),g("path",{key:0,class:"sfh-deco-btm",d:u(A).decoBG},null,8,J1)):w("",!0)]))],2)):w("",!0),s("div",eC,[X(e.$slots,"default")])],6),[[ke,a.value]])])),_:3}))}}),lC={class:B("sfh-svg-elem"),x:"0px",y:"0px"},aC={key:0},nC=["d"],oC=["filter","d"],iC=["d"],sC=["d"],rC={key:1},AC=["d"],uC=["filter","d"],dC=["d"],cC=["d"],fC=["d"],pC=["d"],gC={class:"sfh-text"},hC=Object.assign({name:"ScifiHeaderA2"},{__name:"A2",props:{...ml},setup(e){const t=e,l=qe("sfHed"),a=C(!1),i=Ve({resizing:!1,path:{}}),{path:A}=Oe(i),o=m((()=>t.width||800)),n=m((()=>de("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 ce((()=>{(async()=>{i.path=Ee(ai(o.value)),await ne(),a.value=!0})()})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(n.value),ref:"svgHeader"},[a.value?(r(),g("div",{key:0,class:B(["sfh-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",lC,[ae(yl,{uid:u(l)},null,8,["uid"]),e.decorationAlt?w("",!0):(r(),g("g",aC,[s("path",{class:"sfh-main-bg sfh-main-bg-btm",d:u(A).AmainBG2},null,8,nC),s("path",{class:"sfh-main-bg sfh-main-bg-top",filter:e.glow&&`url(#bgGlow_${u(l)})`,d:u(A).AmainBG1},null,8,oC),s("path",{class:"sfh-deco-l",d:u(A).AdecoL},null,8,iC),s("path",{class:"sfh-deco-r",d:u(A).AdecoR},null,8,sC)])),e.decorationAlt?(r(),g("g",rC,[s("path",{class:"sfh-main-bg sfh-main-bg-btm",d:u(A).BmainBG2},null,8,AC),s("path",{class:"sfh-main-bg sfh-main-bg-top",filter:e.glow&&`url(#bgGlow_${u(l)})`,d:u(A).BmainBG1},null,8,uC),s("path",{class:"sfh-deco-l",d:u(A).BdecoL},null,8,dC),s("path",{class:"sfh-deco-r",d:u(A).BdecoR},null,8,cC)])):w("",!0),e.decoration&&!e.decorationColorAlt?(r(),g("path",{key:2,class:"sfh-deco-b",d:u(A).decoB},null,8,fC)):w("",!0),e.decoration?(r(),g("path",{key:3,class:"sfh-deco-bc",d:u(A).decoBc},null,8,pC)):w("",!0)]))],2)):w("",!0),s("div",gC,[X(e.$slots,"default")])],6),[[ke,a.value]])])),_:3}))}}),vC={class:B("sfh-svg-elem"),x:"0px",y:"0px"},mC={key:0},yC=["filter","d"],VC={class:"sfh-deco-side"},bC=["d"],wC=["d"],qC=["d"],CC=["d"],$C={class:"sfh-deco-side"},kC=["d"],SC=["d"],TC=["d"],BC=["d"],xC={key:1},PC=["filter","d"],RC={class:"sfh-deco-side"},zC=["d"],IC=["d"],NC=["d"],DC=["d"],_C=["d"],OC={class:"sfh-deco-side"},MC=["d"],EC=["d"],LC=["d"],WC=["d"],jC=["d"],GC={key:2},FC=["d"],HC=["d"],QC=["d"],UC={class:"sfh-text"},YC=Object.assign({name:"ScifiHeaderA3"},{__name:"A3",props:{...ml},setup(e){const t=e,l=qe("sfHed"),a=C(!1),i=Ve({resizing:!1,path:{}}),{path:A}=Oe(i),o=m((()=>t.width||800)),n=m((()=>de("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 ce((()=>{(async()=>{i.path=Ee(ni(o.value)),await ne(),a.value=!0})()})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(n.value),ref:"svgHeader"},[a.value?(r(),g("div",{key:0,class:B(["sfh-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",vC,[ae(yl,{uid:u(l)},null,8,["uid"]),e.decorationAlt?w("",!0):(r(),g("g",mC,[s("path",{class:"sfh-main-bg",filter:e.glow&&`url(#bgGlow_${u(l)})`,d:u(A).AmainBG1},null,8,yC),s("g",VC,[s("path",{class:"sfh-deco2",d:u(A).Adeco2L},null,8,bC),s("path",{class:"sfh-deco3",d:u(A).Adeco3L},null,8,wC),s("path",{class:"sfh-deco4",d:u(A).Adeco4L},null,8,qC),s("path",{class:"sfh-deco0",d:u(A).Adeco0L},null,8,CC)]),s("g",$C,[s("path",{class:"sfh-deco2",d:u(A).Adeco2R},null,8,kC),s("path",{class:"sfh-deco3",d:u(A).Adeco3R},null,8,SC),s("path",{class:"sfh-deco4",d:u(A).Adeco4R},null,8,TC),s("path",{class:"sfh-deco0",d:u(A).Adeco0R},null,8,BC)])])),e.decorationAlt?(r(),g("g",xC,[s("path",{class:"sfh-main-bg",filter:e.glow&&`url(#bgGlow_${u(l)})`,d:u(A).BmainBG1},null,8,PC),s("g",RC,[s("path",{class:"sfh-deco1",d:u(A).Bdeco1L},null,8,zC),s("path",{class:"sfh-deco2",d:u(A).Bdeco2L},null,8,IC),s("path",{class:"sfh-deco3",d:u(A).Bdeco3L},null,8,NC),s("path",{class:"sfh-deco4",d:u(A).Bdeco4L},null,8,DC),s("path",{class:"sfh-deco5",d:u(A).Bdeco5L},null,8,_C)]),s("g",OC,[s("path",{class:"sfh-deco1",d:u(A).Bdeco1R},null,8,MC),s("path",{class:"sfh-deco2",d:u(A).Bdeco2R},null,8,EC),s("path",{class:"sfh-deco3",d:u(A).Bdeco3R},null,8,LC),s("path",{class:"sfh-deco4",d:u(A).Bdeco4R},null,8,WC),s("path",{class:"sfh-deco5",d:u(A).Bdeco5R},null,8,jC)])])):w("",!0),e.decoration?(r(),g("g",GC,[s("path",{class:"sfh-deco-bl",d:u(A).decoBl},null,8,FC),s("path",{class:"sfh-deco-br",d:u(A).decoBr},null,8,HC),s("path",{class:"sfh-deco-bc",d:u(A).decoBc},null,8,QC)])):w("",!0)]))],2)):w("",!0),s("div",UC,[X(e.$slots,"default")])],6),[[ke,a.value]])])),_:3}))}}),KC={class:B("sfh-svg-elem"),x:"0px",y:"0px"},XC={key:0},ZC={class:"sfh-deco-side"},JC=["d"],e$=["d"],t$=["d"],l$={class:"sfh-deco-side"},a$=["d"],n$=["d"],o$=["d"],i$=["d"],s$=["filter","d"],r$={key:1},A$={class:"sfh-deco-side"},u$=["d"],d$=["d"],c$=["d"],f$={class:"sfh-deco-side"},p$=["d"],g$=["d"],h$=["d"],v$=["d"],m$=["filter","d"],y$={class:"sfh-text"},V$=Object.assign({name:"ScifiHeaderA4"},{__name:"A4",props:{...ml},setup(e){const t=e,l=qe("sfHed"),a=C(!1),i=Ve({resizing:!1,path:{}}),{path:A}=Oe(i),o=m((()=>t.width||800)),n=m((()=>de("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 ce((()=>{(async()=>{i.path=Ee(oi(o.value)),await ne(),a.value=!0})()})),(e,t)=>(r(),Y(Se,{name:"fade"},{default:_((()=>[ge(s("div",{class:B(["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:ie(n.value),ref:"svgHeader"},[a.value?(r(),g("div",{key:0,class:B(["sfh-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",KC,[ae(yl,{uid:u(l)},null,8,["uid"]),e.decorationAlt?w("",!0):(r(),g("g",XC,[s("g",ZC,[s("path",{class:"sfh-deco3",d:u(A).Adeco3L},null,8,JC),s("path",{class:"sfh-deco2",d:u(A).Adeco2L},null,8,e$),s("path",{class:"sfh-deco1",d:u(A).Adeco1L},null,8,t$)]),s("g",l$,[s("path",{class:"sfh-deco3",d:u(A).Adeco3R},null,8,a$),s("path",{class:"sfh-deco2",d:u(A).Adeco2R},null,8,n$),s("path",{class:"sfh-deco1",d:u(A).Adeco1R},null,8,o$)]),e.decoration?(r(),g("path",{key:0,class:"sfh-deco-bc",d:u(A).decoBc},null,8,i$)):w("",!0),s("path",{class:"sfh-main-bg",filter:e.glow&&`url(#bgGlow_${u(l)})`,d:u(A).AmainBG},null,8,s$)])),e.decorationAlt?(r(),g("g",r$,[s("g",A$,[s("path",{class:"sfh-deco1",d:u(A).Bdeco1L},null,8,u$),s("path",{class:"sfh-deco2",d:u(A).Bdeco2L},null,8,d$),s("path",{class:"sfh-deco3",d:u(A).Bdeco3L},null,8,c$)]),s("g",f$,[s("path",{class:"sfh-deco1",d:u(A).Bdeco1R},null,8,p$),s("path",{class:"sfh-deco2",d:u(A).Bdeco2R},null,8,g$),s("path",{class:"sfh-deco3",d:u(A).Bdeco3R},null,8,h$)]),e.decoration?(r(),g("path",{key:0,class:"sfh-deco-bc",d:u(A).decoBc},null,8,v$)):w("",!0),s("path",{class:"sfh-main-bg",filter:e.glow&&`url(#bgGlow_${u(l)})`,d:u(A).BmainBG},null,8,m$)])):w("",!0)]))],2)):w("",!0),s("div",y$,[X(e.$slots,"default")])],6),[[ke,a.value]])])),_:3}))}}),st={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}},b$=["id"],w$=["stdDeviation"],rt=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,w$),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,b$)]))}),q$={key:0,class:"sfp-content"},C$={key:0,class:"sfp-title"},$$={class:"sfp-rotate-wrap"},k$=["width","height"],S$=["filter","points"],T$=["points"],B$=["points"],x$=["points"],P$=["points"],R$=["points"],z$=["points"],I$=["points"],N$=["points"],D$=["points"],_$=["points"],O$=["points"],M$=Object.assign({name:"ScifiPanelA1"},{__name:"A1",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Oe(c);H((()=>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=Ee(ii(e,t,i.titleWidth))})(),await ne(),n.value=!0},h=m((()=>de("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 ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",q$,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g("div",{key:1,class:B(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[e.title?(r(),g("div",C$,F(e.title),1)):w("",!0),s("div",$$,[(r(),g("svg",{class:"sfp-svg-elem",width:y.value,height:V.value},[ae(rt,{uid:u(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polyline",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",points:b("mainBG")},null,8,S$),(!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,T$)):w("",!0),e.title?w("",!0):(r(),g(J,{key:1},[s("polyline",{class:"sfp-corner-rect0",points:b("cornerRect0")},null,8,B$),s("polyline",{class:"sfp-corner-rect1",points:b("cornerRect1")},null,8,x$),s("polyline",{class:"sfp-corner-rect2",points:b("cornerRect2")},null,8,P$),s("polyline",{class:"sfp-corner-rect3",points:b("cornerRect3")},null,8,R$),s("polyline",{class:"sfp-corner-rect4",points:b("cornerRect4")},null,8,z$)],64)),e.decoration?(r(),g("polyline",{key:2,class:"sfp-corner-lt-triangle",points:b("cornerTrangleLT")},null,8,I$)):w("",!0),e.decoration?(r(),g("polyline",{key:3,class:"sfp-corner-rb-triangle",points:b("cornerTrangleRB")},null,8,N$)):w("",!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,D$)):w("",!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,_$)):w("",!0),e.title?(r(),g("polyline",{key:6,class:"sfp-title-deco",points:b("titleDeco")},null,8,O$)):w("",!0)],8,k$))])],2)):w("",!0)],6)),[[l,{callback:f,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),E$={key:0,class:"sfp-content"},L$={class:"sfp-title"},W$={class:"sfp-rotate-wrap"},j$=["width","height"],G$=["filter","d"],F$=["d"],H$=["points"],Q$=["points"],U$=["points"],Y$=["points"],K$=["points"],X$=["d"],Z$=Object.assign({name:"ScifiPanelA2"},{__name:"A2",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Oe(c);H((()=>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=Ee(si(e,t,i.titleWidth))})(),await ne(),n.value=!0},h=m((()=>de("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 ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",E$,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g(J,{key:1},[s("div",L$,F(e.title),1),s("div",{class:B(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[s("div",W$,[(r(),g("svg",{class:"sfp-svg-elem",width:y.value,height:V.value},[ae(rt,{uid:u(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("path",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",d:b("mainBG")},null,8,G$),s("path",{class:"sfp-corner-line",fill:"transparent",d:b("cornerLine")},null,8,F$),s("polyline",{class:"sfp-corner-block",points:b("cornerBlock")},null,8,H$),e.decoration?(r(),g(J,{key:0},[s("polyline",{class:"sfp-corner-triangle-lb",points:b("cornerTriangleLB")},null,8,Q$),e.decorationAlt?w("",!0):(r(),g("polyline",{key:0,class:"sfp-corner-triangle-rt",points:b("cornerTriangleRT")},null,8,U$))],64)):w("",!0),e.decorationAlt?(r(),g("path",{key:2,class:"sfp-title-deco-alt",d:b("titleDecoAlt")},null,8,X$)):(r(),g(J,{key:1},[s("polyline",{class:"sfp-head-line",points:b("titleDeco")},null,8,Y$),s("polyline",{class:"sfp-title-deco",points:b("headLine")},null,8,K$)],64))],8,j$))])],2)],64)):w("",!0)],6)),[[l,{callback:f,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),J$={key:0,class:"sfp-content"},ek={class:"sfp-corenr-title"},tk=["width","height"],lk=["filter","points"],ak=["points"],nk=["points"],ok=["points"],ik=["points"],sk=Object.assign({name:"ScifiPanelA3"},{__name:"A3",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Oe(c);H((()=>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=Ee(ri(e,t))})(),await ne(),n.value=!0},h=m((()=>de("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 ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",J$,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g(J,{key:1},[s("div",ek,F(e.title),1),s("div",{class:B(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{class:"sfp-svg-elem",width:u(v).width,height:u(v).height},[ae(rt,{uid:u(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polyline",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",points:u(p).mainBG},null,8,lk),s("polyline",{class:"sfp-corner-large-trg",points:u(p).titleTrangle},null,8,ak),s("polyline",{class:"sfp-corner-small-trg",points:u(p).decorTriangle},null,8,nk),e.decoration?(r(),g(J,{key:0},[s("polyline",{class:"sfp-corner-long-line",points:u(p).decorLine1},null,8,ok),s("polyline",{class:"sfp-corner-short-line",points:u(p).decorLine2},null,8,ik)],64)):w("",!0)],8,tk))],2)],64)):w("",!0)],6)),[[l,{callback:f,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),rk={key:0,class:"sfp-content"},Ak=["width","height"],uk=["filter","points"],dk=["points"],ck=["points"],fk=["points"],pk=Object.assign({name:"ScifiPanelB1"},{__name:"B1",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{},borderCorner:["topLeft","topRight","bottomLeft","bottomRight"]}),{path:p,info:v}=Oe(c);H((()=>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=Ee(Ai(e,t))})(),await ne(),n.value=!0},h=m((()=>de("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 ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",rk,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g("div",{key:1,class:B(["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:u(v).width,height:u(v).height},[ae(rt,{uid:u(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",points:u(p).mainBG},null,8,uk),s("polygon",{class:"sfp-deco-l",points:u(p).decoL},null,8,dk),s("polygon",{class:"sfp-deco-r",points:u(p).decoR},null,8,ck)],8,Ak)),e.decoration?(r(!0),g(J,{key:0},Ce(c.borderCorner,(e=>(r(),g("svg",{class:B("sfp-svg-corner sfp-corner-"+e),width:"50",height:"50"},[s("polygon",{class:"sfp-corner-ele",points:u(p).decoCorner},null,8,fk)],2)))),256)):w("",!0)],2)):w("",!0)],6)),[[l,{callback:f,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),gk={key:0,class:"sfp-content"},hk=["width","height"],vk=["id"],mk=["id"],yk=["points"],Vk=["points"],bk=["points"],wk=["filter","points"],qk=["width","height","fill","mask"],Ck=Object.assign({name:"ScifiPanelB2"},{__name:"B2",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Oe(c);H((()=>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=Ee(ui(e,t))})(),await ne(),n.value=!0},h=m((()=>de("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 ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",gk,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g("div",{key:1,class:B(["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:u(v).width,height:u(v).height},[ae(rt,{uid:u(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("defs",null,[s("linearGradient",{class:"sfp-grad-group",id:`gradient-${u(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,vk),s("mask",{id:`mask-${u(A)}`},[e.decoration?(r(),g("polyline",{key:0,class:"sfp-deco-l",fill:"#fff",points:u(p).decoL},null,8,yk)):w("",!0),e.decoration?(r(),g("polyline",{key:1,class:"sfp-deco-r",fill:"#fff",points:u(p).decoR},null,8,Vk)):w("",!0)],8,mk)]),s("polyline",{class:"sfp-deco-b",points:u(p).decoB},null,8,bk),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",points:u(p).mainBG},null,8,wk),s("rect",{x:"0",y:"0",width:u(v).width,height:u(v).height,fill:`url(#gradient-${u(A)})`,mask:`url(#mask-${u(A)})`},null,8,qk)],8,hk))],2)):w("",!0)],6)),[[l,{callback:f,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),$k={key:0,class:"sfp-content"},kk=["width","height"],Sk=["filter","d"],Tk=["points"],Bk=["d"],xk=["points"],Pk=["d"],Rk=["points"],zk=["points"],Ik=Object.assign({name:"ScifiPanelB3"},{__name:"B3",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Oe(c);H((()=>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=Ee(di(e,t))})(),await ne(),n.value=!0},h=m((()=>de("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 ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",$k,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g("div",{key:1,class:B(["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:u(v).width,height:u(v).height},[ae(rt,{uid:u(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("path",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",d:u(p).mainBG},null,8,Sk),e.decorationAlt?(r(),g("polyline",{key:0,class:"sfp-deco-arrow-tl",points:u(p).decoArrowTL},null,8,Tk)):w("",!0),!e.decorationAlt&&e.decoration?(r(),g("path",{key:1,class:"sfp-deco-line-tl",d:u(p).decoLineTL},null,8,Bk)):w("",!0),e.decorationAlt?(r(),g("polyline",{key:2,class:"sfp-deco-arrow-br",points:u(p).decoArrowBR},null,8,xk)):w("",!0),!e.decorationAlt&&e.decoration?(r(),g("path",{key:3,class:"sfp-deco-line-br",d:u(p).decoLineBR},null,8,Pk)):w("",!0),s("polyline",{class:"sfp-deco-lb",points:u(p).decoLB},null,8,Rk),s("polyline",{class:"sfp-deco-rt",points:u(p).decoRT},null,8,zk)],8,kk))],2)):w("",!0)],6)),[[l,{callback:f,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),Nk={key:0,class:"sfp-content"},Dk=["width","height"],_k=["id"],Ok=["id"],Mk=["id"],Ek=["id"],Lk=["filter","points"],Wk=["points"],jk=["points"],Gk=["points"],Fk=["points"],Hk=["points"],Qk=["points"],Uk=["stroke","points"],Yk=["stroke","points"],Kk=["stroke","points"],Xk=["stroke","points"],Zk=Object.assign({name:"ScifiPanelB4"},{__name:"B4",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Oe(c);H((()=>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=Ee(ci(e,t))})(),await ne(),n.value=!0},h=m((()=>de("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 ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",Nk,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g("div",{key:1,class:B(["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:u(v).width,height:u(v).height},[ae(rt,{uid:u(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-${u(A)}`},[...t[0]||(t[0]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,_k),s("linearGradient",{gradientUnits:"userSpaceOnUse",x1:"100%",y1:"0%",x2:"92%",y2:"8%",id:`gradient2-${u(A)}`},[...t[1]||(t[1]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,Ok),s("linearGradient",{gradientUnits:"userSpaceOnUse",x1:"100%",y1:"100%",x2:"92%",y2:"92%",id:`gradient3-${u(A)}`},[...t[2]||(t[2]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,Mk),s("linearGradient",{gradientUnits:"userSpaceOnUse",x1:"0%",y1:"100%",x2:"8%",y2:"92%",id:`gradient4-${u(A)}`},[...t[3]||(t[3]=[s("stop",{offset:"0%"},null,-1),s("stop",{offset:"100%"},null,-1)])],8,Ek)]),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",points:u(p).mainBG},null,8,Lk),s("polyline",{class:"sfp-inf-line1",points:u(p).line1},null,8,Wk),s("polyline",{class:"sfp-inf-line2",points:u(p).line2},null,8,jk),s("polyline",{class:"sfp-inf-line3",points:u(p).line3},null,8,Gk),e.decoration?(r(),g(J,{key:0},[s("polyline",{class:"sfp-inf-line4",points:u(p).line4},null,8,Fk),s("polyline",{class:"sfp-inf-line5",points:u(p).line5},null,8,Hk),s("polyline",{class:"sfp-inf-line6",points:u(p).line6},null,8,Qk)],64)):w("",!0),e.decoration?(r(),g(J,{key:1},[s("polyline",{class:"sfp-corner-line",stroke:`url(#gradient1-${u(A)})`,points:u(p).cornerTL},null,8,Uk),s("polyline",{class:"sfp-corner-line",stroke:`url(#gradient2-${u(A)})`,points:u(p).cornerTR},null,8,Yk),s("polyline",{class:"sfp-corner-line",stroke:`url(#gradient3-${u(A)})`,points:u(p).cornerBR},null,8,Kk),s("polyline",{class:"sfp-corner-line",stroke:`url(#gradient4-${u(A)})`,points:u(p).cornerBL},null,8,Xk)],64)):w("",!0)],8,Dk))],2)):w("",!0)],6)),[[l,{callback:f,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),Jk={key:0,class:"sfp-content"},eS=["width","height"],tS=["points"],lS=["filter","points"],aS=["points"],nS=["points"],oS=["points"],iS=["points"],sS={key:0,attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"},rS=["points"],AS={key:0,attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"},uS=["points"],dS={key:0,attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"},cS=["points"],fS={key:0,attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"},pS=["points"],gS={key:0,attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"},hS=["points"],vS={key:0,attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"},mS=["x"],yS=["points"],VS=["points"],bS=Object.assign({name:"ScifiPanelDV1"},{__name:"DV1",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Oe(c);H((()=>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=Ee(fi(e,t,i.titleWidth))})(),await ne(),n.value=!0},h=m((()=>de("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 ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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-deco-color-alt":e.decorationColorAlt}]),style:ie(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",Jk,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g("div",{key:1,class:B(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{class:"sfp-svg-elem",width:u(v).width,height:u(v).height},[ae(rt,{uid:u(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polygon",{class:"sfp-title-bg",points:u(p).titleBG},null,8,tS),s("polyline",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",points:u(p).border},null,8,lS),s("polygon",{class:"sfp-title-deco-r",points:u(p).titleDecoR},null,8,aS),s("polygon",{class:"sfp-title-deco-l",points:u(p).titleDecoL},null,8,nS),s("polygon",{class:"sfp-title-bg-in",points:u(p).titleBGin},null,8,oS),e.decoration?(r(),g(J,{key:0},[s("polygon",{class:"sfp-deco-t1",opacity:"1",points:u(p).decoT1},[e.animation?(r(),g("animate",sS)):w("",!0)],8,iS),s("polygon",{class:"sfp-deco-t2",opacity:"0.7",points:u(p).decoT2},[e.animation?(r(),g("animate",AS)):w("",!0)],8,rS),s("polygon",{class:"sfp-deco-t3",opacity:"0.5",points:u(p).decoT3},[e.animation?(r(),g("animate",dS)):w("",!0)],8,uS),s("polygon",{class:"sfp-deco-t4",opacity:"1",points:u(p).decoT4},[e.animation?(r(),g("animate",fS)):w("",!0)],8,cS),s("polygon",{class:"sfp-deco-t5",opacity:"0.7",points:u(p).decoT5},[e.animation?(r(),g("animate",gS)):w("",!0)],8,pS),s("polygon",{class:"sfp-deco-t6",opacity:"0.5",points:u(p).decoT6},[e.animation?(r(),g("animate",vS)):w("",!0)],8,hS)],64)):w("",!0),s("text",{class:"sfp-title-text",x:""+u(v).width/2,y:"32","font-size":"18","text-anchor":"middle","dominant-baseline":"middle"},F(e.title),9,mS),s("polygon",{class:"sfp-deco-l",points:u(p).decoL},null,8,yS),s("polygon",{class:"sfp-deco-r",points:u(p).decoR},null,8,VS)],8,eS))],2)):w("",!0)],6)),[[l,{callback:f,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),wS={key:0,class:"sfp-content"},qS=["width","height"],CS=["filter","points"],$S=["points"],kS=["points"],SS=["points"],TS=Object.assign({name:"ScifiPanelDV2"},{__name:"DV2",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{},corners:["left-top","right-top","left-bottom","right-bottom"]}),{path:p,info:v}=Oe(c);H((()=>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=Ee(pi(e,t))})(),await ne(),n.value=!0},h=m((()=>de("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 ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",wS,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g("div",{key:1,class:B(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{class:"sfp-svg-elem",width:u(v).width,height:u(v).height},[ae(rt,{uid:u(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",points:u(p).mainBG},null,8,CS)],8,qS)),(r(!0),g(J,null,Ce(c.corners,(t=>(r(),g("svg",{width:"150",height:"150",key:t,class:B(`sfp-${t} svg-corner`)},[s("polygon",{points:u(p).decoA},null,8,$S),e.decoration?(r(),g(J,{key:0},[s("polygon",{points:u(p).decoB},null,8,kS),s("polygon",{points:u(p).decoC},null,8,SS)],64)):w("",!0)],2)))),128))],2)):w("",!0)],6)),[[l,{callback:f,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),BS={key:0,class:"sfp-content"},xS=["width","height"],PS=["filter","points"],RS=["points"],zS=["points"],IS=["points"],NS=["points"],DS=["points"],_S=["points"],OS=["points"],MS=["points"],ES=["points"],LS=["points"],WS={class:"sfp-dote"},jS=["cx","cy","r"],GS=["cx","cy","r"],FS=["cx","cy","r"],HS=["cx","cy","r"],QS=Object.assign({name:"ScifiPanelDV3"},{__name:"DV3",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Oe(c);H((()=>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=Ee(gi(e,t))})(),await ne(),n.value=!0},h=m((()=>de("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale}})));return ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",BS,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g("div",{key:1,class:B(["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:u(v).width,height:u(v).height},[ae(rt,{uid:u(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",points:u(p).mainBG},null,8,PS),s("polyline",{class:"sfp-border",points:u(p).lineT},null,8,RS),s("polyline",{class:"sfp-border",points:u(p).lineB},null,8,zS),s("polyline",{class:"sfp-border",points:u(p).lineL},null,8,IS),s("polyline",{class:"sfp-border",points:u(p).lineR},null,8,NS),e.decoration?(r(),g(J,{key:0},[s("polyline",{class:"sfp-center-line",points:u(p).lineLc},null,8,DS),s("polyline",{class:"sfp-center-line",points:u(p).lineRc},null,8,_S),s("polyline",{class:"sfp-deco-line",points:u(p).deco1},null,8,OS),s("polyline",{class:"sfp-deco-line",points:u(p).deco2},null,8,MS),s("polyline",{class:"sfp-deco-line",points:u(p).deco3},null,8,ES),s("polyline",{class:"sfp-deco-line",points:u(p).deco4},null,8,LS)],64)):w("",!0),s("g",WS,[s("circle",{cx:5+e.dotOffset,cy:5+e.dotOffset,r:e.dotSize},null,8,jS),s("circle",{cx:u(v).width-5-e.dotOffset,cy:5+e.dotOffset,r:e.dotSize},null,8,GS),s("circle",{cx:u(v).width-5-e.dotOffset,cy:u(v).height-5-e.dotOffset,r:e.dotSize},null,8,FS),s("circle",{cx:5+e.dotOffset,cy:u(v).height-5-e.dotOffset,r:e.dotSize},null,8,HS)])],8,xS))],2)):w("",!0)],6)),[[l,{callback:f,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),US={key:0,class:"sfp-content"},YS=["width","height"],KS=["filter","points"],XS=["points"],ZS={key:0,class:"sfp-svg-dot"},JS=["cx","cy","r"],eT=["cx","cy","r"],tT=["cx","cy","r"],lT=["cx","cy","r"],aT=Object.assign({name:"ScifiPanelDV4"},{__name:"DV4",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Oe(c);H((()=>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=Ee(hi(e,t))})(),await ne(),n.value=!0},h=m((()=>de("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale}})));return ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",US,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g("div",{key:1,class:B(["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:u(v).width,height:u(v).height},[ae(rt,{uid:u(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",points:u(p).mainBG},null,8,KS),s("polyline",{class:"sfp-svg-inner-bd",points:u(p).innerBorder},null,8,XS),e.decoration?(r(),g("g",ZS,[s("circle",{cx:13+e.dotOffset,cy:13+e.dotOffset,r:e.dotSize},null,8,JS),s("circle",{cx:u(v).width-13-e.dotOffset,cy:13+e.dotOffset,r:e.dotSize},null,8,eT),s("circle",{cx:u(v).width-13-e.dotOffset,cy:u(v).height-13-e.dotOffset,r:e.dotSize},null,8,tT),s("circle",{cx:13+e.dotOffset,cy:u(v).height-13-e.dotOffset,r:e.dotSize},null,8,lT)])):w("",!0)],8,YS))],2)):w("",!0)],6)),[[l,{callback:f,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),nT={key:0,class:"sfp-content"},oT=["width","height"],iT=["filter","points"],sT={class:"sfp-corner-line sfp-line-w2"},rT=["points"],AT=["points"],uT=["points"],dT=["points"],cT={key:0,class:"sfp-corner-line sfp-line-w5"},fT=["points"],pT=["points"],gT=["points"],hT=["points"],vT=Object.assign({name:"ScifiPanelDV5"},{__name:"DV5",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Oe(c);H((()=>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=Ee(vi(e,t))})(),await ne(),n.value=!0},h=m((()=>de("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale}})));return ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",nT,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g("div",{key:1,class:B(["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:u(v).width,height:u(v).height},[ae(rt,{uid:u(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polyline",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",points:u(p).mainBG},null,8,iT),s("g",sT,[s("polyline",{points:u(p).cornerA1},null,8,rT),s("polyline",{points:u(p).cornerA2},null,8,AT),s("polyline",{points:u(p).cornerA3},null,8,uT),s("polyline",{points:u(p).cornerA4},null,8,dT)]),e.decoration?(r(),g("g",cT,[s("polyline",{points:u(p).cornerB1},null,8,fT),s("polyline",{points:u(p).cornerB2},null,8,pT),s("polyline",{points:u(p).cornerB3},null,8,gT),s("polyline",{points:u(p).cornerB4},null,8,hT)])):w("",!0)],8,oT))],2)):w("",!0)],6)),[[l,{callback:f,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),mT={key:0,class:"sfp-content"},yT=["width","height"],VT=["filter","points"],bT=["points"],wT=Object.assign({name:"ScifiPanelDV6"},{__name:"DV6",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{},corners:["left-top","right-top","left-bottom","right-bottom"]}),{path:p,info:v}=Oe(c);H((()=>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=Ee(mi(e,t))})(),await ne(),n.value=!0},h=m((()=>de("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale}})));return ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",mT,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g("div",{key:1,class:B(["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:u(v).width,height:u(v).height},[ae(rt,{uid:u(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",points:u(p).mainBG},null,8,VT)],8,yT)),n.value&&e.decoration?(r(!0),g(J,{key:0},Ce(c.corners,(e=>(r(),g("svg",{width:"150px",height:"150px",key:e,class:B(`sfp-${e} sfp-svg-corner`)},[s("polygon",{points:u(p).deco},null,8,bT)],2)))),128)):w("",!0)],2)):w("",!0)],6)),[[l,{callback:f,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),qT={key:0,class:"sfp-content"},CT=["width","height"],$T={key:0},kT=["id"],ST=["filter","d"],TT=["filter"],BT=["d"],xT=["d"],PT=["d"],RT=["d"],zT=Object.assign({name:"ScifiPanelDV7"},{__name:"DV7",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Oe(c);H((()=>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=Ee(yi(e,t))})(),await ne(),n.value=!0},h=m((()=>de("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 ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",qT,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g("div",{key:1,class:B(["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:u(v).width,height:u(v).height},[ae(rt,{uid:u(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),e.decoration?(r(),g("defs",$T,[s("filter",{class:"sfp-glow-filter",id:`filter2-${u(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,kT)])):w("",!0),s("path",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",d:u(p).mainBG},null,8,ST),e.decoration?(r(),g("g",{key:1,class:"sfp-corner",filter:`url(#filter2-${u(A)})`},[s("path",{d:u(p).corner1},null,8,BT),s("path",{d:u(p).corner2},null,8,xT),s("path",{d:u(p).corner3},null,8,PT),s("path",{d:u(p).corner4},null,8,RT)],8,TT)):w("",!0)],8,CT))],2)):w("",!0)],6)),[[l,{callback:f,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),IT={key:0,class:"sfp-content"},NT=["width","height"],DT=["filter","d"],_T=["d"],OT=["d"],MT={key:1},ET=["points"],LT=["points"],WT=["d"],jT=Object.assign({name:"ScifiPanelDV8"},{__name:"DV8",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!1),c=Ve({resizing:!1,info:{width:0,height:0},path:{}}),{path:p,info:v}=Oe(c);H((()=>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=Ee(Vi(e,t))})(),await ne(),n.value=!0},h=m((()=>de("cpt-panel",{...i.borderWidth&&{bdw:i.borderWidth+"px"},...i.backgroundOpacity&&{bgop:i.backgroundOpacity},...i.glowOpacity&&{glowop:i.glowOpacity},...i.scale&&{scale:i.scale}})));return ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(h.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",IT,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g("div",{key:1,class:B(["sfp-svg-wrap",{"t3d-shadow-item":"t3d"==e.shadowType,"sf-shadow-item":"drop"==e.shadowType}])},[(r(),g("svg",{class:"sfp-svg-elem",width:u(v).width,height:u(v).height},[ae(rt,{uid:u(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("path",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",d:u(p).mainBG},null,8,DT),s("path",{class:"sfp-dash",d:u(p).headDecoA},null,8,_T),e.borderd?(r(),g("path",{key:0,class:"sfp-head-line",d:u(p).headDecoB},null,8,OT)):w("",!0),e.decoration?(r(),g("g",MT,[e.decoration?(r(),g("polyline",{key:0,class:"sfp-corner-lb",points:u(p).decoLB},null,8,ET)):w("",!0),s("polyline",{class:"sfp-corner-rt",points:u(p).decoRT},null,8,LT)])):w("",!0),s("path",{class:"sfp-corner-rb",d:u(p).decoRB},null,8,WT)],8,NT))],2)):w("",!0)],6)),[[l,{callback:f,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),GT={key:0,class:"sfp-content"},FT=["width","height"],HT=["id","d"],QT=["id","d"],UT=["id"],YT=["id"],KT=["fill"],XT=["dur","path"],ZT=["dur","path"],JT=["filter","points"],eB=["xlink:href","mask"],tB=Object.assign({name:"ScifiPanelDV9"},{__name:"DV9",props:{...st},setup(e){const{$optResizeCounter:t,initResizeBy:l}=ve("$global",null),a=l(),i=e,A=qe("sfPan"),o=C(!1),n=C(!1),d=C(!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}=Oe(c);H((()=>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=Ee(bi(e,t))})(),await ne(),n.value=!0},y=m((()=>de("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 ce((()=>{d.value=!0})),(e,t)=>{const l=_e("tui-resize");return r(),Y(Se,{name:"fade"},{default:_((()=>[ge((r(),g("div",{class:B(["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:ie(y.value),ref_key:"svgPanel",ref:o},[e.showSlotImmed||n.value?(r(),g("div",GT,[X(e.$slots,"default")])):w("",!0),n.value?(r(),g("div",{key:1,class:B(["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:u(f).width,height:u(f).height},[ae(rt,{uid:u(A),glowRange:e.glowRange},null,8,["uid","glowRange"]),s("defs",null,[e.reverse?(r(),g("path",{key:1,id:`path-${u(A)}`,d:u(v).pathR,fill:"transparent"},null,8,QT)):(r(),g("path",{key:0,id:`path-${u(A)}`,d:u(v).pathN,fill:"transparent"},null,8,HT)),s("radialGradient",{id:`gradient-${u(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,UT),s("mask",{id:`mask-${u(A)}`},[s("circle",{cx:"0",cy:"0",r:"150",fill:`url(#gradient-${u(A)})`},[e.reverse?(r(),g("animateMotion",{key:1,dur:`${p.value}s`,path:u(v).pathR,rotate:"auto",repeatCount:"indefinite"},null,8,ZT)):(r(),g("animateMotion",{key:0,dur:`${p.value}s`,path:u(v).pathN,rotate:"auto",repeatCount:"indefinite"},null,8,XT))],8,KT)],8,YT)]),s("polygon",{class:"sfp-svg-bg",filter:e.glow?`url(#bgGlow_${u(A)})`:"",points:u(v).mainBG},null,8,JT),s("use",{class:"sfp-deco-light","xlink:href":`#path-${u(A)}`,mask:`url(#mask-${u(A)})`},null,8,eB)],8,FT))],2)):w("",!0)],6)),[[l,{callback:h,uid:u(A),disabled:"self"!=u(a)(e.resizeObserver)&&n.value}],[ke,d.value]])])),_:3})}}}),lB={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},aB={class:"tui-panel-content"},nB=Object.assign({name:"TuiPanelA1"},{__name:"A1",props:{...lB,angleLength:Number,angleWeight:Number,anglePosition:Number,borderRadius:Number,borderRadiusFix:Number},setup(e){const t=e;qe("tuipan"),C(!1);const l=m((()=>de("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 ce((()=>{})),(e,t)=>(r(),g("div",{class:B(["tui-panel-a1","tui-panel",e.className,{"is-borderd":e.borderd}]),style:ie(l.value)},[s("div",aB,[X(e.$slots,"default")]),s("div",{class:B(["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))}}),Ql={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}},oB={class:"sfpt-text"},iB=["width"],sB=["points"],rB=["points"],AB=["points"],uB=["width"],dB=["d"],cB=Object.assign({name:"ScifiPanelTitleA1"},{__name:"A1",props:{...Ql},setup(e){const t=e,l=C(null);qe("sfPanTi");const a=C(!1),i=Ve({resizing:!1,path:{},width:0}),{path:A}=Oe(i),o=()=>{const e=l.value;e&&(i.width=e.clientWidth,(async()=>{i.path=Ee(wi(i.width)),await ne(),a.value=!0})())},n=m((()=>de("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 ce((()=>{o()})),(e,t)=>(r(),g("div",{class:B(["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:ie(n.value),ref_key:"pantiRef",ref:l},[s("div",oB,[e.title?(r(),g(J,{key:1},[Pe(F(e.title),1)],64)):X(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:u(A).AdecoC},null,8,sB),s("polyline",{class:"dec-left",stroke:"none",points:u(A).AdecoL},null,8,rB),s("polyline",{class:"dec-right",stroke:"none",points:u(A).AdecoR},null,8,AB)],8,iB)):w("",!0),"B"==e.appearance?(r(),g("svg",{key:1,class:"sfpt-svg-elem",width:e.width,height:"40"},[s("path",{class:"dec-path",d:u(A).Bdeco},null,8,dB)],8,uB)):w("",!0)],64)):w("",!0)],6))}}),fB={class:"sfpt-text"},pB={class:"sfpt-svg-elem",width:"20",height:"40"},gB=["d"],hB={class:"sfpt-svg-elem",width:"20",height:"40"},vB=["d"],mB=["d"],yB=["d"],VB=Object.assign({name:"ScifiPanelTitleA2"},{__name:"A2",props:{...Ql},setup(e){const t=e,l=C(null);qe("sfPanTi");const a=C(!1),i=Ve({resizing:!1,path:{}}),{path:A}=Oe(i);m((()=>t.width||450));const o=()=>{const e=l.value;e&&(i.width=e.clientWidth,(async()=>{i.path=Ee(qi(i.width)),await ne(),a.value=!0})())},n=m((()=>de("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 ce((()=>{o()})),(e,t)=>(r(),g("div",{class:B(["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:ie(n.value),ref_key:"pantiRef",ref:l},[s("div",fB,[e.title?(r(),g(J,{key:1},[Pe(F(e.title),1)],64)):X(e.$slots,"default",{key:0})]),a.value?(r(),g(J,{key:0},["A"==e.appearance?(r(),g(J,{key:0},Ce(2,(e=>s("svg",pB,[s("path",{class:"dec-polyline",d:u(A).Adeco},null,8,gB)]))),64)):w("",!0),"B"==e.appearance?(r(),g(J,{key:1},Ce(2,(e=>s("svg",hB,[s("path",{class:"dec-path1",d:u(A).Bdeco1},null,8,vB),s("path",{class:"dec-path2",d:u(A).Bdeco2},null,8,mB),s("path",{class:"dec-path3",d:u(A).Bdeco3},null,8,yB)]))),64)):w("",!0)],64)):w("",!0)],6))}}),bB={key:0,class:"deco-svg",width:"20",height:"30"},wB=["d"],qB={key:1,class:"deco-svg",width:"20",height:"30"},CB=["d"],$B=["d"],kB=["d"],SB={class:"sfpt-text"},TB=Object.assign({name:"ScifiPanelTitleA3"},{__name:"A3",props:{...Ql},setup(e){const t=e,l=C(null),a=C(!1),i=Ve({resizing:!1,path:{}}),{path:A}=Oe(i),o=m((()=>de("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 ce((()=>{(async()=>{i.path=Ee(Ci(i.width)),await ne(),a.value=!0})()})),(e,t)=>(r(),g("div",{class:B(["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:ie(o.value),ref_key:"pantiRef",ref:l},["A"==e.appearance?(r(),g("svg",bB,[s("path",{class:"deco-path",d:u(A).Adeco},null,8,wB)])):w("",!0),"B"==e.appearance?(r(),g("svg",qB,[s("path",{class:"deco-path",d:u(A).Bdeco1},null,8,CB),s("path",{class:"deco-path-sub",d:u(A).Bdeco2},null,8,$B),s("path",{class:"deco-path-sub",d:u(A).Bdeco3},null,8,kB)])):w("",!0),s("span",SB,[e.title?(r(),g(J,{key:1},[Pe(F(e.title),1)],64)):X(e.$slots,"default",{key:0})])],6))}}),wn={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}},BB=Object.assign({name:"TuiPanelTitleA1"},{__name:"A1",props:{...wn},setup(e){const t=e,l=m((()=>de("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:B(["tui-panti-a1","tui-panti",e.className,`position-${e.position||"center"}`,{"is-deco-color-alt":e.decorationColorAlt}]),style:ie(l.value),ref:"pantiRef"},[e.title?(r(),g(J,{key:1},[Pe(F(e.title),1)],64)):X(e.$slots,"default",{key:0})],6))}}),xB=Object.assign({name:"TuiPanelTitleA2"},{__name:"A2",props:{...wn},setup(e){const t=e,l=m((()=>de("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:B(["tui-panti-a2","tui-panti",e.className,`position-${e.position||"left"}`,{"is-deco-color-alt":e.decorationColorAlt}]),style:ie(l.value),ref:"pantiRef"},[e.title?(r(),g(J,{key:1},[Pe(F(e.title),1)],64)):X(e.$slots,"default",{key:0})],6))}}),HB={$dDrag:Ks,$dMenu:$s,$dResize:Xs,$dPopover:Gs,$dCursorTip:Os,$dVcid:Zs},QB={tuiService:cs,tuiBus:Oa},UB={$gAttention:Or,$gMask:Qr,$gLoading:Gr,$gPopover:Jr,$gPopoverDirectiveCloseAll:Fs},YB=[sA,pA,$A,SA,Hu,lc,hn,Dc,qc,_c,oc,hc,Uc,Mc,Lc,jc,vn,Qc,Ea,Kt,Yc,Kc,Xc,Af,yf,jf,Ff,op,sp,up,hp,yn,mp,yp,Np,Dp,Mp,Ep,Up,tg,lg,og,vg,Vg,Rl,wg,Sg,Tg,Ng,Fg,Zg,th,hh,Ch,$h,Gh,Hh,mv,Zv,em,nm,im,um,dm,fm,mm,ym,yv,Cv,qm,Cm,km,Tm,an,xm,en,Xt,La,Fa,ja,Dm,Lm,Hm,Qm,Ll,Wl,Hl,Zm,ey,qy,zy,Iy,Ny,My,Wy,jy,Qy,Yy,Ky,uV,bV,LV,tb,rb,Cb,_b,Kb,Aw,ww,Dw,z0,Dq,b1,j1,tC,hC,YC,V$,M$,Z$,sk,pk,Ck,Ik,Zk,bS,TS,QS,aT,vT,wT,zT,jT,tB,nB,cB,VB,TB,BB,xB];export{YB as toComps,HB as toDirective,UB as toGlobal,QB as toRoot};
|