asiaint-lowcode 2.0.5 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/README.md +31 -31
  2. package/dist/asiaint-lowcode.js +1 -1
  3. package/dist/asiaint-lowcode.umd.cjs +4 -4
  4. package/dist/index.d.ts +2 -0
  5. package/dist/lazy/{Card-gXUpA51w.js → Card-Br9_6h4Z.js} +6 -6
  6. package/dist/lazy/{Cascader-cH5Pk3Y5.js → Cascader-QU2iguK3.js} +1 -1
  7. package/dist/lazy/{Checkbox-Cfkogysi.js → Checkbox-CqO1-QlM.js} +2 -2
  8. package/dist/lazy/{Collapse-DC1sMjNg.js → Collapse-C8nFsrOL.js} +1 -1
  9. package/dist/lazy/{Component-DMcr5Ebm.js → Component-CV0LZLKE.js} +1 -1
  10. package/dist/lazy/{Component-MMhzp77Z.js → Component-DG-QKg64.js} +2 -2
  11. package/dist/lazy/{Component-Bh08VFNP.js → Component-DP7iB6BT.js} +2 -2
  12. package/dist/lazy/{Component-Dct2pbm6.js → Component-DwEwJ8x3.js} +1 -1
  13. package/dist/lazy/{Component-DuNyJqNi.js → Component-af_9m360.js} +1 -1
  14. package/dist/lazy/{Custom-Bn-Fh68v.js → Custom-Dk1Nr81h.js} +7 -7
  15. package/dist/lazy/{DatePicker-BLYThTnH.js → DatePicker-C_h8PGuz.js} +1 -1
  16. package/dist/lazy/{FormList-BeaKMdEN.js → FormList-ciHaSsZN.js} +1 -1
  17. package/dist/lazy/{Grid-Dx86zZUn.js → Grid-CZxpbowk.js} +1 -1
  18. package/dist/lazy/{Inline-BdAojok3.js → Inline-Bnp-p-3I.js} +2 -2
  19. package/dist/lazy/{JsonEdit-Dp2RIIv4.js → JsonEdit-B4yGMT6R.js} +3 -3
  20. package/dist/lazy/{ObjGroup-4pgTGOXY.js → ObjGroup-CipzGSLC.js} +1 -1
  21. package/dist/lazy/{Radio-CECCRbFp.js → Radio-C6gBFA3u.js} +2 -2
  22. package/dist/lazy/{SearchSelect-DQ4HwQku.js → SearchSelect-CbeuYE7W.js} +3 -3
  23. package/dist/lazy/{Select-DHrtf5Ih.js → Select-LDWGwp2E.js} +2 -2
  24. package/dist/lazy/{Tabs-xsrwMGpl.js → Tabs-BOvsls22.js} +1 -1
  25. package/dist/lazy/{TextArea-BCtFbmnZ.js → TextArea-D2Jmk5Mf.js} +1 -1
  26. package/dist/lazy/{index-YT73ZjWv.js → index-CqzCIPnG.js} +30 -28
  27. package/dist/lazy/{useSelect-Dg8lPeg6.js → useSelect-Czrzaha_.js} +1 -1
  28. package/dist/style.css +2 -2
  29. package/global.d.ts +10 -10
  30. package/package.json +36 -36
@@ -77,7 +77,7 @@ You passed in: '`+this.raw_options[r]+"'");return l},i.prototype._is_valid_selec
77
77
  `+g)}B&&(w?w=B+w+`
78
78
  `+s:w=B+s),_.print_newline(!1),w&&(I.text=w,I.whitespace_before="",I.newlines=0,_.add_raw_token(I),_.print_newline(!0))}},K.prototype._handle_tag_open=function(_,I,R,D,w){var C=this._get_tag_open_token(I);if((R.is_unformatted||R.is_content_unformatted)&&!R.is_empty_element&&I.type===r.TAG_OPEN&&!C.is_start_tag?(_.add_raw_token(I),C.start_tag_token=this._tag_stack.try_pop(C.tag_name)):(_.traverse_whitespace(I),this._set_tag_position(_,I,C,R,D),C.is_inline_element||_.set_wrap_point(),_.print_token(I)),C.is_start_tag&&this._is_wrap_attributes_force){var h=0,B;do B=w.peek(h),B.type===r.ATTRIBUTE&&(C.attr_count+=1),h+=1;while(B.type!==r.EOF&&B.type!==r.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(C.alignment_size=I.text.length+1),!C.tag_complete&&!C.is_unformatted&&(_.alignment_size=C.alignment_size),C};var j=function(_,I){if(this.parent=_||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!I)this.tag_complete=!0;else{var R;this.tag_start_char=I.text[0],this.text=I.text,this.tag_start_char==="<"?(R=I.text.match(/^<([^\s>]*)/),this.tag_check=R?R[1]:""):(R=I.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=R?R[1]:"",(I.text.startsWith("{{#>")||I.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&I.next!==null?this.tag_check=I.next.text.split(" ")[0]:this.tag_check=I.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),I.type===r.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||I.closed&&I.closed.text==="/>";var D=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(D=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(D)))}};K.prototype._get_tag_open_token=function(_){var I=new j(this._tag_stack.get_parser_token(),_);return I.alignment_size=this._options.wrap_attributes_indent_size,I.is_end_tag=I.is_end_tag||f(I.tag_check,this._options.void_elements),I.is_empty_element=I.tag_complete||I.is_start_tag&&I.is_end_tag,I.is_unformatted=!I.tag_complete&&f(I.tag_check,this._options.unformatted),I.is_content_unformatted=!I.is_empty_element&&f(I.tag_check,this._options.content_unformatted),I.is_inline_element=f(I.tag_name,this._options.inline)||this._options.inline_custom_elements&&I.tag_name.includes("-")||I.tag_start_char==="{",I},K.prototype._set_tag_position=function(_,I,R,D,w){if(R.is_empty_element||(R.is_end_tag?R.start_tag_token=this._tag_stack.try_pop(R.tag_name):(this._do_optional_end_element(R)&&(R.is_inline_element||_.print_newline(!1)),this._tag_stack.record_tag(R),(R.tag_name==="script"||R.tag_name==="style")&&!(R.is_unformatted||R.is_content_unformatted)&&(R.custom_beautifier_name=S(R.tag_check,I)))),f(R.tag_check,this._options.extra_liners)&&(_.print_newline(!1),_._output.just_added_blankline()||_.print_newline(!0)),R.is_empty_element){if(R.tag_start_char==="{"&&R.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),R.indent_content=!0;var C=_.current_line_has_match(/{{#if/);C||_.print_newline(!1)}R.tag_name==="!--"&&w.type===r.TAG_CLOSE&&D.is_end_tag&&R.text.indexOf(`
79
79
  `)===-1||(R.is_inline_element||R.is_unformatted||_.print_newline(!1),this._calcluate_parent_multiline(_,R))}else if(R.is_end_tag){var h=!1;h=R.start_tag_token&&R.start_tag_token.multiline_content,h=h||!R.is_inline_element&&!(D.is_inline_element||D.is_unformatted)&&!(w.type===r.TAG_CLOSE&&R.start_tag_token===D)&&w.type!=="TK_CONTENT",(R.is_content_unformatted||R.is_unformatted)&&(h=!1),h&&_.print_newline(!1)}else R.indent_content=!R.custom_beautifier_name,R.tag_start_char==="<"&&(R.tag_name==="html"?R.indent_content=this._options.indent_inner_html:R.tag_name==="head"?R.indent_content=this._options.indent_head_inner_html:R.tag_name==="body"&&(R.indent_content=this._options.indent_body_inner_html)),!(R.is_inline_element||R.is_unformatted)&&(w.type!=="TK_CONTENT"||R.is_content_unformatted)&&_.print_newline(!1),this._calcluate_parent_multiline(_,R)},K.prototype._calcluate_parent_multiline=function(_,I){I.parent&&_._output.just_added_newline()&&!((I.is_inline_element||I.is_unformatted)&&I.parent.is_inline_element)&&(I.parent.multiline_content=!0)};var Y=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],U=["a","audio","del","ins","map","noscript","video"];return K.prototype._do_optional_end_element=function(_){var I=null;if(!(_.is_empty_element||!_.is_start_tag||!_.parent)){if(_.tag_name==="body")I=I||this._tag_stack.try_pop("head");else if(_.tag_name==="li")I=I||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(_.tag_name==="dd"||_.tag_name==="dt")I=I||this._tag_stack.try_pop("dt",["dl"]),I=I||this._tag_stack.try_pop("dd",["dl"]);else if(_.parent.tag_name==="p"&&Y.indexOf(_.tag_name)!==-1){var R=_.parent.parent;(!R||U.indexOf(R.tag_name)===-1)&&(I=I||this._tag_stack.try_pop("p"))}else _.tag_name==="rp"||_.tag_name==="rt"?(I=I||this._tag_stack.try_pop("rt",["ruby","rtc"]),I=I||this._tag_stack.try_pop("rp",["ruby","rtc"])):_.tag_name==="optgroup"?I=I||this._tag_stack.try_pop("optgroup",["select"]):_.tag_name==="option"?I=I||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):_.tag_name==="colgroup"?I=I||this._tag_stack.try_pop("caption",["table"]):_.tag_name==="thead"?(I=I||this._tag_stack.try_pop("caption",["table"]),I=I||this._tag_stack.try_pop("colgroup",["table"])):_.tag_name==="tbody"||_.tag_name==="tfoot"?(I=I||this._tag_stack.try_pop("caption",["table"]),I=I||this._tag_stack.try_pop("colgroup",["table"]),I=I||this._tag_stack.try_pop("thead",["table"]),I=I||this._tag_stack.try_pop("tbody",["table"])):_.tag_name==="tr"?(I=I||this._tag_stack.try_pop("caption",["table"]),I=I||this._tag_stack.try_pop("colgroup",["table"]),I=I||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(_.tag_name==="th"||_.tag_name==="td")&&(I=I||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),I=I||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return _.parent=this._tag_stack.get_parser_token(),I}},ca.Beautifier=K,ca}var yc;function ip(){if(yc)return ds.exports;yc=1;var i=np().Beautifier,A=fc().Options;function e(r,m,b,l){var y=new i(r,m,b,l);return y.beautify()}return ds.exports=e,ds.exports.defaultOptions=function(){return new A},ds.exports}var vc;function op(){if(vc)return go;vc=1;var i=Ap(),A=tp(),e=ip();function r(m,b,l,y){return l=l||i,y=y||A,e(m,b,l,y)}return r.defaultOptions=e.defaultOptions,go.js=i,go.css=A,go.html=r,go}(function(i){function A(e,r,m){var b=function(l,y){return e.js_beautify(l,y)};return b.js=e.js_beautify,b.css=r.css_beautify,b.html=m.html_beautify,b.js_beautify=e.js_beautify,b.css_beautify=r.css_beautify,b.html_beautify=m.html_beautify,b}(function(e){var r=op();r.js_beautify=r.js,r.css_beautify=r.css,r.html_beautify=r.html,e.exports=A(r,r,r)})(i)})(qg);var sp=qg.exports,rp=jC(sp),kc=function(){function i(A){var e=this;this.isDisabled=function(){var r=["BUTTON","COMMAND","FIELDSET","KEYGEN","OPTGROUP","OPTION","SELECT","TEXTAREA","INPUT"],m=e.attributes().disabled!==void 0,b=ao(e.element)&&r.includes(e.element.tagName);return m&&b},this.wrapperElement=A}return Object.defineProperty(i.prototype,"element",{get:function(){return this.wrapperElement},enumerable:!1,configurable:!0}),i.prototype.findAllDOMElements=function(A){var e=this.getRootNodes().filter(ao);if(e.length===0)return[];var r=Rg([],e.filter(function(m){return m.matches(A)}));return e.forEach(function(m){r.push.apply(r,Array.from(m.querySelectorAll(A)))}),r},i.prototype.find=function(A){if(typeof A=="object"&&"ref"in A){var e=this.getCurrentComponent();if(!e)return Kn("DOMWrapper");var r=e.refs[A.ref];return Array.isArray(r)&&(r=r.length?r[0]:void 0),r instanceof Node?lo(r):Kn("DOMWrapper")}var m=this.findAll(A);return m.length>0?m[0]:Kn("DOMWrapper")},i.prototype.findComponent=function(A){var e=this.getCurrentComponent();if(!e)return Kn("VueWrapper");if(typeof A=="object"&&"ref"in A){var r=e.refs[A.ref];return Array.isArray(r)&&(r=r.length?r[0]:void 0),r&&!(r instanceof HTMLElement)?Zr(null,r):Kn("VueWrapper")}if(zg(e.vnode,A)&&this.element.contains(e.vnode.el))return Zr(null,e.subTree.component?e.subTree.component.proxy:e.proxy);var m=this.findAllComponents(A)[0];return m??Kn("VueWrapper")},i.prototype.findAllComponents=function(A){var e=this.getCurrentComponent();if(!e)return[];var r=$C(e.subTree,A);return r.map(function(m){return m.proxy?Zr(null,m.proxy):lo(m.vnode.el)})},i.prototype.html=function(A){var e=this.getRootNodes().map(function(r){return WC(r)});return A!=null&&A.raw?e.join(""):e.map(function(r){return rp.html(r,{unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_size:2,inline_custom_elements:!1})}).join(`
80
- `)},i.prototype.classes=function(A){var e=ao(this.element)?Array.from(this.element.classList):[];return A?e.includes(A):e},i.prototype.attributes=function(A){var e={};if(ao(this.element))for(var r=Array.from(this.element.attributes),m=0,b=r;m<b.length;m++){var l=b[m];e[l.localName]=l.value}return A?e[A]:e},i.prototype.text=function(){return this.getRootNodes().map(yC).join("")},i.prototype.exists=function(){return!0},i.prototype.get=function(A){var e=this.find(A);if(e.exists())return e;throw new Error("Unable to get ".concat(A," within: ").concat(this.html()))},i.prototype.getComponent=function(A){var e=this.findComponent(A);if(e.exists())return e;var r="Unable to get ";throw typeof A=="string"?r+="component with selector ".concat(A):"name"in A?r+="component with name ".concat(A.name):"ref"in A?r+="component with ref ".concat(A.ref):r+="specified component",r+=" within: ".concat(this.html()),new Error(r)},i.prototype.isVisible=function(){return ao(this.element)&&Wg(this.element)},i.prototype.trigger=function(A,e){return Or(this,void 0,void 0,function(){var r;return Jr(this,function(m){if(e&&e.target)throw Error("[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html");return this.element&&!this.isDisabled()&&(r=HC(A,e),r._vts=Date.now()+1,this.element.dispatchEvent(r)),[2,c.nextTick()]})})},i}(),ap=function(i){Ng(A,i);function A(e){var r=this;return e?(r=i.call(this,e)||this,Gg.plugins.DOMWrapper.extend(r),r):Kn("DOMWrapper")}return A.prototype.getRootNodes=function(){return[this.wrapperElement]},A.prototype.getCurrentComponent=function(){for(var e,r=this.element.__vueParentComponent;((e=r==null?void 0:r.parent)===null||e===void 0?void 0:e.vnode.el)===this.element;)r=r.parent;return r},A.prototype.find=function(e){var r=i.prototype.find.call(this,e);return r.exists()&&_C(e)?this.element.contains(r.element)?r:Kn("DOMWrapper"):r},A.prototype.findAll=function(e){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(e),lo):[]},A.prototype.findAllComponents=function(e){var r=this,m=i.prototype.findAllComponents.call(this,e);return m.filter(function(b){return r.element.contains(b.element)})},A.prototype.setChecked=function(){return Or(this,arguments,void 0,function(e){var r,m;return e===void 0&&(e=!0),Jr(this,function(b){if(r=this.element,m=this.attributes().type,m==="radio"&&!e)throw Error(`wrapper.setChecked() cannot be called with parameter false on a '<input type="radio" /> element.`);return e===r.checked?[2]:(r.checked=e,this.trigger("input"),[2,this.trigger("change")])})})},A.prototype.setValue=function(e){var r=this.element,m=r.tagName,b=this.attributes().type;if(m==="OPTION")return this.setSelected(),Promise.resolve();if(m==="INPUT"&&b==="checkbox")return this.setChecked(e);if(m==="INPUT"&&b==="radio")return this.setChecked(e);if(m==="SELECT"){if(Array.isArray(e))for(var l=r,y=0;y<l.options.length;y++){var S=l.options[y];S.selected=e.includes(S.value)}else r.value=e;return this.trigger("input"),this.trigger("change")}else{if(m==="INPUT"||m==="TEXTAREA")return r.value=e,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(m))}},A.prototype.setSelected=function(){var e=this.element;if(!e.selected){e.selected=!0;var r=e.parentElement;r.tagName==="OPTGROUP"&&(r=r.parentElement);var m=new A(r);return m.trigger("input"),m.trigger("change")}},A}(kc);jg(ki.DOMWrapper,function(i){return new ap(i)});function Bs(i){if(i.shapeFlag&1)return[i.el];if(i.shapeFlag&6){var A=i.component.subTree;return Bs(A)}else{if(i.shapeFlag&128)return Bs(i.suspense.activeBranch);if(i.shapeFlag&72){var e=[i.el];if(i.anchor)for(var r=e[0].nextSibling;r&&r.previousSibling!==i.anchor;)e.push(r),r=r.nextSibling;return e}else if(i.shapeFlag&16){var m=i.children.flat();return m.flatMap(function(b){return Bs(b)}).filter(kC)}}return[]}var ii={};function lp(i,A){var e=i.$.uid,r=ii[e]||{};return A?r?r[A]:void 0:r}var gp=function(i,A,e){for(var r=i;typeof(r==null?void 0:r.type)=="function";)r=r.parent;var m=r.uid;m in ii||(ii[m]={}),A in ii[m]||(ii[m][A]=[]),ii[m][A].push(e)},cp=function(i){var A=i.$.uid;delete ii[A]};function up(i,A){return new Proxy(i,{get:function(e,r,m){return e.$.exposed&&e.$.exposeProxy&&r in e.$.exposeProxy?Reflect.get(e.$.exposeProxy,r,m):r in A?Reflect.get(A,r,m):r in e.$.appContext.config.globalProperties?Reflect.get(e.$.appContext.config.globalProperties,r,m):e.$.ctx[r]},set:function(e,r,m,b){return r in A?Reflect.set(A,r,m,b):Reflect.set(e,r,m,b)},has:function(e,r){return Reflect.has(A,r)||Reflect.has(e,r)},defineProperty:function(e,r,m){return r in A?Reflect.defineProperty(A,r,m):Reflect.defineProperty(e,r,m)},getOwnPropertyDescriptor:function(e,r){return r in A?Reflect.getOwnPropertyDescriptor(A,r):Reflect.getOwnPropertyDescriptor(e,r)},deleteProperty:function(e,r){return r in A?Reflect.deleteProperty(A,r):Reflect.deleteProperty(e,r)}})}var dp=function(i){Ng(A,i);function A(e,r,m){var b=i.call(this,r==null?void 0:r.$el)||this;return b.cleanUpCallbacks=[],b.__app=e,b.rootVM=r==null?void 0:r.$root,MC(r)?b.componentVM=up(r,r.$.setupState):b.componentVM=r,b.__setProps=m,b.attachNativeEventListener(),Gg.plugins.VueWrapper.extend(b),b}return Object.defineProperty(A.prototype,"hasMultipleRoots",{get:function(){var e=function(r){var m;if(r.shapeFlag===16)return!0;if(r.shapeFlag&4||r.shapeFlag&2){if(!((m=r.component)===null||m===void 0)&&m.subTree)return e(r.component.subTree);if(r.shapeFlag&16)return!0}return!1};return e(this.vm.$.subTree)},enumerable:!1,configurable:!0}),A.prototype.getRootNodes=function(){return Bs(this.vm.$.vnode)},Object.defineProperty(A.prototype,"parentElement",{get:function(){return this.vm.$el.parentElement},enumerable:!1,configurable:!0}),A.prototype.getCurrentComponent=function(){return this.vm.$},A.prototype.exists=function(){return!this.getCurrentComponent().isUnmounted},A.prototype.findAll=function(e){return this.findAllDOMElements(e).map(lo)},A.prototype.attachNativeEventListener=function(){var e=this.vm;if(e){var r=e.$options.emits?Array.isArray(e.$options.emits)?e.$options.emits:Object.keys(e.$options.emits):[],m=this.getRootNodes().filter(function(G){return G instanceof Element});if(m.length===1)for(var b=m[0],l=function(G){if(r.includes(G))return"continue";var K=function(){for(var j=[],Y=0;Y<arguments.length;Y++)j[Y]=arguments[Y];gp(e.$,G,j)};b.addEventListener(G,K),y.cleanUpCallbacks.push(function(){b.removeEventListener(G,K)})},y=this,S=0,f=Object.keys(Pg);S<f.length;S++){var x=f[S];l(x)}}},Object.defineProperty(A.prototype,"element",{get:function(){return this.hasMultipleRoots?this.parentElement:this.vm.$el},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"vm",{get:function(){return this.componentVM},enumerable:!1,configurable:!0}),A.prototype.props=function(e){var r=this.componentVM.$props;return e?r[e]:r},A.prototype.emitted=function(e){return lp(this.vm,e)},A.prototype.isVisible=function(){var e=lo(this.element);return e.isVisible()},A.prototype.setData=function(e){return Hg(this.componentVM.$data,e),c.nextTick()},A.prototype.setProps=function(e){if(this.vm.$parent!==this.rootVM||!this.__setProps)throw Error("You can only use setProps on your mounted component");return this.__setProps(e),c.nextTick()},A.prototype.setValue=function(e,r){var m=r||"modelValue";return this.vm.$emit("update:".concat(m),e),this.vm.$nextTick()},A.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");cp(this.vm),this.cleanUpCallbacks.forEach(function(e){return e()}),this.cleanUpCallbacks=[],this.__app.unmount()},A}(kc);jg(ki.VueWrapper,function(i,A,e){return new dp(i,A,e)});var hp={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};c.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var i=this,A,e,r=c.computed(function(){return hp}),m=(e=(A=this.$slots)===null||A===void 0?void 0:A.default)===null||e===void 0?void 0:e.call(A,{route:r,href:c.computed(function(){return r.value.href}),isActive:c.computed(function(){return!1}),isExactActive:c.computed(function(){return!1}),navigate:function(){return Or(i,void 0,void 0,function(){return Jr(this,function(b){return[2]})})}});return this.custom?m:c.h("a",void 0,m)}}),typeof setImmediate=="function"&&setImmediate;const uo=Symbol(),_c=Symbol(),Mc=Symbol(),Sc={zh:{menus:{basicTitle:"基础组件",highTitle:"高级组件",layoutTitle:"布局组件",assistTitle:"辅助组件",useTemplateBtn:"使用模板"},actions:{previewJson:"生成JSON Schema",previewVueCode:"生成VUE代码",previewForm:"预览表单",clear:"清空",save:"保存"},canvas:{emptyTip:"请从左侧拖拽字段来组成表单",wrapperEmptyTip:"请拖入子字段"},attr:{tab1:{title:"字段配置",emptyTip:"未选中字段",linkage:{text:"联动",action1:"配置联动",action2:"数据联动"}},tab2:{title:"表单设置"}}},en:{menus:{basicTitle:"Basic Fields",highTitle:"High Basic Fields",layoutTitle:"Layout Fields",assistTitle:"Assist Fields",useTemplateBtn:"Use Template"},actions:{previewJson:"Preview JSON Script",previewVueCode:"Generate VUE code",previewForm:"Preview Form",clear:"Clear",save:"Save"},canvas:{emptyTip:"Please drag and drop fields from the left to form a form",wrapperEmptyTip:"Please drag in a subfield"},attr:{tab1:{title:"Field Configuration",emptyTip:"No field selected",linkage:{text:"Linkage",action1:"Configuration Item Linkage",action2:"Value Linkage"}},tab2:{title:"Form Settings"}}}},Cs=[{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"FormList",hidden:'{{$values.props.mode!=="static"}}',children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"value",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'},{label:"是否禁用",name:"disabled",component:"Switch",designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{component:"Title",props:{title:"请求",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"url",component:"Input",name:"props.api.url",initialValue:"https://apifoxmock.com/m1/5213940-4880280-default/options/test",designKey:"form-UrE8"},{label:"请求方式",component:"Select",name:"props.api.method",initialValue:"GET",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{component:"Title",props:{title:"响应",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"},{label:"标签key",component:"Input",name:"props.labelKey",initialValue:"label",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",initialValue:"value",designKey:"form-STkl"},{label:"禁用Key",component:"Input",name:"props.disabledKey",initialValue:"disabled",designKey:"form-STkl2"}]}],Bp=[{name:"addB2b",schema:{labelWidth:150,labelPosition:"top",size:"default",scrollToError:!0,items:[{props:{title:"Basic Information",type:"h3",italic:!1},hideLabel:!0,component:"Title",designKey:"design-HvAF",name:"form-95DJ",hidden:!1},{props:{columns:1,columnGap:20,rowGap:20},component:"Grid",designKey:"design-rbQd",name:"form-n2CG",children:[{component:"Input",designKey:"design-OrTD",name:"companyName",label:"Company Name",props:{placeholder:""},required:!0}]},{props:{columns:3,columnGap:20,rowGap:20},component:"Grid",designKey:"design-qjn5",name:"form-OKLN",children:[{component:"Input",designKey:"design-1RWu",name:"status",label:"Status",props:{placeholder:""},required:!0},{component:"Input",designKey:"design-EkEJ",name:"shortName",label:"Short Name",props:{placeholder:""}},{component:"SearchInput",designKey:"design-e0wN",name:"segment",label:"Segment",props:{placeholder:""}},{label:"Company Type",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-qEnj",name:"companyType",required:!0},{label:"Missing KOB number Reason",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-hG6w",name:"form-N6hN",required:!0},{component:"Input",designKey:"design-JtbY",name:"kobNumber",label:"KOB Number",props:{placeholder:""}},{label:"Employee Number Range",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-onze",name:"enr"},{component:"Input",designKey:"design-r2BA",name:"eq",label:"Employee Quantity",props:{placeholder:""}},{component:"Input",designKey:"design-3rwV",name:"postCode",label:"Postcode",props:{placeholder:""},required:!0},{label:"Category",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-pWTp",name:"category"},{label:"Subsegment",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-4ew9",name:"subsegment"},{component:"Input",designKey:"design-IWXo",name:"rc",label:"Registered Capital",props:{placeholder:""}},{component:"Input",designKey:"design-wof2",name:"cvrNo",label:"CVR No.",props:{placeholder:""}},{label:"Preferred Language",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-Nzpd",name:"preferredL"},{component:"Input",designKey:"design-tLOd",name:"cp",label:"Customer Password",props:{placeholder:""}},{label:"Credit Level",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-a0Lk",name:"creditLevel"},{component:"Input",designKey:"design-fSNI",name:"creditLimit",label:"Credit Limit",props:{placeholder:""}},{label:"Stop Payment Fee",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-mEmC",name:"spf"}]},{component:"Input",designKey:"design-lJM5",name:"website",label:"Website",props:{placeholder:"",style:{width:"62%"}}},{component:"TextArea",designKey:"design-skC4",name:"remarks",label:"Remarks",props:{placeholder:"请输入...",autosize:{minRows:4,maxRows:999}}}]},id:"addB2b"},{name:"自增组件",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"增添管理员",name:"vip",component:"Switch",props:{"inline-prompt":!1},designKey:"design-kVO2111",change:[{target:"users.*.vip",condition:"{{ $values.vip }}",value:1}]},{label:"增添用户",component:"FormList",children:[{label:"用户名",component:"Input",props:{placeholder:""},designKey:"design-M91n",name:"username",change:[{target:"users.[].vip",condition:'{{ $item.username.includes("admin") }}',value:1}]},{label:"密码",component:"Input",props:{placeholder:"请输入密码"},designKey:"design-kVO2",name:"password"},{label:"设为管理员",component:"Switch",designKey:"design-jC1O",name:"vip",props:{"inline-prompt":!1,"active-value":1,"inactive-value":0}}],props:{mode:"table"},designKey:"design-pMUa",name:"users"}]},id:"formList"},{name:"值联动",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"字段1",component:"Input",props:{placeholder:"请输入..."},designKey:"form-NASi",name:"item1",change:[{target:"item2",value:"{{$values.item1 * 2}}"},{target:"item3",value:"{{$values.item1 + '元'}}"}]},{label:"字段2",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Nasd",name:"item2"},{label:"字段3",component:"Input",props:{placeholder:"请输入..."},designKey:"form-KI1N",name:"item3"}]},id:"valueLinkage"}],Cp="vfc",ke=(i="")=>`${Cp}-${i}`,da=(i,A)=>i.reduce((e,r)=>{if(r.designKey===A)return r;if(r.children){const m=da(r.children,A);if(m)return m}return e},null),xc=(i,A)=>i.map(e=>e.designKey===A.designKey?A:e.children?{...e,children:xc(e.children,A)}:e),Fc=i=>i.map(A=>{const e={...$e.cloneDeep(A),designKey:`form-${Pn(4)}`,name:Pn(8)};return A.children&&(e.children=Fc(A.children)),e}),Nc=(i,A)=>i.reduce((e,r)=>{var m;if(r.children?e.push({...r,children:Nc(r.children,A)}):e.push(r),r.designKey===A){const b={...$e.cloneDeep(r),designKey:`form-${Pn(4)}`,name:`${r.name}-${Pn(2)}`};r.children&&(b.children=Fc(r.children)),r.label&&!((m=b.label)!=null&&m.includes("copy"))&&(b.label=b.label+" copy"),e.push(b)}return e},[]),Rc=i=>i.map(A=>{if(!A.render)return A;const e={component:A.component,designKey:A.designKey||`design-${Pn(4)}`,name:A.name||`form-${Pn(4)}`};return A.children&&(e.children=Rc(A.children)),e}),ot=()=>{const i=c.reactive({schema:{items:[]},schemaContext:{},design:!1,footer:!1,read:!1,pageRulePath:"",formValues:{},selectData:{},initialValues:{},context:{},vCodePass:!1,updateFormValues:()=>{},updateSelectData:()=>{},updateInitialValues:()=>{},updateVCodePass:()=>{},validate:()=>Promise.reject(),resetFields:()=>{},submit:()=>{}});return c.inject(_c,i)},pp=()=>{const{request:i}=c.inject(uo);return i},ho=i=>{const A=ot(),e=pp(),r=c.ref([]),m=c.ref(!1),b=$e.debounce(async()=>{if(!e||!i.api)return;const{url:y,method:S,params:f,dataPath:x}=i.api;m.value=!0;try{const G=await e({url:y,method:S,params:S==="GET"?f:{},data:S==="POST"?f:{}}),j=(ro(G,x)||[]).map(Y=>$e.isPlainObject(Y)?Y:{label:Y,value:Y});r.value=[...r.value,...j]}finally{m.value=!1}},300);return c.onMounted(()=>{const{mode:y,options:S=[]}=i;y==="static"&&(r.value=S),y==="remote"&&b()}),c.watch(()=>i.api,(y,S)=>{$e.isEqual(y,S)||(r.value=[],b())}),c.watch(()=>i.options,(y=[])=>{i.mode==="static"&&(r.value=y)}),c.watch(()=>i.mode,y=>{y==="static"&&(r.value=i.options||[]),y==="remote"&&(r.value=[],b())}),{selectChange:y=>{const{valueKey:S="value",multiple:f,name:x}=i;let G={};f&&Array.isArray(y)?G=r.value.filter(K=>y.includes(K[S])):G=r.value.find(K=>K[S]===y)||{},A.selectData&&x&&A.updateSelectData(x,G)},currentOptions:r,loading:m,fetchData:b}};function ha(){const i=c.inject(uo),A=c.inject("asiaint-lang",c.ref("zh"));return i!=null&&i.lang?c.ref(i.lang):A}function Un(){const i=ha();return c.computed(()=>Sc[(i==null?void 0:i.value)||"en"])}const ee=(i,A)=>{const e=i.__vccOpts||i;for(const[r,m]of A)e[r]=m;return e},Qp={},Ep={t:"1703839194022",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5912",width:"200",height:"200"};function Ip(i,A){return c.openBlock(),c.createElementBlock("svg",Ep,A[0]||(A[0]=[c.createElementVNode("path",{d:"M426.666667 426.666667H85.546667A85.418667 85.418667 0 0 0 0 512c0 47.445333 38.314667 85.333333 85.546667 85.333333H426.666667v341.12c0 47.274667 38.186667 85.546667 85.333333 85.546667 47.445333 0 85.333333-38.314667 85.333333-85.546667V597.333333h341.12A85.418667 85.418667 0 0 0 1024 512c0-47.445333-38.314667-85.333333-85.546667-85.333333H597.333333V85.546667A85.418667 85.418667 0 0 0 512 0c-47.445333 0-85.333333 38.314667-85.333333 85.546667V426.666667z","p-id":"5913"},null,-1)]))}const mp=Object.freeze(Object.defineProperty({__proto__:null,default:ee(Qp,[["render",Ip]])},Symbol.toStringTag,{value:"Module"})),fp={},wp={t:"1704896187350",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5332",width:"200",height:"200"};function Dp(i,A){return c.openBlock(),c.createElementBlock("svg",wp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M512 958.016611c-245.919634 0-446.016611-200.064292-446.016611-446.016611 0-245.919634 200.095256-446.016611 446.016611-446.016611 245.952318 0 446.016611 200.064292 446.016611 446.016611S757.952318 958.016611 512 958.016611zM512 129.983389c-210.655557 0-382.016611 171.359333-382.016611 382.016611 0 210.624593 171.359333 382.016611 382.016611 382.016611 210.624593 0 382.016611-171.359333 382.016611-382.016611S722.624593 129.983389 512 129.983389z","p-id":"5333"},null,-1),c.createElementVNode("path",{d:"M463.99957 304.00043c0 26.509985 21.490445 48.00043 48.00043 48.00043s48.00043-21.490445 48.00043-48.00043-21.490445-48.00043-48.00043-48.00043S463.99957 277.490445 463.99957 304.00043z","p-id":"5334"},null,-1),c.createElementVNode("path",{d:"M512 768c-17.664722 0-32.00086-14.303454-32.00086-32.00086L479.99914 448c0-17.664722 14.336138-32.00086 32.00086-32.00086s32.00086 14.336138 32.00086 32.00086l0 287.99914C544.00086 753.696546 529.664722 768 512 768z","p-id":"5335"},null,-1)]))}const bp=Object.freeze(Object.defineProperty({__proto__:null,default:ee(fp,[["render",Dp]])},Symbol.toStringTag,{value:"Module"})),yp={},vp={t:"1704360061247",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4770",width:"200",height:"200"};function kp(i,A){return c.openBlock(),c.createElementBlock("svg",vp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M329.4 460.5c10-2.3 16.3-12.2 14.1-22.3-4.7-21.1-5.5-42.7-2.1-64.3 14.6-94.2 103.1-159.1 197.4-144.5 22.2 3.4 43.2 11 62.3 22.4 8.9 5.3 20.3 2.4 25.5-6.4 5.3-8.8 2.4-20.3-6.4-25.6-23.3-13.9-48.7-23.1-75.7-27.3-114.5-17.7-222.2 61-239.9 175.6-4 26.2-3.2 52.5 2.6 78.2 1.9 8.7 9.6 14.6 18.2 14.6 1.3 0.1 2.7-0.1 4-0.4z","p-id":"4771"},null,-1),c.createElementVNode("path",{d:"M847.9 599.4c0-26.6-10.5-50.1-28-66.4 17.6-40.7 27.5-85.5 27.5-132.7 0-184.8-150.3-335.1-335.1-335.1S177.2 215.5 177.2 400.3c0 110.7 54.1 208.8 137 269.9 0.6 3.3 1.3 6.6 2.3 9.9 3.2 10.8 7.5 20.4 13 28.8 30.1 45.8 64.1 97.7 97.9 148.3 34.2 51.2 83.8 83.1 147.2 94.7 8 1.4 15.3 2.4 22.3 3.3 3.4 0.5 6.8 0.9 10.2 1.4 2.7 0.4 5.3 0.6 8 0.6h37.8c3 0 6-0.2 8.9-0.7 3.3-0.5 6.7-1.1 10-1.6 5.7-0.9 11.5-1.8 17.2-2.8 80.2-13.8 140.7-74.1 154.3-153.7 2.8-15.9 4.2-32 4.3-47.7 0.2-59.7 0.2-67.2 0.2-91.4 0.1-12.3 0.1-29.1 0.1-59.9z m-614.8-199c0-154.2 125-279.2 279.3-279.2 154.2 0 279.2 125 279.2 279.2 0 39.1-8.2 76.3-22.7 110.1-2.6-0.2-5.2-0.4-7.9-0.4-8.1 0-16 1.1-23.5 3.2-8.7-8.2-19.1-14.7-30.8-18.7-1.9-0.6-3.9-1.2-5.8-1.7 9.2-18.6 15.9-38.8 19.2-60.4 7.2-46.4-1-92.7-23.7-133.7-5-9-16.3-12.3-25.3-7.3-9 5-12.3 16.3-7.3 25.3 18.7 33.8 25.4 71.8 19.5 110-3.7 24.1-12.4 46.2-24.7 65.5-1.1 0.3-2.3 0.4-3.3 0.7-7.7-7-16.9-12.8-27.4-17.3-8-4.2-17-6.5-26.2-6.5h-1.9v-65c0-45.4-30.1-80.6-75-87.7-4.2-0.7-8.4-1-12.5-1-43.9 0-82.4 35.3-85.9 78.6-0.4 5.6-0.4 10.2-0.4 14V550c-17.4-10-33.1-22.9-46.2-38.6-6.6-7.9-18.3-8.9-26.2-2.3-7.9 6.6-8.9 18.3-2.3 26.2 9.1 10.9 19.3 20.6 30.2 29.3-22.6 5.8-42.5 20.2-54.8 40.5-0.5 0.8-0.8 1.6-1.3 2.4-56.8-51.1-92.3-125-92.3-207.1z m558.8 350.2c0 12.8-1.3 25.9-3.5 38.6-9.6 56.2-52.1 98.3-108.5 108-8.9 1.5-17.8 2.8-26.8 4.3h-37.8c-10.1-1.5-20.4-2.6-30.5-4.4-46.5-8.5-84.3-31-110.8-70.7-32.8-49.2-65.3-98.5-97.7-147.9-2.7-4.2-4.7-9-6.1-13.8-6.1-20.9 6.2-42.4 26.8-46.4 3-0.6 5.9-0.9 8.6-0.9 12.5 0 23.1 5.6 31.3 16.2 13.6 17.6 26.4 35.7 39.6 53.6l4.2 5.7c0.3-0.2 0.7-0.3 1.1-0.4v-5-279.2c0-3.2 0-6.3 0.2-9.5 1.2-14.7 15.6-27.2 30.2-27.2 1.3 0 2.6 0.1 3.9 0.3 17.4 2.7 27.8 14.8 27.8 32.5 0 49.7 0 132.9 0.1 182.6 0 2.6 0.2 5.3 0.9 7.7 1.3 4 4.3 6.2 8.6 6.5h0.9c4.1 0 7.2-2.1 8.8-5.7 1-2.3 1.1-5.1 1.1-7.7v-22.5-6.6c0-11.2 3.8-21 13.3-27.6 3.5-2.4 7.7-3.9 11.6-5.8h12.6c0.5 0.3 0.8 0.7 1.3 0.9 16.3 5.6 23.9 16.2 23.9 33.4v22.2-16.4 22.2c0 1.6-0.1 3.2 0.1 4.7 0.7 5.4 4.8 8.9 10 8.9h1c5.5-0.5 8.7-4.2 9-11.1v-0.2-1.2-10.6c0.2-7.3 2-14.2 6.7-20.2 6.2-7.8 15.2-12.1 24.6-12.1 3.4 0 6.9 0.6 10.2 1.7 12.9 4.4 21.2 17 21.2 31.9v28c0 1.9 0 3.9 0.2 5.8 0.6 5.1 3.9 7.7 8.6 8.6 0.5 0.1 1 0.1 1.5 0.1 3.7 0 7.7-2.6 8.9-6.3 0.8-2.4 1-5.1 1-7.7V602v11.3s0.1-3.4 0.1-13.2c0-5.4 1-11.3 3.2-16.3 4.7-11.1 16-17.8 27.7-17.8 2.2 0 4.3 0.2 6.4 0.7 15.1 3.3 24.6 16.1 24.6 32.7 0 90.3 0.1 60.8-0.1 151.2z","p-id":"4772"},null,-1)]))}const _p=Object.freeze(Object.defineProperty({__proto__:null,default:ee(yp,[["render",kp]])},Symbol.toStringTag,{value:"Module"})),Mp={},Sp={t:"1703055882491",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9224",width:"200",height:"200"};function xp(i,A){return c.openBlock(),c.createElementBlock("svg",Sp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),c.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),c.createElementVNode("path",{d:"M1001.946877 876.979182H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053123V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v685.852118c0 12.49677-9.556353 22.053123-22.053123 22.053123zM44.106246 832.872936h935.787508V191.127064H44.106246v641.745872z","p-id":"9227"},null,-1),c.createElementVNode("path",{d:"M1001.946877 410.923187H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053122V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v219.796124c0 12.49677-9.556353 22.053123-22.053123 22.053122zM44.106246 366.816942h935.787508V191.127064H44.106246v175.689878z","p-id":"9228"},null,-1)]))}const Fp=Object.freeze(Object.defineProperty({__proto__:null,default:ee(Mp,[["render",xp]])},Symbol.toStringTag,{value:"Module"})),Np={},Rp={t:"1703599079424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7208",width:"200",height:"200"};function Lp(i,A){return c.openBlock(),c.createElementBlock("svg",Rp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M938.666667 86.186667v298.666666H85.333333v-298.666666h853.333334m85.333333-85.333334H0v469.333334h1024v-469.333334zM938.666667 681.813333v256H510.933333v-256H938.666667m85.333333-85.333333H425.6v426.666667H1024v-426.666667z","p-id":"7209"},null,-1),c.createElementVNode("path",{d:"M484.693333 863.36h-140.586666c-103.68 0-188.16-70.186667-188.16-156.373333V402.986667h85.333333v304c0 38.613333 47.146667 71.04 102.826667 71.04h140.586666v85.333333z","p-id":"7210"},null,-1)]))}const Gp=Object.freeze(Object.defineProperty({__proto__:null,default:ee(Np,[["render",Lp]])},Symbol.toStringTag,{value:"Module"})),Hp={},Pp={t:"1703597650364",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6020",width:"200",height:"200"};function Kp(i,A){return c.openBlock(),c.createElementBlock("svg",Pp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M732.09344 341.98528c-12.544-12.45184-32.82944-12.31872-45.24544 0.256L453.56544 578.048 350.30528 471.936c-12.35456-12.70272-32.60928-12.928-45.25056-0.64-12.672 12.31872-12.95872 32.60928-0.64 45.25056l126.01856 129.50528c0.06144 0.09728 0.19456 0.09728 0.256 0.18944 0.06656 0.06656 0.09728 0.18944 0.15872 0.256 2.01728 1.98656 4.51072 3.2 6.88128 4.54656 1.24928 0.67072 2.24256 1.792 3.52256 2.304 3.87072 1.60256 8.00256 2.40128 12.09856 2.40128 4.06016 0 8.12544-0.79872 11.96544-2.33472 1.24928-0.51712 2.20672-1.54112 3.39456-2.18112 2.40128-1.34144 4.89472-2.52416 6.94272-4.54144 0.06656-0.06656 0.09728-0.19456 0.19456-0.26112 0.06656-0.09728 0.15872-0.12288 0.256-0.18944l256.22528-259.00544C744.77056 374.68672 744.64256 354.432 732.09344 341.98528zM832 928l-640 0c-52.92544 0-96-43.06944-96-96l0-640c0-52.92544 43.07456-96 96-96l640 0c52.93056 0 96 43.07456 96 96l0 640C928 884.93056 884.93056 928 832 928zM192 160c-17.63328 0-32 14.36672-32 32l0 640c0 17.664 14.36672 32 32 32l640 0c17.664 0 32-14.336 32-32l0-640c0-17.63328-14.336-32-32-32L192 160z","p-id":"6021"},null,-1)]))}const Up=Object.freeze(Object.defineProperty({__proto__:null,default:ee(Hp,[["render",Kp]])},Symbol.toStringTag,{value:"Module"})),Yp={},Tp={t:"1708504426013",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3921",width:"200",height:"200"};function Op(i,A){return c.openBlock(),c.createElementBlock("svg",Tp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M774.4 246.4c-6.4-6.4-16-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6l-67.2 67.2c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l44.8-44.8 44.8 44.8c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-67.2-67.2z","p-id":"3922"},null,-1),c.createElementVNode("path",{d:"M896 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-12.8 32-32 32H160c-19.2 0-32-16-32-32V480h768v320z m0-384H128V224c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v192z","p-id":"3923"},null,-1)]))}const Jp=Object.freeze(Object.defineProperty({__proto__:null,default:ee(Yp,[["render",Op]])},Symbol.toStringTag,{value:"Module"})),$p={},Zp={t:"1703684587275",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7454",width:"200",height:"200"};function zp(i,A){return c.openBlock(),c.createElementBlock("svg",Zp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M512 0a512 512 0 0 0 0 1024c180.224 0-110.592-204.8 204.8-204.8a302.08 302.08 0 0 0 307.2-307.2A512 512 0 0 0 512 0zM179.2 486.4A76.8 76.8 0 1 1 256 409.6a76.8 76.8 0 0 1-76.8 76.8zM358.4 307.2a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 358.4 307.2z m307.2 0a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 665.6 307.2z m179.2 179.2A76.8 76.8 0 1 1 921.6 409.6a76.8 76.8 0 0 1-76.8 76.8z","p-id":"7455"},null,-1)]))}const Wp=Object.freeze(Object.defineProperty({__proto__:null,default:ee($p,[["render",zp]])},Symbol.toStringTag,{value:"Module"})),jp={},qp={t:"1705762520936",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4258",width:"200",height:"200"};function Xp(i,A){return c.openBlock(),c.createElementBlock("svg",qp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M661.333333 234.666667A64 64 0 0 1 725.333333 298.666667v597.333333a64 64 0 0 1-64 64h-469.333333A64 64 0 0 1 128 896V298.666667a64 64 0 0 1 64-64z m-21.333333 85.333333H213.333333v554.666667h426.666667v-554.666667z m191.829333-256a64 64 0 0 1 63.744 57.856l0.256 6.144v575.701333a42.666667 42.666667 0 0 1-85.034666 4.992l-0.298667-4.992V149.333333H384a42.666667 42.666667 0 0 1-42.368-37.674666L341.333333 106.666667a42.666667 42.666667 0 0 1 37.674667-42.368L384 64h447.829333z","p-id":"4259"},null,-1)]))}const Vp=Object.freeze(Object.defineProperty({__proto__:null,default:ee(jp,[["render",Xp]])},Symbol.toStringTag,{value:"Module"})),AQ={},eQ={t:"1705910453717",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8006",width:"200",height:"200"};function tQ(i,A){return c.openBlock(),c.createElementBlock("svg",eQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M972.09863 1016.986301H259.506849c-19.638356 0-35.068493-15.430137-35.068493-35.068493V768.70137c-8.416438 5.610959-18.235616 9.819178-28.054794 12.624657h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082191 7.013698 1.40274 0 2.805479 1.40274 4.20822 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l2.805479 1.40274V269.326027c0-19.638356 15.430137-35.068493 35.068493-35.068493h228.646576l-4.20822-8.416438c-7.013699-11.221918-12.624658-22.443836-15.430137-35.068493v-1.40274c-4.208219-12.624658-5.610959-26.652055-5.610958-39.276712C462.90411 72.942466 526.027397 11.221918 601.775342 11.221918c77.150685 0 138.871233 63.123288 138.871233 138.871233 0 14.027397-2.805479 28.054795-7.013698 42.082191 0 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479 7.013699-5.610959 14.027397-8.416438 19.638356l-7.013699 16.832877h255.29863c19.638356 0 35.068493 15.430137 35.068493 35.068493v314.213698c0 11.221918-5.610959 22.443836-15.430137 29.457535-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L897.753425 587.747945c-1.40274 0-1.40274-1.40274-2.80548-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610958h-1.402739c-7.013699-2.805479-14.027397-2.805479-21.041096-2.80548-37.873973 0-68.734247 30.860274-68.734247 68.734247s30.860274 68.734247 68.734247 68.734246c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479l53.304109-25.249315c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274s16.832877 18.235616 16.832876 29.457534V981.917808c0 19.638356-15.430137 35.068493-35.068493 35.068493z m-677.523288-70.136986h642.454795v-182.356164h-1.40274c-11.221918 7.013699-22.443836 12.624658-35.068493 16.832876h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082192 7.013698 1.40274 0 2.805479 1.40274 4.208219 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l9.819178 4.208219v-224.438356H662.093151c-11.221918 0-22.443836-5.610959-29.457535-15.430137-7.013699-9.819178-7.013699-22.443836-2.805479-33.665753l29.457534-67.331507c0-1.40274 1.40274-1.40274 1.40274-2.805479 1.40274-2.805479 4.208219-7.013699 5.610959-11.221918v-1.40274c2.805479-7.013699 2.805479-14.027397 2.805479-21.041096 0-37.873973-30.860274-68.734247-68.734246-68.734246s-68.734247 30.860274-68.734247 68.734246c0 7.013699 1.40274 14.027397 2.80548 19.638356 1.40274 7.013699 5.610959 12.624658 8.416438 18.235617 1.40274 1.40274 1.40274 2.805479 2.805479 4.208219l28.054795 60.317808c5.610959 11.221918 4.208219 23.846575-1.40274 33.665754s-18.235616 16.832877-29.457534 16.832876H294.575342v274.936987c0 11.221918-5.610959 22.443836-15.430137 29.457534-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L192.175342 589.150685c-1.40274 0-1.40274-1.40274-2.805479-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610959h-1.40274c-7.013699-2.805479-14.027397-2.805479-21.041095-2.805479-37.873973 0-68.734247 30.860274-68.734247 68.734246s30.860274 68.734247 68.734247 68.734247c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.208219-2.805479l46.290411-22.443836c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274 9.819178 7.013699 16.832877 18.235616 16.832876 29.457534v235.660274z","p-id":"8007"},null,-1)]))}const nQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(AQ,[["render",tQ]])},Symbol.toStringTag,{value:"Module"})),iQ={},oQ={t:"1704941224194",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4108",width:"200",height:"200"};function sQ(i,A){return c.openBlock(),c.createElementBlock("svg",oQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M531.76 474.6c-35.2 0-22 43.92-65.92 52.72l-13.2 4.4c-22 4.4-26.4 4.4-26.4 22s8.8 22 17.6 22h52.72v145.04c0 22 4.4 35.12 26.4 35.12s26.4-17.6 26.4-35.12V501c0-22-8.8-26.4-17.6-26.4zM360.4 329.56h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 8.8 17.6 22 17.6z m285.68 0h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 13.2 17.6 22 17.6z m0 0","p-id":"4109"},null,-1),c.createElementVNode("path",{d:"M769.12 232.92H712v39.52h57.12c26.4 0 48.32 22 48.32 48.32v43.92H197.76v-43.92c0-26.4 22-48.32 48.32-48.32h57.12v-39.52h-52.72c-52.72 0-92.32 43.92-92.32 92.32v426.32c0 48.32 39.52 92.32 92.32 92.32h523.04c48.32 0 92.32-39.52 92.32-92.32v-426.4c-4.4-48.32-44-92.24-96.72-92.24z m0 566.96H250.48c-26.4 0-48.32-22-48.32-48.32V408.68h619.68v338.4c0 30.8-21.92 52.8-52.72 52.8z m0 0","p-id":"4110"},null,-1),c.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const rQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(iQ,[["render",sQ]])},Symbol.toStringTag,{value:"Module"})),aQ={},lQ={t:"1703838633965",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5029",width:"200",height:"200"};function gQ(i,A){return c.openBlock(),c.createElementBlock("svg",lQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M607.897867 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L575.903242 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 351.94087C639.892491 753.593818 625.61532 768.043004 607.897867 768.043004z","p-id":"5030"},null,-1),c.createElementVNode("path",{d:"M415.930119 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L383.935495 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625 17.717453 0 31.994625 14.277171 31.994625 31.994625l0 351.94087C447.924744 753.593818 433.647573 768.043004 415.930119 768.043004z","p-id":"5031"},null,-1),c.createElementVNode("path",{d:"M928.016126 223.962372l-159.973123 0L768.043004 159.973123c0-52.980346-42.659499-95.983874-95.295817-95.983874L351.94087 63.989249c-52.980346 0-95.983874 43.003528-95.983874 95.983874l0 63.989249-159.973123 0c-17.717453 0-31.994625 14.277171-31.994625 31.994625s14.277171 31.994625 31.994625 31.994625l832.032253 0c17.717453 0 31.994625-14.277171 31.994625-31.994625S945.73358 223.962372 928.016126 223.962372zM319.946246 159.973123c0-17.545439 14.449185-31.994625 31.994625-31.994625l320.806316 0c17.545439 0 31.306568 14.105157 31.306568 31.994625l0 63.989249L319.946246 223.962372 319.946246 159.973123 319.946246 159.973123z","p-id":"5032"},null,-1),c.createElementVNode("path",{d:"M736.048379 960.010751 288.123635 960.010751c-52.980346 0-95.983874-43.003528-95.983874-95.983874L192.139761 383.591466c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 480.435411c0 17.717453 14.449185 31.994625 31.994625 31.994625l448.096758 0c17.717453 0 31.994625-14.277171 31.994625-31.994625L768.215018 384.795565c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 479.231312C832.032253 916.835209 789.028725 960.010751 736.048379 960.010751z","p-id":"5033"},null,-1)]))}const cQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(aQ,[["render",gQ]])},Symbol.toStringTag,{value:"Module"})),uQ={},dQ={t:"1704174941122",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9227",width:"200",height:"200"};function hQ(i,A){return c.openBlock(),c.createElementBlock("svg",dQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M324.266667 472.177778L136.533333 284.444444 284.444444 136.533333l187.733334 187.733334L512 284.444444 284.444444 56.888889 56.888889 284.444444l227.555555 227.555556zM699.733333 551.822222l187.733334 187.733334-147.911111 147.911111-187.733334-187.733334-39.822222 39.822223 227.555556 227.555555 227.555555-227.555555-227.555555-227.555556z","p-id":"9228"},null,-1),c.createElementVNode("path",{d:"M170.382222 327.224889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM281.941333 444.017778l-40.220444-40.220445L346.339556 299.235556l40.220444 40.220444zM579.982222 736.824889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM653.937778 810.780444l104.561778-104.561777 40.220444 40.220444-104.561778 104.561778z","p-id":"9229"},null,-1),c.createElementVNode("path",{d:"M739.555556 136.533333L887.466667 284.444444 284.444444 887.466667 136.533333 739.555556 739.555556 136.533333M739.555556 56.888889L56.888889 739.555556l227.555555 227.555555L967.111111 284.444444l-227.555555-227.555555z","p-id":"9230"},null,-1),c.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),c.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const BQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(uQ,[["render",hQ]])},Symbol.toStringTag,{value:"Module"})),CQ={},pQ={t:"1706709803104",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5147",width:"200",height:"200"};function QQ(i,A){return c.openBlock(),c.createElementBlock("svg",pQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const EQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(CQ,[["render",QQ]])},Symbol.toStringTag,{value:"Module"})),IQ={},mQ={t:"1704175176472",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10353",width:"200",height:"200"};function fQ(i,A){return c.openBlock(),c.createElementBlock("svg",mQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M288 320h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM288 544h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM544 704H288a32 32 0 0 0 0 64h256a32 32 0 0 0 0-64z","p-id":"10354"},null,-1),c.createElementVNode("path",{d:"M896 132.928C896 77.28 851.552 32 796.928 32H227.04C172.448 32 128 77.28 128 132.928v758.144C128 946.72 172.448 992 227.04 992h435.008c1.568 0 2.912-0.672 4.416-0.896 8.96 1.6 18.464-0.256 25.984-6.528l192-160a31.424 31.424 0 0 0 10.816-27.2c0.16-1.184 0.736-2.208 0.736-3.424V132.928zM192 891.072V132.928C192 112.576 207.712 96 227.04 96h569.888C816.288 96 832 112.576 832 132.928V736h-96a96 96 0 0 0-96 96v96H227.04C207.712 928 192 911.424 192 891.072zM814.016 800L704 891.68V832a32 32 0 0 1 32-32h78.016z","p-id":"10355"},null,-1)]))}const wQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(IQ,[["render",fQ]])},Symbol.toStringTag,{value:"Module"})),DQ={},bQ={t:"1741155821098",class:"icon",viewBox:"0 0 1706 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6419",width:"200",height:"200"};function yQ(i,A){return c.openBlock(),c.createElementBlock("svg",bQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M0 174.933333L175.786667 0 853.333333 674.133333 1530.88 0 1706.666667 174.933333 853.333333 1024z","p-id":"6420"},null,-1)]))}const vQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(DQ,[["render",yQ]])},Symbol.toStringTag,{value:"Module"})),kQ={},_Q={t:"1729359107481",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3906",width:"200",height:"200"};function MQ(i,A){return c.openBlock(),c.createElementBlock("svg",_Q,A[0]||(A[0]=[c.createElementVNode("path",{d:"M721.493333 171.989333c51.114667-6.506667 101.909333 11.52 136.448 46.570667 67.2 68.202667 69.589333 184.746667-9.088 267.946667a562.773333 562.773333 0 0 1-37.098666 35.52c-10.517333 9.301333-44.992 38.336-47.829334 40.789333C704.746667 613.802667 682.666667 649.322667 682.666667 710.698667c0 69.418667 51.626667 112.042667 163.242666 128.746666a21.333333 21.333333 0 1 1-6.314666 42.197334C709.333333 862.165333 640 804.906667 640 710.698667c0-76.202667 28.416-121.898667 96.064-180.202667 3.2-2.752 37.376-31.552 47.466667-40.448a521.237333 521.237333 0 0 0 34.346666-32.853333c62.72-66.346667 60.885333-156.714667 9.685334-208.682667a119.146667 119.146667 0 0 0-62.570667-33.024l16 16c16.64 16.64 17.322667 42.986667 1.408 58.901333l-445.653333 445.653334c-7.936 7.936-23.082667 16.746667-34.218667 19.797333l-143.701333 39.253333c-21.909333 5.973333-35.114667-7.104-29.568-28.949333l37.269333-146.794667c2.773333-10.944 11.541333-26.325333 19.370667-34.154666l445.653333-445.653334c15.872-15.872 42.133333-15.36 58.901333 1.429334l31.04 31.018666zM216.064 615.36c-2.901333 2.901333-8.106667 12.096-9.109333 16.042667l-29.141334 114.773333 111.957334-30.592c4.437333-1.216 13.653333-6.528 16.810666-9.706667l445.653334-445.653333-90.517334-90.496-445.653333 445.653333z m414.08-414.058667l90.496 90.517334-30.165333 30.165333-90.517334-90.496 30.165334-30.186667z m-362.048 362.026667l90.496 90.538667-30.165333 30.165333-90.517334-90.517333 30.186667-30.165334z","p-id":"3907"},null,-1)]))}const SQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(kQ,[["render",MQ]])},Symbol.toStringTag,{value:"Module"})),xQ={},FQ={t:"1728140261623",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8124",width:"200",height:"200"};function NQ(i,A){return c.openBlock(),c.createElementBlock("svg",FQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M185.856 258.2016L117.3504 189.7984c-48.2816-48.2816 24.1152-120.6784 72.3968-72.3968l86.3744 86.3232A554.6496 554.6496 0 0 1 460.8 155.7504L460.8 153.6V102.4a51.2 51.2 0 1 1 102.4 0v53.3504c66.6624 5.7344 129.3312 22.4768 184.6272 47.9744l86.3744-86.3232a51.2 51.2 0 0 1 72.3968 72.3968l-68.4032 68.4032C921.088 322.56 972.8 411.6992 972.8 512c0 201.6768-208.9984 358.4-460.8 358.4s-460.8-156.7232-460.8-358.4c0-100.3008 51.712-189.44 134.656-253.7984zM512 768c200.6016 0 358.4-118.3232 358.4-256s-157.7984-256-358.4-256-358.4 118.3232-358.4 256 157.7984 256 358.4 256z m0-51.2a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6z m0-102.4a102.4 102.4 0 1 0 0-204.8 102.4 102.4 0 0 0 0 204.8z","p-id":"8125"},null,-1)]))}const RQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(xQ,[["render",NQ]])},Symbol.toStringTag,{value:"Module"})),LQ={},GQ={t:"1703055779128",class:"icon",viewBox:"0 0 1139 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8193",width:"200",height:"200"};function HQ(i,A){return c.openBlock(),c.createElementBlock("svg",GQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M0.244023 394.046187h317.658598v258.092532H0.244023z m403.879057 344.881835h329.198v284.421871H404.12308z m0-344.719308h329.198v258.092532H404.12308z m415.824776 344.719308H1137.931508v284.421871h-317.658599z m-820.028887 0h317.658599v284.421871H0.244023z m0-738.928022h1137.687485v307.581938h-1137.687485z m820.35394 394.046187H1137.931508v258.092532h-317.658599z","p-id":"8194"},null,-1)]))}const PQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(LQ,[["render",HQ]])},Symbol.toStringTag,{value:"Module"})),KQ={},UQ={t:"1704175538573",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"17151",width:"200",height:"200"};function YQ(i,A){return c.openBlock(),c.createElementBlock("svg",UQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M511.542857 14.057143C228.914286 13.942857 0 242.742857 0 525.142857 0 748.457143 143.2 938.285714 342.628571 1008c26.857143 6.742857 22.742857-12.342857 22.742858-25.371429v-88.571428c-155.085714 18.171429-161.371429-84.457143-171.771429-101.6C172.571429 756.571429 122.857143 747.428571 137.714286 730.285714c35.314286-18.171429 71.314286 4.571429 113.028571 66.171429 30.171429 44.685714 89.028571 37.142857 118.857143 29.714286 6.514286-26.857143 20.457143-50.857143 39.657143-69.485715-160.685714-28.8-227.657143-126.857143-227.657143-243.428571 0-56.571429 18.628571-108.571429 55.2-150.514286-23.314286-69.142857 2.171429-128.342857 5.6-137.142857 66.4-5.942857 135.428571 47.542857 140.8 51.771429 37.714286-10.171429 80.8-15.542857 129.028571-15.542858 48.457143 0 91.657143 5.6 129.714286 15.885715 12.914286-9.828571 76.914286-55.771429 138.628572-50.171429 3.314286 8.8 28.228571 66.628571 6.285714 134.857143 37.028571 42.057143 55.885714 94.514286 55.885714 151.2 0 116.8-67.428571 214.971429-228.571428 243.314286a145.714286 145.714286 0 0 1 43.542857 104v128.571428c0.914286 10.285714 0 20.457143 17.142857 20.457143 202.4-68.228571 348.114286-259.428571 348.114286-484.685714 0-282.514286-229.028571-511.2-511.428572-511.2z","p-id":"17152"},null,-1)]))}const TQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(KQ,[["render",YQ]])},Symbol.toStringTag,{value:"Module"})),OQ={},JQ={t:"1705649491640",class:"icon",viewBox:"0 0 1371 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6157",width:"200",height:"200"};function $Q(i,A){return c.openBlock(),c.createElementBlock("svg",JQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M1052.91381327 223.61256508h-165.52399247V800.42054084h165.5306138c11.42161264 0 21.14819137-4.03894707 29.26581204-12.07049191 8.07789413-8.07789413 12.13008315-17.75812433 12.13008387-29.1333884V264.81644539c0-11.36864273-4.05218974-21.08197883-12.12346254-29.13338767-8.12424271-8.05803016-17.85082147-12.09697724-29.27243337-12.09697724v0.02648459z m-248.29592034-0.0264846h-248.29592034v576.80135445h248.29592034V223.57945916zM473.55666605 800.38743492V223.57945916h-165.5306138c-11.42161264 0-21.14819137 4.03894707-29.26581206 12.10359856-8.06465149 8.0447875-12.13008315 17.75812433-12.13008315 29.13338767v494.38697248c0 11.37526406 4.06543166 21.05549423 12.12346183 29.1333884 8.12424271 8.03154558 17.85082147 12.07049265 29.27243338 12.07049192h165.5306138v-0.02648459zM308.01943164 141.21142578h744.90100296c34.23835189 0 63.51078599 12.07049265 87.76433096 36.21809854C1164.93831125 201.57050889 1177.06177308 230.70389656 1177.06177308 264.81644539v494.39359381c0 34.08606424-12.12346182 63.24593648-36.37700752 87.37367914-24.25354569 24.13436323-53.52597908 36.20485588-87.76433096 36.20485588H308.01943164c-34.23835189 0-63.52402793-12.07049265-87.76433167-36.20485588C196.00155426 822.45597643 183.87809244 793.29610344 183.87809244 759.2100392V264.81644539C183.87809244 230.70389656 196.00155426 201.57050889 220.25509997 177.42952433 244.48878167 153.28191843 273.78107903 141.21142578 308.02605225 141.21142578z","p-id":"6158"},null,-1)]))}const ZQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(OQ,[["render",$Q]])},Symbol.toStringTag,{value:"Module"})),zQ={},WQ={t:"1708311321522",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function jQ(i,A){return c.openBlock(),c.createElementBlock("svg",WQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M511.998 16.512c-273.649 0-495.482 221.837-495.482 495.486 0 273.651 221.833 495.49 495.482 495.49 273.653 0 495.486-221.839 495.486-495.488 0-273.649-221.831-495.488-495.486-495.488zM560.084 797.914c0 13.682-11.089 24.776-24.774 24.776h-74.323c-13.679 0-24.772-11.093-24.772-24.776v-74.321c0-13.686 11.093-24.778 24.772-24.778h74.323c13.684 0 24.774 11.091 24.774 24.778v74.321zM682.891 456.897c-9.958 14.199-32.561 32.291-60.858 54.35l-31.359 21.64c-15.23 11.814-28.738 25.568-33.733 41.315-1.707 5.365-2.986 14.183-3.847 23.706-0.434 4.792-4.721 14.568-14.741 14.568-24.551 0-71.341 0-80.651 0-13.109 0-15.451-10.268-15.232-15.291 1.451-32.919 4.468-62.144 17.88-77.878 27.155-31.839 88.943-71.469 88.943-71.469 9.407-7.099 17.023-14.816 22.783-23.226 10.471-14.438 19.158-30.294 19.158-47.626 0-19.921-5.824-38.079-17.51-54.515-11.646-16.371-32.979-24.573-63.891-24.573-30.43 0-52.001 10.1-64.716 30.291-9.393 14.918-15.307 28.634-17.756 43.558-0.871 5.282-4.258 16.407-15.548 16.407-23.854 0-67.833 0-78.66 0-16.749 0-20.437-10.854-19.953-16.086 6.063-65.94 31.831-110.993 77.393-139.922 30.981-19.918 69.097-29.913 114.31-29.913 59.41 0 108.726 14.162 148.043 42.527 39.247 28.326 58.927 70.299 58.927 125.952 0.004 34.082-11.958 62.822-28.98 86.185z","p-id":"3920"},null,-1)]))}const qQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(zQ,[["render",jQ]])},Symbol.toStringTag,{value:"Module"})),XQ={},VQ={t:"1706194238781",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4468",width:"200",height:"200"};function AE(i,A){return c.openBlock(),c.createElementBlock("svg",VQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M1080.950154 519.876923l-0.078769-0.157538-0.157539-0.07877c-44.740923-94.444308-98.461538-170.692923-160.846769-228.903384l-62.385231 62.464c53.799385 49.467077 100.273231 115.318154 140.445539 198.025846-102.557538 212.125538-247.886769 312.713846-446.54277 312.713846-63.172923 0-120.989538-10.161231-173.764923-30.798769l-67.347692 67.268923c71.995077 34.658462 152.260923 52.224 241.112615 52.224 236.544 0 412.750769-123.667692 529.48677-369.585231a74.043077 74.043077 0 0 0 0.078769-63.172923z m-78.769231-408.812308l-52.145231-52.224a9.846154 9.846154 0 0 0-13.942154 0L792.418462 202.436923C720.502154 167.620923 640.393846 150.134154 551.384615 150.134154c-236.544 0-412.750769 123.667692-529.486769 369.585231V519.876923a74.200615 74.200615 0 0 0 0 63.409231c44.819692 94.365538 98.461538 170.692923 160.846769 228.982154l-123.904 123.667692a9.846154 9.846154 0 0 0 0 13.942154l52.145231 52.224a9.846154 9.846154 0 0 0 13.942154 0L1002.180923 124.770462a9.767385 9.767385 0 0 0 0-13.784616z m-589.981538 471.591385a137.846154 137.846154 0 0 1 165.572923-165.572923L412.120615 582.656z m227.091692-227.091692a216.772923 216.772923 0 0 0-288.610462 288.610461L245.287385 749.568c-53.799385-49.545846-100.273231-115.318154-140.445539-198.025846C207.478154 339.416615 352.886154 238.828308 551.384615 238.828308c63.172923 0 120.989538 10.161231 173.764923 30.798769l-85.858461 85.937231zM546.500923 689.230769c-7.876923 0-15.675077-0.630154-23.158154-1.969231l-62.936615 62.857847a216.615385 216.615385 0 0 0 284.908308-284.908308l-62.857847 62.936615A138.003692 138.003692 0 0 1 546.422154 689.230769z","fill-opacity":".65","p-id":"4469"},null,-1)]))}const eE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(XQ,[["render",AE]])},Symbol.toStringTag,{value:"Module"})),tE={},nE={t:"1706685177134",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5205",width:"200",height:"200"};function iE(i,A){return c.openBlock(),c.createElementBlock("svg",nE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M437.996 697.519 437.996 697.519 437.996 586.722 327.195 586.722c-61.187 0-110.797 49.61-110.797 110.797 0 61.195 49.61 110.797 110.797 110.797C388.387 808.316 437.996 758.714 437.996 697.519L437.996 697.519 437.996 697.519 437.996 697.519zM493.395 697.519c0 91.789-74.411 166.195-166.2 166.195C235.41 863.714 161 789.308 161 697.519c0-91.789 74.41-166.195 166.195-166.195l110.801 0 55.399 0 0 55.398L493.395 697.519 493.395 697.519 493.395 697.519zM585.723 697.519 585.723 586.722 696.52 586.722c61.195 0 110.796 49.61 110.796 110.797 0 61.195-49.601 110.797-110.796 110.797C635.332 808.316 585.723 758.714 585.723 697.519L585.723 697.519 585.723 697.519zM530.324 697.519c0 91.789 74.41 166.195 166.196 166.195 91.789 0 166.199-74.406 166.199-166.195 0-91.789-74.41-166.195-166.199-166.195L585.723 531.324l-55.399 0 0 55.398L530.324 697.519 530.324 697.519 530.324 697.519zM437.996 328.195l0 110.801L327.195 438.996c-61.187 0-110.797-49.61-110.797-110.801 0-61.188 49.61-110.797 110.797-110.797C388.387 217.398 437.996 267.007 437.996 328.195L437.996 328.195 437.996 328.195zM493.395 328.195c0-91.785-74.411-166.195-166.2-166.195C235.41 162 161 236.41 161 328.195c0 91.789 74.41 166.199 166.195 166.199l110.801 0 55.399 0 0-55.398L493.395 328.195 493.395 328.195 493.395 328.195zM585.723 328.195l0 110.801L696.52 438.996c61.195 0 110.796-49.61 110.796-110.801 0-61.188-49.601-110.797-110.796-110.797C635.332 217.398 585.723 267.007 585.723 328.195L585.723 328.195 585.723 328.195zM530.324 328.195 530.324 328.195C530.324 236.41 604.734 162 696.52 162c91.789 0 166.199 74.41 166.199 166.195 0 91.789-74.41 166.199-166.199 166.199L585.723 494.394l-55.399 0 0-55.398L530.324 328.195 530.324 328.195 530.324 328.195zM530.324 328.195",fill:"#272636","p-id":"5206"},null,-1)]))}const oE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(tE,[["render",iE]])},Symbol.toStringTag,{value:"Module"})),sE={},rE={t:"1704703304741",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9731",width:"200",height:"200"};function aE(i,A){return c.openBlock(),c.createElementBlock("svg",rE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M384.04864 128h-307.2A76.8 76.8 0 0 0 0.04864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 460.84864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2A25.6 25.6 0 0 1 409.64864 204.8v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2A25.6 25.6 0 0 1 51.24864 614.4V204.8a25.6 25.6 0 0 1 25.6-25.6zM947.24864 128h-307.2A76.8 76.8 0 0 0 563.24864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 1024.04864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2a25.6 25.6 0 0 1 25.6 25.6v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2a25.6 25.6 0 0 1-25.6-25.6V204.8a25.6 25.6 0 0 1 25.6-25.6zM435.24864 819.2a25.6 25.6 0 0 1 4.608 50.7904L435.24864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L25.64864 819.2h409.6zM998.44864 819.2a25.6 25.6 0 0 1 4.608 50.7904L998.44864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L588.84864 819.2h409.6z","p-id":"9732"},null,-1)]))}const lE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(sE,[["render",aE]])},Symbol.toStringTag,{value:"Module"})),gE={},cE={t:"1702300882657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1495","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function uE(i,A){return c.openBlock(),c.createElementBlock("svg",cE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M118.784 727.04h778.24v-430.08h-778.24v430.08z m-40.96-471.04h860.16v512h-860.16v-512z m116.736 153.6v204.8c0 12.288 8.192 20.48 20.48 20.48s20.48-8.192 20.48-20.48v-204.8c0-12.288-8.192-20.48-20.48-20.48s-20.48 8.192-20.48 20.48z","p-id":"1496"},null,-1)]))}const dE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(gE,[["render",uE]])},Symbol.toStringTag,{value:"Module"})),hE={},BE={t:"1703055643727",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4960",width:"200",height:"200"};function CE(i,A){return c.openBlock(),c.createElementBlock("svg",BE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M122.368 165.888h778.24c-9.216 0-16.384-7.168-16.384-16.384v713.728c0-9.216 7.168-16.384 16.384-16.384h-778.24c9.216 0 16.384 7.168 16.384 16.384V150.016c0 8.192-6.656 15.872-16.384 15.872z m-32.768 684.544c0 26.112 20.992 47.104 47.104 47.104h750.08c26.112 0 47.104-20.992 47.104-47.104V162.304c0-26.112-20.992-47.104-47.104-47.104H136.704c-26.112 0-47.104 20.992-47.104 47.104v688.128z","p-id":"4961"},null,-1),c.createElementVNode("path",{d:"M305.664 344.576h43.008v306.176H296.448V435.2c-23.552 19.968-50.688 33.792-81.408 43.008V424.448c46.592-19.456 76.8-46.08 90.624-79.872zM598.528 603.648v47.616h-189.44v-32.768c20.48-41.472 50.176-77.824 88.576-109.568 35.328-29.696 52.736-55.296 51.712-76.8 0-29.696-14.336-44.544-43.008-44.544-19.968 1.024-34.816 17.408-46.08 48.64l-47.616-20.48c17.92-51.2 50.688-76.8 99.328-76.8 55.296 3.072 84.992 33.28 88.576 90.112 2.048 38.4-20.48 75.776-66.56 112.64-25.6 19.968-46.592 40.448-61.952 61.952h126.464zM617.984 569.856l47.616-11.776c6.144 34.304 20.992 51.712 46.08 51.712 30.72 0 46.08-15.872 46.08-47.616-1.024-29.696-16.384-45.056-46.08-46.08h-33.792v-47.616h23.552c29.696-1.024 45.056-15.872 46.08-44.544-1.024-23.552-12.288-35.84-33.792-36.864-22.528 1.024-36.352 16.896-41.472 47.616l-48.64-13.312c12.8-54.272 42.496-81.92 88.576-82.944 56.32 2.048 85.504 31.232 87.552 87.552 0 27.648-12.288 48.128-36.864 61.952 31.744 13.824 47.616 38.4 47.616 74.24-2.048 59.392-34.304 90.112-97.792 93.184-54.784 0-86.016-28.16-94.72-85.504z","p-id":"4962"},null,-1)]))}const pE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(hE,[["render",CE]])},Symbol.toStringTag,{value:"Module"})),QE={},EE={t:"1703055995909",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10211",width:"200",height:"200"};function IE(i,A){return c.openBlock(),c.createElementBlock("svg",EE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M960 704h-63.616v-167.392a32 32 0 0 0-32-32H544V416h160a32 32 0 0 0 32-32V96a32 32 0 0 0-32-32H320a32 32 0 0 0-32 32v288a32 32 0 0 0 32 32h160v88.608H161.984a32 32 0 0 0-32 31.968L129.792 704H64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32H193.792l0.16-135.392H480V704h-64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32h-64v-135.392h288.384V704H768a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32zM352 128h320v224H352V128zM224 896H96v-128h128v128z m352 0h-128v-128h128v128z m352 0h-128v-128h128v128z","p-id":"10212"},null,-1)]))}const mE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(QE,[["render",IE]])},Symbol.toStringTag,{value:"Module"})),fE={},wE={t:"1703683757240",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5282",width:"200",height:"200"};function DE(i,A){return c.openBlock(),c.createElementBlock("svg",wE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M591.9488 76.8a30.72 30.72 0 0 1 21.71904 8.99584l258.48832 258.48832a30.72 30.72 0 0 1 8.99584 21.71904V430.08h45.568a20.48 20.48 0 0 1 20.48 20.48v358.4a20.48 20.48 0 0 1-20.48 20.48h-45.568v87.04a30.72 30.72 0 0 1-30.72 30.72h-675.84a30.72 30.72 0 0 1-30.72-30.72v-87.04H97.28a20.48 20.48 0 0 1-20.48-20.48V450.56a20.48 20.48 0 0 1 20.48-20.48h46.592V107.52a30.72 30.72 0 0 1 30.72-30.72zM809.472 829.44h-593.92v46.08h593.92v-46.08z m-249.344-342.016c-75.264 0-128 58.88-128 143.36 0 81.408 51.2 138.752 124.416 138.752 63.488 0 128-44.544 128-143.872 0-81.408-51.2-138.24-124.416-138.24z m-323.584 4.096H178.688v176.64c0 45.056-14.336 48.64-32.768 48.64-11.264 0-19.456-3.072-22.528-4.096l-14.336-5.632-9.216 51.712 9.728 4.096c10.24 3.584 26.112 6.656 38.912 6.656 40.448 0 88.064-16.896 88.064-98.816V491.52z m114.176-4.608c-53.76 0-93.184 33.792-93.184 80.384 0 37.888 24.064 65.024 73.728 82.432 32.256 12.8 38.4 23.04 40.448 37.888 0 18.432-14.848 29.696-39.424 29.696-16.896 0-36.352-5.12-50.688-14.336l-14.336-8.704-15.872 51.712 7.68 5.12c15.872 10.752 45.056 17.92 70.656 17.92 49.664 0 99.84-26.112 99.84-84.48 0-50.688-36.352-71.168-71.68-84.992-35.328-13.312-41.472-22.016-41.472-35.84 0-11.264 8.704-24.576 33.792-24.576 18.432 0 32.256 5.632 40.96 10.24l13.312 7.168 16.896-50.688-9.216-5.12c-9.216-5.12-29.184-13.824-61.44-13.824z m404.992 4.608h-54.784v273.92h55.808v-118.784c0-18.432 0-34.304-0.512-49.152 6.656 10.752 13.824 23.04 22.016 35.84l82.432 132.096h52.224V491.52h-55.808v123.47904c0.01024 13.37344 0.07168 26.09664 0.512 38.82496-5.632-10.24-11.776-20.48-18.432-30.72L755.712 491.52z m-197.12 47.616c45.568 0 66.56 45.568 66.56 88.064 0 45.056-20.992 90.624-67.072 90.624-45.568 0-66.56-45.568-66.56-88.064 0-67.072 36.352-90.624 67.072-90.624z m25.6-390.656h-368.64v281.6h593.92V363.52h-194.56a30.72 30.72 0 0 1-30.72-30.72V148.48z m71.68 76.8v66.56h66.56l-66.56-66.56z","p-id":"5283"},null,-1)]))}const bE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(fE,[["render",DE]])},Symbol.toStringTag,{value:"Module"})),yE={},vE={t:"1704177937362",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"19086",width:"200",height:"200"};function kE(i,A){return c.openBlock(),c.createElementBlock("svg",vE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M914.496 653.504a39.893333 39.893333 0 0 0-16 3.306667l-0.213333 0.085333h-0.192l-387.882667 165.312-388.010667-165.205333h-0.213333l-0.192-0.106667a40.853333 40.853333 0 0 0-16-3.285333c-23.082667 0-41.792 19.285333-41.792 43.093333 0 18.005333 10.709333 33.28 25.813333 39.808l403.882667 172.096 0.405333 0.106667a40.426667 40.426667 0 0 0 32 0l0.213334-0.106667c0.085333 0 0.085333-0.106667 0.192-0.106667l403.882666-172.096a43.157333 43.157333 0 0 0 25.813334-39.808c0.106667-23.786667-18.602667-43.093333-41.706667-43.093333z m0-186.496c-7.893333-0.213333-16 3.2-16 3.2l-388.288 165.397333L121.792 470.186667s-10.282667-3.2-16-3.2c-23.082667 0-41.792 19.2-41.792 42.986666 0 17.92 10.709333 33.301333 25.813333 39.701334l403.882667 172.010666c0.106667 0 0.106667 0.106667 0.213333 0.106667l0.085334 0.085333a40.533333 40.533333 0 0 0 32 0l0.213333-0.085333c0.085333 0 0.085333 0 0.192-0.106667l403.904-172.010666a43.264 43.264 0 0 0 25.898667-39.68c0.106667-23.808-18.602667-43.008-41.706667-43.008zM89.813333 363.2l403.904 172.096c0.106667 0 0.106667 0 0.213334 0.106667l0.085333 0.106666a41.92 41.92 0 0 0 32 0l0.213333-0.106666 0.192-0.106667 403.904-171.989333a43.370667 43.370667 0 0 0 25.898667-39.701334c0-18.005333-10.709333-33.301333-25.813333-39.808L526.506667 111.594667c-0.106667 0-0.106667 0-0.213334-0.085334l-0.213333-0.106666a40.448 40.448 0 0 0-32 0l-0.085333 0.106666L89.813333 283.712A43.050667 43.050667 0 0 0 64 323.498667c0 17.92 10.709333 33.216 25.813333 39.701333z","p-id":"19087"},null,-1)]))}const _E=Object.freeze(Object.defineProperty({__proto__:null,default:ee(yE,[["render",kE]])},Symbol.toStringTag,{value:"Module"})),ME={},SE={t:"1704894799777",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4348",width:"200",height:"200"};function xE(i,A){return c.openBlock(),c.createElementBlock("svg",SE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.975a16.003 16.003 0 0 0 14.624 9.503h24.055c6.33 0 12.065-3.732 14.63-9.518l59.109-133.35v157.458c0 8.838 7.165 16.003 16.003 16.003h27.337c8.838 0 16.003-7.165 16.003-16.003V486.002c0-8.838-7.165-16.003-16.003-16.003h-34.746a16.003 16.003 0 0 0-14.673 9.616l-79.473 182.587-79.473-182.587A16.003 16.003 0 0 0 417.96 470h-34.958c-8.838 0-16.003 7.165-16.003 16.003v271.996c0 8.838 7.165 16.003 16.003 16.003h27.126c8.838 0 16.003-7.165 16.003-16.003V600.929z","p-id":"4349"},null,-1)]))}const FE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(ME,[["render",xE]])},Symbol.toStringTag,{value:"Module"})),NE={},RE={t:"1703837724812",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3877",width:"200",height:"200"};function LE(i,A){return c.openBlock(),c.createElementBlock("svg",RE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M486.4 776.533333v-213.333333H247.466667v106.666667L85.333333 512l162.133334-162.133333V512h238.933333V247.466667H349.866667L512 85.333333l162.133333 162.133334h-132.266666V512h238.933333V349.866667L938.666667 512l-162.133334 162.133333v-106.666666h-238.933333v213.333333h132.266667L512 938.666667l-162.133333-162.133334h136.533333z","p-id":"3878"},null,-1)]))}const GE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(NE,[["render",LE]])},Symbol.toStringTag,{value:"Module"})),HE={},PE={t:"1702992107847",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4267","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function KE(i,A){return c.openBlock(),c.createElementBlock("svg",PE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M784 1024h-544A176 176 0 0 1 64 848v-416A176 176 0 0 1 240 256h544A176 176 0 0 1 960 432v416A176 176 0 0 1 784 1024zM240 352A80 80 0 0 0 160 432v416a80 80 0 0 0 80 80h544a80 80 0 0 0 80-80v-416a80 80 0 0 0-80-80z",fill:"","p-id":"4268"},null,-1),c.createElementVNode("path",{d:"M512 448a48 48 0 0 1 48 48v288A48 48 0 0 1 512 832a48 48 0 0 1-48-48v-288A48 48 0 0 1 512 448zM664.32 301.44v-14.08C640 178.56 611.84 96 512 96S384 167.04 364.8 275.84l-5.12 24.32-94.08-19.84 4.48-24.32C288 167.04 320 0 512 0s222.72 173.44 243.2 266.88v13.44z",fill:"","p-id":"4269"},null,-1)]))}const UE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(HE,[["render",KE]])},Symbol.toStringTag,{value:"Module"})),YE={},TE={t:"1703055586130",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3916",width:"200",height:"200"};function OE(i,A){return c.openBlock(),c.createElementBlock("svg",TE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M512 65.984C266.08 65.984 65.984 266.08 65.984 512c0 245.952 200.064 446.016 446.016 446.016 245.952 0 446.016-200.064 446.016-446.016C958.016 266.08 757.952 65.984 512 65.984zM512 894.016C301.344 894.016 129.984 722.624 129.984 512 129.984 301.344 301.344 129.984 512 129.984c210.624 0 382.016 171.36 382.016 382.016C894.016 722.624 722.624 894.016 512 894.016z","p-id":"3917"},null,-1),c.createElementVNode("path",{d:"M512 352c-88.224 0-160 71.776-160 160s71.776 160 160 160 160-71.776 160-160S600.224 352 512 352z","p-id":"3918"},null,-1)]))}const JE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(YE,[["render",OE]])},Symbol.toStringTag,{value:"Module"})),$E={},ZE={t:"1705643861503",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5125",width:"200",height:"200"};function zE(i,A){return c.openBlock(),c.createElementBlock("svg",ZE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M1020.93824 386.304a64.64 64.64 0 0 0-51.584-45.44l-276.352-41.984L569.41824 37.248A63.744 63.744 0 0 0 512.07424 0a63.68 63.68 0 0 0-57.28 37.248L331.21024 298.88l-276.48 41.984a64.64 64.64 0 0 0-51.52 45.44c-7.552 24.192-1.28 50.688 16.192 68.48l199.936 203.584-47.168 287.616c-4.16 25.024 5.76 50.304 25.408 65.28a61.952 61.952 0 0 0 67.328 5.12L512.07424 880.512l247.232 135.744a62.08 62.08 0 0 0 67.328-5.12c19.648-14.912 29.504-40.192 25.408-65.28l-47.232-287.552L1004.87424 454.72c17.408-17.728 23.68-44.224 16.128-68.416","p-id":"5126"},null,-1)]))}const WE=Object.freeze(Object.defineProperty({__proto__:null,default:ee($E,[["render",zE]])},Symbol.toStringTag,{value:"Module"})),jE={},qE={t:"1703839228306",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6053",width:"200",height:"200"};function XE(i,A){return c.openBlock(),c.createElementBlock("svg",qE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M587.229378 437.990403 580.722174 437.990403 76.975139 437.990403 76.975139 581.918419 580.722174 581.918419 587.229378 581.918419 940.542216 581.918419 940.542216 437.990403Z","p-id":"6054"},null,-1)]))}const VE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(jE,[["render",XE]])},Symbol.toStringTag,{value:"Module"})),AI={},eI={t:"1707470386657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3905",width:"200",height:"200"};function tI(i,A){return c.openBlock(),c.createElementBlock("svg",eI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M712.145455 316.509091h-390.981819c-18.618182 0-37.236364 13.963636-37.236363 37.236364s18.618182 37.236364 37.236363 37.236363h158.254546v344.436364c0 18.618182 18.618182 37.236364 37.236363 37.236363s37.236364-18.618182 37.236364-37.236363v-344.436364h158.254546c18.618182 0 37.236364-18.618182 37.236363-37.236363s-18.618182-37.236364-37.236363-37.236364z","p-id":"3906"},null,-1),c.createElementVNode("path",{d:"M842.472727 51.2h-665.6c-69.818182 0-130.327273 60.509091-130.327272 130.327273v665.6c0 69.818182 60.509091 130.327273 130.327272 130.327272h665.6c74.472727 0 130.327273-55.854545 130.327273-130.327272V176.872727c0-69.818182-55.854545-125.672727-130.327273-125.672727z m60.509091 795.927273c0 32.581818-23.272727 55.854545-55.854545 55.854545h-665.6c-32.581818 0-55.854545-23.272727-55.854546-55.854545V176.872727c0-32.581818 23.272727-55.854545 55.854546-55.854545h665.6c32.581818 0 55.854545 23.272727 55.854545 55.854545v670.254546z","p-id":"3907"},null,-1)]))}const nI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(AI,[["render",tI]])},Symbol.toStringTag,{value:"Module"})),iI={},oI={t:"1728100556289",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5207",width:"200",height:"200"};function sI(i,A){return c.openBlock(),c.createElementBlock("svg",oI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M814.805 128a51.179 51.179 0 0 1 51.179 51.179V844.01a51.179 51.179 0 0 1-51.179 51.157H201.173a51.179 51.179 0 0 1-51.178-51.157V179.179A51.179 51.179 0 0 1 201.173 128h613.654zM329.024 434.837a51.093 51.093 0 0 1-51.179-51.093V179.157h-76.672v664.854h613.76V179.179H738.22v204.48a51.179 51.179 0 0 1-51.179 51.178H329.024z m0-51.093h357.995V179.157H329.024v204.587z m357.91 204.501a25.557 25.557 0 1 1 0.085 51.072H329.024a25.536 25.536 0 1 1 0-51.072h357.91z","p-id":"5208"},null,-1)]))}const rI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(iI,[["render",sI]])},Symbol.toStringTag,{value:"Module"})),aI={},lI={t:"1728140209660",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7097",width:"200",height:"200"};function gI(i,A){return c.openBlock(),c.createElementBlock("svg",lI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M938.666667 42.666667a42.666667 42.666667 0 0 1 42.666666 42.666666v853.333334a42.666667 42.666667 0 0 1-42.666666 42.666666H85.333333a42.666667 42.666667 0 0 1-42.666666-42.666666V85.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h853.333334z m-42.666667 298.666666H128v554.666667h768V341.333333zM382.890667 447.573333a21.333333 21.333333 0 0 1 30.122666-1.066666l31.232 29.098666a21.333333 21.333333 0 0 1 1.024 30.165334l-103.808 111.274666 103.808 111.36a21.333333 21.333333 0 0 1-1.024 30.122667l-31.232 29.098667a21.333333 21.333333 0 0 1-30.122666-1.024l-130.005334-139.392-14.464-13.482667a21.290667 21.290667 0 0 1-6.741333-16.64l0.128-3.626667a21.248 21.248 0 0 1 6.613333-13.056l14.421334-13.482666z m258.218666 0l130.005334 139.349334 14.464 13.482666c3.84 3.584 6.016 8.234667 6.613333 13.056l0.128 3.584a21.290667 21.290667 0 0 1-6.741333 16.682667l-14.506667 13.482667-129.962667 139.392a21.333333 21.333333 0 0 1-27.093333 3.413333l-3.029333-2.389333-31.232-29.098667a21.333333 21.333333 0 0 1-1.024-30.122667l103.765333-111.36-103.765333-111.274666a21.333333 21.333333 0 0 1 1.024-30.165334l31.232-29.098666a21.333333 21.333333 0 0 1 30.122666 1.066666zM896 128H128v128h768V128z",opacity:".65","p-id":"7098"},null,-1)]))}const cI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(aI,[["render",gI]])},Symbol.toStringTag,{value:"Module"})),uI={},dI={t:"1706682823369",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3946",width:"200",height:"200"};function hI(i,A){return c.openBlock(),c.createElementBlock("svg",dI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M 1014.65 967.259 L 708.256 660.86 a 400.522 400.522 0 1 0 -47.395 47.395 l 305.731 305.731 a 33.3768 33.3768 0 0 0 47.395 -47.395 Z M 164.881 638.832 a 333.768 333.768 0 1 1 473.95 0 a 333.768 333.768 0 0 1 -473.95 0 Z","p-id":"3947"},null,-1)]))}const BI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(uI,[["render",hI]])},Symbol.toStringTag,{value:"Module"})),CI={},pI={t:"1741244239723",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11748",width:"200",height:"200"};function QI(i,A){return c.openBlock(),c.createElementBlock("svg",pI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M901.12 645.12l84.48 84.48-61.44 61.44-84.48-84.48c-51.2 28.16-117.76 17.92-161.28-23.04-56.32-56.32-56.32-145.92 0-194.56s145.92-56.32 194.56 0c51.2 40.96 56.32 107.52 28.16 156.16z m-332.8-217.6v166.4H10.24v-166.4h558.08z m0 391.68H10.24v-166.4h558.08V819.2z m445.44-445.44H10.24V204.8h1003.52v168.96zM122.88 261.12v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m506.88-81.92c23.04 23.04 56.32 23.04 76.8 0 23.04-23.04 23.04-56.32 0-76.8-23.04-23.04-56.32-23.04-76.8 0-20.48 20.48-20.48 53.76 0 76.8z",fill:"#040000","p-id":"11749"},null,-1)]))}const EI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(CI,[["render",QI]])},Symbol.toStringTag,{value:"Module"})),II={},mI={t:"1702352445968",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5056","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function fI(i,A){return c.openBlock(),c.createElementBlock("svg",mI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M794.17 147.91c45.16 0.2 81.71 36.76 81.92 81.92v564.34c-0.2 45.16-36.76 81.71-81.92 81.92H229.83c-45.16-0.2-81.71-36.76-81.92-81.92V229.83c0.2-45.16 36.76-81.71 81.92-81.92h564.34m0-45.51H229.83c-70.09 0-127.43 57.34-127.43 127.43v564.34c0 70.08 57.34 127.43 127.43 127.43h564.34c70.08 0 127.43-57.34 127.43-127.43V229.83c0-70.09-57.34-127.43-127.43-127.43z m0 0","p-id":"5057"},null,-1),c.createElementVNode("path",{d:"M514.8 704.46c-6.02 0.01-11.81-2.38-16.07-6.64l-256-255.09a22.73 22.73 0 0 1-6-22 22.752 22.752 0 0 1 16.1-16.16c7.87-2.11 16.27 0.14 22.02 5.92l239.88 239.05 239.22-239.39c8.89-8.82 23.25-8.8 32.11 0.06 8.86 8.86 8.9 23.21 0.08 32.11L530.89 697.79a22.744 22.744 0 0 1-16.09 6.67z m0 0","p-id":"5058"},null,-1)]))}const wI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(II,[["render",fI]])},Symbol.toStringTag,{value:"Module"})),DI={},bI={t:"1706707968748",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4174",width:"200",height:"200"};function yI(i,A){return c.openBlock(),c.createElementBlock("svg",bI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M228.704 212.096v66.688H112V212.096h116.704z m333.184 266.592v66.688H112v-66.688h449.888z m-266.496 266.72v66.592H112v-66.688l183.392 0.096z m116.608-600c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H278.816c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488V178.912c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.184-0.096z m66.688 533.28c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H345.28c-8.992 0-16.8-3.296-23.488-9.888a32.416 32.416 0 0 1-9.888-23.488v-133.312c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.408-0.096zM912 212.096v66.688H462.112V212.096H912z m0 533.312v66.592H528.608v-66.688l383.392 0.096z m-166.784-333.312c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888h-133.216c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488v-133.408c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.496-9.888 23.488-9.888l133.216 0.096z m166.784 66.592v66.688h-116.704v-66.688H912z","p-id":"4175"},null,-1)]))}const vI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(DI,[["render",yI]])},Symbol.toStringTag,{value:"Module"})),kI={},_I={t:"1703683830020",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6437",width:"200",height:"200"};function MI(i,A){return c.openBlock(),c.createElementBlock("svg",_I,A[0]||(A[0]=[c.createElementVNode("path",{d:"M751.36 768H272.64a271.36 271.36 0 0 1 0-542.72h478.72a271.36 271.36 0 0 1 0 542.72zM272.64 287.36a207.36 207.36 0 0 0 0 414.72h478.72a207.36 207.36 0 0 0 0-414.72z","p-id":"6438"},null,-1),c.createElementVNode("path",{d:"M735.36 494.72m-158.08 0a158.08 158.08 0 1 0 316.16 0 158.08 158.08 0 1 0-316.16 0Z","p-id":"6439"},null,-1)]))}const SI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(kI,[["render",MI]])},Symbol.toStringTag,{value:"Module"})),xI={},FI={t:"1732514809165",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3898",width:"200",height:"200"};function NI(i,A){return c.openBlock(),c.createElementBlock("svg",FI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M908.8 1005.44H115.2a101.76 101.76 0 0 1-101.12-101.76V110.72A101.76 101.76 0 0 1 115.2 8.96h296.96a32.64 32.64 0 0 1 32 32V262.4a32 32 0 0 1-32 32 32 32 0 0 1-32-32v-192H115.2a37.76 37.76 0 0 0-37.12 37.76v795.52a37.76 37.76 0 0 0 37.12 37.76h793.6a37.76 37.76 0 0 0 37.12-37.76V267.52a32 32 0 0 1 32-32 32 32 0 0 1 32 32v636.16a101.76 101.76 0 0 1-101.12 101.76z",fill:"#323333","p-id":"3899"},null,-1),c.createElementVNode("path",{d:"M977.92 299.52a32.64 32.64 0 0 1-32-32V180.48a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32h487.68a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3900"},null,-1),c.createElementVNode("path",{d:"M977.92 299.52H64a32 32 0 0 1-32-32 32 32 0 0 1 32-32h913.92a32 32 0 0 1 32 32 32 32 0 0 1-32 32z",fill:"#323333","p-id":"3901"},null,-1),c.createElementVNode("path",{d:"M699.52 299.52a32 32 0 0 1-32-32V110.72a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3902"},null,-1)]))}const RI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(xI,[["render",NI]])},Symbol.toStringTag,{value:"Module"})),LI={},GI={t:"1724730105736",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1494",width:"200",height:"200"};function HI(i,A){return c.openBlock(),c.createElementBlock("svg",GI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M920.528912 444.49616l-340.111125-340.114737a135.932464 135.932464 0 0 0-96.155899-39.758503L200.418112 64.662657h-0.018063C125.275769 64.662657 64.301413 125.40943 64.301413 200.548159v283.673992a136.091412 136.091412 0 0 0 39.881326 96.199248l340.230335 340.241173a136.022775 136.022775 0 0 0 192.369598 0l283.74624-283.76069c53.128139-53.131752 53.128139-139.277583 0-192.405722z m-45.209673 147.192436l-283.746241 283.760691a72.064544 72.064544 0 0 1-101.924964 0l-340.212273-340.241173A72.187367 72.187367 0 0 1 128.241582 484.218538V200.548159A72.021195 72.021195 0 0 1 200.396437 128.602826l283.843776-0.039737a71.887535 71.887535 0 0 1 50.935389 21.053294l340.114737 340.1039a72.104281 72.104281 0 0 1 0.0289 101.968313z",fill:"","p-id":"1495"},null,-1),c.createElementVNode("path",{d:"M384.002258 255.999097c-70.69543 0-128.003161 57.307731-128.003161 128.003161S313.306828 511.998194 384.002258 511.998194s127.999548-57.307731 127.999548-127.999549S454.690463 255.999097 384.002258 255.999097z m45.296371 173.29592a64.059379 64.059379 0 1 1 18.759396-45.292759 63.640337 63.640337 0 0 1-18.763008 45.292759z",fill:"","p-id":"1496"},null,-1)]))}const PI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(LI,[["render",HI]])},Symbol.toStringTag,{value:"Module"})),KI={},UI={t:"1730966767890",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function YI(i,A){return c.openBlock(),c.createElementBlock("svg",UI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M859.428571 256a18.285714 18.285714 0 0 1-18.285714-18.285714V146.285714H182.857143v91.428572a18.285714 18.285714 0 0 1-36.571429 0v-109.714286a18.285714 18.285714 0 0 1 18.285715-18.285714h694.857142a18.285714 18.285714 0 0 1 18.285715 18.285714v109.714286a18.285714 18.285714 0 0 1-18.285715 18.285714z","p-id":"3920"},null,-1),c.createElementVNode("path",{d:"M512 932.571429a18.285714 18.285714 0 0 1-18.285714-18.285715V128a18.285714 18.285714 0 0 1 36.571428 0V914.285714a18.285714 18.285714 0 0 1-18.285714 18.285715z","p-id":"3921"},null,-1),c.createElementVNode("path",{d:"M694.857143 932.571429H329.142857a18.285714 18.285714 0 0 1 0-36.571429h365.714286a18.285714 18.285714 0 0 1 0 36.571429z","p-id":"3922"},null,-1)]))}const TI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(KI,[["render",YI]])},Symbol.toStringTag,{value:"Module"})),OI={},JI={t:"1703231974424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11202",width:"200",height:"200"};function $I(i,A){return c.openBlock(),c.createElementBlock("svg",JI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M760.32 625.152a12.8 12.8 0 0 0-13.824 2.56l-153.6 153.6a12.8 12.8 0 0 0 9.216 22.016h153.6a12.8 12.8 0 0 0 12.8-12.8v-153.6a12.8 12.8 0 0 0-8.192-11.776z",fill:"","p-id":"11203"},null,-1),c.createElementVNode("path",{d:"M768 157.184H256a128 128 0 0 0-128 128v512a128 128 0 0 0 128 128h512a128 128 0 0 0 128-128v-512a128 128 0 0 0-128-128z m76.8 640a76.8 76.8 0 0 1-76.8 76.8H256a76.8 76.8 0 0 1-76.8-76.8v-512A76.8 76.8 0 0 1 256 208.384h512a76.8 76.8 0 0 1 76.8 76.8z",fill:"","p-id":"11204"},null,-1),c.createElementVNode("path",{d:"M307.2 401.92h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 0 0 0 51.2zM307.2 570.88h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 1 0 0 51.2zM512 688.128H307.2a25.6 25.6 0 1 0 0 51.2h204.8a25.6 25.6 0 1 0 0-51.2z",fill:"","p-id":"11205"},null,-1)]))}const ZI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(OI,[["render",$I]])},Symbol.toStringTag,{value:"Module"})),zI={},WI={t:"1705911423739",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9058",width:"200",height:"200"};function jI(i,A){return c.openBlock(),c.createElementBlock("svg",WI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const qI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(zI,[["render",jI]])},Symbol.toStringTag,{value:"Module"})),XI={},VI={t:"1706919981946",class:"icon",viewBox:"0 0 1536 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4200",width:"200",height:"200"};function Am(i,A){return c.openBlock(),c.createElementBlock("svg",VI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M757.76 614.4L512 768 757.76 921.6V819.2h307.2V716.8h-307.2zM0 0v1024h409.6V0H0z m307.2 921.6H102.4V102.4h204.8v819.2zM1474.56 0H1126.4v1024h409.6V0h-61.44zM1433.6 921.6h-204.8V102.4h204.8v819.2zM819.2 102.4H512v102.4h307.2v102.4l245.76-153.6L819.2 0z","p-id":"4201"},null,-1)]))}const em=Object.freeze(Object.defineProperty({__proto__:null,default:ee(XI,[["render",Am]])},Symbol.toStringTag,{value:"Module"})),tm={},nm={t:"1728100521082",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4204",width:"200",height:"200"};function im(i,A){return c.openBlock(),c.createElementBlock("svg",nm,A[0]||(A[0]=[c.createElementVNode("path",{d:"M640 64a64 64 0 0 1 64 64v85.333333h226.133333c4.693333 0 8.533333 3.84 8.533334 8.533334v46.933333a8.533333 8.533333 0 0 1-8.533334 8.533333H874.666667v554.666667a128 128 0 0 1-128 128H277.333333a128 128 0 0 1-128-128V277.333333H93.866667a8.533333 8.533333 0 0 1-8.533334-8.533333v-46.933333c0-4.693333 3.84-8.533333 8.533334-8.533334H320V128a64 64 0 0 1 64-64h256z m170.666667 213.333333H213.333333v554.666667a64 64 0 0 0 60.245334 63.893333L277.333333 896h469.333334a64 64 0 0 0 63.893333-60.245333L810.666667 832V277.333333z m-392.533334 128c4.693333 0 8.533333 3.84 8.533334 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533334 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533333-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533333-8.533334h46.933333z m234.666667 0c4.693333 0 8.533333 3.84 8.533333 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533333 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533334-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533334-8.533334h46.933333zM640 128H384v85.333333h256V128z","p-id":"4205"},null,-1)]))}const om=Object.freeze(Object.defineProperty({__proto__:null,default:ee(tm,[["render",im]])},Symbol.toStringTag,{value:"Module"})),sm={},rm={t:"1707573140261",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4919",width:"200",height:"200"};function am(i,A){return c.openBlock(),c.createElementBlock("svg",rm,A[0]||(A[0]=[c.createElementVNode("path",{d:"M543.7 157v534c0 16.6-13.4 30-30 30s-30-13.4-30-30V157c0-16.6 13.4-30 30-30 16.5 0 30 13.4 30 30z",fill:"","p-id":"4920"},null,-1),c.createElementVNode("path",{d:"M323.1 331c11.8 11.8 30.7 11.8 42.5 0l119.9-119.9c15.6-15.6 40.9-15.6 56.6 0L662 331c11.7 11.7 30.7 11.7 42.4 0s11.7-30.7 0-42.4L541.7 126.1c-15.6-15.6-41-15.6-56.6 0L323 288.6c-11.6 11.8-11.6 30.7 0.1 42.4zM853.7 913h-680c-33.1 0-60-26.9-60-60V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v240c0 16.6 13.4 30 30 30h620c16.6 0 30-13.4 30-30V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v270c0 33.1-26.9 60-60 60z",fill:"","p-id":"4921"},null,-1)]))}const lm=Object.freeze(Object.defineProperty({__proto__:null,default:ee(sm,[["render",am]])},Symbol.toStringTag,{value:"Module"})),gm={},cm={t:"1705549223486",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3971",width:"200",height:"200"};function um(i,A){return c.openBlock(),c.createElementBlock("svg",cm,A[0]||(A[0]=[c.createElementVNode("path",{d:"M828.8 598.4c-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L694.4 688c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l35.2-35.2V896c0 16 12.8 32 32 32s32-12.8 32-32V697.6l38.4 38.4c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-92.8-92.8z m-419.2-240c16-35.2 6.4-76.8-19.2-105.6-28.8-28.8-73.6-35.2-108.8-22.4-35.2 16-57.6 54.4-57.6 92.8 0 51.2 41.6 92.8 92.8 92.8 38.4 0 76.8-22.4 92.8-57.6zM288 323.2c0-9.6 3.2-16 9.6-22.4 3.2-9.6 12.8-12.8 22.4-12.8 16 0 32 12.8 32 28.8s-12.8 32-28.8 35.2c-19.2 0-35.2-12.8-35.2-28.8z","p-id":"3972"},null,-1),c.createElementVNode("path",{d:"M896 96H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h544v-64H160c-19.2 0-32-16-32-32V192c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v416h64V160c0-35.2-28.8-64-64-64z","p-id":"3973"},null,-1),c.createElementVNode("path",{d:"M182.4 713.6c12.8 12.8 32 12.8 44.8 0l134.4-134.4 112 112c3.2 3.2 3.2 3.2 6.4 3.2 12.8 6.4 25.6 6.4 38.4-3.2l316.8-316.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L496 624 384 508.8l-3.2-3.2c-12.8-9.6-28.8-9.6-41.6 3.2l-160 160c-9.6 12.8-9.6 32 3.2 44.8z","p-id":"3974"},null,-1)]))}const dm=Object.freeze(Object.defineProperty({__proto__:null,default:ee(gm,[["render",um]])},Symbol.toStringTag,{value:"Module"})),hm={},Bm={t:"1730861883815",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1611",width:"200",height:"200"};function Cm(i,A){return c.openBlock(),c.createElementBlock("svg",Bm,A[0]||(A[0]=[c.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),c.createElementVNode("path",{d:"M512 127.2832a738.816 738.816 0 0 0 336.1792 121.0368v351.4368c0 40.192-12.9536 82.2784-38.5536 124.9792-23.8592 39.8336-58.88 80.0256-101.2224 116.2752a608.256 608.256 0 0 1-120.8832 80.896c-41.216 20.4288-67.3792 25.7536-75.52 25.7536-8.192 0-34.304-5.3248-75.52-25.8048a608.256 608.256 0 0 1-120.8832-80.8448c-42.3424-36.2496-77.312-76.4416-101.2224-116.224-25.6-42.752-38.5536-84.6848-38.5536-125.0304V248.32A738.816 738.816 0 0 0 512 127.2832zM512 51.2c-13.7728 0-27.648 4.0448-39.68 12.1344a663.4496 663.4496 0 0 1-303.7184 109.3632C130.9696 176.5376 102.4 209.3056 102.4 248.4736v351.5392C102.4 834.2528 409.6512 1024 512 1024c102.3488 0 409.6-189.7472 409.6-423.936V248.3712c0-39.1168-28.672-71.8848-66.2016-75.7248a663.9616 663.9616 0 0 1-303.7184-109.3632A71.2704 71.2704 0 0 0 512 51.2z","p-id":"1613"},null,-1),c.createElementVNode("path",{d:"M439.552 704.512l-120.0128-120.064a42.752 42.752 0 0 1 0-60.1088 42.752 42.752 0 0 1 60.1088 0l120.0128 120.0128a42.752 42.752 0 0 1 0 60.1088 42.752 42.752 0 0 1-60.1088 0z","p-id":"1614"},null,-1),c.createElementVNode("path",{d:"M782.0288 425.8304l-279.3984 279.5008c-15.36 15.3088-40.4992 15.3088-55.9616 0a39.8336 39.8336 0 0 1 0-55.9616l279.4496-279.5008c15.3088-15.3088 40.448-15.3088 55.9104 0a39.5776 39.5776 0 0 1 0 55.9616z","p-id":"1615"},null,-1)]))}const pm=Object.freeze(Object.defineProperty({__proto__:null,default:ee(hm,[["render",Cm]])},Symbol.toStringTag,{value:"Module"})),Qm={},Em={t:"1728097746557",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3853",width:"200",height:"200"};function Im(i,A){return c.openBlock(),c.createElementBlock("svg",Em,A[0]||(A[0]=[c.createElementVNode("path",{d:"M512 504L764.8 68.8h-134.4L512 275.2 393.6 70.4h-134.4L512 504zM819.2 70.4L512 600 204.8 68.8H0l512 886.4L1024 70.4H819.2z","p-id":"3854"},null,-1)]))}const mm=Object.freeze(Object.defineProperty({__proto__:null,default:ee(Qm,[["render",Im]])},Symbol.toStringTag,{value:"Module"})),ge=c.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(i){const e=Object.entries(Object.assign({"./icons/add.vue":mp,"./icons/alert.vue":bp,"./icons/button.vue":_p,"./icons/card.vue":Fp,"./icons/cascader.vue":Gp,"./icons/checkbox.vue":Up,"./icons/collapse.vue":Jp,"./icons/colorPicker.vue":Wp,"./icons/copy.vue":Vp,"./icons/custom.vue":nQ,"./icons/datePicker.vue":rQ,"./icons/delete.vue":cQ,"./icons/design.vue":BQ,"./icons/divider.vue":EQ,"./icons/document.vue":wQ,"./icons/dropdown.vue":vQ,"./icons/esign.vue":SQ,"./icons/eye.vue":RQ,"./icons/formList.vue":PQ,"./icons/github.vue":TQ,"./icons/grid.vue":ZQ,"./icons/help.vue":qQ,"./icons/hidden.vue":eE,"./icons/icon.vue":oE,"./icons/inline.vue":lE,"./icons/input.vue":dE,"./icons/inputNumber.vue":pE,"./icons/itemGroup.vue":mE,"./icons/jsonEdit.vue":bE,"./icons/library.vue":_E,"./icons/markdown.vue":FE,"./icons/move.vue":GE,"./icons/password.vue":UE,"./icons/radio.vue":JE,"./icons/rate.vue":WE,"./icons/reduce.vue":VE,"./icons/rich.vue":nI,"./icons/save.vue":rI,"./icons/script.vue":cI,"./icons/search.vue":BI,"./icons/searchSelect.vue":EI,"./icons/select.vue":wI,"./icons/slider.vue":vI,"./icons/switch.vue":SI,"./icons/tabs.vue":RI,"./icons/tag.vue":PI,"./icons/text.vue":TI,"./icons/textarea.vue":ZI,"./icons/title.vue":qI,"./icons/transfer.vue":em,"./icons/trash.vue":om,"./icons/upload.vue":lm,"./icons/uploadImage.vue":dm,"./icons/verifyCode.vue":pm,"./icons/vue.vue":mm})).reduce((r,[m,b])=>{const l=m.split("/").pop(),y=l==null?void 0:l.split(".")[0];return r[y]=b.default,r},{});return(r,m)=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(c.unref(e)[r.name]),c.mergeProps({class:c.unref(ke)("icon-render")},r.$attrs),null,16,["class"]))}}),fm={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:""},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"}]},wm={key:0},Dm=c.defineComponent({__name:"Input",props:c.mergeModels({onInput:{},rulePath:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=ot(),r=i,m=c.inject("ruleModule",void 0),b=c.inject("pageMethodMap",{}),l=y=>{r.onInput&&m&&m[r.onInput](b,y)};return(y,S)=>{const f=c.resolveComponent("el-input");return c.unref(e).read?(c.openBlock(),c.createElementBlock("span",wm,c.toDisplayString(A.value),1)):(c.openBlock(),c.createBlock(f,c.mergeProps({key:1},y.$attrs,{modelValue:A.value,"onUpdate:modelValue":S[0]||(S[0]=x=>A.value=x),onInput:l}),null,16,["modelValue"]))}}}),bm={title:"单行文本",component:"Input",icon:c.h(ge,{name:"input"}),type:"basic",order:1,attrSchema:fm,render:Dm},ym={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"多行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:"请输入..."},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"最小行数",component:"InputNumber",name:"props.autosize.minRows",initialValue:4},{label:"最大行数",component:"InputNumber",name:"props.autosize.maxRows",initialValue:999}]},vm={title:"多行文本",component:"TextArea",icon:c.h(ge,{name:"textarea"}),type:"basic",order:2,attrSchema:ym,render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>iv))},km={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel",initialValue:!0},{label:"标题",component:"Input",name:"props.title",initialValue:"提示信息"},{label:"描述",component:"TextArea",name:"props.description",initialValue:"这是一个描述"},{label:"是否可关闭",component:"Switch",name:"props.closable",initialValue:!0},{label:"显示图标",component:"Switch",name:"props.show-icon",initialValue:!0},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"错误",value:"error"}]},initialValue:"info"},{label:"主题",component:"Radio",name:"props.effect",props:{mode:"static",options:[{label:"浅色",value:"light"},{label:"深色",value:"dark"}]},initialValue:"light"}]},_m={title:"提示框",component:"Alert",icon:c.h(ge,{name:"alert"}),type:"assist",order:2,attrSchema:km,render:"ElAlert"},Mm={title:"卡片",component:"Card",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>sv)),icon:c.h(ge,{name:"card"}),type:"layout",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},Sm={size:"small",labelPosition:"top",initialValues:{label:"级联选择器",props:{placeholder:"请选择...",mode:"static",options:[{label:"选项1",value:"value1",children:[{label:"选项1-1",value:"value1-1"},{label:"选项1-2",value:"value1-2"},{label:"选项1-3",value:"value1-2"}]},{label:"选项2",value:"value2",children:[{label:"选项2-1",value:"value2-1"},{label:"选项2-2",value:"value2-2"},{label:"选项2-3",value:"value2-2"}]},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},{label:"显示每一级",component:"Switch",name:"props.showAllLevels",initialValue:!0},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"标签key",component:"Input",name:"props.labelKey",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",designKey:"form-STkl"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},initialValue:"static",designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"JsonEdit",dialog:!0},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{label:"url",component:"Input",name:"props.api.url",initialValue:"/current/query/article",designKey:"form-UrE8"},{label:"请求方式",component:"Radio",name:"props.api.method",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"}]}]},xm={title:"级联选择器",icon:c.h(ge,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:Sm,order:7,render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>rv))},Fm={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"JSON编辑器"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"JsonEdit",name:"initialValue",dialog:!0}]},Nm={title:"JSON编辑",component:"JsonEdit",icon:c.h(ge,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:Fm,render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>hv))},Rm={size:"small",labelPosition:"top",initialValues:{label:"多选框组",component:"Checkbox",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:!0}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Cs]},Lm={title:"多选框组",icon:c.h(ge,{name:"checkbox"}),type:"basic",component:"Checkbox",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>pv)),order:4,attrSchema:Rm},Gm={size:"small",labelPosition:"top",initialValues:{label:"颜色选择器",component:"ColorPicker"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},Hm={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:c.h(ge,{name:"colorPicker"}),type:"basic",order:9,attrSchema:Gm},Pm={size:"small",labelPosition:"top",initialValues:{label:"颜色输入框",component:"ColorInput"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},Km={title:"颜色输入框",component:"ColorInput",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Ev)),icon:c.h(ge,{name:"colorPicker"}),type:"high",order:2,attrSchema:Pm},Um={size:"small",labelPosition:"top",initialValues:{label:"自定义组件"},items:[{label:"自定义组件名称",component:"Input",name:"props.componentName",props:{placeholder:"全局组件名称"}},{label:"props",component:"JsonEdit",name:"props",dialog:!0},{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},Ym={title:"自定义组件",component:"Custom",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>mv)),icon:c.h(ge,{name:"custom"}),type:"high",order:99,attrSchema:Um},Tm={size:"small",labelPosition:"top",initialValues:{label:"日期选择器",props:{type:"datetime",placeholder:"请选择日期",clearable:!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"日期时间",value:"datetime"},{label:"日期",value:"date"},{label:"年月",value:"month"},{label:"日期范围",value:"daterange"},{label:"日期时间范围",value:"datetimerange"}]}}]},Om={title:"日期选择器",component:"DatePicker",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Dv)),icon:c.h(ge,{name:"datePicker"}),type:"basic",order:9,attrSchema:Tm},Jm={size:"small",labelPosition:"top",initialValues:{props:{title:"分割线"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"标题",component:"Input",name:"props.title"},{label:"标题位置",component:"Radio",name:"props.contentPosition",props:{mode:"static",options:[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}]},initialValue:"center",designKey:"form-PLpj"}]},$m={title:"分割线",component:"Divider",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>bv)),icon:c.h(ge,{name:"divider"}),type:"assist",order:6,attrSchema:Jm},Zm={size:"small",labelPosition:"top",initialValues:{label:"电子签名",props:{width:700,height:300,lineWidth:6,lineColor:"#000000",bgColor:"#eeeeee",format:"image/png"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"画板宽度(px)",component:"InputNumber",name:"props.width"},{label:"画板高度(px)",component:"InputNumber",name:"props.height"},{label:"画笔粗细-初始",component:"InputNumber",name:"props.lineWidth"},{label:"画笔颜色-初始",component:"ColorPicker",name:"props.lineColor"},{label:"画板背景色-初始",component:"ColorPicker",name:"props.bgColor"},{label:"生成图片格式",component:"Radio",name:"props.format",props:{mode:"static",options:[{label:"PNG",value:"image/png"},{label:"JPG",value:"image/jpg"},{label:"JPEG",value:"image/jpeg"},{label:"WEBP",value:"image/webp"}]},designKey:"form-PLpj"}]},zm={title:"电子签名",component:"Esign",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Fv)),icon:c.h(ge,{name:"esign"}),type:"basic",order:11,attrSchema:Zm},Wm={size:"small",labelPosition:"top",initialValues:{label:"单选框组",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Cs]},jm={title:"单选框组",icon:c.h(ge,{name:"radio"}),type:"basic",component:"Radio",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Lv)),order:3.5,attrSchema:Wm},qm={size:"small",labelPosition:"top",initialValues:{label:"自增容器",children:[],props:{mode:"table",title:"数据",minLines:0,maxLines:999,allowAdd:!0,allowReduce:!0}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"表格",value:"table"},{label:"卡片",value:"card"},{label:"行内",value:"inline"}]}},{label:"自增前缀",component:"Input",name:"props.title"},{label:"最小行数",component:"InputNumber",props:{min:0},name:"props.minLines"},{label:"最大行数",component:"InputNumber",props:{min:0},name:"props.maxLines"},{label:"允许新增行",component:"Switch",name:"props.allowAdd"},{label:"允许删除行",component:"Switch",name:"props.allowReduce"}]},Xm={title:"自增容器",component:"FormList",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Yv)),icon:c.h(ge,{name:"formList"}),type:"high",order:20,attrSchema:qm},Vm={title:"栅格布局",type:"layout",icon:c.h(ge,{name:"grid"}),component:"Grid",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Tv)),order:3,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{columns:2,columnGap:20,rowGap:20}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.columns",initialValue:2},{label:"列间距",component:"InputNumber",name:"props.columnGap",props:{unit:"px"}},{label:"行间距",component:"InputNumber",name:"props.rowGap",props:{unit:"px"}},{label:"列对齐方式",component:"Select",name:"props.alignItems",props:{mode:"static",options:[{label:"stretch",value:"stretch"},{label:"center",value:"center"},{label:"start",value:"start"},{label:"end",value:"end"}]}}]}},Af={title:"行内布局",icon:c.h(ge,{name:"inline"}),type:"layout",component:"Inline",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Ov)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"对齐方式",component:"Radio",name:"props.align",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}]},initialValue:"left"},{label:"间距大小",component:"InputNumber",name:"props.gap",props:{unit:"px"}},{label:"自动换行",component:"Switch",name:"props.autoWrap"}]}},ef={size:"small",labelPosition:"top",initialValues:{label:"计数器",props:{min:1,max:999,step:1,controlsPosition:""}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"按钮位置",component:"Radio",name:"props.controlsPosition",props:{mode:"static",options:[{label:"两侧",value:""},{label:"内部",value:"right"}]},initialValue:""},{label:"最小值",component:"InputNumber",name:"props.min"},{label:"最大值",component:"InputNumber",name:"props.max"},{label:"步长",component:"InputNumber",name:"props.step"}]},tf={title:"计数器",icon:c.h(ge,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>$v)),attrSchema:ef},nf={size:"small",labelPosition:"top",initialValues:{label:"密码输入框",props:{placeholder:"请输入密码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"密码校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"不少于8位,由字母+数字组成",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]{8,}$"},{label:"不少于8位,至少包含一个大写字母、一个小写字母和一个数字",value:"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[A-Za-z\\d]{8,}$"},{label:"不包含空格",value:"^\\S*$"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"}]},of={key:0},sf={title:"密码输入框",component:"Password",render:c.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=ot();return(r,m)=>{var l;const b=c.resolveComponent("el-input");return c.unref(e).read?(c.openBlock(),c.createElementBlock("span",of,c.toDisplayString((l=A.value)==null?void 0:l.replace(/./g,"*")),1)):(c.openBlock(),c.createBlock(b,c.mergeProps({key:1},r.$attrs,{modelValue:A.value,"onUpdate:modelValue":m[0]||(m[0]=y=>A.value=y),type:"password"}),null,16,["modelValue"]))}}}),icon:c.h(ge,{name:"password"}),type:"basic",order:3,attrSchema:nf},rf={size:"small",labelPosition:"top",initialValues:{label:"下拉选择框",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:"{{$values.props.multiple}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},...Cs]},af={title:"下拉选择框",type:"basic",icon:c.h(ge,{name:"select"}),component:"Select",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>jv)),order:3,attrSchema:rf},lf={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"评分"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"InputNumber",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"最大分值",component:"InputNumber",name:"props.max",initialValue:5},{label:"是否允许半选",component:"Switch",name:"props.allow-half"}]},gf={title:"评分",component:"Rate",render:"ElRate",icon:c.h(ge,{name:"rate"}),type:"basic",order:12,attrSchema:lf},cf={size:"small",labelPosition:"top",initialValues:{label:"选择框+输入框",props:{placeholder:"",selectPosition:"append",selectWidth:70}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"选择框位置",component:"Radio",name:"props.selectPosition",props:{mode:"static",options:[{label:"前置",value:"prepend"},{label:"后置",value:"append"}]}},{label:"选择框宽度(px)",component:"InputNumber",name:"props.selectWidth"},{label:"选择框默认值",component:"Input",name:"props.selectInitialValue"},{label:"选项",name:"props.options",component:"FormList",dialog:!0,children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh"},{label:"选项值",name:"value",component:"Input",props:{},designKey:"form-HYtW"},{label:"是否禁用",name:"disabled",component:"Switch",props:{},designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table"}}]},uf={title:"选择+输入",component:"SelectInput",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>qv)),icon:c.h(ge,{name:"input"}),type:"high",order:1,attrSchema:cf},df={title:"滑块",render:"ElSlider",component:"Slider",icon:c.h(ge,{name:"slider"}),type:"basic",order:12,attrSchema:{size:"small",labelPosition:"top",initialValues:{label:"滑块"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu",style:{marginBottom:0}},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"开启选择范围",component:"Switch",name:"props.range"},{label:"步长",component:"InputNumber",name:"props.step",initialValue:1},{label:"最小值",component:"InputNumber",name:"props.min",initialValue:0}]}},hf={size:"small",labelPosition:"top",initialValues:{label:"开关",props:{"inline-prompt":!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"Switch",name:"initialValue"},{label:"打开时描述",component:"Input",name:"props.active-text"},{label:"关闭时描述",component:"Input",name:"props.inactive-text"},{label:"描述显示位置",component:"Radio",name:"props.inline-prompt",props:{mode:"static",options:[{label:"外部",value:!1},{label:"内部",value:!0}]}}]},Bf={title:"开关",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Xv)),component:"Switch",icon:c.h(ge,{name:"switch"}),type:"basic",order:8,attrSchema:hf},Cf={title:"标签",component:"Tag",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Vv)),icon:c.h(ge,{name:"tag"}),type:"assist",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{text:"Tag",type:"primary"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"内容",component:"Input",name:"props.text"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"主题色",value:"primary"},{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"危险",value:"danger"}]}}]}},pf={size:"small",labelPosition:"top",initialValues:{label:"文本",props:{text:"这是一段文本"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"文本内容",component:"Input",name:"props.text"}]},Qf={title:"文本",component:"Text",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>A1)),icon:c.h(ge,{name:"text"}),type:"assist",order:1,attrSchema:pf},Ef={title:"标题",component:"Title",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>e1)),icon:c.h(ge,{name:"title"}),type:"assist",order:3,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{title:"标题",type:"h3"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"标题内容",component:"Input",name:"props.title"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"一级标题",value:"h1"},{label:"二级标题",value:"h2"},{label:"三级标题",value:"h3"},{label:"四级标题",value:"h4"},{label:"五级标题",value:"h5"}]}},{label:"字体倾斜",component:"Switch",name:"props.italic"}]}},If={size:"small",labelPosition:"top",initialValues:{label:"上传",props:{action:"https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15",name:"file",multiple:!0,btnText:"点击上传",limit:3,showFileList:!0,withCredentials:!0,listType:"text"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"上传地址",component:"Input",name:"props.action"},{label:"上传的文件字段名",component:"Input",name:"props.name"},{label:"上传时的请求头",component:"JsonEdit",name:"props.headers",dialog:!0},{label:"上传时的额外数据",component:"JsonEdit",name:"props.data",dialog:!0},{label:"上传时携带cookie",component:"Switch",name:"props.withCredentials"},{label:"支持多选文件",component:"Switch",name:"props.multiple"},{label:"上传按钮文本",component:"Input",name:"props.btnText"},{label:"上传提示",component:"Input",name:"props.tip"},{label:"最大上传数量",component:"InputNumber",name:"props.limit"},{label:"开启拖拽上传",component:"Switch",name:"props.drag"},{label:"是否显示已上传文件列表",component:"Switch",name:"props.showFileList"},{label:"上传文件列表类型",component:"Radio",name:"props.listType",props:{mode:"static",options:[{label:"文本",value:"text"},{label:"图片墙",value:"picture-card"}]}}]},mf={title:"上传",component:"Upload",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>i1)),icon:c.h(ge,{name:"upload"}),type:"basic",order:10,attrSchema:If},ff={size:"small",labelPosition:"top",initialValues:{label:"验证码",required:!0,props:{placeholder:"请输入验证码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}]},wf={title:"图形验证码",component:"VerifyCode",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>a1)),icon:c.h(ge,{name:"verifyCode"}),type:"high",order:18,attrSchema:ff},Df={title:"折叠面板",component:"Collapse",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>l1)),icon:c.h(ge,{name:"collapse"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{title:"面板1",name:"name1",children:[]}]},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"子面板设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"title",initialValue:'{{ "面板" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"默认展开",component:"Switch",designKey:"form-YE6U",name:"checked"}],props:{mode:"card",title:"面板"},designKey:"id-RQ1a",name:"children"}]}},bf={title:"选项卡",component:"Tabs",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>g1)),icon:c.h(ge,{name:"tabs"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{label:"选项卡1",name:"name1",children:[]},{label:"选项卡2",name:"name2",children:[]}],props:{defaultKey:"name1",tabPosition:"top"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"默认选项卡",component:"Select",name:"props.defaultKey",props:{mode:"static",options:"{{$values.children}}",labelKey:"label",valueKey:"name"}},{label:"选项卡风格",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"普通",value:""},{label:"卡片",value:"card"},{label:"带边框的卡片",value:"border-card"}]}},{label:"选项卡所在位置",component:"Radio",name:"props.tabPosition",props:{mode:"static",optionType:"button",space:0,options:[{label:"上",value:"top"},{label:"右",value:"right"},{label:"下",value:"bottom"},{label:"左",value:"left"}]}},{label:"子选项卡配置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"label",initialValue:'{{ "选项卡" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"禁用",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI1",name:"disabled"},{label:"懒加载",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI11",name:"lazy"}],props:{mode:"card",title:"选项卡"},designKey:"id-RQ1a",name:"children"}]}},yf={title:"对象容器",icon:c.h(ge,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>d1)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},vf={},kf={t:"1727251512891",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3914",width:"20",height:"20"};function _f(i,A){return c.openBlock(),c.createElementBlock("svg",kf,A[0]||(A[0]=[c.createElementVNode("path",{d:"M320 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H160c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z m256-544h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m-64 448h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m384-576H704c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H736c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z",fill:"#333333","p-id":"3915"},null,-1)]))}const Mf=ee(vf,[["render",_f]]),Sf={size:"small",labelPosition:"top",initialValues:{label:"穿梭框",props:{data:[{label:"选项一",key:"value1"},{label:"选项二",key:"value2"},{label:"选项三",key:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"静态选项",name:"props.data",component:"FormList",children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"key",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'}],designKey:"form-Iwpd",props:{mode:"table"}}]},xf={key:0},Ff={title:"穿梭框",component:"Transfer",render:c.defineComponent({__name:"Transfer",props:c.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=ot(),r=c.useModel(i,"modelValue"),m=b=>{const l=b.map(y=>A.data.find(S=>S.key===y));e.updateSelectData(A.name,l)};return(b,l)=>{var S;const y=c.resolveComponent("el-transfer");return c.unref(e).read?(c.openBlock(),c.createElementBlock("div",xf,c.toDisplayString((S=r.value)==null?void 0:S.map(f=>{var x;return(x=b.data.find(G=>G.key===f))==null?void 0:x.label}).join("、")),1)):(c.openBlock(),c.createBlock(y,c.mergeProps({key:1},b.$attrs,{data:b.data,onChange:m,modelValue:r.value,"onUpdate:modelValue":l[0]||(l[0]=f=>r.value=f)}),null,16,["data","modelValue"]))}}}),icon:Mf,type:"basic",order:12,attrSchema:Sf},Nf={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"是否展示弹窗",component:"Switch",name:"props.withDialog"}]},Rf={key:0},Lf=c.defineComponent({__name:"SearchInput",props:c.mergeModels({onInput:{},onSearch:{},disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=ot(),r=i,m=c.inject("ruleModule",void 0),b=c.inject("pageMethodMap",{}),l=S=>{r.onInput&&m&&m[r.onInput](b,S)},y=()=>{r.onSearch&&m&&m[r.onSearch](b)};return(S,f)=>{const x=c.resolveComponent("el-button"),G=c.resolveComponent("el-input");return c.unref(e).read?(c.openBlock(),c.createElementBlock("span",Rf,c.toDisplayString(A.value),1)):(c.openBlock(),c.createBlock(G,c.mergeProps({key:1},S.$attrs,{modelValue:A.value,"onUpdate:modelValue":f[0]||(f[0]=K=>A.value=K),onInput:l,disabled:S.disabled}),{append:c.withCtx(()=>[c.createVNode(x,{onClick:y,disabled:S.disabled},{default:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:"search"})]),_:1},8,["disabled"])]),_:1},16,["modelValue","disabled"]))}}}),Gf={title:"搜索输入",component:"SearchInput",icon:c.h(ge,{name:"search"}),type:"high",order:5,attrSchema:Nf,render:Lf},Hf={size:"small",labelPosition:"top",initialValues:{label:"下拉选择框",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:"{{$values.props.multiple}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},{label:"搜索按钮点击事件",component:"Input",name:"props.onSearch"},...Cs]},Pf={title:"选择+搜索",type:"high",icon:c.h(ge,{name:"searchSelect"}),component:"SearchSelect",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Q1)),order:3,attrSchema:Hf},Kf={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"按钮文字",component:"Input",name:"props.buttonText",designKey:"form-ekRL",initialValue:"按钮文字"},{component:"Grid",children:[{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"click事件函数名",component:"Input",name:"props.onClick"}]},Uf=c.defineComponent({__name:"button",props:{buttonText:{},onClick:{}},setup(i){const A=i,e=c.inject("ruleModule",void 0),r=c.inject("pageMethodMap",{}),m=()=>{A.onClick&&e&&e[A.onClick](r)};return(b,l)=>{const y=c.resolveComponent("el-button");return c.openBlock(),c.createBlock(y,c.mergeProps(b.$attrs,{onClick:m}),{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(b.buttonText),1)]),_:1},16)}}}),Yf={title:"按钮",component:"Button",icon:c.h(ge,{name:"button"}),type:"assist",order:1,attrSchema:Kf,render:Uf},Tf=Object.freeze(Object.defineProperty({__proto__:null,Alert:_m,Button:Yf,Card:Mm,Cascader:xm,Checkbox:Lm,Collapse:Df,ColorInput:Km,ColorPicker:Hm,Custom:Ym,DatePicker:Om,Divider:$m,Esign:zm,FormList:Xm,Grid:Vm,Inline:Af,Input:bm,InputNumber:tf,JsonEdit:Nm,ObjGroup:yf,Password:sf,Radio:jm,Rate:gf,SearchInput:Gf,SearchSelect:Pf,Select:af,SelectInput:uf,Slider:df,Switch:Bf,Tabs:bf,Tag:Cf,Text:Qf,TextArea:vm,Title:Ef,Transfer:Ff,Upload:mf,VerifyCode:wf},Symbol.toStringTag,{value:"Module"})),Mi=()=>{const i=c.inject(uo),A={...Tf};return i!=null&&i.extendElements&&Object.assign(A,i.extendElements),A},$t=()=>c.inject(Mc),Of=c.defineComponent({__name:"Footer",setup(i){const A=ot(),e=c.computed(()=>({marginLeft:A.schema.labelWidth+"px"}));return(r,m)=>{const b=c.resolveComponent("el-button");return c.unref(A).footer?(c.openBlock(),c.createElementBlock("div",{key:0,style:c.normalizeStyle(e.value)},[c.createVNode(b,{type:"primary",onClick:c.unref(A).submit,name:"submit-btn"},{default:c.withCtx(()=>m[1]||(m[1]=[c.createTextVNode("提交")])),_:1},8,["onClick"]),c.createVNode(b,{onClick:m[0]||(m[0]=()=>c.unref(A).resetFields()),name:"reset-btn"},{default:c.withCtx(()=>m[2]||(m[2]=[c.createTextVNode("重置")])),_:1})],4)):c.createCommentVNode("",!0)}}}),Jf=ee(c.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(i){return(A,e)=>A.disabled?(c.openBlock(),c.createElementBlock("div",c.mergeProps({key:0},A.$attrs,{class:"disabled-wrapper"}),[e[0]||(e[0]=c.createElementVNode("div",{class:"mask"},null,-1)),c.renderSlot(A.$slots,"default",{},void 0,!0)],16)):c.renderSlot(A.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-f3803727"]]);let oi=class extends Error{constructor(A){super(A),this.name="ShikiError"}},Ba=class extends Error{constructor(A){super(A),this.name="ShikiError"}};function $f(){return 2147483648}function Zf(){return typeof performance<"u"?performance.now():Date.now()}const zf=(i,A)=>i+(A-i%A)%A;async function Wf(i){let A,e;const r={};function m(j){e=j,r.HEAPU8=new Uint8Array(j),r.HEAPU32=new Uint32Array(j)}function b(j,Y,U){r.HEAPU8.copyWithin(j,Y,Y+U)}function l(j){try{return A.grow(j-e.byteLength+65535>>>16),m(A.buffer),1}catch{}}function y(j){const Y=r.HEAPU8.length;j=j>>>0;const U=$f();if(j>U)return!1;for(let _=1;_<=4;_*=2){let I=Y*(1+.2/_);I=Math.min(I,j+100663296);const R=Math.min(U,zf(Math.max(j,I),65536));if(l(R))return!0}return!1}const S=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function f(j,Y,U=1024){const _=Y+U;let I=Y;for(;j[I]&&!(I>=_);)++I;if(I-Y>16&&j.buffer&&S)return S.decode(j.subarray(Y,I));let R="";for(;Y<I;){let D=j[Y++];if(!(D&128)){R+=String.fromCharCode(D);continue}const w=j[Y++]&63;if((D&224)===192){R+=String.fromCharCode((D&31)<<6|w);continue}const C=j[Y++]&63;if((D&240)===224?D=(D&15)<<12|w<<6|C:D=(D&7)<<18|w<<12|C<<6|j[Y++]&63,D<65536)R+=String.fromCharCode(D);else{const h=D-65536;R+=String.fromCharCode(55296|h>>10,56320|h&1023)}}return R}function x(j,Y){return j?f(r.HEAPU8,j,Y):""}const G={emscripten_get_now:Zf,emscripten_memcpy_big:b,emscripten_resize_heap:y,fd_write:()=>0};async function K(){const Y=await i({env:G,wasi_snapshot_preview1:G});A=Y.memory,m(A.buffer),Object.assign(r,Y),r.UTF8ToString=x}return await K(),r}let ut=null;function jf(i){throw new Ba(i.UTF8ToString(i.getLastOnigError()))}class ps{constructor(A){Je(this,"utf16Length");Je(this,"utf8Length");Je(this,"utf16Value");Je(this,"utf8Value");Je(this,"utf16OffsetToUtf8");Je(this,"utf8OffsetToUtf16");const e=A.length,r=ps._utf8ByteLength(A),m=r!==e,b=m?new Uint32Array(e+1):null;m&&(b[e]=r);const l=m?new Uint32Array(r+1):null;m&&(l[r]=e);const y=new Uint8Array(r);let S=0;for(let f=0;f<e;f++){const x=A.charCodeAt(f);let G=x,K=!1;if(x>=55296&&x<=56319&&f+1<e){const j=A.charCodeAt(f+1);j>=56320&&j<=57343&&(G=(x-55296<<10)+65536|j-56320,K=!0)}m&&(b[f]=S,K&&(b[f+1]=S),G<=127?l[S+0]=f:G<=2047?(l[S+0]=f,l[S+1]=f):G<=65535?(l[S+0]=f,l[S+1]=f,l[S+2]=f):(l[S+0]=f,l[S+1]=f,l[S+2]=f,l[S+3]=f)),G<=127?y[S++]=G:G<=2047?(y[S++]=192|(G&1984)>>>6,y[S++]=128|(G&63)>>>0):G<=65535?(y[S++]=224|(G&61440)>>>12,y[S++]=128|(G&4032)>>>6,y[S++]=128|(G&63)>>>0):(y[S++]=240|(G&1835008)>>>18,y[S++]=128|(G&258048)>>>12,y[S++]=128|(G&4032)>>>6,y[S++]=128|(G&63)>>>0),K&&f++}this.utf16Length=e,this.utf8Length=r,this.utf16Value=A,this.utf8Value=y,this.utf16OffsetToUtf8=b,this.utf8OffsetToUtf16=l}static _utf8ByteLength(A){let e=0;for(let r=0,m=A.length;r<m;r++){const b=A.charCodeAt(r);let l=b,y=!1;if(b>=55296&&b<=56319&&r+1<m){const S=A.charCodeAt(r+1);S>=56320&&S<=57343&&(l=(b-55296<<10)+65536|S-56320,y=!0)}l<=127?e+=1:l<=2047?e+=2:l<=65535?e+=3:e+=4,y&&r++}return e}createString(A){const e=A.omalloc(this.utf8Length);return A.HEAPU8.set(this.utf8Value,e),e}}const Mt=class Mt{constructor(A){Je(this,"id",++Mt.LAST_ID);Je(this,"_onigBinding");Je(this,"content");Je(this,"utf16Length");Je(this,"utf8Length");Je(this,"utf16OffsetToUtf8");Je(this,"utf8OffsetToUtf16");Je(this,"ptr");if(!ut)throw new Ba("Must invoke loadWasm first.");this._onigBinding=ut,this.content=A;const e=new ps(A);this.utf16Length=e.utf16Length,this.utf8Length=e.utf8Length,this.utf16OffsetToUtf8=e.utf16OffsetToUtf8,this.utf8OffsetToUtf16=e.utf8OffsetToUtf16,this.utf8Length<1e4&&!Mt._sharedPtrInUse?(Mt._sharedPtr||(Mt._sharedPtr=ut.omalloc(1e4)),Mt._sharedPtrInUse=!0,ut.HEAPU8.set(e.utf8Value,Mt._sharedPtr),this.ptr=Mt._sharedPtr):this.ptr=e.createString(ut)}convertUtf8OffsetToUtf16(A){return this.utf8OffsetToUtf16?A<0?0:A>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[A]:A}convertUtf16OffsetToUtf8(A){return this.utf16OffsetToUtf8?A<0?0:A>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[A]:A}dispose(){this.ptr===Mt._sharedPtr?Mt._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Je(Mt,"LAST_ID",0),Je(Mt,"_sharedPtr",0),Je(Mt,"_sharedPtrInUse",!1);let Qs=Mt;class qf{constructor(A){Je(this,"_onigBinding");Je(this,"_ptr");if(!ut)throw new Ba("Must invoke loadWasm first.");const e=[],r=[];for(let y=0,S=A.length;y<S;y++){const f=new ps(A[y]);e[y]=f.createString(ut),r[y]=f.utf8Length}const m=ut.omalloc(4*A.length);ut.HEAPU32.set(e,m/4);const b=ut.omalloc(4*A.length);ut.HEAPU32.set(r,b/4);const l=ut.createOnigScanner(m,b,A.length);for(let y=0,S=A.length;y<S;y++)ut.ofree(e[y]);ut.ofree(b),ut.ofree(m),l===0&&jf(ut),this._onigBinding=ut,this._ptr=l}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(A,e,r){let m=0;if(typeof r=="number"&&(m=r),typeof A=="string"){A=new Qs(A);const b=this._findNextMatchSync(A,e,!1,m);return A.dispose(),b}return this._findNextMatchSync(A,e,!1,m)}_findNextMatchSync(A,e,r,m){const b=this._onigBinding,l=b.findNextOnigScannerMatch(this._ptr,A.id,A.ptr,A.utf8Length,A.convertUtf16OffsetToUtf8(e),m);if(l===0)return null;const y=b.HEAPU32;let S=l/4;const f=y[S++],x=y[S++],G=[];for(let K=0;K<x;K++){const j=A.convertUtf8OffsetToUtf16(y[S++]),Y=A.convertUtf8OffsetToUtf16(y[S++]);G[K]={start:j,end:Y,length:Y-j}}return{index:f,captureIndices:G}}}function Xf(i){return typeof i.instantiator=="function"}function Vf(i){return typeof i.default=="function"}function Aw(i){return typeof i.data<"u"}function ew(i){return typeof Response<"u"&&i instanceof Response}function tw(i){var A;return typeof ArrayBuffer<"u"&&(i instanceof ArrayBuffer||ArrayBuffer.isView(i))||typeof Buffer<"u"&&((A=Buffer.isBuffer)==null?void 0:A.call(Buffer,i))||typeof SharedArrayBuffer<"u"&&i instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&i instanceof Uint32Array}let Es;function nw(i){if(Es)return Es;async function A(){ut=await Wf(async e=>{let r=i;return r=await r,typeof r=="function"&&(r=await r(e)),typeof r=="function"&&(r=await r(e)),Xf(r)?r=await r.instantiator(e):Vf(r)?r=await r.default(e):(Aw(r)&&(r=r.data),ew(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await iw(r)(e):r=await ow(r)(e):tw(r)?r=await Ca(r)(e):r instanceof WebAssembly.Module?r=await Ca(r)(e):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Ca(r.default)(e))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Es=A(),Es}function Ca(i){return A=>WebAssembly.instantiate(i,A)}function iw(i){return A=>WebAssembly.instantiateStreaming(i,A)}function ow(i){return async A=>{const e=await i.arrayBuffer();return WebAssembly.instantiate(e,A)}}let sw;function rw(){return sw}async function aw(i){return i&&await nw(i),{createScanner(A){return new qf(A)},createString(A){return new Qs(A)}}}function lw(i){return pa(i)}function pa(i){return Array.isArray(i)?gw(i):typeof i=="object"?cw(i):i}function gw(i){let A=[];for(let e=0,r=i.length;e<r;e++)A[e]=pa(i[e]);return A}function cw(i){let A={};for(let e in i)A[e]=pa(i[e]);return A}function Lc(i,...A){return A.forEach(e=>{for(let r in e)i[r]=e[r]}),i}function Gc(i){const A=~i.lastIndexOf("/")||~i.lastIndexOf("\\");return A===0?i:~A===i.length-1?Gc(i.substring(0,i.length-1)):i.substr(~A+1)}var Qa=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Is=class{static hasCaptures(i){return i===null?!1:(Qa.lastIndex=0,Qa.test(i))}static replaceCaptures(i,A,e){return i.replace(Qa,(r,m,b,l)=>{let y=e[parseInt(m||b,10)];if(y){let S=A.substring(y.start,y.end);for(;S[0]===".";)S=S.substring(1);switch(l){case"downcase":return S.toLowerCase();case"upcase":return S.toUpperCase();default:return S}}else return r})}};function Hc(i,A){return i<A?-1:i>A?1:0}function Pc(i,A){if(i===null&&A===null)return 0;if(!i)return-1;if(!A)return 1;let e=i.length,r=A.length;if(e===r){for(let m=0;m<e;m++){let b=Hc(i[m],A[m]);if(b!==0)return b}return 0}return e-r}function Kc(i){return!!(/^#[0-9a-f]{6}$/i.test(i)||/^#[0-9a-f]{8}$/i.test(i)||/^#[0-9a-f]{3}$/i.test(i)||/^#[0-9a-f]{4}$/i.test(i))}function Uc(i){return i.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Yc=class{constructor(i){this.fn=i,this.cache=new Map}get(i){if(this.cache.has(i))return this.cache.get(i);const A=this.fn(i);return this.cache.set(i,A),A}},ms=class{constructor(i,A,e){this._colorMap=i,this._defaults=A,this._root=e,this._cachedMatchRoot=new Yc(r=>this._root.match(r))}static createFromRawTheme(i,A){return this.createFromParsedTheme(hw(i),A)}static createFromParsedTheme(i,A){return Cw(i,A)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(i){if(i===null)return this._defaults;const A=i.scopeName,r=this._cachedMatchRoot.get(A).find(m=>uw(i.parent,m.parentScopes));return r?new Tc(r.fontStyle,r.foreground,r.background):null}},Ea=class Pr{constructor(A,e){this.parent=A,this.scopeName=e}static push(A,e){for(const r of e)A=new Pr(A,r);return A}static from(...A){let e=null;for(let r=0;r<A.length;r++)e=new Pr(e,A[r]);return e}push(A){return new Pr(this,A)}getSegments(){let A=this;const e=[];for(;A;)e.push(A.scopeName),A=A.parent;return e.reverse(),e}toString(){return this.getSegments().join(" ")}extends(A){return this===A?!0:this.parent===null?!1:this.parent.extends(A)}getExtensionIfDefined(A){const e=[];let r=this;for(;r&&r!==A;)e.push(r.scopeName),r=r.parent;return r===A?e.reverse():void 0}};function uw(i,A){if(A.length===0)return!0;for(let e=0;e<A.length;e++){let r=A[e],m=!1;if(r===">"){if(e===A.length-1)return!1;r=A[++e],m=!0}for(;i&&!dw(i.scopeName,r);){if(m)return!1;i=i.parent}if(!i)return!1;i=i.parent}return!0}function dw(i,A){return A===i||i.startsWith(A)&&i[A.length]==="."}var Tc=class{constructor(i,A,e){this.fontStyle=i,this.foregroundId=A,this.backgroundId=e}};function hw(i){if(!i)return[];if(!i.settings||!Array.isArray(i.settings))return[];let A=i.settings,e=[],r=0;for(let m=0,b=A.length;m<b;m++){let l=A[m];if(!l.settings)continue;let y;if(typeof l.scope=="string"){let G=l.scope;G=G.replace(/^[,]+/,""),G=G.replace(/[,]+$/,""),y=G.split(",")}else Array.isArray(l.scope)?y=l.scope:y=[""];let S=-1;if(typeof l.settings.fontStyle=="string"){S=0;let G=l.settings.fontStyle.split(" ");for(let K=0,j=G.length;K<j;K++)switch(G[K]){case"italic":S=S|1;break;case"bold":S=S|2;break;case"underline":S=S|4;break;case"strikethrough":S=S|8;break}}let f=null;typeof l.settings.foreground=="string"&&Kc(l.settings.foreground)&&(f=l.settings.foreground);let x=null;typeof l.settings.background=="string"&&Kc(l.settings.background)&&(x=l.settings.background);for(let G=0,K=y.length;G<K;G++){let Y=y[G].trim().split(" "),U=Y[Y.length-1],_=null;Y.length>1&&(_=Y.slice(0,Y.length-1),_.reverse()),e[r++]=new Bw(U,_,m,S,f,x)}}return e}var Bw=class{constructor(i,A,e,r,m,b){this.scope=i,this.parentScopes=A,this.index=e,this.fontStyle=r,this.foreground=m,this.background=b}},Dn=(i=>(i[i.NotSet=-1]="NotSet",i[i.None=0]="None",i[i.Italic=1]="Italic",i[i.Bold=2]="Bold",i[i.Underline=4]="Underline",i[i.Strikethrough=8]="Strikethrough",i))(Dn||{});function Cw(i,A){i.sort((S,f)=>{let x=Hc(S.scope,f.scope);return x!==0||(x=Pc(S.parentScopes,f.parentScopes),x!==0)?x:S.index-f.index});let e=0,r="#000000",m="#ffffff";for(;i.length>=1&&i[0].scope==="";){let S=i.shift();S.fontStyle!==-1&&(e=S.fontStyle),S.foreground!==null&&(r=S.foreground),S.background!==null&&(m=S.background)}let b=new pw(A),l=new Tc(e,b.getId(r),b.getId(m)),y=new Ew(new Ia(0,null,-1,0,0),[]);for(let S=0,f=i.length;S<f;S++){let x=i[S];y.insert(0,x.scope,x.parentScopes,x.fontStyle,b.getId(x.foreground),b.getId(x.background))}return new ms(b,l,y)}var pw=class{constructor(i){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(i)){this._isFrozen=!0;for(let A=0,e=i.length;A<e;A++)this._color2id[i[A]]=A,this._id2color[A]=i[A]}else this._isFrozen=!1}getId(i){if(i===null)return 0;i=i.toUpperCase();let A=this._color2id[i];if(A)return A;if(this._isFrozen)throw new Error(`Missing color in color map - ${i}`);return A=++this._lastColorId,this._color2id[i]=A,this._id2color[A]=i,A}getColorMap(){return this._id2color.slice(0)}},Qw=Object.freeze([]),Ia=class $B{constructor(A,e,r,m,b){this.scopeDepth=A,this.parentScopes=e||Qw,this.fontStyle=r,this.foreground=m,this.background=b}clone(){return new $B(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(A){let e=[];for(let r=0,m=A.length;r<m;r++)e[r]=A[r].clone();return e}acceptOverwrite(A,e,r,m){this.scopeDepth>A?console.log("how did this happen?"):this.scopeDepth=A,e!==-1&&(this.fontStyle=e),r!==0&&(this.foreground=r),m!==0&&(this.background=m)}},Ew=class Qg{constructor(A,e=[],r={}){this._mainRule=A,this._children=r,this._rulesWithParentScopes=e}static _cmpBySpecificity(A,e){if(A.scopeDepth!==e.scopeDepth)return e.scopeDepth-A.scopeDepth;let r=0,m=0;for(;A.parentScopes[r]===">"&&r++,e.parentScopes[m]===">"&&m++,!(r>=A.parentScopes.length||m>=e.parentScopes.length);){const b=e.parentScopes[m].length-A.parentScopes[r].length;if(b!==0)return b;r++,m++}return e.parentScopes.length-A.parentScopes.length}match(A){if(A!==""){let r=A.indexOf("."),m,b;if(r===-1?(m=A,b=""):(m=A.substring(0,r),b=A.substring(r+1)),this._children.hasOwnProperty(m))return this._children[m].match(b)}const e=this._rulesWithParentScopes.concat(this._mainRule);return e.sort(Qg._cmpBySpecificity),e}insert(A,e,r,m,b,l){if(e===""){this._doInsertHere(A,r,m,b,l);return}let y=e.indexOf("."),S,f;y===-1?(S=e,f=""):(S=e.substring(0,y),f=e.substring(y+1));let x;this._children.hasOwnProperty(S)?x=this._children[S]:(x=new Qg(this._mainRule.clone(),Ia.cloneArr(this._rulesWithParentScopes)),this._children[S]=x),x.insert(A+1,f,r,m,b,l)}_doInsertHere(A,e,r,m,b){if(e===null){this._mainRule.acceptOverwrite(A,r,m,b);return}for(let l=0,y=this._rulesWithParentScopes.length;l<y;l++){let S=this._rulesWithParentScopes[l];if(Pc(S.parentScopes,e)===0){S.acceptOverwrite(A,r,m,b);return}}r===-1&&(r=this._mainRule.fontStyle),m===0&&(m=this._mainRule.foreground),b===0&&(b=this._mainRule.background),this._rulesWithParentScopes.push(new Ia(A,e,r,m,b))}},Si=class rn{static toBinaryStr(A){return A.toString(2).padStart(32,"0")}static print(A){const e=rn.getLanguageId(A),r=rn.getTokenType(A),m=rn.getFontStyle(A),b=rn.getForeground(A),l=rn.getBackground(A);console.log({languageId:e,tokenType:r,fontStyle:m,foreground:b,background:l})}static getLanguageId(A){return(A&255)>>>0}static getTokenType(A){return(A&768)>>>8}static containsBalancedBrackets(A){return(A&1024)!==0}static getFontStyle(A){return(A&30720)>>>11}static getForeground(A){return(A&16744448)>>>15}static getBackground(A){return(A&4278190080)>>>24}static set(A,e,r,m,b,l,y){let S=rn.getLanguageId(A),f=rn.getTokenType(A),x=rn.containsBalancedBrackets(A)?1:0,G=rn.getFontStyle(A),K=rn.getForeground(A),j=rn.getBackground(A);return e!==0&&(S=e),r!==8&&(f=r),m!==null&&(x=m?1:0),b!==-1&&(G=b),l!==0&&(K=l),y!==0&&(j=y),(S<<0|f<<8|x<<10|G<<11|K<<15|j<<24)>>>0}};function N4(i){return i}function R4(i){return i}function fs(i,A){const e=[],r=Iw(i);let m=r.next();for(;m!==null;){let S=0;if(m.length===2&&m.charAt(1)===":"){switch(m.charAt(0)){case"R":S=1;break;case"L":S=-1;break;default:console.log(`Unknown priority ${m} in scope selector`)}m=r.next()}let f=l();if(e.push({matcher:f,priority:S}),m!==",")break;m=r.next()}return e;function b(){if(m==="-"){m=r.next();const S=b();return f=>!!S&&!S(f)}if(m==="("){m=r.next();const S=y();return m===")"&&(m=r.next()),S}if(Oc(m)){const S=[];do S.push(m),m=r.next();while(Oc(m));return f=>A(S,f)}return null}function l(){const S=[];let f=b();for(;f;)S.push(f),f=b();return x=>S.every(G=>G(x))}function y(){const S=[];let f=l();for(;f&&(S.push(f),m==="|"||m===",");){do m=r.next();while(m==="|"||m===",");f=l()}return x=>S.some(G=>G(x))}}function Oc(i){return!!i&&!!i.match(/[\w\.:]+/)}function Iw(i){let A=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,e=A.exec(i);return{next:()=>{if(!e)return null;const r=e[0];return e=A.exec(i),r}}}function Jc(i){typeof i.dispose=="function"&&i.dispose()}var Bo=class{constructor(i){this.scopeName=i}toKey(){return this.scopeName}},mw=class{constructor(i,A){this.scopeName=i,this.ruleName=A}toKey(){return`${this.scopeName}#${this.ruleName}`}},fw=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(i){const A=i.toKey();this._seenReferenceKeys.has(A)||(this._seenReferenceKeys.add(A),this._references.push(i))}},ww=class{constructor(i,A){this.repo=i,this.initialScopeName=A,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Bo(this.initialScopeName)]}processQueue(){const i=this.Q;this.Q=[];const A=new fw;for(const e of i)Dw(e,this.initialScopeName,this.repo,A);for(const e of A.references)if(e instanceof Bo){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function Dw(i,A,e,r){const m=e.lookup(i.scopeName);if(!m){if(i.scopeName===A)throw new Error(`No grammar provided for <${A}>`);return}const b=e.lookup(A);i instanceof Bo?ws({baseGrammar:b,selfGrammar:m},r):ma(i.ruleName,{baseGrammar:b,selfGrammar:m,repository:m.repository},r);const l=e.injections(i.scopeName);if(l)for(const y of l)r.add(new Bo(y))}function ma(i,A,e){if(A.repository&&A.repository[i]){const r=A.repository[i];Ds([r],A,e)}}function ws(i,A){i.selfGrammar.patterns&&Array.isArray(i.selfGrammar.patterns)&&Ds(i.selfGrammar.patterns,{...i,repository:i.selfGrammar.repository},A),i.selfGrammar.injections&&Ds(Object.values(i.selfGrammar.injections),{...i,repository:i.selfGrammar.repository},A)}function Ds(i,A,e){for(const r of i){if(e.visitedRule.has(r))continue;e.visitedRule.add(r);const m=r.repository?Lc({},A.repository,r.repository):A.repository;Array.isArray(r.patterns)&&Ds(r.patterns,{...A,repository:m},e);const b=r.include;if(!b)continue;const l=$c(b);switch(l.kind){case 0:ws({...A,selfGrammar:A.baseGrammar},e);break;case 1:ws(A,e);break;case 2:ma(l.ruleName,{...A,repository:m},e);break;case 3:case 4:const y=l.scopeName===A.selfGrammar.scopeName?A.selfGrammar:l.scopeName===A.baseGrammar.scopeName?A.baseGrammar:void 0;if(y){const S={baseGrammar:A.baseGrammar,selfGrammar:y,repository:m};l.kind===4?ma(l.ruleName,S,e):ws(S,e)}else l.kind===4?e.add(new mw(l.scopeName,l.ruleName)):e.add(new Bo(l.scopeName));break}}}var bw=class{constructor(){this.kind=0}},yw=class{constructor(){this.kind=1}},vw=class{constructor(i){this.ruleName=i,this.kind=2}},kw=class{constructor(i){this.scopeName=i,this.kind=3}},_w=class{constructor(i,A){this.scopeName=i,this.ruleName=A,this.kind=4}};function $c(i){if(i==="$base")return new bw;if(i==="$self")return new yw;const A=i.indexOf("#");if(A===-1)return new kw(i);if(A===0)return new vw(i.substring(1));{const e=i.substring(0,A),r=i.substring(A+1);return new _w(e,r)}}var Mw=/\\(\d+)/,Zc=/\\(\d+)/g,Sw=-1,zc=-2;function L4(i){return i}function G4(i){return i}var Co=class{constructor(i,A,e,r){this.$location=i,this.id=A,this._name=e||null,this._nameIsCapturing=Is.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Is.hasCaptures(this._contentName)}get debugName(){const i=this.$location?`${Gc(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${i}`}getName(i,A){return!this._nameIsCapturing||this._name===null||i===null||A===null?this._name:Is.replaceCaptures(this._name,i,A)}getContentName(i,A){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Is.replaceCaptures(this._contentName,i,A)}},xw=class extends Co{constructor(i,A,e,r,m){super(i,A,e,r),this.retokenizeCapturedWithRuleId=m}dispose(){}collectPatterns(i,A){throw new Error("Not supported!")}compile(i,A){throw new Error("Not supported!")}compileAG(i,A,e,r){throw new Error("Not supported!")}},Fw=class extends Co{constructor(i,A,e,r,m){super(i,A,e,null),this._match=new po(r,this.id),this.captures=m,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(i,A){A.push(this._match)}compile(i,A){return this._getCachedCompiledPatterns(i).compile(i)}compileAG(i,A,e,r){return this._getCachedCompiledPatterns(i).compileAG(i,e,r)}_getCachedCompiledPatterns(i){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Qo,this.collectPatterns(i,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Wc=class extends Co{constructor(i,A,e,r,m){super(i,A,e,r),this.patterns=m.patterns,this.hasMissingPatterns=m.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(i,A){for(const e of this.patterns)i.getRule(e).collectPatterns(i,A)}compile(i,A){return this._getCachedCompiledPatterns(i).compile(i)}compileAG(i,A,e,r){return this._getCachedCompiledPatterns(i).compileAG(i,e,r)}_getCachedCompiledPatterns(i){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Qo,this.collectPatterns(i,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},fa=class extends Co{constructor(i,A,e,r,m,b,l,y,S,f){super(i,A,e,r),this._begin=new po(m,this.id),this.beginCaptures=b,this._end=new po(l||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=y,this.applyEndPatternLast=S||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(i,A){return this._end.resolveBackReferences(i,A)}collectPatterns(i,A){A.push(this._begin)}compile(i,A){return this._getCachedCompiledPatterns(i,A).compile(i)}compileAG(i,A,e,r){return this._getCachedCompiledPatterns(i,A).compileAG(i,e,r)}_getCachedCompiledPatterns(i,A){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Qo;for(const e of this.patterns)i.getRule(e).collectPatterns(i,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,A):this._cachedCompiledPatterns.setSource(0,A)),this._cachedCompiledPatterns}},bs=class extends Co{constructor(i,A,e,r,m,b,l,y,S){super(i,A,e,r),this._begin=new po(m,this.id),this.beginCaptures=b,this.whileCaptures=y,this._while=new po(l,zc),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=S.patterns,this.hasMissingPatterns=S.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(i,A){return this._while.resolveBackReferences(i,A)}collectPatterns(i,A){A.push(this._begin)}compile(i,A){return this._getCachedCompiledPatterns(i).compile(i)}compileAG(i,A,e,r){return this._getCachedCompiledPatterns(i).compileAG(i,e,r)}_getCachedCompiledPatterns(i){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Qo;for(const A of this.patterns)i.getRule(A).collectPatterns(i,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(i,A){return this._getCachedCompiledWhilePatterns(i,A).compile(i)}compileWhileAG(i,A,e,r){return this._getCachedCompiledWhilePatterns(i,A).compileAG(i,e,r)}_getCachedCompiledWhilePatterns(i,A){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Qo,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,A||"￿"),this._cachedCompiledWhilePatterns}},jc=class mt{static createCaptureRule(A,e,r,m,b){return A.registerRule(l=>new xw(e,l,r,m,b))}static getCompiledRuleId(A,e,r){return A.id||e.registerRule(m=>{if(A.id=m,A.match)return new Fw(A.$vscodeTextmateLocation,A.id,A.name,A.match,mt._compileCaptures(A.captures,e,r));if(typeof A.begin>"u"){A.repository&&(r=Lc({},r,A.repository));let b=A.patterns;return typeof b>"u"&&A.include&&(b=[{include:A.include}]),new Wc(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,mt._compilePatterns(b,e,r))}return A.while?new bs(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,mt._compileCaptures(A.beginCaptures||A.captures,e,r),A.while,mt._compileCaptures(A.whileCaptures||A.captures,e,r),mt._compilePatterns(A.patterns,e,r)):new fa(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,mt._compileCaptures(A.beginCaptures||A.captures,e,r),A.end,mt._compileCaptures(A.endCaptures||A.captures,e,r),A.applyEndPatternLast,mt._compilePatterns(A.patterns,e,r))}),A.id}static _compileCaptures(A,e,r){let m=[];if(A){let b=0;for(const l in A){if(l==="$vscodeTextmateLocation")continue;const y=parseInt(l,10);y>b&&(b=y)}for(let l=0;l<=b;l++)m[l]=null;for(const l in A){if(l==="$vscodeTextmateLocation")continue;const y=parseInt(l,10);let S=0;A[l].patterns&&(S=mt.getCompiledRuleId(A[l],e,r)),m[y]=mt.createCaptureRule(e,A[l].$vscodeTextmateLocation,A[l].name,A[l].contentName,S)}}return m}static _compilePatterns(A,e,r){let m=[];if(A)for(let b=0,l=A.length;b<l;b++){const y=A[b];let S=-1;if(y.include){const f=$c(y.include);switch(f.kind){case 0:case 1:S=mt.getCompiledRuleId(r[y.include],e,r);break;case 2:let x=r[f.ruleName];x&&(S=mt.getCompiledRuleId(x,e,r));break;case 3:case 4:const G=f.scopeName,K=f.kind===4?f.ruleName:null,j=e.getExternalGrammar(G,r);if(j)if(K){let Y=j.repository[K];Y&&(S=mt.getCompiledRuleId(Y,e,j.repository))}else S=mt.getCompiledRuleId(j.repository.$self,e,j.repository);break}}else S=mt.getCompiledRuleId(y,e,r);if(S!==-1){const f=e.getRule(S);let x=!1;if((f instanceof Wc||f instanceof fa||f instanceof bs)&&f.hasMissingPatterns&&f.patterns.length===0&&(x=!0),x)continue;m.push(S)}}return{patterns:m,hasMissingPatterns:(A?A.length:0)!==m.length}}},po=class ZB{constructor(A,e){if(A){const r=A.length;let m=0,b=[],l=!1;for(let y=0;y<r;y++)if(A.charAt(y)==="\\"&&y+1<r){const f=A.charAt(y+1);f==="z"?(b.push(A.substring(m,y)),b.push("$(?!\\n)(?<!\\n)"),m=y+2):(f==="A"||f==="G")&&(l=!0),y++}this.hasAnchor=l,m===0?this.source=A:(b.push(A.substring(m,r)),this.source=b.join(""))}else this.hasAnchor=!1,this.source=A;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=e,this.hasBackReferences=Mw.test(this.source)}clone(){return new ZB(this.source,this.ruleId)}setSource(A){this.source!==A&&(this.source=A,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(A,e){let r=e.map(m=>A.substring(m.start,m.end));return Zc.lastIndex=0,this.source.replace(Zc,(m,b)=>Uc(r[parseInt(b,10)]||""))}_buildAnchorCache(){let A=[],e=[],r=[],m=[],b,l,y,S;for(b=0,l=this.source.length;b<l;b++)y=this.source.charAt(b),A[b]=y,e[b]=y,r[b]=y,m[b]=y,y==="\\"&&b+1<l&&(S=this.source.charAt(b+1),S==="A"?(A[b+1]="￿",e[b+1]="￿",r[b+1]="A",m[b+1]="A"):S==="G"?(A[b+1]="￿",e[b+1]="G",r[b+1]="￿",m[b+1]="G"):(A[b+1]=S,e[b+1]=S,r[b+1]=S,m[b+1]=S),b++);return{A0_G0:A.join(""),A0_G1:e.join(""),A1_G0:r.join(""),A1_G1:m.join("")}}resolveAnchors(A,e){return!this.hasAnchor||!this._anchorCache?this.source:A?e?this._anchorCache.A1_G1:this._anchorCache.A1_G0:e?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Qo=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(i){this._items.push(i),this._hasAnchors=this._hasAnchors||i.hasAnchor}unshift(i){this._items.unshift(i),this._hasAnchors=this._hasAnchors||i.hasAnchor}length(){return this._items.length}setSource(i,A){this._items[i].source!==A&&(this._disposeCaches(),this._items[i].setSource(A))}compile(i){if(!this._cached){let A=this._items.map(e=>e.source);this._cached=new qc(i,A,this._items.map(e=>e.ruleId))}return this._cached}compileAG(i,A,e){return this._hasAnchors?A?e?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(i,A,e)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(i,A,e)),this._anchorCache.A1_G0):e?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(i,A,e)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(i,A,e)),this._anchorCache.A0_G0):this.compile(i)}_resolveAnchors(i,A,e){let r=this._items.map(m=>m.resolveAnchors(A,e));return new qc(i,r,this._items.map(m=>m.ruleId))}},qc=class{constructor(i,A,e){this.regExps=A,this.rules=e,this.scanner=i.createOnigScanner(A)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const i=[];for(let A=0,e=this.rules.length;A<e;A++)i.push(" - "+this.rules[A]+": "+this.regExps[A]);return i.join(`
80
+ `)},i.prototype.classes=function(A){var e=ao(this.element)?Array.from(this.element.classList):[];return A?e.includes(A):e},i.prototype.attributes=function(A){var e={};if(ao(this.element))for(var r=Array.from(this.element.attributes),m=0,b=r;m<b.length;m++){var l=b[m];e[l.localName]=l.value}return A?e[A]:e},i.prototype.text=function(){return this.getRootNodes().map(yC).join("")},i.prototype.exists=function(){return!0},i.prototype.get=function(A){var e=this.find(A);if(e.exists())return e;throw new Error("Unable to get ".concat(A," within: ").concat(this.html()))},i.prototype.getComponent=function(A){var e=this.findComponent(A);if(e.exists())return e;var r="Unable to get ";throw typeof A=="string"?r+="component with selector ".concat(A):"name"in A?r+="component with name ".concat(A.name):"ref"in A?r+="component with ref ".concat(A.ref):r+="specified component",r+=" within: ".concat(this.html()),new Error(r)},i.prototype.isVisible=function(){return ao(this.element)&&Wg(this.element)},i.prototype.trigger=function(A,e){return Or(this,void 0,void 0,function(){var r;return Jr(this,function(m){if(e&&e.target)throw Error("[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html");return this.element&&!this.isDisabled()&&(r=HC(A,e),r._vts=Date.now()+1,this.element.dispatchEvent(r)),[2,c.nextTick()]})})},i}(),ap=function(i){Ng(A,i);function A(e){var r=this;return e?(r=i.call(this,e)||this,Gg.plugins.DOMWrapper.extend(r),r):Kn("DOMWrapper")}return A.prototype.getRootNodes=function(){return[this.wrapperElement]},A.prototype.getCurrentComponent=function(){for(var e,r=this.element.__vueParentComponent;((e=r==null?void 0:r.parent)===null||e===void 0?void 0:e.vnode.el)===this.element;)r=r.parent;return r},A.prototype.find=function(e){var r=i.prototype.find.call(this,e);return r.exists()&&_C(e)?this.element.contains(r.element)?r:Kn("DOMWrapper"):r},A.prototype.findAll=function(e){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(e),lo):[]},A.prototype.findAllComponents=function(e){var r=this,m=i.prototype.findAllComponents.call(this,e);return m.filter(function(b){return r.element.contains(b.element)})},A.prototype.setChecked=function(){return Or(this,arguments,void 0,function(e){var r,m;return e===void 0&&(e=!0),Jr(this,function(b){if(r=this.element,m=this.attributes().type,m==="radio"&&!e)throw Error(`wrapper.setChecked() cannot be called with parameter false on a '<input type="radio" /> element.`);return e===r.checked?[2]:(r.checked=e,this.trigger("input"),[2,this.trigger("change")])})})},A.prototype.setValue=function(e){var r=this.element,m=r.tagName,b=this.attributes().type;if(m==="OPTION")return this.setSelected(),Promise.resolve();if(m==="INPUT"&&b==="checkbox")return this.setChecked(e);if(m==="INPUT"&&b==="radio")return this.setChecked(e);if(m==="SELECT"){if(Array.isArray(e))for(var l=r,y=0;y<l.options.length;y++){var S=l.options[y];S.selected=e.includes(S.value)}else r.value=e;return this.trigger("input"),this.trigger("change")}else{if(m==="INPUT"||m==="TEXTAREA")return r.value=e,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(m))}},A.prototype.setSelected=function(){var e=this.element;if(!e.selected){e.selected=!0;var r=e.parentElement;r.tagName==="OPTGROUP"&&(r=r.parentElement);var m=new A(r);return m.trigger("input"),m.trigger("change")}},A}(kc);jg(ki.DOMWrapper,function(i){return new ap(i)});function Bs(i){if(i.shapeFlag&1)return[i.el];if(i.shapeFlag&6){var A=i.component.subTree;return Bs(A)}else{if(i.shapeFlag&128)return Bs(i.suspense.activeBranch);if(i.shapeFlag&72){var e=[i.el];if(i.anchor)for(var r=e[0].nextSibling;r&&r.previousSibling!==i.anchor;)e.push(r),r=r.nextSibling;return e}else if(i.shapeFlag&16){var m=i.children.flat();return m.flatMap(function(b){return Bs(b)}).filter(kC)}}return[]}var ii={};function lp(i,A){var e=i.$.uid,r=ii[e]||{};return A?r?r[A]:void 0:r}var gp=function(i,A,e){for(var r=i;typeof(r==null?void 0:r.type)=="function";)r=r.parent;var m=r.uid;m in ii||(ii[m]={}),A in ii[m]||(ii[m][A]=[]),ii[m][A].push(e)},cp=function(i){var A=i.$.uid;delete ii[A]};function up(i,A){return new Proxy(i,{get:function(e,r,m){return e.$.exposed&&e.$.exposeProxy&&r in e.$.exposeProxy?Reflect.get(e.$.exposeProxy,r,m):r in A?Reflect.get(A,r,m):r in e.$.appContext.config.globalProperties?Reflect.get(e.$.appContext.config.globalProperties,r,m):e.$.ctx[r]},set:function(e,r,m,b){return r in A?Reflect.set(A,r,m,b):Reflect.set(e,r,m,b)},has:function(e,r){return Reflect.has(A,r)||Reflect.has(e,r)},defineProperty:function(e,r,m){return r in A?Reflect.defineProperty(A,r,m):Reflect.defineProperty(e,r,m)},getOwnPropertyDescriptor:function(e,r){return r in A?Reflect.getOwnPropertyDescriptor(A,r):Reflect.getOwnPropertyDescriptor(e,r)},deleteProperty:function(e,r){return r in A?Reflect.deleteProperty(A,r):Reflect.deleteProperty(e,r)}})}var dp=function(i){Ng(A,i);function A(e,r,m){var b=i.call(this,r==null?void 0:r.$el)||this;return b.cleanUpCallbacks=[],b.__app=e,b.rootVM=r==null?void 0:r.$root,MC(r)?b.componentVM=up(r,r.$.setupState):b.componentVM=r,b.__setProps=m,b.attachNativeEventListener(),Gg.plugins.VueWrapper.extend(b),b}return Object.defineProperty(A.prototype,"hasMultipleRoots",{get:function(){var e=function(r){var m;if(r.shapeFlag===16)return!0;if(r.shapeFlag&4||r.shapeFlag&2){if(!((m=r.component)===null||m===void 0)&&m.subTree)return e(r.component.subTree);if(r.shapeFlag&16)return!0}return!1};return e(this.vm.$.subTree)},enumerable:!1,configurable:!0}),A.prototype.getRootNodes=function(){return Bs(this.vm.$.vnode)},Object.defineProperty(A.prototype,"parentElement",{get:function(){return this.vm.$el.parentElement},enumerable:!1,configurable:!0}),A.prototype.getCurrentComponent=function(){return this.vm.$},A.prototype.exists=function(){return!this.getCurrentComponent().isUnmounted},A.prototype.findAll=function(e){return this.findAllDOMElements(e).map(lo)},A.prototype.attachNativeEventListener=function(){var e=this.vm;if(e){var r=e.$options.emits?Array.isArray(e.$options.emits)?e.$options.emits:Object.keys(e.$options.emits):[],m=this.getRootNodes().filter(function(G){return G instanceof Element});if(m.length===1)for(var b=m[0],l=function(G){if(r.includes(G))return"continue";var K=function(){for(var j=[],Y=0;Y<arguments.length;Y++)j[Y]=arguments[Y];gp(e.$,G,j)};b.addEventListener(G,K),y.cleanUpCallbacks.push(function(){b.removeEventListener(G,K)})},y=this,S=0,f=Object.keys(Pg);S<f.length;S++){var x=f[S];l(x)}}},Object.defineProperty(A.prototype,"element",{get:function(){return this.hasMultipleRoots?this.parentElement:this.vm.$el},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"vm",{get:function(){return this.componentVM},enumerable:!1,configurable:!0}),A.prototype.props=function(e){var r=this.componentVM.$props;return e?r[e]:r},A.prototype.emitted=function(e){return lp(this.vm,e)},A.prototype.isVisible=function(){var e=lo(this.element);return e.isVisible()},A.prototype.setData=function(e){return Hg(this.componentVM.$data,e),c.nextTick()},A.prototype.setProps=function(e){if(this.vm.$parent!==this.rootVM||!this.__setProps)throw Error("You can only use setProps on your mounted component");return this.__setProps(e),c.nextTick()},A.prototype.setValue=function(e,r){var m=r||"modelValue";return this.vm.$emit("update:".concat(m),e),this.vm.$nextTick()},A.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");cp(this.vm),this.cleanUpCallbacks.forEach(function(e){return e()}),this.cleanUpCallbacks=[],this.__app.unmount()},A}(kc);jg(ki.VueWrapper,function(i,A,e){return new dp(i,A,e)});var hp={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};c.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var i=this,A,e,r=c.computed(function(){return hp}),m=(e=(A=this.$slots)===null||A===void 0?void 0:A.default)===null||e===void 0?void 0:e.call(A,{route:r,href:c.computed(function(){return r.value.href}),isActive:c.computed(function(){return!1}),isExactActive:c.computed(function(){return!1}),navigate:function(){return Or(i,void 0,void 0,function(){return Jr(this,function(b){return[2]})})}});return this.custom?m:c.h("a",void 0,m)}}),typeof setImmediate=="function"&&setImmediate;const uo=Symbol(),_c=Symbol(),Mc=Symbol(),Sc={zh:{menus:{basicTitle:"基础组件",highTitle:"高级组件",layoutTitle:"布局组件",assistTitle:"辅助组件",useTemplateBtn:"使用模板"},actions:{previewJson:"生成JSON Schema",previewVueCode:"生成VUE代码",previewForm:"预览表单",clear:"清空",save:"保存"},canvas:{emptyTip:"请从左侧拖拽字段来组成表单",wrapperEmptyTip:"请拖入子字段"},attr:{tab1:{title:"字段配置",emptyTip:"未选中字段",linkage:{text:"联动",action1:"配置联动",action2:"数据联动"}},tab2:{title:"表单设置"}}},en:{menus:{basicTitle:"Basic Fields",highTitle:"High Basic Fields",layoutTitle:"Layout Fields",assistTitle:"Assist Fields",useTemplateBtn:"Use Template"},actions:{previewJson:"Preview JSON Script",previewVueCode:"Generate VUE code",previewForm:"Preview Form",clear:"Clear",save:"Save"},canvas:{emptyTip:"Please drag and drop fields from the left to form a form",wrapperEmptyTip:"Please drag in a subfield"},attr:{tab1:{title:"Field Configuration",emptyTip:"No field selected",linkage:{text:"Linkage",action1:"Configuration Item Linkage",action2:"Value Linkage"}},tab2:{title:"Form Settings"}}}},Cs=[{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"FormList",hidden:'{{$values.props.mode!=="static"}}',children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"value",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'},{label:"是否禁用",name:"disabled",component:"Switch",designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{component:"Title",props:{title:"请求",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"url",component:"Input",name:"props.api.url",initialValue:"https://apifoxmock.com/m1/5213940-4880280-default/options/test",designKey:"form-UrE8"},{label:"请求方式",component:"Select",name:"props.api.method",initialValue:"GET",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{component:"Title",props:{title:"响应",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"},{label:"标签key",component:"Input",name:"props.labelKey",initialValue:"label",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",initialValue:"value",designKey:"form-STkl"},{label:"禁用Key",component:"Input",name:"props.disabledKey",initialValue:"disabled",designKey:"form-STkl2"}]}],Bp=[{name:"addB2b",schema:{labelWidth:150,labelPosition:"top",size:"default",scrollToError:!0,items:[{props:{title:"Basic Information",type:"h3",italic:!1},hideLabel:!0,component:"Title",designKey:"design-HvAF",name:"form-95DJ",hidden:!1},{props:{columns:1,columnGap:20,rowGap:20},component:"Grid",designKey:"design-rbQd",name:"form-n2CG",children:[{component:"Input",designKey:"design-OrTD",name:"companyName",label:"Company Name",props:{placeholder:""},required:!0}]},{props:{columns:3,columnGap:20,rowGap:20},component:"Grid",designKey:"design-qjn5",name:"form-OKLN",children:[{component:"Input",designKey:"design-1RWu",name:"status",label:"Status",props:{placeholder:""},required:!0},{component:"Input",designKey:"design-EkEJ",name:"shortName",label:"Short Name",props:{placeholder:""}},{component:"SearchInput",designKey:"design-e0wN",name:"segment",label:"Segment",props:{placeholder:""}},{label:"Company Type",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-qEnj",name:"companyType",required:!0},{label:"Missing KOB number Reason",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-hG6w",name:"form-N6hN",required:!0},{component:"Input",designKey:"design-JtbY",name:"kobNumber",label:"KOB Number",props:{placeholder:""}},{label:"Employee Number Range",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-onze",name:"enr"},{component:"Input",designKey:"design-r2BA",name:"eq",label:"Employee Quantity",props:{placeholder:""}},{component:"Input",designKey:"design-3rwV",name:"postCode",label:"Postcode",props:{placeholder:""},required:!0},{label:"Category",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-pWTp",name:"category"},{label:"Subsegment",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-4ew9",name:"subsegment"},{component:"Input",designKey:"design-IWXo",name:"rc",label:"Registered Capital",props:{placeholder:""}},{component:"Input",designKey:"design-wof2",name:"cvrNo",label:"CVR No.",props:{placeholder:""}},{label:"Preferred Language",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-Nzpd",name:"preferredL"},{component:"Input",designKey:"design-tLOd",name:"cp",label:"Customer Password",props:{placeholder:""}},{label:"Credit Level",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-a0Lk",name:"creditLevel"},{component:"Input",designKey:"design-fSNI",name:"creditLimit",label:"Credit Limit",props:{placeholder:""}},{label:"Stop Payment Fee",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-mEmC",name:"spf"}]},{component:"Input",designKey:"design-lJM5",name:"website",label:"Website",props:{placeholder:"",style:{width:"62%"}}},{component:"TextArea",designKey:"design-skC4",name:"remarks",label:"Remarks",props:{placeholder:"请输入...",autosize:{minRows:4,maxRows:999}}}]},id:"addB2b"},{name:"自增组件",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"增添管理员",name:"vip",component:"Switch",props:{"inline-prompt":!1},designKey:"design-kVO2111",change:[{target:"users.*.vip",condition:"{{ $values.vip }}",value:1}]},{label:"增添用户",component:"FormList",children:[{label:"用户名",component:"Input",props:{placeholder:""},designKey:"design-M91n",name:"username",change:[{target:"users.[].vip",condition:'{{ $item.username.includes("admin") }}',value:1}]},{label:"密码",component:"Input",props:{placeholder:"请输入密码"},designKey:"design-kVO2",name:"password"},{label:"设为管理员",component:"Switch",designKey:"design-jC1O",name:"vip",props:{"inline-prompt":!1,"active-value":1,"inactive-value":0}}],props:{mode:"table"},designKey:"design-pMUa",name:"users"}]},id:"formList"},{name:"值联动",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"字段1",component:"Input",props:{placeholder:"请输入..."},designKey:"form-NASi",name:"item1",change:[{target:"item2",value:"{{$values.item1 * 2}}"},{target:"item3",value:"{{$values.item1 + '元'}}"}]},{label:"字段2",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Nasd",name:"item2"},{label:"字段3",component:"Input",props:{placeholder:"请输入..."},designKey:"form-KI1N",name:"item3"}]},id:"valueLinkage"}],Cp="vfc",ke=(i="")=>`${Cp}-${i}`,da=(i,A)=>i.reduce((e,r)=>{if(r.designKey===A)return r;if(r.children){const m=da(r.children,A);if(m)return m}return e},null),xc=(i,A)=>i.map(e=>e.designKey===A.designKey?A:e.children?{...e,children:xc(e.children,A)}:e),Fc=i=>i.map(A=>{const e={...$e.cloneDeep(A),designKey:`form-${Pn(4)}`,name:Pn(8)};return A.children&&(e.children=Fc(A.children)),e}),Nc=(i,A)=>i.reduce((e,r)=>{var m;if(r.children?e.push({...r,children:Nc(r.children,A)}):e.push(r),r.designKey===A){const b={...$e.cloneDeep(r),designKey:`form-${Pn(4)}`,name:`${r.name}-${Pn(2)}`};r.children&&(b.children=Fc(r.children)),r.label&&!((m=b.label)!=null&&m.includes("copy"))&&(b.label=b.label+" copy"),e.push(b)}return e},[]),Rc=i=>i.map(A=>{if(!A.render)return A;const e={component:A.component,designKey:A.designKey||`design-${Pn(4)}`,name:A.name||`form-${Pn(4)}`};return A.children&&(e.children=Rc(A.children)),e}),ot=()=>{const i=c.reactive({schema:{items:[]},schemaContext:{},design:!1,footer:!1,read:!1,pageRulePath:"",formValues:{},selectData:{},initialValues:{},context:{},vCodePass:!1,updateFormValues:()=>{},updateSelectData:()=>{},updateInitialValues:()=>{},updateVCodePass:()=>{},validate:()=>Promise.reject(),resetFields:()=>{},submit:()=>{}});return c.inject(_c,i)},pp=()=>{const{request:i}=c.inject(uo);return i},ho=i=>{const A=ot(),e=pp(),r=c.ref([]),m=c.ref(!1),b=$e.debounce(async()=>{if(!e||!i.api)return;const{url:y,method:S,params:f,dataPath:x}=i.api;m.value=!0;try{const G=await e({url:y,method:S,params:S==="GET"?f:{},data:S==="POST"?f:{}}),j=(ro(G,x)||[]).map(Y=>$e.isPlainObject(Y)?Y:{label:Y,value:Y});r.value=[...r.value,...j]}finally{m.value=!1}},300);return c.onMounted(()=>{const{mode:y,options:S=[]}=i;y==="static"&&(r.value=S),y==="remote"&&b()}),c.watch(()=>i.api,(y,S)=>{$e.isEqual(y,S)||(r.value=[],b())}),c.watch(()=>i.options,(y=[])=>{i.mode==="static"&&(r.value=y)}),c.watch(()=>i.mode,y=>{y==="static"&&(r.value=i.options||[]),y==="remote"&&(r.value=[],b())}),{selectChange:y=>{const{valueKey:S="value",multiple:f,name:x}=i;let G={};f&&Array.isArray(y)?G=r.value.filter(K=>y.includes(K[S])):G=r.value.find(K=>K[S]===y)||{},A.selectData&&x&&A.updateSelectData(x,G)},currentOptions:r,loading:m,fetchData:b}};function ha(){const i=c.inject(uo),A=c.inject("asiaint-lang",c.ref("zh"));return i!=null&&i.lang?c.ref(i.lang):A}function Un(){const i=ha();return c.computed(()=>Sc[(i==null?void 0:i.value)||"en"])}const ee=(i,A)=>{const e=i.__vccOpts||i;for(const[r,m]of A)e[r]=m;return e},Qp={},Ep={t:"1703839194022",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5912",width:"200",height:"200"};function Ip(i,A){return c.openBlock(),c.createElementBlock("svg",Ep,A[0]||(A[0]=[c.createElementVNode("path",{d:"M426.666667 426.666667H85.546667A85.418667 85.418667 0 0 0 0 512c0 47.445333 38.314667 85.333333 85.546667 85.333333H426.666667v341.12c0 47.274667 38.186667 85.546667 85.333333 85.546667 47.445333 0 85.333333-38.314667 85.333333-85.546667V597.333333h341.12A85.418667 85.418667 0 0 0 1024 512c0-47.445333-38.314667-85.333333-85.546667-85.333333H597.333333V85.546667A85.418667 85.418667 0 0 0 512 0c-47.445333 0-85.333333 38.314667-85.333333 85.546667V426.666667z","p-id":"5913"},null,-1)]))}const mp=Object.freeze(Object.defineProperty({__proto__:null,default:ee(Qp,[["render",Ip]])},Symbol.toStringTag,{value:"Module"})),fp={},wp={t:"1704896187350",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5332",width:"200",height:"200"};function Dp(i,A){return c.openBlock(),c.createElementBlock("svg",wp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M512 958.016611c-245.919634 0-446.016611-200.064292-446.016611-446.016611 0-245.919634 200.095256-446.016611 446.016611-446.016611 245.952318 0 446.016611 200.064292 446.016611 446.016611S757.952318 958.016611 512 958.016611zM512 129.983389c-210.655557 0-382.016611 171.359333-382.016611 382.016611 0 210.624593 171.359333 382.016611 382.016611 382.016611 210.624593 0 382.016611-171.359333 382.016611-382.016611S722.624593 129.983389 512 129.983389z","p-id":"5333"},null,-1),c.createElementVNode("path",{d:"M463.99957 304.00043c0 26.509985 21.490445 48.00043 48.00043 48.00043s48.00043-21.490445 48.00043-48.00043-21.490445-48.00043-48.00043-48.00043S463.99957 277.490445 463.99957 304.00043z","p-id":"5334"},null,-1),c.createElementVNode("path",{d:"M512 768c-17.664722 0-32.00086-14.303454-32.00086-32.00086L479.99914 448c0-17.664722 14.336138-32.00086 32.00086-32.00086s32.00086 14.336138 32.00086 32.00086l0 287.99914C544.00086 753.696546 529.664722 768 512 768z","p-id":"5335"},null,-1)]))}const bp=Object.freeze(Object.defineProperty({__proto__:null,default:ee(fp,[["render",Dp]])},Symbol.toStringTag,{value:"Module"})),yp={},vp={t:"1704360061247",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4770",width:"200",height:"200"};function kp(i,A){return c.openBlock(),c.createElementBlock("svg",vp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M329.4 460.5c10-2.3 16.3-12.2 14.1-22.3-4.7-21.1-5.5-42.7-2.1-64.3 14.6-94.2 103.1-159.1 197.4-144.5 22.2 3.4 43.2 11 62.3 22.4 8.9 5.3 20.3 2.4 25.5-6.4 5.3-8.8 2.4-20.3-6.4-25.6-23.3-13.9-48.7-23.1-75.7-27.3-114.5-17.7-222.2 61-239.9 175.6-4 26.2-3.2 52.5 2.6 78.2 1.9 8.7 9.6 14.6 18.2 14.6 1.3 0.1 2.7-0.1 4-0.4z","p-id":"4771"},null,-1),c.createElementVNode("path",{d:"M847.9 599.4c0-26.6-10.5-50.1-28-66.4 17.6-40.7 27.5-85.5 27.5-132.7 0-184.8-150.3-335.1-335.1-335.1S177.2 215.5 177.2 400.3c0 110.7 54.1 208.8 137 269.9 0.6 3.3 1.3 6.6 2.3 9.9 3.2 10.8 7.5 20.4 13 28.8 30.1 45.8 64.1 97.7 97.9 148.3 34.2 51.2 83.8 83.1 147.2 94.7 8 1.4 15.3 2.4 22.3 3.3 3.4 0.5 6.8 0.9 10.2 1.4 2.7 0.4 5.3 0.6 8 0.6h37.8c3 0 6-0.2 8.9-0.7 3.3-0.5 6.7-1.1 10-1.6 5.7-0.9 11.5-1.8 17.2-2.8 80.2-13.8 140.7-74.1 154.3-153.7 2.8-15.9 4.2-32 4.3-47.7 0.2-59.7 0.2-67.2 0.2-91.4 0.1-12.3 0.1-29.1 0.1-59.9z m-614.8-199c0-154.2 125-279.2 279.3-279.2 154.2 0 279.2 125 279.2 279.2 0 39.1-8.2 76.3-22.7 110.1-2.6-0.2-5.2-0.4-7.9-0.4-8.1 0-16 1.1-23.5 3.2-8.7-8.2-19.1-14.7-30.8-18.7-1.9-0.6-3.9-1.2-5.8-1.7 9.2-18.6 15.9-38.8 19.2-60.4 7.2-46.4-1-92.7-23.7-133.7-5-9-16.3-12.3-25.3-7.3-9 5-12.3 16.3-7.3 25.3 18.7 33.8 25.4 71.8 19.5 110-3.7 24.1-12.4 46.2-24.7 65.5-1.1 0.3-2.3 0.4-3.3 0.7-7.7-7-16.9-12.8-27.4-17.3-8-4.2-17-6.5-26.2-6.5h-1.9v-65c0-45.4-30.1-80.6-75-87.7-4.2-0.7-8.4-1-12.5-1-43.9 0-82.4 35.3-85.9 78.6-0.4 5.6-0.4 10.2-0.4 14V550c-17.4-10-33.1-22.9-46.2-38.6-6.6-7.9-18.3-8.9-26.2-2.3-7.9 6.6-8.9 18.3-2.3 26.2 9.1 10.9 19.3 20.6 30.2 29.3-22.6 5.8-42.5 20.2-54.8 40.5-0.5 0.8-0.8 1.6-1.3 2.4-56.8-51.1-92.3-125-92.3-207.1z m558.8 350.2c0 12.8-1.3 25.9-3.5 38.6-9.6 56.2-52.1 98.3-108.5 108-8.9 1.5-17.8 2.8-26.8 4.3h-37.8c-10.1-1.5-20.4-2.6-30.5-4.4-46.5-8.5-84.3-31-110.8-70.7-32.8-49.2-65.3-98.5-97.7-147.9-2.7-4.2-4.7-9-6.1-13.8-6.1-20.9 6.2-42.4 26.8-46.4 3-0.6 5.9-0.9 8.6-0.9 12.5 0 23.1 5.6 31.3 16.2 13.6 17.6 26.4 35.7 39.6 53.6l4.2 5.7c0.3-0.2 0.7-0.3 1.1-0.4v-5-279.2c0-3.2 0-6.3 0.2-9.5 1.2-14.7 15.6-27.2 30.2-27.2 1.3 0 2.6 0.1 3.9 0.3 17.4 2.7 27.8 14.8 27.8 32.5 0 49.7 0 132.9 0.1 182.6 0 2.6 0.2 5.3 0.9 7.7 1.3 4 4.3 6.2 8.6 6.5h0.9c4.1 0 7.2-2.1 8.8-5.7 1-2.3 1.1-5.1 1.1-7.7v-22.5-6.6c0-11.2 3.8-21 13.3-27.6 3.5-2.4 7.7-3.9 11.6-5.8h12.6c0.5 0.3 0.8 0.7 1.3 0.9 16.3 5.6 23.9 16.2 23.9 33.4v22.2-16.4 22.2c0 1.6-0.1 3.2 0.1 4.7 0.7 5.4 4.8 8.9 10 8.9h1c5.5-0.5 8.7-4.2 9-11.1v-0.2-1.2-10.6c0.2-7.3 2-14.2 6.7-20.2 6.2-7.8 15.2-12.1 24.6-12.1 3.4 0 6.9 0.6 10.2 1.7 12.9 4.4 21.2 17 21.2 31.9v28c0 1.9 0 3.9 0.2 5.8 0.6 5.1 3.9 7.7 8.6 8.6 0.5 0.1 1 0.1 1.5 0.1 3.7 0 7.7-2.6 8.9-6.3 0.8-2.4 1-5.1 1-7.7V602v11.3s0.1-3.4 0.1-13.2c0-5.4 1-11.3 3.2-16.3 4.7-11.1 16-17.8 27.7-17.8 2.2 0 4.3 0.2 6.4 0.7 15.1 3.3 24.6 16.1 24.6 32.7 0 90.3 0.1 60.8-0.1 151.2z","p-id":"4772"},null,-1)]))}const _p=Object.freeze(Object.defineProperty({__proto__:null,default:ee(yp,[["render",kp]])},Symbol.toStringTag,{value:"Module"})),Mp={},Sp={t:"1703055882491",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9224",width:"200",height:"200"};function xp(i,A){return c.openBlock(),c.createElementBlock("svg",Sp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),c.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),c.createElementVNode("path",{d:"M1001.946877 876.979182H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053123V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v685.852118c0 12.49677-9.556353 22.053123-22.053123 22.053123zM44.106246 832.872936h935.787508V191.127064H44.106246v641.745872z","p-id":"9227"},null,-1),c.createElementVNode("path",{d:"M1001.946877 410.923187H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053122V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v219.796124c0 12.49677-9.556353 22.053123-22.053123 22.053122zM44.106246 366.816942h935.787508V191.127064H44.106246v175.689878z","p-id":"9228"},null,-1)]))}const Fp=Object.freeze(Object.defineProperty({__proto__:null,default:ee(Mp,[["render",xp]])},Symbol.toStringTag,{value:"Module"})),Np={},Rp={t:"1703599079424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7208",width:"200",height:"200"};function Lp(i,A){return c.openBlock(),c.createElementBlock("svg",Rp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M938.666667 86.186667v298.666666H85.333333v-298.666666h853.333334m85.333333-85.333334H0v469.333334h1024v-469.333334zM938.666667 681.813333v256H510.933333v-256H938.666667m85.333333-85.333333H425.6v426.666667H1024v-426.666667z","p-id":"7209"},null,-1),c.createElementVNode("path",{d:"M484.693333 863.36h-140.586666c-103.68 0-188.16-70.186667-188.16-156.373333V402.986667h85.333333v304c0 38.613333 47.146667 71.04 102.826667 71.04h140.586666v85.333333z","p-id":"7210"},null,-1)]))}const Gp=Object.freeze(Object.defineProperty({__proto__:null,default:ee(Np,[["render",Lp]])},Symbol.toStringTag,{value:"Module"})),Hp={},Pp={t:"1703597650364",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6020",width:"200",height:"200"};function Kp(i,A){return c.openBlock(),c.createElementBlock("svg",Pp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M732.09344 341.98528c-12.544-12.45184-32.82944-12.31872-45.24544 0.256L453.56544 578.048 350.30528 471.936c-12.35456-12.70272-32.60928-12.928-45.25056-0.64-12.672 12.31872-12.95872 32.60928-0.64 45.25056l126.01856 129.50528c0.06144 0.09728 0.19456 0.09728 0.256 0.18944 0.06656 0.06656 0.09728 0.18944 0.15872 0.256 2.01728 1.98656 4.51072 3.2 6.88128 4.54656 1.24928 0.67072 2.24256 1.792 3.52256 2.304 3.87072 1.60256 8.00256 2.40128 12.09856 2.40128 4.06016 0 8.12544-0.79872 11.96544-2.33472 1.24928-0.51712 2.20672-1.54112 3.39456-2.18112 2.40128-1.34144 4.89472-2.52416 6.94272-4.54144 0.06656-0.06656 0.09728-0.19456 0.19456-0.26112 0.06656-0.09728 0.15872-0.12288 0.256-0.18944l256.22528-259.00544C744.77056 374.68672 744.64256 354.432 732.09344 341.98528zM832 928l-640 0c-52.92544 0-96-43.06944-96-96l0-640c0-52.92544 43.07456-96 96-96l640 0c52.93056 0 96 43.07456 96 96l0 640C928 884.93056 884.93056 928 832 928zM192 160c-17.63328 0-32 14.36672-32 32l0 640c0 17.664 14.36672 32 32 32l640 0c17.664 0 32-14.336 32-32l0-640c0-17.63328-14.336-32-32-32L192 160z","p-id":"6021"},null,-1)]))}const Up=Object.freeze(Object.defineProperty({__proto__:null,default:ee(Hp,[["render",Kp]])},Symbol.toStringTag,{value:"Module"})),Yp={},Tp={t:"1708504426013",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3921",width:"200",height:"200"};function Op(i,A){return c.openBlock(),c.createElementBlock("svg",Tp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M774.4 246.4c-6.4-6.4-16-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6l-67.2 67.2c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l44.8-44.8 44.8 44.8c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-67.2-67.2z","p-id":"3922"},null,-1),c.createElementVNode("path",{d:"M896 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-12.8 32-32 32H160c-19.2 0-32-16-32-32V480h768v320z m0-384H128V224c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v192z","p-id":"3923"},null,-1)]))}const Jp=Object.freeze(Object.defineProperty({__proto__:null,default:ee(Yp,[["render",Op]])},Symbol.toStringTag,{value:"Module"})),$p={},Zp={t:"1703684587275",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7454",width:"200",height:"200"};function zp(i,A){return c.openBlock(),c.createElementBlock("svg",Zp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M512 0a512 512 0 0 0 0 1024c180.224 0-110.592-204.8 204.8-204.8a302.08 302.08 0 0 0 307.2-307.2A512 512 0 0 0 512 0zM179.2 486.4A76.8 76.8 0 1 1 256 409.6a76.8 76.8 0 0 1-76.8 76.8zM358.4 307.2a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 358.4 307.2z m307.2 0a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 665.6 307.2z m179.2 179.2A76.8 76.8 0 1 1 921.6 409.6a76.8 76.8 0 0 1-76.8 76.8z","p-id":"7455"},null,-1)]))}const Wp=Object.freeze(Object.defineProperty({__proto__:null,default:ee($p,[["render",zp]])},Symbol.toStringTag,{value:"Module"})),jp={},qp={t:"1705762520936",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4258",width:"200",height:"200"};function Xp(i,A){return c.openBlock(),c.createElementBlock("svg",qp,A[0]||(A[0]=[c.createElementVNode("path",{d:"M661.333333 234.666667A64 64 0 0 1 725.333333 298.666667v597.333333a64 64 0 0 1-64 64h-469.333333A64 64 0 0 1 128 896V298.666667a64 64 0 0 1 64-64z m-21.333333 85.333333H213.333333v554.666667h426.666667v-554.666667z m191.829333-256a64 64 0 0 1 63.744 57.856l0.256 6.144v575.701333a42.666667 42.666667 0 0 1-85.034666 4.992l-0.298667-4.992V149.333333H384a42.666667 42.666667 0 0 1-42.368-37.674666L341.333333 106.666667a42.666667 42.666667 0 0 1 37.674667-42.368L384 64h447.829333z","p-id":"4259"},null,-1)]))}const Vp=Object.freeze(Object.defineProperty({__proto__:null,default:ee(jp,[["render",Xp]])},Symbol.toStringTag,{value:"Module"})),AQ={},eQ={t:"1705910453717",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8006",width:"200",height:"200"};function tQ(i,A){return c.openBlock(),c.createElementBlock("svg",eQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M972.09863 1016.986301H259.506849c-19.638356 0-35.068493-15.430137-35.068493-35.068493V768.70137c-8.416438 5.610959-18.235616 9.819178-28.054794 12.624657h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082191 7.013698 1.40274 0 2.805479 1.40274 4.20822 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l2.805479 1.40274V269.326027c0-19.638356 15.430137-35.068493 35.068493-35.068493h228.646576l-4.20822-8.416438c-7.013699-11.221918-12.624658-22.443836-15.430137-35.068493v-1.40274c-4.208219-12.624658-5.610959-26.652055-5.610958-39.276712C462.90411 72.942466 526.027397 11.221918 601.775342 11.221918c77.150685 0 138.871233 63.123288 138.871233 138.871233 0 14.027397-2.805479 28.054795-7.013698 42.082191 0 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479 7.013699-5.610959 14.027397-8.416438 19.638356l-7.013699 16.832877h255.29863c19.638356 0 35.068493 15.430137 35.068493 35.068493v314.213698c0 11.221918-5.610959 22.443836-15.430137 29.457535-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L897.753425 587.747945c-1.40274 0-1.40274-1.40274-2.80548-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610958h-1.402739c-7.013699-2.805479-14.027397-2.805479-21.041096-2.80548-37.873973 0-68.734247 30.860274-68.734247 68.734247s30.860274 68.734247 68.734247 68.734246c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479l53.304109-25.249315c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274s16.832877 18.235616 16.832876 29.457534V981.917808c0 19.638356-15.430137 35.068493-35.068493 35.068493z m-677.523288-70.136986h642.454795v-182.356164h-1.40274c-11.221918 7.013699-22.443836 12.624658-35.068493 16.832876h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082192 7.013698 1.40274 0 2.805479 1.40274 4.208219 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l9.819178 4.208219v-224.438356H662.093151c-11.221918 0-22.443836-5.610959-29.457535-15.430137-7.013699-9.819178-7.013699-22.443836-2.805479-33.665753l29.457534-67.331507c0-1.40274 1.40274-1.40274 1.40274-2.805479 1.40274-2.805479 4.208219-7.013699 5.610959-11.221918v-1.40274c2.805479-7.013699 2.805479-14.027397 2.805479-21.041096 0-37.873973-30.860274-68.734247-68.734246-68.734246s-68.734247 30.860274-68.734247 68.734246c0 7.013699 1.40274 14.027397 2.80548 19.638356 1.40274 7.013699 5.610959 12.624658 8.416438 18.235617 1.40274 1.40274 1.40274 2.805479 2.805479 4.208219l28.054795 60.317808c5.610959 11.221918 4.208219 23.846575-1.40274 33.665754s-18.235616 16.832877-29.457534 16.832876H294.575342v274.936987c0 11.221918-5.610959 22.443836-15.430137 29.457534-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L192.175342 589.150685c-1.40274 0-1.40274-1.40274-2.805479-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610959h-1.40274c-7.013699-2.805479-14.027397-2.805479-21.041095-2.805479-37.873973 0-68.734247 30.860274-68.734247 68.734246s30.860274 68.734247 68.734247 68.734247c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.208219-2.805479l46.290411-22.443836c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274 9.819178 7.013699 16.832877 18.235616 16.832876 29.457534v235.660274z","p-id":"8007"},null,-1)]))}const nQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(AQ,[["render",tQ]])},Symbol.toStringTag,{value:"Module"})),iQ={},oQ={t:"1704941224194",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4108",width:"200",height:"200"};function sQ(i,A){return c.openBlock(),c.createElementBlock("svg",oQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M531.76 474.6c-35.2 0-22 43.92-65.92 52.72l-13.2 4.4c-22 4.4-26.4 4.4-26.4 22s8.8 22 17.6 22h52.72v145.04c0 22 4.4 35.12 26.4 35.12s26.4-17.6 26.4-35.12V501c0-22-8.8-26.4-17.6-26.4zM360.4 329.56h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 8.8 17.6 22 17.6z m285.68 0h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 13.2 17.6 22 17.6z m0 0","p-id":"4109"},null,-1),c.createElementVNode("path",{d:"M769.12 232.92H712v39.52h57.12c26.4 0 48.32 22 48.32 48.32v43.92H197.76v-43.92c0-26.4 22-48.32 48.32-48.32h57.12v-39.52h-52.72c-52.72 0-92.32 43.92-92.32 92.32v426.32c0 48.32 39.52 92.32 92.32 92.32h523.04c48.32 0 92.32-39.52 92.32-92.32v-426.4c-4.4-48.32-44-92.24-96.72-92.24z m0 566.96H250.48c-26.4 0-48.32-22-48.32-48.32V408.68h619.68v338.4c0 30.8-21.92 52.8-52.72 52.8z m0 0","p-id":"4110"},null,-1),c.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const rQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(iQ,[["render",sQ]])},Symbol.toStringTag,{value:"Module"})),aQ={},lQ={t:"1703838633965",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5029",width:"200",height:"200"};function gQ(i,A){return c.openBlock(),c.createElementBlock("svg",lQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M607.897867 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L575.903242 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 351.94087C639.892491 753.593818 625.61532 768.043004 607.897867 768.043004z","p-id":"5030"},null,-1),c.createElementVNode("path",{d:"M415.930119 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L383.935495 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625 17.717453 0 31.994625 14.277171 31.994625 31.994625l0 351.94087C447.924744 753.593818 433.647573 768.043004 415.930119 768.043004z","p-id":"5031"},null,-1),c.createElementVNode("path",{d:"M928.016126 223.962372l-159.973123 0L768.043004 159.973123c0-52.980346-42.659499-95.983874-95.295817-95.983874L351.94087 63.989249c-52.980346 0-95.983874 43.003528-95.983874 95.983874l0 63.989249-159.973123 0c-17.717453 0-31.994625 14.277171-31.994625 31.994625s14.277171 31.994625 31.994625 31.994625l832.032253 0c17.717453 0 31.994625-14.277171 31.994625-31.994625S945.73358 223.962372 928.016126 223.962372zM319.946246 159.973123c0-17.545439 14.449185-31.994625 31.994625-31.994625l320.806316 0c17.545439 0 31.306568 14.105157 31.306568 31.994625l0 63.989249L319.946246 223.962372 319.946246 159.973123 319.946246 159.973123z","p-id":"5032"},null,-1),c.createElementVNode("path",{d:"M736.048379 960.010751 288.123635 960.010751c-52.980346 0-95.983874-43.003528-95.983874-95.983874L192.139761 383.591466c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 480.435411c0 17.717453 14.449185 31.994625 31.994625 31.994625l448.096758 0c17.717453 0 31.994625-14.277171 31.994625-31.994625L768.215018 384.795565c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 479.231312C832.032253 916.835209 789.028725 960.010751 736.048379 960.010751z","p-id":"5033"},null,-1)]))}const cQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(aQ,[["render",gQ]])},Symbol.toStringTag,{value:"Module"})),uQ={},dQ={t:"1704174941122",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9227",width:"200",height:"200"};function hQ(i,A){return c.openBlock(),c.createElementBlock("svg",dQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M324.266667 472.177778L136.533333 284.444444 284.444444 136.533333l187.733334 187.733334L512 284.444444 284.444444 56.888889 56.888889 284.444444l227.555555 227.555556zM699.733333 551.822222l187.733334 187.733334-147.911111 147.911111-187.733334-187.733334-39.822222 39.822223 227.555556 227.555555 227.555555-227.555555-227.555555-227.555556z","p-id":"9228"},null,-1),c.createElementVNode("path",{d:"M170.382222 327.224889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM281.941333 444.017778l-40.220444-40.220445L346.339556 299.235556l40.220444 40.220444zM579.982222 736.824889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM653.937778 810.780444l104.561778-104.561777 40.220444 40.220444-104.561778 104.561778z","p-id":"9229"},null,-1),c.createElementVNode("path",{d:"M739.555556 136.533333L887.466667 284.444444 284.444444 887.466667 136.533333 739.555556 739.555556 136.533333M739.555556 56.888889L56.888889 739.555556l227.555555 227.555555L967.111111 284.444444l-227.555555-227.555555z","p-id":"9230"},null,-1),c.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),c.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const BQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(uQ,[["render",hQ]])},Symbol.toStringTag,{value:"Module"})),CQ={},pQ={t:"1706709803104",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5147",width:"200",height:"200"};function QQ(i,A){return c.openBlock(),c.createElementBlock("svg",pQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const EQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(CQ,[["render",QQ]])},Symbol.toStringTag,{value:"Module"})),IQ={},mQ={t:"1704175176472",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10353",width:"200",height:"200"};function fQ(i,A){return c.openBlock(),c.createElementBlock("svg",mQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M288 320h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM288 544h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM544 704H288a32 32 0 0 0 0 64h256a32 32 0 0 0 0-64z","p-id":"10354"},null,-1),c.createElementVNode("path",{d:"M896 132.928C896 77.28 851.552 32 796.928 32H227.04C172.448 32 128 77.28 128 132.928v758.144C128 946.72 172.448 992 227.04 992h435.008c1.568 0 2.912-0.672 4.416-0.896 8.96 1.6 18.464-0.256 25.984-6.528l192-160a31.424 31.424 0 0 0 10.816-27.2c0.16-1.184 0.736-2.208 0.736-3.424V132.928zM192 891.072V132.928C192 112.576 207.712 96 227.04 96h569.888C816.288 96 832 112.576 832 132.928V736h-96a96 96 0 0 0-96 96v96H227.04C207.712 928 192 911.424 192 891.072zM814.016 800L704 891.68V832a32 32 0 0 1 32-32h78.016z","p-id":"10355"},null,-1)]))}const wQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(IQ,[["render",fQ]])},Symbol.toStringTag,{value:"Module"})),DQ={},bQ={t:"1741155821098",class:"icon",viewBox:"0 0 1706 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6419",width:"200",height:"200"};function yQ(i,A){return c.openBlock(),c.createElementBlock("svg",bQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M0 174.933333L175.786667 0 853.333333 674.133333 1530.88 0 1706.666667 174.933333 853.333333 1024z","p-id":"6420"},null,-1)]))}const vQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(DQ,[["render",yQ]])},Symbol.toStringTag,{value:"Module"})),kQ={},_Q={t:"1729359107481",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3906",width:"200",height:"200"};function MQ(i,A){return c.openBlock(),c.createElementBlock("svg",_Q,A[0]||(A[0]=[c.createElementVNode("path",{d:"M721.493333 171.989333c51.114667-6.506667 101.909333 11.52 136.448 46.570667 67.2 68.202667 69.589333 184.746667-9.088 267.946667a562.773333 562.773333 0 0 1-37.098666 35.52c-10.517333 9.301333-44.992 38.336-47.829334 40.789333C704.746667 613.802667 682.666667 649.322667 682.666667 710.698667c0 69.418667 51.626667 112.042667 163.242666 128.746666a21.333333 21.333333 0 1 1-6.314666 42.197334C709.333333 862.165333 640 804.906667 640 710.698667c0-76.202667 28.416-121.898667 96.064-180.202667 3.2-2.752 37.376-31.552 47.466667-40.448a521.237333 521.237333 0 0 0 34.346666-32.853333c62.72-66.346667 60.885333-156.714667 9.685334-208.682667a119.146667 119.146667 0 0 0-62.570667-33.024l16 16c16.64 16.64 17.322667 42.986667 1.408 58.901333l-445.653333 445.653334c-7.936 7.936-23.082667 16.746667-34.218667 19.797333l-143.701333 39.253333c-21.909333 5.973333-35.114667-7.104-29.568-28.949333l37.269333-146.794667c2.773333-10.944 11.541333-26.325333 19.370667-34.154666l445.653333-445.653334c15.872-15.872 42.133333-15.36 58.901333 1.429334l31.04 31.018666zM216.064 615.36c-2.901333 2.901333-8.106667 12.096-9.109333 16.042667l-29.141334 114.773333 111.957334-30.592c4.437333-1.216 13.653333-6.528 16.810666-9.706667l445.653334-445.653333-90.517334-90.496-445.653333 445.653333z m414.08-414.058667l90.496 90.517334-30.165333 30.165333-90.517334-90.496 30.165334-30.186667z m-362.048 362.026667l90.496 90.538667-30.165333 30.165333-90.517334-90.517333 30.186667-30.165334z","p-id":"3907"},null,-1)]))}const SQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(kQ,[["render",MQ]])},Symbol.toStringTag,{value:"Module"})),xQ={},FQ={t:"1728140261623",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8124",width:"200",height:"200"};function NQ(i,A){return c.openBlock(),c.createElementBlock("svg",FQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M185.856 258.2016L117.3504 189.7984c-48.2816-48.2816 24.1152-120.6784 72.3968-72.3968l86.3744 86.3232A554.6496 554.6496 0 0 1 460.8 155.7504L460.8 153.6V102.4a51.2 51.2 0 1 1 102.4 0v53.3504c66.6624 5.7344 129.3312 22.4768 184.6272 47.9744l86.3744-86.3232a51.2 51.2 0 0 1 72.3968 72.3968l-68.4032 68.4032C921.088 322.56 972.8 411.6992 972.8 512c0 201.6768-208.9984 358.4-460.8 358.4s-460.8-156.7232-460.8-358.4c0-100.3008 51.712-189.44 134.656-253.7984zM512 768c200.6016 0 358.4-118.3232 358.4-256s-157.7984-256-358.4-256-358.4 118.3232-358.4 256 157.7984 256 358.4 256z m0-51.2a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6z m0-102.4a102.4 102.4 0 1 0 0-204.8 102.4 102.4 0 0 0 0 204.8z","p-id":"8125"},null,-1)]))}const RQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(xQ,[["render",NQ]])},Symbol.toStringTag,{value:"Module"})),LQ={},GQ={t:"1703055779128",class:"icon",viewBox:"0 0 1139 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8193",width:"200",height:"200"};function HQ(i,A){return c.openBlock(),c.createElementBlock("svg",GQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M0.244023 394.046187h317.658598v258.092532H0.244023z m403.879057 344.881835h329.198v284.421871H404.12308z m0-344.719308h329.198v258.092532H404.12308z m415.824776 344.719308H1137.931508v284.421871h-317.658599z m-820.028887 0h317.658599v284.421871H0.244023z m0-738.928022h1137.687485v307.581938h-1137.687485z m820.35394 394.046187H1137.931508v258.092532h-317.658599z","p-id":"8194"},null,-1)]))}const PQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(LQ,[["render",HQ]])},Symbol.toStringTag,{value:"Module"})),KQ={},UQ={t:"1704175538573",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"17151",width:"200",height:"200"};function YQ(i,A){return c.openBlock(),c.createElementBlock("svg",UQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M511.542857 14.057143C228.914286 13.942857 0 242.742857 0 525.142857 0 748.457143 143.2 938.285714 342.628571 1008c26.857143 6.742857 22.742857-12.342857 22.742858-25.371429v-88.571428c-155.085714 18.171429-161.371429-84.457143-171.771429-101.6C172.571429 756.571429 122.857143 747.428571 137.714286 730.285714c35.314286-18.171429 71.314286 4.571429 113.028571 66.171429 30.171429 44.685714 89.028571 37.142857 118.857143 29.714286 6.514286-26.857143 20.457143-50.857143 39.657143-69.485715-160.685714-28.8-227.657143-126.857143-227.657143-243.428571 0-56.571429 18.628571-108.571429 55.2-150.514286-23.314286-69.142857 2.171429-128.342857 5.6-137.142857 66.4-5.942857 135.428571 47.542857 140.8 51.771429 37.714286-10.171429 80.8-15.542857 129.028571-15.542858 48.457143 0 91.657143 5.6 129.714286 15.885715 12.914286-9.828571 76.914286-55.771429 138.628572-50.171429 3.314286 8.8 28.228571 66.628571 6.285714 134.857143 37.028571 42.057143 55.885714 94.514286 55.885714 151.2 0 116.8-67.428571 214.971429-228.571428 243.314286a145.714286 145.714286 0 0 1 43.542857 104v128.571428c0.914286 10.285714 0 20.457143 17.142857 20.457143 202.4-68.228571 348.114286-259.428571 348.114286-484.685714 0-282.514286-229.028571-511.2-511.428572-511.2z","p-id":"17152"},null,-1)]))}const TQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(KQ,[["render",YQ]])},Symbol.toStringTag,{value:"Module"})),OQ={},JQ={t:"1705649491640",class:"icon",viewBox:"0 0 1371 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6157",width:"200",height:"200"};function $Q(i,A){return c.openBlock(),c.createElementBlock("svg",JQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M1052.91381327 223.61256508h-165.52399247V800.42054084h165.5306138c11.42161264 0 21.14819137-4.03894707 29.26581204-12.07049191 8.07789413-8.07789413 12.13008315-17.75812433 12.13008387-29.1333884V264.81644539c0-11.36864273-4.05218974-21.08197883-12.12346254-29.13338767-8.12424271-8.05803016-17.85082147-12.09697724-29.27243337-12.09697724v0.02648459z m-248.29592034-0.0264846h-248.29592034v576.80135445h248.29592034V223.57945916zM473.55666605 800.38743492V223.57945916h-165.5306138c-11.42161264 0-21.14819137 4.03894707-29.26581206 12.10359856-8.06465149 8.0447875-12.13008315 17.75812433-12.13008315 29.13338767v494.38697248c0 11.37526406 4.06543166 21.05549423 12.12346183 29.1333884 8.12424271 8.03154558 17.85082147 12.07049265 29.27243338 12.07049192h165.5306138v-0.02648459zM308.01943164 141.21142578h744.90100296c34.23835189 0 63.51078599 12.07049265 87.76433096 36.21809854C1164.93831125 201.57050889 1177.06177308 230.70389656 1177.06177308 264.81644539v494.39359381c0 34.08606424-12.12346182 63.24593648-36.37700752 87.37367914-24.25354569 24.13436323-53.52597908 36.20485588-87.76433096 36.20485588H308.01943164c-34.23835189 0-63.52402793-12.07049265-87.76433167-36.20485588C196.00155426 822.45597643 183.87809244 793.29610344 183.87809244 759.2100392V264.81644539C183.87809244 230.70389656 196.00155426 201.57050889 220.25509997 177.42952433 244.48878167 153.28191843 273.78107903 141.21142578 308.02605225 141.21142578z","p-id":"6158"},null,-1)]))}const ZQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(OQ,[["render",$Q]])},Symbol.toStringTag,{value:"Module"})),zQ={},WQ={t:"1708311321522",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function jQ(i,A){return c.openBlock(),c.createElementBlock("svg",WQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M511.998 16.512c-273.649 0-495.482 221.837-495.482 495.486 0 273.651 221.833 495.49 495.482 495.49 273.653 0 495.486-221.839 495.486-495.488 0-273.649-221.831-495.488-495.486-495.488zM560.084 797.914c0 13.682-11.089 24.776-24.774 24.776h-74.323c-13.679 0-24.772-11.093-24.772-24.776v-74.321c0-13.686 11.093-24.778 24.772-24.778h74.323c13.684 0 24.774 11.091 24.774 24.778v74.321zM682.891 456.897c-9.958 14.199-32.561 32.291-60.858 54.35l-31.359 21.64c-15.23 11.814-28.738 25.568-33.733 41.315-1.707 5.365-2.986 14.183-3.847 23.706-0.434 4.792-4.721 14.568-14.741 14.568-24.551 0-71.341 0-80.651 0-13.109 0-15.451-10.268-15.232-15.291 1.451-32.919 4.468-62.144 17.88-77.878 27.155-31.839 88.943-71.469 88.943-71.469 9.407-7.099 17.023-14.816 22.783-23.226 10.471-14.438 19.158-30.294 19.158-47.626 0-19.921-5.824-38.079-17.51-54.515-11.646-16.371-32.979-24.573-63.891-24.573-30.43 0-52.001 10.1-64.716 30.291-9.393 14.918-15.307 28.634-17.756 43.558-0.871 5.282-4.258 16.407-15.548 16.407-23.854 0-67.833 0-78.66 0-16.749 0-20.437-10.854-19.953-16.086 6.063-65.94 31.831-110.993 77.393-139.922 30.981-19.918 69.097-29.913 114.31-29.913 59.41 0 108.726 14.162 148.043 42.527 39.247 28.326 58.927 70.299 58.927 125.952 0.004 34.082-11.958 62.822-28.98 86.185z","p-id":"3920"},null,-1)]))}const qQ=Object.freeze(Object.defineProperty({__proto__:null,default:ee(zQ,[["render",jQ]])},Symbol.toStringTag,{value:"Module"})),XQ={},VQ={t:"1706194238781",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4468",width:"200",height:"200"};function AE(i,A){return c.openBlock(),c.createElementBlock("svg",VQ,A[0]||(A[0]=[c.createElementVNode("path",{d:"M1080.950154 519.876923l-0.078769-0.157538-0.157539-0.07877c-44.740923-94.444308-98.461538-170.692923-160.846769-228.903384l-62.385231 62.464c53.799385 49.467077 100.273231 115.318154 140.445539 198.025846-102.557538 212.125538-247.886769 312.713846-446.54277 312.713846-63.172923 0-120.989538-10.161231-173.764923-30.798769l-67.347692 67.268923c71.995077 34.658462 152.260923 52.224 241.112615 52.224 236.544 0 412.750769-123.667692 529.48677-369.585231a74.043077 74.043077 0 0 0 0.078769-63.172923z m-78.769231-408.812308l-52.145231-52.224a9.846154 9.846154 0 0 0-13.942154 0L792.418462 202.436923C720.502154 167.620923 640.393846 150.134154 551.384615 150.134154c-236.544 0-412.750769 123.667692-529.486769 369.585231V519.876923a74.200615 74.200615 0 0 0 0 63.409231c44.819692 94.365538 98.461538 170.692923 160.846769 228.982154l-123.904 123.667692a9.846154 9.846154 0 0 0 0 13.942154l52.145231 52.224a9.846154 9.846154 0 0 0 13.942154 0L1002.180923 124.770462a9.767385 9.767385 0 0 0 0-13.784616z m-589.981538 471.591385a137.846154 137.846154 0 0 1 165.572923-165.572923L412.120615 582.656z m227.091692-227.091692a216.772923 216.772923 0 0 0-288.610462 288.610461L245.287385 749.568c-53.799385-49.545846-100.273231-115.318154-140.445539-198.025846C207.478154 339.416615 352.886154 238.828308 551.384615 238.828308c63.172923 0 120.989538 10.161231 173.764923 30.798769l-85.858461 85.937231zM546.500923 689.230769c-7.876923 0-15.675077-0.630154-23.158154-1.969231l-62.936615 62.857847a216.615385 216.615385 0 0 0 284.908308-284.908308l-62.857847 62.936615A138.003692 138.003692 0 0 1 546.422154 689.230769z","fill-opacity":".65","p-id":"4469"},null,-1)]))}const eE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(XQ,[["render",AE]])},Symbol.toStringTag,{value:"Module"})),tE={},nE={t:"1706685177134",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5205",width:"200",height:"200"};function iE(i,A){return c.openBlock(),c.createElementBlock("svg",nE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M437.996 697.519 437.996 697.519 437.996 586.722 327.195 586.722c-61.187 0-110.797 49.61-110.797 110.797 0 61.195 49.61 110.797 110.797 110.797C388.387 808.316 437.996 758.714 437.996 697.519L437.996 697.519 437.996 697.519 437.996 697.519zM493.395 697.519c0 91.789-74.411 166.195-166.2 166.195C235.41 863.714 161 789.308 161 697.519c0-91.789 74.41-166.195 166.195-166.195l110.801 0 55.399 0 0 55.398L493.395 697.519 493.395 697.519 493.395 697.519zM585.723 697.519 585.723 586.722 696.52 586.722c61.195 0 110.796 49.61 110.796 110.797 0 61.195-49.601 110.797-110.796 110.797C635.332 808.316 585.723 758.714 585.723 697.519L585.723 697.519 585.723 697.519zM530.324 697.519c0 91.789 74.41 166.195 166.196 166.195 91.789 0 166.199-74.406 166.199-166.195 0-91.789-74.41-166.195-166.199-166.195L585.723 531.324l-55.399 0 0 55.398L530.324 697.519 530.324 697.519 530.324 697.519zM437.996 328.195l0 110.801L327.195 438.996c-61.187 0-110.797-49.61-110.797-110.801 0-61.188 49.61-110.797 110.797-110.797C388.387 217.398 437.996 267.007 437.996 328.195L437.996 328.195 437.996 328.195zM493.395 328.195c0-91.785-74.411-166.195-166.2-166.195C235.41 162 161 236.41 161 328.195c0 91.789 74.41 166.199 166.195 166.199l110.801 0 55.399 0 0-55.398L493.395 328.195 493.395 328.195 493.395 328.195zM585.723 328.195l0 110.801L696.52 438.996c61.195 0 110.796-49.61 110.796-110.801 0-61.188-49.601-110.797-110.796-110.797C635.332 217.398 585.723 267.007 585.723 328.195L585.723 328.195 585.723 328.195zM530.324 328.195 530.324 328.195C530.324 236.41 604.734 162 696.52 162c91.789 0 166.199 74.41 166.199 166.195 0 91.789-74.41 166.199-166.199 166.199L585.723 494.394l-55.399 0 0-55.398L530.324 328.195 530.324 328.195 530.324 328.195zM530.324 328.195",fill:"#272636","p-id":"5206"},null,-1)]))}const oE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(tE,[["render",iE]])},Symbol.toStringTag,{value:"Module"})),sE={},rE={t:"1704703304741",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9731",width:"200",height:"200"};function aE(i,A){return c.openBlock(),c.createElementBlock("svg",rE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M384.04864 128h-307.2A76.8 76.8 0 0 0 0.04864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 460.84864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2A25.6 25.6 0 0 1 409.64864 204.8v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2A25.6 25.6 0 0 1 51.24864 614.4V204.8a25.6 25.6 0 0 1 25.6-25.6zM947.24864 128h-307.2A76.8 76.8 0 0 0 563.24864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 1024.04864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2a25.6 25.6 0 0 1 25.6 25.6v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2a25.6 25.6 0 0 1-25.6-25.6V204.8a25.6 25.6 0 0 1 25.6-25.6zM435.24864 819.2a25.6 25.6 0 0 1 4.608 50.7904L435.24864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L25.64864 819.2h409.6zM998.44864 819.2a25.6 25.6 0 0 1 4.608 50.7904L998.44864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L588.84864 819.2h409.6z","p-id":"9732"},null,-1)]))}const lE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(sE,[["render",aE]])},Symbol.toStringTag,{value:"Module"})),gE={},cE={t:"1702300882657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1495","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function uE(i,A){return c.openBlock(),c.createElementBlock("svg",cE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M118.784 727.04h778.24v-430.08h-778.24v430.08z m-40.96-471.04h860.16v512h-860.16v-512z m116.736 153.6v204.8c0 12.288 8.192 20.48 20.48 20.48s20.48-8.192 20.48-20.48v-204.8c0-12.288-8.192-20.48-20.48-20.48s-20.48 8.192-20.48 20.48z","p-id":"1496"},null,-1)]))}const dE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(gE,[["render",uE]])},Symbol.toStringTag,{value:"Module"})),hE={},BE={t:"1703055643727",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4960",width:"200",height:"200"};function CE(i,A){return c.openBlock(),c.createElementBlock("svg",BE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M122.368 165.888h778.24c-9.216 0-16.384-7.168-16.384-16.384v713.728c0-9.216 7.168-16.384 16.384-16.384h-778.24c9.216 0 16.384 7.168 16.384 16.384V150.016c0 8.192-6.656 15.872-16.384 15.872z m-32.768 684.544c0 26.112 20.992 47.104 47.104 47.104h750.08c26.112 0 47.104-20.992 47.104-47.104V162.304c0-26.112-20.992-47.104-47.104-47.104H136.704c-26.112 0-47.104 20.992-47.104 47.104v688.128z","p-id":"4961"},null,-1),c.createElementVNode("path",{d:"M305.664 344.576h43.008v306.176H296.448V435.2c-23.552 19.968-50.688 33.792-81.408 43.008V424.448c46.592-19.456 76.8-46.08 90.624-79.872zM598.528 603.648v47.616h-189.44v-32.768c20.48-41.472 50.176-77.824 88.576-109.568 35.328-29.696 52.736-55.296 51.712-76.8 0-29.696-14.336-44.544-43.008-44.544-19.968 1.024-34.816 17.408-46.08 48.64l-47.616-20.48c17.92-51.2 50.688-76.8 99.328-76.8 55.296 3.072 84.992 33.28 88.576 90.112 2.048 38.4-20.48 75.776-66.56 112.64-25.6 19.968-46.592 40.448-61.952 61.952h126.464zM617.984 569.856l47.616-11.776c6.144 34.304 20.992 51.712 46.08 51.712 30.72 0 46.08-15.872 46.08-47.616-1.024-29.696-16.384-45.056-46.08-46.08h-33.792v-47.616h23.552c29.696-1.024 45.056-15.872 46.08-44.544-1.024-23.552-12.288-35.84-33.792-36.864-22.528 1.024-36.352 16.896-41.472 47.616l-48.64-13.312c12.8-54.272 42.496-81.92 88.576-82.944 56.32 2.048 85.504 31.232 87.552 87.552 0 27.648-12.288 48.128-36.864 61.952 31.744 13.824 47.616 38.4 47.616 74.24-2.048 59.392-34.304 90.112-97.792 93.184-54.784 0-86.016-28.16-94.72-85.504z","p-id":"4962"},null,-1)]))}const pE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(hE,[["render",CE]])},Symbol.toStringTag,{value:"Module"})),QE={},EE={t:"1703055995909",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10211",width:"200",height:"200"};function IE(i,A){return c.openBlock(),c.createElementBlock("svg",EE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M960 704h-63.616v-167.392a32 32 0 0 0-32-32H544V416h160a32 32 0 0 0 32-32V96a32 32 0 0 0-32-32H320a32 32 0 0 0-32 32v288a32 32 0 0 0 32 32h160v88.608H161.984a32 32 0 0 0-32 31.968L129.792 704H64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32H193.792l0.16-135.392H480V704h-64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32h-64v-135.392h288.384V704H768a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32zM352 128h320v224H352V128zM224 896H96v-128h128v128z m352 0h-128v-128h128v128z m352 0h-128v-128h128v128z","p-id":"10212"},null,-1)]))}const mE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(QE,[["render",IE]])},Symbol.toStringTag,{value:"Module"})),fE={},wE={t:"1703683757240",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5282",width:"200",height:"200"};function DE(i,A){return c.openBlock(),c.createElementBlock("svg",wE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M591.9488 76.8a30.72 30.72 0 0 1 21.71904 8.99584l258.48832 258.48832a30.72 30.72 0 0 1 8.99584 21.71904V430.08h45.568a20.48 20.48 0 0 1 20.48 20.48v358.4a20.48 20.48 0 0 1-20.48 20.48h-45.568v87.04a30.72 30.72 0 0 1-30.72 30.72h-675.84a30.72 30.72 0 0 1-30.72-30.72v-87.04H97.28a20.48 20.48 0 0 1-20.48-20.48V450.56a20.48 20.48 0 0 1 20.48-20.48h46.592V107.52a30.72 30.72 0 0 1 30.72-30.72zM809.472 829.44h-593.92v46.08h593.92v-46.08z m-249.344-342.016c-75.264 0-128 58.88-128 143.36 0 81.408 51.2 138.752 124.416 138.752 63.488 0 128-44.544 128-143.872 0-81.408-51.2-138.24-124.416-138.24z m-323.584 4.096H178.688v176.64c0 45.056-14.336 48.64-32.768 48.64-11.264 0-19.456-3.072-22.528-4.096l-14.336-5.632-9.216 51.712 9.728 4.096c10.24 3.584 26.112 6.656 38.912 6.656 40.448 0 88.064-16.896 88.064-98.816V491.52z m114.176-4.608c-53.76 0-93.184 33.792-93.184 80.384 0 37.888 24.064 65.024 73.728 82.432 32.256 12.8 38.4 23.04 40.448 37.888 0 18.432-14.848 29.696-39.424 29.696-16.896 0-36.352-5.12-50.688-14.336l-14.336-8.704-15.872 51.712 7.68 5.12c15.872 10.752 45.056 17.92 70.656 17.92 49.664 0 99.84-26.112 99.84-84.48 0-50.688-36.352-71.168-71.68-84.992-35.328-13.312-41.472-22.016-41.472-35.84 0-11.264 8.704-24.576 33.792-24.576 18.432 0 32.256 5.632 40.96 10.24l13.312 7.168 16.896-50.688-9.216-5.12c-9.216-5.12-29.184-13.824-61.44-13.824z m404.992 4.608h-54.784v273.92h55.808v-118.784c0-18.432 0-34.304-0.512-49.152 6.656 10.752 13.824 23.04 22.016 35.84l82.432 132.096h52.224V491.52h-55.808v123.47904c0.01024 13.37344 0.07168 26.09664 0.512 38.82496-5.632-10.24-11.776-20.48-18.432-30.72L755.712 491.52z m-197.12 47.616c45.568 0 66.56 45.568 66.56 88.064 0 45.056-20.992 90.624-67.072 90.624-45.568 0-66.56-45.568-66.56-88.064 0-67.072 36.352-90.624 67.072-90.624z m25.6-390.656h-368.64v281.6h593.92V363.52h-194.56a30.72 30.72 0 0 1-30.72-30.72V148.48z m71.68 76.8v66.56h66.56l-66.56-66.56z","p-id":"5283"},null,-1)]))}const bE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(fE,[["render",DE]])},Symbol.toStringTag,{value:"Module"})),yE={},vE={t:"1704177937362",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"19086",width:"200",height:"200"};function kE(i,A){return c.openBlock(),c.createElementBlock("svg",vE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M914.496 653.504a39.893333 39.893333 0 0 0-16 3.306667l-0.213333 0.085333h-0.192l-387.882667 165.312-388.010667-165.205333h-0.213333l-0.192-0.106667a40.853333 40.853333 0 0 0-16-3.285333c-23.082667 0-41.792 19.285333-41.792 43.093333 0 18.005333 10.709333 33.28 25.813333 39.808l403.882667 172.096 0.405333 0.106667a40.426667 40.426667 0 0 0 32 0l0.213334-0.106667c0.085333 0 0.085333-0.106667 0.192-0.106667l403.882666-172.096a43.157333 43.157333 0 0 0 25.813334-39.808c0.106667-23.786667-18.602667-43.093333-41.706667-43.093333z m0-186.496c-7.893333-0.213333-16 3.2-16 3.2l-388.288 165.397333L121.792 470.186667s-10.282667-3.2-16-3.2c-23.082667 0-41.792 19.2-41.792 42.986666 0 17.92 10.709333 33.301333 25.813333 39.701334l403.882667 172.010666c0.106667 0 0.106667 0.106667 0.213333 0.106667l0.085334 0.085333a40.533333 40.533333 0 0 0 32 0l0.213333-0.085333c0.085333 0 0.085333 0 0.192-0.106667l403.904-172.010666a43.264 43.264 0 0 0 25.898667-39.68c0.106667-23.808-18.602667-43.008-41.706667-43.008zM89.813333 363.2l403.904 172.096c0.106667 0 0.106667 0 0.213334 0.106667l0.085333 0.106666a41.92 41.92 0 0 0 32 0l0.213333-0.106666 0.192-0.106667 403.904-171.989333a43.370667 43.370667 0 0 0 25.898667-39.701334c0-18.005333-10.709333-33.301333-25.813333-39.808L526.506667 111.594667c-0.106667 0-0.106667 0-0.213334-0.085334l-0.213333-0.106666a40.448 40.448 0 0 0-32 0l-0.085333 0.106666L89.813333 283.712A43.050667 43.050667 0 0 0 64 323.498667c0 17.92 10.709333 33.216 25.813333 39.701333z","p-id":"19087"},null,-1)]))}const _E=Object.freeze(Object.defineProperty({__proto__:null,default:ee(yE,[["render",kE]])},Symbol.toStringTag,{value:"Module"})),ME={},SE={t:"1704894799777",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4348",width:"200",height:"200"};function xE(i,A){return c.openBlock(),c.createElementBlock("svg",SE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.975a16.003 16.003 0 0 0 14.624 9.503h24.055c6.33 0 12.065-3.732 14.63-9.518l59.109-133.35v157.458c0 8.838 7.165 16.003 16.003 16.003h27.337c8.838 0 16.003-7.165 16.003-16.003V486.002c0-8.838-7.165-16.003-16.003-16.003h-34.746a16.003 16.003 0 0 0-14.673 9.616l-79.473 182.587-79.473-182.587A16.003 16.003 0 0 0 417.96 470h-34.958c-8.838 0-16.003 7.165-16.003 16.003v271.996c0 8.838 7.165 16.003 16.003 16.003h27.126c8.838 0 16.003-7.165 16.003-16.003V600.929z","p-id":"4349"},null,-1)]))}const FE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(ME,[["render",xE]])},Symbol.toStringTag,{value:"Module"})),NE={},RE={t:"1703837724812",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3877",width:"200",height:"200"};function LE(i,A){return c.openBlock(),c.createElementBlock("svg",RE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M486.4 776.533333v-213.333333H247.466667v106.666667L85.333333 512l162.133334-162.133333V512h238.933333V247.466667H349.866667L512 85.333333l162.133333 162.133334h-132.266666V512h238.933333V349.866667L938.666667 512l-162.133334 162.133333v-106.666666h-238.933333v213.333333h132.266667L512 938.666667l-162.133333-162.133334h136.533333z","p-id":"3878"},null,-1)]))}const GE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(NE,[["render",LE]])},Symbol.toStringTag,{value:"Module"})),HE={},PE={t:"1702992107847",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4267","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function KE(i,A){return c.openBlock(),c.createElementBlock("svg",PE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M784 1024h-544A176 176 0 0 1 64 848v-416A176 176 0 0 1 240 256h544A176 176 0 0 1 960 432v416A176 176 0 0 1 784 1024zM240 352A80 80 0 0 0 160 432v416a80 80 0 0 0 80 80h544a80 80 0 0 0 80-80v-416a80 80 0 0 0-80-80z",fill:"","p-id":"4268"},null,-1),c.createElementVNode("path",{d:"M512 448a48 48 0 0 1 48 48v288A48 48 0 0 1 512 832a48 48 0 0 1-48-48v-288A48 48 0 0 1 512 448zM664.32 301.44v-14.08C640 178.56 611.84 96 512 96S384 167.04 364.8 275.84l-5.12 24.32-94.08-19.84 4.48-24.32C288 167.04 320 0 512 0s222.72 173.44 243.2 266.88v13.44z",fill:"","p-id":"4269"},null,-1)]))}const UE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(HE,[["render",KE]])},Symbol.toStringTag,{value:"Module"})),YE={},TE={t:"1703055586130",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3916",width:"200",height:"200"};function OE(i,A){return c.openBlock(),c.createElementBlock("svg",TE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M512 65.984C266.08 65.984 65.984 266.08 65.984 512c0 245.952 200.064 446.016 446.016 446.016 245.952 0 446.016-200.064 446.016-446.016C958.016 266.08 757.952 65.984 512 65.984zM512 894.016C301.344 894.016 129.984 722.624 129.984 512 129.984 301.344 301.344 129.984 512 129.984c210.624 0 382.016 171.36 382.016 382.016C894.016 722.624 722.624 894.016 512 894.016z","p-id":"3917"},null,-1),c.createElementVNode("path",{d:"M512 352c-88.224 0-160 71.776-160 160s71.776 160 160 160 160-71.776 160-160S600.224 352 512 352z","p-id":"3918"},null,-1)]))}const JE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(YE,[["render",OE]])},Symbol.toStringTag,{value:"Module"})),$E={},ZE={t:"1705643861503",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5125",width:"200",height:"200"};function zE(i,A){return c.openBlock(),c.createElementBlock("svg",ZE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M1020.93824 386.304a64.64 64.64 0 0 0-51.584-45.44l-276.352-41.984L569.41824 37.248A63.744 63.744 0 0 0 512.07424 0a63.68 63.68 0 0 0-57.28 37.248L331.21024 298.88l-276.48 41.984a64.64 64.64 0 0 0-51.52 45.44c-7.552 24.192-1.28 50.688 16.192 68.48l199.936 203.584-47.168 287.616c-4.16 25.024 5.76 50.304 25.408 65.28a61.952 61.952 0 0 0 67.328 5.12L512.07424 880.512l247.232 135.744a62.08 62.08 0 0 0 67.328-5.12c19.648-14.912 29.504-40.192 25.408-65.28l-47.232-287.552L1004.87424 454.72c17.408-17.728 23.68-44.224 16.128-68.416","p-id":"5126"},null,-1)]))}const WE=Object.freeze(Object.defineProperty({__proto__:null,default:ee($E,[["render",zE]])},Symbol.toStringTag,{value:"Module"})),jE={},qE={t:"1703839228306",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6053",width:"200",height:"200"};function XE(i,A){return c.openBlock(),c.createElementBlock("svg",qE,A[0]||(A[0]=[c.createElementVNode("path",{d:"M587.229378 437.990403 580.722174 437.990403 76.975139 437.990403 76.975139 581.918419 580.722174 581.918419 587.229378 581.918419 940.542216 581.918419 940.542216 437.990403Z","p-id":"6054"},null,-1)]))}const VE=Object.freeze(Object.defineProperty({__proto__:null,default:ee(jE,[["render",XE]])},Symbol.toStringTag,{value:"Module"})),AI={},eI={t:"1707470386657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3905",width:"200",height:"200"};function tI(i,A){return c.openBlock(),c.createElementBlock("svg",eI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M712.145455 316.509091h-390.981819c-18.618182 0-37.236364 13.963636-37.236363 37.236364s18.618182 37.236364 37.236363 37.236363h158.254546v344.436364c0 18.618182 18.618182 37.236364 37.236363 37.236363s37.236364-18.618182 37.236364-37.236363v-344.436364h158.254546c18.618182 0 37.236364-18.618182 37.236363-37.236363s-18.618182-37.236364-37.236363-37.236364z","p-id":"3906"},null,-1),c.createElementVNode("path",{d:"M842.472727 51.2h-665.6c-69.818182 0-130.327273 60.509091-130.327272 130.327273v665.6c0 69.818182 60.509091 130.327273 130.327272 130.327272h665.6c74.472727 0 130.327273-55.854545 130.327273-130.327272V176.872727c0-69.818182-55.854545-125.672727-130.327273-125.672727z m60.509091 795.927273c0 32.581818-23.272727 55.854545-55.854545 55.854545h-665.6c-32.581818 0-55.854545-23.272727-55.854546-55.854545V176.872727c0-32.581818 23.272727-55.854545 55.854546-55.854545h665.6c32.581818 0 55.854545 23.272727 55.854545 55.854545v670.254546z","p-id":"3907"},null,-1)]))}const nI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(AI,[["render",tI]])},Symbol.toStringTag,{value:"Module"})),iI={},oI={t:"1728100556289",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5207",width:"200",height:"200"};function sI(i,A){return c.openBlock(),c.createElementBlock("svg",oI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M814.805 128a51.179 51.179 0 0 1 51.179 51.179V844.01a51.179 51.179 0 0 1-51.179 51.157H201.173a51.179 51.179 0 0 1-51.178-51.157V179.179A51.179 51.179 0 0 1 201.173 128h613.654zM329.024 434.837a51.093 51.093 0 0 1-51.179-51.093V179.157h-76.672v664.854h613.76V179.179H738.22v204.48a51.179 51.179 0 0 1-51.179 51.178H329.024z m0-51.093h357.995V179.157H329.024v204.587z m357.91 204.501a25.557 25.557 0 1 1 0.085 51.072H329.024a25.536 25.536 0 1 1 0-51.072h357.91z","p-id":"5208"},null,-1)]))}const rI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(iI,[["render",sI]])},Symbol.toStringTag,{value:"Module"})),aI={},lI={t:"1728140209660",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7097",width:"200",height:"200"};function gI(i,A){return c.openBlock(),c.createElementBlock("svg",lI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M938.666667 42.666667a42.666667 42.666667 0 0 1 42.666666 42.666666v853.333334a42.666667 42.666667 0 0 1-42.666666 42.666666H85.333333a42.666667 42.666667 0 0 1-42.666666-42.666666V85.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h853.333334z m-42.666667 298.666666H128v554.666667h768V341.333333zM382.890667 447.573333a21.333333 21.333333 0 0 1 30.122666-1.066666l31.232 29.098666a21.333333 21.333333 0 0 1 1.024 30.165334l-103.808 111.274666 103.808 111.36a21.333333 21.333333 0 0 1-1.024 30.122667l-31.232 29.098667a21.333333 21.333333 0 0 1-30.122666-1.024l-130.005334-139.392-14.464-13.482667a21.290667 21.290667 0 0 1-6.741333-16.64l0.128-3.626667a21.248 21.248 0 0 1 6.613333-13.056l14.421334-13.482666z m258.218666 0l130.005334 139.349334 14.464 13.482666c3.84 3.584 6.016 8.234667 6.613333 13.056l0.128 3.584a21.290667 21.290667 0 0 1-6.741333 16.682667l-14.506667 13.482667-129.962667 139.392a21.333333 21.333333 0 0 1-27.093333 3.413333l-3.029333-2.389333-31.232-29.098667a21.333333 21.333333 0 0 1-1.024-30.122667l103.765333-111.36-103.765333-111.274666a21.333333 21.333333 0 0 1 1.024-30.165334l31.232-29.098666a21.333333 21.333333 0 0 1 30.122666 1.066666zM896 128H128v128h768V128z",opacity:".65","p-id":"7098"},null,-1)]))}const cI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(aI,[["render",gI]])},Symbol.toStringTag,{value:"Module"})),uI={},dI={t:"1706682823369",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3946",width:"200",height:"200"};function hI(i,A){return c.openBlock(),c.createElementBlock("svg",dI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M 1014.65 967.259 L 708.256 660.86 a 400.522 400.522 0 1 0 -47.395 47.395 l 305.731 305.731 a 33.3768 33.3768 0 0 0 47.395 -47.395 Z M 164.881 638.832 a 333.768 333.768 0 1 1 473.95 0 a 333.768 333.768 0 0 1 -473.95 0 Z","p-id":"3947"},null,-1)]))}const BI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(uI,[["render",hI]])},Symbol.toStringTag,{value:"Module"})),CI={},pI={t:"1741244239723",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11748",width:"200",height:"200"};function QI(i,A){return c.openBlock(),c.createElementBlock("svg",pI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M901.12 645.12l84.48 84.48-61.44 61.44-84.48-84.48c-51.2 28.16-117.76 17.92-161.28-23.04-56.32-56.32-56.32-145.92 0-194.56s145.92-56.32 194.56 0c51.2 40.96 56.32 107.52 28.16 156.16z m-332.8-217.6v166.4H10.24v-166.4h558.08z m0 391.68H10.24v-166.4h558.08V819.2z m445.44-445.44H10.24V204.8h1003.52v168.96zM122.88 261.12v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m506.88-81.92c23.04 23.04 56.32 23.04 76.8 0 23.04-23.04 23.04-56.32 0-76.8-23.04-23.04-56.32-23.04-76.8 0-20.48 20.48-20.48 53.76 0 76.8z",fill:"#040000","p-id":"11749"},null,-1)]))}const EI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(CI,[["render",QI]])},Symbol.toStringTag,{value:"Module"})),II={},mI={t:"1702352445968",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5056","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function fI(i,A){return c.openBlock(),c.createElementBlock("svg",mI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M794.17 147.91c45.16 0.2 81.71 36.76 81.92 81.92v564.34c-0.2 45.16-36.76 81.71-81.92 81.92H229.83c-45.16-0.2-81.71-36.76-81.92-81.92V229.83c0.2-45.16 36.76-81.71 81.92-81.92h564.34m0-45.51H229.83c-70.09 0-127.43 57.34-127.43 127.43v564.34c0 70.08 57.34 127.43 127.43 127.43h564.34c70.08 0 127.43-57.34 127.43-127.43V229.83c0-70.09-57.34-127.43-127.43-127.43z m0 0","p-id":"5057"},null,-1),c.createElementVNode("path",{d:"M514.8 704.46c-6.02 0.01-11.81-2.38-16.07-6.64l-256-255.09a22.73 22.73 0 0 1-6-22 22.752 22.752 0 0 1 16.1-16.16c7.87-2.11 16.27 0.14 22.02 5.92l239.88 239.05 239.22-239.39c8.89-8.82 23.25-8.8 32.11 0.06 8.86 8.86 8.9 23.21 0.08 32.11L530.89 697.79a22.744 22.744 0 0 1-16.09 6.67z m0 0","p-id":"5058"},null,-1)]))}const wI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(II,[["render",fI]])},Symbol.toStringTag,{value:"Module"})),DI={},bI={t:"1706707968748",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4174",width:"200",height:"200"};function yI(i,A){return c.openBlock(),c.createElementBlock("svg",bI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M228.704 212.096v66.688H112V212.096h116.704z m333.184 266.592v66.688H112v-66.688h449.888z m-266.496 266.72v66.592H112v-66.688l183.392 0.096z m116.608-600c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H278.816c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488V178.912c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.184-0.096z m66.688 533.28c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H345.28c-8.992 0-16.8-3.296-23.488-9.888a32.416 32.416 0 0 1-9.888-23.488v-133.312c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.408-0.096zM912 212.096v66.688H462.112V212.096H912z m0 533.312v66.592H528.608v-66.688l383.392 0.096z m-166.784-333.312c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888h-133.216c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488v-133.408c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.496-9.888 23.488-9.888l133.216 0.096z m166.784 66.592v66.688h-116.704v-66.688H912z","p-id":"4175"},null,-1)]))}const vI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(DI,[["render",yI]])},Symbol.toStringTag,{value:"Module"})),kI={},_I={t:"1703683830020",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6437",width:"200",height:"200"};function MI(i,A){return c.openBlock(),c.createElementBlock("svg",_I,A[0]||(A[0]=[c.createElementVNode("path",{d:"M751.36 768H272.64a271.36 271.36 0 0 1 0-542.72h478.72a271.36 271.36 0 0 1 0 542.72zM272.64 287.36a207.36 207.36 0 0 0 0 414.72h478.72a207.36 207.36 0 0 0 0-414.72z","p-id":"6438"},null,-1),c.createElementVNode("path",{d:"M735.36 494.72m-158.08 0a158.08 158.08 0 1 0 316.16 0 158.08 158.08 0 1 0-316.16 0Z","p-id":"6439"},null,-1)]))}const SI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(kI,[["render",MI]])},Symbol.toStringTag,{value:"Module"})),xI={},FI={t:"1732514809165",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3898",width:"200",height:"200"};function NI(i,A){return c.openBlock(),c.createElementBlock("svg",FI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M908.8 1005.44H115.2a101.76 101.76 0 0 1-101.12-101.76V110.72A101.76 101.76 0 0 1 115.2 8.96h296.96a32.64 32.64 0 0 1 32 32V262.4a32 32 0 0 1-32 32 32 32 0 0 1-32-32v-192H115.2a37.76 37.76 0 0 0-37.12 37.76v795.52a37.76 37.76 0 0 0 37.12 37.76h793.6a37.76 37.76 0 0 0 37.12-37.76V267.52a32 32 0 0 1 32-32 32 32 0 0 1 32 32v636.16a101.76 101.76 0 0 1-101.12 101.76z",fill:"#323333","p-id":"3899"},null,-1),c.createElementVNode("path",{d:"M977.92 299.52a32.64 32.64 0 0 1-32-32V180.48a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32h487.68a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3900"},null,-1),c.createElementVNode("path",{d:"M977.92 299.52H64a32 32 0 0 1-32-32 32 32 0 0 1 32-32h913.92a32 32 0 0 1 32 32 32 32 0 0 1-32 32z",fill:"#323333","p-id":"3901"},null,-1),c.createElementVNode("path",{d:"M699.52 299.52a32 32 0 0 1-32-32V110.72a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3902"},null,-1)]))}const RI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(xI,[["render",NI]])},Symbol.toStringTag,{value:"Module"})),LI={},GI={t:"1724730105736",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1494",width:"200",height:"200"};function HI(i,A){return c.openBlock(),c.createElementBlock("svg",GI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M920.528912 444.49616l-340.111125-340.114737a135.932464 135.932464 0 0 0-96.155899-39.758503L200.418112 64.662657h-0.018063C125.275769 64.662657 64.301413 125.40943 64.301413 200.548159v283.673992a136.091412 136.091412 0 0 0 39.881326 96.199248l340.230335 340.241173a136.022775 136.022775 0 0 0 192.369598 0l283.74624-283.76069c53.128139-53.131752 53.128139-139.277583 0-192.405722z m-45.209673 147.192436l-283.746241 283.760691a72.064544 72.064544 0 0 1-101.924964 0l-340.212273-340.241173A72.187367 72.187367 0 0 1 128.241582 484.218538V200.548159A72.021195 72.021195 0 0 1 200.396437 128.602826l283.843776-0.039737a71.887535 71.887535 0 0 1 50.935389 21.053294l340.114737 340.1039a72.104281 72.104281 0 0 1 0.0289 101.968313z",fill:"","p-id":"1495"},null,-1),c.createElementVNode("path",{d:"M384.002258 255.999097c-70.69543 0-128.003161 57.307731-128.003161 128.003161S313.306828 511.998194 384.002258 511.998194s127.999548-57.307731 127.999548-127.999549S454.690463 255.999097 384.002258 255.999097z m45.296371 173.29592a64.059379 64.059379 0 1 1 18.759396-45.292759 63.640337 63.640337 0 0 1-18.763008 45.292759z",fill:"","p-id":"1496"},null,-1)]))}const PI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(LI,[["render",HI]])},Symbol.toStringTag,{value:"Module"})),KI={},UI={t:"1730966767890",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function YI(i,A){return c.openBlock(),c.createElementBlock("svg",UI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M859.428571 256a18.285714 18.285714 0 0 1-18.285714-18.285714V146.285714H182.857143v91.428572a18.285714 18.285714 0 0 1-36.571429 0v-109.714286a18.285714 18.285714 0 0 1 18.285715-18.285714h694.857142a18.285714 18.285714 0 0 1 18.285715 18.285714v109.714286a18.285714 18.285714 0 0 1-18.285715 18.285714z","p-id":"3920"},null,-1),c.createElementVNode("path",{d:"M512 932.571429a18.285714 18.285714 0 0 1-18.285714-18.285715V128a18.285714 18.285714 0 0 1 36.571428 0V914.285714a18.285714 18.285714 0 0 1-18.285714 18.285715z","p-id":"3921"},null,-1),c.createElementVNode("path",{d:"M694.857143 932.571429H329.142857a18.285714 18.285714 0 0 1 0-36.571429h365.714286a18.285714 18.285714 0 0 1 0 36.571429z","p-id":"3922"},null,-1)]))}const TI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(KI,[["render",YI]])},Symbol.toStringTag,{value:"Module"})),OI={},JI={t:"1703231974424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11202",width:"200",height:"200"};function $I(i,A){return c.openBlock(),c.createElementBlock("svg",JI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M760.32 625.152a12.8 12.8 0 0 0-13.824 2.56l-153.6 153.6a12.8 12.8 0 0 0 9.216 22.016h153.6a12.8 12.8 0 0 0 12.8-12.8v-153.6a12.8 12.8 0 0 0-8.192-11.776z",fill:"","p-id":"11203"},null,-1),c.createElementVNode("path",{d:"M768 157.184H256a128 128 0 0 0-128 128v512a128 128 0 0 0 128 128h512a128 128 0 0 0 128-128v-512a128 128 0 0 0-128-128z m76.8 640a76.8 76.8 0 0 1-76.8 76.8H256a76.8 76.8 0 0 1-76.8-76.8v-512A76.8 76.8 0 0 1 256 208.384h512a76.8 76.8 0 0 1 76.8 76.8z",fill:"","p-id":"11204"},null,-1),c.createElementVNode("path",{d:"M307.2 401.92h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 0 0 0 51.2zM307.2 570.88h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 1 0 0 51.2zM512 688.128H307.2a25.6 25.6 0 1 0 0 51.2h204.8a25.6 25.6 0 1 0 0-51.2z",fill:"","p-id":"11205"},null,-1)]))}const ZI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(OI,[["render",$I]])},Symbol.toStringTag,{value:"Module"})),zI={},WI={t:"1705911423739",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9058",width:"200",height:"200"};function jI(i,A){return c.openBlock(),c.createElementBlock("svg",WI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const qI=Object.freeze(Object.defineProperty({__proto__:null,default:ee(zI,[["render",jI]])},Symbol.toStringTag,{value:"Module"})),XI={},VI={t:"1706919981946",class:"icon",viewBox:"0 0 1536 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4200",width:"200",height:"200"};function Am(i,A){return c.openBlock(),c.createElementBlock("svg",VI,A[0]||(A[0]=[c.createElementVNode("path",{d:"M757.76 614.4L512 768 757.76 921.6V819.2h307.2V716.8h-307.2zM0 0v1024h409.6V0H0z m307.2 921.6H102.4V102.4h204.8v819.2zM1474.56 0H1126.4v1024h409.6V0h-61.44zM1433.6 921.6h-204.8V102.4h204.8v819.2zM819.2 102.4H512v102.4h307.2v102.4l245.76-153.6L819.2 0z","p-id":"4201"},null,-1)]))}const em=Object.freeze(Object.defineProperty({__proto__:null,default:ee(XI,[["render",Am]])},Symbol.toStringTag,{value:"Module"})),tm={},nm={t:"1728100521082",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4204",width:"200",height:"200"};function im(i,A){return c.openBlock(),c.createElementBlock("svg",nm,A[0]||(A[0]=[c.createElementVNode("path",{d:"M640 64a64 64 0 0 1 64 64v85.333333h226.133333c4.693333 0 8.533333 3.84 8.533334 8.533334v46.933333a8.533333 8.533333 0 0 1-8.533334 8.533333H874.666667v554.666667a128 128 0 0 1-128 128H277.333333a128 128 0 0 1-128-128V277.333333H93.866667a8.533333 8.533333 0 0 1-8.533334-8.533333v-46.933333c0-4.693333 3.84-8.533333 8.533334-8.533334H320V128a64 64 0 0 1 64-64h256z m170.666667 213.333333H213.333333v554.666667a64 64 0 0 0 60.245334 63.893333L277.333333 896h469.333334a64 64 0 0 0 63.893333-60.245333L810.666667 832V277.333333z m-392.533334 128c4.693333 0 8.533333 3.84 8.533334 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533334 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533333-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533333-8.533334h46.933333z m234.666667 0c4.693333 0 8.533333 3.84 8.533333 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533333 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533334-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533334-8.533334h46.933333zM640 128H384v85.333333h256V128z","p-id":"4205"},null,-1)]))}const om=Object.freeze(Object.defineProperty({__proto__:null,default:ee(tm,[["render",im]])},Symbol.toStringTag,{value:"Module"})),sm={},rm={t:"1707573140261",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4919",width:"200",height:"200"};function am(i,A){return c.openBlock(),c.createElementBlock("svg",rm,A[0]||(A[0]=[c.createElementVNode("path",{d:"M543.7 157v534c0 16.6-13.4 30-30 30s-30-13.4-30-30V157c0-16.6 13.4-30 30-30 16.5 0 30 13.4 30 30z",fill:"","p-id":"4920"},null,-1),c.createElementVNode("path",{d:"M323.1 331c11.8 11.8 30.7 11.8 42.5 0l119.9-119.9c15.6-15.6 40.9-15.6 56.6 0L662 331c11.7 11.7 30.7 11.7 42.4 0s11.7-30.7 0-42.4L541.7 126.1c-15.6-15.6-41-15.6-56.6 0L323 288.6c-11.6 11.8-11.6 30.7 0.1 42.4zM853.7 913h-680c-33.1 0-60-26.9-60-60V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v240c0 16.6 13.4 30 30 30h620c16.6 0 30-13.4 30-30V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v270c0 33.1-26.9 60-60 60z",fill:"","p-id":"4921"},null,-1)]))}const lm=Object.freeze(Object.defineProperty({__proto__:null,default:ee(sm,[["render",am]])},Symbol.toStringTag,{value:"Module"})),gm={},cm={t:"1705549223486",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3971",width:"200",height:"200"};function um(i,A){return c.openBlock(),c.createElementBlock("svg",cm,A[0]||(A[0]=[c.createElementVNode("path",{d:"M828.8 598.4c-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L694.4 688c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l35.2-35.2V896c0 16 12.8 32 32 32s32-12.8 32-32V697.6l38.4 38.4c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-92.8-92.8z m-419.2-240c16-35.2 6.4-76.8-19.2-105.6-28.8-28.8-73.6-35.2-108.8-22.4-35.2 16-57.6 54.4-57.6 92.8 0 51.2 41.6 92.8 92.8 92.8 38.4 0 76.8-22.4 92.8-57.6zM288 323.2c0-9.6 3.2-16 9.6-22.4 3.2-9.6 12.8-12.8 22.4-12.8 16 0 32 12.8 32 28.8s-12.8 32-28.8 35.2c-19.2 0-35.2-12.8-35.2-28.8z","p-id":"3972"},null,-1),c.createElementVNode("path",{d:"M896 96H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h544v-64H160c-19.2 0-32-16-32-32V192c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v416h64V160c0-35.2-28.8-64-64-64z","p-id":"3973"},null,-1),c.createElementVNode("path",{d:"M182.4 713.6c12.8 12.8 32 12.8 44.8 0l134.4-134.4 112 112c3.2 3.2 3.2 3.2 6.4 3.2 12.8 6.4 25.6 6.4 38.4-3.2l316.8-316.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L496 624 384 508.8l-3.2-3.2c-12.8-9.6-28.8-9.6-41.6 3.2l-160 160c-9.6 12.8-9.6 32 3.2 44.8z","p-id":"3974"},null,-1)]))}const dm=Object.freeze(Object.defineProperty({__proto__:null,default:ee(gm,[["render",um]])},Symbol.toStringTag,{value:"Module"})),hm={},Bm={t:"1730861883815",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1611",width:"200",height:"200"};function Cm(i,A){return c.openBlock(),c.createElementBlock("svg",Bm,A[0]||(A[0]=[c.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),c.createElementVNode("path",{d:"M512 127.2832a738.816 738.816 0 0 0 336.1792 121.0368v351.4368c0 40.192-12.9536 82.2784-38.5536 124.9792-23.8592 39.8336-58.88 80.0256-101.2224 116.2752a608.256 608.256 0 0 1-120.8832 80.896c-41.216 20.4288-67.3792 25.7536-75.52 25.7536-8.192 0-34.304-5.3248-75.52-25.8048a608.256 608.256 0 0 1-120.8832-80.8448c-42.3424-36.2496-77.312-76.4416-101.2224-116.224-25.6-42.752-38.5536-84.6848-38.5536-125.0304V248.32A738.816 738.816 0 0 0 512 127.2832zM512 51.2c-13.7728 0-27.648 4.0448-39.68 12.1344a663.4496 663.4496 0 0 1-303.7184 109.3632C130.9696 176.5376 102.4 209.3056 102.4 248.4736v351.5392C102.4 834.2528 409.6512 1024 512 1024c102.3488 0 409.6-189.7472 409.6-423.936V248.3712c0-39.1168-28.672-71.8848-66.2016-75.7248a663.9616 663.9616 0 0 1-303.7184-109.3632A71.2704 71.2704 0 0 0 512 51.2z","p-id":"1613"},null,-1),c.createElementVNode("path",{d:"M439.552 704.512l-120.0128-120.064a42.752 42.752 0 0 1 0-60.1088 42.752 42.752 0 0 1 60.1088 0l120.0128 120.0128a42.752 42.752 0 0 1 0 60.1088 42.752 42.752 0 0 1-60.1088 0z","p-id":"1614"},null,-1),c.createElementVNode("path",{d:"M782.0288 425.8304l-279.3984 279.5008c-15.36 15.3088-40.4992 15.3088-55.9616 0a39.8336 39.8336 0 0 1 0-55.9616l279.4496-279.5008c15.3088-15.3088 40.448-15.3088 55.9104 0a39.5776 39.5776 0 0 1 0 55.9616z","p-id":"1615"},null,-1)]))}const pm=Object.freeze(Object.defineProperty({__proto__:null,default:ee(hm,[["render",Cm]])},Symbol.toStringTag,{value:"Module"})),Qm={},Em={t:"1728097746557",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3853",width:"200",height:"200"};function Im(i,A){return c.openBlock(),c.createElementBlock("svg",Em,A[0]||(A[0]=[c.createElementVNode("path",{d:"M512 504L764.8 68.8h-134.4L512 275.2 393.6 70.4h-134.4L512 504zM819.2 70.4L512 600 204.8 68.8H0l512 886.4L1024 70.4H819.2z","p-id":"3854"},null,-1)]))}const mm=Object.freeze(Object.defineProperty({__proto__:null,default:ee(Qm,[["render",Im]])},Symbol.toStringTag,{value:"Module"})),ge=c.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(i){const e=Object.entries(Object.assign({"./icons/add.vue":mp,"./icons/alert.vue":bp,"./icons/button.vue":_p,"./icons/card.vue":Fp,"./icons/cascader.vue":Gp,"./icons/checkbox.vue":Up,"./icons/collapse.vue":Jp,"./icons/colorPicker.vue":Wp,"./icons/copy.vue":Vp,"./icons/custom.vue":nQ,"./icons/datePicker.vue":rQ,"./icons/delete.vue":cQ,"./icons/design.vue":BQ,"./icons/divider.vue":EQ,"./icons/document.vue":wQ,"./icons/dropdown.vue":vQ,"./icons/esign.vue":SQ,"./icons/eye.vue":RQ,"./icons/formList.vue":PQ,"./icons/github.vue":TQ,"./icons/grid.vue":ZQ,"./icons/help.vue":qQ,"./icons/hidden.vue":eE,"./icons/icon.vue":oE,"./icons/inline.vue":lE,"./icons/input.vue":dE,"./icons/inputNumber.vue":pE,"./icons/itemGroup.vue":mE,"./icons/jsonEdit.vue":bE,"./icons/library.vue":_E,"./icons/markdown.vue":FE,"./icons/move.vue":GE,"./icons/password.vue":UE,"./icons/radio.vue":JE,"./icons/rate.vue":WE,"./icons/reduce.vue":VE,"./icons/rich.vue":nI,"./icons/save.vue":rI,"./icons/script.vue":cI,"./icons/search.vue":BI,"./icons/searchSelect.vue":EI,"./icons/select.vue":wI,"./icons/slider.vue":vI,"./icons/switch.vue":SI,"./icons/tabs.vue":RI,"./icons/tag.vue":PI,"./icons/text.vue":TI,"./icons/textarea.vue":ZI,"./icons/title.vue":qI,"./icons/transfer.vue":em,"./icons/trash.vue":om,"./icons/upload.vue":lm,"./icons/uploadImage.vue":dm,"./icons/verifyCode.vue":pm,"./icons/vue.vue":mm})).reduce((r,[m,b])=>{const l=m.split("/").pop(),y=l==null?void 0:l.split(".")[0];return r[y]=b.default,r},{});return(r,m)=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(c.unref(e)[r.name]),c.mergeProps({class:c.unref(ke)("icon-render")},r.$attrs),null,16,["class"]))}}),fm={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:""},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"}]},wm={key:0},Dm=c.defineComponent({__name:"Input",props:c.mergeModels({onInput:{},rulePath:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=ot(),r=i,m=c.inject("ruleModule",void 0),b=c.inject("pageMethodMap",{}),l=y=>{r.onInput&&m&&m[r.onInput](b,y)};return(y,S)=>{const f=c.resolveComponent("el-input");return c.unref(e).read?(c.openBlock(),c.createElementBlock("span",wm,c.toDisplayString(A.value),1)):(c.openBlock(),c.createBlock(f,c.mergeProps({key:1},y.$attrs,{modelValue:A.value,"onUpdate:modelValue":S[0]||(S[0]=x=>A.value=x),onInput:l}),null,16,["modelValue"]))}}}),bm={title:"单行文本",component:"Input",icon:c.h(ge,{name:"input"}),type:"basic",order:1,attrSchema:fm,render:Dm},ym={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"多行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:"请输入..."},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"最小行数",component:"InputNumber",name:"props.autosize.minRows",initialValue:4},{label:"最大行数",component:"InputNumber",name:"props.autosize.maxRows",initialValue:999}]},vm={title:"多行文本",component:"TextArea",icon:c.h(ge,{name:"textarea"}),type:"basic",order:2,attrSchema:ym,render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>iv))},km={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel",initialValue:!0},{label:"标题",component:"Input",name:"props.title",initialValue:"提示信息"},{label:"描述",component:"TextArea",name:"props.description",initialValue:"这是一个描述"},{label:"是否可关闭",component:"Switch",name:"props.closable",initialValue:!0},{label:"显示图标",component:"Switch",name:"props.show-icon",initialValue:!0},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"错误",value:"error"}]},initialValue:"info"},{label:"主题",component:"Radio",name:"props.effect",props:{mode:"static",options:[{label:"浅色",value:"light"},{label:"深色",value:"dark"}]},initialValue:"light"}]},_m={title:"提示框",component:"Alert",icon:c.h(ge,{name:"alert"}),type:"assist",order:2,attrSchema:km,render:"ElAlert"},Mm={title:"卡片",component:"Card",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>sv)),icon:c.h(ge,{name:"card"}),type:"layout",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},Sm={size:"small",labelPosition:"top",initialValues:{label:"级联选择器",props:{placeholder:"请选择...",mode:"static",options:[{label:"选项1",value:"value1",children:[{label:"选项1-1",value:"value1-1"},{label:"选项1-2",value:"value1-2"},{label:"选项1-3",value:"value1-2"}]},{label:"选项2",value:"value2",children:[{label:"选项2-1",value:"value2-1"},{label:"选项2-2",value:"value2-2"},{label:"选项2-3",value:"value2-2"}]},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},{label:"显示每一级",component:"Switch",name:"props.showAllLevels",initialValue:!0},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"标签key",component:"Input",name:"props.labelKey",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",designKey:"form-STkl"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},initialValue:"static",designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"JsonEdit",dialog:!0},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{label:"url",component:"Input",name:"props.api.url",initialValue:"/current/query/article",designKey:"form-UrE8"},{label:"请求方式",component:"Radio",name:"props.api.method",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"}]}]},xm={title:"级联选择器",icon:c.h(ge,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:Sm,order:7,render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>rv))},Fm={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"JSON编辑器"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"JsonEdit",name:"initialValue",dialog:!0}]},Nm={title:"JSON编辑",component:"JsonEdit",icon:c.h(ge,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:Fm,render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>hv))},Rm={size:"small",labelPosition:"top",initialValues:{label:"多选框组",component:"Checkbox",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:!0}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Cs]},Lm={title:"多选框组",icon:c.h(ge,{name:"checkbox"}),type:"basic",component:"Checkbox",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>pv)),order:4,attrSchema:Rm},Gm={size:"small",labelPosition:"top",initialValues:{label:"颜色选择器",component:"ColorPicker"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},Hm={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:c.h(ge,{name:"colorPicker"}),type:"basic",order:9,attrSchema:Gm},Pm={size:"small",labelPosition:"top",initialValues:{label:"颜色输入框",component:"ColorInput"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},Km={title:"颜色输入框",component:"ColorInput",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Ev)),icon:c.h(ge,{name:"colorPicker"}),type:"high",order:2,attrSchema:Pm},Um={size:"small",labelPosition:"top",initialValues:{label:"自定义组件"},items:[{label:"自定义组件名称",component:"Input",name:"props.componentName",props:{placeholder:"全局组件名称"}},{label:"props",component:"JsonEdit",name:"props",dialog:!0},{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},Ym={title:"自定义组件",component:"Custom",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>mv)),icon:c.h(ge,{name:"custom"}),type:"high",order:99,attrSchema:Um},Tm={size:"small",labelPosition:"top",initialValues:{label:"日期选择器",props:{type:"datetime",placeholder:"请选择日期",clearable:!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"日期时间",value:"datetime"},{label:"日期",value:"date"},{label:"年月",value:"month"},{label:"日期范围",value:"daterange"},{label:"日期时间范围",value:"datetimerange"}]}}]},Om={title:"日期选择器",component:"DatePicker",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Dv)),icon:c.h(ge,{name:"datePicker"}),type:"basic",order:9,attrSchema:Tm},Jm={size:"small",labelPosition:"top",initialValues:{props:{title:"分割线"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"标题",component:"Input",name:"props.title"},{label:"标题位置",component:"Radio",name:"props.contentPosition",props:{mode:"static",options:[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}]},initialValue:"center",designKey:"form-PLpj"}]},$m={title:"分割线",component:"Divider",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>bv)),icon:c.h(ge,{name:"divider"}),type:"assist",order:6,attrSchema:Jm},Zm={size:"small",labelPosition:"top",initialValues:{label:"电子签名",props:{width:700,height:300,lineWidth:6,lineColor:"#000000",bgColor:"#eeeeee",format:"image/png"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"画板宽度(px)",component:"InputNumber",name:"props.width"},{label:"画板高度(px)",component:"InputNumber",name:"props.height"},{label:"画笔粗细-初始",component:"InputNumber",name:"props.lineWidth"},{label:"画笔颜色-初始",component:"ColorPicker",name:"props.lineColor"},{label:"画板背景色-初始",component:"ColorPicker",name:"props.bgColor"},{label:"生成图片格式",component:"Radio",name:"props.format",props:{mode:"static",options:[{label:"PNG",value:"image/png"},{label:"JPG",value:"image/jpg"},{label:"JPEG",value:"image/jpeg"},{label:"WEBP",value:"image/webp"}]},designKey:"form-PLpj"}]},zm={title:"电子签名",component:"Esign",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Fv)),icon:c.h(ge,{name:"esign"}),type:"basic",order:11,attrSchema:Zm},Wm={size:"small",labelPosition:"top",initialValues:{label:"单选框组",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Cs]},jm={title:"单选框组",icon:c.h(ge,{name:"radio"}),type:"basic",component:"Radio",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Lv)),order:3.5,attrSchema:Wm},qm={size:"small",labelPosition:"top",initialValues:{label:"自增容器",children:[],props:{mode:"table",title:"数据",minLines:0,maxLines:999,allowAdd:!0,allowReduce:!0}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"表格",value:"table"},{label:"卡片",value:"card"},{label:"行内",value:"inline"}]}},{label:"自增前缀",component:"Input",name:"props.title"},{label:"最小行数",component:"InputNumber",props:{min:0},name:"props.minLines"},{label:"最大行数",component:"InputNumber",props:{min:0},name:"props.maxLines"},{label:"允许新增行",component:"Switch",name:"props.allowAdd"},{label:"允许删除行",component:"Switch",name:"props.allowReduce"}]},Xm={title:"自增容器",component:"FormList",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Yv)),icon:c.h(ge,{name:"formList"}),type:"high",order:20,attrSchema:qm},Vm={title:"栅格布局",type:"layout",icon:c.h(ge,{name:"grid"}),component:"Grid",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Tv)),order:3,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{columns:2,columnGap:20,rowGap:20}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.columns",initialValue:2},{label:"列间距",component:"InputNumber",name:"props.columnGap",props:{unit:"px"}},{label:"行间距",component:"InputNumber",name:"props.rowGap",props:{unit:"px"}},{label:"列对齐方式",component:"Select",name:"props.alignItems",props:{mode:"static",options:[{label:"stretch",value:"stretch"},{label:"center",value:"center"},{label:"start",value:"start"},{label:"end",value:"end"}]}}]}},Af={title:"行内布局",icon:c.h(ge,{name:"inline"}),type:"layout",component:"Inline",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Ov)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"对齐方式",component:"Radio",name:"props.align",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}]},initialValue:"left"},{label:"间距大小",component:"InputNumber",name:"props.gap",props:{unit:"px"}},{label:"自动换行",component:"Switch",name:"props.autoWrap"}]}},ef={size:"small",labelPosition:"top",initialValues:{label:"计数器",props:{min:1,max:999,step:1,controlsPosition:""}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"按钮位置",component:"Radio",name:"props.controlsPosition",props:{mode:"static",options:[{label:"两侧",value:""},{label:"内部",value:"right"}]},initialValue:""},{label:"最小值",component:"InputNumber",name:"props.min"},{label:"最大值",component:"InputNumber",name:"props.max"},{label:"步长",component:"InputNumber",name:"props.step"}]},tf={title:"计数器",icon:c.h(ge,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>$v)),attrSchema:ef},nf={size:"small",labelPosition:"top",initialValues:{label:"密码输入框",props:{placeholder:"请输入密码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"密码校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"不少于8位,由字母+数字组成",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]{8,}$"},{label:"不少于8位,至少包含一个大写字母、一个小写字母和一个数字",value:"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[A-Za-z\\d]{8,}$"},{label:"不包含空格",value:"^\\S*$"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"}]},of={key:0},sf={title:"密码输入框",component:"Password",render:c.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=ot();return(r,m)=>{var l;const b=c.resolveComponent("el-input");return c.unref(e).read?(c.openBlock(),c.createElementBlock("span",of,c.toDisplayString((l=A.value)==null?void 0:l.replace(/./g,"*")),1)):(c.openBlock(),c.createBlock(b,c.mergeProps({key:1},r.$attrs,{modelValue:A.value,"onUpdate:modelValue":m[0]||(m[0]=y=>A.value=y),type:"password"}),null,16,["modelValue"]))}}}),icon:c.h(ge,{name:"password"}),type:"basic",order:3,attrSchema:nf},rf={size:"small",labelPosition:"top",initialValues:{label:"下拉选择框",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:"{{$values.props.multiple}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},...Cs]},af={title:"下拉选择框",type:"basic",icon:c.h(ge,{name:"select"}),component:"Select",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>jv)),order:3,attrSchema:rf},lf={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"评分"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"InputNumber",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"最大分值",component:"InputNumber",name:"props.max",initialValue:5},{label:"是否允许半选",component:"Switch",name:"props.allow-half"}]},gf={title:"评分",component:"Rate",render:"ElRate",icon:c.h(ge,{name:"rate"}),type:"basic",order:12,attrSchema:lf},cf={size:"small",labelPosition:"top",initialValues:{label:"选择框+输入框",props:{placeholder:"",selectPosition:"append",selectWidth:70}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"选择框位置",component:"Radio",name:"props.selectPosition",props:{mode:"static",options:[{label:"前置",value:"prepend"},{label:"后置",value:"append"}]}},{label:"选择框宽度(px)",component:"InputNumber",name:"props.selectWidth"},{label:"选择框默认值",component:"Input",name:"props.selectInitialValue"},{label:"选项",name:"props.options",component:"FormList",dialog:!0,children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh"},{label:"选项值",name:"value",component:"Input",props:{},designKey:"form-HYtW"},{label:"是否禁用",name:"disabled",component:"Switch",props:{},designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table"}}]},uf={title:"选择+输入",component:"SelectInput",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>qv)),icon:c.h(ge,{name:"input"}),type:"high",order:1,attrSchema:cf},df={title:"滑块",render:"ElSlider",component:"Slider",icon:c.h(ge,{name:"slider"}),type:"basic",order:12,attrSchema:{size:"small",labelPosition:"top",initialValues:{label:"滑块"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu",style:{marginBottom:0}},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"开启选择范围",component:"Switch",name:"props.range"},{label:"步长",component:"InputNumber",name:"props.step",initialValue:1},{label:"最小值",component:"InputNumber",name:"props.min",initialValue:0}]}},hf={size:"small",labelPosition:"top",initialValues:{label:"开关",props:{"inline-prompt":!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"Switch",name:"initialValue"},{label:"打开时描述",component:"Input",name:"props.active-text"},{label:"关闭时描述",component:"Input",name:"props.inactive-text"},{label:"描述显示位置",component:"Radio",name:"props.inline-prompt",props:{mode:"static",options:[{label:"外部",value:!1},{label:"内部",value:!0}]}}]},Bf={title:"开关",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Xv)),component:"Switch",icon:c.h(ge,{name:"switch"}),type:"basic",order:8,attrSchema:hf},Cf={title:"标签",component:"Tag",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Vv)),icon:c.h(ge,{name:"tag"}),type:"assist",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{text:"Tag",type:"primary"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"内容",component:"Input",name:"props.text"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"主题色",value:"primary"},{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"危险",value:"danger"}]}}]}},pf={size:"small",labelPosition:"top",initialValues:{label:"文本",props:{text:"这是一段文本"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"文本内容",component:"Input",name:"props.text"}]},Qf={title:"文本",component:"Text",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>A1)),icon:c.h(ge,{name:"text"}),type:"assist",order:1,attrSchema:pf},Ef={title:"标题",component:"Title",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>e1)),icon:c.h(ge,{name:"title"}),type:"assist",order:3,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{title:"标题",type:"h3"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"标题内容",component:"Input",name:"props.title"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"一级标题",value:"h1"},{label:"二级标题",value:"h2"},{label:"三级标题",value:"h3"},{label:"四级标题",value:"h4"},{label:"五级标题",value:"h5"}]}},{label:"字体倾斜",component:"Switch",name:"props.italic"}]}},If={size:"small",labelPosition:"top",initialValues:{label:"上传",props:{action:"https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15",name:"file",multiple:!0,btnText:"点击上传",limit:3,showFileList:!0,withCredentials:!0,listType:"text"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"上传地址",component:"Input",name:"props.action"},{label:"上传的文件字段名",component:"Input",name:"props.name"},{label:"上传时的请求头",component:"JsonEdit",name:"props.headers",dialog:!0},{label:"上传时的额外数据",component:"JsonEdit",name:"props.data",dialog:!0},{label:"上传时携带cookie",component:"Switch",name:"props.withCredentials"},{label:"支持多选文件",component:"Switch",name:"props.multiple"},{label:"上传按钮文本",component:"Input",name:"props.btnText"},{label:"上传提示",component:"Input",name:"props.tip"},{label:"最大上传数量",component:"InputNumber",name:"props.limit"},{label:"开启拖拽上传",component:"Switch",name:"props.drag"},{label:"是否显示已上传文件列表",component:"Switch",name:"props.showFileList"},{label:"上传文件列表类型",component:"Radio",name:"props.listType",props:{mode:"static",options:[{label:"文本",value:"text"},{label:"图片墙",value:"picture-card"}]}}]},mf={title:"上传",component:"Upload",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>i1)),icon:c.h(ge,{name:"upload"}),type:"basic",order:10,attrSchema:If},ff={size:"small",labelPosition:"top",initialValues:{label:"验证码",required:!0,props:{placeholder:"请输入验证码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}]},wf={title:"图形验证码",component:"VerifyCode",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>a1)),icon:c.h(ge,{name:"verifyCode"}),type:"high",order:18,attrSchema:ff},Df={title:"折叠面板",component:"Collapse",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>l1)),icon:c.h(ge,{name:"collapse"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{title:"面板1",name:"name1",children:[]}]},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"子面板设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"title",initialValue:'{{ "面板" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"默认展开",component:"Switch",designKey:"form-YE6U",name:"checked"}],props:{mode:"card",title:"面板"},designKey:"id-RQ1a",name:"children"}]}},bf={title:"选项卡",component:"Tabs",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>g1)),icon:c.h(ge,{name:"tabs"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{label:"选项卡1",name:"name1",children:[]},{label:"选项卡2",name:"name2",children:[]}],props:{defaultKey:"name1",tabPosition:"top"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"默认选项卡",component:"Select",name:"props.defaultKey",props:{mode:"static",options:"{{$values.children}}",labelKey:"label",valueKey:"name"}},{label:"选项卡风格",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"普通",value:""},{label:"卡片",value:"card"},{label:"带边框的卡片",value:"border-card"}]}},{label:"选项卡所在位置",component:"Radio",name:"props.tabPosition",props:{mode:"static",optionType:"button",space:0,options:[{label:"上",value:"top"},{label:"右",value:"right"},{label:"下",value:"bottom"},{label:"左",value:"left"}]}},{label:"子选项卡配置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"label",initialValue:'{{ "选项卡" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"禁用",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI1",name:"disabled"},{label:"懒加载",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI11",name:"lazy"}],props:{mode:"card",title:"选项卡"},designKey:"id-RQ1a",name:"children"}]}},yf={title:"对象容器",icon:c.h(ge,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>d1)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},vf={},kf={t:"1727251512891",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3914",width:"20",height:"20"};function _f(i,A){return c.openBlock(),c.createElementBlock("svg",kf,A[0]||(A[0]=[c.createElementVNode("path",{d:"M320 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H160c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z m256-544h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m-64 448h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m384-576H704c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H736c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z",fill:"#333333","p-id":"3915"},null,-1)]))}const Mf=ee(vf,[["render",_f]]),Sf={size:"small",labelPosition:"top",initialValues:{label:"穿梭框",props:{data:[{label:"选项一",key:"value1"},{label:"选项二",key:"value2"},{label:"选项三",key:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"静态选项",name:"props.data",component:"FormList",children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"key",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'}],designKey:"form-Iwpd",props:{mode:"table"}}]},xf={key:0},Ff={title:"穿梭框",component:"Transfer",render:c.defineComponent({__name:"Transfer",props:c.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=ot(),r=c.useModel(i,"modelValue"),m=b=>{const l=b.map(y=>A.data.find(S=>S.key===y));e.updateSelectData(A.name,l)};return(b,l)=>{var S;const y=c.resolveComponent("el-transfer");return c.unref(e).read?(c.openBlock(),c.createElementBlock("div",xf,c.toDisplayString((S=r.value)==null?void 0:S.map(f=>{var x;return(x=b.data.find(G=>G.key===f))==null?void 0:x.label}).join("、")),1)):(c.openBlock(),c.createBlock(y,c.mergeProps({key:1},b.$attrs,{data:b.data,onChange:m,modelValue:r.value,"onUpdate:modelValue":l[0]||(l[0]=f=>r.value=f)}),null,16,["data","modelValue"]))}}}),icon:Mf,type:"basic",order:12,attrSchema:Sf},Nf={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"是否展示弹窗",component:"Switch",name:"props.withDialog"}]},Rf={key:0},Lf=c.defineComponent({__name:"SearchInput",props:c.mergeModels({onInput:{},onSearch:{},disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=ot(),r=i,m=c.inject("ruleModule",void 0),b=c.inject("pageMethodMap",{}),l=S=>{r.onInput&&m&&m[r.onInput](b,S)},y=()=>{r.onSearch&&m&&m[r.onSearch](b)};return(S,f)=>{const x=c.resolveComponent("el-button"),G=c.resolveComponent("el-input");return c.unref(e).read?(c.openBlock(),c.createElementBlock("span",Rf,c.toDisplayString(A.value),1)):(c.openBlock(),c.createBlock(G,c.mergeProps({key:1},S.$attrs,{modelValue:A.value,"onUpdate:modelValue":f[0]||(f[0]=K=>A.value=K),onInput:l,disabled:S.disabled}),{append:c.withCtx(()=>[c.createVNode(x,{onClick:y,disabled:S.disabled},{default:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:"search"})]),_:1},8,["disabled"])]),_:1},16,["modelValue","disabled"]))}}}),Gf={title:"搜索输入",component:"SearchInput",icon:c.h(ge,{name:"search"}),type:"high",order:5,attrSchema:Nf,render:Lf},Hf={size:"small",labelPosition:"top",initialValues:{label:"下拉选择框",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:"{{$values.props.multiple}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},{label:"搜索按钮点击事件",component:"Input",name:"props.onSearch"},...Cs]},Pf={title:"选择+搜索",type:"high",icon:c.h(ge,{name:"searchSelect"}),component:"SearchSelect",render:c.defineAsyncComponent(()=>Promise.resolve().then(()=>Q1)),order:3,attrSchema:Hf},Kf={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"按钮文字",component:"Input",name:"props.buttonText",designKey:"form-ekRL",initialValue:"按钮文字"},{component:"Grid",children:[{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"click事件函数名",component:"Input",name:"props.onClick"}]},Uf=c.defineComponent({__name:"button",props:{buttonText:{},onClick:{}},setup(i){const A=i,e=c.inject("ruleModule",void 0),r=c.inject("pageMethodMap",{}),m=()=>{A.onClick&&e&&e[A.onClick](r)};return(b,l)=>{const y=c.resolveComponent("el-button");return c.openBlock(),c.createBlock(y,c.mergeProps(b.$attrs,{onClick:m}),{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(b.buttonText),1)]),_:1},16)}}}),Yf={title:"按钮",component:"Button",icon:c.h(ge,{name:"button"}),type:"assist",order:1,attrSchema:Kf,render:Uf},Tf=Object.freeze(Object.defineProperty({__proto__:null,Alert:_m,Button:Yf,Card:Mm,Cascader:xm,Checkbox:Lm,Collapse:Df,ColorInput:Km,ColorPicker:Hm,Custom:Ym,DatePicker:Om,Divider:$m,Esign:zm,FormList:Xm,Grid:Vm,Inline:Af,Input:bm,InputNumber:tf,JsonEdit:Nm,ObjGroup:yf,Password:sf,Radio:jm,Rate:gf,SearchInput:Gf,SearchSelect:Pf,Select:af,SelectInput:uf,Slider:df,Switch:Bf,Tabs:bf,Tag:Cf,Text:Qf,TextArea:vm,Title:Ef,Transfer:Ff,Upload:mf,VerifyCode:wf},Symbol.toStringTag,{value:"Module"})),Mi=()=>{const i=c.inject(uo),A={...Tf};return i!=null&&i.extendElements&&Object.assign(A,i.extendElements),A},$t=()=>c.inject(Mc),Of=c.defineComponent({__name:"Footer",setup(i){const A=ot(),e=c.computed(()=>({marginLeft:A.schema.labelWidth+"px"}));return(r,m)=>{const b=c.resolveComponent("el-button");return c.unref(A).footer?(c.openBlock(),c.createElementBlock("div",{key:0,style:c.normalizeStyle(e.value)},[c.createVNode(b,{type:"primary",onClick:c.unref(A).submit,name:"submit-btn"},{default:c.withCtx(()=>m[1]||(m[1]=[c.createTextVNode("提交")])),_:1},8,["onClick"]),c.createVNode(b,{onClick:m[0]||(m[0]=()=>c.unref(A).resetFields()),name:"reset-btn"},{default:c.withCtx(()=>m[2]||(m[2]=[c.createTextVNode("重置")])),_:1})],4)):c.createCommentVNode("",!0)}}}),Jf=ee(c.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(i){return(A,e)=>A.disabled?(c.openBlock(),c.createElementBlock("div",c.mergeProps({key:0},A.$attrs,{class:"disabled-wrapper"}),[e[0]||(e[0]=c.createElementVNode("div",{class:"mask"},null,-1)),c.renderSlot(A.$slots,"default",{},void 0,!0)],16)):c.renderSlot(A.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-353650ae"]]);let oi=class extends Error{constructor(A){super(A),this.name="ShikiError"}},Ba=class extends Error{constructor(A){super(A),this.name="ShikiError"}};function $f(){return 2147483648}function Zf(){return typeof performance<"u"?performance.now():Date.now()}const zf=(i,A)=>i+(A-i%A)%A;async function Wf(i){let A,e;const r={};function m(j){e=j,r.HEAPU8=new Uint8Array(j),r.HEAPU32=new Uint32Array(j)}function b(j,Y,U){r.HEAPU8.copyWithin(j,Y,Y+U)}function l(j){try{return A.grow(j-e.byteLength+65535>>>16),m(A.buffer),1}catch{}}function y(j){const Y=r.HEAPU8.length;j=j>>>0;const U=$f();if(j>U)return!1;for(let _=1;_<=4;_*=2){let I=Y*(1+.2/_);I=Math.min(I,j+100663296);const R=Math.min(U,zf(Math.max(j,I),65536));if(l(R))return!0}return!1}const S=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function f(j,Y,U=1024){const _=Y+U;let I=Y;for(;j[I]&&!(I>=_);)++I;if(I-Y>16&&j.buffer&&S)return S.decode(j.subarray(Y,I));let R="";for(;Y<I;){let D=j[Y++];if(!(D&128)){R+=String.fromCharCode(D);continue}const w=j[Y++]&63;if((D&224)===192){R+=String.fromCharCode((D&31)<<6|w);continue}const C=j[Y++]&63;if((D&240)===224?D=(D&15)<<12|w<<6|C:D=(D&7)<<18|w<<12|C<<6|j[Y++]&63,D<65536)R+=String.fromCharCode(D);else{const h=D-65536;R+=String.fromCharCode(55296|h>>10,56320|h&1023)}}return R}function x(j,Y){return j?f(r.HEAPU8,j,Y):""}const G={emscripten_get_now:Zf,emscripten_memcpy_big:b,emscripten_resize_heap:y,fd_write:()=>0};async function K(){const Y=await i({env:G,wasi_snapshot_preview1:G});A=Y.memory,m(A.buffer),Object.assign(r,Y),r.UTF8ToString=x}return await K(),r}let ut=null;function jf(i){throw new Ba(i.UTF8ToString(i.getLastOnigError()))}class ps{constructor(A){Je(this,"utf16Length");Je(this,"utf8Length");Je(this,"utf16Value");Je(this,"utf8Value");Je(this,"utf16OffsetToUtf8");Je(this,"utf8OffsetToUtf16");const e=A.length,r=ps._utf8ByteLength(A),m=r!==e,b=m?new Uint32Array(e+1):null;m&&(b[e]=r);const l=m?new Uint32Array(r+1):null;m&&(l[r]=e);const y=new Uint8Array(r);let S=0;for(let f=0;f<e;f++){const x=A.charCodeAt(f);let G=x,K=!1;if(x>=55296&&x<=56319&&f+1<e){const j=A.charCodeAt(f+1);j>=56320&&j<=57343&&(G=(x-55296<<10)+65536|j-56320,K=!0)}m&&(b[f]=S,K&&(b[f+1]=S),G<=127?l[S+0]=f:G<=2047?(l[S+0]=f,l[S+1]=f):G<=65535?(l[S+0]=f,l[S+1]=f,l[S+2]=f):(l[S+0]=f,l[S+1]=f,l[S+2]=f,l[S+3]=f)),G<=127?y[S++]=G:G<=2047?(y[S++]=192|(G&1984)>>>6,y[S++]=128|(G&63)>>>0):G<=65535?(y[S++]=224|(G&61440)>>>12,y[S++]=128|(G&4032)>>>6,y[S++]=128|(G&63)>>>0):(y[S++]=240|(G&1835008)>>>18,y[S++]=128|(G&258048)>>>12,y[S++]=128|(G&4032)>>>6,y[S++]=128|(G&63)>>>0),K&&f++}this.utf16Length=e,this.utf8Length=r,this.utf16Value=A,this.utf8Value=y,this.utf16OffsetToUtf8=b,this.utf8OffsetToUtf16=l}static _utf8ByteLength(A){let e=0;for(let r=0,m=A.length;r<m;r++){const b=A.charCodeAt(r);let l=b,y=!1;if(b>=55296&&b<=56319&&r+1<m){const S=A.charCodeAt(r+1);S>=56320&&S<=57343&&(l=(b-55296<<10)+65536|S-56320,y=!0)}l<=127?e+=1:l<=2047?e+=2:l<=65535?e+=3:e+=4,y&&r++}return e}createString(A){const e=A.omalloc(this.utf8Length);return A.HEAPU8.set(this.utf8Value,e),e}}const Mt=class Mt{constructor(A){Je(this,"id",++Mt.LAST_ID);Je(this,"_onigBinding");Je(this,"content");Je(this,"utf16Length");Je(this,"utf8Length");Je(this,"utf16OffsetToUtf8");Je(this,"utf8OffsetToUtf16");Je(this,"ptr");if(!ut)throw new Ba("Must invoke loadWasm first.");this._onigBinding=ut,this.content=A;const e=new ps(A);this.utf16Length=e.utf16Length,this.utf8Length=e.utf8Length,this.utf16OffsetToUtf8=e.utf16OffsetToUtf8,this.utf8OffsetToUtf16=e.utf8OffsetToUtf16,this.utf8Length<1e4&&!Mt._sharedPtrInUse?(Mt._sharedPtr||(Mt._sharedPtr=ut.omalloc(1e4)),Mt._sharedPtrInUse=!0,ut.HEAPU8.set(e.utf8Value,Mt._sharedPtr),this.ptr=Mt._sharedPtr):this.ptr=e.createString(ut)}convertUtf8OffsetToUtf16(A){return this.utf8OffsetToUtf16?A<0?0:A>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[A]:A}convertUtf16OffsetToUtf8(A){return this.utf16OffsetToUtf8?A<0?0:A>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[A]:A}dispose(){this.ptr===Mt._sharedPtr?Mt._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Je(Mt,"LAST_ID",0),Je(Mt,"_sharedPtr",0),Je(Mt,"_sharedPtrInUse",!1);let Qs=Mt;class qf{constructor(A){Je(this,"_onigBinding");Je(this,"_ptr");if(!ut)throw new Ba("Must invoke loadWasm first.");const e=[],r=[];for(let y=0,S=A.length;y<S;y++){const f=new ps(A[y]);e[y]=f.createString(ut),r[y]=f.utf8Length}const m=ut.omalloc(4*A.length);ut.HEAPU32.set(e,m/4);const b=ut.omalloc(4*A.length);ut.HEAPU32.set(r,b/4);const l=ut.createOnigScanner(m,b,A.length);for(let y=0,S=A.length;y<S;y++)ut.ofree(e[y]);ut.ofree(b),ut.ofree(m),l===0&&jf(ut),this._onigBinding=ut,this._ptr=l}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(A,e,r){let m=0;if(typeof r=="number"&&(m=r),typeof A=="string"){A=new Qs(A);const b=this._findNextMatchSync(A,e,!1,m);return A.dispose(),b}return this._findNextMatchSync(A,e,!1,m)}_findNextMatchSync(A,e,r,m){const b=this._onigBinding,l=b.findNextOnigScannerMatch(this._ptr,A.id,A.ptr,A.utf8Length,A.convertUtf16OffsetToUtf8(e),m);if(l===0)return null;const y=b.HEAPU32;let S=l/4;const f=y[S++],x=y[S++],G=[];for(let K=0;K<x;K++){const j=A.convertUtf8OffsetToUtf16(y[S++]),Y=A.convertUtf8OffsetToUtf16(y[S++]);G[K]={start:j,end:Y,length:Y-j}}return{index:f,captureIndices:G}}}function Xf(i){return typeof i.instantiator=="function"}function Vf(i){return typeof i.default=="function"}function Aw(i){return typeof i.data<"u"}function ew(i){return typeof Response<"u"&&i instanceof Response}function tw(i){var A;return typeof ArrayBuffer<"u"&&(i instanceof ArrayBuffer||ArrayBuffer.isView(i))||typeof Buffer<"u"&&((A=Buffer.isBuffer)==null?void 0:A.call(Buffer,i))||typeof SharedArrayBuffer<"u"&&i instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&i instanceof Uint32Array}let Es;function nw(i){if(Es)return Es;async function A(){ut=await Wf(async e=>{let r=i;return r=await r,typeof r=="function"&&(r=await r(e)),typeof r=="function"&&(r=await r(e)),Xf(r)?r=await r.instantiator(e):Vf(r)?r=await r.default(e):(Aw(r)&&(r=r.data),ew(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await iw(r)(e):r=await ow(r)(e):tw(r)?r=await Ca(r)(e):r instanceof WebAssembly.Module?r=await Ca(r)(e):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Ca(r.default)(e))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Es=A(),Es}function Ca(i){return A=>WebAssembly.instantiate(i,A)}function iw(i){return A=>WebAssembly.instantiateStreaming(i,A)}function ow(i){return async A=>{const e=await i.arrayBuffer();return WebAssembly.instantiate(e,A)}}let sw;function rw(){return sw}async function aw(i){return i&&await nw(i),{createScanner(A){return new qf(A)},createString(A){return new Qs(A)}}}function lw(i){return pa(i)}function pa(i){return Array.isArray(i)?gw(i):typeof i=="object"?cw(i):i}function gw(i){let A=[];for(let e=0,r=i.length;e<r;e++)A[e]=pa(i[e]);return A}function cw(i){let A={};for(let e in i)A[e]=pa(i[e]);return A}function Lc(i,...A){return A.forEach(e=>{for(let r in e)i[r]=e[r]}),i}function Gc(i){const A=~i.lastIndexOf("/")||~i.lastIndexOf("\\");return A===0?i:~A===i.length-1?Gc(i.substring(0,i.length-1)):i.substr(~A+1)}var Qa=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Is=class{static hasCaptures(i){return i===null?!1:(Qa.lastIndex=0,Qa.test(i))}static replaceCaptures(i,A,e){return i.replace(Qa,(r,m,b,l)=>{let y=e[parseInt(m||b,10)];if(y){let S=A.substring(y.start,y.end);for(;S[0]===".";)S=S.substring(1);switch(l){case"downcase":return S.toLowerCase();case"upcase":return S.toUpperCase();default:return S}}else return r})}};function Hc(i,A){return i<A?-1:i>A?1:0}function Pc(i,A){if(i===null&&A===null)return 0;if(!i)return-1;if(!A)return 1;let e=i.length,r=A.length;if(e===r){for(let m=0;m<e;m++){let b=Hc(i[m],A[m]);if(b!==0)return b}return 0}return e-r}function Kc(i){return!!(/^#[0-9a-f]{6}$/i.test(i)||/^#[0-9a-f]{8}$/i.test(i)||/^#[0-9a-f]{3}$/i.test(i)||/^#[0-9a-f]{4}$/i.test(i))}function Uc(i){return i.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Yc=class{constructor(i){this.fn=i,this.cache=new Map}get(i){if(this.cache.has(i))return this.cache.get(i);const A=this.fn(i);return this.cache.set(i,A),A}},ms=class{constructor(i,A,e){this._colorMap=i,this._defaults=A,this._root=e,this._cachedMatchRoot=new Yc(r=>this._root.match(r))}static createFromRawTheme(i,A){return this.createFromParsedTheme(hw(i),A)}static createFromParsedTheme(i,A){return Cw(i,A)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(i){if(i===null)return this._defaults;const A=i.scopeName,r=this._cachedMatchRoot.get(A).find(m=>uw(i.parent,m.parentScopes));return r?new Tc(r.fontStyle,r.foreground,r.background):null}},Ea=class Pr{constructor(A,e){this.parent=A,this.scopeName=e}static push(A,e){for(const r of e)A=new Pr(A,r);return A}static from(...A){let e=null;for(let r=0;r<A.length;r++)e=new Pr(e,A[r]);return e}push(A){return new Pr(this,A)}getSegments(){let A=this;const e=[];for(;A;)e.push(A.scopeName),A=A.parent;return e.reverse(),e}toString(){return this.getSegments().join(" ")}extends(A){return this===A?!0:this.parent===null?!1:this.parent.extends(A)}getExtensionIfDefined(A){const e=[];let r=this;for(;r&&r!==A;)e.push(r.scopeName),r=r.parent;return r===A?e.reverse():void 0}};function uw(i,A){if(A.length===0)return!0;for(let e=0;e<A.length;e++){let r=A[e],m=!1;if(r===">"){if(e===A.length-1)return!1;r=A[++e],m=!0}for(;i&&!dw(i.scopeName,r);){if(m)return!1;i=i.parent}if(!i)return!1;i=i.parent}return!0}function dw(i,A){return A===i||i.startsWith(A)&&i[A.length]==="."}var Tc=class{constructor(i,A,e){this.fontStyle=i,this.foregroundId=A,this.backgroundId=e}};function hw(i){if(!i)return[];if(!i.settings||!Array.isArray(i.settings))return[];let A=i.settings,e=[],r=0;for(let m=0,b=A.length;m<b;m++){let l=A[m];if(!l.settings)continue;let y;if(typeof l.scope=="string"){let G=l.scope;G=G.replace(/^[,]+/,""),G=G.replace(/[,]+$/,""),y=G.split(",")}else Array.isArray(l.scope)?y=l.scope:y=[""];let S=-1;if(typeof l.settings.fontStyle=="string"){S=0;let G=l.settings.fontStyle.split(" ");for(let K=0,j=G.length;K<j;K++)switch(G[K]){case"italic":S=S|1;break;case"bold":S=S|2;break;case"underline":S=S|4;break;case"strikethrough":S=S|8;break}}let f=null;typeof l.settings.foreground=="string"&&Kc(l.settings.foreground)&&(f=l.settings.foreground);let x=null;typeof l.settings.background=="string"&&Kc(l.settings.background)&&(x=l.settings.background);for(let G=0,K=y.length;G<K;G++){let Y=y[G].trim().split(" "),U=Y[Y.length-1],_=null;Y.length>1&&(_=Y.slice(0,Y.length-1),_.reverse()),e[r++]=new Bw(U,_,m,S,f,x)}}return e}var Bw=class{constructor(i,A,e,r,m,b){this.scope=i,this.parentScopes=A,this.index=e,this.fontStyle=r,this.foreground=m,this.background=b}},Dn=(i=>(i[i.NotSet=-1]="NotSet",i[i.None=0]="None",i[i.Italic=1]="Italic",i[i.Bold=2]="Bold",i[i.Underline=4]="Underline",i[i.Strikethrough=8]="Strikethrough",i))(Dn||{});function Cw(i,A){i.sort((S,f)=>{let x=Hc(S.scope,f.scope);return x!==0||(x=Pc(S.parentScopes,f.parentScopes),x!==0)?x:S.index-f.index});let e=0,r="#000000",m="#ffffff";for(;i.length>=1&&i[0].scope==="";){let S=i.shift();S.fontStyle!==-1&&(e=S.fontStyle),S.foreground!==null&&(r=S.foreground),S.background!==null&&(m=S.background)}let b=new pw(A),l=new Tc(e,b.getId(r),b.getId(m)),y=new Ew(new Ia(0,null,-1,0,0),[]);for(let S=0,f=i.length;S<f;S++){let x=i[S];y.insert(0,x.scope,x.parentScopes,x.fontStyle,b.getId(x.foreground),b.getId(x.background))}return new ms(b,l,y)}var pw=class{constructor(i){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(i)){this._isFrozen=!0;for(let A=0,e=i.length;A<e;A++)this._color2id[i[A]]=A,this._id2color[A]=i[A]}else this._isFrozen=!1}getId(i){if(i===null)return 0;i=i.toUpperCase();let A=this._color2id[i];if(A)return A;if(this._isFrozen)throw new Error(`Missing color in color map - ${i}`);return A=++this._lastColorId,this._color2id[i]=A,this._id2color[A]=i,A}getColorMap(){return this._id2color.slice(0)}},Qw=Object.freeze([]),Ia=class $B{constructor(A,e,r,m,b){this.scopeDepth=A,this.parentScopes=e||Qw,this.fontStyle=r,this.foreground=m,this.background=b}clone(){return new $B(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(A){let e=[];for(let r=0,m=A.length;r<m;r++)e[r]=A[r].clone();return e}acceptOverwrite(A,e,r,m){this.scopeDepth>A?console.log("how did this happen?"):this.scopeDepth=A,e!==-1&&(this.fontStyle=e),r!==0&&(this.foreground=r),m!==0&&(this.background=m)}},Ew=class Qg{constructor(A,e=[],r={}){this._mainRule=A,this._children=r,this._rulesWithParentScopes=e}static _cmpBySpecificity(A,e){if(A.scopeDepth!==e.scopeDepth)return e.scopeDepth-A.scopeDepth;let r=0,m=0;for(;A.parentScopes[r]===">"&&r++,e.parentScopes[m]===">"&&m++,!(r>=A.parentScopes.length||m>=e.parentScopes.length);){const b=e.parentScopes[m].length-A.parentScopes[r].length;if(b!==0)return b;r++,m++}return e.parentScopes.length-A.parentScopes.length}match(A){if(A!==""){let r=A.indexOf("."),m,b;if(r===-1?(m=A,b=""):(m=A.substring(0,r),b=A.substring(r+1)),this._children.hasOwnProperty(m))return this._children[m].match(b)}const e=this._rulesWithParentScopes.concat(this._mainRule);return e.sort(Qg._cmpBySpecificity),e}insert(A,e,r,m,b,l){if(e===""){this._doInsertHere(A,r,m,b,l);return}let y=e.indexOf("."),S,f;y===-1?(S=e,f=""):(S=e.substring(0,y),f=e.substring(y+1));let x;this._children.hasOwnProperty(S)?x=this._children[S]:(x=new Qg(this._mainRule.clone(),Ia.cloneArr(this._rulesWithParentScopes)),this._children[S]=x),x.insert(A+1,f,r,m,b,l)}_doInsertHere(A,e,r,m,b){if(e===null){this._mainRule.acceptOverwrite(A,r,m,b);return}for(let l=0,y=this._rulesWithParentScopes.length;l<y;l++){let S=this._rulesWithParentScopes[l];if(Pc(S.parentScopes,e)===0){S.acceptOverwrite(A,r,m,b);return}}r===-1&&(r=this._mainRule.fontStyle),m===0&&(m=this._mainRule.foreground),b===0&&(b=this._mainRule.background),this._rulesWithParentScopes.push(new Ia(A,e,r,m,b))}},Si=class rn{static toBinaryStr(A){return A.toString(2).padStart(32,"0")}static print(A){const e=rn.getLanguageId(A),r=rn.getTokenType(A),m=rn.getFontStyle(A),b=rn.getForeground(A),l=rn.getBackground(A);console.log({languageId:e,tokenType:r,fontStyle:m,foreground:b,background:l})}static getLanguageId(A){return(A&255)>>>0}static getTokenType(A){return(A&768)>>>8}static containsBalancedBrackets(A){return(A&1024)!==0}static getFontStyle(A){return(A&30720)>>>11}static getForeground(A){return(A&16744448)>>>15}static getBackground(A){return(A&4278190080)>>>24}static set(A,e,r,m,b,l,y){let S=rn.getLanguageId(A),f=rn.getTokenType(A),x=rn.containsBalancedBrackets(A)?1:0,G=rn.getFontStyle(A),K=rn.getForeground(A),j=rn.getBackground(A);return e!==0&&(S=e),r!==8&&(f=r),m!==null&&(x=m?1:0),b!==-1&&(G=b),l!==0&&(K=l),y!==0&&(j=y),(S<<0|f<<8|x<<10|G<<11|K<<15|j<<24)>>>0}};function N4(i){return i}function R4(i){return i}function fs(i,A){const e=[],r=Iw(i);let m=r.next();for(;m!==null;){let S=0;if(m.length===2&&m.charAt(1)===":"){switch(m.charAt(0)){case"R":S=1;break;case"L":S=-1;break;default:console.log(`Unknown priority ${m} in scope selector`)}m=r.next()}let f=l();if(e.push({matcher:f,priority:S}),m!==",")break;m=r.next()}return e;function b(){if(m==="-"){m=r.next();const S=b();return f=>!!S&&!S(f)}if(m==="("){m=r.next();const S=y();return m===")"&&(m=r.next()),S}if(Oc(m)){const S=[];do S.push(m),m=r.next();while(Oc(m));return f=>A(S,f)}return null}function l(){const S=[];let f=b();for(;f;)S.push(f),f=b();return x=>S.every(G=>G(x))}function y(){const S=[];let f=l();for(;f&&(S.push(f),m==="|"||m===",");){do m=r.next();while(m==="|"||m===",");f=l()}return x=>S.some(G=>G(x))}}function Oc(i){return!!i&&!!i.match(/[\w\.:]+/)}function Iw(i){let A=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,e=A.exec(i);return{next:()=>{if(!e)return null;const r=e[0];return e=A.exec(i),r}}}function Jc(i){typeof i.dispose=="function"&&i.dispose()}var Bo=class{constructor(i){this.scopeName=i}toKey(){return this.scopeName}},mw=class{constructor(i,A){this.scopeName=i,this.ruleName=A}toKey(){return`${this.scopeName}#${this.ruleName}`}},fw=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(i){const A=i.toKey();this._seenReferenceKeys.has(A)||(this._seenReferenceKeys.add(A),this._references.push(i))}},ww=class{constructor(i,A){this.repo=i,this.initialScopeName=A,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Bo(this.initialScopeName)]}processQueue(){const i=this.Q;this.Q=[];const A=new fw;for(const e of i)Dw(e,this.initialScopeName,this.repo,A);for(const e of A.references)if(e instanceof Bo){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function Dw(i,A,e,r){const m=e.lookup(i.scopeName);if(!m){if(i.scopeName===A)throw new Error(`No grammar provided for <${A}>`);return}const b=e.lookup(A);i instanceof Bo?ws({baseGrammar:b,selfGrammar:m},r):ma(i.ruleName,{baseGrammar:b,selfGrammar:m,repository:m.repository},r);const l=e.injections(i.scopeName);if(l)for(const y of l)r.add(new Bo(y))}function ma(i,A,e){if(A.repository&&A.repository[i]){const r=A.repository[i];Ds([r],A,e)}}function ws(i,A){i.selfGrammar.patterns&&Array.isArray(i.selfGrammar.patterns)&&Ds(i.selfGrammar.patterns,{...i,repository:i.selfGrammar.repository},A),i.selfGrammar.injections&&Ds(Object.values(i.selfGrammar.injections),{...i,repository:i.selfGrammar.repository},A)}function Ds(i,A,e){for(const r of i){if(e.visitedRule.has(r))continue;e.visitedRule.add(r);const m=r.repository?Lc({},A.repository,r.repository):A.repository;Array.isArray(r.patterns)&&Ds(r.patterns,{...A,repository:m},e);const b=r.include;if(!b)continue;const l=$c(b);switch(l.kind){case 0:ws({...A,selfGrammar:A.baseGrammar},e);break;case 1:ws(A,e);break;case 2:ma(l.ruleName,{...A,repository:m},e);break;case 3:case 4:const y=l.scopeName===A.selfGrammar.scopeName?A.selfGrammar:l.scopeName===A.baseGrammar.scopeName?A.baseGrammar:void 0;if(y){const S={baseGrammar:A.baseGrammar,selfGrammar:y,repository:m};l.kind===4?ma(l.ruleName,S,e):ws(S,e)}else l.kind===4?e.add(new mw(l.scopeName,l.ruleName)):e.add(new Bo(l.scopeName));break}}}var bw=class{constructor(){this.kind=0}},yw=class{constructor(){this.kind=1}},vw=class{constructor(i){this.ruleName=i,this.kind=2}},kw=class{constructor(i){this.scopeName=i,this.kind=3}},_w=class{constructor(i,A){this.scopeName=i,this.ruleName=A,this.kind=4}};function $c(i){if(i==="$base")return new bw;if(i==="$self")return new yw;const A=i.indexOf("#");if(A===-1)return new kw(i);if(A===0)return new vw(i.substring(1));{const e=i.substring(0,A),r=i.substring(A+1);return new _w(e,r)}}var Mw=/\\(\d+)/,Zc=/\\(\d+)/g,Sw=-1,zc=-2;function L4(i){return i}function G4(i){return i}var Co=class{constructor(i,A,e,r){this.$location=i,this.id=A,this._name=e||null,this._nameIsCapturing=Is.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Is.hasCaptures(this._contentName)}get debugName(){const i=this.$location?`${Gc(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${i}`}getName(i,A){return!this._nameIsCapturing||this._name===null||i===null||A===null?this._name:Is.replaceCaptures(this._name,i,A)}getContentName(i,A){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Is.replaceCaptures(this._contentName,i,A)}},xw=class extends Co{constructor(i,A,e,r,m){super(i,A,e,r),this.retokenizeCapturedWithRuleId=m}dispose(){}collectPatterns(i,A){throw new Error("Not supported!")}compile(i,A){throw new Error("Not supported!")}compileAG(i,A,e,r){throw new Error("Not supported!")}},Fw=class extends Co{constructor(i,A,e,r,m){super(i,A,e,null),this._match=new po(r,this.id),this.captures=m,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(i,A){A.push(this._match)}compile(i,A){return this._getCachedCompiledPatterns(i).compile(i)}compileAG(i,A,e,r){return this._getCachedCompiledPatterns(i).compileAG(i,e,r)}_getCachedCompiledPatterns(i){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Qo,this.collectPatterns(i,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Wc=class extends Co{constructor(i,A,e,r,m){super(i,A,e,r),this.patterns=m.patterns,this.hasMissingPatterns=m.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(i,A){for(const e of this.patterns)i.getRule(e).collectPatterns(i,A)}compile(i,A){return this._getCachedCompiledPatterns(i).compile(i)}compileAG(i,A,e,r){return this._getCachedCompiledPatterns(i).compileAG(i,e,r)}_getCachedCompiledPatterns(i){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Qo,this.collectPatterns(i,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},fa=class extends Co{constructor(i,A,e,r,m,b,l,y,S,f){super(i,A,e,r),this._begin=new po(m,this.id),this.beginCaptures=b,this._end=new po(l||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=y,this.applyEndPatternLast=S||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(i,A){return this._end.resolveBackReferences(i,A)}collectPatterns(i,A){A.push(this._begin)}compile(i,A){return this._getCachedCompiledPatterns(i,A).compile(i)}compileAG(i,A,e,r){return this._getCachedCompiledPatterns(i,A).compileAG(i,e,r)}_getCachedCompiledPatterns(i,A){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Qo;for(const e of this.patterns)i.getRule(e).collectPatterns(i,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,A):this._cachedCompiledPatterns.setSource(0,A)),this._cachedCompiledPatterns}},bs=class extends Co{constructor(i,A,e,r,m,b,l,y,S){super(i,A,e,r),this._begin=new po(m,this.id),this.beginCaptures=b,this.whileCaptures=y,this._while=new po(l,zc),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=S.patterns,this.hasMissingPatterns=S.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(i,A){return this._while.resolveBackReferences(i,A)}collectPatterns(i,A){A.push(this._begin)}compile(i,A){return this._getCachedCompiledPatterns(i).compile(i)}compileAG(i,A,e,r){return this._getCachedCompiledPatterns(i).compileAG(i,e,r)}_getCachedCompiledPatterns(i){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Qo;for(const A of this.patterns)i.getRule(A).collectPatterns(i,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(i,A){return this._getCachedCompiledWhilePatterns(i,A).compile(i)}compileWhileAG(i,A,e,r){return this._getCachedCompiledWhilePatterns(i,A).compileAG(i,e,r)}_getCachedCompiledWhilePatterns(i,A){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Qo,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,A||"￿"),this._cachedCompiledWhilePatterns}},jc=class mt{static createCaptureRule(A,e,r,m,b){return A.registerRule(l=>new xw(e,l,r,m,b))}static getCompiledRuleId(A,e,r){return A.id||e.registerRule(m=>{if(A.id=m,A.match)return new Fw(A.$vscodeTextmateLocation,A.id,A.name,A.match,mt._compileCaptures(A.captures,e,r));if(typeof A.begin>"u"){A.repository&&(r=Lc({},r,A.repository));let b=A.patterns;return typeof b>"u"&&A.include&&(b=[{include:A.include}]),new Wc(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,mt._compilePatterns(b,e,r))}return A.while?new bs(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,mt._compileCaptures(A.beginCaptures||A.captures,e,r),A.while,mt._compileCaptures(A.whileCaptures||A.captures,e,r),mt._compilePatterns(A.patterns,e,r)):new fa(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,mt._compileCaptures(A.beginCaptures||A.captures,e,r),A.end,mt._compileCaptures(A.endCaptures||A.captures,e,r),A.applyEndPatternLast,mt._compilePatterns(A.patterns,e,r))}),A.id}static _compileCaptures(A,e,r){let m=[];if(A){let b=0;for(const l in A){if(l==="$vscodeTextmateLocation")continue;const y=parseInt(l,10);y>b&&(b=y)}for(let l=0;l<=b;l++)m[l]=null;for(const l in A){if(l==="$vscodeTextmateLocation")continue;const y=parseInt(l,10);let S=0;A[l].patterns&&(S=mt.getCompiledRuleId(A[l],e,r)),m[y]=mt.createCaptureRule(e,A[l].$vscodeTextmateLocation,A[l].name,A[l].contentName,S)}}return m}static _compilePatterns(A,e,r){let m=[];if(A)for(let b=0,l=A.length;b<l;b++){const y=A[b];let S=-1;if(y.include){const f=$c(y.include);switch(f.kind){case 0:case 1:S=mt.getCompiledRuleId(r[y.include],e,r);break;case 2:let x=r[f.ruleName];x&&(S=mt.getCompiledRuleId(x,e,r));break;case 3:case 4:const G=f.scopeName,K=f.kind===4?f.ruleName:null,j=e.getExternalGrammar(G,r);if(j)if(K){let Y=j.repository[K];Y&&(S=mt.getCompiledRuleId(Y,e,j.repository))}else S=mt.getCompiledRuleId(j.repository.$self,e,j.repository);break}}else S=mt.getCompiledRuleId(y,e,r);if(S!==-1){const f=e.getRule(S);let x=!1;if((f instanceof Wc||f instanceof fa||f instanceof bs)&&f.hasMissingPatterns&&f.patterns.length===0&&(x=!0),x)continue;m.push(S)}}return{patterns:m,hasMissingPatterns:(A?A.length:0)!==m.length}}},po=class ZB{constructor(A,e){if(A){const r=A.length;let m=0,b=[],l=!1;for(let y=0;y<r;y++)if(A.charAt(y)==="\\"&&y+1<r){const f=A.charAt(y+1);f==="z"?(b.push(A.substring(m,y)),b.push("$(?!\\n)(?<!\\n)"),m=y+2):(f==="A"||f==="G")&&(l=!0),y++}this.hasAnchor=l,m===0?this.source=A:(b.push(A.substring(m,r)),this.source=b.join(""))}else this.hasAnchor=!1,this.source=A;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=e,this.hasBackReferences=Mw.test(this.source)}clone(){return new ZB(this.source,this.ruleId)}setSource(A){this.source!==A&&(this.source=A,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(A,e){let r=e.map(m=>A.substring(m.start,m.end));return Zc.lastIndex=0,this.source.replace(Zc,(m,b)=>Uc(r[parseInt(b,10)]||""))}_buildAnchorCache(){let A=[],e=[],r=[],m=[],b,l,y,S;for(b=0,l=this.source.length;b<l;b++)y=this.source.charAt(b),A[b]=y,e[b]=y,r[b]=y,m[b]=y,y==="\\"&&b+1<l&&(S=this.source.charAt(b+1),S==="A"?(A[b+1]="￿",e[b+1]="￿",r[b+1]="A",m[b+1]="A"):S==="G"?(A[b+1]="￿",e[b+1]="G",r[b+1]="￿",m[b+1]="G"):(A[b+1]=S,e[b+1]=S,r[b+1]=S,m[b+1]=S),b++);return{A0_G0:A.join(""),A0_G1:e.join(""),A1_G0:r.join(""),A1_G1:m.join("")}}resolveAnchors(A,e){return!this.hasAnchor||!this._anchorCache?this.source:A?e?this._anchorCache.A1_G1:this._anchorCache.A1_G0:e?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Qo=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(i){this._items.push(i),this._hasAnchors=this._hasAnchors||i.hasAnchor}unshift(i){this._items.unshift(i),this._hasAnchors=this._hasAnchors||i.hasAnchor}length(){return this._items.length}setSource(i,A){this._items[i].source!==A&&(this._disposeCaches(),this._items[i].setSource(A))}compile(i){if(!this._cached){let A=this._items.map(e=>e.source);this._cached=new qc(i,A,this._items.map(e=>e.ruleId))}return this._cached}compileAG(i,A,e){return this._hasAnchors?A?e?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(i,A,e)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(i,A,e)),this._anchorCache.A1_G0):e?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(i,A,e)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(i,A,e)),this._anchorCache.A0_G0):this.compile(i)}_resolveAnchors(i,A,e){let r=this._items.map(m=>m.resolveAnchors(A,e));return new qc(i,r,this._items.map(m=>m.ruleId))}},qc=class{constructor(i,A,e){this.regExps=A,this.rules=e,this.scanner=i.createOnigScanner(A)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const i=[];for(let A=0,e=this.rules.length;A<e;A++)i.push(" - "+this.rules[A]+": "+this.regExps[A]);return i.join(`
81
81
  `)}findNextMatchSync(i,A,e){const r=this.scanner.findNextMatchSync(i,A,e);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},wa=class{constructor(i,A){this.languageId=i,this.tokenType=A}},Da=class Eg{constructor(A,e){this._getBasicScopeAttributes=new Yc(r=>{const m=this._scopeToLanguage(r),b=this._toStandardTokenType(r);return new wa(m,b)}),this._defaultAttributes=new wa(A,8),this._embeddedLanguagesMatcher=new Rw(Object.entries(e||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(A){return A===null?Eg._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(A)}_scopeToLanguage(A){return this._embeddedLanguagesMatcher.match(A)||0}_toStandardTokenType(A){const e=A.match(Eg.STANDARD_TOKEN_TYPE_REGEXP);if(!e)return 8;switch(e[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}};Da._NULL_SCOPE_METADATA=new wa(0,0),Da.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;var Nw=Da,Rw=class{constructor(i){if(i.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(i);const A=i.map(([e,r])=>Uc(e));A.sort(),A.reverse(),this.scopesRegExp=new RegExp(`^((${A.join(")|(")}))($|\\.)`,"")}}match(i){if(!this.scopesRegExp)return;const A=i.match(this.scopesRegExp);if(A)return this.values.get(A[1])}};typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var Xc=class{constructor(i,A){this.stack=i,this.stoppedEarly=A}};function Vc(i,A,e,r,m,b,l,y){const S=A.content.length;let f=!1,x=-1;if(l){const j=Lw(i,A,e,r,m,b);m=j.stack,r=j.linePos,e=j.isFirstLine,x=j.anchorPosition}const G=Date.now();for(;!f;){if(y!==0&&Date.now()-G>y)return new Xc(m,!0);K()}return new Xc(m,!1);function K(){const j=Gw(i,A,e,r,m,x);if(!j){b.produce(m,S),f=!0;return}const Y=j.captureIndices,U=j.matchedRuleId,_=Y&&Y.length>0?Y[0].end>r:!1;if(U===Sw){const I=m.getRule(i);b.produce(m,Y[0].start),m=m.withContentNameScopesList(m.nameScopesList),Eo(i,A,e,m,b,I.endCaptures,Y),b.produce(m,Y[0].end);const R=m;if(m=m.parent,x=R.getAnchorPos(),!_&&R.getEnterPos()===r){m=R,b.produce(m,S),f=!0;return}}else{const I=i.getRule(U);b.produce(m,Y[0].start);const R=m,D=I.getName(A.content,Y),w=m.contentNameScopesList.pushAttributed(D,i);if(m=m.push(U,r,x,Y[0].end===S,null,w,w),I instanceof fa){const C=I;Eo(i,A,e,m,b,C.beginCaptures,Y),b.produce(m,Y[0].end),x=Y[0].end;const h=C.getContentName(A.content,Y),B=w.pushAttributed(h,i);if(m=m.withContentNameScopesList(B),C.endHasBackReferences&&(m=m.withEndRule(C.getEndWithResolvedBackReferences(A.content,Y))),!_&&R.hasSameRuleAs(m)){m=m.pop(),b.produce(m,S),f=!0;return}}else if(I instanceof bs){const C=I;Eo(i,A,e,m,b,C.beginCaptures,Y),b.produce(m,Y[0].end),x=Y[0].end;const h=C.getContentName(A.content,Y),B=w.pushAttributed(h,i);if(m=m.withContentNameScopesList(B),C.whileHasBackReferences&&(m=m.withEndRule(C.getWhileWithResolvedBackReferences(A.content,Y))),!_&&R.hasSameRuleAs(m)){m=m.pop(),b.produce(m,S),f=!0;return}}else if(Eo(i,A,e,m,b,I.captures,Y),b.produce(m,Y[0].end),m=m.pop(),!_){m=m.safePop(),b.produce(m,S),f=!0;return}}Y[0].end>r&&(r=Y[0].end,e=!1)}}function Lw(i,A,e,r,m,b){let l=m.beginRuleCapturedEOL?0:-1;const y=[];for(let S=m;S;S=S.pop()){const f=S.getRule(i);f instanceof bs&&y.push({rule:f,stack:S})}for(let S=y.pop();S;S=y.pop()){const{ruleScanner:f,findOptions:x}=Kw(S.rule,i,S.stack.endRule,e,r===l),G=f.findNextMatchSync(A,r,x);if(G){if(G.ruleId!==zc){m=S.stack.pop();break}G.captureIndices&&G.captureIndices.length&&(b.produce(S.stack,G.captureIndices[0].start),Eo(i,A,e,S.stack,b,S.rule.whileCaptures,G.captureIndices),b.produce(S.stack,G.captureIndices[0].end),l=G.captureIndices[0].end,G.captureIndices[0].end>r&&(r=G.captureIndices[0].end,e=!1))}else{m=S.stack.pop();break}}return{stack:m,linePos:r,anchorPosition:l,isFirstLine:e}}function Gw(i,A,e,r,m,b){const l=Hw(i,A,e,r,m,b),y=i.getInjections();if(y.length===0)return l;const S=Pw(y,i,A,e,r,m,b);if(!S)return l;if(!l)return S;const f=l.captureIndices[0].start,x=S.captureIndices[0].start;return x<f||S.priorityMatch&&x===f?S:l}function Hw(i,A,e,r,m,b){const l=m.getRule(i),{ruleScanner:y,findOptions:S}=Au(l,i,m.endRule,e,r===b),f=y.findNextMatchSync(A,r,S);return f?{captureIndices:f.captureIndices,matchedRuleId:f.ruleId}:null}function Pw(i,A,e,r,m,b,l){let y=Number.MAX_VALUE,S=null,f,x=0;const G=b.contentNameScopesList.getScopeNames();for(let K=0,j=i.length;K<j;K++){const Y=i[K];if(!Y.matcher(G))continue;const U=A.getRule(Y.ruleId),{ruleScanner:_,findOptions:I}=Au(U,A,null,r,m===l),R=_.findNextMatchSync(e,m,I);if(!R)continue;const D=R.captureIndices[0].start;if(!(D>=y)&&(y=D,S=R.captureIndices,f=R.ruleId,x=Y.priority,y===m))break}return S?{priorityMatch:x===-1,captureIndices:S,matchedRuleId:f}:null}function Au(i,A,e,r,m){return{ruleScanner:i.compileAG(A,e,r,m),findOptions:0}}function Kw(i,A,e,r,m){return{ruleScanner:i.compileWhileAG(A,e,r,m),findOptions:0}}function Eo(i,A,e,r,m,b,l){if(b.length===0)return;const y=A.content,S=Math.min(b.length,l.length),f=[],x=l[0].end;for(let G=0;G<S;G++){const K=b[G];if(K===null)continue;const j=l[G];if(j.length===0)continue;if(j.start>x)break;for(;f.length>0&&f[f.length-1].endPos<=j.start;)m.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop();if(f.length>0?m.produceFromScopes(f[f.length-1].scopes,j.start):m.produce(r,j.start),K.retokenizeCapturedWithRuleId){const U=K.getName(y,l),_=r.contentNameScopesList.pushAttributed(U,i),I=K.getContentName(y,l),R=_.pushAttributed(I,i),D=r.push(K.retokenizeCapturedWithRuleId,j.start,-1,!1,null,_,R),w=i.createOnigString(y.substring(0,j.end));Vc(i,w,e&&j.start===0,j.start,D,m,!1,0),Jc(w);continue}const Y=K.getName(y,l);if(Y!==null){const _=(f.length>0?f[f.length-1].scopes:r.contentNameScopesList).pushAttributed(Y,i);f.push(new Uw(_,j.end))}}for(;f.length>0;)m.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop()}var Uw=class{constructor(i,A){this.scopes=i,this.endPos=A}};function Yw(i,A,e,r,m,b,l,y){return new Ow(i,A,e,r,m,b,l,y)}function eu(i,A,e,r,m){const b=fs(A,ys),l=jc.getCompiledRuleId(e,r,m.repository);for(const y of b)i.push({debugSelector:A,matcher:y.matcher,ruleId:l,grammar:m,priority:y.priority})}function ys(i,A){if(A.length<i.length)return!1;let e=0;return i.every(r=>{for(let m=e;m<A.length;m++)if(Tw(A[m],r))return e=m+1,!0;return!1})}function Tw(i,A){if(!i)return!1;if(i===A)return!0;const e=A.length;return i.length>e&&i.substr(0,e)===A&&i[e]==="."}var Ow=class{constructor(i,A,e,r,m,b,l,y){if(this._rootScopeName=i,this.balancedBracketSelectors=b,this._onigLib=y,this._basicScopeAttributesProvider=new Nw(e,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=tu(A,null),this._injections=null,this._tokenTypeMatchers=[],m)for(const S of Object.keys(m)){const f=fs(S,ys);for(const x of f)this._tokenTypeMatchers.push({matcher:x.matcher,type:m[S]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const i of this._ruleId2desc)i&&i.dispose()}createOnigScanner(i){return this._onigLib.createOnigScanner(i)}createOnigString(i){return this._onigLib.createOnigString(i)}getMetadataForScope(i){return this._basicScopeAttributesProvider.getBasicScopeAttributes(i)}_collectInjections(){const i={lookup:m=>m===this._rootScopeName?this._grammar:this.getExternalGrammar(m),injections:m=>this._grammarRepository.injections(m)},A=[],e=this._rootScopeName,r=i.lookup(e);if(r){const m=r.injections;if(m)for(let l in m)eu(A,l,m[l],this,r);const b=this._grammarRepository.injections(e);b&&b.forEach(l=>{const y=this.getExternalGrammar(l);if(y){const S=y.injectionSelector;S&&eu(A,S,y,this,y)}})}return A.sort((m,b)=>m.priority-b.priority),A}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(i){const A=++this._lastRuleId,e=i(A);return this._ruleId2desc[A]=e,e}getRule(i){return this._ruleId2desc[i]}getExternalGrammar(i,A){if(this._includedGrammars[i])return this._includedGrammars[i];if(this._grammarRepository){const e=this._grammarRepository.lookup(i);if(e)return this._includedGrammars[i]=tu(e,A&&A.$base),this._includedGrammars[i]}}tokenizeLine(i,A,e=0){const r=this._tokenize(i,A,!1,e);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(i,A,e=0){const r=this._tokenize(i,A,!0,e);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(i,A,e,r){this._rootId===-1&&(this._rootId=jc.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let m;if(!A||A===ya.NULL){m=!0;const f=this._basicScopeAttributesProvider.getDefaultAttributes(),x=this.themeProvider.getDefaults(),G=Si.set(0,f.languageId,f.tokenType,null,x.fontStyle,x.foregroundId,x.backgroundId),K=this.getRule(this._rootId).getName(null,null);let j;K?j=Io.createRootAndLookUpScopeName(K,G,this):j=Io.createRoot("unknown",G),A=new ya(null,this._rootId,-1,-1,!1,null,j,j)}else m=!1,A.reset();i=i+`
82
82
  `;const b=this.createOnigString(i),l=b.content.length,y=new $w(e,i,this._tokenTypeMatchers,this.balancedBracketSelectors),S=Vc(this,b,m,0,A,y,!0,r);return Jc(b),{lineLength:l,lineTokens:y,ruleStack:S.stack,stoppedEarly:S.stoppedEarly}}};function tu(i,A){return i=lw(i),i.repository=i.repository||{},i.repository.$self={$vscodeTextmateLocation:i.$vscodeTextmateLocation,patterns:i.patterns,name:i.scopeName},i.repository.$base=A||i.repository.$self,i}var Io=class wn{constructor(A,e,r){this.parent=A,this.scopePath=e,this.tokenAttributes=r}static fromExtension(A,e){let r=A,m=(A==null?void 0:A.scopePath)??null;for(const b of e)m=Ea.push(m,b.scopeNames),r=new wn(r,m,b.encodedTokenAttributes);return r}static createRoot(A,e){return new wn(null,new Ea(null,A),e)}static createRootAndLookUpScopeName(A,e,r){const m=r.getMetadataForScope(A),b=new Ea(null,A),l=r.themeProvider.themeMatch(b),y=wn.mergeAttributes(e,m,l);return new wn(null,b,y)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(A){return wn.equals(this,A)}static equals(A,e){do{if(A===e||!A&&!e)return!0;if(!A||!e||A.scopeName!==e.scopeName||A.tokenAttributes!==e.tokenAttributes)return!1;A=A.parent,e=e.parent}while(!0)}static mergeAttributes(A,e,r){let m=-1,b=0,l=0;return r!==null&&(m=r.fontStyle,b=r.foregroundId,l=r.backgroundId),Si.set(A,e.languageId,e.tokenType,null,m,b,l)}pushAttributed(A,e){if(A===null)return this;if(A.indexOf(" ")===-1)return wn._pushAttributed(this,A,e);const r=A.split(/ /g);let m=this;for(const b of r)m=wn._pushAttributed(m,b,e);return m}static _pushAttributed(A,e,r){const m=r.getMetadataForScope(e),b=A.scopePath.push(e),l=r.themeProvider.themeMatch(b),y=wn.mergeAttributes(A.tokenAttributes,m,l);return new wn(A,b,y)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(A){var m;const e=[];let r=this;for(;r&&r!==A;)e.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((m=r.parent)==null?void 0:m.scopePath)??null)}),r=r.parent;return r===A?e.reverse():void 0}},ba=class oo{constructor(A,e,r,m,b,l,y,S){this.parent=A,this.ruleId=e,this.beginRuleCapturedEOL=b,this.endRule=l,this.nameScopesList=y,this.contentNameScopesList=S,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=m}equals(A){return A===null?!1:oo._equals(this,A)}static _equals(A,e){return A===e?!0:this._structuralEquals(A,e)?Io.equals(A.contentNameScopesList,e.contentNameScopesList):!1}static _structuralEquals(A,e){do{if(A===e||!A&&!e)return!0;if(!A||!e||A.depth!==e.depth||A.ruleId!==e.ruleId||A.endRule!==e.endRule)return!1;A=A.parent,e=e.parent}while(!0)}clone(){return this}static _reset(A){for(;A;)A._enterPos=-1,A._anchorPos=-1,A=A.parent}reset(){oo._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(A,e,r,m,b,l,y){return new oo(this,A,e,r,m,b,l,y)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(A){return A.getRule(this.ruleId)}toString(){const A=[];return this._writeString(A,0),"["+A.join(",")+"]"}_writeString(A,e){var r,m;return this.parent&&(e=this.parent._writeString(A,e)),A[e++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(m=this.contentNameScopesList)==null?void 0:m.toString()})`,e}withContentNameScopesList(A){return this.contentNameScopesList===A?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,A)}withEndRule(A){return this.endRule===A?this:new oo(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,A,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(A){let e=this;for(;e&&e._enterPos===A._enterPos;){if(e.ruleId===A.ruleId)return!0;e=e.parent}return!1}toStateStackFrame(){var A,e,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((e=this.nameScopesList)==null?void 0:e.getExtensionIfDefined(((A=this.parent)==null?void 0:A.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(A,e){const r=Io.fromExtension((A==null?void 0:A.nameScopesList)??null,e.nameScopesList);return new oo(A,e.ruleId,e.enterPos??-1,e.anchorPos??-1,e.beginRuleCapturedEOL,e.endRule,r,Io.fromExtension(r,e.contentNameScopesList))}};ba.NULL=new ba(null,0,0,0,!1,null,null,null);var ya=ba,Jw=class{constructor(i,A){this.allowAny=!1,this.balancedBracketScopes=i.flatMap(e=>e==="*"?(this.allowAny=!0,[]):fs(e,ys).map(r=>r.matcher)),this.unbalancedBracketScopes=A.flatMap(e=>fs(e,ys).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(i){for(const A of this.unbalancedBracketScopes)if(A(i))return!1;for(const A of this.balancedBracketScopes)if(A(i))return!0;return this.allowAny}},$w=class{constructor(i,A,e,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=i,this._tokenTypeOverrides=e,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(i,A){this.produceFromScopes(i.contentNameScopesList,A)}produceFromScopes(i,A){var r;if(this._lastTokenEndIndex>=A)return;if(this._emitBinaryTokens){let m=(i==null?void 0:i.tokenAttributes)??0,b=!1;if((r=this.balancedBracketSelectors)!=null&&r.matchesAlways&&(b=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const l=(i==null?void 0:i.getScopeNames())??[];for(const y of this._tokenTypeOverrides)y.matcher(l)&&(m=Si.set(m,0,y.type,null,-1,0,0));this.balancedBracketSelectors&&(b=this.balancedBracketSelectors.match(l))}if(b&&(m=Si.set(m,0,8,b,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===m){this._lastTokenEndIndex=A;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(m),this._lastTokenEndIndex=A;return}const e=(i==null?void 0:i.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:A,scopes:e}),this._lastTokenEndIndex=A}getResult(i,A){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===A-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(i,A),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(i,A){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===A-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(i,A),this._binaryTokens[this._binaryTokens.length-2]=0);const e=new Uint32Array(this._binaryTokens.length);for(let r=0,m=this._binaryTokens.length;r<m;r++)e[r]=this._binaryTokens[r];return e}},Zw=class{constructor(i,A){this._onigLib=A,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=i}dispose(){for(const i of this._grammars.values())i.dispose()}setTheme(i){this._theme=i}getColorMap(){return this._theme.getColorMap()}addGrammar(i,A){this._rawGrammars.set(i.scopeName,i),A&&this._injectionGrammars.set(i.scopeName,A)}lookup(i){return this._rawGrammars.get(i)}injections(i){return this._injectionGrammars.get(i)}getDefaults(){return this._theme.getDefaults()}themeMatch(i){return this._theme.match(i)}grammarForScopeName(i,A,e,r,m){if(!this._grammars.has(i)){let b=this._rawGrammars.get(i);if(!b)return null;this._grammars.set(i,Yw(i,b,A,e,r,m,this,this._onigLib))}return this._grammars.get(i)}},zw=class{constructor(A){this._options=A,this._syncRegistry=new Zw(ms.createFromRawTheme(A.theme,A.colorMap),A.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(A,e){this._syncRegistry.setTheme(ms.createFromRawTheme(A,e))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(A,e,r){return this.loadGrammarWithConfiguration(A,e,{embeddedLanguages:r})}loadGrammarWithConfiguration(A,e,r){return this._loadGrammar(A,e,r.embeddedLanguages,r.tokenTypes,new Jw(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(A){return this._loadGrammar(A,0,null,null,null)}_loadGrammar(A,e,r,m,b){const l=new ww(this._syncRegistry,A);for(;l.Q.length>0;)l.Q.map(y=>this._loadSingleGrammar(y.scopeName)),l.processQueue();return this._grammarForScopeName(A,e,r,m,b)}_loadSingleGrammar(A){this._ensureGrammarCache.has(A)||(this._doLoadSingleGrammar(A),this._ensureGrammarCache.set(A,!0))}_doLoadSingleGrammar(A){const e=this._options.loadGrammar(A);if(e){const r=typeof this._options.getInjections=="function"?this._options.getInjections(A):void 0;this._syncRegistry.addGrammar(e,r)}}addGrammar(A,e=[],r=0,m=null){return this._syncRegistry.addGrammar(A,e),this._grammarForScopeName(A.scopeName,r,m)}_grammarForScopeName(A,e=0,r=null,m=null,b=null){return this._syncRegistry.grammarForScopeName(A,e,r,m,b)}},va=ya.NULL;const Ww=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class mo{constructor(A,e,r){this.property=A,this.normal=e,r&&(this.space=r)}}mo.prototype.property={},mo.prototype.normal={},mo.prototype.space=null;function nu(i,A){const e={},r={};let m=-1;for(;++m<i.length;)Object.assign(e,i[m].property),Object.assign(r,i[m].normal);return new mo(e,r,A)}function ka(i){return i.toLowerCase()}class Zt{constructor(A,e){this.property=A,this.attribute=e}}Zt.prototype.space=null,Zt.prototype.boolean=!1,Zt.prototype.booleanish=!1,Zt.prototype.overloadedBoolean=!1,Zt.prototype.number=!1,Zt.prototype.commaSeparated=!1,Zt.prototype.spaceSeparated=!1,Zt.prototype.commaOrSpaceSeparated=!1,Zt.prototype.mustUseProperty=!1,Zt.prototype.defined=!1;let jw=0;const me=si(),st=si(),iu=si(),JA=si(),Ye=si(),xi=si(),Rt=si();function si(){return 2**++jw}const _a=Object.freeze(Object.defineProperty({__proto__:null,boolean:me,booleanish:st,commaOrSpaceSeparated:Rt,commaSeparated:xi,number:JA,overloadedBoolean:iu,spaceSeparated:Ye},Symbol.toStringTag,{value:"Module"})),Ma=Object.keys(_a);class Sa extends Zt{constructor(A,e,r,m){let b=-1;if(super(A,e),ou(this,"space",m),typeof r=="number")for(;++b<Ma.length;){const l=Ma[b];ou(this,Ma[b],(r&_a[l])===_a[l])}}}Sa.prototype.defined=!0;function ou(i,A,e){e&&(i[A]=e)}const qw={}.hasOwnProperty;function Fi(i){const A={},e={};let r;for(r in i.properties)if(qw.call(i.properties,r)){const m=i.properties[r],b=new Sa(r,i.transform(i.attributes||{},r),m,i.space);i.mustUseProperty&&i.mustUseProperty.includes(r)&&(b.mustUseProperty=!0),A[r]=b,e[ka(r)]=r,e[ka(b.attribute)]=r}return new mo(A,e,i.space)}const su=Fi({space:"xlink",transform(i,A){return"xlink:"+A.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ru=Fi({space:"xml",transform(i,A){return"xml:"+A.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function au(i,A){return A in i?i[A]:A}function lu(i,A){return au(i,A.toLowerCase())}const gu=Fi({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:lu,properties:{xmlns:null,xmlnsXLink:null}}),cu=Fi({transform(i,A){return A==="role"?A:"aria-"+A.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:st,ariaAutoComplete:null,ariaBusy:st,ariaChecked:st,ariaColCount:JA,ariaColIndex:JA,ariaColSpan:JA,ariaControls:Ye,ariaCurrent:null,ariaDescribedBy:Ye,ariaDetails:null,ariaDisabled:st,ariaDropEffect:Ye,ariaErrorMessage:null,ariaExpanded:st,ariaFlowTo:Ye,ariaGrabbed:st,ariaHasPopup:null,ariaHidden:st,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ye,ariaLevel:JA,ariaLive:null,ariaModal:st,ariaMultiLine:st,ariaMultiSelectable:st,ariaOrientation:null,ariaOwns:Ye,ariaPlaceholder:null,ariaPosInSet:JA,ariaPressed:st,ariaReadOnly:st,ariaRelevant:null,ariaRequired:st,ariaRoleDescription:Ye,ariaRowCount:JA,ariaRowIndex:JA,ariaRowSpan:JA,ariaSelected:st,ariaSetSize:JA,ariaSort:null,ariaValueMax:JA,ariaValueMin:JA,ariaValueNow:JA,ariaValueText:null,role:null}}),Xw=Fi({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:lu,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:xi,acceptCharset:Ye,accessKey:Ye,action:null,allow:null,allowFullScreen:me,allowPaymentRequest:me,allowUserMedia:me,alt:null,as:null,async:me,autoCapitalize:null,autoComplete:Ye,autoFocus:me,autoPlay:me,blocking:Ye,capture:null,charSet:null,checked:me,cite:null,className:Ye,cols:JA,colSpan:null,content:null,contentEditable:st,controls:me,controlsList:Ye,coords:JA|xi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:me,defer:me,dir:null,dirName:null,disabled:me,download:iu,draggable:st,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:me,formTarget:null,headers:Ye,height:JA,hidden:me,high:JA,href:null,hrefLang:null,htmlFor:Ye,httpEquiv:Ye,id:null,imageSizes:null,imageSrcSet:null,inert:me,inputMode:null,integrity:null,is:null,isMap:me,itemId:null,itemProp:Ye,itemRef:Ye,itemScope:me,itemType:Ye,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:me,low:JA,manifest:null,max:null,maxLength:JA,media:null,method:null,min:null,minLength:JA,multiple:me,muted:me,name:null,nonce:null,noModule:me,noValidate:me,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:me,optimum:JA,pattern:null,ping:Ye,placeholder:null,playsInline:me,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:me,referrerPolicy:null,rel:Ye,required:me,reversed:me,rows:JA,rowSpan:JA,sandbox:Ye,scope:null,scoped:me,seamless:me,selected:me,shadowRootClonable:me,shadowRootDelegatesFocus:me,shadowRootMode:null,shape:null,size:JA,sizes:null,slot:null,span:JA,spellCheck:st,src:null,srcDoc:null,srcLang:null,srcSet:null,start:JA,step:null,style:null,tabIndex:JA,target:null,title:null,translate:null,type:null,typeMustMatch:me,useMap:null,value:st,width:JA,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ye,axis:null,background:null,bgColor:null,border:JA,borderColor:null,bottomMargin:JA,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:me,declare:me,event:null,face:null,frame:null,frameBorder:null,hSpace:JA,leftMargin:JA,link:null,longDesc:null,lowSrc:null,marginHeight:JA,marginWidth:JA,noResize:me,noHref:me,noShade:me,noWrap:me,object:null,profile:null,prompt:null,rev:null,rightMargin:JA,rules:null,scheme:null,scrolling:st,standby:null,summary:null,text:null,topMargin:JA,valueType:null,version:null,vAlign:null,vLink:null,vSpace:JA,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:me,disableRemotePlayback:me,prefix:null,property:null,results:JA,security:null,unselectable:null}}),Vw=Fi({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:au,properties:{about:Rt,accentHeight:JA,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:JA,amplitude:JA,arabicForm:null,ascent:JA,attributeName:null,attributeType:null,azimuth:JA,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:JA,by:null,calcMode:null,capHeight:JA,className:Ye,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:JA,diffuseConstant:JA,direction:null,display:null,dur:null,divisor:JA,dominantBaseline:null,download:me,dx:null,dy:null,edgeMode:null,editable:null,elevation:JA,enableBackground:null,end:null,event:null,exponent:JA,externalResourcesRequired:null,fill:null,fillOpacity:JA,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:xi,g2:xi,glyphName:xi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:JA,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:JA,horizOriginX:JA,horizOriginY:JA,id:null,ideographic:JA,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:JA,k:JA,k1:JA,k2:JA,k3:JA,k4:JA,kernelMatrix:Rt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:JA,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:JA,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:JA,overlineThickness:JA,paintOrder:null,panose1:null,path:null,pathLength:JA,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ye,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:JA,pointsAtY:JA,pointsAtZ:JA,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Rt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Rt,rev:Rt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Rt,requiredFeatures:Rt,requiredFonts:Rt,requiredFormats:Rt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:JA,specularExponent:JA,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:JA,strikethroughThickness:JA,string:null,stroke:null,strokeDashArray:Rt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:JA,strokeOpacity:JA,strokeWidth:null,style:null,surfaceScale:JA,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Rt,tabIndex:JA,tableValues:null,target:null,targetX:JA,targetY:JA,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Rt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:JA,underlineThickness:JA,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:JA,values:null,vAlphabetic:JA,vMathematical:JA,vectorEffect:null,vHanging:JA,vIdeographic:JA,version:null,vertAdvY:JA,vertOriginX:JA,vertOriginY:JA,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:JA,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),A0=/^data[-\w.:]+$/i,uu=/-[a-z]/g,e0=/[A-Z]/g;function t0(i,A){const e=ka(A);let r=A,m=Zt;if(e in i.normal)return i.property[i.normal[e]];if(e.length>4&&e.slice(0,4)==="data"&&A0.test(A)){if(A.charAt(4)==="-"){const b=A.slice(5).replace(uu,i0);r="data"+b.charAt(0).toUpperCase()+b.slice(1)}else{const b=A.slice(4);if(!uu.test(b)){let l=b.replace(e0,n0);l.charAt(0)!=="-"&&(l="-"+l),A="data"+l}}m=Sa}return new m(r,A)}function n0(i){return"-"+i.toLowerCase()}function i0(i){return i.charAt(1).toUpperCase()}const o0=nu([ru,su,gu,cu,Xw],"html"),du=nu([ru,su,gu,cu,Vw],"svg"),hu={}.hasOwnProperty;function s0(i,A){const e=A||{};function r(m,...b){let l=r.invalid;const y=r.handlers;if(m&&hu.call(m,i)){const S=String(m[i]);l=hu.call(y,S)?y[S]:r.unknown}if(l)return l.call(this,m,...b)}return r.handlers=e.handlers||{},r.invalid=e.invalid,r.unknown=e.unknown,r}const r0=/["&'<>`]/g,a0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l0=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,g0=/[|\\{}()[\]^$+*?.]/g,Bu=new WeakMap;function c0(i,A){if(i=i.replace(A.subset?u0(A.subset):r0,r),A.subset||A.escapeOnly)return i;return i.replace(a0,e).replace(l0,r);function e(m,b,l){return A.format((m.charCodeAt(0)-55296)*1024+m.charCodeAt(1)-56320+65536,l.charCodeAt(b+2),A)}function r(m,b,l){return A.format(m.charCodeAt(0),l.charCodeAt(b+1),A)}}function u0(i){let A=Bu.get(i);return A||(A=d0(i),Bu.set(i,A)),A}function d0(i){const A=[];let e=-1;for(;++e<i.length;)A.push(i[e].replace(g0,"\\$&"));return new RegExp("(?:"+A.join("|")+")","g")}const h0=/[\dA-Fa-f]/;function B0(i,A,e){const r="&#x"+i.toString(16).toUpperCase();return e&&A&&!h0.test(String.fromCharCode(A))?r:r+";"}const C0=/\d/;function p0(i,A,e){const r="&#"+String(i);return e&&A&&!C0.test(String.fromCharCode(A))?r:r+";"}const Q0=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],xa={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},E0=["cent","copy","divide","gt","lt","not","para","times"],Cu={}.hasOwnProperty,Fa={};let vs;for(vs in xa)Cu.call(xa,vs)&&(Fa[xa[vs]]=vs);const I0=/[^\dA-Za-z]/;function m0(i,A,e,r){const m=String.fromCharCode(i);if(Cu.call(Fa,m)){const b=Fa[m],l="&"+b;return e&&Q0.includes(b)&&!E0.includes(b)&&(!r||A&&A!==61&&I0.test(String.fromCharCode(A)))?l:l+";"}return""}function f0(i,A,e){let r=B0(i,A,e.omitOptionalSemicolons),m;if((e.useNamedReferences||e.useShortestReferences)&&(m=m0(i,A,e.omitOptionalSemicolons,e.attribute)),(e.useShortestReferences||!m)&&e.useShortestReferences){const b=p0(i,A,e.omitOptionalSemicolons);b.length<r.length&&(r=b)}return m&&(!e.useShortestReferences||m.length<r.length)?m:r}function Ni(i,A){return c0(i,Object.assign({format:f0},A))}const w0=/^>|^->|<!--|-->|--!>|<!-$/g,D0=[">"],b0=["<",">"];function y0(i,A,e,r){return r.settings.bogusComments?"<?"+Ni(i.value,Object.assign({},r.settings.characterReferences,{subset:D0}))+">":"<!--"+i.value.replace(w0,m)+"-->";function m(b){return Ni(b,Object.assign({},r.settings.characterReferences,{subset:b0}))}}function v0(i,A,e,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function pu(i,A){const e=String(i);if(typeof A!="string")throw new TypeError("Expected character");let r=0,m=e.indexOf(A);for(;m!==-1;)r++,m=e.indexOf(A,m+A.length);return r}function k0(i,A){const e=A||{};return(i[i.length-1]===""?[...i,""]:i).join((e.padRight?" ":"")+","+(e.padLeft===!1?"":" ")).trim()}function _0(i){return i.join(" ").trim()}const M0=/[ \t\n\f\r]/g;function Na(i){return typeof i=="object"?i.type==="text"?Qu(i.value):!1:Qu(i)}function Qu(i){return i.replace(M0,"")===""}const at=Iu(1),Eu=Iu(-1),S0=[];function Iu(i){return A;function A(e,r,m){const b=e?e.children:S0;let l=(r||0)+i,y=b[l];if(!m)for(;y&&Na(y);)l+=i,y=b[l];return y}}const x0={}.hasOwnProperty;function mu(i){return A;function A(e,r,m){return x0.call(i,e.tagName)&&i[e.tagName](e,r,m)}}const Ra=mu({body:N0,caption:La,colgroup:La,dd:H0,dt:G0,head:La,html:F0,li:L0,optgroup:P0,option:K0,p:R0,rp:fu,rt:fu,tbody:Y0,td:wu,tfoot:T0,th:wu,thead:U0,tr:O0});function La(i,A,e){const r=at(e,A,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Na(r.value.charAt(0)))}function F0(i,A,e){const r=at(e,A);return!r||r.type!=="comment"}function N0(i,A,e){const r=at(e,A);return!r||r.type!=="comment"}function R0(i,A,e){const r=at(e,A);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!e||!(e.type==="element"&&(e.tagName==="a"||e.tagName==="audio"||e.tagName==="del"||e.tagName==="ins"||e.tagName==="map"||e.tagName==="noscript"||e.tagName==="video"))}function L0(i,A,e){const r=at(e,A);return!r||r.type==="element"&&r.tagName==="li"}function G0(i,A,e){const r=at(e,A);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function H0(i,A,e){const r=at(e,A);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function fu(i,A,e){const r=at(e,A);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function P0(i,A,e){const r=at(e,A);return!r||r.type==="element"&&r.tagName==="optgroup"}function K0(i,A,e){const r=at(e,A);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function U0(i,A,e){const r=at(e,A);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function Y0(i,A,e){const r=at(e,A);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function T0(i,A,e){return!at(e,A)}function O0(i,A,e){const r=at(e,A);return!r||r.type==="element"&&r.tagName==="tr"}function wu(i,A,e){const r=at(e,A);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const J0=mu({body:z0,colgroup:W0,head:Z0,html:$0,tbody:j0});function $0(i){const A=at(i,-1);return!A||A.type!=="comment"}function Z0(i){const A=new Set;for(const r of i.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(A.has(r.tagName))return!1;A.add(r.tagName)}const e=i.children[0];return!e||e.type==="element"}function z0(i){const A=at(i,-1,!0);return!A||A.type!=="comment"&&!(A.type==="text"&&Na(A.value.charAt(0)))&&!(A.type==="element"&&(A.tagName==="meta"||A.tagName==="link"||A.tagName==="script"||A.tagName==="style"||A.tagName==="template"))}function W0(i,A,e){const r=Eu(e,A),m=at(i,-1,!0);return e&&r&&r.type==="element"&&r.tagName==="colgroup"&&Ra(r,e.children.indexOf(r),e)?!1:!!(m&&m.type==="element"&&m.tagName==="col")}function j0(i,A,e){const r=Eu(e,A),m=at(i,-1);return e&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Ra(r,e.children.indexOf(r),e)?!1:!!(m&&m.type==="element"&&m.tagName==="tr")}const ks={name:[[`
83
83
  \f\r &/=>`.split(""),`
@@ -93,7 +93,7 @@ You passed in: '`+this.raw_options[r]+"'");return l},i.prototype._is_valid_selec
93
93
  * @author RubaXa <trash@rubaxa.org>
94
94
  * @author owenm <owen23355@gmail.com>
95
95
  * @license MIT
96
- */function Ou(i,A){var e=Object.keys(i);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(i);A&&(r=r.filter(function(m){return Object.getOwnPropertyDescriptor(i,m).enumerable})),e.push.apply(e,r)}return e}function Bn(i){for(var A=1;A<arguments.length;A++){var e=arguments[A]!=null?arguments[A]:{};A%2?Ou(Object(e),!0).forEach(function(r){pb(i,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(e)):Ou(Object(e)).forEach(function(r){Object.defineProperty(i,r,Object.getOwnPropertyDescriptor(e,r))})}return i}function Gs(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Gs=function(A){return typeof A}:Gs=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},Gs(i)}function pb(i,A,e){return A in i?Object.defineProperty(i,A,{value:e,enumerable:!0,configurable:!0,writable:!0}):i[A]=e,i}function bn(){return bn=Object.assign||function(i){for(var A=1;A<arguments.length;A++){var e=arguments[A];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[r]=e[r])}return i},bn.apply(this,arguments)}function Qb(i,A){if(i==null)return{};var e={},r=Object.keys(i),m,b;for(b=0;b<r.length;b++)m=r[b],!(A.indexOf(m)>=0)&&(e[m]=i[m]);return e}function Eb(i,A){if(i==null)return{};var e=Qb(i,A),r,m;if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(i);for(m=0;m<b.length;m++)r=b[m],!(A.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(i,r)&&(e[r]=i[r])}return e}var Ib="1.14.0";function yn(i){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(i)}var vn=yn(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),yo=yn(/Edge/i),Ju=yn(/firefox/i),vo=yn(/safari/i)&&!yn(/chrome/i)&&!yn(/android/i),$u=yn(/iP(ad|od|hone)/i),mb=yn(/chrome/i)&&yn(/android/i),Zu={capture:!1,passive:!1};function Fe(i,A,e){i.addEventListener(A,e,!vn&&Zu)}function Se(i,A,e){i.removeEventListener(A,e,!vn&&Zu)}function Hs(i,A){if(A){if(A[0]===">"&&(A=A.substring(1)),i)try{if(i.matches)return i.matches(A);if(i.msMatchesSelector)return i.msMatchesSelector(A);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(A)}catch{return!1}return!1}}function fb(i){return i.host&&i!==document&&i.host.nodeType?i.host:i.parentNode}function Cn(i,A,e,r){if(i){e=e||document;do{if(A!=null&&(A[0]===">"?i.parentNode===e&&Hs(i,A):Hs(i,A))||r&&i===e)return i;if(i===e)break}while(i=fb(i))}return null}var zu=/\s+/g;function Lt(i,A,e){if(i&&A)if(i.classList)i.classList[e?"add":"remove"](A);else{var r=(" "+i.className+" ").replace(zu," ").replace(" "+A+" "," ");i.className=(r+(e?" "+A:"")).replace(zu," ")}}function Be(i,A,e){var r=i&&i.style;if(r){if(e===void 0)return document.defaultView&&document.defaultView.getComputedStyle?e=document.defaultView.getComputedStyle(i,""):i.currentStyle&&(e=i.currentStyle),A===void 0?e:e[A];!(A in r)&&A.indexOf("webkit")===-1&&(A="-webkit-"+A),r[A]=e+(typeof e=="string"?"":"px")}}function Li(i,A){var e="";if(typeof i=="string")e=i;else do{var r=Be(i,"transform");r&&r!=="none"&&(e=r+" "+e)}while(!A&&(i=i.parentNode));var m=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return m&&new m(e)}function Wu(i,A,e){if(i){var r=i.getElementsByTagName(A),m=0,b=r.length;if(e)for(;m<b;m++)e(r[m],m);return r}return[]}function pn(){var i=document.scrollingElement;return i||document.documentElement}function lt(i,A,e,r,m){if(!(!i.getBoundingClientRect&&i!==window)){var b,l,y,S,f,x,G;if(i!==window&&i.parentNode&&i!==pn()?(b=i.getBoundingClientRect(),l=b.top,y=b.left,S=b.bottom,f=b.right,x=b.height,G=b.width):(l=0,y=0,S=window.innerHeight,f=window.innerWidth,x=window.innerHeight,G=window.innerWidth),(A||e)&&i!==window&&(m=m||i.parentNode,!vn))do if(m&&m.getBoundingClientRect&&(Be(m,"transform")!=="none"||e&&Be(m,"position")!=="static")){var K=m.getBoundingClientRect();l-=K.top+parseInt(Be(m,"border-top-width")),y-=K.left+parseInt(Be(m,"border-left-width")),S=l+b.height,f=y+b.width;break}while(m=m.parentNode);if(r&&i!==window){var j=Li(m||i),Y=j&&j.a,U=j&&j.d;j&&(l/=U,y/=Y,G/=Y,x/=U,S=l+x,f=y+G)}return{top:l,left:y,bottom:S,right:f,width:G,height:x}}}function ju(i,A,e){for(var r=Yn(i,!0),m=lt(i)[A];r;){var b=lt(r)[e],l=void 0;if(l=m>=b,!l)return r;if(r===pn())break;r=Yn(r,!1)}return!1}function Gi(i,A,e,r){for(var m=0,b=0,l=i.children;b<l.length;){if(l[b].style.display!=="none"&&l[b]!==Ce.ghost&&(r||l[b]!==Ce.dragged)&&Cn(l[b],e.draggable,i,!1)){if(m===A)return l[b];m++}b++}return null}function Ya(i,A){for(var e=i.lastElementChild;e&&(e===Ce.ghost||Be(e,"display")==="none"||A&&!Hs(e,A));)e=e.previousElementSibling;return e||null}function zt(i,A){var e=0;if(!i||!i.parentNode)return-1;for(;i=i.previousElementSibling;)i.nodeName.toUpperCase()!=="TEMPLATE"&&i!==Ce.clone&&(!A||Hs(i,A))&&e++;return e}function qu(i){var A=0,e=0,r=pn();if(i)do{var m=Li(i),b=m.a,l=m.d;A+=i.scrollLeft*b,e+=i.scrollTop*l}while(i!==r&&(i=i.parentNode));return[A,e]}function wb(i,A){for(var e in i)if(i.hasOwnProperty(e)){for(var r in A)if(A.hasOwnProperty(r)&&A[r]===i[e][r])return Number(e)}return-1}function Yn(i,A){if(!i||!i.getBoundingClientRect)return pn();var e=i,r=!1;do if(e.clientWidth<e.scrollWidth||e.clientHeight<e.scrollHeight){var m=Be(e);if(e.clientWidth<e.scrollWidth&&(m.overflowX=="auto"||m.overflowX=="scroll")||e.clientHeight<e.scrollHeight&&(m.overflowY=="auto"||m.overflowY=="scroll")){if(!e.getBoundingClientRect||e===document.body)return pn();if(r||A)return e;r=!0}}while(e=e.parentNode);return pn()}function Db(i,A){if(i&&A)for(var e in A)A.hasOwnProperty(e)&&(i[e]=A[e]);return i}function Ta(i,A){return Math.round(i.top)===Math.round(A.top)&&Math.round(i.left)===Math.round(A.left)&&Math.round(i.height)===Math.round(A.height)&&Math.round(i.width)===Math.round(A.width)}var ko;function Xu(i,A){return function(){if(!ko){var e=arguments,r=this;e.length===1?i.call(r,e[0]):i.apply(r,e),ko=setTimeout(function(){ko=void 0},A)}}}function bb(){clearTimeout(ko),ko=void 0}function Vu(i,A,e){i.scrollLeft+=A,i.scrollTop+=e}function Ad(i){var A=window.Polymer,e=window.jQuery||window.Zepto;return A&&A.dom?A.dom(i).cloneNode(!0):e?e(i).clone(!0)[0]:i.cloneNode(!0)}var Gt="Sortable"+new Date().getTime();function yb(){var i=[],A;return{captureAnimationState:function(){if(i=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(m){if(!(Be(m,"display")==="none"||m===Ce.ghost)){i.push({target:m,rect:lt(m)});var b=Bn({},i[i.length-1].rect);if(m.thisAnimationDuration){var l=Li(m,!0);l&&(b.top-=l.f,b.left-=l.e)}m.fromRect=b}})}},addAnimationState:function(r){i.push(r)},removeAnimationState:function(r){i.splice(wb(i,{target:r}),1)},animateAll:function(r){var m=this;if(!this.options.animation){clearTimeout(A),typeof r=="function"&&r();return}var b=!1,l=0;i.forEach(function(y){var S=0,f=y.target,x=f.fromRect,G=lt(f),K=f.prevFromRect,j=f.prevToRect,Y=y.rect,U=Li(f,!0);U&&(G.top-=U.f,G.left-=U.e),f.toRect=G,f.thisAnimationDuration&&Ta(K,G)&&!Ta(x,G)&&(Y.top-G.top)/(Y.left-G.left)===(x.top-G.top)/(x.left-G.left)&&(S=kb(Y,K,j,m.options)),Ta(G,x)||(f.prevFromRect=x,f.prevToRect=G,S||(S=m.options.animation),m.animate(f,Y,G,S)),S&&(b=!0,l=Math.max(l,S),clearTimeout(f.animationResetTimer),f.animationResetTimer=setTimeout(function(){f.animationTime=0,f.prevFromRect=null,f.fromRect=null,f.prevToRect=null,f.thisAnimationDuration=null},S),f.thisAnimationDuration=S)}),clearTimeout(A),b?A=setTimeout(function(){typeof r=="function"&&r()},l):typeof r=="function"&&r(),i=[]},animate:function(r,m,b,l){if(l){Be(r,"transition",""),Be(r,"transform","");var y=Li(this.el),S=y&&y.a,f=y&&y.d,x=(m.left-b.left)/(S||1),G=(m.top-b.top)/(f||1);r.animatingX=!!x,r.animatingY=!!G,Be(r,"transform","translate3d("+x+"px,"+G+"px,0)"),this.forRepaintDummy=vb(r),Be(r,"transition","transform "+l+"ms"+(this.options.easing?" "+this.options.easing:"")),Be(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Be(r,"transition",""),Be(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},l)}}}}function vb(i){return i.offsetWidth}function kb(i,A,e,r){return Math.sqrt(Math.pow(A.top-i.top,2)+Math.pow(A.left-i.left,2))/Math.sqrt(Math.pow(A.top-e.top,2)+Math.pow(A.left-e.left,2))*r.animation}var Hi=[],Oa={initializeByDefault:!0},_o={mount:function(A){for(var e in Oa)Oa.hasOwnProperty(e)&&!(e in A)&&(A[e]=Oa[e]);Hi.forEach(function(r){if(r.pluginName===A.pluginName)throw"Sortable: Cannot mount plugin ".concat(A.pluginName," more than once")}),Hi.push(A)},pluginEvent:function(A,e,r){var m=this;this.eventCanceled=!1,r.cancel=function(){m.eventCanceled=!0};var b=A+"Global";Hi.forEach(function(l){e[l.pluginName]&&(e[l.pluginName][b]&&e[l.pluginName][b](Bn({sortable:e},r)),e.options[l.pluginName]&&e[l.pluginName][A]&&e[l.pluginName][A](Bn({sortable:e},r)))})},initializePlugins:function(A,e,r,m){Hi.forEach(function(y){var S=y.pluginName;if(!(!A.options[S]&&!y.initializeByDefault)){var f=new y(A,e,A.options);f.sortable=A,f.options=A.options,A[S]=f,bn(r,f.defaults)}});for(var b in A.options)if(A.options.hasOwnProperty(b)){var l=this.modifyOption(A,b,A.options[b]);typeof l<"u"&&(A.options[b]=l)}},getEventProperties:function(A,e){var r={};return Hi.forEach(function(m){typeof m.eventProperties=="function"&&bn(r,m.eventProperties.call(e[m.pluginName],A))}),r},modifyOption:function(A,e,r){var m;return Hi.forEach(function(b){A[b.pluginName]&&b.optionListeners&&typeof b.optionListeners[e]=="function"&&(m=b.optionListeners[e].call(A[b.pluginName],r))}),m}};function _b(i){var A=i.sortable,e=i.rootEl,r=i.name,m=i.targetEl,b=i.cloneEl,l=i.toEl,y=i.fromEl,S=i.oldIndex,f=i.newIndex,x=i.oldDraggableIndex,G=i.newDraggableIndex,K=i.originalEvent,j=i.putSortable,Y=i.extraEventProperties;if(A=A||e&&e[Gt],!!A){var U,_=A.options,I="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!vn&&!yo?U=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(U=document.createEvent("Event"),U.initEvent(r,!0,!0)),U.to=l||e,U.from=y||e,U.item=m||e,U.clone=b,U.oldIndex=S,U.newIndex=f,U.oldDraggableIndex=x,U.newDraggableIndex=G,U.originalEvent=K,U.pullMode=j?j.lastPutMode:void 0;var R=Bn(Bn({},Y),_o.getEventProperties(r,A));for(var D in R)U[D]=R[D];e&&e.dispatchEvent(U),_[I]&&_[I].call(A,U)}}var Mb=["evt"],_t=function(A,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},m=r.evt,b=Eb(r,Mb);_o.pluginEvent.bind(Ce)(A,e,Bn({dragEl:jA,parentEl:Xe,ghostEl:fe,rootEl:Ze,nextEl:gi,lastDownEl:Ps,cloneEl:Ve,cloneHidden:Tn,dragStarted:So,putSortable:Bt,activeSortable:Ce.active,originalEvent:m,oldIndex:Pi,oldDraggableIndex:Mo,newIndex:Ht,newDraggableIndex:On,hideGhostForTarget:rd,unhideGhostForTarget:ad,cloneNowHidden:function(){Tn=!0},cloneNowShown:function(){Tn=!1},dispatchSortableEvent:function(y){wt({sortable:e,name:y,originalEvent:m})}},b))};function wt(i){_b(Bn({putSortable:Bt,cloneEl:Ve,targetEl:jA,rootEl:Ze,oldIndex:Pi,oldDraggableIndex:Mo,newIndex:Ht,newDraggableIndex:On},i))}var jA,Xe,fe,Ze,gi,Ps,Ve,Tn,Pi,Ht,Mo,On,Ks,Bt,Ki=!1,Us=!1,Ys=[],ci,an,Ja,$a,ed,td,So,Ui,xo,Fo=!1,Ts=!1,Os,Qt,Za=[],za=!1,Js=[],$s=typeof document<"u",Zs=$u,nd=yo||vn?"cssFloat":"float",Sb=$s&&!mb&&!$u&&"draggable"in document.createElement("div"),id=function(){if($s){if(vn)return!1;var i=document.createElement("x");return i.style.cssText="pointer-events:auto",i.style.pointerEvents==="auto"}}(),od=function(A,e){var r=Be(A),m=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),b=Gi(A,0,e),l=Gi(A,1,e),y=b&&Be(b),S=l&&Be(l),f=y&&parseInt(y.marginLeft)+parseInt(y.marginRight)+lt(b).width,x=S&&parseInt(S.marginLeft)+parseInt(S.marginRight)+lt(l).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(b&&y.float&&y.float!=="none"){var G=y.float==="left"?"left":"right";return l&&(S.clear==="both"||S.clear===G)?"vertical":"horizontal"}return b&&(y.display==="block"||y.display==="flex"||y.display==="table"||y.display==="grid"||f>=m&&r[nd]==="none"||l&&r[nd]==="none"&&f+x>m)?"vertical":"horizontal"},xb=function(A,e,r){var m=r?A.left:A.top,b=r?A.right:A.bottom,l=r?A.width:A.height,y=r?e.left:e.top,S=r?e.right:e.bottom,f=r?e.width:e.height;return m===y||b===S||m+l/2===y+f/2},Fb=function(A,e){var r;return Ys.some(function(m){var b=m[Gt].options.emptyInsertThreshold;if(!(!b||Ya(m))){var l=lt(m),y=A>=l.left-b&&A<=l.right+b,S=e>=l.top-b&&e<=l.bottom+b;if(y&&S)return r=m}}),r},sd=function(A){function e(b,l){return function(y,S,f,x){var G=y.options.group.name&&S.options.group.name&&y.options.group.name===S.options.group.name;if(b==null&&(l||G))return!0;if(b==null||b===!1)return!1;if(l&&b==="clone")return b;if(typeof b=="function")return e(b(y,S,f,x),l)(y,S,f,x);var K=(l?y:S).options.group.name;return b===!0||typeof b=="string"&&b===K||b.join&&b.indexOf(K)>-1}}var r={},m=A.group;(!m||Gs(m)!="object")&&(m={name:m}),r.name=m.name,r.checkPull=e(m.pull,!0),r.checkPut=e(m.put),r.revertClone=m.revertClone,A.group=r},rd=function(){!id&&fe&&Be(fe,"display","none")},ad=function(){!id&&fe&&Be(fe,"display","")};$s&&document.addEventListener("click",function(i){if(Us)return i.preventDefault(),i.stopPropagation&&i.stopPropagation(),i.stopImmediatePropagation&&i.stopImmediatePropagation(),Us=!1,!1},!0);var ui=function(A){if(jA){A=A.touches?A.touches[0]:A;var e=Fb(A.clientX,A.clientY);if(e){var r={};for(var m in A)A.hasOwnProperty(m)&&(r[m]=A[m]);r.target=r.rootEl=e,r.preventDefault=void 0,r.stopPropagation=void 0,e[Gt]._onDragOver(r)}}},Nb=function(A){jA&&jA.parentNode[Gt]._isOutsideThisEl(A.target)};function Ce(i,A){if(!(i&&i.nodeType&&i.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(i));this.el=i,this.options=A=bn({},A),i[Gt]=this;var e={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(i.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return od(i,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(l,y){l.setData("Text",y.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:Ce.supportPointer!==!1&&"PointerEvent"in window&&!vo,emptyInsertThreshold:5};_o.initializePlugins(this,i,e);for(var r in e)!(r in A)&&(A[r]=e[r]);sd(A);for(var m in this)m.charAt(0)==="_"&&typeof this[m]=="function"&&(this[m]=this[m].bind(this));this.nativeDraggable=A.forceFallback?!1:Sb,this.nativeDraggable&&(this.options.touchStartThreshold=1),A.supportPointer?Fe(i,"pointerdown",this._onTapStart):(Fe(i,"mousedown",this._onTapStart),Fe(i,"touchstart",this._onTapStart)),this.nativeDraggable&&(Fe(i,"dragover",this),Fe(i,"dragenter",this)),Ys.push(this.el),A.store&&A.store.get&&this.sort(A.store.get(this)||[]),bn(this,yb())}Ce.prototype={constructor:Ce,_isOutsideThisEl:function(A){!this.el.contains(A)&&A!==this.el&&(Ui=null)},_getDirection:function(A,e){return typeof this.options.direction=="function"?this.options.direction.call(this,A,e,jA):this.options.direction},_onTapStart:function(A){if(A.cancelable){var e=this,r=this.el,m=this.options,b=m.preventOnFilter,l=A.type,y=A.touches&&A.touches[0]||A.pointerType&&A.pointerType==="touch"&&A,S=(y||A).target,f=A.target.shadowRoot&&(A.path&&A.path[0]||A.composedPath&&A.composedPath()[0])||S,x=m.filter;if(Yb(r),!jA&&!(/mousedown|pointerdown/.test(l)&&A.button!==0||m.disabled)&&!f.isContentEditable&&!(!this.nativeDraggable&&vo&&S&&S.tagName.toUpperCase()==="SELECT")&&(S=Cn(S,m.draggable,r,!1),!(S&&S.animated)&&Ps!==S)){if(Pi=zt(S),Mo=zt(S,m.draggable),typeof x=="function"){if(x.call(this,A,S,this)){wt({sortable:e,rootEl:f,name:"filter",targetEl:S,toEl:r,fromEl:r}),_t("filter",e,{evt:A}),b&&A.cancelable&&A.preventDefault();return}}else if(x&&(x=x.split(",").some(function(G){if(G=Cn(f,G.trim(),r,!1),G)return wt({sortable:e,rootEl:G,name:"filter",targetEl:S,fromEl:r,toEl:r}),_t("filter",e,{evt:A}),!0}),x)){b&&A.cancelable&&A.preventDefault();return}m.handle&&!Cn(f,m.handle,r,!1)||this._prepareDragStart(A,y,S)}}},_prepareDragStart:function(A,e,r){var m=this,b=m.el,l=m.options,y=b.ownerDocument,S;if(r&&!jA&&r.parentNode===b){var f=lt(r);if(Ze=b,jA=r,Xe=jA.parentNode,gi=jA.nextSibling,Ps=r,Ks=l.group,Ce.dragged=jA,ci={target:jA,clientX:(e||A).clientX,clientY:(e||A).clientY},ed=ci.clientX-f.left,td=ci.clientY-f.top,this._lastX=(e||A).clientX,this._lastY=(e||A).clientY,jA.style["will-change"]="all",S=function(){if(_t("delayEnded",m,{evt:A}),Ce.eventCanceled){m._onDrop();return}m._disableDelayedDragEvents(),!Ju&&m.nativeDraggable&&(jA.draggable=!0),m._triggerDragStart(A,e),wt({sortable:m,name:"choose",originalEvent:A}),Lt(jA,l.chosenClass,!0)},l.ignore.split(",").forEach(function(x){Wu(jA,x.trim(),Wa)}),Fe(y,"dragover",ui),Fe(y,"mousemove",ui),Fe(y,"touchmove",ui),Fe(y,"mouseup",m._onDrop),Fe(y,"touchend",m._onDrop),Fe(y,"touchcancel",m._onDrop),Ju&&this.nativeDraggable&&(this.options.touchStartThreshold=4,jA.draggable=!0),_t("delayStart",this,{evt:A}),l.delay&&(!l.delayOnTouchOnly||e)&&(!this.nativeDraggable||!(yo||vn))){if(Ce.eventCanceled){this._onDrop();return}Fe(y,"mouseup",m._disableDelayedDrag),Fe(y,"touchend",m._disableDelayedDrag),Fe(y,"touchcancel",m._disableDelayedDrag),Fe(y,"mousemove",m._delayedDragTouchMoveHandler),Fe(y,"touchmove",m._delayedDragTouchMoveHandler),l.supportPointer&&Fe(y,"pointermove",m._delayedDragTouchMoveHandler),m._dragStartTimer=setTimeout(S,l.delay)}else S()}},_delayedDragTouchMoveHandler:function(A){var e=A.touches?A.touches[0]:A;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){jA&&Wa(jA),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var A=this.el.ownerDocument;Se(A,"mouseup",this._disableDelayedDrag),Se(A,"touchend",this._disableDelayedDrag),Se(A,"touchcancel",this._disableDelayedDrag),Se(A,"mousemove",this._delayedDragTouchMoveHandler),Se(A,"touchmove",this._delayedDragTouchMoveHandler),Se(A,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(A,e){e=e||A.pointerType=="touch"&&A,!this.nativeDraggable||e?this.options.supportPointer?Fe(document,"pointermove",this._onTouchMove):e?Fe(document,"touchmove",this._onTouchMove):Fe(document,"mousemove",this._onTouchMove):(Fe(jA,"dragend",this),Fe(Ze,"dragstart",this._onDragStart));try{document.selection?Ws(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(A,e){if(Ki=!1,Ze&&jA){_t("dragStarted",this,{evt:e}),this.nativeDraggable&&Fe(document,"dragover",Nb);var r=this.options;!A&&Lt(jA,r.dragClass,!1),Lt(jA,r.ghostClass,!0),Ce.active=this,A&&this._appendGhost(),wt({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(an){this._lastX=an.clientX,this._lastY=an.clientY,rd();for(var A=document.elementFromPoint(an.clientX,an.clientY),e=A;A&&A.shadowRoot&&(A=A.shadowRoot.elementFromPoint(an.clientX,an.clientY),A!==e);)e=A;if(jA.parentNode[Gt]._isOutsideThisEl(A),e)do{if(e[Gt]){var r=void 0;if(r=e[Gt]._onDragOver({clientX:an.clientX,clientY:an.clientY,target:A,rootEl:e}),r&&!this.options.dragoverBubble)break}A=e}while(e=e.parentNode);ad()}},_onTouchMove:function(A){if(ci){var e=this.options,r=e.fallbackTolerance,m=e.fallbackOffset,b=A.touches?A.touches[0]:A,l=fe&&Li(fe,!0),y=fe&&l&&l.a,S=fe&&l&&l.d,f=Zs&&Qt&&qu(Qt),x=(b.clientX-ci.clientX+m.x)/(y||1)+(f?f[0]-Za[0]:0)/(y||1),G=(b.clientY-ci.clientY+m.y)/(S||1)+(f?f[1]-Za[1]:0)/(S||1);if(!Ce.active&&!Ki){if(r&&Math.max(Math.abs(b.clientX-this._lastX),Math.abs(b.clientY-this._lastY))<r)return;this._onDragStart(A,!0)}if(fe){l?(l.e+=x-(Ja||0),l.f+=G-($a||0)):l={a:1,b:0,c:0,d:1,e:x,f:G};var K="matrix(".concat(l.a,",").concat(l.b,",").concat(l.c,",").concat(l.d,",").concat(l.e,",").concat(l.f,")");Be(fe,"webkitTransform",K),Be(fe,"mozTransform",K),Be(fe,"msTransform",K),Be(fe,"transform",K),Ja=x,$a=G,an=b}A.cancelable&&A.preventDefault()}},_appendGhost:function(){if(!fe){var A=this.options.fallbackOnBody?document.body:Ze,e=lt(jA,!0,Zs,!0,A),r=this.options;if(Zs){for(Qt=A;Be(Qt,"position")==="static"&&Be(Qt,"transform")==="none"&&Qt!==document;)Qt=Qt.parentNode;Qt!==document.body&&Qt!==document.documentElement?(Qt===document&&(Qt=pn()),e.top+=Qt.scrollTop,e.left+=Qt.scrollLeft):Qt=pn(),Za=qu(Qt)}fe=jA.cloneNode(!0),Lt(fe,r.ghostClass,!1),Lt(fe,r.fallbackClass,!0),Lt(fe,r.dragClass,!0),Be(fe,"transition",""),Be(fe,"transform",""),Be(fe,"box-sizing","border-box"),Be(fe,"margin",0),Be(fe,"top",e.top),Be(fe,"left",e.left),Be(fe,"width",e.width),Be(fe,"height",e.height),Be(fe,"opacity","0.8"),Be(fe,"position",Zs?"absolute":"fixed"),Be(fe,"zIndex","100000"),Be(fe,"pointerEvents","none"),Ce.ghost=fe,A.appendChild(fe),Be(fe,"transform-origin",ed/parseInt(fe.style.width)*100+"% "+td/parseInt(fe.style.height)*100+"%")}},_onDragStart:function(A,e){var r=this,m=A.dataTransfer,b=r.options;if(_t("dragStart",this,{evt:A}),Ce.eventCanceled){this._onDrop();return}_t("setupClone",this),Ce.eventCanceled||(Ve=Ad(jA),Ve.draggable=!1,Ve.style["will-change"]="",this._hideClone(),Lt(Ve,this.options.chosenClass,!1),Ce.clone=Ve),r.cloneId=Ws(function(){_t("clone",r),!Ce.eventCanceled&&(r.options.removeCloneOnHide||Ze.insertBefore(Ve,jA),r._hideClone(),wt({sortable:r,name:"clone"}))}),!e&&Lt(jA,b.dragClass,!0),e?(Us=!0,r._loopId=setInterval(r._emulateDragOver,50)):(Se(document,"mouseup",r._onDrop),Se(document,"touchend",r._onDrop),Se(document,"touchcancel",r._onDrop),m&&(m.effectAllowed="move",b.setData&&b.setData.call(r,m,jA)),Fe(document,"drop",r),Be(jA,"transform","translateZ(0)")),Ki=!0,r._dragStartId=Ws(r._dragStarted.bind(r,e,A)),Fe(document,"selectstart",r),So=!0,vo&&Be(document.body,"user-select","none")},_onDragOver:function(A){var e=this.el,r=A.target,m,b,l,y=this.options,S=y.group,f=Ce.active,x=Ks===S,G=y.sort,K=Bt||f,j,Y=this,U=!1;if(za)return;function _(k,N){_t(k,Y,Bn({evt:A,isOwner:x,axis:j?"vertical":"horizontal",revert:l,dragRect:m,targetRect:b,canSort:G,fromSortable:K,target:r,completed:R,onMove:function($,q){return zs(Ze,e,jA,m,$,lt($),A,q)},changed:D},N))}function I(){_("dragOverAnimationCapture"),Y.captureAnimationState(),Y!==K&&K.captureAnimationState()}function R(k){return _("dragOverCompleted",{insertion:k}),k&&(x?f._hideClone():f._showClone(Y),Y!==K&&(Lt(jA,Bt?Bt.options.ghostClass:f.options.ghostClass,!1),Lt(jA,y.ghostClass,!0)),Bt!==Y&&Y!==Ce.active?Bt=Y:Y===Ce.active&&Bt&&(Bt=null),K===Y&&(Y._ignoreWhileAnimating=r),Y.animateAll(function(){_("dragOverAnimationComplete"),Y._ignoreWhileAnimating=null}),Y!==K&&(K.animateAll(),K._ignoreWhileAnimating=null)),(r===jA&&!jA.animated||r===e&&!r.animated)&&(Ui=null),!y.dragoverBubble&&!A.rootEl&&r!==document&&(jA.parentNode[Gt]._isOutsideThisEl(A.target),!k&&ui(A)),!y.dragoverBubble&&A.stopPropagation&&A.stopPropagation(),U=!0}function D(){Ht=zt(jA),On=zt(jA,y.draggable),wt({sortable:Y,name:"change",toEl:e,newIndex:Ht,newDraggableIndex:On,originalEvent:A})}if(A.preventDefault!==void 0&&A.cancelable&&A.preventDefault(),r=Cn(r,y.draggable,e,!0),_("dragOver"),Ce.eventCanceled)return U;if(jA.contains(A.target)||r.animated&&r.animatingX&&r.animatingY||Y._ignoreWhileAnimating===r)return R(!1);if(Us=!1,f&&!y.disabled&&(x?G||(l=Xe!==Ze):Bt===this||(this.lastPutMode=Ks.checkPull(this,f,jA,A))&&S.checkPut(this,f,jA,A))){if(j=this._getDirection(A,r)==="vertical",m=lt(jA),_("dragOverValid"),Ce.eventCanceled)return U;if(l)return Xe=Ze,I(),this._hideClone(),_("revert"),Ce.eventCanceled||(gi?Ze.insertBefore(jA,gi):Ze.appendChild(jA)),R(!0);var w=Ya(e,y.draggable);if(!w||Hb(A,j,this)&&!w.animated){if(w===jA)return R(!1);if(w&&e===A.target&&(r=w),r&&(b=lt(r)),zs(Ze,e,jA,m,r,b,A,!!r)!==!1)return I(),e.appendChild(jA),Xe=e,D(),R(!0)}else if(w&&Gb(A,j,this)){var C=Gi(e,0,y,!0);if(C===jA)return R(!1);if(r=C,b=lt(r),zs(Ze,e,jA,m,r,b,A,!1)!==!1)return I(),e.insertBefore(jA,C),Xe=e,D(),R(!0)}else if(r.parentNode===e){b=lt(r);var h=0,B,s=jA.parentNode!==e,g=!xb(jA.animated&&jA.toRect||m,r.animated&&r.toRect||b,j),o=j?"top":"left",u=ju(r,"top","top")||ju(jA,"top","top"),d=u?u.scrollTop:void 0;Ui!==r&&(B=b[o],Fo=!1,Ts=!g&&y.invertSwap||s),h=Pb(A,r,b,j,g?1:y.swapThreshold,y.invertedSwapThreshold==null?y.swapThreshold:y.invertedSwapThreshold,Ts,Ui===r);var n;if(h!==0){var t=zt(jA);do t-=h,n=Xe.children[t];while(n&&(Be(n,"display")==="none"||n===fe))}if(h===0||n===r)return R(!1);Ui=r,xo=h;var p=r.nextElementSibling,Q=!1;Q=h===1;var M=zs(Ze,e,jA,m,r,b,A,Q);if(M!==!1)return(M===1||M===-1)&&(Q=M===1),za=!0,setTimeout(Lb,30),I(),Q&&!p?e.appendChild(jA):r.parentNode.insertBefore(jA,Q?p:r),u&&Vu(u,0,d-u.scrollTop),Xe=jA.parentNode,B!==void 0&&!Ts&&(Os=Math.abs(B-lt(r)[o])),D(),R(!0)}if(e.contains(jA))return R(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Se(document,"mousemove",this._onTouchMove),Se(document,"touchmove",this._onTouchMove),Se(document,"pointermove",this._onTouchMove),Se(document,"dragover",ui),Se(document,"mousemove",ui),Se(document,"touchmove",ui)},_offUpEvents:function(){var A=this.el.ownerDocument;Se(A,"mouseup",this._onDrop),Se(A,"touchend",this._onDrop),Se(A,"pointerup",this._onDrop),Se(A,"touchcancel",this._onDrop),Se(document,"selectstart",this)},_onDrop:function(A){var e=this.el,r=this.options;if(Ht=zt(jA),On=zt(jA,r.draggable),_t("drop",this,{evt:A}),Xe=jA&&jA.parentNode,Ht=zt(jA),On=zt(jA,r.draggable),Ce.eventCanceled){this._nulling();return}Ki=!1,Ts=!1,Fo=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ja(this.cloneId),ja(this._dragStartId),this.nativeDraggable&&(Se(document,"drop",this),Se(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),vo&&Be(document.body,"user-select",""),Be(jA,"transform",""),A&&(So&&(A.cancelable&&A.preventDefault(),!r.dropBubble&&A.stopPropagation()),fe&&fe.parentNode&&fe.parentNode.removeChild(fe),(Ze===Xe||Bt&&Bt.lastPutMode!=="clone")&&Ve&&Ve.parentNode&&Ve.parentNode.removeChild(Ve),jA&&(this.nativeDraggable&&Se(jA,"dragend",this),Wa(jA),jA.style["will-change"]="",So&&!Ki&&Lt(jA,Bt?Bt.options.ghostClass:this.options.ghostClass,!1),Lt(jA,this.options.chosenClass,!1),wt({sortable:this,name:"unchoose",toEl:Xe,newIndex:null,newDraggableIndex:null,originalEvent:A}),Ze!==Xe?(Ht>=0&&(wt({rootEl:Xe,name:"add",toEl:Xe,fromEl:Ze,originalEvent:A}),wt({sortable:this,name:"remove",toEl:Xe,originalEvent:A}),wt({rootEl:Xe,name:"sort",toEl:Xe,fromEl:Ze,originalEvent:A}),wt({sortable:this,name:"sort",toEl:Xe,originalEvent:A})),Bt&&Bt.save()):Ht!==Pi&&Ht>=0&&(wt({sortable:this,name:"update",toEl:Xe,originalEvent:A}),wt({sortable:this,name:"sort",toEl:Xe,originalEvent:A})),Ce.active&&((Ht==null||Ht===-1)&&(Ht=Pi,On=Mo),wt({sortable:this,name:"end",toEl:Xe,originalEvent:A}),this.save()))),this._nulling()},_nulling:function(){_t("nulling",this),Ze=jA=Xe=fe=gi=Ve=Ps=Tn=ci=an=So=Ht=On=Pi=Mo=Ui=xo=Bt=Ks=Ce.dragged=Ce.ghost=Ce.clone=Ce.active=null,Js.forEach(function(A){A.checked=!0}),Js.length=Ja=$a=0},handleEvent:function(A){switch(A.type){case"drop":case"dragend":this._onDrop(A);break;case"dragenter":case"dragover":jA&&(this._onDragOver(A),Rb(A));break;case"selectstart":A.preventDefault();break}},toArray:function(){for(var A=[],e,r=this.el.children,m=0,b=r.length,l=this.options;m<b;m++)e=r[m],Cn(e,l.draggable,this.el,!1)&&A.push(e.getAttribute(l.dataIdAttr)||Ub(e));return A},sort:function(A,e){var r={},m=this.el;this.toArray().forEach(function(b,l){var y=m.children[l];Cn(y,this.options.draggable,m,!1)&&(r[b]=y)},this),e&&this.captureAnimationState(),A.forEach(function(b){r[b]&&(m.removeChild(r[b]),m.appendChild(r[b]))}),e&&this.animateAll()},save:function(){var A=this.options.store;A&&A.set&&A.set(this)},closest:function(A,e){return Cn(A,e||this.options.draggable,this.el,!1)},option:function(A,e){var r=this.options;if(e===void 0)return r[A];var m=_o.modifyOption(this,A,e);typeof m<"u"?r[A]=m:r[A]=e,A==="group"&&sd(r)},destroy:function(){_t("destroy",this);var A=this.el;A[Gt]=null,Se(A,"mousedown",this._onTapStart),Se(A,"touchstart",this._onTapStart),Se(A,"pointerdown",this._onTapStart),this.nativeDraggable&&(Se(A,"dragover",this),Se(A,"dragenter",this)),Array.prototype.forEach.call(A.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Ys.splice(Ys.indexOf(this.el),1),this.el=A=null},_hideClone:function(){if(!Tn){if(_t("hideClone",this),Ce.eventCanceled)return;Be(Ve,"display","none"),this.options.removeCloneOnHide&&Ve.parentNode&&Ve.parentNode.removeChild(Ve),Tn=!0}},_showClone:function(A){if(A.lastPutMode!=="clone"){this._hideClone();return}if(Tn){if(_t("showClone",this),Ce.eventCanceled)return;jA.parentNode==Ze&&!this.options.group.revertClone?Ze.insertBefore(Ve,jA):gi?Ze.insertBefore(Ve,gi):Ze.appendChild(Ve),this.options.group.revertClone&&this.animate(jA,Ve),Be(Ve,"display",""),Tn=!1}}};function Rb(i){i.dataTransfer&&(i.dataTransfer.dropEffect="move"),i.cancelable&&i.preventDefault()}function zs(i,A,e,r,m,b,l,y){var S,f=i[Gt],x=f.options.onMove,G;return window.CustomEvent&&!vn&&!yo?S=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(S=document.createEvent("Event"),S.initEvent("move",!0,!0)),S.to=A,S.from=i,S.dragged=e,S.draggedRect=r,S.related=m||A,S.relatedRect=b||lt(A),S.willInsertAfter=y,S.originalEvent=l,i.dispatchEvent(S),x&&(G=x.call(f,S,l)),G}function Wa(i){i.draggable=!1}function Lb(){za=!1}function Gb(i,A,e){var r=lt(Gi(e.el,0,e.options,!0)),m=10;return A?i.clientX<r.left-m||i.clientY<r.top&&i.clientX<r.right:i.clientY<r.top-m||i.clientY<r.bottom&&i.clientX<r.left}function Hb(i,A,e){var r=lt(Ya(e.el,e.options.draggable)),m=10;return A?i.clientX>r.right+m||i.clientX<=r.right&&i.clientY>r.bottom&&i.clientX>=r.left:i.clientX>r.right&&i.clientY>r.top||i.clientX<=r.right&&i.clientY>r.bottom+m}function Pb(i,A,e,r,m,b,l,y){var S=r?i.clientY:i.clientX,f=r?e.height:e.width,x=r?e.top:e.left,G=r?e.bottom:e.right,K=!1;if(!l){if(y&&Os<f*m){if(!Fo&&(xo===1?S>x+f*b/2:S<G-f*b/2)&&(Fo=!0),Fo)K=!0;else if(xo===1?S<x+Os:S>G-Os)return-xo}else if(S>x+f*(1-m)/2&&S<G-f*(1-m)/2)return Kb(A)}return K=K||l,K&&(S<x+f*b/2||S>G-f*b/2)?S>x+f/2?1:-1:0}function Kb(i){return zt(jA)<zt(i)?1:-1}function Ub(i){for(var A=i.tagName+i.className+i.src+i.href+i.textContent,e=A.length,r=0;e--;)r+=A.charCodeAt(e);return r.toString(36)}function Yb(i){Js.length=0;for(var A=i.getElementsByTagName("input"),e=A.length;e--;){var r=A[e];r.checked&&Js.push(r)}}function Ws(i){return setTimeout(i,0)}function ja(i){return clearTimeout(i)}$s&&Fe(document,"touchmove",function(i){(Ce.active||Ki)&&i.cancelable&&i.preventDefault()}),Ce.utils={on:Fe,off:Se,css:Be,find:Wu,is:function(A,e){return!!Cn(A,e,A,!1)},extend:Db,throttle:Xu,closest:Cn,toggleClass:Lt,clone:Ad,index:zt,nextTick:Ws,cancelNextTick:ja,detectDirection:od,getChild:Gi},Ce.get=function(i){return i[Gt]},Ce.mount=function(){for(var i=arguments.length,A=new Array(i),e=0;e<i;e++)A[e]=arguments[e];A[0].constructor===Array&&(A=A[0]),A.forEach(function(r){if(!r.prototype||!r.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(r));r.utils&&(Ce.utils=Bn(Bn({},Ce.utils),r.utils)),_o.mount(r)})},Ce.create=function(i,A){return new Ce(i,A)},Ce.version=Ib;var rt=[],No,qa,Xa=!1,Va,Al,js,Ro;function Tb(){function i(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var A in this)A.charAt(0)==="_"&&typeof this[A]=="function"&&(this[A]=this[A].bind(this))}return i.prototype={dragStarted:function(e){var r=e.originalEvent;this.sortable.nativeDraggable?Fe(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Fe(document,"pointermove",this._handleFallbackAutoScroll):r.touches?Fe(document,"touchmove",this._handleFallbackAutoScroll):Fe(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var r=e.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?Se(document,"dragover",this._handleAutoScroll):(Se(document,"pointermove",this._handleFallbackAutoScroll),Se(document,"touchmove",this._handleFallbackAutoScroll),Se(document,"mousemove",this._handleFallbackAutoScroll)),ld(),qs(),bb()},nulling:function(){js=qa=No=Xa=Ro=Va=Al=null,rt.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,r){var m=this,b=(e.touches?e.touches[0]:e).clientX,l=(e.touches?e.touches[0]:e).clientY,y=document.elementFromPoint(b,l);if(js=e,r||this.options.forceAutoScrollFallback||yo||vn||vo){el(e,this.options,y,r);var S=Yn(y,!0);Xa&&(!Ro||b!==Va||l!==Al)&&(Ro&&ld(),Ro=setInterval(function(){var f=Yn(document.elementFromPoint(b,l),!0);f!==S&&(S=f,qs()),el(e,m.options,f,r)},10),Va=b,Al=l)}else{if(!this.options.bubbleScroll||Yn(y,!0)===pn()){qs();return}el(e,this.options,Yn(y,!1),!1)}}},bn(i,{pluginName:"scroll",initializeByDefault:!0})}function qs(){rt.forEach(function(i){clearInterval(i.pid)}),rt=[]}function ld(){clearInterval(Ro)}var el=Xu(function(i,A,e,r){if(A.scroll){var m=(i.touches?i.touches[0]:i).clientX,b=(i.touches?i.touches[0]:i).clientY,l=A.scrollSensitivity,y=A.scrollSpeed,S=pn(),f=!1,x;qa!==e&&(qa=e,qs(),No=A.scroll,x=A.scrollFn,No===!0&&(No=Yn(e,!0)));var G=0,K=No;do{var j=K,Y=lt(j),U=Y.top,_=Y.bottom,I=Y.left,R=Y.right,D=Y.width,w=Y.height,C=void 0,h=void 0,B=j.scrollWidth,s=j.scrollHeight,g=Be(j),o=j.scrollLeft,u=j.scrollTop;j===S?(C=D<B&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),h=w<s&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(C=D<B&&(g.overflowX==="auto"||g.overflowX==="scroll"),h=w<s&&(g.overflowY==="auto"||g.overflowY==="scroll"));var d=C&&(Math.abs(R-m)<=l&&o+D<B)-(Math.abs(I-m)<=l&&!!o),n=h&&(Math.abs(_-b)<=l&&u+w<s)-(Math.abs(U-b)<=l&&!!u);if(!rt[G])for(var t=0;t<=G;t++)rt[t]||(rt[t]={});(rt[G].vx!=d||rt[G].vy!=n||rt[G].el!==j)&&(rt[G].el=j,rt[G].vx=d,rt[G].vy=n,clearInterval(rt[G].pid),(d!=0||n!=0)&&(f=!0,rt[G].pid=setInterval((function(){r&&this.layer===0&&Ce.active._onTouchMove(js);var p=rt[this.layer].vy?rt[this.layer].vy*y:0,Q=rt[this.layer].vx?rt[this.layer].vx*y:0;typeof x=="function"&&x.call(Ce.dragged.parentNode[Gt],Q,p,i,js,rt[this.layer].el)!=="continue"||Vu(rt[this.layer].el,Q,p)}).bind({layer:G}),24))),G++}while(A.bubbleScroll&&K!==S&&(K=Yn(K,!1)));Xa=f}},30),gd=function(A){var e=A.originalEvent,r=A.putSortable,m=A.dragEl,b=A.activeSortable,l=A.dispatchSortableEvent,y=A.hideGhostForTarget,S=A.unhideGhostForTarget;if(e){var f=r||b;y();var x=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,G=document.elementFromPoint(x.clientX,x.clientY);S(),f&&!f.el.contains(G)&&(l("spill"),this.onSpill({dragEl:m,putSortable:r}))}};function tl(){}tl.prototype={startIndex:null,dragStart:function(A){var e=A.oldDraggableIndex;this.startIndex=e},onSpill:function(A){var e=A.dragEl,r=A.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var m=Gi(this.sortable.el,this.startIndex,this.options);m?this.sortable.el.insertBefore(e,m):this.sortable.el.appendChild(e),this.sortable.animateAll(),r&&r.animateAll()},drop:gd},bn(tl,{pluginName:"revertOnSpill"});function nl(){}nl.prototype={onSpill:function(A){var e=A.dragEl,r=A.putSortable,m=r||this.sortable;m.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),m.animateAll()},drop:gd},bn(nl,{pluginName:"removeOnSpill"}),Ce.mount(new Tb),Ce.mount(nl,tl);var Ob=Object.defineProperty,Jb=Object.defineProperties,$b=Object.getOwnPropertyDescriptors,cd=Object.getOwnPropertySymbols,Zb=Object.prototype.hasOwnProperty,zb=Object.prototype.propertyIsEnumerable,ud=(i,A,e)=>A in i?Ob(i,A,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[A]=e,Jn=(i,A)=>{for(var e in A||(A={}))Zb.call(A,e)&&ud(i,e,A[e]);if(cd)for(var e of cd(A))zb.call(A,e)&&ud(i,e,A[e]);return i},Xs=(i,A)=>Jb(i,$b(A));function il(i){i.parentElement!==null&&i.parentElement.removeChild(i)}function dd(i,A,e){const r=e===0?i.children[0]:i.children[e-1].nextSibling;i.insertBefore(A,r)}function Wb(){return typeof window<"u"?window.console:global.console}const jb=Wb();function qb(i){const A=Object.create(null);return function(r){return A[r]||(A[r]=i(r))}}const Xb=/-(\w)/g,Vb=qb(i=>i.replace(Xb,(A,e)=>e.toUpperCase())),hd=["Start","Add","Remove","Update","End"],Bd=["Choose","Unchoose","Sort","Filter","Clone"],Cd=["Move"],Ay=[Cd,hd,Bd].flatMap(i=>i).map(i=>`on${i}`),ol={manage:Cd,manageAndEmit:hd,emit:Bd};function ey(i){return Ay.indexOf(i)!==-1}const ty=["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 ny(i){return ty.includes(i)}function iy(i){return["transition-group","TransitionGroup"].includes(i)}function pd(i){return["id","class","role","style"].includes(i)||i.startsWith("data-")||i.startsWith("aria-")||i.startsWith("on")}function Qd(i){return i.reduce((A,[e,r])=>(A[e]=r,A),{})}function oy({$attrs:i,componentData:A={}}){const e=Qd(Object.entries(i).filter(([r,m])=>pd(r)));return Jn(Jn({},e),A)}function sy({$attrs:i,callBackBuilder:A}){const e=Qd(Ed(i));Object.entries(A).forEach(([m,b])=>{ol[m].forEach(l=>{e[`on${l}`]=b(l)})});const r=`[data-draggable]${e.draggable||""}`;return Xs(Jn({},e),{draggable:r})}function Ed(i){return Object.entries(i).filter(([A,e])=>!pd(A)).map(([A,e])=>[Vb(A),e]).filter(([A,e])=>!ey(A))}const Id=i=>{const A=i.el||Array.isArray(i.children)&&i.children[0].el.parentNode;return A||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),A||{}},ry=(i,A)=>i.__draggable_context=A,md=i=>i.__draggable_context;class ay{constructor({nodes:{header:A,default:e,footer:r},root:m,realList:b}){this.defaultNodes=e,this.children=[...A,...e,...r],this.externalComponent=m.externalComponent,this.rootTransition=m.transition,this.tag=m.tag,this.realList=b}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(A,e){const{tag:r,children:m,_isRootComponent:b}=this;return A(r,e,b?{default:()=>m}:m)}updated(){const{defaultNodes:A,realList:e}=this;A.forEach((r,m)=>{ry(Id(r),{element:e[m],index:m})})}getUnderlyingVm(A){return md(A)}getVmIndexFromDomIndex(A,e){const{defaultNodes:r}=this,{length:m}=r,b=e.children,l=b.item(A);if(l===null)return m;const y=md(l);if(y)return y.index;if(m===0)return 0;const S=Id(r[0]),f=[...b].findIndex(x=>x===S);return A<f?0:m}}function ly(i,A){const e=i[A];return e?e():[]}function gy({$slots:i,realList:A,getKey:e}){const r=A||[],[m,b]=["header","footer"].map(S=>ly(i,S)),{item:l}=i;if(!l)throw new Error("draggable element must have an item slot");const y=r.flatMap((S,f)=>l({element:S,index:f}).map(x=>(x.key=e(S),x.props=Xs(Jn({},x.props||{}),{"data-draggable":!0}),x)));if(y.length!==r.length)throw new Error("Item slot must have only one child");return{header:m,footer:b,default:y}}function cy(i){const A=iy(i),e=!ny(i)&&!A;return{transition:A,externalComponent:e,tag:e?c.resolveComponent(i):A?c.TransitionGroup:i}}function uy({$slots:i,tag:A,realList:e,getKey:r}){const m=gy({$slots:i,realList:e,getKey:r}),b=cy(A);return new ay({nodes:m,root:b,realList:e})}function fd(i,A){c.nextTick(()=>this.$emit(i.toLowerCase(),A))}function wd(i){return(A,e)=>{if(this.realList!==null)return this[`onDrag${i}`](A,e)}}function dy(i){const A=wd.call(this,i);return(e,r)=>{A.call(this,e,r),fd.call(this,i,e)}}let sl=null;const hy={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:i=>i},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},By=["update:modelValue","change",...[...ol.manageAndEmit,...ol.emit].map(i=>i.toLowerCase())],Dd=c.defineComponent({name:"draggable",inheritAttrs:!1,props:hy,emits:By,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:i,$attrs:A,tag:e,componentData:r,realList:m,getKey:b}=this,l=uy({$slots:i,tag:e,realList:m,getKey:b});this.componentStructure=l;const y=oy({$attrs:A,componentData:r});return l.render(c.h,y)}catch(i){return this.error=!0,c.h("pre",{style:{color:"red"}},i.stack)}},created(){this.list!==null&&this.modelValue!==null&&jb.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:i,$el:A,componentStructure:e}=this;e.updated();const r=sy({$attrs:i,callBackBuilder:{manageAndEmit:b=>dy.call(this,b),emit:b=>fd.bind(this,b),manage:b=>wd.call(this,b)}}),m=A.nodeType===1?A:A.parentElement;this._sortable=new Ce(m,r),this.targetDomElement=m,m.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:i}=this;return i||this.modelValue},getKey(){const{itemKey:i}=this;return typeof i=="function"?i:A=>A[i]}},watch:{$attrs:{handler(i){const{_sortable:A}=this;A&&Ed(i).forEach(([e,r])=>{A.option(e,r)})},deep:!0}},methods:{getUnderlyingVm(i){return this.componentStructure.getUnderlyingVm(i)||null},getUnderlyingPotencialDraggableComponent(i){return i.__draggable_component__},emitChanges(i){c.nextTick(()=>this.$emit("change",i))},alterList(i){if(this.list){i(this.list);return}const A=[...this.modelValue];i(A),this.$emit("update:modelValue",A)},spliceList(){const i=A=>A.splice(...arguments);this.alterList(i)},updatePosition(i,A){const e=r=>r.splice(A,0,r.splice(i,1)[0]);this.alterList(e)},getRelatedContextFromMoveEvent({to:i,related:A}){const e=this.getUnderlyingPotencialDraggableComponent(i);if(!e)return{component:e};const r=e.realList,m={list:r,component:e};if(i!==A&&r){const b=e.getUnderlyingVm(A)||{};return Jn(Jn({},b),m)}return m},getVmIndexFromDomIndex(i){return this.componentStructure.getVmIndexFromDomIndex(i,this.targetDomElement)},onDragStart(i){this.context=this.getUnderlyingVm(i.item),i.item._underlying_vm_=this.clone(this.context.element),sl=i.item},onDragAdd(i){const A=i.item._underlying_vm_;if(A===void 0)return;il(i.item);const e=this.getVmIndexFromDomIndex(i.newIndex);this.spliceList(e,0,A);const r={element:A,newIndex:e};this.emitChanges({added:r})},onDragRemove(i){if(dd(this.$el,i.item,i.oldIndex),i.pullMode==="clone"){il(i.clone);return}const{index:A,element:e}=this.context;this.spliceList(A,1);const r={element:e,oldIndex:A};this.emitChanges({removed:r})},onDragUpdate(i){il(i.item),dd(i.from,i.item,i.oldIndex);const A=this.context.index,e=this.getVmIndexFromDomIndex(i.newIndex);this.updatePosition(A,e);const r={element:this.context.element,oldIndex:A,newIndex:e};this.emitChanges({moved:r})},computeFutureIndex(i,A){if(!i.element)return 0;const e=[...A.to.children].filter(l=>l.style.display!=="none"),r=e.indexOf(A.related),m=i.component.getVmIndexFromDomIndex(r);return e.indexOf(sl)!==-1||!A.willInsertAfter?m:m+1},onDragMove(i,A){const{move:e,realList:r}=this;if(!e||!r)return!0;const m=this.getRelatedContextFromMoveEvent(i),b=this.computeFutureIndex(m,i),l=Xs(Jn({},this.context),{futureIndex:b}),y=Xs(Jn({},i),{relatedContext:m,draggedContext:l});return e(y,A)},onDragEnd(){sl=null}}}),Yi=c.defineComponent({__name:"FormItem",props:{label:{},name:{},component:{},required:{type:Boolean},props:{},initialValue:{},help:{},children:{},hidden:{type:[Boolean,String]},hideLabel:{type:Boolean},designKey:{},rules:{},class:{},style:{},change:{},dialog:{type:Boolean},width:{}},setup(i){const A=i,e=ot(),r=Mi(),m=c.reactive({visible:!1,title:""}),b=()=>{m.visible=!0,m.title=A.label},l=c.computed({get(){return ro(e.formValues,A.name)},set(x){const G=bi(e.formValues,A.name,x);e.updateFormValues(G)}}),y=c.computed(()=>{const{rules:x,required:G,component:K}=A,j=[];if(G&&j.push({required:!0,trigger:"blur"}),x){const Y=x.map(U=>{const{type:_,message:I,trigger:R,customReg:D,templateExp:w}=U,C={message:I,trigger:R};return["email","url"].includes(_)?{...C,type:_}:_==="custom"&&D?{...C,pattern:VB(D)}:XB(_)?{...C,pattern:_}:_==="template"?{...C,validator:()=>w}:{}});return[...j,...Y]}if(K==="VerifyCode"){const Y={trigger:"blur",message:"验证码错误!",validator:()=>e.vCodePass};return[...j,Y]}return j}),S=c.computed(()=>{const x=r[A.component]||{};return x.modelName||(x.modelName="modelValue"),x}),f=c.computed(()=>{const x={name:A.name,...A.props};return A.children&&(x.children=A.children),x});return c.onBeforeMount(()=>{if(l.value===void 0&&A.initialValue!==void 0&&!e.design){const x=bi(e.initialValues,A.name,A.initialValue);e.updateInitialValues(x),l.value=A.initialValue}}),c.watch(l,(x,G)=>{const K=A.change,j=$e.isEqual(x,G);if(!K||j)return;let Y=$e.cloneDeep(e.formValues);K.forEach(({target:U,value:_,condition:I})=>{if(I!==!1){if(U.includes(".*.")){const R=U.split(".*."),D=R.pop(),w=R.join("."),C=ro(e.formValues,w);$e.isArray(C)&&(Y=bi(Y,w,C.map(h=>({...h,[D]:_}))));return}Y=bi(Y,U,_)}}),e.updateFormValues(Y)},{immediate:!0}),(x,G)=>{const K=c.resolveComponent("el-tooltip"),j=c.resolveComponent("el-dialog"),Y=c.resolveComponent("el-button"),U=c.resolveComponent("el-form-item");return c.unref(e).design||!x.hidden?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[S.value.type==="layout"||S.value.type==="assist"?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass([A.class]),style:c.normalizeStyle(x.style)},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(S.value.render),c.normalizeProps(c.guardReactiveProps(f.value)),null,16))],6)):(c.openBlock(),c.createBlock(U,{class:c.normalizeClass([c.unref(ke)("form-item"),A.class,`${x.component}-${x.name}`]),style:c.normalizeStyle(x.style),key:x.name,prop:x.name,"label-width":x.hideLabel?"0":c.unref(e).schema.labelWidth,rules:y.value},c.createSlots({default:c.withCtx(()=>[x.dialog?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createVNode(j,{modelValue:m.visible,"onUpdate:modelValue":G[1]||(G[1]=_=>m.visible=_),title:m.title,width:"70%",center:"","destroy-on-close":""},{default:c.withCtx(()=>[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(S.value.render),c.mergeProps({disabled:c.unref(e).schema.disabled,size:c.unref(e).schema.size},f.value,{[S.value.modelName]:l.value,["onUpdate:"+S.value.modelName]:G[0]||(G[0]=_=>l.value=_)}),null,16,["disabled","size"]))]),_:1},8,["modelValue","title"]),c.createVNode(Y,{type:"primary",plain:"",onClick:b},{default:c.withCtx(()=>G[3]||(G[3]=[c.createTextVNode("配置")])),_:1})],64)):(c.openBlock(),c.createBlock(c.resolveDynamicComponent(S.value.render),c.mergeProps({key:1,disabled:c.unref(e).schema.disabled,size:c.unref(e).schema.size},f.value,{[S.value.modelName]:l.value,["onUpdate:"+S.value.modelName]:G[2]||(G[2]=_=>l.value=_)}),null,16,["disabled","size"]))]),_:2},[x.hideLabel?void 0:{name:"label",fn:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass([c.unref(ke)("form-item-label"),x.label&&`${x.name}-label`])},[c.createElementVNode("div",{style:c.normalizeStyle(c.unref(e).schema.labelBold&&"font-weight: bold")},c.toDisplayString(x.label),5),x.help?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(c.unref(ke)("form-item-label-ico"))},[c.createVNode(K,{effect:"dark",content:x.help},{default:c.withCtx(()=>[c.createElementVNode("div",null,[c.createVNode(c.unref(ge),{name:"help"})])]),_:1},8,["content"])],2)):c.createCommentVNode("",!0),c.unref(e).schema.labelSuffix?(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(c.unref(ke)("form-item-label-suffix"))},c.toDisplayString(c.unref(e).schema.labelSuffix),3)):c.createCommentVNode("",!0)],2)]),key:"0"}]),1032,["class","style","prop","label-width","rules"]))],64)):c.createCommentVNode("",!0)}}}),Cy={key:0,class:"actions-lt"},py={class:"canvas-move",size:"small",type:"primary"},Qy={key:1,class:"hidden-ico"},Ey={key:2,class:"actions-rb"},Iy=["onClick"],my={key:3,class:"layout-title"},fy=c.defineComponent({__name:"CanvasItem",props:{data:{}},setup(i){const A=i,e=$t(),m=Mi()[A.data.component],b=c.computed(()=>{var K;return{[ke("canvas-item")]:!0,active:A.data.designKey===((K=e.current)==null?void 0:K.designKey),hover:A.data.designKey===e.hoverKey,mask:A.data.designKey===e.hoverKey&&!A.data.children,collapse:f.value}}),l=()=>{A.data.designKey&&e.updateHoverKey(A.data.designKey)},y=()=>{e.updateHoverKey("")},S=K=>{e.updateCurrent(K),e.rightTab="attr"},f=c.ref(!1),x=()=>{f.value=!f.value},G=[{icon:"copy",handle:K=>{const j=Nc(e.list,K.designKey);e.updateList(j)}},{icon:"delete",bg:"var(--el-color-danger)",handle:K=>{const j=Ig(e.list,Y=>Y.designKey!==K.designKey);e.updateList(j)}}];return(K,j)=>{var Y,U;return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(b.value),onClick:j[0]||(j[0]=c.withModifiers(_=>S(K.data),["stop"])),onMousemove:c.withModifiers(l,["stop"]),onMouseleave:c.withModifiers(y,["stop"])},[K.data.designKey===((Y=c.unref(e).current)==null?void 0:Y.designKey)?(c.openBlock(),c.createElementBlock("div",Cy,[c.createElementVNode("div",py,[c.createVNode(c.unref(ge),{name:"move"})]),c.createElementVNode("div",{class:"canvas-collapse",size:"small",type:"primary",onClick:x},[c.createVNode(c.unref(ge),{name:"select"})])])):c.createCommentVNode("",!0),K.data.hidden?(c.openBlock(),c.createElementBlock("div",Qy,[c.createVNode(c.unref(ge),{name:"hidden"})])):c.createCommentVNode("",!0),K.data.designKey===((U=c.unref(e).current)==null?void 0:U.designKey)?(c.openBlock(),c.createElementBlock("ul",Ey,[(c.openBlock(),c.createElementBlock(c.Fragment,null,c.renderList(G,({icon:_,handle:I,bg:R})=>c.createElementVNode("li",{class:"actions-rb-item",onClick:c.withModifiers(D=>I(K.data),["stop"]),key:_,style:c.normalizeStyle({backgroundColor:R})},[c.createVNode(c.unref(ge),{name:_},null,8,["name"])],12,Iy)),64))])):c.createCommentVNode("",!0),c.unref(m).lbTitle?(c.openBlock(),c.createElementBlock("div",my,c.toDisplayString(c.unref(m).title),1)):c.createCommentVNode("",!0),c.createVNode(Yi,c.mergeProps(K.data,{props:K.data.props}),null,16,["props"])],34)}}}),rl=c.defineComponent({__name:"CanvasGroup",props:{list:{},style:{},class:{},emptyText:{default:"请拖入子字段"},emptySize:{default:12}},setup(i){const A=i,e=$t(),r=m=>{const b=m.item._underlying_vm_;e.updateCurrent(da(e.list,b.designKey)),e.hoverKey=b.designKey,e.rightTab="attr",e.handleEmit("add",b)};return(m,b)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("canvas-group")),style:c.normalizeStyle({overflow:m.list.length?"auto":"hidden"})},[m.list.length?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(c.unref(ke)("canvas-group-empty")),style:c.normalizeStyle({fontSize:m.emptySize+"px"})},[c.createElementVNode("div",{class:c.normalizeClass(c.unref(ke)("canvas-group-empty-ico"))},[c.createVNode(c.unref(ge),{name:"add"})],2),c.createElementVNode("p",null,c.toDisplayString(m.emptyText),1)],6)),c.createVNode(c.unref(Dd),{list:m.list,group:"formDesign",itemKey:"name","ghost-class":c.unref(ke)("canvas-group-ghost"),class:c.normalizeClass([c.unref(ke)("canvas-group-draggable"),A.class]),style:c.normalizeStyle(m.style),animation:300,handle:".canvas-move","force-fallback":"",onAdd:r},{item:c.withCtx(({element:l})=>[l.designKey?(c.openBlock(),c.createBlock(fy,{key:0,data:l},null,8,["data"])):c.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),wy={key:1},Ti=c.defineComponent({__name:"FormItemGroup",props:{list:{}},setup(i){const A=ot();return(e,r)=>c.unref(A).design?(c.openBlock(),c.createBlock(rl,{key:0,list:e.list},null,8,["list"])):(c.openBlock(),c.createElementBlock("div",wy,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.list,m=>(c.openBlock(),c.createBlock(Yi,c.mergeProps({key:m.name,ref_for:!0},m),null,16))),128))]))}}),Pt=c.defineComponent({__name:"index",props:c.mergeModels({schema:{},schemaContext:{},design:{type:Boolean},footer:{type:Boolean},read:{type:Boolean},pageRulePath:{}},{modelValue:{default:{}},modelModifiers:{},schema:{default:c.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},schemaModifiers:{}}),emits:c.mergeModels(["finish","failed","reset"],["update:modelValue","update:schema"]),setup(i,{expose:A,emit:e}){const r=i,m=c.computed(()=>r.schema.rulePath||r.pageRulePath),b=c.inject("ruleMap",{});m.value&&c.provide("ruleModule",b[m.value]);const l=e,y=c.ref(),S=c.useModel(i,"modelValue"),f=c.useModel(i,"schema"),x=c.computed({get(){return r.design?f.value.items:es(r.schema.items||[],U.value)},set(o){f.value.items=o}}),G=c.reactive({}),K=c.reactive({}),j=c.ref(!1),Y=Un(),U=c.computed(()=>({...r.schemaContext,$values:S.value,$selectData:G,$locale:Y.value}));c.onMounted(()=>{var o,u;if((o=r.schema)!=null&&o.initialValues){const d=$e.cloneDeep((u=r.schema)==null?void 0:u.initialValues);S.value=$e.mergeWith(d,S.value,(n,t)=>{if(Array.isArray(n))return t})}});const _=()=>{var o;return(o=y.value)==null?void 0:o.validate()},I=o=>{f.value.disabled=o},R=()=>{var o;(o=_())==null||o.then(()=>{l("finish",S.value)}).catch(u=>{l("failed",u)})},D=o=>{if(l("reset"),o){let u=$e.cloneDeep(S.value);o.forEach(d=>{u=bi(u,d,ro(K,d))}),S.value=u}else S.value=K},w=(o,u=!0)=>{u?Object.assign(S.value,o):S.value=o},C=(o,u)=>{G[o]=u},h=o=>{Object.assign(K,o)},B=o=>{j.value=o},s=(o,u)=>{for(const d of o){if(d.name===u)return d;if(d.children&&d.children.length>0){const n=s(d.children,u);if(n)return n}}return null},g=c.reactive({...c.toRefs(r),formValues:S,selectData:G,initialValues:K,context:U,vCodePass:j,updateFormValues:w,updateSelectData:C,updateInitialValues:h,updateVCodePass:B,validate:_,resetFields:D,submit:R,setDisabled:I,findItemByName:s,type:"form"});return c.provide(_c,g),A(g),(o,u)=>{const d=c.resolveComponent("el-form");return f.value.hidden?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(d,c.mergeProps({key:0,model:S.value,"label-position":f.value.labelPosition,size:f.value.size,"hide-required-asterisk":f.value.hideRequiredAsterisk,"scroll-to-error":f.value.scrollToError,ref_key:"formRef",ref:y},o.$attrs),{default:c.withCtx(()=>[c.renderSlot(o.$slots,"default"),c.createVNode(c.unref(Ti),{list:x.value,"empty-text":c.unref(Y).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"]),c.createVNode(Of)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))}}}),Dy=({elements:i,lang:A,omits:e})=>{const r=l=>Object.values(i).filter(y=>y.type===l&&!e.includes(y.component)).sort((y,S)=>y.order-S.order).map(y=>({...y,title:A==="zh"?y.title:y.component})),m=Sc[A];return[{title:m.menus.basicTitle,children:r("basic")},{title:m.menus.highTitle,children:r("high")},{title:m.menus.layoutTitle,children:r("layout")},{title:m.menus.assistTitle,children:r("assist")}]},by=c.defineComponent({__name:"index",setup(i){var x;const A=c.ref(!1),e=$t(),r=Mi(),m=Un(),b=ha(),l=(x=e.templates)!=null&&x.length?e.templates:Bp,y=c.computed(()=>Dy({elements:r,omits:e.omitMenus||[],lang:b.value})),S=G=>{e.updateSchema(G)},f=G=>{const K={component:G.component,designKey:`design-${Pn(4)}`,name:`form-${Pn(4)}`};return G.type==="layout"&&(K.children=[]),K};return(G,K)=>{const j=c.resolveComponent("el-button"),Y=c.resolveComponent("el-space"),U=c.resolveComponent("el-drawer");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("form-design-left")),style:c.normalizeStyle({overflow:A.value?"hidden":"auto"})},[c.createElementVNode("div",{class:c.normalizeClass(c.unref(ke)("template"))},[c.createVNode(j,{class:c.normalizeClass(c.unref(ke)("template-button")),size:"small",onClick:K[0]||(K[0]=_=>A.value=!0)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(c.unref(m).menus.useTemplateBtn),1)]),_:1},8,["class"]),c.createVNode(U,{modelValue:A.value,"onUpdate:modelValue":K[1]||(K[1]=_=>A.value=_),title:"模板列表",size:"70%",class:c.normalizeClass(c.unref(ke)("template-drawer")),"append-to-body":!1},{default:c.withCtx(()=>[c.createVNode(Y,{wrap:"",direction:"vertical",alignment:"start"},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(l),({name:_,schema:I})=>(c.openBlock(),c.createBlock(j,{key:_,onClick:R=>S(I)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(_),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","class"])],2),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(y.value,({title:_,children:I})=>(c.openBlock(),c.createElementBlock("div",{key:_,class:c.normalizeClass(c.unref(ke)("menu"))},[c.createElementVNode("h4",{class:c.normalizeClass(c.unref(ke)("menu-title"))},c.toDisplayString(_),3),c.createVNode(c.unref(Dd),{class:c.normalizeClass(c.unref(ke)("menu-list")),list:I,group:{name:"formDesign",pull:"clone",put:!1},sort:!1,"ghost-class":c.unref(ke)("menu-list-ghost"),"drag-class":c.unref(ke)("menu-list-drag"),"fallback-class":c.unref(ke)("menu-list-fallback"),"item-key":"designKey",clone:f},{item:c.withCtx(({element:R})=>[c.createElementVNode("li",{class:c.normalizeClass(c.unref(ke)("menu-list-item"))},[c.createElementVNode("div",{class:c.normalizeClass(c.unref(ke)("menu-list-item-ico"))},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(R.icon),{class:"ico-content"}))],2),c.createElementVNode("div",{class:c.normalizeClass(c.unref(ke)("menu-list-item-name")),style:c.normalizeStyle({fontSize:c.unref(b)==="zh"?"12px":"10px"})},c.toDisplayString(R.title),7)],2)]),_:2},1032,["class","list","ghost-class","drag-class","fallback-class"])],2))),128))],6)}}}),yy=i=>`<template>
96
+ */function Ou(i,A){var e=Object.keys(i);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(i);A&&(r=r.filter(function(m){return Object.getOwnPropertyDescriptor(i,m).enumerable})),e.push.apply(e,r)}return e}function Bn(i){for(var A=1;A<arguments.length;A++){var e=arguments[A]!=null?arguments[A]:{};A%2?Ou(Object(e),!0).forEach(function(r){pb(i,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(e)):Ou(Object(e)).forEach(function(r){Object.defineProperty(i,r,Object.getOwnPropertyDescriptor(e,r))})}return i}function Gs(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Gs=function(A){return typeof A}:Gs=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},Gs(i)}function pb(i,A,e){return A in i?Object.defineProperty(i,A,{value:e,enumerable:!0,configurable:!0,writable:!0}):i[A]=e,i}function bn(){return bn=Object.assign||function(i){for(var A=1;A<arguments.length;A++){var e=arguments[A];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[r]=e[r])}return i},bn.apply(this,arguments)}function Qb(i,A){if(i==null)return{};var e={},r=Object.keys(i),m,b;for(b=0;b<r.length;b++)m=r[b],!(A.indexOf(m)>=0)&&(e[m]=i[m]);return e}function Eb(i,A){if(i==null)return{};var e=Qb(i,A),r,m;if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(i);for(m=0;m<b.length;m++)r=b[m],!(A.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(i,r)&&(e[r]=i[r])}return e}var Ib="1.14.0";function yn(i){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(i)}var vn=yn(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),yo=yn(/Edge/i),Ju=yn(/firefox/i),vo=yn(/safari/i)&&!yn(/chrome/i)&&!yn(/android/i),$u=yn(/iP(ad|od|hone)/i),mb=yn(/chrome/i)&&yn(/android/i),Zu={capture:!1,passive:!1};function Fe(i,A,e){i.addEventListener(A,e,!vn&&Zu)}function Se(i,A,e){i.removeEventListener(A,e,!vn&&Zu)}function Hs(i,A){if(A){if(A[0]===">"&&(A=A.substring(1)),i)try{if(i.matches)return i.matches(A);if(i.msMatchesSelector)return i.msMatchesSelector(A);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(A)}catch{return!1}return!1}}function fb(i){return i.host&&i!==document&&i.host.nodeType?i.host:i.parentNode}function Cn(i,A,e,r){if(i){e=e||document;do{if(A!=null&&(A[0]===">"?i.parentNode===e&&Hs(i,A):Hs(i,A))||r&&i===e)return i;if(i===e)break}while(i=fb(i))}return null}var zu=/\s+/g;function Lt(i,A,e){if(i&&A)if(i.classList)i.classList[e?"add":"remove"](A);else{var r=(" "+i.className+" ").replace(zu," ").replace(" "+A+" "," ");i.className=(r+(e?" "+A:"")).replace(zu," ")}}function Be(i,A,e){var r=i&&i.style;if(r){if(e===void 0)return document.defaultView&&document.defaultView.getComputedStyle?e=document.defaultView.getComputedStyle(i,""):i.currentStyle&&(e=i.currentStyle),A===void 0?e:e[A];!(A in r)&&A.indexOf("webkit")===-1&&(A="-webkit-"+A),r[A]=e+(typeof e=="string"?"":"px")}}function Li(i,A){var e="";if(typeof i=="string")e=i;else do{var r=Be(i,"transform");r&&r!=="none"&&(e=r+" "+e)}while(!A&&(i=i.parentNode));var m=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return m&&new m(e)}function Wu(i,A,e){if(i){var r=i.getElementsByTagName(A),m=0,b=r.length;if(e)for(;m<b;m++)e(r[m],m);return r}return[]}function pn(){var i=document.scrollingElement;return i||document.documentElement}function lt(i,A,e,r,m){if(!(!i.getBoundingClientRect&&i!==window)){var b,l,y,S,f,x,G;if(i!==window&&i.parentNode&&i!==pn()?(b=i.getBoundingClientRect(),l=b.top,y=b.left,S=b.bottom,f=b.right,x=b.height,G=b.width):(l=0,y=0,S=window.innerHeight,f=window.innerWidth,x=window.innerHeight,G=window.innerWidth),(A||e)&&i!==window&&(m=m||i.parentNode,!vn))do if(m&&m.getBoundingClientRect&&(Be(m,"transform")!=="none"||e&&Be(m,"position")!=="static")){var K=m.getBoundingClientRect();l-=K.top+parseInt(Be(m,"border-top-width")),y-=K.left+parseInt(Be(m,"border-left-width")),S=l+b.height,f=y+b.width;break}while(m=m.parentNode);if(r&&i!==window){var j=Li(m||i),Y=j&&j.a,U=j&&j.d;j&&(l/=U,y/=Y,G/=Y,x/=U,S=l+x,f=y+G)}return{top:l,left:y,bottom:S,right:f,width:G,height:x}}}function ju(i,A,e){for(var r=Yn(i,!0),m=lt(i)[A];r;){var b=lt(r)[e],l=void 0;if(l=m>=b,!l)return r;if(r===pn())break;r=Yn(r,!1)}return!1}function Gi(i,A,e,r){for(var m=0,b=0,l=i.children;b<l.length;){if(l[b].style.display!=="none"&&l[b]!==Ce.ghost&&(r||l[b]!==Ce.dragged)&&Cn(l[b],e.draggable,i,!1)){if(m===A)return l[b];m++}b++}return null}function Ya(i,A){for(var e=i.lastElementChild;e&&(e===Ce.ghost||Be(e,"display")==="none"||A&&!Hs(e,A));)e=e.previousElementSibling;return e||null}function zt(i,A){var e=0;if(!i||!i.parentNode)return-1;for(;i=i.previousElementSibling;)i.nodeName.toUpperCase()!=="TEMPLATE"&&i!==Ce.clone&&(!A||Hs(i,A))&&e++;return e}function qu(i){var A=0,e=0,r=pn();if(i)do{var m=Li(i),b=m.a,l=m.d;A+=i.scrollLeft*b,e+=i.scrollTop*l}while(i!==r&&(i=i.parentNode));return[A,e]}function wb(i,A){for(var e in i)if(i.hasOwnProperty(e)){for(var r in A)if(A.hasOwnProperty(r)&&A[r]===i[e][r])return Number(e)}return-1}function Yn(i,A){if(!i||!i.getBoundingClientRect)return pn();var e=i,r=!1;do if(e.clientWidth<e.scrollWidth||e.clientHeight<e.scrollHeight){var m=Be(e);if(e.clientWidth<e.scrollWidth&&(m.overflowX=="auto"||m.overflowX=="scroll")||e.clientHeight<e.scrollHeight&&(m.overflowY=="auto"||m.overflowY=="scroll")){if(!e.getBoundingClientRect||e===document.body)return pn();if(r||A)return e;r=!0}}while(e=e.parentNode);return pn()}function Db(i,A){if(i&&A)for(var e in A)A.hasOwnProperty(e)&&(i[e]=A[e]);return i}function Ta(i,A){return Math.round(i.top)===Math.round(A.top)&&Math.round(i.left)===Math.round(A.left)&&Math.round(i.height)===Math.round(A.height)&&Math.round(i.width)===Math.round(A.width)}var ko;function Xu(i,A){return function(){if(!ko){var e=arguments,r=this;e.length===1?i.call(r,e[0]):i.apply(r,e),ko=setTimeout(function(){ko=void 0},A)}}}function bb(){clearTimeout(ko),ko=void 0}function Vu(i,A,e){i.scrollLeft+=A,i.scrollTop+=e}function Ad(i){var A=window.Polymer,e=window.jQuery||window.Zepto;return A&&A.dom?A.dom(i).cloneNode(!0):e?e(i).clone(!0)[0]:i.cloneNode(!0)}var Gt="Sortable"+new Date().getTime();function yb(){var i=[],A;return{captureAnimationState:function(){if(i=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(m){if(!(Be(m,"display")==="none"||m===Ce.ghost)){i.push({target:m,rect:lt(m)});var b=Bn({},i[i.length-1].rect);if(m.thisAnimationDuration){var l=Li(m,!0);l&&(b.top-=l.f,b.left-=l.e)}m.fromRect=b}})}},addAnimationState:function(r){i.push(r)},removeAnimationState:function(r){i.splice(wb(i,{target:r}),1)},animateAll:function(r){var m=this;if(!this.options.animation){clearTimeout(A),typeof r=="function"&&r();return}var b=!1,l=0;i.forEach(function(y){var S=0,f=y.target,x=f.fromRect,G=lt(f),K=f.prevFromRect,j=f.prevToRect,Y=y.rect,U=Li(f,!0);U&&(G.top-=U.f,G.left-=U.e),f.toRect=G,f.thisAnimationDuration&&Ta(K,G)&&!Ta(x,G)&&(Y.top-G.top)/(Y.left-G.left)===(x.top-G.top)/(x.left-G.left)&&(S=kb(Y,K,j,m.options)),Ta(G,x)||(f.prevFromRect=x,f.prevToRect=G,S||(S=m.options.animation),m.animate(f,Y,G,S)),S&&(b=!0,l=Math.max(l,S),clearTimeout(f.animationResetTimer),f.animationResetTimer=setTimeout(function(){f.animationTime=0,f.prevFromRect=null,f.fromRect=null,f.prevToRect=null,f.thisAnimationDuration=null},S),f.thisAnimationDuration=S)}),clearTimeout(A),b?A=setTimeout(function(){typeof r=="function"&&r()},l):typeof r=="function"&&r(),i=[]},animate:function(r,m,b,l){if(l){Be(r,"transition",""),Be(r,"transform","");var y=Li(this.el),S=y&&y.a,f=y&&y.d,x=(m.left-b.left)/(S||1),G=(m.top-b.top)/(f||1);r.animatingX=!!x,r.animatingY=!!G,Be(r,"transform","translate3d("+x+"px,"+G+"px,0)"),this.forRepaintDummy=vb(r),Be(r,"transition","transform "+l+"ms"+(this.options.easing?" "+this.options.easing:"")),Be(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Be(r,"transition",""),Be(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},l)}}}}function vb(i){return i.offsetWidth}function kb(i,A,e,r){return Math.sqrt(Math.pow(A.top-i.top,2)+Math.pow(A.left-i.left,2))/Math.sqrt(Math.pow(A.top-e.top,2)+Math.pow(A.left-e.left,2))*r.animation}var Hi=[],Oa={initializeByDefault:!0},_o={mount:function(A){for(var e in Oa)Oa.hasOwnProperty(e)&&!(e in A)&&(A[e]=Oa[e]);Hi.forEach(function(r){if(r.pluginName===A.pluginName)throw"Sortable: Cannot mount plugin ".concat(A.pluginName," more than once")}),Hi.push(A)},pluginEvent:function(A,e,r){var m=this;this.eventCanceled=!1,r.cancel=function(){m.eventCanceled=!0};var b=A+"Global";Hi.forEach(function(l){e[l.pluginName]&&(e[l.pluginName][b]&&e[l.pluginName][b](Bn({sortable:e},r)),e.options[l.pluginName]&&e[l.pluginName][A]&&e[l.pluginName][A](Bn({sortable:e},r)))})},initializePlugins:function(A,e,r,m){Hi.forEach(function(y){var S=y.pluginName;if(!(!A.options[S]&&!y.initializeByDefault)){var f=new y(A,e,A.options);f.sortable=A,f.options=A.options,A[S]=f,bn(r,f.defaults)}});for(var b in A.options)if(A.options.hasOwnProperty(b)){var l=this.modifyOption(A,b,A.options[b]);typeof l<"u"&&(A.options[b]=l)}},getEventProperties:function(A,e){var r={};return Hi.forEach(function(m){typeof m.eventProperties=="function"&&bn(r,m.eventProperties.call(e[m.pluginName],A))}),r},modifyOption:function(A,e,r){var m;return Hi.forEach(function(b){A[b.pluginName]&&b.optionListeners&&typeof b.optionListeners[e]=="function"&&(m=b.optionListeners[e].call(A[b.pluginName],r))}),m}};function _b(i){var A=i.sortable,e=i.rootEl,r=i.name,m=i.targetEl,b=i.cloneEl,l=i.toEl,y=i.fromEl,S=i.oldIndex,f=i.newIndex,x=i.oldDraggableIndex,G=i.newDraggableIndex,K=i.originalEvent,j=i.putSortable,Y=i.extraEventProperties;if(A=A||e&&e[Gt],!!A){var U,_=A.options,I="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!vn&&!yo?U=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(U=document.createEvent("Event"),U.initEvent(r,!0,!0)),U.to=l||e,U.from=y||e,U.item=m||e,U.clone=b,U.oldIndex=S,U.newIndex=f,U.oldDraggableIndex=x,U.newDraggableIndex=G,U.originalEvent=K,U.pullMode=j?j.lastPutMode:void 0;var R=Bn(Bn({},Y),_o.getEventProperties(r,A));for(var D in R)U[D]=R[D];e&&e.dispatchEvent(U),_[I]&&_[I].call(A,U)}}var Mb=["evt"],_t=function(A,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},m=r.evt,b=Eb(r,Mb);_o.pluginEvent.bind(Ce)(A,e,Bn({dragEl:jA,parentEl:Xe,ghostEl:fe,rootEl:Ze,nextEl:gi,lastDownEl:Ps,cloneEl:Ve,cloneHidden:Tn,dragStarted:So,putSortable:Bt,activeSortable:Ce.active,originalEvent:m,oldIndex:Pi,oldDraggableIndex:Mo,newIndex:Ht,newDraggableIndex:On,hideGhostForTarget:rd,unhideGhostForTarget:ad,cloneNowHidden:function(){Tn=!0},cloneNowShown:function(){Tn=!1},dispatchSortableEvent:function(y){wt({sortable:e,name:y,originalEvent:m})}},b))};function wt(i){_b(Bn({putSortable:Bt,cloneEl:Ve,targetEl:jA,rootEl:Ze,oldIndex:Pi,oldDraggableIndex:Mo,newIndex:Ht,newDraggableIndex:On},i))}var jA,Xe,fe,Ze,gi,Ps,Ve,Tn,Pi,Ht,Mo,On,Ks,Bt,Ki=!1,Us=!1,Ys=[],ci,an,Ja,$a,ed,td,So,Ui,xo,Fo=!1,Ts=!1,Os,Qt,Za=[],za=!1,Js=[],$s=typeof document<"u",Zs=$u,nd=yo||vn?"cssFloat":"float",Sb=$s&&!mb&&!$u&&"draggable"in document.createElement("div"),id=function(){if($s){if(vn)return!1;var i=document.createElement("x");return i.style.cssText="pointer-events:auto",i.style.pointerEvents==="auto"}}(),od=function(A,e){var r=Be(A),m=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),b=Gi(A,0,e),l=Gi(A,1,e),y=b&&Be(b),S=l&&Be(l),f=y&&parseInt(y.marginLeft)+parseInt(y.marginRight)+lt(b).width,x=S&&parseInt(S.marginLeft)+parseInt(S.marginRight)+lt(l).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(b&&y.float&&y.float!=="none"){var G=y.float==="left"?"left":"right";return l&&(S.clear==="both"||S.clear===G)?"vertical":"horizontal"}return b&&(y.display==="block"||y.display==="flex"||y.display==="table"||y.display==="grid"||f>=m&&r[nd]==="none"||l&&r[nd]==="none"&&f+x>m)?"vertical":"horizontal"},xb=function(A,e,r){var m=r?A.left:A.top,b=r?A.right:A.bottom,l=r?A.width:A.height,y=r?e.left:e.top,S=r?e.right:e.bottom,f=r?e.width:e.height;return m===y||b===S||m+l/2===y+f/2},Fb=function(A,e){var r;return Ys.some(function(m){var b=m[Gt].options.emptyInsertThreshold;if(!(!b||Ya(m))){var l=lt(m),y=A>=l.left-b&&A<=l.right+b,S=e>=l.top-b&&e<=l.bottom+b;if(y&&S)return r=m}}),r},sd=function(A){function e(b,l){return function(y,S,f,x){var G=y.options.group.name&&S.options.group.name&&y.options.group.name===S.options.group.name;if(b==null&&(l||G))return!0;if(b==null||b===!1)return!1;if(l&&b==="clone")return b;if(typeof b=="function")return e(b(y,S,f,x),l)(y,S,f,x);var K=(l?y:S).options.group.name;return b===!0||typeof b=="string"&&b===K||b.join&&b.indexOf(K)>-1}}var r={},m=A.group;(!m||Gs(m)!="object")&&(m={name:m}),r.name=m.name,r.checkPull=e(m.pull,!0),r.checkPut=e(m.put),r.revertClone=m.revertClone,A.group=r},rd=function(){!id&&fe&&Be(fe,"display","none")},ad=function(){!id&&fe&&Be(fe,"display","")};$s&&document.addEventListener("click",function(i){if(Us)return i.preventDefault(),i.stopPropagation&&i.stopPropagation(),i.stopImmediatePropagation&&i.stopImmediatePropagation(),Us=!1,!1},!0);var ui=function(A){if(jA){A=A.touches?A.touches[0]:A;var e=Fb(A.clientX,A.clientY);if(e){var r={};for(var m in A)A.hasOwnProperty(m)&&(r[m]=A[m]);r.target=r.rootEl=e,r.preventDefault=void 0,r.stopPropagation=void 0,e[Gt]._onDragOver(r)}}},Nb=function(A){jA&&jA.parentNode[Gt]._isOutsideThisEl(A.target)};function Ce(i,A){if(!(i&&i.nodeType&&i.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(i));this.el=i,this.options=A=bn({},A),i[Gt]=this;var e={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(i.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return od(i,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(l,y){l.setData("Text",y.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:Ce.supportPointer!==!1&&"PointerEvent"in window&&!vo,emptyInsertThreshold:5};_o.initializePlugins(this,i,e);for(var r in e)!(r in A)&&(A[r]=e[r]);sd(A);for(var m in this)m.charAt(0)==="_"&&typeof this[m]=="function"&&(this[m]=this[m].bind(this));this.nativeDraggable=A.forceFallback?!1:Sb,this.nativeDraggable&&(this.options.touchStartThreshold=1),A.supportPointer?Fe(i,"pointerdown",this._onTapStart):(Fe(i,"mousedown",this._onTapStart),Fe(i,"touchstart",this._onTapStart)),this.nativeDraggable&&(Fe(i,"dragover",this),Fe(i,"dragenter",this)),Ys.push(this.el),A.store&&A.store.get&&this.sort(A.store.get(this)||[]),bn(this,yb())}Ce.prototype={constructor:Ce,_isOutsideThisEl:function(A){!this.el.contains(A)&&A!==this.el&&(Ui=null)},_getDirection:function(A,e){return typeof this.options.direction=="function"?this.options.direction.call(this,A,e,jA):this.options.direction},_onTapStart:function(A){if(A.cancelable){var e=this,r=this.el,m=this.options,b=m.preventOnFilter,l=A.type,y=A.touches&&A.touches[0]||A.pointerType&&A.pointerType==="touch"&&A,S=(y||A).target,f=A.target.shadowRoot&&(A.path&&A.path[0]||A.composedPath&&A.composedPath()[0])||S,x=m.filter;if(Yb(r),!jA&&!(/mousedown|pointerdown/.test(l)&&A.button!==0||m.disabled)&&!f.isContentEditable&&!(!this.nativeDraggable&&vo&&S&&S.tagName.toUpperCase()==="SELECT")&&(S=Cn(S,m.draggable,r,!1),!(S&&S.animated)&&Ps!==S)){if(Pi=zt(S),Mo=zt(S,m.draggable),typeof x=="function"){if(x.call(this,A,S,this)){wt({sortable:e,rootEl:f,name:"filter",targetEl:S,toEl:r,fromEl:r}),_t("filter",e,{evt:A}),b&&A.cancelable&&A.preventDefault();return}}else if(x&&(x=x.split(",").some(function(G){if(G=Cn(f,G.trim(),r,!1),G)return wt({sortable:e,rootEl:G,name:"filter",targetEl:S,fromEl:r,toEl:r}),_t("filter",e,{evt:A}),!0}),x)){b&&A.cancelable&&A.preventDefault();return}m.handle&&!Cn(f,m.handle,r,!1)||this._prepareDragStart(A,y,S)}}},_prepareDragStart:function(A,e,r){var m=this,b=m.el,l=m.options,y=b.ownerDocument,S;if(r&&!jA&&r.parentNode===b){var f=lt(r);if(Ze=b,jA=r,Xe=jA.parentNode,gi=jA.nextSibling,Ps=r,Ks=l.group,Ce.dragged=jA,ci={target:jA,clientX:(e||A).clientX,clientY:(e||A).clientY},ed=ci.clientX-f.left,td=ci.clientY-f.top,this._lastX=(e||A).clientX,this._lastY=(e||A).clientY,jA.style["will-change"]="all",S=function(){if(_t("delayEnded",m,{evt:A}),Ce.eventCanceled){m._onDrop();return}m._disableDelayedDragEvents(),!Ju&&m.nativeDraggable&&(jA.draggable=!0),m._triggerDragStart(A,e),wt({sortable:m,name:"choose",originalEvent:A}),Lt(jA,l.chosenClass,!0)},l.ignore.split(",").forEach(function(x){Wu(jA,x.trim(),Wa)}),Fe(y,"dragover",ui),Fe(y,"mousemove",ui),Fe(y,"touchmove",ui),Fe(y,"mouseup",m._onDrop),Fe(y,"touchend",m._onDrop),Fe(y,"touchcancel",m._onDrop),Ju&&this.nativeDraggable&&(this.options.touchStartThreshold=4,jA.draggable=!0),_t("delayStart",this,{evt:A}),l.delay&&(!l.delayOnTouchOnly||e)&&(!this.nativeDraggable||!(yo||vn))){if(Ce.eventCanceled){this._onDrop();return}Fe(y,"mouseup",m._disableDelayedDrag),Fe(y,"touchend",m._disableDelayedDrag),Fe(y,"touchcancel",m._disableDelayedDrag),Fe(y,"mousemove",m._delayedDragTouchMoveHandler),Fe(y,"touchmove",m._delayedDragTouchMoveHandler),l.supportPointer&&Fe(y,"pointermove",m._delayedDragTouchMoveHandler),m._dragStartTimer=setTimeout(S,l.delay)}else S()}},_delayedDragTouchMoveHandler:function(A){var e=A.touches?A.touches[0]:A;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){jA&&Wa(jA),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var A=this.el.ownerDocument;Se(A,"mouseup",this._disableDelayedDrag),Se(A,"touchend",this._disableDelayedDrag),Se(A,"touchcancel",this._disableDelayedDrag),Se(A,"mousemove",this._delayedDragTouchMoveHandler),Se(A,"touchmove",this._delayedDragTouchMoveHandler),Se(A,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(A,e){e=e||A.pointerType=="touch"&&A,!this.nativeDraggable||e?this.options.supportPointer?Fe(document,"pointermove",this._onTouchMove):e?Fe(document,"touchmove",this._onTouchMove):Fe(document,"mousemove",this._onTouchMove):(Fe(jA,"dragend",this),Fe(Ze,"dragstart",this._onDragStart));try{document.selection?Ws(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(A,e){if(Ki=!1,Ze&&jA){_t("dragStarted",this,{evt:e}),this.nativeDraggable&&Fe(document,"dragover",Nb);var r=this.options;!A&&Lt(jA,r.dragClass,!1),Lt(jA,r.ghostClass,!0),Ce.active=this,A&&this._appendGhost(),wt({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(an){this._lastX=an.clientX,this._lastY=an.clientY,rd();for(var A=document.elementFromPoint(an.clientX,an.clientY),e=A;A&&A.shadowRoot&&(A=A.shadowRoot.elementFromPoint(an.clientX,an.clientY),A!==e);)e=A;if(jA.parentNode[Gt]._isOutsideThisEl(A),e)do{if(e[Gt]){var r=void 0;if(r=e[Gt]._onDragOver({clientX:an.clientX,clientY:an.clientY,target:A,rootEl:e}),r&&!this.options.dragoverBubble)break}A=e}while(e=e.parentNode);ad()}},_onTouchMove:function(A){if(ci){var e=this.options,r=e.fallbackTolerance,m=e.fallbackOffset,b=A.touches?A.touches[0]:A,l=fe&&Li(fe,!0),y=fe&&l&&l.a,S=fe&&l&&l.d,f=Zs&&Qt&&qu(Qt),x=(b.clientX-ci.clientX+m.x)/(y||1)+(f?f[0]-Za[0]:0)/(y||1),G=(b.clientY-ci.clientY+m.y)/(S||1)+(f?f[1]-Za[1]:0)/(S||1);if(!Ce.active&&!Ki){if(r&&Math.max(Math.abs(b.clientX-this._lastX),Math.abs(b.clientY-this._lastY))<r)return;this._onDragStart(A,!0)}if(fe){l?(l.e+=x-(Ja||0),l.f+=G-($a||0)):l={a:1,b:0,c:0,d:1,e:x,f:G};var K="matrix(".concat(l.a,",").concat(l.b,",").concat(l.c,",").concat(l.d,",").concat(l.e,",").concat(l.f,")");Be(fe,"webkitTransform",K),Be(fe,"mozTransform",K),Be(fe,"msTransform",K),Be(fe,"transform",K),Ja=x,$a=G,an=b}A.cancelable&&A.preventDefault()}},_appendGhost:function(){if(!fe){var A=this.options.fallbackOnBody?document.body:Ze,e=lt(jA,!0,Zs,!0,A),r=this.options;if(Zs){for(Qt=A;Be(Qt,"position")==="static"&&Be(Qt,"transform")==="none"&&Qt!==document;)Qt=Qt.parentNode;Qt!==document.body&&Qt!==document.documentElement?(Qt===document&&(Qt=pn()),e.top+=Qt.scrollTop,e.left+=Qt.scrollLeft):Qt=pn(),Za=qu(Qt)}fe=jA.cloneNode(!0),Lt(fe,r.ghostClass,!1),Lt(fe,r.fallbackClass,!0),Lt(fe,r.dragClass,!0),Be(fe,"transition",""),Be(fe,"transform",""),Be(fe,"box-sizing","border-box"),Be(fe,"margin",0),Be(fe,"top",e.top),Be(fe,"left",e.left),Be(fe,"width",e.width),Be(fe,"height",e.height),Be(fe,"opacity","0.8"),Be(fe,"position",Zs?"absolute":"fixed"),Be(fe,"zIndex","100000"),Be(fe,"pointerEvents","none"),Ce.ghost=fe,A.appendChild(fe),Be(fe,"transform-origin",ed/parseInt(fe.style.width)*100+"% "+td/parseInt(fe.style.height)*100+"%")}},_onDragStart:function(A,e){var r=this,m=A.dataTransfer,b=r.options;if(_t("dragStart",this,{evt:A}),Ce.eventCanceled){this._onDrop();return}_t("setupClone",this),Ce.eventCanceled||(Ve=Ad(jA),Ve.draggable=!1,Ve.style["will-change"]="",this._hideClone(),Lt(Ve,this.options.chosenClass,!1),Ce.clone=Ve),r.cloneId=Ws(function(){_t("clone",r),!Ce.eventCanceled&&(r.options.removeCloneOnHide||Ze.insertBefore(Ve,jA),r._hideClone(),wt({sortable:r,name:"clone"}))}),!e&&Lt(jA,b.dragClass,!0),e?(Us=!0,r._loopId=setInterval(r._emulateDragOver,50)):(Se(document,"mouseup",r._onDrop),Se(document,"touchend",r._onDrop),Se(document,"touchcancel",r._onDrop),m&&(m.effectAllowed="move",b.setData&&b.setData.call(r,m,jA)),Fe(document,"drop",r),Be(jA,"transform","translateZ(0)")),Ki=!0,r._dragStartId=Ws(r._dragStarted.bind(r,e,A)),Fe(document,"selectstart",r),So=!0,vo&&Be(document.body,"user-select","none")},_onDragOver:function(A){var e=this.el,r=A.target,m,b,l,y=this.options,S=y.group,f=Ce.active,x=Ks===S,G=y.sort,K=Bt||f,j,Y=this,U=!1;if(za)return;function _(k,N){_t(k,Y,Bn({evt:A,isOwner:x,axis:j?"vertical":"horizontal",revert:l,dragRect:m,targetRect:b,canSort:G,fromSortable:K,target:r,completed:R,onMove:function($,q){return zs(Ze,e,jA,m,$,lt($),A,q)},changed:D},N))}function I(){_("dragOverAnimationCapture"),Y.captureAnimationState(),Y!==K&&K.captureAnimationState()}function R(k){return _("dragOverCompleted",{insertion:k}),k&&(x?f._hideClone():f._showClone(Y),Y!==K&&(Lt(jA,Bt?Bt.options.ghostClass:f.options.ghostClass,!1),Lt(jA,y.ghostClass,!0)),Bt!==Y&&Y!==Ce.active?Bt=Y:Y===Ce.active&&Bt&&(Bt=null),K===Y&&(Y._ignoreWhileAnimating=r),Y.animateAll(function(){_("dragOverAnimationComplete"),Y._ignoreWhileAnimating=null}),Y!==K&&(K.animateAll(),K._ignoreWhileAnimating=null)),(r===jA&&!jA.animated||r===e&&!r.animated)&&(Ui=null),!y.dragoverBubble&&!A.rootEl&&r!==document&&(jA.parentNode[Gt]._isOutsideThisEl(A.target),!k&&ui(A)),!y.dragoverBubble&&A.stopPropagation&&A.stopPropagation(),U=!0}function D(){Ht=zt(jA),On=zt(jA,y.draggable),wt({sortable:Y,name:"change",toEl:e,newIndex:Ht,newDraggableIndex:On,originalEvent:A})}if(A.preventDefault!==void 0&&A.cancelable&&A.preventDefault(),r=Cn(r,y.draggable,e,!0),_("dragOver"),Ce.eventCanceled)return U;if(jA.contains(A.target)||r.animated&&r.animatingX&&r.animatingY||Y._ignoreWhileAnimating===r)return R(!1);if(Us=!1,f&&!y.disabled&&(x?G||(l=Xe!==Ze):Bt===this||(this.lastPutMode=Ks.checkPull(this,f,jA,A))&&S.checkPut(this,f,jA,A))){if(j=this._getDirection(A,r)==="vertical",m=lt(jA),_("dragOverValid"),Ce.eventCanceled)return U;if(l)return Xe=Ze,I(),this._hideClone(),_("revert"),Ce.eventCanceled||(gi?Ze.insertBefore(jA,gi):Ze.appendChild(jA)),R(!0);var w=Ya(e,y.draggable);if(!w||Hb(A,j,this)&&!w.animated){if(w===jA)return R(!1);if(w&&e===A.target&&(r=w),r&&(b=lt(r)),zs(Ze,e,jA,m,r,b,A,!!r)!==!1)return I(),e.appendChild(jA),Xe=e,D(),R(!0)}else if(w&&Gb(A,j,this)){var C=Gi(e,0,y,!0);if(C===jA)return R(!1);if(r=C,b=lt(r),zs(Ze,e,jA,m,r,b,A,!1)!==!1)return I(),e.insertBefore(jA,C),Xe=e,D(),R(!0)}else if(r.parentNode===e){b=lt(r);var h=0,B,s=jA.parentNode!==e,g=!xb(jA.animated&&jA.toRect||m,r.animated&&r.toRect||b,j),o=j?"top":"left",u=ju(r,"top","top")||ju(jA,"top","top"),d=u?u.scrollTop:void 0;Ui!==r&&(B=b[o],Fo=!1,Ts=!g&&y.invertSwap||s),h=Pb(A,r,b,j,g?1:y.swapThreshold,y.invertedSwapThreshold==null?y.swapThreshold:y.invertedSwapThreshold,Ts,Ui===r);var n;if(h!==0){var t=zt(jA);do t-=h,n=Xe.children[t];while(n&&(Be(n,"display")==="none"||n===fe))}if(h===0||n===r)return R(!1);Ui=r,xo=h;var p=r.nextElementSibling,Q=!1;Q=h===1;var M=zs(Ze,e,jA,m,r,b,A,Q);if(M!==!1)return(M===1||M===-1)&&(Q=M===1),za=!0,setTimeout(Lb,30),I(),Q&&!p?e.appendChild(jA):r.parentNode.insertBefore(jA,Q?p:r),u&&Vu(u,0,d-u.scrollTop),Xe=jA.parentNode,B!==void 0&&!Ts&&(Os=Math.abs(B-lt(r)[o])),D(),R(!0)}if(e.contains(jA))return R(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Se(document,"mousemove",this._onTouchMove),Se(document,"touchmove",this._onTouchMove),Se(document,"pointermove",this._onTouchMove),Se(document,"dragover",ui),Se(document,"mousemove",ui),Se(document,"touchmove",ui)},_offUpEvents:function(){var A=this.el.ownerDocument;Se(A,"mouseup",this._onDrop),Se(A,"touchend",this._onDrop),Se(A,"pointerup",this._onDrop),Se(A,"touchcancel",this._onDrop),Se(document,"selectstart",this)},_onDrop:function(A){var e=this.el,r=this.options;if(Ht=zt(jA),On=zt(jA,r.draggable),_t("drop",this,{evt:A}),Xe=jA&&jA.parentNode,Ht=zt(jA),On=zt(jA,r.draggable),Ce.eventCanceled){this._nulling();return}Ki=!1,Ts=!1,Fo=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ja(this.cloneId),ja(this._dragStartId),this.nativeDraggable&&(Se(document,"drop",this),Se(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),vo&&Be(document.body,"user-select",""),Be(jA,"transform",""),A&&(So&&(A.cancelable&&A.preventDefault(),!r.dropBubble&&A.stopPropagation()),fe&&fe.parentNode&&fe.parentNode.removeChild(fe),(Ze===Xe||Bt&&Bt.lastPutMode!=="clone")&&Ve&&Ve.parentNode&&Ve.parentNode.removeChild(Ve),jA&&(this.nativeDraggable&&Se(jA,"dragend",this),Wa(jA),jA.style["will-change"]="",So&&!Ki&&Lt(jA,Bt?Bt.options.ghostClass:this.options.ghostClass,!1),Lt(jA,this.options.chosenClass,!1),wt({sortable:this,name:"unchoose",toEl:Xe,newIndex:null,newDraggableIndex:null,originalEvent:A}),Ze!==Xe?(Ht>=0&&(wt({rootEl:Xe,name:"add",toEl:Xe,fromEl:Ze,originalEvent:A}),wt({sortable:this,name:"remove",toEl:Xe,originalEvent:A}),wt({rootEl:Xe,name:"sort",toEl:Xe,fromEl:Ze,originalEvent:A}),wt({sortable:this,name:"sort",toEl:Xe,originalEvent:A})),Bt&&Bt.save()):Ht!==Pi&&Ht>=0&&(wt({sortable:this,name:"update",toEl:Xe,originalEvent:A}),wt({sortable:this,name:"sort",toEl:Xe,originalEvent:A})),Ce.active&&((Ht==null||Ht===-1)&&(Ht=Pi,On=Mo),wt({sortable:this,name:"end",toEl:Xe,originalEvent:A}),this.save()))),this._nulling()},_nulling:function(){_t("nulling",this),Ze=jA=Xe=fe=gi=Ve=Ps=Tn=ci=an=So=Ht=On=Pi=Mo=Ui=xo=Bt=Ks=Ce.dragged=Ce.ghost=Ce.clone=Ce.active=null,Js.forEach(function(A){A.checked=!0}),Js.length=Ja=$a=0},handleEvent:function(A){switch(A.type){case"drop":case"dragend":this._onDrop(A);break;case"dragenter":case"dragover":jA&&(this._onDragOver(A),Rb(A));break;case"selectstart":A.preventDefault();break}},toArray:function(){for(var A=[],e,r=this.el.children,m=0,b=r.length,l=this.options;m<b;m++)e=r[m],Cn(e,l.draggable,this.el,!1)&&A.push(e.getAttribute(l.dataIdAttr)||Ub(e));return A},sort:function(A,e){var r={},m=this.el;this.toArray().forEach(function(b,l){var y=m.children[l];Cn(y,this.options.draggable,m,!1)&&(r[b]=y)},this),e&&this.captureAnimationState(),A.forEach(function(b){r[b]&&(m.removeChild(r[b]),m.appendChild(r[b]))}),e&&this.animateAll()},save:function(){var A=this.options.store;A&&A.set&&A.set(this)},closest:function(A,e){return Cn(A,e||this.options.draggable,this.el,!1)},option:function(A,e){var r=this.options;if(e===void 0)return r[A];var m=_o.modifyOption(this,A,e);typeof m<"u"?r[A]=m:r[A]=e,A==="group"&&sd(r)},destroy:function(){_t("destroy",this);var A=this.el;A[Gt]=null,Se(A,"mousedown",this._onTapStart),Se(A,"touchstart",this._onTapStart),Se(A,"pointerdown",this._onTapStart),this.nativeDraggable&&(Se(A,"dragover",this),Se(A,"dragenter",this)),Array.prototype.forEach.call(A.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Ys.splice(Ys.indexOf(this.el),1),this.el=A=null},_hideClone:function(){if(!Tn){if(_t("hideClone",this),Ce.eventCanceled)return;Be(Ve,"display","none"),this.options.removeCloneOnHide&&Ve.parentNode&&Ve.parentNode.removeChild(Ve),Tn=!0}},_showClone:function(A){if(A.lastPutMode!=="clone"){this._hideClone();return}if(Tn){if(_t("showClone",this),Ce.eventCanceled)return;jA.parentNode==Ze&&!this.options.group.revertClone?Ze.insertBefore(Ve,jA):gi?Ze.insertBefore(Ve,gi):Ze.appendChild(Ve),this.options.group.revertClone&&this.animate(jA,Ve),Be(Ve,"display",""),Tn=!1}}};function Rb(i){i.dataTransfer&&(i.dataTransfer.dropEffect="move"),i.cancelable&&i.preventDefault()}function zs(i,A,e,r,m,b,l,y){var S,f=i[Gt],x=f.options.onMove,G;return window.CustomEvent&&!vn&&!yo?S=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(S=document.createEvent("Event"),S.initEvent("move",!0,!0)),S.to=A,S.from=i,S.dragged=e,S.draggedRect=r,S.related=m||A,S.relatedRect=b||lt(A),S.willInsertAfter=y,S.originalEvent=l,i.dispatchEvent(S),x&&(G=x.call(f,S,l)),G}function Wa(i){i.draggable=!1}function Lb(){za=!1}function Gb(i,A,e){var r=lt(Gi(e.el,0,e.options,!0)),m=10;return A?i.clientX<r.left-m||i.clientY<r.top&&i.clientX<r.right:i.clientY<r.top-m||i.clientY<r.bottom&&i.clientX<r.left}function Hb(i,A,e){var r=lt(Ya(e.el,e.options.draggable)),m=10;return A?i.clientX>r.right+m||i.clientX<=r.right&&i.clientY>r.bottom&&i.clientX>=r.left:i.clientX>r.right&&i.clientY>r.top||i.clientX<=r.right&&i.clientY>r.bottom+m}function Pb(i,A,e,r,m,b,l,y){var S=r?i.clientY:i.clientX,f=r?e.height:e.width,x=r?e.top:e.left,G=r?e.bottom:e.right,K=!1;if(!l){if(y&&Os<f*m){if(!Fo&&(xo===1?S>x+f*b/2:S<G-f*b/2)&&(Fo=!0),Fo)K=!0;else if(xo===1?S<x+Os:S>G-Os)return-xo}else if(S>x+f*(1-m)/2&&S<G-f*(1-m)/2)return Kb(A)}return K=K||l,K&&(S<x+f*b/2||S>G-f*b/2)?S>x+f/2?1:-1:0}function Kb(i){return zt(jA)<zt(i)?1:-1}function Ub(i){for(var A=i.tagName+i.className+i.src+i.href+i.textContent,e=A.length,r=0;e--;)r+=A.charCodeAt(e);return r.toString(36)}function Yb(i){Js.length=0;for(var A=i.getElementsByTagName("input"),e=A.length;e--;){var r=A[e];r.checked&&Js.push(r)}}function Ws(i){return setTimeout(i,0)}function ja(i){return clearTimeout(i)}$s&&Fe(document,"touchmove",function(i){(Ce.active||Ki)&&i.cancelable&&i.preventDefault()}),Ce.utils={on:Fe,off:Se,css:Be,find:Wu,is:function(A,e){return!!Cn(A,e,A,!1)},extend:Db,throttle:Xu,closest:Cn,toggleClass:Lt,clone:Ad,index:zt,nextTick:Ws,cancelNextTick:ja,detectDirection:od,getChild:Gi},Ce.get=function(i){return i[Gt]},Ce.mount=function(){for(var i=arguments.length,A=new Array(i),e=0;e<i;e++)A[e]=arguments[e];A[0].constructor===Array&&(A=A[0]),A.forEach(function(r){if(!r.prototype||!r.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(r));r.utils&&(Ce.utils=Bn(Bn({},Ce.utils),r.utils)),_o.mount(r)})},Ce.create=function(i,A){return new Ce(i,A)},Ce.version=Ib;var rt=[],No,qa,Xa=!1,Va,Al,js,Ro;function Tb(){function i(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var A in this)A.charAt(0)==="_"&&typeof this[A]=="function"&&(this[A]=this[A].bind(this))}return i.prototype={dragStarted:function(e){var r=e.originalEvent;this.sortable.nativeDraggable?Fe(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Fe(document,"pointermove",this._handleFallbackAutoScroll):r.touches?Fe(document,"touchmove",this._handleFallbackAutoScroll):Fe(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var r=e.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?Se(document,"dragover",this._handleAutoScroll):(Se(document,"pointermove",this._handleFallbackAutoScroll),Se(document,"touchmove",this._handleFallbackAutoScroll),Se(document,"mousemove",this._handleFallbackAutoScroll)),ld(),qs(),bb()},nulling:function(){js=qa=No=Xa=Ro=Va=Al=null,rt.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,r){var m=this,b=(e.touches?e.touches[0]:e).clientX,l=(e.touches?e.touches[0]:e).clientY,y=document.elementFromPoint(b,l);if(js=e,r||this.options.forceAutoScrollFallback||yo||vn||vo){el(e,this.options,y,r);var S=Yn(y,!0);Xa&&(!Ro||b!==Va||l!==Al)&&(Ro&&ld(),Ro=setInterval(function(){var f=Yn(document.elementFromPoint(b,l),!0);f!==S&&(S=f,qs()),el(e,m.options,f,r)},10),Va=b,Al=l)}else{if(!this.options.bubbleScroll||Yn(y,!0)===pn()){qs();return}el(e,this.options,Yn(y,!1),!1)}}},bn(i,{pluginName:"scroll",initializeByDefault:!0})}function qs(){rt.forEach(function(i){clearInterval(i.pid)}),rt=[]}function ld(){clearInterval(Ro)}var el=Xu(function(i,A,e,r){if(A.scroll){var m=(i.touches?i.touches[0]:i).clientX,b=(i.touches?i.touches[0]:i).clientY,l=A.scrollSensitivity,y=A.scrollSpeed,S=pn(),f=!1,x;qa!==e&&(qa=e,qs(),No=A.scroll,x=A.scrollFn,No===!0&&(No=Yn(e,!0)));var G=0,K=No;do{var j=K,Y=lt(j),U=Y.top,_=Y.bottom,I=Y.left,R=Y.right,D=Y.width,w=Y.height,C=void 0,h=void 0,B=j.scrollWidth,s=j.scrollHeight,g=Be(j),o=j.scrollLeft,u=j.scrollTop;j===S?(C=D<B&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),h=w<s&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(C=D<B&&(g.overflowX==="auto"||g.overflowX==="scroll"),h=w<s&&(g.overflowY==="auto"||g.overflowY==="scroll"));var d=C&&(Math.abs(R-m)<=l&&o+D<B)-(Math.abs(I-m)<=l&&!!o),n=h&&(Math.abs(_-b)<=l&&u+w<s)-(Math.abs(U-b)<=l&&!!u);if(!rt[G])for(var t=0;t<=G;t++)rt[t]||(rt[t]={});(rt[G].vx!=d||rt[G].vy!=n||rt[G].el!==j)&&(rt[G].el=j,rt[G].vx=d,rt[G].vy=n,clearInterval(rt[G].pid),(d!=0||n!=0)&&(f=!0,rt[G].pid=setInterval((function(){r&&this.layer===0&&Ce.active._onTouchMove(js);var p=rt[this.layer].vy?rt[this.layer].vy*y:0,Q=rt[this.layer].vx?rt[this.layer].vx*y:0;typeof x=="function"&&x.call(Ce.dragged.parentNode[Gt],Q,p,i,js,rt[this.layer].el)!=="continue"||Vu(rt[this.layer].el,Q,p)}).bind({layer:G}),24))),G++}while(A.bubbleScroll&&K!==S&&(K=Yn(K,!1)));Xa=f}},30),gd=function(A){var e=A.originalEvent,r=A.putSortable,m=A.dragEl,b=A.activeSortable,l=A.dispatchSortableEvent,y=A.hideGhostForTarget,S=A.unhideGhostForTarget;if(e){var f=r||b;y();var x=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,G=document.elementFromPoint(x.clientX,x.clientY);S(),f&&!f.el.contains(G)&&(l("spill"),this.onSpill({dragEl:m,putSortable:r}))}};function tl(){}tl.prototype={startIndex:null,dragStart:function(A){var e=A.oldDraggableIndex;this.startIndex=e},onSpill:function(A){var e=A.dragEl,r=A.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var m=Gi(this.sortable.el,this.startIndex,this.options);m?this.sortable.el.insertBefore(e,m):this.sortable.el.appendChild(e),this.sortable.animateAll(),r&&r.animateAll()},drop:gd},bn(tl,{pluginName:"revertOnSpill"});function nl(){}nl.prototype={onSpill:function(A){var e=A.dragEl,r=A.putSortable,m=r||this.sortable;m.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),m.animateAll()},drop:gd},bn(nl,{pluginName:"removeOnSpill"}),Ce.mount(new Tb),Ce.mount(nl,tl);var Ob=Object.defineProperty,Jb=Object.defineProperties,$b=Object.getOwnPropertyDescriptors,cd=Object.getOwnPropertySymbols,Zb=Object.prototype.hasOwnProperty,zb=Object.prototype.propertyIsEnumerable,ud=(i,A,e)=>A in i?Ob(i,A,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[A]=e,Jn=(i,A)=>{for(var e in A||(A={}))Zb.call(A,e)&&ud(i,e,A[e]);if(cd)for(var e of cd(A))zb.call(A,e)&&ud(i,e,A[e]);return i},Xs=(i,A)=>Jb(i,$b(A));function il(i){i.parentElement!==null&&i.parentElement.removeChild(i)}function dd(i,A,e){const r=e===0?i.children[0]:i.children[e-1].nextSibling;i.insertBefore(A,r)}function Wb(){return typeof window<"u"?window.console:global.console}const jb=Wb();function qb(i){const A=Object.create(null);return function(r){return A[r]||(A[r]=i(r))}}const Xb=/-(\w)/g,Vb=qb(i=>i.replace(Xb,(A,e)=>e.toUpperCase())),hd=["Start","Add","Remove","Update","End"],Bd=["Choose","Unchoose","Sort","Filter","Clone"],Cd=["Move"],Ay=[Cd,hd,Bd].flatMap(i=>i).map(i=>`on${i}`),ol={manage:Cd,manageAndEmit:hd,emit:Bd};function ey(i){return Ay.indexOf(i)!==-1}const ty=["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 ny(i){return ty.includes(i)}function iy(i){return["transition-group","TransitionGroup"].includes(i)}function pd(i){return["id","class","role","style"].includes(i)||i.startsWith("data-")||i.startsWith("aria-")||i.startsWith("on")}function Qd(i){return i.reduce((A,[e,r])=>(A[e]=r,A),{})}function oy({$attrs:i,componentData:A={}}){const e=Qd(Object.entries(i).filter(([r,m])=>pd(r)));return Jn(Jn({},e),A)}function sy({$attrs:i,callBackBuilder:A}){const e=Qd(Ed(i));Object.entries(A).forEach(([m,b])=>{ol[m].forEach(l=>{e[`on${l}`]=b(l)})});const r=`[data-draggable]${e.draggable||""}`;return Xs(Jn({},e),{draggable:r})}function Ed(i){return Object.entries(i).filter(([A,e])=>!pd(A)).map(([A,e])=>[Vb(A),e]).filter(([A,e])=>!ey(A))}const Id=i=>{const A=i.el||Array.isArray(i.children)&&i.children[0].el.parentNode;return A||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),A||{}},ry=(i,A)=>i.__draggable_context=A,md=i=>i.__draggable_context;class ay{constructor({nodes:{header:A,default:e,footer:r},root:m,realList:b}){this.defaultNodes=e,this.children=[...A,...e,...r],this.externalComponent=m.externalComponent,this.rootTransition=m.transition,this.tag=m.tag,this.realList=b}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(A,e){const{tag:r,children:m,_isRootComponent:b}=this;return A(r,e,b?{default:()=>m}:m)}updated(){const{defaultNodes:A,realList:e}=this;A.forEach((r,m)=>{ry(Id(r),{element:e[m],index:m})})}getUnderlyingVm(A){return md(A)}getVmIndexFromDomIndex(A,e){const{defaultNodes:r}=this,{length:m}=r,b=e.children,l=b.item(A);if(l===null)return m;const y=md(l);if(y)return y.index;if(m===0)return 0;const S=Id(r[0]),f=[...b].findIndex(x=>x===S);return A<f?0:m}}function ly(i,A){const e=i[A];return e?e():[]}function gy({$slots:i,realList:A,getKey:e}){const r=A||[],[m,b]=["header","footer"].map(S=>ly(i,S)),{item:l}=i;if(!l)throw new Error("draggable element must have an item slot");const y=r.flatMap((S,f)=>l({element:S,index:f}).map(x=>(x.key=e(S),x.props=Xs(Jn({},x.props||{}),{"data-draggable":!0}),x)));if(y.length!==r.length)throw new Error("Item slot must have only one child");return{header:m,footer:b,default:y}}function cy(i){const A=iy(i),e=!ny(i)&&!A;return{transition:A,externalComponent:e,tag:e?c.resolveComponent(i):A?c.TransitionGroup:i}}function uy({$slots:i,tag:A,realList:e,getKey:r}){const m=gy({$slots:i,realList:e,getKey:r}),b=cy(A);return new ay({nodes:m,root:b,realList:e})}function fd(i,A){c.nextTick(()=>this.$emit(i.toLowerCase(),A))}function wd(i){return(A,e)=>{if(this.realList!==null)return this[`onDrag${i}`](A,e)}}function dy(i){const A=wd.call(this,i);return(e,r)=>{A.call(this,e,r),fd.call(this,i,e)}}let sl=null;const hy={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:i=>i},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},By=["update:modelValue","change",...[...ol.manageAndEmit,...ol.emit].map(i=>i.toLowerCase())],Dd=c.defineComponent({name:"draggable",inheritAttrs:!1,props:hy,emits:By,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:i,$attrs:A,tag:e,componentData:r,realList:m,getKey:b}=this,l=uy({$slots:i,tag:e,realList:m,getKey:b});this.componentStructure=l;const y=oy({$attrs:A,componentData:r});return l.render(c.h,y)}catch(i){return this.error=!0,c.h("pre",{style:{color:"red"}},i.stack)}},created(){this.list!==null&&this.modelValue!==null&&jb.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:i,$el:A,componentStructure:e}=this;e.updated();const r=sy({$attrs:i,callBackBuilder:{manageAndEmit:b=>dy.call(this,b),emit:b=>fd.bind(this,b),manage:b=>wd.call(this,b)}}),m=A.nodeType===1?A:A.parentElement;this._sortable=new Ce(m,r),this.targetDomElement=m,m.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:i}=this;return i||this.modelValue},getKey(){const{itemKey:i}=this;return typeof i=="function"?i:A=>A[i]}},watch:{$attrs:{handler(i){const{_sortable:A}=this;A&&Ed(i).forEach(([e,r])=>{A.option(e,r)})},deep:!0}},methods:{getUnderlyingVm(i){return this.componentStructure.getUnderlyingVm(i)||null},getUnderlyingPotencialDraggableComponent(i){return i.__draggable_component__},emitChanges(i){c.nextTick(()=>this.$emit("change",i))},alterList(i){if(this.list){i(this.list);return}const A=[...this.modelValue];i(A),this.$emit("update:modelValue",A)},spliceList(){const i=A=>A.splice(...arguments);this.alterList(i)},updatePosition(i,A){const e=r=>r.splice(A,0,r.splice(i,1)[0]);this.alterList(e)},getRelatedContextFromMoveEvent({to:i,related:A}){const e=this.getUnderlyingPotencialDraggableComponent(i);if(!e)return{component:e};const r=e.realList,m={list:r,component:e};if(i!==A&&r){const b=e.getUnderlyingVm(A)||{};return Jn(Jn({},b),m)}return m},getVmIndexFromDomIndex(i){return this.componentStructure.getVmIndexFromDomIndex(i,this.targetDomElement)},onDragStart(i){this.context=this.getUnderlyingVm(i.item),i.item._underlying_vm_=this.clone(this.context.element),sl=i.item},onDragAdd(i){const A=i.item._underlying_vm_;if(A===void 0)return;il(i.item);const e=this.getVmIndexFromDomIndex(i.newIndex);this.spliceList(e,0,A);const r={element:A,newIndex:e};this.emitChanges({added:r})},onDragRemove(i){if(dd(this.$el,i.item,i.oldIndex),i.pullMode==="clone"){il(i.clone);return}const{index:A,element:e}=this.context;this.spliceList(A,1);const r={element:e,oldIndex:A};this.emitChanges({removed:r})},onDragUpdate(i){il(i.item),dd(i.from,i.item,i.oldIndex);const A=this.context.index,e=this.getVmIndexFromDomIndex(i.newIndex);this.updatePosition(A,e);const r={element:this.context.element,oldIndex:A,newIndex:e};this.emitChanges({moved:r})},computeFutureIndex(i,A){if(!i.element)return 0;const e=[...A.to.children].filter(l=>l.style.display!=="none"),r=e.indexOf(A.related),m=i.component.getVmIndexFromDomIndex(r);return e.indexOf(sl)!==-1||!A.willInsertAfter?m:m+1},onDragMove(i,A){const{move:e,realList:r}=this;if(!e||!r)return!0;const m=this.getRelatedContextFromMoveEvent(i),b=this.computeFutureIndex(m,i),l=Xs(Jn({},this.context),{futureIndex:b}),y=Xs(Jn({},i),{relatedContext:m,draggedContext:l});return e(y,A)},onDragEnd(){sl=null}}}),Yi=c.defineComponent({__name:"FormItem",props:{label:{},name:{},component:{},required:{type:Boolean},props:{},initialValue:{},help:{},children:{},hidden:{type:[Boolean,String]},hideLabel:{type:Boolean},designKey:{},rules:{},class:{},style:{},change:{},dialog:{type:Boolean},width:{}},setup(i){const A=i,e=ot(),r=Mi(),m=c.reactive({visible:!1,title:""}),b=()=>{m.visible=!0,m.title=A.label},l=c.computed({get(){return ro(e.formValues,A.name)},set(x){const G=bi(e.formValues,A.name,x);e.updateFormValues(G)}}),y=c.computed(()=>{const{rules:x,required:G,component:K}=A,j=[];if(G&&j.push({required:!0,trigger:"blur",message:"Required"}),x){const Y=x.map(U=>{const{type:_,message:I,trigger:R,customReg:D,templateExp:w}=U,C={message:I,trigger:R};return["email","url"].includes(_)?{...C,type:_}:_==="custom"&&D?{...C,pattern:VB(D)}:XB(_)?{...C,pattern:_}:_==="template"?{...C,validator:()=>w}:{}});return[...j,...Y]}if(K==="VerifyCode"){const Y={trigger:"blur",message:"验证码错误!",validator:()=>e.vCodePass};return[...j,Y]}return j}),S=c.computed(()=>{const x=r[A.component]||{};return x.modelName||(x.modelName="modelValue"),x}),f=c.computed(()=>{const x={name:A.name,...A.props};return A.children&&(x.children=A.children),x});return c.onBeforeMount(()=>{if(l.value===void 0&&A.initialValue!==void 0&&!e.design){const x=bi(e.initialValues,A.name,A.initialValue);e.updateInitialValues(x),l.value=A.initialValue}}),c.watch(l,(x,G)=>{const K=A.change,j=$e.isEqual(x,G);if(!K||j)return;let Y=$e.cloneDeep(e.formValues);K.forEach(({target:U,value:_,condition:I})=>{if(I!==!1){if(U.includes(".*.")){const R=U.split(".*."),D=R.pop(),w=R.join("."),C=ro(e.formValues,w);$e.isArray(C)&&(Y=bi(Y,w,C.map(h=>({...h,[D]:_}))));return}Y=bi(Y,U,_)}}),e.updateFormValues(Y)},{immediate:!0}),(x,G)=>{const K=c.resolveComponent("el-tooltip"),j=c.resolveComponent("el-dialog"),Y=c.resolveComponent("el-button"),U=c.resolveComponent("el-form-item");return c.unref(e).design||!x.hidden?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[S.value.type==="layout"||S.value.type==="assist"?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass([A.class]),style:c.normalizeStyle(x.style)},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(S.value.render),c.normalizeProps(c.guardReactiveProps(f.value)),null,16))],6)):(c.openBlock(),c.createBlock(U,{class:c.normalizeClass([c.unref(ke)("form-item"),A.class,`${x.component}-${x.name}`]),style:c.normalizeStyle(x.style),key:x.name,prop:x.name,"label-width":x.hideLabel?"0":c.unref(e).schema.labelWidth,rules:y.value},c.createSlots({default:c.withCtx(()=>[x.dialog?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createVNode(j,{modelValue:m.visible,"onUpdate:modelValue":G[1]||(G[1]=_=>m.visible=_),title:m.title,width:"70%",center:"","destroy-on-close":""},{default:c.withCtx(()=>[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(S.value.render),c.mergeProps({disabled:c.unref(e).schema.disabled,size:c.unref(e).schema.size},f.value,{[S.value.modelName]:l.value,["onUpdate:"+S.value.modelName]:G[0]||(G[0]=_=>l.value=_)}),null,16,["disabled","size"]))]),_:1},8,["modelValue","title"]),c.createVNode(Y,{type:"primary",plain:"",onClick:b},{default:c.withCtx(()=>G[3]||(G[3]=[c.createTextVNode("配置")])),_:1})],64)):(c.openBlock(),c.createBlock(c.resolveDynamicComponent(S.value.render),c.mergeProps({key:1,disabled:c.unref(e).schema.disabled,size:c.unref(e).schema.size},f.value,{[S.value.modelName]:l.value,["onUpdate:"+S.value.modelName]:G[2]||(G[2]=_=>l.value=_)}),null,16,["disabled","size"]))]),_:2},[x.hideLabel?void 0:{name:"label",fn:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass([c.unref(ke)("form-item-label"),x.label&&`${x.name}-label`])},[c.createElementVNode("div",{style:c.normalizeStyle(c.unref(e).schema.labelBold&&"font-weight: bold")},c.toDisplayString(x.label),5),x.help?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(c.unref(ke)("form-item-label-ico"))},[c.createVNode(K,{effect:"dark",content:x.help},{default:c.withCtx(()=>[c.createElementVNode("div",null,[c.createVNode(c.unref(ge),{name:"help"})])]),_:1},8,["content"])],2)):c.createCommentVNode("",!0),c.unref(e).schema.labelSuffix?(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(c.unref(ke)("form-item-label-suffix"))},c.toDisplayString(c.unref(e).schema.labelSuffix),3)):c.createCommentVNode("",!0)],2)]),key:"0"}]),1032,["class","style","prop","label-width","rules"]))],64)):c.createCommentVNode("",!0)}}}),Cy={key:0,class:"actions-lt"},py={class:"canvas-move",size:"small",type:"primary"},Qy={key:1,class:"hidden-ico"},Ey={key:2,class:"actions-rb"},Iy=["onClick"],my={key:3,class:"layout-title"},fy=c.defineComponent({__name:"CanvasItem",props:{data:{}},setup(i){const A=i,e=$t(),m=Mi()[A.data.component],b=c.computed(()=>{var K;return{[ke("canvas-item")]:!0,active:A.data.designKey===((K=e.current)==null?void 0:K.designKey),hover:A.data.designKey===e.hoverKey,mask:A.data.designKey===e.hoverKey&&!A.data.children,collapse:f.value}}),l=()=>{A.data.designKey&&e.updateHoverKey(A.data.designKey)},y=()=>{e.updateHoverKey("")},S=K=>{e.updateCurrent(K),e.rightTab="attr"},f=c.ref(!1),x=()=>{f.value=!f.value},G=[{icon:"copy",handle:K=>{const j=Nc(e.list,K.designKey);e.updateList(j)}},{icon:"delete",bg:"var(--el-color-danger)",handle:K=>{const j=Ig(e.list,Y=>Y.designKey!==K.designKey);e.updateList(j)}}];return(K,j)=>{var Y,U;return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(b.value),onClick:j[0]||(j[0]=c.withModifiers(_=>S(K.data),["stop"])),onMousemove:c.withModifiers(l,["stop"]),onMouseleave:c.withModifiers(y,["stop"])},[K.data.designKey===((Y=c.unref(e).current)==null?void 0:Y.designKey)?(c.openBlock(),c.createElementBlock("div",Cy,[c.createElementVNode("div",py,[c.createVNode(c.unref(ge),{name:"move"})]),c.createElementVNode("div",{class:"canvas-collapse",size:"small",type:"primary",onClick:x},[c.createVNode(c.unref(ge),{name:"select"})])])):c.createCommentVNode("",!0),K.data.hidden?(c.openBlock(),c.createElementBlock("div",Qy,[c.createVNode(c.unref(ge),{name:"hidden"})])):c.createCommentVNode("",!0),K.data.designKey===((U=c.unref(e).current)==null?void 0:U.designKey)?(c.openBlock(),c.createElementBlock("ul",Ey,[(c.openBlock(),c.createElementBlock(c.Fragment,null,c.renderList(G,({icon:_,handle:I,bg:R})=>c.createElementVNode("li",{class:"actions-rb-item",onClick:c.withModifiers(D=>I(K.data),["stop"]),key:_,style:c.normalizeStyle({backgroundColor:R})},[c.createVNode(c.unref(ge),{name:_},null,8,["name"])],12,Iy)),64))])):c.createCommentVNode("",!0),c.unref(m).lbTitle?(c.openBlock(),c.createElementBlock("div",my,c.toDisplayString(c.unref(m).title),1)):c.createCommentVNode("",!0),c.createVNode(Yi,c.mergeProps(K.data,{props:K.data.props}),null,16,["props"])],34)}}}),rl=c.defineComponent({__name:"CanvasGroup",props:{list:{},style:{},class:{},emptyText:{default:"请拖入子字段"},emptySize:{default:12}},setup(i){const A=i,e=$t(),r=m=>{const b=m.item._underlying_vm_;e.updateCurrent(da(e.list,b.designKey)),e.hoverKey=b.designKey,e.rightTab="attr",e.handleEmit("add",b)};return(m,b)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("canvas-group")),style:c.normalizeStyle({overflow:m.list.length?"auto":"hidden"})},[m.list.length?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(c.unref(ke)("canvas-group-empty")),style:c.normalizeStyle({fontSize:m.emptySize+"px"})},[c.createElementVNode("div",{class:c.normalizeClass(c.unref(ke)("canvas-group-empty-ico"))},[c.createVNode(c.unref(ge),{name:"add"})],2),c.createElementVNode("p",null,c.toDisplayString(m.emptyText),1)],6)),c.createVNode(c.unref(Dd),{list:m.list,group:"formDesign",itemKey:"name","ghost-class":c.unref(ke)("canvas-group-ghost"),class:c.normalizeClass([c.unref(ke)("canvas-group-draggable"),A.class]),style:c.normalizeStyle(m.style),animation:300,handle:".canvas-move","force-fallback":"",onAdd:r},{item:c.withCtx(({element:l})=>[l.designKey?(c.openBlock(),c.createBlock(fy,{key:0,data:l},null,8,["data"])):c.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),wy={key:1},Ti=c.defineComponent({__name:"FormItemGroup",props:{list:{}},setup(i){const A=ot();return(e,r)=>c.unref(A).design?(c.openBlock(),c.createBlock(rl,{key:0,list:e.list},null,8,["list"])):(c.openBlock(),c.createElementBlock("div",wy,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.list,m=>(c.openBlock(),c.createBlock(Yi,c.mergeProps({key:m.name,ref_for:!0},m),null,16))),128))]))}}),Pt=c.defineComponent({__name:"index",props:c.mergeModels({schema:{},schemaContext:{},design:{type:Boolean},footer:{type:Boolean},read:{type:Boolean},pageRulePath:{}},{modelValue:{default:{}},modelModifiers:{},schema:{default:c.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},schemaModifiers:{}}),emits:c.mergeModels(["finish","failed","reset"],["update:modelValue","update:schema"]),setup(i,{expose:A,emit:e}){const r=i,m=c.computed(()=>r.schema.rulePath||r.pageRulePath),b=c.inject("ruleMap",{});m.value&&c.provide("ruleModule",b[m.value]);const l=e,y=c.ref(),S=c.useModel(i,"modelValue"),f=c.useModel(i,"schema"),x=c.computed({get(){return r.design?f.value.items:es(r.schema.items||[],U.value)},set(o){f.value.items=o}}),G=c.reactive({}),K=c.reactive({}),j=c.ref(!1),Y=Un(),U=c.computed(()=>({...r.schemaContext,$values:S.value,$selectData:G,$locale:Y.value}));c.onMounted(()=>{var o,u;if((o=r.schema)!=null&&o.initialValues){const d=$e.cloneDeep((u=r.schema)==null?void 0:u.initialValues);S.value=$e.mergeWith(d,S.value,(n,t)=>{if(Array.isArray(n))return t})}});const _=()=>{var o;return(o=y.value)==null?void 0:o.validate()},I=o=>{f.value.disabled=o},R=()=>{var o;(o=_())==null||o.then(()=>{l("finish",S.value)}).catch(u=>{l("failed",u)})},D=o=>{if(l("reset"),o){let u=$e.cloneDeep(S.value);o.forEach(d=>{u=bi(u,d,ro(K,d))}),S.value=u}else S.value=K},w=(o,u=!0)=>{u?Object.assign(S.value,o):S.value=o},C=(o,u)=>{G[o]=u},h=o=>{Object.assign(K,o)},B=o=>{j.value=o},s=(o,u)=>{for(const d of o){if(d.name===u)return d;if(d.children&&d.children.length>0){const n=s(d.children,u);if(n)return n}}return null},g=c.reactive({...c.toRefs(r),formValues:S,selectData:G,initialValues:K,context:U,vCodePass:j,updateFormValues:w,updateSelectData:C,updateInitialValues:h,updateVCodePass:B,validate:_,resetFields:D,submit:R,setDisabled:I,findItemByName:s,type:"form"});return c.provide(_c,g),A(g),(o,u)=>{const d=c.resolveComponent("el-form");return f.value.hidden?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(d,c.mergeProps({key:0,model:S.value,"label-position":f.value.labelPosition,size:f.value.size,"hide-required-asterisk":f.value.hideRequiredAsterisk,"scroll-to-error":f.value.scrollToError,ref_key:"formRef",ref:y},o.$attrs),{default:c.withCtx(()=>[c.renderSlot(o.$slots,"default"),c.createVNode(c.unref(Ti),{list:x.value,"empty-text":c.unref(Y).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"]),c.createVNode(Of)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))}}}),Dy=({elements:i,lang:A,omits:e})=>{const r=l=>Object.values(i).filter(y=>y.type===l&&!e.includes(y.component)).sort((y,S)=>y.order-S.order).map(y=>({...y,title:A==="zh"?y.title:y.component})),m=Sc[A];return[{title:m.menus.basicTitle,children:r("basic")},{title:m.menus.highTitle,children:r("high")},{title:m.menus.layoutTitle,children:r("layout")},{title:m.menus.assistTitle,children:r("assist")}]},by=c.defineComponent({__name:"index",setup(i){var x;const A=c.ref(!1),e=$t(),r=Mi(),m=Un(),b=ha(),l=(x=e.templates)!=null&&x.length?e.templates:Bp,y=c.computed(()=>Dy({elements:r,omits:e.omitMenus||[],lang:b.value})),S=G=>{e.updateSchema(G)},f=G=>{const K={component:G.component,designKey:`design-${Pn(4)}`,name:`form-${Pn(4)}`};return G.type==="layout"&&(K.children=[]),K};return(G,K)=>{const j=c.resolveComponent("el-button"),Y=c.resolveComponent("el-space"),U=c.resolveComponent("el-drawer");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("form-design-left")),style:c.normalizeStyle({overflow:A.value?"hidden":"auto"})},[c.createElementVNode("div",{class:c.normalizeClass(c.unref(ke)("template"))},[c.createVNode(j,{class:c.normalizeClass(c.unref(ke)("template-button")),size:"small",onClick:K[0]||(K[0]=_=>A.value=!0)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(c.unref(m).menus.useTemplateBtn),1)]),_:1},8,["class"]),c.createVNode(U,{modelValue:A.value,"onUpdate:modelValue":K[1]||(K[1]=_=>A.value=_),title:"模板列表",size:"70%",class:c.normalizeClass(c.unref(ke)("template-drawer")),"append-to-body":!1},{default:c.withCtx(()=>[c.createVNode(Y,{wrap:"",direction:"vertical",alignment:"start"},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(l),({name:_,schema:I})=>(c.openBlock(),c.createBlock(j,{key:_,onClick:R=>S(I)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(_),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","class"])],2),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(y.value,({title:_,children:I})=>(c.openBlock(),c.createElementBlock("div",{key:_,class:c.normalizeClass(c.unref(ke)("menu"))},[c.createElementVNode("h4",{class:c.normalizeClass(c.unref(ke)("menu-title"))},c.toDisplayString(_),3),c.createVNode(c.unref(Dd),{class:c.normalizeClass(c.unref(ke)("menu-list")),list:I,group:{name:"formDesign",pull:"clone",put:!1},sort:!1,"ghost-class":c.unref(ke)("menu-list-ghost"),"drag-class":c.unref(ke)("menu-list-drag"),"fallback-class":c.unref(ke)("menu-list-fallback"),"item-key":"designKey",clone:f},{item:c.withCtx(({element:R})=>[c.createElementVNode("li",{class:c.normalizeClass(c.unref(ke)("menu-list-item"))},[c.createElementVNode("div",{class:c.normalizeClass(c.unref(ke)("menu-list-item-ico"))},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(R.icon),{class:"ico-content"}))],2),c.createElementVNode("div",{class:c.normalizeClass(c.unref(ke)("menu-list-item-name")),style:c.normalizeStyle({fontSize:c.unref(b)==="zh"?"12px":"10px"})},c.toDisplayString(R.title),7)],2)]),_:2},1032,["class","list","ghost-class","drag-class","fallback-class"])],2))),128))],6)}}}),yy=i=>`<template>
97
97
  <FormRender v-model="formValues" :schema="schema" ref="formRef" />
98
98
  <el-button @click="handleSubmit">提交</el-button>
99
99
  </template>
@@ -177,7 +177,7 @@ const handleSubmit = async () => {
177
177
  ]
178
178
  }`,_y=i=>`import type { FormSchema } from "asiaint-lowcode";
179
179
 
180
- export default ${JSON.stringify(i,null,2)} satisfies FormSchema`,My=i=>`export default ${JSON.stringify(i,null,2)}`,Sy=c.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(i){var f;const A=$t(),e=Un(),m=(f=Mi().JsonEdit)==null?void 0:f.render,b=c.computed({get(){return A.schema},set(x){x.items&&A.updateSchema(x)}}),l=c.ref({}),y=c.useModel(i,"modelValue"),S=x=>{A.updateSchema({...A.schema,items:Rc(A.schema.items)}),x.repair()};return(x,G)=>{const K=c.resolveComponent("el-tab-pane"),j=c.resolveComponent("el-tabs"),Y=c.resolveComponent("el-dialog");return c.openBlock(),c.createBlock(Y,{modelValue:y.value,"onUpdate:modelValue":G[1]||(G[1]=U=>y.value=U),title:c.unref(e).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:G[2]||(G[2]=U=>l.value={})},{default:c.withCtx(()=>[c.createVNode(j,{"model-value":"edit",class:"demo-tabs"},{default:c.withCtx(()=>[c.createVNode(K,{label:"在线编辑",name:"edit"},{default:c.withCtx(()=>[c.createVNode(c.unref(m),{modelValue:b.value,"onUpdate:modelValue":G[0]||(G[0]=U=>b.value=U),style:{height:"70vh"},onBlur:S},null,8,["modelValue"])]),_:1}),c.createVNode(K,{label:"生成ts文件",name:"ts"},{default:c.withCtx(()=>[c.createVNode(c.unref(bo),{style:{height:"70vh"},language:"ts",code:c.unref(_y)(b.value)},null,8,["code"])]),_:1}),c.createVNode(K,{label:"生成js文件",name:"js"},{default:c.withCtx(()=>[c.createVNode(c.unref(bo),{style:{height:"70vh"},language:"js",code:c.unref(My)(b.value)},null,8,["code"])]),_:1}),c.createVNode(K,{label:"帮助",name:"help"},{default:c.withCtx(()=>[c.createVNode(c.unref(bo),{style:{height:"70vh"},language:"json",code:c.unref(ky)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),xy=c.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=$t(),e=Un(),r=c.useModel(i,"modelValue");return(m,b)=>{const l=c.resolveComponent("el-tab-pane"),y=c.resolveComponent("el-tabs"),S=c.resolveComponent("el-dialog");return c.openBlock(),c.createBlock(S,{modelValue:r.value,"onUpdate:modelValue":b[0]||(b[0]=f=>r.value=f),title:c.unref(e).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:c.withCtx(()=>[c.createVNode(y,{"model-value":"ts",class:"demo-tabs"},{default:c.withCtx(()=>[c.createVNode(l,{label:"Typescript",name:"ts"},{default:c.withCtx(()=>[c.createVNode(c.unref(bo),{style:{height:"70vh"},code:c.unref(yy)(c.unref(A).schema),language:"vue"},null,8,["code"])]),_:1}),c.createVNode(l,{label:"Javascript",name:"js"},{default:c.withCtx(()=>[c.createVNode(c.unref(bo),{style:{height:"70vh"},code:c.unref(vy)(c.unref(A).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),Fy={style:{"text-align":"center"}},Ny=ee(c.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=$t(),{JsonEdit:e}=Mi(),r=c.ref("edit"),m=c.ref(),b=c.ref({}),l=c.useModel(i,"modelValue"),y=c.computed(()=>{var G;return(G=m.value)==null?void 0:G.context}),S=Un(),f=async()=>{var G;await((G=m.value)==null?void 0:G.validate()),alert(JSON.stringify(b.value,null,2))},x=async()=>{var G;(G=m.value)==null||G.resetFields()};return(G,K)=>{const j=c.resolveComponent("el-button"),Y=c.resolveComponent("el-tab-pane"),U=c.resolveComponent("el-tabs"),_=c.resolveComponent("el-dialog");return c.openBlock(),c.createBlock(_,{modelValue:l.value,"onUpdate:modelValue":K[4]||(K[4]=I=>l.value=I),title:c.unref(S).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:K[5]||(K[5]=I=>b.value={})},{default:c.withCtx(()=>[c.createVNode(U,{modelValue:r.value,"onUpdate:modelValue":K[3]||(K[3]=I=>r.value=I)},{default:c.withCtx(()=>[c.createVNode(Y,{label:"编辑模式",name:"edit"},{default:c.withCtx(()=>[c.createVNode(c.unref(Pt),{modelValue:b.value,"onUpdate:modelValue":K[0]||(K[0]=I=>b.value=I),schema:c.unref(A).schema,ref_key:"formRef",ref:m,schemaContext:c.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"]),c.createElementVNode("div",Fy,[c.createVNode(j,{onClick:f,type:"primary"},{default:c.withCtx(()=>K[6]||(K[6]=[c.createTextVNode("模拟提交")])),_:1}),c.createVNode(j,{onClick:x,type:"primary",plain:""},{default:c.withCtx(()=>K[7]||(K[7]=[c.createTextVNode("重置")])),_:1})])]),_:1}),c.createVNode(Y,{label:"阅读模式",name:"read",lazy:""},{default:c.withCtx(()=>[c.createVNode(c.unref(Pt),{modelValue:b.value,"onUpdate:modelValue":K[1]||(K[1]=I=>b.value=I),schema:{...c.unref(A).schema,labelSuffix:":"},schemaContext:c.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),c.createVNode(Y,{label:"联动变量",name:"context"},{default:c.withCtx(()=>[K[8]||(K[8]=c.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(c.openBlock(),c.createBlock(c.unref(e).render,{modelValue:y.value,"onUpdate:modelValue":K[2]||(K[2]=I=>y.value=I),style:{height:"60vh"},key:r.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-1bcfb7d6"]]),Ry=c.defineComponent({__name:"ChangeLang",setup(i){const A=c.inject("asiaint-lang");return(e,r)=>{const m=c.resolveComponent("el-option"),b=c.resolveComponent("el-select");return c.openBlock(),c.createBlock(b,{modelValue:c.unref(A),"onUpdate:modelValue":r[0]||(r[0]=l=>c.isRef(A)?A.value=l:null),size:"small"},{default:c.withCtx(()=>[c.createVNode(m,{label:"中文",value:"zh"}),c.createVNode(m,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),Ly=c.defineComponent({__name:"index",setup(i){const A=$t(),e=Un(),r=c.ref(!1),m=c.ref(!1),b=c.ref(!1),l=c.computed(()=>[{label:e.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{r.value=!0}},{label:e.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{m.value=!0}},{label:e.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{b.value=!0}}]),y=c.computed(()=>[{label:e.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await hn.ElMessageBox.confirm("确认清空当前设计吗?"),A.updateSchema({...A.schema,items:[]})}},{label:e.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{A.handleEmit("save"),A.handleEmit("onSave")}}]);return(S,f)=>{const x=c.resolveComponent("el-button");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("actions"))},[c.createElementVNode("div",{class:c.normalizeClass(c.unref(ke)("actions-left"))},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(l.value,G=>(c.openBlock(),c.createBlock(x,{key:G.label,type:G.btnType,size:"small",onClick:G.onClick},c.createSlots({default:c.withCtx(()=>[c.createTextVNode(" "+c.toDisplayString(G.label),1)]),_:2},[G.icon?{name:"icon",fn:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:G.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),c.createVNode(Ry,{class:c.normalizeClass(c.unref(ke)("actions-left-lang"))},null,8,["class"])],2),c.createElementVNode("div",{class:c.normalizeClass(c.unref(ke)("actions-right"))},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(y.value,({label:G,btnType:K,icon:j,onClick:Y})=>(c.openBlock(),c.createBlock(x,{key:G,type:K,size:"small",onClick:Y},c.createSlots({default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(G),1)]),_:2},[j?{name:"icon",fn:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:j},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),c.createVNode(Sy,{modelValue:r.value,"onUpdate:modelValue":f[0]||(f[0]=G=>r.value=G)},null,8,["modelValue"]),c.createVNode(xy,{modelValue:m.value,"onUpdate:modelValue":f[1]||(f[1]=G=>m.value=G)},null,8,["modelValue"]),c.createVNode(Ny,{modelValue:b.value,"onUpdate:modelValue":f[2]||(f[2]=G=>b.value=G),"schema-context":c.unref(A).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),Gy=c.defineComponent({__name:"index",setup(i){const A=$t();return(e,r)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("form-design-center"))},[c.createVNode(Ly),c.createVNode(c.unref(Pt),{class:c.normalizeClass(c.unref(ke)("canvas")),schema:c.unref(A).schema,"onUpdate:schema":r[0]||(r[0]=m=>c.unref(A).schema=m),design:""},null,8,["class","schema"])],2))}}),Hy=()=>({labelWidth:100,labelPosition:"top",items:[{hideLabel:!0,name:"change",component:"FormList",children:[{label:"目标字段",name:"target",component:"Input",help:"如果是自增组件内部联动,直接输入子组件的name。如果是外部联动自增组件,就是formlist.*.key"},{label:"触发条件",name:"condition",component:"Input",help:"必须输入一个模板表达式,当表达式结果为true时才触发联动。如果不设置,默认会一直触发"},{label:"值",name:"value",component:"Input",help:"支持模板表达式"}],props:{mode:"card",title:"联动字段"}}]}),Py=c.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=$t(),e=c.useModel(i,"modelValue");return(r,m)=>{const b=c.resolveComponent("el-dialog");return c.openBlock(),c.createBlock(b,{"destroy-on-close":"",modelValue:e.value,"onUpdate:modelValue":m[1]||(m[1]=l=>e.value=l),top:"3vh",title:"值联动"},{default:c.withCtx(()=>[c.createVNode(c.unref(Pt),{modelValue:c.unref(A).current,"onUpdate:modelValue":m[0]||(m[0]=l=>c.unref(A).current=l),schema:c.unref(Hy)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),Ky={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},Uy={class:"config-linkages"},Yy=ee(c.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=$t(),e=c.useModel(i,"modelValue");return c.ref({}),(r,m)=>{var l;const b=c.resolveComponent("el-dialog");return c.openBlock(),c.createBlock(b,{"destroy-on-close":"",modelValue:e.value,"onUpdate:modelValue":m[1]||(m[1]=y=>e.value=y),top:"3vh",title:`${(l=c.unref(A).current)==null?void 0:l.label} - 配置级联动`,width:"70vw",center:""},{default:c.withCtx(()=>[c.createElementVNode("div",Uy,[c.createVNode(c.unref(Pt),{modelValue:c.unref(A).current,"onUpdate:modelValue":m[0]||(m[0]=y=>c.unref(A).current=y),schema:c.unref(Ky),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-094ed7f6"]]),Ty=c.defineComponent({__name:"index",setup(i){const A=Un(),e=c.ref(!1),r=c.ref(!1),m=c.computed(()=>[{title:A.value.attr.tab1.linkage.action1,onClick:()=>{e.value=!0}},{title:A.value.attr.tab1.linkage.action2,onClick:()=>{r.value=!0}}]);return(b,l)=>{const y=c.resolveComponent("el-divider"),S=c.resolveComponent("el-button");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("linkageConfig"))},[c.createVNode(y,null,{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(c.unref(A).attr.tab1.linkage.text),1)]),_:1}),c.createElementVNode("div",{class:c.normalizeClass(c.unref(ke)("linkageConfig-btns"))},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(m.value,({title:f,onClick:x})=>(c.openBlock(),c.createBlock(S,{key:f,type:"primary",plain:"",size:"small",onClick:x},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(f),1)]),_:2},1032,["onClick"]))),128))],2),c.createVNode(Yy,{modelValue:e.value,"onUpdate:modelValue":l[0]||(l[0]=f=>e.value=f)},null,8,["modelValue"]),c.createVNode(Py,{modelValue:r.value,"onUpdate:modelValue":l[1]||(l[1]=f=>r.value=f)},null,8,["modelValue"])],2)}}}),Oy={labelWidth:60,labelPosition:"right",size:"small",items:[{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"}]},Jy={labelWidth:60,labelPosition:"top",size:"small",items:[{label:"ID",component:"Input",props:{placeholder:""},designKey:"form-0vQJ",name:"id"},{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"},{label:"背景色",component:"ColorInput",designKey:"form-YicU",name:"style.backgroundColor"},{label:"文字颜色",component:"ColorInput",designKey:"design-A2bj",name:"style.color"},{label:"缩放",component:"Slider",designKey:"design-A2sf",name:"style.transform",props:{min:50,max:150},initialValue:100,change:[{target:"style.transform",value:"{{ `scale(${$values.style.transform / 100 })` }}"}]},{children:[{label:"外间距",name:"margin",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.marginTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.marginBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.marginLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.marginRight"}]}]},{label:"内间距",name:"padding",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.paddingTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.paddingBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.paddingLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.paddingRight"}]}]}],props:{defaultKey:"margin",tabPosition:"top"},component:"Tabs",designKey:"design-WK8O",name:"form-e9YD"},{label:"自定义",component:"JsonEdit",designKey:"design-A2bj",name:"style"}]},$y={class:"more"},Zy=c.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=c.ref(!1);return(r,m)=>{const b=c.resolveComponent("el-divider"),l=c.resolveComponent("el-button"),y=c.resolveComponent("el-drawer");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("style-config"))},[c.createVNode(b,null,{default:c.withCtx(()=>m[4]||(m[4]=[c.createTextVNode("组件样式")])),_:1}),c.createVNode(c.unref(Pt),{modelValue:A.value,"onUpdate:modelValue":m[0]||(m[0]=S=>A.value=S),schema:c.unref(Oy),ref:"formRef"},null,8,["modelValue","schema"]),c.createElementVNode("div",$y,[c.createVNode(l,{type:"primary",plain:"",size:"small",onClick:m[1]||(m[1]=S=>e.value=!0)},{default:c.withCtx(()=>m[5]||(m[5]=[c.createTextVNode("自定义更多样式")])),_:1})]),c.createVNode(y,{modelValue:e.value,"onUpdate:modelValue":m[3]||(m[3]=S=>e.value=S),title:"组件样式"},{default:c.withCtx(()=>[c.createVNode(c.unref(Pt),{modelValue:A.value,"onUpdate:modelValue":m[2]||(m[2]=S=>A.value=S),schema:c.unref(Jy),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),zy=c.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=Mi(),e=ha(),r=c.useModel(i,"modelValue"),m=c.computed(()=>{const l=A[r.value.component];if(l!=null&&l.attrSchema){const y=(f=[])=>f.map(x=>{const G=ro(r.value,x.name),K=$e.isString(G)&&/^{{\s*(.*?)\s*}}$/.test(G);return{...x,label:e.value==="zh"?x.label:x.name.split(".").pop(),component:K?"Input":x.component,dialog:K||x.dialog,children:x.children&&y(x.children)}}),S=y(l.attrSchema.items);return{...l.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:l.title}},...S]}}return{size:"small",labelPosition:"top",items:[]}}),b=c.computed({get(){var l;return((l=r.value)==null?void 0:l.props)||{}},set(l){r.value=bi(r.value,"props",l)}});return(l,y)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("attr"))},[(c.openBlock(),c.createBlock(c.unref(Pt),{key:r.value.designKey,modelValue:r.value,"onUpdate:modelValue":y[0]||(y[0]=S=>r.value=S),schema:m.value},null,8,["modelValue","schema"])),(c.openBlock(),c.createBlock(Zy,{key:r.value.designKey,modelValue:b.value,"onUpdate:modelValue":y[1]||(y[1]=S=>b.value=S)},null,8,["modelValue"])),c.createVNode(Ty,{modelValue:r.value,"onUpdate:modelValue":y[2]||(y[2]=S=>r.value=S)},null,8,["modelValue"])],2))}}),Wy={size:"small",labelPosition:"top",items:[{label:"label宽度",component:"InputNumber",name:"labelWidth",props:{min:60,unit:"px",step:10},initialValue:150},{label:"label对齐方式",component:"Radio",name:"labelPosition",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居上",value:"top"},{label:"右对齐",value:"right"}]},initialValue:"right"},{label:"label后缀",component:"Input",name:"labelSuffix"},{label:"表单组件尺寸",component:"Radio",name:"size",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"较小",value:"small"},{label:"较大",value:"large"}]},initialValue:"default"},{label:"禁用整个表单",component:"Switch",name:"disabled"},{label:"隐藏必填星号",component:"Switch",name:"hideRequiredAsterisk"},{label:"label加粗",component:"Switch",name:"labelBold"},{label:"自动滚动到校验失败的第一项",component:"Switch",name:"scrollToError"},{label:"规则文件路径",component:"Input",name:"rulePath"},{label:"表单编码",component:"Input",name:"key"},{label:"数据对象",component:"Input",name:"dataModel"}]},jy=c.defineComponent({__name:"FormEdit",setup(i){const A=$t(),e=c.computed({get(){return A.schema},set(r){A.updateSchema(r)}});return(r,m)=>(c.openBlock(),c.createBlock(c.unref(Pt),{modelValue:e.value,"onUpdate:modelValue":m[0]||(m[0]=b=>e.value=b),schema:c.unref(Wy)},null,8,["modelValue","schema"]))}}),qy=c.defineComponent({__name:"index",setup(i){const A=Un(),e=$t();return c.watch(()=>e.current,r=>{r||(e.rightTab="form")}),(r,m)=>{const b=c.resolveComponent("el-tab-pane"),l=c.resolveComponent("el-tabs");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("form-design-right"))},[c.createVNode(l,{modelValue:c.unref(e).rightTab,"onUpdate:modelValue":m[1]||(m[1]=y=>c.unref(e).rightTab=y)},{default:c.withCtx(()=>[c.unref(e).current?(c.openBlock(),c.createBlock(b,{key:0,label:c.unref(A).attr.tab1.title,name:"attr"},{default:c.withCtx(()=>[c.createVNode(zy,{modelValue:c.unref(e).current,"onUpdate:modelValue":m[0]||(m[0]=y=>c.unref(e).current=y)},null,8,["modelValue"])]),_:1},8,["label"])):c.createCommentVNode("",!0),c.createVNode(b,{label:c.unref(A).attr.tab2.title,name:"form"},{default:c.withCtx(()=>[c.createVNode(jy)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),bd=c.defineComponent({__name:"index",props:c.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:c.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:c.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(i,{emit:A}){const e=i,r=A,m=c.ref(""),b=c.useModel(i,"modelValue"),l=c.computed({get(){return b.value.items},set(f){b.value.items=f}}),y=c.computed({get(){return da(l.value,m.value)},set(f){m.value=f.designKey,l.value=xc(l.value,f)}}),S=c.reactive({...c.toRefs(e),currentKey:m,hoverKey:"",schema:b,current:y,list:l,rightTab:"form",updateCurrent(f){S.current=f},updateHoverKey(f){S.hoverKey=f},updateSchema:f=>{Object.assign(b.value,f)},updateList:f=>{l.value=f},handleEmit:(f,x)=>{r(f,x)}});return c.provide(Mc,S),(f,x)=>(c.openBlock(),c.createElementBlock("div",c.mergeProps({class:c.unref(ke)("form-design")},f.$attrs),[c.createVNode(by),c.createVNode(Gy),c.createVNode(qy)],16))}}),Xy={key:0,class:"table-render"},Vy={class:"table-render-header-title"},Av={key:0,class:"pagination-wrapper"},al=ee(c.defineComponent({__name:"index",props:c.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(i,{expose:A}){const e=i,r=c.useModel(i,"schema"),m=c.computed(()=>r.value.rulePath||e.pageRulePath),b=c.inject("ruleMap",{}),l=c.inject("pageMethodMap",{});m.value&&c.provide("ruleModule",b[m.value]);const y=c.ref(),S=c.useModel(i,"modelValue"),f=($,q,z)=>{m.value&&b[m.value][$.onClick](l,q,z)},x=$=>{!r.value.rowClick||!m.value||b[m.value][r.value.rowClick](l,$)},G=$=>{!r.value.rowDbClick||!m.value||b[m.value][r.value.rowDbClick](l,$)},K=c.ref([]),j=$=>{K.value=$},Y=($,q,z)=>{S.value[$]&&(S.value[$][q]=z)},U=()=>{var $;($=y.value)==null||$.clearSelection()},_=()=>S.value,I=c.ref(),R=$=>{I.value=$,!(!r.value.handleCurrentChange||!m.value)&&b[m.value][r.value.handleCurrentChange](l,$)},D=()=>I.value,w=()=>{var $;return($=y.value)==null?void 0:$.getSelectionRows()},C=($={})=>{S.value.push($)},h=$=>{$>=0&&$<S.value.length&&S.value.splice($,1)},B=async()=>{S.value=[...S.value]},s=async()=>!0,g=$=>{S.value=$},o=c.ref(0),u=$=>{o.value=$},d=c.ref({pageNum:1,pageSize:10}),n=()=>d.value,t=$=>{let q=!1;return $.pageNum>-1&&(d.value.pageNum!==$.pageNum&&(q=!0),d.value.pageNum=$.pageNum),$.pageSize>-1&&(d.value.pageSize!==$.pageSize&&(q=!0),d.value.pageSize=$.pageSize),console.log("zytest---setPagination--",q),{pagination:d.value,isChange:q}},p=$=>{d.value.pageSize=$,!(!r.value.sizeChange||!m.value)&&b[m.value][r.value.sizeChange](l,d.value)},Q=$=>{d.value.pageNum=$,!(!r.value.pageChange||!m.value)&&b[m.value][r.value.pageChange](l,d.value)},M=($,q)=>!$.isHidden||!m.value?!0:!b[m.value][$.isHidden](l,q),k=$=>{var q;(q=y.value)==null||q.setCurrentRow($)},N=$=>{var q;(q=y.value)==null||q.setCurrentRow(S.value[$])},H=c.readonly({...c.toRefs(e),setCellData:Y,clearSelection:U,getData:_,getCurrentRow:D,getSelectedRows:w,addRow:C,deleteRow:h,refresh:B,validate:s,setData:g,selectRow:k,selectRowNum:N,setTotal:u,getPagination:n,setPagination:t,type:"table"});return A(H),($,q)=>{const z=c.resolveComponent("el-col"),T=c.resolveComponent("el-button"),W=c.resolveComponent("el-row"),v=c.resolveComponent("el-table-column"),Z=c.resolveComponent("el-pagination");return r.value.hidden?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",Xy,[c.createVNode(W,{class:"table-render-header",justify:"space-between",align:"middle"},{default:c.withCtx(()=>[c.createVNode(z,{span:12},{default:c.withCtx(()=>[c.createElementVNode("div",Vy,c.toDisplayString(r.value.label),1)]),_:1}),c.createVNode(z,{span:12},{default:c.withCtx(()=>[c.createVNode(W,{justify:"end"},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.value.topBtns,F=>(c.openBlock(),c.createBlock(T,{key:F.key,size:"small",type:F.type,onClick:X=>f(F)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(F.label),1)]),_:2},1032,["type","onClick"]))),128))]),_:1})]),_:1})]),_:1}),c.createVNode(c.unref(hn.ElTable),{ref_key:"tableRef",ref:y,data:S.value,stripe:"","highlight-current-row":r.value.highlightCurrentRow,"row-key":r.value.rowKey,onRowClick:x,onRowDblclick:G,onSelectionChange:j,onCurrentChange:R},{default:c.withCtx(()=>[r.value.multipleSelection?(c.openBlock(),c.createBlock(v,{key:0,type:"selection",width:"55"})):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.value.columns,F=>(c.openBlock(),c.createElementBlock(c.Fragment,{key:F.key},[F.hidden?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(v,{key:0,prop:F.key,label:F.label,"min-width":F.minWidth,fixed:F.fixed||!1},null,8,["prop","label","min-width","fixed"]))],64))),128)),r.value.rowBtns&&r.value.rowBtns.length>0?(c.openBlock(),c.createBlock(v,{key:1,label:"Action",fixed:"right",align:"left","min-width":"140"},{default:c.withCtx(({row:F,$index:X})=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.value.rowBtns,tA=>(c.openBlock(),c.createElementBlock(c.Fragment,{key:tA.key},[M(tA,F)?(c.openBlock(),c.createBlock(T,{key:0,size:"small",type:tA.type,onClick:eA=>f(tA,F,X)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(tA.label),1)]),_:2},1032,["type","onClick"])):c.createCommentVNode("",!0)],64))),128))]),_:1})):c.createCommentVNode("",!0)]),_:1},8,["data","highlight-current-row","row-key"]),r.value.hiddenPagination?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",Av,[c.createVNode(Z,{background:"",layout:"total,sizes, prev, pager, next,jumper",total:o.value,"current-page":d.value.pageNum,"onUpdate:currentPage":q[0]||(q[0]=F=>d.value.pageNum=F),"page-size":d.value.pageSize,"onUpdate:pageSize":q[1]||(q[1]=F=>d.value.pageSize=F),onSizeChange:p,onCurrentChange:Q},null,8,["total","current-page","page-size"])]))]))}}}),[["__scopeId","data-v-c090f74c"]]),ev={class:"page-render"},yd=ee(c.defineComponent({__name:"index",props:{ruleMap:{},pageSchema:{},pageParams:{},previewMode:{type:Boolean,default:!1}},emits:["done","refresh"],setup(i,{emit:A}){const e=A,r={form:Pt,table:al},m=i,b=c.ref($e.cloneDeep({...m.pageSchema,content:m.pageSchema.content.map(D=>({...D,schema:D.schema,model:D.type==="form"?{}:[]}))}));m.previewMode&&c.watch(()=>m.pageSchema,D=>{const w=new Map(b.value.content.map(C=>[C.schema.key,C.model]));b.value={...D,content:D.content.map(C=>({...C,schema:C.schema,model:w.get(C.schema.key)||(C.type==="form"?{}:[])}))}},{deep:!0});const l=c.ref([]),y=D=>{var C;return(C=l.value)==null?void 0:C.find(h=>h.schema.key===D)},S=D=>{var C;return(C=l.value)==null?void 0:C.filter(h=>h.schema.key&&D.includes(h.schema.key))},I={findRef:y,setFormDisabled:(D,w)=>{const C=y(D);C&&C.type==="form"&&C.setDisabled(w)},validate:async D=>{if(Array.isArray(D)){const w=S(D);for(const C of w||[])await C.validate()}else{const w=y(D);return w?await w.validate():!1}},getData:D=>{if(!D){const w={};for(const C of b.value.content)C.schema.key&&(w[C.schema.key]=$e.cloneDeep(c.toRaw(C.model)));return w}if(Array.isArray(D)){const w={};for(const C of b.value.content)C.schema.key&&D.includes(C.schema.key)&&(w[C.schema.key]=$e.cloneDeep(c.toRaw(C.model)));return w}else{const w=b.value.content.find(C=>C.schema.key===D);if(w)return $e.cloneDeep(c.toRaw(w.model))}},resetFields:D=>{if(D)if(Array.isArray(D)){const w=S(D);for(const C of w||[])C.type==="form"&&C.resetFields()}else{const w=y(D);if(!w)return;w.type==="form"&&w.resetFields()}},emit:e,setData:(D,w,C=!1)=>{const h=b.value.content.find(B=>B.schema.key===D);h&&((h==null?void 0:h.type)==="form"&&C?h.model={...h.model,...w}:h.model=w)},getItemByName:(D,w)=>{const C=y(D);if(C&&C.type==="form")return C.findItemByName(C.schema.items,w)},getPageParams:()=>m.pageParams,setHidden:(D,w)=>{const C=b.value.content.find(h=>h.schema.key===D);C&&(C.schema.hidden=w)}},R=D=>{m.pageSchema.rulePath&&m.ruleMap[m.pageSchema.rulePath][D](I)};return c.provide("pageMethodMap",I),c.provide("ruleMap",m.ruleMap),c.onMounted(()=>{if(!m.pageSchema.rulePath||!m.pageSchema.onMounted)return;const D=m.pageSchema.onMounted;m.ruleMap[m.pageSchema.rulePath][D](I)}),c.onActivated(()=>{if(!m.pageSchema.rulePath||!m.pageSchema.onActivated)return;const D=m.pageSchema.onActivated;m.ruleMap[m.pageSchema.rulePath][D](I)}),(D,w)=>{const C=c.resolveComponent("el-button"),h=c.resolveComponent("el-row");return c.openBlock(),c.createElementBlock("div",ev,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(b.value.content,B=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(r[B.type]),{class:"page-render__item",key:B.schema.key,schema:B.schema,"onUpdate:schema":s=>B.schema=s,modelValue:B.model,"onUpdate:modelValue":s=>B.model=s,pageRulePath:b.value.rulePath||"",ref_for:!0,ref_key:"pageRenderRef",ref:l},null,40,["schema","onUpdate:schema","modelValue","onUpdate:modelValue","pageRulePath"]))),128)),c.createVNode(h,{justify:"center",class:"btn-wrapper"},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(D.pageSchema.btns,B=>(c.openBlock(),c.createBlock(C,{key:B.key,onClick:s=>R(B.onClick)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(B.text),1)]),_:2},1032,["onClick"]))),128))]),_:1})])}}}),[["__scopeId","data-v-a157db6d"]]),tv={install:(i,A={})=>{i.provide(uo,A),i.component("FormRender",Pt),i.component("FormDesign",bd),i.component("TableRender",al),i.component("PageRender",yd)}},nv={key:0},iv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"TextArea",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=ot();return(r,m)=>{const b=c.resolveComponent("el-input");return c.unref(e).read?(c.openBlock(),c.createElementBlock("div",nv,c.toDisplayString(A.value),1)):(c.openBlock(),c.createBlock(b,c.mergeProps({key:1},r.$attrs,{modelValue:A.value,"onUpdate:modelValue":m[0]||(m[0]=l=>A.value=l),type:"textarea"}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),ov={class:"card-header"},sv=Object.freeze(Object.defineProperty({__proto__:null,default:ee(c.defineComponent({__name:"Card",props:{children:{},collapsible:{type:Boolean},header:{}},setup(i){const A=c.ref(!1);return(e,r)=>{const m=c.resolveComponent("ElCard");return c.openBlock(),c.createBlock(m,c.normalizeProps(c.guardReactiveProps(e.$attrs)),{header:c.withCtx(()=>[c.createElementVNode("div",ov,[c.createElementVNode("span",null,c.toDisplayString(e.header),1),e.collapsible?(c.openBlock(),c.createBlock(c.unref(ge),{key:0,name:"dropdown",onClick:r[0]||(r[0]=b=>A.value=!A.value),class:c.normalizeClass(["dropdown-icon",{"is-collapsed":A.value}])},null,8,["class"])):c.createCommentVNode("",!0)])]),default:c.withCtx(()=>[c.createVNode(c.Transition,{name:"collapse"},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",null,[c.createVNode(c.unref(Ti),{list:e.children},null,8,["list"])],512),[[c.vShow,!A.value]])]),_:1})]),_:1},16)}}}),[["__scopeId","data-v-d6651ef4"]])},Symbol.toStringTag,{value:"Module"})),rv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Cascader",props:c.mergeModels({options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},api:{},name:{default:""},onChange:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.useModel(i,"modelValue"),{currentOptions:r,selectChange:m,loading:b}=ho(A);return(l,y)=>{const S=c.resolveComponent("el-cascader");return c.openBlock(),c.createBlock(S,c.mergeProps({modelValue:e.value,"onUpdate:modelValue":y[0]||(y[0]=f=>e.value=f),options:c.unref(r),loading:c.unref(b),props:{multiple:l.multiple,label:l.labelKey,value:l.valueKey}},l.$attrs,{onChange:c.unref(m)}),null,16,["modelValue","options","loading","props","onChange"])}}})},Symbol.toStringTag,{value:"Module"}));var vd={exports:{}};/*!
180
+ export default ${JSON.stringify(i,null,2)} satisfies FormSchema`,My=i=>`export default ${JSON.stringify(i,null,2)}`,Sy=c.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(i){var f;const A=$t(),e=Un(),m=(f=Mi().JsonEdit)==null?void 0:f.render,b=c.computed({get(){return A.schema},set(x){x.items&&A.updateSchema(x)}}),l=c.ref({}),y=c.useModel(i,"modelValue"),S=x=>{A.updateSchema({...A.schema,items:Rc(A.schema.items)}),x.repair()};return(x,G)=>{const K=c.resolveComponent("el-tab-pane"),j=c.resolveComponent("el-tabs"),Y=c.resolveComponent("el-dialog");return c.openBlock(),c.createBlock(Y,{modelValue:y.value,"onUpdate:modelValue":G[1]||(G[1]=U=>y.value=U),title:c.unref(e).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:G[2]||(G[2]=U=>l.value={})},{default:c.withCtx(()=>[c.createVNode(j,{"model-value":"edit",class:"demo-tabs"},{default:c.withCtx(()=>[c.createVNode(K,{label:"在线编辑",name:"edit"},{default:c.withCtx(()=>[c.createVNode(c.unref(m),{modelValue:b.value,"onUpdate:modelValue":G[0]||(G[0]=U=>b.value=U),style:{height:"70vh"},onBlur:S},null,8,["modelValue"])]),_:1}),c.createVNode(K,{label:"生成ts文件",name:"ts"},{default:c.withCtx(()=>[c.createVNode(c.unref(bo),{style:{height:"70vh"},language:"ts",code:c.unref(_y)(b.value)},null,8,["code"])]),_:1}),c.createVNode(K,{label:"生成js文件",name:"js"},{default:c.withCtx(()=>[c.createVNode(c.unref(bo),{style:{height:"70vh"},language:"js",code:c.unref(My)(b.value)},null,8,["code"])]),_:1}),c.createVNode(K,{label:"帮助",name:"help"},{default:c.withCtx(()=>[c.createVNode(c.unref(bo),{style:{height:"70vh"},language:"json",code:c.unref(ky)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),xy=c.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=$t(),e=Un(),r=c.useModel(i,"modelValue");return(m,b)=>{const l=c.resolveComponent("el-tab-pane"),y=c.resolveComponent("el-tabs"),S=c.resolveComponent("el-dialog");return c.openBlock(),c.createBlock(S,{modelValue:r.value,"onUpdate:modelValue":b[0]||(b[0]=f=>r.value=f),title:c.unref(e).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:c.withCtx(()=>[c.createVNode(y,{"model-value":"ts",class:"demo-tabs"},{default:c.withCtx(()=>[c.createVNode(l,{label:"Typescript",name:"ts"},{default:c.withCtx(()=>[c.createVNode(c.unref(bo),{style:{height:"70vh"},code:c.unref(yy)(c.unref(A).schema),language:"vue"},null,8,["code"])]),_:1}),c.createVNode(l,{label:"Javascript",name:"js"},{default:c.withCtx(()=>[c.createVNode(c.unref(bo),{style:{height:"70vh"},code:c.unref(vy)(c.unref(A).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),Fy={style:{"text-align":"center"}},Ny=ee(c.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=$t(),{JsonEdit:e}=Mi(),r=c.ref("edit"),m=c.ref(),b=c.ref({}),l=c.useModel(i,"modelValue"),y=c.computed(()=>{var G;return(G=m.value)==null?void 0:G.context}),S=Un(),f=async()=>{var G;await((G=m.value)==null?void 0:G.validate()),alert(JSON.stringify(b.value,null,2))},x=async()=>{var G;(G=m.value)==null||G.resetFields()};return(G,K)=>{const j=c.resolveComponent("el-button"),Y=c.resolveComponent("el-tab-pane"),U=c.resolveComponent("el-tabs"),_=c.resolveComponent("el-dialog");return c.openBlock(),c.createBlock(_,{modelValue:l.value,"onUpdate:modelValue":K[4]||(K[4]=I=>l.value=I),title:c.unref(S).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:K[5]||(K[5]=I=>b.value={})},{default:c.withCtx(()=>[c.createVNode(U,{modelValue:r.value,"onUpdate:modelValue":K[3]||(K[3]=I=>r.value=I)},{default:c.withCtx(()=>[c.createVNode(Y,{label:"编辑模式",name:"edit"},{default:c.withCtx(()=>[c.createVNode(c.unref(Pt),{modelValue:b.value,"onUpdate:modelValue":K[0]||(K[0]=I=>b.value=I),schema:c.unref(A).schema,ref_key:"formRef",ref:m,schemaContext:c.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"]),c.createElementVNode("div",Fy,[c.createVNode(j,{onClick:f,type:"primary"},{default:c.withCtx(()=>K[6]||(K[6]=[c.createTextVNode("模拟提交")])),_:1}),c.createVNode(j,{onClick:x,type:"primary",plain:""},{default:c.withCtx(()=>K[7]||(K[7]=[c.createTextVNode("重置")])),_:1})])]),_:1}),c.createVNode(Y,{label:"阅读模式",name:"read",lazy:""},{default:c.withCtx(()=>[c.createVNode(c.unref(Pt),{modelValue:b.value,"onUpdate:modelValue":K[1]||(K[1]=I=>b.value=I),schema:{...c.unref(A).schema,labelSuffix:":"},schemaContext:c.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),c.createVNode(Y,{label:"联动变量",name:"context"},{default:c.withCtx(()=>[K[8]||(K[8]=c.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(c.openBlock(),c.createBlock(c.unref(e).render,{modelValue:y.value,"onUpdate:modelValue":K[2]||(K[2]=I=>y.value=I),style:{height:"60vh"},key:r.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-efb36be4"]]),Ry=c.defineComponent({__name:"ChangeLang",setup(i){const A=c.inject("asiaint-lang");return(e,r)=>{const m=c.resolveComponent("el-option"),b=c.resolveComponent("el-select");return c.openBlock(),c.createBlock(b,{modelValue:c.unref(A),"onUpdate:modelValue":r[0]||(r[0]=l=>c.isRef(A)?A.value=l:null),size:"small"},{default:c.withCtx(()=>[c.createVNode(m,{label:"中文",value:"zh"}),c.createVNode(m,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),Ly=c.defineComponent({__name:"index",setup(i){const A=$t(),e=Un(),r=c.ref(!1),m=c.ref(!1),b=c.ref(!1),l=c.computed(()=>[{label:e.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{r.value=!0}},{label:e.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{m.value=!0}},{label:e.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{b.value=!0}}]),y=c.computed(()=>[{label:e.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await hn.ElMessageBox.confirm("确认清空当前设计吗?"),A.updateSchema({...A.schema,items:[]})}},{label:e.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{A.handleEmit("save"),A.handleEmit("onSave")}}]);return(S,f)=>{const x=c.resolveComponent("el-button");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("actions"))},[c.createElementVNode("div",{class:c.normalizeClass(c.unref(ke)("actions-left"))},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(l.value,G=>(c.openBlock(),c.createBlock(x,{key:G.label,type:G.btnType,size:"small",onClick:G.onClick},c.createSlots({default:c.withCtx(()=>[c.createTextVNode(" "+c.toDisplayString(G.label),1)]),_:2},[G.icon?{name:"icon",fn:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:G.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),c.createVNode(Ry,{class:c.normalizeClass(c.unref(ke)("actions-left-lang"))},null,8,["class"])],2),c.createElementVNode("div",{class:c.normalizeClass(c.unref(ke)("actions-right"))},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(y.value,({label:G,btnType:K,icon:j,onClick:Y})=>(c.openBlock(),c.createBlock(x,{key:G,type:K,size:"small",onClick:Y},c.createSlots({default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(G),1)]),_:2},[j?{name:"icon",fn:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:j},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),c.createVNode(Sy,{modelValue:r.value,"onUpdate:modelValue":f[0]||(f[0]=G=>r.value=G)},null,8,["modelValue"]),c.createVNode(xy,{modelValue:m.value,"onUpdate:modelValue":f[1]||(f[1]=G=>m.value=G)},null,8,["modelValue"]),c.createVNode(Ny,{modelValue:b.value,"onUpdate:modelValue":f[2]||(f[2]=G=>b.value=G),"schema-context":c.unref(A).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),Gy=c.defineComponent({__name:"index",setup(i){const A=$t();return(e,r)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("form-design-center"))},[c.createVNode(Ly),c.createVNode(c.unref(Pt),{class:c.normalizeClass(c.unref(ke)("canvas")),schema:c.unref(A).schema,"onUpdate:schema":r[0]||(r[0]=m=>c.unref(A).schema=m),design:""},null,8,["class","schema"])],2))}}),Hy=()=>({labelWidth:100,labelPosition:"top",items:[{hideLabel:!0,name:"change",component:"FormList",children:[{label:"目标字段",name:"target",component:"Input",help:"如果是自增组件内部联动,直接输入子组件的name。如果是外部联动自增组件,就是formlist.*.key"},{label:"触发条件",name:"condition",component:"Input",help:"必须输入一个模板表达式,当表达式结果为true时才触发联动。如果不设置,默认会一直触发"},{label:"值",name:"value",component:"Input",help:"支持模板表达式"}],props:{mode:"card",title:"联动字段"}}]}),Py=c.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=$t(),e=c.useModel(i,"modelValue");return(r,m)=>{const b=c.resolveComponent("el-dialog");return c.openBlock(),c.createBlock(b,{"destroy-on-close":"",modelValue:e.value,"onUpdate:modelValue":m[1]||(m[1]=l=>e.value=l),top:"3vh",title:"值联动"},{default:c.withCtx(()=>[c.createVNode(c.unref(Pt),{modelValue:c.unref(A).current,"onUpdate:modelValue":m[0]||(m[0]=l=>c.unref(A).current=l),schema:c.unref(Hy)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),Ky={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},Uy={class:"config-linkages"},Yy=ee(c.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=$t(),e=c.useModel(i,"modelValue");return c.ref({}),(r,m)=>{var l;const b=c.resolveComponent("el-dialog");return c.openBlock(),c.createBlock(b,{"destroy-on-close":"",modelValue:e.value,"onUpdate:modelValue":m[1]||(m[1]=y=>e.value=y),top:"3vh",title:`${(l=c.unref(A).current)==null?void 0:l.label} - 配置级联动`,width:"70vw",center:""},{default:c.withCtx(()=>[c.createElementVNode("div",Uy,[c.createVNode(c.unref(Pt),{modelValue:c.unref(A).current,"onUpdate:modelValue":m[0]||(m[0]=y=>c.unref(A).current=y),schema:c.unref(Ky),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-4588babc"]]),Ty=c.defineComponent({__name:"index",setup(i){const A=Un(),e=c.ref(!1),r=c.ref(!1),m=c.computed(()=>[{title:A.value.attr.tab1.linkage.action1,onClick:()=>{e.value=!0}},{title:A.value.attr.tab1.linkage.action2,onClick:()=>{r.value=!0}}]);return(b,l)=>{const y=c.resolveComponent("el-divider"),S=c.resolveComponent("el-button");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("linkageConfig"))},[c.createVNode(y,null,{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(c.unref(A).attr.tab1.linkage.text),1)]),_:1}),c.createElementVNode("div",{class:c.normalizeClass(c.unref(ke)("linkageConfig-btns"))},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(m.value,({title:f,onClick:x})=>(c.openBlock(),c.createBlock(S,{key:f,type:"primary",plain:"",size:"small",onClick:x},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(f),1)]),_:2},1032,["onClick"]))),128))],2),c.createVNode(Yy,{modelValue:e.value,"onUpdate:modelValue":l[0]||(l[0]=f=>e.value=f)},null,8,["modelValue"]),c.createVNode(Py,{modelValue:r.value,"onUpdate:modelValue":l[1]||(l[1]=f=>r.value=f)},null,8,["modelValue"])],2)}}}),Oy={labelWidth:60,labelPosition:"right",size:"small",items:[{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"}]},Jy={labelWidth:60,labelPosition:"top",size:"small",items:[{label:"ID",component:"Input",props:{placeholder:""},designKey:"form-0vQJ",name:"id"},{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"},{label:"背景色",component:"ColorInput",designKey:"form-YicU",name:"style.backgroundColor"},{label:"文字颜色",component:"ColorInput",designKey:"design-A2bj",name:"style.color"},{label:"缩放",component:"Slider",designKey:"design-A2sf",name:"style.transform",props:{min:50,max:150},initialValue:100,change:[{target:"style.transform",value:"{{ `scale(${$values.style.transform / 100 })` }}"}]},{children:[{label:"外间距",name:"margin",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.marginTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.marginBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.marginLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.marginRight"}]}]},{label:"内间距",name:"padding",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.paddingTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.paddingBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.paddingLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.paddingRight"}]}]}],props:{defaultKey:"margin",tabPosition:"top"},component:"Tabs",designKey:"design-WK8O",name:"form-e9YD"},{label:"自定义",component:"JsonEdit",designKey:"design-A2bj",name:"style"}]},$y={class:"more"},Zy=c.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=c.ref(!1);return(r,m)=>{const b=c.resolveComponent("el-divider"),l=c.resolveComponent("el-button"),y=c.resolveComponent("el-drawer");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("style-config"))},[c.createVNode(b,null,{default:c.withCtx(()=>m[4]||(m[4]=[c.createTextVNode("组件样式")])),_:1}),c.createVNode(c.unref(Pt),{modelValue:A.value,"onUpdate:modelValue":m[0]||(m[0]=S=>A.value=S),schema:c.unref(Oy),ref:"formRef"},null,8,["modelValue","schema"]),c.createElementVNode("div",$y,[c.createVNode(l,{type:"primary",plain:"",size:"small",onClick:m[1]||(m[1]=S=>e.value=!0)},{default:c.withCtx(()=>m[5]||(m[5]=[c.createTextVNode("自定义更多样式")])),_:1})]),c.createVNode(y,{modelValue:e.value,"onUpdate:modelValue":m[3]||(m[3]=S=>e.value=S),title:"组件样式"},{default:c.withCtx(()=>[c.createVNode(c.unref(Pt),{modelValue:A.value,"onUpdate:modelValue":m[2]||(m[2]=S=>A.value=S),schema:c.unref(Jy),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),zy=c.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=Mi(),e=ha(),r=c.useModel(i,"modelValue"),m=c.computed(()=>{const l=A[r.value.component];if(l!=null&&l.attrSchema){const y=(f=[])=>f.map(x=>{const G=ro(r.value,x.name),K=$e.isString(G)&&/^{{\s*(.*?)\s*}}$/.test(G);return{...x,label:e.value==="zh"?x.label:x.name.split(".").pop(),component:K?"Input":x.component,dialog:K||x.dialog,children:x.children&&y(x.children)}}),S=y(l.attrSchema.items);return{...l.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:l.title}},...S]}}return{size:"small",labelPosition:"top",items:[]}}),b=c.computed({get(){var l;return((l=r.value)==null?void 0:l.props)||{}},set(l){r.value=bi(r.value,"props",l)}});return(l,y)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("attr"))},[(c.openBlock(),c.createBlock(c.unref(Pt),{key:r.value.designKey,modelValue:r.value,"onUpdate:modelValue":y[0]||(y[0]=S=>r.value=S),schema:m.value},null,8,["modelValue","schema"])),(c.openBlock(),c.createBlock(Zy,{key:r.value.designKey,modelValue:b.value,"onUpdate:modelValue":y[1]||(y[1]=S=>b.value=S)},null,8,["modelValue"])),c.createVNode(Ty,{modelValue:r.value,"onUpdate:modelValue":y[2]||(y[2]=S=>r.value=S)},null,8,["modelValue"])],2))}}),Wy={size:"small",labelPosition:"top",items:[{label:"label宽度",component:"InputNumber",name:"labelWidth",props:{min:60,unit:"px",step:10},initialValue:150},{label:"label对齐方式",component:"Radio",name:"labelPosition",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居上",value:"top"},{label:"右对齐",value:"right"}]},initialValue:"right"},{label:"label后缀",component:"Input",name:"labelSuffix"},{label:"表单组件尺寸",component:"Radio",name:"size",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"较小",value:"small"},{label:"较大",value:"large"}]},initialValue:"default"},{label:"禁用整个表单",component:"Switch",name:"disabled"},{label:"隐藏必填星号",component:"Switch",name:"hideRequiredAsterisk"},{label:"label加粗",component:"Switch",name:"labelBold"},{label:"自动滚动到校验失败的第一项",component:"Switch",name:"scrollToError"},{label:"规则文件路径",component:"Input",name:"rulePath"},{label:"表单编码",component:"Input",name:"key"},{label:"数据对象",component:"Input",name:"dataModel"}]},jy=c.defineComponent({__name:"FormEdit",setup(i){const A=$t(),e=c.computed({get(){return A.schema},set(r){A.updateSchema(r)}});return(r,m)=>(c.openBlock(),c.createBlock(c.unref(Pt),{modelValue:e.value,"onUpdate:modelValue":m[0]||(m[0]=b=>e.value=b),schema:c.unref(Wy)},null,8,["modelValue","schema"]))}}),qy=c.defineComponent({__name:"index",setup(i){const A=Un(),e=$t();return c.watch(()=>e.current,r=>{r||(e.rightTab="form")}),(r,m)=>{const b=c.resolveComponent("el-tab-pane"),l=c.resolveComponent("el-tabs");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(c.unref(ke)("form-design-right"))},[c.createVNode(l,{modelValue:c.unref(e).rightTab,"onUpdate:modelValue":m[1]||(m[1]=y=>c.unref(e).rightTab=y)},{default:c.withCtx(()=>[c.unref(e).current?(c.openBlock(),c.createBlock(b,{key:0,label:c.unref(A).attr.tab1.title,name:"attr"},{default:c.withCtx(()=>[c.createVNode(zy,{modelValue:c.unref(e).current,"onUpdate:modelValue":m[0]||(m[0]=y=>c.unref(e).current=y)},null,8,["modelValue"])]),_:1},8,["label"])):c.createCommentVNode("",!0),c.createVNode(b,{label:c.unref(A).attr.tab2.title,name:"form"},{default:c.withCtx(()=>[c.createVNode(jy)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),bd=c.defineComponent({__name:"index",props:c.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:c.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:c.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(i,{emit:A}){const e=i,r=A,m=c.ref(""),b=c.useModel(i,"modelValue"),l=c.computed({get(){return b.value.items},set(f){b.value.items=f}}),y=c.computed({get(){return da(l.value,m.value)},set(f){m.value=f.designKey,l.value=xc(l.value,f)}}),S=c.reactive({...c.toRefs(e),currentKey:m,hoverKey:"",schema:b,current:y,list:l,rightTab:"form",updateCurrent(f){S.current=f},updateHoverKey(f){S.hoverKey=f},updateSchema:f=>{Object.assign(b.value,f)},updateList:f=>{l.value=f},handleEmit:(f,x)=>{r(f,x)}});return c.provide(Mc,S),(f,x)=>(c.openBlock(),c.createElementBlock("div",c.mergeProps({class:c.unref(ke)("form-design")},f.$attrs),[c.createVNode(by),c.createVNode(Gy),c.createVNode(qy)],16))}}),Xy={key:0,class:"table-render"},Vy={class:"table-render-header-title"},Av={key:0,class:"pagination-wrapper"},al=ee(c.defineComponent({__name:"index",props:c.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(i,{expose:A}){const e=i,r=c.useModel(i,"schema"),m=c.computed(()=>r.value.rulePath||e.pageRulePath),b=c.inject("ruleMap",{}),l=c.inject("pageMethodMap",{});m.value&&c.provide("ruleModule",b[m.value]);const y=c.ref(),S=c.useModel(i,"modelValue"),f=($,q,z)=>{m.value&&b[m.value][$.onClick](l,q,z)},x=$=>{!r.value.rowClick||!m.value||b[m.value][r.value.rowClick](l,$)},G=$=>{!r.value.rowDbClick||!m.value||b[m.value][r.value.rowDbClick](l,$)},K=c.ref([]),j=$=>{K.value=$},Y=($,q,z)=>{S.value[$]&&(S.value[$][q]=z)},U=()=>{var $;($=y.value)==null||$.clearSelection()},_=()=>S.value,I=c.ref(),R=$=>{I.value=$,!(!r.value.handleCurrentChange||!m.value)&&b[m.value][r.value.handleCurrentChange](l,$)},D=()=>I.value,w=()=>{var $;return($=y.value)==null?void 0:$.getSelectionRows()},C=($={})=>{S.value.push($)},h=$=>{$>=0&&$<S.value.length&&S.value.splice($,1)},B=async()=>{S.value=[...S.value]},s=async()=>!0,g=$=>{S.value=$},o=c.ref(0),u=$=>{o.value=$},d=c.ref({pageNum:1,pageSize:r.value.defaultPageSize||10}),n=()=>d.value,t=$=>{let q=!1;return $.pageNum>-1&&(d.value.pageNum!==$.pageNum&&(q=!0),d.value.pageNum=$.pageNum),$.pageSize>-1&&(d.value.pageSize!==$.pageSize&&(q=!0),d.value.pageSize=$.pageSize),console.log("zytest---setPagination--",q),{pagination:d.value,isChange:q}},p=$=>{d.value.pageSize=$,!(!r.value.sizeChange||!m.value)&&b[m.value][r.value.sizeChange](l,d.value)},Q=$=>{d.value.pageNum=$,!(!r.value.pageChange||!m.value)&&b[m.value][r.value.pageChange](l,d.value)},M=($,q)=>!$.isHidden||!m.value?!0:!b[m.value][$.isHidden](l,q),k=$=>{var q;(q=y.value)==null||q.setCurrentRow($)},N=$=>{var q;(q=y.value)==null||q.setCurrentRow(S.value[$])},H=c.readonly({...c.toRefs(e),setCellData:Y,clearSelection:U,getData:_,getCurrentRow:D,getSelectedRows:w,addRow:C,deleteRow:h,refresh:B,validate:s,setData:g,selectRow:k,selectRowNum:N,setTotal:u,getPagination:n,setPagination:t,type:"table"});return A(H),($,q)=>{const z=c.resolveComponent("el-col"),T=c.resolveComponent("el-button"),W=c.resolveComponent("el-row"),v=c.resolveComponent("el-table-column"),Z=c.resolveComponent("el-pagination");return r.value.hidden?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",Xy,[c.createVNode(W,{class:"table-render-header",justify:"space-between",align:"middle"},{default:c.withCtx(()=>[c.createVNode(z,{span:12},{default:c.withCtx(()=>[c.createElementVNode("div",Vy,c.toDisplayString(r.value.label),1)]),_:1}),c.createVNode(z,{span:12},{default:c.withCtx(()=>[c.createVNode(W,{justify:"end"},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.value.topBtns,F=>(c.openBlock(),c.createBlock(T,{key:F.key,size:"small",type:F.type,onClick:X=>f(F)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(F.label),1)]),_:2},1032,["type","onClick"]))),128))]),_:1})]),_:1})]),_:1}),c.createVNode(c.unref(hn.ElTable),{ref_key:"tableRef",ref:y,data:S.value,stripe:"","highlight-current-row":r.value.highlightCurrentRow,"row-key":r.value.rowKey,onRowClick:x,onRowDblclick:G,onSelectionChange:j,onCurrentChange:R},{default:c.withCtx(()=>[r.value.multipleSelection?(c.openBlock(),c.createBlock(v,{key:0,type:"selection",width:"55"})):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.value.columns,F=>(c.openBlock(),c.createElementBlock(c.Fragment,{key:F.key},[F.hidden?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(v,{key:0,prop:F.key,label:F.label,"min-width":F.minWidth,fixed:F.fixed||!1},null,8,["prop","label","min-width","fixed"]))],64))),128)),r.value.rowBtns&&r.value.rowBtns.length>0?(c.openBlock(),c.createBlock(v,{key:1,label:"Action",fixed:"right",align:"left","min-width":"140"},{default:c.withCtx(({row:F,$index:X})=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.value.rowBtns,tA=>(c.openBlock(),c.createElementBlock(c.Fragment,{key:tA.key},[M(tA,F)?(c.openBlock(),c.createBlock(T,{key:0,size:"small",type:tA.type,onClick:eA=>f(tA,F,X)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(tA.label),1)]),_:2},1032,["type","onClick"])):c.createCommentVNode("",!0)],64))),128))]),_:1})):c.createCommentVNode("",!0)]),_:1},8,["data","highlight-current-row","row-key"]),r.value.hiddenPagination?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",Av,[c.createVNode(Z,{background:"",layout:"total,sizes, prev, pager, next,jumper",total:o.value,"page-sizes":r.value.pageSizes,"default-page-size":r.value.defaultPageSize,"current-page":d.value.pageNum,"onUpdate:currentPage":q[0]||(q[0]=F=>d.value.pageNum=F),"page-size":d.value.pageSize,"onUpdate:pageSize":q[1]||(q[1]=F=>d.value.pageSize=F),onSizeChange:p,onCurrentChange:Q},null,8,["total","page-sizes","default-page-size","current-page","page-size"])]))]))}}}),[["__scopeId","data-v-8110047f"]]),ev={class:"page-render"},yd=ee(c.defineComponent({__name:"index",props:{ruleMap:{},pageSchema:{},pageParams:{},previewMode:{type:Boolean,default:!1}},emits:["done","refresh"],setup(i,{emit:A}){const e=A,r={form:Pt,table:al},m=i,b=c.ref($e.cloneDeep({...m.pageSchema,content:m.pageSchema.content.map(D=>({...D,schema:D.schema,model:D.type==="form"?{}:[]}))}));m.previewMode&&c.watch(()=>m.pageSchema,D=>{const w=new Map(b.value.content.map(C=>[C.schema.key,C.model]));b.value={...D,content:D.content.map(C=>({...C,schema:C.schema,model:w.get(C.schema.key)||(C.type==="form"?{}:[])}))}},{deep:!0});const l=c.ref([]),y=D=>{var C;return(C=l.value)==null?void 0:C.find(h=>h.schema.key===D)},S=D=>{var C;return(C=l.value)==null?void 0:C.filter(h=>h.schema.key&&D.includes(h.schema.key))},I={findRef:y,setFormDisabled:(D,w)=>{const C=y(D);C&&C.type==="form"&&C.setDisabled(w)},validate:async D=>{if(Array.isArray(D)){const w=S(D);for(const C of w||[])await C.validate()}else{const w=y(D);return w?await w.validate():!1}},getData:D=>{if(!D){const w={};for(const C of b.value.content)C.schema.key&&(w[C.schema.key]=$e.cloneDeep(c.toRaw(C.model)));return w}if(Array.isArray(D)){const w={};for(const C of b.value.content)C.schema.key&&D.includes(C.schema.key)&&(w[C.schema.key]=$e.cloneDeep(c.toRaw(C.model)));return w}else{const w=b.value.content.find(C=>C.schema.key===D);if(w)return $e.cloneDeep(c.toRaw(w.model))}},resetFields:D=>{if(D)if(Array.isArray(D)){const w=S(D);for(const C of w||[])C.type==="form"&&C.resetFields()}else{const w=y(D);if(!w)return;w.type==="form"&&w.resetFields()}},emit:e,setData:(D,w,C=!1)=>{const h=b.value.content.find(B=>B.schema.key===D);h&&((h==null?void 0:h.type)==="form"&&C?h.model={...h.model,...w}:h.model=w)},getItemByName:(D,w)=>{const C=y(D);if(C&&C.type==="form")return C.findItemByName(C.schema.items,w)},getPageParams:()=>m.pageParams,setHidden:(D,w)=>{const C=b.value.content.find(h=>h.schema.key===D);C&&(C.schema.hidden=w)}},R=D=>{m.pageSchema.rulePath&&m.ruleMap[m.pageSchema.rulePath][D](I)};return c.provide("pageMethodMap",I),c.provide("ruleMap",m.ruleMap),c.onMounted(()=>{if(!m.pageSchema.rulePath||!m.pageSchema.onMounted)return;const D=m.pageSchema.onMounted;m.ruleMap[m.pageSchema.rulePath][D](I)}),c.onActivated(()=>{if(!m.pageSchema.rulePath||!m.pageSchema.onActivated)return;const D=m.pageSchema.onActivated;m.ruleMap[m.pageSchema.rulePath][D](I)}),(D,w)=>{const C=c.resolveComponent("el-button"),h=c.resolveComponent("el-row");return c.openBlock(),c.createElementBlock("div",ev,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(b.value.content,B=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(r[B.type]),{class:"page-render__item",key:B.schema.key,schema:B.schema,"onUpdate:schema":s=>B.schema=s,modelValue:B.model,"onUpdate:modelValue":s=>B.model=s,pageRulePath:b.value.rulePath||"",ref_for:!0,ref_key:"pageRenderRef",ref:l},null,40,["schema","onUpdate:schema","modelValue","onUpdate:modelValue","pageRulePath"]))),128)),c.createVNode(h,{justify:"center",class:"btn-wrapper"},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(D.pageSchema.btns,B=>(c.openBlock(),c.createBlock(C,{key:B.key,onClick:s=>R(B.onClick)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(B.text),1)]),_:2},1032,["onClick"]))),128))]),_:1})])}}}),[["__scopeId","data-v-431b7052"]]),tv={install:(i,A={})=>{i.provide(uo,A),i.component("FormRender",Pt),i.component("FormDesign",bd),i.component("TableRender",al),i.component("PageRender",yd)}},nv={key:0},iv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"TextArea",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=ot();return(r,m)=>{const b=c.resolveComponent("el-input");return c.unref(e).read?(c.openBlock(),c.createElementBlock("div",nv,c.toDisplayString(A.value),1)):(c.openBlock(),c.createBlock(b,c.mergeProps({key:1},r.$attrs,{modelValue:A.value,"onUpdate:modelValue":m[0]||(m[0]=l=>A.value=l),type:"textarea"}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),ov={class:"card-header"},sv=Object.freeze(Object.defineProperty({__proto__:null,default:ee(c.defineComponent({__name:"Card",props:{children:{},collapsible:{type:Boolean},header:{}},setup(i){const A=c.ref(!1);return(e,r)=>{const m=c.resolveComponent("ElCard");return c.openBlock(),c.createBlock(m,c.normalizeProps(c.guardReactiveProps(e.$attrs)),{header:c.withCtx(()=>[c.createElementVNode("div",ov,[c.createElementVNode("span",null,c.toDisplayString(e.header),1),e.collapsible?(c.openBlock(),c.createBlock(c.unref(ge),{key:0,name:"dropdown",onClick:r[0]||(r[0]=b=>A.value=!A.value),class:c.normalizeClass(["dropdown-icon",{"is-collapsed":A.value}])},null,8,["class"])):c.createCommentVNode("",!0)])]),default:c.withCtx(()=>[c.createVNode(c.Transition,{name:"collapse"},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",null,[c.createVNode(c.unref(Ti),{list:e.children},null,8,["list"])],512),[[c.vShow,!A.value]])]),_:1})]),_:1},16)}}}),[["__scopeId","data-v-f48b76d3"]])},Symbol.toStringTag,{value:"Module"})),rv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Cascader",props:c.mergeModels({options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},api:{},name:{default:""},onChange:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.useModel(i,"modelValue"),{currentOptions:r,selectChange:m,loading:b}=ho(A);return(l,y)=>{const S=c.resolveComponent("el-cascader");return c.openBlock(),c.createBlock(S,c.mergeProps({modelValue:e.value,"onUpdate:modelValue":y[0]||(y[0]=f=>e.value=f),options:c.unref(r),loading:c.unref(b),props:{multiple:l.multiple,label:l.labelKey,value:l.valueKey}},l.$attrs,{onChange:c.unref(m)}),null,16,["modelValue","options","loading","props","onChange"])}}})},Symbol.toStringTag,{value:"Module"}));var vd={exports:{}};/*!
181
181
  * jsoneditor.js
182
182
  *
183
183
  * @brief
@@ -1576,4 +1576,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1576
1576
  linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em / 2em 2em`,_=360,I="keydown",R="mousedown",D="focusin";function w(g,o){return(o||document).querySelector(g)}function C(g){g.preventDefault(),g.stopPropagation()}function h(g,o,u,d,n){g.add(o,I,function(t){u.indexOf(t.key)>=0&&d(t)})}var B=function(){function g(o){l(this,g),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex",cancelButton:!1,defaultColor:"#0cf"},this._events=new K,this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(o)}return y(g,[{key:"setOptions",value:function(u){var d=this;if(!u)return;var n=this.settings;function t(k,N,H){for(var $ in k)N[$]=k[$]}if(u instanceof HTMLElement)n.parent=u;else{n.parent&&u.parent&&n.parent!==u.parent&&(this._events.remove(n.parent),this._popupInited=!1),t(u,n),u.onChange&&(this.onChange=u.onChange),u.onDone&&(this.onDone=u.onDone),u.onOpen&&(this.onOpen=u.onOpen),u.onClose&&(this.onClose=u.onClose);var p=u.color||u.colour;p&&this._setColor(p)}var Q=n.parent;if(Q&&n.popup&&!this._popupInited){var M=function(N){return d.openHandler(N)};this._events.add(Q,"click",M),h(this._events,Q,[" ","Spacebar","Enter"],M),this._popupInited=!0}else u.parent&&!n.popup&&this.show()}},{key:"openHandler",value:function(u){if(this.show()){u&&u.preventDefault(),this.settings.parent.style.pointerEvents="none";var d=u&&u.type===I?this._domEdit:this.domElement;setTimeout(function(){return d.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(u){var d=u&&u.type,n=!1;if(!u)n=!0;else if(d===R||d===D){var t=(this.__containedEvent||0)+100;u.timeStamp>t&&(n=!0)}else C(u),n=!0;n&&this.hide()&&(this.settings.parent.style.pointerEvents="",d!==R&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(u,d){this.closeHandler(),this.setOptions(u),d&&this.openHandler()}},{key:"setColor",value:function(u,d){this._setColor(u,{silent:d})}},{key:"_setColor",value:function(u,d){if(typeof u=="string"&&(u=u.trim()),!!u){d=d||{};var n=void 0;try{n=new G(u)}catch(p){if(d.failSilently)return;throw p}if(!this.settings.alpha){var t=n.hsla;t[3]=1,n.hsla=t}this.colour=this.color=n,this._setHSLA(null,null,null,null,d)}}},{key:"setColour",value:function(u,d){this.setColor(u,d)}},{key:"show",value:function(){var u=this.settings.parent;if(!u)return!1;if(this.domElement){var d=this._toggleDOM(!0);return this._setPosition(),d}var n=this.settings.template||'<div class="picker_wrapper" tabindex="-1"><div class="picker_arrow"></div><div class="picker_hue picker_slider"><div class="picker_selector"></div></div><div class="picker_sl"><div class="picker_selector"></div></div><div class="picker_alpha picker_slider"><div class="picker_selector"></div></div><div class="picker_editor"><input aria-label="Type a color name or hex value"/></div><div class="picker_sample"></div><div class="picker_done"><button>Ok</button></div><div class="picker_cancel"><button>Cancel</button></div></div>',t=j(n);return this.domElement=t,this._domH=w(".picker_hue",t),this._domSL=w(".picker_sl",t),this._domA=w(".picker_alpha",t),this._domEdit=w(".picker_editor input",t),this._domSample=w(".picker_sample",t),this._domOkay=w(".picker_done button",t),this._domCancel=w(".picker_cancel button",t),t.classList.add("layout_"+this.settings.layout),this.settings.alpha||t.classList.add("no_alpha"),this.settings.editor||t.classList.add("no_editor"),this.settings.cancelButton||t.classList.add("no_cancel"),this._ifPopup(function(){return t.classList.add("popup")}),this._setPosition(),this.colour?this._updateUI():this._setColor(this.settings.defaultColor),this._bindEvents(),!0}},{key:"hide",value:function(){return this._toggleDOM(!1)}},{key:"destroy",value:function(){this._events.destroy(),this.domElement&&this.settings.parent.removeChild(this.domElement)}},{key:"_bindEvents",value:function(){var u=this,d=this,n=this.domElement,t=this._events;function p(k,N,H){t.add(k,N,H)}p(n,"click",function(k){return k.preventDefault()}),Y(t,this._domH,function(k,N){return d._setHSLA(k)}),Y(t,this._domSL,function(k,N){return d._setHSLA(null,k,1-N)}),this.settings.alpha&&Y(t,this._domA,function(k,N){return d._setHSLA(null,null,null,1-N)});var Q=this._domEdit;p(Q,"input",function(k){d._setColor(this.value,{fromEditor:!0,failSilently:!0})}),p(Q,"focus",function(k){var N=this;N.selectionStart===N.selectionEnd&&N.select()}),this._ifPopup(function(){var k=function($){return u.closeHandler($)};p(window,R,k),p(window,D,k),h(t,n,["Esc","Escape"],k);var N=function($){u.__containedEvent=$.timeStamp};p(n,R,N),p(n,D,N),p(u._domCancel,"click",k)});var M=function(N){u._ifPopup(function(){return u.closeHandler(N)}),u.onDone&&u.onDone(u.colour)};p(this._domOkay,"click",M),h(t,n,["Enter"],M)}},{key:"_setPosition",value:function(){var u=this.settings.parent,d=this.domElement;u!==d.parentNode&&u.appendChild(d),this._ifPopup(function(n){getComputedStyle(u).position==="static"&&(u.style.position="relative");var t=n===!0?"popup_right":"popup_"+n;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(p){p===t?d.classList.add(p):d.classList.remove(p)}),d.classList.add(t)})}},{key:"_setHSLA",value:function(u,d,n,t,p){p=p||{};var Q=this.colour,M=Q.hsla;[u,d,n,t].forEach(function(k,N){(k||k===0)&&(M[N]=k)}),Q.hsla=M,this._updateUI(p),this.onChange&&!p.silent&&this.onChange(Q)}},{key:"_updateUI",value:function(u){if(!this.domElement)return;u=u||{};var d=this.colour,n=d.hsla,t="hsl("+n[0]*_+", 100%, 50%)",p=d.hslString,Q=d.hslaString,M=this._domH,k=this._domSL,N=this._domA,H=w(".picker_selector",M),$=w(".picker_selector",k),q=w(".picker_selector",N);function z(eA,aA,cA){aA.style.left=cA*100+"%"}function T(eA,aA,cA){aA.style.top=cA*100+"%"}z(M,H,n[0]),this._domSL.style.backgroundColor=this._domH.style.color=t,z(k,$,n[1]),T(k,$,1-n[2]),k.style.color=p,T(N,q,1-n[3]);var W=p,v=W.replace("hsl","hsla").replace(")",", 0)"),Z="linear-gradient("+[W,v]+")";if(this._domA.style.background=Z+", "+U,!u.fromEditor){var F=this.settings.editorFormat,X=this.settings.alpha,tA=void 0;switch(F){case"rgb":tA=d.printRGB(X);break;case"hsl":tA=d.printHSL(X);break;default:tA=d.printHex(X)}this._domEdit.value=tA}this._domSample.style.color=Q}},{key:"_ifPopup",value:function(u,d){this.settings.parent&&this.settings.popup?u&&u(this.settings.popup):d&&d()}},{key:"_toggleDOM",value:function(u){var d=this.domElement;if(!d)return!1;var n=u?"":"none",t=d.style.display!==n;return t&&(d.style.display=n),t}}]),g}(),s=document.createElement("style");return s.textContent='.picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.picker_wrapper.no_cancel .picker_cancel{display:none}.layout_default.picker_wrapper{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:"";display:block;width:100%;height:0;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{flex:1 1 auto}.layout_default .picker_sl::before{content:"";display:block;padding-bottom:100%}.layout_default .picker_editor{order:1;width:6.5rem}.layout_default .picker_editor input{width:100%;height:100%}.layout_default .picker_sample{order:1;flex:1 1 auto}.layout_default .picker_done,.layout_default .picker_cancel{order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px silver;outline:none}.picker_wrapper button:focus,.picker_wrapper button:active,.picker_wrapper input:focus,.picker_wrapper input:active{box-shadow:0 0 2px 1px #1e90ff}.picker_wrapper button{padding:.4em .6em;cursor:pointer;background-color:#f5f5f5;background-image:linear-gradient(0deg, gainsboro, transparent)}.picker_wrapper button:active{background-image:linear-gradient(0deg, transparent, gainsboro)}.picker_wrapper button:hover{background-color:#fff}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid #fff;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:linear-gradient(180deg, white, rgba(255, 255, 255, 0) 50%),linear-gradient(0deg, black, rgba(0, 0, 0, 0) 50%),linear-gradient(90deg, #808080, rgba(128, 128, 128, 0))}.picker_alpha,.picker_sample{position:relative;background:linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0/2em 2em,linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em/2em 2em;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{font-family:monospace;padding:.2em .4em}.picker_sample::before{content:"";position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:"";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}',document.documentElement.firstElementChild.appendChild(s),B.StyleElement=s,B}()},9857:function(b,l,y){y.d(l,{m:function(){return ZA}});class S extends Error{constructor(EA,FA){super(EA+" at position "+FA),this.position=FA}}let f=92,x=47,G=42,K=123,j=125,Y=91,U=93,_=40,I=41,R=32,D=10,w=9,C=13,h=8,B=12,s=34,g=43,o=45,u=39,d=48,n=57,t=44,p=46,Q=58,M=59,k=65,N=97,H=69,$=101,q=70,z=102,T=160,W=8192,v=8202,Z=8239,F=8287,X=12288,tA=8220,eA=8221,aA=8216,cA=8217,oA=96,BA=180;function J(DA){return DA>=d&&DA<=n}function nA(DA){return iA.test(DA)}let iA=/^[,:[\]/{}()\n+]$/;function rA(DA){return P.test(DA)||DA&&V(DA.charCodeAt(0))}let P=/^[[{\w-]$/;function O(DA){return DA===R||DA===D||DA===w||DA===C}function V(DA){return sA(DA)||wA(DA)}function sA(DA){return DA===s||DA===tA||DA===eA}function dA(DA){return DA===s}function wA(DA){return DA===u||DA===aA||DA===cA||DA===oA||DA===BA}function NA(DA){return DA===u}function LA(DA,EA,FA){return FA=2<arguments.length&&FA!==void 0&&FA,EA=DA.lastIndexOf(EA),EA!==-1?DA.substring(0,EA)+(FA?"":DA.substring(EA+1)):DA}function zA(DA,EA){let FA=DA.length;if(!O(DA.charCodeAt(FA-1)))return DA+EA;for(;O(DA.charCodeAt(FA-1));)FA--;return DA.substring(0,FA)+EA+DA.substring(FA)}let WA={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},Ae={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
1577
1577
  `,r:"\r",t:" "};function ZA(DA){let EA=0,FA="";if(!se())throw new S("Unexpected end of json string",DA.length);var qA=SA(t);if(qA&&pe(),rA(DA[EA])&&/[,\n][ \t\r]*$/.test(FA)){qA||(FA=zA(FA,","));{let YA=!0,TA=!0;for(;TA;)YA?YA=!1:SA(t)||(FA=zA(FA,",")),TA=se();TA||(FA=LA(FA,",")),FA=`[
1578
1578
  `.concat(FA,`
1579
- ]`)}}else qA&&(FA=LA(FA,","));for(;DA.charCodeAt(EA)===j||DA.charCodeAt(EA)===U;)EA++,pe();if(EA>=DA.length)return FA;throw new S("Unexpected character "+JSON.stringify(DA[EA]),EA);function se(){pe();var YA=function(){if(DA.charCodeAt(EA)!==K)return!1;{FA+="{",EA++,pe(),GA(t)&&pe();let dt=!0;for(;EA<DA.length&&DA.charCodeAt(EA)!==j;){if(dt?dt=!1:(SA(t)||(FA=zA(FA,",")),pe()),$A(),!(OA()||hA())){DA.charCodeAt(EA)===j||DA.charCodeAt(EA)===K||DA.charCodeAt(EA)===U||DA.charCodeAt(EA)===Y||DA[EA]===void 0?FA=LA(FA,","):function(){throw new S("Object key expected",EA)}();break}pe();var TA=SA(Q),ce=EA>=DA.length,Le=(TA||(rA(DA[EA])||ce?FA=zA(FA,":"):te()),se());Le||(TA||ce?FA+="null":te())}return DA.charCodeAt(EA)===j?(FA+="}",EA++):FA=zA(FA,"}"),!0}}()||function(){if(DA.charCodeAt(EA)!==Y)return!1;{FA+="[",EA++,pe(),GA(t)&&pe();let ce=!0;for(;EA<DA.length&&DA.charCodeAt(EA)!==U;){ce?ce=!1:SA(t)||(FA=zA(FA,",")),$A();var TA=se();if(!TA){FA=LA(FA,",");break}}return DA.charCodeAt(EA)===U?(FA+="]",EA++):FA=zA(FA,"]"),!0}}()||OA()||function(){var TA=EA;if(DA.charCodeAt(EA)===o){if(EA++,vA())return KA(TA),!0;if(!J(DA.charCodeAt(EA)))return EA=TA,!1}for(;J(DA.charCodeAt(EA));)EA++;if(DA.charCodeAt(EA)===p){if(EA++,vA())return KA(TA),!0;if(!J(DA.charCodeAt(EA)))return EA=TA,!1;for(;J(DA.charCodeAt(EA));)EA++}if(DA.charCodeAt(EA)===$||DA.charCodeAt(EA)===H){if(EA++,DA.charCodeAt(EA)!==o&&DA.charCodeAt(EA)!==g||EA++,vA())return KA(TA),!0;if(!J(DA.charCodeAt(EA)))return EA=TA,!1;for(;J(DA.charCodeAt(EA));)EA++}var ce,Le;if(vA()){if(EA>TA)return ce=DA.slice(TA,EA),Le=/^0\d/.test(ce),FA+=Le?'"'.concat(ce,'"'):ce,!0}else EA=TA;return!1}()||le("true","true")||le("false","false")||le("null","null")||le("True","true")||le("False","false")||le("None","null")||hA();return pe(),YA}function pe(){for(kA();function(){if(DA.charCodeAt(EA)===x&&DA.charCodeAt(EA+1)===G){for(;EA<DA.length&&!function(YA,TA){return YA[TA]==="*"&&YA[TA+1]==="/"}(DA,EA);)EA++;EA+=2}else{if(DA.charCodeAt(EA)!==x||DA.charCodeAt(EA+1)!==x)return!1;for(;EA<DA.length&&DA.charCodeAt(EA)!==D;)EA++}return!0}()&&kA(););}function kA(){let YA="";for(var TA,ce;(TA=O(DA.charCodeAt(EA)))||(ce=DA.charCodeAt(EA))===T||ce>=W&&ce<=v||ce===Z||ce===F||ce===X;)YA+=TA?DA[EA]:" ",EA++;return 0<YA.length&&(FA+=YA,!0)}function SA(YA){return DA.charCodeAt(EA)===YA&&(FA+=DA[EA],EA++,!0)}function GA(YA){return DA.charCodeAt(EA)===YA&&(EA++,!0)}function $A(){pe(),DA.charCodeAt(EA)===p&&DA.charCodeAt(EA+1)===p&&DA.charCodeAt(EA+2)===p&&(EA+=3,pe(),GA(t))}function OA(YA){var TA,ce,Le=0<arguments.length&&YA!==void 0&&YA;let dt=DA.charCodeAt(EA)===f;if(dt&&(EA++,dt=!0),V(DA.charCodeAt(EA))){var QA=dA(DA.charCodeAt(EA))?dA:NA(DA.charCodeAt(EA))?NA:wA(DA.charCodeAt(EA))?wA:sA,CA=EA,fA=FA.length;let ae='"';for(EA++;;){if(EA>=DA.length)return MA=IA(EA-1),!Le&&nA(DA.charAt(MA))?(EA=CA,FA=FA.substring(0,fA),OA(!0)):(ae=zA(ae,'"'),FA+=ae,!0);if(QA(DA.charCodeAt(EA))){var MA=EA,_A=ae.length;if(ae+='"',EA++,FA+=ae,pe(),Le||EA>=DA.length||nA(DA.charAt(EA))||V(DA.charCodeAt(EA))||J(DA.charCodeAt(EA)))return XA(),!0;if(nA(DA.charAt(IA(MA-1))))return EA=CA,FA=FA.substring(0,fA),OA(!0);FA=FA.substring(0,fA),EA=MA+1,ae=ae.substring(0,_A)+"\\"+ae.substring(_A)}else{if(Le&&nA(DA[EA]))return ae=zA(ae,'"'),FA+=ae,XA(),!0;if(DA.charCodeAt(EA)===f)if(_A=DA.charAt(EA+1),Ae[_A]!==void 0)ae+=DA.slice(EA,EA+2),EA+=2;else if(_A==="u"){let xe=2;for(;xe<6&&((ce=DA.charCodeAt(EA+xe))>=d&&ce<=n||ce>=k&&ce<=q||ce>=N&&ce<=z);)xe++;if(xe===6)ae+=DA.slice(EA,EA+6),EA+=6;else{if(!(EA+xe>=DA.length))throw ie=void 0,ie=DA.slice(EA,EA+6),new S('Invalid unicode character "'.concat(ie,'"'),EA);EA=DA.length}}else ae+=_A,EA+=2;else{var ie=DA.charAt(EA),oe=DA.charCodeAt(EA);if(oe===s&&DA.charCodeAt(EA-1)!==f)ae+="\\"+ie;else if((TA=oe)===D||TA===C||TA===w||TA===h||TA===B)ae+=WA[ie];else{if(!(32<=(TA=oe)&&TA<=1114111))throw oe=void 0,oe=ie,new S("Invalid character "+JSON.stringify(oe),EA);ae+=ie}EA++}}dt&&GA(f)}}return!1}function XA(){for(pe();DA.charCodeAt(EA)===g;){EA++,pe();var YA=(FA=LA(FA,'"',!0)).length,TA=OA();FA=TA?(TA=FA,YA=YA,ce=1,TA.substring(0,YA)+TA.substring(YA+ce)):zA(FA,'"')}var ce}function le(YA,TA){return DA.slice(EA,EA+YA.length)===YA&&(FA+=TA,EA+=YA.length,!0)}function hA(){for(var YA,TA=EA;EA<DA.length&&(!nA(YA=DA[EA])||YA==="/")&&!V(DA.charCodeAt(EA));)EA++;if(EA>TA){if(DA.charCodeAt(EA)===_&&/^\w+$/.test(DA.slice(TA,EA).trim()))EA++,se(),DA.charCodeAt(EA)===I&&(EA++,DA.charCodeAt(EA)===M)&&EA++;else{for(;O(DA.charCodeAt(EA-1))&&0<EA;)EA--;TA=DA.slice(TA,EA),FA+=TA==="undefined"?"null":JSON.stringify(TA),DA.charCodeAt(EA)===s&&EA++}return!0}}function IA(YA){let TA=YA;for(;0<TA&&O(DA.charCodeAt(TA));)TA--;return TA}function vA(){return EA>=DA.length||nA(DA[EA])||O(DA.charCodeAt(EA))}function KA(YA){FA+=DA.slice(YA,EA)+"0"}function te(){throw new S("Colon expected",EA)}}},3420:function(b){b.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},5207:function(b){b.exports=JSON.parse('{"id":"http://json-schema.org/draft-04/schema#","$schema":"http://json-schema.org/draft-04/schema#","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string"},"$schema":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}}')},6801:function(b){b.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-06/schema#","$id":"http://json-schema.org/draft-06/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"examples":{"type":"array","items":{}},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":{},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":{}}')},8198:function(b){b.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}},m={},e.amdD=function(){throw new Error("define cannot be used indirect")},e.n=function(b){var l=b&&b.__esModule?function(){return b.default}:function(){return b};return e.d(l,{a:l}),l},e.d=function(b,l){for(var y in l)e.o(l,y)&&!e.o(b,y)&&Object.defineProperty(b,y,{enumerable:!0,get:l[y]})},e.o=function(b,l){return Object.prototype.hasOwnProperty.call(b,l)},e.r=function(b){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(b,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(b,"__esModule",{value:!0})},e.nmd=function(b){return b.paths=[],b.children||(b.children=[]),b},e(1346);function e(b){var l=m[b];return l!==void 0||(l=m[b]={id:b,loaded:!1,exports:{}},r[b].call(l.exports,l,l.exports,e),l.loaded=!0),l.exports}var r,m})})(vd);var av=vd.exports;const lv=jB(av),gv={editor:null,name:"json-editor-vue",internalChange:!1,props:{modelValue:Object,options:Object,currentMode:{type:String,default:"code"},modeList:{type:Array,default:()=>["tree","code","form","text","view"]},language:{type:String,default:"en"}},data(){return{json:this.modelValue,expandedModes:["tree","view","form"],isFullScreen:!1,hasLogo:!0,showFullScreen:!1}},watch:{modelValue:{immediate:!0,deep:!0,handler(i){this.internalChange||(this.setEditorContent(i),this.$nextTick(()=>{this.expandAll()}))}}},mounted(){this.init();const i=document.querySelector(".jsoneditor-menu .jsoneditor-poweredBy");this.hasLogo=i&&window.getComputedStyle(i).display!=="none",this.showFullScreen=!0},unmounted(){var i;(i=this.editor)==null||i.destroy(),this.editor=null},methods:{toggleFullScreen(){this.isFullScreen=!this.isFullScreen,this.$nextTick(()=>{const i=new Event("resize");window.dispatchEvent(i)})},init(){const{currentMode:i,modeList:A,options:e}=this,r=()=>{const K=Y=>{this.json=Y,this.$emit("update:modelValue",Y),this.$emit("change",Y),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){K("");return}try{const Y=this.editor.get();K(Y)}catch{}},m=()=>{this.expandAll()},b=(K,j,Y)=>{this.$emit("textSelectionChange",this.editor,K,j,Y)},l=(K,j)=>{this.$emit("selectionChange",this.editor,K,j)},y=(K,j,Y)=>{this.$emit("colorPicker",this.editor,K,j,Y)},S=({target:K})=>{this.$emit("focus",this.editor,K)},f=({target:K})=>{this.$emit("blur",this.editor,K)},x=K=>{this.$emit("validationError",this.editor,K)},G={...e,indentation:2,language:this.language,mode:i,modes:A,onChange:r,onModeChange:m,onTextSelectionChange:b,onSelectionChange:l,onColorPicker:y,onFocus:S,onBlur:f,onValidationError:x};this.editor=new lv(this.$refs.jsonEditorVue,G,this.json)},expandAll(){var i,A;this.expandedModes.includes((i=this.editor)==null?void 0:i.getMode())&&((A=this.editor)==null||A.expandAll())},setEditorContent(i){var A;(A=this.editor)==null||A.set(i)}}},cv={ref:"jsonEditorVue",class:"json-editor-vue"};function uv(i,A,e,r,m,b){return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["container",{"full-screen-container":m.isFullScreen}])},[c.createElementVNode("div",cv,null,512),c.createElementVNode("div",{class:c.normalizeClass(["full-screen",{show:m.showFullScreen,right:!m.hasLogo}]),onClick:A[0]||(A[0]=(...l)=>b.toggleFullScreen&&b.toggleFullScreen(...l))},null,2)],2)}const dv=ee(gv,[["render",uv],["__scopeId","data-v-c53d52f1"]]),hv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:c.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue");return(e,r)=>(c.openBlock(),c.createBlock(c.unref(Jf),{disabled:i.disabled,class:"jsonEdit-disabled"},{default:c.withCtx(()=>[c.createVNode(dv,c.mergeProps({class:"editor-direct",modelValue:A.value,"onUpdate:modelValue":r[0]||(r[0]=m=>A.value=m),currentMode:"code",modeList:["text","view","tree","code","form"],options:{search:!1,history:!1}},e.$attrs),null,16,["modelValue"])]),_:1},8,["disabled"]))}})},Symbol.toStringTag,{value:"Module"})),Bv={key:0},Cv={key:0,style:{"font-size":"12px"}},pv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Checkbox",props:c.mergeModels({options:{default:()=>[]},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},api:{},name:{default:""},onChange:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.useModel(i,"modelValue"),r=ot(),{currentOptions:m,selectChange:b,loading:l}=ho(A);return c.watch(e,b),(y,S)=>{var Y;const f=c.resolveComponent("el-checkbox"),x=c.resolveComponent("el-checkbox-button"),G=c.resolveComponent("el-space"),K=c.resolveComponent("el-checkbox-group"),j=c.resolveDirective("loading");return c.unref(r).read?(c.openBlock(),c.createElementBlock("div",Bv,c.toDisplayString((Y=e.value)==null?void 0:Y.map(U=>{var _;return(_=c.unref(m).find(I=>I[y.valueKey]===U))==null?void 0:_[y.labelKey]}).join("、")),1)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[!c.unref(m).length&&!c.unref(l)?(c.openBlock(),c.createElementBlock("div",Cv,"暂无选项")):c.createCommentVNode("",!0),c.withDirectives((c.openBlock(),c.createBlock(K,c.mergeProps(y.$attrs,{modelValue:e.value,"onUpdate:modelValue":S[0]||(S[0]=U=>e.value=U),onChange:c.unref(b)}),{default:c.withCtx(()=>[y.optionType==="circle"||y.optionType==="border"?(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:0},c.renderList(c.unref(m),U=>(c.openBlock(),c.createBlock(f,{key:U[y.valueKey],label:U[y.labelKey],value:U[y.valueKey],border:y.optionType==="border"},null,8,["label","value","border"]))),128)):c.createCommentVNode("",!0),y.optionType==="button"?(c.openBlock(),c.createBlock(G,{key:1,wrap:"",size:[y.space,y.space]},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(m),U=>(c.openBlock(),c.createBlock(x,{key:U[y.valueKey],label:U[y.labelKey],value:U[y.valueKey],size:"large"},null,8,["label","value"]))),128))]),_:1},8,["size"])):c.createCommentVNode("",!0)]),_:1},16,["modelValue","onChange"])),[[j,c.unref(l)]])],64))}}})},Symbol.toStringTag,{value:"Module"})),Qv={class:"vfc-color-input"},Ev=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"ColorInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue");return(e,r)=>{const m=c.resolveComponent("el-input"),b=c.resolveComponent("el-color-picker");return c.openBlock(),c.createElementBlock("div",Qv,[c.createVNode(m,{modelValue:A.value,"onUpdate:modelValue":r[0]||(r[0]=l=>A.value=l)},null,8,["modelValue"]),c.createVNode(b,{modelValue:A.value,"onUpdate:modelValue":r[1]||(r[1]=l=>A.value=l)},null,8,["modelValue"])])}}})},Symbol.toStringTag,{value:"Module"})),Iv={key:0,class:"empty"},mv=Object.freeze(Object.defineProperty({__proto__:null,default:ee(c.defineComponent({__name:"Custom",props:c.mergeModels({componentName:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue");return(e,r)=>e.componentName?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.componentName),c.mergeProps({key:1,modelValue:A.value,"onUpdate:modelValue":r[0]||(r[0]=m=>A.value=m)},e.$attrs),null,16,["modelValue"])):(c.openBlock(),c.createElementBlock("span",Iv,"请输入全局注册得组件名"))}}),[["__scopeId","data-v-a013b8cf"]])},Symbol.toStringTag,{value:"Module"})),fv={};function wv(i,A){const e=c.resolveComponent("el-date-picker");return c.openBlock(),c.createBlock(e,c.mergeProps(i.$attrs,{style:{width:"100%"}}),null,16)}const Dv=Object.freeze(Object.defineProperty({__proto__:null,default:ee(fv,[["render",wv]])},Symbol.toStringTag,{value:"Module"})),bv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Divider",props:{title:{}},setup(i){return(A,e)=>{const r=c.resolveComponent("ElDivider");return c.openBlock(),c.createBlock(r,c.normalizeProps(c.guardReactiveProps(A.$attrs)),{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(A.title),1)]),_:1},16)}}})},Symbol.toStringTag,{value:"Module"})),yv=c.defineComponent({props:{width:{type:Number,default:800},height:{type:Number,default:300},lineWidth:{type:Number,default:4},lineColor:{type:String,default:"#000000"},bgColor:{type:String,default:""},isCrop:{type:Boolean,default:!1},isClearBgColor:{type:Boolean,default:!1},format:{type:String,default:"image/png"},quality:{type:Number,default:1}},setup(i){const A=c.ref(!1),e=c.ref(""),r=c.ref([]),m=c.ref(null),b=c.ref(0),l=c.ref(0),y=c.ref(!1),S=c.ref(1),f=c.ref(null),x=c.computed(()=>i.height/i.width),G=c.computed(()=>i.bgColor?i.bgColor:"rgba(255, 255, 255, 0)");c.watch(G,D=>{f.value&&(f.value.style.background=D)});const K=()=>{if(f.value){f.value.style.width=`${i.width}px`;const D=parseFloat(window.getComputedStyle(f.value).width);f.value.style.height=`${x.value*D}px`,m.value=f.value.getContext("2d"),m.value&&(m.value.scale(1*S.value,1*S.value),S.value=D/i.width,m.value.scale(1/S.value,1/S.value))}};c.onMounted(()=>{f.value&&(f.value.height=i.height,f.value.width=i.width,f.value.style.background=G.value,K(),document.onmouseup=()=>{y.value=!1}),window.addEventListener("resize",K)}),c.onBeforeUnmount(()=>{window.removeEventListener("resize",K)});const j=D=>{b.value=D.x,l.value=D.y,m.value&&(m.value.beginPath(),m.value.moveTo(b.value,l.value),m.value.lineTo(D.x,D.y),m.value.lineCap="round",m.value.lineJoin="round",m.value.lineWidth=i.lineWidth*S.value,m.value.stroke(),m.value.closePath(),r.value.push(D))},Y=D=>{m.value&&(m.value.beginPath(),m.value.moveTo(b.value,l.value),m.value.lineTo(D.x,D.y),m.value.strokeStyle=i.lineColor,m.value.lineWidth=i.lineWidth*S.value,m.value.lineCap="round",m.value.lineJoin="round",m.value.stroke(),m.value.closePath(),l.value=D.y,b.value=D.x,r.value.push(D))},U=D=>{m.value&&(m.value.beginPath(),m.value.moveTo(b.value,l.value),m.value.lineTo(D.x,D.y),m.value.lineCap="round",m.value.lineJoin="round",m.value.stroke(),m.value.closePath(),r.value.push(D),r.value.push({x:-1,y:-1}))},_=D=>{const w=(D==null?void 0:D.format)||i.format,C=(D==null?void 0:D.quality)||i.quality;return new Promise((h,B)=>{if(!A.value){B("Warning: Not Signed!");return}if(m.value){const s=m.value.getImageData(0,0,f.value.width,f.value.height);m.value.globalCompositeOperation="destination-over",m.value.fillStyle=G.value,m.value.fillRect(0,0,f.value.width,f.value.height),e.value=f.value.toDataURL(w,C);let g=e.value;if(m.value.clearRect(0,0,f.value.width,f.value.height),m.value.putImageData(s,0,0),m.value.globalCompositeOperation="source-over",i.isCrop){const o=R(s.data),u=document.createElement("canvas"),d=u.getContext("2d");if(d){u.width=o[2]-o[0],u.height=o[3]-o[1];const n=m.value.getImageData(o[0],o[1],o[2],o[3]);d.globalCompositeOperation="destination-over",d.putImageData(n,0,0),d.fillStyle=G.value,d.fillRect(0,0,u.width,u.height),g=u.toDataURL(w,C)}}h(g)}})},I=()=>{m.value&&m.value.clearRect(0,0,f.value.width,f.value.height),i.isClearBgColor&&(r.value=[],A.value=!1,e.value="")},R=D=>{let w=f.value.width,C=0,h=f.value.height,B=0;for(let s=0;s<f.value.width;s++)for(let g=0;g<f.value.height;g++){const o=(s+f.value.width*g)*4;(D[o]>0||D[o+1]>0||D[o+2]>0||D[o+3]>0)&&(B=Math.max(g,B),C=Math.max(s,C),h=Math.min(g,h),w=Math.min(s,w))}return[w+1,h+1,C+1,B+1]};return{canvas:f,myBg:G,drawStart:j,drawMove:Y,drawEnd:U,generate:_,reset:I,touchStart:D=>{if(D.preventDefault(),A.value=!0,D.touches.length===1&&f.value){const w={x:D.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:D.targetTouches[0].clientY-f.value.getBoundingClientRect().top};j(w)}},touchMove:D=>{if(D.preventDefault(),D.touches.length===1){const w={x:D.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:D.targetTouches[0].clientY-f.value.getBoundingClientRect().top};Y(w)}},touchEnd:D=>{if(D.preventDefault(),D.touches.length===1){const w={x:D.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:D.targetTouches[0].clientY-f.value.getBoundingClientRect().top};U(w)}},mouseDown:D=>{D.preventDefault(),y.value=!0,A.value=!0;const w={x:D.offsetX,y:D.offsetY};j(w)},mouseMove:D=>{if(D.preventDefault(),y.value){const w={x:D.offsetX,y:D.offsetY};Y(w)}},mouseUp:D=>{D.preventDefault();const w={x:D.offsetX,y:D.offsetY};U(w),y.value=!1}}}});function vv(i,A,e,r,m,b){return c.openBlock(),c.createElementBlock("canvas",{ref:"canvas",onMousedown:A[0]||(A[0]=(...l)=>i.mouseDown&&i.mouseDown(...l)),onMousemove:A[1]||(A[1]=(...l)=>i.mouseMove&&i.mouseMove(...l)),onMouseup:A[2]||(A[2]=(...l)=>i.mouseUp&&i.mouseUp(...l)),onTouchstart:A[3]||(A[3]=(...l)=>i.touchStart&&i.touchStart(...l)),onTouchmove:A[4]||(A[4]=(...l)=>i.touchMove&&i.touchMove(...l)),onTouchend:A[5]||(A[5]=(...l)=>i.touchEnd&&i.touchEnd(...l))},null,544)}const kv=ee(yv,[["render",vv],["__scopeId","data-v-5f3bfcf7"]]),_v={key:0},Mv={class:"vfc-esign-preview"},Sv=["src"],xv={key:1,class:"vfc-esign"},Fv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Component",props:c.mergeModels({lineWidth:{default:6},lineColor:{default:"#000000"},bgColor:{default:"#f6f6f6"},isCrop:{type:Boolean,default:!1},width:{default:700},height:{default:300},disabled:{type:Boolean},format:{default:"image/png"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.ref(),r=ot(),m=c.useModel(i,"modelValue"),b={size:"small",labelPosition:"right",items:[{component:"Inline",children:[{label:"画笔粗细",component:"InputNumber",name:"lineWidth",props:{controlsPosition:"right"}},{label:"画笔颜色",component:"ColorPicker",name:"lineColor"},{label:"画板背景色",component:"ColorPicker",name:"bgColor"}],props:{align:"left",gap:20},designKey:"design-ZuIT",name:"form-OqAi",style:{marginBottom:"10px"}}]},l=c.ref({lineWidth:6,lineColor:"#000000",bgColor:"#fff"}),y=()=>{e.value.reset()},S=()=>{e.value.generate().then(G=>{m.value=G}).catch(G=>{alert(G)})},f=c.ref(""),x=()=>{f.value=m.value,m.value=""};return c.onMounted(()=>{Object.assign(l.value,A)}),(G,K)=>{const j=c.resolveComponent("el-button");return c.unref(r).read||m.value?(c.openBlock(),c.createElementBlock("div",_v,[c.createElementVNode("div",Mv,[c.createElementVNode("img",{src:m.value,alt:"未签名"},null,8,Sv)]),c.unref(r).read?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(j,{key:0,disabled:G.disabled,onClick:x,type:"primary"},{default:c.withCtx(()=>K[2]||(K[2]=[c.createTextVNode("重写")])),_:1},8,["disabled"]))])):(c.openBlock(),c.createElementBlock("div",xv,[c.createVNode(c.unref(Pt),{modelValue:l.value,"onUpdate:modelValue":K[0]||(K[0]=Y=>l.value=Y),schema:b,class:"vfc-esign-actions"},null,8,["modelValue"]),c.createVNode(kv,{class:"vfc-esign-canvas",ref_key:"esign",ref:e,width:G.width,height:G.height,isCrop:G.isCrop,lineWidth:l.value.lineWidth,lineColor:l.value.lineColor,bgColor:l.value.bgColor,format:G.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),c.createElementVNode("div",null,[f.value?(c.openBlock(),c.createBlock(j,{key:0,disabled:G.disabled,onClick:K[1]||(K[1]=Y=>m.value=f.value),plain:"",type:"primary"},{default:c.withCtx(()=>K[3]||(K[3]=[c.createTextVNode("取消")])),_:1},8,["disabled"])):c.createCommentVNode("",!0),c.createVNode(j,{disabled:G.disabled,onClick:y,plain:"",type:"primary"},{default:c.withCtx(()=>K[4]||(K[4]=[c.createTextVNode("清空")])),_:1},8,["disabled"]),c.createVNode(j,{disabled:G.disabled,onClick:S,type:"primary"},{default:c.withCtx(()=>K[5]||(K[5]=[c.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),Nv={key:0},Rv={key:0,style:{"font-size":"12px"}},Lv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Radio",props:c.mergeModels({options:{default:()=>[]},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},api:{},name:{default:""},onChange:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{type:[String,Number,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.useModel(i,"modelValue"),r=ot(),m=c.inject("ruleModule",void 0),b=c.inject("pageMethodMap",{}),l=f=>{const{valueKey:x="value",name:G}=A;let K={};K=y.value.find(j=>j[x]===f)||{},r.selectData&&G&&r.updateSelectData(G,K),A.onChange&&m&&m[A.onChange](b,f,K)},{currentOptions:y,loading:S}=ho(A);return(f,x)=>{var _;const G=c.resolveComponent("el-radio"),K=c.resolveComponent("el-radio-button"),j=c.resolveComponent("el-space"),Y=c.resolveComponent("el-radio-group"),U=c.resolveDirective("loading");return c.unref(r).read?(c.openBlock(),c.createElementBlock("div",Nv,c.toDisplayString((_=c.unref(y).find(I=>I[f.valueKey]===e.value))==null?void 0:_[f.labelKey]),1)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[!c.unref(y).length&&!c.unref(S)?(c.openBlock(),c.createElementBlock("div",Rv,"暂无选项")):c.createCommentVNode("",!0),c.withDirectives((c.openBlock(),c.createBlock(Y,c.mergeProps({modelValue:e.value,"onUpdate:modelValue":x[0]||(x[0]=I=>e.value=I),onChange:l},f.$attrs),{default:c.withCtx(()=>[c.createVNode(j,{wrap:"",direction:f.direction,size:[f.space,f.space],alignment:"normal"},{default:c.withCtx(()=>[f.optionType==="circle"||f.optionType==="border"?(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:0},c.renderList(c.unref(y),I=>(c.openBlock(),c.createBlock(G,{key:I[f.valueKey],label:I[f.labelKey],value:I[f.valueKey],disabled:I[f.disabledKey],border:f.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:1},c.renderList(c.unref(y),I=>(c.openBlock(),c.createBlock(K,c.mergeProps({key:I[f.valueKey],label:I[f.labelKey],value:I[f.valueKey],disabled:I[f.disabledKey],ref_for:!0},f.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[U,c.unref(S)]])],64))}}})},Symbol.toStringTag,{value:"Module"})),Gv={class:"vfc-formList"},Hv={key:1},Pv={class:"list-item-content"},Kv={class:"card-header"},Uv={style:{"margin-top":"5px"}},Yv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"FormList",props:c.mergeModels({children:{default:()=>[]},allowAdd:{type:Boolean,default:!0},allowReduce:{type:Boolean,default:!0},minLines:{default:0},maxLines:{default:999},mode:{default:"table"},title:{default:""},name:{default:""},disabled:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.useModel(i,"modelValue"),r=c.ref(0),m=ot(),b=G=>es(A.children,{$item:e.value[G],$index:G}),l=c.computed(()=>e.value.length>=A.maxLines),y=c.computed(()=>e.value.length<=A.minLines),S=()=>{l.value||(e.value=[...e.value,{}])},f=G=>{const K=e.value.filter((j,Y)=>Y!==G);e.value=K},x=(G,K,j,Y)=>{const U=K.no,_=b(Y)[U];return c.h(Yi,{..._,hideLabel:!0,style:{marginBottom:0},name:`${A.name}.${Y}.${_.name}`})};return c.watch(e,(G,K)=>{const j=G.reduce((I,R,D)=>($e.isEqual(R,K[D])||(I=D),I),0);if(r.value=j,!A.children.some(I=>I.change))return;const Y=b(j),U=G[j]||{},_=K[j]||{};Y.forEach(I=>{I.change&&_&&!$e.isEqual(U[I.name],_[I.name])&&I.change.forEach(R=>{if(R.condition!==!1){if($e.isString(R.condition)&&/^{{\s*(.*?)\s*}}$/.test(R.condition))return;const D=R.target.split(".").pop();e.value[j][D]=R.value}})})}),c.onMounted(()=>{var G;A.minLines&&!((G=e.value)!=null&&G.length)&&(e.value=Array.from({length:A.minLines},()=>({})))}),c.provide("$objGroupBase",c.computed(()=>`${A.name}.${r.value}`)),(G,K)=>{const j=c.resolveComponent("el-space"),Y=c.resolveComponent("el-button"),U=c.resolveComponent("el-form-item"),_=c.resolveComponent("el-card"),I=c.resolveComponent("el-table-column"),R=c.resolveComponent("el-table");return c.openBlock(),c.createElementBlock("div",Gv,[c.unref(m).design?(c.openBlock(),c.createBlock(c.unref(rl),{key:0,list:G.children,class:"layoutRender"},null,8,["list"])):(c.openBlock(),c.createElementBlock("div",Hv,[G.mode==="inline"?(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:0},c.renderList(e.value,(D,w)=>(c.openBlock(),c.createBlock(U,{key:D.key,class:"list-item"},{default:c.withCtx(()=>[c.createElementVNode("div",Pv,[c.createVNode(j,null,{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(b(w),C=>(c.openBlock(),c.createBlock(c.unref(Yi),c.mergeProps({ref_for:!0},C,{key:C.label,name:`${G.name}.${w}.${C.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),G.allowReduce&&!y.value?(c.openBlock(),c.createBlock(Y,{key:0,onClick:C=>f(w),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:G.disabled,size:"small"},{icon:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):c.createCommentVNode("",!0)])]),_:2},1024))),128)):c.createCommentVNode("",!0),G.mode==="card"?(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:1},c.renderList(e.value,(D,w)=>(c.openBlock(),c.createBlock(_,{key:D.key,class:"list-card"},{header:c.withCtx(()=>[c.createElementVNode("div",Kv,[c.createElementVNode("span",null,c.toDisplayString(G.title+(w+1)),1),G.allowReduce&&!y.value?(c.openBlock(),c.createBlock(Y,{key:0,onClick:C=>f(w),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:G.disabled,size:"small"},{icon:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):c.createCommentVNode("",!0)])]),default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(b(w),C=>(c.openBlock(),c.createBlock(c.unref(Yi),c.mergeProps({ref_for:!0},C,{key:C.label,class:"list-card-item",name:`${G.name}.${w}.${C.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):c.createCommentVNode("",!0),G.mode==="table"&&e.value.length?(c.openBlock(),c.createBlock(R,{key:2,data:e.value,style:{width:"100%"}},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(G.children,D=>(c.openBlock(),c.createBlock(I,c.mergeProps({prop:D.name,label:D.label,key:D.name,ref_for:!0},c.unref($e.pickBy)(D,Boolean),{formatter:x}),null,16,["prop","label"]))),128)),c.createVNode(I,{fixed:"right","min-width":"60"},{default:c.withCtx(D=>[G.allowReduce&&!y.value?(c.openBlock(),c.createBlock(Y,{key:0,onClick:w=>f(D.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:G.disabled,size:"small",plain:""},{icon:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):c.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):c.createCommentVNode("",!0),c.createElementVNode("div",Uv,[G.allowAdd&&!l.value?(c.openBlock(),c.createBlock(Y,{key:0,onClick:S,type:"primary",class:"list-btn addBtn",disabled:G.disabled,size:"small",plain:""},{icon:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:"add"})]),default:c.withCtx(()=>[c.createTextVNode(" "+c.toDisplayString(G.title),1)]),_:1},8,["disabled"])):c.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),Tv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{}},setup(i){const A=i,e=c.computed(()=>({display:"grid","grid-template-columns":`repeat(${A.columns}, 1fr)`,"row-gap":A.rowGap+"px","column-gap":A.columnGap+"px","align-items":A.alignItems}));return(r,m)=>(c.openBlock(),c.createBlock(c.unref(Ti),{class:"form-item-grid",style:c.normalizeStyle(e.value),list:r.children},null,8,["style","list"]))}})},Symbol.toStringTag,{value:"Module"})),Ov=Object.freeze(Object.defineProperty({__proto__:null,default:ee(c.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{}},setup(i){const A=i,e=c.computed(()=>({width:"100%",display:"flex","justify-content":A.align,"flex-wrap":A.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${A.gap}px`}));return(r,m)=>(c.openBlock(),c.createBlock(c.unref(Ti),{class:"form-item-inline",style:c.normalizeStyle(e.value),list:r.children},null,8,["style","list"]))}}),[["__scopeId","data-v-71754ec0"]])},Symbol.toStringTag,{value:"Module"})),Jv={key:0},$v=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Component",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=ot();return(r,m)=>{const b=c.resolveComponent("el-input-number");return c.unref(e).read?(c.openBlock(),c.createElementBlock("div",Jv,c.toDisplayString(A.value),1)):(c.openBlock(),c.createBlock(b,c.mergeProps({key:1},r.$attrs,{modelValue:A.value,"onUpdate:modelValue":m[0]||(m[0]=l=>A.value=l)}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),Zv={key:0},zv={key:0},Wv={key:1},jv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Select",props:c.mergeModels({options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},api:{},name:{default:""},onChange:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.useModel(i,"modelValue"),r=ot(),m=c.inject("ruleModule",void 0),b=c.inject("pageMethodMap",{}),l=f=>{const{valueKey:x="value",multiple:G,name:K}=A;let j={};G&&Array.isArray(f)?j=y.value.filter(Y=>f.includes(Y[x])):j=y.value.find(Y=>Y[x]===f)||{},r.selectData&&K&&r.updateSelectData(K,j),A.onChange&&m&&m[A.onChange](b,f,j)},{currentOptions:y,loading:S}=ho(A);return(f,x)=>{var Y;const G=c.resolveComponent("el-option"),K=c.resolveComponent("el-select"),j=c.resolveDirective("loading");return c.unref(r).read?(c.openBlock(),c.createElementBlock("div",Zv,[f.multiple?(c.openBlock(),c.createElementBlock("div",zv,c.toDisplayString(e.value&&e.value.map(U=>{var _;return(_=c.unref(y).find(I=>I[f.valueKey]===U))==null?void 0:_[f.labelKey]}).join("、")),1)):(c.openBlock(),c.createElementBlock("div",Wv,c.toDisplayString((Y=c.unref(y).find(U=>U[f.valueKey]===e.value))==null?void 0:Y[f.labelKey]),1))])):c.withDirectives((c.openBlock(),c.createBlock(K,c.mergeProps({key:1,modelValue:e.value,"onUpdate:modelValue":x[0]||(x[0]=U=>e.value=U)},f.$attrs,{onChange:l,multiple:f.multiple,clearable:"",filterable:""}),{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(y),U=>(c.openBlock(),c.createBlock(G,{key:U[f.valueKey],label:U[f.labelKey],value:U[f.valueKey],disabled:U[f.disabledKey]},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(U[f.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple"])),[[j,c.unref(S)]])}}})},Symbol.toStringTag,{value:"Module"})),qv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Component",props:c.mergeModels({selectPosition:{default:"append"},selectWidth:{default:70},selectInitialValue:{},options:{default:()=>[]},parse:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.useModel(i,"modelValue"),r=c.ref(""),m=c.computed({get(){var b;return(b=e.value)==null?void 0:b.replaceAll(r.value,"")},set(b){b?e.value=b+r.value:e.value=b}});return c.watch(r,(b,l)=>{var y;e.value&&(e.value=((y=e.value)==null?void 0:y.replaceAll(l,""))+b)}),c.onMounted(()=>{A.selectInitialValue&&(r.value=A.selectInitialValue)}),(b,l)=>{const y=c.resolveComponent("el-option"),S=c.resolveComponent("el-select"),f=c.resolveComponent("el-input");return c.openBlock(),c.createBlock(f,c.mergeProps({"show-word-limit":"",autocomplete:"off"},b.$attrs,{modelValue:m.value,"onUpdate:modelValue":l[1]||(l[1]=x=>m.value=x)}),{[b.selectPosition]:c.withCtx(()=>[c.createVNode(S,{modelValue:r.value,"onUpdate:modelValue":l[0]||(l[0]=x=>r.value=x),style:c.normalizeStyle({width:b.selectWidth+"px"}),placeholder:" "},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(b.options,x=>(c.openBlock(),c.createBlock(y,{label:x.label,value:x.value,disabled:x.disabled,key:x.value},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","style"])]),_:2},1040,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),Xv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Component",props:c.mergeModels({disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=ot(),e=c.useModel(i,"modelValue");return(r,m)=>{const b=c.resolveComponent("el-switch");return c.openBlock(),c.createBlock(b,c.mergeProps(r.$attrs,{modelValue:e.value,"onUpdate:modelValue":m[0]||(m[0]=l=>e.value=l),disabled:c.unref(A).read||r.disabled}),null,16,["modelValue","disabled"])}}})},Symbol.toStringTag,{value:"Module"})),Vv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Tag",props:{text:{default:"标签"},type:{default:"primary"}},setup(i){return(A,e)=>{const r=c.resolveComponent("el-tag");return c.openBlock(),c.createBlock(r,{type:A.type},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(A.text),1)]),_:1},8,["type"])}}})},Symbol.toStringTag,{value:"Module"})),A1=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Component",props:{text:{}},setup(i){return(A,e)=>(c.openBlock(),c.createElementBlock("div",c.normalizeProps(c.guardReactiveProps(A.$attrs)),c.toDisplayString(A.text),17))}})},Symbol.toStringTag,{value:"Module"})),kd=c.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(i){return(A,e)=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(A.type),{class:"Title",style:c.normalizeStyle({fontStyle:A.italic?"italic":"normal"})},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(A.title),1)]),_:1},8,["style"]))}}),e1=Object.freeze(Object.defineProperty({__proto__:null,default:kd},Symbol.toStringTag,{value:"Module"})),t1={key:0,style:{"min-width":"300px"}},n1={class:"el-upload__tip"},i1=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Component",props:c.mergeModels({action:{},multiple:{type:Boolean},btnText:{default:"点击上传"},tip:{},limit:{default:3},drag:{type:Boolean},name:{default:"file"},listType:{default:"text"}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=(l,y)=>{console.log(l,y)},r=l=>{console.log(l)},m=(l,y)=>{hn.ElMessage.warning(`The limit is 3, you selected ${l.length} files this time, add up to ${l.length+y.length} totally`)},b=(l,y)=>hn.ElMessageBox.confirm(`Cancel the transfer of ${l.name} ?`).then(()=>!0,()=>!1);return(l,y)=>{const S=c.resolveComponent("el-button"),f=c.resolveComponent("el-upload");return c.openBlock(),c.createBlock(f,{"file-list":A.value,"onUpdate:fileList":y[0]||(y[0]=x=>A.value=x),action:l.action,multiple:l.multiple,limit:l.limit,drag:l.drag,name:l.name,listType:l.listType,"on-preview":r,"on-remove":e,"before-remove":b,"on-exceed":m},c.createSlots({default:c.withCtx(()=>[l.listType==="text"?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[l.drag?(c.openBlock(),c.createElementBlock("div",t1,[c.createVNode(c.unref(ge),{class:"el-icon--upload",name:"upload"}),y[1]||(y[1]=c.createElementVNode("div",{class:"el-upload__text"},[c.createTextVNode(" 拖拽文件到此处上传 "),c.createElementVNode("br"),c.createTextVNode(" 或"),c.createElementVNode("em",null,"点击上传")],-1))])):(c.openBlock(),c.createBlock(S,{key:1,type:"primary"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(l.btnText),1)]),_:1}))],64)):c.createCommentVNode("",!0),l.listType==="picture-card"?(c.openBlock(),c.createBlock(c.unref(ge),{key:1,name:"add"})):c.createCommentVNode("",!0)]),_:2},[l.tip?{name:"tip",fn:c.withCtx(()=>[c.createElementVNode("div",n1,c.toDisplayString(l.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType"])}}})},Symbol.toStringTag,{value:"Module"}));function o1(){return"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",")}function Dt(i,A){return Math.floor(Math.random()*(A-i)+i)}function Vs(i,A){const e=Dt(i,A),r=Dt(i,A),m=Dt(i,A);return`rgb(${e},${r},${m})`}class s1{constructor(A,e){Je(this,"version","1.0.0");Je(this,"options");Je(this,"_init",()=>{const A=this.options.element;if(!A)return;const e=document.createElement("canvas");this.options.width=A.offsetWidth>0?A.offsetWidth.toString():"100",this.options.height=A.offsetHeight>0?A.offsetHeight.toString():"30",e.id=this.options.canvasId,e.width=parseInt(this.options.width),e.height=parseInt(this.options.height),e.style.cursor="pointer",e.innerHTML="您的浏览器版本不支持canvas",A.appendChild(e),e.onclick=()=>{this.refresh()}});Je(this,"refresh",()=>{this.options.code="";const A=document.getElementById(this.options.canvasId);if(!A||!A.getContext)return;const e=A.getContext("2d");e.textBaseline="middle",e.fillStyle=Vs(180,240),e.fillRect(0,0,parseInt(this.options.width),parseInt(this.options.height));let r;this.options.type==="blend"?r=[...this.options.numArr,...this.options.letterArr]:this.options.type==="number"?r=this.options.numArr:r=this.options.letterArr;for(let m=1;m<=4;m++){const b=r[Dt(0,r.length)];this.options.code+=b,e.font=`${Dt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,e.fillStyle=Vs(50,160),e.shadowOffsetX=Dt(-3,3),e.shadowOffsetY=Dt(-3,3),e.shadowBlur=Dt(-3,3),e.shadowColor="rgba(0, 0, 0, 0.3)";const l=parseInt(this.options.width)/5*m,y=parseInt(this.options.height)/2,S=Dt(-30,30);e.translate(l,y),e.rotate(S*Math.PI/180),e.fillText(b,0,0),e.rotate(-S*Math.PI/180),e.translate(-l,-y)}for(let m=0;m<4;m++)e.strokeStyle=Vs(40,180),e.beginPath(),e.moveTo(Dt(0,parseInt(this.options.width)),Dt(0,parseInt(this.options.height))),e.lineTo(Dt(0,parseInt(this.options.width)),Dt(0,parseInt(this.options.height))),e.stroke();for(let m=0;m<parseInt(this.options.width)/4;m++)e.fillStyle=Vs(0,255),e.beginPath(),e.arc(Dt(0,parseInt(this.options.width)),Dt(0,parseInt(this.options.height)),1,0,2*Math.PI),e.fill()});Je(this,"validate",A=>{const e=A.toLowerCase(),r=this.options.code.toLowerCase();return console.log(r),e===r?!0:(this.refresh(),!1)});this.options={element:null,canvasId:"verifyCanvas",width:"100",height:"30",type:"blend",code:"",numArr:"0,1,2,3,4,5,6,7,8,9".split(","),letterArr:o1(),...e},A&&(this.options.element=A,this._init(),this.refresh())}}const r1={class:"vfc-verify-code"},a1=Object.freeze(Object.defineProperty({__proto__:null,default:ee(c.defineComponent({__name:"Component",props:c.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=c.ref(null),r=c.ref(null),m=ot(),b=()=>{var y;if(!A.value)return;const l=(y=r.value)==null?void 0:y.validate(A.value);console.log("res",l),l?m.updateVCodePass(!0):m.updateVCodePass(!1)};return c.onMounted(()=>{r.value=new s1(e.value)}),(l,y)=>{const S=c.resolveComponent("el-input");return c.openBlock(),c.createElementBlock("div",r1,[c.createVNode(S,{modelValue:A.value,"onUpdate:modelValue":y[0]||(y[0]=f=>A.value=f),class:"verify-input",placeholder:l.placeholder,onBlur:b},null,8,["modelValue","placeholder"]),c.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:e},null,512)])}}}),[["__scopeId","data-v-eda48825"]])},Symbol.toStringTag,{value:"Module"})),l1=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Collapse",props:{children:{}},setup(i){const A=i,e=c.ref([]);return c.onMounted(()=>{e.value=A.children.filter(r=>r.checked).map(r=>r.name)}),c.watch(()=>A.children,()=>{A.children.forEach(r=>{r.children||(r.children=[])})}),(r,m)=>{const b=c.resolveComponent("ElCollapseItem"),l=c.resolveComponent("ElCollapse");return c.openBlock(),c.createBlock(l,c.mergeProps(r.$attrs,{modelValue:e.value,"onUpdate:modelValue":m[0]||(m[0]=y=>e.value=y)}),{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.children,y=>(c.openBlock(),c.createBlock(b,{key:y.name,name:y.name},{title:c.withCtx(()=>[c.createVNode(kd,{title:y.title,italic:"",type:"h4"},null,8,["title"])]),default:c.withCtx(()=>[c.createVNode(c.unref(Ti),{list:y.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),g1=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Tabs",props:{children:{},defaultKey:{}},setup(i){const A=i,e=c.ref("");return c.watch(()=>A.children,()=>{A.children.forEach(r=>{r.children||(r.children=[])})}),c.onMounted(()=>{A.defaultKey&&(e.value=A.defaultKey)}),(r,m)=>{const b=c.resolveComponent("el-tab-pane"),l=c.resolveComponent("el-tabs");return c.openBlock(),c.createBlock(l,c.mergeProps(r.$attrs,{modelValue:e.value,"onUpdate:modelValue":m[0]||(m[0]=y=>e.value=y)}),{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.children,y=>(c.openBlock(),c.createBlock(b,c.mergeProps({key:y.name,ref_for:!0},y),{default:c.withCtx(()=>[c.createVNode(c.unref(Ti),{list:y.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),c1={class:"vfc-ObjGroup"},u1={key:1,class:"vfc-ObjGroup-render"},d1=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(i){const A=i,e=ot(),r=c.inject("$objGroupBase"),m=r?`${r.value}.${A.name}`:A.name;return c.provide("$objGroupBase",c.ref(m)),(b,l)=>(c.openBlock(),c.createElementBlock("div",c1,[c.unref(e).design?(c.openBlock(),c.createBlock(c.unref(rl),{key:0,list:b.children},null,8,["list"])):(c.openBlock(),c.createElementBlock("div",u1,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(b.children,y=>(c.openBlock(),c.createBlock(c.unref(Yi),c.mergeProps({key:y.name,ref_for:!0},y,{name:`${c.unref(m)}.${y.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),h1={key:0},B1={key:0},C1={key:1},p1={key:1,class:"search-select-wrapper"},Q1=Object.freeze(Object.defineProperty({__proto__:null,default:ee(c.defineComponent({__name:"SearchSelect",props:c.mergeModels({onSearch:{},disabled:{type:Boolean},options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},api:{},name:{default:""},onChange:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.useModel(i,"modelValue"),r=ot(),m=c.inject("ruleModule",void 0),b=c.inject("pageMethodMap",{}),l=x=>{const{valueKey:G="value",multiple:K,name:j}=A;let Y={};K&&Array.isArray(x)?Y=S.value.filter(U=>x.includes(U[G])):Y=S.value.find(U=>U[G]===x)||{},r.selectData&&j&&r.updateSelectData(j,Y),A.onChange&&m&&m[A.onChange](b,x,Y)},y=()=>{A.onSearch&&m&&m[A.onSearch](b)},{currentOptions:S,loading:f}=ho(A);return(x,G)=>{var _;const K=c.resolveComponent("el-option"),j=c.resolveComponent("el-select"),Y=c.resolveComponent("el-button"),U=c.resolveDirective("loading");return c.unref(r).read?(c.openBlock(),c.createElementBlock("div",h1,[x.multiple?(c.openBlock(),c.createElementBlock("div",B1,c.toDisplayString(e.value&&e.value.map(I=>{var R;return(R=c.unref(S).find(D=>D[x.valueKey]===I))==null?void 0:R[x.labelKey]}).join("、")),1)):(c.openBlock(),c.createElementBlock("div",C1,c.toDisplayString((_=c.unref(S).find(I=>I[x.valueKey]===e.value))==null?void 0:_[x.labelKey]),1))])):(c.openBlock(),c.createElementBlock("div",p1,[c.withDirectives((c.openBlock(),c.createBlock(j,c.mergeProps({modelValue:e.value,"onUpdate:modelValue":G[0]||(G[0]=I=>e.value=I)},x.$attrs,{onChange:l,multiple:x.multiple,clearable:"",filterable:"",disabled:x.disabled}),{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(S),I=>(c.openBlock(),c.createBlock(K,{key:I[x.valueKey],label:I[x.labelKey],value:I[x.valueKey],disabled:I[x.disabledKey]},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(I[x.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple","disabled"])),[[U,c.unref(f)]]),c.createVNode(Y,{onClick:y,disabled:x.disabled,class:"search-btn"},{default:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:"search"})]),_:1},8,["disabled"])]))}}}),[["__scopeId","data-v-e82a633c"]])},Symbol.toStringTag,{value:"Module"}));it.$options=uo,it.FormDesign=bd,it.FormRender=Pt,it.PageRender=yd,it.TableRender=al,it.default=tv,it.useFormInstance=ot,Object.defineProperties(it,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1579
+ ]`)}}else qA&&(FA=LA(FA,","));for(;DA.charCodeAt(EA)===j||DA.charCodeAt(EA)===U;)EA++,pe();if(EA>=DA.length)return FA;throw new S("Unexpected character "+JSON.stringify(DA[EA]),EA);function se(){pe();var YA=function(){if(DA.charCodeAt(EA)!==K)return!1;{FA+="{",EA++,pe(),GA(t)&&pe();let dt=!0;for(;EA<DA.length&&DA.charCodeAt(EA)!==j;){if(dt?dt=!1:(SA(t)||(FA=zA(FA,",")),pe()),$A(),!(OA()||hA())){DA.charCodeAt(EA)===j||DA.charCodeAt(EA)===K||DA.charCodeAt(EA)===U||DA.charCodeAt(EA)===Y||DA[EA]===void 0?FA=LA(FA,","):function(){throw new S("Object key expected",EA)}();break}pe();var TA=SA(Q),ce=EA>=DA.length,Le=(TA||(rA(DA[EA])||ce?FA=zA(FA,":"):te()),se());Le||(TA||ce?FA+="null":te())}return DA.charCodeAt(EA)===j?(FA+="}",EA++):FA=zA(FA,"}"),!0}}()||function(){if(DA.charCodeAt(EA)!==Y)return!1;{FA+="[",EA++,pe(),GA(t)&&pe();let ce=!0;for(;EA<DA.length&&DA.charCodeAt(EA)!==U;){ce?ce=!1:SA(t)||(FA=zA(FA,",")),$A();var TA=se();if(!TA){FA=LA(FA,",");break}}return DA.charCodeAt(EA)===U?(FA+="]",EA++):FA=zA(FA,"]"),!0}}()||OA()||function(){var TA=EA;if(DA.charCodeAt(EA)===o){if(EA++,vA())return KA(TA),!0;if(!J(DA.charCodeAt(EA)))return EA=TA,!1}for(;J(DA.charCodeAt(EA));)EA++;if(DA.charCodeAt(EA)===p){if(EA++,vA())return KA(TA),!0;if(!J(DA.charCodeAt(EA)))return EA=TA,!1;for(;J(DA.charCodeAt(EA));)EA++}if(DA.charCodeAt(EA)===$||DA.charCodeAt(EA)===H){if(EA++,DA.charCodeAt(EA)!==o&&DA.charCodeAt(EA)!==g||EA++,vA())return KA(TA),!0;if(!J(DA.charCodeAt(EA)))return EA=TA,!1;for(;J(DA.charCodeAt(EA));)EA++}var ce,Le;if(vA()){if(EA>TA)return ce=DA.slice(TA,EA),Le=/^0\d/.test(ce),FA+=Le?'"'.concat(ce,'"'):ce,!0}else EA=TA;return!1}()||le("true","true")||le("false","false")||le("null","null")||le("True","true")||le("False","false")||le("None","null")||hA();return pe(),YA}function pe(){for(kA();function(){if(DA.charCodeAt(EA)===x&&DA.charCodeAt(EA+1)===G){for(;EA<DA.length&&!function(YA,TA){return YA[TA]==="*"&&YA[TA+1]==="/"}(DA,EA);)EA++;EA+=2}else{if(DA.charCodeAt(EA)!==x||DA.charCodeAt(EA+1)!==x)return!1;for(;EA<DA.length&&DA.charCodeAt(EA)!==D;)EA++}return!0}()&&kA(););}function kA(){let YA="";for(var TA,ce;(TA=O(DA.charCodeAt(EA)))||(ce=DA.charCodeAt(EA))===T||ce>=W&&ce<=v||ce===Z||ce===F||ce===X;)YA+=TA?DA[EA]:" ",EA++;return 0<YA.length&&(FA+=YA,!0)}function SA(YA){return DA.charCodeAt(EA)===YA&&(FA+=DA[EA],EA++,!0)}function GA(YA){return DA.charCodeAt(EA)===YA&&(EA++,!0)}function $A(){pe(),DA.charCodeAt(EA)===p&&DA.charCodeAt(EA+1)===p&&DA.charCodeAt(EA+2)===p&&(EA+=3,pe(),GA(t))}function OA(YA){var TA,ce,Le=0<arguments.length&&YA!==void 0&&YA;let dt=DA.charCodeAt(EA)===f;if(dt&&(EA++,dt=!0),V(DA.charCodeAt(EA))){var QA=dA(DA.charCodeAt(EA))?dA:NA(DA.charCodeAt(EA))?NA:wA(DA.charCodeAt(EA))?wA:sA,CA=EA,fA=FA.length;let ae='"';for(EA++;;){if(EA>=DA.length)return MA=IA(EA-1),!Le&&nA(DA.charAt(MA))?(EA=CA,FA=FA.substring(0,fA),OA(!0)):(ae=zA(ae,'"'),FA+=ae,!0);if(QA(DA.charCodeAt(EA))){var MA=EA,_A=ae.length;if(ae+='"',EA++,FA+=ae,pe(),Le||EA>=DA.length||nA(DA.charAt(EA))||V(DA.charCodeAt(EA))||J(DA.charCodeAt(EA)))return XA(),!0;if(nA(DA.charAt(IA(MA-1))))return EA=CA,FA=FA.substring(0,fA),OA(!0);FA=FA.substring(0,fA),EA=MA+1,ae=ae.substring(0,_A)+"\\"+ae.substring(_A)}else{if(Le&&nA(DA[EA]))return ae=zA(ae,'"'),FA+=ae,XA(),!0;if(DA.charCodeAt(EA)===f)if(_A=DA.charAt(EA+1),Ae[_A]!==void 0)ae+=DA.slice(EA,EA+2),EA+=2;else if(_A==="u"){let xe=2;for(;xe<6&&((ce=DA.charCodeAt(EA+xe))>=d&&ce<=n||ce>=k&&ce<=q||ce>=N&&ce<=z);)xe++;if(xe===6)ae+=DA.slice(EA,EA+6),EA+=6;else{if(!(EA+xe>=DA.length))throw ie=void 0,ie=DA.slice(EA,EA+6),new S('Invalid unicode character "'.concat(ie,'"'),EA);EA=DA.length}}else ae+=_A,EA+=2;else{var ie=DA.charAt(EA),oe=DA.charCodeAt(EA);if(oe===s&&DA.charCodeAt(EA-1)!==f)ae+="\\"+ie;else if((TA=oe)===D||TA===C||TA===w||TA===h||TA===B)ae+=WA[ie];else{if(!(32<=(TA=oe)&&TA<=1114111))throw oe=void 0,oe=ie,new S("Invalid character "+JSON.stringify(oe),EA);ae+=ie}EA++}}dt&&GA(f)}}return!1}function XA(){for(pe();DA.charCodeAt(EA)===g;){EA++,pe();var YA=(FA=LA(FA,'"',!0)).length,TA=OA();FA=TA?(TA=FA,YA=YA,ce=1,TA.substring(0,YA)+TA.substring(YA+ce)):zA(FA,'"')}var ce}function le(YA,TA){return DA.slice(EA,EA+YA.length)===YA&&(FA+=TA,EA+=YA.length,!0)}function hA(){for(var YA,TA=EA;EA<DA.length&&(!nA(YA=DA[EA])||YA==="/")&&!V(DA.charCodeAt(EA));)EA++;if(EA>TA){if(DA.charCodeAt(EA)===_&&/^\w+$/.test(DA.slice(TA,EA).trim()))EA++,se(),DA.charCodeAt(EA)===I&&(EA++,DA.charCodeAt(EA)===M)&&EA++;else{for(;O(DA.charCodeAt(EA-1))&&0<EA;)EA--;TA=DA.slice(TA,EA),FA+=TA==="undefined"?"null":JSON.stringify(TA),DA.charCodeAt(EA)===s&&EA++}return!0}}function IA(YA){let TA=YA;for(;0<TA&&O(DA.charCodeAt(TA));)TA--;return TA}function vA(){return EA>=DA.length||nA(DA[EA])||O(DA.charCodeAt(EA))}function KA(YA){FA+=DA.slice(YA,EA)+"0"}function te(){throw new S("Colon expected",EA)}}},3420:function(b){b.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},5207:function(b){b.exports=JSON.parse('{"id":"http://json-schema.org/draft-04/schema#","$schema":"http://json-schema.org/draft-04/schema#","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string"},"$schema":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}}')},6801:function(b){b.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-06/schema#","$id":"http://json-schema.org/draft-06/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"examples":{"type":"array","items":{}},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":{},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":{}}')},8198:function(b){b.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}},m={},e.amdD=function(){throw new Error("define cannot be used indirect")},e.n=function(b){var l=b&&b.__esModule?function(){return b.default}:function(){return b};return e.d(l,{a:l}),l},e.d=function(b,l){for(var y in l)e.o(l,y)&&!e.o(b,y)&&Object.defineProperty(b,y,{enumerable:!0,get:l[y]})},e.o=function(b,l){return Object.prototype.hasOwnProperty.call(b,l)},e.r=function(b){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(b,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(b,"__esModule",{value:!0})},e.nmd=function(b){return b.paths=[],b.children||(b.children=[]),b},e(1346);function e(b){var l=m[b];return l!==void 0||(l=m[b]={id:b,loaded:!1,exports:{}},r[b].call(l.exports,l,l.exports,e),l.loaded=!0),l.exports}var r,m})})(vd);var av=vd.exports;const lv=jB(av),gv={editor:null,name:"json-editor-vue",internalChange:!1,props:{modelValue:Object,options:Object,currentMode:{type:String,default:"code"},modeList:{type:Array,default:()=>["tree","code","form","text","view"]},language:{type:String,default:"en"}},data(){return{json:this.modelValue,expandedModes:["tree","view","form"],isFullScreen:!1,hasLogo:!0,showFullScreen:!1}},watch:{modelValue:{immediate:!0,deep:!0,handler(i){this.internalChange||(this.setEditorContent(i),this.$nextTick(()=>{this.expandAll()}))}}},mounted(){this.init();const i=document.querySelector(".jsoneditor-menu .jsoneditor-poweredBy");this.hasLogo=i&&window.getComputedStyle(i).display!=="none",this.showFullScreen=!0},unmounted(){var i;(i=this.editor)==null||i.destroy(),this.editor=null},methods:{toggleFullScreen(){this.isFullScreen=!this.isFullScreen,this.$nextTick(()=>{const i=new Event("resize");window.dispatchEvent(i)})},init(){const{currentMode:i,modeList:A,options:e}=this,r=()=>{const K=Y=>{this.json=Y,this.$emit("update:modelValue",Y),this.$emit("change",Y),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){K("");return}try{const Y=this.editor.get();K(Y)}catch{}},m=()=>{this.expandAll()},b=(K,j,Y)=>{this.$emit("textSelectionChange",this.editor,K,j,Y)},l=(K,j)=>{this.$emit("selectionChange",this.editor,K,j)},y=(K,j,Y)=>{this.$emit("colorPicker",this.editor,K,j,Y)},S=({target:K})=>{this.$emit("focus",this.editor,K)},f=({target:K})=>{this.$emit("blur",this.editor,K)},x=K=>{this.$emit("validationError",this.editor,K)},G={...e,indentation:2,language:this.language,mode:i,modes:A,onChange:r,onModeChange:m,onTextSelectionChange:b,onSelectionChange:l,onColorPicker:y,onFocus:S,onBlur:f,onValidationError:x};this.editor=new lv(this.$refs.jsonEditorVue,G,this.json)},expandAll(){var i,A;this.expandedModes.includes((i=this.editor)==null?void 0:i.getMode())&&((A=this.editor)==null||A.expandAll())},setEditorContent(i){var A;(A=this.editor)==null||A.set(i)}}},cv={ref:"jsonEditorVue",class:"json-editor-vue"};function uv(i,A,e,r,m,b){return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["container",{"full-screen-container":m.isFullScreen}])},[c.createElementVNode("div",cv,null,512),c.createElementVNode("div",{class:c.normalizeClass(["full-screen",{show:m.showFullScreen,right:!m.hasLogo}]),onClick:A[0]||(A[0]=(...l)=>b.toggleFullScreen&&b.toggleFullScreen(...l))},null,2)],2)}const dv=ee(gv,[["render",uv],["__scopeId","data-v-c3373674"]]),hv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:c.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue");return(e,r)=>(c.openBlock(),c.createBlock(c.unref(Jf),{disabled:i.disabled,class:"jsonEdit-disabled"},{default:c.withCtx(()=>[c.createVNode(dv,c.mergeProps({class:"editor-direct",modelValue:A.value,"onUpdate:modelValue":r[0]||(r[0]=m=>A.value=m),currentMode:"code",modeList:["text","view","tree","code","form"],options:{search:!1,history:!1}},e.$attrs),null,16,["modelValue"])]),_:1},8,["disabled"]))}})},Symbol.toStringTag,{value:"Module"})),Bv={key:0},Cv={key:0,style:{"font-size":"12px"}},pv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Checkbox",props:c.mergeModels({options:{default:()=>[]},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},api:{},name:{default:""},onChange:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.useModel(i,"modelValue"),r=ot(),{currentOptions:m,selectChange:b,loading:l}=ho(A);return c.watch(e,b),(y,S)=>{var Y;const f=c.resolveComponent("el-checkbox"),x=c.resolveComponent("el-checkbox-button"),G=c.resolveComponent("el-space"),K=c.resolveComponent("el-checkbox-group"),j=c.resolveDirective("loading");return c.unref(r).read?(c.openBlock(),c.createElementBlock("div",Bv,c.toDisplayString((Y=e.value)==null?void 0:Y.map(U=>{var _;return(_=c.unref(m).find(I=>I[y.valueKey]===U))==null?void 0:_[y.labelKey]}).join("、")),1)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[!c.unref(m).length&&!c.unref(l)?(c.openBlock(),c.createElementBlock("div",Cv,"暂无选项")):c.createCommentVNode("",!0),c.withDirectives((c.openBlock(),c.createBlock(K,c.mergeProps(y.$attrs,{modelValue:e.value,"onUpdate:modelValue":S[0]||(S[0]=U=>e.value=U),onChange:c.unref(b)}),{default:c.withCtx(()=>[y.optionType==="circle"||y.optionType==="border"?(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:0},c.renderList(c.unref(m),U=>(c.openBlock(),c.createBlock(f,{key:U[y.valueKey],label:U[y.labelKey],value:U[y.valueKey],border:y.optionType==="border"},null,8,["label","value","border"]))),128)):c.createCommentVNode("",!0),y.optionType==="button"?(c.openBlock(),c.createBlock(G,{key:1,wrap:"",size:[y.space,y.space]},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(m),U=>(c.openBlock(),c.createBlock(x,{key:U[y.valueKey],label:U[y.labelKey],value:U[y.valueKey],size:"large"},null,8,["label","value"]))),128))]),_:1},8,["size"])):c.createCommentVNode("",!0)]),_:1},16,["modelValue","onChange"])),[[j,c.unref(l)]])],64))}}})},Symbol.toStringTag,{value:"Module"})),Qv={class:"vfc-color-input"},Ev=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"ColorInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue");return(e,r)=>{const m=c.resolveComponent("el-input"),b=c.resolveComponent("el-color-picker");return c.openBlock(),c.createElementBlock("div",Qv,[c.createVNode(m,{modelValue:A.value,"onUpdate:modelValue":r[0]||(r[0]=l=>A.value=l)},null,8,["modelValue"]),c.createVNode(b,{modelValue:A.value,"onUpdate:modelValue":r[1]||(r[1]=l=>A.value=l)},null,8,["modelValue"])])}}})},Symbol.toStringTag,{value:"Module"})),Iv={key:0,class:"empty"},mv=Object.freeze(Object.defineProperty({__proto__:null,default:ee(c.defineComponent({__name:"Custom",props:c.mergeModels({componentName:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue");return(e,r)=>e.componentName?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.componentName),c.mergeProps({key:1,modelValue:A.value,"onUpdate:modelValue":r[0]||(r[0]=m=>A.value=m)},e.$attrs),null,16,["modelValue"])):(c.openBlock(),c.createElementBlock("span",Iv,"请输入全局注册得组件名"))}}),[["__scopeId","data-v-2250b7d1"]])},Symbol.toStringTag,{value:"Module"})),fv={};function wv(i,A){const e=c.resolveComponent("el-date-picker");return c.openBlock(),c.createBlock(e,c.mergeProps(i.$attrs,{style:{width:"100%"}}),null,16)}const Dv=Object.freeze(Object.defineProperty({__proto__:null,default:ee(fv,[["render",wv]])},Symbol.toStringTag,{value:"Module"})),bv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Divider",props:{title:{}},setup(i){return(A,e)=>{const r=c.resolveComponent("ElDivider");return c.openBlock(),c.createBlock(r,c.normalizeProps(c.guardReactiveProps(A.$attrs)),{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(A.title),1)]),_:1},16)}}})},Symbol.toStringTag,{value:"Module"})),yv=c.defineComponent({props:{width:{type:Number,default:800},height:{type:Number,default:300},lineWidth:{type:Number,default:4},lineColor:{type:String,default:"#000000"},bgColor:{type:String,default:""},isCrop:{type:Boolean,default:!1},isClearBgColor:{type:Boolean,default:!1},format:{type:String,default:"image/png"},quality:{type:Number,default:1}},setup(i){const A=c.ref(!1),e=c.ref(""),r=c.ref([]),m=c.ref(null),b=c.ref(0),l=c.ref(0),y=c.ref(!1),S=c.ref(1),f=c.ref(null),x=c.computed(()=>i.height/i.width),G=c.computed(()=>i.bgColor?i.bgColor:"rgba(255, 255, 255, 0)");c.watch(G,D=>{f.value&&(f.value.style.background=D)});const K=()=>{if(f.value){f.value.style.width=`${i.width}px`;const D=parseFloat(window.getComputedStyle(f.value).width);f.value.style.height=`${x.value*D}px`,m.value=f.value.getContext("2d"),m.value&&(m.value.scale(1*S.value,1*S.value),S.value=D/i.width,m.value.scale(1/S.value,1/S.value))}};c.onMounted(()=>{f.value&&(f.value.height=i.height,f.value.width=i.width,f.value.style.background=G.value,K(),document.onmouseup=()=>{y.value=!1}),window.addEventListener("resize",K)}),c.onBeforeUnmount(()=>{window.removeEventListener("resize",K)});const j=D=>{b.value=D.x,l.value=D.y,m.value&&(m.value.beginPath(),m.value.moveTo(b.value,l.value),m.value.lineTo(D.x,D.y),m.value.lineCap="round",m.value.lineJoin="round",m.value.lineWidth=i.lineWidth*S.value,m.value.stroke(),m.value.closePath(),r.value.push(D))},Y=D=>{m.value&&(m.value.beginPath(),m.value.moveTo(b.value,l.value),m.value.lineTo(D.x,D.y),m.value.strokeStyle=i.lineColor,m.value.lineWidth=i.lineWidth*S.value,m.value.lineCap="round",m.value.lineJoin="round",m.value.stroke(),m.value.closePath(),l.value=D.y,b.value=D.x,r.value.push(D))},U=D=>{m.value&&(m.value.beginPath(),m.value.moveTo(b.value,l.value),m.value.lineTo(D.x,D.y),m.value.lineCap="round",m.value.lineJoin="round",m.value.stroke(),m.value.closePath(),r.value.push(D),r.value.push({x:-1,y:-1}))},_=D=>{const w=(D==null?void 0:D.format)||i.format,C=(D==null?void 0:D.quality)||i.quality;return new Promise((h,B)=>{if(!A.value){B("Warning: Not Signed!");return}if(m.value){const s=m.value.getImageData(0,0,f.value.width,f.value.height);m.value.globalCompositeOperation="destination-over",m.value.fillStyle=G.value,m.value.fillRect(0,0,f.value.width,f.value.height),e.value=f.value.toDataURL(w,C);let g=e.value;if(m.value.clearRect(0,0,f.value.width,f.value.height),m.value.putImageData(s,0,0),m.value.globalCompositeOperation="source-over",i.isCrop){const o=R(s.data),u=document.createElement("canvas"),d=u.getContext("2d");if(d){u.width=o[2]-o[0],u.height=o[3]-o[1];const n=m.value.getImageData(o[0],o[1],o[2],o[3]);d.globalCompositeOperation="destination-over",d.putImageData(n,0,0),d.fillStyle=G.value,d.fillRect(0,0,u.width,u.height),g=u.toDataURL(w,C)}}h(g)}})},I=()=>{m.value&&m.value.clearRect(0,0,f.value.width,f.value.height),i.isClearBgColor&&(r.value=[],A.value=!1,e.value="")},R=D=>{let w=f.value.width,C=0,h=f.value.height,B=0;for(let s=0;s<f.value.width;s++)for(let g=0;g<f.value.height;g++){const o=(s+f.value.width*g)*4;(D[o]>0||D[o+1]>0||D[o+2]>0||D[o+3]>0)&&(B=Math.max(g,B),C=Math.max(s,C),h=Math.min(g,h),w=Math.min(s,w))}return[w+1,h+1,C+1,B+1]};return{canvas:f,myBg:G,drawStart:j,drawMove:Y,drawEnd:U,generate:_,reset:I,touchStart:D=>{if(D.preventDefault(),A.value=!0,D.touches.length===1&&f.value){const w={x:D.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:D.targetTouches[0].clientY-f.value.getBoundingClientRect().top};j(w)}},touchMove:D=>{if(D.preventDefault(),D.touches.length===1){const w={x:D.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:D.targetTouches[0].clientY-f.value.getBoundingClientRect().top};Y(w)}},touchEnd:D=>{if(D.preventDefault(),D.touches.length===1){const w={x:D.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:D.targetTouches[0].clientY-f.value.getBoundingClientRect().top};U(w)}},mouseDown:D=>{D.preventDefault(),y.value=!0,A.value=!0;const w={x:D.offsetX,y:D.offsetY};j(w)},mouseMove:D=>{if(D.preventDefault(),y.value){const w={x:D.offsetX,y:D.offsetY};Y(w)}},mouseUp:D=>{D.preventDefault();const w={x:D.offsetX,y:D.offsetY};U(w),y.value=!1}}}});function vv(i,A,e,r,m,b){return c.openBlock(),c.createElementBlock("canvas",{ref:"canvas",onMousedown:A[0]||(A[0]=(...l)=>i.mouseDown&&i.mouseDown(...l)),onMousemove:A[1]||(A[1]=(...l)=>i.mouseMove&&i.mouseMove(...l)),onMouseup:A[2]||(A[2]=(...l)=>i.mouseUp&&i.mouseUp(...l)),onTouchstart:A[3]||(A[3]=(...l)=>i.touchStart&&i.touchStart(...l)),onTouchmove:A[4]||(A[4]=(...l)=>i.touchMove&&i.touchMove(...l)),onTouchend:A[5]||(A[5]=(...l)=>i.touchEnd&&i.touchEnd(...l))},null,544)}const kv=ee(yv,[["render",vv],["__scopeId","data-v-0e272b28"]]),_v={key:0},Mv={class:"vfc-esign-preview"},Sv=["src"],xv={key:1,class:"vfc-esign"},Fv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Component",props:c.mergeModels({lineWidth:{default:6},lineColor:{default:"#000000"},bgColor:{default:"#f6f6f6"},isCrop:{type:Boolean,default:!1},width:{default:700},height:{default:300},disabled:{type:Boolean},format:{default:"image/png"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.ref(),r=ot(),m=c.useModel(i,"modelValue"),b={size:"small",labelPosition:"right",items:[{component:"Inline",children:[{label:"画笔粗细",component:"InputNumber",name:"lineWidth",props:{controlsPosition:"right"}},{label:"画笔颜色",component:"ColorPicker",name:"lineColor"},{label:"画板背景色",component:"ColorPicker",name:"bgColor"}],props:{align:"left",gap:20},designKey:"design-ZuIT",name:"form-OqAi",style:{marginBottom:"10px"}}]},l=c.ref({lineWidth:6,lineColor:"#000000",bgColor:"#fff"}),y=()=>{e.value.reset()},S=()=>{e.value.generate().then(G=>{m.value=G}).catch(G=>{alert(G)})},f=c.ref(""),x=()=>{f.value=m.value,m.value=""};return c.onMounted(()=>{Object.assign(l.value,A)}),(G,K)=>{const j=c.resolveComponent("el-button");return c.unref(r).read||m.value?(c.openBlock(),c.createElementBlock("div",_v,[c.createElementVNode("div",Mv,[c.createElementVNode("img",{src:m.value,alt:"未签名"},null,8,Sv)]),c.unref(r).read?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(j,{key:0,disabled:G.disabled,onClick:x,type:"primary"},{default:c.withCtx(()=>K[2]||(K[2]=[c.createTextVNode("重写")])),_:1},8,["disabled"]))])):(c.openBlock(),c.createElementBlock("div",xv,[c.createVNode(c.unref(Pt),{modelValue:l.value,"onUpdate:modelValue":K[0]||(K[0]=Y=>l.value=Y),schema:b,class:"vfc-esign-actions"},null,8,["modelValue"]),c.createVNode(kv,{class:"vfc-esign-canvas",ref_key:"esign",ref:e,width:G.width,height:G.height,isCrop:G.isCrop,lineWidth:l.value.lineWidth,lineColor:l.value.lineColor,bgColor:l.value.bgColor,format:G.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),c.createElementVNode("div",null,[f.value?(c.openBlock(),c.createBlock(j,{key:0,disabled:G.disabled,onClick:K[1]||(K[1]=Y=>m.value=f.value),plain:"",type:"primary"},{default:c.withCtx(()=>K[3]||(K[3]=[c.createTextVNode("取消")])),_:1},8,["disabled"])):c.createCommentVNode("",!0),c.createVNode(j,{disabled:G.disabled,onClick:y,plain:"",type:"primary"},{default:c.withCtx(()=>K[4]||(K[4]=[c.createTextVNode("清空")])),_:1},8,["disabled"]),c.createVNode(j,{disabled:G.disabled,onClick:S,type:"primary"},{default:c.withCtx(()=>K[5]||(K[5]=[c.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),Nv={key:0},Rv={key:0,style:{"font-size":"12px"}},Lv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Radio",props:c.mergeModels({options:{default:()=>[]},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},api:{},name:{default:""},onChange:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{type:[String,Number,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.useModel(i,"modelValue"),r=ot(),m=c.inject("ruleModule",void 0),b=c.inject("pageMethodMap",{}),l=f=>{const{valueKey:x="value",name:G}=A;let K={};K=y.value.find(j=>j[x]===f)||{},r.selectData&&G&&r.updateSelectData(G,K),A.onChange&&m&&m[A.onChange](b,f,K)},{currentOptions:y,loading:S}=ho(A);return(f,x)=>{var _;const G=c.resolveComponent("el-radio"),K=c.resolveComponent("el-radio-button"),j=c.resolveComponent("el-space"),Y=c.resolveComponent("el-radio-group"),U=c.resolveDirective("loading");return c.unref(r).read?(c.openBlock(),c.createElementBlock("div",Nv,c.toDisplayString((_=c.unref(y).find(I=>I[f.valueKey]===e.value))==null?void 0:_[f.labelKey]),1)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[!c.unref(y).length&&!c.unref(S)?(c.openBlock(),c.createElementBlock("div",Rv,"暂无选项")):c.createCommentVNode("",!0),c.withDirectives((c.openBlock(),c.createBlock(Y,c.mergeProps({modelValue:e.value,"onUpdate:modelValue":x[0]||(x[0]=I=>e.value=I),onChange:l},f.$attrs),{default:c.withCtx(()=>[c.createVNode(j,{wrap:"",direction:f.direction,size:[f.space,f.space],alignment:"normal"},{default:c.withCtx(()=>[f.optionType==="circle"||f.optionType==="border"?(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:0},c.renderList(c.unref(y),I=>(c.openBlock(),c.createBlock(G,{key:I[f.valueKey],label:I[f.labelKey],value:I[f.valueKey],disabled:I[f.disabledKey],border:f.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:1},c.renderList(c.unref(y),I=>(c.openBlock(),c.createBlock(K,c.mergeProps({key:I[f.valueKey],label:I[f.labelKey],value:I[f.valueKey],disabled:I[f.disabledKey],ref_for:!0},f.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[U,c.unref(S)]])],64))}}})},Symbol.toStringTag,{value:"Module"})),Gv={class:"vfc-formList"},Hv={key:1},Pv={class:"list-item-content"},Kv={class:"card-header"},Uv={style:{"margin-top":"5px"}},Yv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"FormList",props:c.mergeModels({children:{default:()=>[]},allowAdd:{type:Boolean,default:!0},allowReduce:{type:Boolean,default:!0},minLines:{default:0},maxLines:{default:999},mode:{default:"table"},title:{default:""},name:{default:""},disabled:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.useModel(i,"modelValue"),r=c.ref(0),m=ot(),b=G=>es(A.children,{$item:e.value[G],$index:G}),l=c.computed(()=>e.value.length>=A.maxLines),y=c.computed(()=>e.value.length<=A.minLines),S=()=>{l.value||(e.value=[...e.value,{}])},f=G=>{const K=e.value.filter((j,Y)=>Y!==G);e.value=K},x=(G,K,j,Y)=>{const U=K.no,_=b(Y)[U];return c.h(Yi,{..._,hideLabel:!0,style:{marginBottom:0},name:`${A.name}.${Y}.${_.name}`})};return c.watch(e,(G,K)=>{const j=G.reduce((I,R,D)=>($e.isEqual(R,K[D])||(I=D),I),0);if(r.value=j,!A.children.some(I=>I.change))return;const Y=b(j),U=G[j]||{},_=K[j]||{};Y.forEach(I=>{I.change&&_&&!$e.isEqual(U[I.name],_[I.name])&&I.change.forEach(R=>{if(R.condition!==!1){if($e.isString(R.condition)&&/^{{\s*(.*?)\s*}}$/.test(R.condition))return;const D=R.target.split(".").pop();e.value[j][D]=R.value}})})}),c.onMounted(()=>{var G;A.minLines&&!((G=e.value)!=null&&G.length)&&(e.value=Array.from({length:A.minLines},()=>({})))}),c.provide("$objGroupBase",c.computed(()=>`${A.name}.${r.value}`)),(G,K)=>{const j=c.resolveComponent("el-space"),Y=c.resolveComponent("el-button"),U=c.resolveComponent("el-form-item"),_=c.resolveComponent("el-card"),I=c.resolveComponent("el-table-column"),R=c.resolveComponent("el-table");return c.openBlock(),c.createElementBlock("div",Gv,[c.unref(m).design?(c.openBlock(),c.createBlock(c.unref(rl),{key:0,list:G.children,class:"layoutRender"},null,8,["list"])):(c.openBlock(),c.createElementBlock("div",Hv,[G.mode==="inline"?(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:0},c.renderList(e.value,(D,w)=>(c.openBlock(),c.createBlock(U,{key:D.key,class:"list-item"},{default:c.withCtx(()=>[c.createElementVNode("div",Pv,[c.createVNode(j,null,{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(b(w),C=>(c.openBlock(),c.createBlock(c.unref(Yi),c.mergeProps({ref_for:!0},C,{key:C.label,name:`${G.name}.${w}.${C.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),G.allowReduce&&!y.value?(c.openBlock(),c.createBlock(Y,{key:0,onClick:C=>f(w),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:G.disabled,size:"small"},{icon:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):c.createCommentVNode("",!0)])]),_:2},1024))),128)):c.createCommentVNode("",!0),G.mode==="card"?(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:1},c.renderList(e.value,(D,w)=>(c.openBlock(),c.createBlock(_,{key:D.key,class:"list-card"},{header:c.withCtx(()=>[c.createElementVNode("div",Kv,[c.createElementVNode("span",null,c.toDisplayString(G.title+(w+1)),1),G.allowReduce&&!y.value?(c.openBlock(),c.createBlock(Y,{key:0,onClick:C=>f(w),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:G.disabled,size:"small"},{icon:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):c.createCommentVNode("",!0)])]),default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(b(w),C=>(c.openBlock(),c.createBlock(c.unref(Yi),c.mergeProps({ref_for:!0},C,{key:C.label,class:"list-card-item",name:`${G.name}.${w}.${C.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):c.createCommentVNode("",!0),G.mode==="table"&&e.value.length?(c.openBlock(),c.createBlock(R,{key:2,data:e.value,style:{width:"100%"}},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(G.children,D=>(c.openBlock(),c.createBlock(I,c.mergeProps({prop:D.name,label:D.label,key:D.name,ref_for:!0},c.unref($e.pickBy)(D,Boolean),{formatter:x}),null,16,["prop","label"]))),128)),c.createVNode(I,{fixed:"right","min-width":"60"},{default:c.withCtx(D=>[G.allowReduce&&!y.value?(c.openBlock(),c.createBlock(Y,{key:0,onClick:w=>f(D.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:G.disabled,size:"small",plain:""},{icon:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):c.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):c.createCommentVNode("",!0),c.createElementVNode("div",Uv,[G.allowAdd&&!l.value?(c.openBlock(),c.createBlock(Y,{key:0,onClick:S,type:"primary",class:"list-btn addBtn",disabled:G.disabled,size:"small",plain:""},{icon:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:"add"})]),default:c.withCtx(()=>[c.createTextVNode(" "+c.toDisplayString(G.title),1)]),_:1},8,["disabled"])):c.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),Tv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{}},setup(i){const A=i,e=c.computed(()=>({display:"grid","grid-template-columns":`repeat(${A.columns}, 1fr)`,"row-gap":A.rowGap+"px","column-gap":A.columnGap+"px","align-items":A.alignItems}));return(r,m)=>(c.openBlock(),c.createBlock(c.unref(Ti),{class:"form-item-grid",style:c.normalizeStyle(e.value),list:r.children},null,8,["style","list"]))}})},Symbol.toStringTag,{value:"Module"})),Ov=Object.freeze(Object.defineProperty({__proto__:null,default:ee(c.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{}},setup(i){const A=i,e=c.computed(()=>({width:"100%",display:"flex","justify-content":A.align,"flex-wrap":A.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${A.gap}px`}));return(r,m)=>(c.openBlock(),c.createBlock(c.unref(Ti),{class:"form-item-inline",style:c.normalizeStyle(e.value),list:r.children},null,8,["style","list"]))}}),[["__scopeId","data-v-c38cc7f7"]])},Symbol.toStringTag,{value:"Module"})),Jv={key:0},$v=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Component",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=ot();return(r,m)=>{const b=c.resolveComponent("el-input-number");return c.unref(e).read?(c.openBlock(),c.createElementBlock("div",Jv,c.toDisplayString(A.value),1)):(c.openBlock(),c.createBlock(b,c.mergeProps({key:1},r.$attrs,{modelValue:A.value,"onUpdate:modelValue":m[0]||(m[0]=l=>A.value=l)}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),Zv={key:0},zv={key:0},Wv={key:1},jv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Select",props:c.mergeModels({options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},api:{},name:{default:""},onChange:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.useModel(i,"modelValue"),r=ot(),m=c.inject("ruleModule",void 0),b=c.inject("pageMethodMap",{}),l=f=>{const{valueKey:x="value",multiple:G,name:K}=A;let j={};G&&Array.isArray(f)?j=y.value.filter(Y=>f.includes(Y[x])):j=y.value.find(Y=>Y[x]===f)||{},r.selectData&&K&&r.updateSelectData(K,j),A.onChange&&m&&m[A.onChange](b,f,j)},{currentOptions:y,loading:S}=ho(A);return(f,x)=>{var Y;const G=c.resolveComponent("el-option"),K=c.resolveComponent("el-select"),j=c.resolveDirective("loading");return c.unref(r).read?(c.openBlock(),c.createElementBlock("div",Zv,[f.multiple?(c.openBlock(),c.createElementBlock("div",zv,c.toDisplayString(e.value&&e.value.map(U=>{var _;return(_=c.unref(y).find(I=>I[f.valueKey]===U))==null?void 0:_[f.labelKey]}).join("、")),1)):(c.openBlock(),c.createElementBlock("div",Wv,c.toDisplayString((Y=c.unref(y).find(U=>U[f.valueKey]===e.value))==null?void 0:Y[f.labelKey]),1))])):c.withDirectives((c.openBlock(),c.createBlock(K,c.mergeProps({key:1,modelValue:e.value,"onUpdate:modelValue":x[0]||(x[0]=U=>e.value=U)},f.$attrs,{onChange:l,multiple:f.multiple,clearable:"",filterable:""}),{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(y),U=>(c.openBlock(),c.createBlock(G,{key:U[f.valueKey],label:U[f.labelKey],value:U[f.valueKey],disabled:U[f.disabledKey]},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(U[f.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple"])),[[j,c.unref(S)]])}}})},Symbol.toStringTag,{value:"Module"})),qv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Component",props:c.mergeModels({selectPosition:{default:"append"},selectWidth:{default:70},selectInitialValue:{},options:{default:()=>[]},parse:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.useModel(i,"modelValue"),r=c.ref(""),m=c.computed({get(){var b;return(b=e.value)==null?void 0:b.replaceAll(r.value,"")},set(b){b?e.value=b+r.value:e.value=b}});return c.watch(r,(b,l)=>{var y;e.value&&(e.value=((y=e.value)==null?void 0:y.replaceAll(l,""))+b)}),c.onMounted(()=>{A.selectInitialValue&&(r.value=A.selectInitialValue)}),(b,l)=>{const y=c.resolveComponent("el-option"),S=c.resolveComponent("el-select"),f=c.resolveComponent("el-input");return c.openBlock(),c.createBlock(f,c.mergeProps({"show-word-limit":"",autocomplete:"off"},b.$attrs,{modelValue:m.value,"onUpdate:modelValue":l[1]||(l[1]=x=>m.value=x)}),{[b.selectPosition]:c.withCtx(()=>[c.createVNode(S,{modelValue:r.value,"onUpdate:modelValue":l[0]||(l[0]=x=>r.value=x),style:c.normalizeStyle({width:b.selectWidth+"px"}),placeholder:" "},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(b.options,x=>(c.openBlock(),c.createBlock(y,{label:x.label,value:x.value,disabled:x.disabled,key:x.value},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","style"])]),_:2},1040,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),Xv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Component",props:c.mergeModels({disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=ot(),e=c.useModel(i,"modelValue");return(r,m)=>{const b=c.resolveComponent("el-switch");return c.openBlock(),c.createBlock(b,c.mergeProps(r.$attrs,{modelValue:e.value,"onUpdate:modelValue":m[0]||(m[0]=l=>e.value=l),disabled:c.unref(A).read||r.disabled}),null,16,["modelValue","disabled"])}}})},Symbol.toStringTag,{value:"Module"})),Vv=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Tag",props:{text:{default:"标签"},type:{default:"primary"}},setup(i){return(A,e)=>{const r=c.resolveComponent("el-tag");return c.openBlock(),c.createBlock(r,{type:A.type},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(A.text),1)]),_:1},8,["type"])}}})},Symbol.toStringTag,{value:"Module"})),A1=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Component",props:{text:{}},setup(i){return(A,e)=>(c.openBlock(),c.createElementBlock("div",c.normalizeProps(c.guardReactiveProps(A.$attrs)),c.toDisplayString(A.text),17))}})},Symbol.toStringTag,{value:"Module"})),kd=c.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(i){return(A,e)=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(A.type),{class:"Title",style:c.normalizeStyle({fontStyle:A.italic?"italic":"normal"})},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(A.title),1)]),_:1},8,["style"]))}}),e1=Object.freeze(Object.defineProperty({__proto__:null,default:kd},Symbol.toStringTag,{value:"Module"})),t1={key:0,style:{"min-width":"300px"}},n1={class:"el-upload__tip"},i1=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Component",props:c.mergeModels({action:{},multiple:{type:Boolean},btnText:{default:"点击上传"},tip:{},limit:{default:3},drag:{type:Boolean},name:{default:"file"},listType:{default:"text"}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=(l,y)=>{console.log(l,y)},r=l=>{console.log(l)},m=(l,y)=>{hn.ElMessage.warning(`The limit is 3, you selected ${l.length} files this time, add up to ${l.length+y.length} totally`)},b=(l,y)=>hn.ElMessageBox.confirm(`Cancel the transfer of ${l.name} ?`).then(()=>!0,()=>!1);return(l,y)=>{const S=c.resolveComponent("el-button"),f=c.resolveComponent("el-upload");return c.openBlock(),c.createBlock(f,{"file-list":A.value,"onUpdate:fileList":y[0]||(y[0]=x=>A.value=x),action:l.action,multiple:l.multiple,limit:l.limit,drag:l.drag,name:l.name,listType:l.listType,"on-preview":r,"on-remove":e,"before-remove":b,"on-exceed":m},c.createSlots({default:c.withCtx(()=>[l.listType==="text"?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[l.drag?(c.openBlock(),c.createElementBlock("div",t1,[c.createVNode(c.unref(ge),{class:"el-icon--upload",name:"upload"}),y[1]||(y[1]=c.createElementVNode("div",{class:"el-upload__text"},[c.createTextVNode(" 拖拽文件到此处上传 "),c.createElementVNode("br"),c.createTextVNode(" 或"),c.createElementVNode("em",null,"点击上传")],-1))])):(c.openBlock(),c.createBlock(S,{key:1,type:"primary"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(l.btnText),1)]),_:1}))],64)):c.createCommentVNode("",!0),l.listType==="picture-card"?(c.openBlock(),c.createBlock(c.unref(ge),{key:1,name:"add"})):c.createCommentVNode("",!0)]),_:2},[l.tip?{name:"tip",fn:c.withCtx(()=>[c.createElementVNode("div",n1,c.toDisplayString(l.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType"])}}})},Symbol.toStringTag,{value:"Module"}));function o1(){return"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",")}function Dt(i,A){return Math.floor(Math.random()*(A-i)+i)}function Vs(i,A){const e=Dt(i,A),r=Dt(i,A),m=Dt(i,A);return`rgb(${e},${r},${m})`}class s1{constructor(A,e){Je(this,"version","1.0.0");Je(this,"options");Je(this,"_init",()=>{const A=this.options.element;if(!A)return;const e=document.createElement("canvas");this.options.width=A.offsetWidth>0?A.offsetWidth.toString():"100",this.options.height=A.offsetHeight>0?A.offsetHeight.toString():"30",e.id=this.options.canvasId,e.width=parseInt(this.options.width),e.height=parseInt(this.options.height),e.style.cursor="pointer",e.innerHTML="您的浏览器版本不支持canvas",A.appendChild(e),e.onclick=()=>{this.refresh()}});Je(this,"refresh",()=>{this.options.code="";const A=document.getElementById(this.options.canvasId);if(!A||!A.getContext)return;const e=A.getContext("2d");e.textBaseline="middle",e.fillStyle=Vs(180,240),e.fillRect(0,0,parseInt(this.options.width),parseInt(this.options.height));let r;this.options.type==="blend"?r=[...this.options.numArr,...this.options.letterArr]:this.options.type==="number"?r=this.options.numArr:r=this.options.letterArr;for(let m=1;m<=4;m++){const b=r[Dt(0,r.length)];this.options.code+=b,e.font=`${Dt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,e.fillStyle=Vs(50,160),e.shadowOffsetX=Dt(-3,3),e.shadowOffsetY=Dt(-3,3),e.shadowBlur=Dt(-3,3),e.shadowColor="rgba(0, 0, 0, 0.3)";const l=parseInt(this.options.width)/5*m,y=parseInt(this.options.height)/2,S=Dt(-30,30);e.translate(l,y),e.rotate(S*Math.PI/180),e.fillText(b,0,0),e.rotate(-S*Math.PI/180),e.translate(-l,-y)}for(let m=0;m<4;m++)e.strokeStyle=Vs(40,180),e.beginPath(),e.moveTo(Dt(0,parseInt(this.options.width)),Dt(0,parseInt(this.options.height))),e.lineTo(Dt(0,parseInt(this.options.width)),Dt(0,parseInt(this.options.height))),e.stroke();for(let m=0;m<parseInt(this.options.width)/4;m++)e.fillStyle=Vs(0,255),e.beginPath(),e.arc(Dt(0,parseInt(this.options.width)),Dt(0,parseInt(this.options.height)),1,0,2*Math.PI),e.fill()});Je(this,"validate",A=>{const e=A.toLowerCase(),r=this.options.code.toLowerCase();return console.log(r),e===r?!0:(this.refresh(),!1)});this.options={element:null,canvasId:"verifyCanvas",width:"100",height:"30",type:"blend",code:"",numArr:"0,1,2,3,4,5,6,7,8,9".split(","),letterArr:o1(),...e},A&&(this.options.element=A,this._init(),this.refresh())}}const r1={class:"vfc-verify-code"},a1=Object.freeze(Object.defineProperty({__proto__:null,default:ee(c.defineComponent({__name:"Component",props:c.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=c.useModel(i,"modelValue"),e=c.ref(null),r=c.ref(null),m=ot(),b=()=>{var y;if(!A.value)return;const l=(y=r.value)==null?void 0:y.validate(A.value);console.log("res",l),l?m.updateVCodePass(!0):m.updateVCodePass(!1)};return c.onMounted(()=>{r.value=new s1(e.value)}),(l,y)=>{const S=c.resolveComponent("el-input");return c.openBlock(),c.createElementBlock("div",r1,[c.createVNode(S,{modelValue:A.value,"onUpdate:modelValue":y[0]||(y[0]=f=>A.value=f),class:"verify-input",placeholder:l.placeholder,onBlur:b},null,8,["modelValue","placeholder"]),c.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:e},null,512)])}}}),[["__scopeId","data-v-f5206e68"]])},Symbol.toStringTag,{value:"Module"})),l1=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Collapse",props:{children:{}},setup(i){const A=i,e=c.ref([]);return c.onMounted(()=>{e.value=A.children.filter(r=>r.checked).map(r=>r.name)}),c.watch(()=>A.children,()=>{A.children.forEach(r=>{r.children||(r.children=[])})}),(r,m)=>{const b=c.resolveComponent("ElCollapseItem"),l=c.resolveComponent("ElCollapse");return c.openBlock(),c.createBlock(l,c.mergeProps(r.$attrs,{modelValue:e.value,"onUpdate:modelValue":m[0]||(m[0]=y=>e.value=y)}),{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.children,y=>(c.openBlock(),c.createBlock(b,{key:y.name,name:y.name},{title:c.withCtx(()=>[c.createVNode(kd,{title:y.title,italic:"",type:"h4"},null,8,["title"])]),default:c.withCtx(()=>[c.createVNode(c.unref(Ti),{list:y.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),g1=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"Tabs",props:{children:{},defaultKey:{}},setup(i){const A=i,e=c.ref("");return c.watch(()=>A.children,()=>{A.children.forEach(r=>{r.children||(r.children=[])})}),c.onMounted(()=>{A.defaultKey&&(e.value=A.defaultKey)}),(r,m)=>{const b=c.resolveComponent("el-tab-pane"),l=c.resolveComponent("el-tabs");return c.openBlock(),c.createBlock(l,c.mergeProps(r.$attrs,{modelValue:e.value,"onUpdate:modelValue":m[0]||(m[0]=y=>e.value=y)}),{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.children,y=>(c.openBlock(),c.createBlock(b,c.mergeProps({key:y.name,ref_for:!0},y),{default:c.withCtx(()=>[c.createVNode(c.unref(Ti),{list:y.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),c1={class:"vfc-ObjGroup"},u1={key:1,class:"vfc-ObjGroup-render"},d1=Object.freeze(Object.defineProperty({__proto__:null,default:c.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(i){const A=i,e=ot(),r=c.inject("$objGroupBase"),m=r?`${r.value}.${A.name}`:A.name;return c.provide("$objGroupBase",c.ref(m)),(b,l)=>(c.openBlock(),c.createElementBlock("div",c1,[c.unref(e).design?(c.openBlock(),c.createBlock(c.unref(rl),{key:0,list:b.children},null,8,["list"])):(c.openBlock(),c.createElementBlock("div",u1,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(b.children,y=>(c.openBlock(),c.createBlock(c.unref(Yi),c.mergeProps({key:y.name,ref_for:!0},y,{name:`${c.unref(m)}.${y.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),h1={key:0},B1={key:0},C1={key:1},p1={key:1,class:"search-select-wrapper"},Q1=Object.freeze(Object.defineProperty({__proto__:null,default:ee(c.defineComponent({__name:"SearchSelect",props:c.mergeModels({onSearch:{},disabled:{type:Boolean},options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},api:{},name:{default:""},onChange:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const A=i,e=c.useModel(i,"modelValue"),r=ot(),m=c.inject("ruleModule",void 0),b=c.inject("pageMethodMap",{}),l=x=>{const{valueKey:G="value",multiple:K,name:j}=A;let Y={};K&&Array.isArray(x)?Y=S.value.filter(U=>x.includes(U[G])):Y=S.value.find(U=>U[G]===x)||{},r.selectData&&j&&r.updateSelectData(j,Y),A.onChange&&m&&m[A.onChange](b,x,Y)},y=()=>{A.onSearch&&m&&m[A.onSearch](b)},{currentOptions:S,loading:f}=ho(A);return(x,G)=>{var _;const K=c.resolveComponent("el-option"),j=c.resolveComponent("el-select"),Y=c.resolveComponent("el-button"),U=c.resolveDirective("loading");return c.unref(r).read?(c.openBlock(),c.createElementBlock("div",h1,[x.multiple?(c.openBlock(),c.createElementBlock("div",B1,c.toDisplayString(e.value&&e.value.map(I=>{var R;return(R=c.unref(S).find(D=>D[x.valueKey]===I))==null?void 0:R[x.labelKey]}).join("、")),1)):(c.openBlock(),c.createElementBlock("div",C1,c.toDisplayString((_=c.unref(S).find(I=>I[x.valueKey]===e.value))==null?void 0:_[x.labelKey]),1))])):(c.openBlock(),c.createElementBlock("div",p1,[c.withDirectives((c.openBlock(),c.createBlock(j,c.mergeProps({modelValue:e.value,"onUpdate:modelValue":G[0]||(G[0]=I=>e.value=I)},x.$attrs,{onChange:l,multiple:x.multiple,clearable:"",filterable:"",disabled:x.disabled}),{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(S),I=>(c.openBlock(),c.createBlock(K,{key:I[x.valueKey],label:I[x.labelKey],value:I[x.valueKey],disabled:I[x.disabledKey]},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(I[x.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple","disabled"])),[[U,c.unref(f)]]),c.createVNode(Y,{onClick:y,disabled:x.disabled,class:"search-btn"},{default:c.withCtx(()=>[c.createVNode(c.unref(ge),{name:"search"})]),_:1},8,["disabled"])]))}}}),[["__scopeId","data-v-d0b75379"]])},Symbol.toStringTag,{value:"Module"}));it.$options=uo,it.FormDesign=bd,it.FormRender=Pt,it.PageRender=yd,it.TableRender=al,it.default=tv,it.useFormInstance=ot,Object.defineProperties(it,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});