moreShopAdmin/build/admin/assets/element-plus.3a5be7a7.js

21 lines
439 KiB
JavaScript
Raw Normal View History

2024-05-31 15:21:43 +08:00
import{m as xe,p as We,q as vt,v as hu,x as mu,y as Ut,z as gu,N as st,A as tt,B as mn,b,f as Fe,w as ae,u as l,i as Ke,k as vn,C as gt,D as ye,r as T,j as un,E as bu,e as yu,s as xt,F as ra,G as Ue,d as Q,H as ne,o as w,c as D,I as ut,J as nn,K as ee,L as U,M as Ae,a as q,O as S,P as je,Q as X,R as nt,S as pe,T as Re,U as j,V as Ge,W as zt,X as it,Y as Mo,Z as dt,_ as dn,$ as io,n as we,a0 as Oe,a1 as qs,a2 as jn,a3 as Te,a4 as Cu,a5 as Gs,a6 as Xs,a7 as ml,l as Js,a8 as ku,a9 as et,aa as Qe,ab as Eo,ac as xa,t as al,ad as sl,ae as Zs,h as Se,af as Pe,ag as wu,ah as zl,ai as Qs,aj as Su,ak as Eu,al as $u,am as Wa,an as Nu,ao as Tl,ap as ia,aq as Pn,ar as ja,as as Tu,at as Iu,au as Pu}from"./@vue.18505fe0.js";import{g as an,s as Mu,f as rl,c as il,a as Ua,i as Nt,b as er,d as kn,e as Wt,p as $o,h as Ou,j as ul,k as Ru,t as Il,l as Au,m as Lu,n as Bu}from"./lodash-es.bdeecbdb.js";import{S as Du}from"./async-validator.fb49d0f5.js";import{i as Ye,t as Fu,u as Ot,a as Et,r as _u,b as tr,o as ua,c as Vu,d as eo,e as zu,f as Ku,g as Hu,h as xu,j as Ya,k as Wu}from"./@vueuse.fbc6a400.js";import{l as Bn,c as da,a as uo,s as nr,w as ca,b as or,i as lr,d as gn,v as ju,h as Uu,e as Yu,f as qu,g as fa,j as Dn,k as gl,m as rn,n as to,o as no,p as oo,q as Gu,r as Xu,z as Ju,t as ar,u as Zu,x as Qu,y as ed,A as sr,B as td,C as nd,D as qa,E as od,F as ld,G as ad}from"./@element-plus.edbd5a83.js";import{d as De,l as sd,a as rd,c as id,w as ud,b as dd,e as cd,i as fd,f as pd}from"./dayjs.8ae0c638.js";import{T as rr}from"./@ctrl.b082b0c1.js";import{Y as vd}from"./normalize-wheel-es.8aeb3683.js";import{y as hd,E as ir}from"./@popperjs.36402333.js";const md='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',gd=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,Ga=e=>Array.from(e.querySelectorAll(md)).filter(t=>bd(t)&&gd(t)),bd=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}},xo=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},ur=e=>!e.getAttribute("aria-owns"),dr=(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},Wo=e=>{!e||(e.focus(),!ur(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)},Xa=e=>t=>t.pointerType==="mouse"?e(t):void 0,yd=()=>Ye&&/firefox/i.test(window.navigator.userAgent),Cd=(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},pa=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}},Ft=e=>e===void 0,Tt=e=>typeof e=="boolean",Ve=e=>typeof e=="number",No=e=>!e&&e!==0||We(e)&&e.length===0||vt(e)&&!Object.keys(e).length,Qt=e=>typeof Element>"u"?!1:e instanceof Element,kd=e=>xe(e)?!Number.isNaN(Number(e)):!1,cr=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),fn=e=>hu(e),dl=e=>Object.keys(e),wd=e=>Object.entries(e),jo=(e,t,n)=>({get value(){return an(e,t,n)},set value(o){Mu(e,t,o)}});class Sd extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function It(e,t){throw new Sd(`[${e}] ${t}`)}const fr=(e="")=>e.split(" ").filter(t=>!!t.trim()),yn=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not co
height:0 !important;
visibility:hidden !important;
${yd()?"":"overflow:hidden !important;"}
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
`,Pc=["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 Mc(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:Pc.map(r=>`${r}:${t.getPropertyValue(r)}`).join(";"),paddingSize:o,borderSize:a,boxSizing:n}}function ls(e,t=1,n){var o;ln||(ln=document.createElement("textarea"),document.body.appendChild(ln));const{paddingSize:a,borderSize:s,boxSizing:r,contextStyle:i}=Mc(e);ln.setAttribute("style",`${i};${Ic}`),ln.value=e.value||e.placeholder||"";let u=ln.scrollHeight;const d={};r==="border-box"?u=u+s:r==="content-box"&&(u=u-a),ln.value="";const p=ln.scrollHeight-a;if(Ve(t)){let c=p*t;r==="border-box"&&(c=c+a+s),u=Math.max(c,u),d.minHeight=`${c}px`}if(Ve(n)){let c=p*n;r==="border-box"&&(c=c+a+s),u=Math.min(c,u)}return d.height=`${u}px`,(o=ln.parentNode)==null||o.removeChild(ln),ln=void 0,d}const Oc=be({id:{type:String,default:void 0},size:Gt,disabled:Boolean,modelValue:{type:oe([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:oe([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:oe([Object,Array,String]),default:()=>en({})},autofocus:{type:Boolean,default:!1}}),Rc={[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},Ac=["role"],Lc=["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],Bc=["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],Dc=Q({name:"ElInput",inheritAttrs:!1}),Fc=Q({...Dc,props:Oc,emits:Rc,setup(e,{expose:t,emit:n}){const o=e,a=jn(),s=nn(),r=b(()=>{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}),i=b(()=>[o.type==="textarea"?g.b():m.b(),m.m(f.value),m.is("disabled",h.value),m.is("exceed",fe.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]),u=b(()=>[m.e("wrapper"),m.is("focus",K.value)]),d=ga({excludeKeys:b(()=>Object.keys(r.value))}),{form:p,formItem:c}=on(),{inputId:v}=Un(o,{formItemContext:c}),f=Rt(),h=Xt(),m=ie("input"),g=ie("textarea"),y=xt(),E=xt(),k=T(!1),C=T(!1),P=T(!1),I=T(),$=xt(o.inputStyle),M=b(()=>y.value||E.value),{wrapperRef:A,isFocused:K,handleFocus:x,handleBlur:V}=Ca(M,{afterBlur(){var ce;o.validateEvent&&((ce=c==null?void 0:c.validate)==null||ce.call(c,"blur").catch(_e=>void 0))}}),J=b(()=>{var ce;return(ce=p==null?void 0:p.statusIcon)!=null?ce:!1}),B=b(()=>(c==null?void 0:c.validateState)||""),W=b(()
Add an empty element to avoid render label,
do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
`),Uv]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):e.isLeaf&&e.node.checked?(w(),ee(d,{key:2,class:S(e.ns.e("prefix"))},{default:U(()=>[j(u)]),_:1},8,["class"])):X("v-if",!0),X(" content "),j(p),X(" postfix "),e.isLeaf?X("v-if",!0):(w(),D(Re,{key:3},[e.node.loading?(w(),ee(d,{key:0,class:S([e.ns.is("loading"),e.ns.e("postfix")])},{default:U(()=>[j(c)]),_:1},8,["class"])):(w(),ee(d,{key:1,class:S(["arrow-right",e.ns.e("postfix")])},{default:U(()=>[j(v)]),_:1},8,["class"]))],64))],42,jv)}var qv=ve(Wv,[["render",Yv],["__file","node.vue"]]);const Gv=Q({name:"ElCascaderMenu",components:{Loading:Bn,ElIcon:ge,ElScrollbar:_n,ElCascaderNode:qv},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=Fe(),n=ie("cascader-menu"),{t:o}=Je(),a=Yt();let s=null,r=null;const i=ye($a),u=T(null),d=b(()=>!e.nodes.length),p=b(()=>!i.initialLoaded),c=b(()=>`${a.value}-${e.index}`),v=g=>{s=g.target},f=g=>{if(!(!i.isHoverMenu||!s||!u.value))if(s.contains(g.target)){h();const y=t.vnode.el,{left:E}=y.getBoundingClientRect(),{offsetWidth:k,offsetHeight:C}=y,P=g.clientX-E,I=s.offsetTop,$=I+s.offsetHeight;u.value.innerHTML=`
<path style="pointer-events: auto;" fill="transparent" d="M${P} ${I} L${k} 0 V${I} Z" />
<path style="pointer-events: auto;" fill="transparent" d="M${P} ${$} L${k} ${C} V${$} Z" />
`}else r||(r=window.setTimeout(m,i.config.hoverThreshold))},h=()=>{!r||(clearTimeout(r),r=null)},m=()=>{!u.value||(u.value.innerHTML="",h())};return{ns:n,panel:i,hoverZone:u,isEmpty:d,isLoading:p,menuId:c,t:o,handleExpand:v,handleMouseMove:f,clearHoverZone:m}}});function Xv(e,t,n,o,a,s){const r=Pe("el-cascader-node"),i=Pe("loading"),u=Pe("el-icon"),d=Pe("el-scrollbar");return w(),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[(w(!0),D(Re,null,et(e.nodes,c=>(w(),ee(r,{key:c.uid,node:c,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),e.isLoading?(w(),D("div",{key:0,class:S(e.ns.e("empty-text"))},[j(u,{size:"14",class:S(e.ns.is("loading"))},{default:U(()=>[j(i)]),_:1},8,["class"]),nt(" "+pe(e.t("el.cascader.loading")),1)],2)):e.isEmpty?(w(),D("div",{key:1,class:S(e.ns.e("empty-text"))},pe(e.t("el.cascader.noData")),3)):(p=e.panel)!=null&&p.isHoverMenu?(w(),D("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 Jv=ve(Gv,[["render",Xv],["__file","menu.vue"]]);let Zv=0;const Qv=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};class lo{constructor(t,n,o,a=!1){this.data=t,this.config=n,this.parent=o,this.root=a,this.uid=Zv++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:s,label:r,children:i}=n,u=t[i],d=Qv(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=u,this.children=(u||[]).map(p=>new lo(p,n,this)),this.loaded=!n.lazy||this.isLeaf||!No(u)}get isDisabled(){const{data:t,parent:n,config:o}=this,{disabled:a,checkStrictly:s}=o;return(tt(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,i=tt(r)?r(t,this):t[r];return Ft(i)?s&&!a?!1:!(Array.isArray(o)&&o.length):!!i}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:o}=this,a=new lo(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${fn(t)}`;this.children.forEach(a=>{a&&(a.broadcast(t,...n),a[o]&&a[o](...n))})}emit(t,...n){const{parent:o}=this,a=`onChild${fn(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 jl=(e,t)=>e.reduce((n,o)=>(o.isLeaf?n.push(o):(!t&&n.push(o),n=n.concat(jl(o.children,t))),n),[]);class Ss{constructor(t,n){this.config=n;const o=(t||[]).map(a=>new lo(a,this.config));this.nodes=o,this.allNodes=jl(o,!1),this.leafNodes=jl(o,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,n){const o=n?n.appendChild(t):new lo(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=>Wt(a.value,t)||Wt(a.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:o,level:a})=>Wt(t.value,o)&&t.level===a)||null}}const di=be({mode
M 50 50
m 0 ${C?"":"-"}${k}
a ${k} ${k} 0 1 1 0 ${C?"-":""}${k*2}
a ${k} ${k} 0 1 1 0 ${C?"":"-"}${k*2}
`}),u=b(()=>2*Math.PI*r.value),d=b(()=>t.type==="dashboard"?.75:1),p=b(()=>`${-1*u.value*(1-d.value)/2}px`),c=b(()=>({strokeDasharray:`${u.value*d.value}px, ${u.value}px`,strokeDashoffset:p.value})),v=b(()=>({strokeDasharray:`${u.value*d.value*(t.percentage/100)}px, ${u.value}px`,strokeDashoffset:p.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),f=b(()=>{let k;return t.color?k=E(t.percentage):k=n[t.status]||n.default,k}),h=b(()=>t.status==="warning"?ca:t.type==="line"?t.status==="success"?da:uo:t.status==="success"?gl:gn),m=b(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),g=b(()=>t.format(t.percentage));function y(k){const C=100/k.length;return k.map((I,$)=>xe(I)?{color:I,percentage:($+1)*C}:I).sort((I,$)=>I.percentage-$.percentage)}const E=k=>{var C;const{color:P}=t;if(tt(P))return P(k);if(xe(P))return P;{const I=y(P);for(const $ of I)if($.percentage>k)return $.color;return(C=I[I.length-1])==null?void 0:C.color}};return(k,C)=>(w(),D("div",{class:S([l(o).b(),l(o).m(k.type),l(o).is(k.status),{[l(o).m("without-text")]:!k.showText,[l(o).m("text-inside")]:k.textInside}]),role:"progressbar","aria-valuenow":k.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[k.type==="line"?(w(),D("div",{key:0,class:S(l(o).b("bar"))},[q("div",{class:S(l(o).be("bar","outer")),style:Oe({height:`${k.strokeWidth}px`})},[q("div",{class:S([l(o).be("bar","inner"),{[l(o).bem("bar","inner","indeterminate")]:k.indeterminate},{[l(o).bem("bar","inner","striped")]:k.striped},{[l(o).bem("bar","inner","striped-flow")]:k.stripedFlow}]),style:Oe(l(a))},[(k.showText||k.$slots.default)&&k.textInside?(w(),D("div",{key:0,class:S(l(o).be("bar","innerText"))},[ne(k.$slots,"default",{percentage:k.percentage},()=>[q("span",null,pe(l(g)),1)])],2)):X("v-if",!0)],6)],6)],2)):(w(),D("div",{key:1,class:S(l(o).b("circle")),style:Oe({height:`${k.width}px`,width:`${k.width}px`})},[(w(),D("svg",FC,[q("path",{class:S(l(o).be("circle","track")),d:l(i),stroke:`var(${l(o).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":k.strokeLinecap,"stroke-width":l(s),fill:"none",style:Oe(l(c))},null,14,_C),q("path",{class:S(l(o).be("circle","path")),d:l(i),stroke:l(f),fill:"none",opacity:k.percentage?1:0,"stroke-linecap":k.strokeLinecap,"stroke-width":l(s),style:Oe(l(v))},null,14,VC)]))],6)),(k.showText||k.$slots.default)&&!k.textInside?(w(),D("div",{key:2,class:S(l(o).e("text")),style:Oe({fontSize:`${l(m)}px`})},[ne(k.$slots,"default",{percentage:k.percentage},()=>[k.status?(w(),ee(l(ge),{key:1},{default:U(()=>[(w(),ee(je(l(h))))]),_:1})):(w(),D("span",zC,pe(l(g)),1))])],6)):X("v-if",!0)],10,DC))}});var xC=ve(HC,[["__file","progress.vue"]]);const WC=qe(xC),jC=be({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,validator:br},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:oe(Function)},id:String,tabindex:{type:[String,Number]},value:{type:[Boolean,String,Number],default:!1},label:{type:String,default:void 0}}),UC={[He]:e=>Tt(e)||xe(e)||Ve(e),[Vt]:e=>Tt(e)||xe(e)||Ve(e),[hn]:e=>Tt(e)||xe(e)||Ve(e)},YC=["onClick"],qC=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"],GC=["aria-hidden"],XC=["aria-hidden"],JC=["aria-hidden"],Zl="ElSwitch",ZC=Q({name:Zl}),QC=Q({...ZC,props:jC,emits:UC,setup(e,{expose:t,emit:n}){const o=e,a=Fe(),{formItem:s}=on(),r=Rt(),i=ie("switch");(M=>{M.forEach(A=>{On({from:A[0],replacement:A[1],scope:Zl,version:"2.3.0",ref:"https://e