chainlesschain 0.45.11 → 0.45.12
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/package.json +1 -1
- package/src/assets/web-panel/assets/AppLayout-BfLjLMsm.js +1 -0
- package/src/assets/web-panel/assets/AppLayout-CFP4dGIJ.css +1 -0
- package/src/assets/web-panel/assets/{Chat-5f__rMCR.js → Chat-DP7PO9Li.js} +1 -1
- package/src/assets/web-panel/assets/{Cron-C4mrNC4c.js → Cron-DyQF-7R1.js} +1 -1
- package/src/assets/web-panel/assets/{Dashboard-DsjXpZor.js → Dashboard-BGGdnr6t.js} +2 -2
- package/src/assets/web-panel/assets/{Logs-CC_Zuh66.js → Logs-BOii-AoO.js} +1 -1
- package/src/assets/web-panel/assets/{McpTools-B15GiN3u.js → McpTools-DmiJtJYr.js} +2 -2
- package/src/assets/web-panel/assets/{Memory-Dbd7oLOH.js → Memory-CDRMMobU.js} +2 -2
- package/src/assets/web-panel/assets/{Notes-CEkc49fY.js → Notes-CVhqqoS1.js} +1 -1
- package/src/assets/web-panel/assets/{Providers-CjyPHW00.js → Providers-Dkt7021l.js} +1 -1
- package/src/assets/web-panel/assets/{Services-XFzHMRRd.js → Services-DUDL_UGb.js} +1 -1
- package/src/assets/web-panel/assets/{Skills-D8oxmB3U.js → Skills-DXXELJc3.js} +1 -1
- package/src/assets/web-panel/assets/Tasks-BwZ63-mq.js +1 -0
- package/src/assets/web-panel/assets/Tasks-Cr_XXNyQ.css +1 -0
- package/src/assets/web-panel/assets/{antd-ChLPLhSn.js → antd-CJSBocer.js} +1 -1
- package/src/assets/web-panel/assets/{index-DQ5xXK7O.js → index-vW799KpE.js} +2 -2
- package/src/assets/web-panel/assets/{markdown-DtbPhnFe.js → markdown-Bo5cVN4u.js} +1 -1
- package/src/assets/web-panel/index.html +2 -2
- package/src/commands/session.js +84 -18
- package/src/lib/prompt-compressor.js +132 -2
- package/src/lib/sub-agent-context.js +71 -0
- package/src/lib/ws-server.js +45 -0
- package/src/repl/agent-repl.js +103 -32
- package/src/assets/web-panel/assets/AppLayout-19ZC8w11.js +0 -1
- package/src/assets/web-panel/assets/AppLayout-CjgO-ML6.css +0 -1
|
@@ -471,4 +471,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
471
471
|
`]:{color:e.colorTextDisabled}}}}}},ste=e=>{const{componentCls:t,antCls:n,iconCls:o,fontSize:r,lineHeight:l}=e,i=`${t}-list-item`,a=`${i}-actions`,s=`${i}-action`,c=Math.round(r*l);return{[`${t}-wrapper`]:{[`${t}-list`]:v(v({},vo()),{lineHeight:e.lineHeight,[i]:{position:"relative",height:e.lineHeight*r,marginTop:e.marginXS,fontSize:r,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${i}-name`]:v(v({},Dt),{padding:`0 ${e.paddingXS}px`,lineHeight:l,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[a]:{[s]:{opacity:0},[`${s}${n}-btn-sm`]:{height:c,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
472
472
|
${s}:focus,
|
|
473
473
|
&.picture ${s}
|
|
474
|
-
`]:{opacity:1},[o]:{color:e.colorTextDescription,transition:`all ${e.motionDurationSlow}`},[`&:hover ${o}`]:{color:e.colorText}},[`${t}-icon ${o}`]:{color:e.colorTextDescription,fontSize:r},[`${i}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:r+e.paddingXS,fontSize:r,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${i}:hover ${s}`]:{opacity:1,color:e.colorText},[`${i}-error`]:{color:e.colorError,[`${i}-name, ${t}-icon ${o}`]:{color:e.colorError},[a]:{[`${o}, ${o}:hover`]:{color:e.colorError},[s]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},_$=new et("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),R$=new et("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),cte=e=>{const{componentCls:t}=e,n=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${n}-appear, ${n}-enter, ${n}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${n}-appear, ${n}-enter`]:{animationName:_$},[`${n}-leave`]:{animationName:R$}}},_$,R$]},ute=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:o,uploadProgressOffset:r}=e,l=`${t}-list`,i=`${l}-item`;return{[`${t}-wrapper`]:{[`${l}${l}-picture, ${l}${l}-picture-card`]:{[i]:{position:"relative",height:o+e.lineWidth*2+e.paddingXS*2,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${i}-thumbnail`]:v(v({},Dt),{width:o,height:o,lineHeight:`${o+e.paddingSM}px`,textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${i}-progress`]:{bottom:r,width:`calc(100% - ${e.paddingSM*2}px)`,marginTop:0,paddingInlineStart:o+e.paddingXS}},[`${i}-error`]:{borderColor:e.colorError,[`${i}-thumbnail ${n}`]:{"svg path[fill='#e6f7ff']":{fill:e.colorErrorBg},"svg path[fill='#1890ff']":{fill:e.colorError}}},[`${i}-uploading`]:{borderStyle:"dashed",[`${i}-name`]:{marginBottom:r}}}}}},dte=e=>{const{componentCls:t,iconCls:n,fontSizeLG:o,colorTextLightSolid:r}=e,l=`${t}-list`,i=`${l}-item`,a=e.uploadPicCardSize;return{[`${t}-wrapper${t}-picture-card-wrapper`]:v(v({},vo()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:a,height:a,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${l}${l}-picture-card`]:{[`${l}-item-container`]:{display:"inline-block",width:a,height:a,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[i]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${e.paddingXS*2}px)`,height:`calc(100% - ${e.paddingXS*2}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${i}:hover`]:{[`&::before, ${i}-actions`]:{opacity:1}},[`${i}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${n}-eye, ${n}-download, ${n}-delete`]:{zIndex:10,width:o,margin:`0 ${e.marginXXS}px`,fontSize:o,cursor:"pointer",transition:`all ${e.motionDurationSlow}`}},[`${i}-actions, ${i}-actions:hover`]:{[`${n}-eye, ${n}-download, ${n}-delete`]:{color:new ct(r).setAlpha(.65).toRgbString(),"&:hover":{color:r}}},[`${i}-thumbnail, ${i}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${i}-name`]:{display:"none",textAlign:"center"},[`${i}-file + ${i}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${e.paddingXS*2}px)`},[`${i}-uploading`]:{[`&${i}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${i}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${e.paddingXS*2}px)`,paddingInlineStart:0}}})}},fte=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},pte=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:v(v({},Ke(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},vte=We("Upload",e=>{const{fontSizeHeading3:t,fontSize:n,lineHeight:o,lineWidth:r,controlHeightLG:l}=e,i=Math.round(n*o),a=Ne(e,{uploadThumbnailSize:t*2,uploadProgressOffset:i/2+r,uploadPicCardSize:l*2.55});return[pte(a),ate(a),ute(a),dte(a),ste(a),cte(a),fte(a),za(a)]});var gte=function(e,t,n,o){function r(l){return l instanceof n?l:new n(function(i){i(l)})}return new(n||(n=Promise))(function(l,i){function a(u){try{c(o.next(u))}catch(d){i(d)}}function s(u){try{c(o.throw(u))}catch(d){i(d)}}function c(u){u.done?l(u.value):r(u.value).then(a,s)}c((o=o.apply(e,t||[])).next())})},hte=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Vi=`__LIST_IGNORE_${Date.now()}__`,Oc=Z({compatConfig:{MODE:3},name:"AUpload",inheritAttrs:!1,props:Ge(l8(),{type:"select",multiple:!1,action:"",data:{},accept:"",showUploadList:!0,listType:"text",supportServerRender:!0}),setup(e,t){let{slots:n,attrs:o,expose:r}=t;const l=zt(),{prefixCls:i,direction:a,disabled:s}=Oe("upload",e),[c,u]=vte(i),d=Pn(),p=P(()=>{var M;return(M=s.value)!==null&&M!==void 0?M:d.value}),[g,m]=yt(e.defaultFileList||[],{value:He(e,"fileList"),postState:M=>{const R=Date.now();return(M??[]).map((_,L)=>(!_.uid&&!Object.isFrozen(_)&&(_.uid=`__AUTO__${R}_${L}__`),_))}}),h=J("drop"),b=J(null);je(()=>{bt(e.fileList!==void 0||o.value===void 0,"Upload","`value` is not a valid prop, do you mean `fileList`?"),bt(e.transformFile===void 0,"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly."),bt(e.remove===void 0,"Upload","`remove` props is deprecated. Please use `remove` event.")});const y=(M,R,_)=>{var L,T;let B=[...R];e.maxCount===1?B=B.slice(-1):e.maxCount&&(B=B.slice(0,e.maxCount)),m(B);const N={file:M,fileList:B};_&&(N.event=_),(L=e["onUpdate:fileList"])===null||L===void 0||L.call(e,N.fileList),(T=e.onChange)===null||T===void 0||T.call(e,N),l.onFieldChange()},S=(M,R)=>gte(this,void 0,void 0,function*(){const{beforeUpload:_,transformFile:L}=e;let T=M;if(_){const B=yield _(M,R);if(B===!1)return!1;if(delete M[Vi],B===Vi)return Object.defineProperty(M,Vi,{value:!0,configurable:!0}),!1;typeof B=="object"&&B&&(T=B)}return L&&(T=yield L(T)),T}),$=M=>{const R=M.filter(T=>!T.file[Vi]);if(!R.length)return;const _=R.map(T=>As(T.file));let L=[...g.value];_.forEach(T=>{L=Ds(T,L)}),_.forEach((T,B)=>{let N=T;if(R[B].parsedFile)T.status="uploading";else{const{originFileObj:k}=T;let z;try{z=new File([k],k.name,{type:k.type})}catch{z=new Blob([k],{type:k.type}),z.name=k.name,z.lastModifiedDate=new Date,z.lastModified=new Date().getTime()}z.uid=T.uid,N=z}y(N,L)})},w=(M,R,_)=>{try{typeof M=="string"&&(M=JSON.parse(M))}catch{}if(!lp(R,g.value))return;const L=As(R);L.status="done",L.percent=100,L.response=M,L.xhr=_;const T=Ds(L,g.value);y(L,T)},C=(M,R)=>{if(!lp(R,g.value))return;const _=As(R);_.status="uploading",_.percent=M.percent;const L=Ds(_,g.value);y(_,L,M)},O=(M,R,_)=>{if(!lp(_,g.value))return;const L=As(_);L.error=M,L.response=R,L.status="error";const T=Ds(L,g.value);y(L,T)},x=M=>{let R;const _=e.onRemove||e.remove;Promise.resolve(typeof _=="function"?_(M):_).then(L=>{var T,B;if(L===!1)return;const N=Zee(M,g.value);N&&(R=v(v({},M),{status:"removed"}),(T=g.value)===null||T===void 0||T.forEach(k=>{const z=R.uid!==void 0?"uid":"name";k[z]===R[z]&&!Object.isFrozen(k)&&(k.status="removed")}),(B=b.value)===null||B===void 0||B.abort(R),y(R,N))})},I=M=>{var R;h.value=M.type,M.type==="drop"&&((R=e.onDrop)===null||R===void 0||R.call(e,M))};r({onBatchStart:$,onSuccess:w,onProgress:C,onError:O,fileList:g,upload:b});const[E]=oo("Upload",mn.Upload,P(()=>e.locale)),A=(M,R)=>{const{removeIcon:_,previewIcon:L,downloadIcon:T,previewFile:B,onPreview:N,onDownload:k,isImageUrl:z,progress:F,itemRender:H,iconRender:j,showUploadList:K}=e,{showDownloadIcon:X,showPreviewIcon:V,showRemoveIcon:U}=typeof K=="boolean"?{}:K;return K?f(ite,{prefixCls:i.value,listType:e.listType,items:g.value,previewFile:B,onPreview:N,onDownload:k,onRemove:x,showRemoveIcon:!p.value&&U,showPreviewIcon:V,showDownloadIcon:X,removeIcon:_,previewIcon:L,downloadIcon:T,iconRender:j,locale:E.value,isImageUrl:z,progress:F,itemRender:H,appendActionVisible:R,appendAction:M},v({},n)):M?.()};return()=>{var M,R,_;const{listType:L,type:T}=e,{class:B,style:N}=o,k=hte(o,["class","style"]),z=v(v(v({onBatchStart:$,onError:O,onProgress:C,onSuccess:w},k),e),{id:(M=e.id)!==null&&M!==void 0?M:l.id.value,prefixCls:i.value,beforeUpload:S,onChange:void 0,disabled:p.value});delete z.remove,(!n.default||p.value)&&delete z.id;const F={[`${i.value}-rtl`]:a.value==="rtl"};if(T==="drag"){const X=ee(i.value,{[`${i.value}-drag`]:!0,[`${i.value}-drag-uploading`]:g.value.some(V=>V.status==="uploading"),[`${i.value}-drag-hover`]:h.value==="dragover",[`${i.value}-disabled`]:p.value,[`${i.value}-rtl`]:a.value==="rtl"},o.class,u.value);return c(f("span",D(D({},o),{},{class:ee(`${i.value}-wrapper`,F,B,u.value)}),[f("div",{class:X,onDrop:I,onDragover:I,onDragleave:I,style:o.style},[f(T$,D(D({},z),{},{ref:b,class:`${i.value}-btn`}),D({default:()=>[f("div",{class:`${i.value}-drag-container`},[(R=n.default)===null||R===void 0?void 0:R.call(n)])]},n))]),A()]))}const H=ee(i.value,{[`${i.value}-select`]:!0,[`${i.value}-select-${L}`]:!0,[`${i.value}-disabled`]:p.value,[`${i.value}-rtl`]:a.value==="rtl"}),j=gt((_=n.default)===null||_===void 0?void 0:_.call(n)),K=X=>f("div",{class:H,style:X},[f(T$,D(D({},z),{},{ref:b}),n)]);return c(L==="picture-card"?f("span",D(D({},o),{},{class:ee(`${i.value}-wrapper`,`${i.value}-picture-card-wrapper`,F,o.class,u.value)}),[A(K,!!(j&&j.length))]):f("span",D(D({},o),{},{class:ee(`${i.value}-wrapper`,F,o.class,u.value)}),[K(j&&j.length?void 0:{display:"none"}),A()]))}}});var B$=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Pc=Z({compatConfig:{MODE:3},name:"AUploadDragger",inheritAttrs:!1,props:l8(),setup(e,t){let{slots:n,attrs:o}=t;return()=>{const{height:r}=e,l=B$(e,["height"]),{style:i}=o,a=B$(o,["style"]),s=v(v(v({},l),a),{type:"drag",style:v(v({},i),{height:typeof r=="number"?`${r}px`:r})});return f(Oc,s,n)}}}),mte=Pc,bte=v(Oc,{Dragger:Pc,LIST_IGNORE:Vi,install(e){return e.component(Oc.name,Oc),e.component(Pc.name,Pc),e}});function yte(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function Ste(e){return Object.keys(e).map(t=>`${yte(t)}: ${e[t]};`).join(" ")}function N$(){return window.devicePixelRatio||1}function ip(e,t,n,o){e.translate(t,n),e.rotate(Math.PI/180*Number(o)),e.translate(-t,-n)}const $te=(e,t)=>{let n=!1;return e.removedNodes.length&&(n=Array.from(e.removedNodes).some(o=>o===t)),e.type==="attributes"&&e.target===t&&(n=!0),n};var Cte=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function xte(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{window:o=Bw}=n,r=Cte(n,["window"]);let l;const i=_w(()=>o&&"MutationObserver"in o),a=()=>{l&&(l.disconnect(),l=void 0)},s=se(()=>Th(e),u=>{a(),i.value&&o&&u&&(l=new MutationObserver(t),l.observe(u,r))},{immediate:!0}),c=()=>{a(),s()};return Dw(c),{isSupported:i,stop:c}}const ap=2,z$=3,wte=()=>({zIndex:Number,rotate:Number,width:Number,height:Number,image:String,content:ze([String,Array]),font:De(),rootClassName:String,gap:rt(),offset:rt()}),Ote=Z({name:"AWatermark",inheritAttrs:!1,props:Ge(wte(),{zIndex:9,rotate:-22,font:{},gap:[100,100]}),setup(e,t){let{slots:n,attrs:o}=t;const[,r]=Jo(),l=q(),i=q(),a=q(!1),s=P(()=>{var A,M;return(M=(A=e.gap)===null||A===void 0?void 0:A[0])!==null&&M!==void 0?M:100}),c=P(()=>{var A,M;return(M=(A=e.gap)===null||A===void 0?void 0:A[1])!==null&&M!==void 0?M:100}),u=P(()=>s.value/2),d=P(()=>c.value/2),p=P(()=>{var A,M;return(M=(A=e.offset)===null||A===void 0?void 0:A[0])!==null&&M!==void 0?M:u.value}),g=P(()=>{var A,M;return(M=(A=e.offset)===null||A===void 0?void 0:A[1])!==null&&M!==void 0?M:d.value}),m=P(()=>{var A,M;return(M=(A=e.font)===null||A===void 0?void 0:A.fontSize)!==null&&M!==void 0?M:r.value.fontSizeLG}),h=P(()=>{var A,M;return(M=(A=e.font)===null||A===void 0?void 0:A.fontWeight)!==null&&M!==void 0?M:"normal"}),b=P(()=>{var A,M;return(M=(A=e.font)===null||A===void 0?void 0:A.fontStyle)!==null&&M!==void 0?M:"normal"}),y=P(()=>{var A,M;return(M=(A=e.font)===null||A===void 0?void 0:A.fontFamily)!==null&&M!==void 0?M:"sans-serif"}),S=P(()=>{var A,M;return(M=(A=e.font)===null||A===void 0?void 0:A.color)!==null&&M!==void 0?M:r.value.colorFill}),$=P(()=>{var A;const M={zIndex:(A=e.zIndex)!==null&&A!==void 0?A:9,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let R=p.value-u.value,_=g.value-d.value;return R>0&&(M.left=`${R}px`,M.width=`calc(100% - ${R}px)`,R=0),_>0&&(M.top=`${_}px`,M.height=`calc(100% - ${_}px)`,_=0),M.backgroundPosition=`${R}px ${_}px`,M}),w=()=>{i.value&&(i.value.remove(),i.value=void 0)},C=(A,M)=>{var R;l.value&&i.value&&(a.value=!0,i.value.setAttribute("style",Ste(v(v({},$.value),{backgroundImage:`url('${A}')`,backgroundSize:`${(s.value+M)*ap}px`}))),(R=l.value)===null||R===void 0||R.append(i.value),setTimeout(()=>{a.value=!1}))},O=A=>{let M=120,R=64;const _=e.content,L=e.image,T=e.width,B=e.height;if(!L&&A.measureText){A.font=`${Number(m.value)}px ${y.value}`;const N=Array.isArray(_)?_:[_],k=N.map(z=>A.measureText(z).width);M=Math.ceil(Math.max(...k)),R=Number(m.value)*N.length+(N.length-1)*z$}return[T??M,B??R]},x=(A,M,R,_,L)=>{const T=N$(),B=e.content,N=Number(m.value)*T;A.font=`${b.value} normal ${h.value} ${N}px/${L}px ${y.value}`,A.fillStyle=S.value,A.textAlign="center",A.textBaseline="top",A.translate(_/2,0);const k=Array.isArray(B)?B:[B];k?.forEach((z,F)=>{A.fillText(z??"",M,R+F*(N+z$*T))})},I=()=>{var A;const M=document.createElement("canvas"),R=M.getContext("2d"),_=e.image,L=(A=e.rotate)!==null&&A!==void 0?A:-22;if(R){i.value||(i.value=document.createElement("div"));const T=N$(),[B,N]=O(R),k=(s.value+B)*T,z=(c.value+N)*T;M.setAttribute("width",`${k*ap}px`),M.setAttribute("height",`${z*ap}px`);const F=s.value*T/2,H=c.value*T/2,j=B*T,K=N*T,X=(j+s.value*T)/2,V=(K+c.value*T)/2,U=F+k,Q=H+z,ne=X+k,te=V+z;if(R.save(),ip(R,X,V,L),_){const G=new Image;G.onload=()=>{R.drawImage(G,F,H,j,K),R.restore(),ip(R,ne,te,L),R.drawImage(G,U,Q,j,K),C(M.toDataURL(),B)},G.crossOrigin="anonymous",G.referrerPolicy="no-referrer",G.src=_}else x(R,F,H,j,K),R.restore(),ip(R,ne,te,L),x(R,U,Q,j,K),C(M.toDataURL(),B)}};return je(()=>{I()}),se(()=>[e,r.value.colorFill,r.value.fontSizeLG],()=>{I()},{deep:!0,flush:"post"}),Ze(()=>{w()}),xte(l,A=>{a.value||A.forEach(M=>{$te(M,i.value)&&(w(),I())})},{attributes:!0,subtree:!0,childList:!0,attributeFilter:["style","class"]}),()=>{var A;return f("div",D(D({},o),{},{ref:l,class:[o.class,e.rootClassName],style:[{position:"relative"},o.style]}),[(A=n.default)===null||A===void 0?void 0:A.call(n)])}}}),Pte=St(Ote);function k$(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function F$(e){return{backgroundColor:e.bgColorSelected,boxShadow:e.boxShadow}}const Ite=v({overflow:"hidden"},Dt),Tte=e=>{const{componentCls:t}=e;return{[t]:v(v(v(v(v({},Ke(e)),{display:"inline-block",padding:e.segmentedContainerPadding,color:e.labelColor,backgroundColor:e.bgColor,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,"&-selected":v(v({},F$(e)),{color:e.labelColorHover}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.labelColorHover,"&::after":{backgroundColor:e.bgColorHover}},"&-label":v({minHeight:e.controlHeight-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeight-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`},Ite),"&-icon + *":{marginInlineStart:e.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:v(v({},F$(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${e.paddingXXS}px 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:e.controlHeightLG-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightLG-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:e.controlHeightSM-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightSM-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontalSM}px`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),k$(`&-disabled ${t}-item`,e)),k$(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},Mte=We("Segmented",e=>{const{lineWidthBold:t,lineWidth:n,colorTextLabel:o,colorText:r,colorFillSecondary:l,colorBgLayout:i,colorBgElevated:a}=e,s=Ne(e,{segmentedPaddingHorizontal:e.controlPaddingHorizontal-n,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-n,segmentedContainerPadding:t,labelColor:o,labelColorHover:r,bgColor:i,bgColorHover:l,bgColorSelected:a});return[Tte(s)]}),L$=e=>e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null,Al=e=>e!==void 0?`${e}px`:void 0,Ete=Z({props:{value:ht(),getValueIndex:ht(),prefixCls:ht(),motionName:ht(),onMotionStart:ht(),onMotionEnd:ht(),direction:ht(),containerRef:ht()},emits:["motionStart","motionEnd"],setup(e,t){let{emit:n}=t;const o=J(),r=m=>{var h;const b=e.getValueIndex(m),y=(h=e.containerRef.value)===null||h===void 0?void 0:h.querySelectorAll(`.${e.prefixCls}-item`)[b];return y?.offsetParent&&y},l=J(null),i=J(null);se(()=>e.value,(m,h)=>{const b=r(h),y=r(m),S=L$(b),$=L$(y);l.value=S,i.value=$,n(b&&y?"motionStart":"motionEnd")},{flush:"post"});const a=P(()=>{var m,h;return e.direction==="rtl"?Al(-((m=l.value)===null||m===void 0?void 0:m.right)):Al((h=l.value)===null||h===void 0?void 0:h.left)}),s=P(()=>{var m,h;return e.direction==="rtl"?Al(-((m=i.value)===null||m===void 0?void 0:m.right)):Al((h=i.value)===null||h===void 0?void 0:h.left)});let c;const u=m=>{clearTimeout(c),nt(()=>{m&&(m.style.transform="translateX(var(--thumb-start-left))",m.style.width="var(--thumb-start-width)")})},d=m=>{c=setTimeout(()=>{m&&(eu(m,`${e.motionName}-appear-active`),m.style.transform="translateX(var(--thumb-active-left))",m.style.width="var(--thumb-active-width)")})},p=m=>{l.value=null,i.value=null,m&&(m.style.transform=null,m.style.width=null,tu(m,`${e.motionName}-appear-active`)),n("motionEnd")},g=P(()=>{var m,h;return{"--thumb-start-left":a.value,"--thumb-start-width":Al((m=l.value)===null||m===void 0?void 0:m.width),"--thumb-active-left":s.value,"--thumb-active-width":Al((h=i.value)===null||h===void 0?void 0:h.width)}});return Ze(()=>{clearTimeout(c)}),()=>{const m={ref:o,style:g.value,class:[`${e.prefixCls}-thumb`]};return f(Gt,{appear:!0,onBeforeEnter:u,onEnter:d,onAfterEnter:p},{default:()=>[!l.value||!i.value?null:f("div",m,null)]})}}});function Ate(e){return e.map(t=>typeof t=="object"&&t!==null?t:{label:t?.toString(),title:t?.toString(),value:t})}const Dte=()=>({prefixCls:String,options:rt(),block:pe(),disabled:pe(),size:_e(),value:v(v({},ze([String,Number])),{required:!0}),motionName:String,onChange:le(),"onUpdate:value":le()}),a8=(e,t)=>{let{slots:n,emit:o}=t;const{value:r,disabled:l,payload:i,title:a,prefixCls:s,label:c=n.label,checked:u,className:d}=e,p=g=>{l||o("change",g,r)};return f("label",{class:ee({[`${s}-item-disabled`]:l},d)},[f("input",{class:`${s}-item-input`,type:"radio",disabled:l,checked:u,onChange:p},null),f("div",{class:`${s}-item-label`,title:typeof a=="string"?a:""},[typeof c=="function"?c({value:r,disabled:l,payload:i,title:a}):c??r])])};a8.inheritAttrs=!1;const _te=Z({name:"ASegmented",inheritAttrs:!1,props:Ge(Dte(),{options:[],motionName:"thumb-motion"}),slots:Object,setup(e,t){let{emit:n,slots:o,attrs:r}=t;const{prefixCls:l,direction:i,size:a}=Oe("segmented",e),[s,c]=Mte(l),u=q(),d=q(!1),p=P(()=>Ate(e.options)),g=(m,h)=>{e.disabled||(n("update:value",h),n("change",h))};return()=>{const m=l.value;return s(f("div",D(D({},r),{},{class:ee(m,{[c.value]:!0,[`${m}-block`]:e.block,[`${m}-disabled`]:e.disabled,[`${m}-lg`]:a.value=="large",[`${m}-sm`]:a.value=="small",[`${m}-rtl`]:i.value==="rtl"},r.class),ref:u}),[f("div",{class:`${m}-group`},[f(Ete,{containerRef:u,prefixCls:m,value:e.value,motionName:`${m}-${e.motionName}`,direction:i.value,getValueIndex:h=>p.value.findIndex(b=>b.value===h),onMotionStart:()=>{d.value=!0},onMotionEnd:()=>{d.value=!1}},null),p.value.map(h=>f(a8,D(D({key:h.value,prefixCls:m,checked:h.value===e.value,onChange:g},h),{},{className:ee(h.className,`${m}-item`,{[`${m}-item-selected`]:h.value===e.value&&!d.value}),disabled:!!e.disabled||!!h.disabled}),o))])]))}}}),Rte=St(_te),Bte=e=>{const{componentCls:t}=e;return{[t]:v(v({},Ke(e)),{display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,position:"relative",width:"100%",height:"100%",overflow:"hidden",[`& > ${t}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${t}-expired , & > ${t}-scanned`]:{color:e.QRCodeTextColor}},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}}),[`${t}-borderless`]:{borderColor:"transparent"}}},Nte=We("QRCode",e=>Bte(Ne(e,{QRCodeTextColor:"rgba(0, 0, 0, 0.88)",QRCodeMaskBackgroundColor:"rgba(255, 255, 255, 0.96)"})));var zte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z"}}]},name:"api",theme:"outlined"};function H$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){kte(e,r,n[r])})}return e}function kte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s8=function(t,n){var o=H$({},t,n.attrs);return f(Re,H$({},o,{icon:zte}),null)};s8.displayName="ApiOutlined";s8.inheritAttrs=!1;var Fte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};function j$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Lte(e,r,n[r])})}return e}function Lte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c8=function(t,n){var o=j$({},t,n.attrs);return f(Re,j$({},o,{icon:Fte}),null)};c8.displayName="AppstoreOutlined";c8.inheritAttrs=!1;var Hte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"};function W$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){jte(e,r,n[r])})}return e}function jte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u8=function(t,n){var o=W$({},t,n.attrs);return f(Re,W$({},o,{icon:Hte}),null)};u8.displayName="BookOutlined";u8.inheritAttrs=!1;var Wte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"branches",theme:"outlined"};function V$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Vte(e,r,n[r])})}return e}function Vte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d8=function(t,n){var o=V$({},t,n.attrs);return f(Re,V$({},o,{icon:Wte}),null)};d8.displayName="BranchesOutlined";d8.inheritAttrs=!1;var Kte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z"}},{tag:"path",attrs:{d:"M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z"}},{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}}]},name:"cloud-server",theme:"outlined"};function K$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Gte(e,r,n[r])})}return e}function Gte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f8=function(t,n){var o=K$({},t,n.attrs);return f(Re,K$({},o,{icon:Kte}),null)};f8.displayName="CloudServerOutlined";f8.inheritAttrs=!1;var Xte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8s0 .1.1.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8 0 0 0 .1-.1.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7zM620 539v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8v.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8v.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7z"}}]},name:"control",theme:"outlined"};function G$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Yte(e,r,n[r])})}return e}function Yte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p8=function(t,n){var o=G$({},t,n.attrs);return f(Re,G$({},o,{icon:Xte}),null)};p8.displayName="ControlOutlined";p8.inheritAttrs=!1;var Ute={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z"}}]},name:"dashboard",theme:"outlined"};function X$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){qte(e,r,n[r])})}return e}function qte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v8=function(t,n){var o=X$({},t,n.attrs);return f(Re,X$({},o,{icon:Ute}),null)};v8.displayName="DashboardOutlined";v8.inheritAttrs=!1;var Zte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z"}}]},name:"desktop",theme:"outlined"};function Y$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Qte(e,r,n[r])})}return e}function Qte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g8=function(t,n){var o=Y$({},t,n.attrs);return f(Re,Y$({},o,{icon:Zte}),null)};g8.displayName="DesktopOutlined";g8.inheritAttrs=!1;var Jte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"};function U$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ene(e,r,n[r])})}return e}function ene(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h8=function(t,n){var o=U$({},t,n.attrs);return f(Re,U$({},o,{icon:Jte}),null)};h8.displayName="GlobalOutlined";h8.inheritAttrs=!1;var tne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840zM652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"medicine-box",theme:"outlined"};function q$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){nne(e,r,n[r])})}return e}function nne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m8=function(t,n){var o=q$({},t,n.attrs);return f(Re,q$({},o,{icon:tne}),null)};m8.displayName="MedicineBoxOutlined";m8.inheritAttrs=!1;var one={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"message",theme:"outlined"};function Z$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){rne(e,r,n[r])})}return e}function rne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b8=function(t,n){var o=Z$({},t,n.attrs);return f(Re,Z$({},o,{icon:one}),null)};b8.displayName="MessageOutlined";b8.inheritAttrs=!1;var lne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"};function Q$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ine(e,r,n[r])})}return e}function ine(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y8=function(t,n){var o=Q$({},t,n.attrs);return f(Re,Q$({},o,{icon:lne}),null)};y8.displayName="PlayCircleOutlined";y8.inheritAttrs=!1;var ane={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};function J$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){sne(e,r,n[r])})}return e}function sne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Km=function(t,n){var o=J$({},t,n.attrs);return f(Re,J$({},o,{icon:ane}),null)};Km.displayName="ReloadOutlined";Km.inheritAttrs=!1;var cne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"};function eC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){une(e,r,n[r])})}return e}function une(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S8=function(t,n){var o=eC({},t,n.attrs);return f(Re,eC({},o,{icon:cne}),null)};S8.displayName="RobotOutlined";S8.inheritAttrs=!1;var dne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"};function tC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){fne(e,r,n[r])})}return e}function fne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $8=function(t,n){var o=tC({},t,n.attrs);return f(Re,tC({},o,{icon:dne}),null)};$8.displayName="SendOutlined";$8.inheritAttrs=!1;var pne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"};function nC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){vne(e,r,n[r])})}return e}function vne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C8=function(t,n){var o=nC({},t,n.attrs);return f(Re,nC({},o,{icon:pne}),null)};C8.displayName="SettingOutlined";C8.inheritAttrs=!1;var gne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"};function oC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){hne(e,r,n[r])})}return e}function hne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x8=function(t,n){var o=oC({},t,n.attrs);return f(Re,oC({},o,{icon:gne}),null)};x8.displayName="StarOutlined";x8.inheritAttrs=!1;var mne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"};function rC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){bne(e,r,n[r])})}return e}function bne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w8=function(t,n){var o=rC({},t,n.attrs);return f(Re,rC({},o,{icon:mne}),null)};w8.displayName="SyncOutlined";w8.inheritAttrs=!1;var yne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}}]},name:"thunderbolt",theme:"outlined"};function lC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Sne(e,r,n[r])})}return e}function Sne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O8=function(t,n){var o=lC({},t,n.attrs);return f(Re,lC({},o,{icon:yne}),null)};O8.displayName="ThunderboltOutlined";O8.inheritAttrs=!1;var $ne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z"}}]},name:"tool",theme:"outlined"};function iC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Cne(e,r,n[r])})}return e}function Cne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P8=function(t,n){var o=iC({},t,n.attrs);return f(Re,iC({},o,{icon:$ne}),null)};P8.displayName="ToolOutlined";P8.inheritAttrs=!1;const Gm=()=>({size:{type:Number,default:160},value:{type:String,required:!0},type:_e("canvas"),color:String,bgColor:String,includeMargin:Boolean,imageSettings:De()}),xne=()=>v(v({},Gm()),{errorLevel:_e("M"),icon:String,iconSize:{type:Number,default:40},status:_e("active"),bordered:{type:Boolean,default:!0}});var qn;(function(e){class t{static encodeText(a,s){const c=e.QrSegment.makeSegments(a);return t.encodeSegments(c,s)}static encodeBinary(a,s){const c=e.QrSegment.makeBytes(a);return t.encodeSegments([c],s)}static encodeSegments(a,s){let c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:40,d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1,p=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;if(!(t.MIN_VERSION<=c&&c<=u&&u<=t.MAX_VERSION)||d<-1||d>7)throw new RangeError("Invalid value");let g,m;for(g=c;;g++){const S=t.getNumDataCodewords(g,s)*8,$=l.getTotalBits(a,g);if($<=S){m=$;break}if(g>=u)throw new RangeError("Data too long")}for(const S of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])p&&m<=t.getNumDataCodewords(g,S)*8&&(s=S);const h=[];for(const S of a){n(S.mode.modeBits,4,h),n(S.numChars,S.mode.numCharCountBits(g),h);for(const $ of S.getData())h.push($)}r(h.length==m);const b=t.getNumDataCodewords(g,s)*8;r(h.length<=b),n(0,Math.min(4,b-h.length),h),n(0,(8-h.length%8)%8,h),r(h.length%8==0);for(let S=236;h.length<b;S^=253)n(S,8,h);const y=[];for(;y.length*8<h.length;)y.push(0);return h.forEach((S,$)=>y[$>>>3]|=S<<7-($&7)),new t(g,s,y,d)}constructor(a,s,c,u){if(this.version=a,this.errorCorrectionLevel=s,this.modules=[],this.isFunction=[],a<t.MIN_VERSION||a>t.MAX_VERSION)throw new RangeError("Version value out of range");if(u<-1||u>7)throw new RangeError("Mask value out of range");this.size=a*4+17;const d=[];for(let g=0;g<this.size;g++)d.push(!1);for(let g=0;g<this.size;g++)this.modules.push(d.slice()),this.isFunction.push(d.slice());this.drawFunctionPatterns();const p=this.addEccAndInterleave(c);if(this.drawCodewords(p),u==-1){let g=1e9;for(let m=0;m<8;m++){this.applyMask(m),this.drawFormatBits(m);const h=this.getPenaltyScore();h<g&&(u=m,g=h),this.applyMask(m)}}r(0<=u&&u<=7),this.mask=u,this.applyMask(u),this.drawFormatBits(u),this.isFunction=[]}getModule(a,s){return 0<=a&&a<this.size&&0<=s&&s<this.size&&this.modules[s][a]}getModules(){return this.modules}drawFunctionPatterns(){for(let c=0;c<this.size;c++)this.setFunctionModule(6,c,c%2==0),this.setFunctionModule(c,6,c%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const a=this.getAlignmentPatternPositions(),s=a.length;for(let c=0;c<s;c++)for(let u=0;u<s;u++)c==0&&u==0||c==0&&u==s-1||c==s-1&&u==0||this.drawAlignmentPattern(a[c],a[u]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(a){const s=this.errorCorrectionLevel.formatBits<<3|a;let c=s;for(let d=0;d<10;d++)c=c<<1^(c>>>9)*1335;const u=(s<<10|c)^21522;r(u>>>15==0);for(let d=0;d<=5;d++)this.setFunctionModule(8,d,o(u,d));this.setFunctionModule(8,7,o(u,6)),this.setFunctionModule(8,8,o(u,7)),this.setFunctionModule(7,8,o(u,8));for(let d=9;d<15;d++)this.setFunctionModule(14-d,8,o(u,d));for(let d=0;d<8;d++)this.setFunctionModule(this.size-1-d,8,o(u,d));for(let d=8;d<15;d++)this.setFunctionModule(8,this.size-15+d,o(u,d));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let a=this.version;for(let c=0;c<12;c++)a=a<<1^(a>>>11)*7973;const s=this.version<<12|a;r(s>>>18==0);for(let c=0;c<18;c++){const u=o(s,c),d=this.size-11+c%3,p=Math.floor(c/3);this.setFunctionModule(d,p,u),this.setFunctionModule(p,d,u)}}drawFinderPattern(a,s){for(let c=-4;c<=4;c++)for(let u=-4;u<=4;u++){const d=Math.max(Math.abs(u),Math.abs(c)),p=a+u,g=s+c;0<=p&&p<this.size&&0<=g&&g<this.size&&this.setFunctionModule(p,g,d!=2&&d!=4)}}drawAlignmentPattern(a,s){for(let c=-2;c<=2;c++)for(let u=-2;u<=2;u++)this.setFunctionModule(a+u,s+c,Math.max(Math.abs(u),Math.abs(c))!=1)}setFunctionModule(a,s,c){this.modules[s][a]=c,this.isFunction[s][a]=!0}addEccAndInterleave(a){const s=this.version,c=this.errorCorrectionLevel;if(a.length!=t.getNumDataCodewords(s,c))throw new RangeError("Invalid argument");const u=t.NUM_ERROR_CORRECTION_BLOCKS[c.ordinal][s],d=t.ECC_CODEWORDS_PER_BLOCK[c.ordinal][s],p=Math.floor(t.getNumRawDataModules(s)/8),g=u-p%u,m=Math.floor(p/u),h=[],b=t.reedSolomonComputeDivisor(d);for(let S=0,$=0;S<u;S++){const w=a.slice($,$+m-d+(S<g?0:1));$+=w.length;const C=t.reedSolomonComputeRemainder(w,b);S<g&&w.push(0),h.push(w.concat(C))}const y=[];for(let S=0;S<h[0].length;S++)h.forEach(($,w)=>{(S!=m-d||w>=g)&&y.push($[S])});return r(y.length==p),y}drawCodewords(a){if(a.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let s=0;for(let c=this.size-1;c>=1;c-=2){c==6&&(c=5);for(let u=0;u<this.size;u++)for(let d=0;d<2;d++){const p=c-d,m=(c+1&2)==0?this.size-1-u:u;!this.isFunction[m][p]&&s<a.length*8&&(this.modules[m][p]=o(a[s>>>3],7-(s&7)),s++)}}r(s==a.length*8)}applyMask(a){if(a<0||a>7)throw new RangeError("Mask value out of range");for(let s=0;s<this.size;s++)for(let c=0;c<this.size;c++){let u;switch(a){case 0:u=(c+s)%2==0;break;case 1:u=s%2==0;break;case 2:u=c%3==0;break;case 3:u=(c+s)%3==0;break;case 4:u=(Math.floor(c/3)+Math.floor(s/2))%2==0;break;case 5:u=c*s%2+c*s%3==0;break;case 6:u=(c*s%2+c*s%3)%2==0;break;case 7:u=((c+s)%2+c*s%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[s][c]&&u&&(this.modules[s][c]=!this.modules[s][c])}}getPenaltyScore(){let a=0;for(let d=0;d<this.size;d++){let p=!1,g=0;const m=[0,0,0,0,0,0,0];for(let h=0;h<this.size;h++)this.modules[d][h]==p?(g++,g==5?a+=t.PENALTY_N1:g>5&&a++):(this.finderPenaltyAddHistory(g,m),p||(a+=this.finderPenaltyCountPatterns(m)*t.PENALTY_N3),p=this.modules[d][h],g=1);a+=this.finderPenaltyTerminateAndCount(p,g,m)*t.PENALTY_N3}for(let d=0;d<this.size;d++){let p=!1,g=0;const m=[0,0,0,0,0,0,0];for(let h=0;h<this.size;h++)this.modules[h][d]==p?(g++,g==5?a+=t.PENALTY_N1:g>5&&a++):(this.finderPenaltyAddHistory(g,m),p||(a+=this.finderPenaltyCountPatterns(m)*t.PENALTY_N3),p=this.modules[h][d],g=1);a+=this.finderPenaltyTerminateAndCount(p,g,m)*t.PENALTY_N3}for(let d=0;d<this.size-1;d++)for(let p=0;p<this.size-1;p++){const g=this.modules[d][p];g==this.modules[d][p+1]&&g==this.modules[d+1][p]&&g==this.modules[d+1][p+1]&&(a+=t.PENALTY_N2)}let s=0;for(const d of this.modules)s=d.reduce((p,g)=>p+(g?1:0),s);const c=this.size*this.size,u=Math.ceil(Math.abs(s*20-c*10)/c)-1;return r(0<=u&&u<=9),a+=u*t.PENALTY_N4,r(0<=a&&a<=2568888),a}getAlignmentPatternPositions(){if(this.version==1)return[];{const a=Math.floor(this.version/7)+2,s=this.version==32?26:Math.ceil((this.version*4+4)/(a*2-2))*2,c=[6];for(let u=this.size-7;c.length<a;u-=s)c.splice(1,0,u);return c}}static getNumRawDataModules(a){if(a<t.MIN_VERSION||a>t.MAX_VERSION)throw new RangeError("Version number out of range");let s=(16*a+128)*a+64;if(a>=2){const c=Math.floor(a/7)+2;s-=(25*c-10)*c-55,a>=7&&(s-=36)}return r(208<=s&&s<=29648),s}static getNumDataCodewords(a,s){return Math.floor(t.getNumRawDataModules(a)/8)-t.ECC_CODEWORDS_PER_BLOCK[s.ordinal][a]*t.NUM_ERROR_CORRECTION_BLOCKS[s.ordinal][a]}static reedSolomonComputeDivisor(a){if(a<1||a>255)throw new RangeError("Degree out of range");const s=[];for(let u=0;u<a-1;u++)s.push(0);s.push(1);let c=1;for(let u=0;u<a;u++){for(let d=0;d<s.length;d++)s[d]=t.reedSolomonMultiply(s[d],c),d+1<s.length&&(s[d]^=s[d+1]);c=t.reedSolomonMultiply(c,2)}return s}static reedSolomonComputeRemainder(a,s){const c=s.map(u=>0);for(const u of a){const d=u^c.shift();c.push(0),s.forEach((p,g)=>c[g]^=t.reedSolomonMultiply(p,d))}return c}static reedSolomonMultiply(a,s){if(a>>>8||s>>>8)throw new RangeError("Byte out of range");let c=0;for(let u=7;u>=0;u--)c=c<<1^(c>>>7)*285,c^=(s>>>u&1)*a;return r(c>>>8==0),c}finderPenaltyCountPatterns(a){const s=a[1];r(s<=this.size*3);const c=s>0&&a[2]==s&&a[3]==s*3&&a[4]==s&&a[5]==s;return(c&&a[0]>=s*4&&a[6]>=s?1:0)+(c&&a[6]>=s*4&&a[0]>=s?1:0)}finderPenaltyTerminateAndCount(a,s,c){return a&&(this.finderPenaltyAddHistory(s,c),s=0),s+=this.size,this.finderPenaltyAddHistory(s,c),this.finderPenaltyCountPatterns(c)}finderPenaltyAddHistory(a,s){s[0]==0&&(a+=this.size),s.pop(),s.unshift(a)}}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(i,a,s){if(a<0||a>31||i>>>a)throw new RangeError("Value out of range");for(let c=a-1;c>=0;c--)s.push(i>>>c&1)}function o(i,a){return(i>>>a&1)!=0}function r(i){if(!i)throw new Error("Assertion error")}class l{static makeBytes(a){const s=[];for(const c of a)n(c,8,s);return new l(l.Mode.BYTE,a.length,s)}static makeNumeric(a){if(!l.isNumeric(a))throw new RangeError("String contains non-numeric characters");const s=[];for(let c=0;c<a.length;){const u=Math.min(a.length-c,3);n(parseInt(a.substring(c,c+u),10),u*3+1,s),c+=u}return new l(l.Mode.NUMERIC,a.length,s)}static makeAlphanumeric(a){if(!l.isAlphanumeric(a))throw new RangeError("String contains unencodable characters in alphanumeric mode");const s=[];let c;for(c=0;c+2<=a.length;c+=2){let u=l.ALPHANUMERIC_CHARSET.indexOf(a.charAt(c))*45;u+=l.ALPHANUMERIC_CHARSET.indexOf(a.charAt(c+1)),n(u,11,s)}return c<a.length&&n(l.ALPHANUMERIC_CHARSET.indexOf(a.charAt(c)),6,s),new l(l.Mode.ALPHANUMERIC,a.length,s)}static makeSegments(a){return a==""?[]:l.isNumeric(a)?[l.makeNumeric(a)]:l.isAlphanumeric(a)?[l.makeAlphanumeric(a)]:[l.makeBytes(l.toUtf8ByteArray(a))]}static makeEci(a){const s=[];if(a<0)throw new RangeError("ECI assignment value out of range");if(a<128)n(a,8,s);else if(a<16384)n(2,2,s),n(a,14,s);else if(a<1e6)n(6,3,s),n(a,21,s);else throw new RangeError("ECI assignment value out of range");return new l(l.Mode.ECI,0,s)}static isNumeric(a){return l.NUMERIC_REGEX.test(a)}static isAlphanumeric(a){return l.ALPHANUMERIC_REGEX.test(a)}constructor(a,s,c){if(this.mode=a,this.numChars=s,this.bitData=c,s<0)throw new RangeError("Invalid argument");this.bitData=c.slice()}getData(){return this.bitData.slice()}static getTotalBits(a,s){let c=0;for(const u of a){const d=u.mode.numCharCountBits(s);if(u.numChars>=1<<d)return 1/0;c+=4+d+u.bitData.length}return c}static toUtf8ByteArray(a){a=encodeURI(a);const s=[];for(let c=0;c<a.length;c++)a.charAt(c)!="%"?s.push(a.charCodeAt(c)):(s.push(parseInt(a.substring(c+1,c+3),16)),c+=2);return s}}l.NUMERIC_REGEX=/^[0-9]*$/,l.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,l.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=l})(qn||(qn={}));(function(e){(function(t){class n{constructor(r,l){this.ordinal=r,this.formatBits=l}}n.LOW=new n(0,1),n.MEDIUM=new n(1,0),n.QUARTILE=new n(2,3),n.HIGH=new n(3,2),t.Ecc=n})(e.QrCode||(e.QrCode={}))})(qn||(qn={}));(function(e){(function(t){class n{constructor(r,l){this.modeBits=r,this.numBitsCharCount=l}numCharCountBits(r){return this.numBitsCharCount[Math.floor((r+7)/17)]}}n.NUMERIC=new n(1,[10,12,14]),n.ALPHANUMERIC=new n(2,[9,11,13]),n.BYTE=new n(4,[8,16,16]),n.KANJI=new n(8,[8,10,12]),n.ECI=new n(7,[0,0,0]),t.Mode=n})(e.QrSegment||(e.QrSegment={}))})(qn||(qn={}));const I8={L:qn.QrCode.Ecc.LOW,M:qn.QrCode.Ecc.MEDIUM,Q:qn.QrCode.Ecc.QUARTILE,H:qn.QrCode.Ecc.HIGH},Rv=128,T8="L",M8="#FFFFFF",E8="#000000",A8=!1,wne=4,One=0,Pne=.1;function D8(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const n=[];return e.forEach(function(o,r){let l=null;o.forEach(function(i,a){if(!i&&l!==null){n.push(`M${l+t} ${r+t}h${a-l}v1H${l+t}z`),l=null;return}if(a===o.length-1){if(!i)return;l===null?n.push(`M${a+t},${r+t} h1v1H${a+t}z`):n.push(`M${l+t},${r+t} h${a+1-l}v1H${l+t}z`);return}i&&l===null&&(l=a)})}),n.join("")}function _8(e,t){return e.slice().map((n,o)=>o<t.y||o>=t.y+t.h?n:n.map((r,l)=>l<t.x||l>=t.x+t.w?r:!1))}function R8(e,t,n,o){if(o==null)return null;const r=e.length+n*2,l=Math.floor(t*Pne),i=r/t,a=(o.width||l)*i,s=(o.height||l)*i,c=o.x==null?e.length/2-a/2:o.x*i,u=o.y==null?e.length/2-s/2:o.y*i;let d=null;if(o.excavate){const p=Math.floor(c),g=Math.floor(u),m=Math.ceil(a+c-p),h=Math.ceil(s+u-g);d={x:p,y:g,w:m,h}}return{x:c,y:u,h:s,w:a,excavation:d}}function B8(e,t){return t!=null?Math.floor(t):e?wne:One}const Ine=(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})(),Tne=Z({name:"QRCodeCanvas",inheritAttrs:!1,props:v(v({},Gm()),{level:String,bgColor:String,fgColor:String,marginSize:Number}),setup(e,t){let{attrs:n,expose:o}=t;const r=P(()=>{var s;return(s=e.imageSettings)===null||s===void 0?void 0:s.src}),l=q(null),i=q(null),a=q(!1);return o({toDataURL:(s,c)=>{var u;return(u=l.value)===null||u===void 0?void 0:u.toDataURL(s,c)}}),Le(()=>{const{value:s,size:c=Rv,level:u=T8,bgColor:d=M8,fgColor:p=E8,includeMargin:g=A8,marginSize:m,imageSettings:h}=e;if(l.value!=null){const b=l.value,y=b.getContext("2d");if(!y)return;let S=qn.QrCode.encodeText(s,I8[u]).getModules();const $=B8(g,m),w=S.length+$*2,C=R8(S,c,$,h),O=i.value,x=a.value&&C!=null&&O!==null&&O.complete&&O.naturalHeight!==0&&O.naturalWidth!==0;x&&C.excavation!=null&&(S=_8(S,C.excavation));const I=window.devicePixelRatio||1;b.height=b.width=c*I;const E=c/w*I;y.scale(E,E),y.fillStyle=d,y.fillRect(0,0,w,w),y.fillStyle=p,Ine?y.fill(new Path2D(D8(S,$))):S.forEach(function(A,M){A.forEach(function(R,_){R&&y.fillRect(_+$,M+$,1,1)})}),x&&y.drawImage(O,C.x+$,C.y+$,C.w,C.h)}},{flush:"post"}),se(r,()=>{a.value=!1}),()=>{var s;const c=(s=e.size)!==null&&s!==void 0?s:Rv,u={height:`${c}px`,width:`${c}px`};let d=null;return r.value!=null&&(d=f("img",{src:r.value,key:r.value,style:{display:"none"},onLoad:()=>{a.value=!0},ref:i},null)),f(Qe,null,[f("canvas",D(D({},n),{},{style:[u,n.style],ref:l}),null),d])}}}),Mne=Z({name:"QRCodeSVG",inheritAttrs:!1,props:v(v({},Gm()),{color:String,level:String,bgColor:String,fgColor:String,marginSize:Number,title:String}),setup(e){let t=null,n=null,o=null,r=null,l=null,i=null;return Le(()=>{const{value:a,size:s=Rv,level:c=T8,includeMargin:u=A8,marginSize:d,imageSettings:p}=e;t=qn.QrCode.encodeText(a,I8[c]).getModules(),n=B8(u,d),o=t.length+n*2,r=R8(t,s,n,p),p!=null&&r!=null&&(r.excavation!=null&&(t=_8(t,r.excavation)),i=f("image",{"xlink:href":p.src,height:r.h,width:r.w,x:r.x+n,y:r.y+n,preserveAspectRatio:"none"},null)),l=D8(t,n)}),()=>{const a=e.bgColor&&M8,s=e.fgColor&&E8;return f("svg",{height:e.size,width:e.size,viewBox:`0 0 ${o} ${o}`},[!!e.title&&f("title",null,[e.title]),f("path",{fill:a,d:`M0,0 h${o}v${o}H0z`,"shape-rendering":"crispEdges"},null),f("path",{fill:s,d:l,"shape-rendering":"crispEdges"},null),i])}}}),Ene=Z({name:"AQrcode",inheritAttrs:!1,props:xne(),emits:["refresh"],setup(e,t){let{emit:n,attrs:o,expose:r}=t;const[l]=oo("QRCode"),{prefixCls:i}=Oe("qrcode",e),[a,s]=Nte(i),[,c]=Jo(),u=J();r({toDataURL:(p,g)=>{var m;return(m=u.value)===null||m===void 0?void 0:m.toDataURL(p,g)}});const d=P(()=>{const{value:p,icon:g="",size:m=160,iconSize:h=40,color:b=c.value.colorText,bgColor:y="transparent",errorLevel:S="M"}=e,$={src:g,x:void 0,y:void 0,height:h,width:h,excavate:!0};return{value:p,size:m-(c.value.paddingSM+c.value.lineWidth)*2,level:S,bgColor:y,fgColor:b,imageSettings:g?$:void 0}});return()=>{const p=i.value;return a(f("div",D(D({},o),{},{style:[o.style,{width:`${e.size}px`,height:`${e.size}px`,backgroundColor:d.value.bgColor}],class:[s.value,p,{[`${p}-borderless`]:!e.bordered}]}),[e.status!=="active"&&f("div",{class:`${p}-mask`},[e.status==="loading"&&f(Eo,null,null),e.status==="expired"&&f(Qe,null,[f("p",{class:`${p}-expired`},[l.value.expired]),f(It,{type:"link",onClick:g=>n("refresh",g)},{default:()=>[l.value.refresh],icon:()=>f(Km,null,null)})]),e.status==="scanned"&&f("p",{class:`${p}-scanned`},[l.value.scanned])]),e.type==="canvas"?f(Tne,D({ref:u},d.value),null):f(Mne,d.value,null)]))}}}),Ane=St(Ene);function Dne(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:o,right:r,bottom:l,left:i}=e.getBoundingClientRect();return o>=0&&i>=0&&r<=t&&l<=n}function _ne(e,t,n,o){const[r,l]=ft(void 0);Le(()=>{const u=typeof e.value=="function"?e.value():e.value;l(u||null)},{flush:"post"});const[i,a]=ft(null),s=()=>{if(!t.value){a(null);return}if(r.value){!Dne(r.value)&&t.value&&r.value.scrollIntoView(o.value);const{left:u,top:d,width:p,height:g}=r.value.getBoundingClientRect(),m={left:u,top:d,width:p,height:g,radius:0};JSON.stringify(i.value)!==JSON.stringify(m)&&a(m)}else a(null)};return je(()=>{se([t,r],()=>{s()},{flush:"post",immediate:!0}),window.addEventListener("resize",s)}),Ze(()=>{window.removeEventListener("resize",s)}),[P(()=>{var u,d;if(!i.value)return i.value;const p=((u=n.value)===null||u===void 0?void 0:u.offset)||6,g=((d=n.value)===null||d===void 0?void 0:d.radius)||2;return{left:i.value.left-p,top:i.value.top-p,width:i.value.width+p*2,height:i.value.height+p*2,radius:g}}),r]}const Rne=()=>({arrow:ze([Boolean,Object]),target:ze([String,Function,Object]),title:ze([String,Object]),description:ze([String,Object]),placement:_e(),mask:ze([Object,Boolean],!0),className:{type:String},style:De(),scrollIntoViewOptions:ze([Boolean,Object])}),Xm=()=>v(v({},Rne()),{prefixCls:{type:String},total:{type:Number},current:{type:Number},onClose:le(),onFinish:le(),renderPanel:le(),onPrev:le(),onNext:le()}),Bne=Z({name:"DefaultPanel",inheritAttrs:!1,props:Xm(),setup(e,t){let{attrs:n}=t;return()=>{const{prefixCls:o,current:r,total:l,title:i,description:a,onClose:s,onPrev:c,onNext:u,onFinish:d}=e;return f("div",D(D({},n),{},{class:ee(`${o}-content`,n.class)}),[f("div",{class:`${o}-inner`},[f("button",{type:"button",onClick:s,"aria-label":"Close",class:`${o}-close`},[f("span",{class:`${o}-close-x`},[vn("×")])]),f("div",{class:`${o}-header`},[f("div",{class:`${o}-title`},[i])]),f("div",{class:`${o}-description`},[a]),f("div",{class:`${o}-footer`},[f("div",{class:`${o}-sliders`},[l>1?[...Array.from({length:l}).keys()].map((p,g)=>f("span",{key:p,class:g===r?"active":""},null)):null]),f("div",{class:`${o}-buttons`},[r!==0?f("button",{class:`${o}-prev-btn`,onClick:c},[vn("Prev")]):null,r===l-1?f("button",{class:`${o}-finish-btn`,onClick:d},[vn("Finish")]):f("button",{class:`${o}-next-btn`,onClick:u},[vn("Next")])])])])])}}}),Nne=Z({name:"TourStep",inheritAttrs:!1,props:Xm(),setup(e,t){let{attrs:n}=t;return()=>{const{current:o,renderPanel:r}=e;return f(Qe,null,[typeof r=="function"?r(v(v({},n),e),o):f(Bne,D(D({},n),e),null)])}}});let aC=0;const zne=sn();function kne(){let e;return zne?(e=aC,aC+=1):e="TEST_OR_SSR",e}function Fne(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:J("");const t=`vc_unique_${kne()}`;return e.value||t}const _s={fill:"transparent","pointer-events":"auto"},Lne=Z({name:"TourMask",props:{prefixCls:{type:String},pos:De(),rootClassName:{type:String},showMask:pe(),fill:{type:String,default:"rgba(0,0,0,0.5)"},open:pe(),animated:ze([Boolean,Object]),zIndex:{type:Number}},setup(e,t){let{attrs:n}=t;const o=Fne();return()=>{const{prefixCls:r,open:l,rootClassName:i,pos:a,showMask:s,fill:c,animated:u,zIndex:d}=e,p=`${r}-mask-${o}`,g=typeof u=="object"?u?.placeholder:u;return f(_a,{visible:l,autoLock:!0},{default:()=>l&&f("div",D(D({},n),{},{class:ee(`${r}-mask`,i,n.class),style:[{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:d,pointerEvents:"none"},n.style]}),[s?f("svg",{style:{width:"100%",height:"100%"}},[f("defs",null,[f("mask",{id:p},[f("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"},null),a&&f("rect",{x:a.left,y:a.top,rx:a.radius,width:a.width,height:a.height,fill:"black",class:g?`${r}-placeholder-animated`:""},null)])]),f("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:c,mask:`url(#${p})`},null),a&&f(Qe,null,[f("rect",D(D({},_s),{},{x:"0",y:"0",width:"100%",height:a.top}),null),f("rect",D(D({},_s),{},{x:"0",y:"0",width:a.left,height:"100%"}),null),f("rect",D(D({},_s),{},{x:"0",y:a.top+a.height,width:"100%",height:`calc(100vh - ${a.top+a.height}px)`}),null),f("rect",D(D({},_s),{},{x:a.left+a.width,y:"0",width:`calc(100vw - ${a.left+a.width}px)`,height:"100%"}),null)])]):null])})}}}),Hne=[0,0],sC={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function N8(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const t={};return Object.keys(sC).forEach(n=>{t[n]=v(v({},sC[n]),{autoArrow:e,targetOffset:Hne})}),t}N8();var jne=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const sp={left:"50%",top:"50%",width:"1px",height:"1px"},z8=()=>{const{builtinPlacements:e,popupAlign:t}=Ox();return{builtinPlacements:e,popupAlign:t,steps:rt(),open:pe(),defaultCurrent:{type:Number},current:{type:Number},onChange:le(),onClose:le(),onFinish:le(),mask:ze([Boolean,Object],!0),arrow:ze([Boolean,Object],!0),rootClassName:{type:String},placement:_e("bottom"),prefixCls:{type:String,default:"rc-tour"},renderPanel:le(),gap:De(),animated:ze([Boolean,Object]),scrollIntoViewOptions:ze([Boolean,Object],!0),zIndex:{type:Number,default:1001}}},Wne=Z({name:"Tour",inheritAttrs:!1,props:Ge(z8(),{}),setup(e){const{defaultCurrent:t,placement:n,mask:o,scrollIntoViewOptions:r,open:l,gap:i,arrow:a}=Io(e),s=J(),[c,u]=yt(0,{value:P(()=>e.current),defaultValue:t.value}),[d,p]=yt(void 0,{value:P(()=>e.open),postState:x=>c.value<0||c.value>=e.steps.length?!1:x??!0}),g=q(d.value);Le(()=>{d.value&&!g.value&&u(0),g.value=d.value});const m=P(()=>e.steps[c.value]||{}),h=P(()=>{var x;return(x=m.value.placement)!==null&&x!==void 0?x:n.value}),b=P(()=>{var x;return d.value&&((x=m.value.mask)!==null&&x!==void 0?x:o.value)}),y=P(()=>{var x;return(x=m.value.scrollIntoViewOptions)!==null&&x!==void 0?x:r.value}),[S,$]=_ne(P(()=>m.value.target),l,i,y),w=P(()=>$.value?typeof m.value.arrow>"u"?a.value:m.value.arrow:!1),C=P(()=>typeof w.value=="object"?w.value.pointAtCenter:!1);se(C,()=>{var x;(x=s.value)===null||x===void 0||x.forcePopupAlign()}),se(c,()=>{var x;(x=s.value)===null||x===void 0||x.forcePopupAlign()});const O=x=>{var I;u(x),(I=e.onChange)===null||I===void 0||I.call(e,x)};return()=>{var x;const{prefixCls:I,steps:E,onClose:A,onFinish:M,rootClassName:R,renderPanel:_,animated:L,zIndex:T}=e,B=jne(e,["prefixCls","steps","onClose","onFinish","rootClassName","renderPanel","animated","zIndex"]);if($.value===void 0)return null;const N=()=>{p(!1),A?.(c.value)},k=typeof b.value=="boolean"?b.value:!!b.value,z=typeof b.value=="boolean"?void 0:b.value,F=()=>$.value||document.body,H=()=>f(Nne,D({arrow:w.value,key:"content",prefixCls:I,total:E.length,renderPanel:_,onPrev:()=>{O(c.value-1)},onNext:()=>{O(c.value+1)},onClose:N,current:c.value,onFinish:()=>{N(),M?.()}},m.value),null),j=P(()=>{const K=S.value||sp,X={};return Object.keys(K).forEach(V=>{typeof K[V]=="number"?X[V]=`${K[V]}px`:X[V]=K[V]}),X});return d.value?f(Qe,null,[f(Lne,{zIndex:T,prefixCls:I,pos:S.value,showMask:k,style:z?.style,fill:z?.color,open:d.value,animated:L,rootClassName:R},null),f(ml,D(D({},B),{},{arrow:!!B.arrow,builtinPlacements:m.value.target?(x=B.builtinPlacements)!==null&&x!==void 0?x:N8(C.value):void 0,ref:s,popupStyle:m.value.target?m.value.style:v(v({},m.value.style),{position:"fixed",left:sp.left,top:sp.top,transform:"translate(-50%, -50%)"}),popupPlacement:h.value,popupVisible:d.value,popupClassName:ee(R,m.value.className),prefixCls:I,popup:H,forceRender:!1,destroyPopupOnHide:!0,zIndex:T,mask:!1,getTriggerDOMNode:F}),{default:()=>[f(_a,{visible:d.value,autoLock:!0},{default:()=>[f("div",{class:ee(R,`${I}-target-placeholder`),style:v(v({},j.value),{position:"fixed",pointerEvents:"none"})},null)]})]})]):null}}}),Vne=()=>v(v({},z8()),{steps:{type:Array},prefixCls:{type:String},current:{type:Number},type:{type:String},"onUpdate:current":Function}),Kne=()=>v(v({},Xm()),{cover:{type:Object},nextButtonProps:{type:Object},prevButtonProps:{type:Object},current:{type:Number},type:{type:String}}),Gne=Z({name:"ATourPanel",inheritAttrs:!1,props:Kne(),setup(e,t){let{attrs:n,slots:o}=t;const{current:r,total:l}=Io(e),i=P(()=>r.value===l.value-1),a=c=>{var u;const d=e.prevButtonProps;(u=e.onPrev)===null||u===void 0||u.call(e,c),typeof d?.onClick=="function"&&d?.onClick()},s=c=>{var u,d;const p=e.nextButtonProps;i.value?(u=e.onFinish)===null||u===void 0||u.call(e,c):(d=e.onNext)===null||d===void 0||d.call(e,c),typeof p?.onClick=="function"&&p?.onClick()};return()=>{const{prefixCls:c,title:u,onClose:d,cover:p,description:g,type:m,arrow:h}=e,b=e.prevButtonProps,y=e.nextButtonProps;let S;u&&(S=f("div",{class:`${c}-header`},[f("div",{class:`${c}-title`},[u])]));let $;g&&($=f("div",{class:`${c}-description`},[g]));let w;p&&(w=f("div",{class:`${c}-cover`},[p]));let C;o.indicatorsRender?C=o.indicatorsRender({current:r.value,total:l}):C=[...Array.from({length:l.value}).keys()].map((I,E)=>f("span",{key:I,class:ee(E===r.value&&`${c}-indicator-active`,`${c}-indicator`)},null));const O=m==="primary"?"default":"primary",x={type:"default",ghost:m==="primary"};return f(dl,{componentName:"Tour",defaultLocale:mn.Tour},{default:I=>{var E;return f("div",D(D({},n),{},{class:ee(m==="primary"?`${c}-primary`:"",n.class,`${c}-content`)}),[h&&f("div",{class:`${c}-arrow`,key:"arrow"},null),f("div",{class:`${c}-inner`},[f(un,{class:`${c}-close`,onClick:d},null),w,S,$,f("div",{class:`${c}-footer`},[l.value>1&&f("div",{class:`${c}-indicators`},[C]),f("div",{class:`${c}-buttons`},[r.value!==0?f(It,D(D(D({},x),b),{},{onClick:a,size:"small",class:ee(`${c}-prev-btn`,b?.className)}),{default:()=>[cp(b?.children)?b.children():(E=b?.children)!==null&&E!==void 0?E:I.Previous]}):null,f(It,D(D({type:O},y),{},{onClick:s,size:"small",class:ee(`${c}-next-btn`,y?.className)}),{default:()=>[cp(y?.children)?y?.children():i.value?I.Finish:I.Next]})])])])])}})}}}),Xne=e=>{let{defaultType:t,steps:n,current:o,defaultCurrent:r}=e;const l=J(r?.value),i=P(()=>o?.value);se(i,u=>{l.value=u??r?.value},{immediate:!0});const a=u=>{l.value=u},s=P(()=>{var u,d;return typeof l.value=="number"?n&&((d=(u=n.value)===null||u===void 0?void 0:u[l.value])===null||d===void 0?void 0:d.type):t?.value});return{currentMergedType:P(()=>{var u;return(u=s.value)!==null&&u!==void 0?u:t?.value}),updateInnerCurrent:a}},Yne=e=>{const{componentCls:t,lineHeight:n,padding:o,paddingXS:r,borderRadius:l,borderRadiusXS:i,colorPrimary:a,colorText:s,colorFill:c,indicatorHeight:u,indicatorWidth:d,boxShadowTertiary:p,tourZIndexPopup:g,fontSize:m,colorBgContainer:h,fontWeightStrong:b,marginXS:y,colorTextLightSolid:S,tourBorderRadius:$,colorWhite:w,colorBgTextHover:C,tourCloseSize:O,motionDurationSlow:x,antCls:I}=e;return[{[t]:v(v({},Ke(e)),{color:s,position:"absolute",zIndex:g,display:"block",visibility:"visible",fontSize:m,lineHeight:n,width:520,"--antd-arrow-background-color":h,"&-pure":{maxWidth:"100%",position:"relative"},[`&${t}-hidden`]:{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:$,boxShadow:p,position:"relative",backgroundColor:h,border:"none",backgroundClip:"padding-box",[`${t}-close`]:{position:"absolute",top:o,insetInlineEnd:o,color:e.colorIcon,outline:"none",width:O,height:O,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${t}-cover`]:{textAlign:"center",padding:`${o+O+r}px ${o}px 0`,img:{width:"100%"}},[`${t}-header`]:{padding:`${o}px ${o}px ${r}px`,[`${t}-title`]:{lineHeight:n,fontSize:m,fontWeight:b}},[`${t}-description`]:{padding:`0 ${o}px`,lineHeight:n,wordWrap:"break-word"},[`${t}-footer`]:{padding:`${r}px ${o}px ${o}px`,textAlign:"end",borderRadius:`0 0 ${i}px ${i}px`,display:"flex",[`${t}-indicators`]:{display:"inline-block",[`${t}-indicator`]:{width:d,height:u,display:"inline-block",borderRadius:"50%",background:c,"&:not(:last-child)":{marginInlineEnd:u},"&-active":{background:a}}},[`${t}-buttons`]:{marginInlineStart:"auto",[`${I}-btn`]:{marginInlineStart:y}}}},[`${t}-primary, &${t}-primary`]:{"--antd-arrow-background-color":a,[`${t}-inner`]:{color:S,textAlign:"start",textDecoration:"none",backgroundColor:a,borderRadius:l,boxShadow:p,[`${t}-close`]:{color:S},[`${t}-indicators`]:{[`${t}-indicator`]:{background:new ct(S).setAlpha(.15).toRgbString(),"&-active":{background:S}}},[`${t}-prev-btn`]:{color:S,borderColor:new ct(S).setAlpha(.15).toRgbString(),backgroundColor:a,"&:hover":{backgroundColor:new ct(S).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${t}-next-btn`]:{color:a,borderColor:"transparent",background:w,"&:hover":{background:new ct(C).onBackground(w).toRgbString()}}}}}),[`${t}-mask`]:{[`${t}-placeholder-animated`]:{transition:`all ${x}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min($,Qg)}}},Jg(e,{colorBg:"var(--antd-arrow-background-color)",contentRadius:$,limitVerticalRadius:!0})]},Une=We("Tour",e=>{const{borderRadiusLG:t,fontSize:n,lineHeight:o}=e,r=Ne(e,{tourZIndexPopup:e.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:t,tourCloseSize:n*o});return[Yne(r)]});var qne=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Zne=Z({name:"ATour",inheritAttrs:!1,props:Vne(),setup(e,t){let{attrs:n,emit:o,slots:r}=t;const{current:l,type:i,steps:a,defaultCurrent:s}=Io(e),{prefixCls:c,direction:u}=Oe("tour",e),[d,p]=Une(c),{currentMergedType:g,updateInnerCurrent:m}=Xne({defaultType:i,steps:a,current:l,defaultCurrent:s});return()=>{const{steps:h,current:b,type:y,rootClassName:S}=e,$=qne(e,["steps","current","type","rootClassName"]),w=ee({[`${c.value}-primary`]:g.value==="primary",[`${c.value}-rtl`]:u.value==="rtl"},p.value,S),C=(I,E)=>f(Gne,D(D({},I),{},{type:y,current:E}),{indicatorsRender:r.indicatorsRender}),O=I=>{m(I),o("update:current",I),o("change",I)},x=P(()=>Zg({arrowPointAtCenter:!0,autoAdjustOverflow:!0}));return d(f(Wne,D(D(D({},n),$),{},{rootClassName:w,prefixCls:c.value,current:b,defaultCurrent:e.defaultCurrent,animated:!0,renderPanel:C,onChange:O,steps:h,builtinPlacements:x.value}),null))}}}),Qne=St(Zne),k8=Symbol("appConfigContext"),Jne=e=>Ue(k8,e),eoe=()=>qe(k8,{}),F8=Symbol("appContext"),toe=e=>Ue(F8,e),noe=ut({message:{},notification:{},modal:{}}),ooe=()=>qe(F8,noe),roe=e=>{const{componentCls:t,colorText:n,fontSize:o,lineHeight:r,fontFamily:l}=e;return{[t]:{color:n,fontSize:o,lineHeight:r,fontFamily:l}}},loe=We("App",e=>[roe(e)]),ioe=()=>({rootClassName:String,message:De(),notification:De()}),aoe=()=>ooe(),aa=Z({name:"AApp",props:Ge(ioe(),{}),setup(e,t){let{slots:n}=t;const{prefixCls:o}=Oe("app",e),[r,l]=loe(o),i=P(()=>ee(l.value,o.value,e.rootClassName)),a=eoe(),s=P(()=>({message:v(v({},a.message),e.message),notification:v(v({},a.notification),e.notification)}));Jne(s.value);const[c,u]=W3(s.value.message),[d,p]=t4(s.value.notification),[g,m]=r6(),h=P(()=>({message:c,notification:d,modal:g}));return toe(h.value),()=>{var b;return r(f("div",{class:i.value},[m(),u(),p(),(b=n.default)===null||b===void 0?void 0:b.call(n)]))}}});aa.useApp=aoe;aa.install=function(e){e.component(aa.name,aa)};const L8=["wrap","nowrap","wrap-reverse"],H8=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],j8=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],soe=(e,t)=>{const n={};return L8.forEach(o=>{n[`${e}-wrap-${o}`]=t.wrap===o}),n},coe=(e,t)=>{const n={};return j8.forEach(o=>{n[`${e}-align-${o}`]=t.align===o}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},uoe=(e,t)=>{const n={};return H8.forEach(o=>{n[`${e}-justify-${o}`]=t.justify===o}),n};function doe(e,t){return ee(v(v(v({},soe(e,t)),coe(e,t)),uoe(e,t)))}const foe=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},poe=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},voe=e=>{const{componentCls:t}=e,n={};return L8.forEach(o=>{n[`${t}-wrap-${o}`]={flexWrap:o}}),n},goe=e=>{const{componentCls:t}=e,n={};return j8.forEach(o=>{n[`${t}-align-${o}`]={alignItems:o}}),n},hoe=e=>{const{componentCls:t}=e,n={};return H8.forEach(o=>{n[`${t}-justify-${o}`]={justifyContent:o}}),n},moe=We("Flex",e=>{const t=Ne(e,{flexGapSM:e.paddingXS,flexGap:e.padding,flexGapLG:e.paddingLG});return[foe(t),poe(t),voe(t),goe(t),hoe(t)]});function cC(e){return["small","middle","large"].includes(e)}const boe=()=>({prefixCls:_e(),vertical:pe(),wrap:_e(),justify:_e(),align:_e(),flex:ze([Number,String]),gap:ze([Number,String]),component:ht()});var yoe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Soe=Z({name:"AFlex",inheritAttrs:!1,props:boe(),setup(e,t){let{slots:n,attrs:o}=t;const{flex:r,direction:l}=Mu(),{prefixCls:i}=Oe("flex",e),[a,s]=moe(i),c=P(()=>{var u;return[i.value,s.value,doe(i.value,e),{[`${i.value}-rtl`]:l.value==="rtl",[`${i.value}-gap-${e.gap}`]:cC(e.gap),[`${i.value}-vertical`]:(u=e.vertical)!==null&&u!==void 0?u:r?.value.vertical}]});return()=>{var u;const{flex:d,gap:p,component:g="div"}=e,m=yoe(e,["flex","gap","component"]),h={};return d&&(h.flex=d),p&&!cC(p)&&(h.gap=`${p}px`),a(f(g,D({class:[o.class,c.value],style:[o.style,h]},Je(m,["justify","wrap","align","vertical"])),{default:()=>[(u=n.default)===null||u===void 0?void 0:u.call(n)]}))}}}),$oe=St(Soe),uC=Object.freeze(Object.defineProperty({__proto__:null,Affix:ux,Alert:SB,Anchor:jr,AnchorLink:rg,App:aa,AutoComplete:UR,AutoCompleteOptGroup:YR,AutoCompleteOption:XR,Avatar:Zr,AvatarGroup:Gc,BackTop:hu,Badge:Qi,BadgeRibbon:Xc,Breadcrumb:Qr,BreadcrumbItem:Ca,BreadcrumbSeparator:nu,Button:It,ButtonGroup:Qc,Calendar:pF,Card:ql,CardGrid:au,CardMeta:iu,Carousel:JL,Cascader:vW,CheckableTag:fu,Checkbox:Qn,CheckboxGroup:uu,Col:SW,Collapse:ea,CollapsePanel:su,Comment:OW,Compact:Vc,ConfigProvider:el,DatePicker:jV,Descriptions:Nl,DescriptionsItem:h4,DirectoryTree:yc,Divider:tK,Drawer:hK,Dropdown:fo,DropdownButton:$a,Empty:fr,Flex:$oe,FloatButton:$r,FloatButtonGroup:gu,Form:pr,FormItem:B3,FormItemRest:Hc,Grid:yW,Image:Vr,ImagePreviewGroup:F4,Input:Lt,InputGroup:P4,InputNumber:XG,InputPassword:M4,InputSearch:I4,Layout:iX,LayoutContent:lX,LayoutFooter:oX,LayoutHeader:nX,LayoutSider:rX,List:cr,ListItem:V4,ListItemMeta:j4,LocaleProvider:F3,Mentions:pY,MentionsOption:gc,Menu:Et,MenuDivider:wa,MenuItem:Mo,MenuItemGroup:xa,Modal:Kt,MonthPicker:ic,PageHeader:WY,Pagination:Dd,Popconfirm:UY,Popover:eh,Progress:ym,QRCode:Ane,QuarterPicker:ac,Radio:fn,RadioButton:ru,RadioGroup:Mh,RangePicker:sc,Rate:RU,Result:nl,Row:qU,Segmented:Rte,Select:Ut,SelectOptGroup:VR,SelectOption:WR,Skeleton:on,SkeletonAvatar:kh,SkeletonButton:Bh,SkeletonImage:zh,SkeletonInput:Nh,SkeletonTitle:pd,Slider:pq,Space:ei,Spin:Eo,Statistic:Wo,StatisticCountdown:MY,Step:hc,Steps:Aq,SubMenu:al,Switch:Hq,TabPane:lu,Table:JQ,TableColumn:$c,TableColumnGroup:Cc,TableSummary:xc,TableSummaryCell:wu,TableSummaryRow:xu,Tabs:Jr,Tag:Jl,Textarea:om,TimePicker:YJ,TimeRangePicker:wc,Timeline:ia,TimelineItem:Ea,Tooltip:On,Tour:Qne,Transfer:CJ,Tree:K6,TreeNode:Sc,TreeSelect:GJ,TreeSelectNode:_v,Typography:wn,TypographyLink:Ti,TypographyParagraph:Mi,TypographyText:Ei,TypographyTitle:Ai,Upload:bte,UploadDragger:mte,Watermark:Pte,WeekPicker:lc,message:sl,notification:wr},Symbol.toStringTag,{value:"Module"})),sr=(e,t)=>new ct(e).setAlpha(t).toRgbString(),Dl=(e,t)=>new ct(e).lighten(t).toHexString(),Coe=e=>{const t=Uo(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},xoe=(e,t)=>{const n=e||"#000",o=t||"#fff";return{colorBgBase:n,colorTextBase:o,colorText:sr(o,.85),colorTextSecondary:sr(o,.65),colorTextTertiary:sr(o,.45),colorTextQuaternary:sr(o,.25),colorFill:sr(o,.18),colorFillSecondary:sr(o,.12),colorFillTertiary:sr(o,.08),colorFillQuaternary:sr(o,.04),colorBgElevated:Dl(n,12),colorBgContainer:Dl(n,8),colorBgLayout:Dl(n,0),colorBgSpotlight:Dl(n,26),colorBorder:Dl(n,26),colorBorderSecondary:Dl(n,19)}},woe=(e,t)=>{const n=Object.keys(Uv).map(r=>{const l=Uo(e[r],{theme:"dark"});return new Array(10).fill(1).reduce((i,a,s)=>(i[`${r}-${s+1}`]=l[s],i),{})}).reduce((r,l)=>(r=v(v({},r),l),r),{}),o=t??qv(e);return v(v(v({},o),n),ox(e,{generateColorPalettes:Coe,generateNeutralColorPalettes:xoe}))},Toe={defaultSeed:Qv.token,defaultAlgorithm:qv,darkAlgorithm:woe},Ooe=function(e){return Object.keys(uC).forEach(t=>{const n=uC[t];n.install&&e.use(n)}),e.use(VO.StyleProvider),e.config.globalProperties.$message=sl,e.config.globalProperties.$notification=wr,e.config.globalProperties.$info=Kt.info,e.config.globalProperties.$success=Kt.success,e.config.globalProperties.$error=Kt.error,e.config.globalProperties.$warning=Kt.warning,e.config.globalProperties.$confirm=Kt.confirm,e.config.globalProperties.$destroyAll=Kt.destroyAll,e},Moe={version:JC,install:Ooe};export{Moe as A,u8 as B,p8 as C,v8 as D,Rm as F,h8 as G,ld as I,b8 as M,y8 as P,Km as R,C8 as S,P8 as T,Toe as a,Td as b,c8 as c,s8 as d,f8 as e,d8 as f,Er as g,Id as h,S8 as i,g8 as j,$8 as k,od as l,m8 as m,sl as n,Rh as o,O8 as p,x8 as q,w8 as r};
|
|
474
|
+
`]:{opacity:1},[o]:{color:e.colorTextDescription,transition:`all ${e.motionDurationSlow}`},[`&:hover ${o}`]:{color:e.colorText}},[`${t}-icon ${o}`]:{color:e.colorTextDescription,fontSize:r},[`${i}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:r+e.paddingXS,fontSize:r,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${i}:hover ${s}`]:{opacity:1,color:e.colorText},[`${i}-error`]:{color:e.colorError,[`${i}-name, ${t}-icon ${o}`]:{color:e.colorError},[a]:{[`${o}, ${o}:hover`]:{color:e.colorError},[s]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},_$=new et("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),R$=new et("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),cte=e=>{const{componentCls:t}=e,n=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${n}-appear, ${n}-enter, ${n}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${n}-appear, ${n}-enter`]:{animationName:_$},[`${n}-leave`]:{animationName:R$}}},_$,R$]},ute=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:o,uploadProgressOffset:r}=e,l=`${t}-list`,i=`${l}-item`;return{[`${t}-wrapper`]:{[`${l}${l}-picture, ${l}${l}-picture-card`]:{[i]:{position:"relative",height:o+e.lineWidth*2+e.paddingXS*2,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${i}-thumbnail`]:v(v({},Dt),{width:o,height:o,lineHeight:`${o+e.paddingSM}px`,textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${i}-progress`]:{bottom:r,width:`calc(100% - ${e.paddingSM*2}px)`,marginTop:0,paddingInlineStart:o+e.paddingXS}},[`${i}-error`]:{borderColor:e.colorError,[`${i}-thumbnail ${n}`]:{"svg path[fill='#e6f7ff']":{fill:e.colorErrorBg},"svg path[fill='#1890ff']":{fill:e.colorError}}},[`${i}-uploading`]:{borderStyle:"dashed",[`${i}-name`]:{marginBottom:r}}}}}},dte=e=>{const{componentCls:t,iconCls:n,fontSizeLG:o,colorTextLightSolid:r}=e,l=`${t}-list`,i=`${l}-item`,a=e.uploadPicCardSize;return{[`${t}-wrapper${t}-picture-card-wrapper`]:v(v({},vo()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:a,height:a,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${l}${l}-picture-card`]:{[`${l}-item-container`]:{display:"inline-block",width:a,height:a,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[i]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${e.paddingXS*2}px)`,height:`calc(100% - ${e.paddingXS*2}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${i}:hover`]:{[`&::before, ${i}-actions`]:{opacity:1}},[`${i}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${n}-eye, ${n}-download, ${n}-delete`]:{zIndex:10,width:o,margin:`0 ${e.marginXXS}px`,fontSize:o,cursor:"pointer",transition:`all ${e.motionDurationSlow}`}},[`${i}-actions, ${i}-actions:hover`]:{[`${n}-eye, ${n}-download, ${n}-delete`]:{color:new ct(r).setAlpha(.65).toRgbString(),"&:hover":{color:r}}},[`${i}-thumbnail, ${i}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${i}-name`]:{display:"none",textAlign:"center"},[`${i}-file + ${i}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${e.paddingXS*2}px)`},[`${i}-uploading`]:{[`&${i}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${i}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${e.paddingXS*2}px)`,paddingInlineStart:0}}})}},fte=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},pte=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:v(v({},Ke(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},vte=We("Upload",e=>{const{fontSizeHeading3:t,fontSize:n,lineHeight:o,lineWidth:r,controlHeightLG:l}=e,i=Math.round(n*o),a=Ne(e,{uploadThumbnailSize:t*2,uploadProgressOffset:i/2+r,uploadPicCardSize:l*2.55});return[pte(a),ate(a),ute(a),dte(a),ste(a),cte(a),fte(a),za(a)]});var gte=function(e,t,n,o){function r(l){return l instanceof n?l:new n(function(i){i(l)})}return new(n||(n=Promise))(function(l,i){function a(u){try{c(o.next(u))}catch(d){i(d)}}function s(u){try{c(o.throw(u))}catch(d){i(d)}}function c(u){u.done?l(u.value):r(u.value).then(a,s)}c((o=o.apply(e,t||[])).next())})},hte=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Vi=`__LIST_IGNORE_${Date.now()}__`,Oc=Z({compatConfig:{MODE:3},name:"AUpload",inheritAttrs:!1,props:Ge(l8(),{type:"select",multiple:!1,action:"",data:{},accept:"",showUploadList:!0,listType:"text",supportServerRender:!0}),setup(e,t){let{slots:n,attrs:o,expose:r}=t;const l=zt(),{prefixCls:i,direction:a,disabled:s}=Oe("upload",e),[c,u]=vte(i),d=Pn(),p=P(()=>{var M;return(M=s.value)!==null&&M!==void 0?M:d.value}),[g,m]=yt(e.defaultFileList||[],{value:He(e,"fileList"),postState:M=>{const R=Date.now();return(M??[]).map((_,L)=>(!_.uid&&!Object.isFrozen(_)&&(_.uid=`__AUTO__${R}_${L}__`),_))}}),h=J("drop"),b=J(null);je(()=>{bt(e.fileList!==void 0||o.value===void 0,"Upload","`value` is not a valid prop, do you mean `fileList`?"),bt(e.transformFile===void 0,"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly."),bt(e.remove===void 0,"Upload","`remove` props is deprecated. Please use `remove` event.")});const y=(M,R,_)=>{var L,T;let B=[...R];e.maxCount===1?B=B.slice(-1):e.maxCount&&(B=B.slice(0,e.maxCount)),m(B);const N={file:M,fileList:B};_&&(N.event=_),(L=e["onUpdate:fileList"])===null||L===void 0||L.call(e,N.fileList),(T=e.onChange)===null||T===void 0||T.call(e,N),l.onFieldChange()},S=(M,R)=>gte(this,void 0,void 0,function*(){const{beforeUpload:_,transformFile:L}=e;let T=M;if(_){const B=yield _(M,R);if(B===!1)return!1;if(delete M[Vi],B===Vi)return Object.defineProperty(M,Vi,{value:!0,configurable:!0}),!1;typeof B=="object"&&B&&(T=B)}return L&&(T=yield L(T)),T}),$=M=>{const R=M.filter(T=>!T.file[Vi]);if(!R.length)return;const _=R.map(T=>As(T.file));let L=[...g.value];_.forEach(T=>{L=Ds(T,L)}),_.forEach((T,B)=>{let N=T;if(R[B].parsedFile)T.status="uploading";else{const{originFileObj:k}=T;let z;try{z=new File([k],k.name,{type:k.type})}catch{z=new Blob([k],{type:k.type}),z.name=k.name,z.lastModifiedDate=new Date,z.lastModified=new Date().getTime()}z.uid=T.uid,N=z}y(N,L)})},w=(M,R,_)=>{try{typeof M=="string"&&(M=JSON.parse(M))}catch{}if(!lp(R,g.value))return;const L=As(R);L.status="done",L.percent=100,L.response=M,L.xhr=_;const T=Ds(L,g.value);y(L,T)},C=(M,R)=>{if(!lp(R,g.value))return;const _=As(R);_.status="uploading",_.percent=M.percent;const L=Ds(_,g.value);y(_,L,M)},O=(M,R,_)=>{if(!lp(_,g.value))return;const L=As(_);L.error=M,L.response=R,L.status="error";const T=Ds(L,g.value);y(L,T)},x=M=>{let R;const _=e.onRemove||e.remove;Promise.resolve(typeof _=="function"?_(M):_).then(L=>{var T,B;if(L===!1)return;const N=Zee(M,g.value);N&&(R=v(v({},M),{status:"removed"}),(T=g.value)===null||T===void 0||T.forEach(k=>{const z=R.uid!==void 0?"uid":"name";k[z]===R[z]&&!Object.isFrozen(k)&&(k.status="removed")}),(B=b.value)===null||B===void 0||B.abort(R),y(R,N))})},I=M=>{var R;h.value=M.type,M.type==="drop"&&((R=e.onDrop)===null||R===void 0||R.call(e,M))};r({onBatchStart:$,onSuccess:w,onProgress:C,onError:O,fileList:g,upload:b});const[E]=oo("Upload",mn.Upload,P(()=>e.locale)),A=(M,R)=>{const{removeIcon:_,previewIcon:L,downloadIcon:T,previewFile:B,onPreview:N,onDownload:k,isImageUrl:z,progress:F,itemRender:H,iconRender:j,showUploadList:K}=e,{showDownloadIcon:X,showPreviewIcon:V,showRemoveIcon:U}=typeof K=="boolean"?{}:K;return K?f(ite,{prefixCls:i.value,listType:e.listType,items:g.value,previewFile:B,onPreview:N,onDownload:k,onRemove:x,showRemoveIcon:!p.value&&U,showPreviewIcon:V,showDownloadIcon:X,removeIcon:_,previewIcon:L,downloadIcon:T,iconRender:j,locale:E.value,isImageUrl:z,progress:F,itemRender:H,appendActionVisible:R,appendAction:M},v({},n)):M?.()};return()=>{var M,R,_;const{listType:L,type:T}=e,{class:B,style:N}=o,k=hte(o,["class","style"]),z=v(v(v({onBatchStart:$,onError:O,onProgress:C,onSuccess:w},k),e),{id:(M=e.id)!==null&&M!==void 0?M:l.id.value,prefixCls:i.value,beforeUpload:S,onChange:void 0,disabled:p.value});delete z.remove,(!n.default||p.value)&&delete z.id;const F={[`${i.value}-rtl`]:a.value==="rtl"};if(T==="drag"){const X=ee(i.value,{[`${i.value}-drag`]:!0,[`${i.value}-drag-uploading`]:g.value.some(V=>V.status==="uploading"),[`${i.value}-drag-hover`]:h.value==="dragover",[`${i.value}-disabled`]:p.value,[`${i.value}-rtl`]:a.value==="rtl"},o.class,u.value);return c(f("span",D(D({},o),{},{class:ee(`${i.value}-wrapper`,F,B,u.value)}),[f("div",{class:X,onDrop:I,onDragover:I,onDragleave:I,style:o.style},[f(T$,D(D({},z),{},{ref:b,class:`${i.value}-btn`}),D({default:()=>[f("div",{class:`${i.value}-drag-container`},[(R=n.default)===null||R===void 0?void 0:R.call(n)])]},n))]),A()]))}const H=ee(i.value,{[`${i.value}-select`]:!0,[`${i.value}-select-${L}`]:!0,[`${i.value}-disabled`]:p.value,[`${i.value}-rtl`]:a.value==="rtl"}),j=gt((_=n.default)===null||_===void 0?void 0:_.call(n)),K=X=>f("div",{class:H,style:X},[f(T$,D(D({},z),{},{ref:b}),n)]);return c(L==="picture-card"?f("span",D(D({},o),{},{class:ee(`${i.value}-wrapper`,`${i.value}-picture-card-wrapper`,F,o.class,u.value)}),[A(K,!!(j&&j.length))]):f("span",D(D({},o),{},{class:ee(`${i.value}-wrapper`,F,o.class,u.value)}),[K(j&&j.length?void 0:{display:"none"}),A()]))}}});var B$=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Pc=Z({compatConfig:{MODE:3},name:"AUploadDragger",inheritAttrs:!1,props:l8(),setup(e,t){let{slots:n,attrs:o}=t;return()=>{const{height:r}=e,l=B$(e,["height"]),{style:i}=o,a=B$(o,["style"]),s=v(v(v({},l),a),{type:"drag",style:v(v({},i),{height:typeof r=="number"?`${r}px`:r})});return f(Oc,s,n)}}}),mte=Pc,bte=v(Oc,{Dragger:Pc,LIST_IGNORE:Vi,install(e){return e.component(Oc.name,Oc),e.component(Pc.name,Pc),e}});function yte(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function Ste(e){return Object.keys(e).map(t=>`${yte(t)}: ${e[t]};`).join(" ")}function N$(){return window.devicePixelRatio||1}function ip(e,t,n,o){e.translate(t,n),e.rotate(Math.PI/180*Number(o)),e.translate(-t,-n)}const $te=(e,t)=>{let n=!1;return e.removedNodes.length&&(n=Array.from(e.removedNodes).some(o=>o===t)),e.type==="attributes"&&e.target===t&&(n=!0),n};var Cte=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function xte(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{window:o=Bw}=n,r=Cte(n,["window"]);let l;const i=_w(()=>o&&"MutationObserver"in o),a=()=>{l&&(l.disconnect(),l=void 0)},s=se(()=>Th(e),u=>{a(),i.value&&o&&u&&(l=new MutationObserver(t),l.observe(u,r))},{immediate:!0}),c=()=>{a(),s()};return Dw(c),{isSupported:i,stop:c}}const ap=2,z$=3,wte=()=>({zIndex:Number,rotate:Number,width:Number,height:Number,image:String,content:ze([String,Array]),font:De(),rootClassName:String,gap:rt(),offset:rt()}),Ote=Z({name:"AWatermark",inheritAttrs:!1,props:Ge(wte(),{zIndex:9,rotate:-22,font:{},gap:[100,100]}),setup(e,t){let{slots:n,attrs:o}=t;const[,r]=Jo(),l=q(),i=q(),a=q(!1),s=P(()=>{var A,M;return(M=(A=e.gap)===null||A===void 0?void 0:A[0])!==null&&M!==void 0?M:100}),c=P(()=>{var A,M;return(M=(A=e.gap)===null||A===void 0?void 0:A[1])!==null&&M!==void 0?M:100}),u=P(()=>s.value/2),d=P(()=>c.value/2),p=P(()=>{var A,M;return(M=(A=e.offset)===null||A===void 0?void 0:A[0])!==null&&M!==void 0?M:u.value}),g=P(()=>{var A,M;return(M=(A=e.offset)===null||A===void 0?void 0:A[1])!==null&&M!==void 0?M:d.value}),m=P(()=>{var A,M;return(M=(A=e.font)===null||A===void 0?void 0:A.fontSize)!==null&&M!==void 0?M:r.value.fontSizeLG}),h=P(()=>{var A,M;return(M=(A=e.font)===null||A===void 0?void 0:A.fontWeight)!==null&&M!==void 0?M:"normal"}),b=P(()=>{var A,M;return(M=(A=e.font)===null||A===void 0?void 0:A.fontStyle)!==null&&M!==void 0?M:"normal"}),y=P(()=>{var A,M;return(M=(A=e.font)===null||A===void 0?void 0:A.fontFamily)!==null&&M!==void 0?M:"sans-serif"}),S=P(()=>{var A,M;return(M=(A=e.font)===null||A===void 0?void 0:A.color)!==null&&M!==void 0?M:r.value.colorFill}),$=P(()=>{var A;const M={zIndex:(A=e.zIndex)!==null&&A!==void 0?A:9,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let R=p.value-u.value,_=g.value-d.value;return R>0&&(M.left=`${R}px`,M.width=`calc(100% - ${R}px)`,R=0),_>0&&(M.top=`${_}px`,M.height=`calc(100% - ${_}px)`,_=0),M.backgroundPosition=`${R}px ${_}px`,M}),w=()=>{i.value&&(i.value.remove(),i.value=void 0)},C=(A,M)=>{var R;l.value&&i.value&&(a.value=!0,i.value.setAttribute("style",Ste(v(v({},$.value),{backgroundImage:`url('${A}')`,backgroundSize:`${(s.value+M)*ap}px`}))),(R=l.value)===null||R===void 0||R.append(i.value),setTimeout(()=>{a.value=!1}))},O=A=>{let M=120,R=64;const _=e.content,L=e.image,T=e.width,B=e.height;if(!L&&A.measureText){A.font=`${Number(m.value)}px ${y.value}`;const N=Array.isArray(_)?_:[_],k=N.map(z=>A.measureText(z).width);M=Math.ceil(Math.max(...k)),R=Number(m.value)*N.length+(N.length-1)*z$}return[T??M,B??R]},x=(A,M,R,_,L)=>{const T=N$(),B=e.content,N=Number(m.value)*T;A.font=`${b.value} normal ${h.value} ${N}px/${L}px ${y.value}`,A.fillStyle=S.value,A.textAlign="center",A.textBaseline="top",A.translate(_/2,0);const k=Array.isArray(B)?B:[B];k?.forEach((z,F)=>{A.fillText(z??"",M,R+F*(N+z$*T))})},I=()=>{var A;const M=document.createElement("canvas"),R=M.getContext("2d"),_=e.image,L=(A=e.rotate)!==null&&A!==void 0?A:-22;if(R){i.value||(i.value=document.createElement("div"));const T=N$(),[B,N]=O(R),k=(s.value+B)*T,z=(c.value+N)*T;M.setAttribute("width",`${k*ap}px`),M.setAttribute("height",`${z*ap}px`);const F=s.value*T/2,H=c.value*T/2,j=B*T,K=N*T,X=(j+s.value*T)/2,V=(K+c.value*T)/2,U=F+k,Q=H+z,ne=X+k,te=V+z;if(R.save(),ip(R,X,V,L),_){const G=new Image;G.onload=()=>{R.drawImage(G,F,H,j,K),R.restore(),ip(R,ne,te,L),R.drawImage(G,U,Q,j,K),C(M.toDataURL(),B)},G.crossOrigin="anonymous",G.referrerPolicy="no-referrer",G.src=_}else x(R,F,H,j,K),R.restore(),ip(R,ne,te,L),x(R,U,Q,j,K),C(M.toDataURL(),B)}};return je(()=>{I()}),se(()=>[e,r.value.colorFill,r.value.fontSizeLG],()=>{I()},{deep:!0,flush:"post"}),Ze(()=>{w()}),xte(l,A=>{a.value||A.forEach(M=>{$te(M,i.value)&&(w(),I())})},{attributes:!0,subtree:!0,childList:!0,attributeFilter:["style","class"]}),()=>{var A;return f("div",D(D({},o),{},{ref:l,class:[o.class,e.rootClassName],style:[{position:"relative"},o.style]}),[(A=n.default)===null||A===void 0?void 0:A.call(n)])}}}),Pte=St(Ote);function k$(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function F$(e){return{backgroundColor:e.bgColorSelected,boxShadow:e.boxShadow}}const Ite=v({overflow:"hidden"},Dt),Tte=e=>{const{componentCls:t}=e;return{[t]:v(v(v(v(v({},Ke(e)),{display:"inline-block",padding:e.segmentedContainerPadding,color:e.labelColor,backgroundColor:e.bgColor,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,"&-selected":v(v({},F$(e)),{color:e.labelColorHover}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.labelColorHover,"&::after":{backgroundColor:e.bgColorHover}},"&-label":v({minHeight:e.controlHeight-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeight-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`},Ite),"&-icon + *":{marginInlineStart:e.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:v(v({},F$(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${e.paddingXXS}px 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:e.controlHeightLG-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightLG-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:e.controlHeightSM-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightSM-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontalSM}px`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),k$(`&-disabled ${t}-item`,e)),k$(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},Mte=We("Segmented",e=>{const{lineWidthBold:t,lineWidth:n,colorTextLabel:o,colorText:r,colorFillSecondary:l,colorBgLayout:i,colorBgElevated:a}=e,s=Ne(e,{segmentedPaddingHorizontal:e.controlPaddingHorizontal-n,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-n,segmentedContainerPadding:t,labelColor:o,labelColorHover:r,bgColor:i,bgColorHover:l,bgColorSelected:a});return[Tte(s)]}),L$=e=>e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null,Al=e=>e!==void 0?`${e}px`:void 0,Ete=Z({props:{value:ht(),getValueIndex:ht(),prefixCls:ht(),motionName:ht(),onMotionStart:ht(),onMotionEnd:ht(),direction:ht(),containerRef:ht()},emits:["motionStart","motionEnd"],setup(e,t){let{emit:n}=t;const o=J(),r=m=>{var h;const b=e.getValueIndex(m),y=(h=e.containerRef.value)===null||h===void 0?void 0:h.querySelectorAll(`.${e.prefixCls}-item`)[b];return y?.offsetParent&&y},l=J(null),i=J(null);se(()=>e.value,(m,h)=>{const b=r(h),y=r(m),S=L$(b),$=L$(y);l.value=S,i.value=$,n(b&&y?"motionStart":"motionEnd")},{flush:"post"});const a=P(()=>{var m,h;return e.direction==="rtl"?Al(-((m=l.value)===null||m===void 0?void 0:m.right)):Al((h=l.value)===null||h===void 0?void 0:h.left)}),s=P(()=>{var m,h;return e.direction==="rtl"?Al(-((m=i.value)===null||m===void 0?void 0:m.right)):Al((h=i.value)===null||h===void 0?void 0:h.left)});let c;const u=m=>{clearTimeout(c),nt(()=>{m&&(m.style.transform="translateX(var(--thumb-start-left))",m.style.width="var(--thumb-start-width)")})},d=m=>{c=setTimeout(()=>{m&&(eu(m,`${e.motionName}-appear-active`),m.style.transform="translateX(var(--thumb-active-left))",m.style.width="var(--thumb-active-width)")})},p=m=>{l.value=null,i.value=null,m&&(m.style.transform=null,m.style.width=null,tu(m,`${e.motionName}-appear-active`)),n("motionEnd")},g=P(()=>{var m,h;return{"--thumb-start-left":a.value,"--thumb-start-width":Al((m=l.value)===null||m===void 0?void 0:m.width),"--thumb-active-left":s.value,"--thumb-active-width":Al((h=i.value)===null||h===void 0?void 0:h.width)}});return Ze(()=>{clearTimeout(c)}),()=>{const m={ref:o,style:g.value,class:[`${e.prefixCls}-thumb`]};return f(Gt,{appear:!0,onBeforeEnter:u,onEnter:d,onAfterEnter:p},{default:()=>[!l.value||!i.value?null:f("div",m,null)]})}}});function Ate(e){return e.map(t=>typeof t=="object"&&t!==null?t:{label:t?.toString(),title:t?.toString(),value:t})}const Dte=()=>({prefixCls:String,options:rt(),block:pe(),disabled:pe(),size:_e(),value:v(v({},ze([String,Number])),{required:!0}),motionName:String,onChange:le(),"onUpdate:value":le()}),a8=(e,t)=>{let{slots:n,emit:o}=t;const{value:r,disabled:l,payload:i,title:a,prefixCls:s,label:c=n.label,checked:u,className:d}=e,p=g=>{l||o("change",g,r)};return f("label",{class:ee({[`${s}-item-disabled`]:l},d)},[f("input",{class:`${s}-item-input`,type:"radio",disabled:l,checked:u,onChange:p},null),f("div",{class:`${s}-item-label`,title:typeof a=="string"?a:""},[typeof c=="function"?c({value:r,disabled:l,payload:i,title:a}):c??r])])};a8.inheritAttrs=!1;const _te=Z({name:"ASegmented",inheritAttrs:!1,props:Ge(Dte(),{options:[],motionName:"thumb-motion"}),slots:Object,setup(e,t){let{emit:n,slots:o,attrs:r}=t;const{prefixCls:l,direction:i,size:a}=Oe("segmented",e),[s,c]=Mte(l),u=q(),d=q(!1),p=P(()=>Ate(e.options)),g=(m,h)=>{e.disabled||(n("update:value",h),n("change",h))};return()=>{const m=l.value;return s(f("div",D(D({},r),{},{class:ee(m,{[c.value]:!0,[`${m}-block`]:e.block,[`${m}-disabled`]:e.disabled,[`${m}-lg`]:a.value=="large",[`${m}-sm`]:a.value=="small",[`${m}-rtl`]:i.value==="rtl"},r.class),ref:u}),[f("div",{class:`${m}-group`},[f(Ete,{containerRef:u,prefixCls:m,value:e.value,motionName:`${m}-${e.motionName}`,direction:i.value,getValueIndex:h=>p.value.findIndex(b=>b.value===h),onMotionStart:()=>{d.value=!0},onMotionEnd:()=>{d.value=!1}},null),p.value.map(h=>f(a8,D(D({key:h.value,prefixCls:m,checked:h.value===e.value,onChange:g},h),{},{className:ee(h.className,`${m}-item`,{[`${m}-item-selected`]:h.value===e.value&&!d.value}),disabled:!!e.disabled||!!h.disabled}),o))])]))}}}),Rte=St(_te),Bte=e=>{const{componentCls:t}=e;return{[t]:v(v({},Ke(e)),{display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,position:"relative",width:"100%",height:"100%",overflow:"hidden",[`& > ${t}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${t}-expired , & > ${t}-scanned`]:{color:e.QRCodeTextColor}},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}}),[`${t}-borderless`]:{borderColor:"transparent"}}},Nte=We("QRCode",e=>Bte(Ne(e,{QRCodeTextColor:"rgba(0, 0, 0, 0.88)",QRCodeMaskBackgroundColor:"rgba(255, 255, 255, 0.96)"})));var zte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z"}}]},name:"api",theme:"outlined"};function H$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){kte(e,r,n[r])})}return e}function kte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s8=function(t,n){var o=H$({},t,n.attrs);return f(Re,H$({},o,{icon:zte}),null)};s8.displayName="ApiOutlined";s8.inheritAttrs=!1;var Fte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};function j$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Lte(e,r,n[r])})}return e}function Lte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c8=function(t,n){var o=j$({},t,n.attrs);return f(Re,j$({},o,{icon:Fte}),null)};c8.displayName="AppstoreOutlined";c8.inheritAttrs=!1;var Hte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"};function W$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){jte(e,r,n[r])})}return e}function jte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u8=function(t,n){var o=W$({},t,n.attrs);return f(Re,W$({},o,{icon:Hte}),null)};u8.displayName="BookOutlined";u8.inheritAttrs=!1;var Wte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"branches",theme:"outlined"};function V$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Vte(e,r,n[r])})}return e}function Vte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d8=function(t,n){var o=V$({},t,n.attrs);return f(Re,V$({},o,{icon:Wte}),null)};d8.displayName="BranchesOutlined";d8.inheritAttrs=!1;var Kte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z"}},{tag:"path",attrs:{d:"M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z"}},{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}}]},name:"cloud-server",theme:"outlined"};function K$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Gte(e,r,n[r])})}return e}function Gte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f8=function(t,n){var o=K$({},t,n.attrs);return f(Re,K$({},o,{icon:Kte}),null)};f8.displayName="CloudServerOutlined";f8.inheritAttrs=!1;var Xte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8s0 .1.1.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8 0 0 0 .1-.1.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7zM620 539v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8v.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8v.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7z"}}]},name:"control",theme:"outlined"};function G$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Yte(e,r,n[r])})}return e}function Yte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p8=function(t,n){var o=G$({},t,n.attrs);return f(Re,G$({},o,{icon:Xte}),null)};p8.displayName="ControlOutlined";p8.inheritAttrs=!1;var Ute={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z"}}]},name:"dashboard",theme:"outlined"};function X$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){qte(e,r,n[r])})}return e}function qte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v8=function(t,n){var o=X$({},t,n.attrs);return f(Re,X$({},o,{icon:Ute}),null)};v8.displayName="DashboardOutlined";v8.inheritAttrs=!1;var Zte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z"}}]},name:"desktop",theme:"outlined"};function Y$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Qte(e,r,n[r])})}return e}function Qte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g8=function(t,n){var o=Y$({},t,n.attrs);return f(Re,Y$({},o,{icon:Zte}),null)};g8.displayName="DesktopOutlined";g8.inheritAttrs=!1;var Jte={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"};function U$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ene(e,r,n[r])})}return e}function ene(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h8=function(t,n){var o=U$({},t,n.attrs);return f(Re,U$({},o,{icon:Jte}),null)};h8.displayName="GlobalOutlined";h8.inheritAttrs=!1;var tne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840zM652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"medicine-box",theme:"outlined"};function q$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){nne(e,r,n[r])})}return e}function nne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m8=function(t,n){var o=q$({},t,n.attrs);return f(Re,q$({},o,{icon:tne}),null)};m8.displayName="MedicineBoxOutlined";m8.inheritAttrs=!1;var one={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"message",theme:"outlined"};function Z$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){rne(e,r,n[r])})}return e}function rne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b8=function(t,n){var o=Z$({},t,n.attrs);return f(Re,Z$({},o,{icon:one}),null)};b8.displayName="MessageOutlined";b8.inheritAttrs=!1;var lne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"};function Q$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ine(e,r,n[r])})}return e}function ine(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y8=function(t,n){var o=Q$({},t,n.attrs);return f(Re,Q$({},o,{icon:lne}),null)};y8.displayName="PlayCircleOutlined";y8.inheritAttrs=!1;var ane={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};function J$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){sne(e,r,n[r])})}return e}function sne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Km=function(t,n){var o=J$({},t,n.attrs);return f(Re,J$({},o,{icon:ane}),null)};Km.displayName="ReloadOutlined";Km.inheritAttrs=!1;var cne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"};function eC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){une(e,r,n[r])})}return e}function une(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S8=function(t,n){var o=eC({},t,n.attrs);return f(Re,eC({},o,{icon:cne}),null)};S8.displayName="RobotOutlined";S8.inheritAttrs=!1;var dne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"};function tC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){fne(e,r,n[r])})}return e}function fne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $8=function(t,n){var o=tC({},t,n.attrs);return f(Re,tC({},o,{icon:dne}),null)};$8.displayName="SendOutlined";$8.inheritAttrs=!1;var pne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"};function nC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){vne(e,r,n[r])})}return e}function vne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C8=function(t,n){var o=nC({},t,n.attrs);return f(Re,nC({},o,{icon:pne}),null)};C8.displayName="SettingOutlined";C8.inheritAttrs=!1;var gne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"};function oC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){hne(e,r,n[r])})}return e}function hne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x8=function(t,n){var o=oC({},t,n.attrs);return f(Re,oC({},o,{icon:gne}),null)};x8.displayName="StarOutlined";x8.inheritAttrs=!1;var mne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"};function rC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){bne(e,r,n[r])})}return e}function bne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w8=function(t,n){var o=rC({},t,n.attrs);return f(Re,rC({},o,{icon:mne}),null)};w8.displayName="SyncOutlined";w8.inheritAttrs=!1;var yne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}}]},name:"thunderbolt",theme:"outlined"};function lC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Sne(e,r,n[r])})}return e}function Sne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O8=function(t,n){var o=lC({},t,n.attrs);return f(Re,lC({},o,{icon:yne}),null)};O8.displayName="ThunderboltOutlined";O8.inheritAttrs=!1;var $ne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z"}}]},name:"tool",theme:"outlined"};function iC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Cne(e,r,n[r])})}return e}function Cne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P8=function(t,n){var o=iC({},t,n.attrs);return f(Re,iC({},o,{icon:$ne}),null)};P8.displayName="ToolOutlined";P8.inheritAttrs=!1;const Gm=()=>({size:{type:Number,default:160},value:{type:String,required:!0},type:_e("canvas"),color:String,bgColor:String,includeMargin:Boolean,imageSettings:De()}),xne=()=>v(v({},Gm()),{errorLevel:_e("M"),icon:String,iconSize:{type:Number,default:40},status:_e("active"),bordered:{type:Boolean,default:!0}});var qn;(function(e){class t{static encodeText(a,s){const c=e.QrSegment.makeSegments(a);return t.encodeSegments(c,s)}static encodeBinary(a,s){const c=e.QrSegment.makeBytes(a);return t.encodeSegments([c],s)}static encodeSegments(a,s){let c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:40,d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1,p=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;if(!(t.MIN_VERSION<=c&&c<=u&&u<=t.MAX_VERSION)||d<-1||d>7)throw new RangeError("Invalid value");let g,m;for(g=c;;g++){const S=t.getNumDataCodewords(g,s)*8,$=l.getTotalBits(a,g);if($<=S){m=$;break}if(g>=u)throw new RangeError("Data too long")}for(const S of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])p&&m<=t.getNumDataCodewords(g,S)*8&&(s=S);const h=[];for(const S of a){n(S.mode.modeBits,4,h),n(S.numChars,S.mode.numCharCountBits(g),h);for(const $ of S.getData())h.push($)}r(h.length==m);const b=t.getNumDataCodewords(g,s)*8;r(h.length<=b),n(0,Math.min(4,b-h.length),h),n(0,(8-h.length%8)%8,h),r(h.length%8==0);for(let S=236;h.length<b;S^=253)n(S,8,h);const y=[];for(;y.length*8<h.length;)y.push(0);return h.forEach((S,$)=>y[$>>>3]|=S<<7-($&7)),new t(g,s,y,d)}constructor(a,s,c,u){if(this.version=a,this.errorCorrectionLevel=s,this.modules=[],this.isFunction=[],a<t.MIN_VERSION||a>t.MAX_VERSION)throw new RangeError("Version value out of range");if(u<-1||u>7)throw new RangeError("Mask value out of range");this.size=a*4+17;const d=[];for(let g=0;g<this.size;g++)d.push(!1);for(let g=0;g<this.size;g++)this.modules.push(d.slice()),this.isFunction.push(d.slice());this.drawFunctionPatterns();const p=this.addEccAndInterleave(c);if(this.drawCodewords(p),u==-1){let g=1e9;for(let m=0;m<8;m++){this.applyMask(m),this.drawFormatBits(m);const h=this.getPenaltyScore();h<g&&(u=m,g=h),this.applyMask(m)}}r(0<=u&&u<=7),this.mask=u,this.applyMask(u),this.drawFormatBits(u),this.isFunction=[]}getModule(a,s){return 0<=a&&a<this.size&&0<=s&&s<this.size&&this.modules[s][a]}getModules(){return this.modules}drawFunctionPatterns(){for(let c=0;c<this.size;c++)this.setFunctionModule(6,c,c%2==0),this.setFunctionModule(c,6,c%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const a=this.getAlignmentPatternPositions(),s=a.length;for(let c=0;c<s;c++)for(let u=0;u<s;u++)c==0&&u==0||c==0&&u==s-1||c==s-1&&u==0||this.drawAlignmentPattern(a[c],a[u]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(a){const s=this.errorCorrectionLevel.formatBits<<3|a;let c=s;for(let d=0;d<10;d++)c=c<<1^(c>>>9)*1335;const u=(s<<10|c)^21522;r(u>>>15==0);for(let d=0;d<=5;d++)this.setFunctionModule(8,d,o(u,d));this.setFunctionModule(8,7,o(u,6)),this.setFunctionModule(8,8,o(u,7)),this.setFunctionModule(7,8,o(u,8));for(let d=9;d<15;d++)this.setFunctionModule(14-d,8,o(u,d));for(let d=0;d<8;d++)this.setFunctionModule(this.size-1-d,8,o(u,d));for(let d=8;d<15;d++)this.setFunctionModule(8,this.size-15+d,o(u,d));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let a=this.version;for(let c=0;c<12;c++)a=a<<1^(a>>>11)*7973;const s=this.version<<12|a;r(s>>>18==0);for(let c=0;c<18;c++){const u=o(s,c),d=this.size-11+c%3,p=Math.floor(c/3);this.setFunctionModule(d,p,u),this.setFunctionModule(p,d,u)}}drawFinderPattern(a,s){for(let c=-4;c<=4;c++)for(let u=-4;u<=4;u++){const d=Math.max(Math.abs(u),Math.abs(c)),p=a+u,g=s+c;0<=p&&p<this.size&&0<=g&&g<this.size&&this.setFunctionModule(p,g,d!=2&&d!=4)}}drawAlignmentPattern(a,s){for(let c=-2;c<=2;c++)for(let u=-2;u<=2;u++)this.setFunctionModule(a+u,s+c,Math.max(Math.abs(u),Math.abs(c))!=1)}setFunctionModule(a,s,c){this.modules[s][a]=c,this.isFunction[s][a]=!0}addEccAndInterleave(a){const s=this.version,c=this.errorCorrectionLevel;if(a.length!=t.getNumDataCodewords(s,c))throw new RangeError("Invalid argument");const u=t.NUM_ERROR_CORRECTION_BLOCKS[c.ordinal][s],d=t.ECC_CODEWORDS_PER_BLOCK[c.ordinal][s],p=Math.floor(t.getNumRawDataModules(s)/8),g=u-p%u,m=Math.floor(p/u),h=[],b=t.reedSolomonComputeDivisor(d);for(let S=0,$=0;S<u;S++){const w=a.slice($,$+m-d+(S<g?0:1));$+=w.length;const C=t.reedSolomonComputeRemainder(w,b);S<g&&w.push(0),h.push(w.concat(C))}const y=[];for(let S=0;S<h[0].length;S++)h.forEach(($,w)=>{(S!=m-d||w>=g)&&y.push($[S])});return r(y.length==p),y}drawCodewords(a){if(a.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let s=0;for(let c=this.size-1;c>=1;c-=2){c==6&&(c=5);for(let u=0;u<this.size;u++)for(let d=0;d<2;d++){const p=c-d,m=(c+1&2)==0?this.size-1-u:u;!this.isFunction[m][p]&&s<a.length*8&&(this.modules[m][p]=o(a[s>>>3],7-(s&7)),s++)}}r(s==a.length*8)}applyMask(a){if(a<0||a>7)throw new RangeError("Mask value out of range");for(let s=0;s<this.size;s++)for(let c=0;c<this.size;c++){let u;switch(a){case 0:u=(c+s)%2==0;break;case 1:u=s%2==0;break;case 2:u=c%3==0;break;case 3:u=(c+s)%3==0;break;case 4:u=(Math.floor(c/3)+Math.floor(s/2))%2==0;break;case 5:u=c*s%2+c*s%3==0;break;case 6:u=(c*s%2+c*s%3)%2==0;break;case 7:u=((c+s)%2+c*s%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[s][c]&&u&&(this.modules[s][c]=!this.modules[s][c])}}getPenaltyScore(){let a=0;for(let d=0;d<this.size;d++){let p=!1,g=0;const m=[0,0,0,0,0,0,0];for(let h=0;h<this.size;h++)this.modules[d][h]==p?(g++,g==5?a+=t.PENALTY_N1:g>5&&a++):(this.finderPenaltyAddHistory(g,m),p||(a+=this.finderPenaltyCountPatterns(m)*t.PENALTY_N3),p=this.modules[d][h],g=1);a+=this.finderPenaltyTerminateAndCount(p,g,m)*t.PENALTY_N3}for(let d=0;d<this.size;d++){let p=!1,g=0;const m=[0,0,0,0,0,0,0];for(let h=0;h<this.size;h++)this.modules[h][d]==p?(g++,g==5?a+=t.PENALTY_N1:g>5&&a++):(this.finderPenaltyAddHistory(g,m),p||(a+=this.finderPenaltyCountPatterns(m)*t.PENALTY_N3),p=this.modules[h][d],g=1);a+=this.finderPenaltyTerminateAndCount(p,g,m)*t.PENALTY_N3}for(let d=0;d<this.size-1;d++)for(let p=0;p<this.size-1;p++){const g=this.modules[d][p];g==this.modules[d][p+1]&&g==this.modules[d+1][p]&&g==this.modules[d+1][p+1]&&(a+=t.PENALTY_N2)}let s=0;for(const d of this.modules)s=d.reduce((p,g)=>p+(g?1:0),s);const c=this.size*this.size,u=Math.ceil(Math.abs(s*20-c*10)/c)-1;return r(0<=u&&u<=9),a+=u*t.PENALTY_N4,r(0<=a&&a<=2568888),a}getAlignmentPatternPositions(){if(this.version==1)return[];{const a=Math.floor(this.version/7)+2,s=this.version==32?26:Math.ceil((this.version*4+4)/(a*2-2))*2,c=[6];for(let u=this.size-7;c.length<a;u-=s)c.splice(1,0,u);return c}}static getNumRawDataModules(a){if(a<t.MIN_VERSION||a>t.MAX_VERSION)throw new RangeError("Version number out of range");let s=(16*a+128)*a+64;if(a>=2){const c=Math.floor(a/7)+2;s-=(25*c-10)*c-55,a>=7&&(s-=36)}return r(208<=s&&s<=29648),s}static getNumDataCodewords(a,s){return Math.floor(t.getNumRawDataModules(a)/8)-t.ECC_CODEWORDS_PER_BLOCK[s.ordinal][a]*t.NUM_ERROR_CORRECTION_BLOCKS[s.ordinal][a]}static reedSolomonComputeDivisor(a){if(a<1||a>255)throw new RangeError("Degree out of range");const s=[];for(let u=0;u<a-1;u++)s.push(0);s.push(1);let c=1;for(let u=0;u<a;u++){for(let d=0;d<s.length;d++)s[d]=t.reedSolomonMultiply(s[d],c),d+1<s.length&&(s[d]^=s[d+1]);c=t.reedSolomonMultiply(c,2)}return s}static reedSolomonComputeRemainder(a,s){const c=s.map(u=>0);for(const u of a){const d=u^c.shift();c.push(0),s.forEach((p,g)=>c[g]^=t.reedSolomonMultiply(p,d))}return c}static reedSolomonMultiply(a,s){if(a>>>8||s>>>8)throw new RangeError("Byte out of range");let c=0;for(let u=7;u>=0;u--)c=c<<1^(c>>>7)*285,c^=(s>>>u&1)*a;return r(c>>>8==0),c}finderPenaltyCountPatterns(a){const s=a[1];r(s<=this.size*3);const c=s>0&&a[2]==s&&a[3]==s*3&&a[4]==s&&a[5]==s;return(c&&a[0]>=s*4&&a[6]>=s?1:0)+(c&&a[6]>=s*4&&a[0]>=s?1:0)}finderPenaltyTerminateAndCount(a,s,c){return a&&(this.finderPenaltyAddHistory(s,c),s=0),s+=this.size,this.finderPenaltyAddHistory(s,c),this.finderPenaltyCountPatterns(c)}finderPenaltyAddHistory(a,s){s[0]==0&&(a+=this.size),s.pop(),s.unshift(a)}}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(i,a,s){if(a<0||a>31||i>>>a)throw new RangeError("Value out of range");for(let c=a-1;c>=0;c--)s.push(i>>>c&1)}function o(i,a){return(i>>>a&1)!=0}function r(i){if(!i)throw new Error("Assertion error")}class l{static makeBytes(a){const s=[];for(const c of a)n(c,8,s);return new l(l.Mode.BYTE,a.length,s)}static makeNumeric(a){if(!l.isNumeric(a))throw new RangeError("String contains non-numeric characters");const s=[];for(let c=0;c<a.length;){const u=Math.min(a.length-c,3);n(parseInt(a.substring(c,c+u),10),u*3+1,s),c+=u}return new l(l.Mode.NUMERIC,a.length,s)}static makeAlphanumeric(a){if(!l.isAlphanumeric(a))throw new RangeError("String contains unencodable characters in alphanumeric mode");const s=[];let c;for(c=0;c+2<=a.length;c+=2){let u=l.ALPHANUMERIC_CHARSET.indexOf(a.charAt(c))*45;u+=l.ALPHANUMERIC_CHARSET.indexOf(a.charAt(c+1)),n(u,11,s)}return c<a.length&&n(l.ALPHANUMERIC_CHARSET.indexOf(a.charAt(c)),6,s),new l(l.Mode.ALPHANUMERIC,a.length,s)}static makeSegments(a){return a==""?[]:l.isNumeric(a)?[l.makeNumeric(a)]:l.isAlphanumeric(a)?[l.makeAlphanumeric(a)]:[l.makeBytes(l.toUtf8ByteArray(a))]}static makeEci(a){const s=[];if(a<0)throw new RangeError("ECI assignment value out of range");if(a<128)n(a,8,s);else if(a<16384)n(2,2,s),n(a,14,s);else if(a<1e6)n(6,3,s),n(a,21,s);else throw new RangeError("ECI assignment value out of range");return new l(l.Mode.ECI,0,s)}static isNumeric(a){return l.NUMERIC_REGEX.test(a)}static isAlphanumeric(a){return l.ALPHANUMERIC_REGEX.test(a)}constructor(a,s,c){if(this.mode=a,this.numChars=s,this.bitData=c,s<0)throw new RangeError("Invalid argument");this.bitData=c.slice()}getData(){return this.bitData.slice()}static getTotalBits(a,s){let c=0;for(const u of a){const d=u.mode.numCharCountBits(s);if(u.numChars>=1<<d)return 1/0;c+=4+d+u.bitData.length}return c}static toUtf8ByteArray(a){a=encodeURI(a);const s=[];for(let c=0;c<a.length;c++)a.charAt(c)!="%"?s.push(a.charCodeAt(c)):(s.push(parseInt(a.substring(c+1,c+3),16)),c+=2);return s}}l.NUMERIC_REGEX=/^[0-9]*$/,l.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,l.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=l})(qn||(qn={}));(function(e){(function(t){class n{constructor(r,l){this.ordinal=r,this.formatBits=l}}n.LOW=new n(0,1),n.MEDIUM=new n(1,0),n.QUARTILE=new n(2,3),n.HIGH=new n(3,2),t.Ecc=n})(e.QrCode||(e.QrCode={}))})(qn||(qn={}));(function(e){(function(t){class n{constructor(r,l){this.modeBits=r,this.numBitsCharCount=l}numCharCountBits(r){return this.numBitsCharCount[Math.floor((r+7)/17)]}}n.NUMERIC=new n(1,[10,12,14]),n.ALPHANUMERIC=new n(2,[9,11,13]),n.BYTE=new n(4,[8,16,16]),n.KANJI=new n(8,[8,10,12]),n.ECI=new n(7,[0,0,0]),t.Mode=n})(e.QrSegment||(e.QrSegment={}))})(qn||(qn={}));const I8={L:qn.QrCode.Ecc.LOW,M:qn.QrCode.Ecc.MEDIUM,Q:qn.QrCode.Ecc.QUARTILE,H:qn.QrCode.Ecc.HIGH},Rv=128,T8="L",M8="#FFFFFF",E8="#000000",A8=!1,wne=4,One=0,Pne=.1;function D8(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const n=[];return e.forEach(function(o,r){let l=null;o.forEach(function(i,a){if(!i&&l!==null){n.push(`M${l+t} ${r+t}h${a-l}v1H${l+t}z`),l=null;return}if(a===o.length-1){if(!i)return;l===null?n.push(`M${a+t},${r+t} h1v1H${a+t}z`):n.push(`M${l+t},${r+t} h${a+1-l}v1H${l+t}z`);return}i&&l===null&&(l=a)})}),n.join("")}function _8(e,t){return e.slice().map((n,o)=>o<t.y||o>=t.y+t.h?n:n.map((r,l)=>l<t.x||l>=t.x+t.w?r:!1))}function R8(e,t,n,o){if(o==null)return null;const r=e.length+n*2,l=Math.floor(t*Pne),i=r/t,a=(o.width||l)*i,s=(o.height||l)*i,c=o.x==null?e.length/2-a/2:o.x*i,u=o.y==null?e.length/2-s/2:o.y*i;let d=null;if(o.excavate){const p=Math.floor(c),g=Math.floor(u),m=Math.ceil(a+c-p),h=Math.ceil(s+u-g);d={x:p,y:g,w:m,h}}return{x:c,y:u,h:s,w:a,excavation:d}}function B8(e,t){return t!=null?Math.floor(t):e?wne:One}const Ine=(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})(),Tne=Z({name:"QRCodeCanvas",inheritAttrs:!1,props:v(v({},Gm()),{level:String,bgColor:String,fgColor:String,marginSize:Number}),setup(e,t){let{attrs:n,expose:o}=t;const r=P(()=>{var s;return(s=e.imageSettings)===null||s===void 0?void 0:s.src}),l=q(null),i=q(null),a=q(!1);return o({toDataURL:(s,c)=>{var u;return(u=l.value)===null||u===void 0?void 0:u.toDataURL(s,c)}}),Le(()=>{const{value:s,size:c=Rv,level:u=T8,bgColor:d=M8,fgColor:p=E8,includeMargin:g=A8,marginSize:m,imageSettings:h}=e;if(l.value!=null){const b=l.value,y=b.getContext("2d");if(!y)return;let S=qn.QrCode.encodeText(s,I8[u]).getModules();const $=B8(g,m),w=S.length+$*2,C=R8(S,c,$,h),O=i.value,x=a.value&&C!=null&&O!==null&&O.complete&&O.naturalHeight!==0&&O.naturalWidth!==0;x&&C.excavation!=null&&(S=_8(S,C.excavation));const I=window.devicePixelRatio||1;b.height=b.width=c*I;const E=c/w*I;y.scale(E,E),y.fillStyle=d,y.fillRect(0,0,w,w),y.fillStyle=p,Ine?y.fill(new Path2D(D8(S,$))):S.forEach(function(A,M){A.forEach(function(R,_){R&&y.fillRect(_+$,M+$,1,1)})}),x&&y.drawImage(O,C.x+$,C.y+$,C.w,C.h)}},{flush:"post"}),se(r,()=>{a.value=!1}),()=>{var s;const c=(s=e.size)!==null&&s!==void 0?s:Rv,u={height:`${c}px`,width:`${c}px`};let d=null;return r.value!=null&&(d=f("img",{src:r.value,key:r.value,style:{display:"none"},onLoad:()=>{a.value=!0},ref:i},null)),f(Qe,null,[f("canvas",D(D({},n),{},{style:[u,n.style],ref:l}),null),d])}}}),Mne=Z({name:"QRCodeSVG",inheritAttrs:!1,props:v(v({},Gm()),{color:String,level:String,bgColor:String,fgColor:String,marginSize:Number,title:String}),setup(e){let t=null,n=null,o=null,r=null,l=null,i=null;return Le(()=>{const{value:a,size:s=Rv,level:c=T8,includeMargin:u=A8,marginSize:d,imageSettings:p}=e;t=qn.QrCode.encodeText(a,I8[c]).getModules(),n=B8(u,d),o=t.length+n*2,r=R8(t,s,n,p),p!=null&&r!=null&&(r.excavation!=null&&(t=_8(t,r.excavation)),i=f("image",{"xlink:href":p.src,height:r.h,width:r.w,x:r.x+n,y:r.y+n,preserveAspectRatio:"none"},null)),l=D8(t,n)}),()=>{const a=e.bgColor&&M8,s=e.fgColor&&E8;return f("svg",{height:e.size,width:e.size,viewBox:`0 0 ${o} ${o}`},[!!e.title&&f("title",null,[e.title]),f("path",{fill:a,d:`M0,0 h${o}v${o}H0z`,"shape-rendering":"crispEdges"},null),f("path",{fill:s,d:l,"shape-rendering":"crispEdges"},null),i])}}}),Ene=Z({name:"AQrcode",inheritAttrs:!1,props:xne(),emits:["refresh"],setup(e,t){let{emit:n,attrs:o,expose:r}=t;const[l]=oo("QRCode"),{prefixCls:i}=Oe("qrcode",e),[a,s]=Nte(i),[,c]=Jo(),u=J();r({toDataURL:(p,g)=>{var m;return(m=u.value)===null||m===void 0?void 0:m.toDataURL(p,g)}});const d=P(()=>{const{value:p,icon:g="",size:m=160,iconSize:h=40,color:b=c.value.colorText,bgColor:y="transparent",errorLevel:S="M"}=e,$={src:g,x:void 0,y:void 0,height:h,width:h,excavate:!0};return{value:p,size:m-(c.value.paddingSM+c.value.lineWidth)*2,level:S,bgColor:y,fgColor:b,imageSettings:g?$:void 0}});return()=>{const p=i.value;return a(f("div",D(D({},o),{},{style:[o.style,{width:`${e.size}px`,height:`${e.size}px`,backgroundColor:d.value.bgColor}],class:[s.value,p,{[`${p}-borderless`]:!e.bordered}]}),[e.status!=="active"&&f("div",{class:`${p}-mask`},[e.status==="loading"&&f(Eo,null,null),e.status==="expired"&&f(Qe,null,[f("p",{class:`${p}-expired`},[l.value.expired]),f(It,{type:"link",onClick:g=>n("refresh",g)},{default:()=>[l.value.refresh],icon:()=>f(Km,null,null)})]),e.status==="scanned"&&f("p",{class:`${p}-scanned`},[l.value.scanned])]),e.type==="canvas"?f(Tne,D({ref:u},d.value),null):f(Mne,d.value,null)]))}}}),Ane=St(Ene);function Dne(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:o,right:r,bottom:l,left:i}=e.getBoundingClientRect();return o>=0&&i>=0&&r<=t&&l<=n}function _ne(e,t,n,o){const[r,l]=ft(void 0);Le(()=>{const u=typeof e.value=="function"?e.value():e.value;l(u||null)},{flush:"post"});const[i,a]=ft(null),s=()=>{if(!t.value){a(null);return}if(r.value){!Dne(r.value)&&t.value&&r.value.scrollIntoView(o.value);const{left:u,top:d,width:p,height:g}=r.value.getBoundingClientRect(),m={left:u,top:d,width:p,height:g,radius:0};JSON.stringify(i.value)!==JSON.stringify(m)&&a(m)}else a(null)};return je(()=>{se([t,r],()=>{s()},{flush:"post",immediate:!0}),window.addEventListener("resize",s)}),Ze(()=>{window.removeEventListener("resize",s)}),[P(()=>{var u,d;if(!i.value)return i.value;const p=((u=n.value)===null||u===void 0?void 0:u.offset)||6,g=((d=n.value)===null||d===void 0?void 0:d.radius)||2;return{left:i.value.left-p,top:i.value.top-p,width:i.value.width+p*2,height:i.value.height+p*2,radius:g}}),r]}const Rne=()=>({arrow:ze([Boolean,Object]),target:ze([String,Function,Object]),title:ze([String,Object]),description:ze([String,Object]),placement:_e(),mask:ze([Object,Boolean],!0),className:{type:String},style:De(),scrollIntoViewOptions:ze([Boolean,Object])}),Xm=()=>v(v({},Rne()),{prefixCls:{type:String},total:{type:Number},current:{type:Number},onClose:le(),onFinish:le(),renderPanel:le(),onPrev:le(),onNext:le()}),Bne=Z({name:"DefaultPanel",inheritAttrs:!1,props:Xm(),setup(e,t){let{attrs:n}=t;return()=>{const{prefixCls:o,current:r,total:l,title:i,description:a,onClose:s,onPrev:c,onNext:u,onFinish:d}=e;return f("div",D(D({},n),{},{class:ee(`${o}-content`,n.class)}),[f("div",{class:`${o}-inner`},[f("button",{type:"button",onClick:s,"aria-label":"Close",class:`${o}-close`},[f("span",{class:`${o}-close-x`},[vn("×")])]),f("div",{class:`${o}-header`},[f("div",{class:`${o}-title`},[i])]),f("div",{class:`${o}-description`},[a]),f("div",{class:`${o}-footer`},[f("div",{class:`${o}-sliders`},[l>1?[...Array.from({length:l}).keys()].map((p,g)=>f("span",{key:p,class:g===r?"active":""},null)):null]),f("div",{class:`${o}-buttons`},[r!==0?f("button",{class:`${o}-prev-btn`,onClick:c},[vn("Prev")]):null,r===l-1?f("button",{class:`${o}-finish-btn`,onClick:d},[vn("Finish")]):f("button",{class:`${o}-next-btn`,onClick:u},[vn("Next")])])])])])}}}),Nne=Z({name:"TourStep",inheritAttrs:!1,props:Xm(),setup(e,t){let{attrs:n}=t;return()=>{const{current:o,renderPanel:r}=e;return f(Qe,null,[typeof r=="function"?r(v(v({},n),e),o):f(Bne,D(D({},n),e),null)])}}});let aC=0;const zne=sn();function kne(){let e;return zne?(e=aC,aC+=1):e="TEST_OR_SSR",e}function Fne(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:J("");const t=`vc_unique_${kne()}`;return e.value||t}const _s={fill:"transparent","pointer-events":"auto"},Lne=Z({name:"TourMask",props:{prefixCls:{type:String},pos:De(),rootClassName:{type:String},showMask:pe(),fill:{type:String,default:"rgba(0,0,0,0.5)"},open:pe(),animated:ze([Boolean,Object]),zIndex:{type:Number}},setup(e,t){let{attrs:n}=t;const o=Fne();return()=>{const{prefixCls:r,open:l,rootClassName:i,pos:a,showMask:s,fill:c,animated:u,zIndex:d}=e,p=`${r}-mask-${o}`,g=typeof u=="object"?u?.placeholder:u;return f(_a,{visible:l,autoLock:!0},{default:()=>l&&f("div",D(D({},n),{},{class:ee(`${r}-mask`,i,n.class),style:[{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:d,pointerEvents:"none"},n.style]}),[s?f("svg",{style:{width:"100%",height:"100%"}},[f("defs",null,[f("mask",{id:p},[f("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"},null),a&&f("rect",{x:a.left,y:a.top,rx:a.radius,width:a.width,height:a.height,fill:"black",class:g?`${r}-placeholder-animated`:""},null)])]),f("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:c,mask:`url(#${p})`},null),a&&f(Qe,null,[f("rect",D(D({},_s),{},{x:"0",y:"0",width:"100%",height:a.top}),null),f("rect",D(D({},_s),{},{x:"0",y:"0",width:a.left,height:"100%"}),null),f("rect",D(D({},_s),{},{x:"0",y:a.top+a.height,width:"100%",height:`calc(100vh - ${a.top+a.height}px)`}),null),f("rect",D(D({},_s),{},{x:a.left+a.width,y:"0",width:`calc(100vw - ${a.left+a.width}px)`,height:"100%"}),null)])]):null])})}}}),Hne=[0,0],sC={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function N8(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const t={};return Object.keys(sC).forEach(n=>{t[n]=v(v({},sC[n]),{autoArrow:e,targetOffset:Hne})}),t}N8();var jne=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const sp={left:"50%",top:"50%",width:"1px",height:"1px"},z8=()=>{const{builtinPlacements:e,popupAlign:t}=Ox();return{builtinPlacements:e,popupAlign:t,steps:rt(),open:pe(),defaultCurrent:{type:Number},current:{type:Number},onChange:le(),onClose:le(),onFinish:le(),mask:ze([Boolean,Object],!0),arrow:ze([Boolean,Object],!0),rootClassName:{type:String},placement:_e("bottom"),prefixCls:{type:String,default:"rc-tour"},renderPanel:le(),gap:De(),animated:ze([Boolean,Object]),scrollIntoViewOptions:ze([Boolean,Object],!0),zIndex:{type:Number,default:1001}}},Wne=Z({name:"Tour",inheritAttrs:!1,props:Ge(z8(),{}),setup(e){const{defaultCurrent:t,placement:n,mask:o,scrollIntoViewOptions:r,open:l,gap:i,arrow:a}=Io(e),s=J(),[c,u]=yt(0,{value:P(()=>e.current),defaultValue:t.value}),[d,p]=yt(void 0,{value:P(()=>e.open),postState:x=>c.value<0||c.value>=e.steps.length?!1:x??!0}),g=q(d.value);Le(()=>{d.value&&!g.value&&u(0),g.value=d.value});const m=P(()=>e.steps[c.value]||{}),h=P(()=>{var x;return(x=m.value.placement)!==null&&x!==void 0?x:n.value}),b=P(()=>{var x;return d.value&&((x=m.value.mask)!==null&&x!==void 0?x:o.value)}),y=P(()=>{var x;return(x=m.value.scrollIntoViewOptions)!==null&&x!==void 0?x:r.value}),[S,$]=_ne(P(()=>m.value.target),l,i,y),w=P(()=>$.value?typeof m.value.arrow>"u"?a.value:m.value.arrow:!1),C=P(()=>typeof w.value=="object"?w.value.pointAtCenter:!1);se(C,()=>{var x;(x=s.value)===null||x===void 0||x.forcePopupAlign()}),se(c,()=>{var x;(x=s.value)===null||x===void 0||x.forcePopupAlign()});const O=x=>{var I;u(x),(I=e.onChange)===null||I===void 0||I.call(e,x)};return()=>{var x;const{prefixCls:I,steps:E,onClose:A,onFinish:M,rootClassName:R,renderPanel:_,animated:L,zIndex:T}=e,B=jne(e,["prefixCls","steps","onClose","onFinish","rootClassName","renderPanel","animated","zIndex"]);if($.value===void 0)return null;const N=()=>{p(!1),A?.(c.value)},k=typeof b.value=="boolean"?b.value:!!b.value,z=typeof b.value=="boolean"?void 0:b.value,F=()=>$.value||document.body,H=()=>f(Nne,D({arrow:w.value,key:"content",prefixCls:I,total:E.length,renderPanel:_,onPrev:()=>{O(c.value-1)},onNext:()=>{O(c.value+1)},onClose:N,current:c.value,onFinish:()=>{N(),M?.()}},m.value),null),j=P(()=>{const K=S.value||sp,X={};return Object.keys(K).forEach(V=>{typeof K[V]=="number"?X[V]=`${K[V]}px`:X[V]=K[V]}),X});return d.value?f(Qe,null,[f(Lne,{zIndex:T,prefixCls:I,pos:S.value,showMask:k,style:z?.style,fill:z?.color,open:d.value,animated:L,rootClassName:R},null),f(ml,D(D({},B),{},{arrow:!!B.arrow,builtinPlacements:m.value.target?(x=B.builtinPlacements)!==null&&x!==void 0?x:N8(C.value):void 0,ref:s,popupStyle:m.value.target?m.value.style:v(v({},m.value.style),{position:"fixed",left:sp.left,top:sp.top,transform:"translate(-50%, -50%)"}),popupPlacement:h.value,popupVisible:d.value,popupClassName:ee(R,m.value.className),prefixCls:I,popup:H,forceRender:!1,destroyPopupOnHide:!0,zIndex:T,mask:!1,getTriggerDOMNode:F}),{default:()=>[f(_a,{visible:d.value,autoLock:!0},{default:()=>[f("div",{class:ee(R,`${I}-target-placeholder`),style:v(v({},j.value),{position:"fixed",pointerEvents:"none"})},null)]})]})]):null}}}),Vne=()=>v(v({},z8()),{steps:{type:Array},prefixCls:{type:String},current:{type:Number},type:{type:String},"onUpdate:current":Function}),Kne=()=>v(v({},Xm()),{cover:{type:Object},nextButtonProps:{type:Object},prevButtonProps:{type:Object},current:{type:Number},type:{type:String}}),Gne=Z({name:"ATourPanel",inheritAttrs:!1,props:Kne(),setup(e,t){let{attrs:n,slots:o}=t;const{current:r,total:l}=Io(e),i=P(()=>r.value===l.value-1),a=c=>{var u;const d=e.prevButtonProps;(u=e.onPrev)===null||u===void 0||u.call(e,c),typeof d?.onClick=="function"&&d?.onClick()},s=c=>{var u,d;const p=e.nextButtonProps;i.value?(u=e.onFinish)===null||u===void 0||u.call(e,c):(d=e.onNext)===null||d===void 0||d.call(e,c),typeof p?.onClick=="function"&&p?.onClick()};return()=>{const{prefixCls:c,title:u,onClose:d,cover:p,description:g,type:m,arrow:h}=e,b=e.prevButtonProps,y=e.nextButtonProps;let S;u&&(S=f("div",{class:`${c}-header`},[f("div",{class:`${c}-title`},[u])]));let $;g&&($=f("div",{class:`${c}-description`},[g]));let w;p&&(w=f("div",{class:`${c}-cover`},[p]));let C;o.indicatorsRender?C=o.indicatorsRender({current:r.value,total:l}):C=[...Array.from({length:l.value}).keys()].map((I,E)=>f("span",{key:I,class:ee(E===r.value&&`${c}-indicator-active`,`${c}-indicator`)},null));const O=m==="primary"?"default":"primary",x={type:"default",ghost:m==="primary"};return f(dl,{componentName:"Tour",defaultLocale:mn.Tour},{default:I=>{var E;return f("div",D(D({},n),{},{class:ee(m==="primary"?`${c}-primary`:"",n.class,`${c}-content`)}),[h&&f("div",{class:`${c}-arrow`,key:"arrow"},null),f("div",{class:`${c}-inner`},[f(un,{class:`${c}-close`,onClick:d},null),w,S,$,f("div",{class:`${c}-footer`},[l.value>1&&f("div",{class:`${c}-indicators`},[C]),f("div",{class:`${c}-buttons`},[r.value!==0?f(It,D(D(D({},x),b),{},{onClick:a,size:"small",class:ee(`${c}-prev-btn`,b?.className)}),{default:()=>[cp(b?.children)?b.children():(E=b?.children)!==null&&E!==void 0?E:I.Previous]}):null,f(It,D(D({type:O},y),{},{onClick:s,size:"small",class:ee(`${c}-next-btn`,y?.className)}),{default:()=>[cp(y?.children)?y?.children():i.value?I.Finish:I.Next]})])])])])}})}}}),Xne=e=>{let{defaultType:t,steps:n,current:o,defaultCurrent:r}=e;const l=J(r?.value),i=P(()=>o?.value);se(i,u=>{l.value=u??r?.value},{immediate:!0});const a=u=>{l.value=u},s=P(()=>{var u,d;return typeof l.value=="number"?n&&((d=(u=n.value)===null||u===void 0?void 0:u[l.value])===null||d===void 0?void 0:d.type):t?.value});return{currentMergedType:P(()=>{var u;return(u=s.value)!==null&&u!==void 0?u:t?.value}),updateInnerCurrent:a}},Yne=e=>{const{componentCls:t,lineHeight:n,padding:o,paddingXS:r,borderRadius:l,borderRadiusXS:i,colorPrimary:a,colorText:s,colorFill:c,indicatorHeight:u,indicatorWidth:d,boxShadowTertiary:p,tourZIndexPopup:g,fontSize:m,colorBgContainer:h,fontWeightStrong:b,marginXS:y,colorTextLightSolid:S,tourBorderRadius:$,colorWhite:w,colorBgTextHover:C,tourCloseSize:O,motionDurationSlow:x,antCls:I}=e;return[{[t]:v(v({},Ke(e)),{color:s,position:"absolute",zIndex:g,display:"block",visibility:"visible",fontSize:m,lineHeight:n,width:520,"--antd-arrow-background-color":h,"&-pure":{maxWidth:"100%",position:"relative"},[`&${t}-hidden`]:{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:$,boxShadow:p,position:"relative",backgroundColor:h,border:"none",backgroundClip:"padding-box",[`${t}-close`]:{position:"absolute",top:o,insetInlineEnd:o,color:e.colorIcon,outline:"none",width:O,height:O,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${t}-cover`]:{textAlign:"center",padding:`${o+O+r}px ${o}px 0`,img:{width:"100%"}},[`${t}-header`]:{padding:`${o}px ${o}px ${r}px`,[`${t}-title`]:{lineHeight:n,fontSize:m,fontWeight:b}},[`${t}-description`]:{padding:`0 ${o}px`,lineHeight:n,wordWrap:"break-word"},[`${t}-footer`]:{padding:`${r}px ${o}px ${o}px`,textAlign:"end",borderRadius:`0 0 ${i}px ${i}px`,display:"flex",[`${t}-indicators`]:{display:"inline-block",[`${t}-indicator`]:{width:d,height:u,display:"inline-block",borderRadius:"50%",background:c,"&:not(:last-child)":{marginInlineEnd:u},"&-active":{background:a}}},[`${t}-buttons`]:{marginInlineStart:"auto",[`${I}-btn`]:{marginInlineStart:y}}}},[`${t}-primary, &${t}-primary`]:{"--antd-arrow-background-color":a,[`${t}-inner`]:{color:S,textAlign:"start",textDecoration:"none",backgroundColor:a,borderRadius:l,boxShadow:p,[`${t}-close`]:{color:S},[`${t}-indicators`]:{[`${t}-indicator`]:{background:new ct(S).setAlpha(.15).toRgbString(),"&-active":{background:S}}},[`${t}-prev-btn`]:{color:S,borderColor:new ct(S).setAlpha(.15).toRgbString(),backgroundColor:a,"&:hover":{backgroundColor:new ct(S).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${t}-next-btn`]:{color:a,borderColor:"transparent",background:w,"&:hover":{background:new ct(C).onBackground(w).toRgbString()}}}}}),[`${t}-mask`]:{[`${t}-placeholder-animated`]:{transition:`all ${x}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min($,Qg)}}},Jg(e,{colorBg:"var(--antd-arrow-background-color)",contentRadius:$,limitVerticalRadius:!0})]},Une=We("Tour",e=>{const{borderRadiusLG:t,fontSize:n,lineHeight:o}=e,r=Ne(e,{tourZIndexPopup:e.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:t,tourCloseSize:n*o});return[Yne(r)]});var qne=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Zne=Z({name:"ATour",inheritAttrs:!1,props:Vne(),setup(e,t){let{attrs:n,emit:o,slots:r}=t;const{current:l,type:i,steps:a,defaultCurrent:s}=Io(e),{prefixCls:c,direction:u}=Oe("tour",e),[d,p]=Une(c),{currentMergedType:g,updateInnerCurrent:m}=Xne({defaultType:i,steps:a,current:l,defaultCurrent:s});return()=>{const{steps:h,current:b,type:y,rootClassName:S}=e,$=qne(e,["steps","current","type","rootClassName"]),w=ee({[`${c.value}-primary`]:g.value==="primary",[`${c.value}-rtl`]:u.value==="rtl"},p.value,S),C=(I,E)=>f(Gne,D(D({},I),{},{type:y,current:E}),{indicatorsRender:r.indicatorsRender}),O=I=>{m(I),o("update:current",I),o("change",I)},x=P(()=>Zg({arrowPointAtCenter:!0,autoAdjustOverflow:!0}));return d(f(Wne,D(D(D({},n),$),{},{rootClassName:w,prefixCls:c.value,current:b,defaultCurrent:e.defaultCurrent,animated:!0,renderPanel:C,onChange:O,steps:h,builtinPlacements:x.value}),null))}}}),Qne=St(Zne),k8=Symbol("appConfigContext"),Jne=e=>Ue(k8,e),eoe=()=>qe(k8,{}),F8=Symbol("appContext"),toe=e=>Ue(F8,e),noe=ut({message:{},notification:{},modal:{}}),ooe=()=>qe(F8,noe),roe=e=>{const{componentCls:t,colorText:n,fontSize:o,lineHeight:r,fontFamily:l}=e;return{[t]:{color:n,fontSize:o,lineHeight:r,fontFamily:l}}},loe=We("App",e=>[roe(e)]),ioe=()=>({rootClassName:String,message:De(),notification:De()}),aoe=()=>ooe(),aa=Z({name:"AApp",props:Ge(ioe(),{}),setup(e,t){let{slots:n}=t;const{prefixCls:o}=Oe("app",e),[r,l]=loe(o),i=P(()=>ee(l.value,o.value,e.rootClassName)),a=eoe(),s=P(()=>({message:v(v({},a.message),e.message),notification:v(v({},a.notification),e.notification)}));Jne(s.value);const[c,u]=W3(s.value.message),[d,p]=t4(s.value.notification),[g,m]=r6(),h=P(()=>({message:c,notification:d,modal:g}));return toe(h.value),()=>{var b;return r(f("div",{class:i.value},[m(),u(),p(),(b=n.default)===null||b===void 0?void 0:b.call(n)]))}}});aa.useApp=aoe;aa.install=function(e){e.component(aa.name,aa)};const L8=["wrap","nowrap","wrap-reverse"],H8=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],j8=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],soe=(e,t)=>{const n={};return L8.forEach(o=>{n[`${e}-wrap-${o}`]=t.wrap===o}),n},coe=(e,t)=>{const n={};return j8.forEach(o=>{n[`${e}-align-${o}`]=t.align===o}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},uoe=(e,t)=>{const n={};return H8.forEach(o=>{n[`${e}-justify-${o}`]=t.justify===o}),n};function doe(e,t){return ee(v(v(v({},soe(e,t)),coe(e,t)),uoe(e,t)))}const foe=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},poe=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},voe=e=>{const{componentCls:t}=e,n={};return L8.forEach(o=>{n[`${t}-wrap-${o}`]={flexWrap:o}}),n},goe=e=>{const{componentCls:t}=e,n={};return j8.forEach(o=>{n[`${t}-align-${o}`]={alignItems:o}}),n},hoe=e=>{const{componentCls:t}=e,n={};return H8.forEach(o=>{n[`${t}-justify-${o}`]={justifyContent:o}}),n},moe=We("Flex",e=>{const t=Ne(e,{flexGapSM:e.paddingXS,flexGap:e.padding,flexGapLG:e.paddingLG});return[foe(t),poe(t),voe(t),goe(t),hoe(t)]});function cC(e){return["small","middle","large"].includes(e)}const boe=()=>({prefixCls:_e(),vertical:pe(),wrap:_e(),justify:_e(),align:_e(),flex:ze([Number,String]),gap:ze([Number,String]),component:ht()});var yoe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Soe=Z({name:"AFlex",inheritAttrs:!1,props:boe(),setup(e,t){let{slots:n,attrs:o}=t;const{flex:r,direction:l}=Mu(),{prefixCls:i}=Oe("flex",e),[a,s]=moe(i),c=P(()=>{var u;return[i.value,s.value,doe(i.value,e),{[`${i.value}-rtl`]:l.value==="rtl",[`${i.value}-gap-${e.gap}`]:cC(e.gap),[`${i.value}-vertical`]:(u=e.vertical)!==null&&u!==void 0?u:r?.value.vertical}]});return()=>{var u;const{flex:d,gap:p,component:g="div"}=e,m=yoe(e,["flex","gap","component"]),h={};return d&&(h.flex=d),p&&!cC(p)&&(h.gap=`${p}px`),a(f(g,D({class:[o.class,c.value],style:[o.style,h]},Je(m,["justify","wrap","align","vertical"])),{default:()=>[(u=n.default)===null||u===void 0?void 0:u.call(n)]}))}}}),$oe=St(Soe),uC=Object.freeze(Object.defineProperty({__proto__:null,Affix:ux,Alert:SB,Anchor:jr,AnchorLink:rg,App:aa,AutoComplete:UR,AutoCompleteOptGroup:YR,AutoCompleteOption:XR,Avatar:Zr,AvatarGroup:Gc,BackTop:hu,Badge:Qi,BadgeRibbon:Xc,Breadcrumb:Qr,BreadcrumbItem:Ca,BreadcrumbSeparator:nu,Button:It,ButtonGroup:Qc,Calendar:pF,Card:ql,CardGrid:au,CardMeta:iu,Carousel:JL,Cascader:vW,CheckableTag:fu,Checkbox:Qn,CheckboxGroup:uu,Col:SW,Collapse:ea,CollapsePanel:su,Comment:OW,Compact:Vc,ConfigProvider:el,DatePicker:jV,Descriptions:Nl,DescriptionsItem:h4,DirectoryTree:yc,Divider:tK,Drawer:hK,Dropdown:fo,DropdownButton:$a,Empty:fr,Flex:$oe,FloatButton:$r,FloatButtonGroup:gu,Form:pr,FormItem:B3,FormItemRest:Hc,Grid:yW,Image:Vr,ImagePreviewGroup:F4,Input:Lt,InputGroup:P4,InputNumber:XG,InputPassword:M4,InputSearch:I4,Layout:iX,LayoutContent:lX,LayoutFooter:oX,LayoutHeader:nX,LayoutSider:rX,List:cr,ListItem:V4,ListItemMeta:j4,LocaleProvider:F3,Mentions:pY,MentionsOption:gc,Menu:Et,MenuDivider:wa,MenuItem:Mo,MenuItemGroup:xa,Modal:Kt,MonthPicker:ic,PageHeader:WY,Pagination:Dd,Popconfirm:UY,Popover:eh,Progress:ym,QRCode:Ane,QuarterPicker:ac,Radio:fn,RadioButton:ru,RadioGroup:Mh,RangePicker:sc,Rate:RU,Result:nl,Row:qU,Segmented:Rte,Select:Ut,SelectOptGroup:VR,SelectOption:WR,Skeleton:on,SkeletonAvatar:kh,SkeletonButton:Bh,SkeletonImage:zh,SkeletonInput:Nh,SkeletonTitle:pd,Slider:pq,Space:ei,Spin:Eo,Statistic:Wo,StatisticCountdown:MY,Step:hc,Steps:Aq,SubMenu:al,Switch:Hq,TabPane:lu,Table:JQ,TableColumn:$c,TableColumnGroup:Cc,TableSummary:xc,TableSummaryCell:wu,TableSummaryRow:xu,Tabs:Jr,Tag:Jl,Textarea:om,TimePicker:YJ,TimeRangePicker:wc,Timeline:ia,TimelineItem:Ea,Tooltip:On,Tour:Qne,Transfer:CJ,Tree:K6,TreeNode:Sc,TreeSelect:GJ,TreeSelectNode:_v,Typography:wn,TypographyLink:Ti,TypographyParagraph:Mi,TypographyText:Ei,TypographyTitle:Ai,Upload:bte,UploadDragger:mte,Watermark:Pte,WeekPicker:lc,message:sl,notification:wr},Symbol.toStringTag,{value:"Module"})),sr=(e,t)=>new ct(e).setAlpha(t).toRgbString(),Dl=(e,t)=>new ct(e).lighten(t).toHexString(),Coe=e=>{const t=Uo(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},xoe=(e,t)=>{const n=e||"#000",o=t||"#fff";return{colorBgBase:n,colorTextBase:o,colorText:sr(o,.85),colorTextSecondary:sr(o,.65),colorTextTertiary:sr(o,.45),colorTextQuaternary:sr(o,.25),colorFill:sr(o,.18),colorFillSecondary:sr(o,.12),colorFillTertiary:sr(o,.08),colorFillQuaternary:sr(o,.04),colorBgElevated:Dl(n,12),colorBgContainer:Dl(n,8),colorBgLayout:Dl(n,0),colorBgSpotlight:Dl(n,26),colorBorder:Dl(n,26),colorBorderSecondary:Dl(n,19)}},woe=(e,t)=>{const n=Object.keys(Uv).map(r=>{const l=Uo(e[r],{theme:"dark"});return new Array(10).fill(1).reduce((i,a,s)=>(i[`${r}-${s+1}`]=l[s],i),{})}).reduce((r,l)=>(r=v(v({},r),l),r),{}),o=t??qv(e);return v(v(v({},o),n),ox(e,{generateColorPalettes:Coe,generateNeutralColorPalettes:xoe}))},Toe={defaultSeed:Qv.token,defaultAlgorithm:qv,darkAlgorithm:woe},Ooe=function(e){return Object.keys(uC).forEach(t=>{const n=uC[t];n.install&&e.use(n)}),e.use(VO.StyleProvider),e.config.globalProperties.$message=sl,e.config.globalProperties.$notification=wr,e.config.globalProperties.$info=Kt.info,e.config.globalProperties.$success=Kt.success,e.config.globalProperties.$error=Kt.error,e.config.globalProperties.$warning=Kt.warning,e.config.globalProperties.$confirm=Kt.confirm,e.config.globalProperties.$destroyAll=Kt.destroyAll,e},Moe={version:JC,install:Ooe};export{Moe as A,u8 as B,p8 as C,v8 as D,Rm as F,h8 as G,ld as I,b8 as M,y8 as P,Km as R,C8 as S,O8 as T,Toe as a,Td as b,c8 as c,s8 as d,f8 as e,d8 as f,Er as g,Id as h,S8 as i,g8 as j,P8 as k,$8 as l,od as m,m8 as n,sl as o,Rh as p,x8 as q,w8 as r};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./AppLayout-
|
|
2
|
-
import{S as k,U as x,V as L,f as A,c as y,o as I,W as S,u as
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./AppLayout-BfLjLMsm.js","./vendor-CN0Iv_qZ.js","./ws-DwluTqT5.js","./_plugin-vue_export-helper-DlAUqK2U.js","./antd-CJSBocer.js","./AppLayout-CFP4dGIJ.css","./Dashboard-BGGdnr6t.js","./chat-C_hu-qNs.js","./Dashboard-CRFnDUFh.css","./Chat-DP7PO9Li.js","./markdown-Bo5cVN4u.js","./Chat-DB46afPg.css","./Services-DUDL_UGb.js","./Services-C8Qs6KXv.css","./Logs-BOii-AoO.js","./Logs-Gf_Mv9Nx.css","./Skills-DXXELJc3.js","./parsers-DftYMnlk.js","./Skills-BdjRyorN.css","./Providers-Dkt7021l.js","./Providers-Brm-S_hS.css","./McpTools-DmiJtJYr.js","./McpTools-CyhSLDwf.css","./Notes-CVhqqoS1.js","./Notes-BG69sJKi.css","./Memory-CDRMMobU.js","./Memory-DRghrGJr.css","./Cron-DyQF-7R1.js","./Tasks-BwZ63-mq.js","./Tasks-Cr_XXNyQ.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{S as k,U as x,V as L,f as A,c as y,o as I,W as S,u as T,X as E,Y as R,Z as O,k as w,R as V,_ as D}from"./vendor-CN0Iv_qZ.js";import{a as h,A as M}from"./antd-CJSBocer.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))d(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const a of t.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&d(a)}).observe(document,{childList:!0,subtree:!0});function i(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function d(e){if(e.ep)return;e.ep=!0;const t=i(e);fetch(e.href,t)}})();const C="modulepreload",N=function(c,o){return new URL(c,o).href},B={},s=function(o,i,d){let e=Promise.resolve();if(i&&i.length>0){let _=function(n){return Promise.all(n.map(f=>Promise.resolve(f).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};const a=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),m=r?.nonce||r?.getAttribute("nonce");e=_(i.map(n=>{if(n=N(n,d),n in B)return;B[n]=!0;const f=n.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(d)for(let p=a.length-1;p>=0;p--){const g=a[p];if(g.href===n&&(!f||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${u}`))return;const l=document.createElement("link");if(l.rel=f?"stylesheet":C,f||(l.as="script"),l.crossOrigin="",l.href=n,m&&l.setAttribute("nonce",m),document.head.appendChild(l),f)return new Promise((p,g)=>{l.addEventListener("load",p),l.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${n}`)))})}))}function t(a){const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=a,window.dispatchEvent(r),!r.defaultPrevented)throw a}return e.then(a=>{for(const r of a||[])r.status==="rejected"&&t(r.reason);return o().catch(t)})},U=[{path:"/",component:()=>s(()=>import("./AppLayout-BfLjLMsm.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),children:[{path:"",redirect:"/dashboard"},{path:"dashboard",name:"Dashboard",component:()=>s(()=>import("./Dashboard-BGGdnr6t.js"),__vite__mapDeps([6,1,2,7,3,4,8]),import.meta.url)},{path:"chat",name:"Chat",component:()=>s(()=>import("./Chat-DP7PO9Li.js"),__vite__mapDeps([9,1,10,4,7,2,3,11]),import.meta.url)},{path:"services",name:"Services",component:()=>s(()=>import("./Services-DUDL_UGb.js"),__vite__mapDeps([12,2,1,3,4,13]),import.meta.url)},{path:"logs",name:"Logs",component:()=>s(()=>import("./Logs-BOii-AoO.js"),__vite__mapDeps([14,2,1,3,4,15]),import.meta.url)},{path:"skills",name:"Skills",component:()=>s(()=>import("./Skills-DXXELJc3.js"),__vite__mapDeps([16,1,2,17,7,3,4,18]),import.meta.url)},{path:"providers",name:"Providers",component:()=>s(()=>import("./Providers-Dkt7021l.js"),__vite__mapDeps([19,1,2,17,3,4,20]),import.meta.url)},{path:"mcp",name:"McpTools",component:()=>s(()=>import("./McpTools-DmiJtJYr.js"),__vite__mapDeps([21,2,1,3,4,22]),import.meta.url)},{path:"notes",name:"Notes",component:()=>s(()=>import("./Notes-CVhqqoS1.js"),__vite__mapDeps([23,2,1,3,4,24]),import.meta.url)},{path:"memory",name:"Memory",component:()=>s(()=>import("./Memory-CDRMMobU.js"),__vite__mapDeps([25,2,1,3,4,26]),import.meta.url)},{path:"cron",name:"Cron",component:()=>s(()=>import("./Cron-DyQF-7R1.js"),__vite__mapDeps([27,2,1,4]),import.meta.url)},{path:"tasks",name:"Tasks",component:()=>s(()=>import("./Tasks-BwZ63-mq.js"),__vite__mapDeps([28,1,2,3,4,29]),import.meta.url)}]}],F=k({history:x(),routes:U}),P="cc_theme",v={dark:{label:"暗黑",icon:"🌑",antd:{algorithm:h.darkAlgorithm,token:{colorPrimary:"#1677ff",colorBgBase:"#141414",colorBgContainer:"#1f1f1f",colorBgElevated:"#2a2a2a",borderRadius:8,fontFamily:'system-ui, -apple-system, "Segoe UI", sans-serif'},components:{Layout:{siderBg:"#1c1c1c",headerBg:"#1c1c1c",bodyBg:"#141414"},Menu:{darkItemBg:"#1c1c1c",darkSubMenuItemBg:"#171717"}}},vars:{"--bg-base":"#141414","--bg-sidebar":"#1c1c1c","--bg-header":"#1c1c1c","--bg-card":"#1f1f1f","--bg-card-hover":"#262626","--border-color":"#252525","--border-subtle":"#1e1e1e","--text-primary":"#e0e0e0","--text-secondary":"#888","--text-muted":"#444","--logo-text":"#ffffff","--menu-mode":"dark","--shadow-card":"0 2px 8px rgba(0,0,0,.45)","--group-title":"#3a3a3a"}},light:{label:"亮白",icon:"☀️",antd:{algorithm:h.defaultAlgorithm,token:{colorPrimary:"#1677ff",colorBgBase:"#ffffff",colorBgContainer:"#ffffff",colorBgElevated:"#ffffff",borderRadius:8,fontFamily:'system-ui, -apple-system, "Segoe UI", sans-serif'},components:{Layout:{siderBg:"#ffffff",headerBg:"#ffffff",bodyBg:"#f4f6fb"},Menu:{itemBg:"#ffffff"}}},vars:{"--bg-base":"#f4f6fb","--bg-sidebar":"#ffffff","--bg-header":"#ffffff","--bg-card":"#ffffff","--bg-card-hover":"#f0f4ff","--border-color":"#e8edf5","--border-subtle":"#f0f0f0","--text-primary":"#1a1a2e","--text-secondary":"#5a6474","--text-muted":"#b0b8c8","--logo-text":"#1a1a2e","--menu-mode":"light","--shadow-card":"0 2px 12px rgba(0,0,0,.07)","--group-title":"#aab0bc"}},blue:{label:"深蓝",icon:"🌊",antd:{algorithm:h.darkAlgorithm,token:{colorPrimary:"#2f80ed",colorBgBase:"#0d1117",colorBgContainer:"#161b22",colorBgElevated:"#1c2230",borderRadius:8,fontFamily:'system-ui, -apple-system, "Segoe UI", sans-serif'},components:{Layout:{siderBg:"#0f1923",headerBg:"#0f1923",bodyBg:"#0d1117"},Menu:{darkItemBg:"#0f1923",darkSubMenuItemBg:"#0b1520"}}},vars:{"--bg-base":"#0d1117","--bg-sidebar":"#0f1923","--bg-header":"#0f1923","--bg-card":"#161b22","--bg-card-hover":"#1c2230","--border-color":"#21303f","--border-subtle":"#182030","--text-primary":"#c9d8ef","--text-secondary":"#6e8caa","--text-muted":"#2d4060","--logo-text":"#e0eeff","--menu-mode":"dark","--shadow-card":"0 2px 8px rgba(0,40,80,.5)","--group-title":"#2d4060"}},green:{label:"翠绿",icon:"🌿",antd:{algorithm:h.darkAlgorithm,token:{colorPrimary:"#29a270",colorBgBase:"#0a1a12",colorBgContainer:"#0f2318",colorBgElevated:"#152e20",borderRadius:8,fontFamily:'system-ui, -apple-system, "Segoe UI", sans-serif'},components:{Layout:{siderBg:"#0c1e14",headerBg:"#0c1e14",bodyBg:"#0a1a12"},Menu:{darkItemBg:"#0c1e14",darkSubMenuItemBg:"#091810"}}},vars:{"--bg-base":"#0a1a12","--bg-sidebar":"#0c1e14","--bg-header":"#0c1e14","--bg-card":"#0f2318","--bg-card-hover":"#152e20","--border-color":"#1a3828","--border-subtle":"#122a1c","--text-primary":"#c0e8c8","--text-secondary":"#5a9a6a","--text-muted":"#1e4028","--logo-text":"#d8f0e0","--menu-mode":"dark","--shadow-card":"0 2px 8px rgba(0,40,20,.5)","--group-title":"#1e4028"}}},$=L("theme",()=>{const c=A(localStorage.getItem(P)||"dark"),o=y(()=>v[c.value]||v.dark),i=y(()=>o.value.antd),d=y(()=>c.value!=="light");function e(){const r=o.value.vars,m=document.documentElement;for(const[_,n]of Object.entries(r))m.style.setProperty(_,n);m.setAttribute("data-theme",c.value)}function t(r){v[r]&&(c.value=r,localStorage.setItem(P,r),e())}function a(){e()}return{current:c,config:o,antdTheme:i,isDark:d,setTheme:t,init:a}}),j={__name:"App",setup(c){const o=$();return I(()=>o.init()),(i,d)=>{const e=E("router-view"),t=E("a-config-provider");return R(),S(t,{theme:T(o).antdTheme},{default:O(()=>[w(e)]),_:1},8,["theme"])}}},b=V(j);b.use(D());b.use(F);b.use(M);b.mount("#app");export{v as T,$ as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Yc}from"./antd-
|
|
1
|
+
import{g as Yc}from"./antd-CJSBocer.js";function Ni(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let He=Ni();function Mc(a){He=a}const Lc=/[&<>"']/,qc=new RegExp(Lc.source,"g"),xc=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Hc=new RegExp(xc.source,"g"),Vc={"&":"&","<":"<",">":">",'"':""","'":"'"},$i=a=>Vc[a];function Ne(a,e){if(e){if(Lc.test(a))return a.replace(qc,$i)}else if(xc.test(a))return a.replace(Hc,$i);return a}const zc=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Wc(a){return a.replace(zc,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const $c=/(^|[^\[])\^/g;function Z(a,e){let t=typeof a=="string"?a:a.source;e=e||"";const n={replace:(r,i)=>{let o=typeof i=="string"?i:i.source;return o=o.replace($c,"$1"),t=t.replace(r,o),n},getRegex:()=>new RegExp(t,e)};return n}function Ki(a){try{a=encodeURI(a).replace(/%25/g,"%")}catch{return null}return a}const pt={exec:()=>null};function Qi(a,e){const t=a.replace(/\|/g,(i,o,s)=>{let l=!1,_=o;for(;--_>=0&&s[_]==="\\";)l=!l;return l?"|":" |"}),n=t.split(/ \|/);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function yt(a,e,t){const n=a.length;if(n===0)return"";let r=0;for(;r<n&&a.charAt(n-r-1)===e;)r++;return a.slice(0,n-r)}function Kc(a,e){if(a.indexOf(e[1])===-1)return-1;let t=0;for(let n=0;n<a.length;n++)if(a[n]==="\\")n++;else if(a[n]===e[0])t++;else if(a[n]===e[1]&&(t--,t<0))return n;return-1}function Xi(a,e,t,n){const r=e.href,i=e.title?Ne(e.title):null,o=a[1].replace(/\\([\[\]])/g,"$1");if(a[0].charAt(0)!=="!"){n.state.inLink=!0;const s={type:"link",raw:t,href:r,title:i,text:o,tokens:n.inlineTokens(o)};return n.state.inLink=!1,s}return{type:"image",raw:t,href:r,title:i,text:Ne(o)}}function Qc(a,e){const t=a.match(/^(\s+)(?:```)/);if(t===null)return e;const n=t[1];return e.split(`
|
|
2
2
|
`).map(r=>{const i=r.match(/^\s+/);if(i===null)return r;const[o]=i;return o.length>=n.length?r.slice(n.length):r}).join(`
|
|
3
3
|
`)}class Lt{options;rules;lexer;constructor(e){this.options=e||He}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:yt(n,`
|
|
4
4
|
`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],r=Qc(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(/#$/.test(n)){const r=yt(n,"#");(this.options.pedantic||!r||/ $/.test(r))&&(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let n=t[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,`
|