ERP-admin/build/admin/assets/element-plus.619595c4.js

21 lines
445 KiB
JavaScript
Raw Normal View History

2024-05-21 13:42:22 +08:00
import{m as xe,p as We,q as pt,v as Cu,x as Xs,y as zt,z as ku,N as st,A as nt,B as tn,b as y,f as Fe,w as ae,u as l,i as Ke,k as hn,C as gt,D as ye,r as T,j as dn,E as wu,e as Su,s as jt,F as ia,G as Ue,d as J,H as oe,o as k,c as B,I as ut,J as Jt,K as ee,L as U,M as Re,a as Y,O as S,P as je,Q as X,R as Qe,S as ve,T as Ie,U as j,V as Ge,W as Ht,X as it,Y as Oo,Z as dt,_ as cn,$ as uo,n as Se,a0 as Oe,a1 as Js,a2 as jn,a3 as Te,a4 as Eu,a5 as Zs,a6 as Qs,a7 as gl,l as er,a8 as $u,a9 as Xe,aa as tt,ab as $o,ac as ja,t as sl,ad as rl,ae as tr,h as we,af as Me,ag as Nu,ah as Kl,ai as nr,aj as Tu,ak as Iu,al as Pu,am as Ua,an as Mu,ao as Il,ap as ua,aq as Pn,ar as Ya,as as Ou,at as Ru,au as Au}from"./@vue.18505fe0.js";import{g as sn,s as Du,f as il,c as ul,a as qa,i as St,b as or,d as kn,e as Ut,p as No,h as Lu,j as dl,k as Bu,t as Pl,l as Fu,m as _u,n as Vu}from"./lodash-es.bdeecbdb.js";import{S as zu}from"./async-validator.fb49d0f5.js";import{i as Ye,t as Ku,u as Lt,a as $t,r as Hu,b as lr,o as da,c as xu,d as to,e as Wu,f as ju,g as Uu,h as Yu,j as Ga,k as qu}from"./@vueuse.fbc6a400.js";import{l as Ln,c as ca,a as co,s as ar,w as fa,b as sr,i as rr,d as gn,v as Gu,h as Xu,e as Ju,f as Zu,g as pa,j as Bn,k as bl,m as un,n as no,o as oo,p as lo,q as Qu,r as ed,z as td,t as ir,u as nd,x as od,y as ld,A as ur,B as ad,C as sd,D as Xa,E as rd,F as id,G as ud}from"./@element-plus.edbd5a83.js";import{d as Be,l as dd,a as cd,c as fd,w as pd,b as vd,e as hd,i as md,f as gd}from"./dayjs.6ad9ae30.js";import{T as dr}from"./@ctrl.b082b0c1.js";import{Y as bd}from"./normalize-wheel-es.8aeb3683.js";import{y as yd,E as cr}from"./@popperjs.36402333.js";const Cd='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',kd=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,Ja=e=>Array.from(e.querySelectorAll(Cd)).filter(t=>wd(t)&&kd(t)),wd=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Wo=function(e,t,...n){let o;t.includes("mouse")||t.includes("click")?o="MouseEvents":t.includes("key")?o="KeyboardEvent":o="HTMLEvents";const a=document.createEvent(o);return a.initEvent(t,...n),e.dispatchEvent(a),e},fr=e=>!e.getAttribute("aria-owns"),pr=(e,t,n)=>{const{parentNode:o}=e;if(!o)return null;const a=o.querySelectorAll(n),s=Array.prototype.indexOf.call(a,e);return a[s+t]||null},jo=e=>{!e||(e.focus(),!fr(e)&&e.click())},mt=(e,t,{checkForDefaultPrevented:n=!0}={})=>a=>{const s=e==null?void 0:e(a);if(n===!1||!s)return t==null?void 0:t(a)},Za=e=>t=>t.pointerType==="mouse"?e(t):void 0,Sd=()=>Ye&&/firefox/i.test(window.navigator.userAgent),Ed=(e,t)=>{if(!Ye||!e||!t)return!1;const n=e.getBoundingClientRect();let o;return t instanceof Element?o=t.getBoundingClientRect():o={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.top<o.bottom&&n.bottom>o.top&&n.right>o.left&&n.left<o.right},va=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},Vt=e=>e===void 0,It=e=>typeof e=="boolean",_e=e=>typeof e=="number",To=e=>!e&&e!==0||We(e)&&e.length===0||pt(e)&&!Object.keys(e).length,nn=e=>typeof Element>"u"?!1:e instanceof Element,$d=e=>xe(e)?!Number.isNaN(Number(e)):!1,vr=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),pn=e=>Cu(e),cl=e=>Object.keys(e),Nd=e=>Object.entries(e),Uo=(e,t,n)=>({get value(){return sn(e,t,n)},set value(o){Du(e,t,o)}});class Td extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Pt(e,t){throw new Td(`[${e}] ${t}`)}const hr=(e="")=>e.split(" ").filter(t=>!!t.trim()),yn=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should n
2024-05-15 09:12:16 +08:00
height:0 !important;
visibility:hidden !important;
${Sd()?"":"overflow:hidden !important;"}
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
`,Dc=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Lc(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),a=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:Dc.map(r=>`${r}:${t.getPropertyValue(r)}`).join(";"),paddingSize:o,borderSize:a,boxSizing:n}}function ss(e,t=1,n){var o;an||(an=document.createElement("textarea"),document.body.appendChild(an));const{paddingSize:a,borderSize:s,boxSizing:r,contextStyle:u}=Lc(e);an.setAttribute("style",`${u};${Ac}`),an.value=e.value||e.placeholder||"";let i=an.scrollHeight;const d={};r==="border-box"?i=i+s:r==="content-box"&&(i=i-a),an.value="";const p=an.scrollHeight-a;if(_e(t)){let c=p*t;r==="border-box"&&(c=c+a+s),i=Math.max(c,i),d.minHeight=`${c}px`}if(_e(n)){let c=p*n;r==="border-box"&&(c=c+a+s),i=Math.min(c,i)}return d.height=`${i}px`,(o=an.parentNode)==null||o.removeChild(an),an=void 0,d}const Bc=me({id:{type:String,default:void 0},size:Gt,disabled:Boolean,modelValue:{type:ne([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:ne([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:lt},prefixIcon:{type:lt},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:ne([Object,Array,String]),default:()=>Nt({})},autofocus:{type:Boolean,default:!1}}),Fc={[He]:e=>xe(e),input:e=>xe(e),change:e=>xe(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},_c=["role"],Vc=["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],zc=["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],Kc=J({name:"ElInput",inheritAttrs:!1}),Hc=J({...Kc,props:Bc,emits:Fc,setup(e,{expose:t,emit:n}){const o=e,a=jn(),s=Jt(),r=y(()=>{const ce={};return o.containerRole==="combobox"&&(ce["aria-haspopup"]=a["aria-haspopup"],ce["aria-owns"]=a["aria-owns"],ce["aria-expanded"]=a["aria-expanded"]),ce}),u=y(()=>[o.type==="textarea"?g.b():m.b(),m.m(f.value),m.is("disabled",h.value),m.is("exceed",pe.value),{[m.b("group")]:s.prepend||s.append,[m.bm("group","append")]:s.append,[m.bm("group","prepend")]:s.prepend,[m.m("prefix")]:s.prefix||o.prefixIcon,[m.m("suffix")]:s.suffix||o.suffixIcon||o.clearable||o.showPassword,[m.bm("suffix","password-clear")]:R.value&&_.value},a.class]),i=y(()=>[m.e("wrapper"),m.is("focus",K.value)]),d=ba({excludeKeys:y(()=>Object.keys(r.value))}),{form:p,formItem:c}=ln(),{inputId:v}=Un(o,{formItemContext:c}),f=Ot(),h=Zt(),m=se("input"),g=se("textarea"),C=jt(),E=jt(),w=T(!1),b=T(!1),P=T(!1),I=T(),$=jt(o.inputStyle),M=y(()=>C.value||E.value),{wrapperRef:A,isFocused:K,handleFocus:x,handleBlur:V}=ka(M,{afterBlur(){var ce;o.validateEvent&&((ce=c==null?void 0:c.validate)==null||ce.call(c,"blur").catch(Ve=>void 0))}}),Z=y(()=>{var ce;return(ce=p==null?void 0:p.statusIcon)!=null?ce:!1}),L=y(()=>(c==null?void 0:c.validateState)||""),W=y(()
Add an empty element to avoid render label,
do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
`),Jv]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):e.isLeaf&&e.node.checked?(k(),ee(d,{key:2,class:S(e.ns.e("prefix"))},{default:U(()=>[j(i)]),_:1},8,["class"])):X("v-if",!0),X(" content "),j(p),X(" postfix "),e.isLeaf?X("v-if",!0):(k(),B(Ie,{key:3},[e.node.loading?(k(),ee(d,{key:0,class:S([e.ns.is("loading"),e.ns.e("postfix")])},{default:U(()=>[j(c)]),_:1},8,["class"])):(k(),ee(d,{key:1,class:S(["arrow-right",e.ns.e("postfix")])},{default:U(()=>[j(v)]),_:1},8,["class"]))],64))],42,Xv)}var Qv=fe(Gv,[["render",Zv],["__file","node.vue"]]);const eh=J({name:"ElCascaderMenu",components:{Loading:Ln,ElIcon:be,ElScrollbar:_n,ElCascaderNode:Qv},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=Fe(),n=se("cascader-menu"),{t:o}=Ze(),a=qt();let s=null,r=null;const u=ye(Na),i=T(null),d=y(()=>!e.nodes.length),p=y(()=>!u.initialLoaded),c=y(()=>`${a.value}-${e.index}`),v=g=>{s=g.target},f=g=>{if(!(!u.isHoverMenu||!s||!i.value))if(s.contains(g.target)){h();const C=t.vnode.el,{left:E}=C.getBoundingClientRect(),{offsetWidth:w,offsetHeight:b}=C,P=g.clientX-E,I=s.offsetTop,$=I+s.offsetHeight;i.value.innerHTML=`
<path style="pointer-events: auto;" fill="transparent" d="M${P} ${I} L${w} 0 V${I} Z" />
<path style="pointer-events: auto;" fill="transparent" d="M${P} ${$} L${w} ${b} V${$} Z" />
`}else r||(r=window.setTimeout(m,u.config.hoverThreshold))},h=()=>{!r||(clearTimeout(r),r=null)},m=()=>{!i.value||(i.value.innerHTML="",h())};return{ns:n,panel:u,hoverZone:i,isEmpty:d,isLoading:p,menuId:c,t:o,handleExpand:v,handleMouseMove:f,clearHoverZone:m}}});function th(e,t,n,o,a,s){const r=Me("el-cascader-node"),u=Me("loading"),i=Me("el-icon"),d=Me("el-scrollbar");return k(),ee(d,{key:e.menuId,tag:"ul",role:"menu",class:S(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:U(()=>{var p;return[(k(!0),B(Ie,null,Xe(e.nodes,c=>(k(),ee(r,{key:c.uid,node:c,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),e.isLoading?(k(),B("div",{key:0,class:S(e.ns.e("empty-text"))},[j(i,{size:"14",class:S(e.ns.is("loading"))},{default:U(()=>[j(u)]),_:1},8,["class"]),Qe(" "+ve(e.t("el.cascader.loading")),1)],2)):e.isEmpty?(k(),B("div",{key:1,class:S(e.ns.e("empty-text"))},ve(e.t("el.cascader.noData")),3)):(p=e.panel)!=null&&p.isHoverMenu?(k(),B("svg",{key:2,ref:"hoverZone",class:S(e.ns.e("hover-zone"))},null,2)):X("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var nh=fe(eh,[["render",th],["__file","menu.vue"]]);let oh=0;const lh=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};class ao{constructor(t,n,o,a=!1){this.data=t,this.config=n,this.parent=o,this.root=a,this.uid=oh++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:s,label:r,children:u}=n,i=t[u],d=lh(this);this.level=a?0:o?o.level+1:1,this.value=t[s],this.label=t[r],this.pathNodes=d,this.pathValues=d.map(p=>p.value),this.pathLabels=d.map(p=>p.label),this.childrenData=i,this.children=(i||[]).map(p=>new ao(p,n,this)),this.loaded=!n.lazy||this.isLeaf||!To(i)}get isDisabled(){const{data:t,parent:n,config:o}=this,{disabled:a,checkStrictly:s}=o;return(nt(a)?a(t,this):!!t[a])||!s&&(n==null?void 0:n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:o,loaded:a}=this,{lazy:s,leaf:r}=n,u=nt(r)?r(t,this):t[r];return Vt(u)?s&&!a?!1:!(Array.isArray(o)&&o.length):!!u}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:o}=this,a=new ao(t,this.config,this);return Array.isArray(n)?n.push(t):this.childrenData=[t],o.push(a),a}calcText(t,n){const o=t?this.pathLabels.join(n):this.label;return this.text=o,o}broadcast(t,...n){const o=`onParent${pn(t)}`;this.children.forEach(a=>{a&&(a.broadcast(t,...n),a[o]&&a[o](...n))})}emit(t,...n){const{parent:o}=this,a=`onChild${pn(t)}`;o&&(o[a]&&o[a](...n),o.emit(t,...n))}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(a=>!a.isDisabled),o=n.length?n.every(a=>a.checked):!1;this.setCheckState(o)}setCheckState(t){const n=this.children.length,o=this.children.reduce((a,s)=>{const r=s.checked?1:s.indeterminate?.5:0;return a+r},0);this.checked=this.loaded&&this.children.filter(a=>!a.isDisabled).every(a=>a.loaded&&a.checked)&&t,this.indeterminate=this.loaded&&o!==n&&o>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:o}=this.config;n||!o?this.checked=t:(this.broadcast("check",t),this.setCheckState(t),this.emit("check"))}}const Ul=(e,t)=>e.reduce((n,o)=>(o.isLeaf?n.push(o):(!t&&n.push(o),n=n.concat(Ul(o.children,t))),n),[]);class $s{constructor(t,n){this.config=n;const o=(t||[]).map(a=>new ao(a,this.config));this.nodes=o,this.allNodes=Ul(o,!1),this.leafNodes=Ul(o,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,n){const o=n?n.appendChild(t):new ao(t,this.config);n||this.nodes.push(o),this.allNodes.push(o),o.isLeaf&&this.leafNodes.push(o)}appendNodes(t,n){t.forEach(o=>this.appendNode(o,n))}getNodeByValue(t,n=!1){return!t&&t!==0?null:this.getFlattedNodes(n).find(a=>Ut(a.value,t)||Ut(a.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:o,level:a})=>Ut(t.value,o)&&t.level===a)||null}}const pi=me({mode
M 50 50
m 0 ${b?"":"-"}${w}
a ${w} ${w} 0 1 1 0 ${b?"-":""}${w*2}
a ${w} ${w} 0 1 1 0 ${b?"":"-"}${w*2}
2024-05-16 10:05:14 +08:00
`}),i=y(()=>2*Math.PI*r.value),d=y(()=>t.type==="dashboard"?.75:1),p=y(()=>`${-1*i.value*(1-d.value)/2}px`),c=y(()=>({strokeDasharray:`${i.value*d.value}px, ${i.value}px`,strokeDashoffset:p.value})),v=y(()=>({strokeDasharray:`${i.value*d.value*(t.percentage/100)}px, ${i.value}px`,strokeDashoffset:p.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),f=y(()=>{let w;return t.color?w=E(t.percentage):w=n[t.status]||n.default,w}),h=y(()=>t.status==="warning"?fa:t.type==="line"?t.status==="success"?ca:co:t.status==="success"?bl:gn),m=y(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),g=y(()=>t.format(t.percentage));function C(w){const b=100/w.length;return w.map((I,$)=>xe(I)?{color:I,percentage:($+1)*b}:I).sort((I,$)=>I.percentage-$.percentage)}const E=w=>{var b;const{color:P}=t;if(nt(P))return P(w);if(xe(P))return P;{const I=C(P);for(const $ of I)if($.percentage>w)return $.color;return(b=I[I.length-1])==null?void 0:b.color}};return(w,b)=>(k(),B("div",{class:S([l(o).b(),l(o).m(w.type),l(o).is(w.status),{[l(o).m("without-text")]:!w.showText,[l(o).m("text-inside")]:w.textInside}]),role:"progressbar","aria-valuenow":w.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[w.type==="line"?(k(),B("div",{key:0,class:S(l(o).b("bar"))},[Y("div",{class:S(l(o).be("bar","outer")),style:Oe({height:`${w.strokeWidth}px`})},[Y("div",{class:S([l(o).be("bar","inner"),{[l(o).bem("bar","inner","indeterminate")]:w.indeterminate},{[l(o).bem("bar","inner","striped")]:w.striped},{[l(o).bem("bar","inner","striped-flow")]:w.stripedFlow}]),style:Oe(l(a))},[(w.showText||w.$slots.default)&&w.textInside?(k(),B("div",{key:0,class:S(l(o).be("bar","innerText"))},[oe(w.$slots,"default",{percentage:w.percentage},()=>[Y("span",null,ve(l(g)),1)])],2)):X("v-if",!0)],6)],6)],2)):(k(),B("div",{key:1,class:S(l(o).b("circle")),style:Oe({height:`${w.width}px`,width:`${w.width}px`})},[(k(),B("svg",i0,[Y("path",{class:S(l(o).be("circle","track")),d:l(u),stroke:`var(${l(o).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":w.strokeLinecap,"stroke-width":l(s),fill:"none",style:Oe(l(c))},null,14,u0),Y("path",{class:S(l(o).be("circle","path")),d:l(u),stroke:l(f),fill:"none",opacity:w.percentage?1:0,"stroke-linecap":w.strokeLinecap,"stroke-width":l(s),style:Oe(l(v))},null,14,d0)]))],6)),(w.showText||w.$slots.default)&&!w.textInside?(k(),B("div",{key:2,class:S(l(o).e("text")),style:Oe({fontSize:`${l(m)}px`})},[oe(w.$slots,"default",{percentage:w.percentage},()=>[w.status?(k(),ee(l(be),{key:1},{default:U(()=>[(k(),ee(je(l(h))))]),_:1})):(k(),B("span",c0,ve(l(g)),1))])],6)):X("v-if",!0)],10,r0))}});var v0=fe(p0,[["__file","progress.vue"]]);const h0=qe(v0),m0=me({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,validator:kr},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},inactiveActionIcon:{type:lt},activeActionIcon:{type:lt},activeIcon:{type:lt},inactiveIcon:{type:lt},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},borderColor:{type:String,default:""},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:ne(Function)},id:String,tabindex:{type:[String,Number]},value:{type:[Boolean,String,Number],default:!1},label:{type:String,default:void 0}}),g0={[He]:e=>It(e)||xe(e)||_e(e),[Kt]:e=>It(e)||xe(e)||_e(e),[mn]:e=>It(e)||xe(e)||_e(e)},b0=["onClick"],y0=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"],C0=["aria-hidden"],k0=["aria-hidden"],w0=["aria-hidden"],Ql="ElSwitch",S0=J({name:Ql}),E0=J({...S0,props:m0,emits:g0,setup(e,{expose:t,emit:n}){const o=e,a=Fe(),{formItem:s}=ln(),r=Ot(),u=se("switch");(M=>{M.forEach(A=>{On({from:A[0],replacement:A[1],scope:Ql,version:"2.3.0",ref:"https://e