import{b5 as vl,dh as bm,ct as rd,cn as ld,di as ym,dj as ad,dk as sd,dl as cd,dm as ud,a_ as xm,i as Si,r as mn,e as nt,a as Je,a0 as dd,co as Am,j as Ei,cl as Ga,bE as bl,q as qa,d as et,o as oe,c as me,aL as Zt,m as Go,f as X,B as q,l as fo,C as ee,aa as ot,aE as Cn,D as be,v as po,T as fd,dn as wm,b as Cm,w as yl,bQ as _m,cz as km,A as Ie,E as Fe,Z as pd,F as Xe,aB as _n,dp as Sm,aG as hd,d5 as md,dq as xl,bB as gd,x as Al,aP as Mi,b1 as vr,n as Nn,d7 as qo,as as ce,ab as Em,G as Re,P as bt,a2 as Mm,aX as Tm}from"./index-24b5bd0d.js";const vd=e=>typeof e=="boolean",Ko=e=>typeof e=="number",bd=e=>Object.keys(e);function Ka(e,o="px"){return e?Ko(e)||vl(n=e)&&!Number.isNaN(Number(n))?`${e}${o}`:vl(e)?e:void 0:"";var n}const yd="__epPropKey",xd=(e,o)=>{if(!rd(e)||rd(n=e)&&n[yd])return e;var n;const{values:r,required:s,default:d,type:c,validator:f}=e,h=r||f?v=>{let y=!1,g=[];if(r&&(g=Array.from(r),ld(e,"default")&&g.push(d),y||(y=g.includes(v))),f&&(y||(y=f(v))),!y&&g.length>0){const _=[...new Set(g)].map(C=>JSON.stringify(C)).join(", ");ym(`Invalid prop: validation failed${o?` for prop "${o}"`:""}. Expected one of [${_}], got value ${JSON.stringify(v)}.`)}return y}:void 0,p={type:c,required:!!s,validator:h,[yd]:!0};return ld(e,"default")&&(p.default=d),p},wl=e=>bm(Object.entries(e).map(([o,n])=>[o,xd(n,o)])),Dm=[String,Object,Function],Nm={Close:xm,SuccessFilled:ad,InfoFilled:ud,WarningFilled:sd,CircleCloseFilled:cd},Ad={success:ad,warning:sd,error:cd,info:ud},wd=(e,o)=>{if(e.install=n=>{for(const r of[e,...Object.values(o??{})])n.component(r.name,r)},o)for(const[n,r]of Object.entries(o))e[n]=r;return e},Rm="Escape";var Im={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const Om=e=>(o,n)=>Fm(o,n,Je(e)),Fm=(e,o,n)=>Am(n,e,e).replace(/\{(\w+)\}/g,(r,s)=>{var d;return`${(d=o==null?void 0:o[s])!=null?d:`{${s}}`}`}),Cd=Symbol("localeContextKey"),Lm=e=>{const o=e||Si(Cd,mn());return(n=>({lang:nt(()=>Je(n).name),locale:dd(n)?n:mn(n),t:Om(n)}))(nt(()=>o.value||Im))},Cl="el",Xo=(e,o,n,r,s)=>{let d=`${e}-${o}`;return n&&(d+=`-${n}`),r&&(d+=`__${r}`),s&&(d+=`--${s}`),d},_d=Symbol("namespaceContextKey"),Xa=(e,o)=>{const n=(r=>{const s=r||(Ei()?Si(_d,mn(Cl)):mn(Cl));return nt(()=>Je(s)||Cl)})(o);return{namespace:n,b:(r="")=>Xo(n.value,e,r,"",""),e:r=>r?Xo(n.value,e,"",r,""):"",m:r=>r?Xo(n.value,e,"","",r):"",be:(r,s)=>r&&s?Xo(n.value,e,r,s,""):"",em:(r,s)=>r&&s?Xo(n.value,e,"",r,s):"",bm:(r,s)=>r&&s?Xo(n.value,e,r,"",s):"",bem:(r,s,d)=>r&&s&&d?Xo(n.value,e,r,s,d):"",is:(r,...s)=>{const d=!(s.length>=1)||s[0];return r&&d?`is-${r}`:""},cssVar:r=>{const s={};for(const d in r)r[d]&&(s[`--${n.value}-${d}`]=r[d]);return s},cssVarName:r=>`--${n.value}-${r}`,cssVarBlock:r=>{const s={};for(const d in r)r[d]&&(s[`--${n.value}-${e}-${d}`]=r[d]);return s},cssVarBlockName:r=>`--${n.value}-${e}-${r}`}},kd={current:0},Sd=mn(0),Ed=Symbol("elZIndexContextKey"),Md=Symbol("zIndexContextKey"),Bm=e=>{const o=Ei()?Si(Ed,kd):kd,n=e||(Ei()?Si(Md,void 0):void 0),r=nt(()=>{const d=Je(n);return Ko(d)?d:2e3}),s=nt(()=>r.value+Sd.value);return!Ga&&Si(Ed),{initialZIndex:r,currentZIndex:s,nextZIndex:()=>(o.current++,Sd.value=o.current,s.value)}};xd({type:String,values:["","default","small","large"],required:!1});const Pm=Symbol("size"),jm=Symbol("emptyValuesContextKey");wl({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:e=>bl(e)?!e():!e}});const Td=Symbol(),_l=mn();function Dd(e,o=void 0){const n=Ei()?Si(Td,_l):_l;return e?nt(()=>{var r,s;return(s=(r=n.value)==null?void 0:r[e])!=null?s:o}):n}const Vm=(e,o,n=!1)=>{var r;const s=!!Ei(),d=s?Dd():void 0,c=(r=o==null?void 0:o.provide)!=null?r:s?qa:void 0;if(!c)return;const f=nt(()=>{const h=Je(e);return d!=null&&d.value?zm(d.value,h):h});return c(Td,f),c(Cd,nt(()=>f.value.locale)),c(_d,nt(()=>f.value.namespace)),c(Md,nt(()=>f.value.zIndex)),c(Pm,{size:nt(()=>f.value.size||"")}),c(jm,nt(()=>({emptyValues:f.value.emptyValues,valueOnClear:f.value.valueOnClear}))),!n&&_l.value||(_l.value=f.value),f},zm=(e,o)=>{const n=[...new Set([...bd(e),...bd(o)])],r={};for(const s of n)r[s]=o[s]!==void 0?o[s]:e[s];return r},Zn={};var $a=(e,o)=>{const n=e.__vccOpts||e;for(const[r,s]of o)n[r]=s;return n};const Hm=wl({size:{type:[Number,String]},color:{type:String}}),Um=et({name:"ElIcon",inheritAttrs:!1}),Wm=et({...Um,props:Hm,setup(e){const o=e,n=Xa("icon"),r=nt(()=>{const{size:s,color:d}=o;return s||d?{fontSize:(c=s,c===void 0?void 0:Ka(s)),"--color":d}:{};var c});return(s,d)=>(oe(),me("i",Go({class:Je(n).b(),style:Je(r)},s.$attrs),[Zt(s.$slots,"default")],16))}}),Nd=wd($a(Wm,[["__file","icon.vue"]])),Qm=wl({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:[String,Object,Array]},offset:{type:Array,default:[0,0]},badgeClass:{type:String}}),Ym=et({name:"ElBadge"}),Gm=et({...Ym,props:Qm,setup(e,{expose:o}){const n=e,r=Xa("badge"),s=nt(()=>n.isDot?"":Ko(n.value)&&Ko(n.max)&&n.max{var c,f,h,p,v;return[{backgroundColor:n.color,marginRight:Ka(-((f=(c=n.offset)==null?void 0:c[0])!=null?f:0)),marginTop:Ka((p=(h=n.offset)==null?void 0:h[1])!=null?p:0)},(v=n.badgeStyle)!=null?v:{}]});return o({content:s}),(c,f)=>(oe(),me("div",{class:ot(Je(r).b())},[Zt(c.$slots,"default"),X(fd,{name:`${Je(r).namespace.value}-zoom-in-center`,persisted:""},{default:q(()=>[fo(ee("sup",{class:ot([Je(r).e("content"),Je(r).em("content",c.type),Je(r).is("fixed",!!c.$slots.default),Je(r).is("dot",c.isDot),Je(r).is("hide-zero",!c.showZero&&n.value===0),c.badgeClass]),style:Cn(Je(d)),textContent:be(Je(s))},null,14,["textContent"]),[[po,!c.hidden&&(Je(s)||c.isDot)]])]),_:1},8,["name"])],2))}}),qm=wd($a(Gm,[["__file","badge.vue"]])),Rd=["success","info","warning","error"],en={customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:Ga?document.body:void 0},Km=wl({customClass:{type:String,default:en.customClass},center:{type:Boolean,default:en.center},dangerouslyUseHTMLString:{type:Boolean,default:en.dangerouslyUseHTMLString},duration:{type:Number,default:en.duration},icon:{type:Dm,default:en.icon},id:{type:String,default:en.id},message:{type:[String,Object,Function],default:en.message},onClose:{type:Function,default:en.onClose},showClose:{type:Boolean,default:en.showClose},type:{type:String,values:Rd,default:en.type},plain:{type:Boolean,default:en.plain},offset:{type:Number,default:en.offset},zIndex:{type:Number,default:en.zIndex},grouping:{type:Boolean,default:en.grouping},repeatNum:{type:Number,default:en.repeatNum}}),Wn=wm([]),Xm=e=>{const{prev:o}=(n=>{const r=Wn.findIndex(c=>c.id===n),s=Wn[r];let d;return r>0&&(d=Wn[r-1]),{current:s,prev:d}})(e);return o?o.vm.exposed.bottom.value:0},$m=et({name:"ElMessage"}),Jm=et({...$m,props:Km,emits:{destroy:()=>!0},setup(e,{expose:o}){const n=e,{Close:r}=Nm,{ns:s,zIndex:d}=function(L,w){const F=Dd(),I=Xa(L,nt(()=>{var O;return((O=F.value)==null?void 0:O.namespace)||Cl})),S=Lm(nt(()=>{var O;return(O=F.value)==null?void 0:O.locale})),j=Bm(nt(()=>{var O;return((O=F.value)==null?void 0:O.zIndex)||2e3})),A=nt(()=>{var O;return Je(w)||((O=F.value)==null?void 0:O.size)||""});return Vm(nt(()=>Je(F)||{})),{ns:I,locale:S,zIndex:j,size:A}}("message"),{currentZIndex:c,nextZIndex:f}=d,h=mn(),p=mn(!1),v=mn(0);let y;const g=nt(()=>n.type?n.type==="error"?"danger":n.type:"info"),_=nt(()=>{const L=n.type;return{[s.bm("icon",L)]:L&&Ad[L]}}),C=nt(()=>n.icon||Ad[n.type]||""),b=nt(()=>Xm(n.id)),E=nt(()=>((L,w)=>Wn.findIndex(F=>F.id===L)>0?16:w)(n.id,n.offset)+b.value),x=nt(()=>v.value+E.value),T=nt(()=>({top:`${E.value}px`,zIndex:c.value}));function k(){n.duration!==0&&({stop:y}=Sm(()=>{N()},n.duration))}function M(){y==null||y()}function N(){p.value=!1}return Cm(()=>{k(),f(),p.value=!0}),yl(()=>n.repeatNum,()=>{M(),k()}),_m(document,"keydown",function({code:L}){L===Rm&&N()}),km(h,()=>{v.value=h.value.getBoundingClientRect().height}),o({visible:p,bottom:x,close:N}),(L,w)=>(oe(),Ie(fd,{name:Je(s).b("fade"),onBeforeLeave:L.onClose,onAfterLeave:F=>L.$emit("destroy"),persisted:""},{default:q(()=>[fo(ee("div",{id:L.id,ref_key:"messageRef",ref:h,class:ot([Je(s).b(),{[Je(s).m(L.type)]:L.type},Je(s).is("center",L.center),Je(s).is("closable",L.showClose),Je(s).is("plain",L.plain),L.customClass]),style:Cn(Je(T)),role:"alert",onMouseenter:M,onMouseleave:k},[L.repeatNum>1?(oe(),Ie(Je(qm),{key:0,value:L.repeatNum,type:Je(g),class:ot(Je(s).e("badge"))},null,8,["value","type","class"])):Fe("v-if",!0),Je(C)?(oe(),Ie(Je(Nd),{key:1,class:ot([Je(s).e("icon"),Je(_)])},{default:q(()=>[(oe(),Ie(pd(Je(C))))]),_:1},8,["class"])):Fe("v-if",!0),Zt(L.$slots,"default",{},()=>[L.dangerouslyUseHTMLString?(oe(),me(Xe,{key:1},[Fe(" Caution here, message could've been compromised, never use user's input as message "),ee("p",{class:ot(Je(s).e("content")),innerHTML:L.message},null,10,["innerHTML"])],2112)):(oe(),me("p",{key:0,class:ot(Je(s).e("content"))},be(L.message),3))]),L.showClose?(oe(),Ie(Je(Nd),{key:2,class:ot(Je(s).e("closeBtn")),onClick:_n(N,["stop"])},{default:q(()=>[X(Je(r))]),_:1},8,["class","onClick"])):Fe("v-if",!0)],46,["id"]),[[po,p.value]])]),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}});var Zm=$a(Jm,[["__file","message.vue"]]);let eg=1;const Id=e=>{const o=!e||vl(e)||hd(e)||bl(e)?{message:e}:e,n={...en,...o};if(n.appendTo){if(vl(n.appendTo)){let s=document.querySelector(n.appendTo);r=s,typeof Element<"u"&&r instanceof Element||(s=document.body),n.appendTo=s}}else n.appendTo=document.body;var r;return vd(Zn.grouping)&&!n.grouping&&(n.grouping=Zn.grouping),Ko(Zn.duration)&&n.duration===3e3&&(n.duration=Zn.duration),Ko(Zn.offset)&&n.offset===16&&(n.offset=Zn.offset),vd(Zn.showClose)&&!n.showClose&&(n.showClose=Zn.showClose),n},tg=({appendTo:e,...o},n)=>{const r="message_"+eg++,s=o.onClose,d=document.createElement("div"),c={...o,id:r,onClose:()=>{s==null||s(),(y=>{const g=Wn.indexOf(y);if(g===-1)return;Wn.splice(g,1);const{handler:_}=y;_.close()})(v)},onDestroy:()=>{md(null,d)}},f=X(Zm,c,bl(c.message)||hd(c.message)?{default:bl(c.message)?c.message:()=>c.message}:null);f.appContext=n||Ti._context,md(f,d),e.appendChild(d.firstElementChild);const h=f.component,p={close:()=>{h.exposed.visible.value=!1}},v={id:r,vnode:f,vm:h,handler:p,props:f.component.props};return v},Ti=(e={},o)=>{if(!Ga)return{close:()=>{}};const n=Id(e);if(n.grouping&&Wn.length){const s=Wn.find(({vnode:d})=>{var c;return((c=d.props)==null?void 0:c.message)===n.message});if(s)return s.props.repeatNum+=1,s.props.type=n.type,s.handler}if(Ko(Zn.max)&&Wn.length>=Zn.max)return{close:()=>{}};const r=tg(n,o);return Wn.push(r),r.handler};Rd.forEach(e=>{Ti[e]=(o={},n)=>{const r=Id(o);return Ti({...r,type:e},n)}}),Ti.closeAll=function(e){for(const o of Wn)e&&e!==o.props.type||o.handler.close()},Ti._context=null;const ng=(Od="$message",(kl=Ti).install=e=>{kl._context=e._context,e.config.globalProperties[Od]=kl},kl);/*! * FormCreate 可视化表单设计器 * @form-create/designer v3.2.8 * (c) 2021-2024 xaboy * Github https://github.com/xaboy/form-create-designer * Site https://form-create.com/ * Released under the MIT License. */var kl,Od;(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.CodeMirror{color:#000;direction:ltr;font-family:monospace;height:300px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{background-color:#f7f7f7;border-right:1px solid #ddd;white-space:nowrap}.CodeMirror-linenumber{color:#999;min-width:20px;padding:0 3px 0 5px;text-align:right;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{background:#7e7;border:0!important;width:auto}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:-50px}.CodeMirror-ruler{border-left:1px solid #ccc;bottom:0;position:absolute;top:0}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{background:#fff;overflow:hidden;position:relative}.CodeMirror-scroll{height:100%;margin-bottom:-50px;margin-right:-50px;outline:none;overflow:scroll!important;padding-bottom:50px;position:relative;z-index:0}.CodeMirror-sizer{border-right:50px solid transparent;position:relative}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{display:none;outline:none;position:absolute;z-index:5}.CodeMirror-vscrollbar{overflow-x:hidden;overflow-y:scroll;right:0;top:0}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-x:scroll;overflow-y:hidden}.CodeMirror-scrollbar-filler{bottom:0;right:0}.CodeMirror-gutter-filler{bottom:0;left:0}.CodeMirror-gutters{left:0;min-height:100%;position:absolute;top:0;z-index:3}.CodeMirror-gutter{display:inline-block;height:100%;margin-bottom:-50px;vertical-align:top;white-space:normal}.CodeMirror-gutter-wrapper{background:none!important;border:none!important;position:absolute;z-index:4}.CodeMirror-gutter-background{bottom:0;position:absolute;top:0;z-index:4}.CodeMirror-gutter-elt{cursor:default;position:absolute;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{word-wrap:normal;-webkit-tap-highlight-color:transparent;background:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;font-variant-ligatures:contextual;line-height:inherit;margin:0;overflow:visible;position:relative;white-space:pre;z-index:2}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{bottom:0;left:0;position:absolute;right:0;top:0;z-index:0}.CodeMirror-linewidget{padding:.1px;position:relative;z-index:2}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{height:0;overflow:hidden;position:absolute;visibility:hidden;width:100%}.CodeMirror-cursor{pointer-events:none;position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{position:relative;visibility:hidden;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-hints{background:#fff;border:1px solid silver;border-radius:3px;box-shadow:2px 3px 5px #0003;font-family:monospace;font-size:90%;list-style:none;margin:0;max-height:20em;overflow:hidden;overflow-y:auto;padding:2px;position:absolute;z-index:1}.CodeMirror-hint{border-radius:2px;color:#000;cursor:pointer;margin:0;padding:0 4px;white-space:pre}li.CodeMirror-hint-active{background:#08f;color:#fff}._fd-fn{display:flex;flex-direction:column;height:100%;position:relative;width:100%}._fd-fn .el-button{bottom:3px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;position:absolute;right:5px}._fd-fn-editor{display:flex;flex:1;overflow:scroll;width:100%}._fd-fn-editor .CodeMirror{height:100%;width:100%}._fd-fn-tip{color:#000;direction:ltr;font-family:monospace}._fd-fn-tip .cm-keyword{color:#708;line-height:24px;overflow-x:auto;white-space:nowrap}._fd-fn-tip .cm-keyword::-webkit-scrollbar{background-color:transparent;height:0;width:0}._fd-fn-ind{background-color:#f7f7f7;border-right:1px solid #ddd;display:inline-block;float:left;height:24px;margin-right:4px;width:29px}._fd-fn-arg{cursor:pointer;text-decoration:underline}._fd-fn-arg i{color:#3073ff;font-size:12px}._fd-event .el-button{border-color:#2e73ff;color:#2e73ff;font-weight:400;width:100%}._fd-event .el-badge{width:100%}._fd-event-dialog .el-dialog__body{padding:10px 20px}._fd-event-con .el-main{padding:0}._fd-event-l,._fd-event-r{border:1px solid #ececec;display:flex;flex:1;flex-direction:column;height:100%}._fd-event-dropdown .el-dropdown-menu{max-height:500px;overflow:scroll}._fd-event-head{align-items:center;background:#f8f9ff;border-bottom:1px solid #eee;display:flex;padding:5px 15px}._fd-event-head .el-button.is-link{color:#2f73ff}._fd-event-r{border-left:0}._fd-event-r ._fd-event-head{justify-content:space-between}._fd-event-l>.el-main,._fd-event-r>.el-main{box-sizing:border-box;display:flex;flex:1;flex-basis:auto;flex-direction:row;min-width:0;width:100%}._fd-event-item,._fd-event-r>.el-main{flex-direction:column}._fd-event-item{display:flex;font-size:14px;justify-content:center;max-width:250px;overflow:hidden;white-space:pre-wrap}._fd-event-item ._fd-label{color:#aaa;font-size:12px}._fd-event-l .el-menu{border-right:0;border-top:0;overflow:auto;padding:0 10px 5px;width:100%}._fd-event-l .el-menu-item.is-active{background:#e4e7ed;color:#303133}._fd-event-l .el-menu-item{border:1px solid #ececec;border-radius:5px;height:auto;line-height:1em;margin-top:5px;padding:0}._fd-event-method{color:#9d238c;display:flex;flex-direction:column;font-family:monospace;font-size:14px;justify-content:center;overflow:hidden;white-space:pre-wrap;width:225px}._fd-event-method ._fd-label{color:#aaa;font-size:12px;margin-top:4px}._fd-event-method>span:first-child,._fd-fn-list-method>span:first-child{color:#9d238c}._fd-event-method>span:first-child>span,._fd-fn-list-method>span:first-child>span{color:#000;margin-left:10px}._fd-event-title{align-items:center;display:flex;justify-content:space-between;padding:10px 0;width:100%}._fd-event-title .fc-icon{color:#282828;font-size:18px;margin-right:6px}._fd-event-title .el-input{width:200px}._fd-event-title .el-input__wrapper{box-shadow:none}._fd-event-title .el-menu-item.is-active i{color:#282828}._fd-event-con .CodeMirror{height:100%;width:100%}._fd-event-con .CodeMirror-wrap pre.CodeMirror-line{padding-left:20px}._fd-type-select{cursor:pointer}._fd-type-select.is-disabled{cursor:default}._fd-type-select .fc-icon{font-size:14px}._fd-type-select-pop{max-height:500px;overflow:auto}._fd-type-select-pop .fc-icon{font-size:14px}._fd-drag-tool{word-wrap:break-word;box-sizing:border-box;display:block;min-height:20px;outline:1px dashed var(--fc-tool-border-color);overflow:hidden;padding:2px;position:relative;transition:outline-color .3s ease;word-break:break-all}._fd-drag-tool ._fd-drag-tool{height:calc(100% - 6px);margin:3px}._fd-drag-tool+._fd-drag-tool{margin-top:5px}._fd-drag-tool.active{outline:2px solid #2e73ff}._fd-drag-tool.active>div>._fd-drag-btn{display:flex}._fd-drag-tool._fd-drop-hover ._fd-drag-box{padding-bottom:15px!important;padding-top:15px!important}._fd-drag-tool ._fd-drag-btn{display:none}.drag-r{bottom:2px;right:2px}._fd-drag-l,.drag-r{position:absolute;z-index:2}._fd-drag-l{left:0;top:0}._fd-drag-btn{background-color:#2e73ff;color:#fff;cursor:pointer;float:left;height:18px;justify-content:center;line-height:20px;padding-bottom:1px;text-align:center;width:18px}._fd-drag-btn+._fd-drag-btn{margin-left:2px}._fd-drag-danger{background-color:#ff2e2e}._fd-drag-btn i{font-size:14px}._fd-drag-mask{bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}._fd-struct,._fd-struct .el-badge{width:100%}._fd-struct .el-button{border-color:#2e73ff;color:#2e73ff;font-weight:400;width:100%}._fd-struct-con .CodeMirror{height:500px}._fd-struct-con .el-dialog__body{padding:0}._fd-row,._fd-html-editor{width:100%}._fd-html-editor .el-button{border-color:#2e73ff;color:#2e73ff;font-weight:400;width:100%}._fd-html-editor-con .CodeMirror{height:450px}._fd-html-editor-con .CodeMirror-line{font-size:13px!important;line-height:16px!important}._fd-html-editor-con .CodeMirror-lint-tooltip{z-index:1!important}._fd-html-editor-con .el-dialog__body{padding:0 20px}._fd-fn-input,._fd-fn-input .el-badge{width:100%}._fd-fn-input .el-button{border-color:#2e73ff;color:#2e73ff;font-weight:400;width:100%}._fd-fn-input-dialog .CodeMirror-lint-tooltip{z-index:1!important}._fd-fn-input-dialog .el-dialog__body{height:500px;padding:0}._fd-struct-editor{flex:1;width:100%}._fd-struct-editor>div{height:100%}._fd-gfc,._fd-gfc .el-badge{width:100%}._fd-gfc .el-button{border-color:#2e73ff;color:#2e73ff;font-weight:400;width:100%}._fd-gfc-dialog .el-tabs__header{margin-bottom:0}._fd-gfc-dialog .form-create{margin-top:15px}._fd-gfc-con .CodeMirror{height:100%;width:100%}._fd-gfc-con .CodeMirror-wrap pre.CodeMirror-line{padding-left:20px}._fd-config-item{color:#666;display:flex;flex-direction:column;font-size:12px;margin-bottom:10px;width:100%}._fd-ci-head{justify-content:space-between}._fd-ci-head,._fd-ci-label{align-items:center;display:flex}._fd-ci-label{color:#262626;font-size:12px}._fd-ci-con{align-items:center;display:flex;justify-content:flex-end;min-width:150px}._fd-ci-label.is-arrow{cursor:pointer}._fd-ci-append{background:#f5f5f5;display:flex;flex-direction:column;margin:5px 3px 3px;padding:4px}._fd-ci-label i{font-size:12px;font-weight:600}._fd-ci-label i.down{transform:rotate(-180deg)}._fd-ci-info{font-size:12px;padding-right:5px}._fd-field-input{width:100%}._fd-field-input>.fc-icon{color:#a8abb2;cursor:pointer;height:24px;position:absolute;right:28px;text-align:center;top:1px;width:24px;z-index:1}._fd-field-input>.fc-icon:hover{color:#2e73ff}._fd-field-input .el-input-group__append{color:#606266;cursor:pointer;margin:0;padding:0;width:25px}._fd-fn-list,._fd-fn-list .el-badge{width:100%}._fd-fn-list .el-button{border-color:#2e73ff;color:#2e73ff;font-weight:400;width:100%}._fd-fn-list-dialog .el-dialog__body{padding:10px 20px}._fd-fn-list-con .el-main{padding:0}._fd-fn-list-l,._fd-fn-list-r{border:1px solid #ececec;display:flex;flex:1;flex-direction:column;height:100%}._fd-fn-list-head{align-items:center;background:#f8f9ff;border-bottom:1px solid #eee;display:flex;padding:5px 15px}._fd-fn-list-head .el-button.is-link{color:#2f73ff}._fd-fn-list-r{border-left:0}._fd-fn-list-r ._fd-fn-list-head{justify-content:flex-end}._fd-fn-list-l>.el-main,._fd-fn-list-r>.el-main{box-sizing:border-box;display:flex;flex:1;flex-basis:auto;flex-direction:row;min-width:0;width:100%}._fd-fn-list-r>.el-main{flex-direction:column}._fd-fn-list-l .el-menu{border-right:0;border-top:0;overflow:auto;padding:0 10px 5px;width:100%}._fd-fn-list-l .el-menu-item.is-active{background:#e4e7ed;color:#303133}._fd-fn-list-l .el-menu-item{border:1px solid #ececec;border-radius:5px;height:auto;line-height:1em;margin-top:5px;padding:0}._fd-fn-list-method{display:flex;flex-direction:column;font-family:monospace;font-size:14px;justify-content:center;line-height:1em;overflow:hidden;padding:10px 0;white-space:pre-wrap;width:100%}._fd-fn-list-method ._fd-label{color:#aaa;font-size:12px;margin-top:4px}._fd-fn-list-method-info>span:first-child,._fd-fn-list-method>span:first-child{color:#9d238c}._fd-fn-list-method-info>span:first-child>span,._fd-fn-list-method>span:first-child>span{color:#000;margin-left:10px}._fd-fn-list-con .CodeMirror{height:100%;width:100%}._fd-fn-list-con .CodeMirror-wrap pre.CodeMirror-line{padding-left:20px}._fd-table-view{overflow:auto}._fd-table-view-cell{background:#fff;border:1px inset rgba(0,0,0,.1);height:100%;min-height:50px}._fd-table-view-cell>._fd-drag-tool{border:0;height:100%;margin:0}._fd-table-view-btn{flex-direction:column;padding:0}._fd-table-view-btn .fc-icon{color:#fff;font-size:16px;width:18px}._fd-table-view-icon{color:#fff;display:flex;height:100%;justify-content:center;margin-top:1px;width:100%}._fd-table-view>table{border-bottom:1px solid #ebeef5;border-right:1px solid #ebeef5;border-color:#ebeef5 currentcolor currentcolor #ebeef5;border-style:solid none none solid;border-width:1px 0 0 1px;height:100%;overflow:hidden;table-layout:fixed;width:100%}._fd-table-view tr{min-height:50px}._fd-table-view td{border-bottom:0;border-right:0;border-color:currentcolor #ebeef5 #ebeef5 currentcolor;border-style:none solid solid none;border-width:0 1px 1px 0;box-sizing:border-box;min-height:50px;min-width:80px;overflow-wrap:break-word;padding:5px;position:relative;white-space:nowrap}._fd-tableCell-drag{height:100%}._fc-table{overflow:auto}._fc-table>table{border-bottom:1px solid #ebeef5;border-right:1px solid #ebeef5;border-color:#ebeef5 currentcolor currentcolor #ebeef5;border-style:solid none none solid;border-width:1px 0 0 1px;height:100%;overflow:hidden;table-layout:fixed;width:100%}._fc-table td,._fc-table tr{min-height:50px}._fc-table td{border-bottom:0;border-right:0;border-color:currentcolor #ebeef5 #ebeef5 currentcolor;border-style:none solid solid none;border-width:0 1px 1px 0;box-sizing:border-box;min-width:80px;overflow:hidden;overflow-wrap:break-word;padding:5px;position:relative}._fd-validate{display:flex;flex-direction:column;width:100%}._fd-validate-btn{border-color:#2e73ff;color:#2e73ff;font-weight:400;width:100%}._fd-validate-pop .el-dropdown-menu__item{width:248px}._fd-validate-item{border-bottom:1px dashed #ececec;margin-bottom:10px}._fd-validate-item .el-col-12:first-child{padding-right:5px}._fd-validate-item .el-col-12+.el-col-12{padding-left:5px}._fd-validate-item .el-input-number{width:100%}._fd-validate-title{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:10px}._fd-validate-title>div{align-items:center;display:flex}._fd-validate-title>div>span{background:#ececec;border-radius:15px;font-size:12px;height:16px;line-height:16px;margin-right:5px;text-align:center;width:16px}._fd-validate-title i{cursor:pointer}._fd-validate-title i:hover{color:#ff2e2e}._fd-validate .append-msg{cursor:pointer}._fd-validate .el-input-group__append{padding:0 10px}._fd-required{align-items:center;display:flex;width:100%}._fd-required .el-input{margin-left:15px}._fd-required .el-switch{height:28px}._td-table-opt[data-v-edb5e0db]{width:100%}._td-table-opt .el-table[data-v-edb5e0db]{z-index:1}._td-table-opt-handle[data-v-edb5e0db]{align-items:center;display:flex;justify-content:space-between;padding-right:5px}._fd-tree-opt ._fd-tree-opt-btn{background-color:#2f73ff;color:#fff;cursor:pointer;float:left;height:19px;justify-content:center;line-height:20px;padding-bottom:1px;text-align:center;width:18px}._fd-tree-opt-node{align-items:center;display:flex}._fd-tree-opt-first{margin-right:5px;width:60px}._fd-tree-opt-last{width:110px}._fd-tree-opt .el-table{z-index:1}._fd-tree-opt ._fd-tree-opt-danger{background-color:#ff2d2e;border-radius:0 2px 2px 0}._fd-tree-opt .el-tree-node__content{height:28px;margin-bottom:3px}._fd-tree-opt .el-input__inner{border-right:0}._fd-tree-opt .el-input-group__append{background:#fff;padding-left:1px;padding-right:2px;width:90px}._fd-table-form{background:#fff;border:1px solid #ececec;width:100%}._fc-child-empty,._fd-table-form{min-height:130px}._fd-tf-wrap{display:flex;overflow:auto}._fd-tf-wrap>._fd-drag-tool{display:flex;flex-shrink:0;height:auto;margin:2px}._fc-table-form{color:#666;overflow:auto}._fc-table-form .form-create .el-form-item{margin-bottom:1px}._fc-table-form .form-create .el-form-item.is-error{margin-bottom:22px}._fc-table-form .el-form-item__label{display:none!important}._fc-table-form .el-form-item__content{display:flex;margin-left:0!important;width:100%!important}._fc-tf-head-idx,._fc-tf-idx{font-weight:500;min-width:40px;text-align:center;width:40px}._fc-tf-btn,._fc-tf-edit{min-width:70px;text-align:center;width:70px}._fc-tf-btn .fc-icon{cursor:pointer}._fc-table-form._fc-disabled ._fc-tf-btn .fc-icon,._fc-table-form._fc-disabled>.el-button{cursor:not-allowed}._fc-tf-table{border:1px solid #ebeef5;border-bottom:0;height:100%;overflow:hidden;table-layout:fixed;width:100%}._fc-table-form ._fc-tf-table>thead>tr>th{border:0;border-bottom:1px solid #ebeef5;font-weight:500;height:40px}._fc-table-form ._fc-tf-table>thead>tr>th+th{border-left:1px solid #ebeef5}._fc-table-form tr{min-height:50px}._fc-table-form ._fc-read-view{text-align:center;width:100%}._fc-table-form td{border:0;border-bottom:1px solid #ebeef5;box-sizing:border-box;min-height:50px;min-width:80px;overflow:hidden;overflow-wrap:break-word;padding:5px;position:relative}._fc-table-form td+td{border-left:1px solid #ebeef5}._fc-tf-table .el-cascader,._fc-tf-table .el-date-editor,._fc-tf-table .el-input-number,._fc-tf-table .el-select,._fc-tf-table .el-slider{width:100%}._fd-tf-col ._fd-tf-con .el-form-item{margin-bottom:1px}._fd-tf-col{display:flex;flex-direction:column;flex-shrink:0;flex-wrap:wrap;width:180px}._fd-tf-con .el-form-item__label{display:none!important}._fd-tf-con{display:flex;flex:1;width:100%}._fd-tf-con .el-form-item__content{display:flex;margin-left:0!important;width:100%!important}._fd-tf-title{align-items:center;border-bottom:1px solid #ebeef5;display:flex;height:40px;margin-bottom:0;padding-left:5px;width:100%!important}._fd-tf-con ._fc-l-item{display:flex;flex-shrink:0;margin-top:4px;width:100%}._fd-tf-con ._fc-l-item>*{display:none!important}._fd-tf-con .el-cascader,._fd-tf-con .el-date-editor,._fd-tf-con .el-input-number,._fd-tf-con .el-select,._fd-tf-con .el-slider{width:100%}._fd-size-input{align-items:center;display:flex}._fd-size-input .el-input-number--small{width:122px}._fd-size-input .el-button{font-size:14px;margin-left:3px;padding:5px;width:25px}._fd-color-input{width:150px}._fd-color-input .el-input .el-color-picker{margin:0}._fd-color-input .el-input .el-input-group__append{padding:0;width:24px}._fd-color-input .el-input .el-color-picker__trigger{border-left:0;border-radius:0 3px 3px 0}._fd-box-size-input{color:#000}._fd-box-size-input ._margin,._fd-box-size-input ._padding{background-color:#f2cea5;box-sizing:border-box;height:180px;padding:30px 45px;position:relative;width:100%}._fd-box-size-input ._margin,html.dark ._fd-box-size-input ._padding{background-color:#a9855c}._fd-box-size-input ._margin{background-color:#c6cf92;height:120px;width:100%}._fd-box-size-input ._fd-input{background-color:unset;border:0;display:inline-block;font-size:12px;height:20px;margin:0;max-width:40px;outline:0 none;padding:0;text-align:center;text-decoration:underline;width:30%}._fd-box-size-input ._fd-input:focus,._fd-box-size-input ._fd-input:hover{background-color:#ececec;color:#262626;opacity:.9}._fd-box-size-input ._fd-left,._fd-box-size-input ._fd-right{left:2px;margin-top:-10px;position:absolute;top:50%}._fd-box-size-input ._fd-bottom,._fd-box-size-input ._fd-top{left:50%;margin-left:-20px;position:absolute;top:5px}._fd-box-size-input ._fd-bottom{bottom:5px;top:unset}._fd-box-size-input ._fd-right{left:unset;right:2px}._fd-box-size-input ._box{align-items:center;background-color:#94b5c0;display:flex;height:100%;justify-content:center;width:100%}._fd-box-size-input ._margin-title,._fd-box-size-input ._padding-title{left:4px;position:absolute;top:2px}._fd-box-size-input ._fd-help{align-items:center;color:#aaa;display:flex;position:absolute;right:2px;top:2px}._fd-box-size-input .fc-icon{color:#262626;cursor:pointer}._fd-box-size-input .fc-icon.active{color:#2e73ff}._fd-box-size-input ._fd-x{margin:0 5px}._fd-border-input{display:flex;height:110px;justify-content:center;width:100%}._fd-border-input ._fd-bi-left{align-items:center;display:flex;flex-direction:column;height:115px;justify-content:center;width:115px}._fd-border-input ._fd-bi-right{display:flex;flex-direction:column;justify-content:space-around;padding:5px;width:140px}._fd-border-input ._fd-bi-right ._fd-color-input{width:140px}._fd-bi-opt{align-items:center;display:flex;height:100%;width:100%}._fd-bi-opt ._line{width:100%}._fd-bi-opt .solid{border:1px solid #000}._fd-bi-opt .dashed{border:1px dashed #000}._fd-bi-opt .dotted{border:1px dotted #000}._fd-bi-opt .double{border:1px double #000}._fd-border-input ._fd-bil-row{display:flex;height:38px;justify-content:center}._fd-border-input ._fd-bil-col{align-items:center;cursor:pointer;display:flex;font-size:16px;height:22px;justify-content:center;margin:8px;width:22px}._fd-border-input ._fd-bil-col.active{color:#2e73ff;outline:1px dashed #2e73ff}.line-box{box-sizing:border-box;height:20px;padding:1px;width:150px}.line-box-con{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAD5JREFUOE9jZGBg+M+AChjR+HjlQYqHgQFoXibNS+gBBjKMpDAZHAaQ5GQGBgYUV4+mA7QAgaYokgJ14NMBAK1TIAlUJpxYAAAAAElFTkSuQmCC);height:100%;opacity:.3;width:100%}._fd-radius-input{display:flex;flex-direction:column;width:100%}._fd-radius-con{display:flex;flex-wrap:wrap}._fd-radius-item{box-sizing:border-box;padding:5px 0;width:50%}._fd-radius-item,._fd-radius-item ._fd-radius-icon{align-items:center;display:flex;justify-content:center}._fd-radius-item ._fd-radius-icon{height:24px;width:24px}._fd-radius-item ._fd-size-input .el-input-number--small{width:70px}._fd-font-input{display:flex;justify-content:center;padding:0 5px}._fd-fi-box{overflow:hidden;width:150px}._fd-font-input .el-form{grid-column-gap:10px;display:grid;grid-template-columns:repeat(2,1fr);width:100%}._fd-font-input .el-form--inline .el-form-item{margin:0;padding:0}._fd-font-input ._fd-size-input .el-input-number--small{width:100%}._fd-shadow-content{align-items:center;display:flex;flex-direction:column;justify-content:space-between}._fd-sc-form .fc-icon{font-size:12px}._fd-shadow-content .el-form-item{box-sizing:border-box;margin:0 0 5px!important;padding:0 0 0 10px;width:50%}._fd-shadow-content .el-input__wrapper{flex:1}._fd-shadow-content ._fd-sc-box{border:1px solid #ccc;border-radius:5px;cursor:pointer;height:250px;overflow:hidden;position:relative;width:250px}._fd-shadow-content ._fd-sc-box .spot{border-radius:100%;height:0;position:absolute;width:0}._fd-shadow-content ._fd-sc-box .spot-id{background:#1989fa;border-radius:100%;height:10px;left:-5px;position:absolute;top:-5px;width:10px;z-index:1}._fd-shadow-content ._fd-sc-box.down .spot-id{box-shadow:1px 1px 10px 2px #1989fa}._fd-shadow-content ._fd-sc-box .center-spot{background:#1989fa;border-radius:100%;height:0;left:125px;position:absolute;top:125px;width:0}._fd-shadow-content ._fd-sc-box .x-hr{background:#ccc;height:1px;position:absolute;top:125px;width:100%}._fd-shadow-content ._fd-sc-box .y-hr{background:#ccc;height:100%;left:125px;position:absolute;width:1px}._fd-shadow-content .el-select__placeholder{text-align:center}._fd-shadow-content .el-input-group__append{padding:0;width:55px}._fd-shadow-content .el-input{width:105px}._fd-shadow-content ._fd-sc-right{margin-top:10px}._fd-shadow-content ._fd-sc-radio{width:105px}._fd-shadow-content ._fd-sc-radio .el-radio-button{display:flex;flex:1}._fd-shadow-content ._fd-sc-radio .el-radio-button__inner{width:100%}._fd-shadow-input ._fd-ci-con{width:150px}._fd-shadow-input :focus-visible{outline:0 none}._fd-si-input .el-input-group__append{display:inline-flex;padding:0;width:24px}._fd-si-input .el-input__wrapper{flex:1}._fd-shadow-input ._fd-ci-con .fc-icon{cursor:pointer}._fd-style-config{display:flex;flex-direction:column;width:100%}._fd-opacity-input ._fd-ci-con{align-items:center;display:flex;justify-content:space-between;width:150px}._fd-opacity-input ._fd-ci-con>span{width:32px}._fd-opacity-input .el-slider{flex:1;margin-right:15px}._fc-designer{--fc-drag-empty:"\\62d6\\62fd\\5de6\\4fa7\\5217\\8868\\4e2d\\7684\\7ec4\\4ef6\\5230\\6b64\\5904";--fc-child-empty:"\\70b9\\51fb\\53f3\\4e0b\\89d2 \\e789 \\6309\\94ae\\6dfb\\52a0\\4e00\\5217";--fc-tool-border-color:#2e73ff;background-color:#fff;cursor:default;height:100%;min-height:500px;overflow:hidden;position:relative}._fc-designer>.el-main{bottom:0;left:0;padding:0;position:absolute;right:0;top:0}._fc-m .form-create ._fc-l-item{align-items:center;background:#f5f5f5;border:1px dashed #000;border-radius:4px;color:#000;display:flex!important;height:30px;justify-content:center;margin:5px 0;overflow:hidden;padding-bottom:0;transition:all .3s ease;width:100%}._fc-m .form-create ._fc-l-item ._fc-l-icon{display:inline-block!important;padding:0 4px}._fc-m .form-create ._fc-l-item ._fc-l-name{display:inline-block!important;font-size:12px}._fc-l,._fc-m,._fc-r{border-top:1px solid #ececec;box-sizing:border-box}._fc-r{--el-color-primary:#2e73ff}._fc-r-tab-props{padding:0 20px}._fc-r-title{color:#333;font-size:12px;margin:15px 0 5px}._fc-r-sub ._fc-r-title{align-items:center;display:flex;justify-content:space-between}._fc-r-sub .fc-icon{cursor:pointer}._fc-r-sub ._fd-config-item+._fd-config-item{margin-top:8px}._fc-r-sub>._fd-config-item>._fd-ci-head{padding-left:8px;position:relative}._fc-r-sub>._fd-config-item>._fd-ci-head:before{background-color:#333;border-radius:25px;content:" ";height:5px;left:0;position:absolute;width:5px}._fc-r-name-input .el-input-group__append{color:#606266;cursor:pointer;margin:0;padding:0;width:25px}._fc-r-name-input .icon-group{cursor:pointer}._fc-r-name-input .icon-group:hover{color:#2e73ff}._fc-r .el-main{padding-bottom:100px}._fc-l .el-main{padding:0}._fc-l .el-tree-node__label{color:#333;font-weight:400;padding:3px}._fc-l .el-tree-node__content{height:30px;margin-top:5px}._fc-l .el-tree-node__content>.el-tree-node__expand-icon{color:#333}._fc-l .el-tree-node__expand-icon.is-leaf{color:transparent}@keyframes a{0%{transform:rotate(0)}to{transform:rotate(1turn)}}._fc-loading{animation:a 2s linear infinite}._fc-tree-node{align-items:center;display:flex;height:26px;justify-content:space-between;line-height:26px;padding-right:5px;width:100%}._fc-tree-node.active,._fc-tree-node.active .icon-more{color:#2e73ff}._fc-tree-label{align-items:center;display:flex}._fc-tree-label>i{font-weight:700;margin-right:5px}._fc-tree-more{align-items:center;display:flex;font-weight:700;padding:0 15px}._fc-l-tabs{border-bottom:1px solid #ececec;display:flex;padding:0}._fc-l-tab{box-sizing:border-box;color:#303133;display:inline-block;flex:1;font-size:14px;font-weight:600;height:40px;line-height:40px;list-style:none;position:relative;text-align:center}._fc-l ._fc-l-tab.active{border-bottom:2px solid #409eff;color:#409eff}._fc-l-group{border:1px solid #eee;margin:12px;padding:0;user-select:none}._fc-l-group ._fc-l-list{align-items:stretch;display:grid;grid-template-columns:repeat(3,1fr)}._fc-l-title{align-items:center;cursor:pointer;display:flex;font-weight:600;justify-content:space-between;margin:0;padding:12px}._fc-l-title,._fc-l-title i{font-size:14px}._fc-l-title i.down{transform:rotate(90deg)}._fc-l-item{background:#fff;color:#000;cursor:pointer;display:inline-block;line-height:1;padding-bottom:10px;text-align:center;transition:all .2s ease}._fc-l-item i{display:inline-block;font-size:21px}._fc-l-item ._fc-l-name{font-size:12px}._fc-l-item ._fc-l-icon{padding:10px 5px 12px}._fc-l-item:hover{background:#2e73ff;color:#fff}._fc-m-tools{border:1px solid #ececec;border-top:0;height:40px;justify-content:space-between;white-space:nowrap}._fc-m-tools,._fc-m-tools-l,._fc-m-tools-r{align-items:center;display:flex}._fc-m-tools-r{overflow:auto}._fc-m-tools-l .devices .fc-icon{cursor:pointer;width:18px}._fc-m-tools-l .devices .fc-icon.active{color:#2e73ff}._fc-m-tools-l .devices .fc-icon+.fc-icon{margin-left:5px}._fc-m-tools .line{background:#d8d8d8;height:24px;margin:0 10px;width:1px}._fc-m-tools .el-button{align-items:center;border-radius:5px;display:flex;padding:5px 10px}._fc-m-tools .el-button>span{align-items:center;display:inline-flex;justify-content:center}._fc-m-tools .el-button+.el-button,._fc-m-tools .el-dropdown{margin-left:10px}._fc-m-tools ._fd-m-extend{background-color:#f1f1f1;border-color:#ccc;border-radius:5px;color:#666;padding:5px}._fc-m-tools ._fd-m-extend .fc-icon{margin-right:0}._fc-m-tools ._fd-input-btn{align-items:center;display:flex;font-size:12px;justify-content:space-between}._fc-m-tools ._fd-input-btn .icon-check{color:#67c23a;font-size:18px}._fc-m-tools-r .fc-icon{font-size:14px;margin-right:2px}._fc-m-tools-l .fc-icon{cursor:pointer;font-size:18px}._fc-m-tools-l .fc-icon+.fc-icon{margin-left:10px}._fc-m-tools-l .fc-icon.disabled{color:#999;cursor:not-allowed}._fc-r .el-tabs__nav-wrap:after{background-color:#ececec;height:1px}._fc-r ._fc-r-tabs{border-bottom:1px solid #ececec;display:flex;padding:0}._fc-r .el-button,._fc-r .el-radio-button__inner,._fc-r .el-table__cell .cell{font-weight:400}._fc-r ._fc-r-tab{box-sizing:border-box;color:#303133;display:inline-block;flex:1;font-size:14px;font-weight:600;height:40px;line-height:40px;list-style:none;position:relative;text-align:center}._fc-r ._fc-r-tab.active{border-bottom:2px solid #409eff;color:#409eff}._fc-m-con{background:#f5f5f5;padding:20px 20px 36px;position:relative}._fc-m-drag{box-sizing:border-box;margin:0 auto;overflow:auto;padding:2px}._fc-m-input{padding:5px 5px 80px}._fc-m-input-handle{background:#fff;bottom:17px;box-shadow:0 -8px 14px #0000001a;left:0;margin:20px;padding:12px;position:absolute;right:0;text-align:center;z-index:2}._fc-m-drag.mobile{width:350px}._fc-m-drag.pad{width:770px}._fc-m-drag,.draggable-drag{background:#fff;height:100%;position:relative}._fc-m-drag>form,._fc-m-drag>form>.el-row{height:100%}._fc-m-drag .el-tree{width:100%}._fd-drag-box{height:100%;min-height:60px;transition:padding-bottom,padding-top .3s ease;width:100%}._fd-drag-box ._fd-drag-box{outline:1px dashed #ececec}._fd-drag-tool>._fd-drag-box{outline:none}._fd-drag-box>div[data-draggable]{margin-bottom:1px}._fc-r ._fc-group-container+._fc-group-container{margin-top:20px}._fc-r ._fc-group-container{margin:0;padding:10px}._fc-r ._fc-group-handle{right:15px}._fc-r .el-form-item{margin-bottom:10px!important}._fc-r .el-form-item__label{color:#333}._fc-upload-preview{border-radius:5px;display:inline-block;height:120px;overflow:hidden;width:120px}._fc-tabs .el-tabs__item{font-weight:400}._fc-tabs .el-tabs__nav-scroll{padding:0 15px}._fc-tabs .el-tab-pane{margin-right:15px}._fc-tabs .el-tabs__nav-wrap:after{height:1px}.form-create .fc-none{display:none}._fd-draggable-drag.drag-holder,._fd-elCard-drag.drag-holder,._fd-elCollapseItem-drag.drag-holder,._fd-elTabPane-drag.drag-holder,._fd-group-drag.drag-holder,._fd-subForm-drag.drag-holder,._fd-tableFormColumn-drag.drag-holder{background:#f5f5f5;background-size:0;min-height:90px;position:relative}._fc-child-empty:after,._fd-draggable-drag.drag-holder:after,._fd-elCard-drag.drag-holder:after,._fd-elCollapseItem-drag.drag-holder:after,._fd-elTabPane-drag.drag-holder:after,._fd-group-drag.drag-holder:after,._fd-subForm-drag.drag-holder:after,._fd-tableFormColumn-drag.drag-holder:after{align-items:center;bottom:0;color:#aaa;content:var(--fc-drag-empty);display:flex;font-size:12px;justify-content:center;left:0;position:absolute;right:0;top:0}._fc-designer ._fc-m-drag ._fd-draggable-drag{overflow:scroll;padding:2px 2px 100px}._fc-m-drag._fd-drop-hover ._fd-draggable-drag{padding-top:20px}._fd-draggable-drag.drag-holder{background-color:#fff}._fd-draggable-drag.drag-holder:after{font-size:16px}._fc-child-empty:after{content:var(--fc-child-empty);font-family:fc-icon!important}.fc-configured{color:#999;margin-left:5px}._fc-manage-text{color:#2f73ff;cursor:pointer;font-size:12px;margin-left:4px}._fc-manage-text i{font-size:12px}._fc-message-error{background-color:#fff;border-color:#fff;border-radius:8px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;padding:9px 13px;top:16px;z-index:3}._fc-message-error>.el-icon{font-size:18px}._fc-message-error .el-message__content{color:#000000e0;font-size:14px}._fd-preview-copy{align-items:center;background:#2e73ff33;border-radius:10px;color:#2e73ff;cursor:pointer;display:flex;height:28px;justify-content:center;position:absolute;right:35px;top:65px;width:28px}._fd-preview-dialog{border-radius:6px;padding-top:0}._fd-preview-dialog .el-dialog__header{float:right;position:absolute;right:0;top:0;z-index:1}._fd-preview-code{margin-top:0;max-height:510px;overflow:scroll}._fd-preview-tabs .el-tabs__nav-wrap:after{height:1px}._fd-preview-tabs .el-tabs__item{height:46px}._fd-preview-code>code{white-space:pre-wrap}._fd-row-line{background:#d8d8d8;height:1px;margin:10px 0;width:100%}.CodeMirror-hints{z-index:4}@font-face{font-family:fc-icon;src:url(data:font/woff;base64,d09GRgABAAAAAENgAAsAAAAAczwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAARAAAAGA8FU5RY21hcAAAAYgAAAPWAAAJRpMA+i9nbHlmAAAFYAAAN48AAFywCELwKGhlYWQAADzwAAAAMQAAADYqGA/xaGhlYQAAPSQAAAAeAAAAJAjSBeNobXR4AAA9RAAAAEIAAAHw9Cj//WxvY2EAAD2IAAAA+gAAAPqpl5DUbWF4cAAAPoQAAAAfAAAAIAGYAQZuYW1lAAA+pAAAAUAAAAJnEKM8sHBvc3QAAD/kAAADeQAABgIBjhjmeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGHhZJzAwMrAwNTJdIaBgaEfQjO+ZjBi5ACKMrAyM2AFAWmuKQwHnjG8rmBu+N/AwMB8hwFIMjCiKGICAHO0DOZ4nNXV2W/UZRTG8W83llL2pbLXfVcWd6u4FESpuGOpWuu+oCLrlKKAGyqiIGLjLf8ECQkuhOJC4D8gXHhxTtJ6Q+DCGJP6vPNM+g/ojfPm08xMOu/85vzO+xygCWiQ66RRT1dTp2fUr9S7ddX3G2iuvt9YP0+vO7hHn2mM1miLpbEsVkRnrInu6IneWB/9sS8OxME4FKfjQoxke67LgTycR/JYnsyzeS7PD50YOjPcPNw3MgJBzI5F2qUjVmmXrtouldFdTo3usqG6y9E8XttlsLpLpezyrx91+lUb2cVurT3s1dpfWwOj67vR9Xt1/cFftfV3dcHN3MJlzGcuc7iV25jNRdzOPFqZyTJmMZ0ZjGEKY0v9VNM7qFdt76Sdu7hR17CER1jKTarvvVzCJBbQRgvjuI/xLGIxD3Kt7sb13MAVLGQqd3M11zCR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Ki4VZ2859utpwSK71yPPEc5j1SKoQtZWOinwi32aVujqEhfPl9pn65qmTG+kjXvIgPagwLsicTMVj0Rsi1+3G7dSK6w7rtnH067e0QuW8NEdStSWXT6WDPLNwMFJNUc2h8LpODMM2ydioFYN+qrJRdZCo9tx+bEBWCLfh7no+SUlLzIVeXazD7TS/61ikNuPEsCs8Tcl+uH6Tq9kOVrRn2pTSqgsthUoMx10aNzE6mXBt6yb2V9Mwdid567DL5BVFqG2qMYvQpjZOlWk+Q6Hk8nzVdHlS4GRaJZO7ZHh93ErNLf88eq7LdHTlghTCKxsmCUnz6dKKSTuy1qws+SLPqCt5Tr0WVwtXL7ukq9qlW0VIL9k017xIjs+50/kHHxbSOgAAAA==) format("woff")}.fc-icon{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fc-icon!important;font-size:16px;font-style:normal}.icon-slot:before{content:"\\e620"}.icon-link2:before{content:"\\e616"}.icon-delete2:before{content:"\\e61a"}.icon-pad2:before{content:"\\e615"}.icon-mobile2:before{content:"\\e612"}.icon-pc2:before{content:"\\e614"}.icon-page-max:before{content:"\\e658"}.icon-page-min:before{content:"\\e65a"}.icon-edit2:before{content:"\\e617"}.icon-variable:before{content:"\\e73c"}.icon-config-props:before{content:"\\e646"}.icon-config-validate:before{content:"\\e656"}.icon-config-event:before{content:"\\e7de"}.icon-config-base:before{content:"\\e613"}.icon-config-advanced:before{content:"\\e6f4"}.icon-config-style:before{content:"\\e694"}.icon-drag:before{content:"\\e6ff"}.icon-calendar:before{content:"\\e610"}.icon-icon:before{content:"\\e611"}.icon-add2:before{content:"\\e60d"}.icon-minus:before{content:"\\e60f"}.icon-dialog:before{content:"\\e60c"}.icon-down:before{content:"\\e609"}.icon-page:before{content:"\\e608"}.icon-yes:before{content:"\\e605"}.icon-data-table:before{content:"\\e7be"}.icon-delete-circle:before{content:"\\e604"}.icon-edit:before{content:"\\e60b"}.icon-save-online:before{content:"\\e64b"}.icon-auto:before{content:"\\e692"}.icon-check:before{content:"\\e64c"}.icon-tooltip:before{content:"\\e7f3"}.icon-watermark:before{content:"\\e645"}.icon-table-form3:before{content:"\\e603"}.icon-table-form2:before{content:"\\e7f1"}.icon-card:before{content:"\\e76b"}.icon-lock:before{content:"\\eadc"}.icon-shadow:before{content:"\\e6cc"}.icon-shadow-inset:before{content:"\\e6cd"}.icon-alignitems-flexstart:before{content:"\\e630";display:inline-block;transform:rotate(180deg)}.icon-align-center:before{content:"\\e607";display:inline-block;transform:rotate(90deg)}.icon-align-flexstart:before{content:"\\e60a";display:inline-block;transform:rotate(90deg)}.icon-align-spacearound:before{content:"\\e61f";display:inline-block;transform:rotate(-90deg)}.icon-align-spacebetween:before{content:"\\e65e";display:inline-block;transform:rotate(-90deg)}.icon-align-stretch:before{content:"\\e606";display:inline-block;transform:rotate(-90deg)}.icon-align-flexend:before{content:"\\e60a";display:inline-block;transform:rotate(-90deg)}.icon-justify-flexend:before{content:"\\e60a";display:inline-block;transform:rotate(180deg)}.icon-direction-rowreverse:before{content:"\\e677"}.icon-direction-row:before{content:"\\e678"}.icon-direction-column:before{content:"\\e679"}.icon-direction-columnreverse:before{content:"\\e67a"}.icon-justify-spacearound:before{content:"\\e61f"}.icon-justify-spacebetween:before{content:"\\e65e"}.icon-alignitems-baseline:before{content:"\\e660"}.icon-alignitems-flexend:before{content:"\\e630"}.icon-alignitems-center:before{content:"\\e632"}.icon-alignitems-stretch:before{content:"\\e633"}.icon-flex-nowrap:before{content:"\\e600"}.icon-flex-wrap:before{content:"\\e601"}.icon-justify-stretch:before{content:"\\e606"}.icon-justify-center:before{content:"\\e607"}.icon-justify-flexstart:before{content:"\\e60a"}.icon-display-flex:before{content:"\\e619"}.icon-display-inlineblock:before{content:"\\e61c"}.icon-display-block:before{content:"\\e61d"}.icon-display-inline:before{content:"\\e61e"}.icon-radius:before{content:"\\e6a1"}.icon-arrow:before{content:"\\e60e"}.icon-link:before{content:"\\e63f"}.icon-question:before{content:"\\e644"}.icon-refresh:before{content:"\\e659"}.icon-setting:before{content:"\\e7c6"}.icon-textarea:before{content:"\\e7c9"}.icon-password:before{content:"\\e7ca"}.icon-table-form:before{content:"\\e7c7"}.icon-value:before{content:"\\e7c8"}.icon-eye:before{content:"\\e796"}.icon-eye-close:before{content:"\\e66f"}.icon-cell:before{content:"\\e602"}.icon-group:before{content:"\\e7c0"}.icon-step-form:before{content:"\\e7c1"}.icon-add-circle:before{content:"\\e7c3"}.icon-add-tr:before{content:"\\e7c4"}.icon-add-td:before{content:"\\e7c5"}.icon-more:before{content:"\\e631"}.icon-flex:before{content:"\\e7b6"}.icon-tag:before{content:"\\e7b9"}.icon-html:before{content:"\\e68f"}.icon-tree-select:before{content:"\\e7bc"}.icon-descriptions:before{content:"\\e7bd"}.icon-table:before{content:"\\eb0a"}.icon-collapse:before{content:"\\e7bf"}.icon-pre-step:before{content:"\\e772"}.icon-next-step:before{content:"\\e775"}.icon-mobile-active:before{content:"\\e778"}.icon-pc-active:before{content:"\\e779"}.icon-pc:before{content:"\\e77a"}.icon-mobile:before{content:"\\e77d"}.icon-pad-active:before{content:"\\e78c"}.icon-pad:before{content:"\\e795"}.icon-subform:before{content:"\\eb77"}.icon-add-child:before{content:"\\e789"}.icon-switch:before{content:"\\e77c"}.icon-tab:before{content:"\\e77b"}.icon-button:before{content:"\\e77e"}.icon-input:before{content:"\\e77f"}.icon-checkbox:before{content:"\\e780"}.icon-radio:before{content:"\\e781"}.icon-rate:before{content:"\\e782"}.icon-number:before{content:"\\e783"}.icon-upload:before{content:"\\e784"}.icon-cascader:before{content:"\\e785"}.icon-space:before{content:"\\e786"}.icon-color:before{content:"\\e787"}.icon-span:before{content:"\\e788"}.icon-alert:before{content:"\\e78a"}.icon-row:before{content:"\\e78b"}.icon-divider:before{content:"\\e78d"}.icon-select:before{content:"\\e78e"}.icon-transfer:before{content:"\\e78f"}.icon-editor:before{content:"\\e790"}.icon-slider:before{content:"\\e791"}.icon-tree:before{content:"\\e792"}.icon-date:before{content:"\\e793"}.icon-time:before{content:"\\e794"}.icon-grid:before{content:"\\eb78"}.icon-delete:before{content:"\\e61b"}.icon-copy:before{content:"\\e771"}.icon-import:before{content:"\\e773"}.icon-add:before{content:"\\e774"}.icon-preview:before{content:"\\e776"}.icon-move:before{content:"\\e777"}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#fff;color:#000}.hljs-subst,.hljs-title{color:#000;font-weight:400}.hljs-title.function_{color:#7a7a43}.hljs-code,.hljs-comment,.hljs-quote{color:#8c8c8c;font-style:italic}.hljs-meta{color:#9e880d}.hljs-section{color:#871094}.hljs-built_in,.hljs-keyword,.hljs-literal,.hljs-meta .hljs-keyword,.hljs-name,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-selector-tag,.hljs-symbol,.hljs-template-tag,.hljs-type,.hljs-variable.language_{color:#0033b3}.hljs-attr,.hljs-property{color:#871094}.hljs-attribute{color:#174ad4}.hljs-number{color:#1750eb}.hljs-regexp{color:#264eff}.hljs-link{color:#006dcc;text-decoration:underline}.hljs-meta .hljs-string,.hljs-string{color:#067d17}.hljs-char.escape_{color:#0037a6}.hljs-doctag{text-decoration:underline}.hljs-template-variable{color:#248f8f}.hljs-addition{background:#bee6be}.hljs-deletion{background:#d6d6d6}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}')),document.head.appendChild(e)}}catch{}})();const lt={type:(e,o)=>Object.prototype.toString.call(e)==="[object "+o+"]",Undef:e=>e==null,Element:e=>typeof e=="object"&&e!==null&&e.nodeType===1&&!lt.Object(e),trueArray:e=>Array.isArray(e)&&e.length>0,Function(e){const o=this.getType(e);return o==="Function"||o==="AsyncFunction"},getType(e){const o=Object.prototype.toString.call(e);return/^\[object (.*)\]$/.exec(o)[1]},empty:e=>!!(e==null||Array.isArray(e)&&Array.isArray(e)&&!e.length)||typeof e=="string"&&!e};function br(e,o){return{}.hasOwnProperty.call(e,o)}function yr(e,o,n){e[o]=n}function Sl(e,o={},n){let r=!1;for(let s in o)if(Object.prototype.hasOwnProperty.call(o,s)){let d=o[s];if((r=Array.isArray(d))||lt.Object(d)){let c=e[s]===void 0;if(r)r=!1,c&&yr(e,s,[]);else if(d._clone&&n!==void 0){if(!n){yr(e,s,d._clone());continue}d=d.getRule(),c&&yr(e,s,{})}else c&&yr(e,s,{});e[s]=Sl(e[s],d,n)}else yr(e,s,d),lt.Undef(d)||(lt.Undef(d.__json)||(e[s].__json=d.__json),lt.Undef(d.__origin)||(e[s].__origin=d.__origin))}return n!==void 0&&Array.isArray(e)?e.filter(s=>!s||!s.__ctrl):e}function It(e){return Sl({},{value:e}).value}["Date","Object","String","Boolean","Array","Number"].forEach(e=>{lt[e]=function(o){return lt.type(o,e)}});const Fd="[[FORM-CREATE-PREFIX-",Ld="-FORM-CREATE-SUFFIX]]",Bd="$FN:",Pd="$FNX:",jd="$GLOBAL:",El="function";function Vd(e){return new Function("return "+e)()}function og(e,o){if(e&<.String(e)&&e.length>4){let n=e.trim(),r=!1;try{if(n.indexOf(Ld)>0&&n.indexOf(Fd)===0)n=n.replace(Ld,"").replace(Fd,""),r=!0;else if(n.indexOf(Bd)===0)n=n.replace(Bd,""),r=!0;else{if(n.indexOf(jd)===0){const d=n.replace(jd,"");return n=function(...c){const f=c[0].api.getGlobalEvent(d);if(f)return f.call(this,...c)},n.__json=e,n.__inject=!0,n}if(n.indexOf(Pd)===0)return n=Vd("function($inject){"+n.replace(Pd,"")+"}"),n.__json=e,n.__inject=!0,n;!o&&n.indexOf(El)===0&&n!==El&&(r=!0)}if(!r)return e;const s=Vd(n.indexOf(El)===-1&&n.indexOf("(")!==0?El+" "+n:n);return s.__json=e,s}catch{return}}return e}function Ja(e){return e.replace(e[0],e[0].toLowerCase())}const zd={name:"zh-cn",form:{field:"\u5B57\u6BB5 ID",title:"\u5B57\u6BB5\u540D\u79F0",info:"\u63D0\u793A\u4FE1\u606F",control:"\u8054\u52A8\u6570\u636E",labelPosition:"\u6807\u7B7E\u7684\u4F4D\u7F6E",labelStyle:"\u6807\u7B7E\u7684\u6837\u5F0F",labelSuffix:"\u6807\u7B7E\u7684\u540E\u7F00",size:"\u8868\u5355\u7684\u5C3A\u5BF8",event:"\u8868\u5355\u4E8B\u4EF6",labelWidth:"\u6807\u7B7E\u7684\u5BBD\u5EA6",hideRequiredAsterisk:"\u9690\u85CF\u5FC5\u586B\u5B57\u6BB5\u7684\u6807\u7B7E\u65C1\u8FB9\u7684\u7EA2\u8272\u661F\u53F7",showMessage:"\u663E\u793A\u6821\u9A8C\u9519\u8BEF\u4FE1\u606F",inlineMessage:"\u4EE5\u884C\u5185\u5F62\u5F0F\u5C55\u793A\u6821\u9A8C\u4FE1\u606F",submitBtn:"\u662F\u5426\u663E\u793A\u8868\u5355\u63D0\u4EA4\u6309\u94AE",resetBtn:"\u662F\u5426\u663E\u793A\u8868\u5355\u91CD\u7F6E\u6309\u94AE",appendChild:"\u6DFB\u52A0\u5B50\u7EA7",formMode:"\u8868\u5355\u6A21\u5F0F",formName:"\u8868\u5355\u540D\u79F0",componentMode:"\u751F\u6210\u7EC4\u4EF6",htmlMode:"\u751F\u6210HTML",document:"\u5E2E\u52A9\u6587\u6863",controlDocument:"\u9700\u8981\u66F4\u8BE6\u7EC6\u7684\u914D\u7F6E\u65B9\u6CD5\uFF1F\u8BF7\u67E5\u770B{doc}",onSubmit:"\u8868\u5355\u63D0\u4EA4\u65F6\u89E6\u53D1",onReset:"\u8868\u5355\u91CD\u7F6E\u540E\u89E6\u53D1",onCreated:"\u8868\u5355\u7EC4\u4EF6\u521D\u59CB\u5316\u5B8C\u6BD5\u540E\u89E6\u53D1",onMounted:"\u8868\u5355\u7EC4\u4EF6\u6E32\u67D3\u5B8C\u6BD5\u540E\u89E6\u53D1",onChange:"\u8868\u5355\u7EC4\u4EF6\u7684\u503C\u53D1\u751F\u53D8\u5316\u65F6\u89E6\u53D1",beforeFetch:"\u8FDC\u7A0B\u6570\u636E\u8BF7\u6C42\u53D1\u9001\u524D\u89E6\u53D1"},computed:{fieldUsed:"\u3010{label}\u3011\u5728\u8BA1\u7B97\u516C\u5F0F\u4E2D\u88AB\u4F7F\u7528\uFF0C\u8BF7\u5148\u4FEE\u6539\u5BF9\u5E94\u516C\u5F0F",fieldExist:"\u3010{label}\u3011\u5B57\u6BB5\u5DF2\u5B58\u5728",fieldEmpty:"\u5B57\u6BB5\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",fieldChar:"\u5B57\u6BB5\u540D\u79F0\u5FC5\u987B\u4EE5\u5B57\u6BCD\u5F00\u5934"},validate:{type:"\u5B57\u6BB5\u7C7B\u578B",typePlaceholder:"\u8BF7\u9009\u62E9",trigger:"\u89E6\u53D1\u65B9\u5F0F",mode:"\u9A8C\u8BC1\u65B9\u5F0F",modes:{required:"\u5FC5\u586B",pattern:"\u6B63\u5219\u8868\u8FBE\u5F0F",validator:"\u81EA\u5B9A\u4E49\u9A8C\u8BC1",min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",len:"\u957F\u5EA6"},types:{string:"\u5B57\u7B26\u4E32",array:"\u591A\u9009",number:"\u6570\u5B57",integer:"\u6574\u6570",float:"\u5C0F\u6570",object:"\u5408\u96C6",date:"\u65E5\u671F",url:"URL\u94FE\u63A5",email:"\u90AE\u7BB1\u5730\u5740"},message:"\u9519\u8BEF\u4FE1\u606F",auto:"\u81EA\u52A8\u83B7\u53D6",autoRequired:"\u8BF7\u8F93\u5165{title}",autoMode:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684{title}",requiredPlaceholder:"\u8BF7\u8F93\u5165\u63D0\u793A\u8BED",required:"\u662F\u5426\u5FC5\u586B",rule:"\u9A8C\u8BC1\u89C4\u5219"},tableOptions:{handle:"\u64CD\u4F5C",add:"\u6DFB\u52A0",empty1:"\u70B9\u51FB\u53F3\u4E0B\u89D2",empty2:"\u6309\u94AE\u6DFB\u52A0\u4E00\u5217",rmCol:"\u5220\u9664\u5F53\u524D\u5217",rmRow:"\u5220\u9664\u5F53\u524D\u884C",splitRow:"\u62C6\u5206\u6210\u884C",splitCol:"\u62C6\u5206\u6210\u5217",mergeBottom:"\u5411\u4E0B\u5408\u5E76",mergeRight:"\u5411\u53F3\u5408\u5E76",addTop:"\u6DFB\u52A0\u4E0A\u5217",addBottom:"\u6DFB\u52A0\u4E0B\u5217",addLeft:"\u6DFB\u52A0\u5DE6\u5217",addRight:"\u6DFB\u52A0\u53F3\u5217",keyValue:"\u952E\u503C\u5BF9"},struct:{title:"\u7F16\u8F91\u6570\u636E",only:"\u3010{label}\u3011\u53EA\u5141\u8BB8\u6DFB\u52A0\u4E00\u4E2A",errorMsg:"\u8F93\u5165\u7684\u5185\u5BB9\u8BED\u6CD5\u9519\u8BEF",configured:"\u5DF2\u914D\u7F6E"},event:{title:"\u8BBE\u7F6E\u4E8B\u4EF6",create:"\u521B\u5EFA\u4E8B\u4EF6",list:"\u4E8B\u4EF6\u5217\u8868",placeholder:"\u8BF7\u8F93\u5165\u4E8B\u4EF6\u7684\u540D\u79F0",saveMsg:"\u8BF7\u5148\u4FDD\u5B58\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u4E8B\u4EF6",type:"\u7C7B\u578B",info:"\u8BF4\u660E",label:"\u5B57\u6BB5",inject:{api:"\u5F53\u524D\u8868\u5355\u7684api",rule:"\u5F53\u524D\u8868\u5355\u7684\u751F\u6210\u89C4\u5219",self:"\u7EC4\u4EF6\u7684\u751F\u6210\u89C4\u5219",option:"\u8868\u5355\u7684\u914D\u7F6E",args:"\u4E8B\u4EF6\u7684\u539F\u59CB\u53C2\u6570"}},eventInfo:{blur:"\u5931\u53BB\u7126\u70B9\u65F6\u89E6\u53D1",focus:"\u83B7\u5F97\u7126\u70B9\u65F6\u89E6\u53D1",change:"\u5F53\u7ED1\u5B9A\u503C\u53D8\u5316\u65F6\u89E6\u53D1",input:"\u5728\u503C\u6539\u53D8\u65F6\u89E6\u53D1",clear:"\u5728\u70B9\u51FB\u6E05\u7A7A\u6309\u94AE\u65F6\u89E6\u53D1",close:"\u5173\u95ED\u7EC4\u4EF6\u65F6\u89E6\u53D1",click:"\u70B9\u51FB\u7EC4\u4EF6\u65F6\u89E6\u53D1",add:"\u589E\u52A0\u65F6\u89E6\u53D1",delete:"\u5220\u9664\u65F6\u89E6\u53D1",visibleChange:"\u4E0B\u62C9\u6846\u51FA\u73B0/\u9690\u85CF\u65F6\u89E6\u53D1",calendarChange:"\u5728\u65E5\u5386\u6240\u9009\u65E5\u671F\u66F4\u6539\u65F6\u89E6\u53D1",panelChange:"\u5F53\u65E5\u671F\u9762\u677F\u6539\u53D8\u65F6\u89E6\u53D1",open:"\u6253\u5F00\u7684\u56DE\u8C03",opened:"\u6253\u5F00\u52A8\u753B\u7ED3\u675F\u65F6\u7684\u56DE\u8C03",closed:"\u5173\u95ED\u52A8\u753B\u7ED3\u675F\u65F6\u7684\u56DE\u8C03",openAutoFocus:"\u8F93\u5165\u7126\u70B9\u805A\u7126\u5728\u5185\u5BB9\u65F6\u7684\u56DE\u8C03",closeAutoFocus:"\u8F93\u5165\u7126\u70B9\u4ECE\u5185\u5BB9\u5931\u7126\u65F6\u7684\u56DE\u8C03",submit:"\u8868\u5355\u63D0\u4EA4\u65F6\u89E6\u53D1",confirm:"\u70B9\u51FB\u786E\u8BA4\u6309\u94AE\u65F6\u89E6\u53D1",validateFail:"\u8868\u5355\u9A8C\u8BC1\u5931\u8D25\u65F6\u89E6\u53D1"},fetch:{title:"\u8BBE\u7F6E\u6570\u636E\u6E90",create:"\u521B\u5EFA\u6570\u636E\u6E90",config:"\u8BF7\u6C42\u914D\u7F6E",action:"\u8BF7\u6C42\u94FE\u63A5",actionRequired:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u94FE\u63A5",placeholder:"\u8BF7\u8F93\u5165\u6570\u636E\u6E90\u7684\u540D\u79F0",method:"\u8BF7\u6C42\u65B9\u5F0F",data:"\u9644\u5E26\u6570\u636E",headers:"\u8BF7\u6C42\u5934\u90E8",parse:"\u6570\u636E\u5904\u7406",response:"\u63A5\u53E3\u8FD4\u56DE\u7684\u6570\u636E",onError:"\u9519\u8BEF\u5904\u7406",remote:"\u8FDC\u7A0B\u6570\u636E",static:"\u9759\u6001\u6570\u636E",optionsType:{fetch:"\u8FDC\u7A0B\u6570\u636E",struct:"\u9759\u6001\u6570\u636E"}},style:{width:"\u5BBD\u5EA6",height:"\u9AD8\u5EA6",color:"\u989C\u8272",backgroundColor:"\u80CC\u666F\u8272",margin:"\u5916\u8FB9\u8DDD",padding:"\u5185\u8FB9\u8DDD",borderRadius:"\u5706\u89D2",border:"\u8FB9\u6846",solid:"\u5B9E\u7EBF",dashed:"\u865A\u7EBF",dotted:"\u70B9\u72B6\u865A\u7EBF",double:"\u53CC\u5B9E\u7EBF",opacity:"\u900F\u660E\u5EA6",scale:"\u7F29\u653E",shadow:{name:"\u9634\u5F71",x:"x\u8F74\u504F\u79FB\u91CF",y:"y\u8F74\u504F\u79FB\u91CF",vague:"\u6A21\u7CCA\u534A\u5F84",extend:"\u6269\u6563\u534A\u5F84",inset:"\u5411\u5185",external:"\u5411\u5916",mode:"\u6A21\u5F0F",classic:"\u7ECF\u5178",flat:"\u6241\u5E73",solid:"\u7ACB\u4F53"},font:{name:"\u5B57\u4F53",size:"\u5927\u5C0F",align:"\u5BF9\u9F50\u65B9\u5F0F",height:"\u884C\u9AD8",spacing:"\u5B57\u95F4\u8DDD",preview:"\u6837\u5F0F\u9884\u89C8"},decoration:{name:"\u4FEE\u9970",underline:"\u4E0B\u5212\u7EBF","line-through":"\u5220\u9664\u7EBF",overline:"\u4E0A\u5212\u7EBF"},weight:{name:"\u7C97\u7EC6",300:"\u7EC6\u4F53",400:"\u5E38\u89C4\u4F53",500:"\u4E2D\u9ED1\u4F53",700:"\u4E2D\u7C97\u4F53"}},designer:{component:"\u7EC4\u4EF6\u914D\u7F6E",id:"\u552F\u4E00\u503C",name:"\u7F16\u53F7",type:"\u7EC4\u4EF6\u7C7B\u578B",form:"\u8868\u5355\u914D\u7F6E",style:"\u7EC4\u4EF6\u6837\u5F0F\u914D\u7F6E",rule:"\u57FA\u7840\u914D\u7F6E",advanced:"\u9AD8\u7EA7\u914D\u7F6E",props:"\u5C5E\u6027\u914D\u7F6E",validate:"\u9A8C\u8BC1\u914D\u7F6E",event:"\u4E8B\u4EF6\u914D\u7F6E",clearWarn:"\u6E05\u7A7A\u540E\u5C06\u4E0D\u80FD\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u6E05\u7A7A\u5417\uFF1F",childEmpty:"\u70B9\u51FB\u53F3\u4E0B\u89D2 \\e789 \u6309\u94AE\u6DFB\u52A0\u4E00\u5217",dragEmpty:"\u62D6\u62FD\u5DE6\u4FA7\u5217\u8868\u4E2D\u7684\u7EC4\u4EF6\u5230\u6B64\u5904",unload:"\u786E\u5B9A\u79BB\u5F00\u5F53\u524D\u9875\u9762\u5417?"},menu:{main:"\u57FA\u7840\u7EC4\u4EF6",aide:"\u8F85\u52A9\u7EC4\u4EF6",layout:"\u5E03\u5C40\u7EC4\u4EF6",component:"\u7EC4\u4EF6",subform:"\u5B50\u8868\u5355\u7EC4\u4EF6",tree:"\u5927\u7EB2"},props:{disabled:"\u7981\u7528",time:"\u65F6\u95F4",email:"\u90AE\u7BB1",number:"\u6570\u5B57",globalData:"\u5168\u5C40\u6570\u636E",mobile:"\u79FB\u52A8\u7AEF",reactive:"\u54CD\u5E94\u5F0F",pc:"\u7535\u8111\u7AEF",title:"\u6807\u9898",content:"\u5185\u5BB9",collection:"\u5408\u96C6",group:"\u5206\u7EC4",custom:"\u81EA\u5B9A\u4E49",change:"\u6539\u53D8",blur:"\u5931\u53BB\u7126\u70B9",preview:"\u9884\u89C8",clear:"\u6E05\u7A7A",cancel:"\u53D6\u6D88",close:"\u5173\u95ED",ok:"\u786E\u5B9A",save:"\u4FDD\u5B58",refresh:"\u5237\u65B0",submit:"\u63D0\u4EA4",reset:"\u91CD\u7F6E",copy:"\u590D\u5236",delete:"\u5220\u9664",hide:"\u9690\u85CF",show:"\u663E\u793A",position:"\u4F4D\u7F6E",render:"\u6E32\u67D3",large:"\u5927",default:"\u9ED8\u8BA4",small:"\u5C0F",always:"\u5E38\u663E",never:"\u4E0D\u663E\u793A",hover:"\u60AC\u6D6E",click:"\u70B9\u51FB",button:"\u6309\u94AE",year:"\u5E74\u4EFD",month:"\u6708\u4EFD",date:"\u65E5\u671F",dates:"\u65E5\u671F\u591A\u9009",week:"\u4E00\u5468",datetime:"\u65E5\u671F\u65F6\u95F4","datetime-local":"\u65E5\u671F\u65F6\u95F4",datetimerange:"\u65E5\u671F\u65F6\u95F4\u533A\u95F4",daterange:"\u65E5\u671F\u533A\u95F4",monthrange:"\u6708\u4EFD\u533A\u95F4",left:"\u5DE6\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",top:"\u9876\u90E8",text:"\u6587\u5B57",picture:"\u56FE\u7247","picture-card":"\u5361\u7247",center:"\u5C45\u4E2D",vertical:"\u7AD6\u5411",horizontal:"\u6A2A\u5411",manage:"\u7BA1\u7406",key:"\u952E\u540D",name:"\u540D\u79F0",value:"\u503C",inputData:"\u9ED8\u8BA4\u503C",append:"\u63D2\u5165",options:"\u9009\u9879\u6570\u636E",option:"\u9009\u9879",callback:"\u56DE\u8C03",_self:"\u5F53\u524D\u7A97\u53E3",_blank:"\u65B0\u7684\u7A97\u53E3",_parent:"\u7236\u7EA7\u7A97\u53E3",_top:"\u9876\u7EA7\u7A97\u53E3"},com:{cascader:{name:"\u7EA7\u8054\u9009\u62E9\u5668",event:{expandChange:"\u5F53\u5C55\u5F00\u8282\u70B9\u53D1\u751F\u53D8\u5316\u65F6\u89E6\u53D1",removeTag:"\u5728\u591A\u9009\u6A21\u5F0F\u4E0B\uFF0C\u79FB\u9664Tag\u65F6\u89E6\u53D1"},props:{props:"\u914D\u7F6E\u9009\u9879",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",disabled:"\u662F\u5426\u7981\u7528",clearable:"\u662F\u5426\u652F\u6301\u6E05\u7A7A\u9009\u9879",showAllLevels:"\u8F93\u5165\u6846\u4E2D\u662F\u5426\u663E\u793A\u9009\u4E2D\u503C\u7684\u5B8C\u6574\u8DEF\u5F84",collapseTags:"\u591A\u9009\u6A21\u5F0F\u4E0B\u662F\u5426\u6298\u53E0Tag",collapseTagsTooltip:"\u5F53\u9F20\u6807\u60AC\u505C\u4E8E\u6298\u53E0\u6807\u7B7E\u7684\u6587\u672C\u65F6\uFF0C\u662F\u5426\u663E\u793A\u6240\u6709\u9009\u4E2D\u7684\u6807\u7B7E",separator:"\u9009\u9879\u5206\u9694\u7B26",filterable:"\u8BE5\u9009\u9879\u662F\u5426\u53EF\u4EE5\u88AB\u641C\u7D22",tagType:"\u6807\u7B7E\u7C7B\u578B"},propsOpt:{multiple:"\u662F\u5426\u591A\u9009",expandTrigger:"\u6B21\u7EA7\u83DC\u5355\u7684\u5C55\u5F00\u65B9\u5F0F",checkStrictly:"\u662F\u5426\u4E25\u683C\u7684\u9075\u5B88\u7236\u5B50\u8282\u70B9\u4E0D\u4E92\u76F8\u5173\u8054",emitPath:"\u5728\u9009\u4E2D\u8282\u70B9\u6539\u53D8\u65F6\uFF0C\u662F\u5426\u8FD4\u56DE\u7531\u8BE5\u8282\u70B9\u6240\u5728\u7684\u5404\u7EA7\u83DC\u5355\u7684\u503C\u6240\u7EC4\u6210\u7684\u6570\u7EC4",value:"\u6307\u5B9A\u9009\u9879\u7684\u503C\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",label:"\u6307\u5B9A\u9009\u9879\u6807\u7B7E\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",children:"\u6307\u5B9A\u9009\u9879\u7684\u5B50\u9009\u9879\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",disabled:"\u6307\u5B9A\u9009\u9879\u7684\u7981\u7528\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",leaf:"\u6307\u5B9A\u9009\u9879\u7684\u53F6\u5B50\u8282\u70B9\u7684\u6807\u5FD7\u4F4D\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C"}},checkbox:{name:"\u591A\u9009\u6846",props:{input:"\u662F\u5426\u53EF\u4EE5\u586B\u5199",type:"\u6309\u94AE\u7C7B\u578B",disabled:"\u662F\u5426\u7981\u7528",min:"\u53EF\u88AB\u52FE\u9009\u7684\u6700\u5C0F\u6570\u91CF",max:"\u53EF\u88AB\u52FE\u9009\u7684\u6700\u5927\u6570\u91CF",textColor:"\u5F53\u6309\u94AE\u4E3A\u6D3B\u8DC3\u72B6\u6001\u65F6\u7684\u5B57\u4F53\u989C\u8272",fill:"\u5F53\u6309\u94AE\u4E3A\u6D3B\u8DC3\u72B6\u6001\u65F6\u7684\u8FB9\u6846\u548C\u80CC\u666F\u989C\u8272"}},col:{name:"\u5E03\u5C40\u683C\u5B50",props:{span:"\u6805\u683C\u5360\u636E\u7684\u5217\u6570",offset:"\u6805\u683C\u5DE6\u4FA7\u7684\u95F4\u9694\u683C\u6570",push:"\u6805\u683C\u5411\u53F3\u79FB\u52A8\u683C\u6570",pull:"\u6805\u683C\u5411\u5DE6\u79FB\u52A8\u683C\u6570"}},colorPicker:{name:"\u989C\u8272\u9009\u62E9\u5668",event:{activeChange:"\u9762\u677F\u4E2D\u5F53\u524D\u663E\u793A\u7684\u989C\u8272\u53D1\u751F\u6539\u53D8\u65F6\u89E6\u53D1"},props:{disabled:"\u662F\u5426\u7981\u7528",showAlpha:"\u662F\u5426\u652F\u6301\u900F\u660E\u5EA6\u9009\u62E9",colorFormat:"\u989C\u8272\u7684\u683C\u5F0F",predefine:"\u9884\u5B9A\u4E49\u989C\u8272"}},datePicker:{name:"\u65E5\u671F",props:{pickerOptions:"\u5F53\u524D\u65F6\u95F4\u65E5\u671F\u9009\u62E9\u5668\u7279\u6709\u7684\u9009\u9879",readonly:"\u5B8C\u5168\u53EA\u8BFB",disabled:"\u7981\u7528",type:"\u663E\u793A\u7C7B\u578B",editable:"\u6587\u672C\u6846\u53EF\u8F93\u5165",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",placeholder:"\u975E\u8303\u56F4\u9009\u62E9\u65F6\u7684\u5360\u4F4D\u5185\u5BB9",startPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u5F00\u59CB\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",endPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u7ED3\u675F\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",format:"\u663E\u793A\u5728\u8F93\u5165\u6846\u4E2D\u7684\u683C\u5F0F",align:"\u5BF9\u9F50\u65B9\u5F0F",rangeSeparator:"\u9009\u62E9\u8303\u56F4\u65F6\u7684\u5206\u9694\u7B26",unlinkPanels:"\u5728\u8303\u56F4\u9009\u62E9\u5668\u91CC\u53D6\u6D88\u4E24\u4E2A\u65E5\u671F\u9762\u677F\u4E4B\u95F4\u7684\u8054\u52A8"}},dateRange:{name:"\u65E5\u671F\u533A\u95F4"},timeRange:{name:"\u65F6\u95F4\u533A\u95F4"},elAlert:{name:"\u63D0\u793A",description:"\u8BF4\u660E\u6587\u5B57",props:{title:"\u6807\u9898",type:"\u4E3B\u9898",description:"\u8F85\u52A9\u6027\u6587\u5B57",closable:"\u662F\u5426\u53EF\u5173\u95ED",center:"\u6587\u5B57\u662F\u5426\u5C45\u4E2D",closeText:"\u5173\u95ED\u6309\u94AE\u81EA\u5B9A\u4E49\u6587\u672C",showIcon:"\u662F\u5426\u663E\u793A\u56FE\u6807",effect:"\u9009\u62E9\u63D0\u4F9B\u7684\u4E3B\u9898"}},elButton:{name:"\u6309\u94AE",props:{formCreateChild:"\u5185\u5BB9",size:"\u5C3A\u5BF8",type:"\u7C7B\u578B",plain:"\u662F\u5426\u6734\u7D20\u6309\u94AE",round:"\u662F\u5426\u5706\u89D2\u6309\u94AE",circle:"\u662F\u5426\u5706\u5F62\u6309\u94AE",loading:"\u662F\u5426\u52A0\u8F7D\u4E2D\u72B6\u6001",disabled:"\u662F\u5426\u7981\u7528\u72B6\u6001"}},elCard:{name:"\u5361\u7247",props:{header:"\u6807\u9898",shadow:"\u9634\u5F71\u663E\u793A\u65F6\u673A"}},elCollapse:{name:"\u6298\u53E0\u9762\u677F",event:{change:"\u5207\u6362\u5F53\u524D\u6D3B\u52A8\u9762\u677F\uFF0C\u5728\u624B\u98CE\u7434\u6A21\u5F0F\u4E0B\u5176\u7C7B\u578B\u662Fstring\uFF0C\u5728\u5176\u4ED6\u6A21\u5F0F\u4E0B\u662Farray"},props:{accordion:"\u662F\u5426\u624B\u98CE\u7434\u6A21\u5F0F"}},elCollapseItem:{name:"\u9762\u677F",props:{title:"\u9762\u677F\u6807\u9898",name:"\u552F\u4E00\u6807\u5FD7\u7B26",disabled:"\u662F\u5426\u7981\u7528"}},elDivider:{name:"\u5206\u5272\u7EBF",props:{formCreateChild:"\u8BBE\u7F6E\u5206\u5272\u7EBF\u6587\u6848",contentPosition:"\u8BBE\u7F6E\u5206\u5272\u7EBF\u6587\u6848\u7684\u4F4D\u7F6E"}},elTabPane:{name:"\u9009\u9879\u5361",props:{label:"\u9009\u9879\u5361\u6807\u9898",disabled:"\u662F\u5426\u7981\u7528",name:"\u9009\u9879\u5361\u7684\u6807\u8BC6\u7B26",lazy:"\u6807\u7B7E\u662F\u5426\u5EF6\u8FDF\u6E32\u67D3"}},elTabs:{name:"\u6807\u7B7E\u9875",event:{tabClick:"tab \u88AB\u9009\u4E2D\u65F6\u89E6\u53D1",tabChange:"activeName \u6539\u53D8\u65F6\u89E6\u53D1",tabRemove:"\u70B9\u51FB tab \u79FB\u9664\u6309\u94AE\u65F6\u89E6\u53D1",tabAdd:"\u70B9\u51FB tab \u65B0\u589E\u6309\u94AE\u65F6\u89E6\u53D1",edit:"\u70B9\u51FB tab \u7684\u65B0\u589E\u6216\u79FB\u9664\u6309\u94AE\u540E\u89E6\u53D1"},props:{type:"\u98CE\u683C\u7C7B\u578B",closable:"\u6807\u7B7E\u662F\u5426\u53EF\u5173\u95ED",tabPosition:"\u9009\u9879\u5361\u6240\u5728\u4F4D\u7F6E",stretch:"\u6807\u7B7E\u7684\u5BBD\u5EA6\u662F\u5426\u81EA\u6491\u5F00"}},elTag:{name:"\u6807\u7B7E",props:{formCreateNative:"\u662F\u5426\u663E\u793A\u6807\u9898",formCreateTitle:"\u6807\u9898",formCreateChild:"\u6807\u7B7E\u5185\u5BB9",type:"\u6807\u7B7E\u7684\u7C7B\u578B",size:"\u6807\u7B7E\u7684\u5C3A\u5BF8",effect:"\u6807\u7B7E\u7684\u4E3B\u9898",closable:"\u662F\u5426\u53EF\u5173\u95ED",disableTransitions:"\u662F\u5426\u7981\u7528\u6E10\u53D8\u52A8\u753B",hit:"\u662F\u5426\u6709\u8FB9\u6846\u63CF\u8FB9",round:"\u662F\u5426\u4E3A\u5706\u5F62",color:"\u80CC\u666F\u8272"}},elTransfer:{name:"\u7A7F\u68AD\u6846",event:{leftCheckChange:"\u5DE6\u4FA7\u5217\u8868\u5143\u7D20\u88AB\u7528\u6237\u9009\u4E2D / \u53D6\u6D88\u9009\u4E2D\u65F6\u89E6\u53D1",rightCheckChange:"\u53F3\u4FA7\u5217\u8868\u5143\u7D20\u88AB\u7528\u6237\u9009\u4E2D / \u53D6\u6D88\u9009\u4E2D\u65F6\u89E6\u53D1"},props:{filterable:"\u662F\u5426\u53EF\u641C\u7D22",filterPlaceholder:"\u641C\u7D22\u6846\u5360\u4F4D\u7B26",targetOrder:"\u53F3\u4FA7\u5217\u8868\u5143\u7D20\u7684\u6392\u5E8F\u7B56\u7565",targetOrderInfo:"\u82E5\u4E3A original\uFF0C\u5219\u4FDD\u6301\u4E0E\u6570\u636E\u76F8\u540C\u7684\u987A\u5E8F\uFF1B\u82E5\u4E3A push\uFF0C\u5219\u65B0\u52A0\u5165\u7684\u5143\u7D20\u6392\u5728\u6700\u540E\uFF1B\u82E5\u4E3A unshift\uFF0C\u5219\u65B0\u52A0\u5165\u7684\u5143\u7D20\u6392\u5728\u6700\u524D",titles:"\u81EA\u5B9A\u4E49\u5217\u8868\u6807\u9898",buttonTexts:"\u81EA\u5B9A\u4E49\u6309\u94AE\u6587\u6848",props:"\u6570\u636E\u6E90\u7684\u5B57\u6BB5\u522B\u540D"}},elTreeSelect:{name:"\u6811\u5F62\u9009\u62E9",event:{removeTag:"\u591A\u9009\u6A21\u5F0F\u4E0B\u79FB\u9664tag\u65F6\u89E6\u53D1"},props:{multiple:"\u662F\u5426\u591A\u9009",disabled:"\u662F\u5426\u7981\u7528",clearable:"\u662F\u5426\u53EF\u4EE5\u6E05\u7A7A\u9009\u9879",collapseTags:"\u591A\u9009\u65F6\u662F\u5426\u5C06\u9009\u4E2D\u503C\u6309\u6587\u5B57\u7684\u5F62\u5F0F\u5C55\u793A",multipleLimit:"\u591A\u9009\u65F6\u7528\u6237\u6700\u591A\u53EF\u4EE5\u9009\u62E9\u7684\u9879\u76EE\u6570\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",placeholder:"\u5360\u4F4D\u7B26",props:"\u914D\u7F6E\u9009\u9879",renderAfterExpand:"\u662F\u5426\u5728\u7B2C\u4E00\u6B21\u5C55\u5F00\u67D0\u4E2A\u6811\u8282\u70B9\u540E\u624D\u6E32\u67D3\u5176\u5B50\u8282\u70B9",defaultExpandAll:"\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00\u6240\u6709\u8282\u70B9",expandOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u5C55\u5F00\u6216\u8005\u6536\u7F29\u8282\u70B9",checkOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u9009\u4E2D\u8282\u70B9",nodeKey:"\u6BCF\u4E2A\u6811\u8282\u70B9\u7528\u6765\u4F5C\u4E3A\u552F\u4E00\u6807\u8BC6\u7684\u5C5E\u6027\uFF0C\u6574\u68F5\u6811\u5E94\u8BE5\u662F\u552F\u4E00\u7684"}},fcEditor:{name:"\u5BCC\u6587\u672C\u6846",props:{disabled:"\u662F\u5426\u7981\u7528"}},fcRow:{name:"\u6805\u683C\u5E03\u5C40",props:{gutter:"\u6805\u683C\u95F4\u9694",type:"flex\u5E03\u5C40\u6A21\u5F0F",justify:"flex\u5E03\u5C40\u4E0B\u7684\u6C34\u5E73\u6392\u5217\u65B9\u5F0F",align:"flex\u5E03\u5C40\u4E0B\u7684\u5782\u76F4\u6392\u5217\u65B9\u5F0F"}},fcTable:{name:"\u8868\u683C\u5E03\u5C40",props:{border:"\u662F\u5426\u663E\u793A\u8FB9\u6846",borderColor:"\u8FB9\u6846\u989C\u8272",borderWidth:"\u8FB9\u6846\u5BBD\u5EA6"}},fcTableGrid:{name:"\u683C\u5B50"},group:{name:"\u5B50\u8868\u5355",props:{disabled:"\u662F\u5426\u7981\u7528",syncDisabled:"\u662F\u5426\u4E0E\u5B50\u8868\u5355\u5F3A\u5236\u540C\u6B65\u7981\u7528\u72B6\u6001",expand:"\u8BBE\u7F6E\u9ED8\u8BA4\u5C55\u5F00\u51E0\u9879",button:"\u662F\u5426\u663E\u793A\u64CD\u4F5C\u6309\u94AE",sortBtn:"\u662F\u5426\u663E\u793A\u6392\u5E8F\u6309\u94AE",min:"\u8BBE\u7F6E\u6700\u5C0F\u6DFB\u52A0\u51E0\u9879",max:"\u8BBE\u7F6E\u6700\u591A\u6DFB\u52A0\u51E0\u9879"}},html:{name:"HTML",props:{formCreateNative:"\u662F\u5426\u663E\u793A\u6807\u9898",formCreateTitle:"\u6807\u9898",formCreateChild:"\u5185\u5BB9"}},input:{name:"\u8F93\u5165\u6846",event:{change:"\u5F53\u503C\u6539\u53D8\u65F6\uFF0C\u5F53\u7EC4\u4EF6\u5931\u53BB\u7126\u70B9\u6216\u7528\u6237\u6309Enter\u65F6\u89E6\u53D1"},props:{type:"\u7C7B\u578B",maxlength:"\u6700\u5927\u8F93\u5165\u957F\u5EA6",minlength:"\u6700\u5C0F\u8F93\u5165\u957F\u5EA6",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",disabled:"\u662F\u5426\u7981\u7528",readonly:"\u662F\u5426\u53EA\u8BFB"}},inputNumber:{name:"\u8BA1\u6570\u5668",props:{precision:"\u6570\u503C\u7CBE\u5EA6",min:"\u8BBE\u7F6E\u8BA1\u6570\u5668\u5141\u8BB8\u7684\u6700\u5C0F\u503C",max:"\u8BBE\u7F6E\u8BA1\u6570\u5668\u5141\u8BB8\u7684\u6700\u5927\u503C",step:"\u8BA1\u6570\u5668\u6B65\u957F",stepStrictly:"\u662F\u5426\u53EA\u80FD\u8F93\u5165 step \u7684\u500D\u6570",disabled:"\u662F\u5426\u7981\u7528\u8BA1\u6570\u5668",controls:"\u662F\u5426\u4F7F\u7528\u63A7\u5236\u6309\u94AE",controlsPosition:"\u63A7\u5236\u6309\u94AE\u4F4D\u7F6E",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C"}},password:{name:"\u5BC6\u7801\u8F93\u5165\u6846",event:{change:"\u5F53\u503C\u6539\u53D8\u65F6\uFF0C\u5F53\u7EC4\u4EF6\u5931\u53BB\u7126\u70B9\u6216\u7528\u6237\u6309Enter\u65F6\u89E6\u53D1"},props:{disabled:"\u662F\u5426\u7981\u7528",readonly:"\u662F\u5426\u53EA\u8BFB",maxlength:"\u6700\u5927\u8F93\u5165\u957F\u5EA6",minlength:"\u6700\u5C0F\u8F93\u5165\u957F\u5EA6",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE"}},radio:{name:"\u5355\u9009\u6846",props:{input:"\u662F\u5426\u53EF\u4EE5\u586B\u5199",disabled:"\u662F\u5426\u7981\u7528",type:"\u6309\u94AE\u5F62\u5F0F",textColor:"\u6309\u94AE\u5F62\u5F0F\u6FC0\u6D3B\u65F6\u7684\u6587\u672C\u989C\u8272",fill:"\u6309\u94AE\u5F62\u5F0F\u6FC0\u6D3B\u65F6\u7684\u586B\u5145\u8272\u548C\u8FB9\u6846\u8272"}},rate:{name:"\u8BC4\u5206",props:{max:"\u6700\u5927\u5206\u503C",disabled:"\u662F\u5426\u7981\u7528",allowHalf:"\u662F\u5426\u5141\u8BB8\u534A\u9009",voidColor:"\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u989C\u8272",disabledVoidColor:"\u53EA\u8BFB\u65F6\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u989C\u8272",voidIconClass:"\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u7C7B\u540D",disabledVoidIconClass:"\u53EA\u8BFB\u65F6\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u7C7B\u540D",showScore:"\u662F\u5426\u663E\u793A\u5F53\u524D\u5206\u6570",textColor:"\u8F85\u52A9\u6587\u5B57\u7684\u989C\u8272",scoreTemplate:"\u5206\u6570\u663E\u793A\u6A21\u677F"}},select:{name:"\u9009\u62E9\u5668",event:{removeTag:"\u591A\u9009\u6A21\u5F0F\u4E0B\u79FB\u9664tag\u65F6\u89E6\u53D1"},props:{multiple:"\u662F\u5426\u591A\u9009",disabled:"\u662F\u5426\u7981\u7528",clearable:"\u662F\u5426\u53EF\u4EE5\u6E05\u7A7A\u9009\u9879",collapseTags:"\u591A\u9009\u65F6\u662F\u5426\u5C06\u9009\u4E2D\u503C\u6309\u6587\u5B57\u7684\u5F62\u5F0F\u5C55\u793A",multipleLimit:"\u591A\u9009\u65F6\u7528\u6237\u6700\u591A\u53EF\u4EE5\u9009\u62E9\u7684\u9879\u76EE\u6570\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",placeholder:"\u5360\u4F4D\u7B26",filterable:"\u662F\u5426\u53EF\u641C\u7D22",allowCreate:"\u662F\u5426\u5141\u8BB8\u7528\u6237\u521B\u5EFA\u65B0\u6761\u76EE",noMatchText:"\u641C\u7D22\u6761\u4EF6\u65E0\u5339\u914D\u65F6\u663E\u793A\u7684\u6587\u5B57",noDataText:"\u9009\u9879\u4E3A\u7A7A\u65F6\u663E\u793A\u7684\u6587\u5B57",reserveKeyword:"\u591A\u9009\u4E14\u53EF\u641C\u7D22\u65F6\uFF0C\u662F\u5426\u5728\u9009\u4E2D\u4E00\u4E2A\u9009\u9879\u540E\u4FDD\u7559\u5F53\u524D\u7684\u641C\u7D22\u5173\u952E\u8BCD",defaultFirstOption:"\u5728\u8F93\u5165\u6846\u6309\u4E0B\u56DE\u8F66\uFF0C\u9009\u62E9\u7B2C\u4E00\u4E2A\u5339\u914D\u9879",remote:"\u5176\u4E2D\u7684\u9009\u9879\u662F\u5426\u4ECE\u670D\u52A1\u5668\u8FDC\u7A0B\u52A0\u8F7D",remoteMethod:"\u81EA\u5B9A\u4E49\u8FDC\u7A0B\u641C\u7D22\u65B9\u6CD5"}},slider:{name:"\u6ED1\u5757",props:{min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",disabled:"\u662F\u5426\u7981\u7528",step:"\u6B65\u957F",showInput:"\u662F\u5426\u663E\u793A\u8F93\u5165\u6846\uFF0C\u4EC5\u5728\u975E\u8303\u56F4\u9009\u62E9\u65F6\u6709\u6548",showInputControls:"\u5728\u663E\u793A\u8F93\u5165\u6846\u7684\u60C5\u51B5\u4E0B\uFF0C\u662F\u5426\u663E\u793A\u8F93\u5165\u6846\u7684\u63A7\u5236\u6309\u94AE",showStops:"\u662F\u5426\u663E\u793A\u95F4\u65AD\u70B9",range:"\u662F\u5426\u4E3A\u8303\u56F4\u9009\u62E9",vertical:"\u662F\u5426\u7AD6\u5411\u6A21\u5F0F",height:"Slider \u9AD8\u5EA6\uFF0C\u7AD6\u5411\u6A21\u5F0F\u65F6\u5FC5\u586B"}},space:{name:"\u95F4\u8DDD",props:{height:"\u9AD8\u5EA6"}},subForm:{name:"\u5206\u7EC4",props:{disabled:"\u662F\u5426\u7981\u7528",syncDisabled:"\u662F\u5426\u4E0E\u5B50\u8868\u5355\u5F3A\u5236\u540C\u6B65\u7981\u7528\u72B6\u6001"}},switch:{name:"\u5F00\u5173",props:{disabled:"\u662F\u5426\u7981\u7528",width:"\u5BBD\u5EA6\uFF08px\uFF09",activeText:"\u6253\u5F00\u65F6\u7684\u6587\u5B57\u63CF\u8FF0",inactiveText:"\u5173\u95ED\u65F6\u7684\u6587\u5B57\u63CF\u8FF0",activeValue:"\u6253\u5F00\u65F6\u7684\u503C",inactiveValue:"\u5173\u95ED\u65F6\u7684\u503C",activeColor:"\u6253\u5F00\u65F6\u7684\u80CC\u666F\u8272",inactiveColor:"\u5173\u95ED\u65F6\u7684\u80CC\u666F\u8272"}},tableForm:{name:"\u8868\u683C\u8868\u5355",props:{disabled:"\u662F\u5426\u7981\u7528",max:"\u6700\u591A\u6DFB\u52A0\u51E0\u884C\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236"}},tableFormColumn:{name:"\u8868\u683C\u683C\u5B50",label:"\u81EA\u5B9A\u4E49\u540D\u79F0",props:{label:"\u6807\u9898",width:"\u5BBD\u5EA6",color:"\u989C\u8272"}},text:{name:"\u6587\u5B57",props:{formCreateNative:"\u662F\u5426\u663E\u793A\u6807\u9898",formCreateTitle:"\u6807\u9898",formCreateChild:"\u5185\u5BB9"}},textarea:{name:"\u591A\u884C\u8F93\u5165\u6846",event:{change:"\u5F53\u503C\u6539\u53D8\u65F6\uFF0C\u5F53\u7EC4\u4EF6\u5931\u53BB\u7126\u70B9\u6216\u7528\u6237\u6309Enter\u65F6\u89E6\u53D1"},props:{disabled:"\u662F\u5426\u7981\u7528",readonly:"\u662F\u5426\u53EA\u8BFB",maxlength:"\u6700\u5927\u8F93\u5165\u957F\u5EA6",minlength:"\u6700\u5C0F\u8F93\u5165\u957F\u5EA6",showWordLimit:"\u662F\u5426\u663E\u793A\u7EDF\u8BA1\u5B57\u6570",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",rows:"\u8F93\u5165\u6846\u884C\u6570",autosize:"\u9AD8\u5EA6\u662F\u5426\u81EA\u9002\u5E94"}},timePicker:{name:"\u65F6\u95F4",props:{pickerOptions:"\u5F53\u524D\u65F6\u95F4\u65E5\u671F\u9009\u62E9\u5668\u7279\u6709\u7684\u9009\u9879",readonly:"\u5B8C\u5168\u53EA\u8BFB",disabled:"\u7981\u7528",editable:"\u6587\u672C\u6846\u53EF\u8F93\u5165",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",placeholder:"\u975E\u8303\u56F4\u9009\u62E9\u65F6\u7684\u5360\u4F4D\u5185\u5BB9",startPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u5F00\u59CB\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",endPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u5F00\u59CB\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",isRange:"\u662F\u5426\u4E3A\u65F6\u95F4\u8303\u56F4\u9009\u62E9",arrowControl:"\u662F\u5426\u4F7F\u7528\u7BAD\u5934\u8FDB\u884C\u65F6\u95F4\u9009\u62E9",align:"\u5BF9\u9F50\u65B9\u5F0F"}},tree:{name:"\u6811\u5F62\u63A7\u4EF6",event:{nodeClick:"\u5F53\u8282\u70B9\u88AB\u70B9\u51FB\u7684\u65F6\u5019\u89E6\u53D1",nodeContextmenu:"\u5F53\u67D0\u4E00\u8282\u70B9\u88AB\u9F20\u6807\u53F3\u952E\u70B9\u51FB\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",checkChange:"\u5F53\u590D\u9009\u6846\u88AB\u70B9\u51FB\u7684\u65F6\u5019\u89E6\u53D1",check:"\u70B9\u51FB\u8282\u70B9\u590D\u9009\u6846\u4E4B\u540E\u89E6\u53D1",currentChange:"\u5F53\u524D\u9009\u4E2D\u8282\u70B9\u53D8\u5316\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeExpand:"\u8282\u70B9\u88AB\u5C55\u5F00\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeCollapse:"\u8282\u70B9\u88AB\u5173\u95ED\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragStart:"\u8282\u70B9\u5F00\u59CB\u62D6\u62FD\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragEnter:"\u62D6\u62FD\u8FDB\u5165\u5176\u4ED6\u8282\u70B9\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragLeave:"\u62D6\u62FD\u79BB\u5F00\u67D0\u4E2A\u8282\u70B9\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragOver:"\u5728\u62D6\u62FD\u8282\u70B9\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6\uFF08\u7C7B\u4F3C\u6D4F\u89C8\u5668\u7684 mouseover \u4E8B\u4EF6\uFF09",nodeDragEnd:"\u62D6\u62FD\u7ED3\u675F\u65F6\uFF08\u53EF\u80FD\u672A\u6210\u529F\uFF09\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDrop:"\u62D6\u62FD\u6210\u529F\u5B8C\u6210\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6"},props:{emptyText:"\u5185\u5BB9\u4E3A\u7A7A\u7684\u65F6\u5019\u5C55\u793A\u7684\u6587\u672C",props:"\u914D\u7F6E\u9009\u9879",renderAfterExpand:"\u662F\u5426\u5728\u7B2C\u4E00\u6B21\u5C55\u5F00\u67D0\u4E2A\u6811\u8282\u70B9\u540E\u624D\u6E32\u67D3\u5176\u5B50\u8282\u70B9",defaultExpandAll:"\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00\u6240\u6709\u8282\u70B9",expandOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u5C55\u5F00\u6216\u8005\u6536\u7F29\u8282\u70B9\uFF0C\u5982\u679C\u4E3A false\uFF0C\u5219\u53EA\u6709\u70B9\u7BAD\u5934\u56FE\u6807\u7684\u65F6\u5019\u624D\u4F1A\u5C55\u5F00\u6216\u8005\u6536\u7F29\u8282\u70B9\u3002",checkOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u9009\u4E2D\u8282\u70B9",autoExpandParent:"\u5C55\u5F00\u5B50\u8282\u70B9\u7684\u65F6\u5019\u662F\u5426\u81EA\u52A8\u5C55\u5F00\u7236\u8282\u70B9",checkStrictly:"\u5728\u663E\u793A\u590D\u9009\u6846\u7684\u60C5\u51B5\u4E0B\uFF0C\u662F\u5426\u4E25\u683C\u7684\u9075\u5FAA\u7236\u5B50\u4E0D\u4E92\u76F8\u5173\u8054\u7684\u505A\u6CD5",accordion:"\u662F\u5426\u6BCF\u6B21\u53EA\u6253\u5F00\u4E00\u4E2A\u540C\u7EA7\u6811\u8282\u70B9\u5C55\u5F00",indent:"\u76F8\u90BB\u7EA7\u8282\u70B9\u95F4\u7684\u6C34\u5E73\u7F29\u8FDB(px)",nodeKey:"\u6BCF\u4E2A\u6811\u8282\u70B9\u7528\u6765\u4F5C\u4E3A\u552F\u4E00\u6807\u8BC6\u7684\u5C5E\u6027\uFF0C\u6574\u68F5\u6811\u5E94\u8BE5\u662F\u552F\u4E00\u7684"}},upload:{name:"\u4E0A\u4F20",info:"\u5728onSuccess\u65B9\u6CD5\u4E2D\u5C06\u63A5\u53E3\u8FD4\u56DE\u7684url\u8D4B\u503C\u7ED9file.url",event:{remove:"\u6587\u4EF6\u5217\u8868\u79FB\u9664\u6587\u4EF6\u65F6\u89E6\u53D1"},props:{listType:"\u4E0A\u4F20\u7C7B\u578B",multiple:"\u662F\u5426\u652F\u6301\u591A\u9009\u6587\u4EF6",action:"\u4E0A\u4F20\u7684\u5730\u5740(\u5FC5\u586B)",beforeUpload:"\u4E0A\u4F20\u6587\u4EF6\u4E4B\u524D\u7684\u56DE\u8C03",onSuccess:"\u4E0A\u4F20\u6210\u529F\u56DE\u8C03",headers:"\u8BBE\u7F6E\u4E0A\u4F20\u7684\u8BF7\u6C42\u5934\u90E8",data:"\u4E0A\u4F20\u65F6\u9644\u5E26\u7684\u989D\u5916\u53C2\u6570",name:"\u4E0A\u4F20\u7684\u6587\u4EF6\u5B57\u6BB5\u540D",withCredentials:"\u652F\u6301\u53D1\u9001 cookie \u51ED\u8BC1\u4FE1\u606F",accept:"\u63A5\u53D7\u4E0A\u4F20\u7684\u6587\u4EF6\u7C7B\u578B",autoUpload:"\u662F\u5426\u5728\u9009\u53D6\u6587\u4EF6\u540E\u7ACB\u5373\u8FDB\u884C\u4E0A\u4F20",disabled:"\u662F\u5426\u7981\u7528",limit:"\u6700\u5927\u5141\u8BB8\u4E0A\u4F20\u4E2A\u6570"}}}},Hd=(e,o)=>ng({message:e,type:o||"info",customClass:"_fc-message-tip"}),Rn=e=>Hd(e,"error");function No(e,o,n,r=[]){o.id||(o.id=1),n&&n--;for(let s=0;s<3;s++){const d={[o.label]:e+10*n+(s+1),[o.value]:""+o.id++};n&&No(e,o,n,d.children=[]),r.push(d)}return r}function Ml(e,o){const n=[{label:e("fetch.optionsType.struct"),value:2},{label:e("fetch.optionsType.fetch"),value:1}],r=[{value:1,rule:[{type:"FetchConfig",field:"formCreateEffect>fetch",props:{to:o}}]},{value:2,rule:[{type:"TableOptions",field:"formCreate"+xr(o).replace(".",">"),props:{keyValue:"label"}}]}];return{type:"radio",title:e("props.options"),field:"_optionType",value:2,options:n,props:{type:"button"},control:r}}function Tl({t:e,to:o,label:n,value:r}){const s=[{label:e("fetch.optionsType.struct"),value:2},{label:e("fetch.optionsType.fetch"),value:1}],d=[{value:1,rule:[{type:"FetchConfig",field:"formCreateEffect>fetch",props:{to:o}}]},{value:2,rule:[{type:"TreeOptions",field:"formCreate"+xr(o).replace(".",">"),props:{columns:{label:n,value:r},keyValue:n}}]}];return{type:"radio",title:e("props.options"),field:"_optionType",value:2,options:s,props:{type:"button"},control:d}}function xr(e){return e.replace(e[0],e[0].toLocaleUpperCase())}const Ro=function(e){const o=/object ([a-zA-Z]*)/.exec(Object.prototype.toString.call(e));return o&&Ud[o[1].toLowerCase()]?Ud[o[1].toLowerCase()](e):e},Ud={object:function(e){var o=[];for(var n in e)!br(e,n)||o.push(Ro(n)+": "+(e[n]!=null?Ro(e[n]):"null"));return`{ `+o.join(`, `)+` }`},function:function(e){var o=/^ *([\w]+) *\(/.exec(e=""+e);return o&&o[1]!=="function"?"function "+e:e},array:function(e){for(var o=0,n=[];o=" "?r==="\\"?o[n]="\\\\":r==='"'&&(o[n]='\\"'):o[n]=r===` `?"\\n":r==="\r"?"\\r":r===" "?"\\t":r==="\b"?"\\b":r==="\f"?"\\f":"\\u00"+((r=r.charCodeAt())>15?1:0)+r%16}return'"'+o.join("")+'"'}},Wd=function(e){if(e&&typeof e=="object"){for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o)){let n=e[o];(Array.isArray(n)||lt.Object(n))&&Wd(n),lt.String(n)&&(e[o]=og(n))}}return e},ig=e=>(o,n)=>rg(o,n,Je(e)),rg=(e,o,n)=>function(r,s,d){let c=0,f=(s=(s||"").split(".")).length;for(;r!=null&&c{var d;return`${(d=o==null?void 0:o[s])!=null?d:`{${s}}`}`}),lg=e=>{const o=nt(()=>Je(e).name),n=nt(()=>xr(function(s){return Ja(s.replace(/(-[a-z])/g,function(d){return d.replace("-","").toLocaleUpperCase()}))}(o.value||""))),r=dd(e)?e:mn(e);return{lang:o,name:n,locale:r,t:ig(e)}},Za=e=>lg(nt(()=>e.value||zd)),Wt=(e,o,n)=>o.map(r=>(r.label=e((n||"props")+"."+r.label||r.value)||r.label,r)),$e=(e,o,n)=>n.map(r=>(r.field==="formCreate$required"?r.title=e("validate.required")||r.title:r.field&&r.field!=="_optionType"&&(r.title=e("com."+o+"."+r.field)||r.title),r.type==="template"&<.trueArray(r.children)&&(r.children=$e(e,o,r.children)),r)),es=e=>{const o=[];return e&&e.forEach(n=>{if(n._fc_drag_tag){const r={id:n.__fc__.id,rule:n,children:es(n.children)};r.children.length||delete r.children,o.push(r)}else o.push(...es(n.children))}),o},Qd=e=>{const o=n=>{const r=[];return n&&n.forEach(s=>{s.field?(s.children=o(s.children||[]),s.children.length||delete s.children,r.push(s)):r.push(...o(s.children||[]))}),r};return o(e)},Yd=e=>{const o=n=>{const r=[];return n&&n.forEach(s=>{if(typeof s=="object")if(s._fc_drag_tag){const d={_fc_id:s._fc_id,type:s.type,field:s.field,title:s.title,name:s.name,slot:s.slot,props:{...s.props||{}},children:o(s.children||[])};s.children&&typeof s.children[0]=="string"&&(d.content=s.children[0]),d.children.length||delete d.children,r.push(d)}else r.push(...o(s.children))}),r};return o(e)};function Gd(e){return{name:"$inject",columns:[{label:"$inject.api",info:e("event.inject.api"),type:"Api"},{label:"$inject.rule",info:e("event.inject.rule"),type:"Rule[]"},{label:"$inject.self",info:e("event.inject.self"),type:"Rule"},{label:"$inject.option",info:e("event.inject.option"),type:"Object"},{label:"$inject.args",info:e("event.inject.args"),type:"Array"}]}}function ho(e){return["",null,void 0].indexOf(e)!==-1}function ts(e){const o=document.createElement("textarea");o.style.position="fixed",o.style.top=0,o.style.left="-9999px",o.value=e,document.body.appendChild(o),o.focus(),o.select();try{document.execCommand("copy")}catch{}Hd("\u5DF2\u590D\u5236!","success"),document.body.removeChild(o)}function qd(e){return e.filter((o,n)=>e.indexOf(o)===n)}function Kd({t:e}){return[{type:"input",field:">formName",value:"",title:e("form.formName")},{type:"radio",field:"labelPosition",value:"left",title:e("form.labelPosition"),options:Wt(e,[{value:"left",label:"left"},{value:"right",label:"right"},{value:"top",label:"top"}])},{type:"radio",field:"size",value:"small",title:e("form.size"),options:Wt(e,[{value:"large",label:"large"},{value:"default",label:"default"},{value:"small",label:"small"}])},{type:"input",field:"labelSuffix",value:"",title:e("form.labelSuffix"),style:{width:"150px"}},{type:"SizeInput",field:"labelWidth",value:"125px",title:e("form.labelWidth")},{type:"switch",field:"hideRequiredAsterisk",value:!1,title:e("form.hideRequiredAsterisk")},{type:"switch",field:"showMessage",value:!0,title:e("form.showMessage")},{type:"switch",field:"inlineMessage",value:!1,title:e("form.inlineMessage")},{type:"switch",field:"_submitBtn>show",value:!0,title:e("form.submitBtn")},{type:"switch",field:"_resetBtn>show",value:!1,title:e("form.resetBtn")},{type:"FnConfig",field:">_event",info:{type:"tooltip",native:!0,effect:"light",align:"left",content:e("form.document")+'\uFF1Ahttps://form-create.com/v3/guide/global-event',rawContent:!0},value:{},col:{show:!0},props:{eventConfig:[{name:"onSubmit",info:e("form.onSubmit"),args:["formData","api"]},{name:"onReset",info:e("form.onReset"),args:["api"]},{name:"onCreated",info:e("form.onCreated"),args:["api"]},{name:"onMounted",info:e("form.onMounted"),args:["api"]},{name:"onChange",info:e("form.onChange"),args:["field","value","options"]},{name:"beforeFetch",info:e("form.beforeFetch"),args:["config","data"]}]},title:e("form.event")}]}function Ar({t:e}){return[{type:"FieldInput",field:"field",value:"",title:e("form.field")},{type:"input",field:"title",value:"",title:e("form.title")},{type:"input",field:"info",value:"",title:e("form.info")},{type:"SizeInput",field:"formCreateWrap>labelWidth",value:"",title:e("form.labelWidth")},{type:"Struct",field:"_control",value:[],title:e("form.control"),info:{type:"tooltip",native:!0,effect:"dark",placement:"top-end",align:"left",content:e("form.controlDocument",{doc:''+e("form.document")+""}),rawContent:!0},props:{defaultValue:[],validate:o=>!!Array.isArray(o)&&(!o.length||!o.some(({rule:n})=>!Array.isArray(n)))}}]}function Xd({t:e}){return[{type:"Required",field:"$required",title:e("validate.required")},{type:"validate",field:"validate",title:e("validate.rule"),value:[]}]}function ag(e){e=e||new Map;const o={$on(n,r){const s=e.get(n);s&&s.push(r)||e.set(n,[r])},$once(n,r){r._once=!0,o.$on(n,r)},$off(n,r){const s=e.get(n);s&&s.splice(s.indexOf(r)>>>0,1)},$emit(n,...r){(e.get(n)||[]).slice().map(s=>{s._once&&(o.$off(n,s),delete s._once),s(...r)}),(e.get("*")||[]).slice().map(s=>{s(n,r)})}};return o}let sg=0;function tt(){const e=370+ ++sg;return"F"+Math.random().toString(36).substr(3,3)+(+`${Date.now()}`).toString(36)+e.toString(36)+"c"}const ns="radio",cg={menu:"main",icon:"icon-radio",label:"\u5355\u9009\u6846",name:ns,event:["change"],validate:["string","number"],rule:({t:e})=>({type:ns,field:tt(),title:e("com.radio.name"),info:"",effect:{fetch:""},$required:!1,props:{},options:No(e("props.option"),{label:"label",value:"value"},1)}),props:(e,{t:o})=>$e(o,ns+".props",[Ml(o,"options"),{type:"switch",field:"disabled"},{type:"switch",field:"input"},{type:"switch",field:"type",props:{activeValue:"button",inactiveValue:"default"}},{type:"ColorInput",field:"textColor"},{type:"ColorInput",field:"fill"}])},os="checkbox",ug={menu:"main",icon:"icon-checkbox",label:"\u591A\u9009\u6846",name:os,event:["change"],validate:["array"],rule:({t:e})=>({type:os,field:tt(),title:e("com.checkbox.name"),info:"",effect:{fetch:""},$required:!1,props:{},options:No(e("props.option"),{label:"label",value:"value"},1)}),props:(e,{t:o})=>$e(o,os+".props",[Ml(o,"options"),{type:"switch",field:"disabled"},{type:"switch",field:"input"},{type:"switch",field:"type",props:{activeValue:"button",inactiveValue:"default"}},{field:"min",type:"inputNumber",props:{min:0}},{field:"max",type:"inputNumber",props:{min:0}},{type:"ColorInput",field:"textColor"},{type:"ColorInput",field:"fill"}])},is="input",dg={menu:"main",icon:"icon-input",label:"\u8F93\u5165\u6846",name:is,event:["blur","focus","change","input","clear"],validate:["string","url","email"],rule:({t:e})=>({type:is,field:tt(),title:e("com.input.name"),info:"",$required:!1,props:{}}),props:(e,{t:o})=>$e(o,is+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"readonly"},{type:"select",field:"type",options:Wt(o,[{label:"text",value:"text"},{label:"number",value:"number"},{label:"time",value:"time"},{label:"date",value:"date"},{label:"month",value:"month"},{label:"datetime-local",value:"datetime-local"}])},{type:"inputNumber",field:"maxlength",props:{min:0}},{type:"input",field:"placeholder"},{type:"switch",field:"clearable"}])},$d="textarea",fg={menu:"main",icon:"icon-textarea",label:"\u591A\u884C\u8F93\u5165\u6846",name:$d,event:["blur","focus","change","input"],validate:["string"],rule:({t:e})=>({type:"input",field:tt(),title:e("com.textarea.name"),info:"",$required:!1,props:{type:"textarea"}}),props:(e,{t:o})=>$e(o,$d+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"readonly"},{type:"inputNumber",field:"maxlength",props:{min:0}},{type:"switch",field:"showWordLimit"},{type:"input",field:"placeholder"},{type:"inputNumber",field:"rows",props:{min:0}},{type:"switch",field:"autosize"}])},Jd="password",pg={menu:"main",icon:"icon-password",label:"\u5BC6\u7801\u8F93\u5165\u6846",name:Jd,event:["blur","focus","change","input","clear"],validate:["string"],rule:({t:e})=>({type:"input",field:tt(),title:e("com.password.name"),info:"",$required:!1,props:{type:"password"}}),props:(e,{t:o})=>$e(o,Jd+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"readonly"},{type:"inputNumber",field:"maxlength",props:{min:0}},{type:"input",field:"placeholder"},{type:"switch",field:"clearable"}])},rs="inputNumber",hg={menu:"main",icon:"icon-number",label:"\u8BA1\u6570\u5668",name:rs,event:["blur","focus","change"],validate:["number","integer","float"],rule:({t:e})=>({type:rs,field:tt(),title:e("com.inputNumber.name"),info:"",$required:!1,props:{}}),props:(e,{t:o})=>$e(o,rs+".props",[{type:"switch",field:"disabled"},{type:"inputNumber",field:"min"},{type:"inputNumber",field:"max"},{type:"inputNumber",title:"precision",field:"precision"},{type:"inputNumber",field:"step",props:{min:0}},{type:"switch",field:"stepStrictly"},{type:"switch",field:"controls",value:!0},{type:"select",field:"controlsPosition",options:Wt(o,[{label:"default",value:""},{label:"right",value:"right"}])},{type:"input",field:"placeholder"}])},ls="select",mg={menu:"main",icon:"icon-select",label:"\u9009\u62E9\u5668",name:ls,event:["change","visibleChange","removeTag","clear","blur","focus"],validate:["string","number","array"],rule:({t:e})=>({type:ls,field:tt(),title:e("com.select.name"),info:"",effect:{fetch:""},$required:!1,props:{},options:No(e("props.option"),{label:"label",value:"value"},1)}),watch:{multiple({rule:e}){e.key=tt()}},props:(e,{t:o})=>$e(o,ls+".props",[Ml(o,"options"),{type:"switch",field:"multiple"},{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"switch",field:"collapseTags"},{type:"inputNumber",field:"multipleLimit",props:{min:0}},{type:"input",field:"placeholder"},{type:"switch",field:"filterable"},{type:"switch",field:"remote"},{type:"FnInput",field:"remoteMethod",props:{body:!0,fnx:!0,name:"remoteMethod",args:[Gd(o)]}},{type:"switch",field:"allowCreate"},{type:"input",field:"noMatchText"},{type:"input",field:"noDataText"},{type:"switch",field:"reserveKeyword"},{type:"switch",field:"defaultFirstOption"}])},as="switch",gg={menu:"main",icon:"icon-switch",label:"\u5F00\u5173",name:as,event:["change"],rule:({t:e})=>({type:as,field:tt(),title:e("com.switch.name"),info:"",$required:!1,props:{}}),props:(e,{t:o})=>$e(o,as+".props",[{type:"switch",field:"disabled"},{type:"inputNumber",field:"width",props:{min:0}},{type:"input",field:"activeText"},{type:"input",field:"inactiveText"},{type:"input",field:"activeValue"},{type:"input",field:"inactiveValue"},{type:"ColorInput",field:"activeColor"},{type:"ColorInput",field:"inactiveColor"}])},ss="slider",vg={menu:"main",icon:"icon-slider",label:"\u6ED1\u5757",name:ss,event:["change","input"],validate:["number","array"],rule:({t:e})=>({type:ss,field:tt(),title:e("com.slider.name"),info:"",$required:!1,props:{}}),props:(e,{t:o})=>$e(o,ss+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"range"},{type:"inputNumber",field:"min",props:{min:0}},{type:"inputNumber",field:"max",props:{min:0}},{type:"inputNumber",field:"step",props:{min:0}},{type:"switch",field:"showInput"},{type:"switch",field:"showInputControls",value:!0},{type:"switch",field:"showStops"},{type:"switch",field:"vertical"},{type:"input",field:"height"}])},cs="timePicker",bg={menu:"main",icon:"icon-time",label:"\u65F6\u95F4",name:cs,event:["change","blur","focus","visibleChange"],rule:({t:e})=>({type:cs,field:tt(),title:e("com.timePicker.name"),info:"",$required:!1,props:{}}),watch:{isRange({rule:e}){e.key=tt()}},props:(e,{t:o})=>$e(o,cs+".props",[{type:"switch",field:"readonly"},{type:"switch",field:"disabled"},{type:"switch",field:"isRange"},{type:"switch",field:"clearable",value:!0},{type:"Struct",field:"pickerOptions",props:{defaultValue:{}}},{type:"switch",field:"editable",value:!0},{type:"input",field:"placeholder"},{type:"input",field:"startPlaceholder"},{type:"input",field:"endPlaceholder"},{type:"switch",field:"arrowControl"},{type:"select",field:"align",options:Wt(o,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])}])},yg={menu:"main",icon:"icon-time",label:"\u65F6\u95F4\u533A\u95F4",name:"timeRange",event:["change","blur","focus","visibleChange"],rule:({t:e})=>({type:"timePicker",field:tt(),title:e("com.timeRange.name"),info:"",$required:!1,props:{isRange:!0}}),props:(e,{t:o})=>$e(o,"timePicker.props",[{type:"switch",field:"readonly"},{type:"switch",field:"disabled"},{type:"switch",field:"clearable",value:!0},{type:"Struct",field:"pickerOptions",props:{defaultValue:{}}},{type:"switch",field:"editable",value:!0},{type:"input",field:"startPlaceholder"},{type:"input",field:"endPlaceholder"},{type:"switch",field:"arrowControl"},{type:"select",field:"align",options:Wt(o,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])}])},us="datePicker",xg={menu:"main",icon:"icon-date",label:"\u65E5\u671F",name:us,event:["change","blur","focus","calendarChange","panelChange","visibleChange"],rule:({t:e})=>({type:us,field:tt(),title:e("com.datePicker.name"),info:"",$required:!1,props:{}}),props:(e,{t:o})=>$e(o,us+".props",[{type:"switch",field:"readonly"},{type:"switch",field:"disabled"},{type:"select",field:"type",options:Wt(o,[{label:"year",value:"year"},{label:"month",value:"month"},{label:"date",value:"date"},{label:"dates",value:"dates"},{label:"week",value:"week"},{label:"datetime",value:"datetime"},{label:"datetimerange",value:"datetimerange"},{label:"daterange",value:"daterange"},{label:"monthrange",value:"monthrange"}])},{type:"switch",field:"clearable",value:!0},{type:"Struct",field:"pickerOptions",props:{defaultValue:{}}},{type:"switch",field:"editable",value:!0},{type:"input",field:"placeholder"},{type:"input",field:"startPlaceholder"},{type:"input",field:"endPlaceholder"},{type:"input",field:"format"},{type:"select",field:"align",options:Wt(o,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"input",field:"rangeSeparator"},{type:"switch",field:"unlinkPanels"}])},Ag={menu:"main",icon:"icon-date",label:"\u65E5\u671F\u533A\u95F4",name:"dateRange",event:["change","blur","focus","calendarChange","panelChange","visibleChange"],rule:({t:e})=>({type:"datePicker",field:tt(),title:e("com.dateRange.name"),info:"",$required:!1,props:{type:"datetimerange"}}),props:(e,{t:o})=>$e(o,"datePicker.props",[{type:"switch",field:"readonly"},{type:"switch",field:"disabled"},{type:"select",field:"type",options:Wt(o,[{label:"datetimerange",value:"datetimerange"},{label:"daterange",value:"daterange"},{label:"monthrange",value:"monthrange"}])},{type:"switch",field:"clearable",value:!0},{type:"Struct",field:"pickerOptions",props:{defaultValue:{}}},{type:"switch",field:"editable",value:!0},{type:"input",field:"startPlaceholder"},{type:"input",field:"endPlaceholder"},{type:"input",field:"format"},{type:"select",field:"align",options:Wt(o,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"input",field:"rangeSeparator"},{type:"switch",field:"unlinkPanels"}])},ds="rate",wg={menu:"main",icon:"icon-rate",label:"\u8BC4\u5206",name:ds,event:["change"],validate:["number"],rule:({t:e})=>({type:ds,field:tt(),title:e("com.rate.name"),info:"",$required:!1,props:{}}),props:(e,{t:o})=>$e(o,ds+".props",[{type:"inputNumber",field:"max",props:{min:0}},{type:"switch",field:"disabled"},{type:"switch",field:"allowHalf"},{type:"ColorInput",field:"voidColor"},{type:"ColorInput",field:"disabledVoidColor"},{type:"input",field:"voidIconClass"},{type:"input",field:"disabledVoidIconClass"},{type:"switch",field:"showScore"},{type:"ColorInput",field:"textColor"},{type:"input",field:"scoreTemplate"}])},fs="colorPicker",Cg={menu:"main",icon:"icon-color",label:"\u989C\u8272\u9009\u62E9\u5668",name:fs,event:["change","activeChange","focus","blur"],validate:["string"],rule:({t:e})=>({type:fs,field:tt(),title:e("com.colorPicker.name"),info:"",$required:!1,props:{}}),props:(e,{t:o})=>$e(o,fs+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"showAlpha"},{type:"select",field:"colorFormat",options:[{label:"hsl",value:"hsl"},{label:"hsv",value:"hsv"},{label:"hex",value:"hex"},{label:"rgb",value:"rgb"}]},{type:"tableOptions",field:"predefine",props:{column:[{label:o("props.value"),key:"value"}],valueType:"string"}}])},ps="fcRow",_g={menu:"layout",icon:"icon-row",label:"\u6805\u683C\u5E03\u5C40",name:ps,mask:!1,children:"col",childrenLen:2,rule:()=>({type:ps,props:{},children:[]}),props:(e,{t:o})=>$e(o,ps+".props",[{type:"inputNumber",field:"gutter",props:{min:0}},{type:"switch",field:"type",props:{activeValue:"flex",inactiveValue:"default"}},{type:"select",field:"justify",options:[{label:"start",value:"start"},{label:"end",value:"end"},{label:"center",value:"center"},{label:"space-around",value:"space-around"},{label:"space-between",value:"space-between"}]},{type:"select",field:"align",options:[{label:"top",value:"top"},{label:"middle",value:"middle"},{label:"bottom",value:"bottom"}]}])},hs="col",Zd={xs:"<768px",sm:"\u2265768px",md:"\u2265992px",lg:"\u22651200px",xl:"\u22651920px"},kg={name:hs,label:"\u683C\u5B50",drag:!0,dragBtn:!1,inside:!0,mask:!1,rule:()=>({type:hs,props:{span:12},children:[]}),props:(e,{t:o})=>$e(o,hs+".props",[{type:"slider",field:"span",value:12,props:{min:0,max:24}},{type:"slider",field:"offset",props:{min:0,max:24}},{type:"slider",field:"push",props:{min:0,max:24}},{type:"slider",field:"pull",props:{min:0,max:24}},{type:"ConfigItem",props:{label:o("props.reactive")},children:[{type:"elTabs",style:{width:"100%"},slot:"append",children:Object.keys(Zd).map(n=>({type:"elTabPane",props:{label:Zd[n]},style:"padding:0 10px;",children:[{type:"slider",field:n+">span",title:o("com.col.props.span"),value:12,props:{min:0,max:24}},{type:"slider",field:n+">offset",title:o("com.col.props.offset"),props:{min:0,max:24}},{type:"slider",field:n+">push",title:o("com.col.props.push"),props:{min:0,max:24}},{type:"slider",field:n+">pull",title:o("com.col.props.pull"),props:{min:0,max:24}}]}))}]}])},ms="elTabPane",Sg={label:"\u9009\u9879\u5361",name:ms,inside:!0,drag:!0,dragBtn:!1,mask:!1,rule:({t:e})=>({type:ms,props:{label:e("com.elTabPane.name")},children:[]}),props:(e,{t:o})=>$e(o,ms+".props",[{type:"input",field:"label"},{type:"switch",field:"disabled"},{type:"input",field:"name"},{type:"switch",field:"lazy"}])},gs="elDivider",Eg={menu:"aide",icon:"icon-divider",label:"\u5206\u5272\u7EBF",name:gs,rule:({t:e})=>({type:gs,props:{},children:[e("com.elDivider.name")]}),props:(e,{t:o})=>$e(o,gs+".props",[{type:"input",field:"formCreateChild"},{type:"select",field:"contentPosition",options:Wt(o,[{label:"left",value:"left"},{label:"right",value:"right"},{label:"center",value:"center"}])}])},Dl="cascader",Mg={menu:"main",icon:"icon-cascader",label:"\u7EA7\u8054\u9009\u62E9\u5668",name:Dl,event:["change","expandChange","blur","focus","visibleChange","removeTag"],validate:["string","number","array"],rule:({t:e})=>({type:Dl,field:tt(),title:e("com.cascader.name"),info:"",effect:{fetch:""},$required:!1,props:{options:No(e("props.option"),{label:"label",value:"value"},3)}}),props:(e,{t:o})=>$e(o,Dl+".props",[Tl({t:o,to:"props.options"}),{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"input",field:"placeholder"},{type:"Object",field:"props",props:{rule:$e(o,Dl+".propsOpt",[{type:"switch",field:"multiple"},{type:"select",field:"expandTrigger",options:Wt(o,[{label:"click",value:"click"},{label:"hover",value:"hover"}])},{type:"switch",field:"checkStrictly"},{type:"switch",field:"emitPath",value:!0},{type:"input",field:"value",value:"value"},{type:"input",field:"label",value:"label"},{type:"input",field:"children",value:"children"},{type:"input",field:"disabled",value:"disabled"},{type:"input",field:"leaf"}])}},{type:"switch",field:"showAllLevels",value:!0},{type:"switch",field:"collapseTags"},{type:"switch",field:"collapseTagsTooltip"},{type:"input",field:"separator"},{type:"switch",field:"filterable"},{type:"select",field:"tagType",options:[{label:"success",value:"success"},{label:"info",value:"info"},{label:"warning",value:"warning"},{label:"danger",value:"danger"}]}])},vs="upload",Tg={menu:"main",icon:"icon-upload",label:"\u4E0A\u4F20",name:vs,event:["change","remove"],validate:["array"],rule:({t:e})=>({type:vs,field:tt(),title:e("com.upload.name"),info:"",$required:!1,props:{action:"/",onSuccess:new Function("res","file","file.url = res.data.url;")}}),props:(e,{t:o})=>$e(o,vs+".props",[{type:"switch",field:"disabled"},{type:"select",field:"listType",options:Wt(o,[{label:"text",value:"text"},{label:"picture",value:"picture"},{label:"picture-card",value:"picture-card"}])},{type:"switch",field:"multiple"},{type:"input",field:"action"},{type:"FnInput",field:"beforeUpload",props:{args:["file"],name:"beforeUpload"}},{type:"FnInput",field:"onSuccess",info:o("com.upload.info"),props:{args:["res","file"],name:"onSuccess"}},{type:"TableOptions",field:"headers",props:{column:[{label:o("props.key"),key:"label"},{label:o("props.value"),key:"value"}],valueType:"object"}},{type:"TableOptions",field:"data",props:{column:[{label:o("props.key"),key:"label"},{label:o("props.value"),key:"value"}],valueType:"object"}},{type:"input",field:"name"},{type:"switch",field:"withCredentials"},{type:"input",field:"accept"},{type:"switch",field:"autoUpload",value:!0},{type:"inputNumber",field:"limit",props:{min:0}}])},bs="elTransfer",Dg={menu:"main",icon:"icon-transfer",label:"\u7A7F\u68AD\u6846",name:bs,event:["change","leftCheckChange","rightCheckChange"],validate:["string","number","array"],rule:({t:e})=>({type:bs,field:tt(),title:e("com.elTransfer.name"),info:"",$required:!1,props:{data:No(e("props.option"),{label:"label",value:"key"},1)}}),props:(e,{t:o})=>$e(o,bs+".props",[Tl({t:o,to:"props.data",label:"label",value:"key"}),{type:"switch",field:"filterable"},{type:"input",field:"filterPlaceholder"},{type:"select",field:"targetOrder",info:o("com.elTransfer.targetOrderInfo"),options:[{label:"original",value:"original"},{label:"push",value:"push"},{label:"unshift",value:"unshift"}]},{type:"TableOptions",field:"titles",props:{column:[{label:o("props.value"),key:"value"}],valueType:"string",max:2}},{type:"TableOptions",field:"buttonTexts",props:{column:[{label:o("props.value"),key:"value"}],valueType:"string",max:2}}])},ys="tree",Ng={menu:"main",icon:"icon-tree",label:"\u6811\u5F62\u63A7\u4EF6",name:ys,event:["nodeClick","nodeContextmenu","checkChange","check","currentChange","nodeExpand","nodeCollapse","nodeDragStart","nodeDragEnter","nodeDragLeave","nodeDragOver","nodeDragEnd","nodeDrop"],validate:["string","number","array"],rule:({t:e})=>({type:ys,field:tt(),title:e("com.tree.name"),info:"",effect:{fetch:""},$required:!1,props:{props:{label:"label"},showCheckbox:!0,nodeKey:"id",data:No(e("props.option"),{label:"label",value:"id"},3)}}),props:(e,{t:o})=>$e(o,ys+".props",[Tl({t:o,to:"props.data",label:"label",value:"id"}),{type:"input",field:"emptyText"},{type:"TableOptions",field:"props",props:{column:[{label:o("props.key"),key:"label"},{label:o("props.value"),key:"value"}],valueType:"object"}},{type:"switch",field:"renderAfterExpand",value:!0},{type:"switch",field:"defaultExpandAll"},{type:"switch",field:"expandOnClickNode",value:!0},{type:"switch",field:"checkOnClickNode"},{type:"switch",field:"autoExpandParent",value:!0},{type:"switch",field:"checkStrictly"},{type:"switch",field:"accordion"},{type:"inputNumber",field:"indent"},{type:"input",field:"nodeKey"}])},xs="elAlert",Rg={menu:"aide",icon:"icon-alert",label:"\u63D0\u793A",name:xs,event:["close"],rule:({t:e})=>({type:xs,props:{title:e("com.elAlert.name"),description:e("com.elAlert.description"),type:"success",effect:"dark"},children:[]}),props:(e,{t:o})=>$e(o,xs+".props",[{type:"input",field:"title"},{type:"select",field:"type",options:[{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"info",value:"info"},{label:"error",value:"error"}]},{type:"input",field:"description"},{type:"switch",field:"closable",value:!0},{type:"switch",field:"center",value:!0},{type:"input",field:"closeText"},{type:"switch",field:"showIcon"},{type:"select",field:"effect",options:[{label:"light",value:"light"},{label:"dark",value:"dark"}]}])},ef="text",Ig={menu:"aide",icon:"icon-span",label:"\u6587\u5B57",name:ef,rule:({t:e})=>({type:"div",title:"",native:!0,style:{whiteSpace:"pre-line",width:"100%"},children:[e("com.text.name")]}),watch:{formCreateNative({value:e,rule:o}){e&&(o.title="")}},props:(e,{t:o})=>$e(o,ef+".props",[{type:"switch",field:"formCreateNative",props:{activeValue:!1,inactiveValue:!0},control:[{value:!1,rule:["formCreateTitle"]}]},{type:"input",field:"formCreateTitle"},{type:"input",field:"formCreateChild",props:{type:"textarea"}}])},tf="space",Og={menu:"layout",icon:"icon-space",label:"\u95F4\u8DDD",name:tf,rule:()=>({type:"div",wrap:{show:!1},native:!0,style:{width:"100%",height:"20px"},children:[]}),props:(e,{t:o})=>[{type:"object",field:"formCreateStyle",native:!0,props:{rule:$e(o,tf+".props",[{type:"input",field:"height",title:"height"}])}}]},As="elTabs",Fg={menu:"layout",icon:"icon-tab",label:"\u6807\u7B7E\u9875",name:As,mask:!1,event:["tabClick","tabChange","tabRemove","tabAdd","edit"],children:"elTabPane",rule:()=>({type:As,style:{width:"100%"},children:[]}),props:(e,{t:o})=>$e(o,As+".props",[{type:"select",field:"type",options:[{label:"card",value:"card"},{label:"border-card",value:"border-card"}]},{type:"switch",field:"closable"},{type:"select",field:"tabPosition",options:Wt(o,[{label:"top",value:"top"},{label:"right",value:"right"},{label:"left",value:"left"}])},{type:"switch",field:"stretch"}])},ws="elButton",Lg={menu:"aide",icon:"icon-button",label:"\u6309\u94AE",name:ws,mask:!0,event:["click"],rule:({t:e})=>({type:ws,props:{},children:[e("com.elButton.name")]}),props:(e,{t:o})=>$e(o,ws+".props",[{type:"input",field:"formCreateChild"},{type:"select",field:"size",options:Wt(o,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])},{type:"select",field:"type",options:[{label:"primary",value:"primary"},{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"danger",value:"danger"},{label:"info",value:"info"}]},{type:"switch",field:"plain"},{type:"switch",field:"round"},{type:"switch",field:"circle"},{type:"switch",field:"loading"},{type:"switch",field:"disabled"}])},Cs="fcEditor",Bg={menu:"main",icon:"icon-editor",label:"\u5BCC\u6587\u672C\u6846",name:Cs,event:["change"],validate:["string"],rule:({t:e})=>({type:Cs,field:tt(),title:e("com.fcEditor.name"),info:"",$required:!1,props:{}}),props:(e,{t:o})=>$e(o,Cs+".props",[{type:"switch",field:"disabled"}])},nf="group",Pg={menu:"subform",icon:"icon-subform",label:"\u5B50\u8868\u5355",name:nf,inside:!1,drag:!0,dragBtn:!0,mask:!1,event:["change"],subForm:"array",loadRule(e){e.children=e.props.rule||[],e.type="FcRow",delete e.props.rule},parseRule(e){e.props.rule=e.children,e.type="group",delete e.children,delete e.props.mode},rule:({t:e})=>({type:"fcRow",field:tt(),title:e("com.group.name"),info:"",$required:!1,props:{},children:[]}),props:(e,{t:o})=>$e(o,nf+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"syncDisabled",value:!0},{type:"switch",field:"button",value:!0},{type:"switch",field:"sortBtn",value:!0},{type:"inputNumber",field:"expand"},{type:"inputNumber",field:"min"},{type:"inputNumber",field:"max"}])},of="subForm",jg={menu:"subform",icon:"icon-group",label:"\u5206\u7EC4",name:of,inside:!1,drag:!0,dragBtn:!0,mask:!1,subForm:"object",event:["change"],loadRule(e){e.children=e.props.rule||[],e.type="FcRow",delete e.props.rule},parseRule(e){e.props.rule=e.children,e.type="subForm",delete e.children},rule:({t:e})=>({type:"fcRow",field:tt(),title:e("com.subForm.name"),info:"",$required:!1,props:{},children:[]}),props:(e,{t:o})=>$e(o,of+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"syncDisabled",value:!0}])},_s="elCard",Vg={menu:"layout",icon:"icon-card",label:"\u5361\u7247",name:_s,drag:!0,inside:!1,mask:!1,rule:({t:e})=>({type:_s,props:{header:e("com.elCard.props.header")},style:{width:"100%"},children:[]}),props:(e,{t:o})=>$e(o,_s+".props",[{type:"input",field:"header"},{type:"select",field:"shadow",value:"always",options:Wt(o,[{label:"always",value:"always"},{label:"never",value:"never"},{label:"hover",value:"hover"}])}])},ks="elCollapse",zg={menu:"layout",icon:"icon-collapse",label:"\u6298\u53E0\u9762\u677F",name:ks,mask:!1,children:"elCollapseItem",event:["change"],rule:()=>({type:ks,props:{},style:{width:"100%"},children:[]}),props:(e,{t:o})=>$e(o,ks+".props",[{type:"switch",field:"accordion"}])},Ss="elCollapseItem",Hg={icon:"icon-cell",label:"\u9762\u677F",name:Ss,drag:!0,dragBtn:!1,inside:!0,mask:!1,rule:({t:e})=>({type:Ss,props:{title:e("com.elCollapseItem.name")},style:{},children:[]}),props:(e,{t:o})=>$e(o,Ss+".props",[{type:"input",field:"title"},{type:"input",field:"name"},{type:"switch",field:"disabled"}])},Es="elTreeSelect",Ug={menu:"main",icon:"icon-tree-select",label:"\u6811\u5F62\u9009\u62E9",name:Es,event:["change","visibleChange","removeTag","clear","blur","focus"],validate:["string","number","array"],rule:({t:e})=>({type:Es,field:tt(),title:e("com.elTreeSelect.name"),info:"",effect:{fetch:""},$required:!1,props:{nodeKey:"value",showCheckbox:!0,data:No(e("props.option"),{label:"label",value:"value"},3)}}),watch:{multiple({rule:e}){e.key=tt()}},props:(e,{t:o})=>$e(o,Es+".props",[Tl({t:o,to:"props.data",label:"label",value:"value"}),{type:"switch",field:"multiple"},{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"switch",field:"collapseTags"},{type:"inputNumber",field:"multipleLimit",props:{min:0}},{type:"input",field:"placeholder"},{type:"TableOptions",field:"props",props:{column:[{label:o("props.key"),key:"label"},{label:o("props.value"),key:"value"}],valueType:"object"}},{type:"switch",field:"renderAfterExpand",value:!0},{type:"switch",field:"defaultExpandAll"},{type:"switch",field:"expandOnClickNode",value:!0},{type:"switch",field:"checkOnClickNode"},{type:"input",field:"nodeKey"}])},Ms="elTag",Wg={menu:"aide",icon:"icon-tag",label:"\u6807\u7B7E",name:Ms,mask:!0,event:["click","close"],rule:({t:e})=>({type:Ms,title:"",native:!0,children:[e("com.elTag.name")]}),watch:{formCreateNative({value:e,rule:o}){e&&(o.title="")}},props:(e,{t:o})=>$e(o,Ms+".props",[{type:"switch",field:"formCreateNative",props:{activeValue:!1,inactiveValue:!0},control:[{value:!1,rule:["formCreateTitle"]}]},{type:"input",field:"formCreateTitle"},{type:"input",field:"formCreateChild"},{type:"select",field:"type",options:[{label:"primary",value:"primary"},{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"danger",value:"danger"},{label:"info",value:"info"}]},{type:"select",field:"size",options:Wt(o,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])},{type:"select",field:"effect",options:[{label:"dark",value:"dark"},{label:"light",value:"light"},{label:"plain",value:"plain"}]},{type:"switch",field:"closable"},{type:"switch",field:"disableTransitions"},{type:"switch",field:"hit"},{type:"switch",field:"round"},{type:"ColorInput",field:"color"}])},Ts="html",Qg={menu:"aide",icon:"icon-html",label:"HTML",name:Ts,rule:()=>({type:Ts,title:"",native:!0,attrs:{innerHTML:""},style:{display:"block",width:"100%"},children:[`
html html html html html html html html html
`]}),watch:{formCreateNative({value:e,rule:o}){e&&(o.title="")}},props:(e,{t:o})=>$e(o,Ts+".props",[{type:"switch",field:"formCreateNative",props:{activeValue:!1,inactiveValue:!0},control:[{value:!1,rule:["formCreateTitle"]}]},{type:"input",field:"formCreateTitle"},{type:"HtmlEditor",field:"formCreateChild"}])},Ds="fcTable",Yg={menu:"layout",icon:"icon-table",label:"\u8868\u683C\u5E03\u5C40",name:Ds,inside:!1,mask:!1,rule:()=>({type:Ds,props:{rule:{row:3,col:4,style:{},class:{},layout:[]}},children:[]}),props:(e,{t:o})=>$e(o,Ds+".props",[{type:"switch",field:"border",value:!0},{type:"ColorInput",field:"borderColor"},{type:"input",field:"borderWidth"}])},Ns="tableForm",Gg={menu:"subform",icon:"icon-table-form",label:"\u8868\u683C\u8868\u5355",name:Ns,mask:!1,subForm:"array",event:["change","add","delete"],children:"tableFormColumn",loadRule(e){e.props||(e.props={});const o=e.props.columns||[];e.children=o.map(n=>({type:"tableFormColumn",_fc_drag_tag:"tableFormColumn",props:{label:n.label,width:n.style.width||"",color:n.style.color||""},children:n.rule||[]})),delete e.props.columns},parseRule(e){const o=e.children||[];e.props.columns=o.map(n=>({label:n.props.label,style:{width:n.props.width,color:n.props.color},rule:n.children||[]})),e.children=[]},rule:({t:e})=>({type:Ns,field:tt(),title:e("com.tableForm.name"),info:"",props:{},children:[]}),props:(e,{t:o})=>$e(o,Ns+".props",[{type:"switch",field:"disabled"},{type:"inputNumber",field:"max",props:{min:0}}])},Rs="tableFormColumn",rf=[dg,fg,pg,hg,cg,ug,mg,gg,wg,bg,yg,vg,xg,Ag,Cg,Mg,Tg,Dg,Ng,Ug,Bg,Pg,jg,Gg,{icon:"icon-cell",name:Rs,drag:!0,dragBtn:!1,mask:!1,rule:({t:e})=>({type:Rs,props:{label:e("com.tableFormColumn.label"),width:"auto"},children:[]}),props:(e,{t:o})=>$e(o,Rs+".props",[{type:"input",field:"label"},{type:"input",field:"width"},{type:"ColorInput",field:"color"}])},Rg,Lg,Ig,Qg,Eg,Wg,_g,Yg,Fg,Og,Vg,zg,kg,Sg,Hg];/**! * Sortable 1.14.0 * @author RubaXa * @author owenm * @license MIT */function lf(e,o){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);o&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function eo(e){for(var o=1;o=0)&&(v[h]=c[h]);return v}(e,o);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&(!Object.prototype.propertyIsEnumerable.call(e,n)||(s[n]=e[n]))}return s}function go(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var vo=go(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),wr=go(/Edge/i),sf=go(/firefox/i),Cr=go(/safari/i)&&!go(/chrome/i)&&!go(/android/i),cf=go(/iP(ad|od|hone)/i),Xg=go(/chrome/i)&&go(/android/i),uf={capture:!1,passive:!1};function ht(e,o,n){e.addEventListener(o,n,!vo&&uf)}function at(e,o,n){e.removeEventListener(o,n,!vo&&uf)}function Nl(e,o){if(o){if(o[0]===">"&&(o=o.substring(1)),e)try{if(e.matches)return e.matches(o);if(e.msMatchesSelector)return e.msMatchesSelector(o);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(o)}catch{return!1}return!1}}function $g(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function to(e,o,n,r){if(e){n=n||document;do{if(o!=null&&(o[0]===">"?e.parentNode===n&&Nl(e,o):Nl(e,o))||r&&e===n)return e;if(e===n)break}while(e=$g(e))}return null}var _r,df=/\s+/g;function kn(e,o,n){if(e&&o)if(e.classList)e.classList[n?"add":"remove"](o);else{var r=(" "+e.className+" ").replace(df," ").replace(" "+o+" "," ");e.className=(r+(n?" "+o:"")).replace(df," ")}}function Ye(e,o,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),o===void 0?n:n[o];!(o in r)&&o.indexOf("webkit")===-1&&(o="-webkit-"+o),r[o]=n+(typeof n=="string"?"":"px")}}function Di(e,o){var n="";if(typeof e=="string")n=e;else do{var r=Ye(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!o&&(e=e.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(n)}function ff(e,o,n){if(e){var r=e.getElementsByTagName(o),s=0,d=r.length;if(n)for(;s=d:s<=d))return r;if(r===no())break;r=Io(r,!1)}return!1}function Ni(e,o,n,r){for(var s=0,d=0,c=e.children;d2&&arguments[2]!==void 0?arguments[2]:{},r=n.evt,s=Kg(n,Zg);kr.pluginEvent.bind(Ge)(e,o,eo({dragEl:_e,parentEl:Tt,ghostEl:Ze,rootEl:Ct,nextEl:$o,lastDownEl:Rl,cloneEl:Ot,cloneHidden:Oo,dragStarted:Er,putSortable:qt,activeSortable:Ge.active,originalEvent:r,oldIndex:Ii,oldDraggableIndex:Sr,newIndex:En,newDraggableIndex:Fo,hideGhostForTarget:_f,unhideGhostForTarget:kf,cloneNowHidden:function(){Oo=!0},cloneNowShown:function(){Oo=!1},dispatchSortableEvent:function(d){sn({sortable:o,name:d,originalEvent:r})}},s))};function sn(e){(function(o){var n=o.sortable,r=o.rootEl,s=o.name,d=o.targetEl,c=o.cloneEl,f=o.toEl,h=o.fromEl,p=o.oldIndex,v=o.newIndex,y=o.oldDraggableIndex,g=o.newDraggableIndex,_=o.originalEvent,C=o.putSortable,b=o.extraEventProperties;if(n=n||r&&r[Sn]){var E,x=n.options,T="on"+s.charAt(0).toUpperCase()+s.substr(1);!window.CustomEvent||vo||wr?(E=document.createEvent("Event")).initEvent(s,!0,!0):E=new CustomEvent(s,{bubbles:!0,cancelable:!0}),E.to=f||r,E.from=h||r,E.item=d||r,E.clone=c,E.oldIndex=p,E.newIndex=v,E.oldDraggableIndex=y,E.newDraggableIndex=g,E.originalEvent=_,E.pullMode=C?C.lastPutMode:void 0;var k=eo(eo({},b),kr.getEventProperties(s,n));for(var M in k)E[M]=k[M];r&&r.dispatchEvent(E),x[T]&&x[T].call(n,E)}})(eo({putSortable:qt,cloneEl:Ot,targetEl:_e,rootEl:Ct,oldIndex:Ii,oldDraggableIndex:Sr,newIndex:En,newDraggableIndex:Fo},e))}var _e,Tt,Ze,Ct,$o,Rl,Ot,Oo,Ii,En,Sr,Fo,Il,qt,Jo,Qn,Ls,Bs,bf,yf,Er,Oi,Mr,Ol,tn,Fi=!1,Fl=!1,Ll=[],Tr=!1,Bl=!1,Ps=[],js=!1,Pl=[],jl=typeof document<"u",Vl=cf,xf=wr||vo?"cssFloat":"float",ev=jl&&!Xg&&!cf&&"draggable"in document.createElement("div"),Af=function(){if(jl){if(vo)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),wf=function(e,o){var n=Ye(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),s=Ni(e,0,o),d=Ni(e,1,o),c=s&&Ye(s),f=d&&Ye(d),h=c&&parseInt(c.marginLeft)+parseInt(c.marginRight)+Ht(s).width,p=f&&parseInt(f.marginLeft)+parseInt(f.marginRight)+Ht(d).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&c.float&&c.float!=="none"){var v=c.float==="left"?"left":"right";return!d||f.clear!=="both"&&f.clear!==v?"horizontal":"vertical"}return s&&(c.display==="block"||c.display==="flex"||c.display==="table"||c.display==="grid"||h>=r&&n[xf]==="none"||d&&n[xf]==="none"&&h+p>r)?"vertical":"horizontal"},Cf=function(e){function o(s,d){return function(c,f,h,p){var v=c.options.group.name&&f.options.group.name&&c.options.group.name===f.options.group.name;if(s==null&&(d||v))return!0;if(s==null||s===!1)return!1;if(d&&s==="clone")return s;if(typeof s=="function")return o(s(c,f,h,p),d)(c,f,h,p);var y=(d?c:f).options.group.name;return s===!0||typeof s=="string"&&s===y||s.join&&s.indexOf(y)>-1}}var n={},r=e.group;(!r||af(r)!="object")&&(r={name:r}),n.name=r.name,n.checkPull=o(r.pull,!0),n.checkPut=o(r.put),n.revertClone=r.revertClone,e.group=n},_f=function(){!Af&&Ze&&Ye(Ze,"display","none")},kf=function(){!Af&&Ze&&Ye(Ze,"display","")};jl&&document.addEventListener("click",function(e){if(Fl)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Fl=!1,!1},!0);var Zo=function(e){if(_e){var o=function(s,d){var c;return Ll.some(function(f){var h=f[Sn].options.emptyInsertThreshold;if(h&&!Is(f)){var p=Ht(f),v=s>=p.left-h&&s<=p.right+h,y=d>=p.top-h&&d<=p.bottom+h;if(v&&y)return c=f}}),c}((e=e.touches?e.touches[0]:e).clientX,e.clientY);if(o){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=o,n.preventDefault=void 0,n.stopPropagation=void 0,o[Sn]._onDragOver(n)}}},tv=function(e){_e&&_e.parentNode[Sn]._isOutsideThisEl(e.target)};function Ge(e,o){if(!e||!e.nodeType||e.nodeType!==1)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=o=mo({},o),e[Sn]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return wf(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(d,c){d.setData("Text",c.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ge.supportPointer!==!1&&"PointerEvent"in window&&!Cr,emptyInsertThreshold:5};for(var r in kr.initializePlugins(this,e,n),n)!(r in o)&&(o[r]=n[r]);for(var s in Cf(o),this)s.charAt(0)==="_"&&typeof this[s]=="function"&&(this[s]=this[s].bind(this));this.nativeDraggable=!o.forceFallback&&ev,this.nativeDraggable&&(this.options.touchStartThreshold=1),o.supportPointer?ht(e,"pointerdown",this._onTapStart):(ht(e,"mousedown",this._onTapStart),ht(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(ht(e,"dragover",this),ht(e,"dragenter",this)),Ll.push(this.el),o.store&&o.store.get&&this.sort(o.store.get(this)||[]),mo(this,Jg())}function zl(e,o,n,r,s,d,c,f){var h,p,v=e[Sn],y=v.options.onMove;return!window.CustomEvent||vo||wr?(h=document.createEvent("Event")).initEvent("move",!0,!0):h=new CustomEvent("move",{bubbles:!0,cancelable:!0}),h.to=o,h.from=e,h.dragged=n,h.draggedRect=r,h.related=s||o,h.relatedRect=d||Ht(o),h.willInsertAfter=f,h.originalEvent=c,e.dispatchEvent(h),y&&(p=y.call(v,h,c)),p}function Vs(e){e.draggable=!1}function nv(){js=!1}function ov(e){for(var o=e.tagName+e.className+e.src+e.href+e.textContent,n=o.length,r=0;n--;)r+=o.charCodeAt(n);return r.toString(36)}function Hl(e){return setTimeout(e,0)}function zs(e){return clearTimeout(e)}Ge.prototype={constructor:Ge,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Oi=null)},_getDirection:function(e,o){return typeof this.options.direction=="function"?this.options.direction.call(this,e,o,_e):this.options.direction},_onTapStart:function(e){if(e.cancelable){var o=this,n=this.el,r=this.options,s=r.preventOnFilter,d=e.type,c=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,f=(c||e).target,h=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||f,p=r.filter;if(function(v){Pl.length=0;for(var y=v.getElementsByTagName("input"),g=y.length;g--;){var _=y[g];_.checked&&Pl.push(_)}}(n),!_e&&!(/mousedown|pointerdown/.test(d)&&e.button!==0||r.disabled)&&!h.isContentEditable&&(this.nativeDraggable||!Cr||!f||f.tagName.toUpperCase()!=="SELECT")&&!((f=to(f,r.draggable,n,!1))&&f.animated||Rl===f)){if(Ii=In(f),Sr=In(f,r.draggable),typeof p=="function"){if(p.call(this,e,f,this))return sn({sortable:o,rootEl:h,name:"filter",targetEl:f,toEl:n,fromEl:n}),gn("filter",o,{evt:e}),void(s&&e.cancelable&&e.preventDefault())}else if(p&&(p=p.split(",").some(function(v){if(v=to(h,v.trim(),n,!1))return sn({sortable:o,rootEl:v,name:"filter",targetEl:f,fromEl:n,toEl:n}),gn("filter",o,{evt:e}),!0})))return void(s&&e.cancelable&&e.preventDefault());r.handle&&!to(h,r.handle,n,!1)||this._prepareDragStart(e,c,f)}}},_prepareDragStart:function(e,o,n){var r,s=this,d=s.el,c=s.options,f=d.ownerDocument;if(n&&!_e&&n.parentNode===d){var h=Ht(n);if(Ct=d,Tt=(_e=n).parentNode,$o=_e.nextSibling,Rl=n,Il=c.group,Ge.dragged=_e,Jo={target:_e,clientX:(o||e).clientX,clientY:(o||e).clientY},bf=Jo.clientX-h.left,yf=Jo.clientY-h.top,this._lastX=(o||e).clientX,this._lastY=(o||e).clientY,_e.style["will-change"]="all",r=function(){gn("delayEnded",s,{evt:e}),Ge.eventCanceled?s._onDrop():(s._disableDelayedDragEvents(),!sf&&s.nativeDraggable&&(_e.draggable=!0),s._triggerDragStart(e,o),sn({sortable:s,name:"choose",originalEvent:e}),kn(_e,c.chosenClass,!0))},c.ignore.split(",").forEach(function(p){ff(_e,p.trim(),Vs)}),ht(f,"dragover",Zo),ht(f,"mousemove",Zo),ht(f,"touchmove",Zo),ht(f,"mouseup",s._onDrop),ht(f,"touchend",s._onDrop),ht(f,"touchcancel",s._onDrop),sf&&this.nativeDraggable&&(this.options.touchStartThreshold=4,_e.draggable=!0),gn("delayStart",this,{evt:e}),!c.delay||c.delayOnTouchOnly&&!o||this.nativeDraggable&&(wr||vo))r();else{if(Ge.eventCanceled)return void this._onDrop();ht(f,"mouseup",s._disableDelayedDrag),ht(f,"touchend",s._disableDelayedDrag),ht(f,"touchcancel",s._disableDelayedDrag),ht(f,"mousemove",s._delayedDragTouchMoveHandler),ht(f,"touchmove",s._delayedDragTouchMoveHandler),c.supportPointer&&ht(f,"pointermove",s._delayedDragTouchMoveHandler),s._dragStartTimer=setTimeout(r,c.delay)}}},_delayedDragTouchMoveHandler:function(e){var o=e.touches?e.touches[0]:e;Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){_e&&Vs(_e),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;at(e,"mouseup",this._disableDelayedDrag),at(e,"touchend",this._disableDelayedDrag),at(e,"touchcancel",this._disableDelayedDrag),at(e,"mousemove",this._delayedDragTouchMoveHandler),at(e,"touchmove",this._delayedDragTouchMoveHandler),at(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,o){o=o||e.pointerType=="touch"&&e,!this.nativeDraggable||o?this.options.supportPointer?ht(document,"pointermove",this._onTouchMove):ht(document,o?"touchmove":"mousemove",this._onTouchMove):(ht(_e,"dragend",this),ht(Ct,"dragstart",this._onDragStart));try{document.selection?Hl(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,o){if(Fi=!1,Ct&&_e){gn("dragStarted",this,{evt:o}),this.nativeDraggable&&ht(document,"dragover",tv);var n=this.options;!e&&kn(_e,n.dragClass,!1),kn(_e,n.ghostClass,!0),Ge.active=this,e&&this._appendGhost(),sn({sortable:this,name:"start",originalEvent:o})}else this._nulling()},_emulateDragOver:function(){if(Qn){this._lastX=Qn.clientX,this._lastY=Qn.clientY,_f();for(var e=document.elementFromPoint(Qn.clientX,Qn.clientY),o=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Qn.clientX,Qn.clientY))!==o;)o=e;if(_e.parentNode[Sn]._isOutsideThisEl(e),o)do{if(o[Sn]&&o[Sn]._onDragOver({clientX:Qn.clientX,clientY:Qn.clientY,target:e,rootEl:o})&&!this.options.dragoverBubble)break;e=o}while(o=o.parentNode);kf()}},_onTouchMove:function(e){if(Jo){var o=this.options,n=o.fallbackTolerance,r=o.fallbackOffset,s=e.touches?e.touches[0]:e,d=Ze&&Di(Ze,!0),c=Ze&&d&&d.a,f=Ze&&d&&d.d,h=Vl&&tn&&hf(tn),p=(s.clientX-Jo.clientX+r.x)/(c||1)+(h?h[0]-Ps[0]:0)/(c||1),v=(s.clientY-Jo.clientY+r.y)/(f||1)+(h?h[1]-Ps[1]:0)/(f||1);if(!Ge.active&&!Fi){if(n&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))J.right+Z||W.clientX<=J.right&&W.clientY>J.bottom&&W.clientX>=J.left:W.clientX>J.right&&W.clientY>J.top||W.clientX<=J.right&&W.clientY>J.bottom+Z}(e,s,this)&&!b.animated){if(b===_e)return H(!1);if(b&&d===e.target&&(c=b),c&&(n=Ht(c)),zl(Ct,d,_e,o,c,n,e,!!c)!==!1)return B(),d.appendChild(_e),Tt=d,U(),H(!0)}else if(b&&function(W,K,$){var J=Ht(Ni($.el,0,$.options,!0)),Z=10;return K?W.clientXDe+pe*ue/2:reBe-Ol)return-Mr}else if(re>De+pe*(1-Z)/2&&reBe-pe*ue/2)?re>De+pe/2?1:-1:0}(e,c,n,s,N?1:f.swapThreshold,f.invertedSwapThreshold==null?f.swapThreshold:f.invertedSwapThreshold,Bl,Oi===c),x!==0){var I=In(_e);do I-=x,k=Tt.children[I];while(k&&(Ye(k,"display")==="none"||k===Ze))}if(x===0||k===c)return H(!1);Oi=c,Mr=x;var S=c.nextElementSibling,j=!1,A=zl(Ct,d,_e,o,c,n,e,j=x===1);if(A!==!1)return(A===1||A===-1)&&(j=A===1),js=!0,setTimeout(nv,30),B(),j&&!S?d.appendChild(_e):c.parentNode.insertBefore(_e,j?S:c),w&&gf(w,0,F-w.scrollTop),Tt=_e.parentNode,T!==void 0&&!Bl&&(Ol=Math.abs(T-Ht(c)[L])),U(),H(!0)}if(d.contains(_e))return H(!1)}return!1}function O(W,K){gn(W,_,eo({evt:e,isOwner:v,axis:s?"vertical":"horizontal",revert:r,dragRect:o,targetRect:n,canSort:y,fromSortable:g,target:c,completed:H,onMove:function($,J){return zl(Ct,d,_e,o,$,Ht($),e,J)},changed:U},K))}function B(){O("dragOverAnimationCapture"),_.captureAnimationState(),_!==g&&g.captureAnimationState()}function H(W){return O("dragOverCompleted",{insertion:W}),W&&(v?p._hideClone():p._showClone(_),_!==g&&(kn(_e,qt?qt.options.ghostClass:p.options.ghostClass,!1),kn(_e,f.ghostClass,!0)),qt!==_&&_!==Ge.active?qt=_:_===Ge.active&&qt&&(qt=null),g===_&&(_._ignoreWhileAnimating=c),_.animateAll(function(){O("dragOverAnimationComplete"),_._ignoreWhileAnimating=null}),_!==g&&(g.animateAll(),g._ignoreWhileAnimating=null)),(c===_e&&!_e.animated||c===d&&!c.animated)&&(Oi=null),!f.dragoverBubble&&!e.rootEl&&c!==document&&(_e.parentNode[Sn]._isOutsideThisEl(e.target),!W&&Zo(e)),!f.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),C=!0}function U(){En=In(_e),Fo=In(_e,f.draggable),sn({sortable:_,name:"change",toEl:d,newIndex:En,newDraggableIndex:Fo,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){at(document,"mousemove",this._onTouchMove),at(document,"touchmove",this._onTouchMove),at(document,"pointermove",this._onTouchMove),at(document,"dragover",Zo),at(document,"mousemove",Zo),at(document,"touchmove",Zo)},_offUpEvents:function(){var e=this.el.ownerDocument;at(e,"mouseup",this._onDrop),at(e,"touchend",this._onDrop),at(e,"pointerup",this._onDrop),at(e,"touchcancel",this._onDrop),at(document,"selectstart",this)},_onDrop:function(e){var o=this.el,n=this.options;En=In(_e),Fo=In(_e,n.draggable),gn("drop",this,{evt:e}),Tt=_e&&_e.parentNode,En=In(_e),Fo=In(_e,n.draggable),Ge.eventCanceled||(Fi=!1,Bl=!1,Tr=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),zs(this.cloneId),zs(this._dragStartId),this.nativeDraggable&&(at(document,"drop",this),at(o,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Cr&&Ye(document.body,"user-select",""),Ye(_e,"transform",""),e&&(Er&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),Ze&&Ze.parentNode&&Ze.parentNode.removeChild(Ze),(Ct===Tt||qt&&qt.lastPutMode!=="clone")&&Ot&&Ot.parentNode&&Ot.parentNode.removeChild(Ot),_e&&(this.nativeDraggable&&at(_e,"dragend",this),Vs(_e),_e.style["will-change"]="",Er&&!Fi&&kn(_e,qt?qt.options.ghostClass:this.options.ghostClass,!1),kn(_e,this.options.chosenClass,!1),sn({sortable:this,name:"unchoose",toEl:Tt,newIndex:null,newDraggableIndex:null,originalEvent:e}),Ct!==Tt?(En>=0&&(sn({rootEl:Tt,name:"add",toEl:Tt,fromEl:Ct,originalEvent:e}),sn({sortable:this,name:"remove",toEl:Tt,originalEvent:e}),sn({rootEl:Tt,name:"sort",toEl:Tt,fromEl:Ct,originalEvent:e}),sn({sortable:this,name:"sort",toEl:Tt,originalEvent:e})),qt&&qt.save()):En!==Ii&&En>=0&&(sn({sortable:this,name:"update",toEl:Tt,originalEvent:e}),sn({sortable:this,name:"sort",toEl:Tt,originalEvent:e})),Ge.active&&((En==null||En===-1)&&(En=Ii,Fo=Sr),sn({sortable:this,name:"end",toEl:Tt,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){gn("nulling",this),Ct=_e=Tt=Ze=$o=Ot=Rl=Oo=Jo=Qn=Er=En=Fo=Ii=Sr=Oi=Mr=qt=Il=Ge.dragged=Ge.ghost=Ge.clone=Ge.active=null,Pl.forEach(function(e){e.checked=!0}),Pl.length=Ls=Bs=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":_e&&(this._onDragOver(e),(o=e).dataTransfer&&(o.dataTransfer.dropEffect="move"),o.cancelable&&o.preventDefault());break;case"selectstart":e.preventDefault()}var o},toArray:function(){for(var e,o=[],n=this.el.children,r=0,s=n.length,d=this.options;re.replace(rv,(o,n)=>n.toUpperCase())),Tf=["Start","Add","Remove","Update","End"],Df=["Choose","Unchoose","Sort","Filter","Clone"],Nf=["Move"],av=[Nf,Tf,Df].flatMap(e=>e).map(e=>`on${e}`),Xs={manage:Nf,manageAndEmit:Tf,emit:Df},sv=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function Rf(e){return["id","class","role","style"].includes(e)||e.startsWith("data-")||e.startsWith("aria-")||e.startsWith("on")}function If(e){return e.reduce((o,[n,r])=>(o[n]=r,o),{})}function Of(e){return Object.entries(e).filter(([o,n])=>!Rf(o)).map(([o,n])=>[lv(o),n]).filter(([o,n])=>!function(r){return av.indexOf(r)!==-1}(o))}const Ff=({el:e})=>e,Lf=e=>e.__draggable_context;class cv{constructor({nodes:{header:o,default:n,footer:r},root:s,realList:d}){this.defaultNodes=n,this.children=[...o,...n,...r],this.externalComponent=s.externalComponent,this.rootTransition=s.transition,this.tag=s.tag,this.realList=d}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(o,n){const{tag:r,children:s,_isRootComponent:d}=this;return o(r,n,d?{default:()=>s}:s)}updated(){const{defaultNodes:o,realList:n}=this;o.forEach((r,s)=>{((d,c)=>{d.__draggable_context=c})(Ff(r),{element:n[s],index:s})})}getUnderlyingVm(o){return Lf(o)}getVmIndexFromDomIndex(o,n){const{defaultNodes:r}=this,{length:s}=r,d=n.children,c=d.item(o);if(c===null)return s;const f=Lf(c);if(f)return f.index;if(s===0)return 0;const h=Ff(r[0]);return o<[...d].findIndex(p=>p===h)?0:s}}function uv(e){const o=function(r){return["transition-group","TransitionGroup"].includes(r)}(e),n=!function(r){return sv.includes(r)}(e)&&!o;return{transition:o,externalComponent:n,tag:n?ce(e):o?Em:e}}function dv({$slots:e,tag:o,realList:n,getKey:r}){const s=function({$slots:c,realList:f,getKey:h}){const p=f||[],[v,y]=["header","footer"].map(C=>function(b,E){const x=b[E];return x?x():[]}(c,C)),{item:g}=c;if(!g)throw new Error("draggable element must have an item slot");const _=p.flatMap((C,b)=>g({element:C,index:b}).map(E=>(E.key=h(C),E.props={...E.props||{},"data-draggable":!0},E)));if(_.length!==p.length)throw new Error("Item slot must have only one child");return{header:v,footer:y,default:_}}({$slots:e,realList:n,getKey:r}),d=uv(o);return new cv({nodes:s,root:d,realList:n})}function Bf(e,o){Nn(()=>this.$emit(e.toLowerCase(),o))}function Pf(e){return(o,n)=>{if(this.realList!==null)return this[`onDrag${e}`](o,n)}}function fv(e){const o=Pf.call(this,e);return(n,r)=>{o.call(this,n,r),Bf.call(this,e,n)}}let $s=null;const Js=et({name:"draggable",inheritAttrs:!1,props:{list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:e=>e},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},emits:["update:modelValue","change",...[...Xs.manageAndEmit,...Xs.emit].map(e=>e.toLowerCase())],data:()=>({error:!1}),render(){try{this.error=!1;const{$slots:e,$attrs:o,tag:n,componentData:r,realList:s,getKey:d}=this,c=dv({$slots:e,tag:n,realList:s,getKey:d});this.componentStructure=c;const f=function({$attrs:h,componentData:p={}}){return{...If(Object.entries(h).filter(([v,y])=>Rf(v))),...p}}({$attrs:o,componentData:r});return c.render(vr,f)}catch(e){return this.error=!0,vr("pre",{style:{color:"red"}},e.stack)}},created(){this.list!==null&&this.modelValue!==null&&iv.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:e,$el:o,componentStructure:n}=this;n.updated();const r=function({$attrs:d,callBackBuilder:c}){const f=If(Of(d));Object.entries(c).forEach(([p,v])=>{Xs[p].forEach(y=>{f[`on${y}`]=v(y)})});const h=`[data-draggable]${f.draggable||""}`;return{...f,draggable:h}}({$attrs:e,callBackBuilder:{manageAndEmit:d=>fv.call(this,d),emit:d=>Bf.bind(this,d),manage:d=>Pf.call(this,d)}}),s=o.nodeType===1?o:o.parentElement;this._sortable=new Ge(s,r),this.targetDomElement=s,s.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:e}=this;return e||this.modelValue},getKey(){const{itemKey:e}=this;return typeof e=="function"?e:o=>o[e]}},watch:{$attrs:{handler(e){const{_sortable:o}=this;!o||Of(e).forEach(([n,r])=>{o.option(n,r)})},deep:!0}},methods:{getUnderlyingVm(e){return this.componentStructure.getUnderlyingVm(e)||null},getUnderlyingPotencialDraggableComponent:e=>e.__draggable_component__,emitChanges(e){Nn(()=>this.$emit("change",e))},alterList(e){if(this.list)return void e(this.list);const o=[...this.modelValue];e(o),this.$emit("update:modelValue",o)},spliceList(){this.alterList(e=>e.splice(...arguments))},updatePosition(e,o){this.alterList(n=>n.splice(o,0,n.splice(e,1)[0]))},getRelatedContextFromMoveEvent({to:e,related:o}){const n=this.getUnderlyingPotencialDraggableComponent(e);if(!n)return{component:n};const r=n.realList,s={list:r,component:n};return e!==o&&r?{...n.getUnderlyingVm(o)||{},...s}:s},getVmIndexFromDomIndex(e){return this.componentStructure.getVmIndexFromDomIndex(e,this.targetDomElement)},onDragStart(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),$s=e.item},onDragAdd(e){const o=e.item._underlying_vm_;if(o===void 0)return;Ks(e.item);const n=this.getVmIndexFromDomIndex(e.newIndex);this.spliceList(n,0,o);const r={element:o,newIndex:n};this.emitChanges({added:r})},onDragRemove(e){if(Mf(this.$el,e.item,e.oldIndex),e.pullMode==="clone")return void Ks(e.clone);const{index:o,element:n}=this.context;this.spliceList(o,1);const r={element:n,oldIndex:o};this.emitChanges({removed:r})},onDragUpdate(e){Ks(e.item),Mf(e.from,e.item,e.oldIndex);const o=this.context.index,n=this.getVmIndexFromDomIndex(e.newIndex);this.updatePosition(o,n);const r={element:this.context.element,oldIndex:o,newIndex:n};this.emitChanges({moved:r})},computeFutureIndex(e,o){if(!e.element)return 0;const n=[...o.to.children].filter(d=>d.style.display!=="none"),r=n.indexOf(o.related),s=e.component.getVmIndexFromDomIndex(r);return n.indexOf($s)===-1&&o.willInsertAfter?s+1:s},onDragMove(e,o){const{move:n,realList:r}=this;if(!n||!r)return!0;const s=this.getRelatedContextFromMoveEvent(e),d=this.computeFutureIndex(s,e),c={...this.context,futureIndex:d};return n({...e,relatedContext:s,draggedContext:c},o)},onDragEnd(){$s=null}}}),Ql=xl,it=xl.factory();let jf=null,Vf=mn(null);function Zs(...e){return jf(...e)}const zf=e=>{Vf.value=e||zd;const o=Za(Vf);return jf=o.t,o};zf(),typeof globalThis<"u"||typeof window<"u"||(typeof global<"u"?global:typeof self<"u");var Hf,Uf={exports:{}};function Yl(){return Hf||(Hf=1,Uf.exports=function(){var e=navigator.userAgent,o=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),s=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),d=/Edge\/(\d+)/.exec(e),c=r||s||d,f=c&&(r?document.documentMode||6:+(d||s)[1]),h=!d&&/WebKit\//.test(e),p=h&&/Qt\/\d+\.\d+/.test(e),v=!d&&/Chrome\/(\d+)/.exec(e),y=v&&+v[1],g=/Opera\//.test(e),_=/Apple Computer/.test(navigator.vendor),C=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),b=/PhantomJS/.test(e),E=_&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),x=/Android/.test(e),T=E||x||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),k=E||/Mac/.test(o),M=/\bCrOS\b/.test(e),N=/win/i.test(o),L=g&&e.match(/Version\/(\d*\.\d*)/);L&&(L=Number(L[1])),L&&L>=15&&(g=!1,h=!0);var w=k&&(p||g&&(L==null||L<12.11)),F=n||c&&f>=9;function I(t){return new RegExp("(^|\\s)"+t+"(?:$|\\s)\\s*")}var S,j=function(t,i){var a=t.className,l=I(i).exec(a);if(l){var u=a.slice(l.index+l[0].length);t.className=a.slice(0,l.index)+(u?l[1]+u:"")}};function A(t){for(var i=t.childNodes.length;i>0;--i)t.removeChild(t.firstChild);return t}function O(t,i){return A(t).appendChild(i)}function B(t,i,a,l){var u=document.createElement(t);if(a&&(u.className=a),l&&(u.style.cssText=l),typeof i=="string")u.appendChild(document.createTextNode(i));else if(i)for(var m=0;m=i)return D+(i-m);D+=R-m,D+=a-D%a,m=R+1}}E?J=function(t){t.selectionStart=0,t.selectionEnd=t.value.length}:c&&(J=function(t){try{t.select()}catch{}});var pe=function(){this.id=null,this.f=null,this.time=0,this.handler=ie(this.onTimeout,this)};function De(t,i){for(var a=0;a=i)return l+Math.min(D,i-u);if(u+=m-l,l=m+1,(u+=a-u%a)>=i)return l}}var Qe=[""];function xt(t){for(;Qe.length<=t;)Qe.push(Ve(Qe)+" ");return Qe[t]}function Ve(t){return t[t.length-1]}function St(t,i){for(var a=[],l=0;l"\x80"&&(t.toUpperCase()!=t.toLowerCase()||Yn.test(t))}function bn(t,i){return i?!!(i.source.indexOf("\\w")>-1&&vn(t))||i.test(t):vn(t)}function yn(t){for(var i in t)if(t.hasOwnProperty(i)&&t[i])return!1;return!0}var Gn=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ut(t){return t.charCodeAt(0)>=768&&Gn.test(t)}function ut(t,i,a){for(;(a<0?i>0:ia?-1:1;;){if(i==a)return i;var u=(i+a)/2,m=l<0?Math.ceil(u):Math.floor(u);if(m==i)return t(m)?i:a;t(m)?a=m:i=m+l}}function xn(t,i,a,l){if(!t)return l(i,a,"ltr",0);for(var u=!1,m=0;mi||i==a&&D.to==i)&&(l(Math.max(D.from,i),Math.min(D.to,a),D.level==1?"rtl":"ltr",m),u=!0)}u||l(i,a,"ltr")}var Me=null;function ke(t,i,a){var l;Me=null;for(var u=0;ui)return u;m.to==i&&(m.from!=m.to&&a=="before"?l=u:Me=u),m.from==i&&(m.from!=m.to&&a!="before"?l=u:Me=u)}return l??Me}var ze=function(){var t="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",i="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function a(V){return V<=247?t.charAt(V):1424<=V&&V<=1524?"R":1536<=V&&V<=1785?i.charAt(V-1536):1774<=V&&V<=2220?"r":8192<=V&&V<=8203?"w":V==8204?"b":"L"}var l=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,u=/[stwN]/,m=/[LRr]/,D=/[Lb1n]/,R=/[1n]/;function P(V,Q,Y){this.level=V,this.from=Q,this.to=Y}return function(V,Q){var Y=Q=="ltr"?"L":"R";if(V.length==0||Q=="ltr"&&!l.test(V))return!1;for(var te=V.length,ne=[],se=0;se-1&&(l[i]=u.slice(0,m).concat(u.slice(m+1)))}}}function rt(t,i){var a=He(t,i);if(a.length)for(var l=Array.prototype.slice.call(arguments,2),u=0;u0}function dn(t){t.prototype.on=function(i,a){ve(this,i,a)},t.prototype.off=function(i,a){Ue(this,i,a)}}function yt(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function Fn(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}function oo(t){return t.defaultPrevented!=null?t.defaultPrevented:t.returnValue==0}function Qt(t){yt(t),Fn(t)}function ti(t){return t.target||t.srcElement}function Lr(t){var i=t.which;return i==null&&(1&t.button?i=1:2&t.button?i=3:4&t.button&&(i=2)),k&&t.ctrlKey&&i==1&&(i=3),i}var Mn,zi,Br=function(){if(c&&f<9)return!1;var t=B("div");return"draggable"in t||"dragDrop"in t}();function Pr(t){if(Mn==null){var i=B("span","\u200B");O(t,B("span",[i,document.createTextNode("x")])),t.firstChild.offsetHeight!=0&&(Mn=i.offsetWidth<=1&&i.offsetHeight>2&&!(c&&f<8))}var a=Mn?B("span","\u200B"):B("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return a.setAttribute("cm-text",""),a}function Zl(t){if(zi!=null)return zi;var i=O(t,document.createTextNode("A\u062EA")),a=S(i,0,1).getBoundingClientRect(),l=S(i,1,2).getBoundingClientRect();return A(t),!(!a||a.left==a.right)&&(zi=l.right-a.right<3)}var qn,Tn=` b`.split(/\n/).length!=3?function(t){for(var i=0,a=[],l=t.length;i<=l;){var u=t.indexOf(` `,i);u==-1&&(u=t.length);var m=t.slice(i,t.charAt(u-1)=="\r"?u-1:u),D=m.indexOf("\r");D!=-1?(a.push(m.slice(0,D)),i+=D+1):(a.push(m),i=u+1)}return a}:function(t){return t.split(/\r\n?|\n/)},xo=window.getSelection?function(t){try{return t.selectionStart!=t.selectionEnd}catch{return!1}}:function(t){var i;try{i=t.ownerDocument.selection.createRange()}catch{}return!(!i||i.parentElement()!=t)&&i.compareEndPoints("StartToEnd",i)!=0},jr="oncopy"in(qn=B("div"))||(qn.setAttribute("oncopy","return;"),typeof qn.oncopy=="function"),Ln=null;function ea(t){if(Ln!=null)return Ln;var i=O(t,B("span","x")),a=i.getBoundingClientRect(),l=S(i,0,1).getBoundingClientRect();return Ln=Math.abs(a.left-l.left)>1}var ni={},Bn={};function Pn(t,i){arguments.length>2&&(i.dependencies=Array.prototype.slice.call(arguments,2)),ni[t]=i}function oi(t,i){Bn[t]=i}function ii(t){if(typeof t=="string"&&Bn.hasOwnProperty(t))t=Bn[t];else if(t&&typeof t.name=="string"&&Bn.hasOwnProperty(t.name)){var i=Bn[t.name];typeof i=="string"&&(i={name:i}),(t=yo(i,t)).name=i.name}else{if(typeof t=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return ii("application/xml");if(typeof t=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(t))return ii("application/json")}return typeof t=="string"?{name:t}:t||{name:"null"}}function ri(t,i){i=ii(i);var a=ni[i.name];if(!a)return ri(t,"text/plain");var l=a(t,i);if(Ao.hasOwnProperty(i.name)){var u=Ao[i.name];for(var m in u)!u.hasOwnProperty(m)||(l.hasOwnProperty(m)&&(l["_"+m]=l[m]),l[m]=u[m])}if(l.name=i.name,i.helperType&&(l.helperType=i.helperType),i.modeProps)for(var D in i.modeProps)l[D]=i.modeProps[D];return l}var Ao={};function li(t,i){ae(i,Ao.hasOwnProperty(t)?Ao[t]:Ao[t]={})}function Kn(t,i){if(i===!0)return i;if(t.copyState)return t.copyState(i);var a={};for(var l in i){var u=i[l];u instanceof Array&&(u=u.concat([])),a[l]=u}return a}function Hi(t,i){for(var a;t.innerMode&&(a=t.innerMode(i))&&a.mode!=t;)i=a.state,t=a.mode;return a||{mode:t,state:i}}function ai(t,i,a){return!t.startState||t.startState(i,a)}var _t=function(t,i,a){this.pos=this.start=0,this.string=t,this.tabSize=i||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=a};function Le(t,i){if((i-=t.first)<0||i>=t.size)throw new Error("There is no line "+(i+t.first)+" in the document.");for(var a=t;!a.lines;)for(var l=0;;++l){var u=a.children[l],m=u.chunkSize();if(i=t.first&&ia?le(a,Le(t,a).text.length):yp(i,Le(t,i.line).text.length)}function yp(t,i){var a=t.ch;return a==null||a>i?le(t.line,i):a<0?le(t.line,0):t}function lc(t,i){for(var a=[],l=0;l=this.string.length},_t.prototype.sol=function(){return this.pos==this.lineStart},_t.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},_t.prototype.next=function(){if(this.posi},_t.prototype.eatSpace=function(){for(var t=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>t},_t.prototype.skipToEnd=function(){this.pos=this.string.length},_t.prototype.skipTo=function(t){var i=this.string.indexOf(t,this.pos);if(i>-1)return this.pos=i,!0},_t.prototype.backUp=function(t){this.pos-=t},_t.prototype.column=function(){return this.lastColumnPos0?null:(l&&i!==!1&&(this.pos+=l[0].length),l)}var u=function(m){return a?m.toLowerCase():m};if(u(this.string.substr(this.pos,t.length))==u(t))return i!==!1&&(this.pos+=t.length),!0},_t.prototype.current=function(){return this.string.slice(this.start,this.pos)},_t.prototype.hideFirstChars=function(t,i){this.lineStart+=t;try{return i()}finally{this.lineStart-=t}},_t.prototype.lookAhead=function(t){var i=this.lineOracle;return i&&i.lookAhead(t)},_t.prototype.baseToken=function(){var t=this.lineOracle;return t&&t.baseToken(this.pos)};var zr=function(t,i){this.state=t,this.lookAhead=i},Xn=function(t,i,a,l){this.state=i,this.doc=t,this.line=a,this.maxLookAhead=l||0,this.baseTokens=null,this.baseTokenPos=1};function ac(t,i,a,l){var u=[t.state.modeGen],m={};pc(t,i.text,t.doc.mode,a,function(V,Q){return u.push(V,Q)},m,l);for(var D=a.state,R=function(V){a.baseTokens=u;var Q=t.state.overlays[V],Y=1,te=0;a.state=!0,pc(t,i.text,Q.mode,a,function(ne,se){for(var fe=Y;tene&&u.splice(Y,1,ne,u[Y+1],xe),Y+=2,te=Math.min(ne,xe)}if(se)if(Q.opaque)u.splice(fe,Y-fe,ne,"overlay "+se),Y=fe+2;else for(;fet.options.maxHighlightLength&&Kn(t.doc.mode,l.state),m=ac(t,i,l);u&&(l.state=u),i.stateAfter=l.save(!u),i.styles=m.styles,m.classes?i.styleClasses=m.classes:i.styleClasses&&(i.styleClasses=null),a===t.doc.highlightFrontier&&(t.doc.modeFrontier=Math.max(t.doc.modeFrontier,++t.doc.highlightFrontier))}return i.styles}function Wi(t,i,a){var l=t.doc,u=t.display;if(!l.mode.startState)return new Xn(l,!0,i);var m=xp(t,i,a),D=m>l.first&&Le(l,m-1).stateAfter,R=D?Xn.fromSaved(l,D,m):new Xn(l,ai(l.mode),m);return l.iter(m,i,function(P){ta(t,P.text,R);var V=R.line;P.stateAfter=V==i-1||V%5==0||V>=u.viewFrom&&Vi.start)return m}throw new Error("Mode "+t.name+" failed to advance stream.")}Xn.prototype.lookAhead=function(t){var i=this.doc.getLine(this.line+t);return i!=null&&t>this.maxLookAhead&&(this.maxLookAhead=t),i},Xn.prototype.baseToken=function(t){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=t;)this.baseTokenPos+=2;var i=this.baseTokens[this.baseTokenPos+1];return{type:i&&i.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-t}},Xn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Xn.fromSaved=function(t,i,a){return i instanceof zr?new Xn(t,Kn(t.mode,i.state),a,i.lookAhead):new Xn(t,Kn(t.mode,i),a)},Xn.prototype.save=function(t){var i=t!==!1?Kn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new zr(i,this.maxLookAhead):i};var uc=function(t,i,a){this.start=t.start,this.end=t.pos,this.string=t.current(),this.type=i||null,this.state=a};function dc(t,i,a,l){var u,m,D=t.doc,R=D.mode,P=Le(D,(i=Ke(D,i)).line),V=Wi(t,i.line,a),Q=new _t(P.text,t.options.tabSize,V);for(l&&(m=[]);(l||Q.post.options.maxHighlightLength?(R=!1,D&&ta(t,i,l,Y.pos),Y.pos=i.length,P=null):P=fc(na(a,Y,l.state,te),m),te){var ne=te[0].name;ne&&(P="m-"+(P?ne+" "+P:ne))}if(!R||Q!=P){for(;VD;--R){if(R<=m.first)return m.first;var P=Le(m,R-1),V=P.stateAfter;if(V&&(!a||R+(V instanceof zr?V.lookAhead:0)<=m.modeFrontier))return R;var Q=re(P.text,null,t.options.tabSize);(u==null||l>Q)&&(u=R-1,l=Q)}return u}function Ap(t,i){if(t.modeFrontier=Math.min(t.modeFrontier,i),!(t.highlightFrontiera;l--){var u=Le(t,l).stateAfter;if(u&&(!(u instanceof zr)||l+u.lookAhead=i:m.to>i);(l||(l=[])).push(new Hr(D,m.from,R?null:m.to))}}return l}function Ep(t,i,a){var l;if(t)for(var u=0;u=i:m.to>i)||m.from==i&&D.type=="bookmark"&&(!a||m.marker.insertLeft)){var R=m.from==null||(D.inclusiveLeft?m.from<=i:m.from0&&R)for(var we=0;we0)){var Q=[P,1],Y=Ce(V.from,R.from),te=Ce(V.to,R.to);(Y<0||!D.inclusiveLeft&&!Y)&&Q.push({from:V.from,to:R.from}),(te>0||!D.inclusiveRight&&!te)&&Q.push({from:R.to,to:V.to}),u.splice.apply(u,Q),P+=Q.length-3}}return u}function gc(t){var i=t.markedSpans;if(i){for(var a=0;ai)&&(!a||ia(a,m.marker)<0)&&(a=m.marker)}return a}function xc(t,i,a,l,u){var m=Le(t,i),D=ro&&m.markedSpans;if(D)for(var R=0;R=0&&Y<=0||Q<=0&&Y>=0)&&(Q<=0&&(P.marker.inclusiveRight&&u.inclusiveLeft?Ce(V.to,a)>=0:Ce(V.to,a)>0)||Q>=0&&(P.marker.inclusiveRight&&u.inclusiveLeft?Ce(V.from,l)<=0:Ce(V.from,l)<0)))return!0}}}function jn(t){for(var i;i=yc(t);)t=i.find(-1,!0).line;return t}function Dp(t){for(var i;i=Qr(t);)t=i.find(1,!0).line;return t}function Np(t){for(var i,a;i=Qr(t);)t=i.find(1,!0).line,(a||(a=[])).push(t);return a}function ra(t,i){var a=Le(t,i),l=jn(a);return a==l?i:z(l)}function Ac(t,i){if(i>t.lastLine())return i;var a,l=Le(t,i);if(!wo(t,l))return i;for(;a=Qr(l);)l=a.find(1,!0).line;return z(l)+1}function wo(t,i){var a=ro&&i.markedSpans;if(a){for(var l=void 0,u=0;ui.maxLineLength&&(i.maxLineLength=u,i.maxLine=l)})}var si=function(t,i,a){this.text=t,vc(this,i),this.height=a?a(this):1};function Rp(t,i,a,l){t.text=i,t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null),t.order!=null&&(t.order=null),gc(t),vc(t,a);var u=l?l(t):1;u!=t.height&&An(t,u)}function Ip(t){t.parent=null,gc(t)}si.prototype.lineNo=function(){return z(this)},dn(si);var Op={},Fp={};function wc(t,i){if(!t||/^\s*$/.test(t))return null;var a=i.addModeClass?Fp:Op;return a[t]||(a[t]=t.replace(/\S+/g,"cm-$&"))}function Cc(t,i){var a=H("span",null,null,h?"padding-right: .1px":null),l={pre:H("pre",[a],"CodeMirror-line"),content:a,col:0,pos:0,cm:t,trailingSpace:!1,splitSpaces:t.getOption("lineWrapping")};i.measure={};for(var u=0;u<=(i.rest?i.rest.length:0);u++){var m=u?i.rest[u-1]:i.line,D=void 0;l.pos=0,l.addToken=Bp,Zl(t.display.measure)&&(D=he(m,t.doc.direction))&&(l.addToken=jp(l.addToken,D)),l.map=[],Vp(m,l,sc(t,m,i!=t.display.externalMeasured&&z(m))),m.styleClasses&&(m.styleClasses.bgClass&&(l.bgClass=$(m.styleClasses.bgClass,l.bgClass||"")),m.styleClasses.textClass&&(l.textClass=$(m.styleClasses.textClass,l.textClass||""))),l.map.length==0&&l.map.push(0,0,l.content.appendChild(Pr(t.display.measure))),u==0?(i.measure.map=l.map,i.measure.cache={}):((i.measure.maps||(i.measure.maps=[])).push(l.map),(i.measure.caches||(i.measure.caches=[])).push({}))}if(h){var R=l.content.lastChild;(/\bcm-tab\b/.test(R.className)||R.querySelector&&R.querySelector(".cm-tab"))&&(l.content.className="cm-tab-wrap-hack")}return rt(t,"renderLine",t,i.line,l.pre),l.pre.className&&(l.textClass=$(l.pre.className,l.textClass||"")),l}function Lp(t){var i=B("span","\u2022","cm-invalidchar");return i.title="\\u"+t.charCodeAt(0).toString(16),i.setAttribute("aria-label",i.title),i}function Bp(t,i,a,l,u,m,D){if(i){var R,P=t.splitSpaces?Pp(i,t.trailingSpace):i,V=t.cm.state.specialChars,Q=!1;if(V.test(i)){R=document.createDocumentFragment();for(var Y=0;;){V.lastIndex=Y;var te=V.exec(i),ne=te?te.index-Y:i.length-Y;if(ne){var se=document.createTextNode(P.slice(Y,Y+ne));c&&f<9?R.appendChild(B("span",[se])):R.appendChild(se),t.map.push(t.pos,t.pos+ne,se),t.col+=ne,t.pos+=ne}if(!te)break;Y+=ne+1;var fe=void 0;if(te[0]==" "){var xe=t.cm.options.tabSize,Se=xe-t.col%xe;(fe=R.appendChild(B("span",xt(Se),"cm-tab"))).setAttribute("role","presentation"),fe.setAttribute("cm-text"," "),t.col+=Se}else te[0]=="\r"||te[0]==` `?((fe=R.appendChild(B("span",te[0]=="\r"?"\u240D":"\u2424","cm-invalidchar"))).setAttribute("cm-text",te[0]),t.col+=1):((fe=t.cm.options.specialCharPlaceholder(te[0])).setAttribute("cm-text",te[0]),c&&f<9?R.appendChild(B("span",[fe])):R.appendChild(fe),t.col+=1);t.map.push(t.pos,t.pos+1,fe),t.pos++}}else t.col+=i.length,R=document.createTextNode(P),t.map.push(t.pos,t.pos+i.length,R),c&&f<9&&(Q=!0),t.pos+=i.length;if(t.trailingSpace=P.charCodeAt(i.length-1)==32,a||l||u||Q||m||D){var Te=a||"";l&&(Te+=l),u&&(Te+=u);var we=B("span",[R],Te,m);if(D)for(var Oe in D)D.hasOwnProperty(Oe)&&Oe!="style"&&Oe!="class"&&we.setAttribute(Oe,D[Oe]);return t.content.appendChild(we)}t.content.appendChild(R)}}function Pp(t,i){if(t.length>1&&!/ /.test(t))return t;for(var a=i,l="",u=0;uV&&Y.from<=V);te++);if(Y.to>=Q)return t(a,l,u,m,D,R,P);t(a,l.slice(0,Y.to-V),u,m,null,R,P),m=null,l=l.slice(Y.to-V),V=Y.to}}}function _c(t,i,a,l){var u=!l&&a.widgetNode;u&&t.map.push(t.pos,t.pos+i,u),!l&&t.cm.display.input.needsContentAttribute&&(u||(u=t.content.appendChild(document.createElement("span"))),u.setAttribute("cm-marker",a.id)),u&&(t.cm.display.input.setUneditable(u),t.content.appendChild(u)),t.pos+=i,t.trailingSpace=!1}function Vp(t,i,a){var l=t.markedSpans,u=t.text,m=0;if(l)for(var D,R,P,V,Q,Y,te,ne=u.length,se=0,fe=1,xe="",Se=0;;){if(Se==se){P=V=Q=R="",te=null,Y=null,Se=1/0;for(var Te=[],we=void 0,Oe=0;Oese||je.collapsed&&Ne.to==se&&Ne.from==se)){if(Ne.to!=null&&Ne.to!=se&&Se>Ne.to&&(Se=Ne.to,V=""),je.className&&(P+=" "+je.className),je.css&&(R=(R?R+";":"")+je.css),je.startStyle&&Ne.from==se&&(Q+=" "+je.startStyle),je.endStyle&&Ne.to==Se&&(we||(we=[])).push(je.endStyle,Ne.to),je.title&&((te||(te={})).title=je.title),je.attributes)for(var vt in je.attributes)(te||(te={}))[vt]=je.attributes[vt];je.collapsed&&(!Y||ia(Y.marker,je)<0)&&(Y=Ne)}else Ne.from>se&&Se>Ne.from&&(Se=Ne.from)}if(we)for(var mt=0;mt=ne)break;for(var At=Math.min(ne,Se);;){if(xe){var Dn=se+xe.length;if(!Y){var hn=Dn>At?xe.slice(0,At-se):xe;i.addToken(i,hn,D?D+P:P,Q,se+hn.length==Se?V:"",R,te)}if(Dn>=At){xe=xe.slice(At-se),se=At;break}se=Dn,Q=""}xe=u.slice(m,m=a[fe++]),D=wc(a[fe++],i.cm.options)}}else for(var kt=1;kt2&&m.push((P.bottom+V.top)/2-a.top)}}m.push(a.bottom-a.top)}}function Rc(t,i,a){if(t.line==i)return{map:t.measure.map,cache:t.measure.cache};if(t.rest){for(var l=0;la)return{map:t.measure.maps[u],cache:t.measure.caches[u],before:!0}}}function $p(t,i){var a=z(i=jn(i)),l=t.display.externalMeasured=new kc(t.doc,i,a);l.lineN=a;var u=l.built=Cc(t,l);return l.text=u.pre,O(t.display.lineMeasure,u.pre),l}function Ic(t,i,a,l){return Jn(t,ui(t,i),a,l)}function da(t,i){if(i>=t.display.viewFrom&&i=a.lineN&&ii)&&(u=(m=P-R)-1,i>=P&&(D="right")),u!=null){if(l=t[V+2],R==P&&a==(l.insertLeft?"left":"right")&&(D=a),a=="left"&&u==0)for(;V&&t[V-2]==t[V-3]&&t[V-1].insertLeft;)l=t[2+(V-=3)],D="left";if(a=="right"&&u==P-R)for(;V=0&&(a=t[u]).left==a.right;u--);return a}function Zp(t,i,a,l){var u,m=Fc(i.map,a,l),D=m.node,R=m.start,P=m.end,V=m.collapse;if(D.nodeType==3){for(var Q=0;Q<4;Q++){for(;R&&Ut(i.line.text.charAt(m.coverStart+R));)--R;for(;m.coverStart+P0&&(V=l="right"),u=t.options.lineWrapping&&(Y=D.getClientRects()).length>1?Y[l=="right"?Y.length-1:0]:D.getBoundingClientRect()}if(c&&f<9&&!R&&(!u||!u.left&&!u.right)){var te=D.parentNode.getClientRects()[0];u=te?{left:te.left,right:te.left+fi(t.display),top:te.top,bottom:te.bottom}:Oc}for(var ne=u.top-i.rect.top,se=u.bottom-i.rect.top,fe=(ne+se)/2,xe=i.view.measure.heights,Se=0;Se=l.text.length?(P=l.text.length,V="before"):P<=0&&(P=0,V="after"),!R)return D(V=="before"?P-1:P,V=="before");function Q(se,fe,xe){return D(xe?se-1:se,R[fe].level==1!=xe)}var Y=ke(R,P,V),te=Me,ne=Q(P,Y,V=="before");return te!=null&&(ne.other=Q(P,te,V!="before")),ne}function zc(t,i){var a=0;i=Ke(t.doc,i),t.options.lineWrapping||(a=fi(t.display)*i.ch);var l=Le(t.doc,i.line),u=lo(l)+qr(t.display);return{left:a,right:a,top:u,bottom:u+l.height}}function pa(t,i,a,l,u){var m=le(t,i,a);return m.xRel=u,l&&(m.outside=l),m}function ha(t,i,a){var l=t.doc;if((a+=t.display.viewOffset)<0)return pa(l.first,0,null,-1,-1);var u=G(l,a),m=l.first+l.size-1;if(u>m)return pa(l.first+l.size-1,Le(l,m).text.length,null,1,1);i<0&&(i=0);for(var D=Le(l,u);;){var R=th(t,D,u,i,a),P=Tp(D,R.ch+(R.xRel>0||R.outside>0?1:0));if(!P)return R;var V=P.find(1);if(V.line==u)return V;D=Le(l,u=V.line)}}function Hc(t,i,a,l){l-=fa(i);var u=i.text.length,m=Ft(function(D){return Jn(t,a,D-1).bottom<=l},u,0);return{begin:m,end:u=Ft(function(D){return Jn(t,a,D).top>l},m,u)}}function Uc(t,i,a,l){return a||(a=ui(t,i)),Hc(t,i,a,Kr(t,i,Jn(t,a,l),"line").top)}function ma(t,i,a,l){return!(t.bottom<=a)&&(t.top>a||(l?t.left:t.right)>i)}function th(t,i,a,l,u){u-=lo(i);var m=ui(t,i),D=fa(i),R=0,P=i.text.length,V=!0,Q=he(i,t.doc.direction);if(Q){var Y=(t.options.lineWrapping?oh:nh)(t,i,a,m,Q,l,u);R=(V=Y.level!=1)?Y.from:Y.to-1,P=V?Y.to:Y.from-1}var te,ne,se=null,fe=null,xe=Ft(function(Ne){var je=Jn(t,m,Ne);return je.top+=D,je.bottom+=D,!!ma(je,l,u,!1)&&(je.top<=u&&je.left<=l&&(se=Ne,fe=je),!0)},R,P),Se=!1;if(fe){var Te=l-fe.left=Oe.bottom?1:0}return pa(a,xe=ut(i.text,xe,1),ne,Se,l-te)}function nh(t,i,a,l,u,m,D){var R=Ft(function(Y){var te=u[Y],ne=te.level!=1;return ma(Vn(t,le(a,ne?te.to:te.from,ne?"before":"after"),"line",i,l),m,D,!0)},0,u.length-1),P=u[R];if(R>0){var V=P.level!=1,Q=Vn(t,le(a,V?P.from:P.to,V?"after":"before"),"line",i,l);ma(Q,m,D,!0)&&Q.top>D&&(P=u[R-1])}return P}function oh(t,i,a,l,u,m,D){var R=Hc(t,i,l,D),P=R.begin,V=R.end;/\s/.test(i.text.charAt(V-1))&&V--;for(var Q=null,Y=null,te=0;te=V||ne.to<=P)){var se=Jn(t,l,ne.level!=1?Math.min(V,ne.to)-1:Math.max(P,ne.from)).right,fe=sefe)&&(Q=ne,Y=fe)}}return Q||(Q=u[u.length-1]),Q.fromV&&(Q={from:Q.from,to:V,level:Q.level}),Q}function di(t){if(t.cachedTextHeight!=null)return t.cachedTextHeight;if(Po==null){Po=B("pre",null,"CodeMirror-line-like");for(var i=0;i<49;++i)Po.appendChild(document.createTextNode("x")),Po.appendChild(B("br"));Po.appendChild(document.createTextNode("x"))}O(t.measure,Po);var a=Po.offsetHeight/50;return a>3&&(t.cachedTextHeight=a),A(t.measure),a||1}function fi(t){if(t.cachedCharWidth!=null)return t.cachedCharWidth;var i=B("span","xxxxxxxxxx"),a=B("pre",[i],"CodeMirror-line-like");O(t.measure,a);var l=i.getBoundingClientRect(),u=(l.right-l.left)/10;return u>2&&(t.cachedCharWidth=u),u||10}function ga(t){for(var i=t.display,a={},l={},u=i.gutters.clientLeft,m=i.gutters.firstChild,D=0;m;m=m.nextSibling,++D){var R=t.display.gutterSpecs[D].className;a[R]=m.offsetLeft+m.clientLeft+u,l[R]=m.clientWidth}return{fixedPos:va(i),gutterTotalWidth:i.gutters.offsetWidth,gutterLeft:a,gutterWidth:l,wrapperWidth:i.wrapper.clientWidth}}function va(t){return t.scroller.getBoundingClientRect().left-t.sizer.getBoundingClientRect().left}function Wc(t){var i=di(t.display),a=t.options.lineWrapping,l=a&&Math.max(5,t.display.scroller.clientWidth/fi(t.display)-3);return function(u){if(wo(t.doc,u))return 0;var m=0;if(u.widgets)for(var D=0;D0&&(P=Le(t.doc,V.line).text).length==V.ch){var Q=re(P,P.length,t.options.tabSize)-P.length;V=le(V.line,Math.max(0,Math.round((m-Nc(t.display).left)/fi(t.display))-Q))}return V}function Vo(t,i){if(i>=t.display.viewTo||(i-=t.display.viewFrom)<0)return null;for(var a=t.display.view,l=0;li)&&(u.updateLineNumbers=i),t.curOp.viewChanged=!0,i>=u.viewTo)ro&&ra(t.doc,i)u.viewFrom?_o(t):(u.viewFrom+=l,u.viewTo+=l);else if(i<=u.viewFrom&&a>=u.viewTo)_o(t);else if(i<=u.viewFrom){var m=$r(t,a,a+l,1);m?(u.view=u.view.slice(m.index),u.viewFrom=m.lineN,u.viewTo+=l):_o(t)}else if(a>=u.viewTo){var D=$r(t,i,i,-1);D?(u.view=u.view.slice(0,D.index),u.viewTo=D.lineN):_o(t)}else{var R=$r(t,i,i,-1),P=$r(t,a,a+l,1);R&&P?(u.view=u.view.slice(0,R.index).concat(Gr(t,R.lineN,P.lineN)).concat(u.view.slice(P.index)),u.viewTo+=l):_o(t)}var V=u.externalMeasured;V&&(a=u.lineN&&i=l.viewTo)){var m=l.view[Vo(t,i)];if(m.node!=null){var D=m.changes||(m.changes=[]);De(D,a)==-1&&D.push(a)}}}function _o(t){t.display.viewFrom=t.display.viewTo=t.doc.first,t.display.view=[],t.display.viewOffset=0}function $r(t,i,a,l){var u,m=Vo(t,i),D=t.display.view;if(!ro||a==t.doc.first+t.doc.size)return{index:m,lineN:a};for(var R=t.display.viewFrom,P=0;P0){if(m==D.length-1)return null;u=R+D[m].size-i,m++}else u=R-i;i+=u,a+=u}for(;ra(t.doc,a)!=a;){if(m==(l<0?0:D.length-1))return null;a+=l*D[m-(l<0?1:0)].size,m+=l}return{index:m,lineN:a}}function ih(t,i,a){var l=t.display;l.view.length==0||i>=l.viewTo||a<=l.viewFrom?(l.view=Gr(t,i,a),l.viewFrom=i):(l.viewFrom>i?l.view=Gr(t,i,l.viewFrom).concat(l.view):l.viewFroma&&(l.view=l.view.slice(0,Vo(t,a)))),l.viewTo=a}function Qc(t){for(var i=t.display.view,a=0,l=0;l=t.display.viewTo||P.to().line0?D:t.defaultCharWidth())+"px"}if(l.other){var R=a.appendChild(B("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));R.style.display="",R.style.left=l.other.left+"px",R.style.top=l.other.top+"px",R.style.height=.85*(l.other.bottom-l.other.top)+"px"}}function Jr(t,i){return t.top-i.top||t.left-i.left}function rh(t,i,a){var l=t.display,u=t.doc,m=document.createDocumentFragment(),D=Nc(t.display),R=D.left,P=Math.max(l.sizerWidth,Bo(t)-l.sizer.offsetLeft)-D.right,V=u.direction=="ltr";function Q(we,Oe,Ne,je){Oe<0&&(Oe=0),Oe=Math.round(Oe),je=Math.round(je),m.appendChild(B("div",null,"CodeMirror-selected","position: absolute; left: "+we+`px; top: `+Oe+"px; width: "+(Ne??P-we)+`px; height: `+(je-Oe)+"px"))}function Y(we,Oe,Ne){var je,vt,mt=Le(u,we),pn=mt.text.length;function At(kt,ln){return Xr(t,le(we,kt),"div",mt,ln)}function Dn(kt,ln,$t){var Dt=Uc(t,mt,null,kt),Mt=ln=="ltr"==($t=="after")?"left":"right";return At($t=="after"?Dt.begin:Dt.end-(/\s/.test(mt.text.charAt(Dt.end-1))?2:1),Mt)[Mt]}var hn=he(mt,u.direction);return xn(hn,Oe||0,Ne??pn,function(kt,ln,$t,Dt){var Mt=$t=="ltr",Nt=At(kt,Mt?"left":"right"),an=At(ln-1,Mt?"right":"left"),Do=Oe==null&&kt==0,Un=Ne==null&&ln==pn,Gt=Dt==0,Rt=!hn||Dt==hn.length-1;if(an.top-Nt.top<=3){var Qa=(V?Un:Do)&&Rt,uo=(V?Do:Un)&&Gt?R:(Mt?Nt:an).left,Qo=Qa?P:(Mt?an:Nt).right;Q(uo,Nt.top,Qo-uo,Nt.bottom)}else{var Yo,Jt,ki,Ya;Mt?(Yo=V&&Do&&Gt?R:Nt.left,Jt=V?P:Dn(kt,$t,"before"),ki=V?R:Dn(ln,$t,"after"),Ya=V&&Un&&Rt?P:an.right):(Yo=V?Dn(kt,$t,"before"):R,Jt=!V&&Do&&Gt?P:Nt.right,ki=!V&&Un&&Rt?R:an.left,Ya=V?Dn(ln,$t,"after"):P),Q(Yo,Nt.top,Jt-Yo,Nt.bottom),Nt.bottom0?i.blinker=setInterval(function(){t.hasFocus()||pi(t),i.cursorDiv.style.visibility=(a=!a)?"":"hidden"},t.options.cursorBlinkRate):t.options.cursorBlinkRate<0&&(i.cursorDiv.style.visibility="hidden")}}function Gc(t){t.hasFocus()||(t.display.input.focus(),t.state.focused||wa(t))}function Aa(t){t.state.delayingBlurEvent=!0,setTimeout(function(){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1,t.state.focused&&pi(t))},100)}function wa(t,i){t.state.delayingBlurEvent&&!t.state.draggingText&&(t.state.delayingBlurEvent=!1),t.options.readOnly!="nocursor"&&(t.state.focused||(rt(t,"focus",t,i),t.state.focused=!0,K(t.display.wrapper,"CodeMirror-focused"),!t.curOp&&t.display.selForContextMenu!=t.doc.sel&&(t.display.input.reset(),h&&setTimeout(function(){return t.display.input.reset(!0)},20)),t.display.input.receivedFocus()),xa(t))}function pi(t,i){t.state.delayingBlurEvent||(t.state.focused&&(rt(t,"blur",t,i),t.state.focused=!1,j(t.display.wrapper,"CodeMirror-focused")),clearInterval(t.display.blinker),setTimeout(function(){t.state.focused||(t.display.shift=!1)},150))}function Zr(t){for(var i=t.display,a=i.lineDiv.offsetTop,l=Math.max(0,i.scroller.getBoundingClientRect().top),u=i.lineDiv.getBoundingClientRect().top,m=0,D=0;D.005||ne<-.005)&&(ut.display.sizerWidth){var fe=Math.ceil(Q/fi(t.display));fe>t.display.maxLineLength&&(t.display.maxLineLength=fe,t.display.maxLine=R.line,t.display.maxLineChanged=!0)}}}Math.abs(m)>2&&(i.scroller.scrollTop+=m)}function qc(t){if(t.widgets)for(var i=0;i=D&&(m=G(i,lo(Le(i,P))-t.wrapper.clientHeight),D=P)}return{from:m,to:Math.max(D,m+1)}}function lh(t,i){if(!dt(t,"scrollCursorIntoView")){var a=t.display,l=a.sizer.getBoundingClientRect(),u=null,m=a.wrapper.ownerDocument;if(i.top+l.top<0?u=!0:i.bottom+l.top>(m.defaultView.innerHeight||m.documentElement.clientHeight)&&(u=!1),u!=null&&!b){var D=B("div","\u200B",null,`position: absolute; top: `+(i.top-a.viewOffset-qr(t.display))+`px; height: `+(i.bottom-i.top+$n(t)+a.barHeight)+`px; left: `+i.left+"px; width: "+Math.max(2,i.right-i.left)+"px;");t.display.lineSpace.appendChild(D),D.scrollIntoView(u),t.display.lineSpace.removeChild(D)}}}function ah(t,i,a,l){var u;l==null&&(l=0),!t.options.lineWrapping&&i==a&&(a=i.sticky=="before"?le(i.line,i.ch+1,"before"):i,i=i.ch?le(i.line,i.sticky=="before"?i.ch-1:i.ch,"after"):i);for(var m=0;m<5;m++){var D=!1,R=Vn(t,i),P=a&&a!=i?Vn(t,a):R,V=Ca(t,u={left:Math.min(R.left,P.left),top:Math.min(R.top,P.top)-l,right:Math.max(R.left,P.left),bottom:Math.max(R.bottom,P.bottom)+l}),Q=t.doc.scrollTop,Y=t.doc.scrollLeft;if(V.scrollTop!=null&&(Ji(t,V.scrollTop),Math.abs(t.doc.scrollTop-Q)>1&&(D=!0)),V.scrollLeft!=null&&(zo(t,V.scrollLeft),Math.abs(t.doc.scrollLeft-Y)>1&&(D=!0)),!D)break}return u}function sh(t,i){var a=Ca(t,i);a.scrollTop!=null&&Ji(t,a.scrollTop),a.scrollLeft!=null&&zo(t,a.scrollLeft)}function Ca(t,i){var a=t.display,l=di(t.display);i.top<0&&(i.top=0);var u=t.curOp&&t.curOp.scrollTop!=null?t.curOp.scrollTop:a.scroller.scrollTop,m=ua(t),D={};i.bottom-i.top>m&&(i.bottom=i.top+m);var R=t.doc.height+ca(a),P=i.topR-l;if(i.topu+m){var Q=Math.min(i.top,(V?R:i.bottom)-m);Q!=u&&(D.scrollTop=Q)}var Y=t.options.fixedGutter?0:a.gutters.offsetWidth,te=t.curOp&&t.curOp.scrollLeft!=null?t.curOp.scrollLeft:a.scroller.scrollLeft-Y,ne=Bo(t)-a.gutters.offsetWidth,se=i.right-i.left>ne;return se&&(i.right=i.left+ne),i.left<10?D.scrollLeft=0:i.leftne+te-3&&(D.scrollLeft=i.right+(se?0:10)-ne),D}function _a(t,i){i!=null&&(tl(t),t.curOp.scrollTop=(t.curOp.scrollTop==null?t.doc.scrollTop:t.curOp.scrollTop)+i)}function hi(t){tl(t);var i=t.getCursor();t.curOp.scrollToPos={from:i,to:i,margin:t.options.cursorScrollMargin}}function $i(t,i,a){(i!=null||a!=null)&&tl(t),i!=null&&(t.curOp.scrollLeft=i),a!=null&&(t.curOp.scrollTop=a)}function ch(t,i){tl(t),t.curOp.scrollToPos=i}function tl(t){var i=t.curOp.scrollToPos;i&&(t.curOp.scrollToPos=null,Kc(t,zc(t,i.from),zc(t,i.to),i.margin))}function Kc(t,i,a,l){var u=Ca(t,{left:Math.min(i.left,a.left),top:Math.min(i.top,a.top)-l,right:Math.max(i.right,a.right),bottom:Math.max(i.bottom,a.bottom)+l});$i(t,u.scrollLeft,u.scrollTop)}function Ji(t,i){Math.abs(t.doc.scrollTop-i)<2||(n||Sa(t,{top:i}),Xc(t,i,!0),n&&Sa(t),tr(t,100))}function Xc(t,i,a){i=Math.max(0,Math.min(t.display.scroller.scrollHeight-t.display.scroller.clientHeight,i)),(t.display.scroller.scrollTop!=i||a)&&(t.doc.scrollTop=i,t.display.scrollbars.setScrollTop(i),t.display.scroller.scrollTop!=i&&(t.display.scroller.scrollTop=i))}function zo(t,i,a,l){i=Math.max(0,Math.min(i,t.display.scroller.scrollWidth-t.display.scroller.clientWidth)),(!(a?i==t.doc.scrollLeft:Math.abs(t.doc.scrollLeft-i)<2)||l)&&(t.doc.scrollLeft=i,tu(t),t.display.scroller.scrollLeft!=i&&(t.display.scroller.scrollLeft=i),t.display.scrollbars.setScrollLeft(i))}function Zi(t){var i=t.display,a=i.gutters.offsetWidth,l=Math.round(t.doc.height+ca(t.display));return{clientHeight:i.scroller.clientHeight,viewHeight:i.wrapper.clientHeight,scrollWidth:i.scroller.scrollWidth,clientWidth:i.scroller.clientWidth,viewWidth:i.wrapper.clientWidth,barLeft:t.options.fixedGutter?a:0,docHeight:l,scrollHeight:l+$n(t)+i.barHeight,nativeBarWidth:i.nativeBarWidth,gutterWidth:a}}var Ho=function(t,i,a){this.cm=a;var l=this.vert=B("div",[B("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),u=this.horiz=B("div",[B("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");l.tabIndex=u.tabIndex=-1,t(l),t(u),ve(l,"scroll",function(){l.clientHeight&&i(l.scrollTop,"vertical")}),ve(u,"scroll",function(){u.clientWidth&&i(u.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,c&&f<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ho.prototype.update=function(t){var i=t.scrollWidth>t.clientWidth+1,a=t.scrollHeight>t.clientHeight+1,l=t.nativeBarWidth;if(a){this.vert.style.display="block",this.vert.style.bottom=i?l+"px":"0";var u=t.viewHeight-(i?l:0);this.vert.firstChild.style.height=Math.max(0,t.scrollHeight-t.clientHeight+u)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(i){this.horiz.style.display="block",this.horiz.style.right=a?l+"px":"0",this.horiz.style.left=t.barLeft+"px";var m=t.viewWidth-t.barLeft-(a?l:0);this.horiz.firstChild.style.width=Math.max(0,t.scrollWidth-t.clientWidth+m)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&t.clientHeight>0&&(l==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:a?l:0,bottom:i?l:0}},Ho.prototype.setScrollLeft=function(t){this.horiz.scrollLeft!=t&&(this.horiz.scrollLeft=t),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ho.prototype.setScrollTop=function(t){this.vert.scrollTop!=t&&(this.vert.scrollTop=t),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ho.prototype.zeroWidthHack=function(){var t=k&&!C?"12px":"18px";this.horiz.style.height=this.vert.style.width=t,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new pe,this.disableVert=new pe},Ho.prototype.enableZeroWidthBar=function(t,i,a){function l(){var u=t.getBoundingClientRect();(a=="vert"?document.elementFromPoint(u.right-1,(u.top+u.bottom)/2):document.elementFromPoint((u.right+u.left)/2,u.bottom-1))!=t?t.style.visibility="hidden":i.set(1e3,l)}t.style.visibility="",i.set(1e3,l)},Ho.prototype.clear=function(){var t=this.horiz.parentNode;t.removeChild(this.horiz),t.removeChild(this.vert)};var er=function(){};function mi(t,i){i||(i=Zi(t));var a=t.display.barWidth,l=t.display.barHeight;$c(t,i);for(var u=0;u<4&&a!=t.display.barWidth||l!=t.display.barHeight;u++)a!=t.display.barWidth&&t.options.lineWrapping&&Zr(t),$c(t,Zi(t)),a=t.display.barWidth,l=t.display.barHeight}function $c(t,i){var a=t.display,l=a.scrollbars.update(i);a.sizer.style.paddingRight=(a.barWidth=l.right)+"px",a.sizer.style.paddingBottom=(a.barHeight=l.bottom)+"px",a.heightForcer.style.borderBottom=l.bottom+"px solid transparent",l.right&&l.bottom?(a.scrollbarFiller.style.display="block",a.scrollbarFiller.style.height=l.bottom+"px",a.scrollbarFiller.style.width=l.right+"px"):a.scrollbarFiller.style.display="",l.bottom&&t.options.coverGutterNextToScrollbar&&t.options.fixedGutter?(a.gutterFiller.style.display="block",a.gutterFiller.style.height=l.bottom+"px",a.gutterFiller.style.width=i.gutterWidth+"px"):a.gutterFiller.style.display=""}er.prototype.update=function(){return{bottom:0,right:0}},er.prototype.setScrollLeft=function(){},er.prototype.setScrollTop=function(){},er.prototype.clear=function(){};var Jc={native:Ho,null:er};function Zc(t){t.display.scrollbars&&(t.display.scrollbars.clear(),t.display.scrollbars.addClass&&j(t.display.wrapper,t.display.scrollbars.addClass)),t.display.scrollbars=new Jc[t.options.scrollbarStyle](function(i){t.display.wrapper.insertBefore(i,t.display.scrollbarFiller),ve(i,"mousedown",function(){t.state.focused&&setTimeout(function(){return t.display.input.focus()},0)}),i.setAttribute("cm-not-content","true")},function(i,a){a=="horizontal"?zo(t,i):Ji(t,i)},t),t.display.scrollbars.addClass&&K(t.display.wrapper,t.display.scrollbars.addClass)}var uh=0;function Uo(t){t.curOp={cm:t,viewChanged:!1,startHeight:t.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++uh,markArrays:null},zp(t.curOp)}function Wo(t){var i=t.curOp;i&&Up(i,function(a){for(var l=0;l=a.viewTo)||a.maxLineChanged&&i.options.lineWrapping,t.update=t.mustUpdate&&new nl(i,t.mustUpdate&&{top:t.scrollTop,ensure:t.scrollToPos},t.forceUpdate)}function ph(t){t.updatedDisplay=t.mustUpdate&&ka(t.cm,t.update)}function hh(t){var i=t.cm,a=i.display;t.updatedDisplay&&Zr(i),t.barMeasure=Zi(i),a.maxLineChanged&&!i.options.lineWrapping&&(t.adjustWidthTo=Ic(i,a.maxLine,a.maxLine.text.length).left+3,i.display.sizerWidth=t.adjustWidthTo,t.barMeasure.scrollWidth=Math.max(a.scroller.clientWidth,a.sizer.offsetLeft+t.adjustWidthTo+$n(i)+i.display.barWidth),t.maxScrollLeft=Math.max(0,a.sizer.offsetLeft+t.adjustWidthTo-Bo(i))),(t.updatedDisplay||t.selectionChanged)&&(t.preparedSelection=a.input.prepareSelection())}function mh(t){var i=t.cm;t.adjustWidthTo!=null&&(i.display.sizer.style.minWidth=t.adjustWidthTo+"px",t.maxScrollLeft=t.display.viewTo)){var a=+new Date+t.options.workTime,l=Wi(t,i.highlightFrontier),u=[];i.iter(l.line,Math.min(i.first+i.size,t.display.viewTo+500),function(m){if(l.line>=t.display.viewFrom){var D=m.styles,R=m.text.length>t.options.maxHighlightLength?Kn(i.mode,l.state):null,P=ac(t,m,l,!0);R&&(l.state=R),m.styles=P.styles;var V=m.styleClasses,Q=P.classes;Q?m.styleClasses=Q:V&&(m.styleClasses=null);for(var Y=!D||D.length!=m.styles.length||V!=Q&&(!V||!Q||V.bgClass!=Q.bgClass||V.textClass!=Q.textClass),te=0;!Y&&tea)return tr(t,t.options.workDelay),!0}),i.highlightFrontier=l.line,i.modeFrontier=Math.max(i.modeFrontier,l.line),u.length&&fn(t,function(){for(var m=0;m=a.viewFrom&&i.visible.to<=a.viewTo&&(a.updateLineNumbers==null||a.updateLineNumbers>=a.viewTo)&&a.renderedView==a.view&&Qc(t)==0)return!1;nu(t)&&(_o(t),i.dims=ga(t));var u=l.first+l.size,m=Math.max(i.visible.from-t.options.viewportMargin,l.first),D=Math.min(u,i.visible.to+t.options.viewportMargin);a.viewFromD&&a.viewTo-D<20&&(D=Math.min(u,a.viewTo)),ro&&(m=ra(t.doc,m),D=Ac(t.doc,D));var R=m!=a.viewFrom||D!=a.viewTo||a.lastWrapHeight!=i.wrapperHeight||a.lastWrapWidth!=i.wrapperWidth;ih(t,m,D),a.viewOffset=lo(Le(t.doc,a.viewFrom)),t.display.mover.style.top=a.viewOffset+"px";var P=Qc(t);if(!R&&P==0&&!i.force&&a.renderedView==a.view&&(a.updateLineNumbers==null||a.updateLineNumbers>=a.viewTo))return!1;var V=yh(t);return P>4&&(a.lineDiv.style.display="none"),Ah(t,a.updateLineNumbers,i.dims),P>4&&(a.lineDiv.style.display=""),a.renderedView=a.view,xh(V),A(a.cursorDiv),A(a.selectionDiv),a.gutters.style.height=a.sizer.style.minHeight=0,R&&(a.lastWrapHeight=i.wrapperHeight,a.lastWrapWidth=i.wrapperWidth,tr(t,400)),a.updateLineNumbers=null,!0}function eu(t,i){for(var a=i.viewport,l=!0;;l=!1){if(l&&t.options.lineWrapping&&i.oldDisplayWidth!=Bo(t))l&&(i.visible=el(t.display,t.doc,a));else if(a&&a.top!=null&&(a={top:Math.min(t.doc.height+ca(t.display)-ua(t),a.top)}),i.visible=el(t.display,t.doc,a),i.visible.from>=t.display.viewFrom&&i.visible.to<=t.display.viewTo)break;if(!ka(t,i))break;Zr(t);var u=Zi(t);Xi(t),mi(t,u),Ma(t,u),i.force=!1}i.signal(t,"update",t),(t.display.viewFrom!=t.display.reportedViewFrom||t.display.viewTo!=t.display.reportedViewTo)&&(i.signal(t,"viewportChange",t,t.display.viewFrom,t.display.viewTo),t.display.reportedViewFrom=t.display.viewFrom,t.display.reportedViewTo=t.display.viewTo)}function Sa(t,i){var a=new nl(t,i);if(ka(t,a)){Zr(t),eu(t,a);var l=Zi(t);Xi(t),mi(t,l),Ma(t,l),a.finish()}}function Ah(t,i,a){var l=t.display,u=t.options.lineNumbers,m=l.lineDiv,D=m.firstChild;function R(se){var fe=se.nextSibling;return h&&k&&t.display.currentWheelTarget==se?se.style.display="none":se.parentNode.removeChild(se),fe}for(var P=l.view,V=l.viewFrom,Q=0;Q-1&&(te=!1),Sc(t,Y,V,a)),te&&(A(Y.lineNumber),Y.lineNumber.appendChild(document.createTextNode(Ee(t.options,V)))),D=Y.node.nextSibling}else{var ne=qp(t,Y,V,a);m.insertBefore(ne,D)}V+=Y.size}for(;D;)D=R(D)}function Ea(t){var i=t.gutters.offsetWidth;t.sizer.style.marginLeft=i+"px",jt(t,"gutterChanged",t)}function Ma(t,i){t.display.sizer.style.minHeight=i.docHeight+"px",t.display.heightForcer.style.top=i.docHeight+"px",t.display.gutters.style.height=i.docHeight+t.display.barHeight+$n(t)+"px"}function tu(t){var i=t.display,a=i.view;if(i.alignWidgets||i.gutters.firstChild&&t.options.fixedGutter){for(var l=va(i)-i.scroller.scrollLeft+t.doc.scrollLeft,u=i.gutters.offsetWidth,m=l+"px",D=0;DR.clientWidth,V=R.scrollHeight>R.clientHeight;if(l&&P||u&&V){if(u&&k&&h){e:for(var Q=i.target,Y=D.view;Q!=R;Q=Q.parentNode)for(var te=0;te=0&&Ce(t,l.to())<=0)return a}return-1};var st=function(t,i){this.anchor=t,this.head=i};function zn(t,i,a){var l=t&&t.options.selectionsMayTouch,u=i[a];i.sort(function(te,ne){return Ce(te.from(),ne.from())}),a=De(i,u);for(var m=1;m0:P>=0){var V=Vr(R.from(),D.from()),Q=nn(R.to(),D.to()),Y=R.empty()?D.from()==D.head:R.from()==R.head;m<=a&&--a,i.splice(--m,2,new st(Y?Q:V,Y?V:Q))}}return new wn(i,a)}function ko(t,i){return new wn([new st(t,i||t)],0)}function So(t){return t.text?le(t.from.line+t.text.length-1,Ve(t.text).length+(t.text.length==1?t.from.ch:0)):t.to}function lu(t,i){if(Ce(t,i.from)<0)return t;if(Ce(t,i.to)<=0)return So(i);var a=t.line+i.text.length-(i.to.line-i.from.line)-1,l=t.ch;return t.line==i.to.line&&(l+=So(i).ch-i.to.ch),le(a,l)}function Da(t,i){for(var a=[],l=0;l1&&t.remove(R.line+1,se-1),t.insert(R.line+1,Se)}jt(t,"change",t,i)}function Eo(t,i,a){function l(u,m,D){if(u.linked)for(var R=0;R1&&!t.done[t.done.length-2].ranges?(t.done.pop(),Ve(t.done)):void 0}function fu(t,i,a,l){var u=t.history;u.undone.length=0;var m,D,R=+new Date;if((u.lastOp==l||u.lastOrigin==i.origin&&i.origin&&(i.origin.charAt(0)=="+"&&u.lastModTime>R-(t.cm?t.cm.options.historyEventDelay:500)||i.origin.charAt(0)=="*"))&&(m=Sh(u,u.lastOp==l)))D=Ve(m.changes),Ce(i.from,i.to)==0&&Ce(i.from,D.to)==0?D.to=So(i):m.changes.push(Ia(t,i));else{var P=Ve(u.done);for((!P||!P.ranges)&&rl(t.sel,u.done),m={changes:[Ia(t,i)],generation:u.generation},u.done.push(m);u.done.length>u.undoDepth;)u.done.shift(),u.done[0].ranges||u.done.shift()}u.done.push(a),u.generation=++u.maxGeneration,u.lastModTime=u.lastSelTime=R,u.lastOp=u.lastSelOp=l,u.lastOrigin=u.lastSelOrigin=i.origin,D||rt(t,"historyAdded")}function Eh(t,i,a,l){var u=i.charAt(0);return u=="*"||u=="+"&&a.ranges.length==l.ranges.length&&a.somethingSelected()==l.somethingSelected()&&new Date-t.history.lastSelTime<=(t.cm?t.cm.options.historyEventDelay:500)}function Mh(t,i,a,l){var u=t.history,m=l&&l.origin;a==u.lastSelOp||m&&u.lastSelOrigin==m&&(u.lastModTime==u.lastSelTime&&u.lastOrigin==m||Eh(t,m,Ve(u.done),i))?u.done[u.done.length-1]=i:rl(i,u.done),u.lastSelTime=+new Date,u.lastSelOrigin=m,u.lastSelOp=a,l&&l.clearRedo!==!1&&du(u.undone)}function rl(t,i){var a=Ve(i);a&&a.ranges&&a.equals(t)||i.push(t)}function pu(t,i,a,l){var u=i["spans_"+t.id],m=0;t.iter(Math.max(t.first,a),Math.min(t.first+t.size,l),function(D){D.markedSpans&&((u||(u=i["spans_"+t.id]={}))[m]=D.markedSpans),++m})}function Th(t){if(!t)return null;for(var i,a=0;a-1&&(Ve(R)[Y]=V[Y],delete V[Y])}}}return l}function Oa(t,i,a,l){if(l){var u=t.anchor;if(a){var m=Ce(i,u)<0;m!=Ce(a,u)<0?(u=i,i=a):m!=Ce(i,a)<0&&(i=a)}return new st(u,i)}return new st(a||i,i)}function ll(t,i,a,l,u){u==null&&(u=t.cm&&(t.cm.display.shift||t.extend)),Yt(t,new wn([Oa(t.sel.primary(),i,a,u)],0),l)}function mu(t,i,a){for(var l=[],u=t.cm&&(t.cm.display.shift||t.extend),m=0;m=i.ch:R.to>i.ch))){if(u&&(rt(P,"beforeCursorEnter"),P.explicitlyCleared)){if(m.markedSpans){--D;continue}break}if(!P.atomic)continue;if(a){var Y=P.find(l<0?1:-1),te=void 0;if((l<0?Q:V)&&(Y=Au(t,Y,-l,Y&&Y.line==i.line?m:null)),Y&&Y.line==i.line&&(te=Ce(Y,a))&&(l<0?te<0:te>0))return vi(t,Y,i,l,u)}var ne=P.find(l<0?-1:1);return(l<0?V:Q)&&(ne=Au(t,ne,l,ne.line==i.line?m:null)),ne?vi(t,ne,i,l,u):null}}return i}function sl(t,i,a,l,u){var m=l||1;return vi(t,i,a,m,u)||!u&&vi(t,i,a,m,!0)||vi(t,i,a,-m,u)||!u&&vi(t,i,a,-m,!0)||(t.cantEdit=!0,le(t.first,0))}function Au(t,i,a,l){return a<0&&i.ch==0?i.line>t.first?Ke(t,le(i.line-1)):null:a>0&&i.ch==(l||Le(t,i.line)).text.length?i.line=0;--u)_u(t,{from:l[u].from,to:l[u].to,text:u?[""]:i.text,origin:i.origin});else _u(t,i)}}function _u(t,i){if(i.text.length!=1||i.text[0]!=""||Ce(i.from,i.to)!=0){var a=Da(t,i);fu(t,i,a,t.cm?t.cm.curOp.id:NaN),ir(t,i,a,oa(t,i));var l=[];Eo(t,function(u,m){!m&&De(l,u.history)==-1&&(Mu(u.history,i),l.push(u.history)),ir(u,i,null,oa(u,i))})}}function cl(t,i,a){var l=t.cm&&t.cm.state.suppressEdits;if(!l||a){for(var u,m=t.history,D=t.sel,R=i=="undo"?m.done:m.undone,P=i=="undo"?m.undone:m.done,V=0;V=0;--ne){var se=te(ne);if(se)return se.v}}}}function ku(t,i){if(i!=0&&(t.first+=i,t.sel=new wn(St(t.sel.ranges,function(u){return new st(le(u.anchor.line+i,u.anchor.ch),le(u.head.line+i,u.head.ch))}),t.sel.primIndex),t.cm)){on(t.cm,t.first,t.first-i,i);for(var a=t.cm.display,l=a.viewFrom;lt.lastLine())){if(i.from.linem&&(i={from:i.from,to:le(m,Le(t,m).text.length),text:[i.text[0]],origin:i.origin}),i.removed=io(t,i.from,i.to),a||(a=Da(t,i)),t.cm?Rh(t.cm,i,l):Ra(t,i,l),al(t,a,Ae),t.cantEdit&&sl(t,le(t.firstLine(),0))&&(t.cantEdit=!1)}}function Rh(t,i,a){var l=t.doc,u=t.display,m=i.from,D=i.to,R=!1,P=m.line;t.options.lineWrapping||(P=z(jn(Le(l,m.line))),l.iter(P,D.line+1,function(ne){if(ne==u.maxLine)return R=!0,!0})),l.sel.contains(i.from,i.to)>-1&&Lt(t),Ra(l,i,a,Wc(t)),t.options.lineWrapping||(l.iter(P,m.line+i.text.length,function(ne){var se=Yr(ne);se>u.maxLineLength&&(u.maxLine=ne,u.maxLineLength=se,u.maxLineChanged=!0,R=!1)}),R&&(t.curOp.updateMaxLine=!0)),Ap(l,m.line),tr(t,400);var V=i.text.length-(D.line-m.line)-1;i.full?on(t):m.line!=D.line||i.text.length!=1||su(t.doc,i)?on(t,m.line,D.line+1,V):Co(t,m.line,"text");var Q=gt(t,"changes"),Y=gt(t,"change");if(Y||Q){var te={from:m,to:D,text:i.text,removed:i.removed,origin:i.origin};Y&&jt(t,"change",t,te),Q&&(t.curOp.changeObjs||(t.curOp.changeObjs=[])).push(te)}t.display.selForContextMenu=null}function yi(t,i,a,l,u){var m;l||(l=a),Ce(l,a)<0&&(a=(m=[l,a])[0],l=m[1]),typeof i=="string"&&(i=t.splitLines(i)),bi(t,{from:a,to:l,text:i,origin:u})}function Su(t,i,a,l){a1||!(this.children[0]instanceof lr))){var R=[];this.collapse(R),this.children=[new lr(R)],this.children[0].parent=this}},collapse:function(t){for(var i=0;i50){for(var D=u.lines.length%25+25,R=D;R10);t.parent.maybeSpill()}},iterN:function(t,i,a){for(var l=0;l0||D==0&&m.clearWhenEmpty!==!1)return m;if(m.replacedWith&&(m.collapsed=!0,m.widgetNode=H("span",[m.replacedWith],"CodeMirror-widget"),l.handleMouseEvents||m.widgetNode.setAttribute("cm-ignore-events","true"),l.insertLeft&&(m.widgetNode.insertLeft=!0)),m.collapsed){if(xc(t,i.line,i,a,m)||i.line!=a.line&&xc(t,a.line,i,a,m))throw new Error("Inserting collapsed marker partially overlapping an existing one");Cp()}m.addToHistory&&fu(t,{from:i,to:a,origin:"markText"},t.sel,NaN);var R,P=i.line,V=t.cm;if(t.iter(P,a.line+1,function(Y){V&&m.collapsed&&!V.options.lineWrapping&&jn(Y)==V.display.maxLine&&(R=!0),m.collapsed&&P!=i.line&&An(Y,0),kp(Y,new Hr(m,P==i.line?i.ch:null,P==a.line?a.ch:null),t.cm&&t.cm.curOp),++P}),m.collapsed&&t.iter(i.line,a.line+1,function(Y){wo(t,Y)&&An(Y,0)}),m.clearOnEnter&&ve(m,"beforeCursorEnter",function(){return m.clear()}),m.readOnly&&(wp(),(t.history.done.length||t.history.undone.length)&&t.clearHistory()),m.collapsed&&(m.id=++Du,m.atomic=!0),V){if(R&&(V.curOp.updateMaxLine=!0),m.collapsed)on(V,i.line,a.line+1);else if(m.className||m.startStyle||m.endStyle||m.css||m.attributes||m.title)for(var Q=i.line;Q<=a.line;Q++)Co(V,Q,"text");m.atomic&&yu(V.doc),jt(V,"markerAdded",V,m)}return m}Mo.prototype.clear=function(){if(!this.explicitlyCleared){var t=this.doc.cm,i=t&&!t.curOp;if(i&&Uo(t),gt(this,"clear")){var a=this.find();a&&jt(this,"clear",a.from,a.to)}for(var l=null,u=null,m=0;mt.display.maxLineLength&&(t.display.maxLine=V,t.display.maxLineLength=Q,t.display.maxLineChanged=!0)}l!=null&&t&&this.collapsed&&on(t,l,u+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&yu(t.doc)),t&&jt(t,"markerCleared",t,this,l,u),i&&Wo(t),this.parent&&this.parent.clear()}},Mo.prototype.find=function(t,i){t==null&&this.type=="bookmark"&&(t=1);for(var a,l,u=0;u=0;P--)bi(this,l[P]);R?vu(this,R):this.cm&&hi(this.cm)}),undo:zt(function(){cl(this,"undo")}),redo:zt(function(){cl(this,"redo")}),undoSelection:zt(function(){cl(this,"undo",!0)}),redoSelection:zt(function(){cl(this,"redo",!0)}),setExtending:function(t){this.extend=t},getExtending:function(){return this.extend},historySize:function(){for(var t=this.history,i=0,a=0,l=0;l=t.ch)&&i.push(u.marker.parent||u.marker)}return i},findMarks:function(t,i,a){t=Ke(this,t),i=Ke(this,i);var l=[],u=t.line;return this.iter(t.line,i.line+1,function(m){var D=m.markedSpans;if(D)for(var R=0;R=P.to||P.from==null&&u!=t.line||P.from!=null&&u==i.line&&P.from>=i.ch)&&(!a||a(P.marker))&&l.push(P.marker.parent||P.marker)}++u}),l},getAllMarks:function(){var t=[];return this.iter(function(i){var a=i.markedSpans;if(a)for(var l=0;lt)return i=t,!0;t-=m,++a}),Ke(this,le(a,i))},indexFromPos:function(t){var i=(t=Ke(this,t)).ch;if(t.linei&&(i=t.from),t.to!=null&&t.to-1)return i.state.draggingText(t),void setTimeout(function(){return i.display.input.focus()},20);try{var Q=t.dataTransfer.getData("Text");if(Q){var Y;if(i.state.draggingText&&!i.state.draggingText.copy&&(Y=i.listSelections()),al(i.doc,ko(a,a)),Y)for(var te=0;te=0;R--)yi(t.doc,"",l[R].from,l[R].to,"+delete");hi(t)})}function La(t,i,a){var l=ut(t.text,i+a,a);return l<0||l>t.text.length?null:l}function Ba(t,i,a){var l=La(t,i.ch,a);return l==null?null:new le(i.line,l,a<0?"after":"before")}function Pa(t,i,a,l,u){if(t){i.doc.direction=="rtl"&&(u=-u);var m=he(a,i.doc.direction);if(m){var D,R=u<0?Ve(m):m[0],P=u<0==(R.level==1)?"after":"before";if(R.level>0||i.doc.direction=="rtl"){var V=ui(i,a);D=u<0?a.text.length-1:0;var Q=Jn(i,V,D).top;D=Ft(function(Y){return Jn(i,V,Y).top==Q},u<0==(R.level==1)?R.from:R.to-1,D),P=="before"&&(D=La(a,D,1))}else D=u<0?R.to:R.from;return new le(l,D,P)}}return new le(l,u<0?a.text.length:0,u<0?"before":"after")}function Yh(t,i,a,l){var u=he(i,t.doc.direction);if(!u)return Ba(i,a,l);a.ch>=i.text.length?(a.ch=i.text.length,a.sticky="before"):a.ch<=0&&(a.ch=0,a.sticky="after");var m=ke(u,a.ch,a.sticky),D=u[m];if(t.doc.direction=="ltr"&&D.level%2==0&&(l>0?D.to>a.ch:D.from=D.from&&te>=Q.begin)){var ne=Y?"before":"after";return new le(a.line,te,ne)}}var se=function(Se,Te,we){for(var Oe=function(mt,pn){return pn?new le(a.line,P(mt,1),"before"):new le(a.line,mt,"after")};Se>=0&&Se0==(Ne.level!=1),vt=je?we.begin:P(we.end,-1);if(Ne.from<=vt&&vt0?Q.end:P(Q.begin,-1);return xe==null||l>0&&xe==i.text.length||!(fe=se(l>0?0:u.length-1,l,V(xe)))?null:fe}co.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},co.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},co.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},co.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},co.default=k?co.macDefault:co.pcDefault;var fr={selectAll:wu,singleSelection:function(t){return t.setSelection(t.getCursor("anchor"),t.getCursor("head"),Ae)},killLine:function(t){return wi(t,function(i){if(i.empty()){var a=Le(t.doc,i.head.line).text.length;return i.head.ch==a&&i.head.line0)u=new le(u.line,u.ch+1),t.replaceRange(m.charAt(u.ch-1)+m.charAt(u.ch-2),le(u.line,u.ch-2),u,"+transpose");else if(u.line>t.doc.first){var D=Le(t.doc,u.line-1).text;D&&(u=new le(u.line,1),t.replaceRange(m.charAt(0)+t.doc.lineSeparator()+D.charAt(D.length-1),le(u.line-1,D.length-1),u,"+transpose"))}}a.push(new st(u,u))}t.setSelections(a)})},newlineAndIndent:function(t){return fn(t,function(){for(var i=t.listSelections(),a=i.length-1;a>=0;a--)t.replaceRange(t.doc.lineSeparator(),i[a].anchor,i[a].head,"+input");i=t.listSelections();for(var l=0;l-1&&(Ce((u=D.ranges[u]).from(),i)<0||i.xRel>0)&&(Ce(u.to(),i)>0||i.xRel<0)?om(t,l,i,m):im(t,l,i,m)}function om(t,i,a,l){var u=t.display,m=!1,D=Vt(t,function(V){h&&(u.scroller.draggable=!1),t.state.draggingText=!1,t.state.delayingBlurEvent&&(t.hasFocus()?t.state.delayingBlurEvent=!1:Aa(t)),Ue(u.wrapper.ownerDocument,"mouseup",D),Ue(u.wrapper.ownerDocument,"mousemove",R),Ue(u.scroller,"dragstart",P),Ue(u.scroller,"drop",D),m||(yt(V),l.addNew||ll(t.doc,a,null,null,l.extend),h&&!_||c&&f==9?setTimeout(function(){u.wrapper.ownerDocument.body.focus({preventScroll:!0}),u.input.focus()},20):u.input.focus())}),R=function(V){m=m||Math.abs(i.clientX-V.clientX)+Math.abs(i.clientY-V.clientY)>=10},P=function(){return m=!0};h&&(u.scroller.draggable=!0),t.state.draggingText=D,D.copy=!l.moveOnDrag,ve(u.wrapper.ownerDocument,"mouseup",D),ve(u.wrapper.ownerDocument,"mousemove",R),ve(u.scroller,"dragstart",P),ve(u.scroller,"drop",D),t.state.delayingBlurEvent=!0,setTimeout(function(){return u.input.focus()},20),u.scroller.dragDrop&&u.scroller.dragDrop()}function Gu(t,i,a){if(a=="char")return new st(i,i);if(a=="word")return t.findWordAt(i);if(a=="line")return new st(le(i.line,0),Ke(t.doc,le(i.line+1,0)));var l=a(t,i);return new st(l.from,l.to)}function im(t,i,a,l){c&&Aa(t);var u=t.display,m=t.doc;yt(i);var D,R,P=m.sel,V=P.ranges;if(l.addNew&&!l.extend?(R=m.sel.contains(a),D=R>-1?V[R]:new st(a,a)):(D=m.sel.primary(),R=m.sel.primIndex),l.unit=="rectangle")l.addNew||(D=new st(a,a)),a=jo(t,i,!0,!0),R=-1;else{var Q=Gu(t,a,l.unit);D=l.extend?Oa(D,Q.anchor,Q.head,l.extend):Q}l.addNew?R==-1?(R=V.length,Yt(m,zn(t,V.concat([D]),R),{scroll:!1,origin:"*mouse"})):V.length>1&&V[R].empty()&&l.unit=="char"&&!l.extend?(Yt(m,zn(t,V.slice(0,R).concat(V.slice(R+1)),0),{scroll:!1,origin:"*mouse"}),P=m.sel):Fa(m,R,D,qe):(R=0,Yt(m,new wn([D],0),qe),P=m.sel);var Y=a;function te(we){if(Ce(Y,we)!=0)if(Y=we,l.unit=="rectangle"){for(var Oe=[],Ne=t.options.tabSize,je=re(Le(m,a.line).text,a.ch,Ne),vt=re(Le(m,we.line).text,we.ch,Ne),mt=Math.min(je,vt),pn=Math.max(je,vt),At=Math.min(a.line,we.line),Dn=Math.min(t.lastLine(),Math.max(a.line,we.line));At<=Dn;At++){var hn=Le(m,At).text,kt=Pe(hn,mt,Ne);mt==pn?Oe.push(new st(le(At,kt),le(At,kt))):hn.length>kt&&Oe.push(new st(le(At,kt),le(At,Pe(hn,pn,Ne))))}Oe.length||Oe.push(new st(a,a)),Yt(m,zn(t,P.ranges.slice(0,R).concat(Oe),R),{origin:"*mouse",scroll:!1}),t.scrollIntoView(we)}else{var ln,$t=D,Dt=Gu(t,we,l.unit),Mt=$t.anchor;Ce(Dt.anchor,Mt)>0?(ln=Dt.head,Mt=Vr($t.from(),Dt.anchor)):(ln=Dt.anchor,Mt=nn($t.to(),Dt.head));var Nt=P.ranges.slice(0);Nt[R]=rm(t,new st(Ke(m,Mt),ln)),Yt(m,zn(t,Nt,R),qe)}}var ne=u.wrapper.getBoundingClientRect(),se=0;function fe(we){var Oe=++se,Ne=jo(t,we,!0,l.unit=="rectangle");if(Ne)if(Ce(Ne,Y)!=0){t.curOp.focus=W(Z(t)),te(Ne);var je=el(u,m);(Ne.line>=je.to||Ne.linene.bottom?20:0;vt&&setTimeout(Vt(t,function(){se==Oe&&(u.scroller.scrollTop+=vt,fe(we))}),50)}}function xe(we){t.state.selectingText=!1,se=1/0,we&&(yt(we),u.input.focus()),Ue(u.wrapper.ownerDocument,"mousemove",Se),Ue(u.wrapper.ownerDocument,"mouseup",Te),m.history.lastSelOrigin=null}var Se=Vt(t,function(we){we.buttons!==0&&Lr(we)?fe(we):xe(we)}),Te=Vt(t,xe);t.state.selectingText=Te,ve(u.wrapper.ownerDocument,"mousemove",Se),ve(u.wrapper.ownerDocument,"mouseup",Te)}function rm(t,i){var a=i.anchor,l=i.head,u=Le(t.doc,a.line);if(Ce(a,l)==0&&a.sticky==l.sticky)return i;var m=he(u);if(!m)return i;var D=ke(m,a.ch,a.sticky),R=m[D];if(R.from!=a.ch&&R.to!=a.ch)return i;var P,V=D+(R.from==a.ch==(R.level!=1)?0:1);if(V==0||V==m.length)return i;if(l.line!=a.line)P=(l.line-a.line)*(t.doc.direction=="ltr"?1:-1)>0;else{var Q=ke(m,l.ch,l.sticky),Y=Q-D||(l.ch-a.ch)*(R.level==1?-1:1);P=Q==V-1||Q==V?Y<0:Y>0}var te=m[V+(P?-1:0)],ne=P==(te.level==1),se=ne?te.from:te.to,fe=ne?"after":"before";return a.ch==se&&a.sticky==fe?i:new st(new le(a.line,se,fe),l)}function qu(t,i,a,l){var u,m;if(i.touches)u=i.touches[0].clientX,m=i.touches[0].clientY;else try{u=i.clientX,m=i.clientY}catch{return!1}if(u>=Math.floor(t.display.gutters.getBoundingClientRect().right))return!1;l&&yt(i);var D=t.display,R=D.lineDiv.getBoundingClientRect();if(m>R.bottom||!gt(t,a))return oo(i);m-=R.top-D.viewOffset;for(var P=0;P=u)return rt(t,a,t,G(t.doc,m),t.display.gutterSpecs[P].className,i),oo(i)}}function za(t,i){return qu(t,i,"gutterClick",!0)}function Ku(t,i){ao(t.display,i)||lm(t,i)||dt(t,i,"contextmenu")||F||t.display.input.onContextMenu(i)}function lm(t,i){return!!gt(t,"gutterContextMenu")&&qu(t,i,"gutterContextMenu",!1)}function Xu(t){t.display.wrapper.className=t.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+t.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ki(t)}Va.prototype.compare=function(t,i,a){return this.time+Jh>t&&Ce(i,this.pos)==0&&a==this.button};var Ci={toString:function(){return"CodeMirror.Init"}},$u={},pl={};function am(t){var i=t.optionHandlers;function a(l,u,m,D){t.defaults[l]=u,m&&(i[l]=D?function(R,P,V){V!=Ci&&m(R,P,V)}:m)}t.defineOption=a,t.Init=Ci,a("value","",function(l,u){return l.setValue(u)},!0),a("mode",null,function(l,u){l.doc.modeOption=u,Na(l)},!0),a("indentUnit",2,Na,!0),a("indentWithTabs",!1),a("smartIndent",!0),a("tabSize",4,function(l){or(l),Ki(l),on(l)},!0),a("lineSeparator",null,function(l,u){if(l.doc.lineSep=u,u){var m=[],D=l.doc.first;l.doc.iter(function(P){for(var V=0;;){var Q=P.text.indexOf(u,V);if(Q==-1)break;V=Q+u.length,m.push(le(D,Q))}D++});for(var R=m.length-1;R>=0;R--)yi(l.doc,u,m[R],le(m[R].line,m[R].ch+u.length))}}),a("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(l,u,m){l.state.specialChars=new RegExp(u.source+(u.test(" ")?"":"| "),"g"),m!=Ci&&l.refresh()}),a("specialCharPlaceholder",Lp,function(l){return l.refresh()},!0),a("electricChars",!0),a("inputStyle",T?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),a("spellcheck",!1,function(l,u){return l.getInputField().spellcheck=u},!0),a("autocorrect",!1,function(l,u){return l.getInputField().autocorrect=u},!0),a("autocapitalize",!1,function(l,u){return l.getInputField().autocapitalize=u},!0),a("rtlMoveVisually",!N),a("wholeLineUpdateBefore",!0),a("theme","default",function(l){Xu(l),nr(l)},!0),a("keyMap","default",function(l,u,m){var D=dl(u),R=m!=Ci&&dl(m);R&&R.detach&&R.detach(l,D),D.attach&&D.attach(l,R||null)}),a("extraKeys",null),a("configureMouse",null),a("lineWrapping",!1,cm,!0),a("gutters",[],function(l,u){l.display.gutterSpecs=Ta(u,l.options.lineNumbers),nr(l)},!0),a("fixedGutter",!0,function(l,u){l.display.gutters.style.left=u?va(l.display)+"px":"0",l.refresh()},!0),a("coverGutterNextToScrollbar",!1,function(l){return mi(l)},!0),a("scrollbarStyle","native",function(l){Zc(l),mi(l),l.display.scrollbars.setScrollTop(l.doc.scrollTop),l.display.scrollbars.setScrollLeft(l.doc.scrollLeft)},!0),a("lineNumbers",!1,function(l,u){l.display.gutterSpecs=Ta(l.options.gutters,u),nr(l)},!0),a("firstLineNumber",1,nr,!0),a("lineNumberFormatter",function(l){return l},nr,!0),a("showCursorWhenSelecting",!1,Xi,!0),a("resetSelectionOnContextMenu",!0),a("lineWiseCopyCut",!0),a("pasteLinesPerSelection",!0),a("selectionsMayTouch",!1),a("readOnly",!1,function(l,u){u=="nocursor"&&(pi(l),l.display.input.blur()),l.display.input.readOnlyChanged(u)}),a("screenReaderLabel",null,function(l,u){u=u===""?null:u,l.display.input.screenReaderLabelChanged(u)}),a("disableInput",!1,function(l,u){u||l.display.input.reset()},!0),a("dragDrop",!0,sm),a("allowDropFileTypes",null),a("cursorBlinkRate",530),a("cursorScrollMargin",0),a("cursorHeight",1,Xi,!0),a("singleCursorHeightPerLine",!0,Xi,!0),a("workTime",100),a("workDelay",100),a("flattenSpans",!0,or,!0),a("addModeClass",!1,or,!0),a("pollInterval",100),a("undoDepth",200,function(l,u){return l.doc.history.undoDepth=u}),a("historyEventDelay",1250),a("viewportMargin",10,function(l){return l.refresh()},!0),a("maxHighlightLength",1e4,or,!0),a("moveInputWithCursor",!0,function(l,u){u||l.display.input.resetPosition()}),a("tabindex",null,function(l,u){return l.display.input.getField().tabIndex=u||""}),a("autofocus",null),a("direction","ltr",function(l,u){return l.doc.setDirection(u)},!0),a("phrases",null)}function sm(t,i,a){if(!i!=!(a&&a!=Ci)){var l=t.display.dragFunctions,u=i?ve:Ue;u(t.display.scroller,"dragstart",l.start),u(t.display.scroller,"dragenter",l.enter),u(t.display.scroller,"dragover",l.over),u(t.display.scroller,"dragleave",l.leave),u(t.display.scroller,"drop",l.drop)}}function cm(t){t.options.lineWrapping?(K(t.display.wrapper,"CodeMirror-wrap"),t.display.sizer.style.minWidth="",t.display.sizerWidth=null):(j(t.display.wrapper,"CodeMirror-wrap"),aa(t)),ba(t),on(t),Ki(t),setTimeout(function(){return mi(t)},100)}function wt(t,i){var a=this;if(!(this instanceof wt))return new wt(t,i);this.options=i=i?ae(i):{},ae($u,i,!1);var l=i.value;typeof l=="string"?l=new rn(l,i.mode,null,i.lineSeparator,i.direction):i.mode&&(l.modeOption=i.mode),this.doc=l;var u=new wt.inputStyles[i.inputStyle](this),m=this.display=new wh(t,l,u,i);for(var D in m.wrapper.CodeMirror=this,Xu(this),i.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Zc(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new pe,keySeq:null,specialChars:null},i.autofocus&&!T&&m.input.focus(),c&&f<11&&setTimeout(function(){return a.display.input.reset(!0)},20),um(this),zh(),Uo(this),this.curOp.forceUpdate=!0,cu(this,l),i.autofocus&&!T||this.hasFocus()?setTimeout(function(){a.hasFocus()&&!a.state.focused&&wa(a)},20):pi(this),pl)pl.hasOwnProperty(D)&&pl[D](this,i[D],Ci);nu(this),i.finishInit&&i.finishInit(this);for(var R=0;R400}ve(i.scroller,"touchstart",function(P){if(!dt(t,P)&&!m(P)&&!za(t,P)){i.input.ensurePolled(),clearTimeout(a);var V=+new Date;i.activeTouch={start:V,moved:!1,prev:V-l.end<=300?l:null},P.touches.length==1&&(i.activeTouch.left=P.touches[0].pageX,i.activeTouch.top=P.touches[0].pageY)}}),ve(i.scroller,"touchmove",function(){i.activeTouch&&(i.activeTouch.moved=!0)}),ve(i.scroller,"touchend",function(P){var V=i.activeTouch;if(V&&!ao(i,P)&&V.left!=null&&!V.moved&&new Date-V.start<300){var Q,Y=t.coordsChar(i.activeTouch,"page");Q=!V.prev||D(V,V.prev)?new st(Y,Y):!V.prev.prev||D(V,V.prev.prev)?t.findWordAt(Y):new st(le(Y.line,0),Ke(t.doc,le(Y.line+1,0))),t.setSelection(Q.anchor,Q.head),t.focus(),yt(P)}u()}),ve(i.scroller,"touchcancel",u),ve(i.scroller,"scroll",function(){i.scroller.clientHeight&&(Ji(t,i.scroller.scrollTop),zo(t,i.scroller.scrollLeft,!0),rt(t,"scroll",t))}),ve(i.scroller,"mousewheel",function(P){return ru(t,P)}),ve(i.scroller,"DOMMouseScroll",function(P){return ru(t,P)}),ve(i.wrapper,"scroll",function(){return i.wrapper.scrollTop=i.wrapper.scrollLeft=0}),i.dragFunctions={enter:function(P){dt(t,P)||Qt(P)},over:function(P){dt(t,P)||(Vh(t,P),Qt(P))},start:function(P){return jh(t,P)},drop:Vt(t,Ph),leave:function(P){dt(t,P)||Iu(t)}};var R=i.input.getField();ve(R,"keyup",function(P){return Wu.call(t,P)}),ve(R,"keydown",Vt(t,Uu)),ve(R,"keypress",Vt(t,Qu)),ve(R,"focus",function(P){return wa(t,P)}),ve(R,"blur",function(P){return pi(t,P)})}wt.defaults=$u,wt.optionHandlers=pl;var Ha=[];function gr(t,i,a,l){var u,m=t.doc;a==null&&(a="add"),a=="smart"&&(m.mode.indent?u=Wi(t,i).state:a="prev");var D=t.options.tabSize,R=Le(m,i),P=re(R.text,null,D);R.stateAfter&&(R.stateAfter=null);var V,Q=R.text.match(/^\s*/)[0];if(l||/\S/.test(R.text)){if(a=="smart"&&((V=m.mode.indent(u,R.text.slice(Q.length),R.text))==ge||V>150)){if(!l)return;a="prev"}}else V=0,a="not";a=="prev"?V=i>m.first?re(Le(m,i-1).text,null,D):0:a=="add"?V=P+t.options.indentUnit:a=="subtract"?V=P-t.options.indentUnit:typeof a=="number"&&(V=P+a),V=Math.max(0,V);var Y="",te=0;if(t.options.indentWithTabs)for(var ne=Math.floor(V/D);ne;--ne)te+=D,Y+=" ";if(teD,P=Tn(i),V=null;if(R&&l.ranges.length>1)if(Hn&&Hn.text.join(` `)==i){if(l.ranges.length%Hn.text.length==0){V=[];for(var Q=0;Q=0;te--){var ne=l.ranges[te],se=ne.from(),fe=ne.to();ne.empty()&&(a&&a>0?se=le(se.line,se.ch-a):t.state.overwrite&&!R?fe=le(fe.line,Math.min(Le(m,fe.line).text.length,fe.ch+Ve(P).length)):R&&Hn&&Hn.lineWise&&Hn.text.join(` `)==P.join(` `)&&(se=fe=le(se.line,0)));var xe={from:se,to:fe,text:V?V[te%V.length]:P,origin:u||(R?"paste":t.state.cutIncoming>D?"cut":"+input")};bi(t.doc,xe),jt(t,"inputRead",t,xe)}i&&!R&&Zu(t,i),hi(t),t.curOp.updateInput<2&&(t.curOp.updateInput=Y),t.curOp.typing=!0,t.state.pasteIncoming=t.state.cutIncoming=-1}function Ju(t,i){var a=t.clipboardData&&t.clipboardData.getData("Text");if(a)return t.preventDefault(),!i.isReadOnly()&&!i.options.disableInput&&i.hasFocus()&&fn(i,function(){return Ua(i,a,0,null,"paste")}),!0}function Zu(t,i){if(t.options.electricChars&&t.options.smartIndent)for(var a=t.doc.sel,l=a.ranges.length-1;l>=0;l--){var u=a.ranges[l];if(!(u.head.ch>100||l&&a.ranges[l-1].head.line==u.head.line)){var m=t.getModeAt(u.head),D=!1;if(m.electricChars){for(var R=0;R-1){D=gr(t,u.head.line,"smart");break}}else m.electricInput&&m.electricInput.test(Le(t.doc,u.head.line).text.slice(0,u.head.ch))&&(D=gr(t,u.head.line,"smart"));D&&jt(t,"electricInput",t,u.head.line)}}}function ed(t){for(var i=[],a=[],l=0;lm&&(gr(this,R.head.line,l,!0),m=R.head.line,D==this.doc.sel.primIndex&&hi(this));else{var P=R.from(),V=R.to(),Q=Math.max(m,P.line);m=Math.min(this.lastLine(),V.line-(V.ch?0:1))+1;for(var Y=Q;Y0&&Fa(this.doc,D,new st(P,te[D].to()),Ae)}}}),getTokenAt:function(l,u){return dc(this,l,u)},getLineTokens:function(l,u){return dc(this,le(l),u,!0)},getTokenTypeAt:function(l){l=Ke(this.doc,l);var u,m=sc(this,Le(this.doc,l.line)),D=0,R=(m.length-1)/2,P=l.ch;if(P==0)u=m[2];else for(;;){var V=D+R>>1;if((V?m[2*V-1]:0)>=P)R=V;else{if(!(m[2*V+1]P&&(l=P,R=!0),D=Le(this.doc,l)}else D=l;return Kr(this,D,{top:0,left:0},u||"page",m||R).top+(R?this.doc.height-lo(D):0)},defaultTextHeight:function(){return di(this.display)},defaultCharWidth:function(){return fi(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(l,u,m,D,R){var P=this.display,V=(l=Vn(this,Ke(this.doc,l))).bottom,Q=l.left;if(u.style.position="absolute",u.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(u),P.sizer.appendChild(u),D=="over")V=l.top;else if(D=="above"||D=="near"){var Y=Math.max(P.wrapper.clientHeight,this.doc.height),te=Math.max(P.sizer.clientWidth,P.lineSpace.clientWidth);(D=="above"||l.bottom+u.offsetHeight>Y)&&l.top>u.offsetHeight?V=l.top-u.offsetHeight:l.bottom+u.offsetHeight<=Y&&(V=l.bottom),Q+u.offsetWidth>te&&(Q=te-u.offsetWidth)}u.style.top=V+"px",u.style.left=u.style.right="",R=="right"?(Q=P.sizer.clientWidth-u.offsetWidth,u.style.right="0px"):(R=="left"?Q=0:R=="middle"&&(Q=(P.sizer.clientWidth-u.offsetWidth)/2),u.style.left=Q+"px"),m&&sh(this,{left:Q,top:V,right:Q+u.offsetWidth,bottom:V+u.offsetHeight})},triggerOnKeyDown:Xt(Uu),triggerOnKeyPress:Xt(Qu),triggerOnKeyUp:Wu,triggerOnMouseDown:Xt(Yu),execCommand:function(l){if(fr.hasOwnProperty(l))return fr[l].call(null,this)},triggerElectric:Xt(function(l){Zu(this,l)}),findPosH:function(l,u,m,D){var R=1;u<0&&(R=-1,u=-u);for(var P=Ke(this.doc,l),V=0;V0&&V(u.charAt(m-1));)--m;for(;D.5||this.options.lineWrapping)&&ba(this),rt(this,"refresh",this)}),swapDoc:Xt(function(l){var u=this.doc;return u.cm=null,this.state.selectingText&&this.state.selectingText(),cu(this,l),Ki(this),this.display.input.reset(),$i(this,l.scrollLeft,l.scrollTop),this.curOp.forceScroll=!0,jt(this,"swapDoc",this,u),u}),phrase:function(l){var u=this.options.phrases;return u&&Object.prototype.hasOwnProperty.call(u,l)?u[l]:l},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},dn(t),t.registerHelper=function(l,u,m){a.hasOwnProperty(l)||(a[l]=t[l]={_global:[]}),a[l][u]=m},t.registerGlobalHelper=function(l,u,m,D){t.registerHelper(l,u,D),a[l]._global.push({pred:m,val:D})}}function Wa(t,i,a,l,u){var m=i,D=a,R=Le(t,i.line),P=u&&t.direction=="rtl"?-a:a;function V(){var Te=i.line+P;return!(Te=t.first+t.size)&&(i=new le(Te,i.ch,i.sticky),R=Le(t,Te))}function Q(Te){var we;if(l=="codepoint"){var Oe=R.text.charCodeAt(i.ch+(a>0?0:-1));if(isNaN(Oe))we=null;else{var Ne=a>0?Oe>=55296&&Oe<56320:Oe>=56320&&Oe<57343;we=new le(i.line,Math.max(0,Math.min(R.text.length,i.ch+a*(Ne?2:1))),-a)}}else we=u?Yh(t.cm,R,i,a):Ba(R,i,a);if(we==null){if(Te||!V())return!1;i=Pa(u,t.cm,R,i.line,P)}else i=we;return!0}if(l=="char"||l=="codepoint")Q();else if(l=="column")Q(!0);else if(l=="word"||l=="group")for(var Y=null,te=l=="group",ne=t.cm&&t.cm.getHelper(i,"wordChars"),se=!0;!(a<0)||Q(!se);se=!1){var fe=R.text.charAt(i.ch)||` `,xe=bn(fe,ne)?"w":te&&fe==` `?"n":!te||/\s/.test(fe)?null:"p";if(te&&!se&&!xe&&(xe="s"),Y&&Y!=xe){a<0&&(a=1,Q(),i.sticky="after");break}if(xe&&(Y=xe),a>0&&!Q(!se))break}var Se=sl(t,i,m,D,!0);return ft(m,Se)&&(Se.hitSide=!0),Se}function od(t,i,a,l){var u,m,D=t.doc,R=i.left;if(l=="page"){var P=Math.min(t.display.wrapper.clientHeight,ue(t).innerHeight||D(t).documentElement.clientHeight),V=Math.max(P-.5*di(t.display),3);u=(a>0?i.bottom:i.top)+a*V}else l=="line"&&(u=a>0?i.bottom+3:i.top-3);for(;(m=ha(t,R,u)).outside;){if(a<0?u<=0:u>=D.height){m.hitSide=!0;break}u+=5*a}return m}var pt=function(t){this.cm=t,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new pe,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function id(t,i){var a=da(t,i.line);if(!a||a.hidden)return null;var l=Le(t.doc,i.line),u=Rc(a,l,i.line),m=he(l,t.doc.direction),D="left";m&&(D=ke(m,i.ch)%2?"right":"left");var R=Fc(u.map,i.ch,D);return R.offset=R.collapse=="right"?R.end:R.start,R}function fm(t){for(var i=t;i;i=i.parentNode)if(/CodeMirror-gutter-wrapper/.test(i.className))return!0;return!1}function _i(t,i){return i&&(t.bad=!0),t}function pm(t,i,a,l,u){var m="",D=!1,R=t.doc.lineSeparator(),P=!1;function V(ne){return function(se){return se.id==ne}}function Q(){D&&(m+=R,P&&(m+=R),D=P=!1)}function Y(ne){ne&&(Q(),m+=ne)}function te(ne){if(ne.nodeType==1){var se=ne.getAttribute("cm-text");if(se)return void Y(se);var fe,xe=ne.getAttribute("cm-marker");if(xe){var Se=t.findMarks(le(l,0),le(u+1,0),V(+xe));return void(Se.length&&(fe=Se[0].find(0))&&Y(io(t.doc,fe.from,fe.to).join(R)))}if(ne.getAttribute("contenteditable")=="false")return;var Te=/^(pre|div|p|li|table|br)$/i.test(ne.nodeName);if(!/^br$/i.test(ne.nodeName)&&ne.textContent.length==0)return;Te&&Q();for(var we=0;we=i.display.viewTo||u.line=i.display.viewFrom&&id(i,l)||{node:R[0].measure.map[2],offset:0},V=u.linel.firstLine()&&(D=le(D.line-1,Le(l.doc,D.line-1).length)),R.ch==Le(l.doc,R.line).text.length&&R.lineu.viewTo-1)return!1;D.line==u.viewFrom||(t=Vo(l,D.line))==0?(i=z(u.view[0].line),a=u.view[0].node):(i=z(u.view[t].line),a=u.view[t-1].node.nextSibling);var P,V,Q=Vo(l,R.line);if(Q==u.view.length-1?(P=u.viewTo-1,V=u.lineDiv.lastChild):(P=z(u.view[Q+1].line)-1,V=u.view[Q+1].node.previousSibling),!a)return!1;for(var Y=l.doc.splitLines(pm(l,a,V,i,P)),te=io(l.doc,le(i,0),le(P,Le(l.doc,P).text.length));Y.length>1&&te.length>1;)if(Ve(Y)==Ve(te))Y.pop(),te.pop(),P--;else{if(Y[0]!=te[0])break;Y.shift(),te.shift(),i++}for(var ne=0,se=0,fe=Y[0],xe=te[0],Se=Math.min(fe.length,xe.length);neD.ch&&Te.charCodeAt(Te.length-se-1)==we.charCodeAt(we.length-se-1);)ne--,se++;Y[Y.length-1]=Te.slice(0,Te.length-se).replace(/^\u200b+/,""),Y[0]=Y[0].slice(ne).replace(/\u200b+$/,"");var Ne=le(i,ne),je=le(P,te.length?Ve(te).length-se:0);return Y.length>1||Y[0]||Ce(Ne,je)?(yi(l.doc,Y,Ne,je,"+input"),!0):void 0},pt.prototype.ensurePolled=function(){this.forceCompositionEnd()},pt.prototype.reset=function(){this.forceCompositionEnd()},pt.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},pt.prototype.readFromDOMSoon=function(){var t=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(t.readDOMTimeout=null,t.composing){if(!t.composing.done)return;t.composing=null}t.updateFromDOM()},80))},pt.prototype.updateFromDOM=function(){var t=this;(this.cm.isReadOnly()||!this.pollContent())&&fn(this.cm,function(){return on(t.cm)})},pt.prototype.setUneditable=function(t){t.contentEditable="false"},pt.prototype.onKeyPress=function(t){t.charCode==0||this.composing||(t.preventDefault(),this.cm.isReadOnly()||Vt(this.cm,Ua)(this.cm,String.fromCharCode(t.charCode==null?t.keyCode:t.charCode),0))},pt.prototype.readOnlyChanged=function(t){this.div.contentEditable=String(t!="nocursor")},pt.prototype.onContextMenu=function(){},pt.prototype.resetPosition=function(){},pt.prototype.needsContentAttribute=!0;var Et=function(t){this.cm=t,this.prevInput="",this.pollingFast=!1,this.polling=new pe,this.hasSelection=!1,this.composing=null};function mm(t,i){if((i=i?ae(i):{}).value=t.value,!i.tabindex&&t.tabIndex&&(i.tabindex=t.tabIndex),!i.placeholder&&t.placeholder&&(i.placeholder=t.placeholder),i.autofocus==null){var a=W(t.ownerDocument);i.autofocus=a==t||t.getAttribute("autofocus")!=null&&a==document.body}function l(){t.value=R.getValue()}var u;if(t.form&&(ve(t.form,"submit",l),!i.leaveSubmitMethodAlone)){var m=t.form;u=m.submit;try{var D=m.submit=function(){l(),m.submit=u,m.submit(),m.submit=D}}catch{}}i.finishInit=function(P){P.save=l,P.getTextArea=function(){return t},P.toTextArea=function(){P.toTextArea=isNaN,l(),t.parentNode.removeChild(P.getWrapperElement()),t.style.display="",t.form&&(Ue(t.form,"submit",l),!i.leaveSubmitMethodAlone&&typeof t.form.submit=="function"&&(t.form.submit=u))}},t.style.display="none";var R=wt(function(P){return t.parentNode.insertBefore(P,t.nextSibling)},i);return R}function gm(t){t.off=Ue,t.on=ve,t.wheelEventPixels=Ch,t.Doc=rn,t.splitLines=Tn,t.countColumn=re,t.findColumn=Pe,t.isWordChar=vn,t.Pass=ge,t.signal=rt,t.Line=si,t.changeEnd=So,t.scrollbarModel=Jc,t.Pos=le,t.cmpPos=Ce,t.modes=ni,t.mimeModes=Bn,t.resolveMode=ii,t.getMode=ri,t.modeExtensions=Ao,t.extendMode=li,t.copyState=Kn,t.startState=ai,t.innerMode=Hi,t.commands=fr,t.keyMap=co,t.keyName=Pu,t.isModifierKey=Lu,t.lookupKey=Ai,t.normalizeKeyMap=Qh,t.StringStream=_t,t.SharedTextMarker=cr,t.TextMarker=Mo,t.LineWidget=sr,t.e_preventDefault=yt,t.e_stopPropagation=Fn,t.e_stop=Qt,t.addClass=K,t.contains=U,t.rmClass=j,t.keyNames=To}Et.prototype.init=function(t){var i=this,a=this,l=this.cm;this.createField(t);var u=this.textarea;function m(D){if(!dt(l,D)){if(l.somethingSelected())hl({lineWise:!1,text:l.getSelections()});else{if(!l.options.lineWiseCopyCut)return;var R=ed(l);hl({lineWise:!0,text:R.text}),D.type=="cut"?l.setSelections(R.ranges,null,Ae):(a.prevInput="",u.value=R.text.join(` `),J(u))}D.type=="cut"&&(l.state.cutIncoming=+new Date)}}t.wrapper.insertBefore(this.wrapper,t.wrapper.firstChild),E&&(u.style.width="0px"),ve(u,"input",function(){c&&f>=9&&i.hasSelection&&(i.hasSelection=null),a.poll()}),ve(u,"paste",function(D){dt(l,D)||Ju(D,l)||(l.state.pasteIncoming=+new Date,a.fastPoll())}),ve(u,"cut",m),ve(u,"copy",m),ve(t.scroller,"paste",function(D){if(!ao(t,D)&&!dt(l,D)){if(!u.dispatchEvent)return l.state.pasteIncoming=+new Date,void a.focus();var R=new Event("paste");R.clipboardData=D.clipboardData,u.dispatchEvent(R)}}),ve(t.lineSpace,"selectstart",function(D){ao(t,D)||yt(D)}),ve(u,"compositionstart",function(){var D=l.getCursor("from");a.composing&&a.composing.range.clear(),a.composing={start:D,range:l.markText(D,l.getCursor("to"),{className:"CodeMirror-composing"})}}),ve(u,"compositionend",function(){a.composing&&(a.poll(),a.composing.range.clear(),a.composing=null)})},Et.prototype.createField=function(t){this.wrapper=nd(),this.textarea=this.wrapper.firstChild},Et.prototype.screenReaderLabelChanged=function(t){t?this.textarea.setAttribute("aria-label",t):this.textarea.removeAttribute("aria-label")},Et.prototype.prepareSelection=function(){var t=this.cm,i=t.display,a=t.doc,l=Yc(t);if(t.options.moveInputWithCursor){var u=Vn(t,a.sel.primary().head,"div"),m=i.wrapper.getBoundingClientRect(),D=i.lineDiv.getBoundingClientRect();l.teTop=Math.max(0,Math.min(i.wrapper.clientHeight-10,u.top+D.top-m.top)),l.teLeft=Math.max(0,Math.min(i.wrapper.clientWidth-10,u.left+D.left-m.left))}return l},Et.prototype.showSelection=function(t){var i=this.cm.display;O(i.cursorDiv,t.cursors),O(i.selectionDiv,t.selection),t.teTop!=null&&(this.wrapper.style.top=t.teTop+"px",this.wrapper.style.left=t.teLeft+"px")},Et.prototype.reset=function(t){if(!this.contextMenuPending&&!this.composing){var i=this.cm;if(i.somethingSelected()){this.prevInput="";var a=i.getSelection();this.textarea.value=a,i.state.focused&&J(this.textarea),c&&f>=9&&(this.hasSelection=a)}else t||(this.prevInput=this.textarea.value="",c&&f>=9&&(this.hasSelection=null))}},Et.prototype.getField=function(){return this.textarea},Et.prototype.supportsTouch=function(){return!1},Et.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!T||W(this.textarea.ownerDocument)!=this.textarea))try{this.textarea.focus()}catch{}},Et.prototype.blur=function(){this.textarea.blur()},Et.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Et.prototype.receivedFocus=function(){this.slowPoll()},Et.prototype.slowPoll=function(){var t=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){t.poll(),t.cm.state.focused&&t.slowPoll()})},Et.prototype.fastPoll=function(){var t=!1,i=this;function a(){i.poll()||t?(i.pollingFast=!1,i.slowPoll()):(t=!0,i.polling.set(60,a))}i.pollingFast=!0,i.polling.set(20,a)},Et.prototype.poll=function(){var t=this,i=this.cm,a=this.textarea,l=this.prevInput;if(this.contextMenuPending||!i.state.focused||xo(a)&&!l&&!this.composing||i.isReadOnly()||i.options.disableInput||i.state.keySeq)return!1;var u=a.value;if(u==l&&!i.somethingSelected())return!1;if(c&&f>=9&&this.hasSelection===u||k&&/[\uf700-\uf7ff]/.test(u))return i.display.input.reset(),!1;if(i.doc.sel==i.display.selForContextMenu){var m=u.charCodeAt(0);if(m==8203&&!l&&(l="\u200B"),m==8666)return this.reset(),this.cm.execCommand("undo")}for(var D=0,R=Math.min(l.length,u.length);D1e3||u.indexOf(` `)>-1?a.value=t.prevInput="":t.prevInput=u,t.composing&&(t.composing.range.clear(),t.composing.range=i.markText(t.composing.start,i.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Et.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Et.prototype.onKeyPress=function(){c&&f>=9&&(this.hasSelection=null),this.fastPoll()},Et.prototype.onContextMenu=function(t){var i=this,a=i.cm,l=a.display,u=i.textarea;i.contextMenuPending&&i.contextMenuPending();var m=jo(a,t),D=l.scroller.scrollTop;if(m&&!g){a.options.resetSelectionOnContextMenu&&a.doc.sel.contains(m)==-1&&Vt(a,Yt)(a.doc,ko(m),Ae);var R,P=u.style.cssText,V=i.wrapper.style.cssText,Q=i.wrapper.offsetParent.getBoundingClientRect();if(i.wrapper.style.cssText="position: static",u.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(t.clientY-Q.top-5)+"px; left: "+(t.clientX-Q.left-5)+`px; z-index: 1000; background: `+(c?"rgba(255, 255, 255, .05)":"transparent")+`; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`,h&&(R=u.ownerDocument.defaultView.scrollY),l.input.focus(),h&&u.ownerDocument.defaultView.scrollTo(null,R),l.input.reset(),a.somethingSelected()||(u.value=i.prevInput=" "),i.contextMenuPending=ne,l.selForContextMenu=a.doc.sel,clearTimeout(l.detectingSelectAll),c&&f>=9&&te(),F){Qt(t);var Y=function(){Ue(window,"mouseup",Y),setTimeout(ne,20)};ve(window,"mouseup",Y)}else setTimeout(ne,50)}function te(){if(u.selectionStart!=null){var se=a.somethingSelected(),fe="\u200B"+(se?u.value:"");u.value="\u21DA",u.value=fe,i.prevInput=se?"":"\u200B",u.selectionStart=1,u.selectionEnd=fe.length,l.selForContextMenu=a.doc.sel}}function ne(){if(i.contextMenuPending==ne&&(i.contextMenuPending=!1,i.wrapper.style.cssText=V,u.style.cssText=P,c&&f<9&&l.scrollbars.setScrollTop(l.scroller.scrollTop=D),u.selectionStart!=null)){(!c||c&&f<9)&&te();var se=0,fe=function(){l.selForContextMenu==a.doc.sel&&u.selectionStart==0&&u.selectionEnd>0&&i.prevInput=="\u200B"?Vt(a,wu)(a):se++<10?l.detectingSelectAll=setTimeout(fe,500):(l.selForContextMenu=null,l.input.reset())};l.detectingSelectAll=setTimeout(fe,200)}}},Et.prototype.readOnlyChanged=function(t){t||this.reset(),this.textarea.disabled=t=="nocursor",this.textarea.readOnly=!!t},Et.prototype.setUneditable=function(){},Et.prototype.needsContentAttribute=!1,am(wt),dm(wt);var vm="iter insert remove copy getEditor constructor".split(" ");for(var gl in rn.prototype)rn.prototype.hasOwnProperty(gl)&&De(vm,gl)<0&&(wt.prototype[gl]=function(t){return function(){return t.apply(this.doc,arguments)}}(rn.prototype[gl]));return dn(rn),wt.inputStyles={textarea:Et,contenteditable:pt},wt.defineMode=function(t){!wt.defaults.mode&&t!="null"&&(wt.defaults.mode=t),Pn.apply(this,arguments)},wt.defineMIME=oi,wt.defineMode("null",function(){return{token:function(t){return t.skipToEnd()}}}),wt.defineMIME("text/plain","null"),wt.defineExtension=function(t,i){wt.prototype[t]=i},wt.defineDocExtension=function(t,i){rn.prototype[t]=i},wt.fromTextArea=mm,gm(wt),wt.version="6.65.7",wt}()),Uf.exports}var cn,Li=Yl();(cn=Yl()).defineMode("javascript",function(e,o){var n,r,s=e.indentUnit,d=o.statementIndent,c=o.jsonld,f=o.json||c,h=o.trackScope!==!1,p=o.typescript,v=o.wordCharacters||/[\w$\xa1-\uffff]/,y=function(){function z(Pt){return{type:Pt,style:"keyword"}}var G=z("keyword a"),de=z("keyword b"),Ee=z("keyword c"),le=z("keyword d"),Ce=z("operator"),ft={type:"atom",style:"atom"};return{if:z("if"),while:G,with:G,else:de,do:de,try:de,finally:de,return:le,break:le,continue:le,new:z("new"),delete:Ee,void:Ee,throw:Ee,debugger:z("debugger"),var:z("var"),const:z("var"),let:z("var"),function:z("function"),catch:z("catch"),for:z("for"),switch:z("switch"),case:z("case"),default:z("default"),in:Ce,typeof:Ce,instanceof:Ce,true:ft,false:ft,null:ft,undefined:ft,NaN:ft,Infinity:ft,this:z("this"),class:z("class"),super:z("atom"),yield:Ee,export:z("export"),import:z("import"),extends:Ee,await:Ee}}(),g=/[+\-*&%=<>!?|~^@]/,_=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function C(z){for(var G,de=!1,Ee=!1;(G=z.next())!=null;){if(!de){if(G=="/"&&!Ee)return;G=="["?Ee=!0:Ee&&G=="]"&&(Ee=!1)}de=!de&&G=="\\"}}function b(z,G,de){return n=z,r=de,G}function E(z,G){var de=z.next();if(de=='"'||de=="'")return G.tokenize=x(de),G.tokenize(z,G);if(de=="."&&z.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return b("number","number");if(de=="."&&z.match(".."))return b("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(de))return b(de);if(de=="="&&z.eat(">"))return b("=>","operator");if(de=="0"&&z.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return b("number","number");if(/\d/.test(de))return z.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),b("number","number");if(de=="/")return z.eat("*")?(G.tokenize=T,T(z,G)):z.eat("/")?(z.skipToEnd(),b("comment","comment")):An(z,G,1)?(C(z),z.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),b("regexp","string-2")):(z.eat("="),b("operator","operator",z.current()));if(de=="`")return G.tokenize=k,k(z,G);if(de=="#"&&z.peek()=="!")return z.skipToEnd(),b("meta","meta");if(de=="#"&&z.eatWhile(v))return b("variable","property");if(de=="<"&&z.match("!--")||de=="-"&&z.match("->")&&!/\S/.test(z.string.slice(0,z.start)))return z.skipToEnd(),b("comment","comment");if(g.test(de))return(de!=">"||!G.lexical||G.lexical.type!=">")&&(z.eat("=")?(de=="!"||de=="=")&&z.eat("="):/[<>*+\-|&?]/.test(de)&&(z.eat(de),de==">"&&z.eat(de))),de=="?"&&z.eat(".")?b("."):b("operator","operator",z.current());if(v.test(de)){z.eatWhile(v);var Ee=z.current();if(G.lastType!="."){if(y.propertyIsEnumerable(Ee)){var le=y[Ee];return b(le.type,le.style,Ee)}if(Ee=="async"&&z.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return b("async","keyword",Ee)}return b("variable","variable",Ee)}}function x(z){return function(G,de){var Ee,le=!1;if(c&&G.peek()=="@"&&G.match(_))return de.tokenize=E,b("jsonld-keyword","meta");for(;(Ee=G.next())!=null&&(Ee!=z||le);)le=!le&&Ee=="\\";return le||(de.tokenize=E),b("string","string")}}function T(z,G){for(var de,Ee=!1;de=z.next();){if(de=="/"&&Ee){G.tokenize=E;break}Ee=de=="*"}return b("comment","comment")}function k(z,G){for(var de,Ee=!1;(de=z.next())!=null;){if(!Ee&&(de=="`"||de=="$"&&z.eat("{"))){G.tokenize=E;break}Ee=!Ee&&de=="\\"}return b("quasi","string-2",z.current())}var M="([{}])";function N(z,G){G.fatArrowAt&&(G.fatArrowAt=null);var de=z.string.indexOf("=>",z.start);if(!(de<0)){if(p){var Ee=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(z.string.slice(z.start,de));Ee&&(de=Ee.index)}for(var le=0,Ce=!1,ft=de-1;ft>=0;--ft){var Pt=z.string.charAt(ft),nn=M.indexOf(Pt);if(nn>=0&&nn<3){if(!le){++ft;break}if(--le==0){Pt=="("&&(Ce=!0);break}}else if(nn>=3&&nn<6)++le;else if(v.test(Pt))Ce=!0;else if(/["'\/`]/.test(Pt))for(;;--ft){if(ft==0)return;if(z.string.charAt(ft-1)==Pt&&z.string.charAt(ft-2)!="\\"){ft--;break}}else if(Ce&&!le){++ft;break}}Ce&&!le&&(G.fatArrowAt=ft)}}var L={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function w(z,G,de,Ee,le,Ce){this.indented=z,this.column=G,this.type=de,this.prev=le,this.info=Ce,Ee!=null&&(this.align=Ee)}function F(z,G){if(!h)return!1;for(var de=z.localVars;de;de=de.next)if(de.name==G)return!0;for(var Ee=z.context;Ee;Ee=Ee.prev)for(de=Ee.vars;de;de=de.next)if(de.name==G)return!0}function I(z,G,de,Ee,le){var Ce=z.cc;for(S.state=z,S.stream=le,S.marked=null,S.cc=Ce,S.style=G,z.lexical.hasOwnProperty("align")||(z.lexical.align=!0);;)if((Ce.length?Ce.pop():f?Be:pe)(de,Ee)){for(;Ce.length&&Ce[Ce.length-1].lex;)Ce.pop()();return S.marked?S.marked:de=="variable"&&F(z,Ee)?"variable-2":G}}var S={state:null,column:null,marked:null,cc:null};function j(){for(var z=arguments.length-1;z>=0;z--)S.cc.push(arguments[z])}function A(){return j.apply(null,arguments),!0}function O(z,G){for(var de=G;de;de=de.next)if(de.name==z)return!0;return!1}function B(z){var G=S.state;if(S.marked="def",h){if(G.context){if(G.lexical.info=="var"&&G.context&&G.context.block){var de=H(z,G.context);if(de!=null)return void(G.context=de)}else if(!O(z,G.localVars))return void(G.localVars=new K(z,G.localVars))}o.globalVars&&!O(z,G.globalVars)&&(G.globalVars=new K(z,G.globalVars))}}function H(z,G){if(G){if(G.block){var de=H(z,G.prev);return de?de==G.prev?G:new W(de,G.vars,!0):null}return O(z,G.vars)?G:new W(G.prev,new K(z,G.vars),!1)}return null}function U(z){return z=="public"||z=="private"||z=="protected"||z=="abstract"||z=="readonly"}function W(z,G,de){this.prev=z,this.vars=G,this.block=de}function K(z,G){this.name=z,this.next=G}var $=new K("this",new K("arguments",null));function J(){S.state.context=new W(S.state.context,S.state.localVars,!1),S.state.localVars=$}function Z(){S.state.context=new W(S.state.context,S.state.localVars,!0),S.state.localVars=null}function ue(){S.state.localVars=S.state.context.vars,S.state.context=S.state.context.prev}function ie(z,G){var de=function(){var Ee=S.state,le=Ee.indented;if(Ee.lexical.type=="stat")le=Ee.lexical.indented;else for(var Ce=Ee.lexical;Ce&&Ce.type==")"&&Ce.align;Ce=Ce.prev)le=Ce.indented;Ee.lexical=new w(le,S.stream.column(),z,null,Ee.lexical,G)};return de.lex=!0,de}function ae(){var z=S.state;z.lexical.prev&&(z.lexical.type==")"&&(z.indented=z.lexical.indented),z.lexical=z.lexical.prev)}function re(z){function G(de){return de==z?A():z==";"||de=="}"||de==")"||de=="]"?j():A(G)}return G}function pe(z,G){return z=="var"?A(ie("vardef",G),oo,re(";"),ae):z=="keyword a"?A(ie("form"),Ae,pe,ae):z=="keyword b"?A(ie("form"),pe,ae):z=="keyword d"?S.stream.match(/^\s*$/,!1)?A():A(ie("stat"),We,re(";"),ae):z=="debugger"?A(re(";")):z=="{"?A(ie("}"),Z,xn,ae,ue):z==";"?A():z=="if"?(S.state.lexical.info=="else"&&S.state.cc[S.state.cc.length-1]==ae&&S.state.cc.pop()(),A(ie("form"),Ae,pe,ae,Br)):z=="function"?A(Tn):z=="for"?A(ie("form"),Z,Pr,pe,ue,ae):z=="class"||p&&G=="interface"?(S.marked="keyword",A(ie("form",z=="class"?z:G),ni,ae)):z=="variable"?p&&G=="declare"?(S.marked="keyword",A(pe)):p&&(G=="module"||G=="enum"||G=="type")&&S.stream.match(/^\s*\w/,!1)?(S.marked="keyword",G=="enum"?A(Le):G=="type"?A(jr,re("operator"),ye,re(";")):A(ie("form"),Qt,re("{"),ie("}"),xn,ae,ae)):p&&G=="namespace"?(S.marked="keyword",A(ie("form"),Be,pe,ae)):p&&G=="abstract"?(S.marked="keyword",A(pe)):A(ie("stat"),vn):z=="switch"?A(ie("form"),Ae,re("{"),ie("}","switch"),Z,xn,ae,ae,ue):z=="case"?A(Be,re(":")):z=="default"?A(re(":")):z=="catch"?A(ie("form"),J,De,pe,ae,ue):z=="export"?A(ie("stat"),ii,ae):z=="import"?A(ie("stat"),Ao,ae):z=="async"?A(pe):G=="@"?A(Be,pe):j(ie("stat"),Be,re(";"),ae)}function De(z){if(z=="(")return A(Ln,re(")"))}function Be(z,G){return qe(z,G,!1)}function ge(z,G){return qe(z,G,!0)}function Ae(z){return z!="("?j():A(ie(")"),We,re(")"),ae)}function qe(z,G,de){if(S.state.fatArrowAt==S.stream.start){var Ee=de?On:St;if(z=="(")return A(J,ie(")"),ut(Ln,")"),ae,re("=>"),Ee,ue);if(z=="variable")return j(J,Qt,re("=>"),Ee,ue)}var le=de?Qe:Pe;return L.hasOwnProperty(z)?A(le):z=="function"?A(Tn,le):z=="class"||p&&G=="interface"?(S.marked="keyword",A(ie("form"),ea,ae)):z=="keyword c"||z=="async"?A(de?ge:Be):z=="("?A(ie(")"),We,re(")"),ae,le):z=="operator"||z=="spread"?A(de?ge:Be):z=="["?A(ie("]"),_t,ae,le):z=="{"?Ft(yn,"}",null,le):z=="quasi"?j(xt,le):z=="new"?A(un(de)):A()}function We(z){return z.match(/[;\}\)\],]/)?j():j(Be)}function Pe(z,G){return z==","?A(We):Qe(z,G,!1)}function Qe(z,G,de){var Ee=de==0?Pe:Qe,le=de==0?Be:ge;if(z=="=>")return A(J,de?On:St,ue);if(z=="operator")return/\+\+|--/.test(G)||p&&G=="!"?A(Ee):p&&G=="<"&&S.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?A(ie(">"),ut(ye,">"),ae,Ee):G=="?"?A(Be,re(":"),le):A(le);if(z=="quasi")return j(xt,Ee);if(z!=";"){if(z=="(")return Ft(ge,")","call",Ee);if(z==".")return A(bn,Ee);if(z=="[")return A(ie("]"),We,re("]"),ae,Ee);if(p&&G=="as")return S.marked="keyword",A(ye,Ee);if(z=="regexp")return S.state.lastType=S.marked="operator",S.stream.backUp(S.stream.pos-S.stream.start-1),A(le)}}function xt(z,G){return z!="quasi"?j():G.slice(G.length-2)!="${"?A(xt):A(We,Ve)}function Ve(z){if(z=="}")return S.marked="string-2",S.state.tokenize=k,A(xt)}function St(z){return N(S.stream,S.state),j(z=="{"?pe:Be)}function On(z){return N(S.stream,S.state),j(z=="{"?pe:ge)}function un(z){return function(G){return G=="."?A(z?Yn:yo):G=="variable"&&p?A(dn,z?Qe:Pe):j(z?ge:Be)}}function yo(z,G){if(G=="target")return S.marked="keyword",A(Pe)}function Yn(z,G){if(G=="target")return S.marked="keyword",A(Qe)}function vn(z){return z==":"?A(ae,pe):j(Pe,re(";"),ae)}function bn(z){if(z=="variable")return S.marked="property",A()}function yn(z,G){return z=="async"?(S.marked="property",A(yn)):z=="variable"||S.style=="keyword"?(S.marked="property",G=="get"||G=="set"?A(Gn):(p&&S.state.fatArrowAt==S.stream.start&&(de=S.stream.match(/^\s*:\s*/,!1))&&(S.state.fatArrowAt=S.stream.pos+de[0].length),A(Ut))):z=="number"||z=="string"?(S.marked=c?"property":S.style+" property",A(Ut)):z=="jsonld-keyword"?A(Ut):p&&U(G)?(S.marked="keyword",A(yn)):z=="["?A(Be,Me,re("]"),Ut):z=="spread"?A(ge,Ut):G=="*"?(S.marked="keyword",A(yn)):z==":"?j(Ut):void 0;var de}function Gn(z){return z!="variable"?j(Ut):(S.marked="property",A(Tn))}function Ut(z){return z==":"?A(ge):z=="("?j(Tn):void 0}function ut(z,G,de){function Ee(le,Ce){if(de?de.indexOf(le)>-1:le==","){var ft=S.state.lexical;return ft.info=="call"&&(ft.pos=(ft.pos||0)+1),A(function(Pt,nn){return Pt==G||nn==G?j():j(z)},Ee)}return le==G||Ce==G?A():de&&de.indexOf(";")>-1?j(z):A(re(G))}return function(le,Ce){return le==G||Ce==G?A():j(z,Ee)}}function Ft(z,G,de){for(var Ee=3;Ee"),ye):z=="quasi"?j(rt,gt):void 0}function ve(z){if(z=="=>")return A(ye)}function He(z){return z.match(/[\}\)\]]/)?A():z==","||z==";"?A(He):j(Ue,He)}function Ue(z,G){return z=="variable"||S.style=="keyword"?(S.marked="property",A(Ue)):G=="?"||z=="number"||z=="string"?A(Ue):z==":"?A(ye):z=="["?A(re("variable"),ke,re("]"),Ue):z=="("?j(xo,Ue):z.match(/[;\}\)\],]/)?void 0:A()}function rt(z,G){return z!="quasi"?j():G.slice(G.length-2)!="${"?A(rt):A(ye,dt)}function dt(z){if(z=="}")return S.marked="string-2",S.state.tokenize=k,A(rt)}function Lt(z,G){return z=="variable"&&S.stream.match(/^\s*[?:]/,!1)||G=="?"?A(Lt):z==":"?A(ye):z=="spread"?A(Lt):j(ye)}function gt(z,G){return G=="<"?A(ie(">"),ut(ye,">"),ae,gt):G=="|"||z=="."||G=="&"?A(ye):z=="["?A(ye,re("]"),gt):G=="extends"||G=="implements"?(S.marked="keyword",A(ye)):G=="?"?A(ye,re(":"),ye):void 0}function dn(z,G){if(G=="<")return A(ie(">"),ut(ye,">"),ae,gt)}function yt(){return j(ye,Fn)}function Fn(z,G){if(G=="=")return A(ye)}function oo(z,G){return G=="enum"?(S.marked="keyword",A(Le)):j(Qt,Me,Mn,zi)}function Qt(z,G){return p&&U(G)?(S.marked="keyword",A(Qt)):z=="variable"?(B(G),A()):z=="spread"?A(Qt):z=="["?Ft(Lr,"]"):z=="{"?Ft(ti,"}"):void 0}function ti(z,G){return z!="variable"||S.stream.match(/^\s*:/,!1)?(z=="variable"&&(S.marked="property"),z=="spread"?A(Qt):z=="}"?j():z=="["?A(Be,re("]"),re(":"),ti):A(re(":"),Qt,Mn)):(B(G),A(Mn))}function Lr(){return j(Qt,Mn)}function Mn(z,G){if(G=="=")return A(ge)}function zi(z){if(z==",")return A(oo)}function Br(z,G){if(z=="keyword b"&&G=="else")return A(ie("form","else"),pe,ae)}function Pr(z,G){return G=="await"?A(Pr):z=="("?A(ie(")"),Zl,ae):void 0}function Zl(z){return z=="var"?A(oo,qn):z=="variable"?A(qn):j(qn)}function qn(z,G){return z==")"?A():z==";"?A(qn):G=="in"||G=="of"?(S.marked="keyword",A(Be,qn)):j(Be,qn)}function Tn(z,G){return G=="*"?(S.marked="keyword",A(Tn)):z=="variable"?(B(G),A(Tn)):z=="("?A(J,ie(")"),ut(Ln,")"),ae,ze,pe,ue):p&&G=="<"?A(ie(">"),ut(yt,">"),ae,Tn):void 0}function xo(z,G){return G=="*"?(S.marked="keyword",A(xo)):z=="variable"?(B(G),A(xo)):z=="("?A(J,ie(")"),ut(Ln,")"),ae,ze,ue):p&&G=="<"?A(ie(">"),ut(yt,">"),ae,xo):void 0}function jr(z,G){return z=="keyword"||z=="variable"?(S.marked="type",A(jr)):G=="<"?A(ie(">"),ut(yt,">"),ae):void 0}function Ln(z,G){return G=="@"&&A(Be,Ln),z=="spread"?A(Ln):p&&U(G)?(S.marked="keyword",A(Ln)):p&&z=="this"?A(Me,Mn):j(Qt,Me,Mn)}function ea(z,G){return z=="variable"?ni(z,G):Bn(z,G)}function ni(z,G){if(z=="variable")return B(G),A(Bn)}function Bn(z,G){return G=="<"?A(ie(">"),ut(yt,">"),ae,Bn):G=="extends"||G=="implements"||p&&z==","?(G=="implements"&&(S.marked="keyword"),A(p?ye:Be,Bn)):z=="{"?A(ie("}"),Pn,ae):void 0}function Pn(z,G){return z=="async"||z=="variable"&&(G=="static"||G=="get"||G=="set"||p&&U(G))&&S.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(S.marked="keyword",A(Pn)):z=="variable"||S.style=="keyword"?(S.marked="property",A(oi,Pn)):z=="number"||z=="string"?A(oi,Pn):z=="["?A(Be,Me,re("]"),oi,Pn):G=="*"?(S.marked="keyword",A(Pn)):p&&z=="("?j(xo,Pn):z==";"||z==","?A(Pn):z=="}"?A():G=="@"?A(Be,Pn):void 0}function oi(z,G){if(G=="!"||G=="?")return A(oi);if(z==":")return A(ye,Mn);if(G=="=")return A(ge);var de=S.state.lexical.prev;return j(de&&de.info=="interface"?xo:Tn)}function ii(z,G){return G=="*"?(S.marked="keyword",A(ai,re(";"))):G=="default"?(S.marked="keyword",A(Be,re(";"))):z=="{"?A(ut(ri,"}"),ai,re(";")):j(pe)}function ri(z,G){return G=="as"?(S.marked="keyword",A(re("variable"))):z=="variable"?j(ge,ri):void 0}function Ao(z){return z=="string"?A():z=="("?j(Be):z=="."?j(Pe):j(li,Kn,ai)}function li(z,G){return z=="{"?Ft(li,"}"):(z=="variable"&&B(G),G=="*"&&(S.marked="keyword"),A(Hi))}function Kn(z){if(z==",")return A(li,Kn)}function Hi(z,G){if(G=="as")return S.marked="keyword",A(li)}function ai(z,G){if(G=="from")return S.marked="keyword",A(Be)}function _t(z){return z=="]"?A():j(ut(ge,"]"))}function Le(){return j(ie("form"),Qt,re("{"),ie("}"),ut(io,"}"),ae,ae)}function io(){return j(Qt,Mn)}function Ui(z,G){return z.lastType=="operator"||z.lastType==","||g.test(G.charAt(0))||/[,.]/.test(G.charAt(0))}function An(z,G,de){return G.tokenize==E&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(G.lastType)||G.lastType=="quasi"&&/\{\s*$/.test(z.string.slice(0,z.pos-(de||0)))}return J.lex=Z.lex=!0,ue.lex=!0,ae.lex=!0,{startState:function(z){var G={tokenize:E,lastType:"sof",cc:[],lexical:new w((z||0)-s,0,"block",!1),localVars:o.localVars,context:o.localVars&&new W(null,null,!1),indented:z||0};return o.globalVars&&typeof o.globalVars=="object"&&(G.globalVars=o.globalVars),G},token:function(z,G){if(z.sol()&&(G.lexical.hasOwnProperty("align")||(G.lexical.align=!1),G.indented=z.indentation(),N(z,G)),G.tokenize!=T&&z.eatSpace())return null;var de=G.tokenize(z,G);return n=="comment"?de:(G.lastType=n!="operator"||r!="++"&&r!="--"?n:"incdec",I(G,de,n,r,z))},indent:function(z,G){if(z.tokenize==T||z.tokenize==k)return cn.Pass;if(z.tokenize!=E)return 0;var de,Ee=G&&G.charAt(0),le=z.lexical;if(!/^\s*else\b/.test(G))for(var Ce=z.cc.length-1;Ce>=0;--Ce){var ft=z.cc[Ce];if(ft==ae)le=le.prev;else if(ft!=Br&&ft!=ue)break}for(;(le.type=="stat"||le.type=="form")&&(Ee=="}"||(de=z.cc[z.cc.length-1])&&(de==Pe||de==Qe)&&!/^[,\.=+\-*:?[\(]/.test(G));)le=le.prev;d&&le.type==")"&&le.prev.type=="stat"&&(le=le.prev);var Pt=le.type,nn=Ee==Pt;return Pt=="vardef"?le.indented+(z.lastType=="operator"||z.lastType==","?le.info.length+1:0):Pt=="form"&&Ee=="{"?le.indented:Pt=="form"?le.indented+s:Pt=="stat"?le.indented+(Ui(z,G)?d||s:0):le.info!="switch"||nn||o.doubleIndentSwitch==0?le.align?le.column+(nn?0:1):le.indented+(nn?0:s):le.indented+(/^(?:case|default)\b/.test(G)?s:2*s)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:f?null:"/*",blockCommentEnd:f?null:"*/",blockCommentContinue:f?null:" * ",lineComment:f?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:f?"json":"javascript",jsonldMode:c,jsonMode:f,expressionAllowed:An,skipExpression:function(z){I(z,"atom","atom","true",new cn.StringStream("",2,null))}}}),cn.registerHelper("wordChars","javascript",/[\w$]/),cn.defineMIME("text/javascript","javascript"),cn.defineMIME("text/ecmascript","javascript"),cn.defineMIME("application/javascript","javascript"),cn.defineMIME("application/x-javascript","javascript"),cn.defineMIME("application/ecmascript","javascript"),cn.defineMIME("application/json",{name:"javascript",json:!0}),cn.defineMIME("application/x-json",{name:"javascript",json:!0}),cn.defineMIME("application/manifest+json",{name:"javascript",json:!0}),cn.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),cn.defineMIME("text/typescript",{name:"javascript",typescript:!0}),cn.defineMIME("application/typescript",{name:"javascript",typescript:!0}),function(e){var o="CodeMirror-hint",n="CodeMirror-hint-active";function r(b,E){if(this.cm=b,this.options=E,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var x=this;b.on("cursorActivity",this.activityFunc=function(){x.cursorActivity()})}}e.showHint=function(b,E,x){if(!E)return b.showHint(x);x&&x.async&&(E.async=!0);var T={hint:E};if(x)for(var k in x)T[k]=x[k];return b.showHint(T)},e.defineExtension("showHint",function(b){b=c(this,this.getCursor("start"),b);var E=this.listSelections();if(!(E.length>1)){if(this.somethingSelected()){if(!b.hint.supportsSelection)return;for(var x=0;xN.clientHeight+1;if(setTimeout(function(){ae=T.getScrollInfo()}),re.bottom-ie>0){var De=re.bottom-re.top;if(O.top-(O.bottom-re.top)-De>0)N.style.top=(H=O.top-De-K)+"px",U=!1;else if(De>ie){N.style.height=ie-5+"px",N.style.top=(H=O.bottom-re.top-K)+"px";var Be=T.getCursor();E.from.ch!=Be.ch&&(O=T.cursorCoords(Be),N.style.left=(B=O.left-W)+"px",re=N.getBoundingClientRect())}}var ge,Ae=re.right-ue;if(pe&&(Ae+=T.display.nativeBarWidth),Ae>0&&(re.right-re.left>ue&&(N.style.width=ue-5+"px",Ae-=re.right-re.left-ue),N.style.left=(B=Math.max(O.left-Ae-W,0))+"px"),pe)for(var qe=N.firstChild;qe;qe=qe.nextSibling)qe.style.paddingRight=T.display.nativeBarWidth+"px";T.addKeyMap(this.keyMap=h(b,{moveFocus:function(Pe,Qe){x.changeActive(x.selectedHint+Pe,Qe)},setFocus:function(Pe){x.changeActive(Pe)},menuSize:function(){return x.screenAmount()},length:w.length,close:function(){b.close()},pick:function(){x.pick()},data:E})),b.options.closeOnUnfocus&&(T.on("blur",this.onBlur=function(){ge=setTimeout(function(){b.close()},100)}),T.on("focus",this.onFocus=function(){clearTimeout(ge)})),T.on("scroll",this.onScroll=function(){var Pe=T.getScrollInfo(),Qe=T.getWrapperElement().getBoundingClientRect();ae||(ae=T.getScrollInfo());var xt=H+ae.top-Pe.top,Ve=xt-(M.pageYOffset||(k.documentElement||k.body).scrollTop);if(U||(Ve+=N.offsetHeight),Ve<=Qe.top||Ve>=Qe.bottom)return b.close();N.style.top=xt+"px",N.style.left=B+ae.left-Pe.left+"px"}),e.on(N,"dblclick",function(Pe){var Qe=p(N,Pe.target||Pe.srcElement);Qe&&Qe.hintId!=null&&(x.changeActive(Qe.hintId),x.pick())}),e.on(N,"click",function(Pe){var Qe=p(N,Pe.target||Pe.srcElement);Qe&&Qe.hintId!=null&&(x.changeActive(Qe.hintId),b.options.completeOnSingleClick&&x.pick())}),e.on(N,"mousedown",function(){setTimeout(function(){T.focus()},20)});var We=this.getSelectedHintRange();return(We.from!==0||We.to!==0)&&this.scrollToActive(),e.signal(E,"select",w[this.selectedHint],N.childNodes[this.selectedHint]),!0}function y(b,E){if(!b.somethingSelected())return E;for(var x=[],T=0;T0?N(S):F(I+1)})}F(0)};return k.async=!0,k.supportsSelection=!0,k}return(x=b.getHelper(b.getCursor(),"hintWords"))?function(M){return e.hint.fromList(M,{words:x})}:e.hint.anyword?function(M,N){return e.hint.anyword(M,N)}:function(){}}r.prototype={close:function(){!this.active()||(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&e.signal(this.data,"close"),this.widget&&this.widget.close(),e.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(b,E){var x=b.list[E],T=this;this.cm.operation(function(){x.hint?x.hint(T.cm,b,x):T.cm.replaceRange(f(x),x.from||b.from,x.to||b.to,"complete"),e.signal(b,"pick",x),T.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(d(this.debounce),this.debounce=0);var b=this.startPos;this.data&&(b=this.data.from);var E=this.cm.getCursor(),x=this.cm.getLine(E.line);if(E.line!=this.startPos.line||x.length-E.ch!=this.startLen-this.startPos.ch||E.ch=this.data.list.length?b=E?this.data.list.length-1:0:b<0&&(b=E?0:this.data.list.length-1),this.selectedHint!=b){var x=this.hints.childNodes[this.selectedHint];x&&(x.className=x.className.replace(" "+n,""),x.removeAttribute("aria-selected")),(x=this.hints.childNodes[this.selectedHint=b]).className+=" "+n,x.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",x.id),this.scrollToActive(),e.signal(this.data,"select",this.data.list[this.selectedHint],x)}},scrollToActive:function(){var b=this.getSelectedHintRange(),E=this.hints.childNodes[b.from],x=this.hints.childNodes[b.to],T=this.hints.firstChild;E.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=x.offsetTop+x.offsetHeight-this.hints.clientHeight+T.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var b=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-b),to:Math.min(this.data.list.length-1,this.selectedHint+b)}}},e.registerHelper("hint","auto",{resolve:_}),e.registerHelper("hint","fromList",function(b,E){var x,T=b.getCursor(),k=b.getTokenAt(T),M=e.Pos(T.line,k.start),N=T;k.start,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};e.defineOption("hintOptions",null)}(Yl()),function(e){var o=e.Pos;function n(b,E){for(var x=0,T=b.length;xk.ch&&(M.end=k.ch,M.string=M.string.slice(0,k.ch-M.start)):M={start:k.ch,end:k.ch,string:"",state:M.state,type:M.string=="."?"property":null};for(var L=M;L.type=="property";){if((L=x(b,o(k.line,L.start))).string!=".")return;if(L=x(b,o(k.line,L.start)),!w)var w=[];w.push(L)}return{list:C(M,w,E,T),from:o(k.line,M.start),to:o(k.line,M.end)}}}}function d(b,E){return s(b,y,function(x,T){return x.getTokenAt(T)},E)}function c(b,E){var x=b.getTokenAt(E);return E.ch==x.start+1&&x.string.charAt(0)=="."?(x.end=x.start,x.string=".",x.type="property"):/^\.[\w$_]*$/.test(x.string)&&(x.type="property",x.start++,x.string=x.string.replace(/\./,"")),x}function f(b,E){return s(b,g,c,E)}e.registerHelper("hint","javascript",d),e.registerHelper("hint","coffeescript",f);var h="charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight toUpperCase toLowerCase split concat match replace search".split(" "),p="length concat join splice push pop shift unshift slice reverse sort indexOf lastIndexOf every some filter forEach map reduce reduceRight ".split(" "),v="prototype apply call bind".split(" "),y="break case catch class const continue debugger default delete do else export extends false finally for function if in import instanceof new null return super switch this throw true try typeof var void while with yield".split(" "),g="and break catch class continue delete do else extends false finally for if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes".split(" ");function _(b,E){if(Object.getOwnPropertyNames&&Object.getPrototypeOf)for(var x=b;x;x=Object.getPrototypeOf(x))Object.getOwnPropertyNames(x).forEach(E);else for(var T in b)E(T)}function C(b,E,x,T){var k=[],M=b.string,N=T&&T.globalScope||window;function L(O){O.lastIndexOf(M,0)==0&&!r(k,O)&&k.push(O)}function w(O){typeof O=="string"?n(h,L):O instanceof Array?n(p,L):O instanceof Function&&n(v,L),_(O,L)}if(E&&E.length){var F,I=E.pop();for(I.type&&I.type.indexOf("variable")===0?(T&&T.additionalContext&&(F=T.additionalContext[I.string]),(!T||T.useGlobalScope!==!1)&&(F=F||N[I.string])):I.type=="string"?F="":I.type=="atom"?F=1:I.type=="function"&&(N.jQuery==null||I.string!="$"&&I.string!="jQuery"||typeof N.jQuery!="function"?N._!=null&&I.string=="_"&&typeof N._=="function"&&(F=N._()):F=N.jQuery());F!=null&&E.length;)F=F[E.pop().string];F!=null&&w(F)}else{for(var S=b.state.localVars;S;S=S.next)L(S.name);for(var j=b.state.context;j;j=j.prev)for(S=j.vars;S;S=S.next)L(S.name);for(S=b.state.globalVars;S;S=S.next)L(S.name);if(T&&T.additionalContext!=null)for(var A in T.additionalContext)L(A);(!T||T.useGlobalScope!==!1)&&w(N),n(x,L)}return k}}(Yl());const ct=(e,o)=>{const n=e.__vccOpts||e;for(const[r,s]of o)n[r]=s;return n},pv=et({name:"FnEditor",emits:["update:modelValue","change"],props:{modelValue:[String,Function],name:String,args:Array,body:Boolean,button:Boolean,fnx:Boolean},inject:["designer"],data:()=>({editor:null,fn:"",visible:!1,value:""}),watch:{modelValue(e){e!=this.value&&(!e||!e.__json||e.__json&&e.__json!=this.value)&&this.editor&&this.editor.setValue(this.tidyValue())}},computed:{t(){return this.designer.setupState.t},argStr(){return(this.args||[]).map(e=>typeof e=="string"?e:e.name).join(", ")},argList(){return this.args.map(e=>typeof e=="string"?{name:e,type:"string"}:e)}},mounted(){this.$nextTick(()=>{this.load()})},methods:{save(){const e=this.editor.getValue()||"";if(e.trim()==="")this.fn="";else{let o;try{o=new Function("return function "+this.name+"("+this.argStr+"){"+e+"}")()}catch{return Rn(this.t("struct.errorMsg")),!1}this.body?this.fn=(this.fnx?"$FNX:":"")+e:this.fn="[[FORM-CREATE-PREFIX-"+o+"-FORM-CREATE-SUFFIX]]"}return this.submit(),!0},submit(){this.$emit("update:modelValue",this.fn),this.$emit("change",this.fn),this.value=this.fn,this.visible=!1},trimString(e){const o=e.indexOf("{"),n=e.lastIndexOf("}");return o===-1||n===-1||o>=n?e:e.slice(o+1,n).replace(/^\n+|\n+$/g,"")},tidyValue(){let e=this.modelValue||"";return e.__json&&(e=e.__json),this.fnx&&e.indexOf("$FNX:")===0&&(e=e.slice(5)),typeof e=="function"?e=this.trimString(Ro(e)).trim():this.body||(e=this.trimString(e).trim()),this.value=e,e},load(){this.$nextTick(()=>{let e=this.tidyValue();this.editor=qo(Li(this.$refs.editor,{lineNumbers:!0,mode:{name:"javascript",globalVars:!0},extraKeys:{"Ctrl-Space":"autocomplete"},line:!0,tabSize:2,lineWrapping:!0,value:e})),this.editor.on("inputRead",(o,n)=>{n.keyCode===32&&n.ctrlKey&&Li.showHint(o,Li.hint.javascript)}),this.editor.on("change",()=>{this.visible=!0}),this.editor})}}}),hv={class:"_fd-fn"},mv={class:"_fd-fn-tip"},gv={class:"cm-keyword"},vv={key:0},bv={class:"_fd-fn-arg"},yv={ref:"editor",class:"_fd-fn-editor"},Rr=ct(pv,[["render",function(e,o,n,r,s,d){const c=ce("el-table-column"),f=ce("el-table"),h=ce("el-popover"),p=ce("el-button");return oe(),me("div",hv,[ee("div",mv,[o[2]||(o[2]=ee("div",{class:"_fd-fn-ind"},null,-1)),ee("div",gv,[ee("span",null,[Re("function "+be(e.name)+"(",1),(oe(!0),me(Xe,null,bt(e.argList,(v,y)=>(oe(),me(Xe,null,[Re(be(y>0?", ":""),1),v.type==="string"?(oe(),me("span",vv,be(v.name),1)):(oe(),Ie(h,{key:1,placement:"top-start",width:400,trigger:"click",title:v.name,content:v.info||""},{reference:q(()=>[ee("span",bv,[Re(be(v.name),1),o[0]||(o[0]=ee("i",{class:"fc-icon icon-question"},null,-1))])]),default:q(()=>[v.columns?(oe(),Ie(f,{key:0,data:v.columns,border:""},{default:q(()=>[X(c,{width:"120",property:"label",label:e.t("event.label")},null,8,["label"]),X(c,{property:"info",label:e.t("event.info")},null,8,["label"]),X(c,{width:"80",property:"type",label:e.t("event.type")},null,8,["label"])]),_:2},1032,["data"])):Fe("",!0)]),_:2},1032,["title","content"]))],64))),256)),o[1]||(o[1]=Re(") {"))])])]),ee("div",yv,null,512),o[3]||(o[3]=ee("div",{class:"_fd-fn-tip"},[ee("div",{class:"_fd-fn-ind"}),ee("div",{class:"cm-keyword"},"}")],-1)),e.visible&&e.button?(oe(),Ie(p,{key:0,type:"primary",size:"small",onClick:e.save},{default:q(()=>[Re(be(e.t("props.save")),1)]),_:1},8,["onClick"])):Fe("",!0)])}]]),Bi="$FNX:",Gl=e=>lt.String(e)&&e.indexOf(Bi)===0,xv=et({name:"EventConfig",emits:["update:modelValue"],props:{modelValue:[Object,void 0,null],componentName:"",eventName:{type:Array,default:()=>[]}},inject:["designer"],components:{FnEditor:Rr},data:()=>({visible:!1,activeData:null,val:null,defActive:"no",event:{},cus:!1,cusValue:"",eventStr:""}),computed:{t(){return this.designer.setupState.t},eventInfo(){const e={};return this.eventName.forEach(o=>{e[o]=this.t("com."+this.componentName+".event."+o)||this.t("eventInfo."+o)||""}),e},eventNum(){let e=0;return Object.keys(this.modelValue||{}).forEach(o=>{e+=Array.isArray(this.modelValue[o])?this.modelValue[o].length:1}),e},fnArgs(){return[Gd(this.t)]}},watch:{visible(e){this.event=e?this.loadFN(Sl({},this.modelValue||{})):{},e||(this.destroy(),this.closeCus())}},methods:{addCus(){const e=this.cusValue&&this.cusValue.trim();e&&(this.closeCus(),this.add(e))},closeCus(){this.cus=!1,this.cusValue=""},cusEvent(){this.cus=!0},loadFN(e){const o={};return Object.keys(e).forEach(n=>{if(Array.isArray(e[n])){const r=[];e[n].forEach(s=>{Gl(s)?r.push(s.replace(Bi,"")):lt.Function(s)&&Gl(s.__json)?r.push(s.__json.replace(Bi,"")):s&&s.indexOf("$GLOBAL:")===0&&r.push(s)}),o[n]=r}else Gl(e[n])?o[n]=[e[n].replace(Bi,"")]:lt.Function(e[n])&&Gl(e[n].__json)?o[n]=[e[n].__json.replace(Bi,"")]:e[n]&&e[n].indexOf("$GLOBAL:")===0&&(o[n]=[e[n]])}),o},parseFN(e){const o={};return Object.keys(e).forEach(n=>{const r=[];e[n].forEach((s,d)=>{r[d]=s.indexOf("$GLOBAL:")!==0?Bi+s:s}),r.length>0&&(o[n]=r.length===1?r[0]:r)}),o},add(e){let o={};if(Array.isArray(this.event[e]))this.event[e].push(""),o={name:e,item:this.event[e],index:this.event[e].length-1};else if(this.event[e]){const n=[this.event[e],""];this.event[e]=n,o={name:e,item:n,index:1}}else{const n=[""];this.event[e]=n,o={name:e,item:n,index:0}}this.activeData||this.edit(o)},edit(e){e.key=tt(),e.item?this.val=e.item[e.index]:this.val=this.event[e.name],this.activeData=e,this.eventStr=this.val,this.defActive=e.name+(e.index||0)},save(){if(!this.$refs.fn.save())return;const e=this.eventStr;this.activeData.item?this.activeData.item[this.activeData.index]=e:this.event[this.activeData.name]=e,this.destroy()},rm(e){e.index!==void 0?e.item.splice(e.index,1):this.$delete(this.event,e.name),this.defActive===e.name+(e.index||0)&&this.destroy()},destroy(){this.activeData=null,this.val=null,this.defActive="no"},close(){this.destroy()},submit(){if(this.activeData)return Rn(this.t("event.saveMsg"));this.$emit("update:modelValue",this.parseFN(this.event)),this.visible=!1,this.destroy(),this.closeCus()}},beforeCreate(){window.$inject={$f:{},rule:[],self:{},option:{},inject:{},args:[]}}}),Av={class:"_fd-event"},wv={class:"el-dropdown-link"},Cv={class:"_fd-event-item"},_v={key:0,class:"_fd-label"},kv=["onClick"],Sv={class:"_fd-event-method"},Ev={key:0,class:"_fd-label"},Mv=["onClick"],Tv=["onClick"],Dv={class:"_fd-event-method"},Nv={key:0,class:"_fd-label"},Rv=["onClick"],Iv={target:"_blank",href:"https://form-create.com/v3/instance/"},Wf=ct(xv,[["render",function(e,o,n,r,s,d){const c=ce("el-button"),f=ce("el-badge"),h=ce("el-dropdown-item"),p=ce("el-dropdown-menu"),v=ce("el-dropdown"),y=ce("el-header"),g=ce("el-menu-item"),_=ce("el-input"),C=ce("el-menu"),b=ce("el-main"),E=ce("el-container"),x=ce("el-aside"),T=ce("FnEditor"),k=ce("el-dialog");return oe(),me("div",Av,[X(f,{value:e.eventNum,type:"warning",hidden:e.eventNum<1},{default:q(()=>[X(c,{size:"small",onClick:o[0]||(o[0]=M=>e.visible=!0)},{default:q(()=>[Re(be(e.t("event.title")),1)]),_:1})]),_:1},8,["value","hidden"]),X(k,{class:"_fd-event-dialog",title:e.t("event.title"),modelValue:e.visible,"onUpdate:modelValue":o[8]||(o[8]=M=>e.visible=M),"destroy-on-close":"","close-on-click-modal":!1,"append-to-body":"",width:"980px"},{footer:q(()=>[ee("div",null,[X(c,{size:"default",onClick:o[7]||(o[7]=M=>e.visible=!1)},{default:q(()=>[Re(be(e.t("props.cancel")),1)]),_:1}),X(c,{type:"primary",size:"default",onClick:e.submit,color:"#2f73ff"},{default:q(()=>[Re(be(e.t("props.ok")),1)]),_:1},8,["onClick"])])]),default:q(()=>[X(E,{class:"_fd-event-con",style:{height:"600px"}},{default:q(()=>[X(x,{style:{width:"300px"}},{default:q(()=>[X(E,{class:"_fd-event-l"},{default:q(()=>[X(y,{class:"_fd-event-head",height:"40px"},{default:q(()=>[X(v,{"popper-class":"_fd-event-dropdown",trigger:"click",size:"default",placement:"bottom-start"},{dropdown:q(()=>[X(p,null,{default:q(()=>[(oe(!0),me(Xe,null,bt(e.eventName,M=>(oe(),Ie(h,{key:M,onClick:N=>e.add(M)},{default:q(()=>[ee("div",Cv,[ee("span",null,be(M),1),e.eventInfo[M]?(oe(),me("span",_v,be(e.eventInfo[M]),1)):Fe("",!0)])]),_:2},1032,["onClick"]))),128)),X(h,{divided:e.eventName.length>0,onClick:e.cusEvent},{default:q(()=>[ee("div",null,be(e.t("props.custom")),1)]),_:1},8,["divided","onClick"])]),_:1})]),default:q(()=>[ee("span",wv,[X(c,{link:"",type:"primary",size:"default"},{default:q(()=>[Re(be(e.t("event.create")),1),o[9]||(o[9]=ee("i",{class:"el-icon-arrow-down el-icon--right"},null,-1))]),_:1})])]),_:1})]),_:1}),X(b,null,{default:q(()=>[X(C,{"default-active":e.defActive,modelValue:e.activeData,"onUpdate:modelValue":o[5]||(o[5]=M=>e.activeData=M)},{default:q(()=>[(oe(!0),me(Xe,null,bt(e.event,(M,N)=>(oe(),me(Xe,null,[Array.isArray(M)?(oe(!0),me(Xe,{key:0},bt(M,(L,w)=>(oe(),Ie(g,{key:N+w,index:N+w},{default:q(()=>[ee("div",{class:"_fd-event-title",onClick:_n(F=>e.edit({name:N,item:M,index:w}),["stop"])},[ee("div",Sv,[ee("span",null,[o[10]||(o[10]=Re("function")),ee("span",null,be(N),1)]),e.eventInfo[N]?(oe(),me("span",Ev,be(e.eventInfo[N]),1)):Fe("",!0)]),ee("i",{class:"fc-icon icon-delete",onClick:_n(F=>e.rm({name:N,item:M,index:w}),["stop"])},null,8,Mv)],8,kv)]),_:2},1032,["index"]))),128)):(oe(),Ie(g,{key:1,index:N+0},{default:q(()=>[ee("div",{class:"_fd-event-title",onClick:_n(L=>e.edit({name:N}),["stop"])},[ee("div",Dv,[ee("span",null,[o[11]||(o[11]=Re("function")),ee("span",null,be(N),1)]),e.eventInfo[N]?(oe(),me("span",Nv,be(e.eventInfo[N]),1)):Fe("",!0)]),ee("i",{class:"fc-icon icon-delete",onClick:_n(L=>e.rm({name:N}),["stop"])},null,8,Rv)],8,Tv)]),_:2},1032,["index"]))],64))),256)),e.cus?(oe(),Ie(g,{key:0,style:{"padding-left":"10px"},index:"custom"},{default:q(()=>[ee("div",{class:"_fd-event-title",onClick:o[4]||(o[4]=_n(()=>{},["stop"]))},[X(_,{type:"text",modelValue:e.cusValue,"onUpdate:modelValue":o[1]||(o[1]=M=>e.cusValue=M),size:"default",onKeydown:Mm(e.addCus,["enter"]),placeholder:e.t("event.placeholder")},null,8,["modelValue","onKeydown","placeholder"]),ee("div",null,[ee("i",{class:"fc-icon icon-add",onClick:o[2]||(o[2]=_n((...M)=>e.addCus&&e.addCus(...M),["stop"]))}),ee("i",{class:"fc-icon icon-delete",onClick:o[3]||(o[3]=_n((...M)=>e.closeCus&&e.closeCus(...M),["stop"]))})])])]),_:1})):Fe("",!0)]),_:1},8,["default-active","modelValue"])]),_:1})]),_:1})]),_:1}),X(b,null,{default:q(()=>[X(E,{class:"_fd-event-r"},{default:q(()=>[e.activeData?(oe(),Ie(y,{key:0,class:"_fd-event-head",height:"40px"},{default:q(()=>[ee("div",null,[ee("a",Iv,be(e.t("form.document")),1)]),ee("div",null,[X(c,{size:"small",onClick:e.close},{default:q(()=>[Re(be(e.t("props.cancel")),1)]),_:1},8,["onClick"]),X(c,{size:"small",type:"primary",onClick:e.save,color:"#2f73ff"},{default:q(()=>[Re(be(e.t("props.save")),1)]),_:1},8,["onClick"])])]),_:1})):Fe("",!0),e.activeData?(oe(),Ie(b,{key:1},{default:q(()=>[X(T,{ref:"fn",modelValue:e.eventStr,"onUpdate:modelValue":o[6]||(o[6]=M=>e.eventStr=M),body:"",name:e.activeData.name,args:e.fnArgs,style:{height:"519px"}},null,8,["modelValue","name","args"])]),_:1})):Fe("",!0)]),_:1})]),_:1})]),_:1})]),_:1},8,["title","modelValue"])])}]]);function Ov(e,o){var n=null;return function(...r){n!==null&&clearTimeout(n),n=setTimeout(()=>e.call(this,...r),o)}}/*! Highlight.js v11.9.0 (git: b7ec4bfafc) (c) 2006-2024 undefined and other contributors License: BSD-3-Clause */function Qf(e){return e instanceof Map?e.clear=e.delete=e.set=()=>{throw Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=()=>{throw Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(o=>{const n=e[o],r=typeof n;r!=="object"&&r!=="function"||Object.isFrozen(n)||Qf(n)}),e}class Yf{constructor(o){o.data===void 0&&(o.data={}),this.data=o.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Gf(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Lo(e,...o){const n=Object.create(null);for(const r in e)n[r]=e[r];return o.forEach(r=>{for(const s in r)n[s]=r[s]}),n}const qf=e=>!!e.scope;class Fv{constructor(o,n){this.buffer="",this.classPrefix=n.classPrefix,o.walk(this)}addText(o){this.buffer+=Gf(o)}openNode(o){if(!qf(o))return;const n=((r,{prefix:s})=>{if(r.startsWith("language:"))return r.replace("language:","language-");if(r.includes(".")){const d=r.split(".");return[`${s}${d.shift()}`,...d.map((c,f)=>`${c}${"_".repeat(f+1)}`)].join(" ")}return`${s}${r}`})(o.scope,{prefix:this.classPrefix});this.span(n)}closeNode(o){qf(o)&&(this.buffer+="")}value(){return this.buffer}span(o){this.buffer+=``}}const Kf=(e={})=>{const o={children:[]};return Object.assign(o,e),o};class ic{constructor(){this.rootNode=Kf(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(o){this.top.children.push(o)}openNode(o){const n=Kf({scope:o});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(o){return this.constructor._walk(o,this.rootNode)}static _walk(o,n){return typeof n=="string"?o.addText(n):n.children&&(o.openNode(n),n.children.forEach(r=>this._walk(o,r)),o.closeNode(n)),o}static _collapse(o){typeof o!="string"&&o.children&&(o.children.every(n=>typeof n=="string")?o.children=[o.children.join("")]:o.children.forEach(n=>{ic._collapse(n)}))}}class Lv extends ic{constructor(o){super(),this.options=o}addText(o){o!==""&&this.add(o)}startScope(o){this.openNode(o)}endScope(){this.closeNode()}__addSublanguage(o,n){const r=o.root;n&&(r.scope="language:"+n),this.add(r)}toHTML(){return new Fv(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Ir(e){return e?typeof e=="string"?e:e.source:null}function Xf(e){return ei("(?=",e,")")}function Bv(e){return ei("(?:",e,")*")}function Pv(e){return ei("(?:",e,")?")}function ei(...e){return e.map(o=>Ir(o)).join("")}function ec(...e){return"("+((o=>{const n=o[o.length-1];return typeof n=="object"&&n.constructor===Object?(o.splice(o.length-1,1),n):{}})(e).capture?"":"?:")+e.map(o=>Ir(o)).join("|")+")"}function $f(e){return RegExp(e.toString()+"|").exec("").length-1}const jv=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function tc(e,{joinWith:o}){let n=0;return e.map(r=>{n+=1;const s=n;let d=Ir(r),c="";for(;d.length>0;){const f=jv.exec(d);if(!f){c+=d;break}c+=d.substring(0,f.index),d=d.substring(f.index+f[0].length),f[0][0]==="\\"&&f[1]?c+="\\"+(Number(f[1])+s):(c+=f[0],f[0]==="("&&n++)}return c}).map(r=>`(${r})`).join(o)}const Jf="[a-zA-Z]\\w*",nc="[a-zA-Z_]\\w*",Zf="\\b\\d+(\\.\\d+)?",ep="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",tp="\\b(0b[01]+)",Or={begin:"\\\\[\\s\\S]",relevance:0},Vv={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Or]},zv={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Or]},ql=(e,o,n={})=>{const r=Lo({scope:"comment",begin:e,end:o,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const s=ec("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:ei(/[ ]+/,"(",s,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},Hv=ql("//","$"),Uv=ql("/\\*","\\*/"),Wv=ql("#","$");var Kl=Object.freeze({__proto__:null,APOS_STRING_MODE:Vv,BACKSLASH_ESCAPE:Or,BINARY_NUMBER_MODE:{scope:"number",begin:tp,relevance:0},BINARY_NUMBER_RE:tp,COMMENT:ql,C_BLOCK_COMMENT_MODE:Uv,C_LINE_COMMENT_MODE:Hv,C_NUMBER_MODE:{scope:"number",begin:ep,relevance:0},C_NUMBER_RE:ep,END_SAME_AS_BEGIN:e=>Object.assign(e,{"on:begin":(o,n)=>{n.data._beginMatch=o[1]},"on:end":(o,n)=>{n.data._beginMatch!==o[1]&&n.ignoreMatch()}}),HASH_COMMENT_MODE:Wv,IDENT_RE:Jf,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*"+nc,relevance:0},NUMBER_MODE:{scope:"number",begin:Zf,relevance:0},NUMBER_RE:Zf,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:zv,REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Or,{begin:/\[/,end:/\]/,relevance:0,contains:[Or]}]},RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const o=/^#![ ]*\//;return e.binary&&(e.begin=ei(o,/.*\b/,e.binary,/\b.*/)),Lo({scope:"meta",begin:o,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},TITLE_MODE:{scope:"title",begin:Jf,relevance:0},UNDERSCORE_IDENT_RE:nc,UNDERSCORE_TITLE_MODE:{scope:"title",begin:nc,relevance:0}});function Qv(e,o){e.input[e.index-1]==="."&&o.ignoreMatch()}function Yv(e,o){e.className!==void 0&&(e.scope=e.className,delete e.className)}function Gv(e,o){o&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Qv,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function qv(e,o){Array.isArray(e.illegal)&&(e.illegal=ec(...e.illegal))}function Kv(e,o){if(e.match){if(e.begin||e.end)throw Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Xv(e,o){e.relevance===void 0&&(e.relevance=1)}const $v=(e,o)=>{if(!e.beforeMatch)return;if(e.starts)throw Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(r=>{delete e[r]}),e.keywords=n.keywords,e.begin=ei(n.beforeMatch,Xf(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},Jv=["of","and","for","in","not","or","if","then","parent","list","value"];function np(e,o,n="keyword"){const r=Object.create(null);return typeof e=="string"?s(n,e.split(" ")):Array.isArray(e)?s(n,e):Object.keys(e).forEach(d=>{Object.assign(r,np(e[d],o,d))}),r;function s(d,c){o&&(c=c.map(f=>f.toLowerCase())),c.forEach(f=>{const h=f.split("|");r[h[0]]=[d,Zv(h[0],h[1])]})}}function Zv(e,o){return o?Number(o):(n=>Jv.includes(n.toLowerCase()))(e)?0:1}const op={},Pi=(e,o)=>{op[`${e}/${o}`]||(op[`${e}/${o}`]=!0)},Xl=Error();function ip(e,o,{key:n}){let r=0;const s=e[n],d={},c={};for(let f=1;f<=o.length;f++)c[f+r]=s[f],d[f+r]=!0,r+=$f(o[f-1]);e[n]=c,e[n]._emit=d,e[n]._multi=!0}function e0(e){var o;(o=e).scope&&typeof o.scope=="object"&&o.scope!==null&&(o.beginScope=o.scope,delete o.scope),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),(n=>{if(Array.isArray(n.begin)){if(n.skip||n.excludeBegin||n.returnBegin||typeof n.beginScope!="object"||n.beginScope===null)throw Xl;ip(n,n.begin,{key:"beginScope"}),n.begin=tc(n.begin,{joinWith:""})}})(e),(n=>{if(Array.isArray(n.end)){if(n.skip||n.excludeEnd||n.returnEnd||typeof n.endScope!="object"||n.endScope===null)throw Xl;ip(n,n.end,{key:"endScope"}),n.end=tc(n.end,{joinWith:""})}})(e)}function t0(e){function o(s,d){return RegExp(Ir(s),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(d?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(d,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,d]),this.matchAt+=$f(d)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const d=this.regexes.map(c=>c[1]);this.matcherRe=o(tc(d,{joinWith:"|"}),!0),this.lastIndex=0}exec(d){this.matcherRe.lastIndex=this.lastIndex;const c=this.matcherRe.exec(d);if(!c)return null;const f=c.findIndex((p,v)=>v>0&&p!==void 0),h=this.matchIndexes[f];return c.splice(0,f),Object.assign(c,h)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(d){if(this.multiRegexes[d])return this.multiRegexes[d];const c=new n;return this.rules.slice(d).forEach(([f,h])=>c.addRule(f,h)),c.compile(),this.multiRegexes[d]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(d,c){this.rules.push([d,c]),c.type==="begin"&&this.count++}exec(d){const c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let f=c.exec(d);if(this.resumingScanAtSamePosition()&&(!f||f.index!==this.lastIndex)){const h=this.getMatcher(0);h.lastIndex=this.lastIndex+1,f=h.exec(d)}return f&&(this.regexIndex+=f.position+1,this.regexIndex===this.count&&this.considerAll()),f}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Lo(e.classNameAliases||{}),function s(d,c){const f=d;if(d.isCompiled)return f;[Yv,Kv,e0,$v].forEach(p=>p(d,c)),e.compilerExtensions.forEach(p=>p(d,c)),d.__beforeBegin=null,[Gv,qv,Xv].forEach(p=>p(d,c)),d.isCompiled=!0;let h=null;return typeof d.keywords=="object"&&d.keywords.$pattern&&(d.keywords=Object.assign({},d.keywords),h=d.keywords.$pattern,delete d.keywords.$pattern),h=h||/\w+/,d.keywords&&(d.keywords=np(d.keywords,e.case_insensitive)),f.keywordPatternRe=o(h,!0),c&&(d.begin||(d.begin=/\B|\b/),f.beginRe=o(f.begin),d.end||d.endsWithParent||(d.end=/\B|\b/),d.end&&(f.endRe=o(f.end)),f.terminatorEnd=Ir(f.end)||"",d.endsWithParent&&c.terminatorEnd&&(f.terminatorEnd+=(d.end?"|":"")+c.terminatorEnd)),d.illegal&&(f.illegalRe=o(d.illegal)),d.contains||(d.contains=[]),d.contains=[].concat(...d.contains.map(p=>{return(v=p==="self"?d:p).variants&&!v.cachedVariants&&(v.cachedVariants=v.variants.map(y=>Lo(v,{variants:null},y))),v.cachedVariants?v.cachedVariants:rp(v)?Lo(v,{starts:v.starts?Lo(v.starts):null}):Object.isFrozen(v)?Lo(v):v;var v})),d.contains.forEach(p=>{s(p,f)}),d.starts&&s(d.starts,c),f.matcher=(p=>{const v=new r;return p.contains.forEach(y=>v.addRule(y.begin,{rule:y,type:"begin"})),p.terminatorEnd&&v.addRule(p.terminatorEnd,{type:"end"}),p.illegal&&v.addRule(p.illegal,{type:"illegal"}),v})(f),f}(e)}function rp(e){return!!e&&(e.endsWithParent||rp(e.starts))}class n0 extends Error{constructor(o,n){super(o),this.name="HTMLInjectionError",this.html=n}}const oc=Gf,lp=Lo,ap=Symbol("nomatch"),sp=e=>{const o=Object.create(null),n=Object.create(null),r=[];let s=!0;const d="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let f={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Lv};function h(k){return f.noHighlightRe.test(k)}function p(k,M,N){let L="",w="";typeof M=="object"?(L=k,N=M.ignoreIllegals,w=M.language):(Pi("10.7.0","highlight(lang, code, ...args) has been deprecated."),Pi("10.7.0",`Please use highlight(code, options) instead. https://github.com/highlightjs/highlight.js/issues/2277`),w=k,L=M),N===void 0&&(N=!0);const F={code:L,language:w};T("before:highlight",F);const I=F.result?F.result:v(F.language,F.code,N);return I.code=F.code,T("after:highlight",I),I}function v(k,M,N,L){const w=Object.create(null);function F(){if(!Z.keywords)return ie.addText(ae);let ge=0;Z.keywordPatternRe.lastIndex=0;let Ae=Z.keywordPatternRe.exec(ae),qe="";for(;Ae;){qe+=ae.substring(ge,Ae.index);const Pe=K.case_insensitive?Ae[0].toLowerCase():Ae[0],Qe=(We=Pe,Z.keywords[We]);if(Qe){const[xt,Ve]=Qe;if(ie.addText(qe),qe="",w[Pe]=(w[Pe]||0)+1,w[Pe]<=7&&(re+=Ve),xt.startsWith("_"))qe+=Ae[0];else{const St=K.classNameAliases[xt]||xt;S(Ae[0],St)}}else qe+=Ae[0];ge=Z.keywordPatternRe.lastIndex,Ae=Z.keywordPatternRe.exec(ae)}var We;qe+=ae.substring(ge),ie.addText(qe)}function I(){Z.subLanguage!=null?(()=>{if(ae==="")return;let ge=null;if(typeof Z.subLanguage=="string"){if(!o[Z.subLanguage])return ie.addText(ae);ge=v(Z.subLanguage,ae,!0,ue[Z.subLanguage]),ue[Z.subLanguage]=ge._top}else ge=y(ae,Z.subLanguage.length?Z.subLanguage:null);Z.relevance>0&&(re+=ge.relevance),ie.__addSublanguage(ge._emitter,ge.language)})():F(),ae=""}function S(ge,Ae){ge!==""&&(ie.startScope(Ae),ie.addText(ge),ie.endScope())}function j(ge,Ae){let qe=1;const We=Ae.length-1;for(;qe<=We;){if(!ge._emit[qe]){qe++;continue}const Pe=K.classNameAliases[ge[qe]]||ge[qe],Qe=Ae[qe];Pe?S(Qe,Pe):(ae=Qe,F(),ae=""),qe++}}function A(ge,Ae){return ge.scope&&typeof ge.scope=="string"&&ie.openNode(K.classNameAliases[ge.scope]||ge.scope),ge.beginScope&&(ge.beginScope._wrap?(S(ae,K.classNameAliases[ge.beginScope._wrap]||ge.beginScope._wrap),ae=""):ge.beginScope._multi&&(j(ge.beginScope,Ae),ae="")),Z=Object.create(ge,{parent:{value:Z}}),Z}function O(ge,Ae,qe){let We=((Pe,Qe)=>{const xt=Pe&&Pe.exec(Qe);return xt&&xt.index===0})(ge.endRe,qe);if(We){if(ge["on:end"]){const Pe=new Yf(ge);ge["on:end"](Ae,Pe),Pe.isMatchIgnored&&(We=!1)}if(We){for(;ge.endsParent&&ge.parent;)ge=ge.parent;return ge}}if(ge.endsWithParent)return O(ge.parent,Ae,qe)}function B(ge){return Z.matcher.regexIndex===0?(ae+=ge[0],1):(Be=!0,0)}function H(ge){const Ae=ge[0],qe=M.substring(ge.index),We=O(Z,ge,qe);if(!We)return ap;const Pe=Z;Z.endScope&&Z.endScope._wrap?(I(),S(Ae,Z.endScope._wrap)):Z.endScope&&Z.endScope._multi?(I(),j(Z.endScope,ge)):Pe.skip?ae+=Ae:(Pe.returnEnd||Pe.excludeEnd||(ae+=Ae),I(),Pe.excludeEnd&&(ae=Ae));do Z.scope&&ie.closeNode(),Z.skip||Z.subLanguage||(re+=Z.relevance),Z=Z.parent;while(Z!==We.parent);return We.starts&&A(We.starts,ge),Pe.returnEnd?0:Ae.length}let U={};function W(ge,Ae){const qe=Ae&&Ae[0];if(ae+=ge,qe==null)return I(),0;if(U.type==="begin"&&Ae.type==="end"&&U.index===Ae.index&&qe===""){if(ae+=M.slice(Ae.index,Ae.index+1),!s){const We=Error(`0 width match regex (${k})`);throw We.languageName=k,We.badRule=U.rule,We}return 1}if(U=Ae,Ae.type==="begin")return(We=>{const Pe=We[0],Qe=We.rule,xt=new Yf(Qe),Ve=[Qe.__beforeBegin,Qe["on:begin"]];for(const St of Ve)if(St&&(St(We,xt),xt.isMatchIgnored))return B(Pe);return Qe.skip?ae+=Pe:(Qe.excludeBegin&&(ae+=Pe),I(),Qe.returnBegin||Qe.excludeBegin||(ae=Pe)),A(Qe,We),Qe.returnBegin?0:Pe.length})(Ae);if(Ae.type==="illegal"&&!N){const We=Error('Illegal lexeme "'+qe+'" for mode "'+(Z.scope||"")+'"');throw We.mode=Z,We}if(Ae.type==="end"){const We=H(Ae);if(We!==ap)return We}if(Ae.type==="illegal"&&qe==="")return 1;if(De>1e5&&De>3*Ae.index)throw Error("potential infinite loop, way more iterations than matches");return ae+=qe,qe.length}const K=b(k);if(!K)throw d.replace("{}",k),Error('Unknown language: "'+k+'"');const $=t0(K);let J="",Z=L||$;const ue={},ie=new f.__emitter(f);(()=>{const ge=[];for(let Ae=Z;Ae!==K;Ae=Ae.parent)Ae.scope&&ge.unshift(Ae.scope);ge.forEach(Ae=>ie.openNode(Ae))})();let ae="",re=0,pe=0,De=0,Be=!1;try{if(K.__emitTokens)K.__emitTokens(M,ie);else{for(Z.matcher.considerAll();;){De++,Be?Be=!1:Z.matcher.considerAll(),Z.matcher.lastIndex=pe;const ge=Z.matcher.exec(M);if(!ge)break;const Ae=W(M.substring(pe,ge.index),ge);pe=ge.index+Ae}W(M.substring(pe))}return ie.finalize(),J=ie.toHTML(),{language:k,value:J,relevance:re,illegal:!1,_emitter:ie,_top:Z}}catch(ge){if(ge.message&&ge.message.includes("Illegal"))return{language:k,value:oc(M),illegal:!0,relevance:0,_illegalBy:{message:ge.message,index:pe,context:M.slice(pe-100,pe+100),mode:ge.mode,resultSoFar:J},_emitter:ie};if(s)return{language:k,value:oc(M),illegal:!1,relevance:0,errorRaised:ge,_emitter:ie,_top:Z};throw ge}}function y(k,M){M=M||f.languages||Object.keys(o);const N=(j=>{const A={value:oc(j),illegal:!1,relevance:0,_top:c,_emitter:new f.__emitter(f)};return A._emitter.addText(j),A})(k),L=M.filter(b).filter(x).map(j=>v(j,k,!1));L.unshift(N);const w=L.sort((j,A)=>{if(j.relevance!==A.relevance)return A.relevance-j.relevance;if(j.language&&A.language){if(b(j.language).supersetOf===A.language)return 1;if(b(A.language).supersetOf===j.language)return-1}return 0}),[F,I]=w,S=F;return S.secondBest=I,S}function g(k){let M=null;const N=(F=>{let I=F.className+" ";I+=F.parentNode?F.parentNode.className:"";const S=f.languageDetectRe.exec(I);if(S){const j=b(S[1]);return j||d.replace("{}",S[1]),j?S[1]:"no-highlight"}return I.split(/\s+/).find(j=>h(j)||b(j))})(k);if(h(N)||(T("before:highlightElement",{el:k,language:N}),k.dataset.highlighted))return;if(k.children.length>0&&(f.ignoreUnescapedHTML,f.throwUnescapedHTML))throw new n0("One of your code blocks includes unescaped HTML.",k.innerHTML);M=k;const L=M.textContent,w=N?p(L,{language:N,ignoreIllegals:!0}):y(L);k.innerHTML=w.value,k.dataset.highlighted="yes",((F,I,S)=>{const j=I&&n[I]||S;F.classList.add("hljs"),F.classList.add("language-"+j)})(k,N,w.language),k.result={language:w.language,re:w.relevance,relevance:w.relevance},w.secondBest&&(k.secondBest={language:w.secondBest.language,relevance:w.secondBest.relevance}),T("after:highlightElement",{el:k,result:w,text:L})}let _=!1;function C(){document.readyState!=="loading"?document.querySelectorAll(f.cssSelector).forEach(g):_=!0}function b(k){return k=(k||"").toLowerCase(),o[k]||o[n[k]]}function E(k,{languageName:M}){typeof k=="string"&&(k=[k]),k.forEach(N=>{n[N.toLowerCase()]=M})}function x(k){const M=b(k);return M&&!M.disableAutodetect}function T(k,M){const N=k;r.forEach(L=>{L[N]&&L[N](M)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",()=>{_&&C()},!1),Object.assign(e,{highlight:p,highlightAuto:y,highlightAll:C,highlightElement:g,highlightBlock:k=>(Pi("10.7.0","highlightBlock will be removed entirely in v12.0"),Pi("10.7.0","Please use highlightElement now."),g(k)),configure:k=>{f=lp(f,k)},initHighlighting:()=>{C(),Pi("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:()=>{C(),Pi("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:(k,M)=>{let N=null;try{N=M(e)}catch(L){if("Language definition for '{}' could not be registered.".replace("{}",k),!s)throw L;N=c}N.name||(N.name=k),o[k]=N,N.rawDefinition=M.bind(null,e),N.aliases&&E(N.aliases,{languageName:k})},unregisterLanguage:k=>{delete o[k];for(const M of Object.keys(n))n[M]===k&&delete n[M]},listLanguages:()=>Object.keys(o),getLanguage:b,registerAliases:E,autoDetection:x,inherit:lp,addPlugin:k=>{var M;(M=k)["before:highlightBlock"]&&!M["before:highlightElement"]&&(M["before:highlightElement"]=N=>{M["before:highlightBlock"](Object.assign({block:N.el},N))}),M["after:highlightBlock"]&&!M["after:highlightElement"]&&(M["after:highlightElement"]=N=>{M["after:highlightBlock"](Object.assign({block:N.el},N))}),r.push(k)},removePlugin:k=>{const M=r.indexOf(k);M!==-1&&r.splice(M,1)}}),e.debugMode=()=>{s=!1},e.safeMode=()=>{s=!0},e.versionString="11.9.0",e.regex={concat:ei,lookahead:Xf,either:ec,optional:Pv,anyNumberOfTimes:Bv};for(const k in Kl)typeof Kl[k]=="object"&&Qf(Kl[k]);return Object.assign(e,Kl),e},Fr=sp({});Fr.newInstance=()=>sp({});var o0=e=>{const o=e.regex,n=o.concat(/[\p{L}_]/u,o.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},s={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},d=e.inherit(s,{begin:/\(/,end:/\)/}),c=e.inherit(e.APOS_STRING_MODE,{className:"string"}),f=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),h={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[s,f,c,d,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[s,d,f,c]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[f]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[h],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[h],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:o.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:h}]},{className:"tag",begin:o.concat(/<\//,o.lookahead(o.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}},i0=(()=>{const e="[A-Za-z$_][0-9A-Za-z$_]*",o=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],s=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],d=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],c=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],f=[].concat(d,r,s);return h=>{const p=h.regex,v=e,y={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(J,Z)=>{const ue=J[0].length+J.index,ie=J.input[ue];if(ie==="<"||ie===",")return void Z.ignoreMatch();let ae;ie===">"&&(((pe,{after:De})=>{const Be="",$={match:[/const|var|let/,/\s+/,v,/\s*/,/=\s*/,/(async\s*)?/,p.lookahead(K)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[S]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:g,exports:{PARAMS_CONTAINS:I,CLASS_REFERENCE:A},illegal:/#(?![$_A-z])/,contains:[h.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},h.APOS_STRING_MODE,h.QUOTE_STRING_MODE,T,k,M,N,L,{match:/\$\d+/},E,A,{className:"attr",begin:v+p.lookahead(":"),relevance:0},$,{begin:"("+h.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[L,h.REGEXP_MODE,{className:"function",begin:K,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:h.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:I}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:y.begin,"on:begin":y.isTrulyOpeningTag,end:y.end}],subLanguage:"xml",contains:[{begin:y.begin,end:y.end,skip:!0,contains:["self"]}]}]},O,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+h.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[S,h.inherit(h.TITLE_MODE,{begin:v,className:"title.function"})]},{match:/\.\.\./,relevance:0},U,{match:"\\$"+v,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[S]},B,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},j,W,{match:/\$[(.]/}]}}})();/*! `javascript` grammar compiled for Highlight.js 11.9.0 */const r0=et({name:"TypeSelect",inject:["designer"],computed:{t(){return this.designer.setupState.t},activeRule(){return this.designer.setupState.activeRule},customForm(){return this.designer.setupState.customForm},menus(){let e=[];const o=this.designer.setupState;if(this.activeRule){const n=this.activeRule._menu.name,r=o.getConfig("switchType",[]);if(r===!1)return e;let s=[];r.forEach(d=>{d.indexOf(n)>-1&&s.push(...d)}),s=s.filter((d,c)=>d!==n&&s.indexOf(d)===c),s.length?o.menuList.forEach(d=>{d.list.forEach(c=>{s.indexOf(c.name)>-1&&e.push(c)})}):o.menuList.forEach(d=>{d.name===this.activeRule._menu.menu&&d.list.forEach(c=>{c.name!==n&&e.push(c)})})}return e}},methods:{handleCommand(e){var o;let n=this.activeRule,r=this.activeRule;r._menu.inside||(r=r.__fc__.parent.rule);const s=r.__fc__.parent.rule.children,d=this.designer.setupState.makeRule(e);let c=d;d.type==="DragTool"&&(c=d.children[0]),c.field&&n.field?["title","info","field","validate","control","$required"].forEach(f=>{c[f]=n[f]}):(o=n==null?void 0:n.computed)!=null&&o.hidden&&(c.computed={hidden:n.computed.hidden}),n.name&&(c.name=n.name),["name","id","on"].forEach(f=>{n[f]&&(c[f]=n[f])}),s.splice(s.indexOf(r),1,d),this.$nextTick(()=>{this.designer.setupState.triggerActive(c)})}}}),l0={key:0,class:"fc-icon icon-down"},a0=ct(r0,[["render",function(e,o,n,r,s,d){const c=ce("el-tag"),f=ce("el-dropdown-item"),h=ce("el-dropdown-menu"),p=ce("el-dropdown");return oe(),Ie(p,{class:"_fd-type-select",trigger:"click",size:"default","popper-class":"_fd-type-select-pop",disabled:!e.menus.length,onCommand:e.handleCommand},{dropdown:q(()=>[X(h,null,{default:q(()=>[(oe(!0),me(Xe,null,bt(e.menus,v=>(oe(),Ie(f,{command:v,key:v.name},{default:q(()=>[ee("div",null,[ee("i",{class:ot(["fc-icon",v.icon||"icon-input"])},null,2),Re(be(e.t("com."+v.name+".name")||v.label),1)])]),_:2},1032,["command"]))),128))]),_:1})]),default:q(()=>[X(c,{type:"success",effect:"plain","disable-transitions":""},{default:q(()=>[e.activeRule?(oe(),me(Xe,{key:0},[Re(be(e.t("com."+e.activeRule._menu.name+".name")||e.activeRule._menu.label)+" ",1),e.menus.length?(oe(),me("i",l0)):Fe("",!0)],64)):(oe(),me(Xe,{key:1},[Re(be(e.t("com."+e.customForm.config.name+".name")||e.customForm.config.label||e.customForm.config.name),1)],64))]),_:1})]),_:1},8,["disabled","onCommand"])}]]),s0=["props"],c0=["class","style","directives"],u0=["on"],cp=(e,o={},n={})=>{const r=[...s0,...n.normal||[]],s=[...c0,...n.array||[]],d=[...u0,...n.functional||[]],c=n.props||[];return e.reduce((f,h)=>{for(const p in h)if(f[p])if(c.indexOf(p)>-1)f[p]=cp([h[p]],f[p]);else if(r.indexOf(p)>-1)f[p]={...f[p],...h[p]};else if(s.indexOf(p)>-1){const v=f[p]instanceof Array?f[p]:[f[p]],y=h[p]instanceof Array?h[p]:[h[p]];f[p]=[...v,...y]}else if(d.indexOf(p)>-1)for(const v in h[p])if(f[p][v]){const y=f[p][v]instanceof Array?f[p][v]:[f[p][v]],g=h[p][v]instanceof Array?h[p][v]:[h[p][v]];f[p][v]=[...y,...g]}else f[p][v]=h[p][v];else if(p==="hook")for(let v in h[p])f[p][v]?f[p][v]=d0(f[p][v],h[p][v]):f[p][v]=h[p][v];else f[p]=h[p];else r.indexOf(p)>-1||d.indexOf(p)>-1||c.indexOf(p)>-1?f[p]={...h[p]}:s.indexOf(p)>-1?f[p]=h[p]instanceof Array?[...h[p]]:typeof h[p]=="object"?{...h[p]}:h[p]:f[p]=h[p];return f},o)},d0=(e,o)=>function(){e&&e.apply(this,arguments),o&&o.apply(this,arguments)};Fr.registerLanguage("javascript",i0),Fr.registerLanguage("xml",o0);const f0=et({name:"FcDesigner",components:{TypeSelect:a0,fcDraggable:Js,DragForm:it.$form(),ViewForm:Ql.$form(),EventConfig:Wf},props:{menu:Array,height:[String,Number],config:{type:Object,default:()=>({})},mask:{type:Boolean,default:void 0},locale:Object,handle:Array},emits:["active","create","copy","delete","drag","inputData","save","clear"],setup(e){const{menu:o,height:n,mask:r,locale:s,handle:d}=gd(e),c=Ei(),f=Al({active:null});qa("fcx",f),qa("designer",c);const h=Mi(e,"config",{}),p=Mi(h.value,"baseRule",null),v=Mi(h.value,"componentRule",{}),y=Mi(h.value,"validateRule",null),g=Mi(h.value,"formRule",null),_=Mi(h.value,"updateDefaultRule",{}),C=nt(()=>{const A=n.value;return A?lt.Number(A)?`${A}px`:A:"100%"}),b=nt(()=>h.value.fieldReadonly!==!1),E=nt(()=>h.value.hiddenMenu||[]),x=nt(()=>h.value.hiddenItem||[]),T=nt(()=>h.value.hiddenDragMenu===!0),k=nt(()=>h.value.hiddenDragBtn===!0);let M=Zs;s.value&&(M=Za(s).t);const N=(...A)=>M(...A),L=(A,O,...B)=>{if(O){if(lt.Function(O))return O(...B);if(O.rule){let H=O.rule(...B);return O.prepend?H=[...H,...A(...B)]:O.append&&(H=[...A(...B),...H]),H}}return A(...B)},w=Al({cacheProps:{},operation:{idx:-1,list:[]},moveRule:null,addRule:null,added:null,bus:ag(),device:"pc",activeTab:"form",activeMenuTab:"menu",activeRule:null,children:mn([]),treeInfo:[],menuList:o.value||[{name:"main",title:"\u57FA\u7840\u7EC4\u4EF6",list:[]},{name:"subform",title:"\u5B50\u8868\u5355\u7EC4\u4EF6",list:[]},{name:"aide",title:"\u8F85\u52A9\u7EC4\u4EF6",list:[]},{name:"layout",title:"\u5E03\u5C40\u7EC4\u4EF6",list:[]}],dragRuleList:{},eventShow:!1,unloadStatus:!1,previewStatus:"form",t:N,preview:{state:!1,rule:[],option:{},api:{}},inputForm:{state:!1,rule:[],option:{},api:{},data:{},key:""},dragForm:mn({rule:[],api:{}}),formOptions:{},oldOptionsKeys:[],form:{rule:L(Kd,g.value,{t:N}),api:{},option:{global:{input:{modelEmit:"blur"},select:{props:{clearable:!0}}},form:{labelPosition:"top",size:"small"},submitBtn:!1},value:{form:{},submitBtn:!1}},baseForm:{isShow:!1,rule:L(Ar,p.value,{t:N}),api:{},value:{},options:{global:{input:{modelEmit:"blur"}},form:{labelPosition:"top",size:"small"},submitBtn:!1,mounted:A=>{A.activeRule=w.activeRule,A.setValue(A.options.formData||{})}}},styleForm:{isShow:!1,rule:[{type:"input",title:"ID",field:"id",wrap:{labelWidth:"45px"}},{type:"input",title:"Class",field:"class",wrap:{labelWidth:"45px"}},{type:"StyleConfig",field:"style",title:"",value:{}}],api:{},value:{},options:{form:{labelPosition:"left",size:"small"},submitBtn:!1,mounted:A=>{A.activeRule=w.activeRule,A.setValue(A.options.formData||{})}}},validateForm:{isShow:!1,rule:L(Xd,y.value,{t:N}),api:{},value:[],options:{global:{input:{modelEmit:"blur"}},form:{labelPosition:"top",size:"small"},submitBtn:!1,mounted:A=>{A.activeRule=w.activeRule,A.setValue(A.options.formData||{})}}},propsForm:{isShow:!1,rule:[],api:{},value:{},options:{global:{input:{modelEmit:"blur"},inputNumber:{props:{controlsPosition:"right"}}},form:{labelPosition:"top",size:"small"},submitBtn:!1,mounted:A=>{A.activeRule=w.activeRule,A.setValue(A.options.formData||{})}}},customForm:{isShow:!1,config:null,key:"",rule:[],api:{},options:{global:{input:{modelEmit:"blur"}},form:{labelPosition:"top",size:"small"},submitBtn:!1}}});yl(()=>w.preview.state,function(A){A||Nn(()=>{w.previewStatus="form",w.preview.rule=w.preview.option=null})});let F=null;const I=(A,O)=>{if(A[10]!==">"){if(!(A=A.replace("formCreate","")))return;A=Ja(A)}else A=A.replace("formCreate>","");const B=A.split(">"),H=B.pop();let U=w.activeRule;B.forEach((W,K)=>{K||(W=Ja(W)),U[W]||(U[W]={}),U=U[W]}),O({source:U,field:H})};yl(()=>s.value,A=>{M=A?Za(s).t:Zs;const O=w.form.api.formData&&w.form.api.formData(),B=w.baseForm.api.formData&&w.baseForm.api.formData(),H=w.validateForm.api.formData&&w.validateForm.api.formData();w.validateForm.rule=L(Xd,y.value,{t:N}),w.baseForm.rule=L(Ar,p.value,{t:N}),w.form.rule=L(Kd,g.value,{t:N}),w.cacheProps={};const U=w.activeRule;let W=null;U&&(W=w.propsForm.api.formData&&w.propsForm.api.formData(),w.propsForm.rule=w.cacheProps[U._fc_id]=S.getPropsRule(U)),Nn(()=>{O&&w.form.api.setValue(O),B&&w.baseForm.api.setValue(B),H&&w.validateForm.api.setValue(H),W&&w.propsForm.api.setValue(W)})});const S={unWatchActiveRule(){F&&F(),F=null},watchActiveRule(){S.unWatchActiveRule(),F=yl(()=>w.activeRule,function(A){A&&S.updateRuleFormData()},{deep:!0,flush:"post"})},makeChildren:A=>Al({children:A}).children,addMenu(A){if(!A.name||!A.list)return;let O=!0;w.menuList.forEach((B,H)=>{B.name===A.name&&(w.menuList[H]=A,O=!1)}),O&&w.menuList.push(A)},removeMenu(A){[...w.menuList].forEach((O,B)=>{O.name===A&&w.menuList.splice(B,1)})},setMenuItem(A,O){w.menuList.forEach(B=>{B.name===A&&(B.list=O)})},appendMenuItem(A,O){w.menuList.forEach(B=>{B.name===A&&B.list.push(...Array.isArray(O)?O:[O])})},removeMenuItem(A){w.menuList.forEach(O=>{let B;lt.String(A)?[...O.list].forEach((H,U)=>{H.name===A&&O.list.splice(U,1)}):(B=O.list.indexOf(A))>-1&&O.list.splice(B,1)})},addComponent(A){Array.isArray(A)?A.forEach(O=>{w.dragRuleList[O.name]=O,O.menu&&S.appendMenuItem(O.menu,O)}):(w.dragRuleList[A.name]=A,A.menu&&S.appendMenuItem(A.menu,A))},openInputData(A){w.inputForm.state=A===void 0?!w.inputForm.state:!!A,w.inputForm.state&&(w.inputForm.rule=it.parseJson(S.getJson()),w.inputForm.option=it.parseJson(S.getOptionsJson()),w.inputForm.option.formData=It(w.inputForm.data),w.inputForm.option.submitBtn.show=!1,w.inputForm.option.resetBtn.show=!1,S.clearActiveRule())},inputSave(){const A=w.inputForm.api.formData();Object.keys(A).forEach(B=>{ho(A[B])&&delete A[B]});const O=JSON.stringify(w.inputForm.data)!==JSON.stringify(A);w.inputForm.data=A,w.inputForm.state=!1,c.emit("inputData",A),O&&S.addOperationRecord()},inputClear(){S.inputReset({})},inputReset(A){w.inputForm.rule=it.parseJson(S.getJson()),w.inputForm.option.formData=A||It(w.inputForm.data),w.inputForm.key=tt()},setFormData(A){w.inputForm.data=A||{}},getFormData:()=>w.inputForm.data,getParent(A){let O=A.__fc__.parent.rule;const B=O._menu;return B&&B.inside&&(A=O,O=O.__fc__.parent.rule),{root:O,parent:A}},copyName(){ts(w.activeRule.name)},updateName(){this.activeRule.name="ref_"+tt()},makeDrag:(A,O,B,H,U)=>({type:"DragBox",wrap:{show:!1},col:{show:!1},inject:!0,props:{rule:{props:{tag:"el-col",group:A===!0?"default":A,ghostClass:"ghost",animation:150,handle:"._fd-drag-btn",emptyInsertThreshold:0,direction:"vertical",itemKey:"type"}},tag:O},children:B,slot:U,on:H}),clearDragRule(){S.setRule([]),S.addOperationRecord(),w.unloadStatus=!1,c.emit("clear")},makeDragRule:A=>S.makeChildren([S.makeDrag(!0,"draggable",A,{add:(O,B)=>S.dragAdd(A,B),end:(O,B)=>S.dragEnd(A,B),start:(O,B)=>S.dragStart(A,B),unchoose:(O,B)=>S.dragUnchoose(A,B)})]),handleSave(){c.emit("save",{rule:S.getJson(),options:S.getOptionsJson()})},openPreview(){w.preview.state=!0;const A=S.getJson(),O=S.getOptionsJson();w.preview.rule=it.parseJson(A),w.preview.option=it.parseJson(O);const B=S.getConfig("useTemplate",!1);w.preview.component=Fr.highlight(B?function(H,U){return`