asiaint-lowcode 3.1.0 → 3.1.1

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 (36) 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 +7 -4
  5. package/dist/lazy/{Card-6y3b8xK9.js → Card-BotexRow.js} +2 -2
  6. package/dist/lazy/{Cascader-1XEBAirk.js → Cascader-DlPFMm4q.js} +1 -1
  7. package/dist/lazy/{Checkbox-DY7Ufmrz.js → Checkbox-B3ZlaMu-.js} +2 -2
  8. package/dist/lazy/{Collapse-BT7RNNg6.js → Collapse-CvvDvzUe.js} +1 -1
  9. package/dist/lazy/{Component-DITfSg2v.js → Component-1ifx_71s.js} +1 -1
  10. package/dist/lazy/{Component-BYlYtzWb.js → Component-BFthFsDN.js} +2 -2
  11. package/dist/lazy/{Component-CF4m_685.js → Component-BMyo9RcE.js} +1 -1
  12. package/dist/lazy/{Component-AYxGCLAH.js → Component-C4EAi6pq.js} +8 -8
  13. package/dist/lazy/{Component-CkSnYtMh.js → Component-CJLLkcKZ.js} +1 -1
  14. package/dist/lazy/{Component-DZMCcrpa.js → Component-k70ODABG.js} +2 -2
  15. package/dist/lazy/{CurdCard-BXOxRtCA.js → CurdCard-Dxlf9fsv.js} +2 -2
  16. package/dist/lazy/{Custom-Df5H1QJV.js → Custom-DjAqb9Wc.js} +7 -7
  17. package/dist/lazy/{DragList-BH1VY62B.js → DragList-BaXe5qJv.js} +2 -2
  18. package/dist/lazy/{FormList-BMk_lCx8.js → FormList-k6c-UNG8.js} +1 -1
  19. package/dist/lazy/{Grid-SVpxXRzO.js → Grid-OhcM4HDS.js} +1 -1
  20. package/dist/lazy/{Inline-CE2A9Of4.js → Inline-Cwpbm9wv.js} +3 -3
  21. package/dist/lazy/{JsonEdit-C_CUvw5t.js → JsonEdit-CU-J4fdd.js} +3 -3
  22. package/dist/lazy/{LogList-COeBYixP.js → LogList-C6LMjMRn.js} +7 -7
  23. package/dist/lazy/{ObjGroup-BB2eQigf.js → ObjGroup-CgsFd4Y8.js} +1 -1
  24. package/dist/lazy/{OfferDetails-BEyNKQsf.js → OfferDetails-DIbdP0vj.js} +24 -23
  25. package/dist/lazy/{Progress-CYBbCXFh.js → Progress-VUY-tDJv.js} +5 -5
  26. package/dist/lazy/{Radio-qI1r_rWj.js → Radio-Bu1hE1Bk.js} +3 -3
  27. package/dist/lazy/{SearchSelect-ZmOPM_QH.js → SearchSelect-D9K6sG_e.js} +14 -14
  28. package/dist/lazy/{Select-CxtVmfLu.js → Select-79Jg1Epf.js} +2 -2
  29. package/dist/lazy/{Table-YeT82lnr.js → Table-jTmqdEAL.js} +81 -80
  30. package/dist/lazy/{Tabs-DFvfP_nb.js → Tabs-NufO7Fxk.js} +1 -1
  31. package/dist/lazy/{Wrapper-DAFSrkAr.js → Wrapper-DMqVpwXY.js} +7 -7
  32. package/dist/lazy/{index-DQ889qV3.js → index-ByB0wyc-.js} +46 -45
  33. package/dist/lazy/{useSelect-EfaZqc6a.js → useSelect-B3ugkvd3.js} +1 -1
  34. package/dist/style.css +2 -2
  35. package/global.d.ts +10 -10
  36. package/package.json +36 -36
@@ -77,7 +77,7 @@ You passed in: '`+this.raw_options[i]+"'");return o},n.prototype._is_valid_selec
77
77
  `+g)}u&&(y?y=u+y+`
78
78
  `+s:y=u+s),v.print_newline(!1),y&&(Q.text=y,Q.whitespace_before="",Q.newlines=0,v.add_raw_token(Q),v.print_newline(!0))}},T.prototype._handle_tag_open=function(v,Q,L,k,y){var m=this._get_tag_open_token(Q);if((L.is_unformatted||L.is_content_unformatted)&&!L.is_empty_element&&Q.type===i.TAG_OPEN&&!m.is_start_tag?(v.add_raw_token(Q),m.start_tag_token=this._tag_stack.try_pop(m.tag_name)):(v.traverse_whitespace(Q),this._set_tag_position(v,Q,m,L,k),m.is_inline_element||v.set_wrap_point(),v.print_token(Q)),m.is_start_tag&&this._is_wrap_attributes_force){var p=0,u;do u=y.peek(p),u.type===i.ATTRIBUTE&&(m.attr_count+=1),p+=1;while(u.type!==i.EOF&&u.type!==i.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(m.alignment_size=Q.text.length+1),!m.tag_complete&&!m.is_unformatted&&(v.alignment_size=m.alignment_size),m};var $=function(v,Q){if(this.parent=v||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="",!Q)this.tag_complete=!0;else{var L;this.tag_start_char=Q.text[0],this.text=Q.text,this.tag_start_char==="<"?(L=Q.text.match(/^<([^\s>]*)/),this.tag_check=L?L[1]:""):(L=Q.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=L?L[1]:"",(Q.text.startsWith("{{#>")||Q.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&Q.next!==null?this.tag_check=Q.next.text.split(" ")[0]:this.tag_check=Q.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),Q.type===i.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||Q.closed&&Q.closed.text==="/>";var k=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(k=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(k)))}};T.prototype._get_tag_open_token=function(v){var Q=new $(this._tag_stack.get_parser_token(),v);return Q.alignment_size=this._options.wrap_attributes_indent_size,Q.is_end_tag=Q.is_end_tag||w(Q.tag_check,this._options.void_elements),Q.is_empty_element=Q.tag_complete||Q.is_start_tag&&Q.is_end_tag,Q.is_unformatted=!Q.tag_complete&&w(Q.tag_check,this._options.unformatted),Q.is_content_unformatted=!Q.is_empty_element&&w(Q.tag_check,this._options.content_unformatted),Q.is_inline_element=w(Q.tag_name,this._options.inline)||this._options.inline_custom_elements&&Q.tag_name.includes("-")||Q.tag_start_char==="{",Q},T.prototype._set_tag_position=function(v,Q,L,k,y){if(L.is_empty_element||(L.is_end_tag?L.start_tag_token=this._tag_stack.try_pop(L.tag_name):(this._do_optional_end_element(L)&&(L.is_inline_element||v.print_newline(!1)),this._tag_stack.record_tag(L),(L.tag_name==="script"||L.tag_name==="style")&&!(L.is_unformatted||L.is_content_unformatted)&&(L.custom_beautifier_name=D(L.tag_check,Q)))),w(L.tag_check,this._options.extra_liners)&&(v.print_newline(!1),v._output.just_added_blankline()||v.print_newline(!0)),L.is_empty_element){if(L.tag_start_char==="{"&&L.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),L.indent_content=!0;var m=v.current_line_has_match(/{{#if/);m||v.print_newline(!1)}L.tag_name==="!--"&&y.type===i.TAG_CLOSE&&k.is_end_tag&&L.text.indexOf(`
79
79
  `)===-1||(L.is_inline_element||L.is_unformatted||v.print_newline(!1),this._calcluate_parent_multiline(v,L))}else if(L.is_end_tag){var p=!1;p=L.start_tag_token&&L.start_tag_token.multiline_content,p=p||!L.is_inline_element&&!(k.is_inline_element||k.is_unformatted)&&!(y.type===i.TAG_CLOSE&&L.start_tag_token===k)&&y.type!=="TK_CONTENT",(L.is_content_unformatted||L.is_unformatted)&&(p=!1),p&&v.print_newline(!1)}else L.indent_content=!L.custom_beautifier_name,L.tag_start_char==="<"&&(L.tag_name==="html"?L.indent_content=this._options.indent_inner_html:L.tag_name==="head"?L.indent_content=this._options.indent_head_inner_html:L.tag_name==="body"&&(L.indent_content=this._options.indent_body_inner_html)),!(L.is_inline_element||L.is_unformatted)&&(y.type!=="TK_CONTENT"||L.is_content_unformatted)&&v.print_newline(!1),this._calcluate_parent_multiline(v,L)},T.prototype._calcluate_parent_multiline=function(v,Q){Q.parent&&v._output.just_added_newline()&&!((Q.is_inline_element||Q.is_unformatted)&&Q.parent.is_inline_element)&&(Q.parent.multiline_content=!0)};var K=["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"],Y=["a","audio","del","ins","map","noscript","video"];return T.prototype._do_optional_end_element=function(v){var Q=null;if(!(v.is_empty_element||!v.is_start_tag||!v.parent)){if(v.tag_name==="body")Q=Q||this._tag_stack.try_pop("head");else if(v.tag_name==="li")Q=Q||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(v.tag_name==="dd"||v.tag_name==="dt")Q=Q||this._tag_stack.try_pop("dt",["dl"]),Q=Q||this._tag_stack.try_pop("dd",["dl"]);else if(v.parent.tag_name==="p"&&K.indexOf(v.tag_name)!==-1){var L=v.parent.parent;(!L||Y.indexOf(L.tag_name)===-1)&&(Q=Q||this._tag_stack.try_pop("p"))}else v.tag_name==="rp"||v.tag_name==="rt"?(Q=Q||this._tag_stack.try_pop("rt",["ruby","rtc"]),Q=Q||this._tag_stack.try_pop("rp",["ruby","rtc"])):v.tag_name==="optgroup"?Q=Q||this._tag_stack.try_pop("optgroup",["select"]):v.tag_name==="option"?Q=Q||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):v.tag_name==="colgroup"?Q=Q||this._tag_stack.try_pop("caption",["table"]):v.tag_name==="thead"?(Q=Q||this._tag_stack.try_pop("caption",["table"]),Q=Q||this._tag_stack.try_pop("colgroup",["table"])):v.tag_name==="tbody"||v.tag_name==="tfoot"?(Q=Q||this._tag_stack.try_pop("caption",["table"]),Q=Q||this._tag_stack.try_pop("colgroup",["table"]),Q=Q||this._tag_stack.try_pop("thead",["table"]),Q=Q||this._tag_stack.try_pop("tbody",["table"])):v.tag_name==="tr"?(Q=Q||this._tag_stack.try_pop("caption",["table"]),Q=Q||this._tag_stack.try_pop("colgroup",["table"]),Q=Q||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(v.tag_name==="th"||v.tag_name==="td")&&(Q=Q||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),Q=Q||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return v.parent=this._tag_stack.get_parser_token(),Q}},Xl.Beautifier=T,Xl}var kd;function vE(){if(kd)return _a.exports;kd=1;var n=yE().Beautifier,A=bd().Options;function t(i,h,I,o){var b=new n(i,h,I,o);return b.beautify()}return _a.exports=t,_a.exports.defaultOptions=function(){return new A},_a.exports}var _d;function kE(){if(_d)return dr;_d=1;var n=wE(),A=DE(),t=vE();function i(h,I,o,b){return o=o||n,b=b||A,t(h,I,o,b)}return i.defaultOptions=t.defaultOptions,dr.js=n,dr.css=A,dr.html=i,dr}(function(n){function A(t,i,h){var I=function(o,b){return t.js_beautify(o,b)};return I.js=t.js_beautify,I.css=i.css_beautify,I.html=h.html_beautify,I.js_beautify=t.js_beautify,I.css_beautify=i.css_beautify,I.html_beautify=h.html_beautify,I}(function(t){var i=kE();i.js_beautify=i.js,i.css_beautify=i.css,i.html_beautify=i.html,t.exports=A(i,i,i)})(n)})(Vu);var _E=Vu.exports,ME=EE(_E),Md=function(){function n(A){var t=this;this.isDisabled=function(){var i=["BUTTON","COMMAND","FIELDSET","KEYGEN","OPTGROUP","OPTION","SELECT","TEXTAREA","INPUT"],h=t.attributes().disabled!==void 0,I=gr(t.element)&&i.includes(t.element.tagName);return h&&I},this.wrapperElement=A}return Object.defineProperty(n.prototype,"element",{get:function(){return this.wrapperElement},enumerable:!1,configurable:!0}),n.prototype.findAllDOMElements=function(A){var t=this.getRootNodes().filter(gr);if(t.length===0)return[];var i=Gu([],t.filter(function(h){return h.matches(A)}));return t.forEach(function(h){i.push.apply(i,Array.from(h.querySelectorAll(A)))}),i},n.prototype.find=function(A){if(typeof A=="object"&&"ref"in A){var t=this.getCurrentComponent();if(!t)return xi("DOMWrapper");var i=t.refs[A.ref];return Array.isArray(i)&&(i=i.length?i[0]:void 0),i instanceof Node?ur(i):xi("DOMWrapper")}var h=this.findAll(A);return h.length>0?h[0]:xi("DOMWrapper")},n.prototype.findComponent=function(A){var t=this.getCurrentComponent();if(!t)return xi("VueWrapper");if(typeof A=="object"&&"ref"in A){var i=t.refs[A.ref];return Array.isArray(i)&&(i=i.length?i[0]:void 0),i&&!(i instanceof HTMLElement)?Nl(null,i):xi("VueWrapper")}if(ju(t.vnode,A)&&this.element.contains(t.vnode.el))return Nl(null,t.subTree.component?t.subTree.component.proxy:t.proxy);var h=this.findAllComponents(A)[0];return h??xi("VueWrapper")},n.prototype.findAllComponents=function(A){var t=this.getCurrentComponent();if(!t)return[];var i=pE(t.subTree,A);return i.map(function(h){return h.proxy?Nl(null,h.proxy):ur(h.vnode.el)})},n.prototype.html=function(A){var t=this.getRootNodes().map(function(i){return mE(i)});return A!=null&&A.raw?t.join(""):t.map(function(i){return ME.html(i,{unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_size:2,inline_custom_elements:!1})}).join(`
80
- `)},n.prototype.classes=function(A){var t=gr(this.element)?Array.from(this.element.classList):[];return A?t.includes(A):t},n.prototype.attributes=function(A){var t={};if(gr(this.element))for(var i=Array.from(this.element.attributes),h=0,I=i;h<I.length;h++){var o=I[h];t[o.localName]=o.value}return A?t[A]:t},n.prototype.text=function(){return this.getRootNodes().map(Wm).join("")},n.prototype.exists=function(){return!0},n.prototype.get=function(A){var t=this.find(A);if(t.exists())return t;throw new Error("Unable to get ".concat(A," within: ").concat(this.html()))},n.prototype.getComponent=function(A){var t=this.findComponent(A);if(t.exists())return t;var i="Unable to get ";throw typeof A=="string"?i+="component with selector ".concat(A):"name"in A?i+="component with name ".concat(A.name):"ref"in A?i+="component with ref ".concat(A.ref):i+="specified component",i+=" within: ".concat(this.html()),new Error(i)},n.prototype.isVisible=function(){return gr(this.element)&&qu(this.element)},n.prototype.trigger=function(A,t){return xl(this,void 0,void 0,function(){var i;return Sl(this,function(h){if(t&&t.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()&&(i=aE(A,t),i._vts=Date.now()+1,this.element.dispatchEvent(i)),[2,e.nextTick()]})})},n}(),xE=function(n){Lu(A,n);function A(t){var i=this;return t?(i=n.call(this,t)||this,Hu.plugins.DOMWrapper.extend(i),i):xi("DOMWrapper")}return A.prototype.getRootNodes=function(){return[this.wrapperElement]},A.prototype.getCurrentComponent=function(){for(var t,i=this.element.__vueParentComponent;((t=i==null?void 0:i.parent)===null||t===void 0?void 0:t.vnode.el)===this.element;)i=i.parent;return i},A.prototype.find=function(t){var i=n.prototype.find.call(this,t);return i.exists()&&Xm(t)?this.element.contains(i.element)?i:xi("DOMWrapper"):i},A.prototype.findAll=function(t){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(t),ur):[]},A.prototype.findAllComponents=function(t){var i=this,h=n.prototype.findAllComponents.call(this,t);return h.filter(function(I){return i.element.contains(I.element)})},A.prototype.setChecked=function(){return xl(this,arguments,void 0,function(t){var i,h;return t===void 0&&(t=!0),Sl(this,function(I){if(i=this.element,h=this.attributes().type,h==="radio"&&!t)throw Error(`wrapper.setChecked() cannot be called with parameter false on a '<input type="radio" /> element.`);return t===i.checked?[2]:(i.checked=t,this.trigger("input"),[2,this.trigger("change")])})})},A.prototype.setValue=function(t){var i=this.element,h=i.tagName,I=this.attributes().type;if(h==="OPTION")return this.setSelected(),Promise.resolve();if(h==="INPUT"&&I==="checkbox")return this.setChecked(t);if(h==="INPUT"&&I==="radio")return this.setChecked(t);if(h==="SELECT"){if(Array.isArray(t))for(var o=i,b=0;b<o.options.length;b++){var D=o.options[b];D.selected=t.includes(D.value)}else i.value=t;return this.trigger("input"),this.trigger("change")}else{if(h==="INPUT"||h==="TEXTAREA")return i.value=t,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(h))}},A.prototype.setSelected=function(){var t=this.element;if(!t.selected){t.selected=!0;var i=t.parentElement;i.tagName==="OPTGROUP"&&(i=i.parentElement);var h=new A(i);return h.trigger("input"),h.trigger("change")}},A}(Md);Xu(Mo.DOMWrapper,function(n){return new xE(n)});function xa(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var A=n.component.subTree;return xa(A)}else{if(n.shapeFlag&128)return xa(n.suspense.activeBranch);if(n.shapeFlag&72){var t=[n.el];if(n.anchor)for(var i=t[0].nextSibling;i&&i.previousSibling!==n.anchor;)t.push(i),i=i.nextSibling;return t}else if(n.shapeFlag&16){var h=n.children.flat();return h.flatMap(function(I){return xa(I)}).filter(qm)}}return[]}var Wi={};function SE(n,A){var t=n.$.uid,i=Wi[t]||{};return A?i?i[A]:void 0:i}var FE=function(n,A,t){for(var i=n;typeof(i==null?void 0:i.type)=="function";)i=i.parent;var h=i.uid;h in Wi||(Wi[h]={}),A in Wi[h]||(Wi[h][A]=[]),Wi[h][A].push(t)},NE=function(n){var A=n.$.uid;delete Wi[A]};function RE(n,A){return new Proxy(n,{get:function(t,i,h){return t.$.exposed&&t.$.exposeProxy&&i in t.$.exposeProxy?Reflect.get(t.$.exposeProxy,i,h):i in A?Reflect.get(A,i,h):i in t.$.appContext.config.globalProperties?Reflect.get(t.$.appContext.config.globalProperties,i,h):t.$.ctx[i]},set:function(t,i,h,I){return i in A?Reflect.set(A,i,h,I):Reflect.set(t,i,h,I)},has:function(t,i){return Reflect.has(A,i)||Reflect.has(t,i)},defineProperty:function(t,i,h){return i in A?Reflect.defineProperty(A,i,h):Reflect.defineProperty(t,i,h)},getOwnPropertyDescriptor:function(t,i){return i in A?Reflect.getOwnPropertyDescriptor(A,i):Reflect.getOwnPropertyDescriptor(t,i)},deleteProperty:function(t,i){return i in A?Reflect.deleteProperty(A,i):Reflect.deleteProperty(t,i)}})}var LE=function(n){Lu(A,n);function A(t,i,h){var I=n.call(this,i==null?void 0:i.$el)||this;return I.cleanUpCallbacks=[],I.__app=t,I.rootVM=i==null?void 0:i.$root,Vm(i)?I.componentVM=RE(i,i.$.setupState):I.componentVM=i,I.__setProps=h,I.attachNativeEventListener(),Hu.plugins.VueWrapper.extend(I),I}return Object.defineProperty(A.prototype,"hasMultipleRoots",{get:function(){var t=function(i){var h;if(i.shapeFlag===16)return!0;if(i.shapeFlag&4||i.shapeFlag&2){if(!((h=i.component)===null||h===void 0)&&h.subTree)return t(i.component.subTree);if(i.shapeFlag&16)return!0}return!1};return t(this.vm.$.subTree)},enumerable:!1,configurable:!0}),A.prototype.getRootNodes=function(){return xa(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(t){return this.findAllDOMElements(t).map(ur)},A.prototype.attachNativeEventListener=function(){var t=this.vm;if(t){var i=t.$options.emits?Array.isArray(t.$options.emits)?t.$options.emits:Object.keys(t.$options.emits):[],h=this.getRootNodes().filter(function(N){return N instanceof Element});if(h.length===1)for(var I=h[0],o=function(N){if(i.includes(N))return"continue";var T=function(){for(var $=[],K=0;K<arguments.length;K++)$[K]=arguments[K];FE(t.$,N,$)};I.addEventListener(N,T),b.cleanUpCallbacks.push(function(){I.removeEventListener(N,T)})},b=this,D=0,w=Object.keys(Tu);D<w.length;D++){var S=w[D];o(S)}}},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(t){var i=this.componentVM.$props;return t?i[t]:i},A.prototype.emitted=function(t){return SE(this.vm,t)},A.prototype.isVisible=function(){var t=ur(this.element);return t.isVisible()},A.prototype.setData=function(t){return Ku(this.componentVM.$data,t),e.nextTick()},A.prototype.setProps=function(t){if(this.vm.$parent!==this.rootVM||!this.__setProps)throw Error("You can only use setProps on your mounted component");return this.__setProps(t),e.nextTick()},A.prototype.setValue=function(t,i){var h=i||"modelValue";return this.vm.$emit("update:".concat(h),t),this.vm.$nextTick()},A.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");NE(this.vm),this.cleanUpCallbacks.forEach(function(t){return t()}),this.cleanUpCallbacks=[],this.__app.unmount()},A}(Md);Xu(Mo.VueWrapper,function(n,A,t){return new LE(n,A,t)});var GE={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};e.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var n=this,A,t,i=e.computed(function(){return GE}),h=(t=(A=this.$slots)===null||A===void 0?void 0:A.default)===null||t===void 0?void 0:t.call(A,{route:i,href:e.computed(function(){return i.value.href}),isActive:e.computed(function(){return!1}),isExactActive:e.computed(function(){return!1}),navigate:function(){return xl(n,void 0,void 0,function(){return Sl(this,function(I){return[2]})})}});return this.custom?h:e.h("a",void 0,h)}}),typeof setImmediate=="function"&&setImmediate;const jn=Symbol(),xd=Symbol(),Sd=Symbol(),Fd={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"}}}},Sa=[{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"}]}],PE=[{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"}],HE="vfc",je=(n="")=>`${HE}-${n}`,Ac=(n,A)=>n.reduce((t,i)=>{if(i.designKey===A)return i;if(i.children){const h=Ac(i.children,A);if(h)return h}return t},null),Nd=(n,A)=>n.map(t=>t.designKey===A.designKey?A:t.children?{...t,children:Nd(t.children,A)}:t),Rd=n=>n.map(A=>{const t={...ht.cloneDeep(A),designKey:`form-${Mi(4)}`,name:Mi(8)};return A.children&&(t.children=Rd(A.children)),t}),Ld=(n,A)=>n.reduce((t,i)=>{var h;if(i.children?t.push({...i,children:Ld(i.children,A)}):t.push(i),i.designKey===A){const I={...ht.cloneDeep(i),designKey:`form-${Mi(4)}`,name:`${i.name}-${Mi(2)}`};i.children&&(I.children=Rd(i.children)),i.label&&!((h=I.label)!=null&&h.includes("copy"))&&(I.label=I.label+" copy"),t.push(I)}return t},[]),Gd=n=>n.map(A=>{if(!A.render)return A;const t={component:A.component,designKey:A.designKey||`design-${Mi(4)}`,name:A.name||`form-${Mi(4)}`};return A.children&&(t.children=Gd(A.children)),t}),kt=()=>{const n=e.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:()=>{},findItemByName:()=>null});return e.inject(xd,n)},KE=()=>{const{fetchOptionsFn:n}=e.inject(jn);return n},pr=n=>{const A=kt(),t=KE(),i=e.ref([]),h=e.ref(!1);let I=0;const o=ht.debounce(async()=>{if(!t||!n.apiParams||Object.values(n.apiParams).some(N=>N===void 0))return;h.value=!0;const S=++I;try{const N=await t({formItemProps:e.toRaw(n),formSchema:e.toRaw(A.schema)});if(S!==I)return;const T=n.defaultOptions||[];if(i.value=[...T,...N],n.filters&&(i.value=i.value.filter($=>Array.isArray(n.filters)?!n.filters.includes($[n.valueKey||"value"]):!0)),n.name){const $=zi(A.schema.items,n.name);$&&$.props&&($.props.options=i.value)}if(n.refreshFlag&&i.value.length>=1){A.updateFormValues({[`${n.name}`]:i.value[0][n.valueKey||"value"]},!0);const $=zi(A.schema.items,n.name);$&&$.props&&($.props.refreshFlag=!1)}}finally{h.value=!1}},300);e.onMounted(()=>{const{mode:S,options:N=[]}=n;S==="static"&&(i.value=N),S==="remote"&&o()}),e.watch(()=>n.apiParams,(S,N)=>{ht.isEqual(S,N)||(i.value=[],o())}),e.watch(()=>n.options,(S=[])=>{n.mode==="static"&&(i.value=S)}),e.watch(()=>n.mode,S=>{S==="static"&&(i.value=n.options||[]),S==="remote"&&(i.value=[],o())});const{mode:b,dependentFields:D}=n;if(b==="remote"&&Array.isArray(D))for(const S of D)e.watch(()=>A.formValues[S],(N,T)=>{o()});return{selectChange:S=>{const{valueKey:N="value",multiple:T,name:$}=n;let K={};T&&Array.isArray(S)?K=i.value.filter(Y=>S.includes(Y[N])):K=i.value.find(Y=>Y[N]===S)||{},A.selectData&&$&&A.updateSelectData($,K)},currentOptions:i,loading:h,fetchData:o}};function ec(){const n=e.inject(jn),A=e.inject("asiaint-lang",e.ref("zh"));return n!=null&&n.lang?e.ref(n.lang):A}function ci(){const n=ec();return e.computed(()=>Fd[(n==null?void 0:n.value)||"en"])}const ge=(n,A)=>{const t=n.__vccOpts||n;for(const[i,h]of A)t[i]=h;return t},TE={},UE={t:"1745908115116",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4619",width:"200",height:"200"};function YE(n,A){return e.openBlock(),e.createElementBlock("svg",UE,A[0]||(A[0]=[e.createElementVNode("path",{d:"M0 128a128 128 0 0 1 128-128h768a128 128 0 0 1 128 128v768a128 128 0 0 1-128 128H128a128 128 0 0 1-128-128V128z m128-64a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128a64 64 0 0 0-64-64H128z",fill:"#18AAF8","p-id":"4620"},null,-1),e.createElementVNode("path",{d:"M576 224a32 32 0 0 0-32-32h-64a32 32 0 0 0-32 32v576a32 32 0 0 0 32 32h64a32 32 0 0 0 32-32v-576z",fill:"#18AAF8","p-id":"4621"},null,-1),e.createElementVNode("path",{d:"M224 448a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32h-576z",fill:"#18AAF8","p-id":"4622"},null,-1)]))}const OE=Object.freeze(Object.defineProperty({__proto__:null,default:ge(TE,[["render",YE]])},Symbol.toStringTag,{value:"Module"})),$E={},JE={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 zE(n,A){return e.openBlock(),e.createElementBlock("svg",JE,A[0]||(A[0]=[e.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),e.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),e.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 ZE=Object.freeze(Object.defineProperty({__proto__:null,default:ge($E,[["render",zE]])},Symbol.toStringTag,{value:"Module"})),WE={},jE={t:"1750754916904",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9550",width:"200",height:"200"};function qE(n,A){return e.openBlock(),e.createElementBlock("svg",jE,A[0]||(A[0]=[e.createElementVNode("path",{d:"M966.857993 938.452769H53.788602a42.83445 42.83445 0 0 0 0 85.424829h913.069391a42.83445 42.83445 0 1 0 0-85.424829zM112.487663 448.60239v380.384562a42.83445 42.83445 0 1 0 85.42483 0V448.60239a42.83445 42.83445 0 1 0-85.42483 0zM340.571958 42.712415v786.274537a42.83445 42.83445 0 1 0 85.424829 0V42.712415a42.83445 42.83445 0 0 0-85.424829 0zM569.022359 271.04078v557.946172a42.83445 42.83445 0 1 0 85.424829 0V271.04078a42.83445 42.83445 0 0 0-85.424829 0zM797.350724 423.219012v405.76794a42.83445 42.83445 0 1 0 85.42483 0V423.219012a42.83445 42.83445 0 0 0-85.42483 0z",fill:"#4D4D4D","p-id":"9551"},null,-1)]))}const XE=Object.freeze(Object.defineProperty({__proto__:null,default:ge(WE,[["render",qE]])},Symbol.toStringTag,{value:"Module"})),VE={},AQ={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 eQ(n,A){return e.openBlock(),e.createElementBlock("svg",AQ,A[0]||(A[0]=[e.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),e.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 tQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(VE,[["render",eQ]])},Symbol.toStringTag,{value:"Module"})),nQ={},iQ={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 oQ(n,A){return e.openBlock(),e.createElementBlock("svg",iQ,A[0]||(A[0]=[e.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),e.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),e.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),e.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 rQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(nQ,[["render",oQ]])},Symbol.toStringTag,{value:"Module"})),aQ={},sQ={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 lQ(n,A){return e.openBlock(),e.createElementBlock("svg",sQ,A[0]||(A[0]=[e.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),e.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 cQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(aQ,[["render",lQ]])},Symbol.toStringTag,{value:"Module"})),gQ={},uQ={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 dQ(n,A){return e.openBlock(),e.createElementBlock("svg",uQ,A[0]||(A[0]=[e.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 hQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(gQ,[["render",dQ]])},Symbol.toStringTag,{value:"Module"})),pQ={},BQ={t:"1726041444972",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5136","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function CQ(n,A){return e.openBlock(),e.createElementBlock("svg",BQ,A[0]||(A[0]=[e.createElementVNode("path",{d:"M512 1024a512 512 0 1 1 512-512 512.520855 512.520855 0 0 1-512 512z m0-971.914547a459.914547 459.914547 0 1 0 459.914547 459.914547A460.435402 460.435402 0 0 0 512 52.085453z",fill:"#909399","p-id":"5137"},null,-1),e.createElementVNode("path",{d:"M660.703967 674.76704a26.042726 26.042726 0 0 1-18.750763-7.812818l-281.001017-286.46999a26.042726 26.042726 0 0 1 0-36.980671 26.042726 26.042726 0 0 1 36.720244 0l281.001018 286.469989a26.042726 26.042726 0 0 1-18.490336 44.272635z",fill:"#909399","p-id":"5138"},null,-1),e.createElementVNode("path",{d:"M376.577823 671.641913a26.042726 26.042726 0 0 1-18.490336-7.812818 26.042726 26.042726 0 0 1 0-36.720245l286.46999-281.001017a26.042726 26.042726 0 0 1 36.720244 0 26.042726 26.042726 0 0 1 0 36.980672l-286.46999 281.001017a26.042726 26.042726 0 0 1-18.229908 7.552391z",fill:"#909399","p-id":"5139"},null,-1)]))}const mQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(pQ,[["render",CQ]])},Symbol.toStringTag,{value:"Module"})),EQ={},QQ={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 IQ(n,A){return e.openBlock(),e.createElementBlock("svg",QQ,A[0]||(A[0]=[e.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),e.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 fQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(EQ,[["render",IQ]])},Symbol.toStringTag,{value:"Module"})),wQ={},bQ={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 DQ(n,A){return e.openBlock(),e.createElementBlock("svg",bQ,A[0]||(A[0]=[e.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 yQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(wQ,[["render",DQ]])},Symbol.toStringTag,{value:"Module"})),vQ={},kQ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function _Q(n,A){return e.openBlock(),e.createElementBlock("svg",kQ,A[0]||(A[0]=[e.createStaticVNode('<defs><clipPath id="clipPath8742382171"><path transform="matrix(1 0 0 1 0 0)" d="M0 0L16 0L16 16L0 16L0 0Z" fill-rule="nonzero"></path></clipPath></defs><g clip-path="url(#clipPath8742382171)"><path transform="matrix(1 0 0 1 4.33333 1.66667)" d="M-0.5 0.9375L-0.5 2.4772C-0.5 2.75334 -0.27614 2.9772 0 2.9772C0.27614 2.9772 0.5 2.75334 0.5 2.4772L0.5 0.9375Q0.5 0.756282 0.628141 0.628141Q0.756282 0.5 0.9375 0.5L9.0625 0.5Q9.24372 0.5 9.37186 0.628141Q9.5 0.756282 9.5 0.9375L9.5 9.0625Q9.5 9.24372 9.37186 9.37186Q9.24372 9.5 9.0625 9.5L7.50543 9.5C7.22929 9.5 7.00543 9.72386 7.00543 10C7.00543 10.2761 7.22929 10.5 7.50543 10.5L9.0625 10.5Q9.65793 10.5 10.079 10.079Q10.5 9.65793 10.5 9.0625L10.5 0.9375Q10.5 0.342067 10.079 -0.078966Q9.65793 -0.5 9.0625 -0.5L0.9375 -0.5Q0.342068 -0.5 -0.0789659 -0.0789659Q-0.5 0.342068 -0.5 0.9375Z" fill-rule="evenodd" fill="rgb(102, 102, 102)"></path><path transform="matrix(1 0 0 1 1.66667 4.33333)" d="M9.0625 0.5L0.9375 0.5Q0.756282 0.5 0.628141 0.628141Q0.5 0.756282 0.5 0.9375L0.5 9.0625Q0.5 9.24372 0.628141 9.37186Q0.756282 9.5 0.9375 9.5L9.0625 9.5Q9.24372 9.5 9.37186 9.37186Q9.5 9.24372 9.5 9.0625L9.5 0.9375Q9.5 0.756282 9.37186 0.628141Q9.24372 0.5 9.0625 0.5L9.0625 0.5ZM9.0625 -0.5Q9.65793 -0.5 10.079 -0.078966Q10.5 0.342067 10.5 0.9375L10.5 9.0625Q10.5 9.65793 10.079 10.079Q9.65793 10.5 9.0625 10.5L0.9375 10.5Q0.342067 10.5 -0.078966 10.079Q-0.5 9.65793 -0.5 9.0625L-0.5 0.9375Q-0.5 0.342068 -0.0789659 -0.0789659Q0.342068 -0.5 0.9375 -0.5L9.0625 -0.5L9.0625 -0.5Z" fill-rule="nonzero" fill="rgb(102, 102, 102)"></path></g>',2)]))}const MQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(vQ,[["render",_Q]])},Symbol.toStringTag,{value:"Module"})),xQ={},SQ={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 FQ(n,A){return e.openBlock(),e.createElementBlock("svg",SQ,A[0]||(A[0]=[e.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:ge(xQ,[["render",FQ]])},Symbol.toStringTag,{value:"Module"})),RQ={},LQ={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 GQ(n,A){return e.openBlock(),e.createElementBlock("svg",LQ,A[0]||(A[0]=[e.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),e.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),e.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const PQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(RQ,[["render",GQ]])},Symbol.toStringTag,{value:"Module"})),HQ={},KQ={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 TQ(n,A){return e.openBlock(),e.createElementBlock("svg",KQ,A[0]||(A[0]=[e.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),e.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),e.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),e.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 UQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(HQ,[["render",TQ]])},Symbol.toStringTag,{value:"Module"})),YQ={},OQ={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 $Q(n,A){return e.openBlock(),e.createElementBlock("svg",OQ,A[0]||(A[0]=[e.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),e.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),e.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),e.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),e.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const JQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(YQ,[["render",$Q]])},Symbol.toStringTag,{value:"Module"})),zQ={},ZQ={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 WQ(n,A){return e.openBlock(),e.createElementBlock("svg",ZQ,A[0]||(A[0]=[e.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const jQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(zQ,[["render",WQ]])},Symbol.toStringTag,{value:"Module"})),qQ={},XQ={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 VQ(n,A){return e.openBlock(),e.createElementBlock("svg",XQ,A[0]||(A[0]=[e.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),e.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 AI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(qQ,[["render",VQ]])},Symbol.toStringTag,{value:"Module"})),eI={},tI={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function nI(n,A){return e.openBlock(),e.createElementBlock("svg",tI,A[0]||(A[0]=[e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:"clipPath6999889763"},[e.createElementVNode("path",{transform:"matrix(1 0 0 1 0 0)",d:"M0 0L16 0L16 16L0 16L0 0Z","fill-rule":"nonzero"})])],-1),e.createElementVNode("g",{"clip-path":"url(#clipPath6999889763)"},[e.createElementVNode("path",{transform:"matrix(1 0 0 1 3.5 5.75)",d:"M-0.795495 -0.795495C-1.23483 -0.356159 -1.23483 0.356159 -0.795495 0.795495L3.7045 5.2955Q3.74359 5.33458 3.78631 5.36964Q3.82903 5.4047 3.87498 5.4354Q3.92094 5.46611 3.96968 5.49216Q4.01842 5.51821 4.06948 5.53936Q4.12054 5.56051 4.17343 5.57656Q4.22632 5.5926 4.28052 5.60338Q4.33473 5.61417 4.38973 5.61958Q4.44473 5.625 4.5 5.625Q4.55527 5.625 4.61027 5.61958Q4.66527 5.61417 4.71948 5.60338Q4.77368 5.5926 4.82657 5.57656Q4.87946 5.56051 4.93052 5.53936Q4.98158 5.51821 5.03032 5.49216Q5.07906 5.46611 5.12502 5.4354Q5.17097 5.4047 5.21369 5.36964Q5.25642 5.33458 5.2955 5.2955L9.7955 0.795495C10.2348 0.356159 10.2348 -0.356159 9.7955 -0.795495C9.35616 -1.23483 8.64384 -1.23483 8.2045 -0.795495L4.5 2.90901L0.795495 -0.795495C0.356159 -1.23483 -0.356159 -1.23483 -0.795495 -0.795495Z","fill-rule":"evenodd",fill:"rgb(51, 51, 51)"})],-1)]))}const iI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(eI,[["render",nI]])},Symbol.toStringTag,{value:"Module"})),oI={},rI={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 aI(n,A){return e.openBlock(),e.createElementBlock("svg",rI,A[0]||(A[0]=[e.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 sI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(oI,[["render",aI]])},Symbol.toStringTag,{value:"Module"})),lI={},cI={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 gI(n,A){return e.openBlock(),e.createElementBlock("svg",cI,A[0]||(A[0]=[e.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 uI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(lI,[["render",gI]])},Symbol.toStringTag,{value:"Module"})),dI={},hI={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 pI(n,A){return e.openBlock(),e.createElementBlock("svg",hI,A[0]||(A[0]=[e.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 BI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(dI,[["render",pI]])},Symbol.toStringTag,{value:"Module"})),CI={},mI={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 EI(n,A){return e.openBlock(),e.createElementBlock("svg",mI,A[0]||(A[0]=[e.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 QI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(CI,[["render",EI]])},Symbol.toStringTag,{value:"Module"})),II={},fI={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 wI(n,A){return e.openBlock(),e.createElementBlock("svg",fI,A[0]||(A[0]=[e.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 bI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(II,[["render",wI]])},Symbol.toStringTag,{value:"Module"})),DI={},yI={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 vI(n,A){return e.openBlock(),e.createElementBlock("svg",yI,A[0]||(A[0]=[e.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 kI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(DI,[["render",vI]])},Symbol.toStringTag,{value:"Module"})),_I={},MI={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 xI(n,A){return e.openBlock(),e.createElementBlock("svg",MI,A[0]||(A[0]=[e.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 SI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(_I,[["render",xI]])},Symbol.toStringTag,{value:"Module"})),FI={},NI={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 RI(n,A){return e.openBlock(),e.createElementBlock("svg",NI,A[0]||(A[0]=[e.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 LI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(FI,[["render",RI]])},Symbol.toStringTag,{value:"Module"})),GI={},PI={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 HI(n,A){return e.openBlock(),e.createElementBlock("svg",PI,A[0]||(A[0]=[e.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 KI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(GI,[["render",HI]])},Symbol.toStringTag,{value:"Module"})),TI={},UI={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 YI(n,A){return e.openBlock(),e.createElementBlock("svg",UI,A[0]||(A[0]=[e.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 OI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(TI,[["render",YI]])},Symbol.toStringTag,{value:"Module"})),$I={},JI={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 zI(n,A){return e.openBlock(),e.createElementBlock("svg",JI,A[0]||(A[0]=[e.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),e.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 ZI=Object.freeze(Object.defineProperty({__proto__:null,default:ge($I,[["render",zI]])},Symbol.toStringTag,{value:"Module"})),WI={},jI={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 qI(n,A){return e.openBlock(),e.createElementBlock("svg",jI,A[0]||(A[0]=[e.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 XI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(WI,[["render",qI]])},Symbol.toStringTag,{value:"Module"})),VI={},Af={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 ef(n,A){return e.openBlock(),e.createElementBlock("svg",Af,A[0]||(A[0]=[e.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 tf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(VI,[["render",ef]])},Symbol.toStringTag,{value:"Module"})),nf={},of={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 rf(n,A){return e.openBlock(),e.createElementBlock("svg",of,A[0]||(A[0]=[e.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 af=Object.freeze(Object.defineProperty({__proto__:null,default:ge(nf,[["render",rf]])},Symbol.toStringTag,{value:"Module"})),sf={},lf={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 cf(n,A){return e.openBlock(),e.createElementBlock("svg",lf,A[0]||(A[0]=[e.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 gf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(sf,[["render",cf]])},Symbol.toStringTag,{value:"Module"})),uf={},df={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 hf(n,A){return e.openBlock(),e.createElementBlock("svg",df,A[0]||(A[0]=[e.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 pf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(uf,[["render",hf]])},Symbol.toStringTag,{value:"Module"})),Bf={},Cf={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 mf(n,A){return e.openBlock(),e.createElementBlock("svg",Cf,A[0]||(A[0]=[e.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),e.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 Ef=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Bf,[["render",mf]])},Symbol.toStringTag,{value:"Module"})),Qf={},If={t:"1750754729084",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8507",width:"200",height:"200"};function ff(n,A){return e.openBlock(),e.createElementBlock("svg",If,A[0]||(A[0]=[e.createElementVNode("path",{d:"M875.166 118.245c100.653 90.117 155.335 226.557 147.918 360.878q-239.153 1.354-478.482 0-1.236-239.212 0-478.482a456.115 456.115 0 0 1 330.564 117.604z m25.781 113.661c-44.028-71.693-116.074-121.96-193.476-152.332a235.444 235.444 0 0 0-105.538-21.838q-0.412 182.057 0 364.233h364.174c2.295-68.809-30.432-132.614-65.1-190.004z m-0.294 316.673c3.06 94.53-20.366 190.533-72.693 269.878A449.993 449.993 0 1 1 248 171.809c69.868-35.964 149.154-50.444 227.38-48.266 1.001 141.266 0 283.004 0.471 424.565 141.267 0.412 283.064-0.648 424.624 0.47z m-49.031 49.973c-141.856-0.765-283.77 0-425.684-0.353-0.353-141.914 0.353-283.828-0.353-425.684-82.111 12.302-165.517 37.73-229.028 93.354-19.896 20.601-40.732 40.261-60.569 60.921C77.893 404.075 44.99 501.313 49.58 598.258c8.888 71.045 29.43 142.443 71.281 201.54 18.07 29.725 46.442 50.797 69.692 76.107a383.01 383.01 0 0 0 149.39 81.111c50.502 12.184 103.065 25.251 155.04 14.068 89.35-12.596 178.172-50.974 238.622-119.547 72.517-63.805 103.949-160.279 117.722-253.103z","p-id":"8508"},null,-1)]))}const wf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Qf,[["render",ff]])},Symbol.toStringTag,{value:"Module"})),bf={},Df={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 yf(n,A){return e.openBlock(),e.createElementBlock("svg",Df,A[0]||(A[0]=[e.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),e.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 vf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(bf,[["render",yf]])},Symbol.toStringTag,{value:"Module"})),kf={},_f={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 Mf(n,A){return e.openBlock(),e.createElementBlock("svg",_f,A[0]||(A[0]=[e.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 xf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(kf,[["render",Mf]])},Symbol.toStringTag,{value:"Module"})),Sf={},Ff={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 Nf(n,A){return e.openBlock(),e.createElementBlock("svg",Ff,A[0]||(A[0]=[e.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 Rf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Sf,[["render",Nf]])},Symbol.toStringTag,{value:"Module"})),Lf={},Gf={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 Pf(n,A){return e.openBlock(),e.createElementBlock("svg",Gf,A[0]||(A[0]=[e.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),e.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 Hf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Lf,[["render",Pf]])},Symbol.toStringTag,{value:"Module"})),Kf={},Tf={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 Uf(n,A){return e.openBlock(),e.createElementBlock("svg",Tf,A[0]||(A[0]=[e.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 Yf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Kf,[["render",Uf]])},Symbol.toStringTag,{value:"Module"})),Of={},$f={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 Jf(n,A){return e.openBlock(),e.createElementBlock("svg",$f,A[0]||(A[0]=[e.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 zf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Of,[["render",Jf]])},Symbol.toStringTag,{value:"Module"})),Zf={},Wf={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 jf(n,A){return e.openBlock(),e.createElementBlock("svg",Wf,A[0]||(A[0]=[e.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 qf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Zf,[["render",jf]])},Symbol.toStringTag,{value:"Module"})),Xf={},Vf={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 Aw(n,A){return e.openBlock(),e.createElementBlock("svg",Vf,A[0]||(A[0]=[e.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 ew=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Xf,[["render",Aw]])},Symbol.toStringTag,{value:"Module"})),tw={},nw={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 iw(n,A){return e.openBlock(),e.createElementBlock("svg",nw,A[0]||(A[0]=[e.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),e.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 ow=Object.freeze(Object.defineProperty({__proto__:null,default:ge(tw,[["render",iw]])},Symbol.toStringTag,{value:"Module"})),rw={},aw={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 sw(n,A){return e.openBlock(),e.createElementBlock("svg",aw,A[0]||(A[0]=[e.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 lw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(rw,[["render",sw]])},Symbol.toStringTag,{value:"Module"})),cw={},gw={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 uw(n,A){return e.openBlock(),e.createElementBlock("svg",gw,A[0]||(A[0]=[e.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),e.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 dw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(cw,[["render",uw]])},Symbol.toStringTag,{value:"Module"})),hw={},pw={t:"1746684610959",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8806",width:"200",height:"200"};function Bw(n,A){return e.openBlock(),e.createElementBlock("svg",pw,A[0]||(A[0]=[e.createElementVNode("path",{d:"M137.846154 681.491692c-85.799385 34.422154-137.846154 79.655385-137.846154 129.181539 0 107.854769 246.862769 195.268923 551.384615 195.268923s551.384615-87.433846 551.384616-195.268923c0-49.526154-52.066462-94.759385-137.846154-129.181539v71.739077H137.846154v-71.739077z",fill:"#F7F8FA","p-id":"8807"},null,-1),e.createElementVNode("path",{d:"M367.596308 626.865231h-275.692308l16.462769 181.090461a78.769231 78.769231 0 0 0 78.434462 71.640616h729.166769a78.769231 78.769231 0 0 0 78.434462-71.640616l16.462769-181.090461h-275.692308v13.134769a78.769231 78.769231 0 0 1-78.769231 78.769231H446.365538a78.769231 78.769231 0 0 1-78.76923-78.769231v-13.134769z m198.06523-184.950154l64.984616-64.984615 151.886769 151.906461c12.425846 12.425846 15.655385 27.372308 5.789539 41.944615a109.686154 109.686154 0 0 1-12.937847 15.891693 109.686154 109.686154 0 0 1-15.911384 12.937846c-14.532923 9.846154-29.499077 6.636308-41.924923-5.789539l-151.88677-151.906461z",fill:"#DADEE2","p-id":"8808"},null,-1),e.createElementVNode("path",{d:"M191.684923 357.435077L91.904 626.865231h91.884308l55.059692-207.950769c-18.707692-17.880615-34.658462-38.596923-47.163077-61.479385z m440.753231 5.238154h201.432615a19.692308 19.692308 0 0 1 19.022769 14.651077l66.087385 249.540923h91.884308l-105.353846-284.435693a39.384615 39.384615 0 0 0-36.923077-25.718153H653.193846a251.352615 251.352615 0 0 1-20.755692 45.961846zM413.538462 18.057846C534.075077 18.057846 631.788308 115.771077 631.788308 236.307692c0 44.878769-13.528615 86.587077-36.745846 121.265231l27.470769 27.490462-48.738462 48.738461-25.639384-25.659077A217.324308 217.324308 0 0 1 413.538462 454.557538c-120.536615 0-218.249846-97.713231-218.249847-218.249846S293.001846 18.057846 413.538462 18.057846z m0 57.422769a160.827077 160.827077 0 1 0 0 321.654154 160.827077 160.827077 0 0 0 0-321.654154z",fill:"#E6E8E9","p-id":"8809"},null,-1)]))}const Cw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(hw,[["render",Bw]])},Symbol.toStringTag,{value:"Module"})),mw={},Ew={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 Qw(n,A){return e.openBlock(),e.createElementBlock("svg",Ew,A[0]||(A[0]=[e.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),e.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),e.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),e.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 Iw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(mw,[["render",Qw]])},Symbol.toStringTag,{value:"Module"})),fw={},ww={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 bw(n,A){return e.openBlock(),e.createElementBlock("svg",ww,A[0]||(A[0]=[e.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),e.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 Dw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(fw,[["render",bw]])},Symbol.toStringTag,{value:"Module"})),yw={},vw={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 kw(n,A){return e.openBlock(),e.createElementBlock("svg",vw,A[0]||(A[0]=[e.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),e.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),e.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 _w=Object.freeze(Object.defineProperty({__proto__:null,default:ge(yw,[["render",kw]])},Symbol.toStringTag,{value:"Module"})),Mw={},xw={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 Sw(n,A){return e.openBlock(),e.createElementBlock("svg",xw,A[0]||(A[0]=[e.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),e.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),e.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 Fw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Mw,[["render",Sw]])},Symbol.toStringTag,{value:"Module"})),Nw={},Rw={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 Lw(n,A){return e.openBlock(),e.createElementBlock("svg",Rw,A[0]||(A[0]=[e.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const Gw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Nw,[["render",Lw]])},Symbol.toStringTag,{value:"Module"})),Pw={},Hw={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 Kw(n,A){return e.openBlock(),e.createElementBlock("svg",Hw,A[0]||(A[0]=[e.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 Tw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Pw,[["render",Kw]])},Symbol.toStringTag,{value:"Module"})),Uw={},Yw={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 Ow(n,A){return e.openBlock(),e.createElementBlock("svg",Yw,A[0]||(A[0]=[e.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 $w=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Uw,[["render",Ow]])},Symbol.toStringTag,{value:"Module"})),Jw={},zw={t:"1742201720189",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3586",width:"200",height:"200"};function Zw(n,A){return e.openBlock(),e.createElementBlock("svg",zw,A[0]||(A[0]=[e.createElementVNode("path",{d:"M950.4 128.2H330.1c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h620.3c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H392.1v-48h496.3v48zM950.4 704.2H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h458.6c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H553.8v-48h334.6v48zM491.8 608.2h457.1c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10z m62-120h333.1v48H553.8v-48zM384.1 548.2c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-163c35.2-14.2 60-48.7 60-89 0-53-43-96-96-96s-96 43-96 96c0 40.3 24.8 74.8 60 89v487c0 19.9 16.1 36 36 36h224c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-216h188z",fill:"#333333","p-id":"3587"},null,-1)]))}const Ww=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Jw,[["render",Zw]])},Symbol.toStringTag,{value:"Module"})),jw={},qw={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 Xw(n,A){return e.openBlock(),e.createElementBlock("svg",qw,A[0]||(A[0]=[e.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),e.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 Vw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(jw,[["render",Xw]])},Symbol.toStringTag,{value:"Module"})),A0={},e0={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 t0(n,A){return e.openBlock(),e.createElementBlock("svg",e0,A[0]||(A[0]=[e.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),e.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),e.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 n0=Object.freeze(Object.defineProperty({__proto__:null,default:ge(A0,[["render",t0]])},Symbol.toStringTag,{value:"Module"})),i0={},o0={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 r0(n,A){return e.openBlock(),e.createElementBlock("svg",o0,A[0]||(A[0]=[e.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),e.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),e.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),e.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 a0=Object.freeze(Object.defineProperty({__proto__:null,default:ge(i0,[["render",r0]])},Symbol.toStringTag,{value:"Module"})),s0={},l0={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 c0(n,A){return e.openBlock(),e.createElementBlock("svg",l0,A[0]||(A[0]=[e.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 g0=Object.freeze(Object.defineProperty({__proto__:null,default:ge(s0,[["render",c0]])},Symbol.toStringTag,{value:"Module"})),be=e.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(n){const t=Object.entries(Object.assign({"./icons/add.vue":OE,"./icons/alert.vue":ZE,"./icons/barChart.vue":XE,"./icons/button.vue":tQ,"./icons/card.vue":rQ,"./icons/cascader.vue":cQ,"./icons/checkbox.vue":hQ,"./icons/clear.vue":mQ,"./icons/collapse.vue":fQ,"./icons/colorPicker.vue":yQ,"./icons/copy.vue":MQ,"./icons/custom.vue":NQ,"./icons/datePicker.vue":PQ,"./icons/delete.vue":UQ,"./icons/design.vue":JQ,"./icons/divider.vue":jQ,"./icons/document.vue":AI,"./icons/dropdown.vue":iI,"./icons/esign.vue":sI,"./icons/eye.vue":uI,"./icons/formList.vue":BI,"./icons/github.vue":QI,"./icons/grid.vue":bI,"./icons/help.vue":kI,"./icons/hidden.vue":SI,"./icons/icon.vue":LI,"./icons/inline.vue":KI,"./icons/input.vue":OI,"./icons/inputNumber.vue":ZI,"./icons/itemGroup.vue":XI,"./icons/jsonEdit.vue":tf,"./icons/library.vue":af,"./icons/markdown.vue":gf,"./icons/move.vue":pf,"./icons/password.vue":Ef,"./icons/pieChart.vue":wf,"./icons/radio.vue":vf,"./icons/rate.vue":xf,"./icons/reduce.vue":Rf,"./icons/rich.vue":Hf,"./icons/save.vue":Yf,"./icons/script.vue":zf,"./icons/search.vue":qf,"./icons/searchSelect.vue":ew,"./icons/select.vue":ow,"./icons/slider.vue":lw,"./icons/switch.vue":dw,"./icons/tableEmpty.vue":Cw,"./icons/tabs.vue":Iw,"./icons/tag.vue":Dw,"./icons/text.vue":_w,"./icons/textarea.vue":Fw,"./icons/title.vue":Gw,"./icons/transfer.vue":Tw,"./icons/trash.vue":$w,"./icons/tree.vue":Ww,"./icons/upload.vue":Vw,"./icons/uploadImage.vue":n0,"./icons/verifyCode.vue":a0,"./icons/vue.vue":g0})).reduce((i,[h,I])=>{const o=h.split("/").pop(),b=o==null?void 0:o.split(".")[0];return i[b]=I.default,i},{});return(i,h)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(t)[i.name]),e.mergeProps({class:e.unref(je)("icon-render")},i.$attrs),null,16,["class"]))}}),u0={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"}]},d0={key:0},h0=e.defineComponent({__name:"Input",props:e.mergeModels({onChange:{},onInput:{},rulePath:{},read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=kt(),t=e.computed(()=>A.schema.read),i=e.useModel(n,"modelValue"),h=()=>{i.value&&(i.value=i.value.trim())},I=n,o=e.inject("ruleModule",void 0),b=e.inject("pageMethodMap",{}),D=e.useAttrs(),w=T=>{const $=["E","e","+","-"];D.type==="number"&&$.includes(T.key)&&T.preventDefault()},S=T=>{if(I.onInput&&o)try{o[I.onInput](b,T)}catch($){console.error($)}},N=T=>{if(I.onChange&&o)try{o[I.onChange](b,T)}catch($){console.error($)}};return(T,$)=>{const K=e.resolveComponent("el-input");return T.read||t.value?(e.openBlock(),e.createElementBlock("span",d0,e.toDisplayString(i.value||"--"),1)):(e.openBlock(),e.createBlock(K,e.mergeProps({key:1},T.$attrs,{class:`el-input--${T.$attrs.styleType} el-input`,modelValue:i.value,"onUpdate:modelValue":$[0]||($[0]=Y=>i.value=Y),onInput:S,onChange:N,onKeydown:w,onBlur:h}),null,16,["class","modelValue"]))}}}),p0={title:"单行文本",component:"Input",icon:e.h(be,{name:"input"}),type:"basic",order:1,attrSchema:u0,render:h0},B0={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}]},C0={title:"多行文本",component:"TextArea",icon:e.h(be,{name:"textarea"}),type:"basic",order:2,attrSchema:B0,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>x8))},m0={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"}]},E0=["xlink:href"],ze=ge(e.defineComponent({__name:"iconfont",props:{name:{},color:{},size:{default:"small"}},setup(n){const A=n,t=e.computed(()=>A.color?{color:A.color}:void 0);return(i,h)=>(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["icon",{large:i.size==="large",small:i.size==="small",normal:i.size==="normal"}]),"aria-hidden":"true",style:e.normalizeStyle(t.value)},[e.createElementVNode("use",{"xlink:href":`#${i.name}`},null,8,E0)],6))}}),[["__scopeId","data-v-3107108f"]]),Q0=["onClick"],I0={key:1,class:"bold-style"},f0=ge(e.defineComponent({__name:"Alert",props:{description:{},values:{},type:{},icon:{}},setup(n){const A=n,{ruleModule:t,pageMethodMap:i}=ig(),h=(b,D)=>{try{t[b](i,D)}catch(w){console.error(w)}},I=e.computed(()=>{const b=/\{(\d+)\}/g,D=[];let w=0,S;for(;(S=b.exec(A.description))!==null;)S.index>w&&D.push({type:"text",value:A.description.slice(w,S.index)}),D.push({type:"value",index:Number(S[1])}),w=b.lastIndex;return w<A.description.length&&D.push({type:"text",value:A.description.slice(w)}),D}),o=e.computed(()=>A.icon?A.icon:A.type?{primary:{name:"icon-tishitubiao",color:"#18aaf8"},success:{name:"icon-successtubiao",color:"#18aaf8"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"#18aaf8"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[A.type]:{name:"icon-tishitubiao",color:"#18aaf8"});return(b,D)=>{const w=e.resolveComponent("el-alert");return b.description?(e.openBlock(),e.createBlock(w,e.mergeProps({key:0},b.$attrs,{type:b.type,class:"alert-container"}),{icon:e.withCtx(()=>[e.createVNode(ze,{name:o.value.name,color:o.value.color},null,8,["name","color"])]),default:e.withCtx(()=>[e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.value,(S,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[S.type==="text"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(S.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof S.index=="number"&&A.values&&A.values[S.index]&&typeof A.values[S.index].onClick=="string"?(e.openBlock(),e.createElementBlock("span",{key:0,class:"link-style",onClick:T=>h(A.values[S.index].onClick,A.values[S.index].text)},e.toDisplayString(typeof S.index=="number"&&A.values&&A.values[S.index]?A.values[S.index].text:""),9,Q0)):(e.openBlock(),e.createElementBlock("span",I0,e.toDisplayString(typeof S.index=="number"&&A.values&&A.values[S.index]?A.values[S.index].text:""),1))],64))],64))),128))])]),_:1},16,["type"])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-e074a3fe"]]),w0={title:"提示框",component:"Alert",icon:e.h(be,{name:"alert"}),type:"assist",order:2,attrSchema:m0,render:f0},b0={title:"卡片",component:"Card",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>R8)),icon:e.h(be,{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"}]}},D0={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"}]}]},y0={title:"级联选择器",icon:e.h(be,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:D0,order:7,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>L8))},v0={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}]},k0={title:"JSON编辑",component:"JsonEdit",icon:e.h(be,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:v0,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Y8))},_0={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"},...Sa]},M0={title:"多选框组",icon:e.h(be,{name:"checkbox"}),type:"basic",component:"Checkbox",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>$8)),order:4,attrSchema:_0},x0={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"}]},S0={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:e.h(be,{name:"colorPicker"}),type:"basic",order:9,attrSchema:x0},F0={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"}]},N0={title:"颜色输入框",component:"ColorInput",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>z8)),icon:e.h(be,{name:"colorPicker"}),type:"high",order:2,attrSchema:F0},R0={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"}]},L0={title:"自定义组件",component:"Custom",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>W8)),icon:e.h(be,{name:"custom"}),type:"high",order:99,attrSchema:R0},G0={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"}]}}]},P0={title:"日期选择器",component:"DatePicker",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>q8)),icon:e.h(be,{name:"datePicker"}),type:"basic",order:9,attrSchema:G0},H0={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"}]},K0={title:"分割线",component:"Divider",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>X8)),icon:e.h(be,{name:"divider"}),type:"assist",order:6,attrSchema:H0},T0={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"}]},U0={title:"电子签名",component:"Esign",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>rM)),icon:e.h(be,{name:"esign"}),type:"basic",order:11,attrSchema:T0},Y0={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"},...Sa]},O0={title:"单选框组",icon:e.h(be,{name:"radio"}),type:"basic",component:"Radio",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>sM)),order:3.5,attrSchema:Y0},$0={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"}]},J0={title:"自增容器",component:"FormList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>hM)),icon:e.h(be,{name:"formList"}),type:"high",order:20,attrSchema:$0},z0={title:"栅格布局",type:"layout",icon:e.h(be,{name:"grid"}),component:"Grid",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>pM)),order:3,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{columns:2}},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"}]}}]}},Z0={title:"行内布局",icon:e.h(be,{name:"inline"}),type:"layout",component:"Inline",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>BM)),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"},{label:"两端对齐",value:"space-between"},{label:"环绕对齐",value:"space-around"},{label:"均匀对齐",value:"space-evenly"}]},initialValue:"left"},{label:"间距大小",component:"InputNumber",name:"props.gap",props:{unit:"px"}},{label:"自动换行",component:"Switch",name:"props.autoWrap"}]}},W0={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"}]},j0={title:"计数器",icon:e.h(be,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>mM)),attrSchema:W0},q0={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"}]},X0={key:0},V0={title:"密码输入框",component:"Password",render:e.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=kt();return(i,h)=>{var o;const I=e.resolveComponent("el-input");return e.unref(t).read?(e.openBlock(),e.createElementBlock("span",X0,e.toDisplayString((o=A.value)==null?void 0:o.replace(/./g,"*")),1)):(e.openBlock(),e.createBlock(I,e.mergeProps({key:1},i.$attrs,{modelValue:A.value,"onUpdate:modelValue":h[0]||(h[0]=b=>A.value=b),type:"password"}),null,16,["modelValue"]))}}}),icon:e.h(be,{name:"password"}),type:"basic",order:3,attrSchema:q0},Ab={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"},...Sa]},eb={title:"下拉选择框",type:"basic",icon:e.h(be,{name:"select"}),component:"Select",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>IM)),order:3,attrSchema:Ab},tb={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"}]},nb={title:"评分",component:"Rate",render:"ElRate",icon:e.h(be,{name:"rate"}),type:"basic",order:12,attrSchema:tb},ib={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"}}]},ob={title:"选择+输入",component:"SelectInput",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>wM)),icon:e.h(be,{name:"input"}),type:"high",order:1,attrSchema:ib},rb={title:"滑块",render:"ElSlider",component:"Slider",icon:e.h(be,{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}]}},ab={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}]}}]},sb={title:"开关",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>bM)),component:"Switch",icon:e.h(be,{name:"switch"}),type:"basic",order:8,attrSchema:ab},lb={title:"标签",component:"Tag",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>DM)),icon:e.h(be,{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"}]}}]}},cb={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"}]},gb={title:"文本",component:"Text",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>yM)),icon:e.h(be,{name:"text"}),type:"assist",order:1,attrSchema:cb},ub={title:"标题",component:"Title",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>vM)),icon:e.h(be,{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"}]}},db={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"}]}}]},hb={title:"上传",component:"Upload",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>MM)),icon:e.h(be,{name:"upload"}),type:"basic",order:10,attrSchema:db},pb={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"}]},Bb={title:"图形验证码",component:"VerifyCode",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>NM)),icon:e.h(be,{name:"verifyCode"}),type:"high",order:18,attrSchema:pb},Cb={title:"折叠面板",component:"Collapse",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>RM)),icon:e.h(be,{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"}]}},mb={title:"选项卡",component:"Tabs",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>LM)),icon:e.h(be,{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"}]}},Eb={title:"对象容器",icon:e.h(be,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>HM)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},Qb={},Ib={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 fb(n,A){return e.openBlock(),e.createElementBlock("svg",Ib,A[0]||(A[0]=[e.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 wb=ge(Qb,[["render",fb]]),bb={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"}}]},Db={key:0},yb={title:"穿梭框",component:"Transfer",render:e.defineComponent({__name:"Transfer",props:e.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=kt(),i=e.useModel(n,"modelValue"),h=I=>{const o=I.map(b=>A.data.find(D=>D.key===b));t.updateSelectData(A.name,o)};return(I,o)=>{var D;const b=e.resolveComponent("el-transfer");return e.unref(t).read?(e.openBlock(),e.createElementBlock("div",Db,e.toDisplayString((D=i.value)==null?void 0:D.map(w=>{var S;return(S=I.data.find(N=>N.key===w))==null?void 0:S.label}).join("、")),1)):(e.openBlock(),e.createBlock(b,e.mergeProps({key:1},I.$attrs,{data:I.data,onChange:h,modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=w=>i.value=w)}),null,16,["data","modelValue"]))}}}),icon:wb,type:"basic",order:12,attrSchema:bb},vb={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"}]},kb={key:0},_b=ge(e.defineComponent({__name:"SearchInput",props:e.mergeModels({onInput:{},onSearch:{},onClear:{},disabled:{type:Boolean},read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=n,i=e.inject("ruleModule",void 0),h=e.inject("pageMethodMap",{}),I=D=>{if(t.onInput&&i)try{i[t.onInput](h,D)}catch(w){console.error(w)}},o=()=>{if(t.onSearch&&i)try{i[t.onSearch](h)}catch(D){console.error(D)}},b=()=>{if(t.onClear&&i)try{i[t.onClear](h)}catch(D){console.error(D)}};return(D,w)=>{const S=e.resolveComponent("el-button"),N=e.resolveComponent("el-input");return D.read?(e.openBlock(),e.createElementBlock("span",kb,e.toDisplayString(A.value||"--"),1)):(e.openBlock(),e.createBlock(N,e.mergeProps({key:1},D.$attrs,{modelValue:A.value,"onUpdate:modelValue":w[0]||(w[0]=T=>A.value=T),onInput:I,disabled:D.disabled,clearable:!1}),{append:e.withCtx(()=>[e.createVNode(S,{onClick:o,disabled:D.disabled},{default:e.withCtx(()=>[e.createVNode(e.unref(be),{name:"search"})]),_:1},8,["disabled"])]),suffix:e.withCtx(()=>[D.onClear&&A.value&&!D.disabled?(e.openBlock(),e.createBlock(e.unref(be),{key:0,name:"clear",onClick:b,class:"clear-icon"})):e.createCommentVNode("",!0)]),_:1},16,["modelValue","disabled"]))}}}),[["__scopeId","data-v-ab315267"]]),Mb={title:"搜索输入",component:"SearchInput",icon:e.h(be,{name:"search"}),type:"high",order:5,attrSchema:vb,render:_b},xb={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"},...Sa]},Sb={title:"选择+搜索",type:"high",icon:e.h(be,{name:"searchSelect"}),component:"SearchSelect",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>OM)),order:3,attrSchema:xb},Fb={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"}]},Nb=ge(e.defineComponent({__name:"button",props:{buttonText:{},onClick:{},hidden:{type:Boolean},orange:{type:Boolean},icon:{},suffixIcon:{}},setup(n){const A=n,t=e.inject("ruleModule",void 0),i=e.inject("pageMethodMap",{}),h=e.ref(!1),I=async()=>{if(A.onClick&&t){try{h.value=!0,await t[A.onClick](i)}catch(o){console.error(o)}h.value=!1}};return(o,b)=>{const D=e.resolveComponent("el-button");return o.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(D,e.mergeProps({key:0},o.$attrs,{onClick:I,color:o.orange?"#FAA21E":"",class:["crm-button",{orangeBtn:o.orange}],plain:!o.orange&&o.$attrs.type!=="primary",loading:h.value}),{default:e.withCtx(()=>[o.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:o.icon.name,color:o.icon.color,class:e.normalizeClass({btnicon:o.buttonText})},null,8,["name","color","class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(o.buttonText)+" ",1),o.suffixIcon?(e.openBlock(),e.createBlock(ze,{key:1,name:o.suffixIcon.name,color:o.suffixIcon.color,class:e.normalizeClass({suffixIcon:o.buttonText})},null,8,["name","color","class"])):e.createCommentVNode("",!0)]),_:1},16,["color","class","plain","loading"]))}}}),[["__scopeId","data-v-9ba274d1"]]),Rb={title:"按钮",component:"Button",icon:e.h(be,{name:"button"}),type:"assist",order:1,attrSchema:Fb,render:Nb},Lb={size:"small",labelPosition:"top",initialValues:{props:{emptyText:"暂无数据",nodeKey:"id",expandOnClickNode:!1,props:{label:"label",children:"children"}}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"节点标识属性名",component:"Input",name:"props.nodeKey"},{label:"内容为空时的文本",component:"Input",name:"props.emptyText"},{label:"是否可拖拽",component:"Switch",name:"props.draggable"},{label:"是否点击节点时展开或收缩",component:"Switch",name:"props.expandOnClickNode"},{label:"节点是否懒加载",component:"Switch",name:"props.lazy"},{component:"Grid",children:[{label:"节点标签属性名",component:"Input",name:"props.props.label"},{label:"子树属性名",component:"Input",name:"props.props.children"},{label:"是否禁用属性名",component:"Input",name:"props.props.disabled"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"子节点设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label",initialValue:'{{ "一级子节点" + ($index + 1) }}'},{label:"唯一标识",component:"Input",name:"{{$values.props.nodeKey}}",initialValue:"{{ $index + 1 }}"},{label:"子节点设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label",initialValue:'{{ "二级子节点" + ($index + 1) }}'}],props:{mode:"card",title:"子节点"},name:"children"}],props:{mode:"card",title:"子节点"},designKey:"id-RQ1a",name:"props.data"}]},Gb={title:"树",component:"Tree",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>WM)),icon:e.h(be,{name:"tree"}),type:"assist",order:7,attrSchema:Lb},Pb={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{component:"Grid",children:[{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"列设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label"},{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{mode:"card",title:"列"},designKey:"id-RQ1a",name:"props.columns"},{label:"change事件函数名",component:"Input",name:"props.onChange"}]},Hb={title:"表格",component:"Table",icon:e.h(be,{name:"library"}),type:"assist",order:8,attrSchema:Pb,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>ix))},Kb={title:"curd模版卡片",component:"CurdCard",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>gx)),icon:e.h(be,{name:"card"}),type:"layout",order:6,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.title",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"},{label:"支持切换内部表格类型",component:"Switch",name:"props.typeSwitch"},{label:"样式类型",component:"Select",name:"props.type",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"内联",value:"inline"},{label:"混合",value:"mix"}]}}]}},Tb={title:"普通div容器",component:"Wrapper",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>hx)),icon:e.h(be,{name:"card"}),type:"layout",order:7,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},Ub={class:"card-list-item"},Yb={class:"card-list-item-header"},Ob={class:"card-list-item-header-title"},$b={style:{display:"ruby"}},Jb=["title"],zb=["title"],Zb={key:0,class:"card-list-item-header-title__sub"},Wb={class:"card-list-item-header-btns"},jb=["onClick"],qb={class:"card-list-item-content"},Xb={class:"card-list-item-content-item-label"},Vb=["onClick"],AD={key:0,class:"card-list-item-content--more"},eD={class:"card-list-item-content-item-label"},tD={class:"card-list-item-content-item-value"},nD={key:1,class:"card-list-item-footer"},iD={class:"card-list-item-footer-text"},Pd=ge(e.defineComponent({__name:"CardListItem",props:{data:{},btns:{},index:{}},emits:["clickBtn"],setup(n,{emit:A}){const t=A,i=e.inject("getGlobalParams",()=>{}),h=b=>{if(b)try{t("clickBtn",b)}catch(D){console.error(D)}},I=e.ref(!1),o=b=>{console.log(b),I.value=!I.value};return(b,D)=>{const w=e.resolveComponent("el-tooltip");return e.openBlock(),e.createElementBlock("div",Ub,[e.createElementVNode("div",Yb,[e.createElementVNode("div",Ob,[e.createElementVNode("div",$b,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.data.tag,S=>(e.openBlock(),e.createElementBlock("div",{key:S.label,class:"card-list-item-header-title__tag",style:e.normalizeStyle({color:S.color}),title:S.value},e.toDisplayString(S.value),13,Jb))),128))]),e.createElementVNode("div",{class:e.normalizeClass(["card-list-item-header-title__text",{"link-style":b.data.titleType==="link","click-style":b.data.onClick}]),style:e.normalizeStyle({color:b.data.titleColor}),title:b.data.title,onClick:D[0]||(D[0]=S=>h(b.data.onClick))},e.toDisplayString(b.data.title),15,zb),b.data.subTitle?(e.openBlock(),e.createElementBlock("div",Zb,[e.createElementVNode("span",{class:"card-list-item-header-title__sub-icon",style:e.normalizeStyle({backgroundColor:b.data.subTitleColor||"#3EBF17"})},null,4),e.createElementVNode("span",null,e.toDisplayString(b.data.subTitle),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Wb,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.btns,(S,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[S.condition===void 0||S.condition===null||e.unref(sn)(S.condition,{$row:b.data.originalData,$globalParams:e.unref(i)()})?(e.openBlock(),e.createElementBlock("div",{key:0,class:"card-list-item-header-btns-item",onClick:T=>h(S.onClick)},[S.label?(e.openBlock(),e.createBlock(w,{key:0,class:"box-item",effect:"dark",content:S.label,placement:"top","popper-class":"low-tsp"},{default:e.withCtx(()=>[e.createVNode(ze,{name:S.icon},null,8,["name"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock(ze,{key:1,name:S.icon},null,8,["name"]))],8,jb)):e.createCommentVNode("",!0)],64))),128))])]),e.createElementVNode("div",qb,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.data.content,S=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item-content-item",key:S.label},[e.createElementVNode("div",Xb,e.toDisplayString(S.label)+":",1),e.createElementVNode("div",{class:e.normalizeClass(["card-list-item-content-item-value",{"is-more":S.isMore}]),onClick:N=>o(S)},[e.createTextVNode(e.toDisplayString(S.value||"- -")+" ",1),S.isMore?(e.openBlock(),e.createBlock(ze,{key:0,class:e.normalizeClass({"rotate-[180deg]":I.value}),name:"icon-a-rongqi11",size:"small"},null,8,["class"])):e.createCommentVNode("",!0)],10,Vb)]))),128))]),I.value?(e.openBlock(),e.createElementBlock("div",AD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.data.childList,S=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item-content-item",key:S.label},[e.createElementVNode("div",eD,e.toDisplayString(S.label)+":",1),e.createElementVNode("div",tD,e.toDisplayString(S.value||"- -"),1)]))),128))])):e.createCommentVNode("",!0),b.data.footer?(e.openBlock(),e.createElementBlock("div",nD,[e.createVNode(ze,{name:b.data.footer.icon},null,8,["name"]),e.createElementVNode("span",iD,e.toDisplayString(b.data.footer.text||"- -"),1)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-a28b877b"]]),oD={key:0,class:"empty-content"},tc=ge(e.defineComponent({__name:"CardList",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){const A=n,t=e.inject("ruleModule",void 0),i=e.inject("ruleMap",void 0),h=e.inject("pageMethodMap",{}),I=e.computed(()=>A.rulePath&&i[A.rulePath]?i[A.rulePath]:t),o=($,K,Y)=>{try{I.value[$](h,K,Y)}catch(v){console.error(v)}},b=e.computed(()=>A.rowBtns?A.rowBtns.map($=>({condition:$.condition,icon:$.icon&&$.icon.name?$.icon.name:"icon-tishi",label:$.label,onClick:$.onClick})):[]),D=A.columns.find($=>$.position==="title"),w=A.columns.find($=>$.position==="subTitle"),S=A.columns.find($=>$.position==="footer"),N={key:"__childList"},T=e.computed(()=>{const $=A.columns.find(K=>K.type==="link");return A.data?A.data.map(K=>{const Y={content:[],tag:[],originalData:K};if(D&&$&&$.key===D.key&&(Y.titleType="link",Y.onClick=$.onClick),D&&(Y.title=A.getColText(D,K)),w&&(Y.subTitle=A.getColText(w,K),Y.subTitleColor=K[w.key+"Color"]),S){const v=A.getColText(S,K);Y.footer={icon:S.footerIcon||"icon-tishi",text:`${S.label}: ${v||"- -"}`}}return A.columns.forEach(v=>{v.position==="content"?Y.content.push({label:v.label,value:A.getColText(v,K)}):v.position==="moreContent"?(Y.content.push({label:v.label,value:A.getColText(v,K),isMore:K[N.key]&&K[N.key].length>0}),Y.childList=K[N.key]):v.position==="tag"&&Y.tag.push({label:v.label,value:A.getColText(v,K)})}),Y}):[]});return($,K)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{class:"card-list",style:e.normalizeStyle({"--columns":$.gridColumns,"--gap":$.gap+"px"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,(Y,v)=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item",key:v},[e.createVNode(Pd,{data:Y,btns:b.value,index:v,onClickBtn:Q=>o(Q,Y.originalData,v)},null,8,["data","btns","index","onClickBtn"])]))),128))],4),!$.data||$.data.length===0?(e.openBlock(),e.createElementBlock("div",oD,[e.createVNode(e.unref(be),{name:"tableEmpty",style:{width:56,height:56}}),K[0]||(K[0]=e.createElementVNode("div",null,"No data available,please check",-1))])):e.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-4f42a697"]]),rD={title:"卡片列表",component:"CardList",render:tc,icon:e.h(be,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},aD={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Dx)),icon:e.h(be,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},sD={title:"定制化组件(Progress)",component:"Progress",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Mx)),icon:e.h(be,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},lD={title:"日志列表",component:"LogList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Gx)),icon:e.h(be,{name:"card"}),type:"assist",order:12,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},cD={title:"可拖拽网格容器",icon:e.h(be,{name:"inline"}),type:"layout",component:"DragList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>v8)),order:9,lbTitle:!0,attrSchema:{items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.colNum",initialValue:12},{label:"行高",component:"InputNumber",name:"props.rowHeight",initialValue:30},{label:"布局",name:"props.layout",component:"FormList",children:[{label:"起点横坐标",name:"x",component:"Input",props:{type:"number"},designKey:"form-LnGh",initialValue:"{{$index}}"},{label:"起点纵坐标",name:"y",component:"Input",props:{type:"number"},designKey:"form-HYtW",initialValue:"{{ $index + 1}}"},{label:"宽度",name:"w",component:"Input",props:{type:"number"},designKey:"form-HYtW2"},{label:"高度",name:"h",component:"Input",props:{type:"number"},designKey:"form-HYtW3"},{label:"是否固定",name:"static",component:"Switch",designKey:"form-HYtW4"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}}]}},gD=ge(e.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(n){return(A,t)=>A.disabled?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0},A.$attrs,{class:"disabled-wrapper"}),[t[0]||(t[0]=e.createElementVNode("div",{class:"mask"},null,-1)),e.renderSlot(A.$slots,"default",{},void 0,!0)],16)):e.renderSlot(A.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-f3803727"]]);let ji=class extends Error{constructor(A){super(A),this.name="ShikiError"}},nc=class extends Error{constructor(A){super(A),this.name="ShikiError"}};function uD(){return 2147483648}function dD(){return typeof performance<"u"?performance.now():Date.now()}const hD=(n,A)=>n+(A-n%A)%A;async function pD(n){let A,t;const i={};function h($){t=$,i.HEAPU8=new Uint8Array($),i.HEAPU32=new Uint32Array($)}function I($,K,Y){i.HEAPU8.copyWithin($,K,K+Y)}function o($){try{return A.grow($-t.byteLength+65535>>>16),h(A.buffer),1}catch{}}function b($){const K=i.HEAPU8.length;$=$>>>0;const Y=uD();if($>Y)return!1;for(let v=1;v<=4;v*=2){let Q=K*(1+.2/v);Q=Math.min(Q,$+100663296);const L=Math.min(Y,hD(Math.max($,Q),65536));if(o(L))return!0}return!1}const D=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function w($,K,Y=1024){const v=K+Y;let Q=K;for(;$[Q]&&!(Q>=v);)++Q;if(Q-K>16&&$.buffer&&D)return D.decode($.subarray(K,Q));let L="";for(;K<Q;){let k=$[K++];if(!(k&128)){L+=String.fromCharCode(k);continue}const y=$[K++]&63;if((k&224)===192){L+=String.fromCharCode((k&31)<<6|y);continue}const m=$[K++]&63;if((k&240)===224?k=(k&15)<<12|y<<6|m:k=(k&7)<<18|y<<12|m<<6|$[K++]&63,k<65536)L+=String.fromCharCode(k);else{const p=k-65536;L+=String.fromCharCode(55296|p>>10,56320|p&1023)}}return L}function S($,K){return $?w(i.HEAPU8,$,K):""}const N={emscripten_get_now:dD,emscripten_memcpy_big:I,emscripten_resize_heap:b,fd_write:()=>0};async function T(){const K=await n({env:N,wasi_snapshot_preview1:N});A=K.memory,h(A.buffer),Object.assign(i,K),i.UTF8ToString=S}return await T(),i}let Nt=null;function BD(n){throw new nc(n.UTF8ToString(n.getLastOnigError()))}class Fa{constructor(A){Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16Value");Bt(this,"utf8Value");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");const t=A.length,i=Fa._utf8ByteLength(A),h=i!==t,I=h?new Uint32Array(t+1):null;h&&(I[t]=i);const o=h?new Uint32Array(i+1):null;h&&(o[i]=t);const b=new Uint8Array(i);let D=0;for(let w=0;w<t;w++){const S=A.charCodeAt(w);let N=S,T=!1;if(S>=55296&&S<=56319&&w+1<t){const $=A.charCodeAt(w+1);$>=56320&&$<=57343&&(N=(S-55296<<10)+65536|$-56320,T=!0)}h&&(I[w]=D,T&&(I[w+1]=D),N<=127?o[D+0]=w:N<=2047?(o[D+0]=w,o[D+1]=w):N<=65535?(o[D+0]=w,o[D+1]=w,o[D+2]=w):(o[D+0]=w,o[D+1]=w,o[D+2]=w,o[D+3]=w)),N<=127?b[D++]=N:N<=2047?(b[D++]=192|(N&1984)>>>6,b[D++]=128|(N&63)>>>0):N<=65535?(b[D++]=224|(N&61440)>>>12,b[D++]=128|(N&4032)>>>6,b[D++]=128|(N&63)>>>0):(b[D++]=240|(N&1835008)>>>18,b[D++]=128|(N&258048)>>>12,b[D++]=128|(N&4032)>>>6,b[D++]=128|(N&63)>>>0),T&&w++}this.utf16Length=t,this.utf8Length=i,this.utf16Value=A,this.utf8Value=b,this.utf16OffsetToUtf8=I,this.utf8OffsetToUtf16=o}static _utf8ByteLength(A){let t=0;for(let i=0,h=A.length;i<h;i++){const I=A.charCodeAt(i);let o=I,b=!1;if(I>=55296&&I<=56319&&i+1<h){const D=A.charCodeAt(i+1);D>=56320&&D<=57343&&(o=(I-55296<<10)+65536|D-56320,b=!0)}o<=127?t+=1:o<=2047?t+=2:o<=65535?t+=3:t+=4,b&&i++}return t}createString(A){const t=A.omalloc(this.utf8Length);return A.HEAPU8.set(this.utf8Value,t),t}}const cn=class cn{constructor(A){Bt(this,"id",++cn.LAST_ID);Bt(this,"_onigBinding");Bt(this,"content");Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");Bt(this,"ptr");if(!Nt)throw new nc("Must invoke loadWasm first.");this._onigBinding=Nt,this.content=A;const t=new Fa(A);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!cn._sharedPtrInUse?(cn._sharedPtr||(cn._sharedPtr=Nt.omalloc(1e4)),cn._sharedPtrInUse=!0,Nt.HEAPU8.set(t.utf8Value,cn._sharedPtr),this.ptr=cn._sharedPtr):this.ptr=t.createString(Nt)}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===cn._sharedPtr?cn._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Bt(cn,"LAST_ID",0),Bt(cn,"_sharedPtr",0),Bt(cn,"_sharedPtrInUse",!1);let Na=cn;class CD{constructor(A){Bt(this,"_onigBinding");Bt(this,"_ptr");if(!Nt)throw new nc("Must invoke loadWasm first.");const t=[],i=[];for(let b=0,D=A.length;b<D;b++){const w=new Fa(A[b]);t[b]=w.createString(Nt),i[b]=w.utf8Length}const h=Nt.omalloc(4*A.length);Nt.HEAPU32.set(t,h/4);const I=Nt.omalloc(4*A.length);Nt.HEAPU32.set(i,I/4);const o=Nt.createOnigScanner(h,I,A.length);for(let b=0,D=A.length;b<D;b++)Nt.ofree(t[b]);Nt.ofree(I),Nt.ofree(h),o===0&&BD(Nt),this._onigBinding=Nt,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(A,t,i){let h=0;if(typeof i=="number"&&(h=i),typeof A=="string"){A=new Na(A);const I=this._findNextMatchSync(A,t,!1,h);return A.dispose(),I}return this._findNextMatchSync(A,t,!1,h)}_findNextMatchSync(A,t,i,h){const I=this._onigBinding,o=I.findNextOnigScannerMatch(this._ptr,A.id,A.ptr,A.utf8Length,A.convertUtf16OffsetToUtf8(t),h);if(o===0)return null;const b=I.HEAPU32;let D=o/4;const w=b[D++],S=b[D++],N=[];for(let T=0;T<S;T++){const $=A.convertUtf8OffsetToUtf16(b[D++]),K=A.convertUtf8OffsetToUtf16(b[D++]);N[T]={start:$,end:K,length:K-$}}return{index:w,captureIndices:N}}}function mD(n){return typeof n.instantiator=="function"}function ED(n){return typeof n.default=="function"}function QD(n){return typeof n.data<"u"}function ID(n){return typeof Response<"u"&&n instanceof Response}function fD(n){var A;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((A=Buffer.isBuffer)==null?void 0:A.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let Ra;function wD(n){if(Ra)return Ra;async function A(){Nt=await pD(async t=>{let i=n;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),mD(i)?i=await i.instantiator(t):ED(i)?i=await i.default(t):(QD(i)&&(i=i.data),ID(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await bD(i)(t):i=await DD(i)(t):fD(i)?i=await ic(i)(t):i instanceof WebAssembly.Module?i=await ic(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await ic(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return Ra=A(),Ra}function ic(n){return A=>WebAssembly.instantiate(n,A)}function bD(n){return A=>WebAssembly.instantiateStreaming(n,A)}function DD(n){return async A=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,A)}}let yD;function vD(){return yD}async function kD(n){return n&&await wD(n),{createScanner(A){return new CD(A)},createString(A){return new Na(A)}}}function _D(n){return oc(n)}function oc(n){return Array.isArray(n)?MD(n):typeof n=="object"?xD(n):n}function MD(n){let A=[];for(let t=0,i=n.length;t<i;t++)A[t]=oc(n[t]);return A}function xD(n){let A={};for(let t in n)A[t]=oc(n[t]);return A}function Hd(n,...A){return A.forEach(t=>{for(let i in t)n[i]=t[i]}),n}function Kd(n){const A=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return A===0?n:~A===n.length-1?Kd(n.substring(0,n.length-1)):n.substr(~A+1)}var rc=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,La=class{static hasCaptures(n){return n===null?!1:(rc.lastIndex=0,rc.test(n))}static replaceCaptures(n,A,t){return n.replace(rc,(i,h,I,o)=>{let b=t[parseInt(h||I,10)];if(b){let D=A.substring(b.start,b.end);for(;D[0]===".";)D=D.substring(1);switch(o){case"downcase":return D.toLowerCase();case"upcase":return D.toUpperCase();default:return D}}else return i})}};function Td(n,A){return n<A?-1:n>A?1:0}function Ud(n,A){if(n===null&&A===null)return 0;if(!n)return-1;if(!A)return 1;let t=n.length,i=A.length;if(t===i){for(let h=0;h<t;h++){let I=Td(n[h],A[h]);if(I!==0)return I}return 0}return t-i}function Yd(n){return!!(/^#[0-9a-f]{6}$/i.test(n)||/^#[0-9a-f]{8}$/i.test(n)||/^#[0-9a-f]{3}$/i.test(n)||/^#[0-9a-f]{4}$/i.test(n))}function Od(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var $d=class{constructor(n){this.fn=n,this.cache=new Map}get(n){if(this.cache.has(n))return this.cache.get(n);const A=this.fn(n);return this.cache.set(n,A),A}},Ga=class{constructor(n,A,t){this._colorMap=n,this._defaults=A,this._root=t,this._cachedMatchRoot=new $d(i=>this._root.match(i))}static createFromRawTheme(n,A){return this.createFromParsedTheme(ND(n),A)}static createFromParsedTheme(n,A){return LD(n,A)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const A=n.scopeName,i=this._cachedMatchRoot.get(A).find(h=>SD(n.parent,h.parentScopes));return i?new Jd(i.fontStyle,i.foreground,i.background):null}},ac=class yl{constructor(A,t){this.parent=A,this.scopeName=t}static push(A,t){for(const i of t)A=new yl(A,i);return A}static from(...A){let t=null;for(let i=0;i<A.length;i++)t=new yl(t,A[i]);return t}push(A){return new yl(this,A)}getSegments(){let A=this;const t=[];for(;A;)t.push(A.scopeName),A=A.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(A){return this===A?!0:this.parent===null?!1:this.parent.extends(A)}getExtensionIfDefined(A){const t=[];let i=this;for(;i&&i!==A;)t.push(i.scopeName),i=i.parent;return i===A?t.reverse():void 0}};function SD(n,A){if(A.length===0)return!0;for(let t=0;t<A.length;t++){let i=A[t],h=!1;if(i===">"){if(t===A.length-1)return!1;i=A[++t],h=!0}for(;n&&!FD(n.scopeName,i);){if(h)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function FD(n,A){return A===n||n.startsWith(A)&&n[A.length]==="."}var Jd=class{constructor(n,A,t){this.fontStyle=n,this.foregroundId=A,this.backgroundId=t}};function ND(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let A=n.settings,t=[],i=0;for(let h=0,I=A.length;h<I;h++){let o=A[h];if(!o.settings)continue;let b;if(typeof o.scope=="string"){let N=o.scope;N=N.replace(/^[,]+/,""),N=N.replace(/[,]+$/,""),b=N.split(",")}else Array.isArray(o.scope)?b=o.scope:b=[""];let D=-1;if(typeof o.settings.fontStyle=="string"){D=0;let N=o.settings.fontStyle.split(" ");for(let T=0,$=N.length;T<$;T++)switch(N[T]){case"italic":D=D|1;break;case"bold":D=D|2;break;case"underline":D=D|4;break;case"strikethrough":D=D|8;break}}let w=null;typeof o.settings.foreground=="string"&&Yd(o.settings.foreground)&&(w=o.settings.foreground);let S=null;typeof o.settings.background=="string"&&Yd(o.settings.background)&&(S=o.settings.background);for(let N=0,T=b.length;N<T;N++){let K=b[N].trim().split(" "),Y=K[K.length-1],v=null;K.length>1&&(v=K.slice(0,K.length-1),v.reverse()),t[i++]=new RD(Y,v,h,D,w,S)}}return t}var RD=class{constructor(n,A,t,i,h,I){this.scope=n,this.parentScopes=A,this.index=t,this.fontStyle=i,this.foreground=h,this.background=I}},gi=(n=>(n[n.NotSet=-1]="NotSet",n[n.None=0]="None",n[n.Italic=1]="Italic",n[n.Bold=2]="Bold",n[n.Underline=4]="Underline",n[n.Strikethrough=8]="Strikethrough",n))(gi||{});function LD(n,A){n.sort((D,w)=>{let S=Td(D.scope,w.scope);return S!==0||(S=Ud(D.parentScopes,w.parentScopes),S!==0)?S:D.index-w.index});let t=0,i="#000000",h="#ffffff";for(;n.length>=1&&n[0].scope==="";){let D=n.shift();D.fontStyle!==-1&&(t=D.fontStyle),D.foreground!==null&&(i=D.foreground),D.background!==null&&(h=D.background)}let I=new GD(A),o=new Jd(t,I.getId(i),I.getId(h)),b=new HD(new sc(0,null,-1,0,0),[]);for(let D=0,w=n.length;D<w;D++){let S=n[D];b.insert(0,S.scope,S.parentScopes,S.fontStyle,I.getId(S.foreground),I.getId(S.background))}return new Ga(I,o,b)}var GD=class{constructor(n){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let A=0,t=n.length;A<t;A++)this._color2id[n[A]]=A,this._id2color[A]=n[A]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let A=this._color2id[n];if(A)return A;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return A=++this._lastColorId,this._color2id[n]=A,this._id2color[A]=n,A}getColorMap(){return this._id2color.slice(0)}},PD=Object.freeze([]),sc=class Bm{constructor(A,t,i,h,I){this.scopeDepth=A,this.parentScopes=t||PD,this.fontStyle=i,this.foreground=h,this.background=I}clone(){return new Bm(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(A){let t=[];for(let i=0,h=A.length;i<h;i++)t[i]=A[i].clone();return t}acceptOverwrite(A,t,i,h){this.scopeDepth>A?console.log("how did this happen?"):this.scopeDepth=A,t!==-1&&(this.fontStyle=t),i!==0&&(this.foreground=i),h!==0&&(this.background=h)}},HD=class Eu{constructor(A,t=[],i={}){this._mainRule=A,this._children=i,this._rulesWithParentScopes=t}static _cmpBySpecificity(A,t){if(A.scopeDepth!==t.scopeDepth)return t.scopeDepth-A.scopeDepth;let i=0,h=0;for(;A.parentScopes[i]===">"&&i++,t.parentScopes[h]===">"&&h++,!(i>=A.parentScopes.length||h>=t.parentScopes.length);){const I=t.parentScopes[h].length-A.parentScopes[i].length;if(I!==0)return I;i++,h++}return t.parentScopes.length-A.parentScopes.length}match(A){if(A!==""){let i=A.indexOf("."),h,I;if(i===-1?(h=A,I=""):(h=A.substring(0,i),I=A.substring(i+1)),this._children.hasOwnProperty(h))return this._children[h].match(I)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(Eu._cmpBySpecificity),t}insert(A,t,i,h,I,o){if(t===""){this._doInsertHere(A,i,h,I,o);return}let b=t.indexOf("."),D,w;b===-1?(D=t,w=""):(D=t.substring(0,b),w=t.substring(b+1));let S;this._children.hasOwnProperty(D)?S=this._children[D]:(S=new Eu(this._mainRule.clone(),sc.cloneArr(this._rulesWithParentScopes)),this._children[D]=S),S.insert(A+1,w,i,h,I,o)}_doInsertHere(A,t,i,h,I){if(t===null){this._mainRule.acceptOverwrite(A,i,h,I);return}for(let o=0,b=this._rulesWithParentScopes.length;o<b;o++){let D=this._rulesWithParentScopes[o];if(Ud(D.parentScopes,t)===0){D.acceptOverwrite(A,i,h,I);return}}i===-1&&(i=this._mainRule.fontStyle),h===0&&(h=this._mainRule.foreground),I===0&&(I=this._mainRule.background),this._rulesWithParentScopes.push(new sc(A,t,i,h,I))}},So=class Un{static toBinaryStr(A){return A.toString(2).padStart(32,"0")}static print(A){const t=Un.getLanguageId(A),i=Un.getTokenType(A),h=Un.getFontStyle(A),I=Un.getForeground(A),o=Un.getBackground(A);console.log({languageId:t,tokenType:i,fontStyle:h,foreground:I,background:o})}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,t,i,h,I,o,b){let D=Un.getLanguageId(A),w=Un.getTokenType(A),S=Un.containsBalancedBrackets(A)?1:0,N=Un.getFontStyle(A),T=Un.getForeground(A),$=Un.getBackground(A);return t!==0&&(D=t),i!==8&&(w=i),h!==null&&(S=h?1:0),I!==-1&&(N=I),o!==0&&(T=o),b!==0&&($=b),(D<<0|w<<8|S<<10|N<<11|T<<15|$<<24)>>>0}};function C3(n){return n}function m3(n){return n}function Pa(n,A){const t=[],i=KD(n);let h=i.next();for(;h!==null;){let D=0;if(h.length===2&&h.charAt(1)===":"){switch(h.charAt(0)){case"R":D=1;break;case"L":D=-1;break;default:console.log(`Unknown priority ${h} in scope selector`)}h=i.next()}let w=o();if(t.push({matcher:w,priority:D}),h!==",")break;h=i.next()}return t;function I(){if(h==="-"){h=i.next();const D=I();return w=>!!D&&!D(w)}if(h==="("){h=i.next();const D=b();return h===")"&&(h=i.next()),D}if(zd(h)){const D=[];do D.push(h),h=i.next();while(zd(h));return w=>A(D,w)}return null}function o(){const D=[];let w=I();for(;w;)D.push(w),w=I();return S=>D.every(N=>N(S))}function b(){const D=[];let w=o();for(;w&&(D.push(w),h==="|"||h===",");){do h=i.next();while(h==="|"||h===",");w=o()}return S=>D.some(N=>N(S))}}function zd(n){return!!n&&!!n.match(/[\w\.:]+/)}function KD(n){let A=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=A.exec(n);return{next:()=>{if(!t)return null;const i=t[0];return t=A.exec(n),i}}}function Zd(n){typeof n.dispose=="function"&&n.dispose()}var Br=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},TD=class{constructor(n,A){this.scopeName=n,this.ruleName=A}toKey(){return`${this.scopeName}#${this.ruleName}`}},UD=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(n){const A=n.toKey();this._seenReferenceKeys.has(A)||(this._seenReferenceKeys.add(A),this._references.push(n))}},YD=class{constructor(n,A){this.repo=n,this.initialScopeName=A,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Br(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const A=new UD;for(const t of n)OD(t,this.initialScopeName,this.repo,A);for(const t of A.references)if(t instanceof Br){if(this.seenFullScopeRequests.has(t.scopeName))continue;this.seenFullScopeRequests.add(t.scopeName),this.Q.push(t)}else{if(this.seenFullScopeRequests.has(t.scopeName)||this.seenPartialScopeRequests.has(t.toKey()))continue;this.seenPartialScopeRequests.add(t.toKey()),this.Q.push(t)}}};function OD(n,A,t,i){const h=t.lookup(n.scopeName);if(!h){if(n.scopeName===A)throw new Error(`No grammar provided for <${A}>`);return}const I=t.lookup(A);n instanceof Br?Ha({baseGrammar:I,selfGrammar:h},i):lc(n.ruleName,{baseGrammar:I,selfGrammar:h,repository:h.repository},i);const o=t.injections(n.scopeName);if(o)for(const b of o)i.add(new Br(b))}function lc(n,A,t){if(A.repository&&A.repository[n]){const i=A.repository[n];Ka([i],A,t)}}function Ha(n,A){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&Ka(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},A),n.selfGrammar.injections&&Ka(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},A)}function Ka(n,A,t){for(const i of n){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const h=i.repository?Hd({},A.repository,i.repository):A.repository;Array.isArray(i.patterns)&&Ka(i.patterns,{...A,repository:h},t);const I=i.include;if(!I)continue;const o=Wd(I);switch(o.kind){case 0:Ha({...A,selfGrammar:A.baseGrammar},t);break;case 1:Ha(A,t);break;case 2:lc(o.ruleName,{...A,repository:h},t);break;case 3:case 4:const b=o.scopeName===A.selfGrammar.scopeName?A.selfGrammar:o.scopeName===A.baseGrammar.scopeName?A.baseGrammar:void 0;if(b){const D={baseGrammar:A.baseGrammar,selfGrammar:b,repository:h};o.kind===4?lc(o.ruleName,D,t):Ha(D,t)}else o.kind===4?t.add(new TD(o.scopeName,o.ruleName)):t.add(new Br(o.scopeName));break}}}var $D=class{constructor(){this.kind=0}},JD=class{constructor(){this.kind=1}},zD=class{constructor(n){this.ruleName=n,this.kind=2}},ZD=class{constructor(n){this.scopeName=n,this.kind=3}},WD=class{constructor(n,A){this.scopeName=n,this.ruleName=A,this.kind=4}};function Wd(n){if(n==="$base")return new $D;if(n==="$self")return new JD;const A=n.indexOf("#");if(A===-1)return new ZD(n);if(A===0)return new zD(n.substring(1));{const t=n.substring(0,A),i=n.substring(A+1);return new WD(t,i)}}var jD=/\\(\d+)/,jd=/\\(\d+)/g,qD=-1,qd=-2;function E3(n){return n}function Q3(n){return n}var Cr=class{constructor(n,A,t,i){this.$location=n,this.id=A,this._name=t||null,this._nameIsCapturing=La.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=La.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Kd(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,A){return!this._nameIsCapturing||this._name===null||n===null||A===null?this._name:La.replaceCaptures(this._name,n,A)}getContentName(n,A){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:La.replaceCaptures(this._contentName,n,A)}},XD=class extends Cr{constructor(n,A,t,i,h){super(n,A,t,i),this.retokenizeCapturedWithRuleId=h}dispose(){}collectPatterns(n,A){throw new Error("Not supported!")}compile(n,A){throw new Error("Not supported!")}compileAG(n,A,t,i){throw new Error("Not supported!")}},VD=class extends Cr{constructor(n,A,t,i,h){super(n,A,t,null),this._match=new mr(i,this.id),this.captures=h,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,A){A.push(this._match)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Er,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Xd=class extends Cr{constructor(n,A,t,i,h){super(n,A,t,i),this.patterns=h.patterns,this.hasMissingPatterns=h.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,A){for(const t of this.patterns)n.getRule(t).collectPatterns(n,A)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Er,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},cc=class extends Cr{constructor(n,A,t,i,h,I,o,b,D,w){super(n,A,t,i),this._begin=new mr(h,this.id),this.beginCaptures=I,this._end=new mr(o||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=b,this.applyEndPatternLast=D||!1,this.patterns=w.patterns,this.hasMissingPatterns=w.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(n,A){return this._end.resolveBackReferences(n,A)}collectPatterns(n,A){A.push(this._begin)}compile(n,A){return this._getCachedCompiledPatterns(n,A).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n,A).compileAG(n,t,i)}_getCachedCompiledPatterns(n,A){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Er;for(const t of this.patterns)n.getRule(t).collectPatterns(n,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}},Ta=class extends Cr{constructor(n,A,t,i,h,I,o,b,D){super(n,A,t,i),this._begin=new mr(h,this.id),this.beginCaptures=I,this.whileCaptures=b,this._while=new mr(o,qd),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=D.patterns,this.hasMissingPatterns=D.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(n,A){return this._while.resolveBackReferences(n,A)}collectPatterns(n,A){A.push(this._begin)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Er;for(const A of this.patterns)n.getRule(A).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,A){return this._getCachedCompiledWhilePatterns(n,A).compile(n)}compileWhileAG(n,A,t,i){return this._getCachedCompiledWhilePatterns(n,A).compileAG(n,t,i)}_getCachedCompiledWhilePatterns(n,A){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Er,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,A||"￿"),this._cachedCompiledWhilePatterns}},Vd=class $t{static createCaptureRule(A,t,i,h,I){return A.registerRule(o=>new XD(t,o,i,h,I))}static getCompiledRuleId(A,t,i){return A.id||t.registerRule(h=>{if(A.id=h,A.match)return new VD(A.$vscodeTextmateLocation,A.id,A.name,A.match,$t._compileCaptures(A.captures,t,i));if(typeof A.begin>"u"){A.repository&&(i=Hd({},i,A.repository));let I=A.patterns;return typeof I>"u"&&A.include&&(I=[{include:A.include}]),new Xd(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,$t._compilePatterns(I,t,i))}return A.while?new Ta(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,$t._compileCaptures(A.beginCaptures||A.captures,t,i),A.while,$t._compileCaptures(A.whileCaptures||A.captures,t,i),$t._compilePatterns(A.patterns,t,i)):new cc(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,$t._compileCaptures(A.beginCaptures||A.captures,t,i),A.end,$t._compileCaptures(A.endCaptures||A.captures,t,i),A.applyEndPatternLast,$t._compilePatterns(A.patterns,t,i))}),A.id}static _compileCaptures(A,t,i){let h=[];if(A){let I=0;for(const o in A){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);b>I&&(I=b)}for(let o=0;o<=I;o++)h[o]=null;for(const o in A){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);let D=0;A[o].patterns&&(D=$t.getCompiledRuleId(A[o],t,i)),h[b]=$t.createCaptureRule(t,A[o].$vscodeTextmateLocation,A[o].name,A[o].contentName,D)}}return h}static _compilePatterns(A,t,i){let h=[];if(A)for(let I=0,o=A.length;I<o;I++){const b=A[I];let D=-1;if(b.include){const w=Wd(b.include);switch(w.kind){case 0:case 1:D=$t.getCompiledRuleId(i[b.include],t,i);break;case 2:let S=i[w.ruleName];S&&(D=$t.getCompiledRuleId(S,t,i));break;case 3:case 4:const N=w.scopeName,T=w.kind===4?w.ruleName:null,$=t.getExternalGrammar(N,i);if($)if(T){let K=$.repository[T];K&&(D=$t.getCompiledRuleId(K,t,$.repository))}else D=$t.getCompiledRuleId($.repository.$self,t,$.repository);break}}else D=$t.getCompiledRuleId(b,t,i);if(D!==-1){const w=t.getRule(D);let S=!1;if((w instanceof Xd||w instanceof cc||w instanceof Ta)&&w.hasMissingPatterns&&w.patterns.length===0&&(S=!0),S)continue;h.push(D)}}return{patterns:h,hasMissingPatterns:(A?A.length:0)!==h.length}}},mr=class Cm{constructor(A,t){if(A){const i=A.length;let h=0,I=[],o=!1;for(let b=0;b<i;b++)if(A.charAt(b)==="\\"&&b+1<i){const w=A.charAt(b+1);w==="z"?(I.push(A.substring(h,b)),I.push("$(?!\\n)(?<!\\n)"),h=b+2):(w==="A"||w==="G")&&(o=!0),b++}this.hasAnchor=o,h===0?this.source=A:(I.push(A.substring(h,i)),this.source=I.join(""))}else this.hasAnchor=!1,this.source=A;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,this.hasBackReferences=jD.test(this.source)}clone(){return new Cm(this.source,this.ruleId)}setSource(A){this.source!==A&&(this.source=A,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(A,t){let i=t.map(h=>A.substring(h.start,h.end));return jd.lastIndex=0,this.source.replace(jd,(h,I)=>Od(i[parseInt(I,10)]||""))}_buildAnchorCache(){let A=[],t=[],i=[],h=[],I,o,b,D;for(I=0,o=this.source.length;I<o;I++)b=this.source.charAt(I),A[I]=b,t[I]=b,i[I]=b,h[I]=b,b==="\\"&&I+1<o&&(D=this.source.charAt(I+1),D==="A"?(A[I+1]="￿",t[I+1]="￿",i[I+1]="A",h[I+1]="A"):D==="G"?(A[I+1]="￿",t[I+1]="G",i[I+1]="￿",h[I+1]="G"):(A[I+1]=D,t[I+1]=D,i[I+1]=D,h[I+1]=D),I++);return{A0_G0:A.join(""),A0_G1:t.join(""),A1_G0:i.join(""),A1_G1:h.join("")}}resolveAnchors(A,t){return!this.hasAnchor||!this._anchorCache?this.source:A?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Er=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(n){this._items.push(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}unshift(n){this._items.unshift(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}length(){return this._items.length}setSource(n,A){this._items[n].source!==A&&(this._disposeCaches(),this._items[n].setSource(A))}compile(n){if(!this._cached){let A=this._items.map(t=>t.source);this._cached=new Ah(n,A,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,A,t){return this._hasAnchors?A?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,A,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,A,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,A,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,A,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,A,t){let i=this._items.map(h=>h.resolveAnchors(A,t));return new Ah(n,i,this._items.map(h=>h.ruleId))}},Ah=class{constructor(n,A,t){this.regExps=A,this.rules=t,this.scanner=n.createOnigScanner(A)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let A=0,t=this.rules.length;A<t;A++)n.push(" - "+this.rules[A]+": "+this.regExps[A]);return n.join(`
80
+ `)},n.prototype.classes=function(A){var t=gr(this.element)?Array.from(this.element.classList):[];return A?t.includes(A):t},n.prototype.attributes=function(A){var t={};if(gr(this.element))for(var i=Array.from(this.element.attributes),h=0,I=i;h<I.length;h++){var o=I[h];t[o.localName]=o.value}return A?t[A]:t},n.prototype.text=function(){return this.getRootNodes().map(Wm).join("")},n.prototype.exists=function(){return!0},n.prototype.get=function(A){var t=this.find(A);if(t.exists())return t;throw new Error("Unable to get ".concat(A," within: ").concat(this.html()))},n.prototype.getComponent=function(A){var t=this.findComponent(A);if(t.exists())return t;var i="Unable to get ";throw typeof A=="string"?i+="component with selector ".concat(A):"name"in A?i+="component with name ".concat(A.name):"ref"in A?i+="component with ref ".concat(A.ref):i+="specified component",i+=" within: ".concat(this.html()),new Error(i)},n.prototype.isVisible=function(){return gr(this.element)&&qu(this.element)},n.prototype.trigger=function(A,t){return xl(this,void 0,void 0,function(){var i;return Sl(this,function(h){if(t&&t.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()&&(i=aE(A,t),i._vts=Date.now()+1,this.element.dispatchEvent(i)),[2,e.nextTick()]})})},n}(),xE=function(n){Lu(A,n);function A(t){var i=this;return t?(i=n.call(this,t)||this,Hu.plugins.DOMWrapper.extend(i),i):xi("DOMWrapper")}return A.prototype.getRootNodes=function(){return[this.wrapperElement]},A.prototype.getCurrentComponent=function(){for(var t,i=this.element.__vueParentComponent;((t=i==null?void 0:i.parent)===null||t===void 0?void 0:t.vnode.el)===this.element;)i=i.parent;return i},A.prototype.find=function(t){var i=n.prototype.find.call(this,t);return i.exists()&&Xm(t)?this.element.contains(i.element)?i:xi("DOMWrapper"):i},A.prototype.findAll=function(t){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(t),ur):[]},A.prototype.findAllComponents=function(t){var i=this,h=n.prototype.findAllComponents.call(this,t);return h.filter(function(I){return i.element.contains(I.element)})},A.prototype.setChecked=function(){return xl(this,arguments,void 0,function(t){var i,h;return t===void 0&&(t=!0),Sl(this,function(I){if(i=this.element,h=this.attributes().type,h==="radio"&&!t)throw Error(`wrapper.setChecked() cannot be called with parameter false on a '<input type="radio" /> element.`);return t===i.checked?[2]:(i.checked=t,this.trigger("input"),[2,this.trigger("change")])})})},A.prototype.setValue=function(t){var i=this.element,h=i.tagName,I=this.attributes().type;if(h==="OPTION")return this.setSelected(),Promise.resolve();if(h==="INPUT"&&I==="checkbox")return this.setChecked(t);if(h==="INPUT"&&I==="radio")return this.setChecked(t);if(h==="SELECT"){if(Array.isArray(t))for(var o=i,b=0;b<o.options.length;b++){var D=o.options[b];D.selected=t.includes(D.value)}else i.value=t;return this.trigger("input"),this.trigger("change")}else{if(h==="INPUT"||h==="TEXTAREA")return i.value=t,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(h))}},A.prototype.setSelected=function(){var t=this.element;if(!t.selected){t.selected=!0;var i=t.parentElement;i.tagName==="OPTGROUP"&&(i=i.parentElement);var h=new A(i);return h.trigger("input"),h.trigger("change")}},A}(Md);Xu(Mo.DOMWrapper,function(n){return new xE(n)});function xa(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var A=n.component.subTree;return xa(A)}else{if(n.shapeFlag&128)return xa(n.suspense.activeBranch);if(n.shapeFlag&72){var t=[n.el];if(n.anchor)for(var i=t[0].nextSibling;i&&i.previousSibling!==n.anchor;)t.push(i),i=i.nextSibling;return t}else if(n.shapeFlag&16){var h=n.children.flat();return h.flatMap(function(I){return xa(I)}).filter(qm)}}return[]}var Wi={};function SE(n,A){var t=n.$.uid,i=Wi[t]||{};return A?i?i[A]:void 0:i}var FE=function(n,A,t){for(var i=n;typeof(i==null?void 0:i.type)=="function";)i=i.parent;var h=i.uid;h in Wi||(Wi[h]={}),A in Wi[h]||(Wi[h][A]=[]),Wi[h][A].push(t)},NE=function(n){var A=n.$.uid;delete Wi[A]};function RE(n,A){return new Proxy(n,{get:function(t,i,h){return t.$.exposed&&t.$.exposeProxy&&i in t.$.exposeProxy?Reflect.get(t.$.exposeProxy,i,h):i in A?Reflect.get(A,i,h):i in t.$.appContext.config.globalProperties?Reflect.get(t.$.appContext.config.globalProperties,i,h):t.$.ctx[i]},set:function(t,i,h,I){return i in A?Reflect.set(A,i,h,I):Reflect.set(t,i,h,I)},has:function(t,i){return Reflect.has(A,i)||Reflect.has(t,i)},defineProperty:function(t,i,h){return i in A?Reflect.defineProperty(A,i,h):Reflect.defineProperty(t,i,h)},getOwnPropertyDescriptor:function(t,i){return i in A?Reflect.getOwnPropertyDescriptor(A,i):Reflect.getOwnPropertyDescriptor(t,i)},deleteProperty:function(t,i){return i in A?Reflect.deleteProperty(A,i):Reflect.deleteProperty(t,i)}})}var LE=function(n){Lu(A,n);function A(t,i,h){var I=n.call(this,i==null?void 0:i.$el)||this;return I.cleanUpCallbacks=[],I.__app=t,I.rootVM=i==null?void 0:i.$root,Vm(i)?I.componentVM=RE(i,i.$.setupState):I.componentVM=i,I.__setProps=h,I.attachNativeEventListener(),Hu.plugins.VueWrapper.extend(I),I}return Object.defineProperty(A.prototype,"hasMultipleRoots",{get:function(){var t=function(i){var h;if(i.shapeFlag===16)return!0;if(i.shapeFlag&4||i.shapeFlag&2){if(!((h=i.component)===null||h===void 0)&&h.subTree)return t(i.component.subTree);if(i.shapeFlag&16)return!0}return!1};return t(this.vm.$.subTree)},enumerable:!1,configurable:!0}),A.prototype.getRootNodes=function(){return xa(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(t){return this.findAllDOMElements(t).map(ur)},A.prototype.attachNativeEventListener=function(){var t=this.vm;if(t){var i=t.$options.emits?Array.isArray(t.$options.emits)?t.$options.emits:Object.keys(t.$options.emits):[],h=this.getRootNodes().filter(function(N){return N instanceof Element});if(h.length===1)for(var I=h[0],o=function(N){if(i.includes(N))return"continue";var T=function(){for(var $=[],K=0;K<arguments.length;K++)$[K]=arguments[K];FE(t.$,N,$)};I.addEventListener(N,T),b.cleanUpCallbacks.push(function(){I.removeEventListener(N,T)})},b=this,D=0,w=Object.keys(Tu);D<w.length;D++){var S=w[D];o(S)}}},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(t){var i=this.componentVM.$props;return t?i[t]:i},A.prototype.emitted=function(t){return SE(this.vm,t)},A.prototype.isVisible=function(){var t=ur(this.element);return t.isVisible()},A.prototype.setData=function(t){return Ku(this.componentVM.$data,t),e.nextTick()},A.prototype.setProps=function(t){if(this.vm.$parent!==this.rootVM||!this.__setProps)throw Error("You can only use setProps on your mounted component");return this.__setProps(t),e.nextTick()},A.prototype.setValue=function(t,i){var h=i||"modelValue";return this.vm.$emit("update:".concat(h),t),this.vm.$nextTick()},A.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");NE(this.vm),this.cleanUpCallbacks.forEach(function(t){return t()}),this.cleanUpCallbacks=[],this.__app.unmount()},A}(Md);Xu(Mo.VueWrapper,function(n,A,t){return new LE(n,A,t)});var GE={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};e.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var n=this,A,t,i=e.computed(function(){return GE}),h=(t=(A=this.$slots)===null||A===void 0?void 0:A.default)===null||t===void 0?void 0:t.call(A,{route:i,href:e.computed(function(){return i.value.href}),isActive:e.computed(function(){return!1}),isExactActive:e.computed(function(){return!1}),navigate:function(){return xl(n,void 0,void 0,function(){return Sl(this,function(I){return[2]})})}});return this.custom?h:e.h("a",void 0,h)}}),typeof setImmediate=="function"&&setImmediate;const jn=Symbol(),xd=Symbol(),Sd=Symbol(),Fd={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"}}}},Sa=[{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"}]}],PE=[{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"}],HE="vfc",je=(n="")=>`${HE}-${n}`,Ac=(n,A)=>n.reduce((t,i)=>{if(i.designKey===A)return i;if(i.children){const h=Ac(i.children,A);if(h)return h}return t},null),Nd=(n,A)=>n.map(t=>t.designKey===A.designKey?A:t.children?{...t,children:Nd(t.children,A)}:t),Rd=n=>n.map(A=>{const t={...ht.cloneDeep(A),designKey:`form-${Mi(4)}`,name:Mi(8)};return A.children&&(t.children=Rd(A.children)),t}),Ld=(n,A)=>n.reduce((t,i)=>{var h;if(i.children?t.push({...i,children:Ld(i.children,A)}):t.push(i),i.designKey===A){const I={...ht.cloneDeep(i),designKey:`form-${Mi(4)}`,name:`${i.name}-${Mi(2)}`};i.children&&(I.children=Rd(i.children)),i.label&&!((h=I.label)!=null&&h.includes("copy"))&&(I.label=I.label+" copy"),t.push(I)}return t},[]),Gd=n=>n.map(A=>{if(!A.render)return A;const t={component:A.component,designKey:A.designKey||`design-${Mi(4)}`,name:A.name||`form-${Mi(4)}`};return A.children&&(t.children=Gd(A.children)),t}),kt=()=>{const n=e.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:()=>{},findItemByName:()=>null});return e.inject(xd,n)},KE=()=>{const{fetchOptionsFn:n}=e.inject(jn);return n},pr=n=>{const A=kt(),t=KE(),i=e.ref([]),h=e.ref(!1);let I=0;const o=ht.debounce(async()=>{if(!t||!n.apiParams||Object.values(n.apiParams).some(N=>N===void 0))return;h.value=!0;const S=++I;try{const N=await t({formItemProps:e.toRaw(n),formSchema:e.toRaw(A.schema)});if(S!==I)return;const T=n.defaultOptions||[];if(i.value=[...T,...N],n.filters&&(i.value=i.value.filter($=>Array.isArray(n.filters)?!n.filters.includes($[n.valueKey||"value"]):!0)),n.name){const $=zi(A.schema.items,n.name);$&&$.props&&($.props.options=i.value)}if(n.refreshFlag&&i.value.length>=1){A.updateFormValues({[`${n.name}`]:i.value[0][n.valueKey||"value"]},!0);const $=zi(A.schema.items,n.name);$&&$.props&&($.props.refreshFlag=!1)}}finally{h.value=!1}},300);e.onMounted(()=>{const{mode:S,options:N=[]}=n;S==="static"&&(i.value=N),S==="remote"&&o()}),e.watch(()=>n.apiParams,(S,N)=>{ht.isEqual(S,N)||(i.value=[],o())}),e.watch(()=>n.options,(S=[])=>{n.mode==="static"&&(i.value=S)}),e.watch(()=>n.mode,S=>{S==="static"&&(i.value=n.options||[]),S==="remote"&&(i.value=[],o())});const{mode:b,dependentFields:D}=n;if(b==="remote"&&Array.isArray(D))for(const S of D)e.watch(()=>A.formValues[S],(N,T)=>{o()});return{selectChange:S=>{const{valueKey:N="value",multiple:T,name:$}=n;let K={};T&&Array.isArray(S)?K=i.value.filter(Y=>S.includes(Y[N])):K=i.value.find(Y=>Y[N]===S)||{},A.selectData&&$&&A.updateSelectData($,K)},currentOptions:i,loading:h,fetchData:o}};function ec(){const n=e.inject(jn),A=e.inject("asiaint-lang",e.ref("zh"));return n!=null&&n.lang?e.ref(n.lang):A}function ci(){const n=ec();return e.computed(()=>Fd[(n==null?void 0:n.value)||"en"])}const ge=(n,A)=>{const t=n.__vccOpts||n;for(const[i,h]of A)t[i]=h;return t},TE={},UE={t:"1745908115116",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4619",width:"200",height:"200"};function YE(n,A){return e.openBlock(),e.createElementBlock("svg",UE,A[0]||(A[0]=[e.createElementVNode("path",{d:"M0 128a128 128 0 0 1 128-128h768a128 128 0 0 1 128 128v768a128 128 0 0 1-128 128H128a128 128 0 0 1-128-128V128z m128-64a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128a64 64 0 0 0-64-64H128z",fill:"#18AAF8","p-id":"4620"},null,-1),e.createElementVNode("path",{d:"M576 224a32 32 0 0 0-32-32h-64a32 32 0 0 0-32 32v576a32 32 0 0 0 32 32h64a32 32 0 0 0 32-32v-576z",fill:"#18AAF8","p-id":"4621"},null,-1),e.createElementVNode("path",{d:"M224 448a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32h-576z",fill:"#18AAF8","p-id":"4622"},null,-1)]))}const OE=Object.freeze(Object.defineProperty({__proto__:null,default:ge(TE,[["render",YE]])},Symbol.toStringTag,{value:"Module"})),$E={},JE={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 zE(n,A){return e.openBlock(),e.createElementBlock("svg",JE,A[0]||(A[0]=[e.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),e.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),e.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 ZE=Object.freeze(Object.defineProperty({__proto__:null,default:ge($E,[["render",zE]])},Symbol.toStringTag,{value:"Module"})),WE={},jE={t:"1750754916904",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9550",width:"200",height:"200"};function qE(n,A){return e.openBlock(),e.createElementBlock("svg",jE,A[0]||(A[0]=[e.createElementVNode("path",{d:"M966.857993 938.452769H53.788602a42.83445 42.83445 0 0 0 0 85.424829h913.069391a42.83445 42.83445 0 1 0 0-85.424829zM112.487663 448.60239v380.384562a42.83445 42.83445 0 1 0 85.42483 0V448.60239a42.83445 42.83445 0 1 0-85.42483 0zM340.571958 42.712415v786.274537a42.83445 42.83445 0 1 0 85.424829 0V42.712415a42.83445 42.83445 0 0 0-85.424829 0zM569.022359 271.04078v557.946172a42.83445 42.83445 0 1 0 85.424829 0V271.04078a42.83445 42.83445 0 0 0-85.424829 0zM797.350724 423.219012v405.76794a42.83445 42.83445 0 1 0 85.42483 0V423.219012a42.83445 42.83445 0 0 0-85.42483 0z",fill:"#4D4D4D","p-id":"9551"},null,-1)]))}const XE=Object.freeze(Object.defineProperty({__proto__:null,default:ge(WE,[["render",qE]])},Symbol.toStringTag,{value:"Module"})),VE={},AQ={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 eQ(n,A){return e.openBlock(),e.createElementBlock("svg",AQ,A[0]||(A[0]=[e.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),e.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 tQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(VE,[["render",eQ]])},Symbol.toStringTag,{value:"Module"})),nQ={},iQ={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 oQ(n,A){return e.openBlock(),e.createElementBlock("svg",iQ,A[0]||(A[0]=[e.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),e.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),e.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),e.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 rQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(nQ,[["render",oQ]])},Symbol.toStringTag,{value:"Module"})),aQ={},sQ={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 lQ(n,A){return e.openBlock(),e.createElementBlock("svg",sQ,A[0]||(A[0]=[e.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),e.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 cQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(aQ,[["render",lQ]])},Symbol.toStringTag,{value:"Module"})),gQ={},uQ={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 dQ(n,A){return e.openBlock(),e.createElementBlock("svg",uQ,A[0]||(A[0]=[e.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 hQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(gQ,[["render",dQ]])},Symbol.toStringTag,{value:"Module"})),pQ={},BQ={t:"1726041444972",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5136","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function CQ(n,A){return e.openBlock(),e.createElementBlock("svg",BQ,A[0]||(A[0]=[e.createElementVNode("path",{d:"M512 1024a512 512 0 1 1 512-512 512.520855 512.520855 0 0 1-512 512z m0-971.914547a459.914547 459.914547 0 1 0 459.914547 459.914547A460.435402 460.435402 0 0 0 512 52.085453z",fill:"#909399","p-id":"5137"},null,-1),e.createElementVNode("path",{d:"M660.703967 674.76704a26.042726 26.042726 0 0 1-18.750763-7.812818l-281.001017-286.46999a26.042726 26.042726 0 0 1 0-36.980671 26.042726 26.042726 0 0 1 36.720244 0l281.001018 286.469989a26.042726 26.042726 0 0 1-18.490336 44.272635z",fill:"#909399","p-id":"5138"},null,-1),e.createElementVNode("path",{d:"M376.577823 671.641913a26.042726 26.042726 0 0 1-18.490336-7.812818 26.042726 26.042726 0 0 1 0-36.720245l286.46999-281.001017a26.042726 26.042726 0 0 1 36.720244 0 26.042726 26.042726 0 0 1 0 36.980672l-286.46999 281.001017a26.042726 26.042726 0 0 1-18.229908 7.552391z",fill:"#909399","p-id":"5139"},null,-1)]))}const mQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(pQ,[["render",CQ]])},Symbol.toStringTag,{value:"Module"})),EQ={},QQ={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 IQ(n,A){return e.openBlock(),e.createElementBlock("svg",QQ,A[0]||(A[0]=[e.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),e.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 fQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(EQ,[["render",IQ]])},Symbol.toStringTag,{value:"Module"})),wQ={},bQ={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 DQ(n,A){return e.openBlock(),e.createElementBlock("svg",bQ,A[0]||(A[0]=[e.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 yQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(wQ,[["render",DQ]])},Symbol.toStringTag,{value:"Module"})),vQ={},kQ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function _Q(n,A){return e.openBlock(),e.createElementBlock("svg",kQ,A[0]||(A[0]=[e.createStaticVNode('<defs><clipPath id="clipPath8742382171"><path transform="matrix(1 0 0 1 0 0)" d="M0 0L16 0L16 16L0 16L0 0Z" fill-rule="nonzero"></path></clipPath></defs><g clip-path="url(#clipPath8742382171)"><path transform="matrix(1 0 0 1 4.33333 1.66667)" d="M-0.5 0.9375L-0.5 2.4772C-0.5 2.75334 -0.27614 2.9772 0 2.9772C0.27614 2.9772 0.5 2.75334 0.5 2.4772L0.5 0.9375Q0.5 0.756282 0.628141 0.628141Q0.756282 0.5 0.9375 0.5L9.0625 0.5Q9.24372 0.5 9.37186 0.628141Q9.5 0.756282 9.5 0.9375L9.5 9.0625Q9.5 9.24372 9.37186 9.37186Q9.24372 9.5 9.0625 9.5L7.50543 9.5C7.22929 9.5 7.00543 9.72386 7.00543 10C7.00543 10.2761 7.22929 10.5 7.50543 10.5L9.0625 10.5Q9.65793 10.5 10.079 10.079Q10.5 9.65793 10.5 9.0625L10.5 0.9375Q10.5 0.342067 10.079 -0.078966Q9.65793 -0.5 9.0625 -0.5L0.9375 -0.5Q0.342068 -0.5 -0.0789659 -0.0789659Q-0.5 0.342068 -0.5 0.9375Z" fill-rule="evenodd" fill="rgb(102, 102, 102)"></path><path transform="matrix(1 0 0 1 1.66667 4.33333)" d="M9.0625 0.5L0.9375 0.5Q0.756282 0.5 0.628141 0.628141Q0.5 0.756282 0.5 0.9375L0.5 9.0625Q0.5 9.24372 0.628141 9.37186Q0.756282 9.5 0.9375 9.5L9.0625 9.5Q9.24372 9.5 9.37186 9.37186Q9.5 9.24372 9.5 9.0625L9.5 0.9375Q9.5 0.756282 9.37186 0.628141Q9.24372 0.5 9.0625 0.5L9.0625 0.5ZM9.0625 -0.5Q9.65793 -0.5 10.079 -0.078966Q10.5 0.342067 10.5 0.9375L10.5 9.0625Q10.5 9.65793 10.079 10.079Q9.65793 10.5 9.0625 10.5L0.9375 10.5Q0.342067 10.5 -0.078966 10.079Q-0.5 9.65793 -0.5 9.0625L-0.5 0.9375Q-0.5 0.342068 -0.0789659 -0.0789659Q0.342068 -0.5 0.9375 -0.5L9.0625 -0.5L9.0625 -0.5Z" fill-rule="nonzero" fill="rgb(102, 102, 102)"></path></g>',2)]))}const MQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(vQ,[["render",_Q]])},Symbol.toStringTag,{value:"Module"})),xQ={},SQ={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 FQ(n,A){return e.openBlock(),e.createElementBlock("svg",SQ,A[0]||(A[0]=[e.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:ge(xQ,[["render",FQ]])},Symbol.toStringTag,{value:"Module"})),RQ={},LQ={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 GQ(n,A){return e.openBlock(),e.createElementBlock("svg",LQ,A[0]||(A[0]=[e.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),e.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),e.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const PQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(RQ,[["render",GQ]])},Symbol.toStringTag,{value:"Module"})),HQ={},KQ={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 TQ(n,A){return e.openBlock(),e.createElementBlock("svg",KQ,A[0]||(A[0]=[e.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),e.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),e.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),e.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 UQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(HQ,[["render",TQ]])},Symbol.toStringTag,{value:"Module"})),YQ={},OQ={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 $Q(n,A){return e.openBlock(),e.createElementBlock("svg",OQ,A[0]||(A[0]=[e.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),e.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),e.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),e.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),e.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const JQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(YQ,[["render",$Q]])},Symbol.toStringTag,{value:"Module"})),zQ={},ZQ={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 WQ(n,A){return e.openBlock(),e.createElementBlock("svg",ZQ,A[0]||(A[0]=[e.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const jQ=Object.freeze(Object.defineProperty({__proto__:null,default:ge(zQ,[["render",WQ]])},Symbol.toStringTag,{value:"Module"})),qQ={},XQ={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 VQ(n,A){return e.openBlock(),e.createElementBlock("svg",XQ,A[0]||(A[0]=[e.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),e.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 AI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(qQ,[["render",VQ]])},Symbol.toStringTag,{value:"Module"})),eI={},tI={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function nI(n,A){return e.openBlock(),e.createElementBlock("svg",tI,A[0]||(A[0]=[e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:"clipPath6999889763"},[e.createElementVNode("path",{transform:"matrix(1 0 0 1 0 0)",d:"M0 0L16 0L16 16L0 16L0 0Z","fill-rule":"nonzero"})])],-1),e.createElementVNode("g",{"clip-path":"url(#clipPath6999889763)"},[e.createElementVNode("path",{transform:"matrix(1 0 0 1 3.5 5.75)",d:"M-0.795495 -0.795495C-1.23483 -0.356159 -1.23483 0.356159 -0.795495 0.795495L3.7045 5.2955Q3.74359 5.33458 3.78631 5.36964Q3.82903 5.4047 3.87498 5.4354Q3.92094 5.46611 3.96968 5.49216Q4.01842 5.51821 4.06948 5.53936Q4.12054 5.56051 4.17343 5.57656Q4.22632 5.5926 4.28052 5.60338Q4.33473 5.61417 4.38973 5.61958Q4.44473 5.625 4.5 5.625Q4.55527 5.625 4.61027 5.61958Q4.66527 5.61417 4.71948 5.60338Q4.77368 5.5926 4.82657 5.57656Q4.87946 5.56051 4.93052 5.53936Q4.98158 5.51821 5.03032 5.49216Q5.07906 5.46611 5.12502 5.4354Q5.17097 5.4047 5.21369 5.36964Q5.25642 5.33458 5.2955 5.2955L9.7955 0.795495C10.2348 0.356159 10.2348 -0.356159 9.7955 -0.795495C9.35616 -1.23483 8.64384 -1.23483 8.2045 -0.795495L4.5 2.90901L0.795495 -0.795495C0.356159 -1.23483 -0.356159 -1.23483 -0.795495 -0.795495Z","fill-rule":"evenodd",fill:"rgb(51, 51, 51)"})],-1)]))}const iI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(eI,[["render",nI]])},Symbol.toStringTag,{value:"Module"})),oI={},rI={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 aI(n,A){return e.openBlock(),e.createElementBlock("svg",rI,A[0]||(A[0]=[e.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 sI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(oI,[["render",aI]])},Symbol.toStringTag,{value:"Module"})),lI={},cI={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 gI(n,A){return e.openBlock(),e.createElementBlock("svg",cI,A[0]||(A[0]=[e.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 uI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(lI,[["render",gI]])},Symbol.toStringTag,{value:"Module"})),dI={},hI={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 pI(n,A){return e.openBlock(),e.createElementBlock("svg",hI,A[0]||(A[0]=[e.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 BI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(dI,[["render",pI]])},Symbol.toStringTag,{value:"Module"})),CI={},mI={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 EI(n,A){return e.openBlock(),e.createElementBlock("svg",mI,A[0]||(A[0]=[e.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 QI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(CI,[["render",EI]])},Symbol.toStringTag,{value:"Module"})),II={},fI={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 wI(n,A){return e.openBlock(),e.createElementBlock("svg",fI,A[0]||(A[0]=[e.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 bI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(II,[["render",wI]])},Symbol.toStringTag,{value:"Module"})),DI={},yI={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 vI(n,A){return e.openBlock(),e.createElementBlock("svg",yI,A[0]||(A[0]=[e.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 kI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(DI,[["render",vI]])},Symbol.toStringTag,{value:"Module"})),_I={},MI={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 xI(n,A){return e.openBlock(),e.createElementBlock("svg",MI,A[0]||(A[0]=[e.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 SI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(_I,[["render",xI]])},Symbol.toStringTag,{value:"Module"})),FI={},NI={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 RI(n,A){return e.openBlock(),e.createElementBlock("svg",NI,A[0]||(A[0]=[e.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 LI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(FI,[["render",RI]])},Symbol.toStringTag,{value:"Module"})),GI={},PI={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 HI(n,A){return e.openBlock(),e.createElementBlock("svg",PI,A[0]||(A[0]=[e.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 KI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(GI,[["render",HI]])},Symbol.toStringTag,{value:"Module"})),TI={},UI={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 YI(n,A){return e.openBlock(),e.createElementBlock("svg",UI,A[0]||(A[0]=[e.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 OI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(TI,[["render",YI]])},Symbol.toStringTag,{value:"Module"})),$I={},JI={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 zI(n,A){return e.openBlock(),e.createElementBlock("svg",JI,A[0]||(A[0]=[e.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),e.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 ZI=Object.freeze(Object.defineProperty({__proto__:null,default:ge($I,[["render",zI]])},Symbol.toStringTag,{value:"Module"})),WI={},jI={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 qI(n,A){return e.openBlock(),e.createElementBlock("svg",jI,A[0]||(A[0]=[e.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 XI=Object.freeze(Object.defineProperty({__proto__:null,default:ge(WI,[["render",qI]])},Symbol.toStringTag,{value:"Module"})),VI={},Af={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 ef(n,A){return e.openBlock(),e.createElementBlock("svg",Af,A[0]||(A[0]=[e.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 tf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(VI,[["render",ef]])},Symbol.toStringTag,{value:"Module"})),nf={},of={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 rf(n,A){return e.openBlock(),e.createElementBlock("svg",of,A[0]||(A[0]=[e.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 af=Object.freeze(Object.defineProperty({__proto__:null,default:ge(nf,[["render",rf]])},Symbol.toStringTag,{value:"Module"})),sf={},lf={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 cf(n,A){return e.openBlock(),e.createElementBlock("svg",lf,A[0]||(A[0]=[e.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 gf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(sf,[["render",cf]])},Symbol.toStringTag,{value:"Module"})),uf={},df={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 hf(n,A){return e.openBlock(),e.createElementBlock("svg",df,A[0]||(A[0]=[e.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 pf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(uf,[["render",hf]])},Symbol.toStringTag,{value:"Module"})),Bf={},Cf={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 mf(n,A){return e.openBlock(),e.createElementBlock("svg",Cf,A[0]||(A[0]=[e.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),e.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 Ef=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Bf,[["render",mf]])},Symbol.toStringTag,{value:"Module"})),Qf={},If={t:"1750754729084",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8507",width:"200",height:"200"};function ff(n,A){return e.openBlock(),e.createElementBlock("svg",If,A[0]||(A[0]=[e.createElementVNode("path",{d:"M875.166 118.245c100.653 90.117 155.335 226.557 147.918 360.878q-239.153 1.354-478.482 0-1.236-239.212 0-478.482a456.115 456.115 0 0 1 330.564 117.604z m25.781 113.661c-44.028-71.693-116.074-121.96-193.476-152.332a235.444 235.444 0 0 0-105.538-21.838q-0.412 182.057 0 364.233h364.174c2.295-68.809-30.432-132.614-65.1-190.004z m-0.294 316.673c3.06 94.53-20.366 190.533-72.693 269.878A449.993 449.993 0 1 1 248 171.809c69.868-35.964 149.154-50.444 227.38-48.266 1.001 141.266 0 283.004 0.471 424.565 141.267 0.412 283.064-0.648 424.624 0.47z m-49.031 49.973c-141.856-0.765-283.77 0-425.684-0.353-0.353-141.914 0.353-283.828-0.353-425.684-82.111 12.302-165.517 37.73-229.028 93.354-19.896 20.601-40.732 40.261-60.569 60.921C77.893 404.075 44.99 501.313 49.58 598.258c8.888 71.045 29.43 142.443 71.281 201.54 18.07 29.725 46.442 50.797 69.692 76.107a383.01 383.01 0 0 0 149.39 81.111c50.502 12.184 103.065 25.251 155.04 14.068 89.35-12.596 178.172-50.974 238.622-119.547 72.517-63.805 103.949-160.279 117.722-253.103z","p-id":"8508"},null,-1)]))}const wf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Qf,[["render",ff]])},Symbol.toStringTag,{value:"Module"})),bf={},Df={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 yf(n,A){return e.openBlock(),e.createElementBlock("svg",Df,A[0]||(A[0]=[e.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),e.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 vf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(bf,[["render",yf]])},Symbol.toStringTag,{value:"Module"})),kf={},_f={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 Mf(n,A){return e.openBlock(),e.createElementBlock("svg",_f,A[0]||(A[0]=[e.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 xf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(kf,[["render",Mf]])},Symbol.toStringTag,{value:"Module"})),Sf={},Ff={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 Nf(n,A){return e.openBlock(),e.createElementBlock("svg",Ff,A[0]||(A[0]=[e.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 Rf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Sf,[["render",Nf]])},Symbol.toStringTag,{value:"Module"})),Lf={},Gf={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 Pf(n,A){return e.openBlock(),e.createElementBlock("svg",Gf,A[0]||(A[0]=[e.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),e.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 Hf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Lf,[["render",Pf]])},Symbol.toStringTag,{value:"Module"})),Kf={},Tf={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 Uf(n,A){return e.openBlock(),e.createElementBlock("svg",Tf,A[0]||(A[0]=[e.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 Yf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Kf,[["render",Uf]])},Symbol.toStringTag,{value:"Module"})),Of={},$f={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 Jf(n,A){return e.openBlock(),e.createElementBlock("svg",$f,A[0]||(A[0]=[e.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 zf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Of,[["render",Jf]])},Symbol.toStringTag,{value:"Module"})),Zf={},Wf={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 jf(n,A){return e.openBlock(),e.createElementBlock("svg",Wf,A[0]||(A[0]=[e.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 qf=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Zf,[["render",jf]])},Symbol.toStringTag,{value:"Module"})),Xf={},Vf={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 Aw(n,A){return e.openBlock(),e.createElementBlock("svg",Vf,A[0]||(A[0]=[e.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 ew=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Xf,[["render",Aw]])},Symbol.toStringTag,{value:"Module"})),tw={},nw={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 iw(n,A){return e.openBlock(),e.createElementBlock("svg",nw,A[0]||(A[0]=[e.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),e.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 ow=Object.freeze(Object.defineProperty({__proto__:null,default:ge(tw,[["render",iw]])},Symbol.toStringTag,{value:"Module"})),rw={},aw={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 sw(n,A){return e.openBlock(),e.createElementBlock("svg",aw,A[0]||(A[0]=[e.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 lw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(rw,[["render",sw]])},Symbol.toStringTag,{value:"Module"})),cw={},gw={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 uw(n,A){return e.openBlock(),e.createElementBlock("svg",gw,A[0]||(A[0]=[e.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),e.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 dw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(cw,[["render",uw]])},Symbol.toStringTag,{value:"Module"})),hw={},pw={t:"1746684610959",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8806",width:"200",height:"200"};function Bw(n,A){return e.openBlock(),e.createElementBlock("svg",pw,A[0]||(A[0]=[e.createElementVNode("path",{d:"M137.846154 681.491692c-85.799385 34.422154-137.846154 79.655385-137.846154 129.181539 0 107.854769 246.862769 195.268923 551.384615 195.268923s551.384615-87.433846 551.384616-195.268923c0-49.526154-52.066462-94.759385-137.846154-129.181539v71.739077H137.846154v-71.739077z",fill:"#F7F8FA","p-id":"8807"},null,-1),e.createElementVNode("path",{d:"M367.596308 626.865231h-275.692308l16.462769 181.090461a78.769231 78.769231 0 0 0 78.434462 71.640616h729.166769a78.769231 78.769231 0 0 0 78.434462-71.640616l16.462769-181.090461h-275.692308v13.134769a78.769231 78.769231 0 0 1-78.769231 78.769231H446.365538a78.769231 78.769231 0 0 1-78.76923-78.769231v-13.134769z m198.06523-184.950154l64.984616-64.984615 151.886769 151.906461c12.425846 12.425846 15.655385 27.372308 5.789539 41.944615a109.686154 109.686154 0 0 1-12.937847 15.891693 109.686154 109.686154 0 0 1-15.911384 12.937846c-14.532923 9.846154-29.499077 6.636308-41.924923-5.789539l-151.88677-151.906461z",fill:"#DADEE2","p-id":"8808"},null,-1),e.createElementVNode("path",{d:"M191.684923 357.435077L91.904 626.865231h91.884308l55.059692-207.950769c-18.707692-17.880615-34.658462-38.596923-47.163077-61.479385z m440.753231 5.238154h201.432615a19.692308 19.692308 0 0 1 19.022769 14.651077l66.087385 249.540923h91.884308l-105.353846-284.435693a39.384615 39.384615 0 0 0-36.923077-25.718153H653.193846a251.352615 251.352615 0 0 1-20.755692 45.961846zM413.538462 18.057846C534.075077 18.057846 631.788308 115.771077 631.788308 236.307692c0 44.878769-13.528615 86.587077-36.745846 121.265231l27.470769 27.490462-48.738462 48.738461-25.639384-25.659077A217.324308 217.324308 0 0 1 413.538462 454.557538c-120.536615 0-218.249846-97.713231-218.249847-218.249846S293.001846 18.057846 413.538462 18.057846z m0 57.422769a160.827077 160.827077 0 1 0 0 321.654154 160.827077 160.827077 0 0 0 0-321.654154z",fill:"#E6E8E9","p-id":"8809"},null,-1)]))}const Cw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(hw,[["render",Bw]])},Symbol.toStringTag,{value:"Module"})),mw={},Ew={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 Qw(n,A){return e.openBlock(),e.createElementBlock("svg",Ew,A[0]||(A[0]=[e.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),e.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),e.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),e.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 Iw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(mw,[["render",Qw]])},Symbol.toStringTag,{value:"Module"})),fw={},ww={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 bw(n,A){return e.openBlock(),e.createElementBlock("svg",ww,A[0]||(A[0]=[e.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),e.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 Dw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(fw,[["render",bw]])},Symbol.toStringTag,{value:"Module"})),yw={},vw={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 kw(n,A){return e.openBlock(),e.createElementBlock("svg",vw,A[0]||(A[0]=[e.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),e.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),e.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 _w=Object.freeze(Object.defineProperty({__proto__:null,default:ge(yw,[["render",kw]])},Symbol.toStringTag,{value:"Module"})),Mw={},xw={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 Sw(n,A){return e.openBlock(),e.createElementBlock("svg",xw,A[0]||(A[0]=[e.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),e.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),e.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 Fw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Mw,[["render",Sw]])},Symbol.toStringTag,{value:"Module"})),Nw={},Rw={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 Lw(n,A){return e.openBlock(),e.createElementBlock("svg",Rw,A[0]||(A[0]=[e.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const Gw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Nw,[["render",Lw]])},Symbol.toStringTag,{value:"Module"})),Pw={},Hw={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 Kw(n,A){return e.openBlock(),e.createElementBlock("svg",Hw,A[0]||(A[0]=[e.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 Tw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Pw,[["render",Kw]])},Symbol.toStringTag,{value:"Module"})),Uw={},Yw={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 Ow(n,A){return e.openBlock(),e.createElementBlock("svg",Yw,A[0]||(A[0]=[e.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 $w=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Uw,[["render",Ow]])},Symbol.toStringTag,{value:"Module"})),Jw={},zw={t:"1742201720189",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3586",width:"200",height:"200"};function Zw(n,A){return e.openBlock(),e.createElementBlock("svg",zw,A[0]||(A[0]=[e.createElementVNode("path",{d:"M950.4 128.2H330.1c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h620.3c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H392.1v-48h496.3v48zM950.4 704.2H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h458.6c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H553.8v-48h334.6v48zM491.8 608.2h457.1c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10z m62-120h333.1v48H553.8v-48zM384.1 548.2c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-163c35.2-14.2 60-48.7 60-89 0-53-43-96-96-96s-96 43-96 96c0 40.3 24.8 74.8 60 89v487c0 19.9 16.1 36 36 36h224c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-216h188z",fill:"#333333","p-id":"3587"},null,-1)]))}const Ww=Object.freeze(Object.defineProperty({__proto__:null,default:ge(Jw,[["render",Zw]])},Symbol.toStringTag,{value:"Module"})),jw={},qw={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 Xw(n,A){return e.openBlock(),e.createElementBlock("svg",qw,A[0]||(A[0]=[e.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),e.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 Vw=Object.freeze(Object.defineProperty({__proto__:null,default:ge(jw,[["render",Xw]])},Symbol.toStringTag,{value:"Module"})),A0={},e0={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 t0(n,A){return e.openBlock(),e.createElementBlock("svg",e0,A[0]||(A[0]=[e.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),e.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),e.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 n0=Object.freeze(Object.defineProperty({__proto__:null,default:ge(A0,[["render",t0]])},Symbol.toStringTag,{value:"Module"})),i0={},o0={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 r0(n,A){return e.openBlock(),e.createElementBlock("svg",o0,A[0]||(A[0]=[e.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),e.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),e.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),e.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 a0=Object.freeze(Object.defineProperty({__proto__:null,default:ge(i0,[["render",r0]])},Symbol.toStringTag,{value:"Module"})),s0={},l0={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 c0(n,A){return e.openBlock(),e.createElementBlock("svg",l0,A[0]||(A[0]=[e.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 g0=Object.freeze(Object.defineProperty({__proto__:null,default:ge(s0,[["render",c0]])},Symbol.toStringTag,{value:"Module"})),be=e.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(n){const t=Object.entries(Object.assign({"./icons/add.vue":OE,"./icons/alert.vue":ZE,"./icons/barChart.vue":XE,"./icons/button.vue":tQ,"./icons/card.vue":rQ,"./icons/cascader.vue":cQ,"./icons/checkbox.vue":hQ,"./icons/clear.vue":mQ,"./icons/collapse.vue":fQ,"./icons/colorPicker.vue":yQ,"./icons/copy.vue":MQ,"./icons/custom.vue":NQ,"./icons/datePicker.vue":PQ,"./icons/delete.vue":UQ,"./icons/design.vue":JQ,"./icons/divider.vue":jQ,"./icons/document.vue":AI,"./icons/dropdown.vue":iI,"./icons/esign.vue":sI,"./icons/eye.vue":uI,"./icons/formList.vue":BI,"./icons/github.vue":QI,"./icons/grid.vue":bI,"./icons/help.vue":kI,"./icons/hidden.vue":SI,"./icons/icon.vue":LI,"./icons/inline.vue":KI,"./icons/input.vue":OI,"./icons/inputNumber.vue":ZI,"./icons/itemGroup.vue":XI,"./icons/jsonEdit.vue":tf,"./icons/library.vue":af,"./icons/markdown.vue":gf,"./icons/move.vue":pf,"./icons/password.vue":Ef,"./icons/pieChart.vue":wf,"./icons/radio.vue":vf,"./icons/rate.vue":xf,"./icons/reduce.vue":Rf,"./icons/rich.vue":Hf,"./icons/save.vue":Yf,"./icons/script.vue":zf,"./icons/search.vue":qf,"./icons/searchSelect.vue":ew,"./icons/select.vue":ow,"./icons/slider.vue":lw,"./icons/switch.vue":dw,"./icons/tableEmpty.vue":Cw,"./icons/tabs.vue":Iw,"./icons/tag.vue":Dw,"./icons/text.vue":_w,"./icons/textarea.vue":Fw,"./icons/title.vue":Gw,"./icons/transfer.vue":Tw,"./icons/trash.vue":$w,"./icons/tree.vue":Ww,"./icons/upload.vue":Vw,"./icons/uploadImage.vue":n0,"./icons/verifyCode.vue":a0,"./icons/vue.vue":g0})).reduce((i,[h,I])=>{const o=h.split("/").pop(),b=o==null?void 0:o.split(".")[0];return i[b]=I.default,i},{});return(i,h)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(t)[i.name]),e.mergeProps({class:e.unref(je)("icon-render")},i.$attrs),null,16,["class"]))}}),u0={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"}]},d0={key:0},h0=e.defineComponent({__name:"Input",props:e.mergeModels({onChange:{},onInput:{},rulePath:{},read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=kt(),t=e.computed(()=>A.schema.read),i=e.useModel(n,"modelValue"),h=()=>{i.value&&(i.value=i.value.trim())},I=n,o=e.inject("ruleModule",void 0),b=e.inject("pageMethodMap",{}),D=e.useAttrs(),w=T=>{const $=["E","e","+","-"];D.type==="number"&&$.includes(T.key)&&T.preventDefault()},S=T=>{if(I.onInput&&o)try{o[I.onInput](b,T)}catch($){console.error($)}},N=T=>{if(I.onChange&&o)try{o[I.onChange](b,T)}catch($){console.error($)}};return(T,$)=>{const K=e.resolveComponent("el-input");return T.read||t.value?(e.openBlock(),e.createElementBlock("span",d0,e.toDisplayString(i.value||"--"),1)):(e.openBlock(),e.createBlock(K,e.mergeProps({key:1},T.$attrs,{class:`el-input--${T.$attrs.styleType} el-input`,modelValue:i.value,"onUpdate:modelValue":$[0]||($[0]=Y=>i.value=Y),onInput:S,onChange:N,onKeydown:w,onBlur:h}),null,16,["class","modelValue"]))}}}),p0={title:"单行文本",component:"Input",icon:e.h(be,{name:"input"}),type:"basic",order:1,attrSchema:u0,render:h0},B0={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}]},C0={title:"多行文本",component:"TextArea",icon:e.h(be,{name:"textarea"}),type:"basic",order:2,attrSchema:B0,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>x8))},m0={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"}]},E0=["xlink:href"],ze=ge(e.defineComponent({__name:"iconfont",props:{name:{},color:{},size:{default:"small"}},setup(n){const A=n,t=e.computed(()=>A.color?{color:A.color}:void 0);return(i,h)=>(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["icon",{large:i.size==="large",small:i.size==="small",normal:i.size==="normal"}]),"aria-hidden":"true",style:e.normalizeStyle(t.value)},[e.createElementVNode("use",{"xlink:href":`#${i.name}`},null,8,E0)],6))}}),[["__scopeId","data-v-d0c43fa5"]]),Q0=["onClick"],I0={key:1,class:"bold-style"},f0=ge(e.defineComponent({__name:"Alert",props:{description:{},values:{},type:{},icon:{}},setup(n){const A=n,{ruleModule:t,pageMethodMap:i}=ig(),h=(b,D)=>{try{t[b](i,D)}catch(w){console.error(w)}},I=e.computed(()=>{const b=/\{(\d+)\}/g,D=[];let w=0,S;for(;(S=b.exec(A.description))!==null;)S.index>w&&D.push({type:"text",value:A.description.slice(w,S.index)}),D.push({type:"value",index:Number(S[1])}),w=b.lastIndex;return w<A.description.length&&D.push({type:"text",value:A.description.slice(w)}),D}),o=e.computed(()=>A.icon?A.icon:A.type?{primary:{name:"icon-tishitubiao",color:"#18aaf8"},success:{name:"icon-successtubiao",color:"#18aaf8"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"#18aaf8"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[A.type]:{name:"icon-tishitubiao",color:"#18aaf8"});return(b,D)=>{const w=e.resolveComponent("el-alert");return b.description?(e.openBlock(),e.createBlock(w,e.mergeProps({key:0},b.$attrs,{type:b.type,class:"alert-container"}),{icon:e.withCtx(()=>[e.createVNode(ze,{name:o.value.name,color:o.value.color},null,8,["name","color"])]),default:e.withCtx(()=>[e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.value,(S,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[S.type==="text"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(S.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof S.index=="number"&&A.values&&A.values[S.index]&&typeof A.values[S.index].onClick=="string"?(e.openBlock(),e.createElementBlock("span",{key:0,class:"link-style",onClick:T=>h(A.values[S.index].onClick,A.values[S.index].text)},e.toDisplayString(typeof S.index=="number"&&A.values&&A.values[S.index]?A.values[S.index].text:""),9,Q0)):(e.openBlock(),e.createElementBlock("span",I0,e.toDisplayString(typeof S.index=="number"&&A.values&&A.values[S.index]?A.values[S.index].text:""),1))],64))],64))),128))])]),_:1},16,["type"])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-c4478b3e"]]),w0={title:"提示框",component:"Alert",icon:e.h(be,{name:"alert"}),type:"assist",order:2,attrSchema:m0,render:f0},b0={title:"卡片",component:"Card",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>R8)),icon:e.h(be,{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"}]}},D0={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"}]}]},y0={title:"级联选择器",icon:e.h(be,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:D0,order:7,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>L8))},v0={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}]},k0={title:"JSON编辑",component:"JsonEdit",icon:e.h(be,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:v0,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Y8))},_0={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"},...Sa]},M0={title:"多选框组",icon:e.h(be,{name:"checkbox"}),type:"basic",component:"Checkbox",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>$8)),order:4,attrSchema:_0},x0={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"}]},S0={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:e.h(be,{name:"colorPicker"}),type:"basic",order:9,attrSchema:x0},F0={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"}]},N0={title:"颜色输入框",component:"ColorInput",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>z8)),icon:e.h(be,{name:"colorPicker"}),type:"high",order:2,attrSchema:F0},R0={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"}]},L0={title:"自定义组件",component:"Custom",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>W8)),icon:e.h(be,{name:"custom"}),type:"high",order:99,attrSchema:R0},G0={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"}]}}]},P0={title:"日期选择器",component:"DatePicker",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>q8)),icon:e.h(be,{name:"datePicker"}),type:"basic",order:9,attrSchema:G0},H0={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"}]},K0={title:"分割线",component:"Divider",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>X8)),icon:e.h(be,{name:"divider"}),type:"assist",order:6,attrSchema:H0},T0={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"}]},U0={title:"电子签名",component:"Esign",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>rM)),icon:e.h(be,{name:"esign"}),type:"basic",order:11,attrSchema:T0},Y0={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"},...Sa]},O0={title:"单选框组",icon:e.h(be,{name:"radio"}),type:"basic",component:"Radio",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>sM)),order:3.5,attrSchema:Y0},$0={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"}]},J0={title:"自增容器",component:"FormList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>hM)),icon:e.h(be,{name:"formList"}),type:"high",order:20,attrSchema:$0},z0={title:"栅格布局",type:"layout",icon:e.h(be,{name:"grid"}),component:"Grid",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>pM)),order:3,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{columns:2}},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"}]}}]}},Z0={title:"行内布局",icon:e.h(be,{name:"inline"}),type:"layout",component:"Inline",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>BM)),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"},{label:"两端对齐",value:"space-between"},{label:"环绕对齐",value:"space-around"},{label:"均匀对齐",value:"space-evenly"}]},initialValue:"left"},{label:"间距大小",component:"InputNumber",name:"props.gap",props:{unit:"px"}},{label:"自动换行",component:"Switch",name:"props.autoWrap"}]}},W0={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"}]},j0={title:"计数器",icon:e.h(be,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>mM)),attrSchema:W0},q0={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"}]},X0={key:0},V0={title:"密码输入框",component:"Password",render:e.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=kt();return(i,h)=>{var o;const I=e.resolveComponent("el-input");return e.unref(t).read?(e.openBlock(),e.createElementBlock("span",X0,e.toDisplayString((o=A.value)==null?void 0:o.replace(/./g,"*")),1)):(e.openBlock(),e.createBlock(I,e.mergeProps({key:1},i.$attrs,{modelValue:A.value,"onUpdate:modelValue":h[0]||(h[0]=b=>A.value=b),type:"password"}),null,16,["modelValue"]))}}}),icon:e.h(be,{name:"password"}),type:"basic",order:3,attrSchema:q0},Ab={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"},...Sa]},eb={title:"下拉选择框",type:"basic",icon:e.h(be,{name:"select"}),component:"Select",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>IM)),order:3,attrSchema:Ab},tb={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"}]},nb={title:"评分",component:"Rate",render:"ElRate",icon:e.h(be,{name:"rate"}),type:"basic",order:12,attrSchema:tb},ib={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"}}]},ob={title:"选择+输入",component:"SelectInput",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>wM)),icon:e.h(be,{name:"input"}),type:"high",order:1,attrSchema:ib},rb={title:"滑块",render:"ElSlider",component:"Slider",icon:e.h(be,{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}]}},ab={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}]}}]},sb={title:"开关",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>bM)),component:"Switch",icon:e.h(be,{name:"switch"}),type:"basic",order:8,attrSchema:ab},lb={title:"标签",component:"Tag",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>DM)),icon:e.h(be,{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"}]}}]}},cb={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"}]},gb={title:"文本",component:"Text",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>yM)),icon:e.h(be,{name:"text"}),type:"assist",order:1,attrSchema:cb},ub={title:"标题",component:"Title",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>vM)),icon:e.h(be,{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"}]}},db={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"}]}}]},hb={title:"上传",component:"Upload",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>MM)),icon:e.h(be,{name:"upload"}),type:"basic",order:10,attrSchema:db},pb={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"}]},Bb={title:"图形验证码",component:"VerifyCode",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>NM)),icon:e.h(be,{name:"verifyCode"}),type:"high",order:18,attrSchema:pb},Cb={title:"折叠面板",component:"Collapse",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>RM)),icon:e.h(be,{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"}]}},mb={title:"选项卡",component:"Tabs",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>LM)),icon:e.h(be,{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"}]}},Eb={title:"对象容器",icon:e.h(be,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>HM)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},Qb={},Ib={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 fb(n,A){return e.openBlock(),e.createElementBlock("svg",Ib,A[0]||(A[0]=[e.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 wb=ge(Qb,[["render",fb]]),bb={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"}}]},Db={key:0},yb={title:"穿梭框",component:"Transfer",render:e.defineComponent({__name:"Transfer",props:e.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=kt(),i=e.useModel(n,"modelValue"),h=I=>{const o=I.map(b=>A.data.find(D=>D.key===b));t.updateSelectData(A.name,o)};return(I,o)=>{var D;const b=e.resolveComponent("el-transfer");return e.unref(t).read?(e.openBlock(),e.createElementBlock("div",Db,e.toDisplayString((D=i.value)==null?void 0:D.map(w=>{var S;return(S=I.data.find(N=>N.key===w))==null?void 0:S.label}).join("、")),1)):(e.openBlock(),e.createBlock(b,e.mergeProps({key:1},I.$attrs,{data:I.data,onChange:h,modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=w=>i.value=w)}),null,16,["data","modelValue"]))}}}),icon:wb,type:"basic",order:12,attrSchema:bb},vb={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"}]},kb={key:0},_b=ge(e.defineComponent({__name:"SearchInput",props:e.mergeModels({onInput:{},onSearch:{},onClear:{},disabled:{type:Boolean},read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=n,i=e.inject("ruleModule",void 0),h=e.inject("pageMethodMap",{}),I=D=>{if(t.onInput&&i)try{i[t.onInput](h,D)}catch(w){console.error(w)}},o=()=>{if(t.onSearch&&i)try{i[t.onSearch](h)}catch(D){console.error(D)}},b=()=>{if(t.onClear&&i)try{i[t.onClear](h)}catch(D){console.error(D)}};return(D,w)=>{const S=e.resolveComponent("el-button"),N=e.resolveComponent("el-input");return D.read?(e.openBlock(),e.createElementBlock("span",kb,e.toDisplayString(A.value||"--"),1)):(e.openBlock(),e.createBlock(N,e.mergeProps({key:1},D.$attrs,{modelValue:A.value,"onUpdate:modelValue":w[0]||(w[0]=T=>A.value=T),onInput:I,disabled:D.disabled,clearable:!1}),{append:e.withCtx(()=>[e.createVNode(S,{onClick:o,disabled:D.disabled},{default:e.withCtx(()=>[e.createVNode(e.unref(be),{name:"search"})]),_:1},8,["disabled"])]),suffix:e.withCtx(()=>[D.onClear&&A.value&&!D.disabled?(e.openBlock(),e.createBlock(e.unref(be),{key:0,name:"clear",onClick:b,class:"clear-icon"})):e.createCommentVNode("",!0)]),_:1},16,["modelValue","disabled"]))}}}),[["__scopeId","data-v-9ea1e9a5"]]),Mb={title:"搜索输入",component:"SearchInput",icon:e.h(be,{name:"search"}),type:"high",order:5,attrSchema:vb,render:_b},xb={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"},...Sa]},Sb={title:"选择+搜索",type:"high",icon:e.h(be,{name:"searchSelect"}),component:"SearchSelect",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>OM)),order:3,attrSchema:xb},Fb={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"}]},Nb=ge(e.defineComponent({__name:"button",props:{buttonText:{},onClick:{},hidden:{type:Boolean},orange:{type:Boolean},icon:{},suffixIcon:{}},setup(n){const A=n,t=e.inject("ruleModule",void 0),i=e.inject("pageMethodMap",{}),h=e.ref(!1),I=async()=>{if(A.onClick&&t){try{h.value=!0,await t[A.onClick](i)}catch(o){console.error(o)}h.value=!1}};return(o,b)=>{const D=e.resolveComponent("el-button");return o.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(D,e.mergeProps({key:0},o.$attrs,{onClick:I,color:o.orange?"#FAA21E":"",class:["crm-button",{orangeBtn:o.orange}],plain:!o.orange&&o.$attrs.type!=="primary",loading:h.value}),{default:e.withCtx(()=>[o.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:o.icon.name,color:o.icon.color,class:e.normalizeClass({btnicon:o.buttonText})},null,8,["name","color","class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(o.buttonText)+" ",1),o.suffixIcon?(e.openBlock(),e.createBlock(ze,{key:1,name:o.suffixIcon.name,color:o.suffixIcon.color,class:e.normalizeClass({suffixIcon:o.buttonText})},null,8,["name","color","class"])):e.createCommentVNode("",!0)]),_:1},16,["color","class","plain","loading"]))}}}),[["__scopeId","data-v-41d3ee9a"]]),Rb={title:"按钮",component:"Button",icon:e.h(be,{name:"button"}),type:"assist",order:1,attrSchema:Fb,render:Nb},Lb={size:"small",labelPosition:"top",initialValues:{props:{emptyText:"暂无数据",nodeKey:"id",expandOnClickNode:!1,props:{label:"label",children:"children"}}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"节点标识属性名",component:"Input",name:"props.nodeKey"},{label:"内容为空时的文本",component:"Input",name:"props.emptyText"},{label:"是否可拖拽",component:"Switch",name:"props.draggable"},{label:"是否点击节点时展开或收缩",component:"Switch",name:"props.expandOnClickNode"},{label:"节点是否懒加载",component:"Switch",name:"props.lazy"},{component:"Grid",children:[{label:"节点标签属性名",component:"Input",name:"props.props.label"},{label:"子树属性名",component:"Input",name:"props.props.children"},{label:"是否禁用属性名",component:"Input",name:"props.props.disabled"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"子节点设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label",initialValue:'{{ "一级子节点" + ($index + 1) }}'},{label:"唯一标识",component:"Input",name:"{{$values.props.nodeKey}}",initialValue:"{{ $index + 1 }}"},{label:"子节点设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label",initialValue:'{{ "二级子节点" + ($index + 1) }}'}],props:{mode:"card",title:"子节点"},name:"children"}],props:{mode:"card",title:"子节点"},designKey:"id-RQ1a",name:"props.data"}]},Gb={title:"树",component:"Tree",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>WM)),icon:e.h(be,{name:"tree"}),type:"assist",order:7,attrSchema:Lb},Pb={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{component:"Grid",children:[{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"列设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label"},{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{mode:"card",title:"列"},designKey:"id-RQ1a",name:"props.columns"},{label:"change事件函数名",component:"Input",name:"props.onChange"}]},Hb={title:"表格",component:"Table",icon:e.h(be,{name:"library"}),type:"assist",order:8,attrSchema:Pb,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>ix))},Kb={title:"curd模版卡片",component:"CurdCard",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>gx)),icon:e.h(be,{name:"card"}),type:"layout",order:6,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.title",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"},{label:"支持切换内部表格类型",component:"Switch",name:"props.typeSwitch"},{label:"样式类型",component:"Select",name:"props.type",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"内联",value:"inline"},{label:"混合",value:"mix"}]}}]}},Tb={title:"普通div容器",component:"Wrapper",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>hx)),icon:e.h(be,{name:"card"}),type:"layout",order:7,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},Ub={class:"card-list-item"},Yb={class:"card-list-item-header"},Ob={class:"card-list-item-header-title"},$b={style:{display:"ruby"}},Jb=["title"],zb=["title"],Zb={key:0,class:"card-list-item-header-title__sub"},Wb={class:"card-list-item-header-btns"},jb=["onClick"],qb={class:"card-list-item-content"},Xb={class:"card-list-item-content-item-label"},Vb=["onClick"],AD={key:0,class:"card-list-item-content--more"},eD={class:"card-list-item-content-item-label"},tD={class:"card-list-item-content-item-value"},nD={key:1,class:"card-list-item-footer"},iD={class:"card-list-item-footer-text"},Pd=ge(e.defineComponent({__name:"CardListItem",props:{data:{},btns:{},index:{}},emits:["clickBtn"],setup(n,{emit:A}){const t=A,i=e.inject("getGlobalParams",()=>{}),h=b=>{if(b)try{t("clickBtn",b)}catch(D){console.error(D)}},I=e.ref(!1),o=b=>{console.log(b),I.value=!I.value};return(b,D)=>{const w=e.resolveComponent("el-tooltip");return e.openBlock(),e.createElementBlock("div",Ub,[e.createElementVNode("div",Yb,[e.createElementVNode("div",Ob,[e.createElementVNode("div",$b,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.data.tag,S=>(e.openBlock(),e.createElementBlock("div",{key:S.label,class:"card-list-item-header-title__tag",style:e.normalizeStyle({color:S.color}),title:S.value},e.toDisplayString(S.value),13,Jb))),128))]),e.createElementVNode("div",{class:e.normalizeClass(["card-list-item-header-title__text",{"link-style":b.data.titleType==="link","click-style":b.data.onClick}]),style:e.normalizeStyle({color:b.data.titleColor}),title:b.data.title,onClick:D[0]||(D[0]=S=>h(b.data.onClick))},e.toDisplayString(b.data.title),15,zb),b.data.subTitle?(e.openBlock(),e.createElementBlock("div",Zb,[e.createElementVNode("span",{class:"card-list-item-header-title__sub-icon",style:e.normalizeStyle({backgroundColor:b.data.subTitleColor||"#3EBF17"})},null,4),e.createElementVNode("span",null,e.toDisplayString(b.data.subTitle),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Wb,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.btns,(S,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[S.condition===void 0||S.condition===null||e.unref(sn)(S.condition,{$row:b.data.originalData,$globalParams:e.unref(i)()})?(e.openBlock(),e.createElementBlock("div",{key:0,class:"card-list-item-header-btns-item",onClick:T=>h(S.onClick)},[S.label?(e.openBlock(),e.createBlock(w,{key:0,class:"box-item",effect:"dark",content:S.label,placement:"top","popper-class":"low-tsp"},{default:e.withCtx(()=>[e.createVNode(ze,{name:S.icon},null,8,["name"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock(ze,{key:1,name:S.icon},null,8,["name"]))],8,jb)):e.createCommentVNode("",!0)],64))),128))])]),e.createElementVNode("div",qb,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.data.content,S=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item-content-item",key:S.label},[e.createElementVNode("div",Xb,e.toDisplayString(S.label)+":",1),e.createElementVNode("div",{class:e.normalizeClass(["card-list-item-content-item-value",{"is-more":S.isMore}]),onClick:N=>o(S)},[e.createTextVNode(e.toDisplayString(S.value||"- -")+" ",1),S.isMore?(e.openBlock(),e.createBlock(ze,{key:0,class:e.normalizeClass({"rotate-[180deg]":I.value}),name:"icon-a-rongqi11",size:"small"},null,8,["class"])):e.createCommentVNode("",!0)],10,Vb)]))),128))]),I.value?(e.openBlock(),e.createElementBlock("div",AD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.data.childList,S=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item-content-item",key:S.label},[e.createElementVNode("div",eD,e.toDisplayString(S.label)+":",1),e.createElementVNode("div",tD,e.toDisplayString(S.value||"- -"),1)]))),128))])):e.createCommentVNode("",!0),b.data.footer?(e.openBlock(),e.createElementBlock("div",nD,[e.createVNode(ze,{name:b.data.footer.icon},null,8,["name"]),e.createElementVNode("span",iD,e.toDisplayString(b.data.footer.text||"- -"),1)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-6e82012a"]]),oD={key:0,class:"empty-content"},tc=ge(e.defineComponent({__name:"CardList",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){const A=n,t=e.inject("ruleModule",void 0),i=e.inject("ruleMap",void 0),h=e.inject("pageMethodMap",{}),I=e.computed(()=>A.rulePath&&i[A.rulePath]?i[A.rulePath]:t),o=($,K,Y)=>{try{I.value[$](h,K,Y)}catch(v){console.error(v)}},b=e.computed(()=>A.rowBtns?A.rowBtns.map($=>({condition:$.condition,icon:$.icon&&$.icon.name?$.icon.name:"icon-tishi",label:$.label,onClick:$.onClick})):[]),D=A.columns.find($=>$.position==="title"),w=A.columns.find($=>$.position==="subTitle"),S=A.columns.find($=>$.position==="footer"),N={key:"__childList"},T=e.computed(()=>{const $=A.columns.find(K=>K.type==="link");return A.data?A.data.map(K=>{const Y={content:[],tag:[],originalData:K};if(D&&$&&$.key===D.key&&(Y.titleType="link",Y.onClick=$.onClick),D&&(Y.title=A.getColText(D,K)),w&&(Y.subTitle=A.getColText(w,K),Y.subTitleColor=K[w.key+"Color"]),S){const v=A.getColText(S,K);Y.footer={icon:S.footerIcon||"icon-tishi",text:`${S.label}: ${v||"- -"}`}}return A.columns.forEach(v=>{v.position==="content"?Y.content.push({label:v.label,value:A.getColText(v,K)}):v.position==="moreContent"?(Y.content.push({label:v.label,value:A.getColText(v,K),isMore:K[N.key]&&K[N.key].length>0}),Y.childList=K[N.key]):v.position==="tag"&&Y.tag.push({label:v.label,value:A.getColText(v,K)})}),Y}):[]});return($,K)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{class:"card-list",style:e.normalizeStyle({"--columns":$.gridColumns,"--gap":$.gap+"px"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,(Y,v)=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item",key:v},[e.createVNode(Pd,{data:Y,btns:b.value,index:v,onClickBtn:Q=>o(Q,Y.originalData,v)},null,8,["data","btns","index","onClickBtn"])]))),128))],4),!$.data||$.data.length===0?(e.openBlock(),e.createElementBlock("div",oD,[e.createVNode(e.unref(be),{name:"tableEmpty",style:{width:56,height:56}}),K[0]||(K[0]=e.createElementVNode("div",null,"No data available,please check",-1))])):e.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-d88ca507"]]),rD={title:"卡片列表",component:"CardList",render:tc,icon:e.h(be,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},aD={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Dx)),icon:e.h(be,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},sD={title:"定制化组件(Progress)",component:"Progress",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Mx)),icon:e.h(be,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},lD={title:"日志列表",component:"LogList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Gx)),icon:e.h(be,{name:"card"}),type:"assist",order:12,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},cD={title:"可拖拽网格容器",icon:e.h(be,{name:"inline"}),type:"layout",component:"DragList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>v8)),order:9,lbTitle:!0,attrSchema:{items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.colNum",initialValue:12},{label:"行高",component:"InputNumber",name:"props.rowHeight",initialValue:30},{label:"布局",name:"props.layout",component:"FormList",children:[{label:"起点横坐标",name:"x",component:"Input",props:{type:"number"},designKey:"form-LnGh",initialValue:"{{$index}}"},{label:"起点纵坐标",name:"y",component:"Input",props:{type:"number"},designKey:"form-HYtW",initialValue:"{{ $index + 1}}"},{label:"宽度",name:"w",component:"Input",props:{type:"number"},designKey:"form-HYtW2"},{label:"高度",name:"h",component:"Input",props:{type:"number"},designKey:"form-HYtW3"},{label:"是否固定",name:"static",component:"Switch",designKey:"form-HYtW4"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}}]}},gD=ge(e.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(n){return(A,t)=>A.disabled?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0},A.$attrs,{class:"disabled-wrapper"}),[t[0]||(t[0]=e.createElementVNode("div",{class:"mask"},null,-1)),e.renderSlot(A.$slots,"default",{},void 0,!0)],16)):e.renderSlot(A.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-353650ae"]]);let ji=class extends Error{constructor(A){super(A),this.name="ShikiError"}},nc=class extends Error{constructor(A){super(A),this.name="ShikiError"}};function uD(){return 2147483648}function dD(){return typeof performance<"u"?performance.now():Date.now()}const hD=(n,A)=>n+(A-n%A)%A;async function pD(n){let A,t;const i={};function h($){t=$,i.HEAPU8=new Uint8Array($),i.HEAPU32=new Uint32Array($)}function I($,K,Y){i.HEAPU8.copyWithin($,K,K+Y)}function o($){try{return A.grow($-t.byteLength+65535>>>16),h(A.buffer),1}catch{}}function b($){const K=i.HEAPU8.length;$=$>>>0;const Y=uD();if($>Y)return!1;for(let v=1;v<=4;v*=2){let Q=K*(1+.2/v);Q=Math.min(Q,$+100663296);const L=Math.min(Y,hD(Math.max($,Q),65536));if(o(L))return!0}return!1}const D=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function w($,K,Y=1024){const v=K+Y;let Q=K;for(;$[Q]&&!(Q>=v);)++Q;if(Q-K>16&&$.buffer&&D)return D.decode($.subarray(K,Q));let L="";for(;K<Q;){let k=$[K++];if(!(k&128)){L+=String.fromCharCode(k);continue}const y=$[K++]&63;if((k&224)===192){L+=String.fromCharCode((k&31)<<6|y);continue}const m=$[K++]&63;if((k&240)===224?k=(k&15)<<12|y<<6|m:k=(k&7)<<18|y<<12|m<<6|$[K++]&63,k<65536)L+=String.fromCharCode(k);else{const p=k-65536;L+=String.fromCharCode(55296|p>>10,56320|p&1023)}}return L}function S($,K){return $?w(i.HEAPU8,$,K):""}const N={emscripten_get_now:dD,emscripten_memcpy_big:I,emscripten_resize_heap:b,fd_write:()=>0};async function T(){const K=await n({env:N,wasi_snapshot_preview1:N});A=K.memory,h(A.buffer),Object.assign(i,K),i.UTF8ToString=S}return await T(),i}let Nt=null;function BD(n){throw new nc(n.UTF8ToString(n.getLastOnigError()))}class Fa{constructor(A){Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16Value");Bt(this,"utf8Value");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");const t=A.length,i=Fa._utf8ByteLength(A),h=i!==t,I=h?new Uint32Array(t+1):null;h&&(I[t]=i);const o=h?new Uint32Array(i+1):null;h&&(o[i]=t);const b=new Uint8Array(i);let D=0;for(let w=0;w<t;w++){const S=A.charCodeAt(w);let N=S,T=!1;if(S>=55296&&S<=56319&&w+1<t){const $=A.charCodeAt(w+1);$>=56320&&$<=57343&&(N=(S-55296<<10)+65536|$-56320,T=!0)}h&&(I[w]=D,T&&(I[w+1]=D),N<=127?o[D+0]=w:N<=2047?(o[D+0]=w,o[D+1]=w):N<=65535?(o[D+0]=w,o[D+1]=w,o[D+2]=w):(o[D+0]=w,o[D+1]=w,o[D+2]=w,o[D+3]=w)),N<=127?b[D++]=N:N<=2047?(b[D++]=192|(N&1984)>>>6,b[D++]=128|(N&63)>>>0):N<=65535?(b[D++]=224|(N&61440)>>>12,b[D++]=128|(N&4032)>>>6,b[D++]=128|(N&63)>>>0):(b[D++]=240|(N&1835008)>>>18,b[D++]=128|(N&258048)>>>12,b[D++]=128|(N&4032)>>>6,b[D++]=128|(N&63)>>>0),T&&w++}this.utf16Length=t,this.utf8Length=i,this.utf16Value=A,this.utf8Value=b,this.utf16OffsetToUtf8=I,this.utf8OffsetToUtf16=o}static _utf8ByteLength(A){let t=0;for(let i=0,h=A.length;i<h;i++){const I=A.charCodeAt(i);let o=I,b=!1;if(I>=55296&&I<=56319&&i+1<h){const D=A.charCodeAt(i+1);D>=56320&&D<=57343&&(o=(I-55296<<10)+65536|D-56320,b=!0)}o<=127?t+=1:o<=2047?t+=2:o<=65535?t+=3:t+=4,b&&i++}return t}createString(A){const t=A.omalloc(this.utf8Length);return A.HEAPU8.set(this.utf8Value,t),t}}const cn=class cn{constructor(A){Bt(this,"id",++cn.LAST_ID);Bt(this,"_onigBinding");Bt(this,"content");Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");Bt(this,"ptr");if(!Nt)throw new nc("Must invoke loadWasm first.");this._onigBinding=Nt,this.content=A;const t=new Fa(A);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!cn._sharedPtrInUse?(cn._sharedPtr||(cn._sharedPtr=Nt.omalloc(1e4)),cn._sharedPtrInUse=!0,Nt.HEAPU8.set(t.utf8Value,cn._sharedPtr),this.ptr=cn._sharedPtr):this.ptr=t.createString(Nt)}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===cn._sharedPtr?cn._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Bt(cn,"LAST_ID",0),Bt(cn,"_sharedPtr",0),Bt(cn,"_sharedPtrInUse",!1);let Na=cn;class CD{constructor(A){Bt(this,"_onigBinding");Bt(this,"_ptr");if(!Nt)throw new nc("Must invoke loadWasm first.");const t=[],i=[];for(let b=0,D=A.length;b<D;b++){const w=new Fa(A[b]);t[b]=w.createString(Nt),i[b]=w.utf8Length}const h=Nt.omalloc(4*A.length);Nt.HEAPU32.set(t,h/4);const I=Nt.omalloc(4*A.length);Nt.HEAPU32.set(i,I/4);const o=Nt.createOnigScanner(h,I,A.length);for(let b=0,D=A.length;b<D;b++)Nt.ofree(t[b]);Nt.ofree(I),Nt.ofree(h),o===0&&BD(Nt),this._onigBinding=Nt,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(A,t,i){let h=0;if(typeof i=="number"&&(h=i),typeof A=="string"){A=new Na(A);const I=this._findNextMatchSync(A,t,!1,h);return A.dispose(),I}return this._findNextMatchSync(A,t,!1,h)}_findNextMatchSync(A,t,i,h){const I=this._onigBinding,o=I.findNextOnigScannerMatch(this._ptr,A.id,A.ptr,A.utf8Length,A.convertUtf16OffsetToUtf8(t),h);if(o===0)return null;const b=I.HEAPU32;let D=o/4;const w=b[D++],S=b[D++],N=[];for(let T=0;T<S;T++){const $=A.convertUtf8OffsetToUtf16(b[D++]),K=A.convertUtf8OffsetToUtf16(b[D++]);N[T]={start:$,end:K,length:K-$}}return{index:w,captureIndices:N}}}function mD(n){return typeof n.instantiator=="function"}function ED(n){return typeof n.default=="function"}function QD(n){return typeof n.data<"u"}function ID(n){return typeof Response<"u"&&n instanceof Response}function fD(n){var A;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((A=Buffer.isBuffer)==null?void 0:A.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let Ra;function wD(n){if(Ra)return Ra;async function A(){Nt=await pD(async t=>{let i=n;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),mD(i)?i=await i.instantiator(t):ED(i)?i=await i.default(t):(QD(i)&&(i=i.data),ID(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await bD(i)(t):i=await DD(i)(t):fD(i)?i=await ic(i)(t):i instanceof WebAssembly.Module?i=await ic(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await ic(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return Ra=A(),Ra}function ic(n){return A=>WebAssembly.instantiate(n,A)}function bD(n){return A=>WebAssembly.instantiateStreaming(n,A)}function DD(n){return async A=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,A)}}let yD;function vD(){return yD}async function kD(n){return n&&await wD(n),{createScanner(A){return new CD(A)},createString(A){return new Na(A)}}}function _D(n){return oc(n)}function oc(n){return Array.isArray(n)?MD(n):typeof n=="object"?xD(n):n}function MD(n){let A=[];for(let t=0,i=n.length;t<i;t++)A[t]=oc(n[t]);return A}function xD(n){let A={};for(let t in n)A[t]=oc(n[t]);return A}function Hd(n,...A){return A.forEach(t=>{for(let i in t)n[i]=t[i]}),n}function Kd(n){const A=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return A===0?n:~A===n.length-1?Kd(n.substring(0,n.length-1)):n.substr(~A+1)}var rc=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,La=class{static hasCaptures(n){return n===null?!1:(rc.lastIndex=0,rc.test(n))}static replaceCaptures(n,A,t){return n.replace(rc,(i,h,I,o)=>{let b=t[parseInt(h||I,10)];if(b){let D=A.substring(b.start,b.end);for(;D[0]===".";)D=D.substring(1);switch(o){case"downcase":return D.toLowerCase();case"upcase":return D.toUpperCase();default:return D}}else return i})}};function Td(n,A){return n<A?-1:n>A?1:0}function Ud(n,A){if(n===null&&A===null)return 0;if(!n)return-1;if(!A)return 1;let t=n.length,i=A.length;if(t===i){for(let h=0;h<t;h++){let I=Td(n[h],A[h]);if(I!==0)return I}return 0}return t-i}function Yd(n){return!!(/^#[0-9a-f]{6}$/i.test(n)||/^#[0-9a-f]{8}$/i.test(n)||/^#[0-9a-f]{3}$/i.test(n)||/^#[0-9a-f]{4}$/i.test(n))}function Od(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var $d=class{constructor(n){this.fn=n,this.cache=new Map}get(n){if(this.cache.has(n))return this.cache.get(n);const A=this.fn(n);return this.cache.set(n,A),A}},Ga=class{constructor(n,A,t){this._colorMap=n,this._defaults=A,this._root=t,this._cachedMatchRoot=new $d(i=>this._root.match(i))}static createFromRawTheme(n,A){return this.createFromParsedTheme(ND(n),A)}static createFromParsedTheme(n,A){return LD(n,A)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const A=n.scopeName,i=this._cachedMatchRoot.get(A).find(h=>SD(n.parent,h.parentScopes));return i?new Jd(i.fontStyle,i.foreground,i.background):null}},ac=class yl{constructor(A,t){this.parent=A,this.scopeName=t}static push(A,t){for(const i of t)A=new yl(A,i);return A}static from(...A){let t=null;for(let i=0;i<A.length;i++)t=new yl(t,A[i]);return t}push(A){return new yl(this,A)}getSegments(){let A=this;const t=[];for(;A;)t.push(A.scopeName),A=A.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(A){return this===A?!0:this.parent===null?!1:this.parent.extends(A)}getExtensionIfDefined(A){const t=[];let i=this;for(;i&&i!==A;)t.push(i.scopeName),i=i.parent;return i===A?t.reverse():void 0}};function SD(n,A){if(A.length===0)return!0;for(let t=0;t<A.length;t++){let i=A[t],h=!1;if(i===">"){if(t===A.length-1)return!1;i=A[++t],h=!0}for(;n&&!FD(n.scopeName,i);){if(h)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function FD(n,A){return A===n||n.startsWith(A)&&n[A.length]==="."}var Jd=class{constructor(n,A,t){this.fontStyle=n,this.foregroundId=A,this.backgroundId=t}};function ND(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let A=n.settings,t=[],i=0;for(let h=0,I=A.length;h<I;h++){let o=A[h];if(!o.settings)continue;let b;if(typeof o.scope=="string"){let N=o.scope;N=N.replace(/^[,]+/,""),N=N.replace(/[,]+$/,""),b=N.split(",")}else Array.isArray(o.scope)?b=o.scope:b=[""];let D=-1;if(typeof o.settings.fontStyle=="string"){D=0;let N=o.settings.fontStyle.split(" ");for(let T=0,$=N.length;T<$;T++)switch(N[T]){case"italic":D=D|1;break;case"bold":D=D|2;break;case"underline":D=D|4;break;case"strikethrough":D=D|8;break}}let w=null;typeof o.settings.foreground=="string"&&Yd(o.settings.foreground)&&(w=o.settings.foreground);let S=null;typeof o.settings.background=="string"&&Yd(o.settings.background)&&(S=o.settings.background);for(let N=0,T=b.length;N<T;N++){let K=b[N].trim().split(" "),Y=K[K.length-1],v=null;K.length>1&&(v=K.slice(0,K.length-1),v.reverse()),t[i++]=new RD(Y,v,h,D,w,S)}}return t}var RD=class{constructor(n,A,t,i,h,I){this.scope=n,this.parentScopes=A,this.index=t,this.fontStyle=i,this.foreground=h,this.background=I}},gi=(n=>(n[n.NotSet=-1]="NotSet",n[n.None=0]="None",n[n.Italic=1]="Italic",n[n.Bold=2]="Bold",n[n.Underline=4]="Underline",n[n.Strikethrough=8]="Strikethrough",n))(gi||{});function LD(n,A){n.sort((D,w)=>{let S=Td(D.scope,w.scope);return S!==0||(S=Ud(D.parentScopes,w.parentScopes),S!==0)?S:D.index-w.index});let t=0,i="#000000",h="#ffffff";for(;n.length>=1&&n[0].scope==="";){let D=n.shift();D.fontStyle!==-1&&(t=D.fontStyle),D.foreground!==null&&(i=D.foreground),D.background!==null&&(h=D.background)}let I=new GD(A),o=new Jd(t,I.getId(i),I.getId(h)),b=new HD(new sc(0,null,-1,0,0),[]);for(let D=0,w=n.length;D<w;D++){let S=n[D];b.insert(0,S.scope,S.parentScopes,S.fontStyle,I.getId(S.foreground),I.getId(S.background))}return new Ga(I,o,b)}var GD=class{constructor(n){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let A=0,t=n.length;A<t;A++)this._color2id[n[A]]=A,this._id2color[A]=n[A]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let A=this._color2id[n];if(A)return A;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return A=++this._lastColorId,this._color2id[n]=A,this._id2color[A]=n,A}getColorMap(){return this._id2color.slice(0)}},PD=Object.freeze([]),sc=class Bm{constructor(A,t,i,h,I){this.scopeDepth=A,this.parentScopes=t||PD,this.fontStyle=i,this.foreground=h,this.background=I}clone(){return new Bm(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(A){let t=[];for(let i=0,h=A.length;i<h;i++)t[i]=A[i].clone();return t}acceptOverwrite(A,t,i,h){this.scopeDepth>A?console.log("how did this happen?"):this.scopeDepth=A,t!==-1&&(this.fontStyle=t),i!==0&&(this.foreground=i),h!==0&&(this.background=h)}},HD=class Eu{constructor(A,t=[],i={}){this._mainRule=A,this._children=i,this._rulesWithParentScopes=t}static _cmpBySpecificity(A,t){if(A.scopeDepth!==t.scopeDepth)return t.scopeDepth-A.scopeDepth;let i=0,h=0;for(;A.parentScopes[i]===">"&&i++,t.parentScopes[h]===">"&&h++,!(i>=A.parentScopes.length||h>=t.parentScopes.length);){const I=t.parentScopes[h].length-A.parentScopes[i].length;if(I!==0)return I;i++,h++}return t.parentScopes.length-A.parentScopes.length}match(A){if(A!==""){let i=A.indexOf("."),h,I;if(i===-1?(h=A,I=""):(h=A.substring(0,i),I=A.substring(i+1)),this._children.hasOwnProperty(h))return this._children[h].match(I)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(Eu._cmpBySpecificity),t}insert(A,t,i,h,I,o){if(t===""){this._doInsertHere(A,i,h,I,o);return}let b=t.indexOf("."),D,w;b===-1?(D=t,w=""):(D=t.substring(0,b),w=t.substring(b+1));let S;this._children.hasOwnProperty(D)?S=this._children[D]:(S=new Eu(this._mainRule.clone(),sc.cloneArr(this._rulesWithParentScopes)),this._children[D]=S),S.insert(A+1,w,i,h,I,o)}_doInsertHere(A,t,i,h,I){if(t===null){this._mainRule.acceptOverwrite(A,i,h,I);return}for(let o=0,b=this._rulesWithParentScopes.length;o<b;o++){let D=this._rulesWithParentScopes[o];if(Ud(D.parentScopes,t)===0){D.acceptOverwrite(A,i,h,I);return}}i===-1&&(i=this._mainRule.fontStyle),h===0&&(h=this._mainRule.foreground),I===0&&(I=this._mainRule.background),this._rulesWithParentScopes.push(new sc(A,t,i,h,I))}},So=class Un{static toBinaryStr(A){return A.toString(2).padStart(32,"0")}static print(A){const t=Un.getLanguageId(A),i=Un.getTokenType(A),h=Un.getFontStyle(A),I=Un.getForeground(A),o=Un.getBackground(A);console.log({languageId:t,tokenType:i,fontStyle:h,foreground:I,background:o})}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,t,i,h,I,o,b){let D=Un.getLanguageId(A),w=Un.getTokenType(A),S=Un.containsBalancedBrackets(A)?1:0,N=Un.getFontStyle(A),T=Un.getForeground(A),$=Un.getBackground(A);return t!==0&&(D=t),i!==8&&(w=i),h!==null&&(S=h?1:0),I!==-1&&(N=I),o!==0&&(T=o),b!==0&&($=b),(D<<0|w<<8|S<<10|N<<11|T<<15|$<<24)>>>0}};function C3(n){return n}function m3(n){return n}function Pa(n,A){const t=[],i=KD(n);let h=i.next();for(;h!==null;){let D=0;if(h.length===2&&h.charAt(1)===":"){switch(h.charAt(0)){case"R":D=1;break;case"L":D=-1;break;default:console.log(`Unknown priority ${h} in scope selector`)}h=i.next()}let w=o();if(t.push({matcher:w,priority:D}),h!==",")break;h=i.next()}return t;function I(){if(h==="-"){h=i.next();const D=I();return w=>!!D&&!D(w)}if(h==="("){h=i.next();const D=b();return h===")"&&(h=i.next()),D}if(zd(h)){const D=[];do D.push(h),h=i.next();while(zd(h));return w=>A(D,w)}return null}function o(){const D=[];let w=I();for(;w;)D.push(w),w=I();return S=>D.every(N=>N(S))}function b(){const D=[];let w=o();for(;w&&(D.push(w),h==="|"||h===",");){do h=i.next();while(h==="|"||h===",");w=o()}return S=>D.some(N=>N(S))}}function zd(n){return!!n&&!!n.match(/[\w\.:]+/)}function KD(n){let A=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=A.exec(n);return{next:()=>{if(!t)return null;const i=t[0];return t=A.exec(n),i}}}function Zd(n){typeof n.dispose=="function"&&n.dispose()}var Br=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},TD=class{constructor(n,A){this.scopeName=n,this.ruleName=A}toKey(){return`${this.scopeName}#${this.ruleName}`}},UD=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(n){const A=n.toKey();this._seenReferenceKeys.has(A)||(this._seenReferenceKeys.add(A),this._references.push(n))}},YD=class{constructor(n,A){this.repo=n,this.initialScopeName=A,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Br(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const A=new UD;for(const t of n)OD(t,this.initialScopeName,this.repo,A);for(const t of A.references)if(t instanceof Br){if(this.seenFullScopeRequests.has(t.scopeName))continue;this.seenFullScopeRequests.add(t.scopeName),this.Q.push(t)}else{if(this.seenFullScopeRequests.has(t.scopeName)||this.seenPartialScopeRequests.has(t.toKey()))continue;this.seenPartialScopeRequests.add(t.toKey()),this.Q.push(t)}}};function OD(n,A,t,i){const h=t.lookup(n.scopeName);if(!h){if(n.scopeName===A)throw new Error(`No grammar provided for <${A}>`);return}const I=t.lookup(A);n instanceof Br?Ha({baseGrammar:I,selfGrammar:h},i):lc(n.ruleName,{baseGrammar:I,selfGrammar:h,repository:h.repository},i);const o=t.injections(n.scopeName);if(o)for(const b of o)i.add(new Br(b))}function lc(n,A,t){if(A.repository&&A.repository[n]){const i=A.repository[n];Ka([i],A,t)}}function Ha(n,A){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&Ka(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},A),n.selfGrammar.injections&&Ka(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},A)}function Ka(n,A,t){for(const i of n){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const h=i.repository?Hd({},A.repository,i.repository):A.repository;Array.isArray(i.patterns)&&Ka(i.patterns,{...A,repository:h},t);const I=i.include;if(!I)continue;const o=Wd(I);switch(o.kind){case 0:Ha({...A,selfGrammar:A.baseGrammar},t);break;case 1:Ha(A,t);break;case 2:lc(o.ruleName,{...A,repository:h},t);break;case 3:case 4:const b=o.scopeName===A.selfGrammar.scopeName?A.selfGrammar:o.scopeName===A.baseGrammar.scopeName?A.baseGrammar:void 0;if(b){const D={baseGrammar:A.baseGrammar,selfGrammar:b,repository:h};o.kind===4?lc(o.ruleName,D,t):Ha(D,t)}else o.kind===4?t.add(new TD(o.scopeName,o.ruleName)):t.add(new Br(o.scopeName));break}}}var $D=class{constructor(){this.kind=0}},JD=class{constructor(){this.kind=1}},zD=class{constructor(n){this.ruleName=n,this.kind=2}},ZD=class{constructor(n){this.scopeName=n,this.kind=3}},WD=class{constructor(n,A){this.scopeName=n,this.ruleName=A,this.kind=4}};function Wd(n){if(n==="$base")return new $D;if(n==="$self")return new JD;const A=n.indexOf("#");if(A===-1)return new ZD(n);if(A===0)return new zD(n.substring(1));{const t=n.substring(0,A),i=n.substring(A+1);return new WD(t,i)}}var jD=/\\(\d+)/,jd=/\\(\d+)/g,qD=-1,qd=-2;function E3(n){return n}function Q3(n){return n}var Cr=class{constructor(n,A,t,i){this.$location=n,this.id=A,this._name=t||null,this._nameIsCapturing=La.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=La.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Kd(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,A){return!this._nameIsCapturing||this._name===null||n===null||A===null?this._name:La.replaceCaptures(this._name,n,A)}getContentName(n,A){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:La.replaceCaptures(this._contentName,n,A)}},XD=class extends Cr{constructor(n,A,t,i,h){super(n,A,t,i),this.retokenizeCapturedWithRuleId=h}dispose(){}collectPatterns(n,A){throw new Error("Not supported!")}compile(n,A){throw new Error("Not supported!")}compileAG(n,A,t,i){throw new Error("Not supported!")}},VD=class extends Cr{constructor(n,A,t,i,h){super(n,A,t,null),this._match=new mr(i,this.id),this.captures=h,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,A){A.push(this._match)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Er,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Xd=class extends Cr{constructor(n,A,t,i,h){super(n,A,t,i),this.patterns=h.patterns,this.hasMissingPatterns=h.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,A){for(const t of this.patterns)n.getRule(t).collectPatterns(n,A)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Er,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},cc=class extends Cr{constructor(n,A,t,i,h,I,o,b,D,w){super(n,A,t,i),this._begin=new mr(h,this.id),this.beginCaptures=I,this._end=new mr(o||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=b,this.applyEndPatternLast=D||!1,this.patterns=w.patterns,this.hasMissingPatterns=w.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(n,A){return this._end.resolveBackReferences(n,A)}collectPatterns(n,A){A.push(this._begin)}compile(n,A){return this._getCachedCompiledPatterns(n,A).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n,A).compileAG(n,t,i)}_getCachedCompiledPatterns(n,A){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Er;for(const t of this.patterns)n.getRule(t).collectPatterns(n,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}},Ta=class extends Cr{constructor(n,A,t,i,h,I,o,b,D){super(n,A,t,i),this._begin=new mr(h,this.id),this.beginCaptures=I,this.whileCaptures=b,this._while=new mr(o,qd),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=D.patterns,this.hasMissingPatterns=D.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(n,A){return this._while.resolveBackReferences(n,A)}collectPatterns(n,A){A.push(this._begin)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Er;for(const A of this.patterns)n.getRule(A).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,A){return this._getCachedCompiledWhilePatterns(n,A).compile(n)}compileWhileAG(n,A,t,i){return this._getCachedCompiledWhilePatterns(n,A).compileAG(n,t,i)}_getCachedCompiledWhilePatterns(n,A){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Er,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,A||"￿"),this._cachedCompiledWhilePatterns}},Vd=class $t{static createCaptureRule(A,t,i,h,I){return A.registerRule(o=>new XD(t,o,i,h,I))}static getCompiledRuleId(A,t,i){return A.id||t.registerRule(h=>{if(A.id=h,A.match)return new VD(A.$vscodeTextmateLocation,A.id,A.name,A.match,$t._compileCaptures(A.captures,t,i));if(typeof A.begin>"u"){A.repository&&(i=Hd({},i,A.repository));let I=A.patterns;return typeof I>"u"&&A.include&&(I=[{include:A.include}]),new Xd(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,$t._compilePatterns(I,t,i))}return A.while?new Ta(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,$t._compileCaptures(A.beginCaptures||A.captures,t,i),A.while,$t._compileCaptures(A.whileCaptures||A.captures,t,i),$t._compilePatterns(A.patterns,t,i)):new cc(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,$t._compileCaptures(A.beginCaptures||A.captures,t,i),A.end,$t._compileCaptures(A.endCaptures||A.captures,t,i),A.applyEndPatternLast,$t._compilePatterns(A.patterns,t,i))}),A.id}static _compileCaptures(A,t,i){let h=[];if(A){let I=0;for(const o in A){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);b>I&&(I=b)}for(let o=0;o<=I;o++)h[o]=null;for(const o in A){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);let D=0;A[o].patterns&&(D=$t.getCompiledRuleId(A[o],t,i)),h[b]=$t.createCaptureRule(t,A[o].$vscodeTextmateLocation,A[o].name,A[o].contentName,D)}}return h}static _compilePatterns(A,t,i){let h=[];if(A)for(let I=0,o=A.length;I<o;I++){const b=A[I];let D=-1;if(b.include){const w=Wd(b.include);switch(w.kind){case 0:case 1:D=$t.getCompiledRuleId(i[b.include],t,i);break;case 2:let S=i[w.ruleName];S&&(D=$t.getCompiledRuleId(S,t,i));break;case 3:case 4:const N=w.scopeName,T=w.kind===4?w.ruleName:null,$=t.getExternalGrammar(N,i);if($)if(T){let K=$.repository[T];K&&(D=$t.getCompiledRuleId(K,t,$.repository))}else D=$t.getCompiledRuleId($.repository.$self,t,$.repository);break}}else D=$t.getCompiledRuleId(b,t,i);if(D!==-1){const w=t.getRule(D);let S=!1;if((w instanceof Xd||w instanceof cc||w instanceof Ta)&&w.hasMissingPatterns&&w.patterns.length===0&&(S=!0),S)continue;h.push(D)}}return{patterns:h,hasMissingPatterns:(A?A.length:0)!==h.length}}},mr=class Cm{constructor(A,t){if(A){const i=A.length;let h=0,I=[],o=!1;for(let b=0;b<i;b++)if(A.charAt(b)==="\\"&&b+1<i){const w=A.charAt(b+1);w==="z"?(I.push(A.substring(h,b)),I.push("$(?!\\n)(?<!\\n)"),h=b+2):(w==="A"||w==="G")&&(o=!0),b++}this.hasAnchor=o,h===0?this.source=A:(I.push(A.substring(h,i)),this.source=I.join(""))}else this.hasAnchor=!1,this.source=A;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,this.hasBackReferences=jD.test(this.source)}clone(){return new Cm(this.source,this.ruleId)}setSource(A){this.source!==A&&(this.source=A,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(A,t){let i=t.map(h=>A.substring(h.start,h.end));return jd.lastIndex=0,this.source.replace(jd,(h,I)=>Od(i[parseInt(I,10)]||""))}_buildAnchorCache(){let A=[],t=[],i=[],h=[],I,o,b,D;for(I=0,o=this.source.length;I<o;I++)b=this.source.charAt(I),A[I]=b,t[I]=b,i[I]=b,h[I]=b,b==="\\"&&I+1<o&&(D=this.source.charAt(I+1),D==="A"?(A[I+1]="￿",t[I+1]="￿",i[I+1]="A",h[I+1]="A"):D==="G"?(A[I+1]="￿",t[I+1]="G",i[I+1]="￿",h[I+1]="G"):(A[I+1]=D,t[I+1]=D,i[I+1]=D,h[I+1]=D),I++);return{A0_G0:A.join(""),A0_G1:t.join(""),A1_G0:i.join(""),A1_G1:h.join("")}}resolveAnchors(A,t){return!this.hasAnchor||!this._anchorCache?this.source:A?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Er=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(n){this._items.push(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}unshift(n){this._items.unshift(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}length(){return this._items.length}setSource(n,A){this._items[n].source!==A&&(this._disposeCaches(),this._items[n].setSource(A))}compile(n){if(!this._cached){let A=this._items.map(t=>t.source);this._cached=new Ah(n,A,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,A,t){return this._hasAnchors?A?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,A,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,A,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,A,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,A,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,A,t){let i=this._items.map(h=>h.resolveAnchors(A,t));return new Ah(n,i,this._items.map(h=>h.ruleId))}},Ah=class{constructor(n,A,t){this.regExps=A,this.rules=t,this.scanner=n.createOnigScanner(A)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let A=0,t=this.rules.length;A<t;A++)n.push(" - "+this.rules[A]+": "+this.regExps[A]);return n.join(`
81
81
  `)}findNextMatchSync(n,A,t){const i=this.scanner.findNextMatchSync(n,A,t);return i?{ruleId:this.rules[i.index],captureIndices:i.captureIndices}:null}},gc=class{constructor(n,A){this.languageId=n,this.tokenType=A}},uc=class Qu{constructor(A,t){this._getBasicScopeAttributes=new $d(i=>{const h=this._scopeToLanguage(i),I=this._toStandardTokenType(i);return new gc(h,I)}),this._defaultAttributes=new gc(A,8),this._embeddedLanguagesMatcher=new ey(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(A){return A===null?Qu._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(A)}_scopeToLanguage(A){return this._embeddedLanguagesMatcher.match(A)||0}_toStandardTokenType(A){const t=A.match(Qu.STANDARD_TOKEN_TYPE_REGEXP);if(!t)return 8;switch(t[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!")}};uc._NULL_SCOPE_METADATA=new gc(0,0),uc.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;var Ay=uc,ey=class{constructor(n){if(n.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(n);const A=n.map(([t,i])=>Od(t));A.sort(),A.reverse(),this.scopesRegExp=new RegExp(`^((${A.join(")|(")}))($|\\.)`,"")}}match(n){if(!this.scopesRegExp)return;const A=n.match(this.scopesRegExp);if(A)return this.values.get(A[1])}};typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var eh=class{constructor(n,A){this.stack=n,this.stoppedEarly=A}};function th(n,A,t,i,h,I,o,b){const D=A.content.length;let w=!1,S=-1;if(o){const $=ty(n,A,t,i,h,I);h=$.stack,i=$.linePos,t=$.isFirstLine,S=$.anchorPosition}const N=Date.now();for(;!w;){if(b!==0&&Date.now()-N>b)return new eh(h,!0);T()}return new eh(h,!1);function T(){const $=ny(n,A,t,i,h,S);if(!$){I.produce(h,D),w=!0;return}const K=$.captureIndices,Y=$.matchedRuleId,v=K&&K.length>0?K[0].end>i:!1;if(Y===qD){const Q=h.getRule(n);I.produce(h,K[0].start),h=h.withContentNameScopesList(h.nameScopesList),Qr(n,A,t,h,I,Q.endCaptures,K),I.produce(h,K[0].end);const L=h;if(h=h.parent,S=L.getAnchorPos(),!v&&L.getEnterPos()===i){h=L,I.produce(h,D),w=!0;return}}else{const Q=n.getRule(Y);I.produce(h,K[0].start);const L=h,k=Q.getName(A.content,K),y=h.contentNameScopesList.pushAttributed(k,n);if(h=h.push(Y,i,S,K[0].end===D,null,y,y),Q instanceof cc){const m=Q;Qr(n,A,t,h,I,m.beginCaptures,K),I.produce(h,K[0].end),S=K[0].end;const p=m.getContentName(A.content,K),u=y.pushAttributed(p,n);if(h=h.withContentNameScopesList(u),m.endHasBackReferences&&(h=h.withEndRule(m.getEndWithResolvedBackReferences(A.content,K))),!v&&L.hasSameRuleAs(h)){h=h.pop(),I.produce(h,D),w=!0;return}}else if(Q instanceof Ta){const m=Q;Qr(n,A,t,h,I,m.beginCaptures,K),I.produce(h,K[0].end),S=K[0].end;const p=m.getContentName(A.content,K),u=y.pushAttributed(p,n);if(h=h.withContentNameScopesList(u),m.whileHasBackReferences&&(h=h.withEndRule(m.getWhileWithResolvedBackReferences(A.content,K))),!v&&L.hasSameRuleAs(h)){h=h.pop(),I.produce(h,D),w=!0;return}}else if(Qr(n,A,t,h,I,Q.captures,K),I.produce(h,K[0].end),h=h.pop(),!v){h=h.safePop(),I.produce(h,D),w=!0;return}}K[0].end>i&&(i=K[0].end,t=!1)}}function ty(n,A,t,i,h,I){let o=h.beginRuleCapturedEOL?0:-1;const b=[];for(let D=h;D;D=D.pop()){const w=D.getRule(n);w instanceof Ta&&b.push({rule:w,stack:D})}for(let D=b.pop();D;D=b.pop()){const{ruleScanner:w,findOptions:S}=ry(D.rule,n,D.stack.endRule,t,i===o),N=w.findNextMatchSync(A,i,S);if(N){if(N.ruleId!==qd){h=D.stack.pop();break}N.captureIndices&&N.captureIndices.length&&(I.produce(D.stack,N.captureIndices[0].start),Qr(n,A,t,D.stack,I,D.rule.whileCaptures,N.captureIndices),I.produce(D.stack,N.captureIndices[0].end),o=N.captureIndices[0].end,N.captureIndices[0].end>i&&(i=N.captureIndices[0].end,t=!1))}else{h=D.stack.pop();break}}return{stack:h,linePos:i,anchorPosition:o,isFirstLine:t}}function ny(n,A,t,i,h,I){const o=iy(n,A,t,i,h,I),b=n.getInjections();if(b.length===0)return o;const D=oy(b,n,A,t,i,h,I);if(!D)return o;if(!o)return D;const w=o.captureIndices[0].start,S=D.captureIndices[0].start;return S<w||D.priorityMatch&&S===w?D:o}function iy(n,A,t,i,h,I){const o=h.getRule(n),{ruleScanner:b,findOptions:D}=nh(o,n,h.endRule,t,i===I),w=b.findNextMatchSync(A,i,D);return w?{captureIndices:w.captureIndices,matchedRuleId:w.ruleId}:null}function oy(n,A,t,i,h,I,o){let b=Number.MAX_VALUE,D=null,w,S=0;const N=I.contentNameScopesList.getScopeNames();for(let T=0,$=n.length;T<$;T++){const K=n[T];if(!K.matcher(N))continue;const Y=A.getRule(K.ruleId),{ruleScanner:v,findOptions:Q}=nh(Y,A,null,i,h===o),L=v.findNextMatchSync(t,h,Q);if(!L)continue;const k=L.captureIndices[0].start;if(!(k>=b)&&(b=k,D=L.captureIndices,w=L.ruleId,S=K.priority,b===h))break}return D?{priorityMatch:S===-1,captureIndices:D,matchedRuleId:w}:null}function nh(n,A,t,i,h){return{ruleScanner:n.compileAG(A,t,i,h),findOptions:0}}function ry(n,A,t,i,h){return{ruleScanner:n.compileWhileAG(A,t,i,h),findOptions:0}}function Qr(n,A,t,i,h,I,o){if(I.length===0)return;const b=A.content,D=Math.min(I.length,o.length),w=[],S=o[0].end;for(let N=0;N<D;N++){const T=I[N];if(T===null)continue;const $=o[N];if($.length===0)continue;if($.start>S)break;for(;w.length>0&&w[w.length-1].endPos<=$.start;)h.produceFromScopes(w[w.length-1].scopes,w[w.length-1].endPos),w.pop();if(w.length>0?h.produceFromScopes(w[w.length-1].scopes,$.start):h.produce(i,$.start),T.retokenizeCapturedWithRuleId){const Y=T.getName(b,o),v=i.contentNameScopesList.pushAttributed(Y,n),Q=T.getContentName(b,o),L=v.pushAttributed(Q,n),k=i.push(T.retokenizeCapturedWithRuleId,$.start,-1,!1,null,v,L),y=n.createOnigString(b.substring(0,$.end));th(n,y,t&&$.start===0,$.start,k,h,!1,0),Zd(y);continue}const K=T.getName(b,o);if(K!==null){const v=(w.length>0?w[w.length-1].scopes:i.contentNameScopesList).pushAttributed(K,n);w.push(new ay(v,$.end))}}for(;w.length>0;)h.produceFromScopes(w[w.length-1].scopes,w[w.length-1].endPos),w.pop()}var ay=class{constructor(n,A){this.scopes=n,this.endPos=A}};function sy(n,A,t,i,h,I,o,b){return new cy(n,A,t,i,h,I,o,b)}function ih(n,A,t,i,h){const I=Pa(A,Ua),o=Vd.getCompiledRuleId(t,i,h.repository);for(const b of I)n.push({debugSelector:A,matcher:b.matcher,ruleId:o,grammar:h,priority:b.priority})}function Ua(n,A){if(A.length<n.length)return!1;let t=0;return n.every(i=>{for(let h=t;h<A.length;h++)if(ly(A[h],i))return t=h+1,!0;return!1})}function ly(n,A){if(!n)return!1;if(n===A)return!0;const t=A.length;return n.length>t&&n.substr(0,t)===A&&n[t]==="."}var cy=class{constructor(n,A,t,i,h,I,o,b){if(this._rootScopeName=n,this.balancedBracketSelectors=I,this._onigLib=b,this._basicScopeAttributesProvider=new Ay(t,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=oh(A,null),this._injections=null,this._tokenTypeMatchers=[],h)for(const D of Object.keys(h)){const w=Pa(D,Ua);for(const S of w)this._tokenTypeMatchers.push({matcher:S.matcher,type:h[D]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const n of this._ruleId2desc)n&&n.dispose()}createOnigScanner(n){return this._onigLib.createOnigScanner(n)}createOnigString(n){return this._onigLib.createOnigString(n)}getMetadataForScope(n){return this._basicScopeAttributesProvider.getBasicScopeAttributes(n)}_collectInjections(){const n={lookup:h=>h===this._rootScopeName?this._grammar:this.getExternalGrammar(h),injections:h=>this._grammarRepository.injections(h)},A=[],t=this._rootScopeName,i=n.lookup(t);if(i){const h=i.injections;if(h)for(let o in h)ih(A,o,h[o],this,i);const I=this._grammarRepository.injections(t);I&&I.forEach(o=>{const b=this.getExternalGrammar(o);if(b){const D=b.injectionSelector;D&&ih(A,D,b,this,b)}})}return A.sort((h,I)=>h.priority-I.priority),A}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(n){const A=++this._lastRuleId,t=n(A);return this._ruleId2desc[A]=t,t}getRule(n){return this._ruleId2desc[n]}getExternalGrammar(n,A){if(this._includedGrammars[n])return this._includedGrammars[n];if(this._grammarRepository){const t=this._grammarRepository.lookup(n);if(t)return this._includedGrammars[n]=oh(t,A&&A.$base),this._includedGrammars[n]}}tokenizeLine(n,A,t=0){const i=this._tokenize(n,A,!1,t);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(n,A,t=0){const i=this._tokenize(n,A,!0,t);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(n,A,t,i){this._rootId===-1&&(this._rootId=Vd.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let h;if(!A||A===hc.NULL){h=!0;const w=this._basicScopeAttributesProvider.getDefaultAttributes(),S=this.themeProvider.getDefaults(),N=So.set(0,w.languageId,w.tokenType,null,S.fontStyle,S.foregroundId,S.backgroundId),T=this.getRule(this._rootId).getName(null,null);let $;T?$=Ir.createRootAndLookUpScopeName(T,N,this):$=Ir.createRoot("unknown",N),A=new hc(null,this._rootId,-1,-1,!1,null,$,$)}else h=!1,A.reset();n=n+`
82
82
  `;const I=this.createOnigString(n),o=I.content.length,b=new uy(t,n,this._tokenTypeMatchers,this.balancedBracketSelectors),D=th(this,I,h,0,A,b,!0,i);return Zd(I),{lineLength:o,lineTokens:b,ruleStack:D.stack,stoppedEarly:D.stoppedEarly}}};function oh(n,A){return n=_D(n),n.repository=n.repository||{},n.repository.$self={$vscodeTextmateLocation:n.$vscodeTextmateLocation,patterns:n.patterns,name:n.scopeName},n.repository.$base=A||n.repository.$self,n}var Ir=class li{constructor(A,t,i){this.parent=A,this.scopePath=t,this.tokenAttributes=i}static fromExtension(A,t){let i=A,h=(A==null?void 0:A.scopePath)??null;for(const I of t)h=ac.push(h,I.scopeNames),i=new li(i,h,I.encodedTokenAttributes);return i}static createRoot(A,t){return new li(null,new ac(null,A),t)}static createRootAndLookUpScopeName(A,t,i){const h=i.getMetadataForScope(A),I=new ac(null,A),o=i.themeProvider.themeMatch(I),b=li.mergeAttributes(t,h,o);return new li(null,I,b)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(A){return li.equals(this,A)}static equals(A,t){do{if(A===t||!A&&!t)return!0;if(!A||!t||A.scopeName!==t.scopeName||A.tokenAttributes!==t.tokenAttributes)return!1;A=A.parent,t=t.parent}while(!0)}static mergeAttributes(A,t,i){let h=-1,I=0,o=0;return i!==null&&(h=i.fontStyle,I=i.foregroundId,o=i.backgroundId),So.set(A,t.languageId,t.tokenType,null,h,I,o)}pushAttributed(A,t){if(A===null)return this;if(A.indexOf(" ")===-1)return li._pushAttributed(this,A,t);const i=A.split(/ /g);let h=this;for(const I of i)h=li._pushAttributed(h,I,t);return h}static _pushAttributed(A,t,i){const h=i.getMetadataForScope(t),I=A.scopePath.push(t),o=i.themeProvider.themeMatch(I),b=li.mergeAttributes(A.tokenAttributes,h,o);return new li(A,I,b)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(A){var h;const t=[];let i=this;for(;i&&i!==A;)t.push({encodedTokenAttributes:i.tokenAttributes,scopeNames:i.scopePath.getExtensionIfDefined(((h=i.parent)==null?void 0:h.scopePath)??null)}),i=i.parent;return i===A?t.reverse():void 0}},dc=class cr{constructor(A,t,i,h,I,o,b,D){this.parent=A,this.ruleId=t,this.beginRuleCapturedEOL=I,this.endRule=o,this.nameScopesList=b,this.contentNameScopesList=D,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=i,this._anchorPos=h}equals(A){return A===null?!1:cr._equals(this,A)}static _equals(A,t){return A===t?!0:this._structuralEquals(A,t)?Ir.equals(A.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(A,t){do{if(A===t||!A&&!t)return!0;if(!A||!t||A.depth!==t.depth||A.ruleId!==t.ruleId||A.endRule!==t.endRule)return!1;A=A.parent,t=t.parent}while(!0)}clone(){return this}static _reset(A){for(;A;)A._enterPos=-1,A._anchorPos=-1,A=A.parent}reset(){cr._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(A,t,i,h,I,o,b){return new cr(this,A,t,i,h,I,o,b)}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,t){var i,h;return this.parent&&(t=this.parent._writeString(A,t)),A[t++]=`(${this.ruleId}, ${(i=this.nameScopesList)==null?void 0:i.toString()}, ${(h=this.contentNameScopesList)==null?void 0:h.toString()})`,t}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 cr(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,A,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(A){let t=this;for(;t&&t._enterPos===A._enterPos;){if(t.ruleId===A.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var A,t,i;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined(((A=this.parent)==null?void 0:A.nameScopesList)??null))??[],contentNameScopesList:((i=this.contentNameScopesList)==null?void 0:i.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(A,t){const i=Ir.fromExtension((A==null?void 0:A.nameScopesList)??null,t.nameScopesList);return new cr(A,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,i,Ir.fromExtension(i,t.contentNameScopesList))}};dc.NULL=new dc(null,0,0,0,!1,null,null,null);var hc=dc,gy=class{constructor(n,A){this.allowAny=!1,this.balancedBracketScopes=n.flatMap(t=>t==="*"?(this.allowAny=!0,[]):Pa(t,Ua).map(i=>i.matcher)),this.unbalancedBracketScopes=A.flatMap(t=>Pa(t,Ua).map(i=>i.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(n){for(const A of this.unbalancedBracketScopes)if(A(n))return!1;for(const A of this.balancedBracketScopes)if(A(n))return!0;return this.allowAny}},uy=class{constructor(n,A,t,i){this.balancedBracketSelectors=i,this._emitBinaryTokens=n,this._tokenTypeOverrides=t,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(n,A){this.produceFromScopes(n.contentNameScopesList,A)}produceFromScopes(n,A){var i;if(this._lastTokenEndIndex>=A)return;if(this._emitBinaryTokens){let h=(n==null?void 0:n.tokenAttributes)??0,I=!1;if((i=this.balancedBracketSelectors)!=null&&i.matchesAlways&&(I=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=(n==null?void 0:n.getScopeNames())??[];for(const b of this._tokenTypeOverrides)b.matcher(o)&&(h=So.set(h,0,b.type,null,-1,0,0));this.balancedBracketSelectors&&(I=this.balancedBracketSelectors.match(o))}if(I&&(h=So.set(h,0,8,I,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===h){this._lastTokenEndIndex=A;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(h),this._lastTokenEndIndex=A;return}const t=(n==null?void 0:n.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:A,scopes:t}),this._lastTokenEndIndex=A}getResult(n,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(n,A),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(n,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(n,A),this._binaryTokens[this._binaryTokens.length-2]=0);const t=new Uint32Array(this._binaryTokens.length);for(let i=0,h=this._binaryTokens.length;i<h;i++)t[i]=this._binaryTokens[i];return t}},dy=class{constructor(n,A){this._onigLib=A,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=n}dispose(){for(const n of this._grammars.values())n.dispose()}setTheme(n){this._theme=n}getColorMap(){return this._theme.getColorMap()}addGrammar(n,A){this._rawGrammars.set(n.scopeName,n),A&&this._injectionGrammars.set(n.scopeName,A)}lookup(n){return this._rawGrammars.get(n)}injections(n){return this._injectionGrammars.get(n)}getDefaults(){return this._theme.getDefaults()}themeMatch(n){return this._theme.match(n)}grammarForScopeName(n,A,t,i,h){if(!this._grammars.has(n)){let I=this._rawGrammars.get(n);if(!I)return null;this._grammars.set(n,sy(n,I,A,t,i,h,this,this._onigLib))}return this._grammars.get(n)}},hy=class{constructor(A){this._options=A,this._syncRegistry=new dy(Ga.createFromRawTheme(A.theme,A.colorMap),A.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(A,t){this._syncRegistry.setTheme(Ga.createFromRawTheme(A,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(A,t,i){return this.loadGrammarWithConfiguration(A,t,{embeddedLanguages:i})}loadGrammarWithConfiguration(A,t,i){return this._loadGrammar(A,t,i.embeddedLanguages,i.tokenTypes,new gy(i.balancedBracketSelectors||[],i.unbalancedBracketSelectors||[]))}loadGrammar(A){return this._loadGrammar(A,0,null,null,null)}_loadGrammar(A,t,i,h,I){const o=new YD(this._syncRegistry,A);for(;o.Q.length>0;)o.Q.map(b=>this._loadSingleGrammar(b.scopeName)),o.processQueue();return this._grammarForScopeName(A,t,i,h,I)}_loadSingleGrammar(A){this._ensureGrammarCache.has(A)||(this._doLoadSingleGrammar(A),this._ensureGrammarCache.set(A,!0))}_doLoadSingleGrammar(A){const t=this._options.loadGrammar(A);if(t){const i=typeof this._options.getInjections=="function"?this._options.getInjections(A):void 0;this._syncRegistry.addGrammar(t,i)}}addGrammar(A,t=[],i=0,h=null){return this._syncRegistry.addGrammar(A,t),this._grammarForScopeName(A.scopeName,i,h)}_grammarForScopeName(A,t=0,i=null,h=null,I=null){return this._syncRegistry.grammarForScopeName(A,t,i,h,I)}},pc=hc.NULL;const py=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class fr{constructor(A,t,i){this.property=A,this.normal=t,i&&(this.space=i)}}fr.prototype.property={},fr.prototype.normal={},fr.prototype.space=null;function rh(n,A){const t={},i={};let h=-1;for(;++h<n.length;)Object.assign(t,n[h].property),Object.assign(i,n[h].normal);return new fr(t,i,A)}function Bc(n){return n.toLowerCase()}class Mn{constructor(A,t){this.property=A,this.attribute=t}}Mn.prototype.space=null,Mn.prototype.boolean=!1,Mn.prototype.booleanish=!1,Mn.prototype.overloadedBoolean=!1,Mn.prototype.number=!1,Mn.prototype.commaSeparated=!1,Mn.prototype.spaceSeparated=!1,Mn.prototype.commaOrSpaceSeparated=!1,Mn.prototype.mustUseProperty=!1,Mn.prototype.defined=!1;let By=0;const Te=qi(),yt=qi(),ah=qi(),he=qi(),ut=qi(),Fo=qi(),Cn=qi();function qi(){return 2**++By}const Cc=Object.freeze(Object.defineProperty({__proto__:null,boolean:Te,booleanish:yt,commaOrSpaceSeparated:Cn,commaSeparated:Fo,number:he,overloadedBoolean:ah,spaceSeparated:ut},Symbol.toStringTag,{value:"Module"})),mc=Object.keys(Cc);class Ec extends Mn{constructor(A,t,i,h){let I=-1;if(super(A,t),sh(this,"space",h),typeof i=="number")for(;++I<mc.length;){const o=mc[I];sh(this,mc[I],(i&Cc[o])===Cc[o])}}}Ec.prototype.defined=!0;function sh(n,A,t){t&&(n[A]=t)}const Cy={}.hasOwnProperty;function No(n){const A={},t={};let i;for(i in n.properties)if(Cy.call(n.properties,i)){const h=n.properties[i],I=new Ec(i,n.transform(n.attributes||{},i),h,n.space);n.mustUseProperty&&n.mustUseProperty.includes(i)&&(I.mustUseProperty=!0),A[i]=I,t[Bc(i)]=i,t[Bc(I.attribute)]=i}return new fr(A,t,n.space)}const lh=No({space:"xlink",transform(n,A){return"xlink:"+A.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ch=No({space:"xml",transform(n,A){return"xml:"+A.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function gh(n,A){return A in n?n[A]:A}function uh(n,A){return gh(n,A.toLowerCase())}const dh=No({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:uh,properties:{xmlns:null,xmlnsXLink:null}}),hh=No({transform(n,A){return A==="role"?A:"aria-"+A.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:yt,ariaAutoComplete:null,ariaBusy:yt,ariaChecked:yt,ariaColCount:he,ariaColIndex:he,ariaColSpan:he,ariaControls:ut,ariaCurrent:null,ariaDescribedBy:ut,ariaDetails:null,ariaDisabled:yt,ariaDropEffect:ut,ariaErrorMessage:null,ariaExpanded:yt,ariaFlowTo:ut,ariaGrabbed:yt,ariaHasPopup:null,ariaHidden:yt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ut,ariaLevel:he,ariaLive:null,ariaModal:yt,ariaMultiLine:yt,ariaMultiSelectable:yt,ariaOrientation:null,ariaOwns:ut,ariaPlaceholder:null,ariaPosInSet:he,ariaPressed:yt,ariaReadOnly:yt,ariaRelevant:null,ariaRequired:yt,ariaRoleDescription:ut,ariaRowCount:he,ariaRowIndex:he,ariaRowSpan:he,ariaSelected:yt,ariaSetSize:he,ariaSort:null,ariaValueMax:he,ariaValueMin:he,ariaValueNow:he,ariaValueText:null,role:null}}),my=No({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:uh,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Fo,acceptCharset:ut,accessKey:ut,action:null,allow:null,allowFullScreen:Te,allowPaymentRequest:Te,allowUserMedia:Te,alt:null,as:null,async:Te,autoCapitalize:null,autoComplete:ut,autoFocus:Te,autoPlay:Te,blocking:ut,capture:null,charSet:null,checked:Te,cite:null,className:ut,cols:he,colSpan:null,content:null,contentEditable:yt,controls:Te,controlsList:ut,coords:he|Fo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Te,defer:Te,dir:null,dirName:null,disabled:Te,download:ah,draggable:yt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Te,formTarget:null,headers:ut,height:he,hidden:Te,high:he,href:null,hrefLang:null,htmlFor:ut,httpEquiv:ut,id:null,imageSizes:null,imageSrcSet:null,inert:Te,inputMode:null,integrity:null,is:null,isMap:Te,itemId:null,itemProp:ut,itemRef:ut,itemScope:Te,itemType:ut,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Te,low:he,manifest:null,max:null,maxLength:he,media:null,method:null,min:null,minLength:he,multiple:Te,muted:Te,name:null,nonce:null,noModule:Te,noValidate:Te,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:Te,optimum:he,pattern:null,ping:ut,placeholder:null,playsInline:Te,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Te,referrerPolicy:null,rel:ut,required:Te,reversed:Te,rows:he,rowSpan:he,sandbox:ut,scope:null,scoped:Te,seamless:Te,selected:Te,shadowRootClonable:Te,shadowRootDelegatesFocus:Te,shadowRootMode:null,shape:null,size:he,sizes:null,slot:null,span:he,spellCheck:yt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:he,step:null,style:null,tabIndex:he,target:null,title:null,translate:null,type:null,typeMustMatch:Te,useMap:null,value:yt,width:he,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ut,axis:null,background:null,bgColor:null,border:he,borderColor:null,bottomMargin:he,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Te,declare:Te,event:null,face:null,frame:null,frameBorder:null,hSpace:he,leftMargin:he,link:null,longDesc:null,lowSrc:null,marginHeight:he,marginWidth:he,noResize:Te,noHref:Te,noShade:Te,noWrap:Te,object:null,profile:null,prompt:null,rev:null,rightMargin:he,rules:null,scheme:null,scrolling:yt,standby:null,summary:null,text:null,topMargin:he,valueType:null,version:null,vAlign:null,vLink:null,vSpace:he,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Te,disableRemotePlayback:Te,prefix:null,property:null,results:he,security:null,unselectable:null}}),Ey=No({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:gh,properties:{about:Cn,accentHeight:he,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:he,amplitude:he,arabicForm:null,ascent:he,attributeName:null,attributeType:null,azimuth:he,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:he,by:null,calcMode:null,capHeight:he,className:ut,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:he,diffuseConstant:he,direction:null,display:null,dur:null,divisor:he,dominantBaseline:null,download:Te,dx:null,dy:null,edgeMode:null,editable:null,elevation:he,enableBackground:null,end:null,event:null,exponent:he,externalResourcesRequired:null,fill:null,fillOpacity:he,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:Fo,g2:Fo,glyphName:Fo,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:he,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:he,horizOriginX:he,horizOriginY:he,id:null,ideographic:he,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:he,k:he,k1:he,k2:he,k3:he,k4:he,kernelMatrix:Cn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:he,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:he,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:he,overlineThickness:he,paintOrder:null,panose1:null,path:null,pathLength:he,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ut,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:he,pointsAtY:he,pointsAtZ:he,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Cn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Cn,rev:Cn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Cn,requiredFeatures:Cn,requiredFonts:Cn,requiredFormats:Cn,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:he,specularExponent:he,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:he,strikethroughThickness:he,string:null,stroke:null,strokeDashArray:Cn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:he,strokeOpacity:he,strokeWidth:null,style:null,surfaceScale:he,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Cn,tabIndex:he,tableValues:null,target:null,targetX:he,targetY:he,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Cn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:he,underlineThickness:he,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:he,values:null,vAlphabetic:he,vMathematical:he,vectorEffect:null,vHanging:he,vIdeographic:he,version:null,vertAdvY:he,vertOriginX:he,vertOriginY:he,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:he,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Qy=/^data[-\w.:]+$/i,ph=/-[a-z]/g,Iy=/[A-Z]/g;function fy(n,A){const t=Bc(A);let i=A,h=Mn;if(t in n.normal)return n.property[n.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&Qy.test(A)){if(A.charAt(4)==="-"){const I=A.slice(5).replace(ph,by);i="data"+I.charAt(0).toUpperCase()+I.slice(1)}else{const I=A.slice(4);if(!ph.test(I)){let o=I.replace(Iy,wy);o.charAt(0)!=="-"&&(o="-"+o),A="data"+o}}h=Ec}return new h(i,A)}function wy(n){return"-"+n.toLowerCase()}function by(n){return n.charAt(1).toUpperCase()}const Dy=rh([ch,lh,dh,hh,my],"html"),Bh=rh([ch,lh,dh,hh,Ey],"svg"),Ch={}.hasOwnProperty;function yy(n,A){const t=A||{};function i(h,...I){let o=i.invalid;const b=i.handlers;if(h&&Ch.call(h,n)){const D=String(h[n]);o=Ch.call(b,D)?b[D]:i.unknown}if(o)return o.call(this,h,...I)}return i.handlers=t.handlers||{},i.invalid=t.invalid,i.unknown=t.unknown,i}const vy=/["&'<>`]/g,ky=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,_y=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,My=/[|\\{}()[\]^$+*?.]/g,mh=new WeakMap;function xy(n,A){if(n=n.replace(A.subset?Sy(A.subset):vy,i),A.subset||A.escapeOnly)return n;return n.replace(ky,t).replace(_y,i);function t(h,I,o){return A.format((h.charCodeAt(0)-55296)*1024+h.charCodeAt(1)-56320+65536,o.charCodeAt(I+2),A)}function i(h,I,o){return A.format(h.charCodeAt(0),o.charCodeAt(I+1),A)}}function Sy(n){let A=mh.get(n);return A||(A=Fy(n),mh.set(n,A)),A}function Fy(n){const A=[];let t=-1;for(;++t<n.length;)A.push(n[t].replace(My,"\\$&"));return new RegExp("(?:"+A.join("|")+")","g")}const Ny=/[\dA-Fa-f]/;function Ry(n,A,t){const i="&#x"+n.toString(16).toUpperCase();return t&&A&&!Ny.test(String.fromCharCode(A))?i:i+";"}const Ly=/\d/;function Gy(n,A,t){const i="&#"+String(n);return t&&A&&!Ly.test(String.fromCharCode(A))?i:i+";"}const Py=["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"],Qc={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:"€"},Hy=["cent","copy","divide","gt","lt","not","para","times"],Eh={}.hasOwnProperty,Ic={};let Ya;for(Ya in Qc)Eh.call(Qc,Ya)&&(Ic[Qc[Ya]]=Ya);const Ky=/[^\dA-Za-z]/;function Ty(n,A,t,i){const h=String.fromCharCode(n);if(Eh.call(Ic,h)){const I=Ic[h],o="&"+I;return t&&Py.includes(I)&&!Hy.includes(I)&&(!i||A&&A!==61&&Ky.test(String.fromCharCode(A)))?o:o+";"}return""}function Uy(n,A,t){let i=Ry(n,A,t.omitOptionalSemicolons),h;if((t.useNamedReferences||t.useShortestReferences)&&(h=Ty(n,A,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!h)&&t.useShortestReferences){const I=Gy(n,A,t.omitOptionalSemicolons);I.length<i.length&&(i=I)}return h&&(!t.useShortestReferences||h.length<i.length)?h:i}function Ro(n,A){return xy(n,Object.assign({format:Uy},A))}const Yy=/^>|^->|<!--|-->|--!>|<!-$/g,Oy=[">"],$y=["<",">"];function Jy(n,A,t,i){return i.settings.bogusComments?"<?"+Ro(n.value,Object.assign({},i.settings.characterReferences,{subset:Oy}))+">":"<!--"+n.value.replace(Yy,h)+"-->";function h(I){return Ro(I,Object.assign({},i.settings.characterReferences,{subset:$y}))}}function zy(n,A,t,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}function Qh(n,A){const t=String(n);if(typeof A!="string")throw new TypeError("Expected character");let i=0,h=t.indexOf(A);for(;h!==-1;)i++,h=t.indexOf(A,h+A.length);return i}function Zy(n,A){const t=A||{};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}function Wy(n){return n.join(" ").trim()}const jy=/[ \t\n\f\r]/g;function fc(n){return typeof n=="object"?n.type==="text"?Ih(n.value):!1:Ih(n)}function Ih(n){return n.replace(jy,"")===""}const _t=wh(1),fh=wh(-1),qy=[];function wh(n){return A;function A(t,i,h){const I=t?t.children:qy;let o=(i||0)+n,b=I[o];if(!h)for(;b&&fc(b);)o+=n,b=I[o];return b}}const Xy={}.hasOwnProperty;function bh(n){return A;function A(t,i,h){return Xy.call(n,t.tagName)&&n[t.tagName](t,i,h)}}const wc=bh({body:Av,caption:bc,colgroup:bc,dd:iv,dt:nv,head:bc,html:Vy,li:tv,optgroup:ov,option:rv,p:ev,rp:Dh,rt:Dh,tbody:sv,td:yh,tfoot:lv,th:yh,thead:av,tr:cv});function bc(n,A,t){const i=_t(t,A,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&fc(i.value.charAt(0)))}function Vy(n,A,t){const i=_t(t,A);return!i||i.type!=="comment"}function Av(n,A,t){const i=_t(t,A);return!i||i.type!=="comment"}function ev(n,A,t){const i=_t(t,A);return i?i.type==="element"&&(i.tagName==="address"||i.tagName==="article"||i.tagName==="aside"||i.tagName==="blockquote"||i.tagName==="details"||i.tagName==="div"||i.tagName==="dl"||i.tagName==="fieldset"||i.tagName==="figcaption"||i.tagName==="figure"||i.tagName==="footer"||i.tagName==="form"||i.tagName==="h1"||i.tagName==="h2"||i.tagName==="h3"||i.tagName==="h4"||i.tagName==="h5"||i.tagName==="h6"||i.tagName==="header"||i.tagName==="hgroup"||i.tagName==="hr"||i.tagName==="main"||i.tagName==="menu"||i.tagName==="nav"||i.tagName==="ol"||i.tagName==="p"||i.tagName==="pre"||i.tagName==="section"||i.tagName==="table"||i.tagName==="ul"):!t||!(t.type==="element"&&(t.tagName==="a"||t.tagName==="audio"||t.tagName==="del"||t.tagName==="ins"||t.tagName==="map"||t.tagName==="noscript"||t.tagName==="video"))}function tv(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&i.tagName==="li"}function nv(n,A,t){const i=_t(t,A);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function iv(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function Dh(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function ov(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&i.tagName==="optgroup"}function rv(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function av(n,A,t){const i=_t(t,A);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function sv(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function lv(n,A,t){return!_t(t,A)}function cv(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&i.tagName==="tr"}function yh(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}const gv=bh({body:hv,colgroup:pv,head:dv,html:uv,tbody:Bv});function uv(n){const A=_t(n,-1);return!A||A.type!=="comment"}function dv(n){const A=new Set;for(const i of n.children)if(i.type==="element"&&(i.tagName==="base"||i.tagName==="title")){if(A.has(i.tagName))return!1;A.add(i.tagName)}const t=n.children[0];return!t||t.type==="element"}function hv(n){const A=_t(n,-1,!0);return!A||A.type!=="comment"&&!(A.type==="text"&&fc(A.value.charAt(0)))&&!(A.type==="element"&&(A.tagName==="meta"||A.tagName==="link"||A.tagName==="script"||A.tagName==="style"||A.tagName==="template"))}function pv(n,A,t){const i=fh(t,A),h=_t(n,-1,!0);return t&&i&&i.type==="element"&&i.tagName==="colgroup"&&wc(i,t.children.indexOf(i),t)?!1:!!(h&&h.type==="element"&&h.tagName==="col")}function Bv(n,A,t){const i=fh(t,A),h=_t(n,-1);return t&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&wc(i,t.children.indexOf(i),t)?!1:!!(h&&h.type==="element"&&h.tagName==="tr")}const Oa={name:[[`
83
83
  \f\r &/=>`.split(""),`
@@ -93,7 +93,7 @@ You passed in: '`+this.raw_options[i]+"'");return o},n.prototype._is_valid_selec
93
93
  * @author RubaXa <trash@rubaxa.org>
94
94
  * @author owenm <owen23355@gmail.com>
95
95
  * @license MIT
96
- */function zh(n,A){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);A&&(i=i.filter(function(h){return Object.getOwnPropertyDescriptor(n,h).enumerable})),t.push.apply(t,i)}return t}function qn(n){for(var A=1;A<arguments.length;A++){var t=arguments[A]!=null?arguments[A]:{};A%2?zh(Object(t),!0).forEach(function(i){G1(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):zh(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Va(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Va=function(A){return typeof A}:Va=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},Va(n)}function G1(n,A,t){return A in n?Object.defineProperty(n,A,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[A]=t,n}function ui(){return ui=Object.assign||function(n){for(var A=1;A<arguments.length;A++){var t=arguments[A];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},ui.apply(this,arguments)}function P1(n,A){if(n==null)return{};var t={},i=Object.keys(n),h,I;for(I=0;I<i.length;I++)h=i[I],!(A.indexOf(h)>=0)&&(t[h]=n[h]);return t}function H1(n,A){if(n==null)return{};var t=P1(n,A),i,h;if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(n);for(h=0;h<I.length;h++)i=I[h],!(A.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(n,i)&&(t[i]=n[i])}return t}var K1="1.14.0";function di(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var hi=di(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),vr=di(/Edge/i),Zh=di(/firefox/i),kr=di(/safari/i)&&!di(/chrome/i)&&!di(/android/i),Wh=di(/iP(ad|od|hone)/i),T1=di(/chrome/i)&&di(/android/i),jh={capture:!1,passive:!1};function it(n,A,t){n.addEventListener(A,t,!hi&&jh)}function et(n,A,t){n.removeEventListener(A,t,!hi&&jh)}function As(n,A){if(A){if(A[0]===">"&&(A=A.substring(1)),n)try{if(n.matches)return n.matches(A);if(n.msMatchesSelector)return n.msMatchesSelector(A);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(A)}catch{return!1}return!1}}function U1(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function Xn(n,A,t,i){if(n){t=t||document;do{if(A!=null&&(A[0]===">"?n.parentNode===t&&As(n,A):As(n,A))||i&&n===t)return n;if(n===t)break}while(n=U1(n))}return null}var qh=/\s+/g;function mn(n,A,t){if(n&&A)if(n.classList)n.classList[t?"add":"remove"](A);else{var i=(" "+n.className+" ").replace(qh," ").replace(" "+A+" "," ");n.className=(i+(t?" "+A:"")).replace(qh," ")}}function Re(n,A,t){var i=n&&n.style;if(i){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(n,""):n.currentStyle&&(t=n.currentStyle),A===void 0?t:t[A];!(A in i)&&A.indexOf("webkit")===-1&&(A="-webkit-"+A),i[A]=t+(typeof t=="string"?"":"px")}}function Go(n,A){var t="";if(typeof n=="string")t=n;else do{var i=Re(n,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!A&&(n=n.parentNode));var h=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return h&&new h(t)}function Xh(n,A,t){if(n){var i=n.getElementsByTagName(A),h=0,I=i.length;if(t)for(;h<I;h++)t(i[h],h);return i}return[]}function Vn(){var n=document.scrollingElement;return n||document.documentElement}function Mt(n,A,t,i,h){if(!(!n.getBoundingClientRect&&n!==window)){var I,o,b,D,w,S,N;if(n!==window&&n.parentNode&&n!==Vn()?(I=n.getBoundingClientRect(),o=I.top,b=I.left,D=I.bottom,w=I.right,S=I.height,N=I.width):(o=0,b=0,D=window.innerHeight,w=window.innerWidth,S=window.innerHeight,N=window.innerWidth),(A||t)&&n!==window&&(h=h||n.parentNode,!hi))do if(h&&h.getBoundingClientRect&&(Re(h,"transform")!=="none"||t&&Re(h,"position")!=="static")){var T=h.getBoundingClientRect();o-=T.top+parseInt(Re(h,"border-top-width")),b-=T.left+parseInt(Re(h,"border-left-width")),D=o+I.height,w=b+I.width;break}while(h=h.parentNode);if(i&&n!==window){var $=Go(h||n),K=$&&$.a,Y=$&&$.d;$&&(o/=Y,b/=K,N/=K,S/=Y,D=o+S,w=b+N)}return{top:o,left:b,bottom:D,right:w,width:N,height:S}}}function Vh(n,A,t){for(var i=Si(n,!0),h=Mt(n)[A];i;){var I=Mt(i)[t],o=void 0;if(o=h>=I,!o)return i;if(i===Vn())break;i=Si(i,!1)}return!1}function Po(n,A,t,i){for(var h=0,I=0,o=n.children;I<o.length;){if(o[I].style.display!=="none"&&o[I]!==Le.ghost&&(i||o[I]!==Le.dragged)&&Xn(o[I],t.draggable,n,!1)){if(h===A)return o[I];h++}I++}return null}function Mc(n,A){for(var t=n.lastElementChild;t&&(t===Le.ghost||Re(t,"display")==="none"||A&&!As(t,A));)t=t.previousElementSibling;return t||null}function xn(n,A){var t=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==Le.clone&&(!A||As(n,A))&&t++;return t}function Ap(n){var A=0,t=0,i=Vn();if(n)do{var h=Go(n),I=h.a,o=h.d;A+=n.scrollLeft*I,t+=n.scrollTop*o}while(n!==i&&(n=n.parentNode));return[A,t]}function Y1(n,A){for(var t in n)if(n.hasOwnProperty(t)){for(var i in A)if(A.hasOwnProperty(i)&&A[i]===n[t][i])return Number(t)}return-1}function Si(n,A){if(!n||!n.getBoundingClientRect)return Vn();var t=n,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var h=Re(t);if(t.clientWidth<t.scrollWidth&&(h.overflowX=="auto"||h.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(h.overflowY=="auto"||h.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return Vn();if(i||A)return t;i=!0}}while(t=t.parentNode);return Vn()}function O1(n,A){if(n&&A)for(var t in A)A.hasOwnProperty(t)&&(n[t]=A[t]);return n}function xc(n,A){return Math.round(n.top)===Math.round(A.top)&&Math.round(n.left)===Math.round(A.left)&&Math.round(n.height)===Math.round(A.height)&&Math.round(n.width)===Math.round(A.width)}var _r;function ep(n,A){return function(){if(!_r){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),_r=setTimeout(function(){_r=void 0},A)}}}function $1(){clearTimeout(_r),_r=void 0}function tp(n,A,t){n.scrollLeft+=A,n.scrollTop+=t}function np(n){var A=window.Polymer,t=window.jQuery||window.Zepto;return A&&A.dom?A.dom(n).cloneNode(!0):t?t(n).clone(!0)[0]:n.cloneNode(!0)}var En="Sortable"+new Date().getTime();function J1(){var n=[],A;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(h){if(!(Re(h,"display")==="none"||h===Le.ghost)){n.push({target:h,rect:Mt(h)});var I=qn({},n[n.length-1].rect);if(h.thisAnimationDuration){var o=Go(h,!0);o&&(I.top-=o.f,I.left-=o.e)}h.fromRect=I}})}},addAnimationState:function(i){n.push(i)},removeAnimationState:function(i){n.splice(Y1(n,{target:i}),1)},animateAll:function(i){var h=this;if(!this.options.animation){clearTimeout(A),typeof i=="function"&&i();return}var I=!1,o=0;n.forEach(function(b){var D=0,w=b.target,S=w.fromRect,N=Mt(w),T=w.prevFromRect,$=w.prevToRect,K=b.rect,Y=Go(w,!0);Y&&(N.top-=Y.f,N.left-=Y.e),w.toRect=N,w.thisAnimationDuration&&xc(T,N)&&!xc(S,N)&&(K.top-N.top)/(K.left-N.left)===(S.top-N.top)/(S.left-N.left)&&(D=Z1(K,T,$,h.options)),xc(N,S)||(w.prevFromRect=S,w.prevToRect=N,D||(D=h.options.animation),h.animate(w,K,N,D)),D&&(I=!0,o=Math.max(o,D),clearTimeout(w.animationResetTimer),w.animationResetTimer=setTimeout(function(){w.animationTime=0,w.prevFromRect=null,w.fromRect=null,w.prevToRect=null,w.thisAnimationDuration=null},D),w.thisAnimationDuration=D)}),clearTimeout(A),I?A=setTimeout(function(){typeof i=="function"&&i()},o):typeof i=="function"&&i(),n=[]},animate:function(i,h,I,o){if(o){Re(i,"transition",""),Re(i,"transform","");var b=Go(this.el),D=b&&b.a,w=b&&b.d,S=(h.left-I.left)/(D||1),N=(h.top-I.top)/(w||1);i.animatingX=!!S,i.animatingY=!!N,Re(i,"transform","translate3d("+S+"px,"+N+"px,0)"),this.forRepaintDummy=z1(i),Re(i,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),Re(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){Re(i,"transition",""),Re(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},o)}}}}function z1(n){return n.offsetWidth}function Z1(n,A,t,i){return Math.sqrt(Math.pow(A.top-n.top,2)+Math.pow(A.left-n.left,2))/Math.sqrt(Math.pow(A.top-t.top,2)+Math.pow(A.left-t.left,2))*i.animation}var Ho=[],Sc={initializeByDefault:!0},Mr={mount:function(A){for(var t in Sc)Sc.hasOwnProperty(t)&&!(t in A)&&(A[t]=Sc[t]);Ho.forEach(function(i){if(i.pluginName===A.pluginName)throw"Sortable: Cannot mount plugin ".concat(A.pluginName," more than once")}),Ho.push(A)},pluginEvent:function(A,t,i){var h=this;this.eventCanceled=!1,i.cancel=function(){h.eventCanceled=!0};var I=A+"Global";Ho.forEach(function(o){t[o.pluginName]&&(t[o.pluginName][I]&&t[o.pluginName][I](qn({sortable:t},i)),t.options[o.pluginName]&&t[o.pluginName][A]&&t[o.pluginName][A](qn({sortable:t},i)))})},initializePlugins:function(A,t,i,h){Ho.forEach(function(b){var D=b.pluginName;if(!(!A.options[D]&&!b.initializeByDefault)){var w=new b(A,t,A.options);w.sortable=A,w.options=A.options,A[D]=w,ui(i,w.defaults)}});for(var I in A.options)if(A.options.hasOwnProperty(I)){var o=this.modifyOption(A,I,A.options[I]);typeof o<"u"&&(A.options[I]=o)}},getEventProperties:function(A,t){var i={};return Ho.forEach(function(h){typeof h.eventProperties=="function"&&ui(i,h.eventProperties.call(t[h.pluginName],A))}),i},modifyOption:function(A,t,i){var h;return Ho.forEach(function(I){A[I.pluginName]&&I.optionListeners&&typeof I.optionListeners[t]=="function"&&(h=I.optionListeners[t].call(A[I.pluginName],i))}),h}};function W1(n){var A=n.sortable,t=n.rootEl,i=n.name,h=n.targetEl,I=n.cloneEl,o=n.toEl,b=n.fromEl,D=n.oldIndex,w=n.newIndex,S=n.oldDraggableIndex,N=n.newDraggableIndex,T=n.originalEvent,$=n.putSortable,K=n.extraEventProperties;if(A=A||t&&t[En],!!A){var Y,v=A.options,Q="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!hi&&!vr?Y=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(Y=document.createEvent("Event"),Y.initEvent(i,!0,!0)),Y.to=o||t,Y.from=b||t,Y.item=h||t,Y.clone=I,Y.oldIndex=D,Y.newIndex=w,Y.oldDraggableIndex=S,Y.newDraggableIndex=N,Y.originalEvent=T,Y.pullMode=$?$.lastPutMode:void 0;var L=qn(qn({},K),Mr.getEventProperties(i,A));for(var k in L)Y[k]=L[k];t&&t.dispatchEvent(Y),v[Q]&&v[Q].call(A,Y)}}var j1=["evt"],ln=function(A,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=i.evt,I=H1(i,j1);Mr.pluginEvent.bind(Le)(A,t,qn({dragEl:me,parentEl:Qt,ghostEl:Ue,rootEl:Ct,nextEl:eo,lastDownEl:es,cloneEl:It,cloneHidden:Fi,dragStarted:Sr,putSortable:Gt,activeSortable:Le.active,originalEvent:h,oldIndex:Ko,oldDraggableIndex:xr,newIndex:Qn,newDraggableIndex:Ni,hideGhostForTarget:cp,unhideGhostForTarget:gp,cloneNowHidden:function(){Fi=!0},cloneNowShown:function(){Fi=!1},dispatchSortableEvent:function(b){zt({sortable:t,name:b,originalEvent:h})}},I))};function zt(n){W1(qn({putSortable:Gt,cloneEl:It,targetEl:me,rootEl:Ct,oldIndex:Ko,oldDraggableIndex:xr,newIndex:Qn,newDraggableIndex:Ni},n))}var me,Qt,Ue,Ct,eo,es,It,Fi,Ko,Qn,xr,Ni,ts,Gt,To=!1,ns=!1,is=[],to,Yn,Fc,Nc,ip,op,Sr,Uo,Fr,Nr=!1,os=!1,rs,Ut,Rc=[],Lc=!1,as=[],ss=typeof document<"u",ls=Wh,rp=vr||hi?"cssFloat":"float",q1=ss&&!T1&&!Wh&&"draggable"in document.createElement("div"),ap=function(){if(ss){if(hi)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),sp=function(A,t){var i=Re(A),h=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),I=Po(A,0,t),o=Po(A,1,t),b=I&&Re(I),D=o&&Re(o),w=b&&parseInt(b.marginLeft)+parseInt(b.marginRight)+Mt(I).width,S=D&&parseInt(D.marginLeft)+parseInt(D.marginRight)+Mt(o).width;if(i.display==="flex")return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal";if(i.display==="grid")return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(I&&b.float&&b.float!=="none"){var N=b.float==="left"?"left":"right";return o&&(D.clear==="both"||D.clear===N)?"vertical":"horizontal"}return I&&(b.display==="block"||b.display==="flex"||b.display==="table"||b.display==="grid"||w>=h&&i[rp]==="none"||o&&i[rp]==="none"&&w+S>h)?"vertical":"horizontal"},X1=function(A,t,i){var h=i?A.left:A.top,I=i?A.right:A.bottom,o=i?A.width:A.height,b=i?t.left:t.top,D=i?t.right:t.bottom,w=i?t.width:t.height;return h===b||I===D||h+o/2===b+w/2},V1=function(A,t){var i;return is.some(function(h){var I=h[En].options.emptyInsertThreshold;if(!(!I||Mc(h))){var o=Mt(h),b=A>=o.left-I&&A<=o.right+I,D=t>=o.top-I&&t<=o.bottom+I;if(b&&D)return i=h}}),i},lp=function(A){function t(I,o){return function(b,D,w,S){var N=b.options.group.name&&D.options.group.name&&b.options.group.name===D.options.group.name;if(I==null&&(o||N))return!0;if(I==null||I===!1)return!1;if(o&&I==="clone")return I;if(typeof I=="function")return t(I(b,D,w,S),o)(b,D,w,S);var T=(o?b:D).options.group.name;return I===!0||typeof I=="string"&&I===T||I.join&&I.indexOf(T)>-1}}var i={},h=A.group;(!h||Va(h)!="object")&&(h={name:h}),i.name=h.name,i.checkPull=t(h.pull,!0),i.checkPut=t(h.put),i.revertClone=h.revertClone,A.group=i},cp=function(){!ap&&Ue&&Re(Ue,"display","none")},gp=function(){!ap&&Ue&&Re(Ue,"display","")};ss&&document.addEventListener("click",function(n){if(ns)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),ns=!1,!1},!0);var no=function(A){if(me){A=A.touches?A.touches[0]:A;var t=V1(A.clientX,A.clientY);if(t){var i={};for(var h in A)A.hasOwnProperty(h)&&(i[h]=A[h]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[En]._onDragOver(i)}}},Ak=function(A){me&&me.parentNode[En]._isOutsideThisEl(A.target)};function Le(n,A){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=A=ui({},A),n[En]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(n.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return sp(n,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,b){o.setData("Text",b.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:Le.supportPointer!==!1&&"PointerEvent"in window&&!kr,emptyInsertThreshold:5};Mr.initializePlugins(this,n,t);for(var i in t)!(i in A)&&(A[i]=t[i]);lp(A);for(var h in this)h.charAt(0)==="_"&&typeof this[h]=="function"&&(this[h]=this[h].bind(this));this.nativeDraggable=A.forceFallback?!1:q1,this.nativeDraggable&&(this.options.touchStartThreshold=1),A.supportPointer?it(n,"pointerdown",this._onTapStart):(it(n,"mousedown",this._onTapStart),it(n,"touchstart",this._onTapStart)),this.nativeDraggable&&(it(n,"dragover",this),it(n,"dragenter",this)),is.push(this.el),A.store&&A.store.get&&this.sort(A.store.get(this)||[]),ui(this,J1())}Le.prototype={constructor:Le,_isOutsideThisEl:function(A){!this.el.contains(A)&&A!==this.el&&(Uo=null)},_getDirection:function(A,t){return typeof this.options.direction=="function"?this.options.direction.call(this,A,t,me):this.options.direction},_onTapStart:function(A){if(A.cancelable){var t=this,i=this.el,h=this.options,I=h.preventOnFilter,o=A.type,b=A.touches&&A.touches[0]||A.pointerType&&A.pointerType==="touch"&&A,D=(b||A).target,w=A.target.shadowRoot&&(A.path&&A.path[0]||A.composedPath&&A.composedPath()[0])||D,S=h.filter;if(sk(i),!me&&!(/mousedown|pointerdown/.test(o)&&A.button!==0||h.disabled)&&!w.isContentEditable&&!(!this.nativeDraggable&&kr&&D&&D.tagName.toUpperCase()==="SELECT")&&(D=Xn(D,h.draggable,i,!1),!(D&&D.animated)&&es!==D)){if(Ko=xn(D),xr=xn(D,h.draggable),typeof S=="function"){if(S.call(this,A,D,this)){zt({sortable:t,rootEl:w,name:"filter",targetEl:D,toEl:i,fromEl:i}),ln("filter",t,{evt:A}),I&&A.cancelable&&A.preventDefault();return}}else if(S&&(S=S.split(",").some(function(N){if(N=Xn(w,N.trim(),i,!1),N)return zt({sortable:t,rootEl:N,name:"filter",targetEl:D,fromEl:i,toEl:i}),ln("filter",t,{evt:A}),!0}),S)){I&&A.cancelable&&A.preventDefault();return}h.handle&&!Xn(w,h.handle,i,!1)||this._prepareDragStart(A,b,D)}}},_prepareDragStart:function(A,t,i){var h=this,I=h.el,o=h.options,b=I.ownerDocument,D;if(i&&!me&&i.parentNode===I){var w=Mt(i);if(Ct=I,me=i,Qt=me.parentNode,eo=me.nextSibling,es=i,ts=o.group,Le.dragged=me,to={target:me,clientX:(t||A).clientX,clientY:(t||A).clientY},ip=to.clientX-w.left,op=to.clientY-w.top,this._lastX=(t||A).clientX,this._lastY=(t||A).clientY,me.style["will-change"]="all",D=function(){if(ln("delayEnded",h,{evt:A}),Le.eventCanceled){h._onDrop();return}h._disableDelayedDragEvents(),!Zh&&h.nativeDraggable&&(me.draggable=!0),h._triggerDragStart(A,t),zt({sortable:h,name:"choose",originalEvent:A}),mn(me,o.chosenClass,!0)},o.ignore.split(",").forEach(function(S){Xh(me,S.trim(),Gc)}),it(b,"dragover",no),it(b,"mousemove",no),it(b,"touchmove",no),it(b,"mouseup",h._onDrop),it(b,"touchend",h._onDrop),it(b,"touchcancel",h._onDrop),Zh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,me.draggable=!0),ln("delayStart",this,{evt:A}),o.delay&&(!o.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(vr||hi))){if(Le.eventCanceled){this._onDrop();return}it(b,"mouseup",h._disableDelayedDrag),it(b,"touchend",h._disableDelayedDrag),it(b,"touchcancel",h._disableDelayedDrag),it(b,"mousemove",h._delayedDragTouchMoveHandler),it(b,"touchmove",h._delayedDragTouchMoveHandler),o.supportPointer&&it(b,"pointermove",h._delayedDragTouchMoveHandler),h._dragStartTimer=setTimeout(D,o.delay)}else D()}},_delayedDragTouchMoveHandler:function(A){var t=A.touches?A.touches[0]:A;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){me&&Gc(me),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var A=this.el.ownerDocument;et(A,"mouseup",this._disableDelayedDrag),et(A,"touchend",this._disableDelayedDrag),et(A,"touchcancel",this._disableDelayedDrag),et(A,"mousemove",this._delayedDragTouchMoveHandler),et(A,"touchmove",this._delayedDragTouchMoveHandler),et(A,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(A,t){t=t||A.pointerType=="touch"&&A,!this.nativeDraggable||t?this.options.supportPointer?it(document,"pointermove",this._onTouchMove):t?it(document,"touchmove",this._onTouchMove):it(document,"mousemove",this._onTouchMove):(it(me,"dragend",this),it(Ct,"dragstart",this._onDragStart));try{document.selection?gs(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(A,t){if(To=!1,Ct&&me){ln("dragStarted",this,{evt:t}),this.nativeDraggable&&it(document,"dragover",Ak);var i=this.options;!A&&mn(me,i.dragClass,!1),mn(me,i.ghostClass,!0),Le.active=this,A&&this._appendGhost(),zt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Yn){this._lastX=Yn.clientX,this._lastY=Yn.clientY,cp();for(var A=document.elementFromPoint(Yn.clientX,Yn.clientY),t=A;A&&A.shadowRoot&&(A=A.shadowRoot.elementFromPoint(Yn.clientX,Yn.clientY),A!==t);)t=A;if(me.parentNode[En]._isOutsideThisEl(A),t)do{if(t[En]){var i=void 0;if(i=t[En]._onDragOver({clientX:Yn.clientX,clientY:Yn.clientY,target:A,rootEl:t}),i&&!this.options.dragoverBubble)break}A=t}while(t=t.parentNode);gp()}},_onTouchMove:function(A){if(to){var t=this.options,i=t.fallbackTolerance,h=t.fallbackOffset,I=A.touches?A.touches[0]:A,o=Ue&&Go(Ue,!0),b=Ue&&o&&o.a,D=Ue&&o&&o.d,w=ls&&Ut&&Ap(Ut),S=(I.clientX-to.clientX+h.x)/(b||1)+(w?w[0]-Rc[0]:0)/(b||1),N=(I.clientY-to.clientY+h.y)/(D||1)+(w?w[1]-Rc[1]:0)/(D||1);if(!Le.active&&!To){if(i&&Math.max(Math.abs(I.clientX-this._lastX),Math.abs(I.clientY-this._lastY))<i)return;this._onDragStart(A,!0)}if(Ue){o?(o.e+=S-(Fc||0),o.f+=N-(Nc||0)):o={a:1,b:0,c:0,d:1,e:S,f:N};var T="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Re(Ue,"webkitTransform",T),Re(Ue,"mozTransform",T),Re(Ue,"msTransform",T),Re(Ue,"transform",T),Fc=S,Nc=N,Yn=I}A.cancelable&&A.preventDefault()}},_appendGhost:function(){if(!Ue){var A=this.options.fallbackOnBody?document.body:Ct,t=Mt(me,!0,ls,!0,A),i=this.options;if(ls){for(Ut=A;Re(Ut,"position")==="static"&&Re(Ut,"transform")==="none"&&Ut!==document;)Ut=Ut.parentNode;Ut!==document.body&&Ut!==document.documentElement?(Ut===document&&(Ut=Vn()),t.top+=Ut.scrollTop,t.left+=Ut.scrollLeft):Ut=Vn(),Rc=Ap(Ut)}Ue=me.cloneNode(!0),mn(Ue,i.ghostClass,!1),mn(Ue,i.fallbackClass,!0),mn(Ue,i.dragClass,!0),Re(Ue,"transition",""),Re(Ue,"transform",""),Re(Ue,"box-sizing","border-box"),Re(Ue,"margin",0),Re(Ue,"top",t.top),Re(Ue,"left",t.left),Re(Ue,"width",t.width),Re(Ue,"height",t.height),Re(Ue,"opacity","0.8"),Re(Ue,"position",ls?"absolute":"fixed"),Re(Ue,"zIndex","100000"),Re(Ue,"pointerEvents","none"),Le.ghost=Ue,A.appendChild(Ue),Re(Ue,"transform-origin",ip/parseInt(Ue.style.width)*100+"% "+op/parseInt(Ue.style.height)*100+"%")}},_onDragStart:function(A,t){var i=this,h=A.dataTransfer,I=i.options;if(ln("dragStart",this,{evt:A}),Le.eventCanceled){this._onDrop();return}ln("setupClone",this),Le.eventCanceled||(It=np(me),It.draggable=!1,It.style["will-change"]="",this._hideClone(),mn(It,this.options.chosenClass,!1),Le.clone=It),i.cloneId=gs(function(){ln("clone",i),!Le.eventCanceled&&(i.options.removeCloneOnHide||Ct.insertBefore(It,me),i._hideClone(),zt({sortable:i,name:"clone"}))}),!t&&mn(me,I.dragClass,!0),t?(ns=!0,i._loopId=setInterval(i._emulateDragOver,50)):(et(document,"mouseup",i._onDrop),et(document,"touchend",i._onDrop),et(document,"touchcancel",i._onDrop),h&&(h.effectAllowed="move",I.setData&&I.setData.call(i,h,me)),it(document,"drop",i),Re(me,"transform","translateZ(0)")),To=!0,i._dragStartId=gs(i._dragStarted.bind(i,t,A)),it(document,"selectstart",i),Sr=!0,kr&&Re(document.body,"user-select","none")},_onDragOver:function(A){var t=this.el,i=A.target,h,I,o,b=this.options,D=b.group,w=Le.active,S=ts===D,N=b.sort,T=Gt||w,$,K=this,Y=!1;if(Lc)return;function v(x,P){ln(x,K,qn({evt:A,isOwner:S,axis:$?"vertical":"horizontal",revert:o,dragRect:h,targetRect:I,canSort:N,fromSortable:T,target:i,completed:L,onMove:function(J,q){return cs(Ct,t,me,h,J,Mt(J),A,q)},changed:k},P))}function Q(){v("dragOverAnimationCapture"),K.captureAnimationState(),K!==T&&T.captureAnimationState()}function L(x){return v("dragOverCompleted",{insertion:x}),x&&(S?w._hideClone():w._showClone(K),K!==T&&(mn(me,Gt?Gt.options.ghostClass:w.options.ghostClass,!1),mn(me,b.ghostClass,!0)),Gt!==K&&K!==Le.active?Gt=K:K===Le.active&&Gt&&(Gt=null),T===K&&(K._ignoreWhileAnimating=i),K.animateAll(function(){v("dragOverAnimationComplete"),K._ignoreWhileAnimating=null}),K!==T&&(T.animateAll(),T._ignoreWhileAnimating=null)),(i===me&&!me.animated||i===t&&!i.animated)&&(Uo=null),!b.dragoverBubble&&!A.rootEl&&i!==document&&(me.parentNode[En]._isOutsideThisEl(A.target),!x&&no(A)),!b.dragoverBubble&&A.stopPropagation&&A.stopPropagation(),Y=!0}function k(){Qn=xn(me),Ni=xn(me,b.draggable),zt({sortable:K,name:"change",toEl:t,newIndex:Qn,newDraggableIndex:Ni,originalEvent:A})}if(A.preventDefault!==void 0&&A.cancelable&&A.preventDefault(),i=Xn(i,b.draggable,t,!0),v("dragOver"),Le.eventCanceled)return Y;if(me.contains(A.target)||i.animated&&i.animatingX&&i.animatingY||K._ignoreWhileAnimating===i)return L(!1);if(ns=!1,w&&!b.disabled&&(S?N||(o=Qt!==Ct):Gt===this||(this.lastPutMode=ts.checkPull(this,w,me,A))&&D.checkPut(this,w,me,A))){if($=this._getDirection(A,i)==="vertical",h=Mt(me),v("dragOverValid"),Le.eventCanceled)return Y;if(o)return Qt=Ct,Q(),this._hideClone(),v("revert"),Le.eventCanceled||(eo?Ct.insertBefore(me,eo):Ct.appendChild(me)),L(!0);var y=Mc(t,b.draggable);if(!y||ik(A,$,this)&&!y.animated){if(y===me)return L(!1);if(y&&t===A.target&&(i=y),i&&(I=Mt(i)),cs(Ct,t,me,h,i,I,A,!!i)!==!1)return Q(),t.appendChild(me),Qt=t,k(),L(!0)}else if(y&&nk(A,$,this)){var m=Po(t,0,b,!0);if(m===me)return L(!1);if(i=m,I=Mt(i),cs(Ct,t,me,h,i,I,A,!1)!==!1)return Q(),t.insertBefore(me,m),Qt=t,k(),L(!0)}else if(i.parentNode===t){I=Mt(i);var p=0,u,s=me.parentNode!==t,g=!X1(me.animated&&me.toRect||h,i.animated&&i.toRect||I,$),l=$?"top":"left",d=Vh(i,"top","top")||Vh(me,"top","top"),B=d?d.scrollTop:void 0;Uo!==i&&(u=I[l],Nr=!1,os=!g&&b.invertSwap||s),p=ok(A,i,I,$,g?1:b.swapThreshold,b.invertedSwapThreshold==null?b.swapThreshold:b.invertedSwapThreshold,os,Uo===i);var a;if(p!==0){var r=xn(me);do r-=p,a=Qt.children[r];while(a&&(Re(a,"display")==="none"||a===Ue))}if(p===0||a===i)return L(!1);Uo=i,Fr=p;var C=i.nextElementSibling,E=!1;E=p===1;var M=cs(Ct,t,me,h,i,I,A,E);if(M!==!1)return(M===1||M===-1)&&(E=M===1),Lc=!0,setTimeout(tk,30),Q(),E&&!C?t.appendChild(me):i.parentNode.insertBefore(me,E?C:i),d&&tp(d,0,B-d.scrollTop),Qt=me.parentNode,u!==void 0&&!os&&(rs=Math.abs(u-Mt(i)[l])),k(),L(!0)}if(t.contains(me))return L(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){et(document,"mousemove",this._onTouchMove),et(document,"touchmove",this._onTouchMove),et(document,"pointermove",this._onTouchMove),et(document,"dragover",no),et(document,"mousemove",no),et(document,"touchmove",no)},_offUpEvents:function(){var A=this.el.ownerDocument;et(A,"mouseup",this._onDrop),et(A,"touchend",this._onDrop),et(A,"pointerup",this._onDrop),et(A,"touchcancel",this._onDrop),et(document,"selectstart",this)},_onDrop:function(A){var t=this.el,i=this.options;if(Qn=xn(me),Ni=xn(me,i.draggable),ln("drop",this,{evt:A}),Qt=me&&me.parentNode,Qn=xn(me),Ni=xn(me,i.draggable),Le.eventCanceled){this._nulling();return}To=!1,os=!1,Nr=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Pc(this.cloneId),Pc(this._dragStartId),this.nativeDraggable&&(et(document,"drop",this),et(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),kr&&Re(document.body,"user-select",""),Re(me,"transform",""),A&&(Sr&&(A.cancelable&&A.preventDefault(),!i.dropBubble&&A.stopPropagation()),Ue&&Ue.parentNode&&Ue.parentNode.removeChild(Ue),(Ct===Qt||Gt&&Gt.lastPutMode!=="clone")&&It&&It.parentNode&&It.parentNode.removeChild(It),me&&(this.nativeDraggable&&et(me,"dragend",this),Gc(me),me.style["will-change"]="",Sr&&!To&&mn(me,Gt?Gt.options.ghostClass:this.options.ghostClass,!1),mn(me,this.options.chosenClass,!1),zt({sortable:this,name:"unchoose",toEl:Qt,newIndex:null,newDraggableIndex:null,originalEvent:A}),Ct!==Qt?(Qn>=0&&(zt({rootEl:Qt,name:"add",toEl:Qt,fromEl:Ct,originalEvent:A}),zt({sortable:this,name:"remove",toEl:Qt,originalEvent:A}),zt({rootEl:Qt,name:"sort",toEl:Qt,fromEl:Ct,originalEvent:A}),zt({sortable:this,name:"sort",toEl:Qt,originalEvent:A})),Gt&&Gt.save()):Qn!==Ko&&Qn>=0&&(zt({sortable:this,name:"update",toEl:Qt,originalEvent:A}),zt({sortable:this,name:"sort",toEl:Qt,originalEvent:A})),Le.active&&((Qn==null||Qn===-1)&&(Qn=Ko,Ni=xr),zt({sortable:this,name:"end",toEl:Qt,originalEvent:A}),this.save()))),this._nulling()},_nulling:function(){ln("nulling",this),Ct=me=Qt=Ue=eo=It=es=Fi=to=Yn=Sr=Qn=Ni=Ko=xr=Uo=Fr=Gt=ts=Le.dragged=Le.ghost=Le.clone=Le.active=null,as.forEach(function(A){A.checked=!0}),as.length=Fc=Nc=0},handleEvent:function(A){switch(A.type){case"drop":case"dragend":this._onDrop(A);break;case"dragenter":case"dragover":me&&(this._onDragOver(A),ek(A));break;case"selectstart":A.preventDefault();break}},toArray:function(){for(var A=[],t,i=this.el.children,h=0,I=i.length,o=this.options;h<I;h++)t=i[h],Xn(t,o.draggable,this.el,!1)&&A.push(t.getAttribute(o.dataIdAttr)||ak(t));return A},sort:function(A,t){var i={},h=this.el;this.toArray().forEach(function(I,o){var b=h.children[o];Xn(b,this.options.draggable,h,!1)&&(i[I]=b)},this),t&&this.captureAnimationState(),A.forEach(function(I){i[I]&&(h.removeChild(i[I]),h.appendChild(i[I]))}),t&&this.animateAll()},save:function(){var A=this.options.store;A&&A.set&&A.set(this)},closest:function(A,t){return Xn(A,t||this.options.draggable,this.el,!1)},option:function(A,t){var i=this.options;if(t===void 0)return i[A];var h=Mr.modifyOption(this,A,t);typeof h<"u"?i[A]=h:i[A]=t,A==="group"&&lp(i)},destroy:function(){ln("destroy",this);var A=this.el;A[En]=null,et(A,"mousedown",this._onTapStart),et(A,"touchstart",this._onTapStart),et(A,"pointerdown",this._onTapStart),this.nativeDraggable&&(et(A,"dragover",this),et(A,"dragenter",this)),Array.prototype.forEach.call(A.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),is.splice(is.indexOf(this.el),1),this.el=A=null},_hideClone:function(){if(!Fi){if(ln("hideClone",this),Le.eventCanceled)return;Re(It,"display","none"),this.options.removeCloneOnHide&&It.parentNode&&It.parentNode.removeChild(It),Fi=!0}},_showClone:function(A){if(A.lastPutMode!=="clone"){this._hideClone();return}if(Fi){if(ln("showClone",this),Le.eventCanceled)return;me.parentNode==Ct&&!this.options.group.revertClone?Ct.insertBefore(It,me):eo?Ct.insertBefore(It,eo):Ct.appendChild(It),this.options.group.revertClone&&this.animate(me,It),Re(It,"display",""),Fi=!1}}};function ek(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function cs(n,A,t,i,h,I,o,b){var D,w=n[En],S=w.options.onMove,N;return window.CustomEvent&&!hi&&!vr?D=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(D=document.createEvent("Event"),D.initEvent("move",!0,!0)),D.to=A,D.from=n,D.dragged=t,D.draggedRect=i,D.related=h||A,D.relatedRect=I||Mt(A),D.willInsertAfter=b,D.originalEvent=o,n.dispatchEvent(D),S&&(N=S.call(w,D,o)),N}function Gc(n){n.draggable=!1}function tk(){Lc=!1}function nk(n,A,t){var i=Mt(Po(t.el,0,t.options,!0)),h=10;return A?n.clientX<i.left-h||n.clientY<i.top&&n.clientX<i.right:n.clientY<i.top-h||n.clientY<i.bottom&&n.clientX<i.left}function ik(n,A,t){var i=Mt(Mc(t.el,t.options.draggable)),h=10;return A?n.clientX>i.right+h||n.clientX<=i.right&&n.clientY>i.bottom&&n.clientX>=i.left:n.clientX>i.right&&n.clientY>i.top||n.clientX<=i.right&&n.clientY>i.bottom+h}function ok(n,A,t,i,h,I,o,b){var D=i?n.clientY:n.clientX,w=i?t.height:t.width,S=i?t.top:t.left,N=i?t.bottom:t.right,T=!1;if(!o){if(b&&rs<w*h){if(!Nr&&(Fr===1?D>S+w*I/2:D<N-w*I/2)&&(Nr=!0),Nr)T=!0;else if(Fr===1?D<S+rs:D>N-rs)return-Fr}else if(D>S+w*(1-h)/2&&D<N-w*(1-h)/2)return rk(A)}return T=T||o,T&&(D<S+w*I/2||D>N-w*I/2)?D>S+w/2?1:-1:0}function rk(n){return xn(me)<xn(n)?1:-1}function ak(n){for(var A=n.tagName+n.className+n.src+n.href+n.textContent,t=A.length,i=0;t--;)i+=A.charCodeAt(t);return i.toString(36)}function sk(n){as.length=0;for(var A=n.getElementsByTagName("input"),t=A.length;t--;){var i=A[t];i.checked&&as.push(i)}}function gs(n){return setTimeout(n,0)}function Pc(n){return clearTimeout(n)}ss&&it(document,"touchmove",function(n){(Le.active||To)&&n.cancelable&&n.preventDefault()}),Le.utils={on:it,off:et,css:Re,find:Xh,is:function(A,t){return!!Xn(A,t,A,!1)},extend:O1,throttle:ep,closest:Xn,toggleClass:mn,clone:np,index:xn,nextTick:gs,cancelNextTick:Pc,detectDirection:sp,getChild:Po},Le.get=function(n){return n[En]},Le.mount=function(){for(var n=arguments.length,A=new Array(n),t=0;t<n;t++)A[t]=arguments[t];A[0].constructor===Array&&(A=A[0]),A.forEach(function(i){if(!i.prototype||!i.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(i));i.utils&&(Le.utils=qn(qn({},Le.utils),i.utils)),Mr.mount(i)})},Le.create=function(n,A){return new Le(n,A)},Le.version=K1;var vt=[],Rr,Hc,Kc=!1,Tc,Uc,us,Lr;function lk(){function n(){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 n.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?it(document,"dragover",this._handleAutoScroll):this.options.supportPointer?it(document,"pointermove",this._handleFallbackAutoScroll):i.touches?it(document,"touchmove",this._handleFallbackAutoScroll):it(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;!this.options.dragOverBubble&&!i.rootEl&&this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?et(document,"dragover",this._handleAutoScroll):(et(document,"pointermove",this._handleFallbackAutoScroll),et(document,"touchmove",this._handleFallbackAutoScroll),et(document,"mousemove",this._handleFallbackAutoScroll)),up(),ds(),$1()},nulling:function(){us=Hc=Rr=Kc=Lr=Tc=Uc=null,vt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var h=this,I=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,b=document.elementFromPoint(I,o);if(us=t,i||this.options.forceAutoScrollFallback||vr||hi||kr){Yc(t,this.options,b,i);var D=Si(b,!0);Kc&&(!Lr||I!==Tc||o!==Uc)&&(Lr&&up(),Lr=setInterval(function(){var w=Si(document.elementFromPoint(I,o),!0);w!==D&&(D=w,ds()),Yc(t,h.options,w,i)},10),Tc=I,Uc=o)}else{if(!this.options.bubbleScroll||Si(b,!0)===Vn()){ds();return}Yc(t,this.options,Si(b,!1),!1)}}},ui(n,{pluginName:"scroll",initializeByDefault:!0})}function ds(){vt.forEach(function(n){clearInterval(n.pid)}),vt=[]}function up(){clearInterval(Lr)}var Yc=ep(function(n,A,t,i){if(A.scroll){var h=(n.touches?n.touches[0]:n).clientX,I=(n.touches?n.touches[0]:n).clientY,o=A.scrollSensitivity,b=A.scrollSpeed,D=Vn(),w=!1,S;Hc!==t&&(Hc=t,ds(),Rr=A.scroll,S=A.scrollFn,Rr===!0&&(Rr=Si(t,!0)));var N=0,T=Rr;do{var $=T,K=Mt($),Y=K.top,v=K.bottom,Q=K.left,L=K.right,k=K.width,y=K.height,m=void 0,p=void 0,u=$.scrollWidth,s=$.scrollHeight,g=Re($),l=$.scrollLeft,d=$.scrollTop;$===D?(m=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),p=y<s&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(m=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"),p=y<s&&(g.overflowY==="auto"||g.overflowY==="scroll"));var B=m&&(Math.abs(L-h)<=o&&l+k<u)-(Math.abs(Q-h)<=o&&!!l),a=p&&(Math.abs(v-I)<=o&&d+y<s)-(Math.abs(Y-I)<=o&&!!d);if(!vt[N])for(var r=0;r<=N;r++)vt[r]||(vt[r]={});(vt[N].vx!=B||vt[N].vy!=a||vt[N].el!==$)&&(vt[N].el=$,vt[N].vx=B,vt[N].vy=a,clearInterval(vt[N].pid),(B!=0||a!=0)&&(w=!0,vt[N].pid=setInterval((function(){i&&this.layer===0&&Le.active._onTouchMove(us);var C=vt[this.layer].vy?vt[this.layer].vy*b:0,E=vt[this.layer].vx?vt[this.layer].vx*b:0;typeof S=="function"&&S.call(Le.dragged.parentNode[En],E,C,n,us,vt[this.layer].el)!=="continue"||tp(vt[this.layer].el,E,C)}).bind({layer:N}),24))),N++}while(A.bubbleScroll&&T!==D&&(T=Si(T,!1)));Kc=w}},30),dp=function(A){var t=A.originalEvent,i=A.putSortable,h=A.dragEl,I=A.activeSortable,o=A.dispatchSortableEvent,b=A.hideGhostForTarget,D=A.unhideGhostForTarget;if(t){var w=i||I;b();var S=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,N=document.elementFromPoint(S.clientX,S.clientY);D(),w&&!w.el.contains(N)&&(o("spill"),this.onSpill({dragEl:h,putSortable:i}))}};function Oc(){}Oc.prototype={startIndex:null,dragStart:function(A){var t=A.oldDraggableIndex;this.startIndex=t},onSpill:function(A){var t=A.dragEl,i=A.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var h=Po(this.sortable.el,this.startIndex,this.options);h?this.sortable.el.insertBefore(t,h):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:dp},ui(Oc,{pluginName:"revertOnSpill"});function $c(){}$c.prototype={onSpill:function(A){var t=A.dragEl,i=A.putSortable,h=i||this.sortable;h.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),h.animateAll()},drop:dp},ui($c,{pluginName:"removeOnSpill"}),Le.mount(new lk),Le.mount($c,Oc);var ck=Object.defineProperty,gk=Object.defineProperties,uk=Object.getOwnPropertyDescriptors,hp=Object.getOwnPropertySymbols,dk=Object.prototype.hasOwnProperty,hk=Object.prototype.propertyIsEnumerable,pp=(n,A,t)=>A in n?ck(n,A,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[A]=t,Ri=(n,A)=>{for(var t in A||(A={}))dk.call(A,t)&&pp(n,t,A[t]);if(hp)for(var t of hp(A))hk.call(A,t)&&pp(n,t,A[t]);return n},hs=(n,A)=>gk(n,uk(A));function Jc(n){n.parentElement!==null&&n.parentElement.removeChild(n)}function Bp(n,A,t){const i=t===0?n.children[0]:n.children[t-1].nextSibling;n.insertBefore(A,i)}function pk(){return typeof window<"u"?window.console:global.console}const Bk=pk();function Ck(n){const A=Object.create(null);return function(i){return A[i]||(A[i]=n(i))}}const mk=/-(\w)/g,Ek=Ck(n=>n.replace(mk,(A,t)=>t.toUpperCase())),Cp=["Start","Add","Remove","Update","End"],mp=["Choose","Unchoose","Sort","Filter","Clone"],Ep=["Move"],Qk=[Ep,Cp,mp].flatMap(n=>n).map(n=>`on${n}`),zc={manage:Ep,manageAndEmit:Cp,emit:mp};function Ik(n){return Qk.indexOf(n)!==-1}const fk=["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 wk(n){return fk.includes(n)}function bk(n){return["transition-group","TransitionGroup"].includes(n)}function Qp(n){return["id","class","role","style"].includes(n)||n.startsWith("data-")||n.startsWith("aria-")||n.startsWith("on")}function Ip(n){return n.reduce((A,[t,i])=>(A[t]=i,A),{})}function Dk({$attrs:n,componentData:A={}}){const t=Ip(Object.entries(n).filter(([i,h])=>Qp(i)));return Ri(Ri({},t),A)}function yk({$attrs:n,callBackBuilder:A}){const t=Ip(fp(n));Object.entries(A).forEach(([h,I])=>{zc[h].forEach(o=>{t[`on${o}`]=I(o)})});const i=`[data-draggable]${t.draggable||""}`;return hs(Ri({},t),{draggable:i})}function fp(n){return Object.entries(n).filter(([A,t])=>!Qp(A)).map(([A,t])=>[Ek(A),t]).filter(([A,t])=>!Ik(A))}const wp=n=>{const A=n.el||Array.isArray(n.children)&&n.children[0].el.parentNode;return A||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),A||{}},vk=(n,A)=>n.__draggable_context=A,bp=n=>n.__draggable_context;class kk{constructor({nodes:{header:A,default:t,footer:i},root:h,realList:I}){this.defaultNodes=t,this.children=[...A,...t,...i],this.externalComponent=h.externalComponent,this.rootTransition=h.transition,this.tag=h.tag,this.realList=I}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(A,t){const{tag:i,children:h,_isRootComponent:I}=this;return A(i,t,I?{default:()=>h}:h)}updated(){const{defaultNodes:A,realList:t}=this;A.forEach((i,h)=>{vk(wp(i),{element:t[h],index:h})})}getUnderlyingVm(A){return bp(A)}getVmIndexFromDomIndex(A,t){const{defaultNodes:i}=this,{length:h}=i,I=t.children,o=I.item(A);if(o===null)return h;const b=bp(o);if(b)return b.index;if(h===0)return 0;const D=wp(i[0]),w=[...I].findIndex(S=>S===D);return A<w?0:h}}function _k(n,A){const t=n[A];return t?t():[]}function Mk({$slots:n,realList:A,getKey:t}){const i=A||[],[h,I]=["header","footer"].map(D=>_k(n,D)),{item:o}=n;if(!o)throw new Error("draggable element must have an item slot");const b=i.flatMap((D,w)=>o({element:D,index:w}).map(S=>(S.key=t(D),S.props=hs(Ri({},S.props||{}),{"data-draggable":!0}),S)));if(b.length!==i.length)throw new Error("Item slot must have only one child");return{header:h,footer:I,default:b}}function xk(n){const A=bk(n),t=!wk(n)&&!A;return{transition:A,externalComponent:t,tag:t?e.resolveComponent(n):A?e.TransitionGroup:n}}function Sk({$slots:n,tag:A,realList:t,getKey:i}){const h=Mk({$slots:n,realList:t,getKey:i}),I=xk(A);return new kk({nodes:h,root:I,realList:t})}function Dp(n,A){e.nextTick(()=>this.$emit(n.toLowerCase(),A))}function yp(n){return(A,t)=>{if(this.realList!==null)return this[`onDrag${n}`](A,t)}}function Fk(n){const A=yp.call(this,n);return(t,i)=>{A.call(this,t,i),Dp.call(this,n,t)}}let Zc=null;const Nk={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:n=>n},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Rk=["update:modelValue","change",...[...zc.manageAndEmit,...zc.emit].map(n=>n.toLowerCase())],vp=e.defineComponent({name:"draggable",inheritAttrs:!1,props:Nk,emits:Rk,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:n,$attrs:A,tag:t,componentData:i,realList:h,getKey:I}=this,o=Sk({$slots:n,tag:t,realList:h,getKey:I});this.componentStructure=o;const b=Dk({$attrs:A,componentData:i});return o.render(e.h,b)}catch(n){return this.error=!0,e.h("pre",{style:{color:"red"}},n.stack)}},created(){this.list!==null&&this.modelValue!==null&&Bk.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:n,$el:A,componentStructure:t}=this;t.updated();const i=yk({$attrs:n,callBackBuilder:{manageAndEmit:I=>Fk.call(this,I),emit:I=>Dp.bind(this,I),manage:I=>yp.call(this,I)}}),h=A.nodeType===1?A:A.parentElement;this._sortable=new Le(h,i),this.targetDomElement=h,h.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:n}=this;return n||this.modelValue},getKey(){const{itemKey:n}=this;return typeof n=="function"?n:A=>A[n]}},watch:{$attrs:{handler(n){const{_sortable:A}=this;A&&fp(n).forEach(([t,i])=>{A.option(t,i)})},deep:!0}},methods:{getUnderlyingVm(n){return this.componentStructure.getUnderlyingVm(n)||null},getUnderlyingPotencialDraggableComponent(n){return n.__draggable_component__},emitChanges(n){e.nextTick(()=>this.$emit("change",n))},alterList(n){if(this.list){n(this.list);return}const A=[...this.modelValue];n(A),this.$emit("update:modelValue",A)},spliceList(){const n=A=>A.splice(...arguments);this.alterList(n)},updatePosition(n,A){const t=i=>i.splice(A,0,i.splice(n,1)[0]);this.alterList(t)},getRelatedContextFromMoveEvent({to:n,related:A}){const t=this.getUnderlyingPotencialDraggableComponent(n);if(!t)return{component:t};const i=t.realList,h={list:i,component:t};if(n!==A&&i){const I=t.getUnderlyingVm(A)||{};return Ri(Ri({},I),h)}return h},getVmIndexFromDomIndex(n){return this.componentStructure.getVmIndexFromDomIndex(n,this.targetDomElement)},onDragStart(n){this.context=this.getUnderlyingVm(n.item),n.item._underlying_vm_=this.clone(this.context.element),Zc=n.item},onDragAdd(n){const A=n.item._underlying_vm_;if(A===void 0)return;Jc(n.item);const t=this.getVmIndexFromDomIndex(n.newIndex);this.spliceList(t,0,A);const i={element:A,newIndex:t};this.emitChanges({added:i})},onDragRemove(n){if(Bp(this.$el,n.item,n.oldIndex),n.pullMode==="clone"){Jc(n.clone);return}const{index:A,element:t}=this.context;this.spliceList(A,1);const i={element:t,oldIndex:A};this.emitChanges({removed:i})},onDragUpdate(n){Jc(n.item),Bp(n.from,n.item,n.oldIndex);const A=this.context.index,t=this.getVmIndexFromDomIndex(n.newIndex);this.updatePosition(A,t);const i={element:this.context.element,oldIndex:A,newIndex:t};this.emitChanges({moved:i})},computeFutureIndex(n,A){if(!n.element)return 0;const t=[...A.to.children].filter(o=>o.style.display!=="none"),i=t.indexOf(A.related),h=n.component.getVmIndexFromDomIndex(i);return t.indexOf(Zc)!==-1||!A.willInsertAfter?h:h+1},onDragMove(n,A){const{move:t,realList:i}=this;if(!t||!i)return!0;const h=this.getRelatedContextFromMoveEvent(n),I=this.computeFutureIndex(h,n),o=hs(Ri({},this.context),{futureIndex:I}),b=hs(Ri({},n),{relatedContext:h,draggedContext:o});return t(b,A)},onDragEnd(){Zc=null}}}),io=e.defineComponent({__name:"FormItem",props:{label:{},name:{},component:{},required:{type:Boolean},props:{},initialValue:{},help:{},labelSuffix:{},children:{},hidden:{type:[Boolean,String]},hideLabel:{type:Boolean},designKey:{},rules:{},class:{},style:{},change:{},dialog:{type:Boolean},width:{}},setup(n){const A=n,t=kt(),i=$o(),h=e.reactive({visible:!1,title:""}),I=()=>{h.visible=!0,h.title=A.label},o=e.computed({get(){return Ca(t.formValues,A.name)},set($){const K=vo(t.formValues,A.name,$);t.updateFormValues(K)}}),b=e.computed(()=>{const{rules:$,required:K,component:Y}=A,v=[];if(K&&v.push({required:!0,trigger:"blur",message:"Required"}),$){const Q=$.map(L=>{const{type:k,message:y,trigger:m,customReg:p,templateExp:u}=L,s={message:y,trigger:m};return["email","url"].includes(k)?{...s,type:k}:k==="custom"&&p?{...s,pattern:fm(p)}:Im(k)?{...s,pattern:k}:k==="template"?{...s,validator:()=>u}:{}});return[...v,...Q]}if(Y==="VerifyCode"){const Q={trigger:"blur",message:"验证码错误!",validator:()=>t.vCodePass};return[...v,Q]}return v}),D=e.computed(()=>{const $=i[A.component]||{};return $.modelName||($.modelName="modelValue"),$}),w=e.computed(()=>{const $={name:A.name,...A.props};return A.children&&($.children=A.children),$}),S=()=>{if(A.component!=="DragList")return[];const $=w.value.gridlayout||[],K=w.value.children||[],Y=w.value.rowHeight||30;return $.map((v,Q)=>{var L;return{...v,i:(L=K[Q])==null?void 0:L.name,rowHeight:Y}})},N=e.ref(S()),T=$=>$==null?void 0:$.replace(/&nbsp;/g," ");return e.onBeforeMount(()=>{if(o.value===void 0&&A.initialValue!==void 0&&!t.design){const $=vo(t.initialValues,A.name,A.initialValue);t.updateInitialValues($),o.value=A.initialValue}}),e.watch(o,($,K)=>{const Y=A.change,v=ht.isEqual($,K);if(!Y||v)return;let Q=ht.cloneDeep(t.formValues);Y.forEach(({target:L,value:k,condition:y})=>{if(y!==!1){if(L.includes(".*.")){const m=L.split(".*."),p=m.pop(),u=m.join("."),s=Ca(t.formValues,u);ht.isArray(s)&&(Q=vo(Q,u,s.map(g=>({...g,[p]:k}))));return}Q=vo(Q,L,k)}}),t.updateFormValues(Q)},{immediate:!0}),($,K)=>{var k;const Y=e.resolveComponent("el-tooltip"),v=e.resolveComponent("el-dialog"),Q=e.resolveComponent("el-button"),L=e.resolveComponent("el-form-item");return e.unref(t).design||!$.hidden?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[D.value.component==="DragList"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(D.value.render),e.mergeProps({key:0},w.value,{style:{minWidth:0},gridlayout:N.value,"onUpdate:gridlayout":K[0]||(K[0]=y=>N.value=y)}),null,16,["gridlayout"])):D.value.type==="layout"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(D.value.render),e.mergeProps({key:1},w.value,{style:{minWidth:0}}),null,16)):D.value.type==="assist"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(D.value.render),e.normalizeProps(e.mergeProps({key:2},w.value)),null,16)):(e.openBlock(),e.createBlock(L,{class:e.normalizeClass([e.unref(je)("form-item"),A.class,`${$.component}-${$.name}`,{readMode:(k=A.props)==null?void 0:k.read}]),style:e.normalizeStyle($.style),key:$.name,prop:$.name,"label-width":$.hideLabel?"0":e.unref(t).schema.labelWidth,rules:b.value},e.createSlots({default:e.withCtx(()=>[$.dialog?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(v,{modelValue:h.visible,"onUpdate:modelValue":K[2]||(K[2]=y=>h.visible=y),title:h.title,width:"70%",center:"","destroy-on-close":""},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(D.value.render),e.mergeProps({size:e.unref(t).schema.size},w.value,{disabled:e.unref(t).schema.disabled,[D.value.modelName]:o.value,["onUpdate:"+D.value.modelName]:K[1]||(K[1]=y=>o.value=y)}),null,16,["size","disabled"]))]),_:1},8,["modelValue","title"]),e.createVNode(Q,{type:"primary",plain:"",onClick:I},{default:e.withCtx(()=>K[4]||(K[4]=[e.createTextVNode("配置")])),_:1})],64)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(D.value.render),e.mergeProps({key:1,size:e.unref(t).schema.size,disabled:e.unref(t).schema.disabled},e.unref(sn)(w.value,e.unref(t).context),{[D.value.modelName]:o.value,["onUpdate:"+D.value.modelName]:K[3]||(K[3]=y=>o.value=y)}),null,16,["size","disabled"]))]),_:2},[$.hideLabel?void 0:{name:"label",fn:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(je)("form-item-label"),$.label&&`${$.name}-label`])},[e.createElementVNode("div",{style:e.normalizeStyle(e.unref(t).schema.labelBold&&"font-weight: bold")},e.toDisplayString(T($.label)),5),$.help?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(je)("form-item-label-ico"))},[e.createVNode(Y,{effect:"dark",content:$.help},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(be),{name:"help"})])]),_:1},8,["content"])],2)):e.createCommentVNode("",!0),$.labelSuffix?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(je)("form-item-label-suffix"))},[$.labelSuffix.component==="Popover"?(e.openBlock(),e.createBlock(CB,e.normalizeProps(e.mergeProps({key:0},e.unref(sn)($.labelSuffix.props,e.unref(t).context))),null,16)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],2)]),key:"0"}]),1032,["class","style","prop","label-width","rules"]))],64)):e.createCommentVNode("",!0)}}}),Lk={key:0,class:"actions-lt"},Gk={class:"canvas-move",size:"small",type:"primary"},Pk={key:1,class:"hidden-ico"},Hk={key:2,class:"actions-rb"},Kk=["onClick"],Tk={key:3,class:"layout-title"},Uk=e.defineComponent({__name:"CanvasItem",props:{data:{}},setup(n){const A=n,t=Sn(),h=$o()[A.data.component],I=e.computed(()=>{var T;return{[je("canvas-item")]:!0,active:A.data.designKey===((T=t.current)==null?void 0:T.designKey),hover:A.data.designKey===t.hoverKey,mask:A.data.designKey===t.hoverKey&&!A.data.children,collapse:w.value}}),o=()=>{A.data.designKey&&t.updateHoverKey(A.data.designKey)},b=()=>{t.updateHoverKey("")},D=T=>{t.updateCurrent(T),t.rightTab="attr"},w=e.ref(!1),S=()=>{w.value=!w.value},N=[{icon:"copy",handle:T=>{const $=Ld(t.list,T.designKey);t.updateList($)}},{icon:"delete",bg:"var(--el-color-danger)",handle:T=>{const $=fu(t.list,K=>K.designKey!==T.designKey);t.updateList($)}}];return(T,$)=>{var K,Y;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(I.value),onClick:$[0]||($[0]=e.withModifiers(v=>D(T.data),["stop"])),onMousemove:e.withModifiers(o,["stop"]),onMouseleave:e.withModifiers(b,["stop"])},[T.data.designKey===((K=e.unref(t).current)==null?void 0:K.designKey)?(e.openBlock(),e.createElementBlock("div",Lk,[e.createElementVNode("div",Gk,[e.createVNode(e.unref(be),{name:"move"})]),e.createElementVNode("div",{class:"canvas-collapse",size:"small",type:"primary",onClick:S},[e.createVNode(e.unref(be),{name:"select"})])])):e.createCommentVNode("",!0),T.data.hidden?(e.openBlock(),e.createElementBlock("div",Pk,[e.createVNode(e.unref(be),{name:"hidden"})])):e.createCommentVNode("",!0),T.data.designKey===((Y=e.unref(t).current)==null?void 0:Y.designKey)?(e.openBlock(),e.createElementBlock("ul",Hk,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(N,({icon:v,handle:Q,bg:L})=>e.createElementVNode("li",{class:"actions-rb-item",onClick:e.withModifiers(k=>Q(T.data),["stop"]),key:v,style:e.normalizeStyle({backgroundColor:L})},[e.createVNode(e.unref(be),{name:v},null,8,["name"])],12,Kk)),64))])):e.createCommentVNode("",!0),e.unref(h).lbTitle?(e.openBlock(),e.createElementBlock("div",Tk,e.toDisplayString(e.unref(h).title),1)):e.createCommentVNode("",!0),e.createVNode(io,e.mergeProps(T.data,{props:T.data.props}),null,16,["props"])],34)}}}),Wc=e.defineComponent({__name:"CanvasGroup",props:{list:{},style:{},class:{},emptyText:{default:"请拖入子字段"},emptySize:{default:12}},setup(n){const A=n,t=Sn(),i=h=>{const I=h.item._underlying_vm_;t.updateCurrent(Ac(t.list,I.designKey)),t.hoverKey=I.designKey,t.rightTab="attr",t.handleEmit("add",I)};return(h,I)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("canvas-group")),style:e.normalizeStyle({overflow:h.list.length?"auto":"hidden"})},[h.list.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(je)("canvas-group-empty")),style:e.normalizeStyle({fontSize:h.emptySize+"px"})},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(je)("canvas-group-empty-ico"))},[e.createVNode(e.unref(be),{name:"add"})],2),e.createElementVNode("p",null,e.toDisplayString(h.emptyText),1)],6)),e.createVNode(e.unref(vp),{list:h.list,group:"formDesign",itemKey:"name","ghost-class":e.unref(je)("canvas-group-ghost"),class:e.normalizeClass([e.unref(je)("canvas-group-draggable"),A.class]),style:e.normalizeStyle(h.style),animation:300,handle:".canvas-move","force-fallback":"",onAdd:i},{item:e.withCtx(({element:o})=>[o.designKey?(e.openBlock(),e.createBlock(Uk,{key:0,data:o},null,8,["data"])):e.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),Yk=typeof window<"u";var kp;Yk&&((kp=window==null?void 0:window.navigator)!=null&&kp.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function In(n){return n==null}function _p(){}const Ok=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Ok)));function $k(){const n=new Map;return{on(A,t){const i=n.get(A);i!=null&&i.add(t)||n.set(A,new Set([t]))},off(A,t){const i=n.get(A);i&&i.delete(t)},clear(A){const t=n.get(A);t&&t.clear()},clearAll(){n.clear()},emit(A,...t){const i=n.get(A);i&&i.forEach(h=>{h(...t)})}}}function Mp(n,A=16){if(typeof n!="function")return _p;const t=(...I)=>{n(...I)};if(A<=0)return xp(t);let i=0,h;return function(...I){const o=Date.now(),b=o-i;clearTimeout(h),b>=A?(i=o,t(...I)):h=setTimeout(()=>{i=Date.now(),t(...I)},Math.max(0,A-b))}}function Jk(n,A=100){if(typeof n!="function")return _p;const t=(...h)=>{n(...h)};if(A<=0)return xp(t);let i;return function(...h){clearTimeout(i),i=setTimeout(()=>{t(...h)},A)}}function xp(n){if(typeof n!="function")return n;let A=!1,t,i;return function(...h){return t=h,A||(A=!0,i=Promise.resolve().then(()=>(A=!1,i=void 0,n(...t)))),i}}const Gr=new Set,Sp=new WeakMap;function zk(){Gr.forEach(n=>{n(...Sp.get(n))}),Gr.clear()}function Zt(n,...A){if(typeof n!="function")return n;Sp.set(n,A),!Gr.has(n)&&(Gr.add(n),Gr.size===1&&Promise.resolve().then(zk))}const Fp=Symbol("LAYOUT_KEY"),Np=Symbol("EMITTER_KEY");function Zk(n){let A=0,t;for(let i=0,h=n.length;i<h;i++)t=n[i].y+n[i].h,t>A&&(A=t);return A}function jc(n){const A=Array(n.length);for(let t=0,i=n.length;t<i;t++)A[t]=Wk(n[t]);return A}function Wk(n){return{...n}}function Rp(n,A){return!(n===A||n.x+n.w<=A.x||n.x>=A.x+A.w||n.y+n.h<=A.y||n.y>=A.y+A.h)}function Yo(n,A,t){const i=Pp(n),h=Kp(n),I=Array(n.length);for(let o=0,b=h.length;o<b;o++){let D=h[o];D.static||(D=jk(i,D,A,t),i.push(D)),I[n.findIndex(w=>w.i===D.i)]=D,D.moved=!1}return I}function jk(n,A,t,i){if(t)for(;A.y>0&&!Pr(n,A);)A.y--;else if(i){const I=i[A.i].y;for(;A.y>I&&!Pr(n,A);)A.y--}let h;for(;h=Pr(n,A);)A.y=h.y+h.h;return A}function qk(n,A){const t=Pp(n);for(let i=0,h=n.length;i<h;i++){const I=n[i];if(I.x+I.w>A.cols&&(I.x=A.cols-I.w),I.x<0&&(I.x=0,I.w=A.cols),!I.static)t.push(I);else for(;Pr(t,I);)I.y++}return n}function Lp(n,A){for(let t=0,i=n.length;t<i;t++)if(n[t].i===A)return n[t]}function Pr(n,A){for(let t=0,i=n.length;t<i;t++)if(Rp(n[t],A))return n[t]}function Gp(n,A){return n.filter(t=>Rp(t,A))}function Pp(n){return n.filter(A=>A.static)}function qc(n,A,t,i,h=!1,I=!1){if(A.static)return n;const o=A.x,b=A.y,D=i&&A.y>i;typeof t=="number"&&(A.x=t),typeof i=="number"&&(A.y=i),A.moved=!0;let w=Kp(n);D&&(w=w.reverse());const S=Gp(w,A);if(I&&S.length)return A.x=o,A.y=b,A.moved=!1,n;for(let N=0,T=S.length;N<T;N++){const $=S[N];$.moved||A.y>$.y&&A.y-$.y>$.h/4||($.static?n=Hp(n,$,A,h):n=Hp(n,A,$,h))}return n}function Hp(n,A,t,i){if(i){const h={x:t.x,y:t.y,w:t.w,h:t.h};if(h.y=Math.max(A.y-t.h,0),!Pr(n,h))return qc(n,t,void 0,h.y,!1)}return qc(n,t,void 0,t.y+1,!1)}function Xk(n,A,t,i){const h="translate3d("+A+"px,"+n+"px, 0)";return{transform:h,WebkitTransform:h,MozTransform:h,msTransform:h,OTransform:h,width:t+"px",height:i+"px",position:"absolute"}}function Vk(n,A,t,i){const h="translate3d("+A*-1+"px,"+n+"px, 0)";return{transform:h,WebkitTransform:h,MozTransform:h,msTransform:h,OTransform:h,width:t+"px",height:i+"px",position:"absolute"}}function A_(n,A,t,i){return{top:n+"px",left:A+"px",width:t+"px",height:i+"px",position:"absolute"}}function e_(n,A,t,i){return{top:n+"px",right:A+"px",width:t+"px",height:i+"px",position:"absolute"}}function Kp(n){return Array.from(n).sort(function(A,t){return A.y===t.y&&A.x===t.x?0:A.y>t.y||A.y===t.y&&A.x>t.x?1:-1})}function t_(n,A){A=A||"Layout";const t=["x","y","w","h"],i=[];if(!Array.isArray(n))throw new Error(A+" must be an array!");for(let h=0,I=n.length;h<I;h++){const o=n[h];for(let b=0;b<t.length;b++)if(typeof o[t[b]]!="number")throw new Error("VueGridLayout: "+A+"["+h+"]."+t[b]+" must be a number!");if(o.i===void 0||o.i===null)throw new Error("VueGridLayout: "+A+"["+h+"].i cannot be null!");if(typeof o.i!="number"&&typeof o.i!="string")throw new Error("VueGridLayout: "+A+"["+h+"].i must be a string or number!");if(i.indexOf(o.i)>=0)throw new Error("VueGridLayout: "+A+"["+h+"].i must be unique!");if(i.push(o.i),o.static!==void 0&&typeof o.static!="boolean")throw new Error("VueGridLayout: "+A+"["+h+"].static must be a boolean!")}}function n_(n,A="vgl"){const t=()=>`${A}-${n}`;return{b:t,be:i=>`${t()}__${i}`,bm:i=>`${t()}--${i}`,bem:(i,h)=>`${t()}__${i}--${h}`}}function Tp(n){return i_(n)}function i_(n){var A;const t=((A=n.target)==null?void 0:A.offsetParent)||document.body,i=n.offsetParent===document.body?{left:0,top:0}:t.getBoundingClientRect(),h=n.clientX+t.scrollLeft-i.left,I=n.clientY+t.scrollTop-i.top;return{x:h,y:I}}function Up(n,A,t,i){return o_(n)?{deltaX:t-n,deltaY:i-A,lastX:n,lastY:A,x:t,y:i}:{deltaX:0,deltaY:0,lastX:t,lastY:i,x:t,y:i}}function o_(n){return typeof n=="number"&&!Number.isNaN(n)}function r_(n,A){const t=Op(n);let i=t[0];for(let h=1,I=t.length;h<I;h++){const o=t[h];A>n[o]&&(i=o)}return i}function Yp(n,A){if(!A[n])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+n+" is missing!");return A[n]}function a_(n,A,t,i,h,I,o){if(A[i])return jc(A[i]);let b=n;const D=Op(t),w=D.slice(D.indexOf(i));for(let S=0,N=w.length;S<N;S++){const T=w[S];if(A[T]){b=A[T];break}}return b=jc(b||[]),Yo(qk(b,{cols:I}),o)}function Op(n){return Object.keys(n).sort((A,t)=>n[A]-n[t])}let s_="auto";function l_(){return typeof document<"u"}function $p(){return l_()?typeof document.dir<"u"?document.dir:document.getElementsByTagName("html")[0].getAttribute("dir"):s_}var ps={exports:{}};ps.exports,function(n,A){(function(t,i){n.exports=i()})(yo,function(){function t(R,F){var Z=Object.keys(R);if(Object.getOwnPropertySymbols){var nA=Object.getOwnPropertySymbols(R);F&&(nA=nA.filter(function(lA){return Object.getOwnPropertyDescriptor(R,lA).enumerable})),Z.push.apply(Z,nA)}return Z}function i(R){for(var F=1;F<arguments.length;F++){var Z=arguments[F]!=null?arguments[F]:{};F%2?t(Object(Z),!0).forEach(function(nA){D(R,nA,Z[nA])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(Z)):t(Object(Z)).forEach(function(nA){Object.defineProperty(R,nA,Object.getOwnPropertyDescriptor(Z,nA))})}return R}function h(R){return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},h(R)}function I(R,F){if(!(R instanceof F))throw new TypeError("Cannot call a class as a function")}function o(R,F){for(var Z=0;Z<F.length;Z++){var nA=F[Z];nA.enumerable=nA.enumerable||!1,nA.configurable=!0,"value"in nA&&(nA.writable=!0),Object.defineProperty(R,Y(nA.key),nA)}}function b(R,F,Z){return F&&o(R.prototype,F),Object.defineProperty(R,"prototype",{writable:!1}),R}function D(R,F,Z){return(F=Y(F))in R?Object.defineProperty(R,F,{value:Z,enumerable:!0,configurable:!0,writable:!0}):R[F]=Z,R}function w(R,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(F&&F.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),F&&N(R,F)}function S(R){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},S(R)}function N(R,F){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Z,nA){return Z.__proto__=nA,Z},N(R,F)}function T(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function $(R){var F=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Z,nA=S(R);if(F){var lA=S(this).constructor;Z=Reflect.construct(nA,arguments,lA)}else Z=nA.apply(this,arguments);return function(uA,mA){if(mA&&(typeof mA=="object"||typeof mA=="function"))return mA;if(mA!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return T(uA)}(this,Z)}}function K(){return K=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(R,F,Z){var nA=function(uA,mA){for(;!Object.prototype.hasOwnProperty.call(uA,mA)&&(uA=S(uA))!==null;);return uA}(R,F);if(nA){var lA=Object.getOwnPropertyDescriptor(nA,F);return lA.get?lA.get.call(arguments.length<3?R:Z):lA.value}},K.apply(this,arguments)}function Y(R){var F=function(Z,nA){if(typeof Z!="object"||Z===null)return Z;var lA=Z[Symbol.toPrimitive];if(lA!==void 0){var uA=lA.call(Z,nA);if(typeof uA!="object")return uA;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Z)}(R,"string");return typeof F=="symbol"?F:F+""}var v=function(R){return!(!R||!R.Window)&&R instanceof R.Window},Q=void 0,L=void 0;function k(R){Q=R;var F=R.document.createTextNode("");F.ownerDocument!==R.document&&typeof R.wrap=="function"&&R.wrap(F)===F&&(R=R.wrap(R)),L=R}function y(R){return v(R)?R:(R.ownerDocument||R).defaultView||L.window}typeof window<"u"&&window&&k(window);var m=function(R){return!!R&&h(R)==="object"},p=function(R){return typeof R=="function"},u={window:function(R){return R===L||v(R)},docFrag:function(R){return m(R)&&R.nodeType===11},object:m,func:p,number:function(R){return typeof R=="number"},bool:function(R){return typeof R=="boolean"},string:function(R){return typeof R=="string"},element:function(R){if(!R||h(R)!=="object")return!1;var F=y(R)||L;return/object|function/.test(typeof Element>"u"?"undefined":h(Element))?R instanceof Element||R instanceof F.Element:R.nodeType===1&&typeof R.nodeName=="string"},plainObject:function(R){return m(R)&&!!R.constructor&&/function Object\b/.test(R.constructor.toString())},array:function(R){return m(R)&&R.length!==void 0&&p(R.splice)}};function s(R){var F=R.interaction;if(F.prepared.name==="drag"){var Z=F.prepared.axis;Z==="x"?(F.coords.cur.page.y=F.coords.start.page.y,F.coords.cur.client.y=F.coords.start.client.y,F.coords.velocity.client.y=0,F.coords.velocity.page.y=0):Z==="y"&&(F.coords.cur.page.x=F.coords.start.page.x,F.coords.cur.client.x=F.coords.start.client.x,F.coords.velocity.client.x=0,F.coords.velocity.page.x=0)}}function g(R){var F=R.iEvent,Z=R.interaction;if(Z.prepared.name==="drag"){var nA=Z.prepared.axis;if(nA==="x"||nA==="y"){var lA=nA==="x"?"y":"x";F.page[lA]=Z.coords.start.page[lA],F.client[lA]=Z.coords.start.client[lA],F.delta[lA]=0}}}var l={id:"actions/drag",install:function(R){var F=R.actions,Z=R.Interactable,nA=R.defaults;Z.prototype.draggable=l.draggable,F.map.drag=l,F.methodDict.drag="draggable",nA.actions.drag=l.defaults},listeners:{"interactions:before-action-move":s,"interactions:action-resume":s,"interactions:action-move":g,"auto-start:check":function(R){var F=R.interaction,Z=R.interactable,nA=R.buttons,lA=Z.options.drag;if(lA&&lA.enabled&&(!F.pointerIsDown||!/mouse|pointer/.test(F.pointerType)||nA&Z.options.drag.mouseButtons))return R.action={name:"drag",axis:lA.lockAxis==="start"?lA.startAxis:lA.lockAxis},!1}},draggable:function(R){return u.object(R)?(this.options.drag.enabled=R.enabled!==!1,this.setPerAction("drag",R),this.setOnEvents("drag",R),/^(xy|x|y|start)$/.test(R.lockAxis)&&(this.options.drag.lockAxis=R.lockAxis),/^(xy|x|y)$/.test(R.startAxis)&&(this.options.drag.startAxis=R.startAxis),this):u.bool(R)?(this.options.drag.enabled=R,this):this.options.drag},beforeMove:s,move:g,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(R){return R.search("drag")===0}},d=l,B={init:function(R){var F=R;B.document=F.document,B.DocumentFragment=F.DocumentFragment||a,B.SVGElement=F.SVGElement||a,B.SVGSVGElement=F.SVGSVGElement||a,B.SVGElementInstance=F.SVGElementInstance||a,B.Element=F.Element||a,B.HTMLElement=F.HTMLElement||B.Element,B.Event=F.Event,B.Touch=F.Touch||a,B.PointerEvent=F.PointerEvent||F.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function a(){}var r=B,C={init:function(R){var F=r.Element,Z=R.navigator||{};C.supportsTouch="ontouchstart"in R||u.func(R.DocumentTouch)&&r.document instanceof R.DocumentTouch,C.supportsPointerEvent=Z.pointerEnabled!==!1&&!!r.PointerEvent,C.isIOS=/iP(hone|od|ad)/.test(Z.platform),C.isIOS7=/iP(hone|od|ad)/.test(Z.platform)&&/OS 7[^\d]/.test(Z.appVersion),C.isIe9=/MSIE 9/.test(Z.userAgent),C.isOperaMobile=Z.appName==="Opera"&&C.supportsTouch&&/Presto/.test(Z.userAgent),C.prefixedMatchesSelector="matches"in F.prototype?"matches":"webkitMatchesSelector"in F.prototype?"webkitMatchesSelector":"mozMatchesSelector"in F.prototype?"mozMatchesSelector":"oMatchesSelector"in F.prototype?"oMatchesSelector":"msMatchesSelector",C.pEventTypes=C.supportsPointerEvent?r.PointerEvent===R.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,C.wheelEvent=r.document&&"onmousewheel"in r.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},E=C;function M(R,F){if(R.contains)return R.contains(F);for(;F;){if(F===R)return!0;F=F.parentNode}return!1}function x(R,F){for(;u.element(R);){if(G(R,F))return R;R=P(R)}return null}function P(R){var F=R.parentNode;if(u.docFrag(F)){for(;(F=F.host)&&u.docFrag(F););return F}return F}function G(R,F){return L!==Q&&(F=F.replace(/\/deep\//g," ")),R[E.prefixedMatchesSelector](F)}var J=function(R){return R.parentNode||R.host};function q(R,F){for(var Z,nA=[],lA=R;(Z=J(lA))&&lA!==F&&Z!==lA.ownerDocument;)nA.unshift(lA),lA=Z;return nA}function W(R,F,Z){for(;u.element(R);){if(G(R,F))return!0;if((R=P(R))===Z)return G(R,F)}return!1}function z(R){return R.correspondingUseElement||R}function eA(R){var F=R instanceof r.SVGElement?R.getBoundingClientRect():R.getClientRects()[0];return F&&{left:F.left,right:F.right,top:F.top,bottom:F.bottom,width:F.width||F.right-F.left,height:F.height||F.bottom-F.top}}function _(R){var F,Z=eA(R);if(!E.isIOS7&&Z){var nA={x:(F=(F=y(R))||L).scrollX||F.document.documentElement.scrollLeft,y:F.scrollY||F.document.documentElement.scrollTop};Z.left+=nA.x,Z.right+=nA.x,Z.top+=nA.y,Z.bottom+=nA.y}return Z}function V(R){for(var F=[];R;)F.push(R),R=P(R);return F}function H(R){return!!u.string(R)&&(r.document.querySelector(R),!0)}function AA(R,F){for(var Z in F)R[Z]=F[Z];return R}function aA(R,F,Z){return R==="parent"?P(Z):R==="self"?F.getRect(Z):x(Z,R)}function oA(R,F,Z,nA){var lA=R;return u.string(lA)?lA=aA(lA,F,Z):u.func(lA)&&(lA=lA.apply(void 0,nA)),u.element(lA)&&(lA=_(lA)),lA}function dA(R){return R&&{x:"x"in R?R.x:R.left,y:"y"in R?R.y:R.top}}function pA(R){return!R||"x"in R&&"y"in R||((R=AA({},R)).x=R.left||0,R.y=R.top||0,R.width=R.width||(R.right||0)-R.x,R.height=R.height||(R.bottom||0)-R.y),R}function iA(R,F,Z){R.left&&(F.left+=Z.x),R.right&&(F.right+=Z.x),R.top&&(F.top+=Z.y),R.bottom&&(F.bottom+=Z.y),F.width=F.right-F.left,F.height=F.bottom-F.top}function CA(R,F,Z){var nA=Z&&R.options[Z];return dA(oA(nA&&nA.origin||R.options.origin,R,F,[R&&F]))||{x:0,y:0}}function j(R,F){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(DA){return!0},nA=arguments.length>3?arguments[3]:void 0;if(nA=nA||{},u.string(R)&&R.search(" ")!==-1&&(R=sA(R)),u.array(R))return R.forEach(function(DA){return j(DA,F,Z,nA)}),nA;if(u.object(R)&&(F=R,R=""),u.func(F)&&Z(R))nA[R]=nA[R]||[],nA[R].push(F);else if(u.array(F))for(var lA=0,uA=F;lA<uA.length;lA++){var mA=uA[lA];j(R,mA,Z,nA)}else if(u.object(F))for(var IA in F)j(sA(IA).map(function(DA){return"".concat(R).concat(DA)}),F[IA],Z,nA);return nA}function sA(R){return R.trim().split(/ +/)}var gA=function(R,F){return Math.sqrt(R*R+F*F)},hA=["webkit","moz"];function O(R,F){R.__set||(R.__set={});var Z=function(lA){if(hA.some(function(uA){return lA.indexOf(uA)===0}))return 1;typeof R[lA]!="function"&&lA!=="__set"&&Object.defineProperty(R,lA,{get:function(){return lA in R.__set?R.__set[lA]:R.__set[lA]=F[lA]},set:function(uA){R.__set[lA]=uA},configurable:!0})};for(var nA in F)Z(nA);return R}function X(R,F){R.page=R.page||{},R.page.x=F.page.x,R.page.y=F.page.y,R.client=R.client||{},R.client.x=F.client.x,R.client.y=F.client.y,R.timeStamp=F.timeStamp}function tA(R){R.page.x=0,R.page.y=0,R.client.x=0,R.client.y=0}function cA(R){return R instanceof r.Event||R instanceof r.Touch}function EA(R,F,Z){return R=R||"page",(Z=Z||{}).x=F[R+"X"],Z.y=F[R+"Y"],Z}function _A(R,F){return F=F||{x:0,y:0},E.isOperaMobile&&cA(R)?(EA("screen",R,F),F.x+=window.scrollX,F.y+=window.scrollY):EA("page",R,F),F}function YA(R){return u.number(R.pointerId)?R.pointerId:R.identifier}function zA(R,F,Z){var nA=F.length>1?jA(F):F[0];_A(nA,R.page),function(lA,uA){uA=uA||{},E.isOperaMobile&&cA(lA)?EA("screen",lA,uA):EA("client",lA,uA)}(nA,R.client),R.timeStamp=Z}function XA(R){var F=[];return u.array(R)?(F[0]=R[0],F[1]=R[1]):R.type==="touchend"?R.touches.length===1?(F[0]=R.touches[0],F[1]=R.changedTouches[0]):R.touches.length===0&&(F[0]=R.changedTouches[0],F[1]=R.changedTouches[1]):(F[0]=R.touches[0],F[1]=R.touches[1]),F}function jA(R){for(var F={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},Z=0;Z<R.length;Z++){var nA=R[Z];for(var lA in F)F[lA]+=nA[lA]}for(var uA in F)F[uA]/=R.length;return F}function pe(R){if(!R.length)return null;var F=XA(R),Z=Math.min(F[0].pageX,F[1].pageX),nA=Math.min(F[0].pageY,F[1].pageY),lA=Math.max(F[0].pageX,F[1].pageX),uA=Math.max(F[0].pageY,F[1].pageY);return{x:Z,y:nA,left:Z,top:nA,right:lA,bottom:uA,width:lA-Z,height:uA-nA}}function ae(R,F){var Z=F+"X",nA=F+"Y",lA=XA(R),uA=lA[0][Z]-lA[1][Z],mA=lA[0][nA]-lA[1][nA];return gA(uA,mA)}function LA(R,F){var Z=F+"X",nA=F+"Y",lA=XA(R),uA=lA[1][Z]-lA[0][Z],mA=lA[1][nA]-lA[0][nA];return 180*Math.atan2(mA,uA)/Math.PI}function SA(R){return u.string(R.pointerType)?R.pointerType:u.number(R.pointerType)?[void 0,void 0,"touch","pen","mouse"][R.pointerType]:/touch/.test(R.type||"")||R instanceof r.Touch?"touch":"mouse"}function ZA(R){var F=u.func(R.composedPath)?R.composedPath():R.path;return[z(F?F[0]:R.target),z(R.currentTarget)]}var Ce=function(){function R(F){I(this,R),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=F}return b(R,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),R}();Object.defineProperty(Ce.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var ye=function(R,F){for(var Z=0;Z<F.length;Z++){var nA=F[Z];R.push(nA)}return R},xe=function(R){return ye([],R)},UA=function(R,F){for(var Z=0;Z<R.length;Z++)if(F(R[Z],Z,R))return Z;return-1},$A=function(R,F){return R[UA(R,F)]},qA=function(R){w(Z,R);var F=$(Z);function Z(nA,lA,uA){var mA;I(this,Z),(mA=F.call(this,lA._interaction)).dropzone=void 0,mA.dragEvent=void 0,mA.relatedTarget=void 0,mA.draggable=void 0,mA.propagationStopped=!1,mA.immediatePropagationStopped=!1;var IA=uA==="dragleave"?nA.prev:nA.cur,DA=IA.element,xA=IA.dropzone;return mA.type=uA,mA.target=DA,mA.currentTarget=DA,mA.dropzone=xA,mA.dragEvent=lA,mA.relatedTarget=lA.target,mA.draggable=lA.interactable,mA.timeStamp=lA.timeStamp,mA}return b(Z,[{key:"reject",value:function(){var nA=this,lA=this._interaction.dropState;if(this.type==="dropactivate"||this.dropzone&&lA.cur.dropzone===this.dropzone&&lA.cur.element===this.target)if(lA.prev.dropzone=this.dropzone,lA.prev.element=this.target,lA.rejected=!0,lA.events.enter=null,this.stopImmediatePropagation(),this.type==="dropactivate"){var uA=lA.activeDrops,mA=UA(uA,function(DA){var xA=DA.dropzone,yA=DA.element;return xA===nA.dropzone&&yA===nA.target});lA.activeDrops.splice(mA,1);var IA=new Z(lA,this.dragEvent,"dropdeactivate");IA.dropzone=this.dropzone,IA.target=this.target,this.dropzone.fire(IA)}else this.dropzone.fire(new Z(lA,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),Z}(Ce);function de(R,F){for(var Z=0,nA=R.slice();Z<nA.length;Z++){var lA=nA[Z],uA=lA.dropzone,mA=lA.element;F.dropzone=uA,F.target=mA,uA.fire(F),F.propagationStopped=F.immediatePropagationStopped=!1}}function le(R,F){for(var Z=function(uA,mA){for(var IA=[],DA=0,xA=uA.interactables.list;DA<xA.length;DA++){var yA=xA[DA];if(yA.options.drop.enabled){var GA=yA.options.drop.accept;if(!(u.element(GA)&&GA!==mA||u.string(GA)&&!G(mA,GA)||u.func(GA)&&!GA({dropzone:yA,draggableElement:mA})))for(var WA=0,se=yA.getAllElements();WA<se.length;WA++){var oe=se[WA];oe!==mA&&IA.push({dropzone:yA,element:oe,rect:yA.getRect(oe)})}}}return IA}(R,F),nA=0;nA<Z.length;nA++){var lA=Z[nA];lA.rect=lA.dropzone.getRect(lA.element)}return Z}function Ee(R,F,Z){for(var nA=R.dropState,lA=R.interactable,uA=R.element,mA=[],IA=0,DA=nA.activeDrops;IA<DA.length;IA++){var xA=DA[IA],yA=xA.dropzone,GA=xA.element,WA=xA.rect,se=yA.dropCheck(F,Z,lA,uA,GA,WA);mA.push(se?GA:null)}var oe=function(ue){for(var De,Qe,vA,TA=[],PA=0;PA<ue.length;PA++){var VA=ue[PA],Be=ue[De];if(VA&&PA!==De)if(Be){var Pe=J(VA),He=J(Be);if(Pe!==VA.ownerDocument)if(He!==VA.ownerDocument)if(Pe!==He){TA=TA.length?TA:q(Be);var Ye=void 0;if(Be instanceof r.HTMLElement&&VA instanceof r.SVGElement&&!(VA instanceof r.SVGSVGElement)){if(VA===He)continue;Ye=VA.ownerSVGElement}else Ye=VA;for(var nn=q(Ye,Be.ownerDocument),Jn=0;nn[Jn]&&nn[Jn]===TA[Jn];)Jn++;var Ht=[nn[Jn-1],nn[Jn],TA[Jn]];if(Ht[0])for(var oi=Ht[0].lastChild;oi;){if(oi===Ht[1]){De=PA,TA=nn;break}if(oi===Ht[2])break;oi=oi.previousSibling}}else vA=Be,(parseInt(y(Qe=VA).getComputedStyle(Qe).zIndex,10)||0)>=(parseInt(y(vA).getComputedStyle(vA).zIndex,10)||0)&&(De=PA);else De=PA}else De=PA}return De}(mA);return nA.activeDrops[oe]||null}function ke(R,F,Z){var nA=R.dropState,lA={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return Z.type==="dragstart"&&(lA.activate=new qA(nA,Z,"dropactivate"),lA.activate.target=null,lA.activate.dropzone=null),Z.type==="dragend"&&(lA.deactivate=new qA(nA,Z,"dropdeactivate"),lA.deactivate.target=null,lA.deactivate.dropzone=null),nA.rejected||(nA.cur.element!==nA.prev.element&&(nA.prev.dropzone&&(lA.leave=new qA(nA,Z,"dragleave"),Z.dragLeave=lA.leave.target=nA.prev.element,Z.prevDropzone=lA.leave.dropzone=nA.prev.dropzone),nA.cur.dropzone&&(lA.enter=new qA(nA,Z,"dragenter"),Z.dragEnter=nA.cur.element,Z.dropzone=nA.cur.dropzone)),Z.type==="dragend"&&nA.cur.dropzone&&(lA.drop=new qA(nA,Z,"drop"),Z.dropzone=nA.cur.dropzone,Z.relatedTarget=nA.cur.element),Z.type==="dragmove"&&nA.cur.dropzone&&(lA.move=new qA(nA,Z,"dropmove"),Z.dropzone=nA.cur.dropzone)),lA}function wA(R,F){var Z=R.dropState,nA=Z.activeDrops,lA=Z.cur,uA=Z.prev;F.leave&&uA.dropzone.fire(F.leave),F.enter&&lA.dropzone.fire(F.enter),F.move&&lA.dropzone.fire(F.move),F.drop&&lA.dropzone.fire(F.drop),F.deactivate&&de(nA,F.deactivate),Z.prev.dropzone=lA.dropzone,Z.prev.element=lA.element}function FA(R,F){var Z=R.interaction,nA=R.iEvent,lA=R.event;if(nA.type==="dragmove"||nA.type==="dragend"){var uA=Z.dropState;F.dynamicDrop&&(uA.activeDrops=le(F,Z.element));var mA=nA,IA=Ee(Z,mA,lA);uA.rejected=uA.rejected&&!!IA&&IA.dropzone===uA.cur.dropzone&&IA.element===uA.cur.element,uA.cur.dropzone=IA&&IA.dropzone,uA.cur.element=IA&&IA.element,uA.events=ke(Z,0,mA)}}var HA={id:"actions/drop",install:function(R){var F=R.actions,Z=R.interactStatic,nA=R.Interactable,lA=R.defaults;R.usePlugin(d),nA.prototype.dropzone=function(uA){return function(mA,IA){if(u.object(IA)){if(mA.options.drop.enabled=IA.enabled!==!1,IA.listeners){var DA=j(IA.listeners),xA=Object.keys(DA).reduce(function(GA,WA){return GA[/^(enter|leave)/.test(WA)?"drag".concat(WA):/^(activate|deactivate|move)/.test(WA)?"drop".concat(WA):WA]=DA[WA],GA},{}),yA=mA.options.drop.listeners;yA&&mA.off(yA),mA.on(xA),mA.options.drop.listeners=xA}return u.func(IA.ondrop)&&mA.on("drop",IA.ondrop),u.func(IA.ondropactivate)&&mA.on("dropactivate",IA.ondropactivate),u.func(IA.ondropdeactivate)&&mA.on("dropdeactivate",IA.ondropdeactivate),u.func(IA.ondragenter)&&mA.on("dragenter",IA.ondragenter),u.func(IA.ondragleave)&&mA.on("dragleave",IA.ondragleave),u.func(IA.ondropmove)&&mA.on("dropmove",IA.ondropmove),/^(pointer|center)$/.test(IA.overlap)?mA.options.drop.overlap=IA.overlap:u.number(IA.overlap)&&(mA.options.drop.overlap=Math.max(Math.min(1,IA.overlap),0)),"accept"in IA&&(mA.options.drop.accept=IA.accept),"checker"in IA&&(mA.options.drop.checker=IA.checker),mA}return u.bool(IA)?(mA.options.drop.enabled=IA,mA):mA.options.drop}(this,uA)},nA.prototype.dropCheck=function(uA,mA,IA,DA,xA,yA){return function(GA,WA,se,oe,ue,De,Qe){var vA=!1;if(!(Qe=Qe||GA.getRect(De)))return!!GA.options.drop.checker&&GA.options.drop.checker(WA,se,vA,GA,De,oe,ue);var TA=GA.options.drop.overlap;if(TA==="pointer"){var PA=CA(oe,ue,"drag"),VA=_A(WA);VA.x+=PA.x,VA.y+=PA.y;var Be=VA.x>Qe.left&&VA.x<Qe.right,Pe=VA.y>Qe.top&&VA.y<Qe.bottom;vA=Be&&Pe}var He=oe.getRect(ue);if(He&&TA==="center"){var Ye=He.left+He.width/2,nn=He.top+He.height/2;vA=Ye>=Qe.left&&Ye<=Qe.right&&nn>=Qe.top&&nn<=Qe.bottom}return He&&u.number(TA)&&(vA=Math.max(0,Math.min(Qe.right,He.right)-Math.max(Qe.left,He.left))*Math.max(0,Math.min(Qe.bottom,He.bottom)-Math.max(Qe.top,He.top))/(He.width*He.height)>=TA),GA.options.drop.checker&&(vA=GA.options.drop.checker(WA,se,vA,GA,De,oe,ue)),vA}(this,uA,mA,IA,DA,xA,yA)},Z.dynamicDrop=function(uA){return u.bool(uA)?(R.dynamicDrop=uA,Z):R.dynamicDrop},AA(F.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),F.methodDict.drop="dropzone",R.dynamicDrop=!1,lA.actions.drop=HA.defaults},listeners:{"interactions:before-action-start":function(R){var F=R.interaction;F.prepared.name==="drag"&&(F.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(R,F){var Z=R.interaction,nA=(R.event,R.iEvent);if(Z.prepared.name==="drag"){var lA=Z.dropState;lA.activeDrops=[],lA.events={},lA.activeDrops=le(F,Z.element),lA.events=ke(Z,0,nA),lA.events.activate&&(de(lA.activeDrops,lA.events.activate),F.fire("actions/drop:start",{interaction:Z,dragEvent:nA}))}},"interactions:action-move":FA,"interactions:after-action-move":function(R,F){var Z=R.interaction,nA=R.iEvent;if(Z.prepared.name==="drag"){var lA=Z.dropState;wA(Z,lA.events),F.fire("actions/drop:move",{interaction:Z,dragEvent:nA}),lA.events={}}},"interactions:action-end":function(R,F){if(R.interaction.prepared.name==="drag"){var Z=R.interaction,nA=R.iEvent;FA(R,F),wA(Z,Z.dropState.events),F.fire("actions/drop:end",{interaction:Z,dragEvent:nA})}},"interactions:stop":function(R){var F=R.interaction;if(F.prepared.name==="drag"){var Z=F.dropState;Z&&(Z.activeDrops=null,Z.events=null,Z.cur.dropzone=null,Z.cur.element=null,Z.prev.dropzone=null,Z.prev.element=null,Z.rejected=!1)}}},getActiveDrops:le,getDrop:Ee,getDropEvents:ke,fireDropEvents:wA,filterEventType:function(R){return R.search("drag")===0||R.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},ne=HA;function we(R){var F=R.interaction,Z=R.iEvent,nA=R.phase;if(F.prepared.name==="gesture"){var lA=F.pointers.map(function(xA){return xA.pointer}),uA=nA==="start",mA=nA==="end",IA=F.interactable.options.deltaSource;if(Z.touches=[lA[0],lA[1]],uA)Z.distance=ae(lA,IA),Z.box=pe(lA),Z.scale=1,Z.ds=0,Z.angle=LA(lA,IA),Z.da=0,F.gesture.startDistance=Z.distance,F.gesture.startAngle=Z.angle;else if(mA||F.pointers.length<2){var DA=F.prevEvent;Z.distance=DA.distance,Z.box=DA.box,Z.scale=DA.scale,Z.ds=0,Z.angle=DA.angle,Z.da=0}else Z.distance=ae(lA,IA),Z.box=pe(lA),Z.scale=Z.distance/F.gesture.startDistance,Z.angle=LA(lA,IA),Z.ds=Z.scale-F.gesture.scale,Z.da=Z.angle-F.gesture.angle;F.gesture.distance=Z.distance,F.gesture.angle=Z.angle,u.number(Z.scale)&&Z.scale!==1/0&&!isNaN(Z.scale)&&(F.gesture.scale=Z.scale)}}var ie={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(R){var F=R.actions,Z=R.Interactable,nA=R.defaults;Z.prototype.gesturable=function(lA){return u.object(lA)?(this.options.gesture.enabled=lA.enabled!==!1,this.setPerAction("gesture",lA),this.setOnEvents("gesture",lA),this):u.bool(lA)?(this.options.gesture.enabled=lA,this):this.options.gesture},F.map.gesture=ie,F.methodDict.gesture="gesturable",nA.actions.gesture=ie.defaults},listeners:{"interactions:action-start":we,"interactions:action-move":we,"interactions:action-end":we,"interactions:new":function(R){R.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(R){if(!(R.interaction.pointers.length<2)){var F=R.interactable.options.gesture;if(F&&F.enabled)return R.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(R){return R.search("gesture")===0}},ce=ie;function Me(R,F,Z,nA,lA,uA,mA){if(!F)return!1;if(F===!0){var IA=u.number(uA.width)?uA.width:uA.right-uA.left,DA=u.number(uA.height)?uA.height:uA.bottom-uA.top;if(mA=Math.min(mA,Math.abs((R==="left"||R==="right"?IA:DA)/2)),IA<0&&(R==="left"?R="right":R==="right"&&(R="left")),DA<0&&(R==="top"?R="bottom":R==="bottom"&&(R="top")),R==="left"){var xA=IA>=0?uA.left:uA.right;return Z.x<xA+mA}if(R==="top"){var yA=DA>=0?uA.top:uA.bottom;return Z.y<yA+mA}if(R==="right")return Z.x>(IA>=0?uA.right:uA.left)-mA;if(R==="bottom")return Z.y>(DA>=0?uA.bottom:uA.top)-mA}return!!u.element(nA)&&(u.element(F)?F===nA:W(nA,F,lA))}function tt(R){var F=R.iEvent,Z=R.interaction;if(Z.prepared.name==="resize"&&Z.resizeAxes){var nA=F;Z.interactable.options.resize.square?(Z.resizeAxes==="y"?nA.delta.x=nA.delta.y:nA.delta.y=nA.delta.x,nA.axes="xy"):(nA.axes=Z.resizeAxes,Z.resizeAxes==="x"?nA.delta.y=0:Z.resizeAxes==="y"&&(nA.delta.x=0))}}var lt,MA,bA={id:"actions/resize",before:["actions/drag"],install:function(R){var F=R.actions,Z=R.browser,nA=R.Interactable,lA=R.defaults;bA.cursors=function(uA){return uA.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(Z),bA.defaultMargin=Z.supportsTouch||Z.supportsPointerEvent?20:10,nA.prototype.resizable=function(uA){return function(mA,IA,DA){return u.object(IA)?(mA.options.resize.enabled=IA.enabled!==!1,mA.setPerAction("resize",IA),mA.setOnEvents("resize",IA),u.string(IA.axis)&&/^x$|^y$|^xy$/.test(IA.axis)?mA.options.resize.axis=IA.axis:IA.axis===null&&(mA.options.resize.axis=DA.defaults.actions.resize.axis),u.bool(IA.preserveAspectRatio)?mA.options.resize.preserveAspectRatio=IA.preserveAspectRatio:u.bool(IA.square)&&(mA.options.resize.square=IA.square),mA):u.bool(IA)?(mA.options.resize.enabled=IA,mA):mA.options.resize}(this,uA,R)},F.map.resize=bA,F.methodDict.resize="resizable",lA.actions.resize=bA.defaults},listeners:{"interactions:new":function(R){R.interaction.resizeAxes="xy"},"interactions:action-start":function(R){(function(F){var Z=F.iEvent,nA=F.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var lA=Z,uA=nA.rect;nA._rects={start:AA({},uA),corrected:AA({},uA),previous:AA({},uA),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},lA.edges=nA.prepared.edges,lA.rect=nA._rects.corrected,lA.deltaRect=nA._rects.delta}})(R),tt(R)},"interactions:action-move":function(R){(function(F){var Z=F.iEvent,nA=F.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var lA=Z,uA=nA.interactable.options.resize.invert,mA=uA==="reposition"||uA==="negate",IA=nA.rect,DA=nA._rects,xA=DA.start,yA=DA.corrected,GA=DA.delta,WA=DA.previous;if(AA(WA,yA),mA){if(AA(yA,IA),uA==="reposition"){if(yA.top>yA.bottom){var se=yA.top;yA.top=yA.bottom,yA.bottom=se}if(yA.left>yA.right){var oe=yA.left;yA.left=yA.right,yA.right=oe}}}else yA.top=Math.min(IA.top,xA.bottom),yA.bottom=Math.max(IA.bottom,xA.top),yA.left=Math.min(IA.left,xA.right),yA.right=Math.max(IA.right,xA.left);for(var ue in yA.width=yA.right-yA.left,yA.height=yA.bottom-yA.top,yA)GA[ue]=yA[ue]-WA[ue];lA.edges=nA.prepared.edges,lA.rect=yA,lA.deltaRect=GA}})(R),tt(R)},"interactions:action-end":function(R){var F=R.iEvent,Z=R.interaction;if(Z.prepared.name==="resize"&&Z.prepared.edges){var nA=F;nA.edges=Z.prepared.edges,nA.rect=Z._rects.corrected,nA.deltaRect=Z._rects.delta}},"auto-start:check":function(R){var F=R.interaction,Z=R.interactable,nA=R.element,lA=R.rect,uA=R.buttons;if(lA){var mA=AA({},F.coords.cur.page),IA=Z.options.resize;if(IA&&IA.enabled&&(!F.pointerIsDown||!/mouse|pointer/.test(F.pointerType)||uA&IA.mouseButtons)){if(u.object(IA.edges)){var DA={left:!1,right:!1,top:!1,bottom:!1};for(var xA in DA)DA[xA]=Me(xA,IA.edges[xA],mA,F._latestPointer.eventTarget,nA,lA,IA.margin||bA.defaultMargin);DA.left=DA.left&&!DA.right,DA.top=DA.top&&!DA.bottom,(DA.left||DA.right||DA.top||DA.bottom)&&(R.action={name:"resize",edges:DA})}else{var yA=IA.axis!=="y"&&mA.x>lA.right-bA.defaultMargin,GA=IA.axis!=="x"&&mA.y>lA.bottom-bA.defaultMargin;(yA||GA)&&(R.action={name:"resize",axes:(yA?"x":"")+(GA?"y":"")})}return!R.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(R){var F=R.edges,Z=R.axis,nA=R.name,lA=bA.cursors,uA=null;if(Z)uA=lA[nA+Z];else if(F){for(var mA="",IA=0,DA=["top","bottom","left","right"];IA<DA.length;IA++){var xA=DA[IA];F[xA]&&(mA+=xA)}uA=lA[mA]}return uA},filterEventType:function(R){return R.search("resize")===0},defaultMargin:null},RA=bA,JA={id:"actions",install:function(R){R.usePlugin(ce),R.usePlugin(RA),R.usePlugin(d),R.usePlugin(ne)}},OA=0,Ie={request:function(R){return lt(R)},cancel:function(R){return MA(R)},init:function(R){if(lt=R.requestAnimationFrame,MA=R.cancelAnimationFrame,!lt)for(var F=["ms","moz","webkit","o"],Z=0;Z<F.length;Z++){var nA=F[Z];lt=R["".concat(nA,"RequestAnimationFrame")],MA=R["".concat(nA,"CancelAnimationFrame")]||R["".concat(nA,"CancelRequestAnimationFrame")]}lt=lt&&lt.bind(R),MA=MA&&MA.bind(R),lt||(lt=function(lA){var uA=Date.now(),mA=Math.max(0,16-(uA-OA)),IA=R.setTimeout(function(){lA(uA+mA)},mA);return OA=uA+mA,IA},MA=function(lA){return clearTimeout(lA)})}},te={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function(R){te.isScrolling=!0,Ie.cancel(te.i),R.autoScroll=te,te.interaction=R,te.prevTime=te.now(),te.i=Ie.request(te.scroll)},stop:function(){te.isScrolling=!1,te.interaction&&(te.interaction.autoScroll=null),Ie.cancel(te.i)},scroll:function(){var R=te.interaction,F=R.interactable,Z=R.element,nA=R.prepared.name,lA=F.options[nA].autoScroll,uA=_e(lA.container,F,Z),mA=te.now(),IA=(mA-te.prevTime)/1e3,DA=lA.speed*IA;if(DA>=1){var xA={x:te.x*DA,y:te.y*DA};if(xA.x||xA.y){var yA=qe(uA);u.window(uA)?uA.scrollBy(xA.x,xA.y):uA&&(uA.scrollLeft+=xA.x,uA.scrollTop+=xA.y);var GA=qe(uA),WA={x:GA.x-yA.x,y:GA.y-yA.y};(WA.x||WA.y)&&F.fire({type:"autoscroll",target:Z,interactable:F,delta:WA,interaction:R,container:uA})}te.prevTime=mA}te.isScrolling&&(Ie.cancel(te.i),te.i=Ie.request(te.scroll))},check:function(R,F){var Z;return(Z=R.options[F].autoScroll)==null?void 0:Z.enabled},onInteractionMove:function(R){var F=R.interaction,Z=R.pointer;if(F.interacting()&&te.check(F.interactable,F.prepared.name))if(F.simulation)te.x=te.y=0;else{var nA,lA,uA,mA,IA=F.interactable,DA=F.element,xA=F.prepared.name,yA=IA.options[xA].autoScroll,GA=_e(yA.container,IA,DA);if(u.window(GA))mA=Z.clientX<te.margin,nA=Z.clientY<te.margin,lA=Z.clientX>GA.innerWidth-te.margin,uA=Z.clientY>GA.innerHeight-te.margin;else{var WA=eA(GA);mA=Z.clientX<WA.left+te.margin,nA=Z.clientY<WA.top+te.margin,lA=Z.clientX>WA.right-te.margin,uA=Z.clientY>WA.bottom-te.margin}te.x=lA?1:mA?-1:0,te.y=uA?1:nA?-1:0,te.isScrolling||(te.margin=yA.margin,te.speed=yA.speed,te.start(F))}}};function _e(R,F,Z){return(u.string(R)?aA(R,F,Z):R)||y(Z)}function qe(R){return u.window(R)&&(R=window.document.body),{x:R.scrollLeft,y:R.scrollTop}}var pt={id:"auto-scroll",install:function(R){var F=R.defaults,Z=R.actions;R.autoScroll=te,te.now=function(){return R.now()},Z.phaselessTypes.autoscroll=!0,F.perAction.autoScroll=te.defaults},listeners:{"interactions:new":function(R){R.interaction.autoScroll=null},"interactions:destroy":function(R){R.interaction.autoScroll=null,te.stop(),te.interaction&&(te.interaction=null)},"interactions:stop":te.stop,"interactions:action-move":function(R){return te.onInteractionMove(R)}}},$e=pt;function At(R,F){var Z=!1;return function(){return Z||(L.console.warn(F),Z=!0),R.apply(this,arguments)}}function gt(R,F){return R.name=F.name,R.axis=F.axis,R.edges=F.edges,R}function Ge(R){return u.bool(R)?(this.options.styleCursor=R,this):R===null?(delete this.options.styleCursor,this):this.options.styleCursor}function ot(R){return u.func(R)?(this.options.actionChecker=R,this):R===null?(delete this.options.actionChecker,this):this.options.actionChecker}var mt={id:"auto-start/interactableMethods",install:function(R){var F=R.Interactable;F.prototype.getAction=function(Z,nA,lA,uA){var mA=function(IA,DA,xA,yA,GA){var WA=IA.getRect(yA),se=DA.buttons||{0:1,1:4,3:8,4:16}[DA.button],oe={action:null,interactable:IA,interaction:xA,element:yA,rect:WA,buttons:se};return GA.fire("auto-start:check",oe),oe.action}(this,nA,lA,uA,R);return this.options.actionChecker?this.options.actionChecker(Z,nA,mA,this,uA,lA):mA},F.prototype.ignoreFrom=At(function(Z){return this._backCompatOption("ignoreFrom",Z)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),F.prototype.allowFrom=At(function(Z){return this._backCompatOption("allowFrom",Z)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),F.prototype.actionChecker=ot,F.prototype.styleCursor=Ge}};function nt(R,F,Z,nA,lA){return F.testIgnoreAllow(F.options[R.name],Z,nA)&&F.options[R.name].enabled&&gn(F,Z,R,lA)?R:null}function Fn(R,F,Z,nA,lA,uA,mA){for(var IA=0,DA=nA.length;IA<DA;IA++){var xA=nA[IA],yA=lA[IA],GA=xA.getAction(F,Z,R,yA);if(GA){var WA=nt(GA,xA,yA,uA,mA);if(WA)return{action:WA,interactable:xA,element:yA}}}return{action:null,interactable:null,element:null}}function qt(R,F,Z,nA,lA){var uA=[],mA=[],IA=nA;function DA(yA){uA.push(yA),mA.push(IA)}for(;u.element(IA);){uA=[],mA=[],lA.interactables.forEachMatch(IA,DA);var xA=Fn(R,F,Z,uA,mA,nA,lA);if(xA.action&&!xA.interactable.options[xA.action.name].manualStart)return xA;IA=P(IA)}return{action:null,interactable:null,element:null}}function Xt(R,F,Z){var nA=F.action,lA=F.interactable,uA=F.element;nA=nA||{name:null},R.interactable=lA,R.element=uA,gt(R.prepared,nA),R.rect=lA&&nA.name?lA.getRect(uA):null,Vt(R,Z),Z.fire("autoStart:prepared",{interaction:R})}function gn(R,F,Z,nA){var lA=R.options,uA=lA[Z.name].max,mA=lA[Z.name].maxPerElement,IA=nA.autoStart.maxInteractions,DA=0,xA=0,yA=0;if(!(uA&&mA&&IA))return!1;for(var GA=0,WA=nA.interactions.list;GA<WA.length;GA++){var se=WA[GA],oe=se.prepared.name;if(se.interacting()&&(++DA>=IA||se.interactable===R&&((xA+=oe===Z.name?1:0)>=uA||se.element===F&&(yA++,oe===Z.name&&yA>=mA))))return!1}return IA>0}function wn(R,F){return u.number(R)?(F.autoStart.maxInteractions=R,this):F.autoStart.maxInteractions}function xt(R,F,Z){var nA=Z.autoStart.cursorElement;nA&&nA!==R&&(nA.style.cursor=""),R.ownerDocument.documentElement.style.cursor=F,R.style.cursor=F,Z.autoStart.cursorElement=F?R:null}function Vt(R,F){var Z=R.interactable,nA=R.element,lA=R.prepared;if(R.pointerType==="mouse"&&Z&&Z.options.styleCursor){var uA="";if(lA.name){var mA=Z.options[lA.name].cursorChecker;uA=u.func(mA)?mA(lA,Z,nA,R._interacting):F.actions.map[lA.name].getCursor(lA)}xt(R.element,uA||"",F)}else F.autoStart.cursorElement&&xt(F.autoStart.cursorElement,"",F)}var On={id:"auto-start/base",before:["actions"],install:function(R){var F=R.interactStatic,Z=R.defaults;R.usePlugin(mt),Z.base.actionChecker=null,Z.base.styleCursor=!0,AA(Z.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),F.maxInteractions=function(nA){return wn(nA,R)},R.autoStart={maxInteractions:1/0,withinInteractionLimit:gn,cursorElement:null}},listeners:{"interactions:down":function(R,F){var Z=R.interaction,nA=R.pointer,lA=R.event,uA=R.eventTarget;Z.interacting()||Xt(Z,qt(Z,nA,lA,uA,F),F)},"interactions:move":function(R,F){(function(Z,nA){var lA=Z.interaction,uA=Z.pointer,mA=Z.event,IA=Z.eventTarget;lA.pointerType!=="mouse"||lA.pointerIsDown||lA.interacting()||Xt(lA,qt(lA,uA,mA,IA,nA),nA)})(R,F),function(Z,nA){var lA=Z.interaction;if(lA.pointerIsDown&&!lA.interacting()&&lA.pointerWasMoved&&lA.prepared.name){nA.fire("autoStart:before-start",Z);var uA=lA.interactable,mA=lA.prepared.name;mA&&uA&&(uA.options[mA].manualStart||!gn(uA,lA.element,lA.prepared,nA)?lA.stop():(lA.start(lA.prepared,uA,lA.element),Vt(lA,nA)))}}(R,F)},"interactions:stop":function(R,F){var Z=R.interaction,nA=Z.interactable;nA&&nA.options.styleCursor&&xt(Z.element,"",F)}},maxInteractions:wn,withinInteractionLimit:gn,validateAction:nt},An=On,pi={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(R,F){var Z=R.interaction,nA=R.eventTarget,lA=R.dx,uA=R.dy;if(Z.prepared.name==="drag"){var mA=Math.abs(lA),IA=Math.abs(uA),DA=Z.interactable.options.drag,xA=DA.startAxis,yA=mA>IA?"x":mA<IA?"y":"xy";if(Z.prepared.axis=DA.lockAxis==="start"?yA[0]:DA.lockAxis,yA!=="xy"&&xA!=="xy"&&xA!==yA){Z.prepared.name=null;for(var GA=nA,WA=function(oe){if(oe!==Z.interactable){var ue=Z.interactable.options.drag;if(!ue.manualStart&&oe.testIgnoreAllow(ue,GA,nA)){var De=oe.getAction(Z.downPointer,Z.downEvent,Z,GA);if(De&&De.name==="drag"&&function(Qe,vA){if(!vA)return!1;var TA=vA.options.drag.startAxis;return Qe==="xy"||TA==="xy"||TA===Qe}(yA,oe)&&An.validateAction(De,oe,GA,nA,F))return oe}}};u.element(GA);){var se=F.interactables.forEachMatch(GA,WA);if(se){Z.prepared.name="drag",Z.interactable=se,Z.element=GA;break}GA=P(GA)}}}}}};function Bi(R){var F=R.prepared&&R.prepared.name;if(!F)return null;var Z=R.interactable.options;return Z[F].hold||Z[F].delay}var lo={id:"auto-start/hold",install:function(R){var F=R.defaults;R.usePlugin(An),F.perAction.hold=0,F.perAction.delay=0},listeners:{"interactions:new":function(R){R.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(R){var F=R.interaction,Z=Bi(F);Z>0&&(F.autoStartHoldTimer=setTimeout(function(){F.start(F.prepared,F.interactable,F.element)},Z))},"interactions:move":function(R){var F=R.interaction,Z=R.duplicate;F.autoStartHoldTimer&&F.pointerWasMoved&&!Z&&(clearTimeout(F.autoStartHoldTimer),F.autoStartHoldTimer=null)},"autoStart:before-start":function(R){var F=R.interaction;Bi(F)>0&&(F.prepared.name=null)}},getHoldDuration:Bi},Ci=lo,ei={id:"auto-start",install:function(R){R.usePlugin(An),R.usePlugin(Ci),R.usePlugin(pi)}},Li=function(R){return/^(always|never|auto)$/.test(R)?(this.options.preventDefault=R,this):u.bool(R)?(this.options.preventDefault=R?"always":"never",this):this.options.preventDefault};function co(R){var F=R.interaction,Z=R.event;F.interactable&&F.interactable.checkAndPreventDefault(Z)}var ti={id:"core/interactablePreventDefault",install:function(R){var F=R.Interactable;F.prototype.preventDefault=Li,F.prototype.checkAndPreventDefault=function(Z){return function(nA,lA,uA){var mA=nA.options.preventDefault;if(mA!=="never")if(mA!=="always"){if(lA.events.supportsPassive&&/^touch(start|move)$/.test(uA.type)){var IA=y(uA.target).document,DA=lA.getDocOptions(IA);if(!DA||!DA.events||DA.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(uA.type)||u.element(uA.target)&&G(uA.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||uA.preventDefault()}else uA.preventDefault()}(this,R,Z)},R.interactions.docEvents.push({type:"dragstart",listener:function(Z){for(var nA=0,lA=R.interactions.list;nA<lA.length;nA++){var uA=lA[nA];if(uA.element&&(uA.element===Z.target||M(uA.element,Z.target)))return void uA.interactable.checkAndPreventDefault(Z)}}})},listeners:["down","move","up","cancel"].reduce(function(R,F){return R["interactions:".concat(F)]=co,R},{})};function bn(R,F){if(F.phaselessTypes[R])return!0;for(var Z in F.map)if(R.indexOf(Z)===0&&R.substr(Z.length)in F.phases)return!0;return!1}function Gi(R){var F={};for(var Z in R){var nA=R[Z];u.plainObject(nA)?F[Z]=Gi(nA):u.array(nA)?F[Z]=xe(nA):F[Z]=nA}return F}var Jo=function(){function R(F){I(this,R),this.states=[],this.startOffset={left:0,right:0,top:0,bottom:0},this.startDelta=void 0,this.result=void 0,this.endResult=void 0,this.startEdges=void 0,this.edges=void 0,this.interaction=void 0,this.interaction=F,this.result=go(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return b(R,[{key:"start",value:function(F,Z){var nA,lA,uA=F.phase,mA=this.interaction,IA=function(xA){var yA=xA.interactable.options[xA.prepared.name],GA=yA.modifiers;return GA&&GA.length?GA:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(function(WA){var se=yA[WA];return se&&se.enabled&&{options:se,methods:se._methods}}).filter(function(WA){return!!WA})}(mA);this.prepareStates(IA),this.startEdges=AA({},mA.edges),this.edges=AA({},this.startEdges),this.startOffset=(nA=mA.rect,lA=Z,nA?{left:lA.x-nA.left,top:lA.y-nA.top,right:nA.right-lA.x,bottom:nA.bottom-lA.y}:{left:0,top:0,right:0,bottom:0}),this.startDelta={x:0,y:0};var DA=this.fillArg({phase:uA,pageCoords:Z,preEnd:!1});return this.result=go(),this.startAll(DA),this.result=this.setAll(DA)}},{key:"fillArg",value:function(F){var Z=this.interaction;return F.interaction=Z,F.interactable=Z.interactable,F.element=Z.element,F.rect||(F.rect=Z.rect),F.edges||(F.edges=this.startEdges),F.startOffset=this.startOffset,F}},{key:"startAll",value:function(F){for(var Z=0,nA=this.states;Z<nA.length;Z++){var lA=nA[Z];lA.methods.start&&(F.state=lA,lA.methods.start(F))}}},{key:"setAll",value:function(F){var Z=F.phase,nA=F.preEnd,lA=F.skipModifiers,uA=F.rect,mA=F.edges;F.coords=AA({},F.pageCoords),F.rect=AA({},uA),F.edges=AA({},mA);for(var IA=lA?this.states.slice(lA):this.states,DA=go(F.coords,F.rect),xA=0;xA<IA.length;xA++){var yA,GA=IA[xA],WA=GA.options,se=AA({},F.coords),oe=null;(yA=GA.methods)!=null&&yA.set&&this.shouldDo(WA,nA,Z)&&(F.state=GA,oe=GA.methods.set(F),iA(F.edges,F.rect,{x:F.coords.x-se.x,y:F.coords.y-se.y})),DA.eventProps.push(oe)}AA(this.edges,F.edges),DA.delta.x=F.coords.x-F.pageCoords.x,DA.delta.y=F.coords.y-F.pageCoords.y,DA.rectDelta.left=F.rect.left-uA.left,DA.rectDelta.right=F.rect.right-uA.right,DA.rectDelta.top=F.rect.top-uA.top,DA.rectDelta.bottom=F.rect.bottom-uA.bottom;var ue=this.result.coords,De=this.result.rect;if(ue&&De){var Qe=DA.rect.left!==De.left||DA.rect.right!==De.right||DA.rect.top!==De.top||DA.rect.bottom!==De.bottom;DA.changed=Qe||ue.x!==DA.coords.x||ue.y!==DA.coords.y}return DA}},{key:"applyToInteraction",value:function(F){var Z=this.interaction,nA=F.phase,lA=Z.coords.cur,uA=Z.coords.start,mA=this.result,IA=this.startDelta,DA=mA.delta;nA==="start"&&AA(this.startDelta,mA.delta);for(var xA=0,yA=[[uA,IA],[lA,DA]];xA<yA.length;xA++){var GA=yA[xA],WA=GA[0],se=GA[1];WA.page.x+=se.x,WA.page.y+=se.y,WA.client.x+=se.x,WA.client.y+=se.y}var oe=this.result.rectDelta,ue=F.rect||Z.rect;ue.left+=oe.left,ue.right+=oe.right,ue.top+=oe.top,ue.bottom+=oe.bottom,ue.width=ue.right-ue.left,ue.height=ue.bottom-ue.top}},{key:"setAndApply",value:function(F){var Z=this.interaction,nA=F.phase,lA=F.preEnd,uA=F.skipModifiers,mA=this.setAll(this.fillArg({preEnd:lA,phase:nA,pageCoords:F.modifiedCoords||Z.coords.cur.page}));if(this.result=mA,!mA.changed&&(!uA||uA<this.states.length)&&Z.interacting())return!1;if(F.modifiedCoords){var IA=Z.coords.cur.page,DA={x:F.modifiedCoords.x-IA.x,y:F.modifiedCoords.y-IA.y};mA.coords.x+=DA.x,mA.coords.y+=DA.y,mA.delta.x+=DA.x,mA.delta.y+=DA.y}this.applyToInteraction(F)}},{key:"beforeEnd",value:function(F){var Z=F.interaction,nA=F.event,lA=this.states;if(lA&&lA.length){for(var uA=!1,mA=0;mA<lA.length;mA++){var IA=lA[mA];F.state=IA;var DA=IA.options,xA=IA.methods,yA=xA.beforeEnd&&xA.beforeEnd(F);if(yA)return this.endResult=yA,!1;uA=uA||!uA&&this.shouldDo(DA,!0,F.phase,!0)}uA&&Z.move({event:nA,preEnd:!0})}}},{key:"stop",value:function(F){var Z=F.interaction;if(this.states&&this.states.length){var nA=AA({states:this.states,interactable:Z.interactable,element:Z.element,rect:null},F);this.fillArg(nA);for(var lA=0,uA=this.states;lA<uA.length;lA++){var mA=uA[lA];nA.state=mA,mA.methods.stop&&mA.methods.stop(nA)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(F){this.states=[];for(var Z=0;Z<F.length;Z++){var nA=F[Z],lA=nA.options,uA=nA.methods,mA=nA.name;this.states.push({options:lA,methods:uA,index:Z,name:mA})}return this.states}},{key:"restoreInteractionCoords",value:function(F){var Z=F.interaction,nA=Z.coords,lA=Z.rect,uA=Z.modification;if(uA.result){for(var mA=uA.startDelta,IA=uA.result,DA=IA.delta,xA=IA.rectDelta,yA=0,GA=[[nA.start,mA],[nA.cur,DA]];yA<GA.length;yA++){var WA=GA[yA],se=WA[0],oe=WA[1];se.page.x-=oe.x,se.page.y-=oe.y,se.client.x-=oe.x,se.client.y-=oe.y}lA.left-=xA.left,lA.right-=xA.right,lA.top-=xA.top,lA.bottom-=xA.bottom}}},{key:"shouldDo",value:function(F,Z,nA,lA){return!(!F||F.enabled===!1||lA&&!F.endOnly||F.endOnly&&!Z||nA==="start"&&!F.setStart)}},{key:"copyFrom",value:function(F){this.startOffset=F.startOffset,this.startDelta=F.startDelta,this.startEdges=F.startEdges,this.edges=F.edges,this.states=F.states.map(function(Z){return Gi(Z)}),this.result=go(AA({},F.result.coords),AA({},F.result.rect))}},{key:"destroy",value:function(){for(var F in this)this[F]=null}}]),R}();function go(R,F){return{rect:F,coords:R,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function Nn(R,F){var Z=R.defaults,nA={start:R.start,set:R.set,beforeEnd:R.beforeEnd,stop:R.stop},lA=function(uA){var mA=uA||{};for(var IA in mA.enabled=mA.enabled!==!1,Z)IA in mA||(mA[IA]=Z[IA]);var DA={options:mA,methods:nA,name:F,enable:function(){return mA.enabled=!0,DA},disable:function(){return mA.enabled=!1,DA}};return DA};return F&&typeof F=="string"&&(lA._defaults=Z,lA._methods=nA),lA}function uo(R){var F=R.iEvent,Z=R.interaction.modification.result;Z&&(F.modifiers=Z.eventProps)}var fs={id:"modifiers/base",before:["actions"],install:function(R){R.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(R){var F=R.interaction;F.modification=new Jo(F)},"interactions:before-action-start":function(R){var F=R.interaction,Z=R.interaction.modification;Z.start(R,F.coords.start.page),F.edges=Z.edges,Z.applyToInteraction(R)},"interactions:before-action-move":function(R){var F=R.interaction,Z=F.modification,nA=Z.setAndApply(R);return F.edges=Z.edges,nA},"interactions:before-action-end":function(R){var F=R.interaction,Z=F.modification,nA=Z.beforeEnd(R);return F.edges=Z.startEdges,nA},"interactions:action-start":uo,"interactions:action-move":uo,"interactions:action-end":uo,"interactions:after-action-start":function(R){return R.interaction.modification.restoreInteractionCoords(R)},"interactions:after-action-move":function(R){return R.interaction.modification.restoreInteractionCoords(R)},"interactions:stop":function(R){return R.interaction.modification.stop(R)}}},zo=fs,Zo={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},ni=function(R){w(Z,R);var F=$(Z);function Z(nA,lA,uA,mA,IA,DA,xA){var yA;I(this,Z),(yA=F.call(this,nA)).relatedTarget=null,yA.screenX=void 0,yA.screenY=void 0,yA.button=void 0,yA.buttons=void 0,yA.ctrlKey=void 0,yA.shiftKey=void 0,yA.altKey=void 0,yA.metaKey=void 0,yA.page=void 0,yA.client=void 0,yA.delta=void 0,yA.rect=void 0,yA.x0=void 0,yA.y0=void 0,yA.t0=void 0,yA.dt=void 0,yA.duration=void 0,yA.clientX0=void 0,yA.clientY0=void 0,yA.velocity=void 0,yA.speed=void 0,yA.swipe=void 0,yA.axes=void 0,yA.preEnd=void 0,IA=IA||nA.element;var GA=nA.interactable,WA=(GA&&GA.options||Zo).deltaSource,se=CA(GA,IA,uA),oe=mA==="start",ue=mA==="end",De=oe?T(yA):nA.prevEvent,Qe=oe?nA.coords.start:ue?{page:De.page,client:De.client,timeStamp:nA.coords.cur.timeStamp}:nA.coords.cur;return yA.page=AA({},Qe.page),yA.client=AA({},Qe.client),yA.rect=AA({},nA.rect),yA.timeStamp=Qe.timeStamp,ue||(yA.page.x-=se.x,yA.page.y-=se.y,yA.client.x-=se.x,yA.client.y-=se.y),yA.ctrlKey=lA.ctrlKey,yA.altKey=lA.altKey,yA.shiftKey=lA.shiftKey,yA.metaKey=lA.metaKey,yA.button=lA.button,yA.buttons=lA.buttons,yA.target=IA,yA.currentTarget=IA,yA.preEnd=DA,yA.type=xA||uA+(mA||""),yA.interactable=GA,yA.t0=oe?nA.pointers[nA.pointers.length-1].downTime:De.t0,yA.x0=nA.coords.start.page.x-se.x,yA.y0=nA.coords.start.page.y-se.y,yA.clientX0=nA.coords.start.client.x-se.x,yA.clientY0=nA.coords.start.client.y-se.y,yA.delta=oe||ue?{x:0,y:0}:{x:yA[WA].x-De[WA].x,y:yA[WA].y-De[WA].y},yA.dt=nA.coords.delta.timeStamp,yA.duration=yA.timeStamp-yA.t0,yA.velocity=AA({},nA.coords.velocity[WA]),yA.speed=gA(yA.velocity.x,yA.velocity.y),yA.swipe=ue||mA==="inertiastart"?yA.getSwipe():null,yA}return b(Z,[{key:"getSwipe",value:function(){var nA=this._interaction;if(nA.prevEvent.speed<600||this.timeStamp-nA.prevEvent.timeStamp>150)return null;var lA=180*Math.atan2(nA.prevEvent.velocityY,nA.prevEvent.velocityX)/Math.PI;lA<0&&(lA+=360);var uA=112.5<=lA&&lA<247.5,mA=202.5<=lA&&lA<337.5;return{up:mA,down:!mA&&22.5<=lA&&lA<157.5,left:uA,right:!uA&&(292.5<=lA||lA<67.5),angle:lA,speed:nA.prevEvent.speed,velocity:{x:nA.prevEvent.velocityX,y:nA.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),Z}(Ce);Object.defineProperties(ni.prototype,{pageX:{get:function(){return this.page.x},set:function(R){this.page.x=R}},pageY:{get:function(){return this.page.y},set:function(R){this.page.y=R}},clientX:{get:function(){return this.client.x},set:function(R){this.client.x=R}},clientY:{get:function(){return this.client.y},set:function(R){this.client.y=R}},dx:{get:function(){return this.delta.x},set:function(R){this.delta.x=R}},dy:{get:function(){return this.delta.y},set:function(R){this.delta.y=R}},velocityX:{get:function(){return this.velocity.x},set:function(R){this.velocity.x=R}},velocityY:{get:function(){return this.velocity.y},set:function(R){this.velocity.y=R}}});var ws=b(function R(F,Z,nA,lA,uA){I(this,R),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=F,this.pointer=Z,this.event=nA,this.downTime=lA,this.downTarget=uA}),bs=function(R){return R.interactable="",R.element="",R.prepared="",R.pointerIsDown="",R.pointerWasMoved="",R._proxy="",R}({}),Ds=function(R){return R.start="",R.move="",R.end="",R.stop="",R.interacting="",R}({}),ys=0,vs=function(){function R(F){var Z=this,nA=F.pointerType,lA=F.scopeFire;I(this,R),this.interactable=null,this.element=null,this.rect=null,this._rects=void 0,this.edges=null,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=void 0,this.simulation=null,this.doMove=At(function(yA){this.move(yA)},"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},prev:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},cur:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},delta:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},velocity:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},this._id=ys++,this._scopeFire=lA,this.pointerType=nA;var uA=this;this._proxy={};var mA=function(yA){Object.defineProperty(Z._proxy,yA,{get:function(){return uA[yA]}})};for(var IA in bs)mA(IA);var DA=function(yA){Object.defineProperty(Z._proxy,yA,{value:function(){return uA[yA].apply(uA,arguments)}})};for(var xA in Ds)DA(xA);this._scopeFire("interactions:new",{interaction:this})}return b(R,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(F,Z,nA){var lA=this.updatePointer(F,Z,nA,!0),uA=this.pointers[lA];this._scopeFire("interactions:down",{pointer:F,event:Z,eventTarget:nA,pointerIndex:lA,pointerInfo:uA,type:"down",interaction:this})}},{key:"start",value:function(F,Z,nA){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(F.name==="gesture"?2:1)||!Z.options[F.name].enabled)&&(gt(this.prepared,F),this.interactable=Z,this.element=nA,this.rect=Z.getRect(nA),this.edges=this.prepared.edges?AA({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(F,Z,nA){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(F,Z,nA,!1);var lA,uA,mA=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(lA=this.coords.cur.client.x-this.coords.start.client.x,uA=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=gA(lA,uA)>this.pointerMoveTolerance);var IA,DA,xA,yA=this.getPointerIndex(F),GA={pointer:F,pointerIndex:yA,pointerInfo:this.pointers[yA],event:Z,type:"move",eventTarget:nA,dx:lA,dy:uA,duplicate:mA,interaction:this};mA||(IA=this.coords.velocity,DA=this.coords.delta,xA=Math.max(DA.timeStamp/1e3,.001),IA.page.x=DA.page.x/xA,IA.page.y=DA.page.y/xA,IA.client.x=DA.client.x/xA,IA.client.y=DA.client.y/xA,IA.timeStamp=xA),this._scopeFire("interactions:move",GA),mA||this.simulation||(this.interacting()&&(GA.type=null,this.move(GA)),this.pointerWasMoved&&X(this.coords.prev,this.coords.cur))}},{key:"move",value:function(F){F&&F.event||tA(this.coords.delta),(F=AA({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},F||{})).phase="move",this._doPhase(F)}},{key:"pointerUp",value:function(F,Z,nA,lA){var uA=this.getPointerIndex(F);uA===-1&&(uA=this.updatePointer(F,Z,nA,!1));var mA=/cancel$/i.test(Z.type)?"cancel":"up";this._scopeFire("interactions:".concat(mA),{pointer:F,pointerIndex:uA,pointerInfo:this.pointers[uA],event:Z,eventTarget:nA,type:mA,curEventTarget:lA,interaction:this}),this.simulation||this.end(Z),this.removePointer(F,Z)}},{key:"documentBlur",value:function(F){this.end(F),this._scopeFire("interactions:blur",{event:F,type:"blur",interaction:this})}},{key:"end",value:function(F){var Z;this._ending=!0,F=F||this._latestPointer.event,this.interacting()&&(Z=this._doPhase({event:F,interaction:this,phase:"end"})),this._ending=!1,Z===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(F){var Z=YA(F);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:UA(this.pointers,function(nA){return nA.id===Z})}},{key:"getPointerInfo",value:function(F){return this.pointers[this.getPointerIndex(F)]}},{key:"updatePointer",value:function(F,Z,nA,lA){var uA,mA,IA,DA=YA(F),xA=this.getPointerIndex(F),yA=this.pointers[xA];return lA=lA!==!1&&(lA||/(down|start)$/i.test(Z.type)),yA?yA.pointer=F:(yA=new ws(DA,F,Z,null,null),xA=this.pointers.length,this.pointers.push(yA)),zA(this.coords.cur,this.pointers.map(function(GA){return GA.pointer}),this._now()),uA=this.coords.delta,mA=this.coords.prev,IA=this.coords.cur,uA.page.x=IA.page.x-mA.page.x,uA.page.y=IA.page.y-mA.page.y,uA.client.x=IA.client.x-mA.client.x,uA.client.y=IA.client.y-mA.client.y,uA.timeStamp=IA.timeStamp-mA.timeStamp,lA&&(this.pointerIsDown=!0,yA.downTime=this.coords.cur.timeStamp,yA.downTarget=nA,O(this.downPointer,F),this.interacting()||(X(this.coords.start,this.coords.cur),X(this.coords.prev,this.coords.cur),this.downEvent=Z,this.pointerWasMoved=!1)),this._updateLatestPointer(F,Z,nA),this._scopeFire("interactions:update-pointer",{pointer:F,event:Z,eventTarget:nA,down:lA,pointerInfo:yA,pointerIndex:xA,interaction:this}),xA}},{key:"removePointer",value:function(F,Z){var nA=this.getPointerIndex(F);if(nA!==-1){var lA=this.pointers[nA];this._scopeFire("interactions:remove-pointer",{pointer:F,event:Z,eventTarget:null,pointerIndex:nA,pointerInfo:lA,interaction:this}),this.pointers.splice(nA,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(F,Z,nA){this._latestPointer.pointer=F,this._latestPointer.event=Z,this._latestPointer.eventTarget=nA}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(F,Z,nA,lA){return new ni(this,F,this.prepared.name,Z,this.element,nA,lA)}},{key:"_fireEvent",value:function(F){var Z;(Z=this.interactable)==null||Z.fire(F),(!this.prevEvent||F.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=F)}},{key:"_doPhase",value:function(F){var Z=F.event,nA=F.phase,lA=F.preEnd,uA=F.type,mA=this.rect;if(mA&&nA==="move"&&(iA(this.edges,mA,this.coords.delta[this.interactable.options.deltaSource]),mA.width=mA.right-mA.left,mA.height=mA.bottom-mA.top),this._scopeFire("interactions:before-action-".concat(nA),F)===!1)return!1;var IA=F.iEvent=this._createPreparedEvent(Z,nA,lA,uA);return this._scopeFire("interactions:action-".concat(nA),F),nA==="start"&&(this.prevEvent=IA),this._fireEvent(IA),this._scopeFire("interactions:after-action-".concat(nA),F),!0}},{key:"_now",value:function(){return Date.now()}}]),R}();function Yr(R){Or(R.interaction)}function Or(R){if(!function(Z){return!(!Z.offset.pending.x&&!Z.offset.pending.y)}(R))return!1;var F=R.offset.pending;return $r(R.coords.cur,F),$r(R.coords.delta,F),iA(R.edges,R.rect,F),F.x=0,F.y=0,!0}function ag(R){var F=R.x,Z=R.y;this.offset.pending.x+=F,this.offset.pending.y+=Z,this.offset.total.x+=F,this.offset.total.y+=Z}function $r(R,F){var Z=R.page,nA=R.client,lA=F.x,uA=F.y;Z.x+=lA,Z.y+=uA,nA.x+=lA,nA.y+=uA}Ds.offsetBy="";var sg={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(R){R.Interaction.prototype.offsetBy=ag},listeners:{"interactions:new":function(R){R.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(R){return function(F){F.pointerIsDown&&($r(F.coords.cur,F.offset.total),F.offset.pending.x=0,F.offset.pending.y=0)}(R.interaction)},"interactions:before-action-start":Yr,"interactions:before-action-move":Yr,"interactions:before-action-end":function(R){var F=R.interaction;if(Or(F))return F.move({offset:!0}),F.end(),!1},"interactions:stop":function(R){var F=R.interaction;F.offset.total.x=0,F.offset.total.y=0,F.offset.pending.x=0,F.offset.pending.y=0}}},Jr=sg,lg=function(){function R(F){I(this,R),this.active=!1,this.isModified=!1,this.smoothEnd=!1,this.allowResume=!1,this.modification=void 0,this.modifierCount=0,this.modifierArg=void 0,this.startCoords=void 0,this.t0=0,this.v0=0,this.te=0,this.targetOffset=void 0,this.modifiedOffset=void 0,this.currentOffset=void 0,this.lambda_v0=0,this.one_ve_v0=0,this.timeout=void 0,this.interaction=void 0,this.interaction=F}return b(R,[{key:"start",value:function(F){var Z=this.interaction,nA=Wo(Z);if(!nA||!nA.enabled)return!1;var lA=Z.coords.velocity.client,uA=gA(lA.x,lA.y),mA=this.modification||(this.modification=new Jo(Z));if(mA.copyFrom(Z.modification),this.t0=Z._now(),this.allowResume=nA.allowResume,this.v0=uA,this.currentOffset={x:0,y:0},this.startCoords=Z.coords.cur.page,this.modifierArg=mA.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-Z.coords.cur.timeStamp<50&&uA>nA.minSpeed&&uA>nA.endSpeed)this.startInertia();else{if(mA.result=mA.setAll(this.modifierArg),!mA.result.changed)return!1;this.startSmoothEnd()}return Z.modification.result.rect=null,Z.offsetBy(this.targetOffset),Z._doPhase({interaction:Z,event:F,phase:"inertiastart"}),Z.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),Z.modification.result.rect=null,this.active=!0,Z.simulation=this,!0}},{key:"startInertia",value:function(){var F=this,Z=this.interaction.coords.velocity.client,nA=Wo(this.interaction),lA=nA.resistance,uA=-Math.log(nA.endSpeed/this.v0)/lA;this.targetOffset={x:(Z.x-uA)/lA,y:(Z.y-uA)/lA},this.te=uA,this.lambda_v0=lA/this.v0,this.one_ve_v0=1-nA.endSpeed/this.v0;var mA=this.modification,IA=this.modifierArg;IA.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},mA.result=mA.setAll(IA),mA.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+mA.result.delta.x,y:this.targetOffset.y+mA.result.delta.y}),this.onNextFrame(function(){return F.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var F=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame(function(){return F.smoothEndTick()})}},{key:"onNextFrame",value:function(F){var Z=this;this.timeout=Ie.request(function(){Z.active&&F()})}},{key:"inertiaTick",value:function(){var F,Z,nA,lA,uA,mA,IA,DA=this,xA=this.interaction,yA=Wo(xA).resistance,GA=(xA._now()-this.t0)/1e3;if(GA<this.te){var WA,se=1-(Math.exp(-yA*GA)-this.lambda_v0)/this.one_ve_v0;this.isModified?(F=0,Z=0,nA=this.targetOffset.x,lA=this.targetOffset.y,uA=this.modifiedOffset.x,mA=this.modifiedOffset.y,WA={x:ks(IA=se,F,nA,uA),y:ks(IA,Z,lA,mA)}):WA={x:this.targetOffset.x*se,y:this.targetOffset.y*se};var oe={x:WA.x-this.currentOffset.x,y:WA.y-this.currentOffset.y};this.currentOffset.x+=oe.x,this.currentOffset.y+=oe.y,xA.offsetBy(oe),xA.move(),this.onNextFrame(function(){return DA.inertiaTick()})}else xA.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:"smoothEndTick",value:function(){var F=this,Z=this.interaction,nA=Z._now()-this.t0,lA=Wo(Z).smoothEndDuration;if(nA<lA){var uA={x:jo(nA,0,this.targetOffset.x,lA),y:jo(nA,0,this.targetOffset.y,lA)},mA={x:uA.x-this.currentOffset.x,y:uA.y-this.currentOffset.y};this.currentOffset.x+=mA.x,this.currentOffset.y+=mA.y,Z.offsetBy(mA),Z.move({skipModifiers:this.modifierCount}),this.onNextFrame(function(){return F.smoothEndTick()})}else Z.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(F){var Z=F.pointer,nA=F.event,lA=F.eventTarget,uA=this.interaction;uA.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),uA.updatePointer(Z,nA,lA,!0),uA._doPhase({interaction:uA,event:nA,phase:"resume"}),X(uA.coords.prev,uA.coords.cur),this.stop()}},{key:"end",value:function(){this.interaction.move(),this.interaction.end(),this.stop()}},{key:"stop",value:function(){this.active=this.smoothEnd=!1,this.interaction.simulation=null,Ie.cancel(this.timeout)}}]),R}();function Wo(R){var F=R.interactable,Z=R.prepared;return F&&F.options&&Z.name&&F.options[Z.name].inertia}var cg={id:"inertia",before:["modifiers","actions"],install:function(R){var F=R.defaults;R.usePlugin(Jr),R.usePlugin(zo),R.actions.phases.inertiastart=!0,R.actions.phases.resume=!0,F.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(R){var F=R.interaction;F.inertia=new lg(F)},"interactions:before-action-end":function(R){var F=R.interaction,Z=R.event;return(!F._interacting||F.simulation||!F.inertia.start(Z))&&null},"interactions:down":function(R){var F=R.interaction,Z=R.eventTarget,nA=F.inertia;if(nA.active)for(var lA=Z;u.element(lA);){if(lA===F.element){nA.resume(R);break}lA=P(lA)}},"interactions:stop":function(R){var F=R.interaction.inertia;F.active&&F.stop()},"interactions:before-action-resume":function(R){var F=R.interaction.modification;F.stop(R),F.start(R,R.interaction.coords.cur.page),F.applyToInteraction(R)},"interactions:before-action-inertiastart":function(R){return R.interaction.modification.setAndApply(R)},"interactions:action-resume":uo,"interactions:action-inertiastart":uo,"interactions:after-action-inertiastart":function(R){return R.interaction.modification.restoreInteractionCoords(R)},"interactions:after-action-resume":function(R){return R.interaction.modification.restoreInteractionCoords(R)}}};function ks(R,F,Z,nA){var lA=1-R;return lA*lA*F+2*lA*R*Z+R*R*nA}function jo(R,F,Z,nA){return-Z*(R/=nA)*(R-2)+F}var gg=cg;function _s(R,F){for(var Z=0;Z<F.length;Z++){var nA=F[Z];if(R.immediatePropagationStopped)break;nA(R)}}var Ms=function(){function R(F){I(this,R),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=AA({},F||{})}return b(R,[{key:"fire",value:function(F){var Z,nA=this.global;(Z=this.types[F.type])&&_s(F,Z),!F.propagationStopped&&nA&&(Z=nA[F.type])&&_s(F,Z)}},{key:"on",value:function(F,Z){var nA=j(F,Z);for(F in nA)this.types[F]=ye(this.types[F]||[],nA[F])}},{key:"off",value:function(F,Z){var nA=j(F,Z);for(F in nA){var lA=this.types[F];if(lA&&lA.length)for(var uA=0,mA=nA[F];uA<mA.length;uA++){var IA=mA[uA],DA=lA.indexOf(IA);DA!==-1&&lA.splice(DA,1)}}}},{key:"getRect",value:function(F){return null}}]),R}(),ug=function(){function R(F){I(this,R),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=F,O(this,F)}return b(R,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),R}();function ho(R){return u.object(R)?{capture:!!R.capture,passive:!!R.passive}:{capture:!!R,passive:!1}}function rt(R,F){return R===F||(typeof R=="boolean"?!!F.capture===R&&!F.passive:!!R.capture==!!F.capture&&!!R.passive==!!F.passive)}var ct={id:"events",install:function(R){var F,Z=[],nA={},lA=[],uA={add:mA,remove:IA,addDelegate:function(yA,GA,WA,se,oe){var ue=ho(oe);if(!nA[WA]){nA[WA]=[];for(var De=0;De<lA.length;De++){var Qe=lA[De];mA(Qe,WA,DA),mA(Qe,WA,xA,!0)}}var vA=nA[WA],TA=$A(vA,function(PA){return PA.selector===yA&&PA.context===GA});TA||(TA={selector:yA,context:GA,listeners:[]},vA.push(TA)),TA.listeners.push({func:se,options:ue})},removeDelegate:function(yA,GA,WA,se,oe){var ue,De=ho(oe),Qe=nA[WA],vA=!1;if(Qe)for(ue=Qe.length-1;ue>=0;ue--){var TA=Qe[ue];if(TA.selector===yA&&TA.context===GA){for(var PA=TA.listeners,VA=PA.length-1;VA>=0;VA--){var Be=PA[VA];if(Be.func===se&&rt(Be.options,De)){PA.splice(VA,1),PA.length||(Qe.splice(ue,1),IA(GA,WA,DA),IA(GA,WA,xA,!0)),vA=!0;break}}if(vA)break}}},delegateListener:DA,delegateUseCapture:xA,delegatedEvents:nA,documents:lA,targets:Z,supportsOptions:!1,supportsPassive:!1};function mA(yA,GA,WA,se){if(yA.addEventListener){var oe=ho(se),ue=$A(Z,function(De){return De.eventTarget===yA});ue||(ue={eventTarget:yA,events:{}},Z.push(ue)),ue.events[GA]||(ue.events[GA]=[]),$A(ue.events[GA],function(De){return De.func===WA&&rt(De.options,oe)})||(yA.addEventListener(GA,WA,uA.supportsOptions?oe:oe.capture),ue.events[GA].push({func:WA,options:oe}))}}function IA(yA,GA,WA,se){if(yA.addEventListener&&yA.removeEventListener){var oe=UA(Z,function(Pe){return Pe.eventTarget===yA}),ue=Z[oe];if(ue&&ue.events)if(GA!=="all"){var De=!1,Qe=ue.events[GA];if(Qe){if(WA==="all"){for(var vA=Qe.length-1;vA>=0;vA--){var TA=Qe[vA];IA(yA,GA,TA.func,TA.options)}return}for(var PA=ho(se),VA=0;VA<Qe.length;VA++){var Be=Qe[VA];if(Be.func===WA&&rt(Be.options,PA)){yA.removeEventListener(GA,WA,uA.supportsOptions?PA:PA.capture),Qe.splice(VA,1),Qe.length===0&&(delete ue.events[GA],De=!0);break}}}De&&!Object.keys(ue.events).length&&Z.splice(oe,1)}else for(GA in ue.events)ue.events.hasOwnProperty(GA)&&IA(yA,GA,"all")}}function DA(yA,GA){for(var WA=ho(GA),se=new ug(yA),oe=nA[yA.type],ue=ZA(yA)[0],De=ue;u.element(De);){for(var Qe=0;Qe<oe.length;Qe++){var vA=oe[Qe],TA=vA.selector,PA=vA.context;if(G(De,TA)&&M(PA,ue)&&M(PA,De)){var VA=vA.listeners;se.currentTarget=De;for(var Be=0;Be<VA.length;Be++){var Pe=VA[Be];rt(Pe.options,WA)&&Pe.func(se)}}}De=P(De)}}function xA(yA){return DA(yA,!0)}return(F=R.document)==null||F.createElement("div").addEventListener("test",null,{get capture(){return uA.supportsOptions=!0},get passive(){return uA.supportsPassive=!0}}),R.events=uA,uA}},zr={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(R){for(var F=0,Z=zr.methodOrder;F<Z.length;F++){var nA=Z[F],lA=zr[nA](R);if(lA)return lA}return null},simulationResume:function(R){var F=R.pointerType,Z=R.eventType,nA=R.eventTarget,lA=R.scope;if(!/down|start/i.test(Z))return null;for(var uA=0,mA=lA.interactions.list;uA<mA.length;uA++){var IA=mA[uA],DA=nA;if(IA.simulation&&IA.simulation.allowResume&&IA.pointerType===F)for(;DA;){if(DA===IA.element)return IA;DA=P(DA)}}return null},mouseOrPen:function(R){var F,Z=R.pointerId,nA=R.pointerType,lA=R.eventType,uA=R.scope;if(nA!=="mouse"&&nA!=="pen")return null;for(var mA=0,IA=uA.interactions.list;mA<IA.length;mA++){var DA=IA[mA];if(DA.pointerType===nA){if(DA.simulation&&!xs(DA,Z))continue;if(DA.interacting())return DA;F||(F=DA)}}if(F)return F;for(var xA=0,yA=uA.interactions.list;xA<yA.length;xA++){var GA=yA[xA];if(!(GA.pointerType!==nA||/down/i.test(lA)&&GA.simulation))return GA}return null},hasPointer:function(R){for(var F=R.pointerId,Z=0,nA=R.scope.interactions.list;Z<nA.length;Z++){var lA=nA[Z];if(xs(lA,F))return lA}return null},idle:function(R){for(var F=R.pointerType,Z=0,nA=R.scope.interactions.list;Z<nA.length;Z++){var lA=nA[Z];if(lA.pointers.length===1){var uA=lA.interactable;if(uA&&(!uA.options.gesture||!uA.options.gesture.enabled))continue}else if(lA.pointers.length>=2)continue;if(!lA.interacting()&&F===lA.pointerType)return lA}return null}};function xs(R,F){return R.pointers.some(function(Z){return Z.id===F})}var dg=zr,Zr=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Ss(R,F){return function(Z){var nA=F.interactions.list,lA=SA(Z),uA=ZA(Z),mA=uA[0],IA=uA[1],DA=[];if(/^touch/.test(Z.type)){F.prevTouchTime=F.now();for(var xA=0,yA=Z.changedTouches;xA<yA.length;xA++){var GA=yA[xA],WA={pointer:GA,pointerId:YA(GA),pointerType:lA,eventType:Z.type,eventTarget:mA,curEventTarget:IA,scope:F},se=Fs(WA);DA.push([WA.pointer,WA.eventTarget,WA.curEventTarget,se])}}else{var oe=!1;if(!E.supportsPointerEvent&&/mouse/.test(Z.type)){for(var ue=0;ue<nA.length&&!oe;ue++)oe=nA[ue].pointerType!=="mouse"&&nA[ue].pointerIsDown;oe=oe||F.now()-F.prevTouchTime<500||Z.timeStamp===0}if(!oe){var De={pointer:Z,pointerId:YA(Z),pointerType:lA,eventType:Z.type,curEventTarget:IA,eventTarget:mA,scope:F},Qe=Fs(De);DA.push([De.pointer,De.eventTarget,De.curEventTarget,Qe])}}for(var vA=0;vA<DA.length;vA++){var TA=DA[vA],PA=TA[0],VA=TA[1],Be=TA[2];TA[3][R](PA,Z,VA,Be)}}}function Fs(R){var F=R.pointerType,Z=R.scope,nA={interaction:dg.search(R),searchDetails:R};return Z.fire("interactions:find",nA),nA.interaction||Z.interactions.new({pointerType:F})}function qo(R,F){var Z=R.doc,nA=R.scope,lA=R.options,uA=nA.interactions.docEvents,mA=nA.events,IA=mA[F];for(var DA in nA.browser.isIOS&&!lA.events&&(lA.events={passive:!1}),mA.delegatedEvents)IA(Z,DA,mA.delegateListener),IA(Z,DA,mA.delegateUseCapture,!0);for(var xA=lA&&lA.events,yA=0;yA<uA.length;yA++){var GA=uA[yA];IA(Z,GA.type,GA.listener,xA)}}var hg={id:"core/interactions",install:function(R){for(var F={},Z=0;Z<Zr.length;Z++){var nA=Zr[Z];F[nA]=Ss(nA,R)}var lA,uA=E.pEventTypes;function mA(){for(var IA=0,DA=R.interactions.list;IA<DA.length;IA++){var xA=DA[IA];if(xA.pointerIsDown&&xA.pointerType==="touch"&&!xA._interacting)for(var yA=function(){var se=WA[GA];R.documents.some(function(oe){return M(oe.doc,se.downTarget)})||xA.removePointer(se.pointer,se.event)},GA=0,WA=xA.pointers;GA<WA.length;GA++)yA()}}(lA=r.PointerEvent?[{type:uA.down,listener:mA},{type:uA.down,listener:F.pointerDown},{type:uA.move,listener:F.pointerMove},{type:uA.up,listener:F.pointerUp},{type:uA.cancel,listener:F.pointerUp}]:[{type:"mousedown",listener:F.pointerDown},{type:"mousemove",listener:F.pointerMove},{type:"mouseup",listener:F.pointerUp},{type:"touchstart",listener:mA},{type:"touchstart",listener:F.pointerDown},{type:"touchmove",listener:F.pointerMove},{type:"touchend",listener:F.pointerUp},{type:"touchcancel",listener:F.pointerUp}]).push({type:"blur",listener:function(IA){for(var DA=0,xA=R.interactions.list;DA<xA.length;DA++)xA[DA].documentBlur(IA)}}),R.prevTouchTime=0,R.Interaction=function(IA){w(xA,IA);var DA=$(xA);function xA(){return I(this,xA),DA.apply(this,arguments)}return b(xA,[{key:"pointerMoveTolerance",get:function(){return R.interactions.pointerMoveTolerance},set:function(yA){R.interactions.pointerMoveTolerance=yA}},{key:"_now",value:function(){return R.now()}}]),xA}(vs),R.interactions={list:[],new:function(IA){IA.scopeFire=function(xA,yA){return R.fire(xA,yA)};var DA=new R.Interaction(IA);return R.interactions.list.push(DA),DA},listeners:F,docEvents:lA,pointerMoveTolerance:1},R.usePlugin(ti)},listeners:{"scope:add-document":function(R){return qo(R,"add")},"scope:remove-document":function(R){return qo(R,"remove")},"interactable:unset":function(R,F){for(var Z=R.interactable,nA=F.interactions.list.length-1;nA>=0;nA--){var lA=F.interactions.list[nA];lA.interactable===Z&&(lA.stop(),F.fire("interactions:destroy",{interaction:lA}),lA.destroy(),F.interactions.list.length>2&&F.interactions.list.splice(nA,1))}}},onDocSignal:qo,doOnInteractions:Ss,methodNames:Zr},St=hg,Rn=function(R){return R[R.On=0]="On",R[R.Off=1]="Off",R}(Rn||{}),mi=function(){function R(F,Z,nA,lA){I(this,R),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new Ms,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=Z.actions,this.target=F,this._context=Z.context||nA,this._win=y(H(F)?this._context:F),this._doc=this._win.document,this._scopeEvents=lA,this.set(Z)}return b(R,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(F,Z){return u.func(Z.onstart)&&this.on("".concat(F,"start"),Z.onstart),u.func(Z.onmove)&&this.on("".concat(F,"move"),Z.onmove),u.func(Z.onend)&&this.on("".concat(F,"end"),Z.onend),u.func(Z.oninertiastart)&&this.on("".concat(F,"inertiastart"),Z.oninertiastart),this}},{key:"updatePerActionListeners",value:function(F,Z,nA){var lA,uA=this,mA=(lA=this._actions.map[F])==null?void 0:lA.filterEventType,IA=function(DA){return(mA==null||mA(DA))&&bn(DA,uA._actions)};(u.array(Z)||u.object(Z))&&this._onOff(Rn.Off,F,Z,void 0,IA),(u.array(nA)||u.object(nA))&&this._onOff(Rn.On,F,nA,void 0,IA)}},{key:"setPerAction",value:function(F,Z){var nA=this._defaults;for(var lA in Z){var uA=lA,mA=this.options[F],IA=Z[uA];uA==="listeners"&&this.updatePerActionListeners(F,mA.listeners,IA),u.array(IA)?mA[uA]=xe(IA):u.plainObject(IA)?(mA[uA]=AA(mA[uA]||{},Gi(IA)),u.object(nA.perAction[uA])&&"enabled"in nA.perAction[uA]&&(mA[uA].enabled=IA.enabled!==!1)):u.bool(IA)&&u.object(nA.perAction[uA])?mA[uA].enabled=IA:mA[uA]=IA}}},{key:"getRect",value:function(F){return F=F||(u.element(this.target)?this.target:null),u.string(this.target)&&(F=F||this._context.querySelector(this.target)),_(F)}},{key:"rectChecker",value:function(F){var Z=this;return u.func(F)?(this.getRect=function(nA){var lA=AA({},F.apply(Z,nA));return"width"in lA||(lA.width=lA.right-lA.left,lA.height=lA.bottom-lA.top),lA},this):F===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(F,Z){if(H(Z)||u.object(Z)){for(var nA in this.options[F]=Z,this._actions.map)this.options[nA][F]=Z;return this}return this.options[F]}},{key:"origin",value:function(F){return this._backCompatOption("origin",F)}},{key:"deltaSource",value:function(F){return F==="page"||F==="client"?(this.options.deltaSource=F,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var F=this.target;return u.string(F)?Array.from(this._context.querySelectorAll(F)):u.func(F)&&F.getAllElements?F.getAllElements():u.element(F)?[F]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(F){return this._context===F.ownerDocument||M(this._context,F)}},{key:"testIgnoreAllow",value:function(F,Z,nA){return!this.testIgnore(F.ignoreFrom,Z,nA)&&this.testAllow(F.allowFrom,Z,nA)}},{key:"testAllow",value:function(F,Z,nA){return!F||!!u.element(nA)&&(u.string(F)?W(nA,F,Z):!!u.element(F)&&M(F,nA))}},{key:"testIgnore",value:function(F,Z,nA){return!(!F||!u.element(nA))&&(u.string(F)?W(nA,F,Z):!!u.element(F)&&M(F,nA))}},{key:"fire",value:function(F){return this.events.fire(F),this}},{key:"_onOff",value:function(F,Z,nA,lA,uA){u.object(Z)&&!u.array(Z)&&(lA=nA,nA=null);var mA=j(Z,nA,uA);for(var IA in mA){IA==="wheel"&&(IA=E.wheelEvent);for(var DA=0,xA=mA[IA];DA<xA.length;DA++){var yA=xA[DA];bn(IA,this._actions)?this.events[F===Rn.On?"on":"off"](IA,yA):u.string(this.target)?this._scopeEvents[F===Rn.On?"addDelegate":"removeDelegate"](this.target,this._context,IA,yA,lA):this._scopeEvents[F===Rn.On?"add":"remove"](this.target,IA,yA,lA)}}return this}},{key:"on",value:function(F,Z,nA){return this._onOff(Rn.On,F,Z,nA)}},{key:"off",value:function(F,Z,nA){return this._onOff(Rn.Off,F,Z,nA)}},{key:"set",value:function(F){var Z=this._defaults;for(var nA in u.object(F)||(F={}),this.options=Gi(Z.base),this._actions.methodDict){var lA=nA,uA=this._actions.methodDict[lA];this.options[lA]={},this.setPerAction(lA,AA(AA({},Z.perAction),Z.actions[lA])),this[uA](F[lA])}for(var mA in F)mA!=="getRect"?u.func(this[mA])&&this[mA](F[mA]):this.rectChecker(F.getRect);return this}},{key:"unset",value:function(){if(u.string(this.target))for(var F in this._scopeEvents.delegatedEvents)for(var Z=this._scopeEvents.delegatedEvents[F],nA=Z.length-1;nA>=0;nA--){var lA=Z[nA],uA=lA.selector,mA=lA.context,IA=lA.listeners;uA===this.target&&mA===this._context&&Z.splice(nA,1);for(var DA=IA.length-1;DA>=0;DA--)this._scopeEvents.removeDelegate(this.target,this._context,F,IA[DA][0],IA[DA][1])}else this._scopeEvents.remove(this.target,"all")}}]),R}(),Ns=function(){function R(F){var Z=this;I(this,R),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=F,F.addListeners({"interactable:unset":function(nA){var lA=nA.interactable,uA=lA.target,mA=u.string(uA)?Z.selectorMap[uA]:uA[Z.scope.id],IA=UA(mA,function(DA){return DA===lA});mA.splice(IA,1)}})}return b(R,[{key:"new",value:function(F,Z){Z=AA(Z||{},{actions:this.scope.actions});var nA=new this.scope.Interactable(F,Z,this.scope.document,this.scope.events);return this.scope.addDocument(nA._doc),this.list.push(nA),u.string(F)?(this.selectorMap[F]||(this.selectorMap[F]=[]),this.selectorMap[F].push(nA)):(nA.target[this.scope.id]||Object.defineProperty(F,this.scope.id,{value:[],configurable:!0}),F[this.scope.id].push(nA)),this.scope.fire("interactable:new",{target:F,options:Z,interactable:nA,win:this.scope._win}),nA}},{key:"getExisting",value:function(F,Z){var nA=Z&&Z.context||this.scope.document,lA=u.string(F),uA=lA?this.selectorMap[F]:F[this.scope.id];if(uA)return $A(uA,function(mA){return mA._context===nA&&(lA||mA.inContext(F))})}},{key:"forEachMatch",value:function(F,Z){for(var nA=0,lA=this.list;nA<lA.length;nA++){var uA=lA[nA],mA=void 0;if((u.string(uA.target)?u.element(F)&&G(F,uA.target):F===uA.target)&&uA.inContext(F)&&(mA=Z(uA)),mA!==void 0)return mA}}}]),R}(),Wr=function(){function R(){var F=this;I(this,R),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=E,this.defaults=Gi(Zo),this.Eventable=Ms,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=function(nA){var lA=function uA(mA,IA){var DA=nA.interactables.getExisting(mA,IA);return DA||((DA=nA.interactables.new(mA,IA)).events.global=uA.globalEvents),DA};return lA.getPointerAverage=jA,lA.getTouchBBox=pe,lA.getTouchDistance=ae,lA.getTouchAngle=LA,lA.getElementRect=_,lA.getElementClientRect=eA,lA.matchesSelector=G,lA.closest=x,lA.globalEvents={},lA.version="1.10.27",lA.scope=nA,lA.use=function(uA,mA){return this.scope.usePlugin(uA,mA),this},lA.isSet=function(uA,mA){return!!this.scope.interactables.get(uA,mA&&mA.context)},lA.on=At(function(uA,mA,IA){if(u.string(uA)&&uA.search(" ")!==-1&&(uA=uA.trim().split(/ +/)),u.array(uA)){for(var DA=0,xA=uA;DA<xA.length;DA++){var yA=xA[DA];this.on(yA,mA,IA)}return this}if(u.object(uA)){for(var GA in uA)this.on(GA,uA[GA],mA);return this}return bn(uA,this.scope.actions)?this.globalEvents[uA]?this.globalEvents[uA].push(mA):this.globalEvents[uA]=[mA]:this.scope.events.add(this.scope.document,uA,mA,{options:IA}),this},"The interact.on() method is being deprecated"),lA.off=At(function(uA,mA,IA){if(u.string(uA)&&uA.search(" ")!==-1&&(uA=uA.trim().split(/ +/)),u.array(uA)){for(var DA=0,xA=uA;DA<xA.length;DA++){var yA=xA[DA];this.off(yA,mA,IA)}return this}if(u.object(uA)){for(var GA in uA)this.off(GA,uA[GA],mA);return this}var WA;return bn(uA,this.scope.actions)?uA in this.globalEvents&&(WA=this.globalEvents[uA].indexOf(mA))!==-1&&this.globalEvents[uA].splice(WA,1):this.scope.events.remove(this.scope.document,uA,mA,IA),this},"The interact.off() method is being deprecated"),lA.debug=function(){return this.scope},lA.supportsTouch=function(){return E.supportsTouch},lA.supportsPointerEvent=function(){return E.supportsPointerEvent},lA.stop=function(){for(var uA=0,mA=this.scope.interactions.list;uA<mA.length;uA++)mA[uA].stop();return this},lA.pointerMoveTolerance=function(uA){return u.number(uA)?(this.scope.interactions.pointerMoveTolerance=uA,this):this.scope.interactions.pointerMoveTolerance},lA.addDocument=function(uA,mA){this.scope.addDocument(uA,mA)},lA.removeDocument=function(uA){this.scope.removeDocument(uA)},lA}(this),this.InteractEvent=ni,this.Interactable=void 0,this.interactables=new Ns(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(nA){return F.removeDocument(nA.target)};var Z=this;this.Interactable=function(nA){w(uA,nA);var lA=$(uA);function uA(){return I(this,uA),lA.apply(this,arguments)}return b(uA,[{key:"_defaults",get:function(){return Z.defaults}},{key:"set",value:function(mA){return K(S(uA.prototype),"set",this).call(this,mA),Z.fire("interactable:set",{options:mA,interactable:this}),this}},{key:"unset",value:function(){K(S(uA.prototype),"unset",this).call(this);var mA=Z.interactables.list.indexOf(this);mA<0||(Z.interactables.list.splice(mA,1),Z.fire("interactable:unset",{interactable:this}))}}]),uA}(mi)}return b(R,[{key:"addListeners",value:function(F,Z){this.listenerMaps.push({id:Z,map:F})}},{key:"fire",value:function(F,Z){for(var nA=0,lA=this.listenerMaps;nA<lA.length;nA++){var uA=lA[nA].map[F];if(uA&&uA(Z,this,F)===!1)return!1}}},{key:"init",value:function(F){return this.isInitialized?this:function(Z,nA){return Z.isInitialized=!0,u.window(nA)&&k(nA),r.init(nA),E.init(nA),Ie.init(nA),Z.window=nA,Z.document=nA.document,Z.usePlugin(St),Z.usePlugin(ct),Z}(this,F)}},{key:"pluginIsInstalled",value:function(F){var Z=F.id;return Z?!!this._plugins.map[Z]:this._plugins.list.indexOf(F)!==-1}},{key:"usePlugin",value:function(F,Z){if(!this.isInitialized)return this;if(this.pluginIsInstalled(F))return this;if(F.id&&(this._plugins.map[F.id]=F),this._plugins.list.push(F),F.install&&F.install(this,Z),F.listeners&&F.before){for(var nA=0,lA=this.listenerMaps.length,uA=F.before.reduce(function(IA,DA){return IA[DA]=!0,IA[en(DA)]=!0,IA},{});nA<lA;nA++){var mA=this.listenerMaps[nA].id;if(mA&&(uA[mA]||uA[en(mA)]))break}this.listenerMaps.splice(nA,0,{id:F.id,map:F.listeners})}else F.listeners&&this.listenerMaps.push({id:F.id,map:F.listeners});return this}},{key:"addDocument",value:function(F,Z){if(this.getDocIndex(F)!==-1)return!1;var nA=y(F);Z=Z?AA({},Z):{},this.documents.push({doc:F,options:Z}),this.events.documents.push(F),F!==this.document&&this.events.add(nA,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:F,window:nA,scope:this,options:Z})}},{key:"removeDocument",value:function(F){var Z=this.getDocIndex(F),nA=y(F),lA=this.documents[Z].options;this.events.remove(nA,"unload",this.onWindowUnload),this.documents.splice(Z,1),this.events.documents.splice(Z,1),this.fire("scope:remove-document",{doc:F,window:nA,scope:this,options:lA})}},{key:"getDocIndex",value:function(F){for(var Z=0;Z<this.documents.length;Z++)if(this.documents[Z].doc===F)return Z;return-1}},{key:"getDocOptions",value:function(F){var Z=this.getDocIndex(F);return Z===-1?null:this.documents[Z].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),R}();function en(R){return R&&R.replace(/\/.*$/,"")}var jr=new Wr,Rt=jr.interactStatic,Rs=typeof globalThis<"u"?globalThis:window;jr.init(Rs);var Ls=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(R){var F=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(nA){var lA=nA[0],uA=nA[1];return lA in R||uA in R}),Z=function(nA,lA){for(var uA=R.range,mA=R.limits,IA=mA===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:mA,DA=R.offset,xA=DA===void 0?{x:0,y:0}:DA,yA={range:uA,grid:R,x:null,y:null},GA=0;GA<F.length;GA++){var WA=F[GA],se=WA[0],oe=WA[1],ue=Math.round((nA-xA.x)/R[se]),De=Math.round((lA-xA.y)/R[oe]);yA[se]=Math.max(IA.left,Math.min(IA.right,ue*R[se]+xA.x)),yA[oe]=Math.max(IA.top,Math.min(IA.bottom,De*R[oe]+xA.y))}return yA};return Z.grid=R,Z.coordFields=F,Z}}),Gs={id:"snappers",install:function(R){var F=R.interactStatic;F.snappers=AA(F.snappers||{},Ls),F.createSnapGrid=F.snappers.grid}},Ps=Gs,tn={start:function(R){var F=R.state,Z=R.rect,nA=R.edges,lA=R.pageCoords,uA=F.options,mA=uA.ratio,IA=uA.enabled,DA=F.options,xA=DA.equalDelta,yA=DA.modifiers;mA==="preserve"&&(mA=Z.width/Z.height),F.startCoords=AA({},lA),F.startRect=AA({},Z),F.ratio=mA,F.equalDelta=xA;var GA=F.linkedEdges={top:nA.top||nA.left&&!nA.bottom,left:nA.left||nA.top&&!nA.right,bottom:nA.bottom||nA.right&&!nA.top,right:nA.right||nA.bottom&&!nA.left};if(F.xIsPrimaryAxis=!(!nA.left&&!nA.right),F.equalDelta){var WA=(GA.left?1:-1)*(GA.top?1:-1);F.edgeSign={x:WA,y:WA}}else F.edgeSign={x:GA.left?-1:1,y:GA.top?-1:1};if(IA!==!1&&AA(nA,GA),yA!=null&&yA.length){var se=new Jo(R.interaction);se.copyFrom(R.interaction.modification),se.prepareStates(yA),F.subModification=se,se.startAll(i({},R))}},set:function(R){var F=R.state,Z=R.rect,nA=R.coords,lA=F.linkedEdges,uA=AA({},nA),mA=F.equalDelta?pg:un;if(AA(R.edges,lA),mA(F,F.xIsPrimaryAxis,nA,Z),!F.subModification)return null;var IA=AA({},Z);iA(lA,IA,{x:nA.x-uA.x,y:nA.y-uA.y});var DA=F.subModification.setAll(i(i({},R),{},{rect:IA,edges:lA,pageCoords:nA,prevCoords:nA,prevRect:IA})),xA=DA.delta;return DA.changed&&(mA(F,Math.abs(xA.x)>Math.abs(xA.y),DA.coords,DA.rect),AA(nA,DA.coords)),DA.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function pg(R,F,Z){var nA=R.startCoords,lA=R.edgeSign;F?Z.y=nA.y+(Z.x-nA.x)*lA.y:Z.x=nA.x+(Z.y-nA.y)*lA.x}function un(R,F,Z,nA){var lA=R.startRect,uA=R.startCoords,mA=R.ratio,IA=R.edgeSign;if(F){var DA=nA.width/mA;Z.y=uA.y+(DA-lA.height)*IA.y}else{var xA=nA.height*mA;Z.x=uA.x+(xA-lA.width)*IA.x}}var Bg=Nn(tn,"aspectRatio"),qr=function(){};qr._defaults={};var Dn=qr;function Ln(R,F,Z){return u.func(R)?oA(R,F.interactable,F.element,[Z.x,Z.y,F]):oA(R,F.interactable,F.element)}var Pi={start:function(R){var F=R.rect,Z=R.startOffset,nA=R.state,lA=R.interaction,uA=R.pageCoords,mA=nA.options,IA=mA.elementRect,DA=AA({left:0,top:0,right:0,bottom:0},mA.offset||{});if(F&&IA){var xA=Ln(mA.restriction,lA,uA);if(xA){var yA=xA.right-xA.left-F.width,GA=xA.bottom-xA.top-F.height;yA<0&&(DA.left+=yA,DA.right+=yA),GA<0&&(DA.top+=GA,DA.bottom+=GA)}DA.left+=Z.left-F.width*IA.left,DA.top+=Z.top-F.height*IA.top,DA.right+=Z.right-F.width*(1-IA.right),DA.bottom+=Z.bottom-F.height*(1-IA.bottom)}nA.offset=DA},set:function(R){var F=R.coords,Z=R.interaction,nA=R.state,lA=nA.options,uA=nA.offset,mA=Ln(lA.restriction,Z,F);if(mA){var IA=function(DA){return!DA||"left"in DA&&"top"in DA||((DA=AA({},DA)).left=DA.x||0,DA.top=DA.y||0,DA.right=DA.right||DA.left+DA.width,DA.bottom=DA.bottom||DA.top+DA.height),DA}(mA);F.x=Math.max(Math.min(IA.right-uA.right,F.x),IA.left+uA.left),F.y=Math.max(Math.min(IA.bottom-uA.bottom,F.y),IA.top+uA.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},dt=Nn(Pi,"restrict"),$n={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Xo={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Hs(R,F){for(var Z=0,nA=["top","left","bottom","right"];Z<nA.length;Z++){var lA=nA[Z];lA in R||(R[lA]=F[lA])}return R}var Ei={noInner:$n,noOuter:Xo,start:function(R){var F,Z=R.interaction,nA=R.startOffset,lA=R.state,uA=lA.options;uA&&(F=dA(Ln(uA.offset,Z,Z.coords.start.page))),F=F||{x:0,y:0},lA.offset={top:F.y+nA.top,left:F.x+nA.left,bottom:F.y-nA.bottom,right:F.x-nA.right}},set:function(R){var F=R.coords,Z=R.edges,nA=R.interaction,lA=R.state,uA=lA.offset,mA=lA.options;if(Z){var IA=AA({},F),DA=Ln(mA.inner,nA,IA)||{},xA=Ln(mA.outer,nA,IA)||{};Hs(DA,$n),Hs(xA,Xo),Z.top?F.y=Math.min(Math.max(xA.top+uA.top,IA.y),DA.top+uA.top):Z.bottom&&(F.y=Math.max(Math.min(xA.bottom+uA.bottom,IA.y),DA.bottom+uA.bottom)),Z.left?F.x=Math.min(Math.max(xA.left+uA.left,IA.x),DA.left+uA.left):Z.right&&(F.x=Math.max(Math.min(xA.right+uA.right,IA.x),DA.right+uA.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},Cg=Nn(Ei,"restrictEdges"),mg=AA({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(R){}},Pi.defaults),Eg=Nn({start:Pi.start,set:Pi.set,defaults:mg},"restrictRect"),Ks={width:-1/0,height:-1/0},Vo={width:1/0,height:1/0},Hi=Nn({start:function(R){return Ei.start(R)},set:function(R){var F=R.interaction,Z=R.state,nA=R.rect,lA=R.edges,uA=Z.options;if(lA){var mA=pA(Ln(uA.min,F,R.coords))||Ks,IA=pA(Ln(uA.max,F,R.coords))||Vo;Z.options={endOnly:uA.endOnly,inner:AA({},Ei.noInner),outer:AA({},Ei.noOuter)},lA.top?(Z.options.inner.top=nA.bottom-mA.height,Z.options.outer.top=nA.bottom-IA.height):lA.bottom&&(Z.options.inner.bottom=nA.top+mA.height,Z.options.outer.bottom=nA.top+IA.height),lA.left?(Z.options.inner.left=nA.right-mA.width,Z.options.outer.left=nA.right-IA.width):lA.right&&(Z.options.inner.right=nA.left+mA.width,Z.options.outer.right=nA.left+IA.width),Ei.set(R),Z.options=uA}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),Xr={start:function(R){var F,Z=R.interaction,nA=R.interactable,lA=R.element,uA=R.rect,mA=R.state,IA=R.startOffset,DA=mA.options,xA=DA.offsetWithOrigin?function(WA){var se=WA.interaction.element,oe=dA(oA(WA.state.options.origin,null,null,[se])),ue=oe||CA(WA.interactable,se,WA.interaction.prepared.name);return ue}(R):{x:0,y:0};if(DA.offset==="startCoords")F={x:Z.coords.start.page.x,y:Z.coords.start.page.y};else{var yA=oA(DA.offset,nA,lA,[Z]);(F=dA(yA)||{x:0,y:0}).x+=xA.x,F.y+=xA.y}var GA=DA.relativePoints;mA.offsets=uA&&GA&&GA.length?GA.map(function(WA,se){return{index:se,relativePoint:WA,x:IA.left-uA.width*WA.x+F.x,y:IA.top-uA.height*WA.y+F.y}}):[{index:0,relativePoint:null,x:F.x,y:F.y}]},set:function(R){var F=R.interaction,Z=R.coords,nA=R.state,lA=nA.options,uA=nA.offsets,mA=CA(F.interactable,F.element,F.prepared.name),IA=AA({},Z),DA=[];lA.offsetWithOrigin||(IA.x-=mA.x,IA.y-=mA.y);for(var xA=0,yA=uA;xA<yA.length;xA++)for(var GA=yA[xA],WA=IA.x-GA.x,se=IA.y-GA.y,oe=0,ue=lA.targets.length;oe<ue;oe++){var De=lA.targets[oe],Qe=void 0;(Qe=u.func(De)?De(WA,se,F._proxy,GA,oe):De)&&DA.push({x:(u.number(Qe.x)?Qe.x:WA)+GA.x,y:(u.number(Qe.y)?Qe.y:se)+GA.y,range:u.number(Qe.range)?Qe.range:lA.range,source:De,index:oe,offset:GA})}for(var vA={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},TA=0;TA<DA.length;TA++){var PA=DA[TA],VA=PA.range,Be=PA.x-IA.x,Pe=PA.y-IA.y,He=gA(Be,Pe),Ye=He<=VA;VA===1/0&&vA.inRange&&vA.range!==1/0&&(Ye=!1),vA.target&&!(Ye?vA.inRange&&VA!==1/0?He/VA<vA.distance/vA.range:VA===1/0&&vA.range!==1/0||He<vA.distance:!vA.inRange&&He<vA.distance)||(vA.target=PA,vA.distance=He,vA.range=VA,vA.inRange=Ye,vA.delta.x=Be,vA.delta.y=Pe)}return vA.inRange&&(Z.x=vA.target.x,Z.y=vA.target.y),nA.closest=vA,vA},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}},Ts=Nn(Xr,"snap"),po={start:function(R){var F=R.state,Z=R.edges,nA=F.options;if(!Z)return null;R.state={options:{targets:null,relativePoints:[{x:Z.left?0:1,y:Z.top?0:1}],offset:nA.offset||"self",origin:{x:0,y:0},range:nA.range}},F.targetFields=F.targetFields||[["width","height"],["x","y"]],Xr.start(R),F.offsets=R.state.offsets,R.state=F},set:function(R){var F=R.interaction,Z=R.state,nA=R.coords,lA=Z.options,uA=Z.offsets,mA={x:nA.x-uA[0].x,y:nA.y-uA[0].y};Z.options=AA({},lA),Z.options.targets=[];for(var IA=0,DA=lA.targets||[];IA<DA.length;IA++){var xA=DA[IA],yA=void 0;if(yA=u.func(xA)?xA(mA.x,mA.y,F):xA){for(var GA=0,WA=Z.targetFields;GA<WA.length;GA++){var se=WA[GA],oe=se[0],ue=se[1];if(oe in yA||ue in yA){yA.x=yA[oe],yA.y=yA[ue];break}}Z.options.targets.push(yA)}}var De=Xr.set(R);return Z.options=lA,De},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},Vr=Nn(po,"snapSize"),Bo={aspectRatio:Bg,restrictEdges:Cg,restrict:dt,restrictRect:Eg,restrictSize:Hi,snapEdges:Nn({start:function(R){var F=R.edges;return F?(R.state.targetFields=R.state.targetFields||[[F.left?"left":"right",F.top?"top":"bottom"]],po.start(R)):null},set:po.set,defaults:AA(Gi(po.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:Ts,snapSize:Vr,spring:Dn,avoid:Dn,transform:Dn,rubberband:Dn},Us={id:"modifiers",install:function(R){var F=R.interactStatic;for(var Z in R.usePlugin(zo),R.usePlugin(Ps),F.modifiers=Bo,Bo){var nA=Bo[Z],lA=nA._defaults,uA=nA._methods;lA._methods=uA,R.defaults.perAction[Z]=lA}}},Qg=Us,Ar=function(R){w(Z,R);var F=$(Z);function Z(nA,lA,uA,mA,IA,DA){var xA;if(I(this,Z),O(T(xA=F.call(this,IA)),uA),uA!==lA&&O(T(xA),lA),xA.timeStamp=DA,xA.originalEvent=uA,xA.type=nA,xA.pointerId=YA(lA),xA.pointerType=SA(lA),xA.target=mA,xA.currentTarget=null,nA==="tap"){var yA=IA.getPointerIndex(lA);xA.dt=xA.timeStamp-IA.pointers[yA].downTime;var GA=xA.timeStamp-IA.tapTime;xA.double=!!IA.prevTap&&IA.prevTap.type!=="doubletap"&&IA.prevTap.target===xA.target&&GA<500}else nA==="doubletap"&&(xA.dt=lA.timeStamp-IA.tapTime,xA.double=!0);return xA}return b(Z,[{key:"_subtractOrigin",value:function(nA){var lA=nA.x,uA=nA.y;return this.pageX-=lA,this.pageY-=uA,this.clientX-=lA,this.clientY-=uA,this}},{key:"_addOrigin",value:function(nA){var lA=nA.x,uA=nA.y;return this.pageX+=lA,this.pageY+=uA,this.clientX+=lA,this.clientY+=uA,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),Z}(Ce),Qi={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(R){R.pointerEvents=Qi,R.defaults.actions.pointerEvents=Qi.defaults,AA(R.actions.phaselessTypes,Qi.types)},listeners:{"interactions:new":function(R){var F=R.interaction;F.prevTap=null,F.tapTime=0},"interactions:update-pointer":function(R){var F=R.down,Z=R.pointerInfo;!F&&Z.hold||(Z.hold={duration:1/0,timeout:null})},"interactions:move":function(R,F){var Z=R.interaction,nA=R.pointer,lA=R.event,uA=R.eventTarget;R.duplicate||Z.pointerIsDown&&!Z.pointerWasMoved||(Z.pointerIsDown&&Pt(R),ii({interaction:Z,pointer:nA,event:lA,eventTarget:uA,type:"move"},F))},"interactions:down":function(R,F){(function(Z,nA){for(var lA=Z.interaction,uA=Z.pointer,mA=Z.event,IA=Z.eventTarget,DA=Z.pointerIndex,xA=lA.pointers[DA].hold,yA=V(IA),GA={interaction:lA,pointer:uA,event:mA,eventTarget:IA,type:"hold",targets:[],path:yA,node:null},WA=0;WA<yA.length;WA++){var se=yA[WA];GA.node=se,nA.fire("pointerEvents:collect-targets",GA)}if(GA.targets.length){for(var oe=1/0,ue=0,De=GA.targets;ue<De.length;ue++){var Qe=De[ue].eventable.options.holdDuration;Qe<oe&&(oe=Qe)}xA.duration=oe,xA.timeout=setTimeout(function(){ii({interaction:lA,eventTarget:IA,pointer:uA,event:mA,type:"hold"},nA)},oe)}})(R,F),ii(R,F)},"interactions:up":function(R,F){Pt(R),ii(R,F),function(Z,nA){var lA=Z.interaction,uA=Z.pointer,mA=Z.event,IA=Z.eventTarget;lA.pointerWasMoved||ii({interaction:lA,eventTarget:IA,pointer:uA,event:mA,type:"tap"},nA)}(R,F)},"interactions:cancel":function(R,F){Pt(R),ii(R,F)}},PointerEvent:Ar,fire:ii,collectEventTargets:Aa,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:{down:!0,move:!0,up:!0,cancel:!0,tap:!0,doubletap:!0,hold:!0}};function ii(R,F){var Z=R.interaction,nA=R.pointer,lA=R.event,uA=R.eventTarget,mA=R.type,IA=R.targets,DA=IA===void 0?Aa(R,F):IA,xA=new Ar(mA,nA,lA,uA,Z,F.now());F.fire("pointerEvents:new",{pointerEvent:xA});for(var yA={interaction:Z,pointer:nA,event:lA,eventTarget:uA,targets:DA,type:mA,pointerEvent:xA},GA=0;GA<DA.length;GA++){var WA=DA[GA];for(var se in WA.props||{})xA[se]=WA.props[se];var oe=CA(WA.eventable,WA.node);if(xA._subtractOrigin(oe),xA.eventable=WA.eventable,xA.currentTarget=WA.node,WA.eventable.fire(xA),xA._addOrigin(oe),xA.immediatePropagationStopped||xA.propagationStopped&&GA+1<DA.length&&DA[GA+1].node!==xA.currentTarget)break}if(F.fire("pointerEvents:fired",yA),mA==="tap"){var ue=xA.double?ii({interaction:Z,pointer:nA,event:lA,eventTarget:uA,type:"doubletap"},F):xA;Z.prevTap=ue,Z.tapTime=ue.timeStamp}return xA}function Aa(R,F){var Z=R.interaction,nA=R.pointer,lA=R.event,uA=R.eventTarget,mA=R.type,IA=Z.getPointerIndex(nA),DA=Z.pointers[IA];if(mA==="tap"&&(Z.pointerWasMoved||!DA||DA.downTarget!==uA))return[];for(var xA=V(uA),yA={interaction:Z,pointer:nA,event:lA,eventTarget:uA,type:mA,path:xA,targets:[],node:null},GA=0;GA<xA.length;GA++){var WA=xA[GA];yA.node=WA,F.fire("pointerEvents:collect-targets",yA)}return mA==="hold"&&(yA.targets=yA.targets.filter(function(se){var oe,ue;return se.eventable.options.holdDuration===((oe=Z.pointers[IA])==null||(ue=oe.hold)==null?void 0:ue.duration)})),yA.targets}function Pt(R){var F=R.interaction,Z=R.pointerIndex,nA=F.pointers[Z].hold;nA&&nA.timeout&&(clearTimeout(nA.timeout),nA.timeout=null)}var ea=Object.freeze({__proto__:null,default:Qi});function Co(R){var F=R.interaction;F.holdIntervalHandle&&(clearInterval(F.holdIntervalHandle),F.holdIntervalHandle=null)}var Ys={id:"pointer-events/holdRepeat",install:function(R){R.usePlugin(Qi);var F=R.pointerEvents;F.defaults.holdRepeatInterval=0,F.types.holdrepeat=R.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce(function(R,F){return R["pointerEvents:".concat(F)]=Co,R},{"pointerEvents:new":function(R){var F=R.pointerEvent;F.type==="hold"&&(F.count=(F.count||0)+1)},"pointerEvents:fired":function(R,F){var Z=R.interaction,nA=R.pointerEvent,lA=R.eventTarget,uA=R.targets;if(nA.type==="hold"&&uA.length){var mA=uA[0].eventable.options.holdRepeatInterval;mA<=0||(Z.holdIntervalHandle=setTimeout(function(){F.pointerEvents.fire({interaction:Z,eventTarget:lA,type:"hold",pointer:nA,event:nA},F)},mA))}}})},Os=Ys,Ig={id:"pointer-events/interactableTargets",install:function(R){var F=R.Interactable;F.prototype.pointerEvents=function(nA){return AA(this.events.options,nA),this};var Z=F.prototype._backCompatOption;F.prototype._backCompatOption=function(nA,lA){var uA=Z.call(this,nA,lA);return uA===this&&(this.events.options[nA]=lA),uA}},listeners:{"pointerEvents:collect-targets":function(R,F){var Z=R.targets,nA=R.node,lA=R.type,uA=R.eventTarget;F.interactables.forEachMatch(nA,function(mA){var IA=mA.events,DA=IA.options;IA.types[lA]&&IA.types[lA].length&&mA.testIgnoreAllow(DA,nA,uA)&&Z.push({node:nA,eventable:IA,props:{interactable:mA}})})},"interactable:new":function(R){var F=R.interactable;F.events.getRect=function(Z){return F.getRect(Z)}},"interactable:set":function(R,F){var Z=R.interactable,nA=R.options;AA(Z.events.options,F.pointerEvents.defaults),AA(Z.events.options,nA.pointerEvents||{})}}},fg=Ig,wg={id:"pointer-events",install:function(R){R.usePlugin(ea),R.usePlugin(Os),R.usePlugin(fg)}},bg=wg,Dg={id:"reflow",install:function(R){var F=R.Interactable;R.actions.phases.reflow=!0,F.prototype.reflow=function(Z){return function(nA,lA,uA){for(var mA=nA.getAllElements(),IA=uA.window.Promise,DA=IA?[]:null,xA=function(){var GA=mA[yA],WA=nA.getRect(GA);if(!WA)return 1;var se,oe=$A(uA.interactions.list,function(Qe){return Qe.interacting()&&Qe.interactable===nA&&Qe.element===GA&&Qe.prepared.name===lA.name});if(oe)oe.move(),DA&&(se=oe._reflowPromise||new IA(function(Qe){oe._reflowResolve=Qe}));else{var ue=pA(WA),De=function(Qe){return{coords:Qe,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons},preventDefault:function(){}}}({page:{x:ue.x,y:ue.y},client:{x:ue.x,y:ue.y},timeStamp:uA.now()});se=function(Qe,vA,TA,PA,VA){var Be=Qe.interactions.new({pointerType:"reflow"}),Pe={interaction:Be,event:VA,pointer:VA,eventTarget:TA,phase:"reflow"};Be.interactable=vA,Be.element=TA,Be.prevEvent=VA,Be.updatePointer(VA,VA,TA,!0),tA(Be.coords.delta),gt(Be.prepared,PA),Be._doPhase(Pe);var He=Qe.window,Ye=He.Promise,nn=Ye?new Ye(function(Jn){Be._reflowResolve=Jn}):void 0;return Be._reflowPromise=nn,Be.start(PA,vA,TA),Be._interacting?(Be.move(Pe),Be.end(VA)):(Be.stop(),Be._reflowResolve()),Be.removePointer(VA,VA),nn}(uA,nA,GA,lA,De)}DA&&DA.push(se)},yA=0;yA<mA.length&&!xA();yA++);return DA&&IA.all(DA).then(function(){return nA})}(this,Z,R)}},listeners:{"interactions:stop":function(R,F){var Z=R.interaction;Z.pointerType==="reflow"&&(Z._reflowResolve&&Z._reflowResolve(),function(nA,lA){nA.splice(nA.indexOf(lA),1)}(F.interactions.list,Z))}}},Ki=Dg;if(Rt.use(ti),Rt.use(Jr),Rt.use(bg),Rt.use(gg),Rt.use(Qg),Rt.use(ei),Rt.use(JA),Rt.use($e),Rt.use(Ki),Rt.default=Rt,h(n)==="object"&&n)try{n.exports=Rt}catch{}return Rt.default=Rt,Rt})}(ps,ps.exports);var c_=ps.exports;const Jp=Iu(c_),Xc=e.defineComponent({__name:"grid-item",props:{isDraggable:{type:Boolean,default:void 0},isResizable:{type:Boolean,default:void 0},isBounded:{type:Boolean,default:void 0},static:{type:Boolean,default:!1},minH:{default:1},minW:{default:1},maxH:{default:1/0},maxW:{default:1/0},x:{},y:{},w:{},h:{},i:{},dragIgnoreFrom:{default:"a, button"},dragAllowFrom:{default:void 0},resizeIgnoreFrom:{default:"a, button"},preserveAspectRatio:{type:Boolean,default:!1},dragOption:{default:()=>({})},resizeOption:{default:()=>({})}},emits:["container-resized","resize","resized","move","moved"],setup(n,{expose:A,emit:t}){const i=n,h=t,I=e.inject(Fp),o=e.inject(Np);if(!I)throw new Error("[grid-layout-plus]: missing layout store, GridItem must under a GridLayout.");const b=e.ref(null),D=e.reactive({cols:1,containerWidth:100,rowHeight:30,margin:[10,10],maxRows:1/0,draggable:void 0,resizable:void 0,bounded:void 0,transformScale:1,useCssTransforms:!0,useStyleCursor:!0,isDragging:!1,dragging:{top:-1,left:-1},isResizing:!1,resizing:{width:-1,height:-1},style:{},rtl:!1});let w=!1,S=!1,N=NaN,T=NaN,$=NaN,K=NaN,Y=-1,v=-1,Q=-1,L=-1,k=i.x,y=i.y,m=i.w,p=i.h;const u=e.ref(),s=e.reactive({i:e.toRef(i,"i"),state:D,wrapper:u,calcXY:oA});function g(cA){j(cA)}function l(){sA()}function d(cA){In(i.isDraggable)&&(D.draggable=cA)}function B(cA){In(i.isResizable)&&(D.resizable=cA)}function a(cA){In(i.isBounded)&&(D.bounded=cA)}function r(cA){D.transformScale=cA}function C(cA){D.rowHeight=cA}function E(cA){D.maxRows=cA}function M(){D.rtl=$p()==="rtl",sA()}function x(cA){D.cols=Math.floor(cA)}I.increaseItem(s),e.onBeforeMount(()=>{D.rtl=$p()==="rtl"}),e.onMounted(()=>{I.responsive&&I.lastBreakpoint?D.cols=Yp(I.lastBreakpoint,I.cols):D.cols=I.colNum,D.rowHeight=I.rowHeight,D.containerWidth=I.width!==null?I.width:100,D.margin=I.margin!==void 0?I.margin.map(Number):[10,10],D.maxRows=I.maxRows,In(i.isDraggable)?D.draggable=I.isDraggable:D.draggable=i.isDraggable,In(i.isResizable)?D.resizable=I.isResizable:D.resizable=i.isResizable,In(i.isBounded)?D.bounded=I.isBounded:D.bounded=i.isBounded,D.transformScale=I.transformScale,D.useCssTransforms=I.useCssTransforms,D.useStyleCursor=I.useStyleCursor,e.watchEffect(()=>{k=i.x,y=i.y,p=i.h,m=i.w,Zt(_)}),o.on("updateWidth",g),o.on("compact",l),o.on("setDraggable",d),o.on("setResizable",B),o.on("setBounded",a),o.on("setTransformScale",r),o.on("setRowHeight",C),o.on("setMaxRows",E),o.on("directionchange",M),o.on("setColNum",x)}),e.onBeforeUnmount(()=>{o.off("updateWidth",g),o.off("compact",l),o.off("setDraggable",d),o.off("setResizable",B),o.off("setBounded",a),o.off("setTransformScale",r),o.off("setRowHeight",C),o.off("setMaxRows",E),o.off("directionchange",M),o.off("setColNum",x),b.value&&(b.value.unset(),b.value=null),I.decreaseItem(s)}),A({state:D,wrapper:u});const P=typeof navigator<"u"?navigator.userAgent.toLowerCase().includes("android"):!1,G=e.computed(()=>D.resizable&&!i.static),J=e.computed(()=>I.isMirrored?!D.rtl:D.rtl),q=e.computed(()=>(D.draggable||D.resizable)&&!i.static),W=n_("item"),z=e.computed(()=>({[W.b()]:!0,[W.bm("resizable")]:G.value,[W.bm("static")]:i.static,[W.bm("resizing")]:D.isResizing,[W.bm("dragging")]:D.isDragging,[W.bm("transform")]:D.useCssTransforms,[W.bm("rtl")]:J.value,[W.bm("no-touch")]:P&&q.value})),eA=e.computed(()=>[W.be("resizer"),J.value&&W.bem("resizer","rtl")].filter(Boolean));e.watch(()=>i.isDraggable,cA=>{D.draggable=cA}),e.watch(()=>i.static,()=>{Zt(O),Zt(tA)}),e.watch(()=>D.draggable,()=>{Zt(O)}),e.watch(()=>i.isResizable,cA=>{D.resizable=cA}),e.watch(()=>i.isBounded,cA=>{D.bounded=cA}),e.watch(()=>D.resizable,()=>{Zt(tA)}),e.watch(()=>D.rowHeight,()=>{Zt(_),Zt(V)}),e.watch([()=>D.cols,()=>D.containerWidth],()=>{Zt(tA),Zt(_),Zt(V)}),e.watch([()=>i.minH,()=>i.maxH,()=>i.minW,()=>i.maxW],()=>{Zt(tA)}),e.watch(J,()=>{Zt(tA),Zt(_)}),e.watch([()=>I.margin,()=>I.margin[0],()=>I.margin[1]],()=>{const cA=I.margin;!cA||cA[0]===D.margin[0]&&cA[1]===D.margin[1]||(D.margin=cA.map(Number),Zt(_),Zt(V))});function _(){i.x+i.w>D.cols?(k=0,m=i.w>D.cols?D.cols:i.w):(k=i.x,m=i.w);const cA=aA(k,y,m,p);D.isDragging&&(cA.top=D.dragging.top,J.value?cA.right=D.dragging.left:cA.left=D.dragging.left),D.isResizing&&(cA.width=D.resizing.width,cA.height=D.resizing.height);let EA;D.useCssTransforms?J.value?EA=Vk(cA.top,cA.right,cA.width,cA.height):EA=Xk(cA.top,cA.left,cA.width,cA.height):J.value?EA=e_(cA.top,cA.right,cA.width,cA.height):EA=A_(cA.top,cA.left,cA.width,cA.height),D.style=EA}function V(){const cA={};for(const EA of["width","height"]){const _A=D.style[EA].match(/^(\d+)px$/);if(!_A)return;cA[EA]=_A[1]}h("container-resized",i.i,i.h,i.w,cA.height,cA.width)}function H(cA){if(i.static)return;const EA=cA.type;if(EA==="resizestart"&&D.isResizing||EA!=="resizestart"&&!D.isResizing)return;const _A=Tp(cA);if(In(_A))return;const{x:YA,y:zA}=_A,XA={width:0,height:0};let jA;switch(EA){case"resizestart":{tA(),Y=m,v=p,jA=aA(k,y,m,p),XA.width=jA.width,XA.height=jA.height,D.resizing=XA,D.isResizing=!0;break}case"resizemove":{!cA.edges.right&&!cA.edges.left&&($=YA),!cA.edges.top&&!cA.edges.bottom&&(K=zA);const pe=Up($,K,YA,zA);J.value?XA.width=D.resizing.width-pe.deltaX/D.transformScale:XA.width=D.resizing.width+pe.deltaX/D.transformScale,XA.height=D.resizing.height+pe.deltaY/D.transformScale,D.resizing=XA;break}case"resizeend":{jA=aA(k,y,m,p),XA.width=jA.width,XA.height=jA.height,D.resizing={width:-1,height:-1},D.isResizing=!1;break}}jA=CA(XA.height,XA.width),jA.w<i.minW&&(jA.w=i.minW),jA.w>i.maxW&&(jA.w=i.maxW),jA.h<i.minH&&(jA.h=i.minH),jA.h>i.maxH&&(jA.h=i.maxH),jA.h<1&&(jA.h=1),jA.w<1&&(jA.w=1),$=YA,K=zA,(m!==jA.w||p!==jA.h)&&h("resize",i.i,jA.h,jA.w,XA.height,XA.width),cA.type==="resizeend"&&(Y!==m||v!==p)&&h("resized",i.i,jA.h,jA.w,XA.height,XA.width),o.emit("resizeEvent",cA.type,i.i,k,y,jA.h,jA.w)}function AA(cA){if(i.static||D.isResizing)return;const EA=cA.type;if(EA==="dragstart"&&D.isDragging||EA!=="dragstart"&&!D.isDragging)return;const _A=Tp(cA);if(In(_A))return;const{x:YA,y:zA}=_A,XA=cA.target;if(!XA.offsetParent)return;const jA={top:0,left:0};switch(EA){case"dragstart":{Q=k,L=y;const ae=XA.offsetParent.getBoundingClientRect(),LA=XA.getBoundingClientRect(),SA=LA.left/D.transformScale,ZA=ae.left/D.transformScale,Ce=LA.right/D.transformScale,ye=ae.right/D.transformScale,xe=LA.top/D.transformScale,UA=ae.top/D.transformScale;J.value?jA.left=(Ce-ye)*-1:jA.left=SA-ZA,jA.top=xe-UA,D.dragging=jA,D.isDragging=!0;break}case"dragmove":{const ae=Up(N,T,YA,zA);if(J.value?jA.left=D.dragging.left-ae.deltaX/D.transformScale:jA.left=D.dragging.left+ae.deltaX/D.transformScale,jA.top=D.dragging.top+ae.deltaY/D.transformScale,D.bounded){const LA=XA.offsetParent.clientHeight-pA(i.h,D.rowHeight,D.margin[1]);jA.top=iA(jA.top,0,LA);const SA=dA(),ZA=D.containerWidth-pA(i.w,SA,D.margin[0]);jA.left=iA(jA.left,0,ZA)}D.dragging=jA;break}case"dragend":{const ae=XA.offsetParent.getBoundingClientRect(),LA=XA.getBoundingClientRect(),SA=LA.left/D.transformScale,ZA=ae.left/D.transformScale,Ce=LA.right/D.transformScale,ye=ae.right/D.transformScale,xe=LA.top/D.transformScale,UA=ae.top/D.transformScale;J.value?jA.left=(Ce-ye)*-1:jA.left=SA-ZA,jA.top=xe-UA,D.dragging={top:-1,left:-1},D.isDragging=!1;break}}let pe;J.value,pe=oA(jA.top,jA.left),N=YA,T=zA,(k!==pe.x||y!==pe.y)&&h("move",i.i,pe.x,pe.y),cA.type==="dragend"&&(Q!==k||L!==y)&&h("moved",i.i,pe.x,pe.y),o.emit("dragEvent",cA.type,i.i,pe.x,pe.y,p,m)}function aA(cA,EA,_A,YA){const zA=dA();let XA;return J.value?XA={right:Math.round(zA*cA+(cA+1)*D.margin[0]),top:Math.round(D.rowHeight*EA+(EA+1)*D.margin[1]),width:_A===1/0?_A:Math.round(zA*_A+Math.max(0,_A-1)*D.margin[0]),height:YA===1/0?YA:Math.round(D.rowHeight*YA+Math.max(0,YA-1)*D.margin[1])}:XA={left:Math.round(zA*cA+(cA+1)*D.margin[0]),top:Math.round(D.rowHeight*EA+(EA+1)*D.margin[1]),width:_A===1/0?_A:Math.round(zA*_A+Math.max(0,_A-1)*D.margin[0]),height:YA===1/0?YA:Math.round(D.rowHeight*YA+Math.max(0,YA-1)*D.margin[1])},XA}function oA(cA,EA){const _A=dA();let YA=Math.round((EA-D.margin[0])/(_A+D.margin[0])),zA=Math.round((cA-D.margin[1])/(D.rowHeight+D.margin[1]));return YA=Math.max(Math.min(YA,D.cols-m),0),zA=Math.max(Math.min(zA,D.maxRows-p),0),{x:YA,y:zA}}function dA(){return(D.containerWidth-D.margin[0]*(D.cols+1))/D.cols}function pA(cA,EA,_A){return Number.isFinite(cA)?Math.round(EA*cA+Math.max(0,cA-1)*_A):cA}function iA(cA,EA,_A){return Math.max(Math.min(cA,_A),EA)}function CA(cA,EA,_A=!1){const YA=dA();let zA=Math.round((EA+D.margin[0])/(YA+D.margin[0])),XA=0;return _A?XA=Math.ceil((cA+D.margin[1])/(D.rowHeight+D.margin[1])):XA=Math.round((cA+D.margin[1])/(D.rowHeight+D.margin[1])),zA=Math.max(Math.min(zA,D.cols-k),0),XA=Math.max(Math.min(XA,D.maxRows-y),0),{w:zA,h:XA}}function j(cA,EA){D.containerWidth=cA}function sA(){_()}function gA(){!b.value&&u.value&&(b.value=Jp(u.value),D.useStyleCursor||b.value.styleCursor(!1))}const hA=Mp(AA);function O(){if(gA(),!!b.value)if(D.draggable&&!i.static){const cA={ignoreFrom:i.dragIgnoreFrom,allowFrom:i.dragAllowFrom,...i.dragOption};b.value.draggable(cA),w||(w=!0,b.value.on("dragstart dragmove dragend",EA=>{EA.type==="dragmove"?hA(EA):AA(EA)}))}else b.value.draggable({enabled:!1})}const X=Mp(H);function tA(){if(gA(),!!b.value)if(D.resizable&&!i.static){const cA=aA(0,0,i.maxW,i.maxH),EA=aA(0,0,i.minW,i.minH),_A={edges:{left:J.value?`.${eA.value[0]}`:!1,right:J.value?!1:`.${eA.value[0]}`,bottom:`.${eA.value[0]}`,top:!1},ignoreFrom:i.resizeIgnoreFrom,restrictSize:{min:{height:EA.height*D.transformScale,width:EA.width*D.transformScale},max:{height:cA.height*D.transformScale,width:cA.width*D.transformScale}},...i.resizeOption};i.preserveAspectRatio&&(_A.modifiers=[Jp.modifiers.aspectRatio({ratio:"preserve"})]),b.value.resizable(_A),S||(S=!0,b.value.on("resizestart resizemove resizeend",YA=>{YA.type==="resizemove"?X(YA):H(YA)}))}else b.value.resizable({enabled:!1})}return(cA,EA)=>(e.openBlock(),e.createElementBlock("section",{ref_key:"wrapper",ref:u,class:e.normalizeClass(z.value),style:e.normalizeStyle(D.style)},[e.renderSlot(cA.$slots,"default"),G.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(eA.value)},null,2)):e.createCommentVNode("",!0)],6))}}),oo=typeof window<"u";var zp;oo&&(zp=window==null?void 0:window.navigator)!=null&&zp.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Zp(n){return n!=null}function Hr(){}const g_=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(g_)));const u_=oo&&("ontouchstart"in window||h_()>0),d_=u_?"pointerdown":"click";function h_(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function p_(n,A,t=window.Event){const{type:i,bubbles:h=!1,cancelable:I=!1,...o}=A;if(!Zp(i)||i==="")return!1;let b;return Zp(t)?b=new t(i,{bubbles:h,cancelable:I}):(b=document.createEvent("HTMLEvents"),b.initEvent(i,h,I)),Object.assign(b,o),n.dispatchEvent(b)}const B_="clickoutside",C_=new Set;oo&&document.addEventListener(d_,n=>{const A=n.target,t=n.composedPath&&n.composedPath();C_.forEach(i=>{i!==A&&(t?!t.includes(i):!i.contains(A))&&(!i.__transferElement||i.__transferElement!==A&&!i.__transferElement.contains(A))&&p_(i,{type:B_})})},!0);const m_=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let Kr;if(oo){for(const n of m_)if(n[1]in document){Kr=n;break}}const E_=!!Kr;e.computed(()=>!1);const Q_=new Set,I_=new WeakMap;if(oo&&Kr){const n=Kr[2],A=Kr[4];document.addEventListener(A,()=>{if(Q_.forEach(t=>{t.value=!1}),document[n]){const t=I_.get(document[n]);t&&(t.value=!0)}},!1)}const Wp=new Map;Wp.set("x",0),Wp.set("y",0);var ro=[],f_=function(){return ro.some(function(n){return n.activeTargets.length>0})},w_=function(){return ro.some(function(n){return n.skippedTargets.length>0})},jp="ResizeObserver loop completed with undelivered notifications.",b_=function(){var n;typeof ErrorEvent=="function"?n=new ErrorEvent("error",{message:jp}):(n=document.createEvent("Event"),n.initEvent("error",!1,!1),n.message=jp),window.dispatchEvent(n)},Tr;(function(n){n.BORDER_BOX="border-box",n.CONTENT_BOX="content-box",n.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Tr||(Tr={}));var ao=function(n){return Object.freeze(n)},D_=function(){function n(A,t){this.inlineSize=A,this.blockSize=t,ao(this)}return n}(),qp=function(){function n(A,t,i,h){return this.x=A,this.y=t,this.width=i,this.height=h,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,ao(this)}return n.prototype.toJSON=function(){var A=this,t=A.x,i=A.y,h=A.top,I=A.right,o=A.bottom,b=A.left,D=A.width,w=A.height;return{x:t,y:i,top:h,right:I,bottom:o,left:b,width:D,height:w}},n.fromRect=function(A){return new n(A.x,A.y,A.width,A.height)},n}(),Vc=function(n){return n instanceof SVGElement&&"getBBox"in n},Xp=function(n){if(Vc(n)){var A=n.getBBox(),t=A.width,i=A.height;return!t&&!i}var h=n,I=h.offsetWidth,o=h.offsetHeight;return!(I||o||n.getClientRects().length)},Vp=function(n){var A;if(n instanceof Element)return!0;var t=(A=n==null?void 0:n.ownerDocument)===null||A===void 0?void 0:A.defaultView;return!!(t&&n instanceof t.Element)},y_=function(n){switch(n.tagName){case"INPUT":if(n.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Ur=typeof window<"u"?window:{},Bs=new WeakMap,AB=/auto|scroll/,v_=/^tb|vertical/,k_=/msie|trident/i.test(Ur.navigator&&Ur.navigator.userAgent),Ai=function(n){return parseFloat(n||"0")},Oo=function(n,A,t){return n===void 0&&(n=0),A===void 0&&(A=0),t===void 0&&(t=!1),new D_((t?A:n)||0,(t?n:A)||0)},eB=ao({devicePixelContentBoxSize:Oo(),borderBoxSize:Oo(),contentBoxSize:Oo(),contentRect:new qp(0,0,0,0)}),tB=function(n,A){if(A===void 0&&(A=!1),Bs.has(n)&&!A)return Bs.get(n);if(Xp(n))return Bs.set(n,eB),eB;var t=getComputedStyle(n),i=Vc(n)&&n.ownerSVGElement&&n.getBBox(),h=!k_&&t.boxSizing==="border-box",I=v_.test(t.writingMode||""),o=!i&&AB.test(t.overflowY||""),b=!i&&AB.test(t.overflowX||""),D=i?0:Ai(t.paddingTop),w=i?0:Ai(t.paddingRight),S=i?0:Ai(t.paddingBottom),N=i?0:Ai(t.paddingLeft),T=i?0:Ai(t.borderTopWidth),$=i?0:Ai(t.borderRightWidth),K=i?0:Ai(t.borderBottomWidth),Y=i?0:Ai(t.borderLeftWidth),v=N+w,Q=D+S,L=Y+$,k=T+K,y=b?n.offsetHeight-k-n.clientHeight:0,m=o?n.offsetWidth-L-n.clientWidth:0,p=h?v+L:0,u=h?Q+k:0,s=i?i.width:Ai(t.width)-p-m,g=i?i.height:Ai(t.height)-u-y,l=s+v+m+L,d=g+Q+y+k,B=ao({devicePixelContentBoxSize:Oo(Math.round(s*devicePixelRatio),Math.round(g*devicePixelRatio),I),borderBoxSize:Oo(l,d,I),contentBoxSize:Oo(s,g,I),contentRect:new qp(N,D,s,g)});return Bs.set(n,B),B},nB=function(n,A,t){var i=tB(n,t),h=i.borderBoxSize,I=i.contentBoxSize,o=i.devicePixelContentBoxSize;switch(A){case Tr.DEVICE_PIXEL_CONTENT_BOX:return o;case Tr.BORDER_BOX:return h;default:return I}},__=function(){function n(A){var t=tB(A);this.target=A,this.contentRect=t.contentRect,this.borderBoxSize=ao([t.borderBoxSize]),this.contentBoxSize=ao([t.contentBoxSize]),this.devicePixelContentBoxSize=ao([t.devicePixelContentBoxSize])}return n}(),iB=function(n){if(Xp(n))return 1/0;for(var A=0,t=n.parentNode;t;)A+=1,t=t.parentNode;return A},M_=function(){var n=1/0,A=[];ro.forEach(function(I){if(I.activeTargets.length!==0){var o=[];I.activeTargets.forEach(function(b){var D=new __(b.target),w=iB(b.target);o.push(D),b.lastReportedSize=nB(b.target,b.observedBox),w<n&&(n=w)}),A.push(function(){I.callback.call(I.observer,o,I.observer)}),I.activeTargets.splice(0,I.activeTargets.length)}});for(var t=0,i=A;t<i.length;t++){var h=i[t];h()}return n},oB=function(n){ro.forEach(function(A){A.activeTargets.splice(0,A.activeTargets.length),A.skippedTargets.splice(0,A.skippedTargets.length),A.observationTargets.forEach(function(t){t.isActive()&&(iB(t.target)>n?A.activeTargets.push(t):A.skippedTargets.push(t))})})},x_=function(){var n=0;for(oB(n);f_();)n=M_(),oB(n);return w_()&&b_(),n>0},Ag,rB=[],S_=function(){return rB.splice(0).forEach(function(n){return n()})},F_=function(n){if(!Ag){var A=0,t=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return S_()}).observe(t,i),Ag=function(){t.textContent="".concat(A?A--:A++)}}rB.push(n),Ag()},N_=function(n){F_(function(){requestAnimationFrame(n)})},Cs=0,R_=function(){return!!Cs},L_=250,G_={attributes:!0,characterData:!0,childList:!0,subtree:!0},aB=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],sB=function(n){return n===void 0&&(n=0),Date.now()+n},eg=!1,P_=function(){function n(){var A=this;this.stopped=!0,this.listener=function(){return A.schedule()}}return n.prototype.run=function(A){var t=this;if(A===void 0&&(A=L_),!eg){eg=!0;var i=sB(A);N_(function(){var h=!1;try{h=x_()}finally{if(eg=!1,A=i-sB(),!R_())return;h?t.run(1e3):A>0?t.run(A):t.start()}})}},n.prototype.schedule=function(){this.stop(),this.run()},n.prototype.observe=function(){var A=this,t=function(){return A.observer&&A.observer.observe(document.body,G_)};document.body?t():Ur.addEventListener("DOMContentLoaded",t)},n.prototype.start=function(){var A=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),aB.forEach(function(t){return Ur.addEventListener(t,A.listener,!0)}))},n.prototype.stop=function(){var A=this;this.stopped||(this.observer&&this.observer.disconnect(),aB.forEach(function(t){return Ur.removeEventListener(t,A.listener,!0)}),this.stopped=!0)},n}(),tg=new P_,lB=function(n){!Cs&&n>0&&tg.start(),Cs+=n,!Cs&&tg.stop()},H_=function(n){return!Vc(n)&&!y_(n)&&getComputedStyle(n).display==="inline"},K_=function(){function n(A,t){this.target=A,this.observedBox=t||Tr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return n.prototype.isActive=function(){var A=nB(this.target,this.observedBox,!0);return H_(this.target)&&(this.lastReportedSize=A),this.lastReportedSize.inlineSize!==A.inlineSize||this.lastReportedSize.blockSize!==A.blockSize},n}(),T_=function(){function n(A,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=A,this.callback=t}return n}(),ms=new WeakMap,cB=function(n,A){for(var t=0;t<n.length;t+=1)if(n[t].target===A)return t;return-1},Es=function(){function n(){}return n.connect=function(A,t){var i=new T_(A,t);ms.set(A,i)},n.observe=function(A,t,i){var h=ms.get(A),I=h.observationTargets.length===0;cB(h.observationTargets,t)<0&&(I&&ro.push(h),h.observationTargets.push(new K_(t,i&&i.box)),lB(1),tg.schedule())},n.unobserve=function(A,t){var i=ms.get(A),h=cB(i.observationTargets,t),I=i.observationTargets.length===1;h>=0&&(I&&ro.splice(ro.indexOf(i),1),i.observationTargets.splice(h,1),lB(-1))},n.disconnect=function(A){var t=this,i=ms.get(A);i.observationTargets.slice().forEach(function(h){return t.unobserve(A,h.target)}),i.activeTargets.splice(0,i.activeTargets.length)},n}(),U_=function(){function n(A){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof A!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Es.connect(this,A)}return n.prototype.observe=function(A,t){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Vp(A))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Es.observe(this,A,t)},n.prototype.unobserve=function(A){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Vp(A))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Es.unobserve(this,A)},n.prototype.disconnect=function(){Es.disconnect(this)},n.toString=function(){return"function ResizeObserver () { [polyfill code] }"},n}();const Qs=new WeakMap;function Y_(n){var A;for(let t=0,i=n.length;t<i;++t){const h=n[t],I=Qs.get(h.target);if(typeof I=="function"){const{inlineSize:o,blockSize:b}=(A=h.borderBoxSize)==null?void 0:A[0],{offsetWidth:D,offsetHeight:w}=h.target;I(Object.assign(h,{offsetWidth:D,offsetHeight:w,width:o??D,height:b??w}))}}}const gB=new(oo&&window.ResizeObserver||U_)(Y_);function uB(n,A){Qs.set(n,A),gB.observe(n)}function dB(n){Qs.has(n)&&(gB.unobserve(n),Qs.delete(n))}function O_(n={}){let A=Hr;const t=e.watch(()=>e.unref(n.target),h=>{A(),!(!h||typeof n.onResize!="function")&&(uB(h,n.onResize),A=()=>{dB(h),A=Hr})},{immediate:!0}),i=()=>{t(),A()};return e.getCurrentScope()&&e.onScopeDispose(i),{observeResize:uB,unobserveResize:dB,unobserve:i}}const $_=e.ref(!1);e.computed(()=>$_.value);const hB="__theme_style__",ng="__theme_observer__",pB=e.reactive(new Map),BB=new Map;e.watch(pB,()=>{if(!oo)return;BB.clear();const n=document.head.querySelector(`#${hB}`);n&&document.head.removeChild(n);const A=document.createElement("style");let t=`.${ng} { width: 1px }`,i=1;for(const[h,[I,o]]of pB.entries())t+=` html.${I} .${ng}, .${o} .${ng} { width: ${++i}px }`,BB.set(i,h);A.textContent=t,A.id=hB,document.head.appendChild(A)});const J_=e.defineComponent({__name:"grid-layout",props:{autoSize:{type:Boolean,default:!0},colNum:{default:12},rowHeight:{default:150},maxRows:{default:1/0},margin:{default:()=>[10,10]},isDraggable:{type:Boolean,default:!0},isResizable:{type:Boolean,default:!0},isMirrored:{type:Boolean,default:!1},isBounded:{type:Boolean,default:!1},useCssTransforms:{type:Boolean,default:!0},verticalCompact:{type:Boolean,default:!0},restoreOnDrag:{type:Boolean,default:!1},layout:{},responsive:{type:Boolean,default:!1},responsiveLayouts:{default:()=>({})},transformScale:{default:1},breakpoints:{default:()=>({lg:1200,md:996,sm:768,xs:480,xxs:0})},cols:{default:()=>({lg:12,md:10,sm:6,xs:4,xxs:2})},preventCollision:{type:Boolean,default:!1},useStyleCursor:{type:Boolean,default:!0}},emits:["layout-before-mount","layout-mounted","layout-updated","breakpoint-changed","update:layout","layout-ready"],setup(n,{expose:A,emit:t}){const i=n,h=t,I=e.reactive({width:-1,mergedStyle:{},lastLayoutLength:0,isDragging:!1,placeholder:{x:0,y:0,w:0,h:0,i:""},layouts:{},lastBreakpoint:null,originalLayout:null}),o=new Map,b=e.ref(i.layout),D=e.ref(),{observeResize:w,unobserveResize:S}=O_(),N=$k();N.on("resizeEvent",T),N.on("dragEvent",$),e.onBeforeMount(()=>{h("layout-before-mount",b.value)}),e.onMounted(()=>{h("layout-mounted",b.value),e.nextTick(()=>{t_(b.value),I.originalLayout=b.value,e.nextTick(()=>{g(),D.value&&w(D.value,Jk(k,16)),Yo(b.value,i.verticalCompact),h("layout-updated",b.value),L(),k()})})}),e.onBeforeUnmount(()=>{N.clearAll(),D.value&&S(D.value)});function T(d,B,a,r,C,E){u(d,B,a,r,C,E)}function $(d,B,a,r,C,E){p(d,B,a,r,C,E)}e.watch(()=>I.width,(d,B)=>{e.nextTick(()=>{N.emit("updateWidth",d),B===-1&&e.nextTick(()=>{h("layout-ready",b.value)}),L()})}),e.watch(()=>[i.layout,i.layout.length],()=>{b.value=i.layout,Q()}),e.watch(()=>i.colNum,d=>{N.emit("setColNum",d)}),e.watch(()=>i.rowHeight,d=>{N.emit("setRowHeight",d)}),e.watch(()=>i.isDraggable,d=>{N.emit("setDraggable",d)}),e.watch(()=>i.isResizable,d=>{N.emit("setResizable",d)}),e.watch(()=>i.isBounded,d=>{N.emit("setBounded",d)}),e.watch(()=>i.transformScale,d=>{N.emit("setTransformScale",d)}),e.watch(()=>i.responsive,d=>{d||(h("update:layout",I.originalLayout),N.emit("setColNum",i.colNum)),k()}),e.watch(()=>i.maxRows,d=>{N.emit("setMaxRows",d)}),e.watch([()=>i.margin,()=>i.margin[1]],L),e.provide(Fp,e.reactive({...e.toRefs(i),...e.toRefs(I),increaseItem:K,decreaseItem:Y})),e.provide(Np,N),A({state:I,getItem:v,resizeEvent:u,dragEvent:p,layoutUpdate:Q});function K(d){o.set(d.i,d)}function Y(d){o.delete(d.i)}function v(d){return o.get(d)}function Q(){if(!In(b.value)&&!In(I.originalLayout)){if(b.value.length!==I.originalLayout.length){const d=l(b.value,I.originalLayout);if(d.length>0)if(b.value.length>I.originalLayout.length)I.originalLayout=I.originalLayout.concat(d);else{const B=new Set(d.map(a=>a.i));I.originalLayout=I.originalLayout.filter(a=>!B.has(a.i))}I.lastLayoutLength=b.value.length,g()}Yo(b.value,i.verticalCompact),N.emit("updateWidth",I.width),L(),h("layout-updated",b.value)}}function L(){I.mergedStyle={height:y()}}function k(){D.value&&(I.width=D.value.offsetWidth),N.emit("resizeEvent")}function y(){if(!i.autoSize)return;const d=parseFloat(i.margin[1]);return Zk(b.value)*(i.rowHeight+d)+d+"px"}let m;function p(d,B,a,r,C,E){let M=Lp(b.value,B);In(M)&&(M={h:0,w:0,x:0,y:0,i:""}),d==="dragstart"&&!i.verticalCompact&&(m=b.value.reduce((x,{i:P,x:G,y:J})=>({...x,[P]:{x:G,y:J}}),{})),d==="dragmove"||d==="dragstart"?(I.placeholder.i=B,I.placeholder.x=M.x,I.placeholder.y=M.y,I.placeholder.w=E,I.placeholder.h=C,e.nextTick(()=>{I.isDragging=!0}),N.emit("updateWidth",I.width)):e.nextTick(()=>{I.isDragging=!1}),b.value=qc(b.value,M,a,r,!0,i.preventCollision),i.restoreOnDrag?(M.static=!0,Yo(b.value,i.verticalCompact,m),M.static=!1):Yo(b.value,i.verticalCompact),N.emit("compact"),L(),d==="dragend"&&(m=void 0,h("layout-updated",b.value))}function u(d,B,a,r,C,E){let M=Lp(b.value,B);In(M)&&(M={h:0,w:0,x:0,y:0,i:""});let x;if(i.preventCollision){const P=Gp(b.value,{...M,w:E,h:C}).filter(G=>G.i!==M.i);if(x=P.length>0,x){let G=1/0,J=1/0;P.forEach(q=>{q.x>M.x&&(G=Math.min(G,q.x)),q.y>M.y&&(J=Math.min(J,q.y))}),Number.isFinite(G)&&(M.w=G-M.x),Number.isFinite(J)&&(M.h=J-M.y)}}x||(M.w=E,M.h=C),d==="resizestart"||d==="resizemove"?(I.placeholder.i=B,I.placeholder.x=a,I.placeholder.y=r,I.placeholder.w=M.w,I.placeholder.h=M.h,e.nextTick(()=>{I.isDragging=!0}),N.emit("updateWidth",I.width)):d&&e.nextTick(()=>{I.isDragging=!1}),i.responsive&&s(),Yo(b.value,i.verticalCompact),N.emit("compact"),L(),d==="resizeend"&&h("layout-updated",b.value)}function s(){const d=r_(i.breakpoints,I.width);if(d===I.lastBreakpoint)return;const B=Yp(d,i.cols);!In(I.lastBreakpoint)&&!I.layouts[I.lastBreakpoint]&&(I.layouts[I.lastBreakpoint]=jc(b.value));const a=a_(I.originalLayout,I.layouts,i.breakpoints,d,I.lastBreakpoint,B,i.verticalCompact);I.layouts[d]=a,I.lastBreakpoint!==d&&h("breakpoint-changed",d,a),b.value=a,h("update:layout",a),I.lastBreakpoint=d,N.emit("setColNum",B)}function g(){I.layouts=Object.assign({},i.responsiveLayouts)}function l(d,B){const a=new Set(B.map(M=>M.i)),r=new Set(d.map(M=>M.i)),C=d.filter(M=>!a.has(M.i)),E=B.filter(M=>!r.has(M.i));return C.concat(E)}return(d,B)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapper",ref:D,class:"vgl-layout",style:e.normalizeStyle(I.mergedStyle)},[d.$slots.default?e.renderSlot(d.$slots,"default",{key:0}):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(b.value,a=>(e.openBlock(),e.createBlock(Xc,e.mergeProps({key:a.i,ref_for:!0},a),{default:e.withCtx(()=>[e.renderSlot(d.$slots,"item",{item:a})]),_:2},1040))),128)),e.withDirectives(e.createVNode(Xc,{class:"vgl-item--placeholder",x:I.placeholder.x,y:I.placeholder.y,w:I.placeholder.w,h:I.placeholder.h,i:I.placeholder.i},null,8,["x","y","w","h","i"]),[[e.vShow,I.isDragging]])],4))}});(function(){try{if(typeof document<"u"){var n=document.createElement("style");n.appendChild(document.createTextNode('.vgl-layout{--vgl-placeholder-bg: red;--vgl-placeholder-opacity: 20%;--vgl-placeholder-z-index: 2;--vgl-item-resizing-z-index: 3;--vgl-item-resizing-opacity: 60%;--vgl-item-dragging-z-index: 3;--vgl-item-dragging-opacity: 100%;--vgl-resizer-size: 10px;--vgl-resizer-border-color: #444;--vgl-resizer-border-width: 2px;position:relative;box-sizing:border-box;transition:height .2s ease}.vgl-item{position:absolute;box-sizing:border-box;transition:.2s ease;transition-property:left,top,right}.vgl-item--placeholder{z-index:var(--vgl-placeholder-z-index, 2);-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vgl-placeholder-bg, red);opacity:var(--vgl-placeholder-opacity, 20%);transition-duration:.1s}.vgl-item--no-touch{touch-action:none}.vgl-item--transform{right:auto;left:0;transition-property:transform}.vgl-item--transform.vgl-item--rtl{right:0;left:auto}.vgl-item--resizing{z-index:var(--vgl-item-resizing-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-resizing-opacity, 60%)}.vgl-item--dragging{z-index:var(--vgl-item-dragging-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-dragging-opacity, 100%);transition:none}.vgl-item__resizer{position:absolute;right:0;bottom:0;box-sizing:border-box;width:var(--vgl-resizer-size);height:var(--vgl-resizer-size);cursor:se-resize}.vgl-item__resizer:before{position:absolute;top:0;right:3px;bottom:3px;left:0;content:"";border:0 solid var(--vgl-resizer-border-color);border-right-width:var(--vgl-resizer-border-width);border-bottom-width:var(--vgl-resizer-border-width)}.vgl-item__resizer--rtl{right:auto;left:0;cursor:sw-resize}.vgl-item__resizer--rtl:before{top:0;right:0;bottom:3px;left:3px;border-right-width:0;border-bottom-width:var(--vgl-resizer-border-width);border-left-width:var(--vgl-resizer-border-width)}')),document.head.appendChild(n)}}catch(A){console.error("vite-plugin-css-injected-by-js",A)}})();const Wt=e.defineComponent({__name:"FormItemGroup",props:e.mergeModels({list:{}},{gridData:{},gridDataModifiers:{}}),emits:["update:gridData"],setup(n){const A=e.useModel(n,"gridData"),t=ci(),i=kt(),h=e.ref({});function I(D,w){D&&(h.value[w]=D)}let o=[];const b=()=>{if(!A.value)return;const D=new Map;for(const w of A.value)D.has(w.x)||D.set(w.x,[]),D.get(w.x).push(w);for(const w of D.values()){w.sort((N,T)=>N.y-T.y);let S=0;for(const N of w)N.y=S,S+=N.h}A.value=[...A.value]};return e.onMounted(()=>{Object.keys(h.value).forEach(D=>{const w=h.value[D];if(!w)return;const S=new ResizeObserver(N=>{for(let T of N){const $=T.contentRect.height+28;if(A.value){const K=A.value[0].rowHeight||30;A.value.find(Y=>Y.i===D).h=Math.ceil(($+8)/(K+8))}}b()});S.observe(w),o.push(S)})}),e.onBeforeUnmount(()=>{o.forEach(D=>D.disconnect()),o=[]}),(D,w)=>e.unref(i).design?(e.openBlock(),e.createBlock(Wc,{key:0,list:D.list,"empty-text":e.unref(t).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"])):A.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(A.value,(S,N)=>(e.openBlock(),e.createBlock(e.unref(Xc),{key:S.i,x:S.x,y:S.y,w:S.w,h:S.h,i:S.i},{default:e.withCtx(()=>[e.createElementVNode("div",{ref_for:!0,ref:T=>I(T,S.i)},[e.createVNode(io,e.mergeProps({ref_for:!0},D.list[N]),null,16)],512)]),_:2},1032,["x","y","w","h","i"]))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(D.list,S=>(e.openBlock(),e.createBlock(io,e.mergeProps({key:S.name,ref_for:!0},S),null,16))),128))}}),z_={key:0,class:"btn-render-wrapper"},so=ge(e.defineComponent({__name:"ButtonRender",props:{btns:{}},setup(n){const A=e.inject("ruleModule",void 0),t=e.inject("pageMethodMap",{}),i=e.ref({}),h=async o=>{if(o.onClick&&A){try{i.value[o.key]=!0,await A[o.onClick](t)}catch(b){console.error(b)}i.value[o.key]=!1}},I=o=>({...o,name:o.key,component:"Popover"});return(o,b)=>{const D=e.resolveComponent("el-button"),w=e.resolveComponent("el-tooltip"),S=e.resolveComponent("el-button-group");return o.btns&&o.btns.length>0?(e.openBlock(),e.createElementBlock("div",z_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.btns,N=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N.key},[N.component==="Popover"?(e.openBlock(),e.createBlock(Wt,{key:0,list:[I(N)]},null,8,["list"])):N.component==="BtnGroup"?(e.openBlock(),e.createBlock(S,{key:1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.children,T=>(e.openBlock(),e.createBlock(w,{key:T.key,disabled:!T.tooltip,content:T.tooltip,placement:"top"},{default:e.withCtx(()=>[T.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(D,{key:T.key,onClick:$=>h(T),disabled:T.disabled,type:T.type,text:T.isTextBtn,link:T.isLinkBtn,plain:T.isPlainBtn||T.type!=="primary"&&!T.orange,color:T.orange?"#FAA21E":T.color,loading:i.value[T.key],class:e.normalizeClass({orangeBtn:T.orange})},{default:e.withCtx(()=>[T.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:T.icon.name,color:T.icon.color,class:e.normalizeClass({"btn-icon":T.text||T.label})},null,8,["name","color","class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(T.text||T.label),1)]),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","class"]))]),_:2},1032,["disabled","content"]))),128))]),_:2},1024)):N.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(D,{key:2,onClick:T=>h(N),disabled:N.disabled,type:N.type,text:N.isTextBtn,link:N.isLinkBtn,plain:N.isPlainBtn||N.type!=="primary"&&!N.orange,color:N.orange?"#FAA21E":N.color,loading:i.value[N.key],size:N.size,style:e.normalizeStyle(N.style),class:e.normalizeClass({orangeBtn:N.orange})},{default:e.withCtx(()=>[N.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:N.icon.name,color:N.icon.color,class:e.normalizeClass({"btn-icon":N.text||N.label})},null,8,["name","color","class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(N.text||N.label),1)]),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","size","style","class"]))],64))),128))])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-30762001"]]),Z_={key:0,class:"dropdown-render-wrapper"},W_=ge(e.defineComponent({__name:"dropdownRender",props:{dropdowns:{}},setup(n){const A=e.inject("ruleModule",void 0),t=e.inject("pageMethodMap",{}),i=async(h,I)=>{if(I.onClick&&A)try{await A[I.onClick](t,h)}catch(o){console.error(o)}};return(h,I)=>{const o=e.resolveComponent("el-button"),b=e.resolveComponent("el-dropdown-item"),D=e.resolveComponent("el-dropdown-menu"),w=e.resolveComponent("el-dropdown");return h.dropdowns&&h.dropdowns.length>0?(e.openBlock(),e.createElementBlock("div",Z_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.dropdowns,S=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:S.key},[S.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(w,{key:0,disabled:S.disabled},{dropdown:e.withCtx(()=>[e.createVNode(D,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.options,N=>(e.openBlock(),e.createBlock(b,{key:N.value,command:N.value,onClick:T=>i(N,S)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(N.label),1)]),_:2},1032,["command","onClick"]))),128))]),_:2},1024)]),default:e.withCtx(()=>[e.createVNode(o,{plain:"",color:S.color},{default:e.withCtx(()=>{var N,T;return[S.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:(N=S.icon)==null?void 0:N.name,class:"left-icon",color:(T=S.icon)==null?void 0:T.color},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(S.text),1),e.createVNode(ze,{name:"icon-gongnengjixiajiantou",class:"right-icon"})]}),_:2},1032,["color"])]),_:2},1032,["disabled"]))],64))),128))])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-59020bb8"]]),CB=ge(e.defineComponent({__name:"Popover",props:{title:{},placement:{},reference:{},trigger:{},hoverStyle:{},ostyle:{},children:{},width:{},size:{},hoverColor:{},noPadding:{type:Boolean}},setup(n){const A=e.ref(!1),t=n;return(i,h)=>{const I=e.resolveComponent("el-popover");return e.openBlock(),e.createBlock(I,{trigger:t.trigger||"hover",width:t.width,"popper-class":t.noPadding?"no-padding":"",title:t.title,placement:t.placement},{reference:e.withCtx(()=>{var o,b,D,w,S;return[e.createElementVNode("div",{style:e.normalizeStyle(t.ostyle+(A.value?t.hoverStyle:"")),onMouseenter:h[0]||(h[0]=N=>A.value=!0),onMouseleave:h[1]||(h[1]=N=>A.value=!1)},[((o=t.reference)==null?void 0:o.component)==="Icon"?(e.openBlock(),e.createBlock(ze,{key:0,name:(D=(b=t.reference)==null?void 0:b.props)==null?void 0:D.name,color:A.value&&t.hoverColor?t.hoverColor:(S=(w=t.reference)==null?void 0:w.props)==null?void 0:S.color,class:"btn-icon cursor-pointer",size:t.size||"normal"},null,8,["name","color","size"])):t.reference?(e.openBlock(),e.createBlock(e.unref(Wt),{key:1,list:[t.reference]},null,8,["list"])):e.createCommentVNode("",!0)],36)]}),default:e.withCtx(()=>[e.createElementVNode("div",null,[i.children?(e.openBlock(),e.createBlock(e.unref(Wt),{key:0,list:i.children},null,8,["list"])):e.createCommentVNode("",!0)])]),_:1},8,["trigger","width","popper-class","title","placement"])}}}),[["__scopeId","data-v-5ba0cc6e"]]),j_={title:"气泡框",component:"Popover",render:CB,icon:e.h(be,{name:"password"}),type:"layout",order:9},q_=["innerHTML"],X_=e.defineComponent({__name:"HtmlRender",props:{data:{}},setup(n){return(A,t)=>(e.openBlock(),e.createElementBlock("div",{innerHTML:A.data},null,8,q_))}}),V_={title:"HTML",component:"HtmlRender",icon:e.h(be,{name:"button"}),type:"assist",order:19,render:X_},A2=Object.freeze(Object.defineProperty({__proto__:null,Alert:w0,Button:Rb,Card:b0,CardList:rD,Cascader:y0,Checkbox:M0,Collapse:Cb,ColorInput:N0,ColorPicker:S0,CurdCard:Kb,Custom:L0,DatePicker:P0,Divider:K0,DragList:cD,Esign:U0,FormList:J0,Grid:z0,HtmlRender:V_,Inline:Z0,Input:p0,InputNumber:j0,JsonEdit:k0,LogList:lD,ObjGroup:Eb,OfferDetails:aD,OrderProgress:sD,Password:V0,Popover:j_,Radio:O0,Rate:nb,SearchInput:Mb,SearchSelect:Sb,Select:eb,SelectInput:ob,Slider:rb,Switch:sb,Table:Hb,Tabs:mb,Tag:lb,Text:gb,TextArea:C0,Title:ub,Transfer:yb,Tree:Gb,Upload:hb,VerifyCode:Bb,Wrapper:Tb},Symbol.toStringTag,{value:"Module"})),$o=()=>{const n=e.inject(jn),A={...A2};return n!=null&&n.extendElements&&Object.assign(A,n.extendElements),A},Sn=()=>e.inject(Sd),ig=()=>{const n=e.inject("ruleModule",void 0),A=e.inject("pageMethodMap",{});return{ruleModule:n,pageMethodMap:A}},e2=e.defineComponent({__name:"Footer",setup(n){const A=kt(),t=e.computed(()=>({marginLeft:A.schema.labelWidth+"px"}));return(i,h)=>{const I=e.resolveComponent("el-button");return e.unref(A).footer?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(t.value)},[e.createVNode(I,{type:"primary",onClick:e.unref(A).submit,name:"submit-btn"},{default:e.withCtx(()=>h[1]||(h[1]=[e.createTextVNode("提交")])),_:1},8,["onClick"]),e.createVNode(I,{onClick:h[0]||(h[0]=()=>e.unref(A).resetFields()),name:"reset-btn"},{default:e.withCtx(()=>h[2]||(h[2]=[e.createTextVNode("重置")])),_:1})],4)):e.createCommentVNode("",!0)}}}),mB=n=>{let A=[];for(const t of n)(t.component==="Table"||t.component==="DragList")&&t.name&&A.push(t.name),t.children&&Array.isArray(t.children)&&(A=A.concat(mB(t.children)));return A},EB=n=>{var t;if(!(n!=null&&n.content))return[];let A=[];for(const i of n.content)i.type==="form"&&((t=i.schema)!=null&&t.items)&&(A=A.concat(mB(i.schema.items)));return A},QB=Symbol("RefManager"),t2=()=>{const n=new Map,A=new Map;function t(i){const h=i.sort().join(","),I=A.get(h);I&&I.resolve&&i.every(b=>n.has(b))&&(I.resolve(),I.resolve=null)}return{register:(i,h)=>{n.set(i,h);for(const[I]of A)t(I.split(","))},unregister:i=>{n.delete(i)},findRef:i=>n.get(i),waitForKeys:i=>{if(i.every(b=>n.has(b)))return Promise.resolve();const h=i.sort().join(",");if(A.has(h))return A.get(h).promise;let I=null;const o=new Promise(b=>{I=b});return A.set(h,{promise:o,resolve:I}),t(i),o}}},n2=()=>{const n=t2();return e.provide(QB,n),n},IB=()=>{const n=e.inject(QB);if(!n)throw new Error("RefManager not provided. Make sure to call provideRefManager first.");return n},fB=(n,A)=>{const t=IB();return t.register(n,A),()=>{t.unregister(n)}},i2=["id"],fn=e.defineComponent({__name:"index",props:e.mergeModels({schema:{},schemaContext:{},design:{type:Boolean},footer:{type:Boolean},pageRulePath:{}},{modelValue:{default:{}},modelModifiers:{},realValues:{default:{}},realValuesModifiers:{},schema:{default:e.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},schemaModifiers:{}}),emits:e.mergeModels(["finish","failed","reset"],["update:modelValue","update:realValues","update:schema"]),setup(n,{expose:A,emit:t}){const i=n,h=e.inject("ruleMap",{}),I=e.inject("pageMethodMap",{}),o=e.computed(()=>i.schema.rulePath&&h[i.schema.rulePath]?i.schema.rulePath:i.pageRulePath);o.value&&e.provide("ruleModule",h[o.value]);const b=t,D=e.ref(),w=e.useModel(n,"modelValue"),S=e.useModel(n,"realValues"),N=(J,q,W)=>{W===void 0?w.value[J]=q:(S.value[J]=q,w.value[J]=W)},T=J=>w.value[J],$=(J,q)=>{let W=C(Y.value.items,J);W&&W.props&&(W.props.disabled=!q)},K=(J,q)=>{let W=C(Y.value.items,J);W&&(W.hidden=!q)},Y=e.useModel(n,"schema");if(Y.value.onValuesChange){const J=e.ref(JSON.stringify(w.value));e.watch(()=>w.value,q=>{J.value=JSON.stringify(q)},{deep:!0}),e.watch(()=>J.value,(q,W)=>{const z=JSON.parse(q),eA=JSON.parse(W),_=Object.keys(z).filter(V=>JSON.stringify(z[V])!==JSON.stringify(eA[V]));if(!(!o.value||!Y.value.onValuesChange))try{h[o.value][Y.value.onValuesChange](I,_,eA,z)}catch(V){console.error(V)}})}const v=e.reactive({}),Q=e.ref({}),L=e.ref(!1),k=ci(),y=e.computed(()=>({...i.schemaContext,$values:w.value,$selectData:v,$locale:k.value})),m=IB();e.onMounted(async()=>{var W,z;if((W=i.schema)!=null&&W.initialValues){const eA=(z=i.schema)==null?void 0:z.initialValues;B(eA),w.value=ht.mergeWith(eA,w.value,(_,V)=>{if(Array.isArray(_))return V})}await e.nextTick();const J=EB({content:[{type:"form",schema:Y.value}]});if(await m.waitForKeys(J),!Y.value||!Y.value.onMounted||!o.value)return;const q=Y.value.onMounted;try{h[o.value][q](I)}catch(eA){console.error(eA)}}),e.onActivated(()=>{if(!Y.value||!Y.value.onActivated||!o.value)return;const J=Y.value.onActivated;try{h[o.value][J](I)}catch(q){console.error(q)}});const p=()=>{var J;return(J=D.value)==null?void 0:J.validate()},u=J=>{const q=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],W=z=>{z.forEach(eA=>{q.includes(eA.component)?eA.props&&(eA.props.disabled=J):eA.children&&W(eA.children)})};W(Y.value.items)},s=()=>{var J;(J=p())==null||J.then(()=>{b("finish",w.value)}).catch(q=>{b("failed",q)})},g=J=>{if(b("reset"),J){let q=ht.cloneDeep(w.value);J.forEach(W=>{q=vo(q,W,Ca(Q.value,W))}),w.value=q}else w.value=ht.cloneDeep(e.toRaw(Q.value))},l=(J,q=!0)=>{q?Object.assign(w.value,J):w.value=J},d=(J,q)=>{v[J]=q},B=J=>{Q.value={...J}},a=()=>Q.value,r=J=>{L.value=J},C=(J,q)=>{for(const W of J){if(W.name===q)return W;if(W.children&&W.children.length>0){const z=C(W.children,q);if(z)return z}}return null},E=J=>{const q=C(Y.value.items,J);!q||q.component!=="Select"||q.props&&(q.props.refreshFlag=!0)},M=J=>{var q;(q=D.value)==null||q.clearValidate(J)},x=J=>{Y.value.hidden=J},P=e.useTemplateRef("rootRef"),G=e.reactive({...e.toRefs(i),formValues:w,formRealValues:S,selectData:v,initialValues:Q,context:y,vCodePass:L,updateFormValues:l,updateSelectData:d,updateInitialValues:B,getInitialValues:a,updateVCodePass:r,validate:p,resetFields:g,submit:s,setDisabled:u,findItemByName:C,setFieldEditSts:$,setFieldVisibleSts:K,setFieldValue:N,getFieldValue:T,refreshDynamicListBox:E,setHidden:x,clearValidate:M,rootRef:P,type:"form"});return e.provide(xd,G),A(G),(J,q)=>{const W=e.resolveComponent("el-form");return e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:P,id:Y.value.key},[Y.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(W,e.mergeProps({key:0,model:w.value,"label-position":Y.value.labelPosition,size:Y.value.size,"hide-required-asterisk":Y.value.hideRequiredAsterisk,"scroll-to-error":Y.value.scrollToError,"require-asterisk-position":"right",ref_key:"formRef",ref:D},J.$attrs,{onSubmit:q[0]||(q[0]=e.withModifiers(()=>{},["prevent"]))}),{default:e.withCtx(()=>[e.renderSlot(J.$slots,"default"),e.createVNode(e.unref(Wt),{list:Y.value.items},null,8,["list"]),e.createVNode(e2)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))],8,i2)}}}),o2=({elements:n,lang:A,omits:t})=>{const i=o=>Object.values(n).filter(b=>b.type===o&&!t.includes(b.component)).sort((b,D)=>b.order-D.order).map(b=>({...b,title:A==="zh"?b.title:b.component})),h=Fd[A];return[{title:h.menus.basicTitle,children:i("basic")},{title:h.menus.highTitle,children:i("high")},{title:h.menus.layoutTitle,children:i("layout")},{title:h.menus.assistTitle,children:i("assist")}]},r2=e.defineComponent({__name:"index",setup(n){var S;const A=e.ref(!1),t=Sn(),i=$o(),h=ci(),I=ec(),o=(S=t.templates)!=null&&S.length?t.templates:PE,b=e.computed(()=>o2({elements:i,omits:t.omitMenus||[],lang:I.value})),D=N=>{t.updateSchema(N)},w=N=>{const T={component:N.component,designKey:`design-${Mi(4)}`,name:`form-${Mi(4)}`};return N.type==="layout"&&(T.children=[]),T};return(N,T)=>{const $=e.resolveComponent("el-button"),K=e.resolveComponent("el-space"),Y=e.resolveComponent("el-drawer");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("form-design-left")),style:e.normalizeStyle({overflow:A.value?"hidden":"auto"})},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(je)("template"))},[e.createVNode($,{class:e.normalizeClass(e.unref(je)("template-button")),size:"small",onClick:T[0]||(T[0]=v=>A.value=!0)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(h).menus.useTemplateBtn),1)]),_:1},8,["class"]),e.createVNode(Y,{modelValue:A.value,"onUpdate:modelValue":T[1]||(T[1]=v=>A.value=v),title:"模板列表",size:"70%",class:e.normalizeClass(e.unref(je)("template-drawer")),"append-to-body":!1},{default:e.withCtx(()=>[e.createVNode(K,{wrap:"",direction:"vertical",alignment:"start"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(o),({name:v,schema:Q})=>(e.openBlock(),e.createBlock($,{key:v,onClick:L=>D(Q)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","class"])],2),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,({title:v,children:Q})=>(e.openBlock(),e.createElementBlock("div",{key:v,class:e.normalizeClass(e.unref(je)("menu"))},[e.createElementVNode("h4",{class:e.normalizeClass(e.unref(je)("menu-title"))},e.toDisplayString(v),3),e.createVNode(e.unref(vp),{class:e.normalizeClass(e.unref(je)("menu-list")),list:Q,group:{name:"formDesign",pull:"clone",put:!1},sort:!1,"ghost-class":e.unref(je)("menu-list-ghost"),"drag-class":e.unref(je)("menu-list-drag"),"fallback-class":e.unref(je)("menu-list-fallback"),"item-key":"designKey",clone:w},{item:e.withCtx(({element:L})=>[e.createElementVNode("li",{class:e.normalizeClass(e.unref(je)("menu-list-item"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(je)("menu-list-item-ico"))},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(L.icon),{class:"ico-content"}))],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(je)("menu-list-item-name")),style:e.normalizeStyle({fontSize:e.unref(I)==="zh"?"12px":"10px"})},e.toDisplayString(L.title),7)],2)]),_:2},1032,["class","list","ghost-class","drag-class","fallback-class"])],2))),128))],6)}}}),a2=n=>`<template>
96
+ */function zh(n,A){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);A&&(i=i.filter(function(h){return Object.getOwnPropertyDescriptor(n,h).enumerable})),t.push.apply(t,i)}return t}function qn(n){for(var A=1;A<arguments.length;A++){var t=arguments[A]!=null?arguments[A]:{};A%2?zh(Object(t),!0).forEach(function(i){G1(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):zh(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Va(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Va=function(A){return typeof A}:Va=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},Va(n)}function G1(n,A,t){return A in n?Object.defineProperty(n,A,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[A]=t,n}function ui(){return ui=Object.assign||function(n){for(var A=1;A<arguments.length;A++){var t=arguments[A];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},ui.apply(this,arguments)}function P1(n,A){if(n==null)return{};var t={},i=Object.keys(n),h,I;for(I=0;I<i.length;I++)h=i[I],!(A.indexOf(h)>=0)&&(t[h]=n[h]);return t}function H1(n,A){if(n==null)return{};var t=P1(n,A),i,h;if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(n);for(h=0;h<I.length;h++)i=I[h],!(A.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(n,i)&&(t[i]=n[i])}return t}var K1="1.14.0";function di(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var hi=di(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),vr=di(/Edge/i),Zh=di(/firefox/i),kr=di(/safari/i)&&!di(/chrome/i)&&!di(/android/i),Wh=di(/iP(ad|od|hone)/i),T1=di(/chrome/i)&&di(/android/i),jh={capture:!1,passive:!1};function it(n,A,t){n.addEventListener(A,t,!hi&&jh)}function et(n,A,t){n.removeEventListener(A,t,!hi&&jh)}function As(n,A){if(A){if(A[0]===">"&&(A=A.substring(1)),n)try{if(n.matches)return n.matches(A);if(n.msMatchesSelector)return n.msMatchesSelector(A);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(A)}catch{return!1}return!1}}function U1(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function Xn(n,A,t,i){if(n){t=t||document;do{if(A!=null&&(A[0]===">"?n.parentNode===t&&As(n,A):As(n,A))||i&&n===t)return n;if(n===t)break}while(n=U1(n))}return null}var qh=/\s+/g;function mn(n,A,t){if(n&&A)if(n.classList)n.classList[t?"add":"remove"](A);else{var i=(" "+n.className+" ").replace(qh," ").replace(" "+A+" "," ");n.className=(i+(t?" "+A:"")).replace(qh," ")}}function Re(n,A,t){var i=n&&n.style;if(i){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(n,""):n.currentStyle&&(t=n.currentStyle),A===void 0?t:t[A];!(A in i)&&A.indexOf("webkit")===-1&&(A="-webkit-"+A),i[A]=t+(typeof t=="string"?"":"px")}}function Go(n,A){var t="";if(typeof n=="string")t=n;else do{var i=Re(n,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!A&&(n=n.parentNode));var h=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return h&&new h(t)}function Xh(n,A,t){if(n){var i=n.getElementsByTagName(A),h=0,I=i.length;if(t)for(;h<I;h++)t(i[h],h);return i}return[]}function Vn(){var n=document.scrollingElement;return n||document.documentElement}function Mt(n,A,t,i,h){if(!(!n.getBoundingClientRect&&n!==window)){var I,o,b,D,w,S,N;if(n!==window&&n.parentNode&&n!==Vn()?(I=n.getBoundingClientRect(),o=I.top,b=I.left,D=I.bottom,w=I.right,S=I.height,N=I.width):(o=0,b=0,D=window.innerHeight,w=window.innerWidth,S=window.innerHeight,N=window.innerWidth),(A||t)&&n!==window&&(h=h||n.parentNode,!hi))do if(h&&h.getBoundingClientRect&&(Re(h,"transform")!=="none"||t&&Re(h,"position")!=="static")){var T=h.getBoundingClientRect();o-=T.top+parseInt(Re(h,"border-top-width")),b-=T.left+parseInt(Re(h,"border-left-width")),D=o+I.height,w=b+I.width;break}while(h=h.parentNode);if(i&&n!==window){var $=Go(h||n),K=$&&$.a,Y=$&&$.d;$&&(o/=Y,b/=K,N/=K,S/=Y,D=o+S,w=b+N)}return{top:o,left:b,bottom:D,right:w,width:N,height:S}}}function Vh(n,A,t){for(var i=Si(n,!0),h=Mt(n)[A];i;){var I=Mt(i)[t],o=void 0;if(o=h>=I,!o)return i;if(i===Vn())break;i=Si(i,!1)}return!1}function Po(n,A,t,i){for(var h=0,I=0,o=n.children;I<o.length;){if(o[I].style.display!=="none"&&o[I]!==Le.ghost&&(i||o[I]!==Le.dragged)&&Xn(o[I],t.draggable,n,!1)){if(h===A)return o[I];h++}I++}return null}function Mc(n,A){for(var t=n.lastElementChild;t&&(t===Le.ghost||Re(t,"display")==="none"||A&&!As(t,A));)t=t.previousElementSibling;return t||null}function xn(n,A){var t=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==Le.clone&&(!A||As(n,A))&&t++;return t}function Ap(n){var A=0,t=0,i=Vn();if(n)do{var h=Go(n),I=h.a,o=h.d;A+=n.scrollLeft*I,t+=n.scrollTop*o}while(n!==i&&(n=n.parentNode));return[A,t]}function Y1(n,A){for(var t in n)if(n.hasOwnProperty(t)){for(var i in A)if(A.hasOwnProperty(i)&&A[i]===n[t][i])return Number(t)}return-1}function Si(n,A){if(!n||!n.getBoundingClientRect)return Vn();var t=n,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var h=Re(t);if(t.clientWidth<t.scrollWidth&&(h.overflowX=="auto"||h.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(h.overflowY=="auto"||h.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return Vn();if(i||A)return t;i=!0}}while(t=t.parentNode);return Vn()}function O1(n,A){if(n&&A)for(var t in A)A.hasOwnProperty(t)&&(n[t]=A[t]);return n}function xc(n,A){return Math.round(n.top)===Math.round(A.top)&&Math.round(n.left)===Math.round(A.left)&&Math.round(n.height)===Math.round(A.height)&&Math.round(n.width)===Math.round(A.width)}var _r;function ep(n,A){return function(){if(!_r){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),_r=setTimeout(function(){_r=void 0},A)}}}function $1(){clearTimeout(_r),_r=void 0}function tp(n,A,t){n.scrollLeft+=A,n.scrollTop+=t}function np(n){var A=window.Polymer,t=window.jQuery||window.Zepto;return A&&A.dom?A.dom(n).cloneNode(!0):t?t(n).clone(!0)[0]:n.cloneNode(!0)}var En="Sortable"+new Date().getTime();function J1(){var n=[],A;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(h){if(!(Re(h,"display")==="none"||h===Le.ghost)){n.push({target:h,rect:Mt(h)});var I=qn({},n[n.length-1].rect);if(h.thisAnimationDuration){var o=Go(h,!0);o&&(I.top-=o.f,I.left-=o.e)}h.fromRect=I}})}},addAnimationState:function(i){n.push(i)},removeAnimationState:function(i){n.splice(Y1(n,{target:i}),1)},animateAll:function(i){var h=this;if(!this.options.animation){clearTimeout(A),typeof i=="function"&&i();return}var I=!1,o=0;n.forEach(function(b){var D=0,w=b.target,S=w.fromRect,N=Mt(w),T=w.prevFromRect,$=w.prevToRect,K=b.rect,Y=Go(w,!0);Y&&(N.top-=Y.f,N.left-=Y.e),w.toRect=N,w.thisAnimationDuration&&xc(T,N)&&!xc(S,N)&&(K.top-N.top)/(K.left-N.left)===(S.top-N.top)/(S.left-N.left)&&(D=Z1(K,T,$,h.options)),xc(N,S)||(w.prevFromRect=S,w.prevToRect=N,D||(D=h.options.animation),h.animate(w,K,N,D)),D&&(I=!0,o=Math.max(o,D),clearTimeout(w.animationResetTimer),w.animationResetTimer=setTimeout(function(){w.animationTime=0,w.prevFromRect=null,w.fromRect=null,w.prevToRect=null,w.thisAnimationDuration=null},D),w.thisAnimationDuration=D)}),clearTimeout(A),I?A=setTimeout(function(){typeof i=="function"&&i()},o):typeof i=="function"&&i(),n=[]},animate:function(i,h,I,o){if(o){Re(i,"transition",""),Re(i,"transform","");var b=Go(this.el),D=b&&b.a,w=b&&b.d,S=(h.left-I.left)/(D||1),N=(h.top-I.top)/(w||1);i.animatingX=!!S,i.animatingY=!!N,Re(i,"transform","translate3d("+S+"px,"+N+"px,0)"),this.forRepaintDummy=z1(i),Re(i,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),Re(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){Re(i,"transition",""),Re(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},o)}}}}function z1(n){return n.offsetWidth}function Z1(n,A,t,i){return Math.sqrt(Math.pow(A.top-n.top,2)+Math.pow(A.left-n.left,2))/Math.sqrt(Math.pow(A.top-t.top,2)+Math.pow(A.left-t.left,2))*i.animation}var Ho=[],Sc={initializeByDefault:!0},Mr={mount:function(A){for(var t in Sc)Sc.hasOwnProperty(t)&&!(t in A)&&(A[t]=Sc[t]);Ho.forEach(function(i){if(i.pluginName===A.pluginName)throw"Sortable: Cannot mount plugin ".concat(A.pluginName," more than once")}),Ho.push(A)},pluginEvent:function(A,t,i){var h=this;this.eventCanceled=!1,i.cancel=function(){h.eventCanceled=!0};var I=A+"Global";Ho.forEach(function(o){t[o.pluginName]&&(t[o.pluginName][I]&&t[o.pluginName][I](qn({sortable:t},i)),t.options[o.pluginName]&&t[o.pluginName][A]&&t[o.pluginName][A](qn({sortable:t},i)))})},initializePlugins:function(A,t,i,h){Ho.forEach(function(b){var D=b.pluginName;if(!(!A.options[D]&&!b.initializeByDefault)){var w=new b(A,t,A.options);w.sortable=A,w.options=A.options,A[D]=w,ui(i,w.defaults)}});for(var I in A.options)if(A.options.hasOwnProperty(I)){var o=this.modifyOption(A,I,A.options[I]);typeof o<"u"&&(A.options[I]=o)}},getEventProperties:function(A,t){var i={};return Ho.forEach(function(h){typeof h.eventProperties=="function"&&ui(i,h.eventProperties.call(t[h.pluginName],A))}),i},modifyOption:function(A,t,i){var h;return Ho.forEach(function(I){A[I.pluginName]&&I.optionListeners&&typeof I.optionListeners[t]=="function"&&(h=I.optionListeners[t].call(A[I.pluginName],i))}),h}};function W1(n){var A=n.sortable,t=n.rootEl,i=n.name,h=n.targetEl,I=n.cloneEl,o=n.toEl,b=n.fromEl,D=n.oldIndex,w=n.newIndex,S=n.oldDraggableIndex,N=n.newDraggableIndex,T=n.originalEvent,$=n.putSortable,K=n.extraEventProperties;if(A=A||t&&t[En],!!A){var Y,v=A.options,Q="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!hi&&!vr?Y=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(Y=document.createEvent("Event"),Y.initEvent(i,!0,!0)),Y.to=o||t,Y.from=b||t,Y.item=h||t,Y.clone=I,Y.oldIndex=D,Y.newIndex=w,Y.oldDraggableIndex=S,Y.newDraggableIndex=N,Y.originalEvent=T,Y.pullMode=$?$.lastPutMode:void 0;var L=qn(qn({},K),Mr.getEventProperties(i,A));for(var k in L)Y[k]=L[k];t&&t.dispatchEvent(Y),v[Q]&&v[Q].call(A,Y)}}var j1=["evt"],ln=function(A,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=i.evt,I=H1(i,j1);Mr.pluginEvent.bind(Le)(A,t,qn({dragEl:me,parentEl:Qt,ghostEl:Ue,rootEl:Ct,nextEl:eo,lastDownEl:es,cloneEl:It,cloneHidden:Fi,dragStarted:Sr,putSortable:Gt,activeSortable:Le.active,originalEvent:h,oldIndex:Ko,oldDraggableIndex:xr,newIndex:Qn,newDraggableIndex:Ni,hideGhostForTarget:cp,unhideGhostForTarget:gp,cloneNowHidden:function(){Fi=!0},cloneNowShown:function(){Fi=!1},dispatchSortableEvent:function(b){zt({sortable:t,name:b,originalEvent:h})}},I))};function zt(n){W1(qn({putSortable:Gt,cloneEl:It,targetEl:me,rootEl:Ct,oldIndex:Ko,oldDraggableIndex:xr,newIndex:Qn,newDraggableIndex:Ni},n))}var me,Qt,Ue,Ct,eo,es,It,Fi,Ko,Qn,xr,Ni,ts,Gt,To=!1,ns=!1,is=[],to,Yn,Fc,Nc,ip,op,Sr,Uo,Fr,Nr=!1,os=!1,rs,Ut,Rc=[],Lc=!1,as=[],ss=typeof document<"u",ls=Wh,rp=vr||hi?"cssFloat":"float",q1=ss&&!T1&&!Wh&&"draggable"in document.createElement("div"),ap=function(){if(ss){if(hi)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),sp=function(A,t){var i=Re(A),h=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),I=Po(A,0,t),o=Po(A,1,t),b=I&&Re(I),D=o&&Re(o),w=b&&parseInt(b.marginLeft)+parseInt(b.marginRight)+Mt(I).width,S=D&&parseInt(D.marginLeft)+parseInt(D.marginRight)+Mt(o).width;if(i.display==="flex")return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal";if(i.display==="grid")return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(I&&b.float&&b.float!=="none"){var N=b.float==="left"?"left":"right";return o&&(D.clear==="both"||D.clear===N)?"vertical":"horizontal"}return I&&(b.display==="block"||b.display==="flex"||b.display==="table"||b.display==="grid"||w>=h&&i[rp]==="none"||o&&i[rp]==="none"&&w+S>h)?"vertical":"horizontal"},X1=function(A,t,i){var h=i?A.left:A.top,I=i?A.right:A.bottom,o=i?A.width:A.height,b=i?t.left:t.top,D=i?t.right:t.bottom,w=i?t.width:t.height;return h===b||I===D||h+o/2===b+w/2},V1=function(A,t){var i;return is.some(function(h){var I=h[En].options.emptyInsertThreshold;if(!(!I||Mc(h))){var o=Mt(h),b=A>=o.left-I&&A<=o.right+I,D=t>=o.top-I&&t<=o.bottom+I;if(b&&D)return i=h}}),i},lp=function(A){function t(I,o){return function(b,D,w,S){var N=b.options.group.name&&D.options.group.name&&b.options.group.name===D.options.group.name;if(I==null&&(o||N))return!0;if(I==null||I===!1)return!1;if(o&&I==="clone")return I;if(typeof I=="function")return t(I(b,D,w,S),o)(b,D,w,S);var T=(o?b:D).options.group.name;return I===!0||typeof I=="string"&&I===T||I.join&&I.indexOf(T)>-1}}var i={},h=A.group;(!h||Va(h)!="object")&&(h={name:h}),i.name=h.name,i.checkPull=t(h.pull,!0),i.checkPut=t(h.put),i.revertClone=h.revertClone,A.group=i},cp=function(){!ap&&Ue&&Re(Ue,"display","none")},gp=function(){!ap&&Ue&&Re(Ue,"display","")};ss&&document.addEventListener("click",function(n){if(ns)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),ns=!1,!1},!0);var no=function(A){if(me){A=A.touches?A.touches[0]:A;var t=V1(A.clientX,A.clientY);if(t){var i={};for(var h in A)A.hasOwnProperty(h)&&(i[h]=A[h]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[En]._onDragOver(i)}}},Ak=function(A){me&&me.parentNode[En]._isOutsideThisEl(A.target)};function Le(n,A){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=A=ui({},A),n[En]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(n.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return sp(n,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,b){o.setData("Text",b.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:Le.supportPointer!==!1&&"PointerEvent"in window&&!kr,emptyInsertThreshold:5};Mr.initializePlugins(this,n,t);for(var i in t)!(i in A)&&(A[i]=t[i]);lp(A);for(var h in this)h.charAt(0)==="_"&&typeof this[h]=="function"&&(this[h]=this[h].bind(this));this.nativeDraggable=A.forceFallback?!1:q1,this.nativeDraggable&&(this.options.touchStartThreshold=1),A.supportPointer?it(n,"pointerdown",this._onTapStart):(it(n,"mousedown",this._onTapStart),it(n,"touchstart",this._onTapStart)),this.nativeDraggable&&(it(n,"dragover",this),it(n,"dragenter",this)),is.push(this.el),A.store&&A.store.get&&this.sort(A.store.get(this)||[]),ui(this,J1())}Le.prototype={constructor:Le,_isOutsideThisEl:function(A){!this.el.contains(A)&&A!==this.el&&(Uo=null)},_getDirection:function(A,t){return typeof this.options.direction=="function"?this.options.direction.call(this,A,t,me):this.options.direction},_onTapStart:function(A){if(A.cancelable){var t=this,i=this.el,h=this.options,I=h.preventOnFilter,o=A.type,b=A.touches&&A.touches[0]||A.pointerType&&A.pointerType==="touch"&&A,D=(b||A).target,w=A.target.shadowRoot&&(A.path&&A.path[0]||A.composedPath&&A.composedPath()[0])||D,S=h.filter;if(sk(i),!me&&!(/mousedown|pointerdown/.test(o)&&A.button!==0||h.disabled)&&!w.isContentEditable&&!(!this.nativeDraggable&&kr&&D&&D.tagName.toUpperCase()==="SELECT")&&(D=Xn(D,h.draggable,i,!1),!(D&&D.animated)&&es!==D)){if(Ko=xn(D),xr=xn(D,h.draggable),typeof S=="function"){if(S.call(this,A,D,this)){zt({sortable:t,rootEl:w,name:"filter",targetEl:D,toEl:i,fromEl:i}),ln("filter",t,{evt:A}),I&&A.cancelable&&A.preventDefault();return}}else if(S&&(S=S.split(",").some(function(N){if(N=Xn(w,N.trim(),i,!1),N)return zt({sortable:t,rootEl:N,name:"filter",targetEl:D,fromEl:i,toEl:i}),ln("filter",t,{evt:A}),!0}),S)){I&&A.cancelable&&A.preventDefault();return}h.handle&&!Xn(w,h.handle,i,!1)||this._prepareDragStart(A,b,D)}}},_prepareDragStart:function(A,t,i){var h=this,I=h.el,o=h.options,b=I.ownerDocument,D;if(i&&!me&&i.parentNode===I){var w=Mt(i);if(Ct=I,me=i,Qt=me.parentNode,eo=me.nextSibling,es=i,ts=o.group,Le.dragged=me,to={target:me,clientX:(t||A).clientX,clientY:(t||A).clientY},ip=to.clientX-w.left,op=to.clientY-w.top,this._lastX=(t||A).clientX,this._lastY=(t||A).clientY,me.style["will-change"]="all",D=function(){if(ln("delayEnded",h,{evt:A}),Le.eventCanceled){h._onDrop();return}h._disableDelayedDragEvents(),!Zh&&h.nativeDraggable&&(me.draggable=!0),h._triggerDragStart(A,t),zt({sortable:h,name:"choose",originalEvent:A}),mn(me,o.chosenClass,!0)},o.ignore.split(",").forEach(function(S){Xh(me,S.trim(),Gc)}),it(b,"dragover",no),it(b,"mousemove",no),it(b,"touchmove",no),it(b,"mouseup",h._onDrop),it(b,"touchend",h._onDrop),it(b,"touchcancel",h._onDrop),Zh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,me.draggable=!0),ln("delayStart",this,{evt:A}),o.delay&&(!o.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(vr||hi))){if(Le.eventCanceled){this._onDrop();return}it(b,"mouseup",h._disableDelayedDrag),it(b,"touchend",h._disableDelayedDrag),it(b,"touchcancel",h._disableDelayedDrag),it(b,"mousemove",h._delayedDragTouchMoveHandler),it(b,"touchmove",h._delayedDragTouchMoveHandler),o.supportPointer&&it(b,"pointermove",h._delayedDragTouchMoveHandler),h._dragStartTimer=setTimeout(D,o.delay)}else D()}},_delayedDragTouchMoveHandler:function(A){var t=A.touches?A.touches[0]:A;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){me&&Gc(me),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var A=this.el.ownerDocument;et(A,"mouseup",this._disableDelayedDrag),et(A,"touchend",this._disableDelayedDrag),et(A,"touchcancel",this._disableDelayedDrag),et(A,"mousemove",this._delayedDragTouchMoveHandler),et(A,"touchmove",this._delayedDragTouchMoveHandler),et(A,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(A,t){t=t||A.pointerType=="touch"&&A,!this.nativeDraggable||t?this.options.supportPointer?it(document,"pointermove",this._onTouchMove):t?it(document,"touchmove",this._onTouchMove):it(document,"mousemove",this._onTouchMove):(it(me,"dragend",this),it(Ct,"dragstart",this._onDragStart));try{document.selection?gs(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(A,t){if(To=!1,Ct&&me){ln("dragStarted",this,{evt:t}),this.nativeDraggable&&it(document,"dragover",Ak);var i=this.options;!A&&mn(me,i.dragClass,!1),mn(me,i.ghostClass,!0),Le.active=this,A&&this._appendGhost(),zt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Yn){this._lastX=Yn.clientX,this._lastY=Yn.clientY,cp();for(var A=document.elementFromPoint(Yn.clientX,Yn.clientY),t=A;A&&A.shadowRoot&&(A=A.shadowRoot.elementFromPoint(Yn.clientX,Yn.clientY),A!==t);)t=A;if(me.parentNode[En]._isOutsideThisEl(A),t)do{if(t[En]){var i=void 0;if(i=t[En]._onDragOver({clientX:Yn.clientX,clientY:Yn.clientY,target:A,rootEl:t}),i&&!this.options.dragoverBubble)break}A=t}while(t=t.parentNode);gp()}},_onTouchMove:function(A){if(to){var t=this.options,i=t.fallbackTolerance,h=t.fallbackOffset,I=A.touches?A.touches[0]:A,o=Ue&&Go(Ue,!0),b=Ue&&o&&o.a,D=Ue&&o&&o.d,w=ls&&Ut&&Ap(Ut),S=(I.clientX-to.clientX+h.x)/(b||1)+(w?w[0]-Rc[0]:0)/(b||1),N=(I.clientY-to.clientY+h.y)/(D||1)+(w?w[1]-Rc[1]:0)/(D||1);if(!Le.active&&!To){if(i&&Math.max(Math.abs(I.clientX-this._lastX),Math.abs(I.clientY-this._lastY))<i)return;this._onDragStart(A,!0)}if(Ue){o?(o.e+=S-(Fc||0),o.f+=N-(Nc||0)):o={a:1,b:0,c:0,d:1,e:S,f:N};var T="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Re(Ue,"webkitTransform",T),Re(Ue,"mozTransform",T),Re(Ue,"msTransform",T),Re(Ue,"transform",T),Fc=S,Nc=N,Yn=I}A.cancelable&&A.preventDefault()}},_appendGhost:function(){if(!Ue){var A=this.options.fallbackOnBody?document.body:Ct,t=Mt(me,!0,ls,!0,A),i=this.options;if(ls){for(Ut=A;Re(Ut,"position")==="static"&&Re(Ut,"transform")==="none"&&Ut!==document;)Ut=Ut.parentNode;Ut!==document.body&&Ut!==document.documentElement?(Ut===document&&(Ut=Vn()),t.top+=Ut.scrollTop,t.left+=Ut.scrollLeft):Ut=Vn(),Rc=Ap(Ut)}Ue=me.cloneNode(!0),mn(Ue,i.ghostClass,!1),mn(Ue,i.fallbackClass,!0),mn(Ue,i.dragClass,!0),Re(Ue,"transition",""),Re(Ue,"transform",""),Re(Ue,"box-sizing","border-box"),Re(Ue,"margin",0),Re(Ue,"top",t.top),Re(Ue,"left",t.left),Re(Ue,"width",t.width),Re(Ue,"height",t.height),Re(Ue,"opacity","0.8"),Re(Ue,"position",ls?"absolute":"fixed"),Re(Ue,"zIndex","100000"),Re(Ue,"pointerEvents","none"),Le.ghost=Ue,A.appendChild(Ue),Re(Ue,"transform-origin",ip/parseInt(Ue.style.width)*100+"% "+op/parseInt(Ue.style.height)*100+"%")}},_onDragStart:function(A,t){var i=this,h=A.dataTransfer,I=i.options;if(ln("dragStart",this,{evt:A}),Le.eventCanceled){this._onDrop();return}ln("setupClone",this),Le.eventCanceled||(It=np(me),It.draggable=!1,It.style["will-change"]="",this._hideClone(),mn(It,this.options.chosenClass,!1),Le.clone=It),i.cloneId=gs(function(){ln("clone",i),!Le.eventCanceled&&(i.options.removeCloneOnHide||Ct.insertBefore(It,me),i._hideClone(),zt({sortable:i,name:"clone"}))}),!t&&mn(me,I.dragClass,!0),t?(ns=!0,i._loopId=setInterval(i._emulateDragOver,50)):(et(document,"mouseup",i._onDrop),et(document,"touchend",i._onDrop),et(document,"touchcancel",i._onDrop),h&&(h.effectAllowed="move",I.setData&&I.setData.call(i,h,me)),it(document,"drop",i),Re(me,"transform","translateZ(0)")),To=!0,i._dragStartId=gs(i._dragStarted.bind(i,t,A)),it(document,"selectstart",i),Sr=!0,kr&&Re(document.body,"user-select","none")},_onDragOver:function(A){var t=this.el,i=A.target,h,I,o,b=this.options,D=b.group,w=Le.active,S=ts===D,N=b.sort,T=Gt||w,$,K=this,Y=!1;if(Lc)return;function v(x,P){ln(x,K,qn({evt:A,isOwner:S,axis:$?"vertical":"horizontal",revert:o,dragRect:h,targetRect:I,canSort:N,fromSortable:T,target:i,completed:L,onMove:function(J,q){return cs(Ct,t,me,h,J,Mt(J),A,q)},changed:k},P))}function Q(){v("dragOverAnimationCapture"),K.captureAnimationState(),K!==T&&T.captureAnimationState()}function L(x){return v("dragOverCompleted",{insertion:x}),x&&(S?w._hideClone():w._showClone(K),K!==T&&(mn(me,Gt?Gt.options.ghostClass:w.options.ghostClass,!1),mn(me,b.ghostClass,!0)),Gt!==K&&K!==Le.active?Gt=K:K===Le.active&&Gt&&(Gt=null),T===K&&(K._ignoreWhileAnimating=i),K.animateAll(function(){v("dragOverAnimationComplete"),K._ignoreWhileAnimating=null}),K!==T&&(T.animateAll(),T._ignoreWhileAnimating=null)),(i===me&&!me.animated||i===t&&!i.animated)&&(Uo=null),!b.dragoverBubble&&!A.rootEl&&i!==document&&(me.parentNode[En]._isOutsideThisEl(A.target),!x&&no(A)),!b.dragoverBubble&&A.stopPropagation&&A.stopPropagation(),Y=!0}function k(){Qn=xn(me),Ni=xn(me,b.draggable),zt({sortable:K,name:"change",toEl:t,newIndex:Qn,newDraggableIndex:Ni,originalEvent:A})}if(A.preventDefault!==void 0&&A.cancelable&&A.preventDefault(),i=Xn(i,b.draggable,t,!0),v("dragOver"),Le.eventCanceled)return Y;if(me.contains(A.target)||i.animated&&i.animatingX&&i.animatingY||K._ignoreWhileAnimating===i)return L(!1);if(ns=!1,w&&!b.disabled&&(S?N||(o=Qt!==Ct):Gt===this||(this.lastPutMode=ts.checkPull(this,w,me,A))&&D.checkPut(this,w,me,A))){if($=this._getDirection(A,i)==="vertical",h=Mt(me),v("dragOverValid"),Le.eventCanceled)return Y;if(o)return Qt=Ct,Q(),this._hideClone(),v("revert"),Le.eventCanceled||(eo?Ct.insertBefore(me,eo):Ct.appendChild(me)),L(!0);var y=Mc(t,b.draggable);if(!y||ik(A,$,this)&&!y.animated){if(y===me)return L(!1);if(y&&t===A.target&&(i=y),i&&(I=Mt(i)),cs(Ct,t,me,h,i,I,A,!!i)!==!1)return Q(),t.appendChild(me),Qt=t,k(),L(!0)}else if(y&&nk(A,$,this)){var m=Po(t,0,b,!0);if(m===me)return L(!1);if(i=m,I=Mt(i),cs(Ct,t,me,h,i,I,A,!1)!==!1)return Q(),t.insertBefore(me,m),Qt=t,k(),L(!0)}else if(i.parentNode===t){I=Mt(i);var p=0,u,s=me.parentNode!==t,g=!X1(me.animated&&me.toRect||h,i.animated&&i.toRect||I,$),l=$?"top":"left",d=Vh(i,"top","top")||Vh(me,"top","top"),B=d?d.scrollTop:void 0;Uo!==i&&(u=I[l],Nr=!1,os=!g&&b.invertSwap||s),p=ok(A,i,I,$,g?1:b.swapThreshold,b.invertedSwapThreshold==null?b.swapThreshold:b.invertedSwapThreshold,os,Uo===i);var a;if(p!==0){var r=xn(me);do r-=p,a=Qt.children[r];while(a&&(Re(a,"display")==="none"||a===Ue))}if(p===0||a===i)return L(!1);Uo=i,Fr=p;var C=i.nextElementSibling,E=!1;E=p===1;var M=cs(Ct,t,me,h,i,I,A,E);if(M!==!1)return(M===1||M===-1)&&(E=M===1),Lc=!0,setTimeout(tk,30),Q(),E&&!C?t.appendChild(me):i.parentNode.insertBefore(me,E?C:i),d&&tp(d,0,B-d.scrollTop),Qt=me.parentNode,u!==void 0&&!os&&(rs=Math.abs(u-Mt(i)[l])),k(),L(!0)}if(t.contains(me))return L(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){et(document,"mousemove",this._onTouchMove),et(document,"touchmove",this._onTouchMove),et(document,"pointermove",this._onTouchMove),et(document,"dragover",no),et(document,"mousemove",no),et(document,"touchmove",no)},_offUpEvents:function(){var A=this.el.ownerDocument;et(A,"mouseup",this._onDrop),et(A,"touchend",this._onDrop),et(A,"pointerup",this._onDrop),et(A,"touchcancel",this._onDrop),et(document,"selectstart",this)},_onDrop:function(A){var t=this.el,i=this.options;if(Qn=xn(me),Ni=xn(me,i.draggable),ln("drop",this,{evt:A}),Qt=me&&me.parentNode,Qn=xn(me),Ni=xn(me,i.draggable),Le.eventCanceled){this._nulling();return}To=!1,os=!1,Nr=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Pc(this.cloneId),Pc(this._dragStartId),this.nativeDraggable&&(et(document,"drop",this),et(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),kr&&Re(document.body,"user-select",""),Re(me,"transform",""),A&&(Sr&&(A.cancelable&&A.preventDefault(),!i.dropBubble&&A.stopPropagation()),Ue&&Ue.parentNode&&Ue.parentNode.removeChild(Ue),(Ct===Qt||Gt&&Gt.lastPutMode!=="clone")&&It&&It.parentNode&&It.parentNode.removeChild(It),me&&(this.nativeDraggable&&et(me,"dragend",this),Gc(me),me.style["will-change"]="",Sr&&!To&&mn(me,Gt?Gt.options.ghostClass:this.options.ghostClass,!1),mn(me,this.options.chosenClass,!1),zt({sortable:this,name:"unchoose",toEl:Qt,newIndex:null,newDraggableIndex:null,originalEvent:A}),Ct!==Qt?(Qn>=0&&(zt({rootEl:Qt,name:"add",toEl:Qt,fromEl:Ct,originalEvent:A}),zt({sortable:this,name:"remove",toEl:Qt,originalEvent:A}),zt({rootEl:Qt,name:"sort",toEl:Qt,fromEl:Ct,originalEvent:A}),zt({sortable:this,name:"sort",toEl:Qt,originalEvent:A})),Gt&&Gt.save()):Qn!==Ko&&Qn>=0&&(zt({sortable:this,name:"update",toEl:Qt,originalEvent:A}),zt({sortable:this,name:"sort",toEl:Qt,originalEvent:A})),Le.active&&((Qn==null||Qn===-1)&&(Qn=Ko,Ni=xr),zt({sortable:this,name:"end",toEl:Qt,originalEvent:A}),this.save()))),this._nulling()},_nulling:function(){ln("nulling",this),Ct=me=Qt=Ue=eo=It=es=Fi=to=Yn=Sr=Qn=Ni=Ko=xr=Uo=Fr=Gt=ts=Le.dragged=Le.ghost=Le.clone=Le.active=null,as.forEach(function(A){A.checked=!0}),as.length=Fc=Nc=0},handleEvent:function(A){switch(A.type){case"drop":case"dragend":this._onDrop(A);break;case"dragenter":case"dragover":me&&(this._onDragOver(A),ek(A));break;case"selectstart":A.preventDefault();break}},toArray:function(){for(var A=[],t,i=this.el.children,h=0,I=i.length,o=this.options;h<I;h++)t=i[h],Xn(t,o.draggable,this.el,!1)&&A.push(t.getAttribute(o.dataIdAttr)||ak(t));return A},sort:function(A,t){var i={},h=this.el;this.toArray().forEach(function(I,o){var b=h.children[o];Xn(b,this.options.draggable,h,!1)&&(i[I]=b)},this),t&&this.captureAnimationState(),A.forEach(function(I){i[I]&&(h.removeChild(i[I]),h.appendChild(i[I]))}),t&&this.animateAll()},save:function(){var A=this.options.store;A&&A.set&&A.set(this)},closest:function(A,t){return Xn(A,t||this.options.draggable,this.el,!1)},option:function(A,t){var i=this.options;if(t===void 0)return i[A];var h=Mr.modifyOption(this,A,t);typeof h<"u"?i[A]=h:i[A]=t,A==="group"&&lp(i)},destroy:function(){ln("destroy",this);var A=this.el;A[En]=null,et(A,"mousedown",this._onTapStart),et(A,"touchstart",this._onTapStart),et(A,"pointerdown",this._onTapStart),this.nativeDraggable&&(et(A,"dragover",this),et(A,"dragenter",this)),Array.prototype.forEach.call(A.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),is.splice(is.indexOf(this.el),1),this.el=A=null},_hideClone:function(){if(!Fi){if(ln("hideClone",this),Le.eventCanceled)return;Re(It,"display","none"),this.options.removeCloneOnHide&&It.parentNode&&It.parentNode.removeChild(It),Fi=!0}},_showClone:function(A){if(A.lastPutMode!=="clone"){this._hideClone();return}if(Fi){if(ln("showClone",this),Le.eventCanceled)return;me.parentNode==Ct&&!this.options.group.revertClone?Ct.insertBefore(It,me):eo?Ct.insertBefore(It,eo):Ct.appendChild(It),this.options.group.revertClone&&this.animate(me,It),Re(It,"display",""),Fi=!1}}};function ek(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function cs(n,A,t,i,h,I,o,b){var D,w=n[En],S=w.options.onMove,N;return window.CustomEvent&&!hi&&!vr?D=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(D=document.createEvent("Event"),D.initEvent("move",!0,!0)),D.to=A,D.from=n,D.dragged=t,D.draggedRect=i,D.related=h||A,D.relatedRect=I||Mt(A),D.willInsertAfter=b,D.originalEvent=o,n.dispatchEvent(D),S&&(N=S.call(w,D,o)),N}function Gc(n){n.draggable=!1}function tk(){Lc=!1}function nk(n,A,t){var i=Mt(Po(t.el,0,t.options,!0)),h=10;return A?n.clientX<i.left-h||n.clientY<i.top&&n.clientX<i.right:n.clientY<i.top-h||n.clientY<i.bottom&&n.clientX<i.left}function ik(n,A,t){var i=Mt(Mc(t.el,t.options.draggable)),h=10;return A?n.clientX>i.right+h||n.clientX<=i.right&&n.clientY>i.bottom&&n.clientX>=i.left:n.clientX>i.right&&n.clientY>i.top||n.clientX<=i.right&&n.clientY>i.bottom+h}function ok(n,A,t,i,h,I,o,b){var D=i?n.clientY:n.clientX,w=i?t.height:t.width,S=i?t.top:t.left,N=i?t.bottom:t.right,T=!1;if(!o){if(b&&rs<w*h){if(!Nr&&(Fr===1?D>S+w*I/2:D<N-w*I/2)&&(Nr=!0),Nr)T=!0;else if(Fr===1?D<S+rs:D>N-rs)return-Fr}else if(D>S+w*(1-h)/2&&D<N-w*(1-h)/2)return rk(A)}return T=T||o,T&&(D<S+w*I/2||D>N-w*I/2)?D>S+w/2?1:-1:0}function rk(n){return xn(me)<xn(n)?1:-1}function ak(n){for(var A=n.tagName+n.className+n.src+n.href+n.textContent,t=A.length,i=0;t--;)i+=A.charCodeAt(t);return i.toString(36)}function sk(n){as.length=0;for(var A=n.getElementsByTagName("input"),t=A.length;t--;){var i=A[t];i.checked&&as.push(i)}}function gs(n){return setTimeout(n,0)}function Pc(n){return clearTimeout(n)}ss&&it(document,"touchmove",function(n){(Le.active||To)&&n.cancelable&&n.preventDefault()}),Le.utils={on:it,off:et,css:Re,find:Xh,is:function(A,t){return!!Xn(A,t,A,!1)},extend:O1,throttle:ep,closest:Xn,toggleClass:mn,clone:np,index:xn,nextTick:gs,cancelNextTick:Pc,detectDirection:sp,getChild:Po},Le.get=function(n){return n[En]},Le.mount=function(){for(var n=arguments.length,A=new Array(n),t=0;t<n;t++)A[t]=arguments[t];A[0].constructor===Array&&(A=A[0]),A.forEach(function(i){if(!i.prototype||!i.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(i));i.utils&&(Le.utils=qn(qn({},Le.utils),i.utils)),Mr.mount(i)})},Le.create=function(n,A){return new Le(n,A)},Le.version=K1;var vt=[],Rr,Hc,Kc=!1,Tc,Uc,us,Lr;function lk(){function n(){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 n.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?it(document,"dragover",this._handleAutoScroll):this.options.supportPointer?it(document,"pointermove",this._handleFallbackAutoScroll):i.touches?it(document,"touchmove",this._handleFallbackAutoScroll):it(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;!this.options.dragOverBubble&&!i.rootEl&&this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?et(document,"dragover",this._handleAutoScroll):(et(document,"pointermove",this._handleFallbackAutoScroll),et(document,"touchmove",this._handleFallbackAutoScroll),et(document,"mousemove",this._handleFallbackAutoScroll)),up(),ds(),$1()},nulling:function(){us=Hc=Rr=Kc=Lr=Tc=Uc=null,vt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var h=this,I=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,b=document.elementFromPoint(I,o);if(us=t,i||this.options.forceAutoScrollFallback||vr||hi||kr){Yc(t,this.options,b,i);var D=Si(b,!0);Kc&&(!Lr||I!==Tc||o!==Uc)&&(Lr&&up(),Lr=setInterval(function(){var w=Si(document.elementFromPoint(I,o),!0);w!==D&&(D=w,ds()),Yc(t,h.options,w,i)},10),Tc=I,Uc=o)}else{if(!this.options.bubbleScroll||Si(b,!0)===Vn()){ds();return}Yc(t,this.options,Si(b,!1),!1)}}},ui(n,{pluginName:"scroll",initializeByDefault:!0})}function ds(){vt.forEach(function(n){clearInterval(n.pid)}),vt=[]}function up(){clearInterval(Lr)}var Yc=ep(function(n,A,t,i){if(A.scroll){var h=(n.touches?n.touches[0]:n).clientX,I=(n.touches?n.touches[0]:n).clientY,o=A.scrollSensitivity,b=A.scrollSpeed,D=Vn(),w=!1,S;Hc!==t&&(Hc=t,ds(),Rr=A.scroll,S=A.scrollFn,Rr===!0&&(Rr=Si(t,!0)));var N=0,T=Rr;do{var $=T,K=Mt($),Y=K.top,v=K.bottom,Q=K.left,L=K.right,k=K.width,y=K.height,m=void 0,p=void 0,u=$.scrollWidth,s=$.scrollHeight,g=Re($),l=$.scrollLeft,d=$.scrollTop;$===D?(m=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),p=y<s&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(m=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"),p=y<s&&(g.overflowY==="auto"||g.overflowY==="scroll"));var B=m&&(Math.abs(L-h)<=o&&l+k<u)-(Math.abs(Q-h)<=o&&!!l),a=p&&(Math.abs(v-I)<=o&&d+y<s)-(Math.abs(Y-I)<=o&&!!d);if(!vt[N])for(var r=0;r<=N;r++)vt[r]||(vt[r]={});(vt[N].vx!=B||vt[N].vy!=a||vt[N].el!==$)&&(vt[N].el=$,vt[N].vx=B,vt[N].vy=a,clearInterval(vt[N].pid),(B!=0||a!=0)&&(w=!0,vt[N].pid=setInterval((function(){i&&this.layer===0&&Le.active._onTouchMove(us);var C=vt[this.layer].vy?vt[this.layer].vy*b:0,E=vt[this.layer].vx?vt[this.layer].vx*b:0;typeof S=="function"&&S.call(Le.dragged.parentNode[En],E,C,n,us,vt[this.layer].el)!=="continue"||tp(vt[this.layer].el,E,C)}).bind({layer:N}),24))),N++}while(A.bubbleScroll&&T!==D&&(T=Si(T,!1)));Kc=w}},30),dp=function(A){var t=A.originalEvent,i=A.putSortable,h=A.dragEl,I=A.activeSortable,o=A.dispatchSortableEvent,b=A.hideGhostForTarget,D=A.unhideGhostForTarget;if(t){var w=i||I;b();var S=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,N=document.elementFromPoint(S.clientX,S.clientY);D(),w&&!w.el.contains(N)&&(o("spill"),this.onSpill({dragEl:h,putSortable:i}))}};function Oc(){}Oc.prototype={startIndex:null,dragStart:function(A){var t=A.oldDraggableIndex;this.startIndex=t},onSpill:function(A){var t=A.dragEl,i=A.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var h=Po(this.sortable.el,this.startIndex,this.options);h?this.sortable.el.insertBefore(t,h):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:dp},ui(Oc,{pluginName:"revertOnSpill"});function $c(){}$c.prototype={onSpill:function(A){var t=A.dragEl,i=A.putSortable,h=i||this.sortable;h.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),h.animateAll()},drop:dp},ui($c,{pluginName:"removeOnSpill"}),Le.mount(new lk),Le.mount($c,Oc);var ck=Object.defineProperty,gk=Object.defineProperties,uk=Object.getOwnPropertyDescriptors,hp=Object.getOwnPropertySymbols,dk=Object.prototype.hasOwnProperty,hk=Object.prototype.propertyIsEnumerable,pp=(n,A,t)=>A in n?ck(n,A,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[A]=t,Ri=(n,A)=>{for(var t in A||(A={}))dk.call(A,t)&&pp(n,t,A[t]);if(hp)for(var t of hp(A))hk.call(A,t)&&pp(n,t,A[t]);return n},hs=(n,A)=>gk(n,uk(A));function Jc(n){n.parentElement!==null&&n.parentElement.removeChild(n)}function Bp(n,A,t){const i=t===0?n.children[0]:n.children[t-1].nextSibling;n.insertBefore(A,i)}function pk(){return typeof window<"u"?window.console:global.console}const Bk=pk();function Ck(n){const A=Object.create(null);return function(i){return A[i]||(A[i]=n(i))}}const mk=/-(\w)/g,Ek=Ck(n=>n.replace(mk,(A,t)=>t.toUpperCase())),Cp=["Start","Add","Remove","Update","End"],mp=["Choose","Unchoose","Sort","Filter","Clone"],Ep=["Move"],Qk=[Ep,Cp,mp].flatMap(n=>n).map(n=>`on${n}`),zc={manage:Ep,manageAndEmit:Cp,emit:mp};function Ik(n){return Qk.indexOf(n)!==-1}const fk=["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 wk(n){return fk.includes(n)}function bk(n){return["transition-group","TransitionGroup"].includes(n)}function Qp(n){return["id","class","role","style"].includes(n)||n.startsWith("data-")||n.startsWith("aria-")||n.startsWith("on")}function Ip(n){return n.reduce((A,[t,i])=>(A[t]=i,A),{})}function Dk({$attrs:n,componentData:A={}}){const t=Ip(Object.entries(n).filter(([i,h])=>Qp(i)));return Ri(Ri({},t),A)}function yk({$attrs:n,callBackBuilder:A}){const t=Ip(fp(n));Object.entries(A).forEach(([h,I])=>{zc[h].forEach(o=>{t[`on${o}`]=I(o)})});const i=`[data-draggable]${t.draggable||""}`;return hs(Ri({},t),{draggable:i})}function fp(n){return Object.entries(n).filter(([A,t])=>!Qp(A)).map(([A,t])=>[Ek(A),t]).filter(([A,t])=>!Ik(A))}const wp=n=>{const A=n.el||Array.isArray(n.children)&&n.children[0].el.parentNode;return A||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),A||{}},vk=(n,A)=>n.__draggable_context=A,bp=n=>n.__draggable_context;class kk{constructor({nodes:{header:A,default:t,footer:i},root:h,realList:I}){this.defaultNodes=t,this.children=[...A,...t,...i],this.externalComponent=h.externalComponent,this.rootTransition=h.transition,this.tag=h.tag,this.realList=I}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(A,t){const{tag:i,children:h,_isRootComponent:I}=this;return A(i,t,I?{default:()=>h}:h)}updated(){const{defaultNodes:A,realList:t}=this;A.forEach((i,h)=>{vk(wp(i),{element:t[h],index:h})})}getUnderlyingVm(A){return bp(A)}getVmIndexFromDomIndex(A,t){const{defaultNodes:i}=this,{length:h}=i,I=t.children,o=I.item(A);if(o===null)return h;const b=bp(o);if(b)return b.index;if(h===0)return 0;const D=wp(i[0]),w=[...I].findIndex(S=>S===D);return A<w?0:h}}function _k(n,A){const t=n[A];return t?t():[]}function Mk({$slots:n,realList:A,getKey:t}){const i=A||[],[h,I]=["header","footer"].map(D=>_k(n,D)),{item:o}=n;if(!o)throw new Error("draggable element must have an item slot");const b=i.flatMap((D,w)=>o({element:D,index:w}).map(S=>(S.key=t(D),S.props=hs(Ri({},S.props||{}),{"data-draggable":!0}),S)));if(b.length!==i.length)throw new Error("Item slot must have only one child");return{header:h,footer:I,default:b}}function xk(n){const A=bk(n),t=!wk(n)&&!A;return{transition:A,externalComponent:t,tag:t?e.resolveComponent(n):A?e.TransitionGroup:n}}function Sk({$slots:n,tag:A,realList:t,getKey:i}){const h=Mk({$slots:n,realList:t,getKey:i}),I=xk(A);return new kk({nodes:h,root:I,realList:t})}function Dp(n,A){e.nextTick(()=>this.$emit(n.toLowerCase(),A))}function yp(n){return(A,t)=>{if(this.realList!==null)return this[`onDrag${n}`](A,t)}}function Fk(n){const A=yp.call(this,n);return(t,i)=>{A.call(this,t,i),Dp.call(this,n,t)}}let Zc=null;const Nk={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:n=>n},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Rk=["update:modelValue","change",...[...zc.manageAndEmit,...zc.emit].map(n=>n.toLowerCase())],vp=e.defineComponent({name:"draggable",inheritAttrs:!1,props:Nk,emits:Rk,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:n,$attrs:A,tag:t,componentData:i,realList:h,getKey:I}=this,o=Sk({$slots:n,tag:t,realList:h,getKey:I});this.componentStructure=o;const b=Dk({$attrs:A,componentData:i});return o.render(e.h,b)}catch(n){return this.error=!0,e.h("pre",{style:{color:"red"}},n.stack)}},created(){this.list!==null&&this.modelValue!==null&&Bk.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:n,$el:A,componentStructure:t}=this;t.updated();const i=yk({$attrs:n,callBackBuilder:{manageAndEmit:I=>Fk.call(this,I),emit:I=>Dp.bind(this,I),manage:I=>yp.call(this,I)}}),h=A.nodeType===1?A:A.parentElement;this._sortable=new Le(h,i),this.targetDomElement=h,h.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:n}=this;return n||this.modelValue},getKey(){const{itemKey:n}=this;return typeof n=="function"?n:A=>A[n]}},watch:{$attrs:{handler(n){const{_sortable:A}=this;A&&fp(n).forEach(([t,i])=>{A.option(t,i)})},deep:!0}},methods:{getUnderlyingVm(n){return this.componentStructure.getUnderlyingVm(n)||null},getUnderlyingPotencialDraggableComponent(n){return n.__draggable_component__},emitChanges(n){e.nextTick(()=>this.$emit("change",n))},alterList(n){if(this.list){n(this.list);return}const A=[...this.modelValue];n(A),this.$emit("update:modelValue",A)},spliceList(){const n=A=>A.splice(...arguments);this.alterList(n)},updatePosition(n,A){const t=i=>i.splice(A,0,i.splice(n,1)[0]);this.alterList(t)},getRelatedContextFromMoveEvent({to:n,related:A}){const t=this.getUnderlyingPotencialDraggableComponent(n);if(!t)return{component:t};const i=t.realList,h={list:i,component:t};if(n!==A&&i){const I=t.getUnderlyingVm(A)||{};return Ri(Ri({},I),h)}return h},getVmIndexFromDomIndex(n){return this.componentStructure.getVmIndexFromDomIndex(n,this.targetDomElement)},onDragStart(n){this.context=this.getUnderlyingVm(n.item),n.item._underlying_vm_=this.clone(this.context.element),Zc=n.item},onDragAdd(n){const A=n.item._underlying_vm_;if(A===void 0)return;Jc(n.item);const t=this.getVmIndexFromDomIndex(n.newIndex);this.spliceList(t,0,A);const i={element:A,newIndex:t};this.emitChanges({added:i})},onDragRemove(n){if(Bp(this.$el,n.item,n.oldIndex),n.pullMode==="clone"){Jc(n.clone);return}const{index:A,element:t}=this.context;this.spliceList(A,1);const i={element:t,oldIndex:A};this.emitChanges({removed:i})},onDragUpdate(n){Jc(n.item),Bp(n.from,n.item,n.oldIndex);const A=this.context.index,t=this.getVmIndexFromDomIndex(n.newIndex);this.updatePosition(A,t);const i={element:this.context.element,oldIndex:A,newIndex:t};this.emitChanges({moved:i})},computeFutureIndex(n,A){if(!n.element)return 0;const t=[...A.to.children].filter(o=>o.style.display!=="none"),i=t.indexOf(A.related),h=n.component.getVmIndexFromDomIndex(i);return t.indexOf(Zc)!==-1||!A.willInsertAfter?h:h+1},onDragMove(n,A){const{move:t,realList:i}=this;if(!t||!i)return!0;const h=this.getRelatedContextFromMoveEvent(n),I=this.computeFutureIndex(h,n),o=hs(Ri({},this.context),{futureIndex:I}),b=hs(Ri({},n),{relatedContext:h,draggedContext:o});return t(b,A)},onDragEnd(){Zc=null}}}),io=e.defineComponent({__name:"FormItem",props:{label:{},name:{},component:{},required:{type:Boolean},props:{},initialValue:{},help:{},labelSuffix:{},children:{},hidden:{type:[Boolean,String]},hideLabel:{type:Boolean},designKey:{},rules:{},class:{},style:{},change:{},dialog:{type:Boolean},width:{}},setup(n){const A=n,t=kt(),i=$o(),h=e.reactive({visible:!1,title:""}),I=()=>{h.visible=!0,h.title=A.label},o=e.computed({get(){return Ca(t.formValues,A.name)},set($){const K=vo(t.formValues,A.name,$);t.updateFormValues(K)}}),b=e.computed(()=>{const{rules:$,required:K,component:Y}=A,v=[];if(K&&v.push({required:!0,trigger:"blur",message:"Required"}),$){const Q=$.map(L=>{const{type:k,message:y,trigger:m,customReg:p,templateExp:u}=L,s={message:y,trigger:m};return["email","url"].includes(k)?{...s,type:k}:k==="custom"&&p?{...s,pattern:fm(p)}:Im(k)?{...s,pattern:k}:k==="template"?{...s,validator:()=>u}:{}});return[...v,...Q]}if(Y==="VerifyCode"){const Q={trigger:"blur",message:"验证码错误!",validator:()=>t.vCodePass};return[...v,Q]}return v}),D=e.computed(()=>{const $=i[A.component]||{};return $.modelName||($.modelName="modelValue"),$}),w=e.computed(()=>{const $={name:A.name,...A.props};return A.children&&($.children=A.children),$}),S=()=>{if(A.component!=="DragList")return[];const $=w.value.gridlayout||[],K=w.value.children||[],Y=w.value.rowHeight||30;return $.map((v,Q)=>{var L;return{...v,i:(L=K[Q])==null?void 0:L.name,rowHeight:Y}})},N=e.ref(S()),T=$=>$==null?void 0:$.replace(/&nbsp;/g," ");return e.onBeforeMount(()=>{if(o.value===void 0&&A.initialValue!==void 0&&!t.design){const $=vo(t.initialValues,A.name,A.initialValue);t.updateInitialValues($),o.value=A.initialValue}}),e.watch(o,($,K)=>{const Y=A.change,v=ht.isEqual($,K);if(!Y||v)return;let Q=ht.cloneDeep(t.formValues);Y.forEach(({target:L,value:k,condition:y})=>{if(y!==!1){if(L.includes(".*.")){const m=L.split(".*."),p=m.pop(),u=m.join("."),s=Ca(t.formValues,u);ht.isArray(s)&&(Q=vo(Q,u,s.map(g=>({...g,[p]:k}))));return}Q=vo(Q,L,k)}}),t.updateFormValues(Q)},{immediate:!0}),($,K)=>{var k;const Y=e.resolveComponent("el-tooltip"),v=e.resolveComponent("el-dialog"),Q=e.resolveComponent("el-button"),L=e.resolveComponent("el-form-item");return e.unref(t).design||!$.hidden?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[D.value.component==="DragList"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(D.value.render),e.mergeProps({key:0},w.value,{style:{minWidth:0},gridlayout:N.value,"onUpdate:gridlayout":K[0]||(K[0]=y=>N.value=y)}),null,16,["gridlayout"])):D.value.type==="layout"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(D.value.render),e.mergeProps({key:1},w.value,{style:{minWidth:0}}),null,16)):D.value.type==="assist"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(D.value.render),e.normalizeProps(e.mergeProps({key:2},w.value)),null,16)):(e.openBlock(),e.createBlock(L,{class:e.normalizeClass([e.unref(je)("form-item"),A.class,`${$.component}-${$.name}`,{readMode:(k=A.props)==null?void 0:k.read}]),style:e.normalizeStyle($.style),key:$.name,prop:$.name,"label-width":$.hideLabel?"0":e.unref(t).schema.labelWidth,rules:b.value},e.createSlots({default:e.withCtx(()=>[$.dialog?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(v,{modelValue:h.visible,"onUpdate:modelValue":K[2]||(K[2]=y=>h.visible=y),title:h.title,width:"70%",center:"","destroy-on-close":""},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(D.value.render),e.mergeProps({size:e.unref(t).schema.size},w.value,{disabled:e.unref(t).schema.disabled,[D.value.modelName]:o.value,["onUpdate:"+D.value.modelName]:K[1]||(K[1]=y=>o.value=y)}),null,16,["size","disabled"]))]),_:1},8,["modelValue","title"]),e.createVNode(Q,{type:"primary",plain:"",onClick:I},{default:e.withCtx(()=>K[4]||(K[4]=[e.createTextVNode("配置")])),_:1})],64)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(D.value.render),e.mergeProps({key:1,size:e.unref(t).schema.size,disabled:e.unref(t).schema.disabled},e.unref(sn)(w.value,e.unref(t).context),{[D.value.modelName]:o.value,["onUpdate:"+D.value.modelName]:K[3]||(K[3]=y=>o.value=y)}),null,16,["size","disabled"]))]),_:2},[$.hideLabel?void 0:{name:"label",fn:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(je)("form-item-label"),$.label&&`${$.name}-label`])},[e.createElementVNode("div",{style:e.normalizeStyle(e.unref(t).schema.labelBold&&"font-weight: bold")},e.toDisplayString(T($.label)),5),$.help?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(je)("form-item-label-ico"))},[e.createVNode(Y,{effect:"dark",content:$.help},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(be),{name:"help"})])]),_:1},8,["content"])],2)):e.createCommentVNode("",!0),$.labelSuffix?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(je)("form-item-label-suffix"))},[$.labelSuffix.component==="Popover"?(e.openBlock(),e.createBlock(CB,e.normalizeProps(e.mergeProps({key:0},e.unref(sn)($.labelSuffix.props,e.unref(t).context))),null,16)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],2)]),key:"0"}]),1032,["class","style","prop","label-width","rules"]))],64)):e.createCommentVNode("",!0)}}}),Lk={key:0,class:"actions-lt"},Gk={class:"canvas-move",size:"small",type:"primary"},Pk={key:1,class:"hidden-ico"},Hk={key:2,class:"actions-rb"},Kk=["onClick"],Tk={key:3,class:"layout-title"},Uk=e.defineComponent({__name:"CanvasItem",props:{data:{}},setup(n){const A=n,t=Sn(),h=$o()[A.data.component],I=e.computed(()=>{var T;return{[je("canvas-item")]:!0,active:A.data.designKey===((T=t.current)==null?void 0:T.designKey),hover:A.data.designKey===t.hoverKey,mask:A.data.designKey===t.hoverKey&&!A.data.children,collapse:w.value}}),o=()=>{A.data.designKey&&t.updateHoverKey(A.data.designKey)},b=()=>{t.updateHoverKey("")},D=T=>{t.updateCurrent(T),t.rightTab="attr"},w=e.ref(!1),S=()=>{w.value=!w.value},N=[{icon:"copy",handle:T=>{const $=Ld(t.list,T.designKey);t.updateList($)}},{icon:"delete",bg:"var(--el-color-danger)",handle:T=>{const $=fu(t.list,K=>K.designKey!==T.designKey);t.updateList($)}}];return(T,$)=>{var K,Y;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(I.value),onClick:$[0]||($[0]=e.withModifiers(v=>D(T.data),["stop"])),onMousemove:e.withModifiers(o,["stop"]),onMouseleave:e.withModifiers(b,["stop"])},[T.data.designKey===((K=e.unref(t).current)==null?void 0:K.designKey)?(e.openBlock(),e.createElementBlock("div",Lk,[e.createElementVNode("div",Gk,[e.createVNode(e.unref(be),{name:"move"})]),e.createElementVNode("div",{class:"canvas-collapse",size:"small",type:"primary",onClick:S},[e.createVNode(e.unref(be),{name:"select"})])])):e.createCommentVNode("",!0),T.data.hidden?(e.openBlock(),e.createElementBlock("div",Pk,[e.createVNode(e.unref(be),{name:"hidden"})])):e.createCommentVNode("",!0),T.data.designKey===((Y=e.unref(t).current)==null?void 0:Y.designKey)?(e.openBlock(),e.createElementBlock("ul",Hk,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(N,({icon:v,handle:Q,bg:L})=>e.createElementVNode("li",{class:"actions-rb-item",onClick:e.withModifiers(k=>Q(T.data),["stop"]),key:v,style:e.normalizeStyle({backgroundColor:L})},[e.createVNode(e.unref(be),{name:v},null,8,["name"])],12,Kk)),64))])):e.createCommentVNode("",!0),e.unref(h).lbTitle?(e.openBlock(),e.createElementBlock("div",Tk,e.toDisplayString(e.unref(h).title),1)):e.createCommentVNode("",!0),e.createVNode(io,e.mergeProps(T.data,{props:T.data.props}),null,16,["props"])],34)}}}),Wc=e.defineComponent({__name:"CanvasGroup",props:{list:{},style:{},class:{},emptyText:{default:"请拖入子字段"},emptySize:{default:12}},setup(n){const A=n,t=Sn(),i=h=>{const I=h.item._underlying_vm_;t.updateCurrent(Ac(t.list,I.designKey)),t.hoverKey=I.designKey,t.rightTab="attr",t.handleEmit("add",I)};return(h,I)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("canvas-group")),style:e.normalizeStyle({overflow:h.list.length?"auto":"hidden"})},[h.list.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(je)("canvas-group-empty")),style:e.normalizeStyle({fontSize:h.emptySize+"px"})},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(je)("canvas-group-empty-ico"))},[e.createVNode(e.unref(be),{name:"add"})],2),e.createElementVNode("p",null,e.toDisplayString(h.emptyText),1)],6)),e.createVNode(e.unref(vp),{list:h.list,group:"formDesign",itemKey:"name","ghost-class":e.unref(je)("canvas-group-ghost"),class:e.normalizeClass([e.unref(je)("canvas-group-draggable"),A.class]),style:e.normalizeStyle(h.style),animation:300,handle:".canvas-move","force-fallback":"",onAdd:i},{item:e.withCtx(({element:o})=>[o.designKey?(e.openBlock(),e.createBlock(Uk,{key:0,data:o},null,8,["data"])):e.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),Yk=typeof window<"u";var kp;Yk&&((kp=window==null?void 0:window.navigator)!=null&&kp.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function In(n){return n==null}function _p(){}const Ok=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Ok)));function $k(){const n=new Map;return{on(A,t){const i=n.get(A);i!=null&&i.add(t)||n.set(A,new Set([t]))},off(A,t){const i=n.get(A);i&&i.delete(t)},clear(A){const t=n.get(A);t&&t.clear()},clearAll(){n.clear()},emit(A,...t){const i=n.get(A);i&&i.forEach(h=>{h(...t)})}}}function Mp(n,A=16){if(typeof n!="function")return _p;const t=(...I)=>{n(...I)};if(A<=0)return xp(t);let i=0,h;return function(...I){const o=Date.now(),b=o-i;clearTimeout(h),b>=A?(i=o,t(...I)):h=setTimeout(()=>{i=Date.now(),t(...I)},Math.max(0,A-b))}}function Jk(n,A=100){if(typeof n!="function")return _p;const t=(...h)=>{n(...h)};if(A<=0)return xp(t);let i;return function(...h){clearTimeout(i),i=setTimeout(()=>{t(...h)},A)}}function xp(n){if(typeof n!="function")return n;let A=!1,t,i;return function(...h){return t=h,A||(A=!0,i=Promise.resolve().then(()=>(A=!1,i=void 0,n(...t)))),i}}const Gr=new Set,Sp=new WeakMap;function zk(){Gr.forEach(n=>{n(...Sp.get(n))}),Gr.clear()}function Zt(n,...A){if(typeof n!="function")return n;Sp.set(n,A),!Gr.has(n)&&(Gr.add(n),Gr.size===1&&Promise.resolve().then(zk))}const Fp=Symbol("LAYOUT_KEY"),Np=Symbol("EMITTER_KEY");function Zk(n){let A=0,t;for(let i=0,h=n.length;i<h;i++)t=n[i].y+n[i].h,t>A&&(A=t);return A}function jc(n){const A=Array(n.length);for(let t=0,i=n.length;t<i;t++)A[t]=Wk(n[t]);return A}function Wk(n){return{...n}}function Rp(n,A){return!(n===A||n.x+n.w<=A.x||n.x>=A.x+A.w||n.y+n.h<=A.y||n.y>=A.y+A.h)}function Yo(n,A,t){const i=Pp(n),h=Kp(n),I=Array(n.length);for(let o=0,b=h.length;o<b;o++){let D=h[o];D.static||(D=jk(i,D,A,t),i.push(D)),I[n.findIndex(w=>w.i===D.i)]=D,D.moved=!1}return I}function jk(n,A,t,i){if(t)for(;A.y>0&&!Pr(n,A);)A.y--;else if(i){const I=i[A.i].y;for(;A.y>I&&!Pr(n,A);)A.y--}let h;for(;h=Pr(n,A);)A.y=h.y+h.h;return A}function qk(n,A){const t=Pp(n);for(let i=0,h=n.length;i<h;i++){const I=n[i];if(I.x+I.w>A.cols&&(I.x=A.cols-I.w),I.x<0&&(I.x=0,I.w=A.cols),!I.static)t.push(I);else for(;Pr(t,I);)I.y++}return n}function Lp(n,A){for(let t=0,i=n.length;t<i;t++)if(n[t].i===A)return n[t]}function Pr(n,A){for(let t=0,i=n.length;t<i;t++)if(Rp(n[t],A))return n[t]}function Gp(n,A){return n.filter(t=>Rp(t,A))}function Pp(n){return n.filter(A=>A.static)}function qc(n,A,t,i,h=!1,I=!1){if(A.static)return n;const o=A.x,b=A.y,D=i&&A.y>i;typeof t=="number"&&(A.x=t),typeof i=="number"&&(A.y=i),A.moved=!0;let w=Kp(n);D&&(w=w.reverse());const S=Gp(w,A);if(I&&S.length)return A.x=o,A.y=b,A.moved=!1,n;for(let N=0,T=S.length;N<T;N++){const $=S[N];$.moved||A.y>$.y&&A.y-$.y>$.h/4||($.static?n=Hp(n,$,A,h):n=Hp(n,A,$,h))}return n}function Hp(n,A,t,i){if(i){const h={x:t.x,y:t.y,w:t.w,h:t.h};if(h.y=Math.max(A.y-t.h,0),!Pr(n,h))return qc(n,t,void 0,h.y,!1)}return qc(n,t,void 0,t.y+1,!1)}function Xk(n,A,t,i){const h="translate3d("+A+"px,"+n+"px, 0)";return{transform:h,WebkitTransform:h,MozTransform:h,msTransform:h,OTransform:h,width:t+"px",height:i+"px",position:"absolute"}}function Vk(n,A,t,i){const h="translate3d("+A*-1+"px,"+n+"px, 0)";return{transform:h,WebkitTransform:h,MozTransform:h,msTransform:h,OTransform:h,width:t+"px",height:i+"px",position:"absolute"}}function A_(n,A,t,i){return{top:n+"px",left:A+"px",width:t+"px",height:i+"px",position:"absolute"}}function e_(n,A,t,i){return{top:n+"px",right:A+"px",width:t+"px",height:i+"px",position:"absolute"}}function Kp(n){return Array.from(n).sort(function(A,t){return A.y===t.y&&A.x===t.x?0:A.y>t.y||A.y===t.y&&A.x>t.x?1:-1})}function t_(n,A){A=A||"Layout";const t=["x","y","w","h"],i=[];if(!Array.isArray(n))throw new Error(A+" must be an array!");for(let h=0,I=n.length;h<I;h++){const o=n[h];for(let b=0;b<t.length;b++)if(typeof o[t[b]]!="number")throw new Error("VueGridLayout: "+A+"["+h+"]."+t[b]+" must be a number!");if(o.i===void 0||o.i===null)throw new Error("VueGridLayout: "+A+"["+h+"].i cannot be null!");if(typeof o.i!="number"&&typeof o.i!="string")throw new Error("VueGridLayout: "+A+"["+h+"].i must be a string or number!");if(i.indexOf(o.i)>=0)throw new Error("VueGridLayout: "+A+"["+h+"].i must be unique!");if(i.push(o.i),o.static!==void 0&&typeof o.static!="boolean")throw new Error("VueGridLayout: "+A+"["+h+"].static must be a boolean!")}}function n_(n,A="vgl"){const t=()=>`${A}-${n}`;return{b:t,be:i=>`${t()}__${i}`,bm:i=>`${t()}--${i}`,bem:(i,h)=>`${t()}__${i}--${h}`}}function Tp(n){return i_(n)}function i_(n){var A;const t=((A=n.target)==null?void 0:A.offsetParent)||document.body,i=n.offsetParent===document.body?{left:0,top:0}:t.getBoundingClientRect(),h=n.clientX+t.scrollLeft-i.left,I=n.clientY+t.scrollTop-i.top;return{x:h,y:I}}function Up(n,A,t,i){return o_(n)?{deltaX:t-n,deltaY:i-A,lastX:n,lastY:A,x:t,y:i}:{deltaX:0,deltaY:0,lastX:t,lastY:i,x:t,y:i}}function o_(n){return typeof n=="number"&&!Number.isNaN(n)}function r_(n,A){const t=Op(n);let i=t[0];for(let h=1,I=t.length;h<I;h++){const o=t[h];A>n[o]&&(i=o)}return i}function Yp(n,A){if(!A[n])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+n+" is missing!");return A[n]}function a_(n,A,t,i,h,I,o){if(A[i])return jc(A[i]);let b=n;const D=Op(t),w=D.slice(D.indexOf(i));for(let S=0,N=w.length;S<N;S++){const T=w[S];if(A[T]){b=A[T];break}}return b=jc(b||[]),Yo(qk(b,{cols:I}),o)}function Op(n){return Object.keys(n).sort((A,t)=>n[A]-n[t])}let s_="auto";function l_(){return typeof document<"u"}function $p(){return l_()?typeof document.dir<"u"?document.dir:document.getElementsByTagName("html")[0].getAttribute("dir"):s_}var ps={exports:{}};ps.exports,function(n,A){(function(t,i){n.exports=i()})(yo,function(){function t(R,F){var Z=Object.keys(R);if(Object.getOwnPropertySymbols){var nA=Object.getOwnPropertySymbols(R);F&&(nA=nA.filter(function(lA){return Object.getOwnPropertyDescriptor(R,lA).enumerable})),Z.push.apply(Z,nA)}return Z}function i(R){for(var F=1;F<arguments.length;F++){var Z=arguments[F]!=null?arguments[F]:{};F%2?t(Object(Z),!0).forEach(function(nA){D(R,nA,Z[nA])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(Z)):t(Object(Z)).forEach(function(nA){Object.defineProperty(R,nA,Object.getOwnPropertyDescriptor(Z,nA))})}return R}function h(R){return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},h(R)}function I(R,F){if(!(R instanceof F))throw new TypeError("Cannot call a class as a function")}function o(R,F){for(var Z=0;Z<F.length;Z++){var nA=F[Z];nA.enumerable=nA.enumerable||!1,nA.configurable=!0,"value"in nA&&(nA.writable=!0),Object.defineProperty(R,Y(nA.key),nA)}}function b(R,F,Z){return F&&o(R.prototype,F),Object.defineProperty(R,"prototype",{writable:!1}),R}function D(R,F,Z){return(F=Y(F))in R?Object.defineProperty(R,F,{value:Z,enumerable:!0,configurable:!0,writable:!0}):R[F]=Z,R}function w(R,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(F&&F.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),F&&N(R,F)}function S(R){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},S(R)}function N(R,F){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Z,nA){return Z.__proto__=nA,Z},N(R,F)}function T(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function $(R){var F=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Z,nA=S(R);if(F){var lA=S(this).constructor;Z=Reflect.construct(nA,arguments,lA)}else Z=nA.apply(this,arguments);return function(uA,mA){if(mA&&(typeof mA=="object"||typeof mA=="function"))return mA;if(mA!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return T(uA)}(this,Z)}}function K(){return K=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(R,F,Z){var nA=function(uA,mA){for(;!Object.prototype.hasOwnProperty.call(uA,mA)&&(uA=S(uA))!==null;);return uA}(R,F);if(nA){var lA=Object.getOwnPropertyDescriptor(nA,F);return lA.get?lA.get.call(arguments.length<3?R:Z):lA.value}},K.apply(this,arguments)}function Y(R){var F=function(Z,nA){if(typeof Z!="object"||Z===null)return Z;var lA=Z[Symbol.toPrimitive];if(lA!==void 0){var uA=lA.call(Z,nA);if(typeof uA!="object")return uA;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Z)}(R,"string");return typeof F=="symbol"?F:F+""}var v=function(R){return!(!R||!R.Window)&&R instanceof R.Window},Q=void 0,L=void 0;function k(R){Q=R;var F=R.document.createTextNode("");F.ownerDocument!==R.document&&typeof R.wrap=="function"&&R.wrap(F)===F&&(R=R.wrap(R)),L=R}function y(R){return v(R)?R:(R.ownerDocument||R).defaultView||L.window}typeof window<"u"&&window&&k(window);var m=function(R){return!!R&&h(R)==="object"},p=function(R){return typeof R=="function"},u={window:function(R){return R===L||v(R)},docFrag:function(R){return m(R)&&R.nodeType===11},object:m,func:p,number:function(R){return typeof R=="number"},bool:function(R){return typeof R=="boolean"},string:function(R){return typeof R=="string"},element:function(R){if(!R||h(R)!=="object")return!1;var F=y(R)||L;return/object|function/.test(typeof Element>"u"?"undefined":h(Element))?R instanceof Element||R instanceof F.Element:R.nodeType===1&&typeof R.nodeName=="string"},plainObject:function(R){return m(R)&&!!R.constructor&&/function Object\b/.test(R.constructor.toString())},array:function(R){return m(R)&&R.length!==void 0&&p(R.splice)}};function s(R){var F=R.interaction;if(F.prepared.name==="drag"){var Z=F.prepared.axis;Z==="x"?(F.coords.cur.page.y=F.coords.start.page.y,F.coords.cur.client.y=F.coords.start.client.y,F.coords.velocity.client.y=0,F.coords.velocity.page.y=0):Z==="y"&&(F.coords.cur.page.x=F.coords.start.page.x,F.coords.cur.client.x=F.coords.start.client.x,F.coords.velocity.client.x=0,F.coords.velocity.page.x=0)}}function g(R){var F=R.iEvent,Z=R.interaction;if(Z.prepared.name==="drag"){var nA=Z.prepared.axis;if(nA==="x"||nA==="y"){var lA=nA==="x"?"y":"x";F.page[lA]=Z.coords.start.page[lA],F.client[lA]=Z.coords.start.client[lA],F.delta[lA]=0}}}var l={id:"actions/drag",install:function(R){var F=R.actions,Z=R.Interactable,nA=R.defaults;Z.prototype.draggable=l.draggable,F.map.drag=l,F.methodDict.drag="draggable",nA.actions.drag=l.defaults},listeners:{"interactions:before-action-move":s,"interactions:action-resume":s,"interactions:action-move":g,"auto-start:check":function(R){var F=R.interaction,Z=R.interactable,nA=R.buttons,lA=Z.options.drag;if(lA&&lA.enabled&&(!F.pointerIsDown||!/mouse|pointer/.test(F.pointerType)||nA&Z.options.drag.mouseButtons))return R.action={name:"drag",axis:lA.lockAxis==="start"?lA.startAxis:lA.lockAxis},!1}},draggable:function(R){return u.object(R)?(this.options.drag.enabled=R.enabled!==!1,this.setPerAction("drag",R),this.setOnEvents("drag",R),/^(xy|x|y|start)$/.test(R.lockAxis)&&(this.options.drag.lockAxis=R.lockAxis),/^(xy|x|y)$/.test(R.startAxis)&&(this.options.drag.startAxis=R.startAxis),this):u.bool(R)?(this.options.drag.enabled=R,this):this.options.drag},beforeMove:s,move:g,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(R){return R.search("drag")===0}},d=l,B={init:function(R){var F=R;B.document=F.document,B.DocumentFragment=F.DocumentFragment||a,B.SVGElement=F.SVGElement||a,B.SVGSVGElement=F.SVGSVGElement||a,B.SVGElementInstance=F.SVGElementInstance||a,B.Element=F.Element||a,B.HTMLElement=F.HTMLElement||B.Element,B.Event=F.Event,B.Touch=F.Touch||a,B.PointerEvent=F.PointerEvent||F.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function a(){}var r=B,C={init:function(R){var F=r.Element,Z=R.navigator||{};C.supportsTouch="ontouchstart"in R||u.func(R.DocumentTouch)&&r.document instanceof R.DocumentTouch,C.supportsPointerEvent=Z.pointerEnabled!==!1&&!!r.PointerEvent,C.isIOS=/iP(hone|od|ad)/.test(Z.platform),C.isIOS7=/iP(hone|od|ad)/.test(Z.platform)&&/OS 7[^\d]/.test(Z.appVersion),C.isIe9=/MSIE 9/.test(Z.userAgent),C.isOperaMobile=Z.appName==="Opera"&&C.supportsTouch&&/Presto/.test(Z.userAgent),C.prefixedMatchesSelector="matches"in F.prototype?"matches":"webkitMatchesSelector"in F.prototype?"webkitMatchesSelector":"mozMatchesSelector"in F.prototype?"mozMatchesSelector":"oMatchesSelector"in F.prototype?"oMatchesSelector":"msMatchesSelector",C.pEventTypes=C.supportsPointerEvent?r.PointerEvent===R.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,C.wheelEvent=r.document&&"onmousewheel"in r.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},E=C;function M(R,F){if(R.contains)return R.contains(F);for(;F;){if(F===R)return!0;F=F.parentNode}return!1}function x(R,F){for(;u.element(R);){if(G(R,F))return R;R=P(R)}return null}function P(R){var F=R.parentNode;if(u.docFrag(F)){for(;(F=F.host)&&u.docFrag(F););return F}return F}function G(R,F){return L!==Q&&(F=F.replace(/\/deep\//g," ")),R[E.prefixedMatchesSelector](F)}var J=function(R){return R.parentNode||R.host};function q(R,F){for(var Z,nA=[],lA=R;(Z=J(lA))&&lA!==F&&Z!==lA.ownerDocument;)nA.unshift(lA),lA=Z;return nA}function W(R,F,Z){for(;u.element(R);){if(G(R,F))return!0;if((R=P(R))===Z)return G(R,F)}return!1}function z(R){return R.correspondingUseElement||R}function eA(R){var F=R instanceof r.SVGElement?R.getBoundingClientRect():R.getClientRects()[0];return F&&{left:F.left,right:F.right,top:F.top,bottom:F.bottom,width:F.width||F.right-F.left,height:F.height||F.bottom-F.top}}function _(R){var F,Z=eA(R);if(!E.isIOS7&&Z){var nA={x:(F=(F=y(R))||L).scrollX||F.document.documentElement.scrollLeft,y:F.scrollY||F.document.documentElement.scrollTop};Z.left+=nA.x,Z.right+=nA.x,Z.top+=nA.y,Z.bottom+=nA.y}return Z}function V(R){for(var F=[];R;)F.push(R),R=P(R);return F}function H(R){return!!u.string(R)&&(r.document.querySelector(R),!0)}function AA(R,F){for(var Z in F)R[Z]=F[Z];return R}function aA(R,F,Z){return R==="parent"?P(Z):R==="self"?F.getRect(Z):x(Z,R)}function oA(R,F,Z,nA){var lA=R;return u.string(lA)?lA=aA(lA,F,Z):u.func(lA)&&(lA=lA.apply(void 0,nA)),u.element(lA)&&(lA=_(lA)),lA}function dA(R){return R&&{x:"x"in R?R.x:R.left,y:"y"in R?R.y:R.top}}function pA(R){return!R||"x"in R&&"y"in R||((R=AA({},R)).x=R.left||0,R.y=R.top||0,R.width=R.width||(R.right||0)-R.x,R.height=R.height||(R.bottom||0)-R.y),R}function iA(R,F,Z){R.left&&(F.left+=Z.x),R.right&&(F.right+=Z.x),R.top&&(F.top+=Z.y),R.bottom&&(F.bottom+=Z.y),F.width=F.right-F.left,F.height=F.bottom-F.top}function CA(R,F,Z){var nA=Z&&R.options[Z];return dA(oA(nA&&nA.origin||R.options.origin,R,F,[R&&F]))||{x:0,y:0}}function j(R,F){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(DA){return!0},nA=arguments.length>3?arguments[3]:void 0;if(nA=nA||{},u.string(R)&&R.search(" ")!==-1&&(R=sA(R)),u.array(R))return R.forEach(function(DA){return j(DA,F,Z,nA)}),nA;if(u.object(R)&&(F=R,R=""),u.func(F)&&Z(R))nA[R]=nA[R]||[],nA[R].push(F);else if(u.array(F))for(var lA=0,uA=F;lA<uA.length;lA++){var mA=uA[lA];j(R,mA,Z,nA)}else if(u.object(F))for(var IA in F)j(sA(IA).map(function(DA){return"".concat(R).concat(DA)}),F[IA],Z,nA);return nA}function sA(R){return R.trim().split(/ +/)}var gA=function(R,F){return Math.sqrt(R*R+F*F)},hA=["webkit","moz"];function O(R,F){R.__set||(R.__set={});var Z=function(lA){if(hA.some(function(uA){return lA.indexOf(uA)===0}))return 1;typeof R[lA]!="function"&&lA!=="__set"&&Object.defineProperty(R,lA,{get:function(){return lA in R.__set?R.__set[lA]:R.__set[lA]=F[lA]},set:function(uA){R.__set[lA]=uA},configurable:!0})};for(var nA in F)Z(nA);return R}function X(R,F){R.page=R.page||{},R.page.x=F.page.x,R.page.y=F.page.y,R.client=R.client||{},R.client.x=F.client.x,R.client.y=F.client.y,R.timeStamp=F.timeStamp}function tA(R){R.page.x=0,R.page.y=0,R.client.x=0,R.client.y=0}function cA(R){return R instanceof r.Event||R instanceof r.Touch}function EA(R,F,Z){return R=R||"page",(Z=Z||{}).x=F[R+"X"],Z.y=F[R+"Y"],Z}function _A(R,F){return F=F||{x:0,y:0},E.isOperaMobile&&cA(R)?(EA("screen",R,F),F.x+=window.scrollX,F.y+=window.scrollY):EA("page",R,F),F}function YA(R){return u.number(R.pointerId)?R.pointerId:R.identifier}function zA(R,F,Z){var nA=F.length>1?jA(F):F[0];_A(nA,R.page),function(lA,uA){uA=uA||{},E.isOperaMobile&&cA(lA)?EA("screen",lA,uA):EA("client",lA,uA)}(nA,R.client),R.timeStamp=Z}function XA(R){var F=[];return u.array(R)?(F[0]=R[0],F[1]=R[1]):R.type==="touchend"?R.touches.length===1?(F[0]=R.touches[0],F[1]=R.changedTouches[0]):R.touches.length===0&&(F[0]=R.changedTouches[0],F[1]=R.changedTouches[1]):(F[0]=R.touches[0],F[1]=R.touches[1]),F}function jA(R){for(var F={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},Z=0;Z<R.length;Z++){var nA=R[Z];for(var lA in F)F[lA]+=nA[lA]}for(var uA in F)F[uA]/=R.length;return F}function pe(R){if(!R.length)return null;var F=XA(R),Z=Math.min(F[0].pageX,F[1].pageX),nA=Math.min(F[0].pageY,F[1].pageY),lA=Math.max(F[0].pageX,F[1].pageX),uA=Math.max(F[0].pageY,F[1].pageY);return{x:Z,y:nA,left:Z,top:nA,right:lA,bottom:uA,width:lA-Z,height:uA-nA}}function ae(R,F){var Z=F+"X",nA=F+"Y",lA=XA(R),uA=lA[0][Z]-lA[1][Z],mA=lA[0][nA]-lA[1][nA];return gA(uA,mA)}function LA(R,F){var Z=F+"X",nA=F+"Y",lA=XA(R),uA=lA[1][Z]-lA[0][Z],mA=lA[1][nA]-lA[0][nA];return 180*Math.atan2(mA,uA)/Math.PI}function SA(R){return u.string(R.pointerType)?R.pointerType:u.number(R.pointerType)?[void 0,void 0,"touch","pen","mouse"][R.pointerType]:/touch/.test(R.type||"")||R instanceof r.Touch?"touch":"mouse"}function ZA(R){var F=u.func(R.composedPath)?R.composedPath():R.path;return[z(F?F[0]:R.target),z(R.currentTarget)]}var Ce=function(){function R(F){I(this,R),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=F}return b(R,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),R}();Object.defineProperty(Ce.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var ye=function(R,F){for(var Z=0;Z<F.length;Z++){var nA=F[Z];R.push(nA)}return R},xe=function(R){return ye([],R)},UA=function(R,F){for(var Z=0;Z<R.length;Z++)if(F(R[Z],Z,R))return Z;return-1},$A=function(R,F){return R[UA(R,F)]},qA=function(R){w(Z,R);var F=$(Z);function Z(nA,lA,uA){var mA;I(this,Z),(mA=F.call(this,lA._interaction)).dropzone=void 0,mA.dragEvent=void 0,mA.relatedTarget=void 0,mA.draggable=void 0,mA.propagationStopped=!1,mA.immediatePropagationStopped=!1;var IA=uA==="dragleave"?nA.prev:nA.cur,DA=IA.element,xA=IA.dropzone;return mA.type=uA,mA.target=DA,mA.currentTarget=DA,mA.dropzone=xA,mA.dragEvent=lA,mA.relatedTarget=lA.target,mA.draggable=lA.interactable,mA.timeStamp=lA.timeStamp,mA}return b(Z,[{key:"reject",value:function(){var nA=this,lA=this._interaction.dropState;if(this.type==="dropactivate"||this.dropzone&&lA.cur.dropzone===this.dropzone&&lA.cur.element===this.target)if(lA.prev.dropzone=this.dropzone,lA.prev.element=this.target,lA.rejected=!0,lA.events.enter=null,this.stopImmediatePropagation(),this.type==="dropactivate"){var uA=lA.activeDrops,mA=UA(uA,function(DA){var xA=DA.dropzone,yA=DA.element;return xA===nA.dropzone&&yA===nA.target});lA.activeDrops.splice(mA,1);var IA=new Z(lA,this.dragEvent,"dropdeactivate");IA.dropzone=this.dropzone,IA.target=this.target,this.dropzone.fire(IA)}else this.dropzone.fire(new Z(lA,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),Z}(Ce);function de(R,F){for(var Z=0,nA=R.slice();Z<nA.length;Z++){var lA=nA[Z],uA=lA.dropzone,mA=lA.element;F.dropzone=uA,F.target=mA,uA.fire(F),F.propagationStopped=F.immediatePropagationStopped=!1}}function le(R,F){for(var Z=function(uA,mA){for(var IA=[],DA=0,xA=uA.interactables.list;DA<xA.length;DA++){var yA=xA[DA];if(yA.options.drop.enabled){var GA=yA.options.drop.accept;if(!(u.element(GA)&&GA!==mA||u.string(GA)&&!G(mA,GA)||u.func(GA)&&!GA({dropzone:yA,draggableElement:mA})))for(var WA=0,se=yA.getAllElements();WA<se.length;WA++){var oe=se[WA];oe!==mA&&IA.push({dropzone:yA,element:oe,rect:yA.getRect(oe)})}}}return IA}(R,F),nA=0;nA<Z.length;nA++){var lA=Z[nA];lA.rect=lA.dropzone.getRect(lA.element)}return Z}function Ee(R,F,Z){for(var nA=R.dropState,lA=R.interactable,uA=R.element,mA=[],IA=0,DA=nA.activeDrops;IA<DA.length;IA++){var xA=DA[IA],yA=xA.dropzone,GA=xA.element,WA=xA.rect,se=yA.dropCheck(F,Z,lA,uA,GA,WA);mA.push(se?GA:null)}var oe=function(ue){for(var De,Qe,vA,TA=[],PA=0;PA<ue.length;PA++){var VA=ue[PA],Be=ue[De];if(VA&&PA!==De)if(Be){var Pe=J(VA),He=J(Be);if(Pe!==VA.ownerDocument)if(He!==VA.ownerDocument)if(Pe!==He){TA=TA.length?TA:q(Be);var Ye=void 0;if(Be instanceof r.HTMLElement&&VA instanceof r.SVGElement&&!(VA instanceof r.SVGSVGElement)){if(VA===He)continue;Ye=VA.ownerSVGElement}else Ye=VA;for(var nn=q(Ye,Be.ownerDocument),Jn=0;nn[Jn]&&nn[Jn]===TA[Jn];)Jn++;var Ht=[nn[Jn-1],nn[Jn],TA[Jn]];if(Ht[0])for(var oi=Ht[0].lastChild;oi;){if(oi===Ht[1]){De=PA,TA=nn;break}if(oi===Ht[2])break;oi=oi.previousSibling}}else vA=Be,(parseInt(y(Qe=VA).getComputedStyle(Qe).zIndex,10)||0)>=(parseInt(y(vA).getComputedStyle(vA).zIndex,10)||0)&&(De=PA);else De=PA}else De=PA}return De}(mA);return nA.activeDrops[oe]||null}function ke(R,F,Z){var nA=R.dropState,lA={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return Z.type==="dragstart"&&(lA.activate=new qA(nA,Z,"dropactivate"),lA.activate.target=null,lA.activate.dropzone=null),Z.type==="dragend"&&(lA.deactivate=new qA(nA,Z,"dropdeactivate"),lA.deactivate.target=null,lA.deactivate.dropzone=null),nA.rejected||(nA.cur.element!==nA.prev.element&&(nA.prev.dropzone&&(lA.leave=new qA(nA,Z,"dragleave"),Z.dragLeave=lA.leave.target=nA.prev.element,Z.prevDropzone=lA.leave.dropzone=nA.prev.dropzone),nA.cur.dropzone&&(lA.enter=new qA(nA,Z,"dragenter"),Z.dragEnter=nA.cur.element,Z.dropzone=nA.cur.dropzone)),Z.type==="dragend"&&nA.cur.dropzone&&(lA.drop=new qA(nA,Z,"drop"),Z.dropzone=nA.cur.dropzone,Z.relatedTarget=nA.cur.element),Z.type==="dragmove"&&nA.cur.dropzone&&(lA.move=new qA(nA,Z,"dropmove"),Z.dropzone=nA.cur.dropzone)),lA}function wA(R,F){var Z=R.dropState,nA=Z.activeDrops,lA=Z.cur,uA=Z.prev;F.leave&&uA.dropzone.fire(F.leave),F.enter&&lA.dropzone.fire(F.enter),F.move&&lA.dropzone.fire(F.move),F.drop&&lA.dropzone.fire(F.drop),F.deactivate&&de(nA,F.deactivate),Z.prev.dropzone=lA.dropzone,Z.prev.element=lA.element}function FA(R,F){var Z=R.interaction,nA=R.iEvent,lA=R.event;if(nA.type==="dragmove"||nA.type==="dragend"){var uA=Z.dropState;F.dynamicDrop&&(uA.activeDrops=le(F,Z.element));var mA=nA,IA=Ee(Z,mA,lA);uA.rejected=uA.rejected&&!!IA&&IA.dropzone===uA.cur.dropzone&&IA.element===uA.cur.element,uA.cur.dropzone=IA&&IA.dropzone,uA.cur.element=IA&&IA.element,uA.events=ke(Z,0,mA)}}var HA={id:"actions/drop",install:function(R){var F=R.actions,Z=R.interactStatic,nA=R.Interactable,lA=R.defaults;R.usePlugin(d),nA.prototype.dropzone=function(uA){return function(mA,IA){if(u.object(IA)){if(mA.options.drop.enabled=IA.enabled!==!1,IA.listeners){var DA=j(IA.listeners),xA=Object.keys(DA).reduce(function(GA,WA){return GA[/^(enter|leave)/.test(WA)?"drag".concat(WA):/^(activate|deactivate|move)/.test(WA)?"drop".concat(WA):WA]=DA[WA],GA},{}),yA=mA.options.drop.listeners;yA&&mA.off(yA),mA.on(xA),mA.options.drop.listeners=xA}return u.func(IA.ondrop)&&mA.on("drop",IA.ondrop),u.func(IA.ondropactivate)&&mA.on("dropactivate",IA.ondropactivate),u.func(IA.ondropdeactivate)&&mA.on("dropdeactivate",IA.ondropdeactivate),u.func(IA.ondragenter)&&mA.on("dragenter",IA.ondragenter),u.func(IA.ondragleave)&&mA.on("dragleave",IA.ondragleave),u.func(IA.ondropmove)&&mA.on("dropmove",IA.ondropmove),/^(pointer|center)$/.test(IA.overlap)?mA.options.drop.overlap=IA.overlap:u.number(IA.overlap)&&(mA.options.drop.overlap=Math.max(Math.min(1,IA.overlap),0)),"accept"in IA&&(mA.options.drop.accept=IA.accept),"checker"in IA&&(mA.options.drop.checker=IA.checker),mA}return u.bool(IA)?(mA.options.drop.enabled=IA,mA):mA.options.drop}(this,uA)},nA.prototype.dropCheck=function(uA,mA,IA,DA,xA,yA){return function(GA,WA,se,oe,ue,De,Qe){var vA=!1;if(!(Qe=Qe||GA.getRect(De)))return!!GA.options.drop.checker&&GA.options.drop.checker(WA,se,vA,GA,De,oe,ue);var TA=GA.options.drop.overlap;if(TA==="pointer"){var PA=CA(oe,ue,"drag"),VA=_A(WA);VA.x+=PA.x,VA.y+=PA.y;var Be=VA.x>Qe.left&&VA.x<Qe.right,Pe=VA.y>Qe.top&&VA.y<Qe.bottom;vA=Be&&Pe}var He=oe.getRect(ue);if(He&&TA==="center"){var Ye=He.left+He.width/2,nn=He.top+He.height/2;vA=Ye>=Qe.left&&Ye<=Qe.right&&nn>=Qe.top&&nn<=Qe.bottom}return He&&u.number(TA)&&(vA=Math.max(0,Math.min(Qe.right,He.right)-Math.max(Qe.left,He.left))*Math.max(0,Math.min(Qe.bottom,He.bottom)-Math.max(Qe.top,He.top))/(He.width*He.height)>=TA),GA.options.drop.checker&&(vA=GA.options.drop.checker(WA,se,vA,GA,De,oe,ue)),vA}(this,uA,mA,IA,DA,xA,yA)},Z.dynamicDrop=function(uA){return u.bool(uA)?(R.dynamicDrop=uA,Z):R.dynamicDrop},AA(F.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),F.methodDict.drop="dropzone",R.dynamicDrop=!1,lA.actions.drop=HA.defaults},listeners:{"interactions:before-action-start":function(R){var F=R.interaction;F.prepared.name==="drag"&&(F.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(R,F){var Z=R.interaction,nA=(R.event,R.iEvent);if(Z.prepared.name==="drag"){var lA=Z.dropState;lA.activeDrops=[],lA.events={},lA.activeDrops=le(F,Z.element),lA.events=ke(Z,0,nA),lA.events.activate&&(de(lA.activeDrops,lA.events.activate),F.fire("actions/drop:start",{interaction:Z,dragEvent:nA}))}},"interactions:action-move":FA,"interactions:after-action-move":function(R,F){var Z=R.interaction,nA=R.iEvent;if(Z.prepared.name==="drag"){var lA=Z.dropState;wA(Z,lA.events),F.fire("actions/drop:move",{interaction:Z,dragEvent:nA}),lA.events={}}},"interactions:action-end":function(R,F){if(R.interaction.prepared.name==="drag"){var Z=R.interaction,nA=R.iEvent;FA(R,F),wA(Z,Z.dropState.events),F.fire("actions/drop:end",{interaction:Z,dragEvent:nA})}},"interactions:stop":function(R){var F=R.interaction;if(F.prepared.name==="drag"){var Z=F.dropState;Z&&(Z.activeDrops=null,Z.events=null,Z.cur.dropzone=null,Z.cur.element=null,Z.prev.dropzone=null,Z.prev.element=null,Z.rejected=!1)}}},getActiveDrops:le,getDrop:Ee,getDropEvents:ke,fireDropEvents:wA,filterEventType:function(R){return R.search("drag")===0||R.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},ne=HA;function we(R){var F=R.interaction,Z=R.iEvent,nA=R.phase;if(F.prepared.name==="gesture"){var lA=F.pointers.map(function(xA){return xA.pointer}),uA=nA==="start",mA=nA==="end",IA=F.interactable.options.deltaSource;if(Z.touches=[lA[0],lA[1]],uA)Z.distance=ae(lA,IA),Z.box=pe(lA),Z.scale=1,Z.ds=0,Z.angle=LA(lA,IA),Z.da=0,F.gesture.startDistance=Z.distance,F.gesture.startAngle=Z.angle;else if(mA||F.pointers.length<2){var DA=F.prevEvent;Z.distance=DA.distance,Z.box=DA.box,Z.scale=DA.scale,Z.ds=0,Z.angle=DA.angle,Z.da=0}else Z.distance=ae(lA,IA),Z.box=pe(lA),Z.scale=Z.distance/F.gesture.startDistance,Z.angle=LA(lA,IA),Z.ds=Z.scale-F.gesture.scale,Z.da=Z.angle-F.gesture.angle;F.gesture.distance=Z.distance,F.gesture.angle=Z.angle,u.number(Z.scale)&&Z.scale!==1/0&&!isNaN(Z.scale)&&(F.gesture.scale=Z.scale)}}var ie={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(R){var F=R.actions,Z=R.Interactable,nA=R.defaults;Z.prototype.gesturable=function(lA){return u.object(lA)?(this.options.gesture.enabled=lA.enabled!==!1,this.setPerAction("gesture",lA),this.setOnEvents("gesture",lA),this):u.bool(lA)?(this.options.gesture.enabled=lA,this):this.options.gesture},F.map.gesture=ie,F.methodDict.gesture="gesturable",nA.actions.gesture=ie.defaults},listeners:{"interactions:action-start":we,"interactions:action-move":we,"interactions:action-end":we,"interactions:new":function(R){R.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(R){if(!(R.interaction.pointers.length<2)){var F=R.interactable.options.gesture;if(F&&F.enabled)return R.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(R){return R.search("gesture")===0}},ce=ie;function Me(R,F,Z,nA,lA,uA,mA){if(!F)return!1;if(F===!0){var IA=u.number(uA.width)?uA.width:uA.right-uA.left,DA=u.number(uA.height)?uA.height:uA.bottom-uA.top;if(mA=Math.min(mA,Math.abs((R==="left"||R==="right"?IA:DA)/2)),IA<0&&(R==="left"?R="right":R==="right"&&(R="left")),DA<0&&(R==="top"?R="bottom":R==="bottom"&&(R="top")),R==="left"){var xA=IA>=0?uA.left:uA.right;return Z.x<xA+mA}if(R==="top"){var yA=DA>=0?uA.top:uA.bottom;return Z.y<yA+mA}if(R==="right")return Z.x>(IA>=0?uA.right:uA.left)-mA;if(R==="bottom")return Z.y>(DA>=0?uA.bottom:uA.top)-mA}return!!u.element(nA)&&(u.element(F)?F===nA:W(nA,F,lA))}function tt(R){var F=R.iEvent,Z=R.interaction;if(Z.prepared.name==="resize"&&Z.resizeAxes){var nA=F;Z.interactable.options.resize.square?(Z.resizeAxes==="y"?nA.delta.x=nA.delta.y:nA.delta.y=nA.delta.x,nA.axes="xy"):(nA.axes=Z.resizeAxes,Z.resizeAxes==="x"?nA.delta.y=0:Z.resizeAxes==="y"&&(nA.delta.x=0))}}var lt,MA,bA={id:"actions/resize",before:["actions/drag"],install:function(R){var F=R.actions,Z=R.browser,nA=R.Interactable,lA=R.defaults;bA.cursors=function(uA){return uA.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(Z),bA.defaultMargin=Z.supportsTouch||Z.supportsPointerEvent?20:10,nA.prototype.resizable=function(uA){return function(mA,IA,DA){return u.object(IA)?(mA.options.resize.enabled=IA.enabled!==!1,mA.setPerAction("resize",IA),mA.setOnEvents("resize",IA),u.string(IA.axis)&&/^x$|^y$|^xy$/.test(IA.axis)?mA.options.resize.axis=IA.axis:IA.axis===null&&(mA.options.resize.axis=DA.defaults.actions.resize.axis),u.bool(IA.preserveAspectRatio)?mA.options.resize.preserveAspectRatio=IA.preserveAspectRatio:u.bool(IA.square)&&(mA.options.resize.square=IA.square),mA):u.bool(IA)?(mA.options.resize.enabled=IA,mA):mA.options.resize}(this,uA,R)},F.map.resize=bA,F.methodDict.resize="resizable",lA.actions.resize=bA.defaults},listeners:{"interactions:new":function(R){R.interaction.resizeAxes="xy"},"interactions:action-start":function(R){(function(F){var Z=F.iEvent,nA=F.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var lA=Z,uA=nA.rect;nA._rects={start:AA({},uA),corrected:AA({},uA),previous:AA({},uA),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},lA.edges=nA.prepared.edges,lA.rect=nA._rects.corrected,lA.deltaRect=nA._rects.delta}})(R),tt(R)},"interactions:action-move":function(R){(function(F){var Z=F.iEvent,nA=F.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var lA=Z,uA=nA.interactable.options.resize.invert,mA=uA==="reposition"||uA==="negate",IA=nA.rect,DA=nA._rects,xA=DA.start,yA=DA.corrected,GA=DA.delta,WA=DA.previous;if(AA(WA,yA),mA){if(AA(yA,IA),uA==="reposition"){if(yA.top>yA.bottom){var se=yA.top;yA.top=yA.bottom,yA.bottom=se}if(yA.left>yA.right){var oe=yA.left;yA.left=yA.right,yA.right=oe}}}else yA.top=Math.min(IA.top,xA.bottom),yA.bottom=Math.max(IA.bottom,xA.top),yA.left=Math.min(IA.left,xA.right),yA.right=Math.max(IA.right,xA.left);for(var ue in yA.width=yA.right-yA.left,yA.height=yA.bottom-yA.top,yA)GA[ue]=yA[ue]-WA[ue];lA.edges=nA.prepared.edges,lA.rect=yA,lA.deltaRect=GA}})(R),tt(R)},"interactions:action-end":function(R){var F=R.iEvent,Z=R.interaction;if(Z.prepared.name==="resize"&&Z.prepared.edges){var nA=F;nA.edges=Z.prepared.edges,nA.rect=Z._rects.corrected,nA.deltaRect=Z._rects.delta}},"auto-start:check":function(R){var F=R.interaction,Z=R.interactable,nA=R.element,lA=R.rect,uA=R.buttons;if(lA){var mA=AA({},F.coords.cur.page),IA=Z.options.resize;if(IA&&IA.enabled&&(!F.pointerIsDown||!/mouse|pointer/.test(F.pointerType)||uA&IA.mouseButtons)){if(u.object(IA.edges)){var DA={left:!1,right:!1,top:!1,bottom:!1};for(var xA in DA)DA[xA]=Me(xA,IA.edges[xA],mA,F._latestPointer.eventTarget,nA,lA,IA.margin||bA.defaultMargin);DA.left=DA.left&&!DA.right,DA.top=DA.top&&!DA.bottom,(DA.left||DA.right||DA.top||DA.bottom)&&(R.action={name:"resize",edges:DA})}else{var yA=IA.axis!=="y"&&mA.x>lA.right-bA.defaultMargin,GA=IA.axis!=="x"&&mA.y>lA.bottom-bA.defaultMargin;(yA||GA)&&(R.action={name:"resize",axes:(yA?"x":"")+(GA?"y":"")})}return!R.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(R){var F=R.edges,Z=R.axis,nA=R.name,lA=bA.cursors,uA=null;if(Z)uA=lA[nA+Z];else if(F){for(var mA="",IA=0,DA=["top","bottom","left","right"];IA<DA.length;IA++){var xA=DA[IA];F[xA]&&(mA+=xA)}uA=lA[mA]}return uA},filterEventType:function(R){return R.search("resize")===0},defaultMargin:null},RA=bA,JA={id:"actions",install:function(R){R.usePlugin(ce),R.usePlugin(RA),R.usePlugin(d),R.usePlugin(ne)}},OA=0,Ie={request:function(R){return lt(R)},cancel:function(R){return MA(R)},init:function(R){if(lt=R.requestAnimationFrame,MA=R.cancelAnimationFrame,!lt)for(var F=["ms","moz","webkit","o"],Z=0;Z<F.length;Z++){var nA=F[Z];lt=R["".concat(nA,"RequestAnimationFrame")],MA=R["".concat(nA,"CancelAnimationFrame")]||R["".concat(nA,"CancelRequestAnimationFrame")]}lt=lt&&lt.bind(R),MA=MA&&MA.bind(R),lt||(lt=function(lA){var uA=Date.now(),mA=Math.max(0,16-(uA-OA)),IA=R.setTimeout(function(){lA(uA+mA)},mA);return OA=uA+mA,IA},MA=function(lA){return clearTimeout(lA)})}},te={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function(R){te.isScrolling=!0,Ie.cancel(te.i),R.autoScroll=te,te.interaction=R,te.prevTime=te.now(),te.i=Ie.request(te.scroll)},stop:function(){te.isScrolling=!1,te.interaction&&(te.interaction.autoScroll=null),Ie.cancel(te.i)},scroll:function(){var R=te.interaction,F=R.interactable,Z=R.element,nA=R.prepared.name,lA=F.options[nA].autoScroll,uA=_e(lA.container,F,Z),mA=te.now(),IA=(mA-te.prevTime)/1e3,DA=lA.speed*IA;if(DA>=1){var xA={x:te.x*DA,y:te.y*DA};if(xA.x||xA.y){var yA=qe(uA);u.window(uA)?uA.scrollBy(xA.x,xA.y):uA&&(uA.scrollLeft+=xA.x,uA.scrollTop+=xA.y);var GA=qe(uA),WA={x:GA.x-yA.x,y:GA.y-yA.y};(WA.x||WA.y)&&F.fire({type:"autoscroll",target:Z,interactable:F,delta:WA,interaction:R,container:uA})}te.prevTime=mA}te.isScrolling&&(Ie.cancel(te.i),te.i=Ie.request(te.scroll))},check:function(R,F){var Z;return(Z=R.options[F].autoScroll)==null?void 0:Z.enabled},onInteractionMove:function(R){var F=R.interaction,Z=R.pointer;if(F.interacting()&&te.check(F.interactable,F.prepared.name))if(F.simulation)te.x=te.y=0;else{var nA,lA,uA,mA,IA=F.interactable,DA=F.element,xA=F.prepared.name,yA=IA.options[xA].autoScroll,GA=_e(yA.container,IA,DA);if(u.window(GA))mA=Z.clientX<te.margin,nA=Z.clientY<te.margin,lA=Z.clientX>GA.innerWidth-te.margin,uA=Z.clientY>GA.innerHeight-te.margin;else{var WA=eA(GA);mA=Z.clientX<WA.left+te.margin,nA=Z.clientY<WA.top+te.margin,lA=Z.clientX>WA.right-te.margin,uA=Z.clientY>WA.bottom-te.margin}te.x=lA?1:mA?-1:0,te.y=uA?1:nA?-1:0,te.isScrolling||(te.margin=yA.margin,te.speed=yA.speed,te.start(F))}}};function _e(R,F,Z){return(u.string(R)?aA(R,F,Z):R)||y(Z)}function qe(R){return u.window(R)&&(R=window.document.body),{x:R.scrollLeft,y:R.scrollTop}}var pt={id:"auto-scroll",install:function(R){var F=R.defaults,Z=R.actions;R.autoScroll=te,te.now=function(){return R.now()},Z.phaselessTypes.autoscroll=!0,F.perAction.autoScroll=te.defaults},listeners:{"interactions:new":function(R){R.interaction.autoScroll=null},"interactions:destroy":function(R){R.interaction.autoScroll=null,te.stop(),te.interaction&&(te.interaction=null)},"interactions:stop":te.stop,"interactions:action-move":function(R){return te.onInteractionMove(R)}}},$e=pt;function At(R,F){var Z=!1;return function(){return Z||(L.console.warn(F),Z=!0),R.apply(this,arguments)}}function gt(R,F){return R.name=F.name,R.axis=F.axis,R.edges=F.edges,R}function Ge(R){return u.bool(R)?(this.options.styleCursor=R,this):R===null?(delete this.options.styleCursor,this):this.options.styleCursor}function ot(R){return u.func(R)?(this.options.actionChecker=R,this):R===null?(delete this.options.actionChecker,this):this.options.actionChecker}var mt={id:"auto-start/interactableMethods",install:function(R){var F=R.Interactable;F.prototype.getAction=function(Z,nA,lA,uA){var mA=function(IA,DA,xA,yA,GA){var WA=IA.getRect(yA),se=DA.buttons||{0:1,1:4,3:8,4:16}[DA.button],oe={action:null,interactable:IA,interaction:xA,element:yA,rect:WA,buttons:se};return GA.fire("auto-start:check",oe),oe.action}(this,nA,lA,uA,R);return this.options.actionChecker?this.options.actionChecker(Z,nA,mA,this,uA,lA):mA},F.prototype.ignoreFrom=At(function(Z){return this._backCompatOption("ignoreFrom",Z)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),F.prototype.allowFrom=At(function(Z){return this._backCompatOption("allowFrom",Z)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),F.prototype.actionChecker=ot,F.prototype.styleCursor=Ge}};function nt(R,F,Z,nA,lA){return F.testIgnoreAllow(F.options[R.name],Z,nA)&&F.options[R.name].enabled&&gn(F,Z,R,lA)?R:null}function Fn(R,F,Z,nA,lA,uA,mA){for(var IA=0,DA=nA.length;IA<DA;IA++){var xA=nA[IA],yA=lA[IA],GA=xA.getAction(F,Z,R,yA);if(GA){var WA=nt(GA,xA,yA,uA,mA);if(WA)return{action:WA,interactable:xA,element:yA}}}return{action:null,interactable:null,element:null}}function qt(R,F,Z,nA,lA){var uA=[],mA=[],IA=nA;function DA(yA){uA.push(yA),mA.push(IA)}for(;u.element(IA);){uA=[],mA=[],lA.interactables.forEachMatch(IA,DA);var xA=Fn(R,F,Z,uA,mA,nA,lA);if(xA.action&&!xA.interactable.options[xA.action.name].manualStart)return xA;IA=P(IA)}return{action:null,interactable:null,element:null}}function Xt(R,F,Z){var nA=F.action,lA=F.interactable,uA=F.element;nA=nA||{name:null},R.interactable=lA,R.element=uA,gt(R.prepared,nA),R.rect=lA&&nA.name?lA.getRect(uA):null,Vt(R,Z),Z.fire("autoStart:prepared",{interaction:R})}function gn(R,F,Z,nA){var lA=R.options,uA=lA[Z.name].max,mA=lA[Z.name].maxPerElement,IA=nA.autoStart.maxInteractions,DA=0,xA=0,yA=0;if(!(uA&&mA&&IA))return!1;for(var GA=0,WA=nA.interactions.list;GA<WA.length;GA++){var se=WA[GA],oe=se.prepared.name;if(se.interacting()&&(++DA>=IA||se.interactable===R&&((xA+=oe===Z.name?1:0)>=uA||se.element===F&&(yA++,oe===Z.name&&yA>=mA))))return!1}return IA>0}function wn(R,F){return u.number(R)?(F.autoStart.maxInteractions=R,this):F.autoStart.maxInteractions}function xt(R,F,Z){var nA=Z.autoStart.cursorElement;nA&&nA!==R&&(nA.style.cursor=""),R.ownerDocument.documentElement.style.cursor=F,R.style.cursor=F,Z.autoStart.cursorElement=F?R:null}function Vt(R,F){var Z=R.interactable,nA=R.element,lA=R.prepared;if(R.pointerType==="mouse"&&Z&&Z.options.styleCursor){var uA="";if(lA.name){var mA=Z.options[lA.name].cursorChecker;uA=u.func(mA)?mA(lA,Z,nA,R._interacting):F.actions.map[lA.name].getCursor(lA)}xt(R.element,uA||"",F)}else F.autoStart.cursorElement&&xt(F.autoStart.cursorElement,"",F)}var On={id:"auto-start/base",before:["actions"],install:function(R){var F=R.interactStatic,Z=R.defaults;R.usePlugin(mt),Z.base.actionChecker=null,Z.base.styleCursor=!0,AA(Z.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),F.maxInteractions=function(nA){return wn(nA,R)},R.autoStart={maxInteractions:1/0,withinInteractionLimit:gn,cursorElement:null}},listeners:{"interactions:down":function(R,F){var Z=R.interaction,nA=R.pointer,lA=R.event,uA=R.eventTarget;Z.interacting()||Xt(Z,qt(Z,nA,lA,uA,F),F)},"interactions:move":function(R,F){(function(Z,nA){var lA=Z.interaction,uA=Z.pointer,mA=Z.event,IA=Z.eventTarget;lA.pointerType!=="mouse"||lA.pointerIsDown||lA.interacting()||Xt(lA,qt(lA,uA,mA,IA,nA),nA)})(R,F),function(Z,nA){var lA=Z.interaction;if(lA.pointerIsDown&&!lA.interacting()&&lA.pointerWasMoved&&lA.prepared.name){nA.fire("autoStart:before-start",Z);var uA=lA.interactable,mA=lA.prepared.name;mA&&uA&&(uA.options[mA].manualStart||!gn(uA,lA.element,lA.prepared,nA)?lA.stop():(lA.start(lA.prepared,uA,lA.element),Vt(lA,nA)))}}(R,F)},"interactions:stop":function(R,F){var Z=R.interaction,nA=Z.interactable;nA&&nA.options.styleCursor&&xt(Z.element,"",F)}},maxInteractions:wn,withinInteractionLimit:gn,validateAction:nt},An=On,pi={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(R,F){var Z=R.interaction,nA=R.eventTarget,lA=R.dx,uA=R.dy;if(Z.prepared.name==="drag"){var mA=Math.abs(lA),IA=Math.abs(uA),DA=Z.interactable.options.drag,xA=DA.startAxis,yA=mA>IA?"x":mA<IA?"y":"xy";if(Z.prepared.axis=DA.lockAxis==="start"?yA[0]:DA.lockAxis,yA!=="xy"&&xA!=="xy"&&xA!==yA){Z.prepared.name=null;for(var GA=nA,WA=function(oe){if(oe!==Z.interactable){var ue=Z.interactable.options.drag;if(!ue.manualStart&&oe.testIgnoreAllow(ue,GA,nA)){var De=oe.getAction(Z.downPointer,Z.downEvent,Z,GA);if(De&&De.name==="drag"&&function(Qe,vA){if(!vA)return!1;var TA=vA.options.drag.startAxis;return Qe==="xy"||TA==="xy"||TA===Qe}(yA,oe)&&An.validateAction(De,oe,GA,nA,F))return oe}}};u.element(GA);){var se=F.interactables.forEachMatch(GA,WA);if(se){Z.prepared.name="drag",Z.interactable=se,Z.element=GA;break}GA=P(GA)}}}}}};function Bi(R){var F=R.prepared&&R.prepared.name;if(!F)return null;var Z=R.interactable.options;return Z[F].hold||Z[F].delay}var lo={id:"auto-start/hold",install:function(R){var F=R.defaults;R.usePlugin(An),F.perAction.hold=0,F.perAction.delay=0},listeners:{"interactions:new":function(R){R.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(R){var F=R.interaction,Z=Bi(F);Z>0&&(F.autoStartHoldTimer=setTimeout(function(){F.start(F.prepared,F.interactable,F.element)},Z))},"interactions:move":function(R){var F=R.interaction,Z=R.duplicate;F.autoStartHoldTimer&&F.pointerWasMoved&&!Z&&(clearTimeout(F.autoStartHoldTimer),F.autoStartHoldTimer=null)},"autoStart:before-start":function(R){var F=R.interaction;Bi(F)>0&&(F.prepared.name=null)}},getHoldDuration:Bi},Ci=lo,ei={id:"auto-start",install:function(R){R.usePlugin(An),R.usePlugin(Ci),R.usePlugin(pi)}},Li=function(R){return/^(always|never|auto)$/.test(R)?(this.options.preventDefault=R,this):u.bool(R)?(this.options.preventDefault=R?"always":"never",this):this.options.preventDefault};function co(R){var F=R.interaction,Z=R.event;F.interactable&&F.interactable.checkAndPreventDefault(Z)}var ti={id:"core/interactablePreventDefault",install:function(R){var F=R.Interactable;F.prototype.preventDefault=Li,F.prototype.checkAndPreventDefault=function(Z){return function(nA,lA,uA){var mA=nA.options.preventDefault;if(mA!=="never")if(mA!=="always"){if(lA.events.supportsPassive&&/^touch(start|move)$/.test(uA.type)){var IA=y(uA.target).document,DA=lA.getDocOptions(IA);if(!DA||!DA.events||DA.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(uA.type)||u.element(uA.target)&&G(uA.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||uA.preventDefault()}else uA.preventDefault()}(this,R,Z)},R.interactions.docEvents.push({type:"dragstart",listener:function(Z){for(var nA=0,lA=R.interactions.list;nA<lA.length;nA++){var uA=lA[nA];if(uA.element&&(uA.element===Z.target||M(uA.element,Z.target)))return void uA.interactable.checkAndPreventDefault(Z)}}})},listeners:["down","move","up","cancel"].reduce(function(R,F){return R["interactions:".concat(F)]=co,R},{})};function bn(R,F){if(F.phaselessTypes[R])return!0;for(var Z in F.map)if(R.indexOf(Z)===0&&R.substr(Z.length)in F.phases)return!0;return!1}function Gi(R){var F={};for(var Z in R){var nA=R[Z];u.plainObject(nA)?F[Z]=Gi(nA):u.array(nA)?F[Z]=xe(nA):F[Z]=nA}return F}var Jo=function(){function R(F){I(this,R),this.states=[],this.startOffset={left:0,right:0,top:0,bottom:0},this.startDelta=void 0,this.result=void 0,this.endResult=void 0,this.startEdges=void 0,this.edges=void 0,this.interaction=void 0,this.interaction=F,this.result=go(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return b(R,[{key:"start",value:function(F,Z){var nA,lA,uA=F.phase,mA=this.interaction,IA=function(xA){var yA=xA.interactable.options[xA.prepared.name],GA=yA.modifiers;return GA&&GA.length?GA:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(function(WA){var se=yA[WA];return se&&se.enabled&&{options:se,methods:se._methods}}).filter(function(WA){return!!WA})}(mA);this.prepareStates(IA),this.startEdges=AA({},mA.edges),this.edges=AA({},this.startEdges),this.startOffset=(nA=mA.rect,lA=Z,nA?{left:lA.x-nA.left,top:lA.y-nA.top,right:nA.right-lA.x,bottom:nA.bottom-lA.y}:{left:0,top:0,right:0,bottom:0}),this.startDelta={x:0,y:0};var DA=this.fillArg({phase:uA,pageCoords:Z,preEnd:!1});return this.result=go(),this.startAll(DA),this.result=this.setAll(DA)}},{key:"fillArg",value:function(F){var Z=this.interaction;return F.interaction=Z,F.interactable=Z.interactable,F.element=Z.element,F.rect||(F.rect=Z.rect),F.edges||(F.edges=this.startEdges),F.startOffset=this.startOffset,F}},{key:"startAll",value:function(F){for(var Z=0,nA=this.states;Z<nA.length;Z++){var lA=nA[Z];lA.methods.start&&(F.state=lA,lA.methods.start(F))}}},{key:"setAll",value:function(F){var Z=F.phase,nA=F.preEnd,lA=F.skipModifiers,uA=F.rect,mA=F.edges;F.coords=AA({},F.pageCoords),F.rect=AA({},uA),F.edges=AA({},mA);for(var IA=lA?this.states.slice(lA):this.states,DA=go(F.coords,F.rect),xA=0;xA<IA.length;xA++){var yA,GA=IA[xA],WA=GA.options,se=AA({},F.coords),oe=null;(yA=GA.methods)!=null&&yA.set&&this.shouldDo(WA,nA,Z)&&(F.state=GA,oe=GA.methods.set(F),iA(F.edges,F.rect,{x:F.coords.x-se.x,y:F.coords.y-se.y})),DA.eventProps.push(oe)}AA(this.edges,F.edges),DA.delta.x=F.coords.x-F.pageCoords.x,DA.delta.y=F.coords.y-F.pageCoords.y,DA.rectDelta.left=F.rect.left-uA.left,DA.rectDelta.right=F.rect.right-uA.right,DA.rectDelta.top=F.rect.top-uA.top,DA.rectDelta.bottom=F.rect.bottom-uA.bottom;var ue=this.result.coords,De=this.result.rect;if(ue&&De){var Qe=DA.rect.left!==De.left||DA.rect.right!==De.right||DA.rect.top!==De.top||DA.rect.bottom!==De.bottom;DA.changed=Qe||ue.x!==DA.coords.x||ue.y!==DA.coords.y}return DA}},{key:"applyToInteraction",value:function(F){var Z=this.interaction,nA=F.phase,lA=Z.coords.cur,uA=Z.coords.start,mA=this.result,IA=this.startDelta,DA=mA.delta;nA==="start"&&AA(this.startDelta,mA.delta);for(var xA=0,yA=[[uA,IA],[lA,DA]];xA<yA.length;xA++){var GA=yA[xA],WA=GA[0],se=GA[1];WA.page.x+=se.x,WA.page.y+=se.y,WA.client.x+=se.x,WA.client.y+=se.y}var oe=this.result.rectDelta,ue=F.rect||Z.rect;ue.left+=oe.left,ue.right+=oe.right,ue.top+=oe.top,ue.bottom+=oe.bottom,ue.width=ue.right-ue.left,ue.height=ue.bottom-ue.top}},{key:"setAndApply",value:function(F){var Z=this.interaction,nA=F.phase,lA=F.preEnd,uA=F.skipModifiers,mA=this.setAll(this.fillArg({preEnd:lA,phase:nA,pageCoords:F.modifiedCoords||Z.coords.cur.page}));if(this.result=mA,!mA.changed&&(!uA||uA<this.states.length)&&Z.interacting())return!1;if(F.modifiedCoords){var IA=Z.coords.cur.page,DA={x:F.modifiedCoords.x-IA.x,y:F.modifiedCoords.y-IA.y};mA.coords.x+=DA.x,mA.coords.y+=DA.y,mA.delta.x+=DA.x,mA.delta.y+=DA.y}this.applyToInteraction(F)}},{key:"beforeEnd",value:function(F){var Z=F.interaction,nA=F.event,lA=this.states;if(lA&&lA.length){for(var uA=!1,mA=0;mA<lA.length;mA++){var IA=lA[mA];F.state=IA;var DA=IA.options,xA=IA.methods,yA=xA.beforeEnd&&xA.beforeEnd(F);if(yA)return this.endResult=yA,!1;uA=uA||!uA&&this.shouldDo(DA,!0,F.phase,!0)}uA&&Z.move({event:nA,preEnd:!0})}}},{key:"stop",value:function(F){var Z=F.interaction;if(this.states&&this.states.length){var nA=AA({states:this.states,interactable:Z.interactable,element:Z.element,rect:null},F);this.fillArg(nA);for(var lA=0,uA=this.states;lA<uA.length;lA++){var mA=uA[lA];nA.state=mA,mA.methods.stop&&mA.methods.stop(nA)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(F){this.states=[];for(var Z=0;Z<F.length;Z++){var nA=F[Z],lA=nA.options,uA=nA.methods,mA=nA.name;this.states.push({options:lA,methods:uA,index:Z,name:mA})}return this.states}},{key:"restoreInteractionCoords",value:function(F){var Z=F.interaction,nA=Z.coords,lA=Z.rect,uA=Z.modification;if(uA.result){for(var mA=uA.startDelta,IA=uA.result,DA=IA.delta,xA=IA.rectDelta,yA=0,GA=[[nA.start,mA],[nA.cur,DA]];yA<GA.length;yA++){var WA=GA[yA],se=WA[0],oe=WA[1];se.page.x-=oe.x,se.page.y-=oe.y,se.client.x-=oe.x,se.client.y-=oe.y}lA.left-=xA.left,lA.right-=xA.right,lA.top-=xA.top,lA.bottom-=xA.bottom}}},{key:"shouldDo",value:function(F,Z,nA,lA){return!(!F||F.enabled===!1||lA&&!F.endOnly||F.endOnly&&!Z||nA==="start"&&!F.setStart)}},{key:"copyFrom",value:function(F){this.startOffset=F.startOffset,this.startDelta=F.startDelta,this.startEdges=F.startEdges,this.edges=F.edges,this.states=F.states.map(function(Z){return Gi(Z)}),this.result=go(AA({},F.result.coords),AA({},F.result.rect))}},{key:"destroy",value:function(){for(var F in this)this[F]=null}}]),R}();function go(R,F){return{rect:F,coords:R,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function Nn(R,F){var Z=R.defaults,nA={start:R.start,set:R.set,beforeEnd:R.beforeEnd,stop:R.stop},lA=function(uA){var mA=uA||{};for(var IA in mA.enabled=mA.enabled!==!1,Z)IA in mA||(mA[IA]=Z[IA]);var DA={options:mA,methods:nA,name:F,enable:function(){return mA.enabled=!0,DA},disable:function(){return mA.enabled=!1,DA}};return DA};return F&&typeof F=="string"&&(lA._defaults=Z,lA._methods=nA),lA}function uo(R){var F=R.iEvent,Z=R.interaction.modification.result;Z&&(F.modifiers=Z.eventProps)}var fs={id:"modifiers/base",before:["actions"],install:function(R){R.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(R){var F=R.interaction;F.modification=new Jo(F)},"interactions:before-action-start":function(R){var F=R.interaction,Z=R.interaction.modification;Z.start(R,F.coords.start.page),F.edges=Z.edges,Z.applyToInteraction(R)},"interactions:before-action-move":function(R){var F=R.interaction,Z=F.modification,nA=Z.setAndApply(R);return F.edges=Z.edges,nA},"interactions:before-action-end":function(R){var F=R.interaction,Z=F.modification,nA=Z.beforeEnd(R);return F.edges=Z.startEdges,nA},"interactions:action-start":uo,"interactions:action-move":uo,"interactions:action-end":uo,"interactions:after-action-start":function(R){return R.interaction.modification.restoreInteractionCoords(R)},"interactions:after-action-move":function(R){return R.interaction.modification.restoreInteractionCoords(R)},"interactions:stop":function(R){return R.interaction.modification.stop(R)}}},zo=fs,Zo={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},ni=function(R){w(Z,R);var F=$(Z);function Z(nA,lA,uA,mA,IA,DA,xA){var yA;I(this,Z),(yA=F.call(this,nA)).relatedTarget=null,yA.screenX=void 0,yA.screenY=void 0,yA.button=void 0,yA.buttons=void 0,yA.ctrlKey=void 0,yA.shiftKey=void 0,yA.altKey=void 0,yA.metaKey=void 0,yA.page=void 0,yA.client=void 0,yA.delta=void 0,yA.rect=void 0,yA.x0=void 0,yA.y0=void 0,yA.t0=void 0,yA.dt=void 0,yA.duration=void 0,yA.clientX0=void 0,yA.clientY0=void 0,yA.velocity=void 0,yA.speed=void 0,yA.swipe=void 0,yA.axes=void 0,yA.preEnd=void 0,IA=IA||nA.element;var GA=nA.interactable,WA=(GA&&GA.options||Zo).deltaSource,se=CA(GA,IA,uA),oe=mA==="start",ue=mA==="end",De=oe?T(yA):nA.prevEvent,Qe=oe?nA.coords.start:ue?{page:De.page,client:De.client,timeStamp:nA.coords.cur.timeStamp}:nA.coords.cur;return yA.page=AA({},Qe.page),yA.client=AA({},Qe.client),yA.rect=AA({},nA.rect),yA.timeStamp=Qe.timeStamp,ue||(yA.page.x-=se.x,yA.page.y-=se.y,yA.client.x-=se.x,yA.client.y-=se.y),yA.ctrlKey=lA.ctrlKey,yA.altKey=lA.altKey,yA.shiftKey=lA.shiftKey,yA.metaKey=lA.metaKey,yA.button=lA.button,yA.buttons=lA.buttons,yA.target=IA,yA.currentTarget=IA,yA.preEnd=DA,yA.type=xA||uA+(mA||""),yA.interactable=GA,yA.t0=oe?nA.pointers[nA.pointers.length-1].downTime:De.t0,yA.x0=nA.coords.start.page.x-se.x,yA.y0=nA.coords.start.page.y-se.y,yA.clientX0=nA.coords.start.client.x-se.x,yA.clientY0=nA.coords.start.client.y-se.y,yA.delta=oe||ue?{x:0,y:0}:{x:yA[WA].x-De[WA].x,y:yA[WA].y-De[WA].y},yA.dt=nA.coords.delta.timeStamp,yA.duration=yA.timeStamp-yA.t0,yA.velocity=AA({},nA.coords.velocity[WA]),yA.speed=gA(yA.velocity.x,yA.velocity.y),yA.swipe=ue||mA==="inertiastart"?yA.getSwipe():null,yA}return b(Z,[{key:"getSwipe",value:function(){var nA=this._interaction;if(nA.prevEvent.speed<600||this.timeStamp-nA.prevEvent.timeStamp>150)return null;var lA=180*Math.atan2(nA.prevEvent.velocityY,nA.prevEvent.velocityX)/Math.PI;lA<0&&(lA+=360);var uA=112.5<=lA&&lA<247.5,mA=202.5<=lA&&lA<337.5;return{up:mA,down:!mA&&22.5<=lA&&lA<157.5,left:uA,right:!uA&&(292.5<=lA||lA<67.5),angle:lA,speed:nA.prevEvent.speed,velocity:{x:nA.prevEvent.velocityX,y:nA.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),Z}(Ce);Object.defineProperties(ni.prototype,{pageX:{get:function(){return this.page.x},set:function(R){this.page.x=R}},pageY:{get:function(){return this.page.y},set:function(R){this.page.y=R}},clientX:{get:function(){return this.client.x},set:function(R){this.client.x=R}},clientY:{get:function(){return this.client.y},set:function(R){this.client.y=R}},dx:{get:function(){return this.delta.x},set:function(R){this.delta.x=R}},dy:{get:function(){return this.delta.y},set:function(R){this.delta.y=R}},velocityX:{get:function(){return this.velocity.x},set:function(R){this.velocity.x=R}},velocityY:{get:function(){return this.velocity.y},set:function(R){this.velocity.y=R}}});var ws=b(function R(F,Z,nA,lA,uA){I(this,R),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=F,this.pointer=Z,this.event=nA,this.downTime=lA,this.downTarget=uA}),bs=function(R){return R.interactable="",R.element="",R.prepared="",R.pointerIsDown="",R.pointerWasMoved="",R._proxy="",R}({}),Ds=function(R){return R.start="",R.move="",R.end="",R.stop="",R.interacting="",R}({}),ys=0,vs=function(){function R(F){var Z=this,nA=F.pointerType,lA=F.scopeFire;I(this,R),this.interactable=null,this.element=null,this.rect=null,this._rects=void 0,this.edges=null,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=void 0,this.simulation=null,this.doMove=At(function(yA){this.move(yA)},"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},prev:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},cur:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},delta:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},velocity:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},this._id=ys++,this._scopeFire=lA,this.pointerType=nA;var uA=this;this._proxy={};var mA=function(yA){Object.defineProperty(Z._proxy,yA,{get:function(){return uA[yA]}})};for(var IA in bs)mA(IA);var DA=function(yA){Object.defineProperty(Z._proxy,yA,{value:function(){return uA[yA].apply(uA,arguments)}})};for(var xA in Ds)DA(xA);this._scopeFire("interactions:new",{interaction:this})}return b(R,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(F,Z,nA){var lA=this.updatePointer(F,Z,nA,!0),uA=this.pointers[lA];this._scopeFire("interactions:down",{pointer:F,event:Z,eventTarget:nA,pointerIndex:lA,pointerInfo:uA,type:"down",interaction:this})}},{key:"start",value:function(F,Z,nA){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(F.name==="gesture"?2:1)||!Z.options[F.name].enabled)&&(gt(this.prepared,F),this.interactable=Z,this.element=nA,this.rect=Z.getRect(nA),this.edges=this.prepared.edges?AA({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(F,Z,nA){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(F,Z,nA,!1);var lA,uA,mA=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(lA=this.coords.cur.client.x-this.coords.start.client.x,uA=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=gA(lA,uA)>this.pointerMoveTolerance);var IA,DA,xA,yA=this.getPointerIndex(F),GA={pointer:F,pointerIndex:yA,pointerInfo:this.pointers[yA],event:Z,type:"move",eventTarget:nA,dx:lA,dy:uA,duplicate:mA,interaction:this};mA||(IA=this.coords.velocity,DA=this.coords.delta,xA=Math.max(DA.timeStamp/1e3,.001),IA.page.x=DA.page.x/xA,IA.page.y=DA.page.y/xA,IA.client.x=DA.client.x/xA,IA.client.y=DA.client.y/xA,IA.timeStamp=xA),this._scopeFire("interactions:move",GA),mA||this.simulation||(this.interacting()&&(GA.type=null,this.move(GA)),this.pointerWasMoved&&X(this.coords.prev,this.coords.cur))}},{key:"move",value:function(F){F&&F.event||tA(this.coords.delta),(F=AA({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},F||{})).phase="move",this._doPhase(F)}},{key:"pointerUp",value:function(F,Z,nA,lA){var uA=this.getPointerIndex(F);uA===-1&&(uA=this.updatePointer(F,Z,nA,!1));var mA=/cancel$/i.test(Z.type)?"cancel":"up";this._scopeFire("interactions:".concat(mA),{pointer:F,pointerIndex:uA,pointerInfo:this.pointers[uA],event:Z,eventTarget:nA,type:mA,curEventTarget:lA,interaction:this}),this.simulation||this.end(Z),this.removePointer(F,Z)}},{key:"documentBlur",value:function(F){this.end(F),this._scopeFire("interactions:blur",{event:F,type:"blur",interaction:this})}},{key:"end",value:function(F){var Z;this._ending=!0,F=F||this._latestPointer.event,this.interacting()&&(Z=this._doPhase({event:F,interaction:this,phase:"end"})),this._ending=!1,Z===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(F){var Z=YA(F);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:UA(this.pointers,function(nA){return nA.id===Z})}},{key:"getPointerInfo",value:function(F){return this.pointers[this.getPointerIndex(F)]}},{key:"updatePointer",value:function(F,Z,nA,lA){var uA,mA,IA,DA=YA(F),xA=this.getPointerIndex(F),yA=this.pointers[xA];return lA=lA!==!1&&(lA||/(down|start)$/i.test(Z.type)),yA?yA.pointer=F:(yA=new ws(DA,F,Z,null,null),xA=this.pointers.length,this.pointers.push(yA)),zA(this.coords.cur,this.pointers.map(function(GA){return GA.pointer}),this._now()),uA=this.coords.delta,mA=this.coords.prev,IA=this.coords.cur,uA.page.x=IA.page.x-mA.page.x,uA.page.y=IA.page.y-mA.page.y,uA.client.x=IA.client.x-mA.client.x,uA.client.y=IA.client.y-mA.client.y,uA.timeStamp=IA.timeStamp-mA.timeStamp,lA&&(this.pointerIsDown=!0,yA.downTime=this.coords.cur.timeStamp,yA.downTarget=nA,O(this.downPointer,F),this.interacting()||(X(this.coords.start,this.coords.cur),X(this.coords.prev,this.coords.cur),this.downEvent=Z,this.pointerWasMoved=!1)),this._updateLatestPointer(F,Z,nA),this._scopeFire("interactions:update-pointer",{pointer:F,event:Z,eventTarget:nA,down:lA,pointerInfo:yA,pointerIndex:xA,interaction:this}),xA}},{key:"removePointer",value:function(F,Z){var nA=this.getPointerIndex(F);if(nA!==-1){var lA=this.pointers[nA];this._scopeFire("interactions:remove-pointer",{pointer:F,event:Z,eventTarget:null,pointerIndex:nA,pointerInfo:lA,interaction:this}),this.pointers.splice(nA,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(F,Z,nA){this._latestPointer.pointer=F,this._latestPointer.event=Z,this._latestPointer.eventTarget=nA}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(F,Z,nA,lA){return new ni(this,F,this.prepared.name,Z,this.element,nA,lA)}},{key:"_fireEvent",value:function(F){var Z;(Z=this.interactable)==null||Z.fire(F),(!this.prevEvent||F.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=F)}},{key:"_doPhase",value:function(F){var Z=F.event,nA=F.phase,lA=F.preEnd,uA=F.type,mA=this.rect;if(mA&&nA==="move"&&(iA(this.edges,mA,this.coords.delta[this.interactable.options.deltaSource]),mA.width=mA.right-mA.left,mA.height=mA.bottom-mA.top),this._scopeFire("interactions:before-action-".concat(nA),F)===!1)return!1;var IA=F.iEvent=this._createPreparedEvent(Z,nA,lA,uA);return this._scopeFire("interactions:action-".concat(nA),F),nA==="start"&&(this.prevEvent=IA),this._fireEvent(IA),this._scopeFire("interactions:after-action-".concat(nA),F),!0}},{key:"_now",value:function(){return Date.now()}}]),R}();function Yr(R){Or(R.interaction)}function Or(R){if(!function(Z){return!(!Z.offset.pending.x&&!Z.offset.pending.y)}(R))return!1;var F=R.offset.pending;return $r(R.coords.cur,F),$r(R.coords.delta,F),iA(R.edges,R.rect,F),F.x=0,F.y=0,!0}function ag(R){var F=R.x,Z=R.y;this.offset.pending.x+=F,this.offset.pending.y+=Z,this.offset.total.x+=F,this.offset.total.y+=Z}function $r(R,F){var Z=R.page,nA=R.client,lA=F.x,uA=F.y;Z.x+=lA,Z.y+=uA,nA.x+=lA,nA.y+=uA}Ds.offsetBy="";var sg={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(R){R.Interaction.prototype.offsetBy=ag},listeners:{"interactions:new":function(R){R.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(R){return function(F){F.pointerIsDown&&($r(F.coords.cur,F.offset.total),F.offset.pending.x=0,F.offset.pending.y=0)}(R.interaction)},"interactions:before-action-start":Yr,"interactions:before-action-move":Yr,"interactions:before-action-end":function(R){var F=R.interaction;if(Or(F))return F.move({offset:!0}),F.end(),!1},"interactions:stop":function(R){var F=R.interaction;F.offset.total.x=0,F.offset.total.y=0,F.offset.pending.x=0,F.offset.pending.y=0}}},Jr=sg,lg=function(){function R(F){I(this,R),this.active=!1,this.isModified=!1,this.smoothEnd=!1,this.allowResume=!1,this.modification=void 0,this.modifierCount=0,this.modifierArg=void 0,this.startCoords=void 0,this.t0=0,this.v0=0,this.te=0,this.targetOffset=void 0,this.modifiedOffset=void 0,this.currentOffset=void 0,this.lambda_v0=0,this.one_ve_v0=0,this.timeout=void 0,this.interaction=void 0,this.interaction=F}return b(R,[{key:"start",value:function(F){var Z=this.interaction,nA=Wo(Z);if(!nA||!nA.enabled)return!1;var lA=Z.coords.velocity.client,uA=gA(lA.x,lA.y),mA=this.modification||(this.modification=new Jo(Z));if(mA.copyFrom(Z.modification),this.t0=Z._now(),this.allowResume=nA.allowResume,this.v0=uA,this.currentOffset={x:0,y:0},this.startCoords=Z.coords.cur.page,this.modifierArg=mA.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-Z.coords.cur.timeStamp<50&&uA>nA.minSpeed&&uA>nA.endSpeed)this.startInertia();else{if(mA.result=mA.setAll(this.modifierArg),!mA.result.changed)return!1;this.startSmoothEnd()}return Z.modification.result.rect=null,Z.offsetBy(this.targetOffset),Z._doPhase({interaction:Z,event:F,phase:"inertiastart"}),Z.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),Z.modification.result.rect=null,this.active=!0,Z.simulation=this,!0}},{key:"startInertia",value:function(){var F=this,Z=this.interaction.coords.velocity.client,nA=Wo(this.interaction),lA=nA.resistance,uA=-Math.log(nA.endSpeed/this.v0)/lA;this.targetOffset={x:(Z.x-uA)/lA,y:(Z.y-uA)/lA},this.te=uA,this.lambda_v0=lA/this.v0,this.one_ve_v0=1-nA.endSpeed/this.v0;var mA=this.modification,IA=this.modifierArg;IA.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},mA.result=mA.setAll(IA),mA.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+mA.result.delta.x,y:this.targetOffset.y+mA.result.delta.y}),this.onNextFrame(function(){return F.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var F=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame(function(){return F.smoothEndTick()})}},{key:"onNextFrame",value:function(F){var Z=this;this.timeout=Ie.request(function(){Z.active&&F()})}},{key:"inertiaTick",value:function(){var F,Z,nA,lA,uA,mA,IA,DA=this,xA=this.interaction,yA=Wo(xA).resistance,GA=(xA._now()-this.t0)/1e3;if(GA<this.te){var WA,se=1-(Math.exp(-yA*GA)-this.lambda_v0)/this.one_ve_v0;this.isModified?(F=0,Z=0,nA=this.targetOffset.x,lA=this.targetOffset.y,uA=this.modifiedOffset.x,mA=this.modifiedOffset.y,WA={x:ks(IA=se,F,nA,uA),y:ks(IA,Z,lA,mA)}):WA={x:this.targetOffset.x*se,y:this.targetOffset.y*se};var oe={x:WA.x-this.currentOffset.x,y:WA.y-this.currentOffset.y};this.currentOffset.x+=oe.x,this.currentOffset.y+=oe.y,xA.offsetBy(oe),xA.move(),this.onNextFrame(function(){return DA.inertiaTick()})}else xA.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:"smoothEndTick",value:function(){var F=this,Z=this.interaction,nA=Z._now()-this.t0,lA=Wo(Z).smoothEndDuration;if(nA<lA){var uA={x:jo(nA,0,this.targetOffset.x,lA),y:jo(nA,0,this.targetOffset.y,lA)},mA={x:uA.x-this.currentOffset.x,y:uA.y-this.currentOffset.y};this.currentOffset.x+=mA.x,this.currentOffset.y+=mA.y,Z.offsetBy(mA),Z.move({skipModifiers:this.modifierCount}),this.onNextFrame(function(){return F.smoothEndTick()})}else Z.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(F){var Z=F.pointer,nA=F.event,lA=F.eventTarget,uA=this.interaction;uA.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),uA.updatePointer(Z,nA,lA,!0),uA._doPhase({interaction:uA,event:nA,phase:"resume"}),X(uA.coords.prev,uA.coords.cur),this.stop()}},{key:"end",value:function(){this.interaction.move(),this.interaction.end(),this.stop()}},{key:"stop",value:function(){this.active=this.smoothEnd=!1,this.interaction.simulation=null,Ie.cancel(this.timeout)}}]),R}();function Wo(R){var F=R.interactable,Z=R.prepared;return F&&F.options&&Z.name&&F.options[Z.name].inertia}var cg={id:"inertia",before:["modifiers","actions"],install:function(R){var F=R.defaults;R.usePlugin(Jr),R.usePlugin(zo),R.actions.phases.inertiastart=!0,R.actions.phases.resume=!0,F.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(R){var F=R.interaction;F.inertia=new lg(F)},"interactions:before-action-end":function(R){var F=R.interaction,Z=R.event;return(!F._interacting||F.simulation||!F.inertia.start(Z))&&null},"interactions:down":function(R){var F=R.interaction,Z=R.eventTarget,nA=F.inertia;if(nA.active)for(var lA=Z;u.element(lA);){if(lA===F.element){nA.resume(R);break}lA=P(lA)}},"interactions:stop":function(R){var F=R.interaction.inertia;F.active&&F.stop()},"interactions:before-action-resume":function(R){var F=R.interaction.modification;F.stop(R),F.start(R,R.interaction.coords.cur.page),F.applyToInteraction(R)},"interactions:before-action-inertiastart":function(R){return R.interaction.modification.setAndApply(R)},"interactions:action-resume":uo,"interactions:action-inertiastart":uo,"interactions:after-action-inertiastart":function(R){return R.interaction.modification.restoreInteractionCoords(R)},"interactions:after-action-resume":function(R){return R.interaction.modification.restoreInteractionCoords(R)}}};function ks(R,F,Z,nA){var lA=1-R;return lA*lA*F+2*lA*R*Z+R*R*nA}function jo(R,F,Z,nA){return-Z*(R/=nA)*(R-2)+F}var gg=cg;function _s(R,F){for(var Z=0;Z<F.length;Z++){var nA=F[Z];if(R.immediatePropagationStopped)break;nA(R)}}var Ms=function(){function R(F){I(this,R),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=AA({},F||{})}return b(R,[{key:"fire",value:function(F){var Z,nA=this.global;(Z=this.types[F.type])&&_s(F,Z),!F.propagationStopped&&nA&&(Z=nA[F.type])&&_s(F,Z)}},{key:"on",value:function(F,Z){var nA=j(F,Z);for(F in nA)this.types[F]=ye(this.types[F]||[],nA[F])}},{key:"off",value:function(F,Z){var nA=j(F,Z);for(F in nA){var lA=this.types[F];if(lA&&lA.length)for(var uA=0,mA=nA[F];uA<mA.length;uA++){var IA=mA[uA],DA=lA.indexOf(IA);DA!==-1&&lA.splice(DA,1)}}}},{key:"getRect",value:function(F){return null}}]),R}(),ug=function(){function R(F){I(this,R),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=F,O(this,F)}return b(R,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),R}();function ho(R){return u.object(R)?{capture:!!R.capture,passive:!!R.passive}:{capture:!!R,passive:!1}}function rt(R,F){return R===F||(typeof R=="boolean"?!!F.capture===R&&!F.passive:!!R.capture==!!F.capture&&!!R.passive==!!F.passive)}var ct={id:"events",install:function(R){var F,Z=[],nA={},lA=[],uA={add:mA,remove:IA,addDelegate:function(yA,GA,WA,se,oe){var ue=ho(oe);if(!nA[WA]){nA[WA]=[];for(var De=0;De<lA.length;De++){var Qe=lA[De];mA(Qe,WA,DA),mA(Qe,WA,xA,!0)}}var vA=nA[WA],TA=$A(vA,function(PA){return PA.selector===yA&&PA.context===GA});TA||(TA={selector:yA,context:GA,listeners:[]},vA.push(TA)),TA.listeners.push({func:se,options:ue})},removeDelegate:function(yA,GA,WA,se,oe){var ue,De=ho(oe),Qe=nA[WA],vA=!1;if(Qe)for(ue=Qe.length-1;ue>=0;ue--){var TA=Qe[ue];if(TA.selector===yA&&TA.context===GA){for(var PA=TA.listeners,VA=PA.length-1;VA>=0;VA--){var Be=PA[VA];if(Be.func===se&&rt(Be.options,De)){PA.splice(VA,1),PA.length||(Qe.splice(ue,1),IA(GA,WA,DA),IA(GA,WA,xA,!0)),vA=!0;break}}if(vA)break}}},delegateListener:DA,delegateUseCapture:xA,delegatedEvents:nA,documents:lA,targets:Z,supportsOptions:!1,supportsPassive:!1};function mA(yA,GA,WA,se){if(yA.addEventListener){var oe=ho(se),ue=$A(Z,function(De){return De.eventTarget===yA});ue||(ue={eventTarget:yA,events:{}},Z.push(ue)),ue.events[GA]||(ue.events[GA]=[]),$A(ue.events[GA],function(De){return De.func===WA&&rt(De.options,oe)})||(yA.addEventListener(GA,WA,uA.supportsOptions?oe:oe.capture),ue.events[GA].push({func:WA,options:oe}))}}function IA(yA,GA,WA,se){if(yA.addEventListener&&yA.removeEventListener){var oe=UA(Z,function(Pe){return Pe.eventTarget===yA}),ue=Z[oe];if(ue&&ue.events)if(GA!=="all"){var De=!1,Qe=ue.events[GA];if(Qe){if(WA==="all"){for(var vA=Qe.length-1;vA>=0;vA--){var TA=Qe[vA];IA(yA,GA,TA.func,TA.options)}return}for(var PA=ho(se),VA=0;VA<Qe.length;VA++){var Be=Qe[VA];if(Be.func===WA&&rt(Be.options,PA)){yA.removeEventListener(GA,WA,uA.supportsOptions?PA:PA.capture),Qe.splice(VA,1),Qe.length===0&&(delete ue.events[GA],De=!0);break}}}De&&!Object.keys(ue.events).length&&Z.splice(oe,1)}else for(GA in ue.events)ue.events.hasOwnProperty(GA)&&IA(yA,GA,"all")}}function DA(yA,GA){for(var WA=ho(GA),se=new ug(yA),oe=nA[yA.type],ue=ZA(yA)[0],De=ue;u.element(De);){for(var Qe=0;Qe<oe.length;Qe++){var vA=oe[Qe],TA=vA.selector,PA=vA.context;if(G(De,TA)&&M(PA,ue)&&M(PA,De)){var VA=vA.listeners;se.currentTarget=De;for(var Be=0;Be<VA.length;Be++){var Pe=VA[Be];rt(Pe.options,WA)&&Pe.func(se)}}}De=P(De)}}function xA(yA){return DA(yA,!0)}return(F=R.document)==null||F.createElement("div").addEventListener("test",null,{get capture(){return uA.supportsOptions=!0},get passive(){return uA.supportsPassive=!0}}),R.events=uA,uA}},zr={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(R){for(var F=0,Z=zr.methodOrder;F<Z.length;F++){var nA=Z[F],lA=zr[nA](R);if(lA)return lA}return null},simulationResume:function(R){var F=R.pointerType,Z=R.eventType,nA=R.eventTarget,lA=R.scope;if(!/down|start/i.test(Z))return null;for(var uA=0,mA=lA.interactions.list;uA<mA.length;uA++){var IA=mA[uA],DA=nA;if(IA.simulation&&IA.simulation.allowResume&&IA.pointerType===F)for(;DA;){if(DA===IA.element)return IA;DA=P(DA)}}return null},mouseOrPen:function(R){var F,Z=R.pointerId,nA=R.pointerType,lA=R.eventType,uA=R.scope;if(nA!=="mouse"&&nA!=="pen")return null;for(var mA=0,IA=uA.interactions.list;mA<IA.length;mA++){var DA=IA[mA];if(DA.pointerType===nA){if(DA.simulation&&!xs(DA,Z))continue;if(DA.interacting())return DA;F||(F=DA)}}if(F)return F;for(var xA=0,yA=uA.interactions.list;xA<yA.length;xA++){var GA=yA[xA];if(!(GA.pointerType!==nA||/down/i.test(lA)&&GA.simulation))return GA}return null},hasPointer:function(R){for(var F=R.pointerId,Z=0,nA=R.scope.interactions.list;Z<nA.length;Z++){var lA=nA[Z];if(xs(lA,F))return lA}return null},idle:function(R){for(var F=R.pointerType,Z=0,nA=R.scope.interactions.list;Z<nA.length;Z++){var lA=nA[Z];if(lA.pointers.length===1){var uA=lA.interactable;if(uA&&(!uA.options.gesture||!uA.options.gesture.enabled))continue}else if(lA.pointers.length>=2)continue;if(!lA.interacting()&&F===lA.pointerType)return lA}return null}};function xs(R,F){return R.pointers.some(function(Z){return Z.id===F})}var dg=zr,Zr=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Ss(R,F){return function(Z){var nA=F.interactions.list,lA=SA(Z),uA=ZA(Z),mA=uA[0],IA=uA[1],DA=[];if(/^touch/.test(Z.type)){F.prevTouchTime=F.now();for(var xA=0,yA=Z.changedTouches;xA<yA.length;xA++){var GA=yA[xA],WA={pointer:GA,pointerId:YA(GA),pointerType:lA,eventType:Z.type,eventTarget:mA,curEventTarget:IA,scope:F},se=Fs(WA);DA.push([WA.pointer,WA.eventTarget,WA.curEventTarget,se])}}else{var oe=!1;if(!E.supportsPointerEvent&&/mouse/.test(Z.type)){for(var ue=0;ue<nA.length&&!oe;ue++)oe=nA[ue].pointerType!=="mouse"&&nA[ue].pointerIsDown;oe=oe||F.now()-F.prevTouchTime<500||Z.timeStamp===0}if(!oe){var De={pointer:Z,pointerId:YA(Z),pointerType:lA,eventType:Z.type,curEventTarget:IA,eventTarget:mA,scope:F},Qe=Fs(De);DA.push([De.pointer,De.eventTarget,De.curEventTarget,Qe])}}for(var vA=0;vA<DA.length;vA++){var TA=DA[vA],PA=TA[0],VA=TA[1],Be=TA[2];TA[3][R](PA,Z,VA,Be)}}}function Fs(R){var F=R.pointerType,Z=R.scope,nA={interaction:dg.search(R),searchDetails:R};return Z.fire("interactions:find",nA),nA.interaction||Z.interactions.new({pointerType:F})}function qo(R,F){var Z=R.doc,nA=R.scope,lA=R.options,uA=nA.interactions.docEvents,mA=nA.events,IA=mA[F];for(var DA in nA.browser.isIOS&&!lA.events&&(lA.events={passive:!1}),mA.delegatedEvents)IA(Z,DA,mA.delegateListener),IA(Z,DA,mA.delegateUseCapture,!0);for(var xA=lA&&lA.events,yA=0;yA<uA.length;yA++){var GA=uA[yA];IA(Z,GA.type,GA.listener,xA)}}var hg={id:"core/interactions",install:function(R){for(var F={},Z=0;Z<Zr.length;Z++){var nA=Zr[Z];F[nA]=Ss(nA,R)}var lA,uA=E.pEventTypes;function mA(){for(var IA=0,DA=R.interactions.list;IA<DA.length;IA++){var xA=DA[IA];if(xA.pointerIsDown&&xA.pointerType==="touch"&&!xA._interacting)for(var yA=function(){var se=WA[GA];R.documents.some(function(oe){return M(oe.doc,se.downTarget)})||xA.removePointer(se.pointer,se.event)},GA=0,WA=xA.pointers;GA<WA.length;GA++)yA()}}(lA=r.PointerEvent?[{type:uA.down,listener:mA},{type:uA.down,listener:F.pointerDown},{type:uA.move,listener:F.pointerMove},{type:uA.up,listener:F.pointerUp},{type:uA.cancel,listener:F.pointerUp}]:[{type:"mousedown",listener:F.pointerDown},{type:"mousemove",listener:F.pointerMove},{type:"mouseup",listener:F.pointerUp},{type:"touchstart",listener:mA},{type:"touchstart",listener:F.pointerDown},{type:"touchmove",listener:F.pointerMove},{type:"touchend",listener:F.pointerUp},{type:"touchcancel",listener:F.pointerUp}]).push({type:"blur",listener:function(IA){for(var DA=0,xA=R.interactions.list;DA<xA.length;DA++)xA[DA].documentBlur(IA)}}),R.prevTouchTime=0,R.Interaction=function(IA){w(xA,IA);var DA=$(xA);function xA(){return I(this,xA),DA.apply(this,arguments)}return b(xA,[{key:"pointerMoveTolerance",get:function(){return R.interactions.pointerMoveTolerance},set:function(yA){R.interactions.pointerMoveTolerance=yA}},{key:"_now",value:function(){return R.now()}}]),xA}(vs),R.interactions={list:[],new:function(IA){IA.scopeFire=function(xA,yA){return R.fire(xA,yA)};var DA=new R.Interaction(IA);return R.interactions.list.push(DA),DA},listeners:F,docEvents:lA,pointerMoveTolerance:1},R.usePlugin(ti)},listeners:{"scope:add-document":function(R){return qo(R,"add")},"scope:remove-document":function(R){return qo(R,"remove")},"interactable:unset":function(R,F){for(var Z=R.interactable,nA=F.interactions.list.length-1;nA>=0;nA--){var lA=F.interactions.list[nA];lA.interactable===Z&&(lA.stop(),F.fire("interactions:destroy",{interaction:lA}),lA.destroy(),F.interactions.list.length>2&&F.interactions.list.splice(nA,1))}}},onDocSignal:qo,doOnInteractions:Ss,methodNames:Zr},St=hg,Rn=function(R){return R[R.On=0]="On",R[R.Off=1]="Off",R}(Rn||{}),mi=function(){function R(F,Z,nA,lA){I(this,R),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new Ms,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=Z.actions,this.target=F,this._context=Z.context||nA,this._win=y(H(F)?this._context:F),this._doc=this._win.document,this._scopeEvents=lA,this.set(Z)}return b(R,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(F,Z){return u.func(Z.onstart)&&this.on("".concat(F,"start"),Z.onstart),u.func(Z.onmove)&&this.on("".concat(F,"move"),Z.onmove),u.func(Z.onend)&&this.on("".concat(F,"end"),Z.onend),u.func(Z.oninertiastart)&&this.on("".concat(F,"inertiastart"),Z.oninertiastart),this}},{key:"updatePerActionListeners",value:function(F,Z,nA){var lA,uA=this,mA=(lA=this._actions.map[F])==null?void 0:lA.filterEventType,IA=function(DA){return(mA==null||mA(DA))&&bn(DA,uA._actions)};(u.array(Z)||u.object(Z))&&this._onOff(Rn.Off,F,Z,void 0,IA),(u.array(nA)||u.object(nA))&&this._onOff(Rn.On,F,nA,void 0,IA)}},{key:"setPerAction",value:function(F,Z){var nA=this._defaults;for(var lA in Z){var uA=lA,mA=this.options[F],IA=Z[uA];uA==="listeners"&&this.updatePerActionListeners(F,mA.listeners,IA),u.array(IA)?mA[uA]=xe(IA):u.plainObject(IA)?(mA[uA]=AA(mA[uA]||{},Gi(IA)),u.object(nA.perAction[uA])&&"enabled"in nA.perAction[uA]&&(mA[uA].enabled=IA.enabled!==!1)):u.bool(IA)&&u.object(nA.perAction[uA])?mA[uA].enabled=IA:mA[uA]=IA}}},{key:"getRect",value:function(F){return F=F||(u.element(this.target)?this.target:null),u.string(this.target)&&(F=F||this._context.querySelector(this.target)),_(F)}},{key:"rectChecker",value:function(F){var Z=this;return u.func(F)?(this.getRect=function(nA){var lA=AA({},F.apply(Z,nA));return"width"in lA||(lA.width=lA.right-lA.left,lA.height=lA.bottom-lA.top),lA},this):F===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(F,Z){if(H(Z)||u.object(Z)){for(var nA in this.options[F]=Z,this._actions.map)this.options[nA][F]=Z;return this}return this.options[F]}},{key:"origin",value:function(F){return this._backCompatOption("origin",F)}},{key:"deltaSource",value:function(F){return F==="page"||F==="client"?(this.options.deltaSource=F,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var F=this.target;return u.string(F)?Array.from(this._context.querySelectorAll(F)):u.func(F)&&F.getAllElements?F.getAllElements():u.element(F)?[F]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(F){return this._context===F.ownerDocument||M(this._context,F)}},{key:"testIgnoreAllow",value:function(F,Z,nA){return!this.testIgnore(F.ignoreFrom,Z,nA)&&this.testAllow(F.allowFrom,Z,nA)}},{key:"testAllow",value:function(F,Z,nA){return!F||!!u.element(nA)&&(u.string(F)?W(nA,F,Z):!!u.element(F)&&M(F,nA))}},{key:"testIgnore",value:function(F,Z,nA){return!(!F||!u.element(nA))&&(u.string(F)?W(nA,F,Z):!!u.element(F)&&M(F,nA))}},{key:"fire",value:function(F){return this.events.fire(F),this}},{key:"_onOff",value:function(F,Z,nA,lA,uA){u.object(Z)&&!u.array(Z)&&(lA=nA,nA=null);var mA=j(Z,nA,uA);for(var IA in mA){IA==="wheel"&&(IA=E.wheelEvent);for(var DA=0,xA=mA[IA];DA<xA.length;DA++){var yA=xA[DA];bn(IA,this._actions)?this.events[F===Rn.On?"on":"off"](IA,yA):u.string(this.target)?this._scopeEvents[F===Rn.On?"addDelegate":"removeDelegate"](this.target,this._context,IA,yA,lA):this._scopeEvents[F===Rn.On?"add":"remove"](this.target,IA,yA,lA)}}return this}},{key:"on",value:function(F,Z,nA){return this._onOff(Rn.On,F,Z,nA)}},{key:"off",value:function(F,Z,nA){return this._onOff(Rn.Off,F,Z,nA)}},{key:"set",value:function(F){var Z=this._defaults;for(var nA in u.object(F)||(F={}),this.options=Gi(Z.base),this._actions.methodDict){var lA=nA,uA=this._actions.methodDict[lA];this.options[lA]={},this.setPerAction(lA,AA(AA({},Z.perAction),Z.actions[lA])),this[uA](F[lA])}for(var mA in F)mA!=="getRect"?u.func(this[mA])&&this[mA](F[mA]):this.rectChecker(F.getRect);return this}},{key:"unset",value:function(){if(u.string(this.target))for(var F in this._scopeEvents.delegatedEvents)for(var Z=this._scopeEvents.delegatedEvents[F],nA=Z.length-1;nA>=0;nA--){var lA=Z[nA],uA=lA.selector,mA=lA.context,IA=lA.listeners;uA===this.target&&mA===this._context&&Z.splice(nA,1);for(var DA=IA.length-1;DA>=0;DA--)this._scopeEvents.removeDelegate(this.target,this._context,F,IA[DA][0],IA[DA][1])}else this._scopeEvents.remove(this.target,"all")}}]),R}(),Ns=function(){function R(F){var Z=this;I(this,R),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=F,F.addListeners({"interactable:unset":function(nA){var lA=nA.interactable,uA=lA.target,mA=u.string(uA)?Z.selectorMap[uA]:uA[Z.scope.id],IA=UA(mA,function(DA){return DA===lA});mA.splice(IA,1)}})}return b(R,[{key:"new",value:function(F,Z){Z=AA(Z||{},{actions:this.scope.actions});var nA=new this.scope.Interactable(F,Z,this.scope.document,this.scope.events);return this.scope.addDocument(nA._doc),this.list.push(nA),u.string(F)?(this.selectorMap[F]||(this.selectorMap[F]=[]),this.selectorMap[F].push(nA)):(nA.target[this.scope.id]||Object.defineProperty(F,this.scope.id,{value:[],configurable:!0}),F[this.scope.id].push(nA)),this.scope.fire("interactable:new",{target:F,options:Z,interactable:nA,win:this.scope._win}),nA}},{key:"getExisting",value:function(F,Z){var nA=Z&&Z.context||this.scope.document,lA=u.string(F),uA=lA?this.selectorMap[F]:F[this.scope.id];if(uA)return $A(uA,function(mA){return mA._context===nA&&(lA||mA.inContext(F))})}},{key:"forEachMatch",value:function(F,Z){for(var nA=0,lA=this.list;nA<lA.length;nA++){var uA=lA[nA],mA=void 0;if((u.string(uA.target)?u.element(F)&&G(F,uA.target):F===uA.target)&&uA.inContext(F)&&(mA=Z(uA)),mA!==void 0)return mA}}}]),R}(),Wr=function(){function R(){var F=this;I(this,R),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=E,this.defaults=Gi(Zo),this.Eventable=Ms,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=function(nA){var lA=function uA(mA,IA){var DA=nA.interactables.getExisting(mA,IA);return DA||((DA=nA.interactables.new(mA,IA)).events.global=uA.globalEvents),DA};return lA.getPointerAverage=jA,lA.getTouchBBox=pe,lA.getTouchDistance=ae,lA.getTouchAngle=LA,lA.getElementRect=_,lA.getElementClientRect=eA,lA.matchesSelector=G,lA.closest=x,lA.globalEvents={},lA.version="1.10.27",lA.scope=nA,lA.use=function(uA,mA){return this.scope.usePlugin(uA,mA),this},lA.isSet=function(uA,mA){return!!this.scope.interactables.get(uA,mA&&mA.context)},lA.on=At(function(uA,mA,IA){if(u.string(uA)&&uA.search(" ")!==-1&&(uA=uA.trim().split(/ +/)),u.array(uA)){for(var DA=0,xA=uA;DA<xA.length;DA++){var yA=xA[DA];this.on(yA,mA,IA)}return this}if(u.object(uA)){for(var GA in uA)this.on(GA,uA[GA],mA);return this}return bn(uA,this.scope.actions)?this.globalEvents[uA]?this.globalEvents[uA].push(mA):this.globalEvents[uA]=[mA]:this.scope.events.add(this.scope.document,uA,mA,{options:IA}),this},"The interact.on() method is being deprecated"),lA.off=At(function(uA,mA,IA){if(u.string(uA)&&uA.search(" ")!==-1&&(uA=uA.trim().split(/ +/)),u.array(uA)){for(var DA=0,xA=uA;DA<xA.length;DA++){var yA=xA[DA];this.off(yA,mA,IA)}return this}if(u.object(uA)){for(var GA in uA)this.off(GA,uA[GA],mA);return this}var WA;return bn(uA,this.scope.actions)?uA in this.globalEvents&&(WA=this.globalEvents[uA].indexOf(mA))!==-1&&this.globalEvents[uA].splice(WA,1):this.scope.events.remove(this.scope.document,uA,mA,IA),this},"The interact.off() method is being deprecated"),lA.debug=function(){return this.scope},lA.supportsTouch=function(){return E.supportsTouch},lA.supportsPointerEvent=function(){return E.supportsPointerEvent},lA.stop=function(){for(var uA=0,mA=this.scope.interactions.list;uA<mA.length;uA++)mA[uA].stop();return this},lA.pointerMoveTolerance=function(uA){return u.number(uA)?(this.scope.interactions.pointerMoveTolerance=uA,this):this.scope.interactions.pointerMoveTolerance},lA.addDocument=function(uA,mA){this.scope.addDocument(uA,mA)},lA.removeDocument=function(uA){this.scope.removeDocument(uA)},lA}(this),this.InteractEvent=ni,this.Interactable=void 0,this.interactables=new Ns(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(nA){return F.removeDocument(nA.target)};var Z=this;this.Interactable=function(nA){w(uA,nA);var lA=$(uA);function uA(){return I(this,uA),lA.apply(this,arguments)}return b(uA,[{key:"_defaults",get:function(){return Z.defaults}},{key:"set",value:function(mA){return K(S(uA.prototype),"set",this).call(this,mA),Z.fire("interactable:set",{options:mA,interactable:this}),this}},{key:"unset",value:function(){K(S(uA.prototype),"unset",this).call(this);var mA=Z.interactables.list.indexOf(this);mA<0||(Z.interactables.list.splice(mA,1),Z.fire("interactable:unset",{interactable:this}))}}]),uA}(mi)}return b(R,[{key:"addListeners",value:function(F,Z){this.listenerMaps.push({id:Z,map:F})}},{key:"fire",value:function(F,Z){for(var nA=0,lA=this.listenerMaps;nA<lA.length;nA++){var uA=lA[nA].map[F];if(uA&&uA(Z,this,F)===!1)return!1}}},{key:"init",value:function(F){return this.isInitialized?this:function(Z,nA){return Z.isInitialized=!0,u.window(nA)&&k(nA),r.init(nA),E.init(nA),Ie.init(nA),Z.window=nA,Z.document=nA.document,Z.usePlugin(St),Z.usePlugin(ct),Z}(this,F)}},{key:"pluginIsInstalled",value:function(F){var Z=F.id;return Z?!!this._plugins.map[Z]:this._plugins.list.indexOf(F)!==-1}},{key:"usePlugin",value:function(F,Z){if(!this.isInitialized)return this;if(this.pluginIsInstalled(F))return this;if(F.id&&(this._plugins.map[F.id]=F),this._plugins.list.push(F),F.install&&F.install(this,Z),F.listeners&&F.before){for(var nA=0,lA=this.listenerMaps.length,uA=F.before.reduce(function(IA,DA){return IA[DA]=!0,IA[en(DA)]=!0,IA},{});nA<lA;nA++){var mA=this.listenerMaps[nA].id;if(mA&&(uA[mA]||uA[en(mA)]))break}this.listenerMaps.splice(nA,0,{id:F.id,map:F.listeners})}else F.listeners&&this.listenerMaps.push({id:F.id,map:F.listeners});return this}},{key:"addDocument",value:function(F,Z){if(this.getDocIndex(F)!==-1)return!1;var nA=y(F);Z=Z?AA({},Z):{},this.documents.push({doc:F,options:Z}),this.events.documents.push(F),F!==this.document&&this.events.add(nA,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:F,window:nA,scope:this,options:Z})}},{key:"removeDocument",value:function(F){var Z=this.getDocIndex(F),nA=y(F),lA=this.documents[Z].options;this.events.remove(nA,"unload",this.onWindowUnload),this.documents.splice(Z,1),this.events.documents.splice(Z,1),this.fire("scope:remove-document",{doc:F,window:nA,scope:this,options:lA})}},{key:"getDocIndex",value:function(F){for(var Z=0;Z<this.documents.length;Z++)if(this.documents[Z].doc===F)return Z;return-1}},{key:"getDocOptions",value:function(F){var Z=this.getDocIndex(F);return Z===-1?null:this.documents[Z].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),R}();function en(R){return R&&R.replace(/\/.*$/,"")}var jr=new Wr,Rt=jr.interactStatic,Rs=typeof globalThis<"u"?globalThis:window;jr.init(Rs);var Ls=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(R){var F=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(nA){var lA=nA[0],uA=nA[1];return lA in R||uA in R}),Z=function(nA,lA){for(var uA=R.range,mA=R.limits,IA=mA===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:mA,DA=R.offset,xA=DA===void 0?{x:0,y:0}:DA,yA={range:uA,grid:R,x:null,y:null},GA=0;GA<F.length;GA++){var WA=F[GA],se=WA[0],oe=WA[1],ue=Math.round((nA-xA.x)/R[se]),De=Math.round((lA-xA.y)/R[oe]);yA[se]=Math.max(IA.left,Math.min(IA.right,ue*R[se]+xA.x)),yA[oe]=Math.max(IA.top,Math.min(IA.bottom,De*R[oe]+xA.y))}return yA};return Z.grid=R,Z.coordFields=F,Z}}),Gs={id:"snappers",install:function(R){var F=R.interactStatic;F.snappers=AA(F.snappers||{},Ls),F.createSnapGrid=F.snappers.grid}},Ps=Gs,tn={start:function(R){var F=R.state,Z=R.rect,nA=R.edges,lA=R.pageCoords,uA=F.options,mA=uA.ratio,IA=uA.enabled,DA=F.options,xA=DA.equalDelta,yA=DA.modifiers;mA==="preserve"&&(mA=Z.width/Z.height),F.startCoords=AA({},lA),F.startRect=AA({},Z),F.ratio=mA,F.equalDelta=xA;var GA=F.linkedEdges={top:nA.top||nA.left&&!nA.bottom,left:nA.left||nA.top&&!nA.right,bottom:nA.bottom||nA.right&&!nA.top,right:nA.right||nA.bottom&&!nA.left};if(F.xIsPrimaryAxis=!(!nA.left&&!nA.right),F.equalDelta){var WA=(GA.left?1:-1)*(GA.top?1:-1);F.edgeSign={x:WA,y:WA}}else F.edgeSign={x:GA.left?-1:1,y:GA.top?-1:1};if(IA!==!1&&AA(nA,GA),yA!=null&&yA.length){var se=new Jo(R.interaction);se.copyFrom(R.interaction.modification),se.prepareStates(yA),F.subModification=se,se.startAll(i({},R))}},set:function(R){var F=R.state,Z=R.rect,nA=R.coords,lA=F.linkedEdges,uA=AA({},nA),mA=F.equalDelta?pg:un;if(AA(R.edges,lA),mA(F,F.xIsPrimaryAxis,nA,Z),!F.subModification)return null;var IA=AA({},Z);iA(lA,IA,{x:nA.x-uA.x,y:nA.y-uA.y});var DA=F.subModification.setAll(i(i({},R),{},{rect:IA,edges:lA,pageCoords:nA,prevCoords:nA,prevRect:IA})),xA=DA.delta;return DA.changed&&(mA(F,Math.abs(xA.x)>Math.abs(xA.y),DA.coords,DA.rect),AA(nA,DA.coords)),DA.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function pg(R,F,Z){var nA=R.startCoords,lA=R.edgeSign;F?Z.y=nA.y+(Z.x-nA.x)*lA.y:Z.x=nA.x+(Z.y-nA.y)*lA.x}function un(R,F,Z,nA){var lA=R.startRect,uA=R.startCoords,mA=R.ratio,IA=R.edgeSign;if(F){var DA=nA.width/mA;Z.y=uA.y+(DA-lA.height)*IA.y}else{var xA=nA.height*mA;Z.x=uA.x+(xA-lA.width)*IA.x}}var Bg=Nn(tn,"aspectRatio"),qr=function(){};qr._defaults={};var Dn=qr;function Ln(R,F,Z){return u.func(R)?oA(R,F.interactable,F.element,[Z.x,Z.y,F]):oA(R,F.interactable,F.element)}var Pi={start:function(R){var F=R.rect,Z=R.startOffset,nA=R.state,lA=R.interaction,uA=R.pageCoords,mA=nA.options,IA=mA.elementRect,DA=AA({left:0,top:0,right:0,bottom:0},mA.offset||{});if(F&&IA){var xA=Ln(mA.restriction,lA,uA);if(xA){var yA=xA.right-xA.left-F.width,GA=xA.bottom-xA.top-F.height;yA<0&&(DA.left+=yA,DA.right+=yA),GA<0&&(DA.top+=GA,DA.bottom+=GA)}DA.left+=Z.left-F.width*IA.left,DA.top+=Z.top-F.height*IA.top,DA.right+=Z.right-F.width*(1-IA.right),DA.bottom+=Z.bottom-F.height*(1-IA.bottom)}nA.offset=DA},set:function(R){var F=R.coords,Z=R.interaction,nA=R.state,lA=nA.options,uA=nA.offset,mA=Ln(lA.restriction,Z,F);if(mA){var IA=function(DA){return!DA||"left"in DA&&"top"in DA||((DA=AA({},DA)).left=DA.x||0,DA.top=DA.y||0,DA.right=DA.right||DA.left+DA.width,DA.bottom=DA.bottom||DA.top+DA.height),DA}(mA);F.x=Math.max(Math.min(IA.right-uA.right,F.x),IA.left+uA.left),F.y=Math.max(Math.min(IA.bottom-uA.bottom,F.y),IA.top+uA.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},dt=Nn(Pi,"restrict"),$n={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Xo={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Hs(R,F){for(var Z=0,nA=["top","left","bottom","right"];Z<nA.length;Z++){var lA=nA[Z];lA in R||(R[lA]=F[lA])}return R}var Ei={noInner:$n,noOuter:Xo,start:function(R){var F,Z=R.interaction,nA=R.startOffset,lA=R.state,uA=lA.options;uA&&(F=dA(Ln(uA.offset,Z,Z.coords.start.page))),F=F||{x:0,y:0},lA.offset={top:F.y+nA.top,left:F.x+nA.left,bottom:F.y-nA.bottom,right:F.x-nA.right}},set:function(R){var F=R.coords,Z=R.edges,nA=R.interaction,lA=R.state,uA=lA.offset,mA=lA.options;if(Z){var IA=AA({},F),DA=Ln(mA.inner,nA,IA)||{},xA=Ln(mA.outer,nA,IA)||{};Hs(DA,$n),Hs(xA,Xo),Z.top?F.y=Math.min(Math.max(xA.top+uA.top,IA.y),DA.top+uA.top):Z.bottom&&(F.y=Math.max(Math.min(xA.bottom+uA.bottom,IA.y),DA.bottom+uA.bottom)),Z.left?F.x=Math.min(Math.max(xA.left+uA.left,IA.x),DA.left+uA.left):Z.right&&(F.x=Math.max(Math.min(xA.right+uA.right,IA.x),DA.right+uA.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},Cg=Nn(Ei,"restrictEdges"),mg=AA({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(R){}},Pi.defaults),Eg=Nn({start:Pi.start,set:Pi.set,defaults:mg},"restrictRect"),Ks={width:-1/0,height:-1/0},Vo={width:1/0,height:1/0},Hi=Nn({start:function(R){return Ei.start(R)},set:function(R){var F=R.interaction,Z=R.state,nA=R.rect,lA=R.edges,uA=Z.options;if(lA){var mA=pA(Ln(uA.min,F,R.coords))||Ks,IA=pA(Ln(uA.max,F,R.coords))||Vo;Z.options={endOnly:uA.endOnly,inner:AA({},Ei.noInner),outer:AA({},Ei.noOuter)},lA.top?(Z.options.inner.top=nA.bottom-mA.height,Z.options.outer.top=nA.bottom-IA.height):lA.bottom&&(Z.options.inner.bottom=nA.top+mA.height,Z.options.outer.bottom=nA.top+IA.height),lA.left?(Z.options.inner.left=nA.right-mA.width,Z.options.outer.left=nA.right-IA.width):lA.right&&(Z.options.inner.right=nA.left+mA.width,Z.options.outer.right=nA.left+IA.width),Ei.set(R),Z.options=uA}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),Xr={start:function(R){var F,Z=R.interaction,nA=R.interactable,lA=R.element,uA=R.rect,mA=R.state,IA=R.startOffset,DA=mA.options,xA=DA.offsetWithOrigin?function(WA){var se=WA.interaction.element,oe=dA(oA(WA.state.options.origin,null,null,[se])),ue=oe||CA(WA.interactable,se,WA.interaction.prepared.name);return ue}(R):{x:0,y:0};if(DA.offset==="startCoords")F={x:Z.coords.start.page.x,y:Z.coords.start.page.y};else{var yA=oA(DA.offset,nA,lA,[Z]);(F=dA(yA)||{x:0,y:0}).x+=xA.x,F.y+=xA.y}var GA=DA.relativePoints;mA.offsets=uA&&GA&&GA.length?GA.map(function(WA,se){return{index:se,relativePoint:WA,x:IA.left-uA.width*WA.x+F.x,y:IA.top-uA.height*WA.y+F.y}}):[{index:0,relativePoint:null,x:F.x,y:F.y}]},set:function(R){var F=R.interaction,Z=R.coords,nA=R.state,lA=nA.options,uA=nA.offsets,mA=CA(F.interactable,F.element,F.prepared.name),IA=AA({},Z),DA=[];lA.offsetWithOrigin||(IA.x-=mA.x,IA.y-=mA.y);for(var xA=0,yA=uA;xA<yA.length;xA++)for(var GA=yA[xA],WA=IA.x-GA.x,se=IA.y-GA.y,oe=0,ue=lA.targets.length;oe<ue;oe++){var De=lA.targets[oe],Qe=void 0;(Qe=u.func(De)?De(WA,se,F._proxy,GA,oe):De)&&DA.push({x:(u.number(Qe.x)?Qe.x:WA)+GA.x,y:(u.number(Qe.y)?Qe.y:se)+GA.y,range:u.number(Qe.range)?Qe.range:lA.range,source:De,index:oe,offset:GA})}for(var vA={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},TA=0;TA<DA.length;TA++){var PA=DA[TA],VA=PA.range,Be=PA.x-IA.x,Pe=PA.y-IA.y,He=gA(Be,Pe),Ye=He<=VA;VA===1/0&&vA.inRange&&vA.range!==1/0&&(Ye=!1),vA.target&&!(Ye?vA.inRange&&VA!==1/0?He/VA<vA.distance/vA.range:VA===1/0&&vA.range!==1/0||He<vA.distance:!vA.inRange&&He<vA.distance)||(vA.target=PA,vA.distance=He,vA.range=VA,vA.inRange=Ye,vA.delta.x=Be,vA.delta.y=Pe)}return vA.inRange&&(Z.x=vA.target.x,Z.y=vA.target.y),nA.closest=vA,vA},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}},Ts=Nn(Xr,"snap"),po={start:function(R){var F=R.state,Z=R.edges,nA=F.options;if(!Z)return null;R.state={options:{targets:null,relativePoints:[{x:Z.left?0:1,y:Z.top?0:1}],offset:nA.offset||"self",origin:{x:0,y:0},range:nA.range}},F.targetFields=F.targetFields||[["width","height"],["x","y"]],Xr.start(R),F.offsets=R.state.offsets,R.state=F},set:function(R){var F=R.interaction,Z=R.state,nA=R.coords,lA=Z.options,uA=Z.offsets,mA={x:nA.x-uA[0].x,y:nA.y-uA[0].y};Z.options=AA({},lA),Z.options.targets=[];for(var IA=0,DA=lA.targets||[];IA<DA.length;IA++){var xA=DA[IA],yA=void 0;if(yA=u.func(xA)?xA(mA.x,mA.y,F):xA){for(var GA=0,WA=Z.targetFields;GA<WA.length;GA++){var se=WA[GA],oe=se[0],ue=se[1];if(oe in yA||ue in yA){yA.x=yA[oe],yA.y=yA[ue];break}}Z.options.targets.push(yA)}}var De=Xr.set(R);return Z.options=lA,De},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},Vr=Nn(po,"snapSize"),Bo={aspectRatio:Bg,restrictEdges:Cg,restrict:dt,restrictRect:Eg,restrictSize:Hi,snapEdges:Nn({start:function(R){var F=R.edges;return F?(R.state.targetFields=R.state.targetFields||[[F.left?"left":"right",F.top?"top":"bottom"]],po.start(R)):null},set:po.set,defaults:AA(Gi(po.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:Ts,snapSize:Vr,spring:Dn,avoid:Dn,transform:Dn,rubberband:Dn},Us={id:"modifiers",install:function(R){var F=R.interactStatic;for(var Z in R.usePlugin(zo),R.usePlugin(Ps),F.modifiers=Bo,Bo){var nA=Bo[Z],lA=nA._defaults,uA=nA._methods;lA._methods=uA,R.defaults.perAction[Z]=lA}}},Qg=Us,Ar=function(R){w(Z,R);var F=$(Z);function Z(nA,lA,uA,mA,IA,DA){var xA;if(I(this,Z),O(T(xA=F.call(this,IA)),uA),uA!==lA&&O(T(xA),lA),xA.timeStamp=DA,xA.originalEvent=uA,xA.type=nA,xA.pointerId=YA(lA),xA.pointerType=SA(lA),xA.target=mA,xA.currentTarget=null,nA==="tap"){var yA=IA.getPointerIndex(lA);xA.dt=xA.timeStamp-IA.pointers[yA].downTime;var GA=xA.timeStamp-IA.tapTime;xA.double=!!IA.prevTap&&IA.prevTap.type!=="doubletap"&&IA.prevTap.target===xA.target&&GA<500}else nA==="doubletap"&&(xA.dt=lA.timeStamp-IA.tapTime,xA.double=!0);return xA}return b(Z,[{key:"_subtractOrigin",value:function(nA){var lA=nA.x,uA=nA.y;return this.pageX-=lA,this.pageY-=uA,this.clientX-=lA,this.clientY-=uA,this}},{key:"_addOrigin",value:function(nA){var lA=nA.x,uA=nA.y;return this.pageX+=lA,this.pageY+=uA,this.clientX+=lA,this.clientY+=uA,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),Z}(Ce),Qi={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(R){R.pointerEvents=Qi,R.defaults.actions.pointerEvents=Qi.defaults,AA(R.actions.phaselessTypes,Qi.types)},listeners:{"interactions:new":function(R){var F=R.interaction;F.prevTap=null,F.tapTime=0},"interactions:update-pointer":function(R){var F=R.down,Z=R.pointerInfo;!F&&Z.hold||(Z.hold={duration:1/0,timeout:null})},"interactions:move":function(R,F){var Z=R.interaction,nA=R.pointer,lA=R.event,uA=R.eventTarget;R.duplicate||Z.pointerIsDown&&!Z.pointerWasMoved||(Z.pointerIsDown&&Pt(R),ii({interaction:Z,pointer:nA,event:lA,eventTarget:uA,type:"move"},F))},"interactions:down":function(R,F){(function(Z,nA){for(var lA=Z.interaction,uA=Z.pointer,mA=Z.event,IA=Z.eventTarget,DA=Z.pointerIndex,xA=lA.pointers[DA].hold,yA=V(IA),GA={interaction:lA,pointer:uA,event:mA,eventTarget:IA,type:"hold",targets:[],path:yA,node:null},WA=0;WA<yA.length;WA++){var se=yA[WA];GA.node=se,nA.fire("pointerEvents:collect-targets",GA)}if(GA.targets.length){for(var oe=1/0,ue=0,De=GA.targets;ue<De.length;ue++){var Qe=De[ue].eventable.options.holdDuration;Qe<oe&&(oe=Qe)}xA.duration=oe,xA.timeout=setTimeout(function(){ii({interaction:lA,eventTarget:IA,pointer:uA,event:mA,type:"hold"},nA)},oe)}})(R,F),ii(R,F)},"interactions:up":function(R,F){Pt(R),ii(R,F),function(Z,nA){var lA=Z.interaction,uA=Z.pointer,mA=Z.event,IA=Z.eventTarget;lA.pointerWasMoved||ii({interaction:lA,eventTarget:IA,pointer:uA,event:mA,type:"tap"},nA)}(R,F)},"interactions:cancel":function(R,F){Pt(R),ii(R,F)}},PointerEvent:Ar,fire:ii,collectEventTargets:Aa,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:{down:!0,move:!0,up:!0,cancel:!0,tap:!0,doubletap:!0,hold:!0}};function ii(R,F){var Z=R.interaction,nA=R.pointer,lA=R.event,uA=R.eventTarget,mA=R.type,IA=R.targets,DA=IA===void 0?Aa(R,F):IA,xA=new Ar(mA,nA,lA,uA,Z,F.now());F.fire("pointerEvents:new",{pointerEvent:xA});for(var yA={interaction:Z,pointer:nA,event:lA,eventTarget:uA,targets:DA,type:mA,pointerEvent:xA},GA=0;GA<DA.length;GA++){var WA=DA[GA];for(var se in WA.props||{})xA[se]=WA.props[se];var oe=CA(WA.eventable,WA.node);if(xA._subtractOrigin(oe),xA.eventable=WA.eventable,xA.currentTarget=WA.node,WA.eventable.fire(xA),xA._addOrigin(oe),xA.immediatePropagationStopped||xA.propagationStopped&&GA+1<DA.length&&DA[GA+1].node!==xA.currentTarget)break}if(F.fire("pointerEvents:fired",yA),mA==="tap"){var ue=xA.double?ii({interaction:Z,pointer:nA,event:lA,eventTarget:uA,type:"doubletap"},F):xA;Z.prevTap=ue,Z.tapTime=ue.timeStamp}return xA}function Aa(R,F){var Z=R.interaction,nA=R.pointer,lA=R.event,uA=R.eventTarget,mA=R.type,IA=Z.getPointerIndex(nA),DA=Z.pointers[IA];if(mA==="tap"&&(Z.pointerWasMoved||!DA||DA.downTarget!==uA))return[];for(var xA=V(uA),yA={interaction:Z,pointer:nA,event:lA,eventTarget:uA,type:mA,path:xA,targets:[],node:null},GA=0;GA<xA.length;GA++){var WA=xA[GA];yA.node=WA,F.fire("pointerEvents:collect-targets",yA)}return mA==="hold"&&(yA.targets=yA.targets.filter(function(se){var oe,ue;return se.eventable.options.holdDuration===((oe=Z.pointers[IA])==null||(ue=oe.hold)==null?void 0:ue.duration)})),yA.targets}function Pt(R){var F=R.interaction,Z=R.pointerIndex,nA=F.pointers[Z].hold;nA&&nA.timeout&&(clearTimeout(nA.timeout),nA.timeout=null)}var ea=Object.freeze({__proto__:null,default:Qi});function Co(R){var F=R.interaction;F.holdIntervalHandle&&(clearInterval(F.holdIntervalHandle),F.holdIntervalHandle=null)}var Ys={id:"pointer-events/holdRepeat",install:function(R){R.usePlugin(Qi);var F=R.pointerEvents;F.defaults.holdRepeatInterval=0,F.types.holdrepeat=R.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce(function(R,F){return R["pointerEvents:".concat(F)]=Co,R},{"pointerEvents:new":function(R){var F=R.pointerEvent;F.type==="hold"&&(F.count=(F.count||0)+1)},"pointerEvents:fired":function(R,F){var Z=R.interaction,nA=R.pointerEvent,lA=R.eventTarget,uA=R.targets;if(nA.type==="hold"&&uA.length){var mA=uA[0].eventable.options.holdRepeatInterval;mA<=0||(Z.holdIntervalHandle=setTimeout(function(){F.pointerEvents.fire({interaction:Z,eventTarget:lA,type:"hold",pointer:nA,event:nA},F)},mA))}}})},Os=Ys,Ig={id:"pointer-events/interactableTargets",install:function(R){var F=R.Interactable;F.prototype.pointerEvents=function(nA){return AA(this.events.options,nA),this};var Z=F.prototype._backCompatOption;F.prototype._backCompatOption=function(nA,lA){var uA=Z.call(this,nA,lA);return uA===this&&(this.events.options[nA]=lA),uA}},listeners:{"pointerEvents:collect-targets":function(R,F){var Z=R.targets,nA=R.node,lA=R.type,uA=R.eventTarget;F.interactables.forEachMatch(nA,function(mA){var IA=mA.events,DA=IA.options;IA.types[lA]&&IA.types[lA].length&&mA.testIgnoreAllow(DA,nA,uA)&&Z.push({node:nA,eventable:IA,props:{interactable:mA}})})},"interactable:new":function(R){var F=R.interactable;F.events.getRect=function(Z){return F.getRect(Z)}},"interactable:set":function(R,F){var Z=R.interactable,nA=R.options;AA(Z.events.options,F.pointerEvents.defaults),AA(Z.events.options,nA.pointerEvents||{})}}},fg=Ig,wg={id:"pointer-events",install:function(R){R.usePlugin(ea),R.usePlugin(Os),R.usePlugin(fg)}},bg=wg,Dg={id:"reflow",install:function(R){var F=R.Interactable;R.actions.phases.reflow=!0,F.prototype.reflow=function(Z){return function(nA,lA,uA){for(var mA=nA.getAllElements(),IA=uA.window.Promise,DA=IA?[]:null,xA=function(){var GA=mA[yA],WA=nA.getRect(GA);if(!WA)return 1;var se,oe=$A(uA.interactions.list,function(Qe){return Qe.interacting()&&Qe.interactable===nA&&Qe.element===GA&&Qe.prepared.name===lA.name});if(oe)oe.move(),DA&&(se=oe._reflowPromise||new IA(function(Qe){oe._reflowResolve=Qe}));else{var ue=pA(WA),De=function(Qe){return{coords:Qe,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons},preventDefault:function(){}}}({page:{x:ue.x,y:ue.y},client:{x:ue.x,y:ue.y},timeStamp:uA.now()});se=function(Qe,vA,TA,PA,VA){var Be=Qe.interactions.new({pointerType:"reflow"}),Pe={interaction:Be,event:VA,pointer:VA,eventTarget:TA,phase:"reflow"};Be.interactable=vA,Be.element=TA,Be.prevEvent=VA,Be.updatePointer(VA,VA,TA,!0),tA(Be.coords.delta),gt(Be.prepared,PA),Be._doPhase(Pe);var He=Qe.window,Ye=He.Promise,nn=Ye?new Ye(function(Jn){Be._reflowResolve=Jn}):void 0;return Be._reflowPromise=nn,Be.start(PA,vA,TA),Be._interacting?(Be.move(Pe),Be.end(VA)):(Be.stop(),Be._reflowResolve()),Be.removePointer(VA,VA),nn}(uA,nA,GA,lA,De)}DA&&DA.push(se)},yA=0;yA<mA.length&&!xA();yA++);return DA&&IA.all(DA).then(function(){return nA})}(this,Z,R)}},listeners:{"interactions:stop":function(R,F){var Z=R.interaction;Z.pointerType==="reflow"&&(Z._reflowResolve&&Z._reflowResolve(),function(nA,lA){nA.splice(nA.indexOf(lA),1)}(F.interactions.list,Z))}}},Ki=Dg;if(Rt.use(ti),Rt.use(Jr),Rt.use(bg),Rt.use(gg),Rt.use(Qg),Rt.use(ei),Rt.use(JA),Rt.use($e),Rt.use(Ki),Rt.default=Rt,h(n)==="object"&&n)try{n.exports=Rt}catch{}return Rt.default=Rt,Rt})}(ps,ps.exports);var c_=ps.exports;const Jp=Iu(c_),Xc=e.defineComponent({__name:"grid-item",props:{isDraggable:{type:Boolean,default:void 0},isResizable:{type:Boolean,default:void 0},isBounded:{type:Boolean,default:void 0},static:{type:Boolean,default:!1},minH:{default:1},minW:{default:1},maxH:{default:1/0},maxW:{default:1/0},x:{},y:{},w:{},h:{},i:{},dragIgnoreFrom:{default:"a, button"},dragAllowFrom:{default:void 0},resizeIgnoreFrom:{default:"a, button"},preserveAspectRatio:{type:Boolean,default:!1},dragOption:{default:()=>({})},resizeOption:{default:()=>({})}},emits:["container-resized","resize","resized","move","moved"],setup(n,{expose:A,emit:t}){const i=n,h=t,I=e.inject(Fp),o=e.inject(Np);if(!I)throw new Error("[grid-layout-plus]: missing layout store, GridItem must under a GridLayout.");const b=e.ref(null),D=e.reactive({cols:1,containerWidth:100,rowHeight:30,margin:[10,10],maxRows:1/0,draggable:void 0,resizable:void 0,bounded:void 0,transformScale:1,useCssTransforms:!0,useStyleCursor:!0,isDragging:!1,dragging:{top:-1,left:-1},isResizing:!1,resizing:{width:-1,height:-1},style:{},rtl:!1});let w=!1,S=!1,N=NaN,T=NaN,$=NaN,K=NaN,Y=-1,v=-1,Q=-1,L=-1,k=i.x,y=i.y,m=i.w,p=i.h;const u=e.ref(),s=e.reactive({i:e.toRef(i,"i"),state:D,wrapper:u,calcXY:oA});function g(cA){j(cA)}function l(){sA()}function d(cA){In(i.isDraggable)&&(D.draggable=cA)}function B(cA){In(i.isResizable)&&(D.resizable=cA)}function a(cA){In(i.isBounded)&&(D.bounded=cA)}function r(cA){D.transformScale=cA}function C(cA){D.rowHeight=cA}function E(cA){D.maxRows=cA}function M(){D.rtl=$p()==="rtl",sA()}function x(cA){D.cols=Math.floor(cA)}I.increaseItem(s),e.onBeforeMount(()=>{D.rtl=$p()==="rtl"}),e.onMounted(()=>{I.responsive&&I.lastBreakpoint?D.cols=Yp(I.lastBreakpoint,I.cols):D.cols=I.colNum,D.rowHeight=I.rowHeight,D.containerWidth=I.width!==null?I.width:100,D.margin=I.margin!==void 0?I.margin.map(Number):[10,10],D.maxRows=I.maxRows,In(i.isDraggable)?D.draggable=I.isDraggable:D.draggable=i.isDraggable,In(i.isResizable)?D.resizable=I.isResizable:D.resizable=i.isResizable,In(i.isBounded)?D.bounded=I.isBounded:D.bounded=i.isBounded,D.transformScale=I.transformScale,D.useCssTransforms=I.useCssTransforms,D.useStyleCursor=I.useStyleCursor,e.watchEffect(()=>{k=i.x,y=i.y,p=i.h,m=i.w,Zt(_)}),o.on("updateWidth",g),o.on("compact",l),o.on("setDraggable",d),o.on("setResizable",B),o.on("setBounded",a),o.on("setTransformScale",r),o.on("setRowHeight",C),o.on("setMaxRows",E),o.on("directionchange",M),o.on("setColNum",x)}),e.onBeforeUnmount(()=>{o.off("updateWidth",g),o.off("compact",l),o.off("setDraggable",d),o.off("setResizable",B),o.off("setBounded",a),o.off("setTransformScale",r),o.off("setRowHeight",C),o.off("setMaxRows",E),o.off("directionchange",M),o.off("setColNum",x),b.value&&(b.value.unset(),b.value=null),I.decreaseItem(s)}),A({state:D,wrapper:u});const P=typeof navigator<"u"?navigator.userAgent.toLowerCase().includes("android"):!1,G=e.computed(()=>D.resizable&&!i.static),J=e.computed(()=>I.isMirrored?!D.rtl:D.rtl),q=e.computed(()=>(D.draggable||D.resizable)&&!i.static),W=n_("item"),z=e.computed(()=>({[W.b()]:!0,[W.bm("resizable")]:G.value,[W.bm("static")]:i.static,[W.bm("resizing")]:D.isResizing,[W.bm("dragging")]:D.isDragging,[W.bm("transform")]:D.useCssTransforms,[W.bm("rtl")]:J.value,[W.bm("no-touch")]:P&&q.value})),eA=e.computed(()=>[W.be("resizer"),J.value&&W.bem("resizer","rtl")].filter(Boolean));e.watch(()=>i.isDraggable,cA=>{D.draggable=cA}),e.watch(()=>i.static,()=>{Zt(O),Zt(tA)}),e.watch(()=>D.draggable,()=>{Zt(O)}),e.watch(()=>i.isResizable,cA=>{D.resizable=cA}),e.watch(()=>i.isBounded,cA=>{D.bounded=cA}),e.watch(()=>D.resizable,()=>{Zt(tA)}),e.watch(()=>D.rowHeight,()=>{Zt(_),Zt(V)}),e.watch([()=>D.cols,()=>D.containerWidth],()=>{Zt(tA),Zt(_),Zt(V)}),e.watch([()=>i.minH,()=>i.maxH,()=>i.minW,()=>i.maxW],()=>{Zt(tA)}),e.watch(J,()=>{Zt(tA),Zt(_)}),e.watch([()=>I.margin,()=>I.margin[0],()=>I.margin[1]],()=>{const cA=I.margin;!cA||cA[0]===D.margin[0]&&cA[1]===D.margin[1]||(D.margin=cA.map(Number),Zt(_),Zt(V))});function _(){i.x+i.w>D.cols?(k=0,m=i.w>D.cols?D.cols:i.w):(k=i.x,m=i.w);const cA=aA(k,y,m,p);D.isDragging&&(cA.top=D.dragging.top,J.value?cA.right=D.dragging.left:cA.left=D.dragging.left),D.isResizing&&(cA.width=D.resizing.width,cA.height=D.resizing.height);let EA;D.useCssTransforms?J.value?EA=Vk(cA.top,cA.right,cA.width,cA.height):EA=Xk(cA.top,cA.left,cA.width,cA.height):J.value?EA=e_(cA.top,cA.right,cA.width,cA.height):EA=A_(cA.top,cA.left,cA.width,cA.height),D.style=EA}function V(){const cA={};for(const EA of["width","height"]){const _A=D.style[EA].match(/^(\d+)px$/);if(!_A)return;cA[EA]=_A[1]}h("container-resized",i.i,i.h,i.w,cA.height,cA.width)}function H(cA){if(i.static)return;const EA=cA.type;if(EA==="resizestart"&&D.isResizing||EA!=="resizestart"&&!D.isResizing)return;const _A=Tp(cA);if(In(_A))return;const{x:YA,y:zA}=_A,XA={width:0,height:0};let jA;switch(EA){case"resizestart":{tA(),Y=m,v=p,jA=aA(k,y,m,p),XA.width=jA.width,XA.height=jA.height,D.resizing=XA,D.isResizing=!0;break}case"resizemove":{!cA.edges.right&&!cA.edges.left&&($=YA),!cA.edges.top&&!cA.edges.bottom&&(K=zA);const pe=Up($,K,YA,zA);J.value?XA.width=D.resizing.width-pe.deltaX/D.transformScale:XA.width=D.resizing.width+pe.deltaX/D.transformScale,XA.height=D.resizing.height+pe.deltaY/D.transformScale,D.resizing=XA;break}case"resizeend":{jA=aA(k,y,m,p),XA.width=jA.width,XA.height=jA.height,D.resizing={width:-1,height:-1},D.isResizing=!1;break}}jA=CA(XA.height,XA.width),jA.w<i.minW&&(jA.w=i.minW),jA.w>i.maxW&&(jA.w=i.maxW),jA.h<i.minH&&(jA.h=i.minH),jA.h>i.maxH&&(jA.h=i.maxH),jA.h<1&&(jA.h=1),jA.w<1&&(jA.w=1),$=YA,K=zA,(m!==jA.w||p!==jA.h)&&h("resize",i.i,jA.h,jA.w,XA.height,XA.width),cA.type==="resizeend"&&(Y!==m||v!==p)&&h("resized",i.i,jA.h,jA.w,XA.height,XA.width),o.emit("resizeEvent",cA.type,i.i,k,y,jA.h,jA.w)}function AA(cA){if(i.static||D.isResizing)return;const EA=cA.type;if(EA==="dragstart"&&D.isDragging||EA!=="dragstart"&&!D.isDragging)return;const _A=Tp(cA);if(In(_A))return;const{x:YA,y:zA}=_A,XA=cA.target;if(!XA.offsetParent)return;const jA={top:0,left:0};switch(EA){case"dragstart":{Q=k,L=y;const ae=XA.offsetParent.getBoundingClientRect(),LA=XA.getBoundingClientRect(),SA=LA.left/D.transformScale,ZA=ae.left/D.transformScale,Ce=LA.right/D.transformScale,ye=ae.right/D.transformScale,xe=LA.top/D.transformScale,UA=ae.top/D.transformScale;J.value?jA.left=(Ce-ye)*-1:jA.left=SA-ZA,jA.top=xe-UA,D.dragging=jA,D.isDragging=!0;break}case"dragmove":{const ae=Up(N,T,YA,zA);if(J.value?jA.left=D.dragging.left-ae.deltaX/D.transformScale:jA.left=D.dragging.left+ae.deltaX/D.transformScale,jA.top=D.dragging.top+ae.deltaY/D.transformScale,D.bounded){const LA=XA.offsetParent.clientHeight-pA(i.h,D.rowHeight,D.margin[1]);jA.top=iA(jA.top,0,LA);const SA=dA(),ZA=D.containerWidth-pA(i.w,SA,D.margin[0]);jA.left=iA(jA.left,0,ZA)}D.dragging=jA;break}case"dragend":{const ae=XA.offsetParent.getBoundingClientRect(),LA=XA.getBoundingClientRect(),SA=LA.left/D.transformScale,ZA=ae.left/D.transformScale,Ce=LA.right/D.transformScale,ye=ae.right/D.transformScale,xe=LA.top/D.transformScale,UA=ae.top/D.transformScale;J.value?jA.left=(Ce-ye)*-1:jA.left=SA-ZA,jA.top=xe-UA,D.dragging={top:-1,left:-1},D.isDragging=!1;break}}let pe;J.value,pe=oA(jA.top,jA.left),N=YA,T=zA,(k!==pe.x||y!==pe.y)&&h("move",i.i,pe.x,pe.y),cA.type==="dragend"&&(Q!==k||L!==y)&&h("moved",i.i,pe.x,pe.y),o.emit("dragEvent",cA.type,i.i,pe.x,pe.y,p,m)}function aA(cA,EA,_A,YA){const zA=dA();let XA;return J.value?XA={right:Math.round(zA*cA+(cA+1)*D.margin[0]),top:Math.round(D.rowHeight*EA+(EA+1)*D.margin[1]),width:_A===1/0?_A:Math.round(zA*_A+Math.max(0,_A-1)*D.margin[0]),height:YA===1/0?YA:Math.round(D.rowHeight*YA+Math.max(0,YA-1)*D.margin[1])}:XA={left:Math.round(zA*cA+(cA+1)*D.margin[0]),top:Math.round(D.rowHeight*EA+(EA+1)*D.margin[1]),width:_A===1/0?_A:Math.round(zA*_A+Math.max(0,_A-1)*D.margin[0]),height:YA===1/0?YA:Math.round(D.rowHeight*YA+Math.max(0,YA-1)*D.margin[1])},XA}function oA(cA,EA){const _A=dA();let YA=Math.round((EA-D.margin[0])/(_A+D.margin[0])),zA=Math.round((cA-D.margin[1])/(D.rowHeight+D.margin[1]));return YA=Math.max(Math.min(YA,D.cols-m),0),zA=Math.max(Math.min(zA,D.maxRows-p),0),{x:YA,y:zA}}function dA(){return(D.containerWidth-D.margin[0]*(D.cols+1))/D.cols}function pA(cA,EA,_A){return Number.isFinite(cA)?Math.round(EA*cA+Math.max(0,cA-1)*_A):cA}function iA(cA,EA,_A){return Math.max(Math.min(cA,_A),EA)}function CA(cA,EA,_A=!1){const YA=dA();let zA=Math.round((EA+D.margin[0])/(YA+D.margin[0])),XA=0;return _A?XA=Math.ceil((cA+D.margin[1])/(D.rowHeight+D.margin[1])):XA=Math.round((cA+D.margin[1])/(D.rowHeight+D.margin[1])),zA=Math.max(Math.min(zA,D.cols-k),0),XA=Math.max(Math.min(XA,D.maxRows-y),0),{w:zA,h:XA}}function j(cA,EA){D.containerWidth=cA}function sA(){_()}function gA(){!b.value&&u.value&&(b.value=Jp(u.value),D.useStyleCursor||b.value.styleCursor(!1))}const hA=Mp(AA);function O(){if(gA(),!!b.value)if(D.draggable&&!i.static){const cA={ignoreFrom:i.dragIgnoreFrom,allowFrom:i.dragAllowFrom,...i.dragOption};b.value.draggable(cA),w||(w=!0,b.value.on("dragstart dragmove dragend",EA=>{EA.type==="dragmove"?hA(EA):AA(EA)}))}else b.value.draggable({enabled:!1})}const X=Mp(H);function tA(){if(gA(),!!b.value)if(D.resizable&&!i.static){const cA=aA(0,0,i.maxW,i.maxH),EA=aA(0,0,i.minW,i.minH),_A={edges:{left:J.value?`.${eA.value[0]}`:!1,right:J.value?!1:`.${eA.value[0]}`,bottom:`.${eA.value[0]}`,top:!1},ignoreFrom:i.resizeIgnoreFrom,restrictSize:{min:{height:EA.height*D.transformScale,width:EA.width*D.transformScale},max:{height:cA.height*D.transformScale,width:cA.width*D.transformScale}},...i.resizeOption};i.preserveAspectRatio&&(_A.modifiers=[Jp.modifiers.aspectRatio({ratio:"preserve"})]),b.value.resizable(_A),S||(S=!0,b.value.on("resizestart resizemove resizeend",YA=>{YA.type==="resizemove"?X(YA):H(YA)}))}else b.value.resizable({enabled:!1})}return(cA,EA)=>(e.openBlock(),e.createElementBlock("section",{ref_key:"wrapper",ref:u,class:e.normalizeClass(z.value),style:e.normalizeStyle(D.style)},[e.renderSlot(cA.$slots,"default"),G.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(eA.value)},null,2)):e.createCommentVNode("",!0)],6))}}),oo=typeof window<"u";var zp;oo&&(zp=window==null?void 0:window.navigator)!=null&&zp.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Zp(n){return n!=null}function Hr(){}const g_=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(g_)));const u_=oo&&("ontouchstart"in window||h_()>0),d_=u_?"pointerdown":"click";function h_(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function p_(n,A,t=window.Event){const{type:i,bubbles:h=!1,cancelable:I=!1,...o}=A;if(!Zp(i)||i==="")return!1;let b;return Zp(t)?b=new t(i,{bubbles:h,cancelable:I}):(b=document.createEvent("HTMLEvents"),b.initEvent(i,h,I)),Object.assign(b,o),n.dispatchEvent(b)}const B_="clickoutside",C_=new Set;oo&&document.addEventListener(d_,n=>{const A=n.target,t=n.composedPath&&n.composedPath();C_.forEach(i=>{i!==A&&(t?!t.includes(i):!i.contains(A))&&(!i.__transferElement||i.__transferElement!==A&&!i.__transferElement.contains(A))&&p_(i,{type:B_})})},!0);const m_=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let Kr;if(oo){for(const n of m_)if(n[1]in document){Kr=n;break}}const E_=!!Kr;e.computed(()=>!1);const Q_=new Set,I_=new WeakMap;if(oo&&Kr){const n=Kr[2],A=Kr[4];document.addEventListener(A,()=>{if(Q_.forEach(t=>{t.value=!1}),document[n]){const t=I_.get(document[n]);t&&(t.value=!0)}},!1)}const Wp=new Map;Wp.set("x",0),Wp.set("y",0);var ro=[],f_=function(){return ro.some(function(n){return n.activeTargets.length>0})},w_=function(){return ro.some(function(n){return n.skippedTargets.length>0})},jp="ResizeObserver loop completed with undelivered notifications.",b_=function(){var n;typeof ErrorEvent=="function"?n=new ErrorEvent("error",{message:jp}):(n=document.createEvent("Event"),n.initEvent("error",!1,!1),n.message=jp),window.dispatchEvent(n)},Tr;(function(n){n.BORDER_BOX="border-box",n.CONTENT_BOX="content-box",n.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Tr||(Tr={}));var ao=function(n){return Object.freeze(n)},D_=function(){function n(A,t){this.inlineSize=A,this.blockSize=t,ao(this)}return n}(),qp=function(){function n(A,t,i,h){return this.x=A,this.y=t,this.width=i,this.height=h,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,ao(this)}return n.prototype.toJSON=function(){var A=this,t=A.x,i=A.y,h=A.top,I=A.right,o=A.bottom,b=A.left,D=A.width,w=A.height;return{x:t,y:i,top:h,right:I,bottom:o,left:b,width:D,height:w}},n.fromRect=function(A){return new n(A.x,A.y,A.width,A.height)},n}(),Vc=function(n){return n instanceof SVGElement&&"getBBox"in n},Xp=function(n){if(Vc(n)){var A=n.getBBox(),t=A.width,i=A.height;return!t&&!i}var h=n,I=h.offsetWidth,o=h.offsetHeight;return!(I||o||n.getClientRects().length)},Vp=function(n){var A;if(n instanceof Element)return!0;var t=(A=n==null?void 0:n.ownerDocument)===null||A===void 0?void 0:A.defaultView;return!!(t&&n instanceof t.Element)},y_=function(n){switch(n.tagName){case"INPUT":if(n.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Ur=typeof window<"u"?window:{},Bs=new WeakMap,AB=/auto|scroll/,v_=/^tb|vertical/,k_=/msie|trident/i.test(Ur.navigator&&Ur.navigator.userAgent),Ai=function(n){return parseFloat(n||"0")},Oo=function(n,A,t){return n===void 0&&(n=0),A===void 0&&(A=0),t===void 0&&(t=!1),new D_((t?A:n)||0,(t?n:A)||0)},eB=ao({devicePixelContentBoxSize:Oo(),borderBoxSize:Oo(),contentBoxSize:Oo(),contentRect:new qp(0,0,0,0)}),tB=function(n,A){if(A===void 0&&(A=!1),Bs.has(n)&&!A)return Bs.get(n);if(Xp(n))return Bs.set(n,eB),eB;var t=getComputedStyle(n),i=Vc(n)&&n.ownerSVGElement&&n.getBBox(),h=!k_&&t.boxSizing==="border-box",I=v_.test(t.writingMode||""),o=!i&&AB.test(t.overflowY||""),b=!i&&AB.test(t.overflowX||""),D=i?0:Ai(t.paddingTop),w=i?0:Ai(t.paddingRight),S=i?0:Ai(t.paddingBottom),N=i?0:Ai(t.paddingLeft),T=i?0:Ai(t.borderTopWidth),$=i?0:Ai(t.borderRightWidth),K=i?0:Ai(t.borderBottomWidth),Y=i?0:Ai(t.borderLeftWidth),v=N+w,Q=D+S,L=Y+$,k=T+K,y=b?n.offsetHeight-k-n.clientHeight:0,m=o?n.offsetWidth-L-n.clientWidth:0,p=h?v+L:0,u=h?Q+k:0,s=i?i.width:Ai(t.width)-p-m,g=i?i.height:Ai(t.height)-u-y,l=s+v+m+L,d=g+Q+y+k,B=ao({devicePixelContentBoxSize:Oo(Math.round(s*devicePixelRatio),Math.round(g*devicePixelRatio),I),borderBoxSize:Oo(l,d,I),contentBoxSize:Oo(s,g,I),contentRect:new qp(N,D,s,g)});return Bs.set(n,B),B},nB=function(n,A,t){var i=tB(n,t),h=i.borderBoxSize,I=i.contentBoxSize,o=i.devicePixelContentBoxSize;switch(A){case Tr.DEVICE_PIXEL_CONTENT_BOX:return o;case Tr.BORDER_BOX:return h;default:return I}},__=function(){function n(A){var t=tB(A);this.target=A,this.contentRect=t.contentRect,this.borderBoxSize=ao([t.borderBoxSize]),this.contentBoxSize=ao([t.contentBoxSize]),this.devicePixelContentBoxSize=ao([t.devicePixelContentBoxSize])}return n}(),iB=function(n){if(Xp(n))return 1/0;for(var A=0,t=n.parentNode;t;)A+=1,t=t.parentNode;return A},M_=function(){var n=1/0,A=[];ro.forEach(function(I){if(I.activeTargets.length!==0){var o=[];I.activeTargets.forEach(function(b){var D=new __(b.target),w=iB(b.target);o.push(D),b.lastReportedSize=nB(b.target,b.observedBox),w<n&&(n=w)}),A.push(function(){I.callback.call(I.observer,o,I.observer)}),I.activeTargets.splice(0,I.activeTargets.length)}});for(var t=0,i=A;t<i.length;t++){var h=i[t];h()}return n},oB=function(n){ro.forEach(function(A){A.activeTargets.splice(0,A.activeTargets.length),A.skippedTargets.splice(0,A.skippedTargets.length),A.observationTargets.forEach(function(t){t.isActive()&&(iB(t.target)>n?A.activeTargets.push(t):A.skippedTargets.push(t))})})},x_=function(){var n=0;for(oB(n);f_();)n=M_(),oB(n);return w_()&&b_(),n>0},Ag,rB=[],S_=function(){return rB.splice(0).forEach(function(n){return n()})},F_=function(n){if(!Ag){var A=0,t=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return S_()}).observe(t,i),Ag=function(){t.textContent="".concat(A?A--:A++)}}rB.push(n),Ag()},N_=function(n){F_(function(){requestAnimationFrame(n)})},Cs=0,R_=function(){return!!Cs},L_=250,G_={attributes:!0,characterData:!0,childList:!0,subtree:!0},aB=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],sB=function(n){return n===void 0&&(n=0),Date.now()+n},eg=!1,P_=function(){function n(){var A=this;this.stopped=!0,this.listener=function(){return A.schedule()}}return n.prototype.run=function(A){var t=this;if(A===void 0&&(A=L_),!eg){eg=!0;var i=sB(A);N_(function(){var h=!1;try{h=x_()}finally{if(eg=!1,A=i-sB(),!R_())return;h?t.run(1e3):A>0?t.run(A):t.start()}})}},n.prototype.schedule=function(){this.stop(),this.run()},n.prototype.observe=function(){var A=this,t=function(){return A.observer&&A.observer.observe(document.body,G_)};document.body?t():Ur.addEventListener("DOMContentLoaded",t)},n.prototype.start=function(){var A=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),aB.forEach(function(t){return Ur.addEventListener(t,A.listener,!0)}))},n.prototype.stop=function(){var A=this;this.stopped||(this.observer&&this.observer.disconnect(),aB.forEach(function(t){return Ur.removeEventListener(t,A.listener,!0)}),this.stopped=!0)},n}(),tg=new P_,lB=function(n){!Cs&&n>0&&tg.start(),Cs+=n,!Cs&&tg.stop()},H_=function(n){return!Vc(n)&&!y_(n)&&getComputedStyle(n).display==="inline"},K_=function(){function n(A,t){this.target=A,this.observedBox=t||Tr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return n.prototype.isActive=function(){var A=nB(this.target,this.observedBox,!0);return H_(this.target)&&(this.lastReportedSize=A),this.lastReportedSize.inlineSize!==A.inlineSize||this.lastReportedSize.blockSize!==A.blockSize},n}(),T_=function(){function n(A,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=A,this.callback=t}return n}(),ms=new WeakMap,cB=function(n,A){for(var t=0;t<n.length;t+=1)if(n[t].target===A)return t;return-1},Es=function(){function n(){}return n.connect=function(A,t){var i=new T_(A,t);ms.set(A,i)},n.observe=function(A,t,i){var h=ms.get(A),I=h.observationTargets.length===0;cB(h.observationTargets,t)<0&&(I&&ro.push(h),h.observationTargets.push(new K_(t,i&&i.box)),lB(1),tg.schedule())},n.unobserve=function(A,t){var i=ms.get(A),h=cB(i.observationTargets,t),I=i.observationTargets.length===1;h>=0&&(I&&ro.splice(ro.indexOf(i),1),i.observationTargets.splice(h,1),lB(-1))},n.disconnect=function(A){var t=this,i=ms.get(A);i.observationTargets.slice().forEach(function(h){return t.unobserve(A,h.target)}),i.activeTargets.splice(0,i.activeTargets.length)},n}(),U_=function(){function n(A){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof A!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Es.connect(this,A)}return n.prototype.observe=function(A,t){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Vp(A))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Es.observe(this,A,t)},n.prototype.unobserve=function(A){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Vp(A))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Es.unobserve(this,A)},n.prototype.disconnect=function(){Es.disconnect(this)},n.toString=function(){return"function ResizeObserver () { [polyfill code] }"},n}();const Qs=new WeakMap;function Y_(n){var A;for(let t=0,i=n.length;t<i;++t){const h=n[t],I=Qs.get(h.target);if(typeof I=="function"){const{inlineSize:o,blockSize:b}=(A=h.borderBoxSize)==null?void 0:A[0],{offsetWidth:D,offsetHeight:w}=h.target;I(Object.assign(h,{offsetWidth:D,offsetHeight:w,width:o??D,height:b??w}))}}}const gB=new(oo&&window.ResizeObserver||U_)(Y_);function uB(n,A){Qs.set(n,A),gB.observe(n)}function dB(n){Qs.has(n)&&(gB.unobserve(n),Qs.delete(n))}function O_(n={}){let A=Hr;const t=e.watch(()=>e.unref(n.target),h=>{A(),!(!h||typeof n.onResize!="function")&&(uB(h,n.onResize),A=()=>{dB(h),A=Hr})},{immediate:!0}),i=()=>{t(),A()};return e.getCurrentScope()&&e.onScopeDispose(i),{observeResize:uB,unobserveResize:dB,unobserve:i}}const $_=e.ref(!1);e.computed(()=>$_.value);const hB="__theme_style__",ng="__theme_observer__",pB=e.reactive(new Map),BB=new Map;e.watch(pB,()=>{if(!oo)return;BB.clear();const n=document.head.querySelector(`#${hB}`);n&&document.head.removeChild(n);const A=document.createElement("style");let t=`.${ng} { width: 1px }`,i=1;for(const[h,[I,o]]of pB.entries())t+=` html.${I} .${ng}, .${o} .${ng} { width: ${++i}px }`,BB.set(i,h);A.textContent=t,A.id=hB,document.head.appendChild(A)});const J_=e.defineComponent({__name:"grid-layout",props:{autoSize:{type:Boolean,default:!0},colNum:{default:12},rowHeight:{default:150},maxRows:{default:1/0},margin:{default:()=>[10,10]},isDraggable:{type:Boolean,default:!0},isResizable:{type:Boolean,default:!0},isMirrored:{type:Boolean,default:!1},isBounded:{type:Boolean,default:!1},useCssTransforms:{type:Boolean,default:!0},verticalCompact:{type:Boolean,default:!0},restoreOnDrag:{type:Boolean,default:!1},layout:{},responsive:{type:Boolean,default:!1},responsiveLayouts:{default:()=>({})},transformScale:{default:1},breakpoints:{default:()=>({lg:1200,md:996,sm:768,xs:480,xxs:0})},cols:{default:()=>({lg:12,md:10,sm:6,xs:4,xxs:2})},preventCollision:{type:Boolean,default:!1},useStyleCursor:{type:Boolean,default:!0}},emits:["layout-before-mount","layout-mounted","layout-updated","breakpoint-changed","update:layout","layout-ready"],setup(n,{expose:A,emit:t}){const i=n,h=t,I=e.reactive({width:-1,mergedStyle:{},lastLayoutLength:0,isDragging:!1,placeholder:{x:0,y:0,w:0,h:0,i:""},layouts:{},lastBreakpoint:null,originalLayout:null}),o=new Map,b=e.ref(i.layout),D=e.ref(),{observeResize:w,unobserveResize:S}=O_(),N=$k();N.on("resizeEvent",T),N.on("dragEvent",$),e.onBeforeMount(()=>{h("layout-before-mount",b.value)}),e.onMounted(()=>{h("layout-mounted",b.value),e.nextTick(()=>{t_(b.value),I.originalLayout=b.value,e.nextTick(()=>{g(),D.value&&w(D.value,Jk(k,16)),Yo(b.value,i.verticalCompact),h("layout-updated",b.value),L(),k()})})}),e.onBeforeUnmount(()=>{N.clearAll(),D.value&&S(D.value)});function T(d,B,a,r,C,E){u(d,B,a,r,C,E)}function $(d,B,a,r,C,E){p(d,B,a,r,C,E)}e.watch(()=>I.width,(d,B)=>{e.nextTick(()=>{N.emit("updateWidth",d),B===-1&&e.nextTick(()=>{h("layout-ready",b.value)}),L()})}),e.watch(()=>[i.layout,i.layout.length],()=>{b.value=i.layout,Q()}),e.watch(()=>i.colNum,d=>{N.emit("setColNum",d)}),e.watch(()=>i.rowHeight,d=>{N.emit("setRowHeight",d)}),e.watch(()=>i.isDraggable,d=>{N.emit("setDraggable",d)}),e.watch(()=>i.isResizable,d=>{N.emit("setResizable",d)}),e.watch(()=>i.isBounded,d=>{N.emit("setBounded",d)}),e.watch(()=>i.transformScale,d=>{N.emit("setTransformScale",d)}),e.watch(()=>i.responsive,d=>{d||(h("update:layout",I.originalLayout),N.emit("setColNum",i.colNum)),k()}),e.watch(()=>i.maxRows,d=>{N.emit("setMaxRows",d)}),e.watch([()=>i.margin,()=>i.margin[1]],L),e.provide(Fp,e.reactive({...e.toRefs(i),...e.toRefs(I),increaseItem:K,decreaseItem:Y})),e.provide(Np,N),A({state:I,getItem:v,resizeEvent:u,dragEvent:p,layoutUpdate:Q});function K(d){o.set(d.i,d)}function Y(d){o.delete(d.i)}function v(d){return o.get(d)}function Q(){if(!In(b.value)&&!In(I.originalLayout)){if(b.value.length!==I.originalLayout.length){const d=l(b.value,I.originalLayout);if(d.length>0)if(b.value.length>I.originalLayout.length)I.originalLayout=I.originalLayout.concat(d);else{const B=new Set(d.map(a=>a.i));I.originalLayout=I.originalLayout.filter(a=>!B.has(a.i))}I.lastLayoutLength=b.value.length,g()}Yo(b.value,i.verticalCompact),N.emit("updateWidth",I.width),L(),h("layout-updated",b.value)}}function L(){I.mergedStyle={height:y()}}function k(){D.value&&(I.width=D.value.offsetWidth),N.emit("resizeEvent")}function y(){if(!i.autoSize)return;const d=parseFloat(i.margin[1]);return Zk(b.value)*(i.rowHeight+d)+d+"px"}let m;function p(d,B,a,r,C,E){let M=Lp(b.value,B);In(M)&&(M={h:0,w:0,x:0,y:0,i:""}),d==="dragstart"&&!i.verticalCompact&&(m=b.value.reduce((x,{i:P,x:G,y:J})=>({...x,[P]:{x:G,y:J}}),{})),d==="dragmove"||d==="dragstart"?(I.placeholder.i=B,I.placeholder.x=M.x,I.placeholder.y=M.y,I.placeholder.w=E,I.placeholder.h=C,e.nextTick(()=>{I.isDragging=!0}),N.emit("updateWidth",I.width)):e.nextTick(()=>{I.isDragging=!1}),b.value=qc(b.value,M,a,r,!0,i.preventCollision),i.restoreOnDrag?(M.static=!0,Yo(b.value,i.verticalCompact,m),M.static=!1):Yo(b.value,i.verticalCompact),N.emit("compact"),L(),d==="dragend"&&(m=void 0,h("layout-updated",b.value))}function u(d,B,a,r,C,E){let M=Lp(b.value,B);In(M)&&(M={h:0,w:0,x:0,y:0,i:""});let x;if(i.preventCollision){const P=Gp(b.value,{...M,w:E,h:C}).filter(G=>G.i!==M.i);if(x=P.length>0,x){let G=1/0,J=1/0;P.forEach(q=>{q.x>M.x&&(G=Math.min(G,q.x)),q.y>M.y&&(J=Math.min(J,q.y))}),Number.isFinite(G)&&(M.w=G-M.x),Number.isFinite(J)&&(M.h=J-M.y)}}x||(M.w=E,M.h=C),d==="resizestart"||d==="resizemove"?(I.placeholder.i=B,I.placeholder.x=a,I.placeholder.y=r,I.placeholder.w=M.w,I.placeholder.h=M.h,e.nextTick(()=>{I.isDragging=!0}),N.emit("updateWidth",I.width)):d&&e.nextTick(()=>{I.isDragging=!1}),i.responsive&&s(),Yo(b.value,i.verticalCompact),N.emit("compact"),L(),d==="resizeend"&&h("layout-updated",b.value)}function s(){const d=r_(i.breakpoints,I.width);if(d===I.lastBreakpoint)return;const B=Yp(d,i.cols);!In(I.lastBreakpoint)&&!I.layouts[I.lastBreakpoint]&&(I.layouts[I.lastBreakpoint]=jc(b.value));const a=a_(I.originalLayout,I.layouts,i.breakpoints,d,I.lastBreakpoint,B,i.verticalCompact);I.layouts[d]=a,I.lastBreakpoint!==d&&h("breakpoint-changed",d,a),b.value=a,h("update:layout",a),I.lastBreakpoint=d,N.emit("setColNum",B)}function g(){I.layouts=Object.assign({},i.responsiveLayouts)}function l(d,B){const a=new Set(B.map(M=>M.i)),r=new Set(d.map(M=>M.i)),C=d.filter(M=>!a.has(M.i)),E=B.filter(M=>!r.has(M.i));return C.concat(E)}return(d,B)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapper",ref:D,class:"vgl-layout",style:e.normalizeStyle(I.mergedStyle)},[d.$slots.default?e.renderSlot(d.$slots,"default",{key:0}):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(b.value,a=>(e.openBlock(),e.createBlock(Xc,e.mergeProps({key:a.i,ref_for:!0},a),{default:e.withCtx(()=>[e.renderSlot(d.$slots,"item",{item:a})]),_:2},1040))),128)),e.withDirectives(e.createVNode(Xc,{class:"vgl-item--placeholder",x:I.placeholder.x,y:I.placeholder.y,w:I.placeholder.w,h:I.placeholder.h,i:I.placeholder.i},null,8,["x","y","w","h","i"]),[[e.vShow,I.isDragging]])],4))}});(function(){try{if(typeof document<"u"){var n=document.createElement("style");n.appendChild(document.createTextNode('.vgl-layout{--vgl-placeholder-bg: red;--vgl-placeholder-opacity: 20%;--vgl-placeholder-z-index: 2;--vgl-item-resizing-z-index: 3;--vgl-item-resizing-opacity: 60%;--vgl-item-dragging-z-index: 3;--vgl-item-dragging-opacity: 100%;--vgl-resizer-size: 10px;--vgl-resizer-border-color: #444;--vgl-resizer-border-width: 2px;position:relative;box-sizing:border-box;transition:height .2s ease}.vgl-item{position:absolute;box-sizing:border-box;transition:.2s ease;transition-property:left,top,right}.vgl-item--placeholder{z-index:var(--vgl-placeholder-z-index, 2);-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vgl-placeholder-bg, red);opacity:var(--vgl-placeholder-opacity, 20%);transition-duration:.1s}.vgl-item--no-touch{touch-action:none}.vgl-item--transform{right:auto;left:0;transition-property:transform}.vgl-item--transform.vgl-item--rtl{right:0;left:auto}.vgl-item--resizing{z-index:var(--vgl-item-resizing-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-resizing-opacity, 60%)}.vgl-item--dragging{z-index:var(--vgl-item-dragging-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-dragging-opacity, 100%);transition:none}.vgl-item__resizer{position:absolute;right:0;bottom:0;box-sizing:border-box;width:var(--vgl-resizer-size);height:var(--vgl-resizer-size);cursor:se-resize}.vgl-item__resizer:before{position:absolute;top:0;right:3px;bottom:3px;left:0;content:"";border:0 solid var(--vgl-resizer-border-color);border-right-width:var(--vgl-resizer-border-width);border-bottom-width:var(--vgl-resizer-border-width)}.vgl-item__resizer--rtl{right:auto;left:0;cursor:sw-resize}.vgl-item__resizer--rtl:before{top:0;right:0;bottom:3px;left:3px;border-right-width:0;border-bottom-width:var(--vgl-resizer-border-width);border-left-width:var(--vgl-resizer-border-width)}')),document.head.appendChild(n)}}catch(A){console.error("vite-plugin-css-injected-by-js",A)}})();const Wt=e.defineComponent({__name:"FormItemGroup",props:e.mergeModels({list:{}},{gridData:{},gridDataModifiers:{}}),emits:["update:gridData"],setup(n){const A=e.useModel(n,"gridData"),t=ci(),i=kt(),h=e.ref({});function I(D,w){D&&(h.value[w]=D)}let o=[];const b=()=>{if(!A.value)return;const D=new Map;for(const w of A.value)D.has(w.x)||D.set(w.x,[]),D.get(w.x).push(w);for(const w of D.values()){w.sort((N,T)=>N.y-T.y);let S=0;for(const N of w)N.y=S,S+=N.h}A.value=[...A.value]};return e.onMounted(()=>{Object.keys(h.value).forEach(D=>{const w=h.value[D];if(!w)return;const S=new ResizeObserver(N=>{for(let T of N){const $=T.contentRect.height+28;if(A.value){const K=A.value[0].rowHeight||30;A.value.find(Y=>Y.i===D).h=Math.ceil(($+8)/(K+8))}}b()});S.observe(w),o.push(S)})}),e.onBeforeUnmount(()=>{o.forEach(D=>D.disconnect()),o=[]}),(D,w)=>e.unref(i).design?(e.openBlock(),e.createBlock(Wc,{key:0,list:D.list,"empty-text":e.unref(t).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"])):A.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(A.value,(S,N)=>(e.openBlock(),e.createBlock(e.unref(Xc),{key:S.i,x:S.x,y:S.y,w:S.w,h:S.h,i:S.i},{default:e.withCtx(()=>[e.createElementVNode("div",{ref_for:!0,ref:T=>I(T,S.i)},[e.createVNode(io,e.mergeProps({ref_for:!0},D.list[N]),null,16)],512)]),_:2},1032,["x","y","w","h","i"]))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(D.list,S=>(e.openBlock(),e.createBlock(io,e.mergeProps({key:S.name,ref_for:!0},S),null,16))),128))}}),z_={key:0,class:"btn-render-wrapper"},so=ge(e.defineComponent({__name:"ButtonRender",props:{btns:{}},setup(n){const A=e.inject("ruleModule",void 0),t=e.inject("pageMethodMap",{}),i=e.ref({}),h=async o=>{if(o.onClick&&A){try{i.value[o.key]=!0,await A[o.onClick](t)}catch(b){console.error(b)}i.value[o.key]=!1}},I=o=>({...o,name:o.key,component:"Popover"});return(o,b)=>{const D=e.resolveComponent("el-button"),w=e.resolveComponent("el-tooltip"),S=e.resolveComponent("el-button-group");return o.btns&&o.btns.length>0?(e.openBlock(),e.createElementBlock("div",z_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.btns,N=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N.key},[N.component==="Popover"?(e.openBlock(),e.createBlock(Wt,{key:0,list:[I(N)]},null,8,["list"])):N.component==="BtnGroup"?(e.openBlock(),e.createBlock(S,{key:1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.children,T=>(e.openBlock(),e.createBlock(w,{key:T.key,disabled:!T.tooltip,content:T.tooltip,placement:"top"},{default:e.withCtx(()=>[T.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(D,{key:T.key,onClick:$=>h(T),disabled:T.disabled,type:T.type,text:T.isTextBtn,link:T.isLinkBtn,plain:T.isPlainBtn||T.type!=="primary"&&!T.orange,color:T.orange?"#FAA21E":T.color,loading:i.value[T.key],class:e.normalizeClass({orangeBtn:T.orange})},{default:e.withCtx(()=>[T.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:T.icon.name,color:T.icon.color,class:e.normalizeClass({"btn-icon":T.text||T.label})},null,8,["name","color","class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(T.text||T.label),1)]),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","class"]))]),_:2},1032,["disabled","content"]))),128))]),_:2},1024)):N.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(D,{key:2,onClick:T=>h(N),disabled:N.disabled,type:N.type,text:N.isTextBtn,link:N.isLinkBtn,plain:N.isPlainBtn||N.type!=="primary"&&!N.orange,color:N.orange?"#FAA21E":N.color,loading:i.value[N.key],size:N.size,style:e.normalizeStyle(N.style),class:e.normalizeClass({orangeBtn:N.orange})},{default:e.withCtx(()=>[N.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:N.icon.name,color:N.icon.color,class:e.normalizeClass({"btn-icon":N.text||N.label})},null,8,["name","color","class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(N.text||N.label),1)]),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","size","style","class"]))],64))),128))])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-3a393cf5"]]),Z_={key:0,class:"dropdown-render-wrapper"},W_=ge(e.defineComponent({__name:"dropdownRender",props:{dropdowns:{}},setup(n){const A=e.inject("ruleModule",void 0),t=e.inject("pageMethodMap",{}),i=async(h,I)=>{if(I.onClick&&A)try{await A[I.onClick](t,h)}catch(o){console.error(o)}};return(h,I)=>{const o=e.resolveComponent("el-button"),b=e.resolveComponent("el-dropdown-item"),D=e.resolveComponent("el-dropdown-menu"),w=e.resolveComponent("el-dropdown");return h.dropdowns&&h.dropdowns.length>0?(e.openBlock(),e.createElementBlock("div",Z_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.dropdowns,S=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:S.key},[S.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(w,{key:0,disabled:S.disabled},{dropdown:e.withCtx(()=>[e.createVNode(D,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.options,N=>(e.openBlock(),e.createBlock(b,{key:N.value,command:N.value,onClick:T=>i(N,S)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(N.label),1)]),_:2},1032,["command","onClick"]))),128))]),_:2},1024)]),default:e.withCtx(()=>[e.createVNode(o,{plain:"",color:S.color},{default:e.withCtx(()=>{var N,T;return[S.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:(N=S.icon)==null?void 0:N.name,class:"left-icon",color:(T=S.icon)==null?void 0:T.color},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(S.text),1),e.createVNode(ze,{name:"icon-gongnengjixiajiantou",class:"right-icon"})]}),_:2},1032,["color"])]),_:2},1032,["disabled"]))],64))),128))])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-154dedea"]]),CB=ge(e.defineComponent({__name:"Popover",props:{title:{},placement:{},reference:{},trigger:{},hoverStyle:{},ostyle:{},children:{},width:{},size:{},hoverColor:{},noPadding:{type:Boolean}},setup(n){const A=e.ref(!1),t=n;return(i,h)=>{const I=e.resolveComponent("el-popover");return e.openBlock(),e.createBlock(I,{trigger:t.trigger||"hover",width:t.width,"popper-class":t.noPadding?"no-padding":"",title:t.title,placement:t.placement},{reference:e.withCtx(()=>{var o,b,D,w,S;return[e.createElementVNode("div",{style:e.normalizeStyle(t.ostyle+(A.value?t.hoverStyle:"")),onMouseenter:h[0]||(h[0]=N=>A.value=!0),onMouseleave:h[1]||(h[1]=N=>A.value=!1)},[((o=t.reference)==null?void 0:o.component)==="Icon"?(e.openBlock(),e.createBlock(ze,{key:0,name:(D=(b=t.reference)==null?void 0:b.props)==null?void 0:D.name,color:A.value&&t.hoverColor?t.hoverColor:(S=(w=t.reference)==null?void 0:w.props)==null?void 0:S.color,class:"btn-icon cursor-pointer",size:t.size||"normal"},null,8,["name","color","size"])):t.reference?(e.openBlock(),e.createBlock(e.unref(Wt),{key:1,list:[t.reference]},null,8,["list"])):e.createCommentVNode("",!0)],36)]}),default:e.withCtx(()=>[e.createElementVNode("div",null,[i.children?(e.openBlock(),e.createBlock(e.unref(Wt),{key:0,list:i.children},null,8,["list"])):e.createCommentVNode("",!0)])]),_:1},8,["trigger","width","popper-class","title","placement"])}}}),[["__scopeId","data-v-15f1d1a8"]]),j_={title:"气泡框",component:"Popover",render:CB,icon:e.h(be,{name:"password"}),type:"layout",order:9},q_=["innerHTML"],X_=e.defineComponent({__name:"HtmlRender",props:{data:{}},setup(n){return(A,t)=>(e.openBlock(),e.createElementBlock("div",{innerHTML:A.data},null,8,q_))}}),V_={title:"HTML",component:"HtmlRender",icon:e.h(be,{name:"button"}),type:"assist",order:19,render:X_},A2=Object.freeze(Object.defineProperty({__proto__:null,Alert:w0,Button:Rb,Card:b0,CardList:rD,Cascader:y0,Checkbox:M0,Collapse:Cb,ColorInput:N0,ColorPicker:S0,CurdCard:Kb,Custom:L0,DatePicker:P0,Divider:K0,DragList:cD,Esign:U0,FormList:J0,Grid:z0,HtmlRender:V_,Inline:Z0,Input:p0,InputNumber:j0,JsonEdit:k0,LogList:lD,ObjGroup:Eb,OfferDetails:aD,OrderProgress:sD,Password:V0,Popover:j_,Radio:O0,Rate:nb,SearchInput:Mb,SearchSelect:Sb,Select:eb,SelectInput:ob,Slider:rb,Switch:sb,Table:Hb,Tabs:mb,Tag:lb,Text:gb,TextArea:C0,Title:ub,Transfer:yb,Tree:Gb,Upload:hb,VerifyCode:Bb,Wrapper:Tb},Symbol.toStringTag,{value:"Module"})),$o=()=>{const n=e.inject(jn),A={...A2};return n!=null&&n.extendElements&&Object.assign(A,n.extendElements),A},Sn=()=>e.inject(Sd),ig=()=>{const n=e.inject("ruleModule",void 0),A=e.inject("pageMethodMap",{});return{ruleModule:n,pageMethodMap:A}},e2=e.defineComponent({__name:"Footer",setup(n){const A=kt(),t=e.computed(()=>({marginLeft:A.schema.labelWidth+"px"}));return(i,h)=>{const I=e.resolveComponent("el-button");return e.unref(A).footer?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(t.value)},[e.createVNode(I,{type:"primary",onClick:e.unref(A).submit,name:"submit-btn"},{default:e.withCtx(()=>h[1]||(h[1]=[e.createTextVNode("提交")])),_:1},8,["onClick"]),e.createVNode(I,{onClick:h[0]||(h[0]=()=>e.unref(A).resetFields()),name:"reset-btn"},{default:e.withCtx(()=>h[2]||(h[2]=[e.createTextVNode("重置")])),_:1})],4)):e.createCommentVNode("",!0)}}}),mB=n=>{let A=[];for(const t of n)(t.component==="Table"||t.component==="DragList")&&t.name&&A.push(t.name),t.children&&Array.isArray(t.children)&&(A=A.concat(mB(t.children)));return A},EB=n=>{var t;if(!(n!=null&&n.content))return[];let A=[];for(const i of n.content)i.type==="form"&&((t=i.schema)!=null&&t.items)&&(A=A.concat(mB(i.schema.items)));return A},QB=Symbol("RefManager"),t2=()=>{const n=new Map,A=new Map;function t(i){const h=i.sort().join(","),I=A.get(h);I&&I.resolve&&i.every(b=>n.has(b))&&(I.resolve(),I.resolve=null)}return{register:(i,h)=>{n.set(i,h);for(const[I]of A)t(I.split(","))},unregister:i=>{n.delete(i)},findRef:i=>n.get(i),waitForKeys:i=>{if(i.every(b=>n.has(b)))return Promise.resolve();const h=i.sort().join(",");if(A.has(h))return A.get(h).promise;let I=null;const o=new Promise(b=>{I=b});return A.set(h,{promise:o,resolve:I}),t(i),o}}},n2=()=>{const n=t2();return e.provide(QB,n),n},IB=()=>{const n=e.inject(QB);if(!n)throw new Error("RefManager not provided. Make sure to call provideRefManager first.");return n},fB=(n,A)=>{const t=IB();return t.register(n,A),()=>{t.unregister(n)}},i2=["id"],fn=e.defineComponent({__name:"index",props:e.mergeModels({schema:{},schemaContext:{},design:{type:Boolean},footer:{type:Boolean},pageRulePath:{}},{modelValue:{default:{}},modelModifiers:{},realValues:{default:{}},realValuesModifiers:{},schema:{default:e.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},schemaModifiers:{}}),emits:e.mergeModels(["finish","failed","reset"],["update:modelValue","update:realValues","update:schema"]),setup(n,{expose:A,emit:t}){const i=n,h=e.inject("ruleMap",{}),I=e.inject("pageMethodMap",{}),o=e.computed(()=>i.schema.rulePath&&h[i.schema.rulePath]?i.schema.rulePath:i.pageRulePath);o.value&&e.provide("ruleModule",h[o.value]);const b=t,D=e.ref(),w=e.useModel(n,"modelValue"),S=e.useModel(n,"realValues"),N=(J,q,W)=>{W===void 0?w.value[J]=q:(S.value[J]=q,w.value[J]=W)},T=J=>w.value[J],$=(J,q)=>{let W=C(Y.value.items,J);W&&W.props&&(W.props.disabled=!q)},K=(J,q)=>{let W=C(Y.value.items,J);W&&(W.hidden=!q)},Y=e.useModel(n,"schema");if(Y.value.onValuesChange){const J=e.ref(JSON.stringify(w.value));e.watch(()=>w.value,q=>{J.value=JSON.stringify(q)},{deep:!0}),e.watch(()=>J.value,(q,W)=>{const z=JSON.parse(q),eA=JSON.parse(W),_=Object.keys(z).filter(V=>JSON.stringify(z[V])!==JSON.stringify(eA[V]));if(!(!o.value||!Y.value.onValuesChange))try{h[o.value][Y.value.onValuesChange](I,_,eA,z)}catch(V){console.error(V)}})}const v=e.reactive({}),Q=e.ref({}),L=e.ref(!1),k=ci(),y=e.computed(()=>({...i.schemaContext,$values:w.value,$selectData:v,$locale:k.value})),m=IB();e.onMounted(async()=>{var W,z;if((W=i.schema)!=null&&W.initialValues){const eA=(z=i.schema)==null?void 0:z.initialValues;B(eA),w.value=ht.mergeWith(eA,w.value,(_,V)=>{if(Array.isArray(_))return V})}await e.nextTick();const J=EB({content:[{type:"form",schema:Y.value}]});if(await m.waitForKeys(J),!Y.value||!Y.value.onMounted||!o.value)return;const q=Y.value.onMounted;try{h[o.value][q](I)}catch(eA){console.error(eA)}}),e.onActivated(()=>{if(!Y.value||!Y.value.onActivated||!o.value)return;const J=Y.value.onActivated;try{h[o.value][J](I)}catch(q){console.error(q)}});const p=()=>{var J;return(J=D.value)==null?void 0:J.validate()},u=J=>{const q=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],W=z=>{z.forEach(eA=>{q.includes(eA.component)?eA.props&&(eA.props.disabled=J):eA.children&&W(eA.children)})};W(Y.value.items)},s=()=>{var J;(J=p())==null||J.then(()=>{b("finish",w.value)}).catch(q=>{b("failed",q)})},g=J=>{if(b("reset"),J){let q=ht.cloneDeep(w.value);J.forEach(W=>{q=vo(q,W,Ca(Q.value,W))}),w.value=q}else w.value=ht.cloneDeep(e.toRaw(Q.value))},l=(J,q=!0)=>{q?Object.assign(w.value,J):w.value=J},d=(J,q)=>{v[J]=q},B=J=>{Q.value={...J}},a=()=>Q.value,r=J=>{L.value=J},C=(J,q)=>{for(const W of J){if(W.name===q)return W;if(W.children&&W.children.length>0){const z=C(W.children,q);if(z)return z}}return null},E=J=>{const q=C(Y.value.items,J);!q||q.component!=="Select"||q.props&&(q.props.refreshFlag=!0)},M=J=>{var q;(q=D.value)==null||q.clearValidate(J)},x=J=>{Y.value.hidden=J},P=e.useTemplateRef("rootRef"),G=e.reactive({...e.toRefs(i),formValues:w,formRealValues:S,selectData:v,initialValues:Q,context:y,vCodePass:L,updateFormValues:l,updateSelectData:d,updateInitialValues:B,getInitialValues:a,updateVCodePass:r,validate:p,resetFields:g,submit:s,setDisabled:u,findItemByName:C,setFieldEditSts:$,setFieldVisibleSts:K,setFieldValue:N,getFieldValue:T,refreshDynamicListBox:E,setHidden:x,clearValidate:M,rootRef:P,type:"form"});return e.provide(xd,G),A(G),(J,q)=>{const W=e.resolveComponent("el-form");return e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:P,id:Y.value.key},[Y.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(W,e.mergeProps({key:0,model:w.value,"label-position":Y.value.labelPosition,size:Y.value.size,"hide-required-asterisk":Y.value.hideRequiredAsterisk,"scroll-to-error":Y.value.scrollToError,"require-asterisk-position":"right",ref_key:"formRef",ref:D},J.$attrs,{onSubmit:q[0]||(q[0]=e.withModifiers(()=>{},["prevent"]))}),{default:e.withCtx(()=>[e.renderSlot(J.$slots,"default"),e.createVNode(e.unref(Wt),{list:Y.value.items},null,8,["list"]),e.createVNode(e2)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))],8,i2)}}}),o2=({elements:n,lang:A,omits:t})=>{const i=o=>Object.values(n).filter(b=>b.type===o&&!t.includes(b.component)).sort((b,D)=>b.order-D.order).map(b=>({...b,title:A==="zh"?b.title:b.component})),h=Fd[A];return[{title:h.menus.basicTitle,children:i("basic")},{title:h.menus.highTitle,children:i("high")},{title:h.menus.layoutTitle,children:i("layout")},{title:h.menus.assistTitle,children:i("assist")}]},r2=e.defineComponent({__name:"index",setup(n){var S;const A=e.ref(!1),t=Sn(),i=$o(),h=ci(),I=ec(),o=(S=t.templates)!=null&&S.length?t.templates:PE,b=e.computed(()=>o2({elements:i,omits:t.omitMenus||[],lang:I.value})),D=N=>{t.updateSchema(N)},w=N=>{const T={component:N.component,designKey:`design-${Mi(4)}`,name:`form-${Mi(4)}`};return N.type==="layout"&&(T.children=[]),T};return(N,T)=>{const $=e.resolveComponent("el-button"),K=e.resolveComponent("el-space"),Y=e.resolveComponent("el-drawer");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("form-design-left")),style:e.normalizeStyle({overflow:A.value?"hidden":"auto"})},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(je)("template"))},[e.createVNode($,{class:e.normalizeClass(e.unref(je)("template-button")),size:"small",onClick:T[0]||(T[0]=v=>A.value=!0)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(h).menus.useTemplateBtn),1)]),_:1},8,["class"]),e.createVNode(Y,{modelValue:A.value,"onUpdate:modelValue":T[1]||(T[1]=v=>A.value=v),title:"模板列表",size:"70%",class:e.normalizeClass(e.unref(je)("template-drawer")),"append-to-body":!1},{default:e.withCtx(()=>[e.createVNode(K,{wrap:"",direction:"vertical",alignment:"start"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(o),({name:v,schema:Q})=>(e.openBlock(),e.createBlock($,{key:v,onClick:L=>D(Q)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","class"])],2),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,({title:v,children:Q})=>(e.openBlock(),e.createElementBlock("div",{key:v,class:e.normalizeClass(e.unref(je)("menu"))},[e.createElementVNode("h4",{class:e.normalizeClass(e.unref(je)("menu-title"))},e.toDisplayString(v),3),e.createVNode(e.unref(vp),{class:e.normalizeClass(e.unref(je)("menu-list")),list:Q,group:{name:"formDesign",pull:"clone",put:!1},sort:!1,"ghost-class":e.unref(je)("menu-list-ghost"),"drag-class":e.unref(je)("menu-list-drag"),"fallback-class":e.unref(je)("menu-list-fallback"),"item-key":"designKey",clone:w},{item:e.withCtx(({element:L})=>[e.createElementVNode("li",{class:e.normalizeClass(e.unref(je)("menu-list-item"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(je)("menu-list-item-ico"))},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(L.icon),{class:"ico-content"}))],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(je)("menu-list-item-name")),style:e.normalizeStyle({fontSize:e.unref(I)==="zh"?"12px":"10px"})},e.toDisplayString(L.title),7)],2)]),_:2},1032,["class","list","ghost-class","drag-class","fallback-class"])],2))),128))],6)}}}),a2=n=>`<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
  }`,c2=n=>`import type { FormSchema } from "asiaint-lowcode";
179
179
 
180
- export default ${JSON.stringify(n,null,2)} satisfies FormSchema`,g2=n=>`export default ${JSON.stringify(n,null,2)}`,u2=e.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){var w;const A=Sn(),t=ci(),h=(w=$o().JsonEdit)==null?void 0:w.render,I=e.computed({get(){return A.schema},set(S){S.items&&A.updateSchema(S)}}),o=e.ref({}),b=e.useModel(n,"modelValue"),D=S=>{A.updateSchema({...A.schema,items:Gd(A.schema.items)}),S.repair()};return(S,N)=>{const T=e.resolveComponent("el-tab-pane"),$=e.resolveComponent("el-tabs"),K=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(K,{modelValue:b.value,"onUpdate:modelValue":N[1]||(N[1]=Y=>b.value=Y),title:e.unref(t).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:N[2]||(N[2]=Y=>o.value={})},{default:e.withCtx(()=>[e.createVNode($,{"model-value":"edit",class:"demo-tabs"},{default:e.withCtx(()=>[e.createVNode(T,{label:"在线编辑",name:"edit"},{default:e.withCtx(()=>[e.createVNode(e.unref(h),{modelValue:I.value,"onUpdate:modelValue":N[0]||(N[0]=Y=>I.value=Y),style:{height:"70vh"},onBlur:D},null,8,["modelValue"])]),_:1}),e.createVNode(T,{label:"生成ts文件",name:"ts"},{default:e.withCtx(()=>[e.createVNode(e.unref(yr),{style:{height:"70vh"},language:"ts",code:e.unref(c2)(I.value)},null,8,["code"])]),_:1}),e.createVNode(T,{label:"生成js文件",name:"js"},{default:e.withCtx(()=>[e.createVNode(e.unref(yr),{style:{height:"70vh"},language:"js",code:e.unref(g2)(I.value)},null,8,["code"])]),_:1}),e.createVNode(T,{label:"帮助",name:"help"},{default:e.withCtx(()=>[e.createVNode(e.unref(yr),{style:{height:"70vh"},language:"json",code:e.unref(l2)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),d2=e.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Sn(),t=ci(),i=e.useModel(n,"modelValue");return(h,I)=>{const o=e.resolveComponent("el-tab-pane"),b=e.resolveComponent("el-tabs"),D=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(D,{modelValue:i.value,"onUpdate:modelValue":I[0]||(I[0]=w=>i.value=w),title:e.unref(t).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:e.withCtx(()=>[e.createVNode(b,{"model-value":"ts",class:"demo-tabs"},{default:e.withCtx(()=>[e.createVNode(o,{label:"Typescript",name:"ts"},{default:e.withCtx(()=>[e.createVNode(e.unref(yr),{style:{height:"70vh"},code:e.unref(a2)(e.unref(A).schema),language:"vue"},null,8,["code"])]),_:1}),e.createVNode(o,{label:"Javascript",name:"js"},{default:e.withCtx(()=>[e.createVNode(e.unref(yr),{style:{height:"70vh"},code:e.unref(s2)(e.unref(A).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),h2=ge(e.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Sn(),{JsonEdit:t}=$o(),i=e.ref("edit"),h=e.ref(),I=e.ref({}),o=e.useModel(n,"modelValue"),b=e.computed(()=>{var w;return(w=h.value)==null?void 0:w.context}),D=ci();return(w,S)=>{const N=e.resolveComponent("el-tab-pane"),T=e.resolveComponent("el-tabs"),$=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock($,{modelValue:o.value,"onUpdate:modelValue":S[4]||(S[4]=K=>o.value=K),title:e.unref(D).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:S[5]||(S[5]=K=>I.value={})},{default:e.withCtx(()=>[e.createVNode(T,{modelValue:i.value,"onUpdate:modelValue":S[3]||(S[3]=K=>i.value=K)},{default:e.withCtx(()=>[e.createVNode(N,{label:"编辑模式",name:"edit"},{default:e.withCtx(()=>[e.createVNode(e.unref(fn),{modelValue:I.value,"onUpdate:modelValue":S[0]||(S[0]=K=>I.value=K),schema:e.unref(A).schema,ref_key:"formRef",ref:h,schemaContext:e.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"])]),_:1}),e.createVNode(N,{label:"阅读模式",name:"read",lazy:""},{default:e.withCtx(()=>[e.createVNode(e.unref(fn),{modelValue:I.value,"onUpdate:modelValue":S[1]||(S[1]=K=>I.value=K),schema:{...e.unref(A).schema},schemaContext:e.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),e.createVNode(N,{label:"联动变量",name:"context"},{default:e.withCtx(()=>[S[6]||(S[6]=e.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(e.openBlock(),e.createBlock(e.unref(t).render,{modelValue:b.value,"onUpdate:modelValue":S[2]||(S[2]=K=>b.value=K),style:{height:"60vh"},key:i.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-a9d66bb1"]]),p2=e.defineComponent({__name:"ChangeLang",setup(n){const A=e.inject("asiaint-lang");return(t,i)=>{const h=e.resolveComponent("el-option"),I=e.resolveComponent("el-select");return e.openBlock(),e.createBlock(I,{modelValue:e.unref(A),"onUpdate:modelValue":i[0]||(i[0]=o=>e.isRef(A)?A.value=o:null),size:"small"},{default:e.withCtx(()=>[e.createVNode(h,{label:"中文",value:"zh"}),e.createVNode(h,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),B2=e.defineComponent({__name:"index",setup(n){const A=Sn(),t=ci(),i=e.ref(!1),h=e.ref(!1),I=e.ref(!1),o=e.computed(()=>[{label:t.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{i.value=!0}},{label:t.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{h.value=!0}},{label:t.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{I.value=!0}}]),b=e.computed(()=>[{label:t.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await Tt.ElMessageBox.confirm("确认清空当前设计吗?"),A.updateSchema({...A.schema,items:[]})}},{label:t.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{A.handleEmit("save"),A.handleEmit("onSave")}}]);return(D,w)=>{const S=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("actions"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(je)("actions-left"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,N=>(e.openBlock(),e.createBlock(S,{key:N.label,type:N.btnType,size:"small",onClick:N.onClick},e.createSlots({default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(N.label),1)]),_:2},[N.icon?{name:"icon",fn:e.withCtx(()=>[e.createVNode(e.unref(be),{name:N.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),e.createVNode(p2,{class:e.normalizeClass(e.unref(je)("actions-left-lang"))},null,8,["class"])],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(je)("actions-right"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,({label:N,btnType:T,icon:$,onClick:K})=>(e.openBlock(),e.createBlock(S,{key:N,type:T,size:"small",onClick:K},e.createSlots({default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(N),1)]),_:2},[$?{name:"icon",fn:e.withCtx(()=>[e.createVNode(e.unref(be),{name:$},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),e.createVNode(u2,{modelValue:i.value,"onUpdate:modelValue":w[0]||(w[0]=N=>i.value=N)},null,8,["modelValue"]),e.createVNode(d2,{modelValue:h.value,"onUpdate:modelValue":w[1]||(w[1]=N=>h.value=N)},null,8,["modelValue"]),e.createVNode(h2,{modelValue:I.value,"onUpdate:modelValue":w[2]||(w[2]=N=>I.value=N),"schema-context":e.unref(A).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),C2=e.defineComponent({__name:"index",setup(n){const A=Sn();return(t,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("form-design-center"))},[e.createVNode(B2),e.createVNode(e.unref(fn),{class:e.normalizeClass(e.unref(je)("canvas")),schema:e.unref(A).schema,"onUpdate:schema":i[0]||(i[0]=h=>e.unref(A).schema=h),design:""},null,8,["class","schema"])],2))}}),m2=()=>({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:"联动字段"}}]}),E2=e.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Sn(),t=e.useModel(n,"modelValue");return(i,h)=>{const I=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(I,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":h[1]||(h[1]=o=>t.value=o),top:"3vh",title:"值联动"},{default:e.withCtx(()=>[e.createVNode(e.unref(fn),{modelValue:e.unref(A).current,"onUpdate:modelValue":h[0]||(h[0]=o=>e.unref(A).current=o),schema:e.unref(m2)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),Q2={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},I2={class:"config-linkages"},f2=ge(e.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Sn(),t=e.useModel(n,"modelValue");return e.ref({}),(i,h)=>{var o;const I=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(I,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":h[1]||(h[1]=b=>t.value=b),top:"3vh",title:`${(o=e.unref(A).current)==null?void 0:o.label} - 配置级联动`,width:"70vw",center:""},{default:e.withCtx(()=>[e.createElementVNode("div",I2,[e.createVNode(e.unref(fn),{modelValue:e.unref(A).current,"onUpdate:modelValue":h[0]||(h[0]=b=>e.unref(A).current=b),schema:e.unref(Q2),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-e4ab3ef4"]]),w2=e.defineComponent({__name:"index",setup(n){const A=ci(),t=e.ref(!1),i=e.ref(!1),h=e.computed(()=>[{title:A.value.attr.tab1.linkage.action1,onClick:()=>{t.value=!0}},{title:A.value.attr.tab1.linkage.action2,onClick:()=>{i.value=!0}}]);return(I,o)=>{const b=e.resolveComponent("el-divider"),D=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("linkageConfig"))},[e.createVNode(b,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(A).attr.tab1.linkage.text),1)]),_:1}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(je)("linkageConfig-btns"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,({title:w,onClick:S})=>(e.openBlock(),e.createBlock(D,{key:w,type:"primary",plain:"",size:"small",onClick:S},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w),1)]),_:2},1032,["onClick"]))),128))],2),e.createVNode(f2,{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=w=>t.value=w)},null,8,["modelValue"]),e.createVNode(E2,{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=w=>i.value=w)},null,8,["modelValue"])],2)}}}),b2={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"}]},D2={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"}]},y2={class:"more"},v2=e.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=e.ref(!1);return(i,h)=>{const I=e.resolveComponent("el-divider"),o=e.resolveComponent("el-button"),b=e.resolveComponent("el-drawer");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("style-config"))},[e.createVNode(I,null,{default:e.withCtx(()=>h[4]||(h[4]=[e.createTextVNode("组件样式")])),_:1}),e.createVNode(e.unref(fn),{modelValue:A.value,"onUpdate:modelValue":h[0]||(h[0]=D=>A.value=D),schema:e.unref(b2),ref:"formRef"},null,8,["modelValue","schema"]),e.createElementVNode("div",y2,[e.createVNode(o,{type:"primary",plain:"",size:"small",onClick:h[1]||(h[1]=D=>t.value=!0)},{default:e.withCtx(()=>h[5]||(h[5]=[e.createTextVNode("自定义更多样式")])),_:1})]),e.createVNode(b,{modelValue:t.value,"onUpdate:modelValue":h[3]||(h[3]=D=>t.value=D),title:"组件样式"},{default:e.withCtx(()=>[e.createVNode(e.unref(fn),{modelValue:A.value,"onUpdate:modelValue":h[2]||(h[2]=D=>A.value=D),schema:e.unref(D2),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),k2=e.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=$o(),t=ec(),i=e.useModel(n,"modelValue"),h=e.computed(()=>{const o=A[i.value.component];if(o!=null&&o.attrSchema){const b=(w=[])=>w.map(S=>{const N=Ca(i.value,S.name),T=ht.isString(N)&&/^{{\s*(.*?)\s*}}$/.test(N);return{...S,label:t.value==="zh"?S.label:S.name.split(".").pop(),component:T?"Input":S.component,dialog:T||S.dialog,children:S.children&&b(S.children)}}),D=b(o.attrSchema.items);return{...o.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:o.title,style:{marginBottom:"10px"}}},...D]}}return{size:"small",labelPosition:"top",items:[]}}),I=e.computed({get(){var o;return((o=i.value)==null?void 0:o.props)||{}},set(o){i.value=vo(i.value,"props",o)}});return(o,b)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("attr"))},[(e.openBlock(),e.createBlock(e.unref(fn),{key:i.value.designKey,modelValue:i.value,"onUpdate:modelValue":b[0]||(b[0]=D=>i.value=D),schema:h.value},null,8,["modelValue","schema"])),(e.openBlock(),e.createBlock(v2,{key:i.value.designKey,modelValue:I.value,"onUpdate:modelValue":b[1]||(b[1]=D=>I.value=D)},null,8,["modelValue"])),e.createVNode(w2,{modelValue:i.value,"onUpdate:modelValue":b[2]||(b[2]=D=>i.value=D)},null,8,["modelValue"])],2))}}),_2={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:"表单组件尺寸",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"}]},M2=e.defineComponent({__name:"FormEdit",setup(n){const A=Sn(),t=e.computed({get(){return A.schema},set(i){A.updateSchema(i)}});return(i,h)=>(e.openBlock(),e.createBlock(e.unref(fn),{modelValue:t.value,"onUpdate:modelValue":h[0]||(h[0]=I=>t.value=I),schema:e.unref(_2)},null,8,["modelValue","schema"]))}}),x2=e.defineComponent({__name:"index",setup(n){const A=ci(),t=Sn();return e.watch(()=>t.current,i=>{i||(t.rightTab="form")}),(i,h)=>{const I=e.resolveComponent("el-tab-pane"),o=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("form-design-right"))},[e.createVNode(o,{modelValue:e.unref(t).rightTab,"onUpdate:modelValue":h[1]||(h[1]=b=>e.unref(t).rightTab=b)},{default:e.withCtx(()=>[e.unref(t).current?(e.openBlock(),e.createBlock(I,{key:0,label:e.unref(A).attr.tab1.title,name:"attr"},{default:e.withCtx(()=>[e.createVNode(k2,{modelValue:e.unref(t).current,"onUpdate:modelValue":h[0]||(h[0]=b=>e.unref(t).current=b)},null,8,["modelValue"])]),_:1},8,["label"])):e.createCommentVNode("",!0),e.createVNode(I,{label:e.unref(A).attr.tab2.title,name:"form"},{default:e.withCtx(()=>[e.createVNode(M2)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),wB=e.defineComponent({__name:"index",props:e.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:e.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:e.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(n,{emit:A}){const t=n,i=A,h=e.ref(""),I=e.useModel(n,"modelValue"),o=e.computed({get(){return I.value.items},set(w){I.value.items=w}}),b=e.computed({get(){return Ac(o.value,h.value)},set(w){h.value=w.designKey,o.value=Nd(o.value,w)}}),D=e.reactive({...e.toRefs(t),currentKey:h,hoverKey:"",schema:I,current:b,list:o,rightTab:"form",updateCurrent(w){D.current=w},updateHoverKey(w){D.hoverKey=w},updateSchema:w=>{Object.assign(I.value,w)},updateList:w=>{o.value=w},handleEmit:(w,S)=>{i(w,S)}});return e.provide(Sd,D),(w,S)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(je)("form-design")},w.$attrs),[e.createVNode(r2),e.createVNode(C2),e.createVNode(x2)],16))}}),S2={class:"card-header"},F2={class:"card-btns"},N2={key:0,class:"switch-panel"},R2=ge(e.defineComponent({__name:"CardWrapper",props:{collapsible:{type:Boolean},header:{},btns:{},tableType:{default:"table"},typeSwitch:{type:Boolean,default:!1},switchTableType:{},shadowless:{type:Boolean}},setup(n){const A=n,t=e.ref(!1),i=e.computed(()=>A.btns?A.btns.map(h=>({isLinkBtn:!0,...h})):[]);return(h,I)=>{const o=e.resolveComponent("el-collapse-transition"),b=e.resolveComponent("ElCard");return e.openBlock(),e.createBlock(b,e.mergeProps(h.$attrs,{class:["crm-card",{collapsed:t.value,shadowless:h.shadowless}],shadow:"never"}),{header:e.withCtx(()=>[e.createElementVNode("div",S2,[h.collapsible?(e.openBlock(),e.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:I[0]||(I[0]=D=>t.value=!t.value)},[e.createVNode(e.unref(be),{name:"dropdown",class:e.normalizeClass(["dropdown-icon",{"is-collapsed":t.value}])},null,8,["class"])])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(h.header),1),e.createElementVNode("div",F2,[h.typeSwitch?(e.openBlock(),e.createElementBlock("div",N2,[e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:h.tableType==="card"}]),onClick:I[1]||(I[1]=D=>h.switchTableType("card"))},[e.createVNode(ze,{name:"icon-kapian"})],2),e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:h.tableType==="table"}]),onClick:I[2]||(I[2]=D=>h.switchTableType("table"))},[e.createVNode(ze,{name:"icon-biaoge"})],2)])):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.createVNode(e.unref(so),{btns:i.value||[]},null,8,["btns"])])])])]),default:e.withCtx(()=>[e.createVNode(o,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.renderSlot(h.$slots,"default",{},void 0,!0)],512),[[e.vShow,!t.value]])]),_:3})]),_:3},16,["class"])}}}),[["__scopeId","data-v-3bf3fee7"]]),L2={class:"empty-content"},G2=["title"],P2=["title","onClick"],H2={key:1,class:"icon-text-wrapper"},K2=["title"],T2=["title"],U2={class:"row-btn-wrapper"},bB=ge(e.defineComponent({__name:"TableContent",props:e.mergeModels({tableData:{},total:{},hasVisibleRowBtn:{type:Boolean},handleSizeChange:{type:Function},handlePageChange:{type:Function},handleRowClick:{type:Function},handleRowDblclick:{type:Function},handleSelectionChange:{type:Function},handleCurrentChange:{type:Function},getColText:{type:Function},getGlobalParams:{type:Function},handleClick:{type:Function},schema:{},selectable:{type:Function},getIconInfo:{type:Function}},{pagination:{required:!0},paginationModifiers:{}}),emits:["update:pagination"],setup(n,{expose:A}){const t=e.useModel(n,"pagination"),i=e.useTemplateRef("tableRef");return A({tableRef:i}),(h,I)=>{const o=e.resolveComponent("el-table-column"),b=e.resolveComponent("el-tooltip"),D=e.resolveComponent("el-button"),w=e.resolveComponent("FormItemGroup"),S=e.resolveComponent("el-popover"),N=e.resolveComponent("el-table"),T=e.resolveComponent("el-pagination");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["table-render",{tableBorder:h.schema.displayType==="table"}])},[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(N,{ref_key:"tableRef",ref:i,data:h.tableData,stripe:h.schema.stripe,"highlight-current-row":"","row-key":h.schema.rowKey,onRowClick:h.handleRowClick,onRowDblclick:h.handleRowDblclick,onSelectionChange:h.handleSelectionChange,onCurrentChange:h.handleCurrentChange,height:h.schema.height},{empty:e.withCtx(()=>[e.createElementVNode("div",L2,[e.createVNode(e.unref(be),{name:"tableEmpty",style:{width:56,height:56}}),I[2]||(I[2]=e.createElementVNode("div",null,"No data available,please check",-1))])]),default:e.withCtx(()=>{var $;return[h.schema.multipleSelection?(e.openBlock(),e.createBlock(o,{key:0,type:"selection",width:"55",selectable:h.selectable},null,8,["selectable"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.schema.columns,K=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:K.key},[K.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(o,{key:0,prop:K.key,"min-width":K.minWidth,fixed:K.fixed||!1},{header:e.withCtx(()=>[e.createElementVNode("div",{class:"text-ellipsis",title:K.label},e.toDisplayString(K.label),9,G2)]),default:e.withCtx(({row:Y,$index:v})=>{var Q,L;return[K.type==="link"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["text-ellipsis link-style",{"click-style":K.onClick}]),title:h.getColText(K,Y),onClick:k=>h.handleClick(K,Y,v)},e.toDisplayString(h.getColText(K,Y)),11,P2)):K.type==="iconText"?(e.openBlock(),e.createElementBlock("div",H2,[e.createVNode(ze,{name:(Q=h.getIconInfo(K,Y))==null?void 0:Q.name,color:(L=h.getIconInfo(K,Y))==null?void 0:L.color},null,8,["name","color"]),e.createElementVNode("span",{class:"text-ellipsis",title:h.getColText(K,Y)},e.toDisplayString(h.getColText(K,Y)),9,K2)])):(e.openBlock(),e.createElementBlock("div",{key:2,class:"text-ellipsis",title:h.getColText(K,Y)},e.toDisplayString(h.getColText(K,Y)),9,T2))]}),_:2},1032,["prop","min-width","fixed"]))],64))),128)),h.hasVisibleRowBtn&&(($=h.schema.rowBtns)!=null&&$.length)?(e.openBlock(),e.createBlock(o,{key:1,label:"Action",fixed:"right",align:"left"},{default:e.withCtx(({row:K,$index:Y})=>[e.createElementVNode("div",U2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.schema.rowBtns,v=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:v.key},[v.component==="Popover"?(e.openBlock(),e.createBlock(S,{key:0},{reference:e.withCtx(()=>[v.condition===void 0||v.condition===null||e.unref(sn)(v.condition,{$row:K,$globalParams:h.getGlobalParams()})?(e.openBlock(),e.createBlock(D,{key:0,disabled:v.disabled,link:"",size:"small",type:v.type,onClick:Q=>h.handleClick(v,K,Y)},{default:e.withCtx(()=>[e.createVNode(b,{class:"box-item",effect:"dark",content:v.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:e.withCtx(()=>[v.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:v.icon.name,color:v.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(w,{list:v.children},null,8,["list"])])]),_:2},1024)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[v.condition===void 0||v.condition===null||e.unref(sn)(v.condition,{$row:K,$globalParams:h.getGlobalParams()})?(e.openBlock(),e.createBlock(D,{key:0,disabled:v.disabled,link:"",size:"small",type:v.type,onClick:Q=>h.handleClick(v,K,Y)},{default:e.withCtx(()=>[e.createVNode(b,{class:"box-item",effect:"dark",content:v.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:e.withCtx(()=>[v.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:v.icon.name,color:v.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)],64))],64))),128))])]),_:1})):e.createCommentVNode("",!0)]}),_:1},8,["data","stripe","row-key","onRowClick","onRowDblclick","onSelectionChange","onCurrentChange","height"])],512),[[e.vShow,h.schema.displayType==="table"]]),e.withDirectives(e.createVNode(tc,e.mergeProps(h.schema,{data:h.tableData,"get-col-text":h.getColText}),null,16,["data","get-col-text"]),[[e.vShow,h.schema.displayType==="card"]]),e.createElementVNode("div",{class:e.normalizeClass(["pagination-wrapper",{hidePagination:h.schema.hiddenPagination||h.tableData.length===0,cardlistPadding:h.schema.displayType==="card"}])},[e.createVNode(T,{layout:"total,sizes, prev, pager, next,jumper",total:h.total,"page-sizes":h.schema.pageSizes||[5,10,20,30,40],"default-page-size":h.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":I[0]||(I[0]=$=>t.value.pageNum=$),"page-size":t.value.pageSize,"onUpdate:pageSize":I[1]||(I[1]=$=>t.value.pageSize=$),"pager-count":h.schema.pagerCount,onSizeChange:h.handleSizeChange,onCurrentChange:h.handlePageChange},null,8,["total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)],2)}}}),[["__scopeId","data-v-842ede71"]]),Y2=["id"],og=e.defineComponent({__name:"index",props:e.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(n,{expose:A}){const t=n,i=e.useModel(n,"schema"),h=e.computed(()=>i.value.rulePath&&I[i.value.rulePath]?i.value.rulePath:t.pageRulePath),I=e.inject("ruleMap",{}),o=e.inject("pageMethodMap",{}),b=e.inject("getGlobalParams",()=>{}),D=e.inject(jn),w=D?D.translateFn:null;h.value&&e.provide("ruleModule",I[h.value]);const S=e.useTemplateRef("tableContentRef"),N=e.useModel(n,"modelValue"),T=(iA,CA)=>{const j=i.value.columns.find(sA=>sA.key===iA);j&&(j.hidden=!CA)},$=(iA,CA,j)=>{if(h.value)try{I[h.value][iA.onClick](o,CA,j)}catch(sA){console.error(sA)}},K=iA=>{if(!(!i.value.rowClick||!h.value))try{I[h.value][i.value.rowClick](o,iA)}catch(CA){console.error(CA)}},Y=iA=>{if(!(!i.value.rowDbClick||!h.value))try{I[h.value][i.value.rowDbClick](o,iA)}catch(CA){console.error(CA)}},v=e.ref([]),Q=iA=>{v.value=iA},L=(iA,CA)=>{if(!i.value.selectable||!h.value)return!0;try{return I[h.value][i.value.selectable](o,iA,CA)}catch(j){console.error(j)}return!0},k=(iA,CA,j)=>{N.value[iA]&&(N.value[iA][CA]=j)},y=()=>{var iA,CA;(CA=(iA=S.value)==null?void 0:iA.tableRef)==null||CA.clearSelection()},m=()=>N.value,p=e.ref(),u=iA=>{if(p.value=iA,!(!i.value.handleCurrentChange||!h.value))try{I[h.value][i.value.handleCurrentChange](o,iA)}catch(CA){console.error(CA)}},s=()=>p.value,g=()=>{var iA,CA;return(CA=(iA=S.value)==null?void 0:iA.tableRef)==null?void 0:CA.getSelectionRows()},l=(iA={})=>{N.value.push(iA)},d=iA=>{iA>=0&&iA<N.value.length&&N.value.splice(iA,1)},B=async()=>{N.value=[...N.value]},a=async()=>!0,r=iA=>{N.value=iA},C=(iA,CA)=>{var sA;const j=(sA=i.value.topBtns)==null?void 0:sA.find(gA=>gA.key===iA);j&&(j.hidden=CA)},E=(iA,CA)=>{var sA;const j=(sA=i.value.rowBtns)==null?void 0:sA.find(gA=>gA.key===iA);j&&(j.condition=!CA)},M=e.computed(()=>!i.value.rowBtns||i.value.rowBtns.length===0||!N.value||N.value.length===0?!1:N.value.some(iA=>{var CA;return(CA=i.value.rowBtns)==null?void 0:CA.some(j=>j.condition===void 0||j.condition===null?!0:sn(j.condition,{$row:iA,$globalParams:b()}))})),x=e.ref(0),P=iA=>{x.value=iA},G=e.ref({pageNum:1,pageSize:i.value.defaultPageSize||5}),J=()=>G.value,q=iA=>{let CA=!1;return iA.pageNum!==void 0&&iA.pageNum>-1&&(G.value.pageNum!==iA.pageNum&&(CA=!0),G.value.pageNum=iA.pageNum),iA.pageSize!==void 0&&iA.pageSize>-1&&(G.value.pageSize!==iA.pageSize&&(CA=!0),G.value.pageSize=iA.pageSize),{pagination:G.value,isChange:CA}},W=async iA=>{if(G.value.pageNum=1,G.value.pageSize=iA,!i.value.sizeChange||!h.value)return;const CA=Tt.ElLoading.service({target:`#${i.value.key}`,text:"Loading..."});try{await I[h.value][i.value.sizeChange](o,G.value)}catch(j){console.error(j)}finally{CA.close()}},z=async iA=>{if(G.value.pageNum=iA,!i.value.pageChange||!h.value)return;const CA=Tt.ElLoading.service({target:`#${i.value.key}`,text:"Loading..."});try{await I[h.value][i.value.pageChange](o,G.value)}catch(j){console.error(j)}finally{CA.close()}},eA=iA=>{var CA,j;(j=(CA=S.value)==null?void 0:CA.tableRef)==null||j.setCurrentRow(iA)},_=iA=>{var CA,j;(j=(CA=S.value)==null?void 0:CA.tableRef)==null||j.setCurrentRow(N.value[iA])},V=(iA,CA,j)=>{i.value.columns.forEach(sA=>{sA.key===iA&&sA[CA]&&(sA[CA]=j)})},H=iA=>{i.value.displayType=iA},AA=iA=>{i.value.shadowless=iA},aA=(iA,CA)=>{const j=w?w(iA.key,CA):CA[iA.key];if(!sn(iA.encrypted,{$row:CA,$col:iA})||!j)return j;const gA=`${j}`;return gA.length<=4?"*".repeat(gA.length):gA.slice(0,-4)+"****"},oA=(iA,CA)=>{if(!(!iA.getIconInfo||!h.value))try{return I[h.value][iA.getIconInfo](o,CA,iA)}catch(j){console.error(j)}},dA=e.useTemplateRef("rootRef");i.value.displayType||(i.value.displayType=i.value.typeSwitch?"card":"table"),e.onMounted(async()=>{if(!i.value||!i.value.onMounted||!h.value)return;await e.nextTick();const iA=i.value.onMounted;try{I[h.value][iA](o)}catch(CA){console.error(CA)}}),e.onActivated(()=>{if(!i.value||!i.value.onActivated||!h.value)return;const iA=i.value.onActivated;try{I[h.value][iA](o)}catch(CA){console.error(CA)}});const pA=e.readonly({...e.toRefs(t),setCellData:k,clearSelection:y,getData:m,getCurrentRow:s,getSelectedRows:g,addRow:l,deleteRow:d,refresh:B,validate:a,setData:r,selectRow:eA,selectRowNum:_,setTotal:P,getPagination:J,setPagination:q,setTopBtnHidden:C,setColVisible:T,setColumn:V,setRowsBtnHidden:E,setShadowless:AA,rootRef:dA,type:"table"});return A(pA),(iA,CA)=>i.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"rootRef",ref:dA,id:i.value.key},[i.value.cardless?(e.openBlock(),e.createBlock(bB,{key:1,ref_key:"tableContentRef",ref:S,tableData:N.value,total:x.value,hasVisibleRowBtn:M.value,handleSizeChange:W,handlePageChange:z,handleRowClick:K,handleRowDblclick:Y,handleSelectionChange:Q,handleCurrentChange:u,getColText:aA,getGlobalParams:e.unref(b),handleClick:$,selectable:L,schema:i.value,getIconInfo:oA,pagination:G.value,"onUpdate:pagination":CA[1]||(CA[1]=j=>G.value=j)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])):(e.openBlock(),e.createBlock(R2,{key:0,header:i.value.title,btns:i.value.topBtns,collapsible:i.value.collapsible!==!1,switchTableType:H,tableType:i.value.displayType,typeSwitch:i.value.typeSwitch,shadowless:i.value.shadowless},{default:e.withCtx(()=>[e.createVNode(bB,{ref_key:"tableContentRef",ref:S,tableData:N.value,total:x.value,hasVisibleRowBtn:M.value,handleSizeChange:W,handlePageChange:z,handleRowClick:K,handleRowDblclick:Y,handleSelectionChange:Q,handleCurrentChange:u,getColText:aA,getGlobalParams:e.unref(b),handleClick:$,selectable:L,schema:i.value,getIconInfo:oA,pagination:G.value,"onUpdate:pagination":CA[0]||(CA[0]=j=>G.value=j)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],8,Y2))}}),O2=["id"],$2={class:"tab-label"},J2={class:"tab-label-text"},z2={key:0,class:"divider"},Z2=ge(e.defineComponent({__name:"index",props:e.mergeModels({ruleMap:{},pageParams:{}},{schema:{required:!0},schemaModifiers:{}}),emits:e.mergeModels(["addPageParams"],["update:schema"]),setup(n,{expose:A,emit:t}){const i=e.useModel(n,"schema"),h=e.ref({}),I=t,o=e.ref({}),b=Q=>L=>{L?o.value[Q]=L:delete o.value[Q]},D=e.computed(()=>{var Q;return(Q=i.value.content.find(L=>L.url===N.value))==null?void 0:Q.mixMode}),w=Q=>{i.value.content=Q},S=Q=>{Array.isArray(Q)?i.value.content.push(...Q):i.value.content.push(Q)},N=e.ref(i.value.content[0].url),T=Q=>{h.value[Q]=!0,e.nextTick(()=>{h.value[Q]=!1})},$=e.useTemplateRef("rootRef"),K=Q=>o.value[Q],Y=(Q,L)=>{L&&I("addPageParams",L),N.value=Q},v=(Q,L)=>{const k=i.value.content.find(y=>y.url===Q);k&&(k.mixMode=L)};return A(e.readonly({setTabContent:w,addTabContent:S,schema:i,rootRef:$,findRef:K,changeActiveTab:Y,type:"tabs"})),(Q,L)=>{var p,u,s;const k=e.resolveComponent("el-skeleton"),y=e.resolveComponent("el-tab-pane"),m=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:$,id:i.value.key},[i.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(m,e.mergeProps({key:0},i.value.tabProps,{modelValue:N.value,"onUpdate:modelValue":L[0]||(L[0]=g=>N.value=g),class:["crm-tabs",{mixmode:D.value}],style:{"--top":(p=i.value)!=null&&p.stickyTop?`${(u=i.value)==null?void 0:u.stickyTop}px`:"110px","--is-sticky":(s=i.value)!=null&&s.isSticky?"sticky":"static"}}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.content,(g,l)=>(e.openBlock(),e.createBlock(y,{name:g.url,key:g.url,lazy:l!==0},{label:e.withCtx(()=>[e.createElementVNode("div",$2,[e.createElementVNode("span",J2,e.toDisplayString(g.label),1),l!==i.value.content.length-1?(e.openBlock(),e.createElementBlock("span",z2)):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[h.value[l]?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(rg,{key:0,pageUrl:g.url,"rule-map":Q.ruleMap,"page-params":{...Q.pageParams,...g.pageParams},ref_for:!0,ref:b(g.url),onRefresh:d=>T(l),onChangeTab:Y,onChangeMixMode:v},{loading:e.withCtx(()=>[e.createVNode(k,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","onRefresh"]))]),_:2},1032,["name","lazy"]))),128))]),_:1},16,["modelValue","style","class"]))],8,O2)}}}),[["__scopeId","data-v-6b0a34ca"]]),W2=["id"],j2={class:"info-card-header"},q2={class:"left-part"},X2={class:"title-part"},V2={class:"sub-title-container"},A8={class:"sub-title"},e8={class:"right-part"},t8={class:"info"},n8={class:"info-label"},i8={class:"ml-2"},o8={class:"info-card-detail"},r8={class:"info-card-detail-left"},a8={class:"label"},s8={key:0,class:"divider"},l8={key:0,class:"info-card-detail-right"},c8={class:"detail-right-label"},g8={class:"detail-right-value"},u8=ge(e.defineComponent({__name:"InfoCard",props:e.mergeModels({pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const t=e.useModel(n,"schema"),i=e.inject("ruleMap",{}),h=n,I=e.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[h.pageRulePath]);e.provide("ruleModule",I.value);const o=e.inject("pageMethodMap",{}),b=S=>{const N=document.createElement("textarea");N.value=S??"",N.style.position="absolute",N.style.opacity="0",document.body.appendChild(N),N.select(),document.execCommand("copy"),N.remove()},D=async()=>{try{await navigator.clipboard.writeText(t.value.header.subTitle)}catch(S){console.error("Clipboard API error:",S),b(t.value.header.subTitle)}Tt.ElMessage.success("Copy Successful")},w=S=>{var N;if(I.value[S||"clickTitleIcon"])try{I.value[S||"clickTitleIcon"](o,(N=t.value.header)==null?void 0:N.titleIcon)}catch(T){console.error(T)}};return e.onMounted(async()=>{if(!t.value||!t.value.rulePath||!t.value.onMounted)return;const S=t.value.onMounted;try{I.value[S](o)}catch(N){console.error(N)}}),e.onActivated(()=>{if(!t.value||!t.value.rulePath||!t.value.onActivated)return;const S=t.value.onActivated;try{I.value[S](o)}catch(N){console.error(N)}}),A({type:"infocard",schema:t}),(S,N)=>{const T=e.resolveComponent("el-scrollbar");return t.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"info-card-container",id:t.value.key},[e.createVNode(T,{class:"info-card",always:""},{default:e.withCtx(()=>{var $,K,Y,v,Q,L,k,y,m;return[e.createElementVNode("div",j2,[e.createElementVNode("div",q2,[e.createElementVNode("div",{class:"avatar",style:e.normalizeStyle(t.value.header.avatarBgColor?{backgroundColor:t.value.header.avatarBgColor}:{})},[e.createVNode(ze,{name:($=t.value.header)==null?void 0:$.avatar,color:(K=t.value.header)==null?void 0:K.avatarIconColor},null,8,["name","color"])],4),e.createElementVNode("div",X2,[e.createElementVNode("div",{class:"title",style:e.normalizeStyle(t.value.header.titleColor?{color:t.value.header.titleColor}:{})},[e.createElementVNode("span",{class:e.normalizeClass((Y=t.value.header)!=null&&Y.titleClick?"cursor-pointer":""),onClick:N[0]||(N[0]=p=>{var u;return w((u=t.value.header)==null?void 0:u.titleClick)})},e.toDisplayString((v=t.value.header)==null?void 0:v.title),3),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Q=t.value.header)==null?void 0:Q.titleIcons,(p,u)=>(e.openBlock(),e.createBlock(ze,{key:u,name:p.icon,class:"title-icon",size:"large",onClick:s=>w(p.onClick)},null,8,["name","onClick"]))),128)),e.createVNode(e.unref(so),{class:"title-icon",btns:(L=t.value.header)==null?void 0:L.btns},null,8,["btns"])],4),e.createElementVNode("div",V2,[e.createElementVNode("span",A8,e.toDisplayString((k=t.value.header)==null?void 0:k.subTitlePrefix)+e.toDisplayString((y=t.value.header)==null?void 0:y.subTitle),1),e.createVNode(ze,{name:"icon-fuzhi",class:"copy-icon",onClick:D}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((m=t.value.header)==null?void 0:m.subTitleIcons,(p,u)=>{var s,g;return e.openBlock(),e.createBlock(ze,{key:u,name:(s=p.icon)==null?void 0:s.name,color:(g=p.icon)==null?void 0:g.color,class:"title-icon ml-2 cursor-pointer",onClick:l=>w(p.onClick)},null,8,["name","color","onClick"])}),128))])])]),e.createElementVNode("div",e8,[e.createElementVNode("div",t8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.infos,p=>(e.openBlock(),e.createElementBlock("div",{key:p.key,class:"info-item"},[e.createElementVNode("span",n8,e.toDisplayString(p.label)+": ",1),e.createElementVNode("span",{class:e.normalizeClass(["info-value",p.type])},e.toDisplayString(p.value||"-"),3),e.createElementVNode("div",i8,[p.expendComponents?(e.openBlock(),e.createBlock(e.unref(Wt),{key:0,class:"expend-components",list:p.expendComponents},null,8,["list"])):e.createCommentVNode("",!0)])]))),128))]),e.createVNode(e.unref(so),{btns:t.value.btns},null,8,["btns"]),e.createVNode(e.unref(W_),{dropdowns:t.value.dropdowns},null,8,["dropdowns"])])]),e.createElementVNode("div",o8,[e.createElementVNode("div",r8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.detail,(p,u)=>(e.openBlock(),e.createElementBlock("div",{key:p.label,class:"detail-item"},[e.createElementVNode("div",null,[e.createElementVNode("div",a8,e.toDisplayString(p.label),1),e.createElementVNode("div",{class:"value",style:e.normalizeStyle(p.color?{color:p.color}:{})},e.toDisplayString(p.value||"- -"),5)]),u!==t.value.detail.length-1?(e.openBlock(),e.createElementBlock("div",s8)):e.createCommentVNode("",!0)]))),128))]),t.value.bottomRightDetail?(e.openBlock(),e.createElementBlock("div",l8,[e.createElementVNode("div",c8,e.toDisplayString(t.value.bottomRightDetail.label),1),e.createElementVNode("div",g8,e.toDisplayString(t.value.bottomRightDetail.value),1)])):e.createCommentVNode("",!0)])]}),_:1})],8,W2))}}}),[["__scopeId","data-v-aa9bccdb"]]),d8=["id"],h8={class:"left-part"},p8={class:"nav-title"},B8=["onClick"],C8={class:"nav-footer"},m8={class:"left-actions"},E8=["onClick"],Q8={class:"footer-text"},I8={key:1,class:"divider"},f8={class:"right-actions"},w8=ge(e.defineComponent({__name:"NavBar",props:e.mergeModels({pageRulePath:{},findRef:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const t=e.useModel(n,"schema"),i=e.computed(()=>(t.value.leftActions||[]).filter(T=>!T.hidden)),h=e.inject("ruleMap",{}),I=e.inject("pageMethodMap",{}),o=n,b=e.computed(()=>t.value.rulePath&&h[t.value.rulePath]?h[t.value.rulePath]:h[o.pageRulePath]);e.provide("ruleModule",b.value);const D=T=>{if(T&&b.value)try{b.value[T](I)}catch($){console.error($)}},w=e.inject(jn),S=()=>{w&&w.navigateFn&&w.navigateFn(-1)},N=T=>{const $=o.findRef(T);if($&&$.rootRef)$.rootRef.scrollIntoView({behavior:"smooth",block:"center"});else{const K=document.getElementById(T);K&&K.scrollIntoView({behavior:"smooth",block:"center"})}};return A({type:"navbar",schema:t}),(T,$)=>t.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["nav-bar",{mixmode:t.value.mixMode,simple:t.value.simple,"no-sticky":t.value.noSticky}]),style:e.normalizeStyle(t.value.top?{top:`${t.value.top}px`}:{}),id:t.value.key},[t.value.title||t.value.btns?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["nav-header",{mb10:t.value.content&&t.value.content.length>0||t.value.leftActions&&t.value.leftActions.length>0}])},[e.createElementVNode("div",h8,[t.value.back?(e.openBlock(),e.createBlock(ze,{key:0,name:"icon-back",class:"back-icon",onClick:S})):e.createCommentVNode("",!0),e.createElementVNode("div",p8,e.toDisplayString(t.value.title),1)]),e.createElementVNode("div",null,[e.createVNode(e.unref(so),{btns:t.value.btns||[]},null,8,["btns"])])],2)):e.createCommentVNode("",!0),t.value.content&&t.value.content.length>0?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["steps",{mb8:i.value.length>0||(t.value.footerBtns||[]).length>0}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.content,(K,Y)=>(e.openBlock(),e.createElementBlock("div",{key:Y,class:e.normalizeClass(["hexagon",{"first-item":Y===0,"middle-item":Y>0&&Y<t.value.content.length-1,"last-item":Y===t.value.content.length-1}]),onClick:v=>N(K.ref)},[e.createElementVNode("span",null,e.toDisplayString(K.text),1)],10,B8))),128))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",C8,[e.createElementVNode("div",m8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(K,Y)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:K.key},[K.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,onClick:v=>D(K.onClick),class:"footer-item"},[K.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:K.icon.name,color:K.icon.color,class:"footer-icon"},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",Q8,e.toDisplayString(K.text),1),Y!==i.value.length-1?(e.openBlock(),e.createElementBlock("div",I8)):e.createCommentVNode("",!0)],8,E8))],64))),128))]),e.createElementVNode("div",f8,[e.createVNode(e.unref(so),{btns:t.value.footerBtns||[]},null,8,["btns"])])])],14,d8))}}),[["__scopeId","data-v-d89ed427"]]),b8=["onClick"],D8={key:1},y8=ge(e.defineComponent({__name:"AlertRender",props:e.mergeModels({pageRulePath:{},pageUrl:{},pageEmit:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const t=e.useModel(n,"schema"),i=e.inject("ruleMap",{}),h=e.inject("pageMethodMap",{}),I=n,o=e.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[I.pageRulePath]);e.provide("ruleModule",o.value);const b=(N,T)=>{try{o.value[N](h,T)}catch($){console.error($)}},D=()=>{if(I.pageEmit("changeMixMode",I.pageUrl,!1),!!t.value.onClose)try{o.value[t.value.onClose](h)}catch(N){console.error(N)}},w=e.computed(()=>{const N=/\{(\d+)\}/g,T=[];let $=0,K;for(;(K=N.exec(t.value.description))!==null;)K.index>$&&T.push({type:"text",value:t.value.description.slice($,K.index)}),T.push({type:"value",index:Number(K[1])}),$=N.lastIndex;return $<t.value.description.length&&T.push({type:"text",value:t.value.description.slice($)}),T}),S=e.computed(()=>t.value.type?{primary:{name:"icon-tishitubiao",color:"#18aaf8"},success:{name:"icon-successtubiao",color:"#18aaf8"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"#18aaf8"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[t.value.type]:{name:"icon-tishitubiao",color:"#18aaf8"});return A({type:"alert",schema:t}),(N,T)=>{const $=e.resolveComponent("el-alert");return t.value.description?(e.openBlock(),e.createBlock($,{key:0,type:t.value.type,"show-icon":!0,class:e.normalizeClass(["alert-container",{mixmode:t.value.mixMode}]),style:e.normalizeStyle(t.value.top?{top:`${t.value.top}px`}:{}),onClose:D},{icon:e.withCtx(()=>[e.createVNode(ze,{name:S.value.name,color:S.value.color},null,8,["name","color"])]),default:e.withCtx(()=>[e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,(K,Y)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Y},[K.type==="text"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(K.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof K.index=="number"&&t.value.values&&t.value.values[K.index]&&typeof t.value.values[K.index].onClick=="string"?(e.openBlock(),e.createElementBlock("span",{key:0,class:"link-style",onClick:v=>b(t.value.values[K.index].onClick,t.value.values[K.index].text)},e.toDisplayString(typeof K.index=="number"&&t.value.values&&t.value.values[K.index]?t.value.values[K.index].text:""),9,b8)):(e.openBlock(),e.createElementBlock("span",D8,e.toDisplayString(typeof K.index=="number"&&t.value.values&&t.value.values[K.index]?t.value.values[K.index].text:""),1))],64))],64))),128))])]),_:1},8,["type","class","style"])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-a65bd683"]]),v8=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"DragList",props:e.mergeModels({children:{},rowHeight:{},colNum:{},maxRows:{},isDraggable:{type:Boolean},name:{}},{gridlayout:{required:!0},gridlayoutModifiers:{}}),emits:["update:gridlayout"],setup(n,{expose:A}){const t=n,i=e.useModel(n,"gridlayout"),b={getLayout:()=>e.readonly(i),setItemX:(D,w)=>{i.value[D].x=w},setItemY:(D,w)=>{i.value[D].y=w},type:"draglist"};if(A(b),t.name){const D=fB(t.name,b);e.onUnmounted(()=>{D()})}return(D,w)=>(e.openBlock(),e.createBlock(e.unref(J_),{layout:i.value,"onUpdate:layout":w[1]||(w[1]=S=>i.value=S),"col-num":D.colNum||12,"row-height":D.rowHeight||30,"max-rows":D.maxRows,margin:[8,8],"is-draggable":D.isDraggable,"is-bounded":"","is-resizable":!1,"vertical-compact":"","use-css-transforms":""},{default:e.withCtx(()=>[e.createVNode(e.unref(Wt),{list:D.children,gridData:i.value,"onUpdate:gridData":w[0]||(w[0]=S=>i.value=S)},null,8,["list","gridData"])]),_:1},8,["layout","col-num","row-height","max-rows","is-draggable"]))}}),[["__scopeId","data-v-555e834e"]])},Symbol.toStringTag,{value:"Module"})),k8=["id"],rg=ge(e.defineComponent({__name:"index",props:{ruleMap:{},pageUrl:{},pageParams:{}},emits:["done","refresh","changeTab","changeMixMode","addPageParams"],setup(n,{expose:A,emit:t}){const i=t,h={form:fn,table:og,tabs:Z2,infocard:u8,navbar:w8,alert:y8},I=n,o=e.ref(I.pageParams),b=e.ref({}),D=e.ref(),w=e.ref({});e.watch(()=>I.pageParams,()=>{o.value=I.pageParams});const S=G=>{if(D.value){if(G.type==="tabs")return{...G.schema.tabProps,schema:G.schema,"onUpdate:schema":J=>{G.schema=J},ruleMap:I.ruleMap,pageParams:o.value};if(G.type==="form")return{modelValue:G.model,"onUpdate:modelValue":J=>{G.model=J},realValues:G.realValues,"onUpdate:realValues":J=>{G.realValues=J},schema:G.schema,"onUpdate:schema":J=>{G.schema=J},pageRulePath:D.value.rulePath||""};if(G.type==="table")return{modelValue:G.model,"onUpdate:modelValue":J=>{G.model=J},schema:G.schema,"onUpdate:schema":J=>{G.schema=J},pageRulePath:D.value.rulePath||""};if(G.type==="infocard")return{schema:G.schema,"onUpdate:schema":J=>{G.schema=J},pageRulePath:D.value.rulePath||""};if(G.type==="navbar")return{schema:G.schema,"onUpdate:schema":J=>{G.schema=J},pageRulePath:D.value.rulePath||"",findRef:$};if(G.type==="alert")return{schema:G.schema,"onUpdate:schema":J=>{G.schema=J},pageRulePath:D.value.rulePath||"",pageUrl:I.pageUrl,pageEmit:i}}},N=e.ref([]),T=n2(),$=G=>{var q;const J=(q=N.value)==null?void 0:q.find(W=>W.schema.key===G);return J||T.findRef(G)},K=G=>{var q;return(q=N.value)==null?void 0:q.filter(W=>W.schema.key&&G.includes(W.schema.key))},Y=(G,J)=>{var eA;const q=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],W=_=>{_.forEach(V=>{q.includes(V.component)?V.props&&(V.props.disabled=J):V.children&&W(V.children)})},z=(eA=D.value)==null?void 0:eA.content.find(_=>_.schema.key===G);z&&z.type==="form"&&W(z.schema.items)},v=(G,J)=>{var eA;const q=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],W=_=>{_.forEach(V=>{q.includes(V.component)?V.props&&(V.props.read=J):V.children&&W(V.children)})},z=(eA=D.value)==null?void 0:eA.content.find(_=>_.schema.key===G);z&&z.type==="form"&&W(z.schema.items)},Q=async G=>{if(Array.isArray(G)){const J=K(G);for(const q of J||[])q.type==="form"&&await q.validate()}else{const J=$(G);return J?await J.validate():!1}},L=G=>{if(D.value){if(!G){const J={};for(const q of D.value.content)q.schema.key&&(q.type==="form"?J[q.schema.key]=ht.cloneDeep(e.toRaw({...q.model,...q.realValues})):q.type==="table"&&(J[q.schema.key]=ht.cloneDeep(e.toRaw(q.model))));return J}if(Array.isArray(G)){const J={};for(const q of D.value.content)q.schema.key&&G.includes(q.schema.key)&&(q.type==="form"?J[q.schema.key]=ht.cloneDeep(e.toRaw({...q.model,...q.realValues})):q.type==="table"&&(J[q.schema.key]=ht.cloneDeep(e.toRaw(q.model))));return J}else{const J=D.value.content.find(q=>q.schema.key===G);if(J){if(J.type==="form")return ht.cloneDeep(e.toRaw({...J.model,...J.realValues}));if(J.type==="table")return ht.cloneDeep(e.toRaw(J.model))}}}},k=(G,J,q=!1)=>{if(!D.value)return;const W=D.value.content.find(z=>z.schema.key===G);if(W)if(W.type==="form")if(q)Object.assign(W.model,J);else{for(let z in W.model)delete W.model[z];Object.assign(W.model,J)}else W.type==="table"&&(W.model=J)},y=G=>{if(G)if(Array.isArray(G)){const J=K(G);for(const q of J||[])q.type==="form"&&q.resetFields()}else{const J=$(G);if(!J)return;J.type==="form"&&J.resetFields()}},m=(G,J)=>{const q=$(G);q&&q.type==="form"&&q.clearValidate(J)},p=(G,J)=>{var W;const q=(W=D.value)==null?void 0:W.content.find(z=>z.schema.key===G);if(q&&q.type==="form")return zi(q.schema.items,J)},u=()=>o.value,s=G=>{o.value=G},g=G=>{o.value={...o.value,...G}},l=(G,J)=>{if(!D.value)return;const q=D.value.content.find(W=>W.schema.key===G);q&&(q.schema.hidden=J)},d=(G,J)=>{if(!D.value)return;const q=D.value.btns.find(W=>W.key===G);q&&(q.hidden=J)},B=(G,J,q)=>{var W;if(D.value){if(G.type==="form"){const z=p(G.formKey,G.btnKey);z&&(J==="disabled"?z.props[J]=q:z[J]=q)}else if(G.type==="page"){const z=D.value.btns.find(eA=>eA.key===G.btnKey);z&&(z[J]=q)}else if(G.type==="table"){const z=(W=D.value)==null?void 0:W.content.find(eA=>eA.schema.key===G.tableKey);if(!z||z.type!=="table")return;G.btnPosition==="top"?z.schema.topBtns.find(eA=>eA.key===G.btnKey)[J]=q:G.btnPosition==="row"&&(J==="hidden"?z.schema.rowBtns.find(eA=>eA.key===G.btnKey).condition=!q:z.schema.rowBtns.find(eA=>eA.key===G.btnKey)[J]=q)}else if(G.type==="card"){const z=p(G.formKey,G.cardKey);z&&(z.props.btns.find(eA=>eA.key===G.btnKey)[J]=q)}}},a=(G,J,q)=>{var z,eA,_,V,H;if(!D.value)return;const W=(J==="disabled"||J==="hidden")&&typeof q=="boolean";if(D.value.btns){const AA=D.value.btns.find(aA=>aA.key===G);if(AA&&W){AA[J]=q;return}}for(const AA of D.value.content){if(AA.type==="infocard"){const aA=AA.schema.btns.find(oA=>oA.key===G);if(aA&&W){aA[J]=q;return}}if(AA.type==="navbar"){const aA=(z=AA.schema.btns)==null?void 0:z.find(pA=>pA.key===G);if(aA&&W){aA[J]=q;return}const oA=(eA=AA.schema.footerBtns)==null?void 0:eA.find(pA=>pA.key===G);if(oA&&W){oA[J]=q;return}const dA=(_=AA.schema.leftActions)==null?void 0:_.find(pA=>pA.key===G);if(dA&&W&&J==="hidden"){dA[J]=q;return}}if(AA.type==="table"){const aA=(V=AA.schema.topBtns)==null?void 0:V.find(dA=>dA.key===G);if(aA&&W){aA[J]=q;return}const oA=(H=AA.schema.rowBtns)==null?void 0:H.find(dA=>dA.key===G);if(oA){J==="hidden"?oA.condition=!q:J==="condition"&&typeof q=="string"?oA.condition=q:W&&(oA[J]=q);return}}if(AA.type==="form"){const aA=oA=>{var dA,pA;for(const iA of oA){if(iA.component==="Button"&&iA.name===G)return iA.props&&(iA.props[J]=q),!0;if((iA.component==="Card"||iA.component==="CurdCard")&&iA.props&&Array.isArray(iA.props.btns)){const CA=iA.props.btns.find(j=>j.key===G);if(CA)return CA[J]=q,!0}if(iA.component==="Table"&&iA.props){const CA=(dA=iA.props.topBtns)==null?void 0:dA.find(sA=>sA.key===G);if(CA)return CA[J]=q,!0;const j=(pA=iA.props.rowBtns)==null?void 0:pA.find(sA=>sA.key===G);if(j)return J==="hidden"?j.condition=!q:J==="condition"&&typeof q=="string"?j.condition=q:W&&(j[J]=q),!0}if(iA.children&&Array.isArray(iA.children)&&aA(iA.children))return!0}return!1};if(aA(AA.schema.items))return}}},r=(G,J)=>{if(!D.value)return;const q=D.value.btns.find(W=>W.key===G);q&&(q.disabled=J)},C=G=>{Object.assign(b.value,G)},E=()=>b.value,M={findRef:$,setFormDisabled:Y,clearValidate:m,validate:Q,getData:L,resetFields:y,emit:i,setData:k,getItemByName:p,getPageParams:u,setHidden:l,setBtnHidden:d,setBtnStateByKey:a,setBtnDisabled:r,addPageParams:g,setPageParams:s,setGlobalParams:C,getGlobalParams:E,setBtnState:B,setReadMode:v},x=async G=>{if(!(!D.value||!D.value.rulePath)){try{w.value[G.key]=!0,await I.ruleMap[D.value.rulePath][G.onClick](M)}catch(J){console.error(J)}w.value[G.key]=!1}};e.provide("pageMethodMap",M),e.provide("ruleMap",I.ruleMap),e.provide("getGlobalParams",E);const P=e.inject(jn);return e.onMounted(async()=>{if(P&&P.fetchSchemaFn&&I.pageUrl){const G=await P.fetchSchemaFn(I.pageUrl);D.value={...G,content:G.content.map(W=>W.type==="form"?{...W,schema:W.schema,model:{},realValues:{}}:W.type==="table"?{...W,schema:W.schema,model:[]}:W)},await e.nextTick();const J=EB(D.value);if(await T.waitForKeys(J),!D.value||!D.value.rulePath||!D.value.onMounted)return;const q=D.value.onMounted;try{I.ruleMap[D.value.rulePath][q](M)}catch(W){console.error(W)}}}),e.onActivated(()=>{if(!D.value||!D.value.rulePath||!D.value.onActivated)return;const G=D.value.onActivated;try{I.ruleMap[D.value.rulePath][G](M)}catch(J){console.error(J)}}),A({...M}),(G,J)=>{const q=e.resolveComponent("el-button"),W=e.resolveComponent("el-row");return e.openBlock(),e.createElementBlock("div",null,[D.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"page-render",id:D.value.key},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value.content,z=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(h[z.type]),e.mergeProps({key:z.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:N,onAddPageParams:g},S(z)),null,16))),128)),D.value.btns&&D.value.btns.length>0?(e.openBlock(),e.createBlock(W,{key:0,justify:D.value.btnPosition||"end",class:"btn-wrapper"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value.btns,z=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:z.key},[z.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(q,{key:0,type:z.type,loading:w.value[z.key],onClick:eA=>x(z),disabled:z.disabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(z.text),1)]),_:2},1032,["type","loading","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):e.createCommentVNode("",!0)],8,k8)):e.renderSlot(G.$slots,"loading",{key:1},void 0,!0)])}}}),[["__scopeId","data-v-86c983bd"]]),_8={install:(n,A={})=>{n.provide(jn,A),n.component("FormRender",fn),n.component("FormDesign",wB),n.component("TableRender",og),n.component("PageRender",rg)}},M8={key:0},x8=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"TextArea",props:e.mergeModels({read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>{const h=e.resolveComponent("el-input");return t.read?(e.openBlock(),e.createElementBlock("div",M8,e.toDisplayString(A.value||"--"),1)):(e.openBlock(),e.createBlock(h,e.mergeProps({key:1},t.$attrs,{modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=I=>A.value=I),type:"textarea"}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),S8={class:"card-header"},F8={class:"card-btns"},N8={class:"card-sub-header"},R8=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Card",props:{children:{},collapsible:{type:Boolean},header:{},btns:{},extraIcons:{},shadowless:{type:Boolean},subHeaders:{}},setup(n){const A=e.ref(!1),t=e.inject("ruleModule",void 0),i=e.inject("pageMethodMap",{}),h=I=>{if(I&&t)try{t[I](i)}catch(o){console.error(o)}};return(I,o)=>{const b=e.resolveComponent("el-tooltip"),D=e.resolveComponent("el-collapse-transition"),w=e.resolveComponent("ElCard");return e.openBlock(),e.createBlock(w,e.mergeProps(I.$attrs,{class:["crm-card",{collapsed:A.value,shadowless:I.shadowless}],shadow:"never"}),{header:e.withCtx(()=>[e.createElementVNode("div",S8,[I.collapsible?(e.openBlock(),e.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:o[0]||(o[0]=S=>A.value=!A.value)},[e.createVNode(e.unref(be),{name:"dropdown",class:e.normalizeClass(["dropdown-icon",{"is-collapsed":A.value}])},null,8,["class"])])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(I.header),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.extraIcons,S=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:S.name},[S.tips?(e.openBlock(),e.createBlock(b,{key:0,content:S.tips,placement:"right"},{default:e.withCtx(()=>[e.createVNode(ze,{class:"extra-icon",name:S.name,color:S.color,size:S.size||"small",onClick:N=>h(S.onClick)},null,8,["name","color","size","onClick"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock(ze,{key:1,class:"extra-icon",name:S.name,color:S.color,size:S.size||"small",onClick:N=>h(S.onClick)},null,8,["name","color","size","onClick"]))],64))),128)),e.createElementVNode("div",F8,[e.createVNode(e.unref(so),{btns:I.btns||[]},null,8,["btns"])]),e.createElementVNode("div",N8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.subHeaders,S=>(e.openBlock(),e.createElementBlock("div",{key:S,class:"card-sub-header-item"},[e.createElementVNode("span",null,e.toDisplayString(S),1)]))),128))])])]),default:e.withCtx(()=>[e.createVNode(D,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Wt),{list:I.children},null,8,["list"])],512),[[e.vShow,!A.value]])]),_:1})]),_:1},16,["class"])}}}),[["__scopeId","data-v-37d0cc4b"]])},Symbol.toStringTag,{value:"Module"})),L8=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Cascader",props:e.mergeModels({options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=e.inject("ruleModule",void 0),h=e.inject("pageMethodMap",{}),I=D=>{if(A.onChange&&i)try{i[A.onChange](h,D)}catch(w){console.error(w)}},{currentOptions:o,loading:b}=pr(A);return(D,w)=>{const S=e.resolveComponent("el-cascader");return e.openBlock(),e.createBlock(S,e.mergeProps({modelValue:t.value,"onUpdate:modelValue":w[0]||(w[0]=N=>t.value=N),options:e.unref(o),loading:e.unref(b),props:{multiple:D.multiple,label:D.labelKey,value:D.valueKey}},D.$attrs,{onChange:I}),null,16,["modelValue","options","loading","props"])}}})},Symbol.toStringTag,{value:"Module"}));var DB={exports:{}};/*!
180
+ export default ${JSON.stringify(n,null,2)} satisfies FormSchema`,g2=n=>`export default ${JSON.stringify(n,null,2)}`,u2=e.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){var w;const A=Sn(),t=ci(),h=(w=$o().JsonEdit)==null?void 0:w.render,I=e.computed({get(){return A.schema},set(S){S.items&&A.updateSchema(S)}}),o=e.ref({}),b=e.useModel(n,"modelValue"),D=S=>{A.updateSchema({...A.schema,items:Gd(A.schema.items)}),S.repair()};return(S,N)=>{const T=e.resolveComponent("el-tab-pane"),$=e.resolveComponent("el-tabs"),K=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(K,{modelValue:b.value,"onUpdate:modelValue":N[1]||(N[1]=Y=>b.value=Y),title:e.unref(t).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:N[2]||(N[2]=Y=>o.value={})},{default:e.withCtx(()=>[e.createVNode($,{"model-value":"edit",class:"demo-tabs"},{default:e.withCtx(()=>[e.createVNode(T,{label:"在线编辑",name:"edit"},{default:e.withCtx(()=>[e.createVNode(e.unref(h),{modelValue:I.value,"onUpdate:modelValue":N[0]||(N[0]=Y=>I.value=Y),style:{height:"70vh"},onBlur:D},null,8,["modelValue"])]),_:1}),e.createVNode(T,{label:"生成ts文件",name:"ts"},{default:e.withCtx(()=>[e.createVNode(e.unref(yr),{style:{height:"70vh"},language:"ts",code:e.unref(c2)(I.value)},null,8,["code"])]),_:1}),e.createVNode(T,{label:"生成js文件",name:"js"},{default:e.withCtx(()=>[e.createVNode(e.unref(yr),{style:{height:"70vh"},language:"js",code:e.unref(g2)(I.value)},null,8,["code"])]),_:1}),e.createVNode(T,{label:"帮助",name:"help"},{default:e.withCtx(()=>[e.createVNode(e.unref(yr),{style:{height:"70vh"},language:"json",code:e.unref(l2)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),d2=e.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Sn(),t=ci(),i=e.useModel(n,"modelValue");return(h,I)=>{const o=e.resolveComponent("el-tab-pane"),b=e.resolveComponent("el-tabs"),D=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(D,{modelValue:i.value,"onUpdate:modelValue":I[0]||(I[0]=w=>i.value=w),title:e.unref(t).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:e.withCtx(()=>[e.createVNode(b,{"model-value":"ts",class:"demo-tabs"},{default:e.withCtx(()=>[e.createVNode(o,{label:"Typescript",name:"ts"},{default:e.withCtx(()=>[e.createVNode(e.unref(yr),{style:{height:"70vh"},code:e.unref(a2)(e.unref(A).schema),language:"vue"},null,8,["code"])]),_:1}),e.createVNode(o,{label:"Javascript",name:"js"},{default:e.withCtx(()=>[e.createVNode(e.unref(yr),{style:{height:"70vh"},code:e.unref(s2)(e.unref(A).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),h2=ge(e.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Sn(),{JsonEdit:t}=$o(),i=e.ref("edit"),h=e.ref(),I=e.ref({}),o=e.useModel(n,"modelValue"),b=e.computed(()=>{var w;return(w=h.value)==null?void 0:w.context}),D=ci();return(w,S)=>{const N=e.resolveComponent("el-tab-pane"),T=e.resolveComponent("el-tabs"),$=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock($,{modelValue:o.value,"onUpdate:modelValue":S[4]||(S[4]=K=>o.value=K),title:e.unref(D).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:S[5]||(S[5]=K=>I.value={})},{default:e.withCtx(()=>[e.createVNode(T,{modelValue:i.value,"onUpdate:modelValue":S[3]||(S[3]=K=>i.value=K)},{default:e.withCtx(()=>[e.createVNode(N,{label:"编辑模式",name:"edit"},{default:e.withCtx(()=>[e.createVNode(e.unref(fn),{modelValue:I.value,"onUpdate:modelValue":S[0]||(S[0]=K=>I.value=K),schema:e.unref(A).schema,ref_key:"formRef",ref:h,schemaContext:e.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"])]),_:1}),e.createVNode(N,{label:"阅读模式",name:"read",lazy:""},{default:e.withCtx(()=>[e.createVNode(e.unref(fn),{modelValue:I.value,"onUpdate:modelValue":S[1]||(S[1]=K=>I.value=K),schema:{...e.unref(A).schema},schemaContext:e.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),e.createVNode(N,{label:"联动变量",name:"context"},{default:e.withCtx(()=>[S[6]||(S[6]=e.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(e.openBlock(),e.createBlock(e.unref(t).render,{modelValue:b.value,"onUpdate:modelValue":S[2]||(S[2]=K=>b.value=K),style:{height:"60vh"},key:i.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-4e20ef5c"]]),p2=e.defineComponent({__name:"ChangeLang",setup(n){const A=e.inject("asiaint-lang");return(t,i)=>{const h=e.resolveComponent("el-option"),I=e.resolveComponent("el-select");return e.openBlock(),e.createBlock(I,{modelValue:e.unref(A),"onUpdate:modelValue":i[0]||(i[0]=o=>e.isRef(A)?A.value=o:null),size:"small"},{default:e.withCtx(()=>[e.createVNode(h,{label:"中文",value:"zh"}),e.createVNode(h,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),B2=e.defineComponent({__name:"index",setup(n){const A=Sn(),t=ci(),i=e.ref(!1),h=e.ref(!1),I=e.ref(!1),o=e.computed(()=>[{label:t.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{i.value=!0}},{label:t.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{h.value=!0}},{label:t.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{I.value=!0}}]),b=e.computed(()=>[{label:t.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await Tt.ElMessageBox.confirm("确认清空当前设计吗?"),A.updateSchema({...A.schema,items:[]})}},{label:t.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{A.handleEmit("save"),A.handleEmit("onSave")}}]);return(D,w)=>{const S=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("actions"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(je)("actions-left"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,N=>(e.openBlock(),e.createBlock(S,{key:N.label,type:N.btnType,size:"small",onClick:N.onClick},e.createSlots({default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(N.label),1)]),_:2},[N.icon?{name:"icon",fn:e.withCtx(()=>[e.createVNode(e.unref(be),{name:N.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),e.createVNode(p2,{class:e.normalizeClass(e.unref(je)("actions-left-lang"))},null,8,["class"])],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(je)("actions-right"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,({label:N,btnType:T,icon:$,onClick:K})=>(e.openBlock(),e.createBlock(S,{key:N,type:T,size:"small",onClick:K},e.createSlots({default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(N),1)]),_:2},[$?{name:"icon",fn:e.withCtx(()=>[e.createVNode(e.unref(be),{name:$},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),e.createVNode(u2,{modelValue:i.value,"onUpdate:modelValue":w[0]||(w[0]=N=>i.value=N)},null,8,["modelValue"]),e.createVNode(d2,{modelValue:h.value,"onUpdate:modelValue":w[1]||(w[1]=N=>h.value=N)},null,8,["modelValue"]),e.createVNode(h2,{modelValue:I.value,"onUpdate:modelValue":w[2]||(w[2]=N=>I.value=N),"schema-context":e.unref(A).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),C2=e.defineComponent({__name:"index",setup(n){const A=Sn();return(t,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("form-design-center"))},[e.createVNode(B2),e.createVNode(e.unref(fn),{class:e.normalizeClass(e.unref(je)("canvas")),schema:e.unref(A).schema,"onUpdate:schema":i[0]||(i[0]=h=>e.unref(A).schema=h),design:""},null,8,["class","schema"])],2))}}),m2=()=>({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:"联动字段"}}]}),E2=e.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Sn(),t=e.useModel(n,"modelValue");return(i,h)=>{const I=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(I,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":h[1]||(h[1]=o=>t.value=o),top:"3vh",title:"值联动"},{default:e.withCtx(()=>[e.createVNode(e.unref(fn),{modelValue:e.unref(A).current,"onUpdate:modelValue":h[0]||(h[0]=o=>e.unref(A).current=o),schema:e.unref(m2)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),Q2={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},I2={class:"config-linkages"},f2=ge(e.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Sn(),t=e.useModel(n,"modelValue");return e.ref({}),(i,h)=>{var o;const I=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(I,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":h[1]||(h[1]=b=>t.value=b),top:"3vh",title:`${(o=e.unref(A).current)==null?void 0:o.label} - 配置级联动`,width:"70vw",center:""},{default:e.withCtx(()=>[e.createElementVNode("div",I2,[e.createVNode(e.unref(fn),{modelValue:e.unref(A).current,"onUpdate:modelValue":h[0]||(h[0]=b=>e.unref(A).current=b),schema:e.unref(Q2),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-1f9620a4"]]),w2=e.defineComponent({__name:"index",setup(n){const A=ci(),t=e.ref(!1),i=e.ref(!1),h=e.computed(()=>[{title:A.value.attr.tab1.linkage.action1,onClick:()=>{t.value=!0}},{title:A.value.attr.tab1.linkage.action2,onClick:()=>{i.value=!0}}]);return(I,o)=>{const b=e.resolveComponent("el-divider"),D=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("linkageConfig"))},[e.createVNode(b,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(A).attr.tab1.linkage.text),1)]),_:1}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(je)("linkageConfig-btns"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,({title:w,onClick:S})=>(e.openBlock(),e.createBlock(D,{key:w,type:"primary",plain:"",size:"small",onClick:S},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w),1)]),_:2},1032,["onClick"]))),128))],2),e.createVNode(f2,{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=w=>t.value=w)},null,8,["modelValue"]),e.createVNode(E2,{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=w=>i.value=w)},null,8,["modelValue"])],2)}}}),b2={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"}]},D2={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"}]},y2={class:"more"},v2=e.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=e.ref(!1);return(i,h)=>{const I=e.resolveComponent("el-divider"),o=e.resolveComponent("el-button"),b=e.resolveComponent("el-drawer");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("style-config"))},[e.createVNode(I,null,{default:e.withCtx(()=>h[4]||(h[4]=[e.createTextVNode("组件样式")])),_:1}),e.createVNode(e.unref(fn),{modelValue:A.value,"onUpdate:modelValue":h[0]||(h[0]=D=>A.value=D),schema:e.unref(b2),ref:"formRef"},null,8,["modelValue","schema"]),e.createElementVNode("div",y2,[e.createVNode(o,{type:"primary",plain:"",size:"small",onClick:h[1]||(h[1]=D=>t.value=!0)},{default:e.withCtx(()=>h[5]||(h[5]=[e.createTextVNode("自定义更多样式")])),_:1})]),e.createVNode(b,{modelValue:t.value,"onUpdate:modelValue":h[3]||(h[3]=D=>t.value=D),title:"组件样式"},{default:e.withCtx(()=>[e.createVNode(e.unref(fn),{modelValue:A.value,"onUpdate:modelValue":h[2]||(h[2]=D=>A.value=D),schema:e.unref(D2),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),k2=e.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=$o(),t=ec(),i=e.useModel(n,"modelValue"),h=e.computed(()=>{const o=A[i.value.component];if(o!=null&&o.attrSchema){const b=(w=[])=>w.map(S=>{const N=Ca(i.value,S.name),T=ht.isString(N)&&/^{{\s*(.*?)\s*}}$/.test(N);return{...S,label:t.value==="zh"?S.label:S.name.split(".").pop(),component:T?"Input":S.component,dialog:T||S.dialog,children:S.children&&b(S.children)}}),D=b(o.attrSchema.items);return{...o.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:o.title,style:{marginBottom:"10px"}}},...D]}}return{size:"small",labelPosition:"top",items:[]}}),I=e.computed({get(){var o;return((o=i.value)==null?void 0:o.props)||{}},set(o){i.value=vo(i.value,"props",o)}});return(o,b)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("attr"))},[(e.openBlock(),e.createBlock(e.unref(fn),{key:i.value.designKey,modelValue:i.value,"onUpdate:modelValue":b[0]||(b[0]=D=>i.value=D),schema:h.value},null,8,["modelValue","schema"])),(e.openBlock(),e.createBlock(v2,{key:i.value.designKey,modelValue:I.value,"onUpdate:modelValue":b[1]||(b[1]=D=>I.value=D)},null,8,["modelValue"])),e.createVNode(w2,{modelValue:i.value,"onUpdate:modelValue":b[2]||(b[2]=D=>i.value=D)},null,8,["modelValue"])],2))}}),_2={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:"表单组件尺寸",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"}]},M2=e.defineComponent({__name:"FormEdit",setup(n){const A=Sn(),t=e.computed({get(){return A.schema},set(i){A.updateSchema(i)}});return(i,h)=>(e.openBlock(),e.createBlock(e.unref(fn),{modelValue:t.value,"onUpdate:modelValue":h[0]||(h[0]=I=>t.value=I),schema:e.unref(_2)},null,8,["modelValue","schema"]))}}),x2=e.defineComponent({__name:"index",setup(n){const A=ci(),t=Sn();return e.watch(()=>t.current,i=>{i||(t.rightTab="form")}),(i,h)=>{const I=e.resolveComponent("el-tab-pane"),o=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(je)("form-design-right"))},[e.createVNode(o,{modelValue:e.unref(t).rightTab,"onUpdate:modelValue":h[1]||(h[1]=b=>e.unref(t).rightTab=b)},{default:e.withCtx(()=>[e.unref(t).current?(e.openBlock(),e.createBlock(I,{key:0,label:e.unref(A).attr.tab1.title,name:"attr"},{default:e.withCtx(()=>[e.createVNode(k2,{modelValue:e.unref(t).current,"onUpdate:modelValue":h[0]||(h[0]=b=>e.unref(t).current=b)},null,8,["modelValue"])]),_:1},8,["label"])):e.createCommentVNode("",!0),e.createVNode(I,{label:e.unref(A).attr.tab2.title,name:"form"},{default:e.withCtx(()=>[e.createVNode(M2)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),wB=e.defineComponent({__name:"index",props:e.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:e.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:e.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(n,{emit:A}){const t=n,i=A,h=e.ref(""),I=e.useModel(n,"modelValue"),o=e.computed({get(){return I.value.items},set(w){I.value.items=w}}),b=e.computed({get(){return Ac(o.value,h.value)},set(w){h.value=w.designKey,o.value=Nd(o.value,w)}}),D=e.reactive({...e.toRefs(t),currentKey:h,hoverKey:"",schema:I,current:b,list:o,rightTab:"form",updateCurrent(w){D.current=w},updateHoverKey(w){D.hoverKey=w},updateSchema:w=>{Object.assign(I.value,w)},updateList:w=>{o.value=w},handleEmit:(w,S)=>{i(w,S)}});return e.provide(Sd,D),(w,S)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(je)("form-design")},w.$attrs),[e.createVNode(r2),e.createVNode(C2),e.createVNode(x2)],16))}}),S2={class:"card-header"},F2={class:"card-btns"},N2={key:0,class:"switch-panel"},R2=ge(e.defineComponent({__name:"CardWrapper",props:{collapsible:{type:Boolean},header:{},btns:{},tableType:{default:"table"},typeSwitch:{type:Boolean,default:!1},switchTableType:{},shadowless:{type:Boolean}},setup(n){const A=n,t=e.ref(!1),i=e.computed(()=>A.btns?A.btns.map(h=>({isLinkBtn:!0,...h})):[]);return(h,I)=>{const o=e.resolveComponent("el-collapse-transition"),b=e.resolveComponent("ElCard");return e.openBlock(),e.createBlock(b,e.mergeProps(h.$attrs,{class:["crm-card",{collapsed:t.value,shadowless:h.shadowless}],shadow:"never"}),{header:e.withCtx(()=>[e.createElementVNode("div",S2,[h.collapsible?(e.openBlock(),e.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:I[0]||(I[0]=D=>t.value=!t.value)},[e.createVNode(e.unref(be),{name:"dropdown",class:e.normalizeClass(["dropdown-icon",{"is-collapsed":t.value}])},null,8,["class"])])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(h.header),1),e.createElementVNode("div",F2,[h.typeSwitch?(e.openBlock(),e.createElementBlock("div",N2,[e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:h.tableType==="card"}]),onClick:I[1]||(I[1]=D=>h.switchTableType("card"))},[e.createVNode(ze,{name:"icon-kapian"})],2),e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:h.tableType==="table"}]),onClick:I[2]||(I[2]=D=>h.switchTableType("table"))},[e.createVNode(ze,{name:"icon-biaoge"})],2)])):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.createVNode(e.unref(so),{btns:i.value||[]},null,8,["btns"])])])])]),default:e.withCtx(()=>[e.createVNode(o,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.renderSlot(h.$slots,"default",{},void 0,!0)],512),[[e.vShow,!t.value]])]),_:3})]),_:3},16,["class"])}}}),[["__scopeId","data-v-217aeb48"]]),L2={class:"empty-content"},G2=["title"],P2=["title","onClick"],H2={key:1,class:"icon-text-wrapper"},K2=["title"],T2=["title"],U2={class:"row-btn-wrapper"},bB=ge(e.defineComponent({__name:"TableContent",props:e.mergeModels({tableData:{},total:{},hasVisibleRowBtn:{type:Boolean},handleSizeChange:{type:Function},handlePageChange:{type:Function},handleRowClick:{type:Function},handleRowDblclick:{type:Function},handleSelectionChange:{type:Function},handleCurrentChange:{type:Function},getColText:{type:Function},getGlobalParams:{type:Function},handleClick:{type:Function},schema:{},selectable:{type:Function},getIconInfo:{type:Function}},{pagination:{required:!0},paginationModifiers:{}}),emits:["update:pagination"],setup(n,{expose:A}){const t=e.useModel(n,"pagination"),i=e.useTemplateRef("tableRef");return A({tableRef:i}),(h,I)=>{const o=e.resolveComponent("el-table-column"),b=e.resolveComponent("el-tooltip"),D=e.resolveComponent("el-button"),w=e.resolveComponent("FormItemGroup"),S=e.resolveComponent("el-popover"),N=e.resolveComponent("el-table"),T=e.resolveComponent("el-pagination");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["table-render",{tableBorder:h.schema.displayType==="table"}])},[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(N,{ref_key:"tableRef",ref:i,data:h.tableData,stripe:h.schema.stripe,"highlight-current-row":"","row-key":h.schema.rowKey,onRowClick:h.handleRowClick,onRowDblclick:h.handleRowDblclick,onSelectionChange:h.handleSelectionChange,onCurrentChange:h.handleCurrentChange,height:h.schema.height},{empty:e.withCtx(()=>[e.createElementVNode("div",L2,[e.createVNode(e.unref(be),{name:"tableEmpty",style:{width:56,height:56}}),I[2]||(I[2]=e.createElementVNode("div",null,"No data available,please check",-1))])]),default:e.withCtx(()=>{var $;return[h.schema.multipleSelection?(e.openBlock(),e.createBlock(o,{key:0,type:"selection",width:"55",selectable:h.selectable},null,8,["selectable"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.schema.columns,K=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:K.key},[K.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(o,{key:0,prop:K.key,"min-width":K.minWidth,fixed:K.fixed||!1},{header:e.withCtx(()=>[e.createElementVNode("div",{class:"text-ellipsis",title:K.label},e.toDisplayString(K.label),9,G2)]),default:e.withCtx(({row:Y,$index:v})=>{var Q,L;return[K.type==="link"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["text-ellipsis link-style",{"click-style":K.onClick}]),title:h.getColText(K,Y),onClick:k=>h.handleClick(K,Y,v)},e.toDisplayString(h.getColText(K,Y)),11,P2)):K.type==="iconText"?(e.openBlock(),e.createElementBlock("div",H2,[e.createVNode(ze,{name:(Q=h.getIconInfo(K,Y))==null?void 0:Q.name,color:(L=h.getIconInfo(K,Y))==null?void 0:L.color},null,8,["name","color"]),e.createElementVNode("span",{class:"text-ellipsis",title:h.getColText(K,Y)},e.toDisplayString(h.getColText(K,Y)),9,K2)])):(e.openBlock(),e.createElementBlock("div",{key:2,class:"text-ellipsis",title:h.getColText(K,Y)},e.toDisplayString(h.getColText(K,Y)),9,T2))]}),_:2},1032,["prop","min-width","fixed"]))],64))),128)),h.hasVisibleRowBtn&&(($=h.schema.rowBtns)!=null&&$.length)?(e.openBlock(),e.createBlock(o,{key:1,label:"Action",fixed:"right",align:"left"},{default:e.withCtx(({row:K,$index:Y})=>[e.createElementVNode("div",U2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.schema.rowBtns,v=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:v.key},[v.component==="Popover"?(e.openBlock(),e.createBlock(S,{key:0},{reference:e.withCtx(()=>[v.condition===void 0||v.condition===null||e.unref(sn)(v.condition,{$row:K,$globalParams:h.getGlobalParams()})?(e.openBlock(),e.createBlock(D,{key:0,disabled:v.disabled,link:"",size:"small",type:v.type,onClick:Q=>h.handleClick(v,K,Y)},{default:e.withCtx(()=>[e.createVNode(b,{class:"box-item",effect:"dark",content:v.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:e.withCtx(()=>[v.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:v.icon.name,color:v.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(w,{list:v.children},null,8,["list"])])]),_:2},1024)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[v.condition===void 0||v.condition===null||e.unref(sn)(v.condition,{$row:K,$globalParams:h.getGlobalParams()})?(e.openBlock(),e.createBlock(D,{key:0,disabled:v.disabled,link:"",size:"small",type:v.type,onClick:Q=>h.handleClick(v,K,Y)},{default:e.withCtx(()=>[e.createVNode(b,{class:"box-item",effect:"dark",content:v.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:e.withCtx(()=>[v.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:v.icon.name,color:v.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)],64))],64))),128))])]),_:1})):e.createCommentVNode("",!0)]}),_:1},8,["data","stripe","row-key","onRowClick","onRowDblclick","onSelectionChange","onCurrentChange","height"])],512),[[e.vShow,h.schema.displayType==="table"]]),e.withDirectives(e.createVNode(tc,e.mergeProps(h.schema,{data:h.tableData,"get-col-text":h.getColText}),null,16,["data","get-col-text"]),[[e.vShow,h.schema.displayType==="card"]]),e.createElementVNode("div",{class:e.normalizeClass(["pagination-wrapper",{hidePagination:h.schema.hiddenPagination||h.tableData.length===0,cardlistPadding:h.schema.displayType==="card"}])},[e.createVNode(T,{layout:"total,sizes, prev, pager, next,jumper",total:h.total,"page-sizes":h.schema.pageSizes||[5,10,20,30,40],"default-page-size":h.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":I[0]||(I[0]=$=>t.value.pageNum=$),"page-size":t.value.pageSize,"onUpdate:pageSize":I[1]||(I[1]=$=>t.value.pageSize=$),"pager-count":h.schema.pagerCount,onSizeChange:h.handleSizeChange,onCurrentChange:h.handlePageChange},null,8,["total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)],2)}}}),[["__scopeId","data-v-1b3424c8"]]),Y2=["id"],og=e.defineComponent({__name:"index",props:e.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(n,{expose:A}){const t=n,i=e.useModel(n,"schema"),h=e.computed(()=>i.value.rulePath&&I[i.value.rulePath]?i.value.rulePath:t.pageRulePath),I=e.inject("ruleMap",{}),o=e.inject("pageMethodMap",{}),b=e.inject("getGlobalParams",()=>{}),D=e.inject(jn),w=D?D.translateFn:null;h.value&&e.provide("ruleModule",I[h.value]);const S=e.useTemplateRef("tableContentRef"),N=e.useModel(n,"modelValue"),T=(iA,CA)=>{const j=i.value.columns.find(sA=>sA.key===iA);j&&(j.hidden=!CA)},$=(iA,CA,j)=>{if(h.value)try{I[h.value][iA.onClick](o,CA,j)}catch(sA){console.error(sA)}},K=iA=>{if(!(!i.value.rowClick||!h.value))try{I[h.value][i.value.rowClick](o,iA)}catch(CA){console.error(CA)}},Y=iA=>{if(!(!i.value.rowDbClick||!h.value))try{I[h.value][i.value.rowDbClick](o,iA)}catch(CA){console.error(CA)}},v=e.ref([]),Q=iA=>{v.value=iA},L=(iA,CA)=>{if(!i.value.selectable||!h.value)return!0;try{return I[h.value][i.value.selectable](o,iA,CA)}catch(j){console.error(j)}return!0},k=(iA,CA,j)=>{N.value[iA]&&(N.value[iA][CA]=j)},y=()=>{var iA,CA;(CA=(iA=S.value)==null?void 0:iA.tableRef)==null||CA.clearSelection()},m=()=>N.value,p=e.ref(),u=iA=>{if(p.value=iA,!(!i.value.handleCurrentChange||!h.value))try{I[h.value][i.value.handleCurrentChange](o,iA)}catch(CA){console.error(CA)}},s=()=>p.value,g=()=>{var iA,CA;return(CA=(iA=S.value)==null?void 0:iA.tableRef)==null?void 0:CA.getSelectionRows()},l=(iA={})=>{N.value.push(iA)},d=iA=>{iA>=0&&iA<N.value.length&&N.value.splice(iA,1)},B=async()=>{N.value=[...N.value]},a=async()=>!0,r=iA=>{N.value=iA},C=(iA,CA)=>{var sA;const j=(sA=i.value.topBtns)==null?void 0:sA.find(gA=>gA.key===iA);j&&(j.hidden=CA)},E=(iA,CA)=>{var sA;const j=(sA=i.value.rowBtns)==null?void 0:sA.find(gA=>gA.key===iA);j&&(j.condition=!CA)},M=e.computed(()=>!i.value.rowBtns||i.value.rowBtns.length===0||!N.value||N.value.length===0?!1:N.value.some(iA=>{var CA;return(CA=i.value.rowBtns)==null?void 0:CA.some(j=>j.condition===void 0||j.condition===null?!0:sn(j.condition,{$row:iA,$globalParams:b()}))})),x=e.ref(0),P=iA=>{x.value=iA},G=e.ref({pageNum:1,pageSize:i.value.defaultPageSize||5}),J=()=>G.value,q=iA=>{let CA=!1;return iA.pageNum!==void 0&&iA.pageNum>-1&&(G.value.pageNum!==iA.pageNum&&(CA=!0),G.value.pageNum=iA.pageNum),iA.pageSize!==void 0&&iA.pageSize>-1&&(G.value.pageSize!==iA.pageSize&&(CA=!0),G.value.pageSize=iA.pageSize),{pagination:G.value,isChange:CA}},W=async iA=>{if(G.value.pageNum=1,G.value.pageSize=iA,!i.value.sizeChange||!h.value)return;const CA=Tt.ElLoading.service({target:`#${i.value.key}`,text:"Loading..."});try{await I[h.value][i.value.sizeChange](o,G.value)}catch(j){console.error(j)}finally{CA.close()}},z=async iA=>{if(G.value.pageNum=iA,!i.value.pageChange||!h.value)return;const CA=Tt.ElLoading.service({target:`#${i.value.key}`,text:"Loading..."});try{await I[h.value][i.value.pageChange](o,G.value)}catch(j){console.error(j)}finally{CA.close()}},eA=iA=>{var CA,j;(j=(CA=S.value)==null?void 0:CA.tableRef)==null||j.setCurrentRow(iA)},_=iA=>{var CA,j;(j=(CA=S.value)==null?void 0:CA.tableRef)==null||j.setCurrentRow(N.value[iA])},V=(iA,CA,j)=>{i.value.columns.forEach(sA=>{sA.key===iA&&sA[CA]&&(sA[CA]=j)})},H=iA=>{i.value.displayType=iA},AA=iA=>{i.value.shadowless=iA},aA=(iA,CA)=>{const j=w?w(iA.key,CA):CA[iA.key];if(!sn(iA.encrypted,{$row:CA,$col:iA})||!j)return j;const gA=`${j}`;return gA.length<=4?"*".repeat(gA.length):gA.slice(0,-4)+"****"},oA=(iA,CA)=>{if(!(!iA.getIconInfo||!h.value))try{return I[h.value][iA.getIconInfo](o,CA,iA)}catch(j){console.error(j)}},dA=e.useTemplateRef("rootRef");i.value.displayType||(i.value.displayType=i.value.typeSwitch?"card":"table"),e.onMounted(async()=>{if(!i.value||!i.value.onMounted||!h.value)return;await e.nextTick();const iA=i.value.onMounted;try{I[h.value][iA](o)}catch(CA){console.error(CA)}}),e.onActivated(()=>{if(!i.value||!i.value.onActivated||!h.value)return;const iA=i.value.onActivated;try{I[h.value][iA](o)}catch(CA){console.error(CA)}});const pA=e.readonly({...e.toRefs(t),setCellData:k,clearSelection:y,getData:m,getCurrentRow:s,getSelectedRows:g,addRow:l,deleteRow:d,refresh:B,validate:a,setData:r,selectRow:eA,selectRowNum:_,setTotal:P,getPagination:J,setPagination:q,setTopBtnHidden:C,setColVisible:T,setColumn:V,setRowsBtnHidden:E,setShadowless:AA,rootRef:dA,type:"table"});return A(pA),(iA,CA)=>i.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"rootRef",ref:dA,id:i.value.key},[i.value.cardless?(e.openBlock(),e.createBlock(bB,{key:1,ref_key:"tableContentRef",ref:S,tableData:N.value,total:x.value,hasVisibleRowBtn:M.value,handleSizeChange:W,handlePageChange:z,handleRowClick:K,handleRowDblclick:Y,handleSelectionChange:Q,handleCurrentChange:u,getColText:aA,getGlobalParams:e.unref(b),handleClick:$,selectable:L,schema:i.value,getIconInfo:oA,pagination:G.value,"onUpdate:pagination":CA[1]||(CA[1]=j=>G.value=j)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])):(e.openBlock(),e.createBlock(R2,{key:0,header:i.value.title,btns:i.value.topBtns,collapsible:i.value.collapsible!==!1,switchTableType:H,tableType:i.value.displayType,typeSwitch:i.value.typeSwitch,shadowless:i.value.shadowless},{default:e.withCtx(()=>[e.createVNode(bB,{ref_key:"tableContentRef",ref:S,tableData:N.value,total:x.value,hasVisibleRowBtn:M.value,handleSizeChange:W,handlePageChange:z,handleRowClick:K,handleRowDblclick:Y,handleSelectionChange:Q,handleCurrentChange:u,getColText:aA,getGlobalParams:e.unref(b),handleClick:$,selectable:L,schema:i.value,getIconInfo:oA,pagination:G.value,"onUpdate:pagination":CA[0]||(CA[0]=j=>G.value=j)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],8,Y2))}}),O2=["id"],$2={class:"tab-label"},J2={class:"tab-label-text"},z2={key:0,class:"divider"},Z2=ge(e.defineComponent({__name:"index",props:e.mergeModels({ruleMap:{},pageParams:{}},{schema:{required:!0},schemaModifiers:{}}),emits:e.mergeModels(["addPageParams"],["update:schema"]),setup(n,{expose:A,emit:t}){const i=e.useModel(n,"schema"),h=e.ref({}),I=t,o=e.ref({}),b=Q=>L=>{L?o.value[Q]=L:delete o.value[Q]},D=e.computed(()=>{var Q;return(Q=i.value.content.find(L=>L.url===N.value))==null?void 0:Q.mixMode}),w=Q=>{i.value.content=Q},S=Q=>{Array.isArray(Q)?i.value.content.push(...Q):i.value.content.push(Q)},N=e.ref(i.value.content[0].url),T=Q=>{h.value[Q]=!0,e.nextTick(()=>{h.value[Q]=!1})},$=e.useTemplateRef("rootRef"),K=Q=>o.value[Q],Y=(Q,L)=>{L&&I("addPageParams",L),N.value=Q},v=(Q,L)=>{const k=i.value.content.find(y=>y.url===Q);k&&(k.mixMode=L)};return A(e.readonly({setTabContent:w,addTabContent:S,schema:i,rootRef:$,findRef:K,changeActiveTab:Y,type:"tabs"})),(Q,L)=>{var p,u,s;const k=e.resolveComponent("el-skeleton"),y=e.resolveComponent("el-tab-pane"),m=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:$,id:i.value.key},[i.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(m,e.mergeProps({key:0},i.value.tabProps,{modelValue:N.value,"onUpdate:modelValue":L[0]||(L[0]=g=>N.value=g),class:["crm-tabs",{mixmode:D.value}],style:{"--top":(p=i.value)!=null&&p.stickyTop?`${(u=i.value)==null?void 0:u.stickyTop}px`:"110px","--is-sticky":(s=i.value)!=null&&s.isSticky?"sticky":"static"}}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.content,(g,l)=>(e.openBlock(),e.createBlock(y,{name:g.url,key:g.url,lazy:l!==0},{label:e.withCtx(()=>[e.createElementVNode("div",$2,[e.createElementVNode("span",J2,e.toDisplayString(g.label),1),l!==i.value.content.length-1?(e.openBlock(),e.createElementBlock("span",z2)):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[h.value[l]?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(rg,{key:0,pageUrl:g.url,"rule-map":Q.ruleMap,"page-params":{...Q.pageParams,...g.pageParams},ref_for:!0,ref:b(g.url),onRefresh:d=>T(l),onChangeTab:Y,onChangeMixMode:v},{loading:e.withCtx(()=>[e.createVNode(k,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","onRefresh"]))]),_:2},1032,["name","lazy"]))),128))]),_:1},16,["modelValue","style","class"]))],8,O2)}}}),[["__scopeId","data-v-b9751b0e"]]),W2=["id"],j2={class:"info-card-header"},q2={class:"left-part"},X2={class:"title-part"},V2={class:"sub-title-container"},A8={class:"sub-title"},e8={class:"right-part"},t8={class:"info"},n8={class:"info-label"},i8={class:"ml-2"},o8={class:"info-card-detail"},r8={class:"info-card-detail-left"},a8={class:"label"},s8={key:0,class:"divider"},l8={key:0,class:"info-card-detail-right"},c8={class:"detail-right-label"},g8={class:"detail-right-value"},u8=ge(e.defineComponent({__name:"InfoCard",props:e.mergeModels({pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const t=e.useModel(n,"schema"),i=e.inject("ruleMap",{}),h=n,I=e.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[h.pageRulePath]);e.provide("ruleModule",I.value);const o=e.inject("pageMethodMap",{}),b=S=>{const N=document.createElement("textarea");N.value=S??"",N.style.position="absolute",N.style.opacity="0",document.body.appendChild(N),N.select(),document.execCommand("copy"),N.remove()},D=async()=>{try{await navigator.clipboard.writeText(t.value.header.subTitle)}catch(S){console.error("Clipboard API error:",S),b(t.value.header.subTitle)}Tt.ElMessage.success("Copy Successful")},w=S=>{var N;if(I.value[S||"clickTitleIcon"])try{I.value[S||"clickTitleIcon"](o,(N=t.value.header)==null?void 0:N.titleIcon)}catch(T){console.error(T)}};return e.onMounted(async()=>{if(!t.value||!t.value.rulePath||!t.value.onMounted)return;const S=t.value.onMounted;try{I.value[S](o)}catch(N){console.error(N)}}),e.onActivated(()=>{if(!t.value||!t.value.rulePath||!t.value.onActivated)return;const S=t.value.onActivated;try{I.value[S](o)}catch(N){console.error(N)}}),A({type:"infocard",schema:t}),(S,N)=>{const T=e.resolveComponent("el-scrollbar");return t.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"info-card-container",id:t.value.key},[e.createVNode(T,{class:"info-card",always:""},{default:e.withCtx(()=>{var $,K,Y,v,Q,L,k,y,m;return[e.createElementVNode("div",j2,[e.createElementVNode("div",q2,[e.createElementVNode("div",{class:"avatar",style:e.normalizeStyle(t.value.header.avatarBgColor?{backgroundColor:t.value.header.avatarBgColor}:{})},[e.createVNode(ze,{name:($=t.value.header)==null?void 0:$.avatar,color:(K=t.value.header)==null?void 0:K.avatarIconColor},null,8,["name","color"])],4),e.createElementVNode("div",X2,[e.createElementVNode("div",{class:"title",style:e.normalizeStyle(t.value.header.titleColor?{color:t.value.header.titleColor}:{})},[e.createElementVNode("span",{class:e.normalizeClass((Y=t.value.header)!=null&&Y.titleClick?"cursor-pointer":""),onClick:N[0]||(N[0]=p=>{var u;return w((u=t.value.header)==null?void 0:u.titleClick)})},e.toDisplayString((v=t.value.header)==null?void 0:v.title),3),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Q=t.value.header)==null?void 0:Q.titleIcons,(p,u)=>(e.openBlock(),e.createBlock(ze,{key:u,name:p.icon,class:"title-icon",size:"large",onClick:s=>w(p.onClick)},null,8,["name","onClick"]))),128)),e.createVNode(e.unref(so),{class:"title-icon",btns:(L=t.value.header)==null?void 0:L.btns},null,8,["btns"])],4),e.createElementVNode("div",V2,[e.createElementVNode("span",A8,e.toDisplayString((k=t.value.header)==null?void 0:k.subTitlePrefix)+e.toDisplayString((y=t.value.header)==null?void 0:y.subTitle),1),e.createVNode(ze,{name:"icon-fuzhi",class:"copy-icon",onClick:D}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((m=t.value.header)==null?void 0:m.subTitleIcons,(p,u)=>{var s,g;return e.openBlock(),e.createBlock(ze,{key:u,name:(s=p.icon)==null?void 0:s.name,color:(g=p.icon)==null?void 0:g.color,class:"title-icon ml-2 cursor-pointer",onClick:l=>w(p.onClick)},null,8,["name","color","onClick"])}),128))])])]),e.createElementVNode("div",e8,[e.createElementVNode("div",t8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.infos,p=>(e.openBlock(),e.createElementBlock("div",{key:p.key,class:"info-item"},[e.createElementVNode("span",n8,e.toDisplayString(p.label)+": ",1),e.createElementVNode("span",{class:e.normalizeClass(["info-value",p.type])},e.toDisplayString(p.value||"-"),3),e.createElementVNode("div",i8,[p.expendComponents?(e.openBlock(),e.createBlock(e.unref(Wt),{key:0,class:"expend-components",list:p.expendComponents},null,8,["list"])):e.createCommentVNode("",!0)])]))),128))]),e.createVNode(e.unref(so),{btns:t.value.btns},null,8,["btns"]),e.createVNode(e.unref(W_),{dropdowns:t.value.dropdowns},null,8,["dropdowns"])])]),e.createElementVNode("div",o8,[e.createElementVNode("div",r8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.detail,(p,u)=>(e.openBlock(),e.createElementBlock("div",{key:p.label,class:"detail-item"},[e.createElementVNode("div",null,[e.createElementVNode("div",a8,e.toDisplayString(p.label),1),e.createElementVNode("div",{class:"value",style:e.normalizeStyle(p.color?{color:p.color}:{})},e.toDisplayString(p.value||"- -"),5)]),u!==t.value.detail.length-1?(e.openBlock(),e.createElementBlock("div",s8)):e.createCommentVNode("",!0)]))),128))]),t.value.bottomRightDetail?(e.openBlock(),e.createElementBlock("div",l8,[e.createElementVNode("div",c8,e.toDisplayString(t.value.bottomRightDetail.label),1),e.createElementVNode("div",g8,e.toDisplayString(t.value.bottomRightDetail.value),1)])):e.createCommentVNode("",!0)])]}),_:1})],8,W2))}}}),[["__scopeId","data-v-43327229"]]),d8=["id"],h8={class:"left-part"},p8={class:"nav-title"},B8=["onClick"],C8={class:"nav-footer"},m8={class:"left-actions"},E8=["onClick"],Q8={class:"footer-text"},I8={key:1,class:"divider"},f8={class:"right-actions"},w8=ge(e.defineComponent({__name:"NavBar",props:e.mergeModels({pageRulePath:{},findRef:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const t=e.useModel(n,"schema"),i=e.computed(()=>(t.value.leftActions||[]).filter(T=>!T.hidden)),h=e.inject("ruleMap",{}),I=e.inject("pageMethodMap",{}),o=n,b=e.computed(()=>t.value.rulePath&&h[t.value.rulePath]?h[t.value.rulePath]:h[o.pageRulePath]);e.provide("ruleModule",b.value);const D=T=>{if(T&&b.value)try{b.value[T](I)}catch($){console.error($)}},w=e.inject(jn),S=()=>{w&&w.navigateFn&&w.navigateFn(-1)},N=T=>{const $=o.findRef(T);if($&&$.rootRef)$.rootRef.scrollIntoView({behavior:"smooth",block:"center"});else{const K=document.getElementById(T);K&&K.scrollIntoView({behavior:"smooth",block:"center"})}};return A({type:"navbar",schema:t}),(T,$)=>t.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["nav-bar",{mixmode:t.value.mixMode,simple:t.value.simple,"no-sticky":t.value.noSticky}]),style:e.normalizeStyle(t.value.top?{top:`${t.value.top}px`}:{}),id:t.value.key},[t.value.title||t.value.btns?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["nav-header",{mb10:t.value.content&&t.value.content.length>0||t.value.leftActions&&t.value.leftActions.length>0}])},[e.createElementVNode("div",h8,[t.value.back?(e.openBlock(),e.createBlock(ze,{key:0,name:"icon-back",class:"back-icon",onClick:S})):e.createCommentVNode("",!0),e.createElementVNode("div",p8,e.toDisplayString(t.value.title),1)]),e.createElementVNode("div",null,[e.createVNode(e.unref(so),{btns:t.value.btns||[]},null,8,["btns"])])],2)):e.createCommentVNode("",!0),t.value.content&&t.value.content.length>0?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["steps",{mb8:i.value.length>0||(t.value.footerBtns||[]).length>0}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.content,(K,Y)=>(e.openBlock(),e.createElementBlock("div",{key:Y,class:e.normalizeClass(["hexagon",{"first-item":Y===0,"middle-item":Y>0&&Y<t.value.content.length-1,"last-item":Y===t.value.content.length-1}]),onClick:v=>N(K.ref)},[e.createElementVNode("span",null,e.toDisplayString(K.text),1)],10,B8))),128))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",C8,[e.createElementVNode("div",m8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(K,Y)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:K.key},[K.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,onClick:v=>D(K.onClick),class:"footer-item"},[K.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:K.icon.name,color:K.icon.color,class:"footer-icon"},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",Q8,e.toDisplayString(K.text),1),Y!==i.value.length-1?(e.openBlock(),e.createElementBlock("div",I8)):e.createCommentVNode("",!0)],8,E8))],64))),128))]),e.createElementVNode("div",f8,[e.createVNode(e.unref(so),{btns:t.value.footerBtns||[]},null,8,["btns"])])])],14,d8))}}),[["__scopeId","data-v-0aae99cd"]]),b8=["onClick"],D8={key:1},y8=ge(e.defineComponent({__name:"AlertRender",props:e.mergeModels({pageRulePath:{},pageUrl:{},pageEmit:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const t=e.useModel(n,"schema"),i=e.inject("ruleMap",{}),h=e.inject("pageMethodMap",{}),I=n,o=e.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[I.pageRulePath]);e.provide("ruleModule",o.value);const b=(N,T)=>{try{o.value[N](h,T)}catch($){console.error($)}},D=()=>{if(I.pageEmit("changeMixMode",I.pageUrl,!1),!!t.value.onClose)try{o.value[t.value.onClose](h)}catch(N){console.error(N)}},w=e.computed(()=>{const N=/\{(\d+)\}/g,T=[];let $=0,K;for(;(K=N.exec(t.value.description))!==null;)K.index>$&&T.push({type:"text",value:t.value.description.slice($,K.index)}),T.push({type:"value",index:Number(K[1])}),$=N.lastIndex;return $<t.value.description.length&&T.push({type:"text",value:t.value.description.slice($)}),T}),S=e.computed(()=>t.value.type?{primary:{name:"icon-tishitubiao",color:"#18aaf8"},success:{name:"icon-successtubiao",color:"#18aaf8"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"#18aaf8"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[t.value.type]:{name:"icon-tishitubiao",color:"#18aaf8"});return A({type:"alert",schema:t}),(N,T)=>{const $=e.resolveComponent("el-alert");return t.value.description?(e.openBlock(),e.createBlock($,{key:0,type:t.value.type,"show-icon":!0,class:e.normalizeClass(["alert-container",{mixmode:t.value.mixMode}]),style:e.normalizeStyle(t.value.top?{top:`${t.value.top}px`}:{}),onClose:D},{icon:e.withCtx(()=>[e.createVNode(ze,{name:S.value.name,color:S.value.color},null,8,["name","color"])]),default:e.withCtx(()=>[e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,(K,Y)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Y},[K.type==="text"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(K.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof K.index=="number"&&t.value.values&&t.value.values[K.index]&&typeof t.value.values[K.index].onClick=="string"?(e.openBlock(),e.createElementBlock("span",{key:0,class:"link-style",onClick:v=>b(t.value.values[K.index].onClick,t.value.values[K.index].text)},e.toDisplayString(typeof K.index=="number"&&t.value.values&&t.value.values[K.index]?t.value.values[K.index].text:""),9,b8)):(e.openBlock(),e.createElementBlock("span",D8,e.toDisplayString(typeof K.index=="number"&&t.value.values&&t.value.values[K.index]?t.value.values[K.index].text:""),1))],64))],64))),128))])]),_:1},8,["type","class","style"])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-45df1e59"]]),v8=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"DragList",props:e.mergeModels({children:{},rowHeight:{},colNum:{},maxRows:{},isDraggable:{type:Boolean},name:{}},{gridlayout:{required:!0},gridlayoutModifiers:{}}),emits:["update:gridlayout"],setup(n,{expose:A}){const t=n,i=e.useModel(n,"gridlayout"),b={getLayout:()=>e.readonly(i),setItemX:(D,w)=>{i.value[D].x=w},setItemY:(D,w)=>{i.value[D].y=w},type:"draglist"};if(A(b),t.name){const D=fB(t.name,b);e.onUnmounted(()=>{D()})}return(D,w)=>(e.openBlock(),e.createBlock(e.unref(J_),{layout:i.value,"onUpdate:layout":w[1]||(w[1]=S=>i.value=S),"col-num":D.colNum||12,"row-height":D.rowHeight||30,"max-rows":D.maxRows,margin:[8,8],"is-draggable":D.isDraggable,"is-bounded":"","is-resizable":!1,"vertical-compact":"","use-css-transforms":""},{default:e.withCtx(()=>[e.createVNode(e.unref(Wt),{list:D.children,gridData:i.value,"onUpdate:gridData":w[0]||(w[0]=S=>i.value=S)},null,8,["list","gridData"])]),_:1},8,["layout","col-num","row-height","max-rows","is-draggable"]))}}),[["__scopeId","data-v-4f8bb5d6"]])},Symbol.toStringTag,{value:"Module"})),k8=["id"],rg=ge(e.defineComponent({__name:"index",props:{ruleMap:{},pageUrl:{},pageParams:{}},emits:["done","refresh","changeTab","changeMixMode","addPageParams"],setup(n,{expose:A,emit:t}){const i=t,h={form:fn,table:og,tabs:Z2,infocard:u8,navbar:w8,alert:y8},I=n,o=e.ref(I.pageParams),b=e.ref({}),D=e.ref(),w=e.ref({});e.watch(()=>I.pageParams,()=>{o.value=I.pageParams});const S=G=>{if(D.value){if(G.type==="tabs")return{...G.schema.tabProps,schema:G.schema,"onUpdate:schema":J=>{G.schema=J},ruleMap:I.ruleMap,pageParams:o.value};if(G.type==="form")return{modelValue:G.model,"onUpdate:modelValue":J=>{G.model=J},realValues:G.realValues,"onUpdate:realValues":J=>{G.realValues=J},schema:G.schema,"onUpdate:schema":J=>{G.schema=J},pageRulePath:D.value.rulePath||""};if(G.type==="table")return{modelValue:G.model,"onUpdate:modelValue":J=>{G.model=J},schema:G.schema,"onUpdate:schema":J=>{G.schema=J},pageRulePath:D.value.rulePath||""};if(G.type==="infocard")return{schema:G.schema,"onUpdate:schema":J=>{G.schema=J},pageRulePath:D.value.rulePath||""};if(G.type==="navbar")return{schema:G.schema,"onUpdate:schema":J=>{G.schema=J},pageRulePath:D.value.rulePath||"",findRef:$};if(G.type==="alert")return{schema:G.schema,"onUpdate:schema":J=>{G.schema=J},pageRulePath:D.value.rulePath||"",pageUrl:I.pageUrl,pageEmit:i}}},N=e.ref([]),T=n2(),$=G=>{var q;const J=(q=N.value)==null?void 0:q.find(W=>W.schema.key===G);return J||T.findRef(G)},K=G=>{var q;return(q=N.value)==null?void 0:q.filter(W=>W.schema.key&&G.includes(W.schema.key))},Y=(G,J)=>{var eA;const q=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],W=_=>{_.forEach(V=>{q.includes(V.component)?V.props&&(V.props.disabled=J):V.children&&W(V.children)})},z=(eA=D.value)==null?void 0:eA.content.find(_=>_.schema.key===G);z&&z.type==="form"&&W(z.schema.items)},v=(G,J)=>{var eA;const q=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],W=_=>{_.forEach(V=>{q.includes(V.component)?V.props&&(V.props.read=J):V.children&&W(V.children)})},z=(eA=D.value)==null?void 0:eA.content.find(_=>_.schema.key===G);z&&z.type==="form"&&W(z.schema.items)},Q=async G=>{if(Array.isArray(G)){const J=K(G);for(const q of J||[])q.type==="form"&&await q.validate()}else{const J=$(G);return J?await J.validate():!1}},L=G=>{if(D.value){if(!G){const J={};for(const q of D.value.content)q.schema.key&&(q.type==="form"?J[q.schema.key]=ht.cloneDeep(e.toRaw({...q.model,...q.realValues})):q.type==="table"&&(J[q.schema.key]=ht.cloneDeep(e.toRaw(q.model))));return J}if(Array.isArray(G)){const J={};for(const q of D.value.content)q.schema.key&&G.includes(q.schema.key)&&(q.type==="form"?J[q.schema.key]=ht.cloneDeep(e.toRaw({...q.model,...q.realValues})):q.type==="table"&&(J[q.schema.key]=ht.cloneDeep(e.toRaw(q.model))));return J}else{const J=D.value.content.find(q=>q.schema.key===G);if(J){if(J.type==="form")return ht.cloneDeep(e.toRaw({...J.model,...J.realValues}));if(J.type==="table")return ht.cloneDeep(e.toRaw(J.model))}}}},k=(G,J,q=!1)=>{if(!D.value)return;const W=D.value.content.find(z=>z.schema.key===G);if(W)if(W.type==="form")if(q)Object.assign(W.model,J);else{for(let z in W.model)delete W.model[z];Object.assign(W.model,J)}else W.type==="table"&&(W.model=J)},y=G=>{if(G)if(Array.isArray(G)){const J=K(G);for(const q of J||[])q.type==="form"&&q.resetFields()}else{const J=$(G);if(!J)return;J.type==="form"&&J.resetFields()}},m=(G,J)=>{const q=$(G);q&&q.type==="form"&&q.clearValidate(J)},p=(G,J)=>{var W;const q=(W=D.value)==null?void 0:W.content.find(z=>z.schema.key===G);if(q&&q.type==="form")return zi(q.schema.items,J)},u=()=>o.value,s=G=>{o.value=G},g=G=>{o.value={...o.value,...G}},l=(G,J)=>{if(!D.value)return;const q=D.value.content.find(W=>W.schema.key===G);q&&(q.schema.hidden=J)},d=(G,J)=>{if(!D.value)return;const q=D.value.btns.find(W=>W.key===G);q&&(q.hidden=J)},B=(G,J,q)=>{var W;if(D.value){if(G.type==="form"){const z=p(G.formKey,G.btnKey);z&&(J==="disabled"?z.props[J]=q:z[J]=q)}else if(G.type==="page"){const z=D.value.btns.find(eA=>eA.key===G.btnKey);z&&(z[J]=q)}else if(G.type==="table"){const z=(W=D.value)==null?void 0:W.content.find(eA=>eA.schema.key===G.tableKey);if(!z||z.type!=="table")return;G.btnPosition==="top"?z.schema.topBtns.find(eA=>eA.key===G.btnKey)[J]=q:G.btnPosition==="row"&&(J==="hidden"?z.schema.rowBtns.find(eA=>eA.key===G.btnKey).condition=!q:z.schema.rowBtns.find(eA=>eA.key===G.btnKey)[J]=q)}else if(G.type==="card"){const z=p(G.formKey,G.cardKey);z&&(z.props.btns.find(eA=>eA.key===G.btnKey)[J]=q)}}},a=(G,J,q)=>{var z,eA,_,V,H;if(!D.value)return;const W=(J==="disabled"||J==="hidden")&&typeof q=="boolean";if(D.value.btns){const AA=D.value.btns.find(aA=>aA.key===G);if(AA&&W){AA[J]=q;return}}for(const AA of D.value.content){if(AA.type==="infocard"){const aA=AA.schema.btns.find(oA=>oA.key===G);if(aA&&W){aA[J]=q;return}}if(AA.type==="navbar"){const aA=(z=AA.schema.btns)==null?void 0:z.find(pA=>pA.key===G);if(aA&&W){aA[J]=q;return}const oA=(eA=AA.schema.footerBtns)==null?void 0:eA.find(pA=>pA.key===G);if(oA&&W){oA[J]=q;return}const dA=(_=AA.schema.leftActions)==null?void 0:_.find(pA=>pA.key===G);if(dA&&W&&J==="hidden"){dA[J]=q;return}}if(AA.type==="table"){const aA=(V=AA.schema.topBtns)==null?void 0:V.find(dA=>dA.key===G);if(aA&&W){aA[J]=q;return}const oA=(H=AA.schema.rowBtns)==null?void 0:H.find(dA=>dA.key===G);if(oA){J==="hidden"?oA.condition=!q:J==="condition"&&typeof q=="string"?oA.condition=q:W&&(oA[J]=q);return}}if(AA.type==="form"){const aA=oA=>{var dA,pA;for(const iA of oA){if(iA.component==="Button"&&iA.name===G)return iA.props&&(iA.props[J]=q),!0;if((iA.component==="Card"||iA.component==="CurdCard")&&iA.props&&Array.isArray(iA.props.btns)){const CA=iA.props.btns.find(j=>j.key===G);if(CA)return CA[J]=q,!0}if(iA.component==="Table"&&iA.props){const CA=(dA=iA.props.topBtns)==null?void 0:dA.find(sA=>sA.key===G);if(CA)return CA[J]=q,!0;const j=(pA=iA.props.rowBtns)==null?void 0:pA.find(sA=>sA.key===G);if(j)return J==="hidden"?j.condition=!q:J==="condition"&&typeof q=="string"?j.condition=q:W&&(j[J]=q),!0}if(iA.children&&Array.isArray(iA.children)&&aA(iA.children))return!0}return!1};if(aA(AA.schema.items))return}}},r=(G,J)=>{if(!D.value)return;const q=D.value.btns.find(W=>W.key===G);q&&(q.disabled=J)},C=G=>{Object.assign(b.value,G)},E=()=>b.value,M={findRef:$,setFormDisabled:Y,clearValidate:m,validate:Q,getData:L,resetFields:y,emit:i,setData:k,getItemByName:p,getPageParams:u,setHidden:l,setBtnHidden:d,setBtnStateByKey:a,setBtnDisabled:r,addPageParams:g,setPageParams:s,setGlobalParams:C,getGlobalParams:E,setBtnState:B,setReadMode:v},x=async G=>{if(!(!D.value||!D.value.rulePath)){try{w.value[G.key]=!0,await I.ruleMap[D.value.rulePath][G.onClick](M)}catch(J){console.error(J)}w.value[G.key]=!1}};e.provide("pageMethodMap",M),e.provide("ruleMap",I.ruleMap),e.provide("getGlobalParams",E);const P=e.inject(jn);return e.onMounted(async()=>{if(P&&P.fetchSchemaFn&&I.pageUrl){const G=await P.fetchSchemaFn(I.pageUrl);D.value={...G,content:G.content.map(W=>W.type==="form"?{...W,schema:W.schema,model:{},realValues:{}}:W.type==="table"?{...W,schema:W.schema,model:[]}:W)},await e.nextTick();const J=EB(D.value);if(await T.waitForKeys(J),!D.value||!D.value.rulePath||!D.value.onMounted)return;const q=D.value.onMounted;try{I.ruleMap[D.value.rulePath][q](M)}catch(W){console.error(W)}}}),e.onActivated(()=>{if(!D.value||!D.value.rulePath||!D.value.onActivated)return;const G=D.value.onActivated;try{I.ruleMap[D.value.rulePath][G](M)}catch(J){console.error(J)}}),A({...M}),(G,J)=>{const q=e.resolveComponent("el-button"),W=e.resolveComponent("el-row");return e.openBlock(),e.createElementBlock("div",null,[D.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"page-render",id:D.value.key},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value.content,z=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(h[z.type]),e.mergeProps({key:z.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:N,onAddPageParams:g},S(z)),null,16))),128)),D.value.btns&&D.value.btns.length>0?(e.openBlock(),e.createBlock(W,{key:0,justify:D.value.btnPosition||"end",class:"btn-wrapper"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value.btns,z=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:z.key},[z.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(q,{key:0,type:z.type,loading:w.value[z.key],onClick:eA=>x(z),disabled:z.disabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(z.text),1)]),_:2},1032,["type","loading","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):e.createCommentVNode("",!0)],8,k8)):e.renderSlot(G.$slots,"loading",{key:1},void 0,!0)])}}}),[["__scopeId","data-v-6795d63b"]]),_8={install:(n,A={})=>{n.provide(jn,A),n.component("FormRender",fn),n.component("FormDesign",wB),n.component("TableRender",og),n.component("PageRender",rg)}},M8={key:0},x8=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"TextArea",props:e.mergeModels({read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>{const h=e.resolveComponent("el-input");return t.read?(e.openBlock(),e.createElementBlock("div",M8,e.toDisplayString(A.value||"--"),1)):(e.openBlock(),e.createBlock(h,e.mergeProps({key:1},t.$attrs,{modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=I=>A.value=I),type:"textarea"}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),S8={class:"card-header"},F8={class:"card-btns"},N8={class:"card-sub-header"},R8=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Card",props:{children:{},collapsible:{type:Boolean},header:{},btns:{},extraIcons:{},shadowless:{type:Boolean},subHeaders:{}},setup(n){const A=e.ref(!1),t=e.inject("ruleModule",void 0),i=e.inject("pageMethodMap",{}),h=I=>{if(I&&t)try{t[I](i)}catch(o){console.error(o)}};return(I,o)=>{const b=e.resolveComponent("el-tooltip"),D=e.resolveComponent("el-collapse-transition"),w=e.resolveComponent("ElCard");return e.openBlock(),e.createBlock(w,e.mergeProps(I.$attrs,{class:["crm-card",{collapsed:A.value,shadowless:I.shadowless}],shadow:"never"}),{header:e.withCtx(()=>[e.createElementVNode("div",S8,[I.collapsible?(e.openBlock(),e.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:o[0]||(o[0]=S=>A.value=!A.value)},[e.createVNode(e.unref(be),{name:"dropdown",class:e.normalizeClass(["dropdown-icon",{"is-collapsed":A.value}])},null,8,["class"])])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(I.header),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.extraIcons,S=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:S.name},[S.tips?(e.openBlock(),e.createBlock(b,{key:0,content:S.tips,placement:"right"},{default:e.withCtx(()=>[e.createVNode(ze,{class:"extra-icon",name:S.name,color:S.color,size:S.size||"small",onClick:N=>h(S.onClick)},null,8,["name","color","size","onClick"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock(ze,{key:1,class:"extra-icon",name:S.name,color:S.color,size:S.size||"small",onClick:N=>h(S.onClick)},null,8,["name","color","size","onClick"]))],64))),128)),e.createElementVNode("div",F8,[e.createVNode(e.unref(so),{btns:I.btns||[]},null,8,["btns"])]),e.createElementVNode("div",N8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.subHeaders,S=>(e.openBlock(),e.createElementBlock("div",{key:S,class:"card-sub-header-item"},[e.createElementVNode("span",null,e.toDisplayString(S),1)]))),128))])])]),default:e.withCtx(()=>[e.createVNode(D,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Wt),{list:I.children},null,8,["list"])],512),[[e.vShow,!A.value]])]),_:1})]),_:1},16,["class"])}}}),[["__scopeId","data-v-f8533825"]])},Symbol.toStringTag,{value:"Module"})),L8=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Cascader",props:e.mergeModels({options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=e.inject("ruleModule",void 0),h=e.inject("pageMethodMap",{}),I=D=>{if(A.onChange&&i)try{i[A.onChange](h,D)}catch(w){console.error(w)}},{currentOptions:o,loading:b}=pr(A);return(D,w)=>{const S=e.resolveComponent("el-cascader");return e.openBlock(),e.createBlock(S,e.mergeProps({modelValue:t.value,"onUpdate:modelValue":w[0]||(w[0]=N=>t.value=N),options:e.unref(o),loading:e.unref(b),props:{multiple:D.multiple,label:D.labelKey,value:D.valueKey}},D.$attrs,{onChange:I}),null,16,["modelValue","options","loading","props"])}}})},Symbol.toStringTag,{value:"Module"}));var DB={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`,v=360,Q="keydown",L="mousedown",k="focusin";function y(g,l){return(l||document).querySelector(g)}function m(g){g.preventDefault(),g.stopPropagation()}function p(g,l,d,B,a){g.add(l,Q,function(r){d.indexOf(r.key)>=0&&B(r)})}var u=function(){function g(l){o(this,g),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex",cancelButton:!1,defaultColor:"#0cf"},this._events=new T,this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(l)}return b(g,[{key:"setOptions",value:function(d){var B=this;if(!d)return;var a=this.settings;function r(x,P,G){for(var J in x)P[J]=x[J]}if(d instanceof HTMLElement)a.parent=d;else{a.parent&&d.parent&&a.parent!==d.parent&&(this._events.remove(a.parent),this._popupInited=!1),r(d,a),d.onChange&&(this.onChange=d.onChange),d.onDone&&(this.onDone=d.onDone),d.onOpen&&(this.onOpen=d.onOpen),d.onClose&&(this.onClose=d.onClose);var C=d.color||d.colour;C&&this._setColor(C)}var E=a.parent;if(E&&a.popup&&!this._popupInited){var M=function(P){return B.openHandler(P)};this._events.add(E,"click",M),p(this._events,E,[" ","Spacebar","Enter"],M),this._popupInited=!0}else d.parent&&!a.popup&&this.show()}},{key:"openHandler",value:function(d){if(this.show()){d&&d.preventDefault(),this.settings.parent.style.pointerEvents="none";var B=d&&d.type===Q?this._domEdit:this.domElement;setTimeout(function(){return B.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(d){var B=d&&d.type,a=!1;if(!d)a=!0;else if(B===L||B===k){var r=(this.__containedEvent||0)+100;d.timeStamp>r&&(a=!0)}else m(d),a=!0;a&&this.hide()&&(this.settings.parent.style.pointerEvents="",B!==L&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(d,B){this.closeHandler(),this.setOptions(d),B&&this.openHandler()}},{key:"setColor",value:function(d,B){this._setColor(d,{silent:B})}},{key:"_setColor",value:function(d,B){if(typeof d=="string"&&(d=d.trim()),!!d){B=B||{};var a=void 0;try{a=new N(d)}catch(C){if(B.failSilently)return;throw C}if(!this.settings.alpha){var r=a.hsla;r[3]=1,a.hsla=r}this.colour=this.color=a,this._setHSLA(null,null,null,null,B)}}},{key:"setColour",value:function(d,B){this.setColor(d,B)}},{key:"show",value:function(){var d=this.settings.parent;if(!d)return!1;if(this.domElement){var B=this._toggleDOM(!0);return this._setPosition(),B}var a=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>',r=$(a);return this.domElement=r,this._domH=y(".picker_hue",r),this._domSL=y(".picker_sl",r),this._domA=y(".picker_alpha",r),this._domEdit=y(".picker_editor input",r),this._domSample=y(".picker_sample",r),this._domOkay=y(".picker_done button",r),this._domCancel=y(".picker_cancel button",r),r.classList.add("layout_"+this.settings.layout),this.settings.alpha||r.classList.add("no_alpha"),this.settings.editor||r.classList.add("no_editor"),this.settings.cancelButton||r.classList.add("no_cancel"),this._ifPopup(function(){return r.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 d=this,B=this,a=this.domElement,r=this._events;function C(x,P,G){r.add(x,P,G)}C(a,"click",function(x){return x.preventDefault()}),K(r,this._domH,function(x,P){return B._setHSLA(x)}),K(r,this._domSL,function(x,P){return B._setHSLA(null,x,1-P)}),this.settings.alpha&&K(r,this._domA,function(x,P){return B._setHSLA(null,null,null,1-P)});var E=this._domEdit;C(E,"input",function(x){B._setColor(this.value,{fromEditor:!0,failSilently:!0})}),C(E,"focus",function(x){var P=this;P.selectionStart===P.selectionEnd&&P.select()}),this._ifPopup(function(){var x=function(J){return d.closeHandler(J)};C(window,L,x),C(window,k,x),p(r,a,["Esc","Escape"],x);var P=function(J){d.__containedEvent=J.timeStamp};C(a,L,P),C(a,k,P),C(d._domCancel,"click",x)});var M=function(P){d._ifPopup(function(){return d.closeHandler(P)}),d.onDone&&d.onDone(d.colour)};C(this._domOkay,"click",M),p(r,a,["Enter"],M)}},{key:"_setPosition",value:function(){var d=this.settings.parent,B=this.domElement;d!==B.parentNode&&d.appendChild(B),this._ifPopup(function(a){getComputedStyle(d).position==="static"&&(d.style.position="relative");var r=a===!0?"popup_right":"popup_"+a;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(C){C===r?B.classList.add(C):B.classList.remove(C)}),B.classList.add(r)})}},{key:"_setHSLA",value:function(d,B,a,r,C){C=C||{};var E=this.colour,M=E.hsla;[d,B,a,r].forEach(function(x,P){(x||x===0)&&(M[P]=x)}),E.hsla=M,this._updateUI(C),this.onChange&&!C.silent&&this.onChange(E)}},{key:"_updateUI",value:function(d){if(!this.domElement)return;d=d||{};var B=this.colour,a=B.hsla,r="hsl("+a[0]*v+", 100%, 50%)",C=B.hslString,E=B.hslaString,M=this._domH,x=this._domSL,P=this._domA,G=y(".picker_selector",M),J=y(".picker_selector",x),q=y(".picker_selector",P);function W(oA,dA,pA){dA.style.left=pA*100+"%"}function z(oA,dA,pA){dA.style.top=pA*100+"%"}W(M,G,a[0]),this._domSL.style.backgroundColor=this._domH.style.color=r,W(x,J,a[1]),z(x,J,1-a[2]),x.style.color=C,z(P,q,1-a[3]);var eA=C,_=eA.replace("hsl","hsla").replace(")",", 0)"),V="linear-gradient("+[eA,_]+")";if(this._domA.style.background=V+", "+Y,!d.fromEditor){var H=this.settings.editorFormat,AA=this.settings.alpha,aA=void 0;switch(H){case"rgb":aA=B.printRGB(AA);break;case"hsl":aA=B.printHSL(AA);break;default:aA=B.printHex(AA)}this._domEdit.value=aA}this._domSample.style.color=E}},{key:"_ifPopup",value:function(d,B){this.settings.parent&&this.settings.popup?d&&d(this.settings.popup):B&&B()}},{key:"_toggleDOM",value:function(d){var B=this.domElement;if(!B)return!1;var a=d?"":"none",r=B.style.display!==a;return r&&(B.style.display=a),r}}]),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),u.StyleElement=s,u}()},9857:function(I,o,b){b.d(o,{m:function(){return ae}});class D extends Error{constructor(SA,ZA){super(SA+" at position "+ZA),this.position=ZA}}let w=92,S=47,N=42,T=123,$=125,K=91,Y=93,v=40,Q=41,L=32,k=10,y=9,m=13,p=8,u=12,s=34,g=43,l=45,d=39,B=48,a=57,r=44,C=46,E=58,M=59,x=65,P=97,G=69,J=101,q=70,W=102,z=160,eA=8192,_=8202,V=8239,H=8287,AA=12288,aA=8220,oA=8221,dA=8216,pA=8217,iA=96,CA=180;function j(LA){return LA>=B&&LA<=a}function sA(LA){return gA.test(LA)}let gA=/^[,:[\]/{}()\n+]$/;function hA(LA){return O.test(LA)||LA&&tA(LA.charCodeAt(0))}let O=/^[[{\w-]$/;function X(LA){return LA===L||LA===k||LA===y||LA===m}function tA(LA){return cA(LA)||_A(LA)}function cA(LA){return LA===s||LA===aA||LA===oA}function EA(LA){return LA===s}function _A(LA){return LA===d||LA===dA||LA===pA||LA===iA||LA===CA}function YA(LA){return LA===d}function zA(LA,SA,ZA){return ZA=2<arguments.length&&ZA!==void 0&&ZA,SA=LA.lastIndexOf(SA),SA!==-1?LA.substring(0,SA)+(ZA?"":LA.substring(SA+1)):LA}function XA(LA,SA){let ZA=LA.length;if(!X(LA.charCodeAt(ZA-1)))return LA+SA;for(;X(LA.charCodeAt(ZA-1));)ZA--;return LA.substring(0,ZA)+SA+LA.substring(ZA)}let jA={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},pe={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
1577
1577
  `,r:"\r",t:" "};function ae(LA){let SA=0,ZA="";if(!ye())throw new D("Unexpected end of json string",LA.length);var Ce=$A(r);if(Ce&&xe(),hA(LA[SA])&&/[,\n][ \t\r]*$/.test(ZA)){Ce||(ZA=XA(ZA,","));{let ie=!0,ce=!0;for(;ce;)ie?ie=!1:$A(r)||(ZA=XA(ZA,",")),ce=ye();ce||(ZA=zA(ZA,",")),ZA=`[
1578
1578
  `.concat(ZA,`
1579
- ]`)}}else Ce&&(ZA=zA(ZA,","));for(;LA.charCodeAt(SA)===$||LA.charCodeAt(SA)===Y;)SA++,xe();if(SA>=LA.length)return ZA;throw new D("Unexpected character "+JSON.stringify(LA[SA]),SA);function ye(){xe();var ie=function(){if(LA.charCodeAt(SA)!==T)return!1;{ZA+="{",SA++,xe(),qA(r)&&xe();let lt=!0;for(;SA<LA.length&&LA.charCodeAt(SA)!==$;){if(lt?lt=!1:($A(r)||(ZA=XA(ZA,",")),xe()),de(),!(le()||wA())){LA.charCodeAt(SA)===$||LA.charCodeAt(SA)===T||LA.charCodeAt(SA)===Y||LA.charCodeAt(SA)===K||LA[SA]===void 0?ZA=zA(ZA,","):function(){throw new D("Object key expected",SA)}();break}xe();var ce=$A(E),Me=SA>=LA.length,tt=(ce||(hA(LA[SA])||Me?ZA=XA(ZA,":"):we()),ye());tt||(ce||Me?ZA+="null":we())}return LA.charCodeAt(SA)===$?(ZA+="}",SA++):ZA=XA(ZA,"}"),!0}}()||function(){if(LA.charCodeAt(SA)!==K)return!1;{ZA+="[",SA++,xe(),qA(r)&&xe();let Me=!0;for(;SA<LA.length&&LA.charCodeAt(SA)!==Y;){Me?Me=!1:$A(r)||(ZA=XA(ZA,",")),de();var ce=ye();if(!ce){ZA=zA(ZA,",");break}}return LA.charCodeAt(SA)===Y?(ZA+="]",SA++):ZA=XA(ZA,"]"),!0}}()||le()||function(){var ce=SA;if(LA.charCodeAt(SA)===l){if(SA++,HA())return ne(ce),!0;if(!j(LA.charCodeAt(SA)))return SA=ce,!1}for(;j(LA.charCodeAt(SA));)SA++;if(LA.charCodeAt(SA)===C){if(SA++,HA())return ne(ce),!0;if(!j(LA.charCodeAt(SA)))return SA=ce,!1;for(;j(LA.charCodeAt(SA));)SA++}if(LA.charCodeAt(SA)===J||LA.charCodeAt(SA)===G){if(SA++,LA.charCodeAt(SA)!==l&&LA.charCodeAt(SA)!==g||SA++,HA())return ne(ce),!0;if(!j(LA.charCodeAt(SA)))return SA=ce,!1;for(;j(LA.charCodeAt(SA));)SA++}var Me,tt;if(HA()){if(SA>ce)return Me=LA.slice(ce,SA),tt=/^0\d/.test(Me),ZA+=tt?'"'.concat(Me,'"'):Me,!0}else SA=ce;return!1}()||ke("true","true")||ke("false","false")||ke("null","null")||ke("True","true")||ke("False","false")||ke("None","null")||wA();return xe(),ie}function xe(){for(UA();function(){if(LA.charCodeAt(SA)===S&&LA.charCodeAt(SA+1)===N){for(;SA<LA.length&&!function(ie,ce){return ie[ce]==="*"&&ie[ce+1]==="/"}(LA,SA);)SA++;SA+=2}else{if(LA.charCodeAt(SA)!==S||LA.charCodeAt(SA+1)!==S)return!1;for(;SA<LA.length&&LA.charCodeAt(SA)!==k;)SA++}return!0}()&&UA(););}function UA(){let ie="";for(var ce,Me;(ce=X(LA.charCodeAt(SA)))||(Me=LA.charCodeAt(SA))===z||Me>=eA&&Me<=_||Me===V||Me===H||Me===AA;)ie+=ce?LA[SA]:" ",SA++;return 0<ie.length&&(ZA+=ie,!0)}function $A(ie){return LA.charCodeAt(SA)===ie&&(ZA+=LA[SA],SA++,!0)}function qA(ie){return LA.charCodeAt(SA)===ie&&(SA++,!0)}function de(){xe(),LA.charCodeAt(SA)===C&&LA.charCodeAt(SA+1)===C&&LA.charCodeAt(SA+2)===C&&(SA+=3,xe(),qA(r))}function le(ie){var ce,Me,tt=0<arguments.length&&ie!==void 0&&ie;let lt=LA.charCodeAt(SA)===w;if(lt&&(SA++,lt=!0),tA(LA.charCodeAt(SA))){var MA=EA(LA.charCodeAt(SA))?EA:YA(LA.charCodeAt(SA))?YA:_A(LA.charCodeAt(SA))?_A:cA,bA=SA,RA=ZA.length;let _e='"';for(SA++;;){if(SA>=LA.length)return JA=FA(SA-1),!tt&&sA(LA.charAt(JA))?(SA=bA,ZA=ZA.substring(0,RA),le(!0)):(_e=XA(_e,'"'),ZA+=_e,!0);if(MA(LA.charCodeAt(SA))){var JA=SA,OA=_e.length;if(_e+='"',SA++,ZA+=_e,xe(),tt||SA>=LA.length||sA(LA.charAt(SA))||tA(LA.charCodeAt(SA))||j(LA.charCodeAt(SA)))return Ee(),!0;if(sA(LA.charAt(FA(JA-1))))return SA=bA,ZA=ZA.substring(0,RA),le(!0);ZA=ZA.substring(0,RA),SA=JA+1,_e=_e.substring(0,OA)+"\\"+_e.substring(OA)}else{if(tt&&sA(LA[SA]))return _e=XA(_e,'"'),ZA+=_e,Ee(),!0;if(LA.charCodeAt(SA)===w)if(OA=LA.charAt(SA+1),pe[OA]!==void 0)_e+=LA.slice(SA,SA+2),SA+=2;else if(OA==="u"){let qe=2;for(;qe<6&&((Me=LA.charCodeAt(SA+qe))>=B&&Me<=a||Me>=x&&Me<=q||Me>=P&&Me<=W);)qe++;if(qe===6)_e+=LA.slice(SA,SA+6),SA+=6;else{if(!(SA+qe>=LA.length))throw Ie=void 0,Ie=LA.slice(SA,SA+6),new D('Invalid unicode character "'.concat(Ie,'"'),SA);SA=LA.length}}else _e+=OA,SA+=2;else{var Ie=LA.charAt(SA),te=LA.charCodeAt(SA);if(te===s&&LA.charCodeAt(SA-1)!==w)_e+="\\"+Ie;else if((ce=te)===k||ce===m||ce===y||ce===p||ce===u)_e+=jA[Ie];else{if(!(32<=(ce=te)&&ce<=1114111))throw te=void 0,te=Ie,new D("Invalid character "+JSON.stringify(te),SA);_e+=Ie}SA++}}lt&&qA(w)}}return!1}function Ee(){for(xe();LA.charCodeAt(SA)===g;){SA++,xe();var ie=(ZA=zA(ZA,'"',!0)).length,ce=le();ZA=ce?(ce=ZA,ie=ie,Me=1,ce.substring(0,ie)+ce.substring(ie+Me)):XA(ZA,'"')}var Me}function ke(ie,ce){return LA.slice(SA,SA+ie.length)===ie&&(ZA+=ce,SA+=ie.length,!0)}function wA(){for(var ie,ce=SA;SA<LA.length&&(!sA(ie=LA[SA])||ie==="/")&&!tA(LA.charCodeAt(SA));)SA++;if(SA>ce){if(LA.charCodeAt(SA)===v&&/^\w+$/.test(LA.slice(ce,SA).trim()))SA++,ye(),LA.charCodeAt(SA)===Q&&(SA++,LA.charCodeAt(SA)===M)&&SA++;else{for(;X(LA.charCodeAt(SA-1))&&0<SA;)SA--;ce=LA.slice(ce,SA),ZA+=ce==="undefined"?"null":JSON.stringify(ce),LA.charCodeAt(SA)===s&&SA++}return!0}}function FA(ie){let ce=ie;for(;0<ce&&X(LA.charCodeAt(ce));)ce--;return ce}function HA(){return SA>=LA.length||sA(LA[SA])||X(LA.charCodeAt(SA))}function ne(ie){ZA+=LA.slice(ie,SA)+"0"}function we(){throw new D("Colon expected",SA)}}},3420:function(I){I.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(I){I.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(I){I.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(I){I.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}')}},h={},t.amdD=function(){throw new Error("define cannot be used indirect")},t.n=function(I){var o=I&&I.__esModule?function(){return I.default}:function(){return I};return t.d(o,{a:o}),o},t.d=function(I,o){for(var b in o)t.o(o,b)&&!t.o(I,b)&&Object.defineProperty(I,b,{enumerable:!0,get:o[b]})},t.o=function(I,o){return Object.prototype.hasOwnProperty.call(I,o)},t.r=function(I){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(I,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(I,"__esModule",{value:!0})},t.nmd=function(I){return I.paths=[],I.children||(I.children=[]),I},t(1346);function t(I){var o=h[I];return o!==void 0||(o=h[I]={id:I,loaded:!1,exports:{}},i[I].call(o.exports,o,o.exports,t),o.loaded=!0),o.exports}var i,h})})(DB);var G8=DB.exports;const P8=Iu(G8),H8={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(n){this.internalChange||(this.setEditorContent(n),this.$nextTick(()=>{this.expandAll()}))}}},mounted(){this.init();const n=document.querySelector(".jsoneditor-menu .jsoneditor-poweredBy");this.hasLogo=n&&window.getComputedStyle(n).display!=="none",this.showFullScreen=!0},unmounted(){var n;(n=this.editor)==null||n.destroy(),this.editor=null},methods:{toggleFullScreen(){this.isFullScreen=!this.isFullScreen,this.$nextTick(()=>{const n=new Event("resize");window.dispatchEvent(n)})},init(){const{currentMode:n,modeList:A,options:t}=this,i=()=>{const T=K=>{this.json=K,this.$emit("update:modelValue",K),this.$emit("change",K),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){T("");return}try{const K=this.editor.get();T(K)}catch{}},h=()=>{this.expandAll()},I=(T,$,K)=>{this.$emit("textSelectionChange",this.editor,T,$,K)},o=(T,$)=>{this.$emit("selectionChange",this.editor,T,$)},b=(T,$,K)=>{this.$emit("colorPicker",this.editor,T,$,K)},D=({target:T})=>{this.$emit("focus",this.editor,T)},w=({target:T})=>{this.$emit("blur",this.editor,T)},S=T=>{this.$emit("validationError",this.editor,T)},N={...t,indentation:2,language:this.language,mode:n,modes:A,onChange:i,onModeChange:h,onTextSelectionChange:I,onSelectionChange:o,onColorPicker:b,onFocus:D,onBlur:w,onValidationError:S};this.editor=new P8(this.$refs.jsonEditorVue,N,this.json)},expandAll(){var n,A;this.expandedModes.includes((n=this.editor)==null?void 0:n.getMode())&&((A=this.editor)==null||A.expandAll())},setEditorContent(n){var A;(A=this.editor)==null||A.set(n)}}},K8={ref:"jsonEditorVue",class:"json-editor-vue"};function T8(n,A,t,i,h,I){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["container",{"full-screen-container":h.isFullScreen}])},[e.createElementVNode("div",K8,null,512),e.createElementVNode("div",{class:e.normalizeClass(["full-screen",{show:h.showFullScreen,right:!h.hasLogo}]),onClick:A[0]||(A[0]=(...o)=>I.toggleFullScreen&&I.toggleFullScreen(...o))},null,2)],2)}const U8=ge(H8,[["render",T8],["__scopeId","data-v-c53d52f1"]]),Y8=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:e.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>(e.openBlock(),e.createBlock(e.unref(gD),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:e.withCtx(()=>[e.createVNode(U8,e.mergeProps({class:"editor-direct",modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=h=>A.value=h),currentMode:"code",modeList:["text","view","tree","code","form"],options:{search:!1,history:!1}},t.$attrs),null,16,["modelValue"])]),_:1},8,["disabled"]))}})},Symbol.toStringTag,{value:"Module"})),O8={key:0},$8=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Checkbox",props:e.mergeModels({options:{default:()=>[]},defaultOptions:{},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=kt(),{currentOptions:h,selectChange:I,loading:o}=pr(A);return e.watch(t,I),(b,D)=>{var K;const w=e.resolveComponent("el-checkbox"),S=e.resolveComponent("el-checkbox-button"),N=e.resolveComponent("el-space"),T=e.resolveComponent("el-checkbox-group"),$=e.resolveDirective("loading");return e.unref(i).read?(e.openBlock(),e.createElementBlock("div",O8,e.toDisplayString((K=t.value)==null?void 0:K.map(Y=>{var v;return(v=e.unref(h).find(Q=>Q[b.valueKey]===Y))==null?void 0:v[b.labelKey]}).join("、")),1)):e.withDirectives((e.openBlock(),e.createBlock(T,e.mergeProps({key:1},b.$attrs,{modelValue:t.value,"onUpdate:modelValue":D[0]||(D[0]=Y=>t.value=Y),onChange:e.unref(I)}),{default:e.withCtx(()=>[b.optionType==="circle"||b.optionType==="border"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(h),Y=>(e.openBlock(),e.createBlock(w,{key:Y[b.valueKey],label:Y[b.labelKey],value:Y[b.valueKey],border:b.optionType==="border"},null,8,["label","value","border"]))),128)):e.createCommentVNode("",!0),b.optionType==="button"?(e.openBlock(),e.createBlock(N,{key:1,wrap:"",size:[b.space,b.space]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(h),Y=>(e.openBlock(),e.createBlock(S,{key:Y[b.valueKey],label:Y[b.labelKey],value:Y[b.valueKey],size:"large"},null,8,["label","value"]))),128))]),_:1},8,["size"])):e.createCommentVNode("",!0)]),_:1},16,["modelValue","onChange"])),[[$,e.unref(o)]])}}})},Symbol.toStringTag,{value:"Module"})),J8={class:"vfc-color-input"},z8=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"ColorInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>{const h=e.resolveComponent("el-input"),I=e.resolveComponent("el-color-picker");return e.openBlock(),e.createElementBlock("div",J8,[e.createVNode(h,{modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=o=>A.value=o)},null,8,["modelValue"]),e.createVNode(I,{modelValue:A.value,"onUpdate:modelValue":i[1]||(i[1]=o=>A.value=o)},null,8,["modelValue"])])}}})},Symbol.toStringTag,{value:"Module"})),Z8={key:0,class:"empty"},W8=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Custom",props:e.mergeModels({componentName:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>t.componentName?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.componentName),e.mergeProps({key:1,modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=h=>A.value=h)},t.$attrs),null,16,["modelValue"])):(e.openBlock(),e.createElementBlock("span",Z8,"请输入全局注册得组件名"))}}),[["__scopeId","data-v-a013b8cf"]])},Symbol.toStringTag,{value:"Module"})),j8={key:0},q8=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"DatePicker",props:e.mergeModels({read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=e.useAttrs(),i=e.computed(()=>A.value?t.valueFormat?Tt.dayjs(A.value).format(t.valueFormat):A.value:"--"),h=[{text:"Today",value:new Date}];return(I,o)=>{const b=e.resolveComponent("el-date-picker");return I.read?(e.openBlock(),e.createElementBlock("span",j8,e.toDisplayString(i.value),1)):(e.openBlock(),e.createBlock(b,e.mergeProps({key:1},I.$attrs,{modelValue:A.value,"onUpdate:modelValue":o[0]||(o[0]=D=>A.value=D),style:{width:"100%"},shortcuts:h}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),X8=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Divider",props:{title:{}},setup(n){return(A,t)=>{const i=e.resolveComponent("ElDivider");return e.openBlock(),e.createBlock(i,e.normalizeProps(e.guardReactiveProps(A.$attrs)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.title),1)]),_:1},16)}}})},Symbol.toStringTag,{value:"Module"})),V8=e.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(n){const A=e.ref(!1),t=e.ref(""),i=e.ref([]),h=e.ref(null),I=e.ref(0),o=e.ref(0),b=e.ref(!1),D=e.ref(1),w=e.ref(null),S=e.computed(()=>n.height/n.width),N=e.computed(()=>n.bgColor?n.bgColor:"rgba(255, 255, 255, 0)");e.watch(N,k=>{w.value&&(w.value.style.background=k)});const T=()=>{if(w.value){w.value.style.width=`${n.width}px`;const k=parseFloat(window.getComputedStyle(w.value).width);w.value.style.height=`${S.value*k}px`,h.value=w.value.getContext("2d"),h.value&&(h.value.scale(1*D.value,1*D.value),D.value=k/n.width,h.value.scale(1/D.value,1/D.value))}};e.onMounted(()=>{w.value&&(w.value.height=n.height,w.value.width=n.width,w.value.style.background=N.value,T(),document.onmouseup=()=>{b.value=!1}),window.addEventListener("resize",T)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",T)});const $=k=>{I.value=k.x,o.value=k.y,h.value&&(h.value.beginPath(),h.value.moveTo(I.value,o.value),h.value.lineTo(k.x,k.y),h.value.lineCap="round",h.value.lineJoin="round",h.value.lineWidth=n.lineWidth*D.value,h.value.stroke(),h.value.closePath(),i.value.push(k))},K=k=>{h.value&&(h.value.beginPath(),h.value.moveTo(I.value,o.value),h.value.lineTo(k.x,k.y),h.value.strokeStyle=n.lineColor,h.value.lineWidth=n.lineWidth*D.value,h.value.lineCap="round",h.value.lineJoin="round",h.value.stroke(),h.value.closePath(),o.value=k.y,I.value=k.x,i.value.push(k))},Y=k=>{h.value&&(h.value.beginPath(),h.value.moveTo(I.value,o.value),h.value.lineTo(k.x,k.y),h.value.lineCap="round",h.value.lineJoin="round",h.value.stroke(),h.value.closePath(),i.value.push(k),i.value.push({x:-1,y:-1}))},v=k=>{const y=(k==null?void 0:k.format)||n.format,m=(k==null?void 0:k.quality)||n.quality;return new Promise((p,u)=>{if(!A.value){u("Warning: Not Signed!");return}if(h.value){const s=h.value.getImageData(0,0,w.value.width,w.value.height);h.value.globalCompositeOperation="destination-over",h.value.fillStyle=N.value,h.value.fillRect(0,0,w.value.width,w.value.height),t.value=w.value.toDataURL(y,m);let g=t.value;if(h.value.clearRect(0,0,w.value.width,w.value.height),h.value.putImageData(s,0,0),h.value.globalCompositeOperation="source-over",n.isCrop){const l=L(s.data),d=document.createElement("canvas"),B=d.getContext("2d");if(B){d.width=l[2]-l[0],d.height=l[3]-l[1];const a=h.value.getImageData(l[0],l[1],l[2],l[3]);B.globalCompositeOperation="destination-over",B.putImageData(a,0,0),B.fillStyle=N.value,B.fillRect(0,0,d.width,d.height),g=d.toDataURL(y,m)}}p(g)}})},Q=()=>{h.value&&h.value.clearRect(0,0,w.value.width,w.value.height),n.isClearBgColor&&(i.value=[],A.value=!1,t.value="")},L=k=>{let y=w.value.width,m=0,p=w.value.height,u=0;for(let s=0;s<w.value.width;s++)for(let g=0;g<w.value.height;g++){const l=(s+w.value.width*g)*4;(k[l]>0||k[l+1]>0||k[l+2]>0||k[l+3]>0)&&(u=Math.max(g,u),m=Math.max(s,m),p=Math.min(g,p),y=Math.min(s,y))}return[y+1,p+1,m+1,u+1]};return{canvas:w,myBg:N,drawStart:$,drawMove:K,drawEnd:Y,generate:v,reset:Q,touchStart:k=>{if(k.preventDefault(),A.value=!0,k.touches.length===1&&w.value){const y={x:k.targetTouches[0].clientX-w.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-w.value.getBoundingClientRect().top};$(y)}},touchMove:k=>{if(k.preventDefault(),k.touches.length===1){const y={x:k.targetTouches[0].clientX-w.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-w.value.getBoundingClientRect().top};K(y)}},touchEnd:k=>{if(k.preventDefault(),k.touches.length===1){const y={x:k.targetTouches[0].clientX-w.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-w.value.getBoundingClientRect().top};Y(y)}},mouseDown:k=>{k.preventDefault(),b.value=!0,A.value=!0;const y={x:k.offsetX,y:k.offsetY};$(y)},mouseMove:k=>{if(k.preventDefault(),b.value){const y={x:k.offsetX,y:k.offsetY};K(y)}},mouseUp:k=>{k.preventDefault();const y={x:k.offsetX,y:k.offsetY};Y(y),b.value=!1}}}});function AM(n,A,t,i,h,I){return e.openBlock(),e.createElementBlock("canvas",{ref:"canvas",onMousedown:A[0]||(A[0]=(...o)=>n.mouseDown&&n.mouseDown(...o)),onMousemove:A[1]||(A[1]=(...o)=>n.mouseMove&&n.mouseMove(...o)),onMouseup:A[2]||(A[2]=(...o)=>n.mouseUp&&n.mouseUp(...o)),onTouchstart:A[3]||(A[3]=(...o)=>n.touchStart&&n.touchStart(...o)),onTouchmove:A[4]||(A[4]=(...o)=>n.touchMove&&n.touchMove(...o)),onTouchend:A[5]||(A[5]=(...o)=>n.touchEnd&&n.touchEnd(...o))},null,544)}const eM=ge(V8,[["render",AM],["__scopeId","data-v-5f3bfcf7"]]),tM={key:0},nM={class:"vfc-esign-preview"},iM=["src"],oM={key:1,class:"vfc-esign"},rM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.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(n){const A=n,t=e.ref(),i=kt(),h=e.useModel(n,"modelValue"),I={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"}}]},o=e.ref({lineWidth:6,lineColor:"#000000",bgColor:"#fff"}),b=()=>{t.value.reset()},D=()=>{t.value.generate().then(N=>{h.value=N}).catch(N=>{alert(N)})},w=e.ref(""),S=()=>{w.value=h.value,h.value=""};return e.onMounted(()=>{Object.assign(o.value,A)}),(N,T)=>{const $=e.resolveComponent("el-button");return e.unref(i).read||h.value?(e.openBlock(),e.createElementBlock("div",tM,[e.createElementVNode("div",nM,[e.createElementVNode("img",{src:h.value,alt:"未签名"},null,8,iM)]),e.unref(i).read?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($,{key:0,disabled:N.disabled,onClick:S,type:"primary"},{default:e.withCtx(()=>T[2]||(T[2]=[e.createTextVNode("重写")])),_:1},8,["disabled"]))])):(e.openBlock(),e.createElementBlock("div",oM,[e.createVNode(e.unref(fn),{modelValue:o.value,"onUpdate:modelValue":T[0]||(T[0]=K=>o.value=K),schema:I,class:"vfc-esign-actions"},null,8,["modelValue"]),e.createVNode(eM,{class:"vfc-esign-canvas",ref_key:"esign",ref:t,width:N.width,height:N.height,isCrop:N.isCrop,lineWidth:o.value.lineWidth,lineColor:o.value.lineColor,bgColor:o.value.bgColor,format:N.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),e.createElementVNode("div",null,[w.value?(e.openBlock(),e.createBlock($,{key:0,disabled:N.disabled,onClick:T[1]||(T[1]=K=>h.value=w.value),plain:"",type:"primary"},{default:e.withCtx(()=>T[3]||(T[3]=[e.createTextVNode("取消")])),_:1},8,["disabled"])):e.createCommentVNode("",!0),e.createVNode($,{disabled:N.disabled,onClick:b,plain:"",type:"primary"},{default:e.withCtx(()=>T[4]||(T[4]=[e.createTextVNode("清空")])),_:1},8,["disabled"]),e.createVNode($,{disabled:N.disabled,onClick:D,type:"primary"},{default:e.withCtx(()=>T[5]||(T[5]=[e.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),aM={key:0},sM=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Radio",props:e.mergeModels({options:{default:()=>[]},defaultOptions:{},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:8}},{modelValue:{type:[String,Number,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=kt(),h=e.inject("ruleModule",void 0),I=e.inject("pageMethodMap",{}),o=w=>{const{valueKey:S="value",name:N}=A;let T={};if(T=b.value.find($=>$[S]===w)||{},i.selectData&&N&&i.updateSelectData(N,T),A.onChange&&h)try{h[A.onChange](I,w,T)}catch($){console.error($)}},{currentOptions:b,loading:D}=pr(A);return(w,S)=>{var v;const N=e.resolveComponent("el-radio"),T=e.resolveComponent("el-radio-button"),$=e.resolveComponent("el-space"),K=e.resolveComponent("el-radio-group"),Y=e.resolveDirective("loading");return w.read?(e.openBlock(),e.createElementBlock("div",aM,e.toDisplayString(((v=e.unref(b).find(Q=>Q[w.valueKey]===t.value))==null?void 0:v[w.labelKey])||"--"),1)):e.withDirectives((e.openBlock(),e.createBlock(K,e.mergeProps({key:1,modelValue:t.value,"onUpdate:modelValue":S[0]||(S[0]=Q=>t.value=Q),onChange:o},w.$attrs),{default:e.withCtx(()=>[e.createVNode($,{wrap:"",direction:w.direction,size:[w.space,w.space],alignment:"normal"},{default:e.withCtx(()=>[w.optionType==="circle"||w.optionType==="border"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(b),Q=>(e.openBlock(),e.createBlock(N,{key:Q[w.valueKey],label:Q[w.labelKey],value:Q[w.valueKey],disabled:Q[w.disabledKey],border:w.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(e.unref(b),Q=>(e.openBlock(),e.createBlock(T,e.mergeProps({key:Q[w.valueKey],label:Q[w.labelKey],value:Q[w.valueKey],class:"radio-button",disabled:Q[w.disabledKey],ref_for:!0},w.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[Y,e.unref(D)]])}}}),[["__scopeId","data-v-3a3fdad0"]])},Symbol.toStringTag,{value:"Module"})),lM={class:"vfc-formList"},cM={key:1},gM={class:"list-item-content"},uM={class:"card-header"},dM={style:{"margin-top":"5px"}},hM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"FormList",props:e.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(n){const A=n,t=e.useModel(n,"modelValue"),i=e.ref(0),h=kt(),I=N=>sn(A.children,{$item:t.value[N],$index:N}),o=e.computed(()=>t.value.length>=A.maxLines),b=e.computed(()=>t.value.length<=A.minLines),D=()=>{o.value||(t.value=[...t.value,{}])},w=N=>{const T=t.value.filter(($,K)=>K!==N);t.value=T},S=(N,T,$,K)=>{const Y=T.no,v=I(K)[Y];return e.h(io,{...v,hideLabel:!0,style:{marginBottom:0},name:`${A.name}.${K}.${v.name}`})};return e.watch(t,(N,T)=>{const $=N.reduce((Q,L,k)=>(ht.isEqual(L,T[k])||(Q=k),Q),0);if(i.value=$,!A.children.some(Q=>Q.change))return;const K=I($),Y=N[$]||{},v=T[$]||{};K.forEach(Q=>{Q.change&&v&&!ht.isEqual(Y[Q.name],v[Q.name])&&Q.change.forEach(L=>{if(L.condition!==!1){if(ht.isString(L.condition)&&/^{{\s*(.*?)\s*}}$/.test(L.condition))return;const k=L.target.split(".").pop();t.value[$][k]=L.value}})})}),e.onMounted(()=>{var N;A.minLines&&!((N=t.value)!=null&&N.length)&&(t.value=Array.from({length:A.minLines},()=>({})))}),e.provide("$objGroupBase",e.computed(()=>`${A.name}.${i.value}`)),(N,T)=>{const $=e.resolveComponent("el-space"),K=e.resolveComponent("el-button"),Y=e.resolveComponent("el-form-item"),v=e.resolveComponent("el-card"),Q=e.resolveComponent("el-table-column"),L=e.resolveComponent("el-table");return e.openBlock(),e.createElementBlock("div",lM,[e.unref(h).design?(e.openBlock(),e.createBlock(e.unref(Wc),{key:0,list:N.children,class:"layoutRender"},null,8,["list"])):(e.openBlock(),e.createElementBlock("div",cM,[N.mode==="inline"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.value,(k,y)=>(e.openBlock(),e.createBlock(Y,{key:k.key,class:"list-item"},{default:e.withCtx(()=>[e.createElementVNode("div",gM,[e.createVNode($,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I(y),m=>(e.openBlock(),e.createBlock(e.unref(io),e.mergeProps({ref_for:!0},m,{key:m.label,name:`${N.name}.${y}.${m.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),N.allowReduce&&!b.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:m=>w(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:e.withCtx(()=>[e.createVNode(e.unref(be),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):e.createCommentVNode("",!0)])]),_:2},1024))),128)):e.createCommentVNode("",!0),N.mode==="card"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.value,(k,y)=>(e.openBlock(),e.createBlock(v,{key:k.key,class:"list-card"},{header:e.withCtx(()=>[e.createElementVNode("div",uM,[e.createElementVNode("span",null,e.toDisplayString(N.title+(y+1)),1),N.allowReduce&&!b.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:m=>w(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:e.withCtx(()=>[e.createVNode(e.unref(be),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I(y),m=>(e.openBlock(),e.createBlock(e.unref(io),e.mergeProps({ref_for:!0},m,{key:m.label,class:"list-card-item",name:`${N.name}.${y}.${m.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):e.createCommentVNode("",!0),N.mode==="table"&&t.value.length?(e.openBlock(),e.createBlock(L,{key:2,data:t.value,style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.children,k=>(e.openBlock(),e.createBlock(Q,e.mergeProps({prop:k.name,label:k.label,key:k.name,ref_for:!0},e.unref(ht.pickBy)(k,Boolean),{formatter:S}),null,16,["prop","label"]))),128)),e.createVNode(Q,{fixed:"right","min-width":"60"},{default:e.withCtx(k=>[N.allowReduce&&!b.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:y=>w(k.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small",plain:""},{icon:e.withCtx(()=>[e.createVNode(e.unref(be),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):e.createCommentVNode("",!0),e.createElementVNode("div",dM,[N.allowAdd&&!o.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:D,type:"primary",class:"list-btn addBtn",disabled:N.disabled,size:"small",plain:""},{icon:e.withCtx(()=>[e.createVNode(e.unref(be),{name:"add"})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(N.title),1)]),_:1},8,["disabled"])):e.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),pM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{},paddingTop:{},paddingBottom:{},paddingLeft:{},paddingRight:{}},setup(n){const A=n,t=e.computed(()=>({display:"grid","grid-template-columns":`repeat(${A.columns}, 1fr)`,"row-gap":(A.rowGap||12)+"px","column-gap":(A.columnGap||12)+"px","align-items":A.alignItems,"padding-top":A.paddingTop+"px","padding-bottom":A.paddingBottom+"px","padding-left":A.paddingLeft+"px","padding-right":A.paddingRight+"px"}));return(i,h)=>(e.openBlock(),e.createElementBlock("div",{class:"form-item-grid",style:e.normalizeStyle(t.value)},[e.createVNode(e.unref(Wt),{list:i.children},null,8,["list"])],4))}})},Symbol.toStringTag,{value:"Module"})),BM=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{},alignItems:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const A=n,t=e.computed(()=>({width:"100%",display:"flex","justify-content":A.align,"align-items":A.alignItems,"flex-wrap":A.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${A.gap||12}px`,...A.style||{}}));return(i,h)=>(e.openBlock(),e.createElementBlock("div",{class:"form-item-inline",style:e.normalizeStyle(t.value)},[e.createVNode(e.unref(Wt),{list:i.children},null,8,["list"])],4))}}),[["__scopeId","data-v-8f8d5854"]])},Symbol.toStringTag,{value:"Module"})),CM={key:0},mM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.mergeModels({min:{},read:{type:Boolean},precision:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");kt();const t=i=>{["E","e","+","-"].includes(i.key)&&i.preventDefault()};return(i,h)=>{const I=e.resolveComponent("el-input-number");return i.read?(e.openBlock(),e.createElementBlock("span",CM,e.toDisplayString(typeof A.value=="number"?A.value.toFixed(i.precision||0).replace(".",","):"--"),1)):(e.openBlock(),e.createBlock(I,e.mergeProps({key:1},i.$attrs,{modelValue:A.value,"onUpdate:modelValue":h[0]||(h[0]=o=>A.value=o),style:{width:"100%"},min:i.min||0,onKeydown:t}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),EM={key:0},QM={style:{"min-height":"32px"}},IM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Select",props:e.mergeModels({options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean,default:!0}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.computed(()=>A.clearable===null||A.clearable===void 0?!0:!!A.clearable),i=e.useModel(n,"modelValue"),h=kt(),I=e.inject("ruleModule",void 0),o=e.inject("pageMethodMap",{}),b=N=>{const{valueKey:T="value",multiple:$,name:K}=A;let Y={};if($&&Array.isArray(N)?Y=D.value.filter(v=>N.includes(v[T])):Y=D.value.find(v=>v[T]===N)||{},h.selectData&&K&&h.updateSelectData(K,Y),A.onChange&&I)try{I[A.onChange](o,N,Y)}catch(v){console.error(v)}},{currentOptions:D,loading:w}=pr(A),S=e.computed(()=>{var T;if(A.multiple)return D.value.filter(K=>i.value.includes(K[A.valueKey])).map(K=>K[A.labelKey]).join(",");const N=(T=D.value.find($=>$[A.valueKey]===i.value))==null?void 0:T[A.labelKey];return!N||`${N}`.trim().length===0?"--":N});return(N,T)=>{const $=e.resolveComponent("el-option"),K=e.resolveComponent("el-select");return N.read?(e.openBlock(),e.createElementBlock("span",EM,e.toDisplayString(S.value),1)):(e.openBlock(),e.createBlock(K,e.mergeProps({key:1,modelValue:i.value,"onUpdate:modelValue":T[0]||(T[0]=Y=>i.value=Y)},N.$attrs,{onChange:b,multiple:N.multiple,clearable:t.value,filterable:"","fallback-placements":["bottom"],loading:e.unref(w)}),{loading:e.withCtx(()=>T[1]||(T[1]=[e.createElementVNode("svg",{class:"circular",viewBox:"0 0 20 20"},[e.createElementVNode("g",{class:"path2 loading-path","stroke-width":"0",style:{animation:"none",stroke:"none"}},[e.createElementVNode("circle",{r:"3.375",class:"dot1",rx:"0",ry:"0"}),e.createElementVNode("circle",{r:"3.375",class:"dot2",rx:"0",ry:"0"}),e.createElementVNode("circle",{r:"3.375",class:"dot4",rx:"0",ry:"0"}),e.createElementVNode("circle",{r:"3.375",class:"dot3",rx:"0",ry:"0"})])],-1)])),default:e.withCtx(()=>[e.createElementVNode("div",QM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(D),Y=>(e.openBlock(),e.createBlock($,{key:Y[N.valueKey],label:Y[N.labelKey],value:Y[N.valueKey],disabled:Y[N.disabledKey]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(Y[N.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))])]),_:1},16,["modelValue","multiple","clearable","loading"]))}}})},Symbol.toStringTag,{value:"Module"})),fM={key:0},wM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.mergeModels({selectPosition:{default:"append"},selectWidth:{default:70},selectInitialValue:{},read:{type:Boolean},options:{default:()=>[]},parse:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=e.ref(""),h=e.computed({get(){var I;return(I=t.value)==null?void 0:I.replaceAll(i.value,"")},set(I){I?t.value=I+i.value:t.value=I}});return e.watch(i,(I,o)=>{var b;t.value&&(t.value=((b=t.value)==null?void 0:b.replaceAll(o,""))+I)}),e.onMounted(()=>{A.selectInitialValue&&(i.value=A.selectInitialValue)}),(I,o)=>{const b=e.resolveComponent("el-option"),D=e.resolveComponent("el-select"),w=e.resolveComponent("el-input");return I.read?(e.openBlock(),e.createElementBlock("span",fM,e.toDisplayString(h.value||"--"),1)):(e.openBlock(),e.createBlock(w,e.mergeProps({key:1,"show-word-limit":"",autocomplete:"off"},I.$attrs,{modelValue:h.value,"onUpdate:modelValue":o[1]||(o[1]=S=>h.value=S)}),{[I.selectPosition]:e.withCtx(()=>[e.createVNode(D,{modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=S=>i.value=S),style:e.normalizeStyle({width:I.selectWidth+"px"}),placeholder:" "},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.options,S=>(e.openBlock(),e.createBlock(b,{label:S.label,value:S.value,disabled:S.disabled,key:S.value},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","style"])]),_:2},1040,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),bM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.mergeModels({disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=kt(),t=e.useModel(n,"modelValue");return(i,h)=>{const I=e.resolveComponent("el-switch");return e.openBlock(),e.createBlock(I,e.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":h[0]||(h[0]=o=>t.value=o),disabled:e.unref(A).read||i.disabled}),null,16,["modelValue","disabled"])}}})},Symbol.toStringTag,{value:"Module"})),DM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Tag",props:{text:{default:"标签"},type:{default:"primary"}},setup(n){return(A,t)=>{const i=e.resolveComponent("el-tag");return e.openBlock(),e.createBlock(i,e.mergeProps({type:A.type},A.$attrs),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.text),1)]),_:1},16,["type"])}}})},Symbol.toStringTag,{value:"Module"})),yM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:{text:{}},setup(n){return(A,t)=>(e.openBlock(),e.createElementBlock("div",e.normalizeProps(e.guardReactiveProps(A.$attrs)),e.toDisplayString(A.text),17))}})},Symbol.toStringTag,{value:"Module"})),yB=e.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(n){return(A,t)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.type),{class:"Title",style:e.normalizeStyle({fontStyle:A.italic?"italic":"normal"})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.title),1)]),_:1},8,["style"]))}}),vM=Object.freeze(Object.defineProperty({__proto__:null,default:yB},Symbol.toStringTag,{value:"Module"})),kM={key:0,style:{"min-width":"300px"}},_M={class:"el-upload__tip"},MM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.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(n){const A=e.useModel(n,"modelValue"),t=(o,b)=>{console.log(o,b)},i=o=>{console.log(o)},h=(o,b)=>{Tt.ElMessage.warning(`The limit is 3, you selected ${o.length} files this time, add up to ${o.length+b.length} totally`)},I=(o,b)=>Tt.ElMessageBox.confirm(`Cancel the transfer of ${o.name} ?`).then(()=>!0,()=>!1);return(o,b)=>{const D=e.resolveComponent("el-button"),w=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(w,{"file-list":A.value,"onUpdate:fileList":b[0]||(b[0]=S=>A.value=S),action:o.action,multiple:o.multiple,limit:o.limit,drag:o.drag,name:o.name,listType:o.listType,"on-preview":i,"on-remove":t,"before-remove":I,"on-exceed":h},e.createSlots({default:e.withCtx(()=>[o.listType==="text"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.drag?(e.openBlock(),e.createElementBlock("div",kM,[e.createVNode(e.unref(be),{class:"el-icon--upload",name:"upload"}),b[1]||(b[1]=e.createElementVNode("div",{class:"el-upload__text"},[e.createTextVNode(" 拖拽文件到此处上传 "),e.createElementVNode("br"),e.createTextVNode(" 或"),e.createElementVNode("em",null,"点击上传")],-1))])):(e.openBlock(),e.createBlock(D,{key:1,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.btnText),1)]),_:1}))],64)):e.createCommentVNode("",!0),o.listType==="picture-card"?(e.openBlock(),e.createBlock(e.unref(be),{key:1,name:"add"})):e.createCommentVNode("",!0)]),_:2},[o.tip?{name:"tip",fn:e.withCtx(()=>[e.createElementVNode("div",_M,e.toDisplayString(o.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType"])}}})},Symbol.toStringTag,{value:"Module"}));function xM(){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 jt(n,A){return Math.floor(Math.random()*(A-n)+n)}function Is(n,A){const t=jt(n,A),i=jt(n,A),h=jt(n,A);return`rgb(${t},${i},${h})`}class SM{constructor(A,t){Bt(this,"version","1.0.0");Bt(this,"options");Bt(this,"_init",()=>{const A=this.options.element;if(!A)return;const t=document.createElement("canvas");this.options.width=A.offsetWidth>0?A.offsetWidth.toString():"100",this.options.height=A.offsetHeight>0?A.offsetHeight.toString():"30",t.id=this.options.canvasId,t.width=parseInt(this.options.width),t.height=parseInt(this.options.height),t.style.cursor="pointer",t.innerHTML="您的浏览器版本不支持canvas",A.appendChild(t),t.onclick=()=>{this.refresh()}});Bt(this,"refresh",()=>{this.options.code="";const A=document.getElementById(this.options.canvasId);if(!A||!A.getContext)return;const t=A.getContext("2d");t.textBaseline="middle",t.fillStyle=Is(180,240),t.fillRect(0,0,parseInt(this.options.width),parseInt(this.options.height));let i;this.options.type==="blend"?i=[...this.options.numArr,...this.options.letterArr]:this.options.type==="number"?i=this.options.numArr:i=this.options.letterArr;for(let h=1;h<=4;h++){const I=i[jt(0,i.length)];this.options.code+=I,t.font=`${jt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,t.fillStyle=Is(50,160),t.shadowOffsetX=jt(-3,3),t.shadowOffsetY=jt(-3,3),t.shadowBlur=jt(-3,3),t.shadowColor="rgba(0, 0, 0, 0.3)";const o=parseInt(this.options.width)/5*h,b=parseInt(this.options.height)/2,D=jt(-30,30);t.translate(o,b),t.rotate(D*Math.PI/180),t.fillText(I,0,0),t.rotate(-D*Math.PI/180),t.translate(-o,-b)}for(let h=0;h<4;h++)t.strokeStyle=Is(40,180),t.beginPath(),t.moveTo(jt(0,parseInt(this.options.width)),jt(0,parseInt(this.options.height))),t.lineTo(jt(0,parseInt(this.options.width)),jt(0,parseInt(this.options.height))),t.stroke();for(let h=0;h<parseInt(this.options.width)/4;h++)t.fillStyle=Is(0,255),t.beginPath(),t.arc(jt(0,parseInt(this.options.width)),jt(0,parseInt(this.options.height)),1,0,2*Math.PI),t.fill()});Bt(this,"validate",A=>{const t=A.toLowerCase(),i=this.options.code.toLowerCase();return console.log(i),t===i?!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:xM(),...t},A&&(this.options.element=A,this._init(),this.refresh())}}const FM={class:"vfc-verify-code"},NM=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Component",props:e.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=e.ref(null),i=e.ref(null),h=kt(),I=()=>{var b;if(!A.value)return;const o=(b=i.value)==null?void 0:b.validate(A.value);console.log("res",o),o?h.updateVCodePass(!0):h.updateVCodePass(!1)};return e.onMounted(()=>{i.value=new SM(t.value)}),(o,b)=>{const D=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",FM,[e.createVNode(D,{modelValue:A.value,"onUpdate:modelValue":b[0]||(b[0]=w=>A.value=w),class:"verify-input",placeholder:o.placeholder,onBlur:I},null,8,["modelValue","placeholder"]),e.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:t},null,512)])}}}),[["__scopeId","data-v-eda48825"]])},Symbol.toStringTag,{value:"Module"})),RM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Collapse",props:{children:{}},setup(n){const A=n,t=e.ref([]);return e.onMounted(()=>{t.value=A.children.filter(i=>i.checked).map(i=>i.name)}),e.watch(()=>A.children,()=>{A.children.forEach(i=>{i.children||(i.children=[])})}),(i,h)=>{const I=e.resolveComponent("ElCollapseItem"),o=e.resolveComponent("ElCollapse");return e.openBlock(),e.createBlock(o,e.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":h[0]||(h[0]=b=>t.value=b)}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.children,b=>(e.openBlock(),e.createBlock(I,{key:b.name,name:b.name},{title:e.withCtx(()=>[e.createVNode(yB,{title:b.title,italic:"",type:"h4"},null,8,["title"])]),default:e.withCtx(()=>[e.createVNode(e.unref(Wt),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),LM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Tabs",props:{children:{},defaultKey:{}},setup(n){const A=n,t=e.ref("");return e.watch(()=>A.children,()=>{A.children.forEach(i=>{i.children||(i.children=[])})}),e.onMounted(()=>{A.defaultKey&&(t.value=A.defaultKey)}),(i,h)=>{const I=e.resolveComponent("el-tab-pane"),o=e.resolveComponent("el-tabs");return e.openBlock(),e.createBlock(o,e.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":h[0]||(h[0]=b=>t.value=b)}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.children,b=>(e.openBlock(),e.createBlock(I,e.mergeProps({key:b.name,ref_for:!0},b),{default:e.withCtx(()=>[e.createVNode(e.unref(Wt),{list:b.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),GM={class:"vfc-ObjGroup"},PM={key:1,class:"vfc-ObjGroup-render"},HM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const A=n,t=kt(),i=e.inject("$objGroupBase"),h=i?`${i.value}.${A.name}`:A.name;return e.provide("$objGroupBase",e.ref(h)),(I,o)=>(e.openBlock(),e.createElementBlock("div",GM,[e.unref(t).design?(e.openBlock(),e.createBlock(e.unref(Wc),{key:0,list:I.children},null,8,["list"])):(e.openBlock(),e.createElementBlock("div",PM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.children,b=>(e.openBlock(),e.createBlock(e.unref(io),e.mergeProps({key:b.name,ref_for:!0},b,{name:`${e.unref(h)}.${b.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),KM={key:0},TM={key:0},UM={key:1},YM={key:1,class:"search-select-wrapper"},OM=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"SearchSelect",props:e.mergeModels({onSearch:{},disabled:{type:Boolean},read:{type:Boolean},options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=kt(),h=e.inject("ruleModule",void 0),I=e.inject("pageMethodMap",{}),o=S=>{const{valueKey:N="value",multiple:T,name:$}=A;let K={};if(T&&Array.isArray(S)?K=D.value.filter(Y=>S.includes(Y[N])):K=D.value.find(Y=>Y[N]===S)||{},i.selectData&&$&&i.updateSelectData($,K),A.onChange&&h)try{h[A.onChange](I,S,K)}catch(Y){console.error(Y)}},b=()=>{if(A.onSearch&&h)try{h[A.onSearch](I)}catch(S){console.error(S)}},{currentOptions:D,loading:w}=pr(A);return(S,N)=>{var v;const T=e.resolveComponent("el-option"),$=e.resolveComponent("el-select"),K=e.resolveComponent("el-button"),Y=e.resolveDirective("loading");return S.read?(e.openBlock(),e.createElementBlock("div",KM,[S.multiple?(e.openBlock(),e.createElementBlock("div",TM,e.toDisplayString(t.value&&t.value.map(Q=>{var L;return(L=e.unref(D).find(k=>k[S.valueKey]===Q))==null?void 0:L[S.labelKey]}).join("、")),1)):(e.openBlock(),e.createElementBlock("div",UM,e.toDisplayString(((v=e.unref(D).find(Q=>Q[S.valueKey]===t.value))==null?void 0:v[S.labelKey])||"--"),1))])):(e.openBlock(),e.createElementBlock("div",YM,[e.withDirectives((e.openBlock(),e.createBlock($,e.mergeProps({modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=Q=>t.value=Q)},S.$attrs,{onChange:o,multiple:S.multiple,clearable:"",filterable:"",disabled:S.disabled}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(D),Q=>(e.openBlock(),e.createBlock(T,{key:Q[S.valueKey],label:Q[S.labelKey],value:Q[S.valueKey],disabled:Q[S.disabledKey]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(Q[S.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple","disabled"])),[[Y,e.unref(w)]]),e.createVNode(K,{onClick:b,disabled:S.disabled,class:"search-btn"},{default:e.withCtx(()=>[e.createVNode(e.unref(be),{name:"search"})]),_:1},8,["disabled"])]))}}}),[["__scopeId","data-v-da2bde35"]])},Symbol.toStringTag,{value:"Module"})),$M={class:"custom-tree-node"},JM={class:"tree-node-text"},zM={class:"tree-node-label"},ZM={key:0,class:"tree-node-present"},WM=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Component",props:{onNodeClick:{},onLoad:{},btns:{},data:{},props:{},nodeKey:{}},setup(n){const A=n,t=e.inject("ruleModule",void 0),i=e.inject("pageMethodMap",{}),h=e.ref(),I=(S,N)=>{h.value=S[A.nodeKey]},o=(S,N,T)=>{if(S&&t)try{t[S](i,{node:N,data:T})}catch($){console.error($)}},b=(S,N)=>{if(A.onNodeClick&&t)try{t[A.onNodeClick](i,{node:S,data:N})}catch(T){console.error(T)}},D=(S,N,T)=>{if(A.onLoad&&t)try{t[A.onLoad](i,{node:S,resolve:N,reject:T})}catch($){console.error($)}},w=e.ref([]);return e.watch(()=>A.data,()=>{if(!A.data||!Array.isArray(A.data)||A.data.length===0)return;const N=[A.data[0][A.nodeKey]];w.value=N},{immediate:!0}),(S,N)=>{const T=e.resolveComponent("el-tooltip"),$=e.resolveComponent("el-button"),K=e.resolveComponent("el-tree");return e.openBlock(),e.createBlock(K,e.mergeProps(S.$attrs,{onNodeClick:b,load:D,ref:"treeRef",class:"crm-tree",indent:32,"current-node-key":h.value,onCurrentChange:I,"node-key":S.nodeKey,props:A.props,data:S.data,"default-expanded-keys":w.value}),{default:e.withCtx(({node:Y,data:v})=>[e.createElementVNode("div",$M,[e.createElementVNode("div",JM,[e.createElementVNode("span",zM,e.toDisplayString(Y.label),1),v[S.nodeKey]===h.value?(e.openBlock(),e.createElementBlock("div",ZM,"Present")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.btns,Q=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q.key},[e.unref(sn)(Q.hidden,{$node:Y,$data:v})?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($,{key:0,link:"",onClick:e.withModifiers(L=>o(Q.onClick||"",Y,v),["stop"]),disabled:Q.disabled,type:Q.type},{default:e.withCtx(()=>[e.createVNode(T,{class:"box-item",effect:"dark",content:Q.text,placement:"top","popper-class":"low-tsp"},{default:e.withCtx(()=>[Q.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:Q.icon.name,color:Q.icon.color,class:"btn-icon"},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["onClick","disabled","type"]))],64))),128))])])]),_:1},16,["current-node-key","node-key","props","data","default-expanded-keys"])}}}),[["__scopeId","data-v-5dc31a78"]])},Symbol.toStringTag,{value:"Module"})),jM=["id"],qM={class:"empty-content"},XM=["title"],VM=["title","onClick"],Ax={key:1,class:"icon-text-wrapper"},ex=["title"],tx=["title"],nx={class:"row-btn-wrapper"},ix=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Table",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},columns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{default:"table"},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},name:{},gridColumns:{}},setup(n,{expose:A}){const t=n,i=e.computed(()=>t.displayType?t.displayType:t.typeSwitch?"card":"table"),h=e.inject("ruleModule",void 0),I=e.inject("ruleMap",void 0),o=e.computed(()=>t.rulePath&&I[t.rulePath]?I[t.rulePath]:h),b=e.inject("pageMethodMap",{}),D=e.inject("getGlobalParams",()=>{}),w=e.inject(jn),S=w?w.translateFn:null,N=e.ref(),T=(pA,iA,CA)=>{W.value[pA]&&(W.value[pA][iA]=CA)},$=(pA,iA)=>{const CA=t.columns.find(j=>j.key===pA);CA&&(CA.hidden=!iA)},K=(pA,iA,CA)=>{try{o.value[pA.onClick](b,iA,CA)}catch(j){console.error(j)}},Y=pA=>{if(t.rowClick)try{o.value[t.rowClick](b,pA)}catch(iA){console.error(iA)}},v=pA=>{if(t.rowDbClick)try{o.value[t.rowDbClick](b,pA)}catch(iA){console.error(iA)}},Q=e.ref([]),L=pA=>{Q.value=pA},k=(pA,iA)=>{if(!t.selectable)return!0;try{return o.value[t.selectable](b,pA,iA)}catch(CA){console.error(CA)}return!0},y=()=>{var pA;(pA=N.value)==null||pA.clearSelection()},m=()=>W.value,p=e.ref(),u=pA=>{if(p.value=pA,!!t.handleCurrentChange)try{o.value[t.handleCurrentChange](b,pA)}catch(iA){console.error(iA)}},s=()=>p.value,g=()=>{var pA;return(pA=N.value)==null?void 0:pA.getSelectionRows()},l=async()=>!0,d=(pA,iA)=>{var j;const CA=(j=t.topBtns)==null?void 0:j.find(sA=>sA.key===pA);CA&&(CA.hidden=iA)},B=(pA,iA)=>{var j;const CA=(j=t.rowBtns)==null?void 0:j.find(sA=>sA.key===pA);CA&&(CA.condition=!iA)},a=e.ref(0),r=pA=>{a.value=pA},C=e.ref({pageNum:1,pageSize:t.defaultPageSize||5}),E=()=>C.value,M=pA=>{let iA=!1;return pA.pageNum!==void 0&&pA.pageNum>-1&&(C.value.pageNum!==pA.pageNum&&(iA=!0),C.value.pageNum=pA.pageNum),pA.pageSize!==void 0&&pA.pageSize>-1&&(C.value.pageSize!==pA.pageSize&&(iA=!0),C.value.pageSize=pA.pageSize),{pagination:C.value,isChange:iA}},x=async pA=>{if(C.value.pageNum=1,C.value.pageSize=pA,!t.sizeChange)return;const iA=Tt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.sizeChange](b,C.value)}catch(CA){console.error(CA)}finally{iA.close()}},P=async pA=>{if(C.value.pageNum=pA,!t.pageChange)return;const iA=Tt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.pageChange](b,C.value)}catch(CA){console.error(CA)}finally{iA.close()}},G=pA=>{var iA;(iA=N.value)==null||iA.setCurrentRow(pA)},J=pA=>{var iA;(iA=N.value)==null||iA.setCurrentRow(W.value[pA])},q=(pA,iA,CA)=>{t.columns.forEach(j=>{j.key===pA&&j[iA]&&(j[iA]=CA)})},W=e.ref([]),z=pA=>{W.value=pA},eA=(pA={})=>{W.value.push(pA)},_=pA=>{pA>=0&&pA<W.value.length&&W.value.splice(pA,1)},V=async()=>{W.value=[...W.value]},H=e.useTemplateRef("rootRef"),AA=e.readonly({...e.toRefs(t),setCellData:T,clearSelection:y,getData:m,getCurrentRow:s,getSelectedRows:g,addRow:eA,deleteRow:_,refresh:V,validate:l,setData:z,selectRow:G,selectRowNum:J,setTotal:r,getPagination:E,setPagination:M,setTopBtnHidden:d,setColVisible:$,setColumn:q,setRowsBtnHidden:B,rootRef:H,type:"table"}),aA=(pA,iA)=>{const CA=S?S(pA.key,iA):iA[pA.key];if(!pA.encrypted||!CA)return CA;const j=`${CA}`;return j.length<=4?"*".repeat(j.length):j.slice(0,-4)+"****"},oA=(pA,iA)=>{if(!(!pA.getIconInfo||!o.value))try{return o.value[pA.getIconInfo](b,iA,pA)}catch(CA){console.error(CA)}},dA=e.computed(()=>!t.rowBtns||t.rowBtns.length===0||!W.value||W.value.length===0?!1:W.value.some(pA=>{var iA;return(iA=t.rowBtns)==null?void 0:iA.some(CA=>CA.condition===void 0||CA.condition===null?!0:sn(CA.condition,{$row:pA,$globalParams:D()}))}));if(e.onMounted(async()=>{if(!t.onMounted||!o.value)return;await e.nextTick();const pA=t.onMounted;try{o.value[pA](b)}catch(iA){console.error(iA)}}),e.onActivated(()=>{if(!t.onActivated||!o.value)return;const pA=t.onActivated;try{o.value[pA](b)}catch(iA){console.error(iA)}}),t.name){const pA=fB(t.name,AA);e.onUnmounted(()=>{pA()})}return A(AA),(pA,iA)=>{const CA=e.resolveComponent("el-table-column"),j=e.resolveComponent("el-tooltip"),sA=e.resolveComponent("el-button"),gA=e.resolveComponent("el-popover"),hA=e.resolveComponent("el-pagination");return pA.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["table-render",{tableBorder:i.value==="table"}]),ref_key:"rootRef",ref:H,id:pA.name},[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Tt.ElTable),{ref_key:"tableRef",ref:N,data:W.value,"highlight-current-row":"","row-key":pA.rowKey,stripe:pA.stripe,"show-overflow-tooltip":"",onRowClick:Y,onRowDblclick:v,onSelectionChange:L,onCurrentChange:u,height:pA.height},{empty:e.withCtx(()=>[e.createElementVNode("div",qM,[e.createVNode(e.unref(be),{name:"tableEmpty",style:{width:56,height:56}}),iA[2]||(iA[2]=e.createElementVNode("div",null,"No data available,please check",-1))])]),default:e.withCtx(()=>[pA.multipleSelection?(e.openBlock(),e.createBlock(CA,{key:0,type:"selection",width:"55",selectable:k})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(pA.columns,O=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:O.key},[O.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(CA,{key:0,prop:O.key,"min-width":O.minWidth,fixed:O.fixed||!1},{header:e.withCtx(()=>[e.createElementVNode("div",{class:"text-ellipsis",title:O.label},e.toDisplayString(O.label),9,XM)]),default:e.withCtx(({row:X,$index:tA})=>{var cA,EA;return[O.type==="link"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["text-ellipsis link-style",{"click-style":O.onClick}]),title:aA(O,X),onClick:_A=>K(O,X,tA)},e.toDisplayString(aA(O,X)),11,VM)):O.type==="iconText"?(e.openBlock(),e.createElementBlock("div",Ax,[e.createVNode(ze,{name:(cA=oA(O,X))==null?void 0:cA.name,color:(EA=oA(O,X))==null?void 0:EA.color},null,8,["name","color"]),e.createElementVNode("span",{class:"text-ellipsis",title:aA(O,X)},e.toDisplayString(aA(O,X)),9,ex)])):(e.openBlock(),e.createElementBlock("div",{key:2,class:"text-ellipsis",title:aA(O,X)},e.toDisplayString(aA(O,X)),9,tx))]}),_:2},1032,["prop","min-width","fixed"]))],64))),128)),dA.value&&pA.rowBtns&&pA.rowBtns.length>0?(e.openBlock(),e.createBlock(CA,{key:1,label:"Action",fixed:"right",align:"left",width:pA.rowBtns.length*34+12>100?pA.rowBtns.length*34+12:100},{default:e.withCtx(({row:O,$index:X})=>[e.createElementVNode("div",nx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(pA.rowBtns,tA=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:tA.key},[tA.component==="Popover"?(e.openBlock(),e.createBlock(gA,{key:0,title:tA.label,trigger:"click","popper-class":"btn-popover",width:"400"},{reference:e.withCtx(()=>[tA.condition===void 0||tA.condition===null||e.unref(sn)(tA.condition,{$row:O,$globalParams:e.unref(D)()})?(e.openBlock(),e.createBlock(sA,{key:0,disabled:tA.disabled,link:"",size:"small",type:tA.type,onClick:e.withModifiers(cA=>K(tA,O,X),["stop"])},{default:e.withCtx(()=>[e.createVNode(j,{class:"box-item",effect:"dark",content:tA.label,placement:"top","popper-class":"low-tsp"},{default:e.withCtx(()=>[tA.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:tA.icon.name,color:tA.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(Wt),{list:tA.children},null,8,["list"])])]),_:2},1032,["title"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[tA.condition===void 0||tA.condition===null||e.unref(sn)(tA.condition,{$row:O,$globalParams:e.unref(D)()})?(e.openBlock(),e.createBlock(sA,{key:0,disabled:tA.disabled,link:"",size:"small",type:tA.type,onClick:e.withModifiers(cA=>K(tA,O,X),["stop"])},{default:e.withCtx(()=>[e.createVNode(j,{class:"box-item",effect:"dark",content:tA.label,placement:"top","popper-class":"low-tsp"},{default:e.withCtx(()=>[tA.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:tA.icon.name,color:tA.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)],64))],64))),128))])]),_:1},8,["width"])):e.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[e.vShow,i.value==="table"]]),e.withDirectives(e.createVNode(tc,e.mergeProps({data:W.value},t,{getColText:aA}),null,16,["data"]),[[e.vShow,i.value==="card"]]),e.createElementVNode("div",{class:e.normalizeClass(["pagination-wrapper",{hidePagination:(pA.hiddenPagination||W.value.length===0)&&!pA.height,transparentPagination:(pA.hiddenPagination||W.value.length===0)&&pA.height,cardlistPadding:i.value==="card"}])},[e.createVNode(hA,{layout:"total,sizes, prev, pager, next,jumper",total:a.value,"page-sizes":pA.pageSizes||[5,10,20,30,40],"default-page-size":pA.defaultPageSize,"current-page":C.value.pageNum,"onUpdate:currentPage":iA[0]||(iA[0]=O=>C.value.pageNum=O),"page-size":C.value.pageSize,"onUpdate:pageSize":iA[1]||(iA[1]=O=>C.value.pageSize=O),"pager-count":pA.pagerCount,onSizeChange:x,onCurrentChange:P},null,8,["total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],10,jM))}}}),[["__scopeId","data-v-550c8708"]])},Symbol.toStringTag,{value:"Module"})),ox=["id"],rx={class:"left-part"},ax={class:"title"},sx={class:"right-part"},lx={key:0,class:"switch-panel"},cx={key:2},gx=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"CurdCard",props:{name:{},children:{},defaultCollapse:{type:Boolean},collapsible:{type:Boolean},onCollapsed:{},typeSwitch:{type:Boolean},title:{},btns:{},type:{},mainIcon:{},extraIcons:{},displayType:{},radioList:{},onRadioChange:{},radioDefault:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const A=e.inject("ruleModule",void 0),t=e.inject("pageMethodMap",{}),i=n,h=e.ref(i.radioDefault??"2"),I=T=>{if(T&&A)try{A[T](t)}catch($){console.error($)}},o=T=>{i.onRadioChange&&A&&A[i.onRadioChange](t,T)},b=()=>{D.value=!D.value,i.onCollapsed&&A&&A[i.onCollapsed](t,D.value)},D=e.ref(i.defaultCollapse??!1),w=e.ref(i.displayType||(i.typeSwitch?"card":"table")),S=kt(),N=T=>{w.value=T;const $=zi(S.schema.items,i.name),K=Y=>{Y.forEach(v=>{v.component==="Table"&&v.props&&(v.props.displayType=T),v.children&&v.children.length>0&&K(v.children)})};$&&$.children&&K($.children)};return N(w.value),(T,$)=>{const K=e.resolveComponent("el-radio"),Y=e.resolveComponent("el-radio-group"),v=e.resolveComponent("el-tooltip"),Q=e.resolveComponent("el-collapse-transition");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["crm-curd-card",{gridItem:T.type==="gridItem"}]),style:e.normalizeStyle(T.style),id:T.name},[e.createElementVNode("div",{class:e.normalizeClass(["card-header",{inline:T.type==="inline",mix:T.type==="mix",default:T.type==="default",gridItem:T.type==="gridItem",collapsedPadding:D.value&&T.onCollapsed}])},[e.createElementVNode("div",rx,[T.mainIcon?(e.openBlock(),e.createBlock(ze,{key:0,class:"title-icon",size:"large",name:T.mainIcon.name,color:T.mainIcon.color},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",ax,e.toDisplayString(T.title),1),T.radioList?(e.openBlock(),e.createBlock(Y,{key:1,class:"ml-9",modelValue:h.value,"onUpdate:modelValue":$[0]||($[0]=L=>h.value=L),onChange:$[1]||($[1]=L=>o(h.value))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.radioList,L=>(e.openBlock(),e.createBlock(K,{value:L.value,key:L.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.extraIcons,L=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:L.name},[L.tips?(e.openBlock(),e.createBlock(v,{key:0,content:L.tips,placement:"right"},{default:e.withCtx(()=>[e.createVNode(ze,{class:"extra-icon",name:L.name,color:L.color,onClick:k=>I(L.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock(ze,{key:1,class:"extra-icon",name:L.name,color:L.color,onClick:k=>I(L.onClick)},null,8,["name","color","onClick"]))],64))),128))]),e.createElementVNode("div",sx,[T.typeSwitch?(e.openBlock(),e.createElementBlock("div",lx,[e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:w.value==="card"}]),onClick:$[2]||($[2]=L=>N("card"))},[e.createVNode(ze,{name:"icon-kapian"})],2),e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:w.value==="table"}]),onClick:$[3]||($[3]=L=>N("table"))},[e.createVNode(ze,{name:"icon-biaoge"})],2)])):e.createCommentVNode("",!0),T.collapsible?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["collapse-icon-wrapper",{collapsed:D.value}]),onClick:b},[e.createVNode(ze,{name:"icon-shaixuan"})],2)):e.createCommentVNode("",!0),T.btns&&T.btns.length>0?(e.openBlock(),e.createElementBlock("div",cx,[e.createVNode(e.unref(so),{btns:T.btns||[]},null,8,["btns"])])):e.createCommentVNode("",!0)])],2),T.onCollapsed?(e.openBlock(),e.createBlock(e.unref(Wt),{key:1,list:T.children},null,8,["list"])):(e.openBlock(),e.createBlock(Q,{key:0},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Wt),{list:T.children},null,8,["list"])],512),[[e.vShow,!D.value]])]),_:1}))],14,ox)}}}),[["__scopeId","data-v-73ceae8b"]])},Symbol.toStringTag,{value:"Module"})),ux={key:0,class:"dropdown-icon-wrapper"},dx={key:1,class:"expansion-icon-wrapper"},hx=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Wrapper",props:{children:{},style:{type:[Boolean,null,String,Object,Array]},innerStyle:{type:[Boolean,null,String,Object,Array]},type:{},collapse:{type:Boolean},dropdown:{type:Boolean},expansion:{type:Boolean},onDropdownChange:{},onExpand:{}},setup(n){const A=n,{ruleModule:t,pageMethodMap:i}=ig(),h=e.ref(!1),I=()=>{if(A.onDropdownChange){h.value=!h.value;try{t[A.onDropdownChange](i,h.value)}catch(D){console.error(D)}}},o=e.ref(!1),b=()=>{if(A.onExpand){o.value=!o.value;try{t[A.onExpand](i,o.value)}catch(D){console.error(D)}}};return(D,w)=>{const S=e.resolveComponent("el-collapse-transition");return e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(D.style)},[e.createVNode(S,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass({normal:D.type==="normal",onlytable:D.type==="onlytable",dropdownChildren:D.type==="dropdown-children",expansionWrapper:D.expansion}),style:e.normalizeStyle(D.innerStyle)},[e.createVNode(e.unref(Wt),{list:D.children},null,8,["list"]),D.dropdown?(e.openBlock(),e.createElementBlock("div",ux,[e.createVNode(ze,{name:"icon-xialaliebiao",color:"#666666",onClick:I,class:e.normalizeClass({reversed:h.value})},null,8,["class"])])):e.createCommentVNode("",!0),D.expansion?(e.openBlock(),e.createElementBlock("div",dx,[e.createVNode(ze,{name:"icon-shuangxiangjiantou",color:o.value?"#18AAF8":"#666666",onClick:b},null,8,["color"])])):e.createCommentVNode("",!0)],6),[[e.vShow,!D.collapse]])]),_:1})],4)}}}),[["__scopeId","data-v-bdb9b825"]])},Symbol.toStringTag,{value:"Module"})),px={class:"content"},Bx={class:"product-list"},Cx={class:"attribute-list"},mx={key:0,class:"attribute-list-item"},Ex={class:"product-title attribute-title"},Qx={class:"attribute-item-list"},Ix={class:"attribute-label"},fx={class:"attribute-value"},wx=e.defineComponent({__name:"OfferDetailItem",props:{data:{},btns:{},index:{}},setup(n){return(A,t)=>{const i=e.resolveComponent("el-popover");return e.openBlock(),e.createBlock(i,{"popper-class":"offer-detail",placement:"right"},{reference:e.withCtx(()=>[e.createVNode(Pd,{data:A.data,btns:A.btns,index:A.index},null,8,["data","btns","index"])]),default:e.withCtx(()=>[e.createElementVNode("div",px,[t[0]||(t[0]=e.createElementVNode("div",{class:"product-title"},"Product",-1)),e.createElementVNode("div",Bx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.data.product,h=>(e.openBlock(),e.createElementBlock("div",{class:"product-item",key:h.label},e.toDisplayString(h.label),1))),128))]),e.createElementVNode("div",Cx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.data.product,h=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:h.label},[h.children.length>0?(e.openBlock(),e.createElementBlock("div",mx,[e.createElementVNode("div",Ex,e.toDisplayString(h.label),1),e.createElementVNode("div",Qx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.children,I=>(e.openBlock(),e.createElementBlock("div",{class:"attribute-item",key:I.label},[e.createElementVNode("div",Ix,e.toDisplayString(I.label),1),e.createElementVNode("div",fx,e.toDisplayString(I.value||"--"),1)]))),128))])])):e.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),bx={key:0,class:"empty-content"},Dx=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"OfferDetails",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){var N,T;const A=n,t=e.ref(),i=e.ref([]),h=(N=A.columns.find($=>$.position==="title"))==null?void 0:N.key,I=(T=A.columns.find($=>$.position==="subTitle"))==null?void 0:T.key,o=A.columns.find($=>$.position==="footer"),b=$=>{const K=[];return $.children&&$.children.length>0&&$.children.forEach(Y=>{const v={label:Y.PRODUCT_ITEM_NAME,children:[]};Y.children&&Y.children.length>0&&Y.children.forEach(Q=>{v.children.push({label:Q.PRODUCT_ITEM_NAME,value:Q.ACTION})}),K.push(v)}),K};function D($){const K={},Y=[];return $.forEach(v=>{K[v.PRODUCT_ITEM_ID]={...v,children:[]}}),$.forEach(v=>{const Q=K[v.PRODUCT_ITEM_ID],L=v.PARENT_PRODUCT_ITEM_ID;L===0||!K[L]?Y.push(Q):K[L].children.push(Q)}),Y}const w=e.inject(jn),S=w?w.translateFn:null;return e.watchEffect(()=>{if(A.data){const $=D(A.data);t.value=$.map(K=>{const Y={content:[]};return h&&(Y.title=S?S(h,K):K[h],Y.titleColor="#18AAF8"),I&&(Y.subTitle=S?S(I,K):K[I]),o&&(Y.footer={icon:o.footerIcon||"icon-tishi",text:`${o.label}: ${S?S(o.key,K):K[o.key]}`}),K.children&&(Y.product=b(K)),A.columns.forEach(v=>{v.position==="content"&&Y.content.push({label:v.label,value:S?S(v.key,K):K[v.key]})}),Y})}}),e.onMounted(()=>{var $;i.value=($=A.rowBtns)==null?void 0:$.map(K=>({icon:K.icon&&K.icon.name?K.icon.name:"icon-tishi",label:K.label,onClick:K.onClick}))}),($,K)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"card-list",style:e.normalizeStyle({"--columns":$.gridColumns,"--gap":$.gap+"px"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,(Y,v)=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item",key:v},[e.createVNode(wx,{data:Y,btns:i.value,index:v},null,8,["data","btns","index"])]))),128))],4),!$.data||$.data.length===0?(e.openBlock(),e.createElementBlock("div",bx,[e.createVNode(e.unref(be),{name:"tableEmpty",style:{width:56,height:56}}),K[0]||(K[0]=e.createElementVNode("div",null,"No data available,please check",-1))])):e.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-09844ac4"]])},Symbol.toStringTag,{value:"Module"})),yx={class:"progress"},vx={class:"timeline-content"},kx={class:"timeline-content__title"},_x={key:0,class:"empty-content"},Mx=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Progress",props:{data:{}},setup(n){return(A,t)=>{const i=e.resolveComponent("el-timeline-item"),h=e.resolveComponent("el-timeline");return e.openBlock(),e.createElementBlock("div",yx,[e.createVNode(h,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.data,(I,o)=>(e.openBlock(),e.createBlock(i,{key:o,size:"large"},{dot:e.withCtx(()=>[e.createVNode(ze,{name:I.iconName,size:"large"},null,8,["name"])]),default:e.withCtx(()=>[e.createElementVNode("div",vx,[e.createElementVNode("div",kx,[e.createElementVNode("span",null,e.toDisplayString(I.title),1),e.createElementVNode("span",null,e.toDisplayString(I.timestamp),1)]),e.createTextVNode(" "+e.toDisplayString(I.content),1)])]),_:2},1024))),128))]),_:1}),!A.data||A.data.length===0?(e.openBlock(),e.createElementBlock("div",_x,[e.createVNode(e.unref(be),{name:"tableEmpty",style:{width:56,height:56}}),t[0]||(t[0]=e.createElementVNode("div",null,"No data available,please check",-1))])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-088a0692"]])},Symbol.toStringTag,{value:"Module"})),xx={class:"log-list"},Sx={class:"title-part"},Fx={class:"title"},Nx={class:"sub-title"},Rx={class:"content"},Lx={key:0},Gx=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"LogList",props:{content:{}},setup(n){return(A,t)=>(e.openBlock(),e.createElementBlock("div",xx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.content,i=>{var h;return e.openBlock(),e.createElementBlock("div",{class:"log-list-item",key:i.id},[e.createElementVNode("div",{class:"left-bar",style:e.normalizeStyle({backgroundColor:i.color})},null,4),e.createElementVNode("div",Sx,[e.createElementVNode("div",{class:"circle",style:e.normalizeStyle({backgroundColor:i.color})},e.toDisplayString((h=i.title)==null?void 0:h[0]),5),e.createElementVNode("div",Fx,e.toDisplayString(i.title),1),e.createElementVNode("div",Nx,e.toDisplayString(i.subTitle),1)]),e.createElementVNode("div",Rx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.content,(I,o)=>(e.openBlock(),e.createElementBlock("span",{key:o,class:e.normalizeClass({bold:I.style==="bold",normal:I.style==="normal"})},[e.createTextVNode(e.toDisplayString(I.text),1),o!==i.content.length-1?(e.openBlock(),e.createElementBlock("span",Lx," ")):e.createCommentVNode("",!0)],2))),128))])])}),128))]))}}),[["__scopeId","data-v-646d4f4d"]])},Symbol.toStringTag,{value:"Module"}));wt.$options=jn,wt.FormDesign=wB,wt.FormRender=fn,wt.PageRender=rg,wt.TableRender=og,wt.default=_8,wt.useFormInstance=kt,wt.useRuleContext=ig,Object.defineProperties(wt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1579
+ ]`)}}else Ce&&(ZA=zA(ZA,","));for(;LA.charCodeAt(SA)===$||LA.charCodeAt(SA)===Y;)SA++,xe();if(SA>=LA.length)return ZA;throw new D("Unexpected character "+JSON.stringify(LA[SA]),SA);function ye(){xe();var ie=function(){if(LA.charCodeAt(SA)!==T)return!1;{ZA+="{",SA++,xe(),qA(r)&&xe();let lt=!0;for(;SA<LA.length&&LA.charCodeAt(SA)!==$;){if(lt?lt=!1:($A(r)||(ZA=XA(ZA,",")),xe()),de(),!(le()||wA())){LA.charCodeAt(SA)===$||LA.charCodeAt(SA)===T||LA.charCodeAt(SA)===Y||LA.charCodeAt(SA)===K||LA[SA]===void 0?ZA=zA(ZA,","):function(){throw new D("Object key expected",SA)}();break}xe();var ce=$A(E),Me=SA>=LA.length,tt=(ce||(hA(LA[SA])||Me?ZA=XA(ZA,":"):we()),ye());tt||(ce||Me?ZA+="null":we())}return LA.charCodeAt(SA)===$?(ZA+="}",SA++):ZA=XA(ZA,"}"),!0}}()||function(){if(LA.charCodeAt(SA)!==K)return!1;{ZA+="[",SA++,xe(),qA(r)&&xe();let Me=!0;for(;SA<LA.length&&LA.charCodeAt(SA)!==Y;){Me?Me=!1:$A(r)||(ZA=XA(ZA,",")),de();var ce=ye();if(!ce){ZA=zA(ZA,",");break}}return LA.charCodeAt(SA)===Y?(ZA+="]",SA++):ZA=XA(ZA,"]"),!0}}()||le()||function(){var ce=SA;if(LA.charCodeAt(SA)===l){if(SA++,HA())return ne(ce),!0;if(!j(LA.charCodeAt(SA)))return SA=ce,!1}for(;j(LA.charCodeAt(SA));)SA++;if(LA.charCodeAt(SA)===C){if(SA++,HA())return ne(ce),!0;if(!j(LA.charCodeAt(SA)))return SA=ce,!1;for(;j(LA.charCodeAt(SA));)SA++}if(LA.charCodeAt(SA)===J||LA.charCodeAt(SA)===G){if(SA++,LA.charCodeAt(SA)!==l&&LA.charCodeAt(SA)!==g||SA++,HA())return ne(ce),!0;if(!j(LA.charCodeAt(SA)))return SA=ce,!1;for(;j(LA.charCodeAt(SA));)SA++}var Me,tt;if(HA()){if(SA>ce)return Me=LA.slice(ce,SA),tt=/^0\d/.test(Me),ZA+=tt?'"'.concat(Me,'"'):Me,!0}else SA=ce;return!1}()||ke("true","true")||ke("false","false")||ke("null","null")||ke("True","true")||ke("False","false")||ke("None","null")||wA();return xe(),ie}function xe(){for(UA();function(){if(LA.charCodeAt(SA)===S&&LA.charCodeAt(SA+1)===N){for(;SA<LA.length&&!function(ie,ce){return ie[ce]==="*"&&ie[ce+1]==="/"}(LA,SA);)SA++;SA+=2}else{if(LA.charCodeAt(SA)!==S||LA.charCodeAt(SA+1)!==S)return!1;for(;SA<LA.length&&LA.charCodeAt(SA)!==k;)SA++}return!0}()&&UA(););}function UA(){let ie="";for(var ce,Me;(ce=X(LA.charCodeAt(SA)))||(Me=LA.charCodeAt(SA))===z||Me>=eA&&Me<=_||Me===V||Me===H||Me===AA;)ie+=ce?LA[SA]:" ",SA++;return 0<ie.length&&(ZA+=ie,!0)}function $A(ie){return LA.charCodeAt(SA)===ie&&(ZA+=LA[SA],SA++,!0)}function qA(ie){return LA.charCodeAt(SA)===ie&&(SA++,!0)}function de(){xe(),LA.charCodeAt(SA)===C&&LA.charCodeAt(SA+1)===C&&LA.charCodeAt(SA+2)===C&&(SA+=3,xe(),qA(r))}function le(ie){var ce,Me,tt=0<arguments.length&&ie!==void 0&&ie;let lt=LA.charCodeAt(SA)===w;if(lt&&(SA++,lt=!0),tA(LA.charCodeAt(SA))){var MA=EA(LA.charCodeAt(SA))?EA:YA(LA.charCodeAt(SA))?YA:_A(LA.charCodeAt(SA))?_A:cA,bA=SA,RA=ZA.length;let _e='"';for(SA++;;){if(SA>=LA.length)return JA=FA(SA-1),!tt&&sA(LA.charAt(JA))?(SA=bA,ZA=ZA.substring(0,RA),le(!0)):(_e=XA(_e,'"'),ZA+=_e,!0);if(MA(LA.charCodeAt(SA))){var JA=SA,OA=_e.length;if(_e+='"',SA++,ZA+=_e,xe(),tt||SA>=LA.length||sA(LA.charAt(SA))||tA(LA.charCodeAt(SA))||j(LA.charCodeAt(SA)))return Ee(),!0;if(sA(LA.charAt(FA(JA-1))))return SA=bA,ZA=ZA.substring(0,RA),le(!0);ZA=ZA.substring(0,RA),SA=JA+1,_e=_e.substring(0,OA)+"\\"+_e.substring(OA)}else{if(tt&&sA(LA[SA]))return _e=XA(_e,'"'),ZA+=_e,Ee(),!0;if(LA.charCodeAt(SA)===w)if(OA=LA.charAt(SA+1),pe[OA]!==void 0)_e+=LA.slice(SA,SA+2),SA+=2;else if(OA==="u"){let qe=2;for(;qe<6&&((Me=LA.charCodeAt(SA+qe))>=B&&Me<=a||Me>=x&&Me<=q||Me>=P&&Me<=W);)qe++;if(qe===6)_e+=LA.slice(SA,SA+6),SA+=6;else{if(!(SA+qe>=LA.length))throw Ie=void 0,Ie=LA.slice(SA,SA+6),new D('Invalid unicode character "'.concat(Ie,'"'),SA);SA=LA.length}}else _e+=OA,SA+=2;else{var Ie=LA.charAt(SA),te=LA.charCodeAt(SA);if(te===s&&LA.charCodeAt(SA-1)!==w)_e+="\\"+Ie;else if((ce=te)===k||ce===m||ce===y||ce===p||ce===u)_e+=jA[Ie];else{if(!(32<=(ce=te)&&ce<=1114111))throw te=void 0,te=Ie,new D("Invalid character "+JSON.stringify(te),SA);_e+=Ie}SA++}}lt&&qA(w)}}return!1}function Ee(){for(xe();LA.charCodeAt(SA)===g;){SA++,xe();var ie=(ZA=zA(ZA,'"',!0)).length,ce=le();ZA=ce?(ce=ZA,ie=ie,Me=1,ce.substring(0,ie)+ce.substring(ie+Me)):XA(ZA,'"')}var Me}function ke(ie,ce){return LA.slice(SA,SA+ie.length)===ie&&(ZA+=ce,SA+=ie.length,!0)}function wA(){for(var ie,ce=SA;SA<LA.length&&(!sA(ie=LA[SA])||ie==="/")&&!tA(LA.charCodeAt(SA));)SA++;if(SA>ce){if(LA.charCodeAt(SA)===v&&/^\w+$/.test(LA.slice(ce,SA).trim()))SA++,ye(),LA.charCodeAt(SA)===Q&&(SA++,LA.charCodeAt(SA)===M)&&SA++;else{for(;X(LA.charCodeAt(SA-1))&&0<SA;)SA--;ce=LA.slice(ce,SA),ZA+=ce==="undefined"?"null":JSON.stringify(ce),LA.charCodeAt(SA)===s&&SA++}return!0}}function FA(ie){let ce=ie;for(;0<ce&&X(LA.charCodeAt(ce));)ce--;return ce}function HA(){return SA>=LA.length||sA(LA[SA])||X(LA.charCodeAt(SA))}function ne(ie){ZA+=LA.slice(ie,SA)+"0"}function we(){throw new D("Colon expected",SA)}}},3420:function(I){I.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(I){I.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(I){I.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(I){I.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}')}},h={},t.amdD=function(){throw new Error("define cannot be used indirect")},t.n=function(I){var o=I&&I.__esModule?function(){return I.default}:function(){return I};return t.d(o,{a:o}),o},t.d=function(I,o){for(var b in o)t.o(o,b)&&!t.o(I,b)&&Object.defineProperty(I,b,{enumerable:!0,get:o[b]})},t.o=function(I,o){return Object.prototype.hasOwnProperty.call(I,o)},t.r=function(I){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(I,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(I,"__esModule",{value:!0})},t.nmd=function(I){return I.paths=[],I.children||(I.children=[]),I},t(1346);function t(I){var o=h[I];return o!==void 0||(o=h[I]={id:I,loaded:!1,exports:{}},i[I].call(o.exports,o,o.exports,t),o.loaded=!0),o.exports}var i,h})})(DB);var G8=DB.exports;const P8=Iu(G8),H8={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(n){this.internalChange||(this.setEditorContent(n),this.$nextTick(()=>{this.expandAll()}))}}},mounted(){this.init();const n=document.querySelector(".jsoneditor-menu .jsoneditor-poweredBy");this.hasLogo=n&&window.getComputedStyle(n).display!=="none",this.showFullScreen=!0},unmounted(){var n;(n=this.editor)==null||n.destroy(),this.editor=null},methods:{toggleFullScreen(){this.isFullScreen=!this.isFullScreen,this.$nextTick(()=>{const n=new Event("resize");window.dispatchEvent(n)})},init(){const{currentMode:n,modeList:A,options:t}=this,i=()=>{const T=K=>{this.json=K,this.$emit("update:modelValue",K),this.$emit("change",K),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){T("");return}try{const K=this.editor.get();T(K)}catch{}},h=()=>{this.expandAll()},I=(T,$,K)=>{this.$emit("textSelectionChange",this.editor,T,$,K)},o=(T,$)=>{this.$emit("selectionChange",this.editor,T,$)},b=(T,$,K)=>{this.$emit("colorPicker",this.editor,T,$,K)},D=({target:T})=>{this.$emit("focus",this.editor,T)},w=({target:T})=>{this.$emit("blur",this.editor,T)},S=T=>{this.$emit("validationError",this.editor,T)},N={...t,indentation:2,language:this.language,mode:n,modes:A,onChange:i,onModeChange:h,onTextSelectionChange:I,onSelectionChange:o,onColorPicker:b,onFocus:D,onBlur:w,onValidationError:S};this.editor=new P8(this.$refs.jsonEditorVue,N,this.json)},expandAll(){var n,A;this.expandedModes.includes((n=this.editor)==null?void 0:n.getMode())&&((A=this.editor)==null||A.expandAll())},setEditorContent(n){var A;(A=this.editor)==null||A.set(n)}}},K8={ref:"jsonEditorVue",class:"json-editor-vue"};function T8(n,A,t,i,h,I){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["container",{"full-screen-container":h.isFullScreen}])},[e.createElementVNode("div",K8,null,512),e.createElementVNode("div",{class:e.normalizeClass(["full-screen",{show:h.showFullScreen,right:!h.hasLogo}]),onClick:A[0]||(A[0]=(...o)=>I.toggleFullScreen&&I.toggleFullScreen(...o))},null,2)],2)}const U8=ge(H8,[["render",T8],["__scopeId","data-v-c3373674"]]),Y8=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:e.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>(e.openBlock(),e.createBlock(e.unref(gD),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:e.withCtx(()=>[e.createVNode(U8,e.mergeProps({class:"editor-direct",modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=h=>A.value=h),currentMode:"code",modeList:["text","view","tree","code","form"],options:{search:!1,history:!1}},t.$attrs),null,16,["modelValue"])]),_:1},8,["disabled"]))}})},Symbol.toStringTag,{value:"Module"})),O8={key:0},$8=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Checkbox",props:e.mergeModels({options:{default:()=>[]},defaultOptions:{},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=kt(),{currentOptions:h,selectChange:I,loading:o}=pr(A);return e.watch(t,I),(b,D)=>{var K;const w=e.resolveComponent("el-checkbox"),S=e.resolveComponent("el-checkbox-button"),N=e.resolveComponent("el-space"),T=e.resolveComponent("el-checkbox-group"),$=e.resolveDirective("loading");return e.unref(i).read?(e.openBlock(),e.createElementBlock("div",O8,e.toDisplayString((K=t.value)==null?void 0:K.map(Y=>{var v;return(v=e.unref(h).find(Q=>Q[b.valueKey]===Y))==null?void 0:v[b.labelKey]}).join("、")),1)):e.withDirectives((e.openBlock(),e.createBlock(T,e.mergeProps({key:1},b.$attrs,{modelValue:t.value,"onUpdate:modelValue":D[0]||(D[0]=Y=>t.value=Y),onChange:e.unref(I)}),{default:e.withCtx(()=>[b.optionType==="circle"||b.optionType==="border"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(h),Y=>(e.openBlock(),e.createBlock(w,{key:Y[b.valueKey],label:Y[b.labelKey],value:Y[b.valueKey],border:b.optionType==="border"},null,8,["label","value","border"]))),128)):e.createCommentVNode("",!0),b.optionType==="button"?(e.openBlock(),e.createBlock(N,{key:1,wrap:"",size:[b.space,b.space]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(h),Y=>(e.openBlock(),e.createBlock(S,{key:Y[b.valueKey],label:Y[b.labelKey],value:Y[b.valueKey],size:"large"},null,8,["label","value"]))),128))]),_:1},8,["size"])):e.createCommentVNode("",!0)]),_:1},16,["modelValue","onChange"])),[[$,e.unref(o)]])}}})},Symbol.toStringTag,{value:"Module"})),J8={class:"vfc-color-input"},z8=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"ColorInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>{const h=e.resolveComponent("el-input"),I=e.resolveComponent("el-color-picker");return e.openBlock(),e.createElementBlock("div",J8,[e.createVNode(h,{modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=o=>A.value=o)},null,8,["modelValue"]),e.createVNode(I,{modelValue:A.value,"onUpdate:modelValue":i[1]||(i[1]=o=>A.value=o)},null,8,["modelValue"])])}}})},Symbol.toStringTag,{value:"Module"})),Z8={key:0,class:"empty"},W8=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Custom",props:e.mergeModels({componentName:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>t.componentName?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.componentName),e.mergeProps({key:1,modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=h=>A.value=h)},t.$attrs),null,16,["modelValue"])):(e.openBlock(),e.createElementBlock("span",Z8,"请输入全局注册得组件名"))}}),[["__scopeId","data-v-2250b7d1"]])},Symbol.toStringTag,{value:"Module"})),j8={key:0},q8=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"DatePicker",props:e.mergeModels({read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=e.useAttrs(),i=e.computed(()=>A.value?t.valueFormat?Tt.dayjs(A.value).format(t.valueFormat):A.value:"--"),h=[{text:"Today",value:new Date}];return(I,o)=>{const b=e.resolveComponent("el-date-picker");return I.read?(e.openBlock(),e.createElementBlock("span",j8,e.toDisplayString(i.value),1)):(e.openBlock(),e.createBlock(b,e.mergeProps({key:1},I.$attrs,{modelValue:A.value,"onUpdate:modelValue":o[0]||(o[0]=D=>A.value=D),style:{width:"100%"},shortcuts:h}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),X8=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Divider",props:{title:{}},setup(n){return(A,t)=>{const i=e.resolveComponent("ElDivider");return e.openBlock(),e.createBlock(i,e.normalizeProps(e.guardReactiveProps(A.$attrs)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.title),1)]),_:1},16)}}})},Symbol.toStringTag,{value:"Module"})),V8=e.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(n){const A=e.ref(!1),t=e.ref(""),i=e.ref([]),h=e.ref(null),I=e.ref(0),o=e.ref(0),b=e.ref(!1),D=e.ref(1),w=e.ref(null),S=e.computed(()=>n.height/n.width),N=e.computed(()=>n.bgColor?n.bgColor:"rgba(255, 255, 255, 0)");e.watch(N,k=>{w.value&&(w.value.style.background=k)});const T=()=>{if(w.value){w.value.style.width=`${n.width}px`;const k=parseFloat(window.getComputedStyle(w.value).width);w.value.style.height=`${S.value*k}px`,h.value=w.value.getContext("2d"),h.value&&(h.value.scale(1*D.value,1*D.value),D.value=k/n.width,h.value.scale(1/D.value,1/D.value))}};e.onMounted(()=>{w.value&&(w.value.height=n.height,w.value.width=n.width,w.value.style.background=N.value,T(),document.onmouseup=()=>{b.value=!1}),window.addEventListener("resize",T)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",T)});const $=k=>{I.value=k.x,o.value=k.y,h.value&&(h.value.beginPath(),h.value.moveTo(I.value,o.value),h.value.lineTo(k.x,k.y),h.value.lineCap="round",h.value.lineJoin="round",h.value.lineWidth=n.lineWidth*D.value,h.value.stroke(),h.value.closePath(),i.value.push(k))},K=k=>{h.value&&(h.value.beginPath(),h.value.moveTo(I.value,o.value),h.value.lineTo(k.x,k.y),h.value.strokeStyle=n.lineColor,h.value.lineWidth=n.lineWidth*D.value,h.value.lineCap="round",h.value.lineJoin="round",h.value.stroke(),h.value.closePath(),o.value=k.y,I.value=k.x,i.value.push(k))},Y=k=>{h.value&&(h.value.beginPath(),h.value.moveTo(I.value,o.value),h.value.lineTo(k.x,k.y),h.value.lineCap="round",h.value.lineJoin="round",h.value.stroke(),h.value.closePath(),i.value.push(k),i.value.push({x:-1,y:-1}))},v=k=>{const y=(k==null?void 0:k.format)||n.format,m=(k==null?void 0:k.quality)||n.quality;return new Promise((p,u)=>{if(!A.value){u("Warning: Not Signed!");return}if(h.value){const s=h.value.getImageData(0,0,w.value.width,w.value.height);h.value.globalCompositeOperation="destination-over",h.value.fillStyle=N.value,h.value.fillRect(0,0,w.value.width,w.value.height),t.value=w.value.toDataURL(y,m);let g=t.value;if(h.value.clearRect(0,0,w.value.width,w.value.height),h.value.putImageData(s,0,0),h.value.globalCompositeOperation="source-over",n.isCrop){const l=L(s.data),d=document.createElement("canvas"),B=d.getContext("2d");if(B){d.width=l[2]-l[0],d.height=l[3]-l[1];const a=h.value.getImageData(l[0],l[1],l[2],l[3]);B.globalCompositeOperation="destination-over",B.putImageData(a,0,0),B.fillStyle=N.value,B.fillRect(0,0,d.width,d.height),g=d.toDataURL(y,m)}}p(g)}})},Q=()=>{h.value&&h.value.clearRect(0,0,w.value.width,w.value.height),n.isClearBgColor&&(i.value=[],A.value=!1,t.value="")},L=k=>{let y=w.value.width,m=0,p=w.value.height,u=0;for(let s=0;s<w.value.width;s++)for(let g=0;g<w.value.height;g++){const l=(s+w.value.width*g)*4;(k[l]>0||k[l+1]>0||k[l+2]>0||k[l+3]>0)&&(u=Math.max(g,u),m=Math.max(s,m),p=Math.min(g,p),y=Math.min(s,y))}return[y+1,p+1,m+1,u+1]};return{canvas:w,myBg:N,drawStart:$,drawMove:K,drawEnd:Y,generate:v,reset:Q,touchStart:k=>{if(k.preventDefault(),A.value=!0,k.touches.length===1&&w.value){const y={x:k.targetTouches[0].clientX-w.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-w.value.getBoundingClientRect().top};$(y)}},touchMove:k=>{if(k.preventDefault(),k.touches.length===1){const y={x:k.targetTouches[0].clientX-w.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-w.value.getBoundingClientRect().top};K(y)}},touchEnd:k=>{if(k.preventDefault(),k.touches.length===1){const y={x:k.targetTouches[0].clientX-w.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-w.value.getBoundingClientRect().top};Y(y)}},mouseDown:k=>{k.preventDefault(),b.value=!0,A.value=!0;const y={x:k.offsetX,y:k.offsetY};$(y)},mouseMove:k=>{if(k.preventDefault(),b.value){const y={x:k.offsetX,y:k.offsetY};K(y)}},mouseUp:k=>{k.preventDefault();const y={x:k.offsetX,y:k.offsetY};Y(y),b.value=!1}}}});function AM(n,A,t,i,h,I){return e.openBlock(),e.createElementBlock("canvas",{ref:"canvas",onMousedown:A[0]||(A[0]=(...o)=>n.mouseDown&&n.mouseDown(...o)),onMousemove:A[1]||(A[1]=(...o)=>n.mouseMove&&n.mouseMove(...o)),onMouseup:A[2]||(A[2]=(...o)=>n.mouseUp&&n.mouseUp(...o)),onTouchstart:A[3]||(A[3]=(...o)=>n.touchStart&&n.touchStart(...o)),onTouchmove:A[4]||(A[4]=(...o)=>n.touchMove&&n.touchMove(...o)),onTouchend:A[5]||(A[5]=(...o)=>n.touchEnd&&n.touchEnd(...o))},null,544)}const eM=ge(V8,[["render",AM],["__scopeId","data-v-0e272b28"]]),tM={key:0},nM={class:"vfc-esign-preview"},iM=["src"],oM={key:1,class:"vfc-esign"},rM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.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(n){const A=n,t=e.ref(),i=kt(),h=e.useModel(n,"modelValue"),I={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"}}]},o=e.ref({lineWidth:6,lineColor:"#000000",bgColor:"#fff"}),b=()=>{t.value.reset()},D=()=>{t.value.generate().then(N=>{h.value=N}).catch(N=>{alert(N)})},w=e.ref(""),S=()=>{w.value=h.value,h.value=""};return e.onMounted(()=>{Object.assign(o.value,A)}),(N,T)=>{const $=e.resolveComponent("el-button");return e.unref(i).read||h.value?(e.openBlock(),e.createElementBlock("div",tM,[e.createElementVNode("div",nM,[e.createElementVNode("img",{src:h.value,alt:"未签名"},null,8,iM)]),e.unref(i).read?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($,{key:0,disabled:N.disabled,onClick:S,type:"primary"},{default:e.withCtx(()=>T[2]||(T[2]=[e.createTextVNode("重写")])),_:1},8,["disabled"]))])):(e.openBlock(),e.createElementBlock("div",oM,[e.createVNode(e.unref(fn),{modelValue:o.value,"onUpdate:modelValue":T[0]||(T[0]=K=>o.value=K),schema:I,class:"vfc-esign-actions"},null,8,["modelValue"]),e.createVNode(eM,{class:"vfc-esign-canvas",ref_key:"esign",ref:t,width:N.width,height:N.height,isCrop:N.isCrop,lineWidth:o.value.lineWidth,lineColor:o.value.lineColor,bgColor:o.value.bgColor,format:N.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),e.createElementVNode("div",null,[w.value?(e.openBlock(),e.createBlock($,{key:0,disabled:N.disabled,onClick:T[1]||(T[1]=K=>h.value=w.value),plain:"",type:"primary"},{default:e.withCtx(()=>T[3]||(T[3]=[e.createTextVNode("取消")])),_:1},8,["disabled"])):e.createCommentVNode("",!0),e.createVNode($,{disabled:N.disabled,onClick:b,plain:"",type:"primary"},{default:e.withCtx(()=>T[4]||(T[4]=[e.createTextVNode("清空")])),_:1},8,["disabled"]),e.createVNode($,{disabled:N.disabled,onClick:D,type:"primary"},{default:e.withCtx(()=>T[5]||(T[5]=[e.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),aM={key:0},sM=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Radio",props:e.mergeModels({options:{default:()=>[]},defaultOptions:{},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:8}},{modelValue:{type:[String,Number,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=kt(),h=e.inject("ruleModule",void 0),I=e.inject("pageMethodMap",{}),o=w=>{const{valueKey:S="value",name:N}=A;let T={};if(T=b.value.find($=>$[S]===w)||{},i.selectData&&N&&i.updateSelectData(N,T),A.onChange&&h)try{h[A.onChange](I,w,T)}catch($){console.error($)}},{currentOptions:b,loading:D}=pr(A);return(w,S)=>{var v;const N=e.resolveComponent("el-radio"),T=e.resolveComponent("el-radio-button"),$=e.resolveComponent("el-space"),K=e.resolveComponent("el-radio-group"),Y=e.resolveDirective("loading");return w.read?(e.openBlock(),e.createElementBlock("div",aM,e.toDisplayString(((v=e.unref(b).find(Q=>Q[w.valueKey]===t.value))==null?void 0:v[w.labelKey])||"--"),1)):e.withDirectives((e.openBlock(),e.createBlock(K,e.mergeProps({key:1,modelValue:t.value,"onUpdate:modelValue":S[0]||(S[0]=Q=>t.value=Q),onChange:o},w.$attrs),{default:e.withCtx(()=>[e.createVNode($,{wrap:"",direction:w.direction,size:[w.space,w.space],alignment:"normal"},{default:e.withCtx(()=>[w.optionType==="circle"||w.optionType==="border"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(b),Q=>(e.openBlock(),e.createBlock(N,{key:Q[w.valueKey],label:Q[w.labelKey],value:Q[w.valueKey],disabled:Q[w.disabledKey],border:w.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(e.unref(b),Q=>(e.openBlock(),e.createBlock(T,e.mergeProps({key:Q[w.valueKey],label:Q[w.labelKey],value:Q[w.valueKey],class:"radio-button",disabled:Q[w.disabledKey],ref_for:!0},w.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[Y,e.unref(D)]])}}}),[["__scopeId","data-v-1315a0b2"]])},Symbol.toStringTag,{value:"Module"})),lM={class:"vfc-formList"},cM={key:1},gM={class:"list-item-content"},uM={class:"card-header"},dM={style:{"margin-top":"5px"}},hM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"FormList",props:e.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(n){const A=n,t=e.useModel(n,"modelValue"),i=e.ref(0),h=kt(),I=N=>sn(A.children,{$item:t.value[N],$index:N}),o=e.computed(()=>t.value.length>=A.maxLines),b=e.computed(()=>t.value.length<=A.minLines),D=()=>{o.value||(t.value=[...t.value,{}])},w=N=>{const T=t.value.filter(($,K)=>K!==N);t.value=T},S=(N,T,$,K)=>{const Y=T.no,v=I(K)[Y];return e.h(io,{...v,hideLabel:!0,style:{marginBottom:0},name:`${A.name}.${K}.${v.name}`})};return e.watch(t,(N,T)=>{const $=N.reduce((Q,L,k)=>(ht.isEqual(L,T[k])||(Q=k),Q),0);if(i.value=$,!A.children.some(Q=>Q.change))return;const K=I($),Y=N[$]||{},v=T[$]||{};K.forEach(Q=>{Q.change&&v&&!ht.isEqual(Y[Q.name],v[Q.name])&&Q.change.forEach(L=>{if(L.condition!==!1){if(ht.isString(L.condition)&&/^{{\s*(.*?)\s*}}$/.test(L.condition))return;const k=L.target.split(".").pop();t.value[$][k]=L.value}})})}),e.onMounted(()=>{var N;A.minLines&&!((N=t.value)!=null&&N.length)&&(t.value=Array.from({length:A.minLines},()=>({})))}),e.provide("$objGroupBase",e.computed(()=>`${A.name}.${i.value}`)),(N,T)=>{const $=e.resolveComponent("el-space"),K=e.resolveComponent("el-button"),Y=e.resolveComponent("el-form-item"),v=e.resolveComponent("el-card"),Q=e.resolveComponent("el-table-column"),L=e.resolveComponent("el-table");return e.openBlock(),e.createElementBlock("div",lM,[e.unref(h).design?(e.openBlock(),e.createBlock(e.unref(Wc),{key:0,list:N.children,class:"layoutRender"},null,8,["list"])):(e.openBlock(),e.createElementBlock("div",cM,[N.mode==="inline"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.value,(k,y)=>(e.openBlock(),e.createBlock(Y,{key:k.key,class:"list-item"},{default:e.withCtx(()=>[e.createElementVNode("div",gM,[e.createVNode($,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I(y),m=>(e.openBlock(),e.createBlock(e.unref(io),e.mergeProps({ref_for:!0},m,{key:m.label,name:`${N.name}.${y}.${m.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),N.allowReduce&&!b.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:m=>w(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:e.withCtx(()=>[e.createVNode(e.unref(be),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):e.createCommentVNode("",!0)])]),_:2},1024))),128)):e.createCommentVNode("",!0),N.mode==="card"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.value,(k,y)=>(e.openBlock(),e.createBlock(v,{key:k.key,class:"list-card"},{header:e.withCtx(()=>[e.createElementVNode("div",uM,[e.createElementVNode("span",null,e.toDisplayString(N.title+(y+1)),1),N.allowReduce&&!b.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:m=>w(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:e.withCtx(()=>[e.createVNode(e.unref(be),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I(y),m=>(e.openBlock(),e.createBlock(e.unref(io),e.mergeProps({ref_for:!0},m,{key:m.label,class:"list-card-item",name:`${N.name}.${y}.${m.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):e.createCommentVNode("",!0),N.mode==="table"&&t.value.length?(e.openBlock(),e.createBlock(L,{key:2,data:t.value,style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.children,k=>(e.openBlock(),e.createBlock(Q,e.mergeProps({prop:k.name,label:k.label,key:k.name,ref_for:!0},e.unref(ht.pickBy)(k,Boolean),{formatter:S}),null,16,["prop","label"]))),128)),e.createVNode(Q,{fixed:"right","min-width":"60"},{default:e.withCtx(k=>[N.allowReduce&&!b.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:y=>w(k.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small",plain:""},{icon:e.withCtx(()=>[e.createVNode(e.unref(be),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):e.createCommentVNode("",!0),e.createElementVNode("div",dM,[N.allowAdd&&!o.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:D,type:"primary",class:"list-btn addBtn",disabled:N.disabled,size:"small",plain:""},{icon:e.withCtx(()=>[e.createVNode(e.unref(be),{name:"add"})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(N.title),1)]),_:1},8,["disabled"])):e.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),pM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{},paddingTop:{},paddingBottom:{},paddingLeft:{},paddingRight:{}},setup(n){const A=n,t=e.computed(()=>({display:"grid","grid-template-columns":`repeat(${A.columns}, 1fr)`,"row-gap":(A.rowGap||12)+"px","column-gap":(A.columnGap||12)+"px","align-items":A.alignItems,"padding-top":A.paddingTop+"px","padding-bottom":A.paddingBottom+"px","padding-left":A.paddingLeft+"px","padding-right":A.paddingRight+"px"}));return(i,h)=>(e.openBlock(),e.createElementBlock("div",{class:"form-item-grid",style:e.normalizeStyle(t.value)},[e.createVNode(e.unref(Wt),{list:i.children},null,8,["list"])],4))}})},Symbol.toStringTag,{value:"Module"})),BM=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{},alignItems:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const A=n,t=e.computed(()=>({width:"100%",display:"flex","justify-content":A.align,"align-items":A.alignItems,"flex-wrap":A.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${A.gap||12}px`,...A.style||{}}));return(i,h)=>(e.openBlock(),e.createElementBlock("div",{class:"form-item-inline",style:e.normalizeStyle(t.value)},[e.createVNode(e.unref(Wt),{list:i.children},null,8,["list"])],4))}}),[["__scopeId","data-v-d0b66bc2"]])},Symbol.toStringTag,{value:"Module"})),CM={key:0},mM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.mergeModels({min:{},read:{type:Boolean},precision:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");kt();const t=i=>{["E","e","+","-"].includes(i.key)&&i.preventDefault()};return(i,h)=>{const I=e.resolveComponent("el-input-number");return i.read?(e.openBlock(),e.createElementBlock("span",CM,e.toDisplayString(typeof A.value=="number"?A.value.toFixed(i.precision||0).replace(".",","):"--"),1)):(e.openBlock(),e.createBlock(I,e.mergeProps({key:1},i.$attrs,{modelValue:A.value,"onUpdate:modelValue":h[0]||(h[0]=o=>A.value=o),style:{width:"100%"},min:i.min||0,onKeydown:t}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),EM={key:0},QM={style:{"min-height":"32px"}},IM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Select",props:e.mergeModels({options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean,default:!0}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.computed(()=>A.clearable===null||A.clearable===void 0?!0:!!A.clearable),i=e.useModel(n,"modelValue"),h=kt(),I=e.inject("ruleModule",void 0),o=e.inject("pageMethodMap",{}),b=N=>{const{valueKey:T="value",multiple:$,name:K}=A;let Y={};if($&&Array.isArray(N)?Y=D.value.filter(v=>N.includes(v[T])):Y=D.value.find(v=>v[T]===N)||{},h.selectData&&K&&h.updateSelectData(K,Y),A.onChange&&I)try{I[A.onChange](o,N,Y)}catch(v){console.error(v)}},{currentOptions:D,loading:w}=pr(A),S=e.computed(()=>{var T;if(A.multiple)return D.value.filter(K=>i.value.includes(K[A.valueKey])).map(K=>K[A.labelKey]).join(",");const N=(T=D.value.find($=>$[A.valueKey]===i.value))==null?void 0:T[A.labelKey];return!N||`${N}`.trim().length===0?"--":N});return(N,T)=>{const $=e.resolveComponent("el-option"),K=e.resolveComponent("el-select");return N.read?(e.openBlock(),e.createElementBlock("span",EM,e.toDisplayString(S.value),1)):(e.openBlock(),e.createBlock(K,e.mergeProps({key:1,modelValue:i.value,"onUpdate:modelValue":T[0]||(T[0]=Y=>i.value=Y)},N.$attrs,{onChange:b,multiple:N.multiple,clearable:t.value,filterable:"","fallback-placements":["bottom"],loading:e.unref(w)}),{loading:e.withCtx(()=>T[1]||(T[1]=[e.createElementVNode("svg",{class:"circular",viewBox:"0 0 20 20"},[e.createElementVNode("g",{class:"path2 loading-path","stroke-width":"0",style:{animation:"none",stroke:"none"}},[e.createElementVNode("circle",{r:"3.375",class:"dot1",rx:"0",ry:"0"}),e.createElementVNode("circle",{r:"3.375",class:"dot2",rx:"0",ry:"0"}),e.createElementVNode("circle",{r:"3.375",class:"dot4",rx:"0",ry:"0"}),e.createElementVNode("circle",{r:"3.375",class:"dot3",rx:"0",ry:"0"})])],-1)])),default:e.withCtx(()=>[e.createElementVNode("div",QM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(D),Y=>(e.openBlock(),e.createBlock($,{key:Y[N.valueKey],label:Y[N.labelKey],value:Y[N.valueKey],disabled:Y[N.disabledKey]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(Y[N.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))])]),_:1},16,["modelValue","multiple","clearable","loading"]))}}})},Symbol.toStringTag,{value:"Module"})),fM={key:0},wM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.mergeModels({selectPosition:{default:"append"},selectWidth:{default:70},selectInitialValue:{},read:{type:Boolean},options:{default:()=>[]},parse:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=e.ref(""),h=e.computed({get(){var I;return(I=t.value)==null?void 0:I.replaceAll(i.value,"")},set(I){I?t.value=I+i.value:t.value=I}});return e.watch(i,(I,o)=>{var b;t.value&&(t.value=((b=t.value)==null?void 0:b.replaceAll(o,""))+I)}),e.onMounted(()=>{A.selectInitialValue&&(i.value=A.selectInitialValue)}),(I,o)=>{const b=e.resolveComponent("el-option"),D=e.resolveComponent("el-select"),w=e.resolveComponent("el-input");return I.read?(e.openBlock(),e.createElementBlock("span",fM,e.toDisplayString(h.value||"--"),1)):(e.openBlock(),e.createBlock(w,e.mergeProps({key:1,"show-word-limit":"",autocomplete:"off"},I.$attrs,{modelValue:h.value,"onUpdate:modelValue":o[1]||(o[1]=S=>h.value=S)}),{[I.selectPosition]:e.withCtx(()=>[e.createVNode(D,{modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=S=>i.value=S),style:e.normalizeStyle({width:I.selectWidth+"px"}),placeholder:" "},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.options,S=>(e.openBlock(),e.createBlock(b,{label:S.label,value:S.value,disabled:S.disabled,key:S.value},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","style"])]),_:2},1040,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),bM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.mergeModels({disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=kt(),t=e.useModel(n,"modelValue");return(i,h)=>{const I=e.resolveComponent("el-switch");return e.openBlock(),e.createBlock(I,e.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":h[0]||(h[0]=o=>t.value=o),disabled:e.unref(A).read||i.disabled}),null,16,["modelValue","disabled"])}}})},Symbol.toStringTag,{value:"Module"})),DM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Tag",props:{text:{default:"标签"},type:{default:"primary"}},setup(n){return(A,t)=>{const i=e.resolveComponent("el-tag");return e.openBlock(),e.createBlock(i,e.mergeProps({type:A.type},A.$attrs),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.text),1)]),_:1},16,["type"])}}})},Symbol.toStringTag,{value:"Module"})),yM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:{text:{}},setup(n){return(A,t)=>(e.openBlock(),e.createElementBlock("div",e.normalizeProps(e.guardReactiveProps(A.$attrs)),e.toDisplayString(A.text),17))}})},Symbol.toStringTag,{value:"Module"})),yB=e.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(n){return(A,t)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.type),{class:"Title",style:e.normalizeStyle({fontStyle:A.italic?"italic":"normal"})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.title),1)]),_:1},8,["style"]))}}),vM=Object.freeze(Object.defineProperty({__proto__:null,default:yB},Symbol.toStringTag,{value:"Module"})),kM={key:0,style:{"min-width":"300px"}},_M={class:"el-upload__tip"},MM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.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(n){const A=e.useModel(n,"modelValue"),t=(o,b)=>{console.log(o,b)},i=o=>{console.log(o)},h=(o,b)=>{Tt.ElMessage.warning(`The limit is 3, you selected ${o.length} files this time, add up to ${o.length+b.length} totally`)},I=(o,b)=>Tt.ElMessageBox.confirm(`Cancel the transfer of ${o.name} ?`).then(()=>!0,()=>!1);return(o,b)=>{const D=e.resolveComponent("el-button"),w=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(w,{"file-list":A.value,"onUpdate:fileList":b[0]||(b[0]=S=>A.value=S),action:o.action,multiple:o.multiple,limit:o.limit,drag:o.drag,name:o.name,listType:o.listType,"on-preview":i,"on-remove":t,"before-remove":I,"on-exceed":h},e.createSlots({default:e.withCtx(()=>[o.listType==="text"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.drag?(e.openBlock(),e.createElementBlock("div",kM,[e.createVNode(e.unref(be),{class:"el-icon--upload",name:"upload"}),b[1]||(b[1]=e.createElementVNode("div",{class:"el-upload__text"},[e.createTextVNode(" 拖拽文件到此处上传 "),e.createElementVNode("br"),e.createTextVNode(" 或"),e.createElementVNode("em",null,"点击上传")],-1))])):(e.openBlock(),e.createBlock(D,{key:1,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.btnText),1)]),_:1}))],64)):e.createCommentVNode("",!0),o.listType==="picture-card"?(e.openBlock(),e.createBlock(e.unref(be),{key:1,name:"add"})):e.createCommentVNode("",!0)]),_:2},[o.tip?{name:"tip",fn:e.withCtx(()=>[e.createElementVNode("div",_M,e.toDisplayString(o.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType"])}}})},Symbol.toStringTag,{value:"Module"}));function xM(){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 jt(n,A){return Math.floor(Math.random()*(A-n)+n)}function Is(n,A){const t=jt(n,A),i=jt(n,A),h=jt(n,A);return`rgb(${t},${i},${h})`}class SM{constructor(A,t){Bt(this,"version","1.0.0");Bt(this,"options");Bt(this,"_init",()=>{const A=this.options.element;if(!A)return;const t=document.createElement("canvas");this.options.width=A.offsetWidth>0?A.offsetWidth.toString():"100",this.options.height=A.offsetHeight>0?A.offsetHeight.toString():"30",t.id=this.options.canvasId,t.width=parseInt(this.options.width),t.height=parseInt(this.options.height),t.style.cursor="pointer",t.innerHTML="您的浏览器版本不支持canvas",A.appendChild(t),t.onclick=()=>{this.refresh()}});Bt(this,"refresh",()=>{this.options.code="";const A=document.getElementById(this.options.canvasId);if(!A||!A.getContext)return;const t=A.getContext("2d");t.textBaseline="middle",t.fillStyle=Is(180,240),t.fillRect(0,0,parseInt(this.options.width),parseInt(this.options.height));let i;this.options.type==="blend"?i=[...this.options.numArr,...this.options.letterArr]:this.options.type==="number"?i=this.options.numArr:i=this.options.letterArr;for(let h=1;h<=4;h++){const I=i[jt(0,i.length)];this.options.code+=I,t.font=`${jt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,t.fillStyle=Is(50,160),t.shadowOffsetX=jt(-3,3),t.shadowOffsetY=jt(-3,3),t.shadowBlur=jt(-3,3),t.shadowColor="rgba(0, 0, 0, 0.3)";const o=parseInt(this.options.width)/5*h,b=parseInt(this.options.height)/2,D=jt(-30,30);t.translate(o,b),t.rotate(D*Math.PI/180),t.fillText(I,0,0),t.rotate(-D*Math.PI/180),t.translate(-o,-b)}for(let h=0;h<4;h++)t.strokeStyle=Is(40,180),t.beginPath(),t.moveTo(jt(0,parseInt(this.options.width)),jt(0,parseInt(this.options.height))),t.lineTo(jt(0,parseInt(this.options.width)),jt(0,parseInt(this.options.height))),t.stroke();for(let h=0;h<parseInt(this.options.width)/4;h++)t.fillStyle=Is(0,255),t.beginPath(),t.arc(jt(0,parseInt(this.options.width)),jt(0,parseInt(this.options.height)),1,0,2*Math.PI),t.fill()});Bt(this,"validate",A=>{const t=A.toLowerCase(),i=this.options.code.toLowerCase();return console.log(i),t===i?!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:xM(),...t},A&&(this.options.element=A,this._init(),this.refresh())}}const FM={class:"vfc-verify-code"},NM=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Component",props:e.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=e.ref(null),i=e.ref(null),h=kt(),I=()=>{var b;if(!A.value)return;const o=(b=i.value)==null?void 0:b.validate(A.value);console.log("res",o),o?h.updateVCodePass(!0):h.updateVCodePass(!1)};return e.onMounted(()=>{i.value=new SM(t.value)}),(o,b)=>{const D=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",FM,[e.createVNode(D,{modelValue:A.value,"onUpdate:modelValue":b[0]||(b[0]=w=>A.value=w),class:"verify-input",placeholder:o.placeholder,onBlur:I},null,8,["modelValue","placeholder"]),e.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:t},null,512)])}}}),[["__scopeId","data-v-f5206e68"]])},Symbol.toStringTag,{value:"Module"})),RM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Collapse",props:{children:{}},setup(n){const A=n,t=e.ref([]);return e.onMounted(()=>{t.value=A.children.filter(i=>i.checked).map(i=>i.name)}),e.watch(()=>A.children,()=>{A.children.forEach(i=>{i.children||(i.children=[])})}),(i,h)=>{const I=e.resolveComponent("ElCollapseItem"),o=e.resolveComponent("ElCollapse");return e.openBlock(),e.createBlock(o,e.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":h[0]||(h[0]=b=>t.value=b)}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.children,b=>(e.openBlock(),e.createBlock(I,{key:b.name,name:b.name},{title:e.withCtx(()=>[e.createVNode(yB,{title:b.title,italic:"",type:"h4"},null,8,["title"])]),default:e.withCtx(()=>[e.createVNode(e.unref(Wt),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),LM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Tabs",props:{children:{},defaultKey:{}},setup(n){const A=n,t=e.ref("");return e.watch(()=>A.children,()=>{A.children.forEach(i=>{i.children||(i.children=[])})}),e.onMounted(()=>{A.defaultKey&&(t.value=A.defaultKey)}),(i,h)=>{const I=e.resolveComponent("el-tab-pane"),o=e.resolveComponent("el-tabs");return e.openBlock(),e.createBlock(o,e.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":h[0]||(h[0]=b=>t.value=b)}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.children,b=>(e.openBlock(),e.createBlock(I,e.mergeProps({key:b.name,ref_for:!0},b),{default:e.withCtx(()=>[e.createVNode(e.unref(Wt),{list:b.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),GM={class:"vfc-ObjGroup"},PM={key:1,class:"vfc-ObjGroup-render"},HM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const A=n,t=kt(),i=e.inject("$objGroupBase"),h=i?`${i.value}.${A.name}`:A.name;return e.provide("$objGroupBase",e.ref(h)),(I,o)=>(e.openBlock(),e.createElementBlock("div",GM,[e.unref(t).design?(e.openBlock(),e.createBlock(e.unref(Wc),{key:0,list:I.children},null,8,["list"])):(e.openBlock(),e.createElementBlock("div",PM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.children,b=>(e.openBlock(),e.createBlock(e.unref(io),e.mergeProps({key:b.name,ref_for:!0},b,{name:`${e.unref(h)}.${b.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),KM={key:0},TM={key:0},UM={key:1},YM={key:1,class:"search-select-wrapper"},OM=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"SearchSelect",props:e.mergeModels({onSearch:{},disabled:{type:Boolean},read:{type:Boolean},options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=kt(),h=e.inject("ruleModule",void 0),I=e.inject("pageMethodMap",{}),o=S=>{const{valueKey:N="value",multiple:T,name:$}=A;let K={};if(T&&Array.isArray(S)?K=D.value.filter(Y=>S.includes(Y[N])):K=D.value.find(Y=>Y[N]===S)||{},i.selectData&&$&&i.updateSelectData($,K),A.onChange&&h)try{h[A.onChange](I,S,K)}catch(Y){console.error(Y)}},b=()=>{if(A.onSearch&&h)try{h[A.onSearch](I)}catch(S){console.error(S)}},{currentOptions:D,loading:w}=pr(A);return(S,N)=>{var v;const T=e.resolveComponent("el-option"),$=e.resolveComponent("el-select"),K=e.resolveComponent("el-button"),Y=e.resolveDirective("loading");return S.read?(e.openBlock(),e.createElementBlock("div",KM,[S.multiple?(e.openBlock(),e.createElementBlock("div",TM,e.toDisplayString(t.value&&t.value.map(Q=>{var L;return(L=e.unref(D).find(k=>k[S.valueKey]===Q))==null?void 0:L[S.labelKey]}).join("、")),1)):(e.openBlock(),e.createElementBlock("div",UM,e.toDisplayString(((v=e.unref(D).find(Q=>Q[S.valueKey]===t.value))==null?void 0:v[S.labelKey])||"--"),1))])):(e.openBlock(),e.createElementBlock("div",YM,[e.withDirectives((e.openBlock(),e.createBlock($,e.mergeProps({modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=Q=>t.value=Q)},S.$attrs,{onChange:o,multiple:S.multiple,clearable:"",filterable:"",disabled:S.disabled}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(D),Q=>(e.openBlock(),e.createBlock(T,{key:Q[S.valueKey],label:Q[S.labelKey],value:Q[S.valueKey],disabled:Q[S.disabledKey]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(Q[S.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple","disabled"])),[[Y,e.unref(w)]]),e.createVNode(K,{onClick:b,disabled:S.disabled,class:"search-btn"},{default:e.withCtx(()=>[e.createVNode(e.unref(be),{name:"search"})]),_:1},8,["disabled"])]))}}}),[["__scopeId","data-v-ce5f6b46"]])},Symbol.toStringTag,{value:"Module"})),$M={class:"custom-tree-node"},JM={class:"tree-node-text"},zM={class:"tree-node-label"},ZM={key:0,class:"tree-node-present"},WM=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Component",props:{onNodeClick:{},onLoad:{},btns:{},data:{},props:{},nodeKey:{}},setup(n){const A=n,t=e.inject("ruleModule",void 0),i=e.inject("pageMethodMap",{}),h=e.ref(),I=(S,N)=>{h.value=S[A.nodeKey]},o=(S,N,T)=>{if(S&&t)try{t[S](i,{node:N,data:T})}catch($){console.error($)}},b=(S,N)=>{if(A.onNodeClick&&t)try{t[A.onNodeClick](i,{node:S,data:N})}catch(T){console.error(T)}},D=(S,N,T)=>{if(A.onLoad&&t)try{t[A.onLoad](i,{node:S,resolve:N,reject:T})}catch($){console.error($)}},w=e.ref([]);return e.watch(()=>A.data,()=>{if(!A.data||!Array.isArray(A.data)||A.data.length===0)return;const N=[A.data[0][A.nodeKey]];w.value=N},{immediate:!0}),(S,N)=>{const T=e.resolveComponent("el-tooltip"),$=e.resolveComponent("el-button"),K=e.resolveComponent("el-tree");return e.openBlock(),e.createBlock(K,e.mergeProps(S.$attrs,{onNodeClick:b,load:D,ref:"treeRef",class:"crm-tree",indent:32,"current-node-key":h.value,onCurrentChange:I,"node-key":S.nodeKey,props:A.props,data:S.data,"default-expanded-keys":w.value}),{default:e.withCtx(({node:Y,data:v})=>[e.createElementVNode("div",$M,[e.createElementVNode("div",JM,[e.createElementVNode("span",zM,e.toDisplayString(Y.label),1),v[S.nodeKey]===h.value?(e.openBlock(),e.createElementBlock("div",ZM,"Present")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.btns,Q=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q.key},[e.unref(sn)(Q.hidden,{$node:Y,$data:v})?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($,{key:0,link:"",onClick:e.withModifiers(L=>o(Q.onClick||"",Y,v),["stop"]),disabled:Q.disabled,type:Q.type},{default:e.withCtx(()=>[e.createVNode(T,{class:"box-item",effect:"dark",content:Q.text,placement:"top","popper-class":"low-tsp"},{default:e.withCtx(()=>[Q.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:Q.icon.name,color:Q.icon.color,class:"btn-icon"},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["onClick","disabled","type"]))],64))),128))])])]),_:1},16,["current-node-key","node-key","props","data","default-expanded-keys"])}}}),[["__scopeId","data-v-0b461d58"]])},Symbol.toStringTag,{value:"Module"})),jM=["id"],qM={class:"empty-content"},XM=["title"],VM=["title","onClick"],Ax={key:1,class:"icon-text-wrapper"},ex=["title"],tx=["title"],nx={class:"row-btn-wrapper"},ix=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Table",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},columns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{default:"table"},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},name:{},gridColumns:{}},setup(n,{expose:A}){const t=n,i=e.computed(()=>t.displayType?t.displayType:t.typeSwitch?"card":"table"),h=e.inject("ruleModule",void 0),I=e.inject("ruleMap",void 0),o=e.computed(()=>t.rulePath&&I[t.rulePath]?I[t.rulePath]:h),b=e.inject("pageMethodMap",{}),D=e.inject("getGlobalParams",()=>{}),w=e.inject(jn),S=w?w.translateFn:null,N=e.ref(),T=(pA,iA,CA)=>{W.value[pA]&&(W.value[pA][iA]=CA)},$=(pA,iA)=>{const CA=t.columns.find(j=>j.key===pA);CA&&(CA.hidden=!iA)},K=(pA,iA,CA)=>{try{o.value[pA.onClick](b,iA,CA)}catch(j){console.error(j)}},Y=pA=>{if(t.rowClick)try{o.value[t.rowClick](b,pA)}catch(iA){console.error(iA)}},v=pA=>{if(t.rowDbClick)try{o.value[t.rowDbClick](b,pA)}catch(iA){console.error(iA)}},Q=e.ref([]),L=pA=>{Q.value=pA},k=(pA,iA)=>{if(!t.selectable)return!0;try{return o.value[t.selectable](b,pA,iA)}catch(CA){console.error(CA)}return!0},y=()=>{var pA;(pA=N.value)==null||pA.clearSelection()},m=()=>W.value,p=e.ref(),u=pA=>{if(p.value=pA,!!t.handleCurrentChange)try{o.value[t.handleCurrentChange](b,pA)}catch(iA){console.error(iA)}},s=()=>p.value,g=()=>{var pA;return(pA=N.value)==null?void 0:pA.getSelectionRows()},l=async()=>!0,d=(pA,iA)=>{var j;const CA=(j=t.topBtns)==null?void 0:j.find(sA=>sA.key===pA);CA&&(CA.hidden=iA)},B=(pA,iA)=>{var j;const CA=(j=t.rowBtns)==null?void 0:j.find(sA=>sA.key===pA);CA&&(CA.condition=!iA)},a=e.ref(0),r=pA=>{a.value=pA},C=e.ref({pageNum:1,pageSize:t.defaultPageSize||5}),E=()=>C.value,M=pA=>{let iA=!1;return pA.pageNum!==void 0&&pA.pageNum>-1&&(C.value.pageNum!==pA.pageNum&&(iA=!0),C.value.pageNum=pA.pageNum),pA.pageSize!==void 0&&pA.pageSize>-1&&(C.value.pageSize!==pA.pageSize&&(iA=!0),C.value.pageSize=pA.pageSize),{pagination:C.value,isChange:iA}},x=async pA=>{if(C.value.pageNum=1,C.value.pageSize=pA,!t.sizeChange)return;const iA=Tt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.sizeChange](b,C.value)}catch(CA){console.error(CA)}finally{iA.close()}},P=async pA=>{if(C.value.pageNum=pA,!t.pageChange)return;const iA=Tt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.pageChange](b,C.value)}catch(CA){console.error(CA)}finally{iA.close()}},G=pA=>{var iA;(iA=N.value)==null||iA.setCurrentRow(pA)},J=pA=>{var iA;(iA=N.value)==null||iA.setCurrentRow(W.value[pA])},q=(pA,iA,CA)=>{t.columns.forEach(j=>{j.key===pA&&j[iA]&&(j[iA]=CA)})},W=e.ref([]),z=pA=>{W.value=pA},eA=(pA={})=>{W.value.push(pA)},_=pA=>{pA>=0&&pA<W.value.length&&W.value.splice(pA,1)},V=async()=>{W.value=[...W.value]},H=e.useTemplateRef("rootRef"),AA=e.readonly({...e.toRefs(t),setCellData:T,clearSelection:y,getData:m,getCurrentRow:s,getSelectedRows:g,addRow:eA,deleteRow:_,refresh:V,validate:l,setData:z,selectRow:G,selectRowNum:J,setTotal:r,getPagination:E,setPagination:M,setTopBtnHidden:d,setColVisible:$,setColumn:q,setRowsBtnHidden:B,rootRef:H,type:"table"}),aA=(pA,iA)=>{const CA=S?S(pA.key,iA):iA[pA.key];if(!pA.encrypted||!CA)return CA;const j=`${CA}`;return j.length<=4?"*".repeat(j.length):j.slice(0,-4)+"****"},oA=(pA,iA)=>{if(!(!pA.getIconInfo||!o.value))try{return o.value[pA.getIconInfo](b,iA,pA)}catch(CA){console.error(CA)}},dA=e.computed(()=>!t.rowBtns||t.rowBtns.length===0||!W.value||W.value.length===0?!1:W.value.some(pA=>{var iA;return(iA=t.rowBtns)==null?void 0:iA.some(CA=>CA.condition===void 0||CA.condition===null?!0:sn(CA.condition,{$row:pA,$globalParams:D()}))}));if(e.onMounted(async()=>{if(!t.onMounted||!o.value)return;await e.nextTick();const pA=t.onMounted;try{o.value[pA](b)}catch(iA){console.error(iA)}}),e.onActivated(()=>{if(!t.onActivated||!o.value)return;const pA=t.onActivated;try{o.value[pA](b)}catch(iA){console.error(iA)}}),t.name){const pA=fB(t.name,AA);e.onUnmounted(()=>{pA()})}return A(AA),(pA,iA)=>{const CA=e.resolveComponent("el-table-column"),j=e.resolveComponent("el-tooltip"),sA=e.resolveComponent("el-button"),gA=e.resolveComponent("el-popover"),hA=e.resolveComponent("el-pagination");return pA.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["table-render",{tableBorder:i.value==="table"}]),ref_key:"rootRef",ref:H,id:pA.name},[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Tt.ElTable),{ref_key:"tableRef",ref:N,data:W.value,"highlight-current-row":"","row-key":pA.rowKey,stripe:pA.stripe,"show-overflow-tooltip":"",onRowClick:Y,onRowDblclick:v,onSelectionChange:L,onCurrentChange:u,height:pA.height},{empty:e.withCtx(()=>[e.createElementVNode("div",qM,[e.createVNode(e.unref(be),{name:"tableEmpty",style:{width:56,height:56}}),iA[2]||(iA[2]=e.createElementVNode("div",null,"No data available,please check",-1))])]),default:e.withCtx(()=>[pA.multipleSelection?(e.openBlock(),e.createBlock(CA,{key:0,type:"selection",width:"55",selectable:k})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(pA.columns,O=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:O.key},[O.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(CA,{key:0,prop:O.key,"min-width":O.minWidth,fixed:O.fixed||!1},{header:e.withCtx(()=>[e.createElementVNode("div",{class:"text-ellipsis",title:O.label},e.toDisplayString(O.label),9,XM)]),default:e.withCtx(({row:X,$index:tA})=>{var cA,EA;return[O.type==="link"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["text-ellipsis link-style",{"click-style":O.onClick}]),title:aA(O,X),onClick:_A=>K(O,X,tA)},e.toDisplayString(aA(O,X)),11,VM)):O.type==="iconText"?(e.openBlock(),e.createElementBlock("div",Ax,[e.createVNode(ze,{name:(cA=oA(O,X))==null?void 0:cA.name,color:(EA=oA(O,X))==null?void 0:EA.color},null,8,["name","color"]),e.createElementVNode("span",{class:"text-ellipsis",title:aA(O,X)},e.toDisplayString(aA(O,X)),9,ex)])):(e.openBlock(),e.createElementBlock("div",{key:2,class:"text-ellipsis",title:aA(O,X)},e.toDisplayString(aA(O,X)),9,tx))]}),_:2},1032,["prop","min-width","fixed"]))],64))),128)),dA.value&&pA.rowBtns&&pA.rowBtns.length>0?(e.openBlock(),e.createBlock(CA,{key:1,label:"Action",fixed:"right",align:"left",width:pA.rowBtns.length*34+12>100?pA.rowBtns.length*34+12:100},{default:e.withCtx(({row:O,$index:X})=>[e.createElementVNode("div",nx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(pA.rowBtns,tA=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:tA.key},[tA.component==="Popover"?(e.openBlock(),e.createBlock(gA,{key:0,title:tA.label,trigger:"click","popper-class":"btn-popover",width:"400"},{reference:e.withCtx(()=>[tA.condition===void 0||tA.condition===null||e.unref(sn)(tA.condition,{$row:O,$globalParams:e.unref(D)()})?(e.openBlock(),e.createBlock(sA,{key:0,disabled:tA.disabled,link:"",size:"small",type:tA.type,onClick:e.withModifiers(cA=>K(tA,O,X),["stop"])},{default:e.withCtx(()=>[e.createVNode(j,{class:"box-item",effect:"dark",content:tA.label,placement:"top","popper-class":"low-tsp"},{default:e.withCtx(()=>[tA.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:tA.icon.name,color:tA.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(Wt),{list:tA.children},null,8,["list"])])]),_:2},1032,["title"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[tA.condition===void 0||tA.condition===null||e.unref(sn)(tA.condition,{$row:O,$globalParams:e.unref(D)()})?(e.openBlock(),e.createBlock(sA,{key:0,disabled:tA.disabled,link:"",size:"small",type:tA.type,onClick:e.withModifiers(cA=>K(tA,O,X),["stop"])},{default:e.withCtx(()=>[e.createVNode(j,{class:"box-item",effect:"dark",content:tA.label,placement:"top","popper-class":"low-tsp"},{default:e.withCtx(()=>[tA.icon?(e.openBlock(),e.createBlock(ze,{key:0,name:tA.icon.name,color:tA.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)],64))],64))),128))])]),_:1},8,["width"])):e.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[e.vShow,i.value==="table"]]),e.withDirectives(e.createVNode(tc,e.mergeProps({data:W.value},t,{getColText:aA}),null,16,["data"]),[[e.vShow,i.value==="card"]]),e.createElementVNode("div",{class:e.normalizeClass(["pagination-wrapper",{hidePagination:(pA.hiddenPagination||W.value.length===0)&&!pA.height,transparentPagination:(pA.hiddenPagination||W.value.length===0)&&pA.height,cardlistPadding:i.value==="card"}])},[e.createVNode(hA,{layout:pA.paginationLayout||"total,sizes, prev, pager, next,jumper",total:a.value,"page-sizes":pA.pageSizes||[5,10,20,30,40],"default-page-size":pA.defaultPageSize,"current-page":C.value.pageNum,"onUpdate:currentPage":iA[0]||(iA[0]=O=>C.value.pageNum=O),"page-size":C.value.pageSize,"onUpdate:pageSize":iA[1]||(iA[1]=O=>C.value.pageSize=O),"pager-count":Number(pA.pagerCount)||5,onSizeChange:x,onCurrentChange:P},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],10,jM))}}}),[["__scopeId","data-v-80bbe04a"]])},Symbol.toStringTag,{value:"Module"})),ox=["id"],rx={class:"left-part"},ax={class:"title"},sx={class:"right-part"},lx={key:0,class:"switch-panel"},cx={key:2},gx=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"CurdCard",props:{name:{},children:{},defaultCollapse:{type:Boolean},collapsible:{type:Boolean},onCollapsed:{},typeSwitch:{type:Boolean},title:{},btns:{},type:{},mainIcon:{},extraIcons:{},displayType:{},radioList:{},onRadioChange:{},radioDefault:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const A=e.inject("ruleModule",void 0),t=e.inject("pageMethodMap",{}),i=n,h=e.ref(i.radioDefault??"2"),I=T=>{if(T&&A)try{A[T](t)}catch($){console.error($)}},o=T=>{i.onRadioChange&&A&&A[i.onRadioChange](t,T)},b=()=>{D.value=!D.value,i.onCollapsed&&A&&A[i.onCollapsed](t,D.value)},D=e.ref(i.defaultCollapse??!1),w=e.ref(i.displayType||(i.typeSwitch?"card":"table")),S=kt(),N=T=>{w.value=T;const $=zi(S.schema.items,i.name),K=Y=>{Y.forEach(v=>{v.component==="Table"&&v.props&&(v.props.displayType=T),v.children&&v.children.length>0&&K(v.children)})};$&&$.children&&K($.children)};return N(w.value),(T,$)=>{const K=e.resolveComponent("el-radio"),Y=e.resolveComponent("el-radio-group"),v=e.resolveComponent("el-tooltip"),Q=e.resolveComponent("el-collapse-transition");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["crm-curd-card",{gridItem:T.type==="gridItem"}]),style:e.normalizeStyle(T.style),id:T.name},[e.createElementVNode("div",{class:e.normalizeClass(["card-header",{inline:T.type==="inline",mix:T.type==="mix",default:T.type==="default",gridItem:T.type==="gridItem",collapsedPadding:D.value&&T.onCollapsed}])},[e.createElementVNode("div",rx,[T.mainIcon?(e.openBlock(),e.createBlock(ze,{key:0,class:"title-icon",size:"large",name:T.mainIcon.name,color:T.mainIcon.color},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",ax,e.toDisplayString(T.title),1),T.radioList?(e.openBlock(),e.createBlock(Y,{key:1,class:"ml-9",modelValue:h.value,"onUpdate:modelValue":$[0]||($[0]=L=>h.value=L),onChange:$[1]||($[1]=L=>o(h.value))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.radioList,L=>(e.openBlock(),e.createBlock(K,{value:L.value,key:L.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.extraIcons,L=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:L.name},[L.tips?(e.openBlock(),e.createBlock(v,{key:0,content:L.tips,placement:"right"},{default:e.withCtx(()=>[e.createVNode(ze,{class:"extra-icon",name:L.name,color:L.color,onClick:k=>I(L.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock(ze,{key:1,class:"extra-icon",name:L.name,color:L.color,onClick:k=>I(L.onClick)},null,8,["name","color","onClick"]))],64))),128))]),e.createElementVNode("div",sx,[T.typeSwitch?(e.openBlock(),e.createElementBlock("div",lx,[e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:w.value==="card"}]),onClick:$[2]||($[2]=L=>N("card"))},[e.createVNode(ze,{name:"icon-kapian"})],2),e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:w.value==="table"}]),onClick:$[3]||($[3]=L=>N("table"))},[e.createVNode(ze,{name:"icon-biaoge"})],2)])):e.createCommentVNode("",!0),T.collapsible?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["collapse-icon-wrapper",{collapsed:D.value}]),onClick:b},[e.createVNode(ze,{name:"icon-shaixuan"})],2)):e.createCommentVNode("",!0),T.btns&&T.btns.length>0?(e.openBlock(),e.createElementBlock("div",cx,[e.createVNode(e.unref(so),{btns:T.btns||[]},null,8,["btns"])])):e.createCommentVNode("",!0)])],2),T.onCollapsed?(e.openBlock(),e.createBlock(e.unref(Wt),{key:1,list:T.children},null,8,["list"])):(e.openBlock(),e.createBlock(Q,{key:0},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Wt),{list:T.children},null,8,["list"])],512),[[e.vShow,!D.value]])]),_:1}))],14,ox)}}}),[["__scopeId","data-v-66fd6437"]])},Symbol.toStringTag,{value:"Module"})),ux={key:0,class:"dropdown-icon-wrapper"},dx={key:1,class:"expansion-icon-wrapper"},hx=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Wrapper",props:{children:{},style:{type:[Boolean,null,String,Object,Array]},innerStyle:{type:[Boolean,null,String,Object,Array]},type:{},collapse:{type:Boolean},dropdown:{type:Boolean},expansion:{type:Boolean},onDropdownChange:{},onExpand:{}},setup(n){const A=n,{ruleModule:t,pageMethodMap:i}=ig(),h=e.ref(!1),I=()=>{if(A.onDropdownChange){h.value=!h.value;try{t[A.onDropdownChange](i,h.value)}catch(D){console.error(D)}}},o=e.ref(!1),b=()=>{if(A.onExpand){o.value=!o.value;try{t[A.onExpand](i,o.value)}catch(D){console.error(D)}}};return(D,w)=>{const S=e.resolveComponent("el-collapse-transition");return e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(D.style)},[e.createVNode(S,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass({normal:D.type==="normal",onlytable:D.type==="onlytable",dropdownChildren:D.type==="dropdown-children",expansionWrapper:D.expansion}),style:e.normalizeStyle(D.innerStyle)},[e.createVNode(e.unref(Wt),{list:D.children},null,8,["list"]),D.dropdown?(e.openBlock(),e.createElementBlock("div",ux,[e.createVNode(ze,{name:"icon-xialaliebiao",color:"#666666",onClick:I,class:e.normalizeClass({reversed:h.value})},null,8,["class"])])):e.createCommentVNode("",!0),D.expansion?(e.openBlock(),e.createElementBlock("div",dx,[e.createVNode(ze,{name:"icon-shuangxiangjiantou",color:o.value?"#18AAF8":"#666666",onClick:b},null,8,["color"])])):e.createCommentVNode("",!0)],6),[[e.vShow,!D.collapse]])]),_:1})],4)}}}),[["__scopeId","data-v-e7c4ee60"]])},Symbol.toStringTag,{value:"Module"})),px={class:"content"},Bx={class:"product-list"},Cx={class:"attribute-list"},mx={key:0,class:"attribute-list-item"},Ex={class:"product-title attribute-title"},Qx={class:"attribute-item-list"},Ix={class:"attribute-label"},fx={class:"attribute-value"},wx=e.defineComponent({__name:"OfferDetailItem",props:{data:{},btns:{},index:{}},setup(n){return(A,t)=>{const i=e.resolveComponent("el-popover");return e.openBlock(),e.createBlock(i,{"popper-class":"offer-detail",placement:"right"},{reference:e.withCtx(()=>[e.createVNode(Pd,{data:A.data,btns:A.btns,index:A.index},null,8,["data","btns","index"])]),default:e.withCtx(()=>[e.createElementVNode("div",px,[t[0]||(t[0]=e.createElementVNode("div",{class:"product-title"},"Product",-1)),e.createElementVNode("div",Bx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.data.product,h=>(e.openBlock(),e.createElementBlock("div",{class:"product-item",key:h.label},e.toDisplayString(h.label),1))),128))]),e.createElementVNode("div",Cx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.data.product,h=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:h.label},[h.children.length>0?(e.openBlock(),e.createElementBlock("div",mx,[e.createElementVNode("div",Ex,e.toDisplayString(h.label),1),e.createElementVNode("div",Qx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.children,I=>(e.openBlock(),e.createElementBlock("div",{class:"attribute-item",key:I.label},[e.createElementVNode("div",Ix,e.toDisplayString(I.label),1),e.createElementVNode("div",fx,e.toDisplayString(I.value||"--"),1)]))),128))])])):e.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),bx={key:0,class:"empty-content"},Dx=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"OfferDetails",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){var N,T;const A=n,t=e.ref(),i=e.ref([]),h=(N=A.columns.find($=>$.position==="title"))==null?void 0:N.key,I=(T=A.columns.find($=>$.position==="subTitle"))==null?void 0:T.key,o=A.columns.find($=>$.position==="footer"),b=$=>{const K=[];return $.children&&$.children.length>0&&$.children.forEach(Y=>{const v={label:Y.PRODUCT_ITEM_NAME,children:[]};Y.children&&Y.children.length>0&&Y.children.forEach(Q=>{v.children.push({label:Q.PRODUCT_ITEM_NAME,value:Q.ACTION})}),K.push(v)}),K};function D($){const K={},Y=[];return $.forEach(v=>{K[v.PRODUCT_ITEM_ID]={...v,children:[]}}),$.forEach(v=>{const Q=K[v.PRODUCT_ITEM_ID],L=v.PARENT_PRODUCT_ITEM_ID;L===0||!K[L]?Y.push(Q):K[L].children.push(Q)}),Y}const w=e.inject(jn),S=w?w.translateFn:null;return e.watchEffect(()=>{if(A.data){const $=D(A.data);t.value=$.map(K=>{const Y={content:[]};return h&&(Y.title=S?S(h,K):K[h],Y.titleColor="#18AAF8"),I&&(Y.subTitle=S?S(I,K):K[I]),o&&(Y.footer={icon:o.footerIcon||"icon-tishi",text:`${o.label}: ${S?S(o.key,K):K[o.key]}`}),K.children&&(Y.product=b(K)),A.columns.forEach(v=>{v.position==="content"&&Y.content.push({label:v.label,value:S?S(v.key,K):K[v.key]})}),Y})}}),e.onMounted(()=>{var $;i.value=($=A.rowBtns)==null?void 0:$.map(K=>({icon:K.icon&&K.icon.name?K.icon.name:"icon-tishi",label:K.label,onClick:K.onClick}))}),($,K)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"card-list",style:e.normalizeStyle({"--columns":$.gridColumns,"--gap":$.gap+"px"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,(Y,v)=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item",key:v},[e.createVNode(wx,{data:Y,btns:i.value,index:v},null,8,["data","btns","index"])]))),128))],4),!$.data||$.data.length===0?(e.openBlock(),e.createElementBlock("div",bx,[e.createVNode(e.unref(be),{name:"tableEmpty",style:{width:56,height:56}}),K[0]||(K[0]=e.createElementVNode("div",null,"No data available,please check",-1))])):e.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-98057b14"]])},Symbol.toStringTag,{value:"Module"})),yx={class:"progress"},vx={class:"timeline-content"},kx={class:"timeline-content__title"},_x={key:0,class:"empty-content"},Mx=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"Progress",props:{data:{}},setup(n){return(A,t)=>{const i=e.resolveComponent("el-timeline-item"),h=e.resolveComponent("el-timeline");return e.openBlock(),e.createElementBlock("div",yx,[e.createVNode(h,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.data,(I,o)=>(e.openBlock(),e.createBlock(i,{key:o,size:"large"},{dot:e.withCtx(()=>[e.createVNode(ze,{name:I.iconName,size:"large"},null,8,["name"])]),default:e.withCtx(()=>[e.createElementVNode("div",vx,[e.createElementVNode("div",kx,[e.createElementVNode("span",null,e.toDisplayString(I.title),1),e.createElementVNode("span",null,e.toDisplayString(I.timestamp),1)]),e.createTextVNode(" "+e.toDisplayString(I.content),1)])]),_:2},1024))),128))]),_:1}),!A.data||A.data.length===0?(e.openBlock(),e.createElementBlock("div",_x,[e.createVNode(e.unref(be),{name:"tableEmpty",style:{width:56,height:56}}),t[0]||(t[0]=e.createElementVNode("div",null,"No data available,please check",-1))])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-6b11ed96"]])},Symbol.toStringTag,{value:"Module"})),xx={class:"log-list"},Sx={class:"title-part"},Fx={class:"title"},Nx={class:"sub-title"},Rx={class:"content"},Lx={key:0},Gx=Object.freeze(Object.defineProperty({__proto__:null,default:ge(e.defineComponent({__name:"LogList",props:{content:{}},setup(n){return(A,t)=>(e.openBlock(),e.createElementBlock("div",xx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.content,i=>{var h;return e.openBlock(),e.createElementBlock("div",{class:"log-list-item",key:i.id},[e.createElementVNode("div",{class:"left-bar",style:e.normalizeStyle({backgroundColor:i.color})},null,4),e.createElementVNode("div",Sx,[e.createElementVNode("div",{class:"circle",style:e.normalizeStyle({backgroundColor:i.color})},e.toDisplayString((h=i.title)==null?void 0:h[0]),5),e.createElementVNode("div",Fx,e.toDisplayString(i.title),1),e.createElementVNode("div",Nx,e.toDisplayString(i.subTitle),1)]),e.createElementVNode("div",Rx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.content,(I,o)=>(e.openBlock(),e.createElementBlock("span",{key:o,class:e.normalizeClass({bold:I.style==="bold",normal:I.style==="normal"})},[e.createTextVNode(e.toDisplayString(I.text),1),o!==i.content.length-1?(e.openBlock(),e.createElementBlock("span",Lx," ")):e.createCommentVNode("",!0)],2))),128))])])}),128))]))}}),[["__scopeId","data-v-fe451915"]])},Symbol.toStringTag,{value:"Module"}));wt.$options=jn,wt.FormDesign=wB,wt.FormRender=fn,wt.PageRender=rg,wt.TableRender=og,wt.default=_8,wt.useFormInstance=kt,wt.useRuleContext=ig,Object.defineProperties(wt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});