asiaint-lowcode 3.1.11 → 3.1.12
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.
- package/README.md +31 -31
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +4 -4
- package/dist/index.d.ts +5 -7
- package/dist/lazy/{Card-DddN4E5b.js → Card-DqF5ydvP.js} +2 -2
- package/dist/lazy/{Cascader-T5hpcc8k.js → Cascader-w2aXlzy4.js} +1 -1
- package/dist/lazy/{Checkbox-CeSqY5bJ.js → Checkbox-BLgBYIxM.js} +2 -2
- package/dist/lazy/{Collapse-B2kdCZag.js → Collapse-BsgI2UtE.js} +1 -1
- package/dist/lazy/{Component-Dz3dlbfS.js → Component-4k5371qV.js} +8 -8
- package/dist/lazy/{Component-Dtf1g_1t.js → Component-B9DtiqZr.js} +2 -2
- package/dist/lazy/{Component-DOZ5voTY.js → Component-CWeTtaB6.js} +1 -1
- package/dist/lazy/{Component-B2WLVum9.js → Component-D7U_ddrO.js} +1 -1
- package/dist/lazy/{Component-CJD4Vdw1.js → Component-OQos0Yv2.js} +1 -1
- package/dist/lazy/{Component-CbdyqmFB.js → Component-yeX4uCg6.js} +2 -2
- package/dist/lazy/{CurdCard-C40vLAVd.js → CurdCard-BA2u27QX.js} +8 -8
- package/dist/lazy/{Custom-CFR7dysF.js → Custom-CddcUJqG.js} +7 -7
- package/dist/lazy/{DatePicker-Do81eNYq.js → DatePicker-Bh2ncgnR.js} +1 -1
- package/dist/lazy/{DragList-BoDSWhvz.js → DragList-FMLI8ayI.js} +2 -2
- package/dist/lazy/{FormList-BL-GfX_u.js → FormList-vriDIR3X.js} +1 -1
- package/dist/lazy/{Grid-DhqbZ2BC.js → Grid-Co2VGKrE.js} +1 -1
- package/dist/lazy/{Inline-CV6FC9TD.js → Inline-D01blxhI.js} +3 -3
- package/dist/lazy/{JsonEdit-BqcsAu1j.js → JsonEdit-YwhmpMqH.js} +3 -3
- package/dist/lazy/{LogList-CICkvuYl.js → LogList-BTLxsIJ-.js} +7 -7
- package/dist/lazy/{ObjGroup-CIGn_qSU.js → ObjGroup-FqsyEwUa.js} +1 -1
- package/dist/lazy/{OfferDetails-Df5twhTM.js → OfferDetails-BCTGsUQk.js} +10 -10
- package/dist/lazy/{Pagination-CdPSjxIi.js → Pagination-BWBZLOhR.js} +7 -7
- package/dist/lazy/{Progress-CWckUvQJ.js → Progress-D8PlrDKW.js} +5 -5
- package/dist/lazy/{Radio-CftD02pX.js → Radio-CTyS3Wce.js} +3 -3
- package/dist/lazy/{SearchSelect-C3tK6VuI.js → SearchSelect-DBQUxcua.js} +11 -11
- package/dist/lazy/{Select-CQZLVAWM.js → Select-NMkk0tzQ.js} +2 -2
- package/dist/lazy/{Table-DeD8BnXj.js → Table-CsUKP83I.js} +2 -2
- package/dist/lazy/{Tabs-B3j9nO6H.js → Tabs-fxGLIjAK.js} +1 -1
- package/dist/lazy/{Wrapper-CI9_5t_3.js → Wrapper-Cn4baHVS.js} +15 -15
- package/dist/lazy/{index-DjyiIwKi.js → index-DLT-0b2b.js} +67 -62
- package/dist/lazy/{useSelect-BtBnWkjy.js → useSelect-Cg5sYMeF.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- 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
|
`+l:y=u+l),v.print_newline(!1),y&&(Q.text=y,Q.whitespace_before="",Q.newlines=0,v.add_raw_token(Q),v.print_newline(!0))}},P.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 B=0,u;do u=y.peek(B),u.type===i.ATTRIBUTE&&(m.attr_count+=1),B+=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 Y=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)))}};P.prototype._get_tag_open_token=function(v){var Q=new Y(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},P.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 B=!1;B=L.start_tag_token&&L.start_tag_token.multiline_content,B=B||!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)&&(B=!1),B&&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)},P.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"],U=["a","audio","del","ins","map","noscript","video"];return P.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||U.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}},Vl.Beautifier=P,Vl}var _d;function vE(){if(_d)return Ma.exports;_d=1;var n=yE().Beautifier,A=Dd().Options;function t(i,h,I,o){var b=new n(i,h,I,o);return b.beautify()}return Ma.exports=t,Ma.exports.defaultOptions=function(){return new A},Ma.exports}var Md;function kE(){if(Md)return hr;Md=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,hr.js=n,hr.css=A,hr.html=i,hr}(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)})(Ad);var _E=Ad.exports,ME=EE(_E),xd=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=ur(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(ur);if(t.length===0)return[];var i=Pu([],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 Si("DOMWrapper");var i=t.refs[A.ref];return Array.isArray(i)&&(i=i.length?i[0]:void 0),i instanceof Node?dr(i):Si("DOMWrapper")}var h=this.findAll(A);return h.length>0?h[0]:Si("DOMWrapper")},n.prototype.findComponent=function(A){var t=this.getCurrentComponent();if(!t)return Si("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)?Rl(null,i):Si("VueWrapper")}if(qu(t.vnode,A)&&this.element.contains(t.vnode.el))return Rl(null,t.subTree.component?t.subTree.component.proxy:t.proxy);var h=this.findAllComponents(A)[0];return h??Si("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?Rl(null,h.proxy):dr(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=ur(this.element)?Array.from(this.element.classList):[];return A?t.includes(A):t},n.prototype.attributes=function(A){var t={};if(ur(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 ur(this.element)&&Xu(this.element)},n.prototype.trigger=function(A,t){return Sl(this,void 0,void 0,function(){var i;return Fl(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){Gu(A,n);function A(t){var i=this;return t?(i=n.call(this,t)||this,Ku.plugins.DOMWrapper.extend(i),i):Si("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:Si("DOMWrapper"):i},A.prototype.findAll=function(t){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(t),dr):[]},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 Sl(this,arguments,void 0,function(t){var i,h;return t===void 0&&(t=!0),Fl(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}(xd);Vu(Mo.DOMWrapper,function(n){return new xE(n)});function Sa(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var A=n.component.subTree;return Sa(A)}else{if(n.shapeFlag&128)return Sa(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 Sa(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){Gu(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(),Ku.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 Sa(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(dr)},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(F){return F instanceof Element});if(h.length===1)for(var I=h[0],o=function(F){if(i.includes(F))return"continue";var P=function(){for(var Y=[],K=0;K<arguments.length;K++)Y[K]=arguments[K];FE(t.$,F,Y)};I.addEventListener(F,P),b.cleanUpCallbacks.push(function(){I.removeEventListener(F,P)})},b=this,D=0,w=Object.keys(Uu);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=dr(this.element);return t.isVisible()},A.prototype.setData=function(t){return Tu(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}(xd);Vu(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 Sl(n,void 0,void 0,function(){return Fl(this,function(I){return[2]})})}});return this.custom?h:e.h("a",void 0,h)}}),typeof setImmediate=="function"&&setImmediate;const jn=Symbol(),Sd=Symbol(),Fd=Symbol(),Nd={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"}}}},Fa=[{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}`,ec=(n,A)=>n.reduce((t,i)=>{if(i.designKey===A)return i;if(i.children){const h=ec(i.children,A);if(h)return h}return t},null),Rd=(n,A)=>n.map(t=>t.designKey===A.designKey?A:t.children?{...t,children:Rd(t.children,A)}:t),Ld=n=>n.map(A=>{const t={...ut.cloneDeep(A),designKey:`form-${Mi(4)}`,name:Mi(8)};return A.children&&(t.children=Ld(A.children)),t}),Gd=(n,A)=>n.reduce((t,i)=>{var h;if(i.children?t.push({...i,children:Gd(i.children,A)}):t.push(i),i.designKey===A){const I={...ut.cloneDeep(i),designKey:`form-${Mi(4)}`,name:`${i.name}-${Mi(2)}`};i.children&&(I.children=Ld(i.children)),i.label&&!((h=I.label)!=null&&h.includes("copy"))&&(I.label=I.label+" copy"),t.push(I)}return t},[]),Pd=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=Pd(A.children)),t}),yt=()=>{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(Sd,n)},KE=()=>{const{fetchOptionsFn:n}=e.inject(jn);return n},Br=n=>{const A=yt(),t=KE(),i=e.ref([]),h=e.ref(!1);let I=0;const o=ut.debounce(async()=>{if(!t||!n.apiParams||Object.values(n.apiParams).some(F=>F===void 0))return;h.value=!0;const S=++I;try{const F=await t({formItemProps:e.toRaw(n),formSchema:e.toRaw(A.schema)});if(S!==I)return;const P=n.defaultOptions||[];if(i.value=[...P,...F],n.filters&&(i.value=i.value.filter(Y=>Array.isArray(n.filters)?!n.filters.includes(Y[n.valueKey||"value"]):!0)),n.name){const Y=xi(A.schema.items,n.name);Y&&Y.props&&(Y.props.options=i.value)}if(n.refreshFlag&&i.value.length>=1){A.updateFormValues({[`${n.name}`]:i.value[0][n.valueKey||"value"]},!0);const Y=xi(A.schema.items,n.name);Y&&Y.props&&(Y.props.refreshFlag=!1)}}finally{h.value=!1}},300);e.onMounted(()=>{const{mode:S,options:F=[]}=n;S==="static"&&(i.value=F),S==="remote"&&o()}),e.watch(()=>n.apiParams,(S,F)=>{ut.isEqual(S,F)||(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],(F,P)=>{o()});return{selectChange:S=>{const{valueKey:F="value",multiple:P,name:Y}=n;let K={};P&&Array.isArray(S)?K=i.value.filter(U=>S.includes(U[F])):K=i.value.find(U=>U[F]===S)||{},A.selectData&&Y&&A.updateSelectData(Y,K)},currentOptions:i,loading:h,fetchData:o}};function tc(){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=tc();return e.computed(()=>Nd[(n==null?void 0:n.value)||"en"])}const le=(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:le(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:le($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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(_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:le(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:le(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:le(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:le($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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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=e.defineComponent({__name:"Input",props:e.mergeModels({onChange:{},onInput:{},onEnter:{},rulePath:{},read:{type:Boolean},readTextColor:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=yt(),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=Y=>{const K=["E","e","+","-"];D.type==="number"&&K.includes(Y.key)&&Y.preventDefault()},S=Y=>{if(I.onInput&&o)try{o[I.onInput](b,Y)}catch(K){console.error(K)}},F=Y=>{if(I.onEnter&&o)try{o[I.onEnter](b,Y)}catch(K){console.error(K)}},P=Y=>{if(I.onChange&&o)try{o[I.onChange](b,Y)}catch(K){console.error(K)}};return(Y,K)=>{const U=e.resolveComponent("el-input");return Y.read||t.value?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({color:Y.readTextColor})},e.toDisplayString(i.value||"--"),5)):(e.openBlock(),e.createBlock(U,e.mergeProps({key:1},Y.$attrs,{class:`el-input--${Y.$attrs.styleType} el-input`,modelValue:i.value,"onUpdate:modelValue":K[0]||(K[0]=v=>i.value=v),onInput:S,onChange:P,onKeydown:w,onKeyup:e.withKeys(F,["enter"]),onBlur:h}),null,16,["class","modelValue"]))}}}),h0={title:"单行文本",component:"Input",icon:e.h(be,{name:"input"}),type:"basic",order:1,attrSchema:u0,render:d0},p0={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}]},B0={title:"多行文本",component:"TextArea",icon:e.h(be,{name:"textarea"}),type:"basic",order:2,attrSchema:p0,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>M8))},C0={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"}]},m0=["xlink:href"],Ke=le(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","x-small":i.size==="x-small","ultra-large":i.size==="ultra-large"}]),"aria-hidden":"true",style:e.normalizeStyle(t.value)},[e.createElementVNode("use",{"xlink:href":`#${i.name}`},null,8,m0)],6))}}),[["__scopeId","data-v-90b18dd2"]]),E0=["onClick"],Q0={key:1,class:"bold-style"},I0=le(e.defineComponent({__name:"Alert",props:{description:{},values:{},type:{},icon:{}},setup(n){const A=n,{ruleModule:t,pageMethodMap:i}=Jo(),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(Ke,{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,F)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:F},[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:P=>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,E0)):(e.openBlock(),e.createElementBlock("span",Q0,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-4f19847e"]]),f0={title:"提示框",component:"Alert",icon:e.h(be,{name:"alert"}),type:"assist",order:2,attrSchema:C0,render:I0},w0={title:"卡片",component:"Card",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>N8)),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"}]}},b0={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"}]}]},D0={title:"级联选择器",icon:e.h(be,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:b0,order:7,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>R8))},y0={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}]},v0={title:"JSON编辑",component:"JsonEdit",icon:e.h(be,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:y0,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>U8))},k0={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"},...Fa]},_0={title:"多选框组",icon:e.h(be,{name:"checkbox"}),type:"basic",component:"Checkbox",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>O8)),order:4,attrSchema:k0},M0={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"}]},x0={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:e.h(be,{name:"colorPicker"}),type:"basic",order:9,attrSchema:M0},S0={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"}]},F0={title:"颜色输入框",component:"ColorInput",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>J8)),icon:e.h(be,{name:"colorPicker"}),type:"high",order:2,attrSchema:S0},N0={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"}]},R0={title:"自定义组件",component:"Custom",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Z8)),icon:e.h(be,{name:"custom"}),type:"high",order:99,attrSchema:N0},L0={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"}]}}]},G0={title:"日期选择器",component:"DatePicker",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>j8)),icon:e.h(be,{name:"datePicker"}),type:"basic",order:9,attrSchema:L0},P0={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"}]},H0={title:"分割线",component:"Divider",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>q8)),icon:e.h(be,{name:"divider"}),type:"assist",order:6,attrSchema:P0},K0={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"}]},T0={title:"电子签名",component:"Esign",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>oM)),icon:e.h(be,{name:"esign"}),type:"basic",order:11,attrSchema:K0},U0={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"},...Fa]},Y0={title:"单选框组",icon:e.h(be,{name:"radio"}),type:"basic",component:"Radio",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>aM)),order:3.5,attrSchema:U0},O0={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"}]},$0={title:"自增容器",component:"FormList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>dM)),icon:e.h(be,{name:"formList"}),type:"high",order:20,attrSchema:O0},J0={title:"栅格布局",type:"layout",icon:e.h(be,{name:"grid"}),component:"Grid",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>hM)),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(()=>pM)),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"}]}},Z0={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"}]},W0={title:"计数器",icon:e.h(be,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>CM)),attrSchema:Z0},j0={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"}]},q0={key:0},X0={title:"密码输入框",component:"Password",render:e.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=yt();return(i,h)=>{var o;const I=e.resolveComponent("el-input");return e.unref(t).read?(e.openBlock(),e.createElementBlock("span",q0,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:j0},V0={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"},...Fa]},Ab={title:"下拉选择框",type:"basic",icon:e.h(be,{name:"select"}),component:"Select",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>EM)),order:3,attrSchema:V0},eb={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"}]},tb={title:"评分",component:"Rate",render:"ElRate",icon:e.h(be,{name:"rate"}),type:"basic",order:12,attrSchema:eb},nb={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"}}]},ib={title:"选择+输入",component:"SelectInput",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>IM)),icon:e.h(be,{name:"input"}),type:"high",order:1,attrSchema:nb},ob={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}]}},rb={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}]}}]},ab={title:"开关",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>fM)),component:"Switch",icon:e.h(be,{name:"switch"}),type:"basic",order:8,attrSchema:rb},sb={title:"标签",component:"Tag",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>wM)),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"}]}}]}},lb={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"}]},cb={title:"文本",component:"Text",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>bM)),icon:e.h(be,{name:"text"}),type:"assist",order:1,attrSchema:lb},gb={title:"标题",component:"Title",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>DM)),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"}]}},ub={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"}]}}]},db={title:"上传",component:"Upload",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>kM)),icon:e.h(be,{name:"upload"}),type:"basic",order:10,attrSchema:ub},hb={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"}]},pb={title:"图形验证码",component:"VerifyCode",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>SM)),icon:e.h(be,{name:"verifyCode"}),type:"high",order:18,attrSchema:hb},Bb={title:"折叠面板",component:"Collapse",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>FM)),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"}]}},Cb={title:"选项卡",component:"Tabs",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>NM)),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"}]}},mb={title:"对象容器",icon:e.h(be,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>GM)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},Eb={},Qb={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 Ib(n,A){return e.openBlock(),e.createElementBlock("svg",Qb,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 fb=le(Eb,[["render",Ib]]),wb={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"}}]},bb={key:0},Db={title:"穿梭框",component:"Transfer",render:e.defineComponent({__name:"Transfer",props:e.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=yt(),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",bb,e.toDisplayString((D=i.value)==null?void 0:D.map(w=>{var S;return(S=I.data.find(F=>F.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:fb,type:"basic",order:12,attrSchema:wb},yb={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"}]},vb=le(e.defineComponent({__name:"SearchInput",props:e.mergeModels({onInput:{},onSearch:{},onClear:{},disabled:{type:Boolean},read:{type:Boolean},readTextColor:{}},{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"),F=e.resolveComponent("el-input");return D.read?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({color:D.readTextColor})},e.toDisplayString(A.value||"--"),5)):(e.openBlock(),e.createBlock(F,e.mergeProps({key:1},D.$attrs,{modelValue:A.value,"onUpdate:modelValue":w[0]||(w[0]=P=>A.value=P),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-5f019490"]]),kb={title:"搜索输入",component:"SearchInput",icon:e.h(be,{name:"search"}),type:"high",order:5,attrSchema:yb,render:vb},_b={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"},...Fa]},Mb={title:"选择+搜索",type:"high",icon:e.h(be,{name:"searchSelect"}),component:"SearchSelect",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>UM)),order:3,attrSchema:_b},xb={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"}]},Sb=le(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(Ke,{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(Ke,{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"]]),Fb={title:"按钮",component:"Button",icon:e.h(be,{name:"button"}),type:"assist",order:1,attrSchema:xb,render:Sb},Nb={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"}]},Rb={title:"树",component:"Tree",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>zM)),icon:e.h(be,{name:"tree"}),type:"assist",order:7,attrSchema:Nb},Lb={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"}]},Gb={title:"表格",component:"Table",icon:e.h(be,{name:"library"}),type:"assist",order:8,attrSchema:Lb,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>tx))},Pb={title:"curd模版卡片",component:"CurdCard",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>cx)),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"}]}}]}},Hb={title:"普通div容器",component:"Wrapper",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>dx)),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"}]}},Kb={class:"card-list-item"},Tb={class:"card-list-item-header"},Ub={class:"card-list-item-header-title"},Yb={style:{display:"ruby"}},Ob=["title"],$b=["title"],Jb={key:0,class:"card-list-item-header-title__sub"},zb={class:"card-list-item-header-btns"},Zb=["onClick"],Wb={class:"card-list-item-content"},jb={class:"card-list-item-content-item-label"},qb=["onClick","title"],Xb={key:0,class:"card-list-item-content--more"},Vb={class:"card-list-item-content-item-label"},AD={class:"card-list-item-content-item-value"},eD={key:1,class:"card-list-item-footer"},tD={class:"card-list-item-footer-text"},Hd=le(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=>{b.isMore&&(I.value=!I.value)};return(b,D)=>{const w=e.resolveComponent("el-tooltip");return e.openBlock(),e.createElementBlock("div",Kb,[e.createElementVNode("div",Tb,[e.createElementVNode("div",Ub,[e.createElementVNode("div",Yb,[(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,Ob))),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,$b),b.data.subTitle?(e.openBlock(),e.createElementBlock("div",Jb,[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",zb,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.btns,(S,F)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:F},[S.condition===void 0||S.condition===null||e.unref(Nt)(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:P=>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(Ke,{name:S.icon},null,8,["name"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock(Ke,{key:1,name:S.icon},null,8,["name"]))],8,Zb)):e.createCommentVNode("",!0)],64))),128))])]),e.createElementVNode("div",Wb,[(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",jb,e.toDisplayString(S.label)+":",1),e.createElementVNode("div",{class:e.normalizeClass(["card-list-item-content-item-value",{"is-more":S.isMore}]),onClick:F=>o(S),title:S.value},[e.createTextVNode(e.toDisplayString(S.value||"- -")+" ",1),S.isMore?(e.openBlock(),e.createBlock(Ke,{key:0,class:e.normalizeClass({"rotate-[180deg]":I.value}),name:"icon-a-rongqi11",size:"small"},null,8,["class"])):e.createCommentVNode("",!0)],10,qb)]))),128))]),I.value?(e.openBlock(),e.createElementBlock("div",Xb,[(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",Vb,e.toDisplayString(S.label)+":",1),e.createElementVNode("div",AD,e.toDisplayString(S.value||"- -"),1)]))),128))])):e.createCommentVNode("",!0),b.data.footer?(e.openBlock(),e.createElementBlock("div",eD,[e.createVNode(Ke,{name:b.data.footer.icon},null,8,["name"]),e.createElementVNode("span",tD,e.toDisplayString(b.data.footer.text||"- -"),1)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-83a7052a"]]),nD={key:0,class:"empty-content"},nc=le(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:{},rowBtnsLabel:{},rowBtnsWidth:{},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=(Y,K,U)=>{try{I.value[Y](h,K,U)}catch(v){console.error(v)}},b=e.computed(()=>A.rowBtns?A.rowBtns.map(Y=>({condition:Y.condition,icon:Y.icon&&Y.icon.name?Y.icon.name:"icon-tishi",label:Y.label,onClick:Y.onClick})):[]),D=A.columns.find(Y=>Y.position==="title"),w=A.columns.find(Y=>Y.position==="subTitle"),S=A.columns.find(Y=>Y.position==="footer"),F={key:"__childList"},P=e.computed(()=>{const Y=A.columns.find(K=>K.type==="link");return A.data?A.data.map(K=>{const U={content:[],tag:[],originalData:K};if(D&&Y&&Y.key===D.key&&(U.titleType="link",U.onClick=Y.onClick),D&&(U.title=A.getColText(D,K),U.titleColor=K[D.key+"Color"]),w&&(U.subTitle=A.getColText(w,K),U.subTitleColor=K[w.key+"Color"]),S){const v=A.getColText(S,K);U.footer={icon:S.footerIcon||"icon-tishi",text:`${S.label}: ${v||"- -"}`}}return A.columns.forEach(v=>{v.position==="content"?U.content.push({label:v.label,value:A.getColText(v,K)}):v.position==="moreContent"?(U.content.push({label:v.label,value:A.getColText(v,K),isMore:K[F.key]&&K[F.key].length>0}),U.childList=K[F.key]):v.position==="tag"&&U.tag.push({label:v.label,value:A.getColText(v,K)})}),U}):[]});return(Y,K)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{class:"card-list",style:e.normalizeStyle({"--columns":Y.gridColumns,"--gap":Y.gap+"px"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.value,(U,v)=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item",key:v},[e.createVNode(Hd,{data:U,btns:b.value,index:v,onClickBtn:Q=>o(Q,U.originalData,v)},null,8,["data","btns","index","onClickBtn"])]))),128))],4),!Y.data||Y.data.length===0?(e.openBlock(),e.createElementBlock("div",nD,[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-f230eb64"]]),iD={title:"卡片列表",component:"CardList",render:nc,icon:e.h(be,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},oD={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>bx)),icon:e.h(be,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},rD={title:"定制化组件(Progress)",component:"Progress",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>_x)),icon:e.h(be,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},aD={title:"日志列表",component:"LogList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Lx)),icon:e.h(be,{name:"card"}),type:"assist",order:12,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},sD={title:"可拖拽网格容器",icon:e.h(be,{name:"inline"}),type:"layout",component:"DragList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>D8)),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:"选项"}}]}},lD=le(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"}},ic=class extends Error{constructor(A){super(A),this.name="ShikiError"}};function cD(){return 2147483648}function gD(){return typeof performance<"u"?performance.now():Date.now()}const uD=(n,A)=>n+(A-n%A)%A;async function dD(n){let A,t;const i={};function h(Y){t=Y,i.HEAPU8=new Uint8Array(Y),i.HEAPU32=new Uint32Array(Y)}function I(Y,K,U){i.HEAPU8.copyWithin(Y,K,K+U)}function o(Y){try{return A.grow(Y-t.byteLength+65535>>>16),h(A.buffer),1}catch{}}function b(Y){const K=i.HEAPU8.length;Y=Y>>>0;const U=cD();if(Y>U)return!1;for(let v=1;v<=4;v*=2){let Q=K*(1+.2/v);Q=Math.min(Q,Y+100663296);const L=Math.min(U,uD(Math.max(Y,Q),65536));if(o(L))return!0}return!1}const D=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function w(Y,K,U=1024){const v=K+U;let Q=K;for(;Y[Q]&&!(Q>=v);)++Q;if(Q-K>16&&Y.buffer&&D)return D.decode(Y.subarray(K,Q));let L="";for(;K<Q;){let k=Y[K++];if(!(k&128)){L+=String.fromCharCode(k);continue}const y=Y[K++]&63;if((k&224)===192){L+=String.fromCharCode((k&31)<<6|y);continue}const m=Y[K++]&63;if((k&240)===224?k=(k&15)<<12|y<<6|m:k=(k&7)<<18|y<<12|m<<6|Y[K++]&63,k<65536)L+=String.fromCharCode(k);else{const B=k-65536;L+=String.fromCharCode(55296|B>>10,56320|B&1023)}}return L}function S(Y,K){return Y?w(i.HEAPU8,Y,K):""}const F={emscripten_get_now:gD,emscripten_memcpy_big:I,emscripten_resize_heap:b,fd_write:()=>0};async function P(){const K=await n({env:F,wasi_snapshot_preview1:F});A=K.memory,h(A.buffer),Object.assign(i,K),i.UTF8ToString=S}return await P(),i}let Rt=null;function hD(n){throw new ic(n.UTF8ToString(n.getLastOnigError()))}class Na{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=Na._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 F=S,P=!1;if(S>=55296&&S<=56319&&w+1<t){const Y=A.charCodeAt(w+1);Y>=56320&&Y<=57343&&(F=(S-55296<<10)+65536|Y-56320,P=!0)}h&&(I[w]=D,P&&(I[w+1]=D),F<=127?o[D+0]=w:F<=2047?(o[D+0]=w,o[D+1]=w):F<=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)),F<=127?b[D++]=F:F<=2047?(b[D++]=192|(F&1984)>>>6,b[D++]=128|(F&63)>>>0):F<=65535?(b[D++]=224|(F&61440)>>>12,b[D++]=128|(F&4032)>>>6,b[D++]=128|(F&63)>>>0):(b[D++]=240|(F&1835008)>>>18,b[D++]=128|(F&258048)>>>12,b[D++]=128|(F&4032)>>>6,b[D++]=128|(F&63)>>>0),P&&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(!Rt)throw new ic("Must invoke loadWasm first.");this._onigBinding=Rt,this.content=A;const t=new Na(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=Rt.omalloc(1e4)),cn._sharedPtrInUse=!0,Rt.HEAPU8.set(t.utf8Value,cn._sharedPtr),this.ptr=cn._sharedPtr):this.ptr=t.createString(Rt)}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 Ra=cn;class pD{constructor(A){Bt(this,"_onigBinding");Bt(this,"_ptr");if(!Rt)throw new ic("Must invoke loadWasm first.");const t=[],i=[];for(let b=0,D=A.length;b<D;b++){const w=new Na(A[b]);t[b]=w.createString(Rt),i[b]=w.utf8Length}const h=Rt.omalloc(4*A.length);Rt.HEAPU32.set(t,h/4);const I=Rt.omalloc(4*A.length);Rt.HEAPU32.set(i,I/4);const o=Rt.createOnigScanner(h,I,A.length);for(let b=0,D=A.length;b<D;b++)Rt.ofree(t[b]);Rt.ofree(I),Rt.ofree(h),o===0&&hD(Rt),this._onigBinding=Rt,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 Ra(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++],F=[];for(let P=0;P<S;P++){const Y=A.convertUtf8OffsetToUtf16(b[D++]),K=A.convertUtf8OffsetToUtf16(b[D++]);F[P]={start:Y,end:K,length:K-Y}}return{index:w,captureIndices:F}}}function BD(n){return typeof n.instantiator=="function"}function CD(n){return typeof n.default=="function"}function mD(n){return typeof n.data<"u"}function ED(n){return typeof Response<"u"&&n instanceof Response}function QD(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 La;function ID(n){if(La)return La;async function A(){Rt=await dD(async t=>{let i=n;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),BD(i)?i=await i.instantiator(t):CD(i)?i=await i.default(t):(mD(i)&&(i=i.data),ED(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await fD(i)(t):i=await wD(i)(t):QD(i)?i=await oc(i)(t):i instanceof WebAssembly.Module?i=await oc(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await oc(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return La=A(),La}function oc(n){return A=>WebAssembly.instantiate(n,A)}function fD(n){return A=>WebAssembly.instantiateStreaming(n,A)}function wD(n){return async A=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,A)}}let bD;function DD(){return bD}async function yD(n){return n&&await ID(n),{createScanner(A){return new pD(A)},createString(A){return new Ra(A)}}}function vD(n){return rc(n)}function rc(n){return Array.isArray(n)?kD(n):typeof n=="object"?_D(n):n}function kD(n){let A=[];for(let t=0,i=n.length;t<i;t++)A[t]=rc(n[t]);return A}function _D(n){let A={};for(let t in n)A[t]=rc(n[t]);return A}function Kd(n,...A){return A.forEach(t=>{for(let i in t)n[i]=t[i]}),n}function Td(n){const A=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return A===0?n:~A===n.length-1?Td(n.substring(0,n.length-1)):n.substr(~A+1)}var ac=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Ga=class{static hasCaptures(n){return n===null?!1:(ac.lastIndex=0,ac.test(n))}static replaceCaptures(n,A,t){return n.replace(ac,(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 Ud(n,A){return n<A?-1:n>A?1:0}function Yd(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=Ud(n[h],A[h]);if(I!==0)return I}return 0}return t-i}function Od(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 $d(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Jd=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}},Pa=class{constructor(n,A,t){this._colorMap=n,this._defaults=A,this._root=t,this._cachedMatchRoot=new Jd(i=>this._root.match(i))}static createFromRawTheme(n,A){return this.createFromParsedTheme(SD(n),A)}static createFromParsedTheme(n,A){return ND(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=>MD(n.parent,h.parentScopes));return i?new zd(i.fontStyle,i.foreground,i.background):null}},sc=class vl{constructor(A,t){this.parent=A,this.scopeName=t}static push(A,t){for(const i of t)A=new vl(A,i);return A}static from(...A){let t=null;for(let i=0;i<A.length;i++)t=new vl(t,A[i]);return t}push(A){return new vl(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 MD(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&&!xD(n.scopeName,i);){if(h)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function xD(n,A){return A===n||n.startsWith(A)&&n[A.length]==="."}var zd=class{constructor(n,A,t){this.fontStyle=n,this.foregroundId=A,this.backgroundId=t}};function SD(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 F=o.scope;F=F.replace(/^[,]+/,""),F=F.replace(/[,]+$/,""),b=F.split(",")}else Array.isArray(o.scope)?b=o.scope:b=[""];let D=-1;if(typeof o.settings.fontStyle=="string"){D=0;let F=o.settings.fontStyle.split(" ");for(let P=0,Y=F.length;P<Y;P++)switch(F[P]){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"&&Od(o.settings.foreground)&&(w=o.settings.foreground);let S=null;typeof o.settings.background=="string"&&Od(o.settings.background)&&(S=o.settings.background);for(let F=0,P=b.length;F<P;F++){let K=b[F].trim().split(" "),U=K[K.length-1],v=null;K.length>1&&(v=K.slice(0,K.length-1),v.reverse()),t[i++]=new FD(U,v,h,D,w,S)}}return t}var FD=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 ND(n,A){n.sort((D,w)=>{let S=Ud(D.scope,w.scope);return S!==0||(S=Yd(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 RD(A),o=new zd(t,I.getId(i),I.getId(h)),b=new GD(new lc(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 Pa(I,o,b)}var RD=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)}},LD=Object.freeze([]),lc=class Bm{constructor(A,t,i,h,I){this.scopeDepth=A,this.parentScopes=t||LD,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)}},GD=class Qu{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(Qu._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 Qu(this._mainRule.clone(),lc.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(Yd(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 lc(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,F=Un.getFontStyle(A),P=Un.getForeground(A),Y=Un.getBackground(A);return t!==0&&(D=t),i!==8&&(w=i),h!==null&&(S=h?1:0),I!==-1&&(F=I),o!==0&&(P=o),b!==0&&(Y=b),(D<<0|w<<8|S<<10|F<<11|P<<15|Y<<24)>>>0}};function B3(n){return n}function C3(n){return n}function Ha(n,A){const t=[],i=PD(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(F=>F(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(F=>F(S))}}function Zd(n){return!!n&&!!n.match(/[\w\.:]+/)}function PD(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 Wd(n){typeof n.dispose=="function"&&n.dispose()}var Cr=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},HD=class{constructor(n,A){this.scopeName=n,this.ruleName=A}toKey(){return`${this.scopeName}#${this.ruleName}`}},KD=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))}},TD=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 Cr(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const A=new KD;for(const t of n)UD(t,this.initialScopeName,this.repo,A);for(const t of A.references)if(t instanceof Cr){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 UD(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 Cr?Ka({baseGrammar:I,selfGrammar:h},i):cc(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 Cr(b))}function cc(n,A,t){if(A.repository&&A.repository[n]){const i=A.repository[n];Ta([i],A,t)}}function Ka(n,A){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&Ta(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},A),n.selfGrammar.injections&&Ta(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},A)}function Ta(n,A,t){for(const i of n){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const h=i.repository?Kd({},A.repository,i.repository):A.repository;Array.isArray(i.patterns)&&Ta(i.patterns,{...A,repository:h},t);const I=i.include;if(!I)continue;const o=jd(I);switch(o.kind){case 0:Ka({...A,selfGrammar:A.baseGrammar},t);break;case 1:Ka(A,t);break;case 2:cc(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?cc(o.ruleName,D,t):Ka(D,t)}else o.kind===4?t.add(new HD(o.scopeName,o.ruleName)):t.add(new Cr(o.scopeName));break}}}var YD=class{constructor(){this.kind=0}},OD=class{constructor(){this.kind=1}},$D=class{constructor(n){this.ruleName=n,this.kind=2}},JD=class{constructor(n){this.scopeName=n,this.kind=3}},zD=class{constructor(n,A){this.scopeName=n,this.ruleName=A,this.kind=4}};function jd(n){if(n==="$base")return new YD;if(n==="$self")return new OD;const A=n.indexOf("#");if(A===-1)return new JD(n);if(A===0)return new $D(n.substring(1));{const t=n.substring(0,A),i=n.substring(A+1);return new zD(t,i)}}var ZD=/\\(\d+)/,qd=/\\(\d+)/g,WD=-1,Xd=-2;function m3(n){return n}function E3(n){return n}var mr=class{constructor(n,A,t,i){this.$location=n,this.id=A,this._name=t||null,this._nameIsCapturing=Ga.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Ga.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Td(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:Ga.replaceCaptures(this._name,n,A)}getContentName(n,A){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Ga.replaceCaptures(this._contentName,n,A)}},jD=class extends mr{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!")}},qD=class extends mr{constructor(n,A,t,i,h){super(n,A,t,null),this._match=new Er(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 Qr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Vd=class extends mr{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 Qr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},gc=class extends mr{constructor(n,A,t,i,h,I,o,b,D,w){super(n,A,t,i),this._begin=new Er(h,this.id),this.beginCaptures=I,this._end=new Er(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 Qr;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}},Ua=class extends mr{constructor(n,A,t,i,h,I,o,b,D){super(n,A,t,i),this._begin=new Er(h,this.id),this.beginCaptures=I,this.whileCaptures=b,this._while=new Er(o,Xd),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 Qr;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 Qr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,A||""),this._cachedCompiledWhilePatterns}},Ah=class zt{static createCaptureRule(A,t,i,h,I){return A.registerRule(o=>new jD(t,o,i,h,I))}static getCompiledRuleId(A,t,i){return A.id||t.registerRule(h=>{if(A.id=h,A.match)return new qD(A.$vscodeTextmateLocation,A.id,A.name,A.match,zt._compileCaptures(A.captures,t,i));if(typeof A.begin>"u"){A.repository&&(i=Kd({},i,A.repository));let I=A.patterns;return typeof I>"u"&&A.include&&(I=[{include:A.include}]),new Vd(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,zt._compilePatterns(I,t,i))}return A.while?new Ua(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,zt._compileCaptures(A.beginCaptures||A.captures,t,i),A.while,zt._compileCaptures(A.whileCaptures||A.captures,t,i),zt._compilePatterns(A.patterns,t,i)):new gc(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,zt._compileCaptures(A.beginCaptures||A.captures,t,i),A.end,zt._compileCaptures(A.endCaptures||A.captures,t,i),A.applyEndPatternLast,zt._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=zt.getCompiledRuleId(A[o],t,i)),h[b]=zt.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=jd(b.include);switch(w.kind){case 0:case 1:D=zt.getCompiledRuleId(i[b.include],t,i);break;case 2:let S=i[w.ruleName];S&&(D=zt.getCompiledRuleId(S,t,i));break;case 3:case 4:const F=w.scopeName,P=w.kind===4?w.ruleName:null,Y=t.getExternalGrammar(F,i);if(Y)if(P){let K=Y.repository[P];K&&(D=zt.getCompiledRuleId(K,t,Y.repository))}else D=zt.getCompiledRuleId(Y.repository.$self,t,Y.repository);break}}else D=zt.getCompiledRuleId(b,t,i);if(D!==-1){const w=t.getRule(D);let S=!1;if((w instanceof Vd||w instanceof gc||w instanceof Ua)&&w.hasMissingPatterns&&w.patterns.length===0&&(S=!0),S)continue;h.push(D)}}return{patterns:h,hasMissingPatterns:(A?A.length:0)!==h.length}}},Er=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=ZD.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 qd.lastIndex=0,this.source.replace(qd,(h,I)=>$d(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}},Qr=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 eh(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 eh(n,i,this._items.map(h=>h.ruleId))}},eh=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=ur(this.element)?Array.from(this.element.classList):[];return A?t.includes(A):t},n.prototype.attributes=function(A){var t={};if(ur(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 ur(this.element)&&Xu(this.element)},n.prototype.trigger=function(A,t){return Sl(this,void 0,void 0,function(){var i;return Fl(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){Gu(A,n);function A(t){var i=this;return t?(i=n.call(this,t)||this,Ku.plugins.DOMWrapper.extend(i),i):Si("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:Si("DOMWrapper"):i},A.prototype.findAll=function(t){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(t),dr):[]},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 Sl(this,arguments,void 0,function(t){var i,h;return t===void 0&&(t=!0),Fl(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}(xd);Vu(Mo.DOMWrapper,function(n){return new xE(n)});function Sa(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var A=n.component.subTree;return Sa(A)}else{if(n.shapeFlag&128)return Sa(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 Sa(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){Gu(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(),Ku.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 Sa(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(dr)},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(F){return F instanceof Element});if(h.length===1)for(var I=h[0],o=function(F){if(i.includes(F))return"continue";var P=function(){for(var Y=[],K=0;K<arguments.length;K++)Y[K]=arguments[K];FE(t.$,F,Y)};I.addEventListener(F,P),b.cleanUpCallbacks.push(function(){I.removeEventListener(F,P)})},b=this,D=0,w=Object.keys(Uu);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=dr(this.element);return t.isVisible()},A.prototype.setData=function(t){return Tu(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}(xd);Vu(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 Sl(n,void 0,void 0,function(){return Fl(this,function(I){return[2]})})}});return this.custom?h:e.h("a",void 0,h)}}),typeof setImmediate=="function"&&setImmediate;const jn=Symbol(),Sd=Symbol(),Fd=Symbol(),Nd={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"}}}},Fa=[{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}`,ec=(n,A)=>n.reduce((t,i)=>{if(i.designKey===A)return i;if(i.children){const h=ec(i.children,A);if(h)return h}return t},null),Rd=(n,A)=>n.map(t=>t.designKey===A.designKey?A:t.children?{...t,children:Rd(t.children,A)}:t),Ld=n=>n.map(A=>{const t={...ut.cloneDeep(A),designKey:`form-${Mi(4)}`,name:Mi(8)};return A.children&&(t.children=Ld(A.children)),t}),Gd=(n,A)=>n.reduce((t,i)=>{var h;if(i.children?t.push({...i,children:Gd(i.children,A)}):t.push(i),i.designKey===A){const I={...ut.cloneDeep(i),designKey:`form-${Mi(4)}`,name:`${i.name}-${Mi(2)}`};i.children&&(I.children=Ld(i.children)),i.label&&!((h=I.label)!=null&&h.includes("copy"))&&(I.label=I.label+" copy"),t.push(I)}return t},[]),Pd=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=Pd(A.children)),t}),yt=()=>{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(Sd,n)},KE=()=>{const{fetchOptionsFn:n}=e.inject(jn);return n},Br=n=>{const A=yt(),t=KE(),i=e.ref([]),h=e.ref(!1);let I=0;const o=ut.debounce(async()=>{if(!t||!n.apiParams||Object.values(n.apiParams).some(F=>F===void 0))return;h.value=!0;const S=++I;try{const F=await t({formItemProps:e.toRaw(n),formSchema:e.toRaw(A.schema)});if(S!==I)return;const P=n.defaultOptions||[];if(i.value=[...P,...F],n.filters&&(i.value=i.value.filter(Y=>Array.isArray(n.filters)?!n.filters.includes(Y[n.valueKey||"value"]):!0)),n.name){const Y=xi(A.schema.items,n.name);Y&&Y.props&&(Y.props.options=i.value)}if(n.refreshFlag&&i.value.length>=1){A.updateFormValues({[`${n.name}`]:i.value[0][n.valueKey||"value"]},!0);const Y=xi(A.schema.items,n.name);Y&&Y.props&&(Y.props.refreshFlag=!1)}}finally{h.value=!1}},300);e.onMounted(()=>{const{mode:S,options:F=[]}=n;S==="static"&&(i.value=F),S==="remote"&&o()}),e.watch(()=>n.apiParams,(S,F)=>{ut.isEqual(S,F)||(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],(F,P)=>{o()});return{selectChange:S=>{const{valueKey:F="value",multiple:P,name:Y}=n;let K={};P&&Array.isArray(S)?K=i.value.filter(U=>S.includes(U[F])):K=i.value.find(U=>U[F]===S)||{},A.selectData&&Y&&A.updateSelectData(Y,K)},currentOptions:i,loading:h,fetchData:o}};function tc(){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=tc();return e.computed(()=>Nd[(n==null?void 0:n.value)||"en"])}const le=(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:"var(--el-color-primary)","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:"var(--el-color-primary)","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:"var(--el-color-primary)","p-id":"4622"},null,-1)]))}const OE=Object.freeze(Object.defineProperty({__proto__:null,default:le(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:le($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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(_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:le(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:le(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:le(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:le($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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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:le(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=e.defineComponent({__name:"Input",props:e.mergeModels({onChange:{},onInput:{},onEnter:{},rulePath:{},read:{type:Boolean},readTextColor:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=yt(),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=Y=>{const K=["E","e","+","-"];D.type==="number"&&K.includes(Y.key)&&Y.preventDefault()},S=Y=>{if(I.onInput&&o)try{o[I.onInput](b,Y)}catch(K){console.error(K)}},F=Y=>{if(I.onEnter&&o)try{o[I.onEnter](b,Y)}catch(K){console.error(K)}},P=Y=>{if(I.onChange&&o)try{o[I.onChange](b,Y)}catch(K){console.error(K)}};return(Y,K)=>{const U=e.resolveComponent("el-input");return Y.read||t.value?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({color:Y.readTextColor})},e.toDisplayString(i.value||"--"),5)):(e.openBlock(),e.createBlock(U,e.mergeProps({key:1},Y.$attrs,{class:`el-input--${Y.$attrs.styleType} el-input`,modelValue:i.value,"onUpdate:modelValue":K[0]||(K[0]=v=>i.value=v),onInput:S,onChange:P,onKeydown:w,onKeyup:e.withKeys(F,["enter"]),onBlur:h}),null,16,["class","modelValue"]))}}}),h0={title:"单行文本",component:"Input",icon:e.h(be,{name:"input"}),type:"basic",order:1,attrSchema:u0,render:d0},p0={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}]},B0={title:"多行文本",component:"TextArea",icon:e.h(be,{name:"textarea"}),type:"basic",order:2,attrSchema:p0,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>M8))},C0={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"}]},m0=["xlink:href"],Ke=le(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","x-small":i.size==="x-small","ultra-large":i.size==="ultra-large"}]),"aria-hidden":"true",style:e.normalizeStyle(t.value)},[e.createElementVNode("use",{"xlink:href":`#${i.name}`},null,8,m0)],6))}}),[["__scopeId","data-v-48e9cd32"]]),E0=["onClick"],Q0={key:1,class:"bold-style"},I0=le(e.defineComponent({__name:"Alert",props:{description:{},values:{},type:{},icon:{},closable:{type:Boolean,default:!1}},setup(n){const A=n,{ruleModule:t,pageMethodMap:i}=Jo(),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:"var(--el-color-primary)"},success:{name:"icon-successtubiao",color:"var(--el-color-primary)"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[A.type]:{name:"icon-tishitubiao",color:"var(--el-color-primary)"});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",closable:b.closable}),{icon:e.withCtx(()=>[e.createVNode(Ke,{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,F)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:F},[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:P=>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,E0)):(e.openBlock(),e.createElementBlock("span",Q0,e.toDisplayString(typeof S.index=="number"&&A.values&&A.values[S.index]?A.values[S.index].text:""),1))],64))],64))),128))])]),_:1},16,["type","closable"])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-77d1bdd1"]]),f0={title:"提示框",component:"Alert",icon:e.h(be,{name:"alert"}),type:"assist",order:2,attrSchema:C0,render:I0},w0={title:"卡片",component:"Card",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>N8)),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"}]}},b0={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"}]}]},D0={title:"级联选择器",icon:e.h(be,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:b0,order:7,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>R8))},y0={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}]},v0={title:"JSON编辑",component:"JsonEdit",icon:e.h(be,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:y0,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>U8))},k0={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"},...Fa]},_0={title:"多选框组",icon:e.h(be,{name:"checkbox"}),type:"basic",component:"Checkbox",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>O8)),order:4,attrSchema:k0},M0={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"}]},x0={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:e.h(be,{name:"colorPicker"}),type:"basic",order:9,attrSchema:M0},S0={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"}]},F0={title:"颜色输入框",component:"ColorInput",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>J8)),icon:e.h(be,{name:"colorPicker"}),type:"high",order:2,attrSchema:S0},N0={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"}]},R0={title:"自定义组件",component:"Custom",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Z8)),icon:e.h(be,{name:"custom"}),type:"high",order:99,attrSchema:N0},L0={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"}]}}]},G0={title:"日期选择器",component:"DatePicker",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>j8)),icon:e.h(be,{name:"datePicker"}),type:"basic",order:9,attrSchema:L0},P0={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"}]},H0={title:"分割线",component:"Divider",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>q8)),icon:e.h(be,{name:"divider"}),type:"assist",order:6,attrSchema:P0},K0={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"}]},T0={title:"电子签名",component:"Esign",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>oM)),icon:e.h(be,{name:"esign"}),type:"basic",order:11,attrSchema:K0},U0={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"},...Fa]},Y0={title:"单选框组",icon:e.h(be,{name:"radio"}),type:"basic",component:"Radio",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>aM)),order:3.5,attrSchema:U0},O0={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"}]},$0={title:"自增容器",component:"FormList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>dM)),icon:e.h(be,{name:"formList"}),type:"high",order:20,attrSchema:O0},J0={title:"栅格布局",type:"layout",icon:e.h(be,{name:"grid"}),component:"Grid",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>hM)),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(()=>pM)),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"}]}},Z0={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"}]},W0={title:"计数器",icon:e.h(be,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>CM)),attrSchema:Z0},j0={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"}]},q0={key:0},X0={title:"密码输入框",component:"Password",render:e.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=yt();return(i,h)=>{var o;const I=e.resolveComponent("el-input");return e.unref(t).read?(e.openBlock(),e.createElementBlock("span",q0,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:j0},V0={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"},...Fa]},Ab={title:"下拉选择框",type:"basic",icon:e.h(be,{name:"select"}),component:"Select",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>EM)),order:3,attrSchema:V0},eb={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"}]},tb={title:"评分",component:"Rate",render:"ElRate",icon:e.h(be,{name:"rate"}),type:"basic",order:12,attrSchema:eb},nb={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"}}]},ib={title:"选择+输入",component:"SelectInput",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>IM)),icon:e.h(be,{name:"input"}),type:"high",order:1,attrSchema:nb},ob={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}]}},rb={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}]}}]},ab={title:"开关",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>fM)),component:"Switch",icon:e.h(be,{name:"switch"}),type:"basic",order:8,attrSchema:rb},sb={title:"标签",component:"Tag",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>wM)),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"}]}}]}},lb={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"}]},cb={title:"文本",component:"Text",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>bM)),icon:e.h(be,{name:"text"}),type:"assist",order:1,attrSchema:lb},gb={title:"标题",component:"Title",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>DM)),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"}]}},ub={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"}]}}]},db={title:"上传",component:"Upload",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>kM)),icon:e.h(be,{name:"upload"}),type:"basic",order:10,attrSchema:ub},hb={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"}]},pb={title:"图形验证码",component:"VerifyCode",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>SM)),icon:e.h(be,{name:"verifyCode"}),type:"high",order:18,attrSchema:hb},Bb={title:"折叠面板",component:"Collapse",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>FM)),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"}]}},Cb={title:"选项卡",component:"Tabs",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>NM)),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"}]}},mb={title:"对象容器",icon:e.h(be,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>GM)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},Eb={},Qb={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 Ib(n,A){return e.openBlock(),e.createElementBlock("svg",Qb,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 fb=le(Eb,[["render",Ib]]),wb={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"}}]},bb={key:0},Db={title:"穿梭框",component:"Transfer",render:e.defineComponent({__name:"Transfer",props:e.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=yt(),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",bb,e.toDisplayString((D=i.value)==null?void 0:D.map(w=>{var S;return(S=I.data.find(F=>F.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:fb,type:"basic",order:12,attrSchema:wb},yb={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"}]},vb=le(e.defineComponent({__name:"SearchInput",props:e.mergeModels({onInput:{},onSearch:{},onClear:{},disabled:{type:Boolean},read:{type:Boolean},readTextColor:{}},{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"),F=e.resolveComponent("el-input");return D.read?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({color:D.readTextColor})},e.toDisplayString(A.value||"--"),5)):(e.openBlock(),e.createBlock(F,e.mergeProps({key:1},D.$attrs,{modelValue:A.value,"onUpdate:modelValue":w[0]||(w[0]=P=>A.value=P),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-0daec892"]]),kb={title:"搜索输入",component:"SearchInput",icon:e.h(be,{name:"search"}),type:"high",order:5,attrSchema:yb,render:vb},_b={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"},...Fa]},Mb={title:"选择+搜索",type:"high",icon:e.h(be,{name:"searchSelect"}),component:"SearchSelect",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>UM)),order:3,attrSchema:_b},xb={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"}]},Sb=le(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(Ke,{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(Ke,{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"]]),Fb={title:"按钮",component:"Button",icon:e.h(be,{name:"button"}),type:"assist",order:1,attrSchema:xb,render:Sb},Nb={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"}]},Rb={title:"树",component:"Tree",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>zM)),icon:e.h(be,{name:"tree"}),type:"assist",order:7,attrSchema:Nb},Lb={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"}]},Gb={title:"表格",component:"Table",icon:e.h(be,{name:"library"}),type:"assist",order:8,attrSchema:Lb,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>tx))},Pb={title:"curd模版卡片",component:"CurdCard",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>cx)),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"}]}}]}},Hb={title:"普通div容器",component:"Wrapper",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>dx)),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"}]}},Kb={class:"card-list-item"},Tb={class:"card-list-item-header"},Ub={class:"card-list-item-header-title"},Yb={style:{display:"ruby"}},Ob=["title"],$b=["title"],Jb={key:0,class:"card-list-item-header-title__sub"},zb={class:"card-list-item-header-btns"},Zb=["onClick"],Wb={class:"card-list-item-content"},jb={class:"card-list-item-content-item-label"},qb=["onClick","title"],Xb={key:0,class:"card-list-item-content--more"},Vb={class:"card-list-item-content-item-label"},AD={class:"card-list-item-content-item-value"},eD={key:1,class:"card-list-item-footer"},tD={class:"card-list-item-footer-text"},Hd=le(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=>{b.isMore&&(I.value=!I.value)};return(b,D)=>{const w=e.resolveComponent("el-tooltip");return e.openBlock(),e.createElementBlock("div",Kb,[e.createElementVNode("div",Tb,[e.createElementVNode("div",Ub,[e.createElementVNode("div",Yb,[(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,Ob))),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,$b),b.data.subTitle?(e.openBlock(),e.createElementBlock("div",Jb,[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",zb,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.btns,(S,F)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:F},[S.condition===void 0||S.condition===null||e.unref(Nt)(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:P=>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(Ke,{name:S.icon},null,8,["name"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock(Ke,{key:1,name:S.icon},null,8,["name"]))],8,Zb)):e.createCommentVNode("",!0)],64))),128))])]),e.createElementVNode("div",Wb,[(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",jb,e.toDisplayString(S.label)+":",1),e.createElementVNode("div",{class:e.normalizeClass(["card-list-item-content-item-value",{"is-more":S.isMore}]),onClick:F=>o(S),title:S.value},[e.createTextVNode(e.toDisplayString(S.value||"- -")+" ",1),S.isMore?(e.openBlock(),e.createBlock(Ke,{key:0,class:e.normalizeClass({"rotate-[180deg]":I.value}),name:"icon-a-rongqi11",size:"small"},null,8,["class"])):e.createCommentVNode("",!0)],10,qb)]))),128))]),I.value?(e.openBlock(),e.createElementBlock("div",Xb,[(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",Vb,e.toDisplayString(S.label)+":",1),e.createElementVNode("div",AD,e.toDisplayString(S.value||"- -"),1)]))),128))])):e.createCommentVNode("",!0),b.data.footer?(e.openBlock(),e.createElementBlock("div",eD,[e.createVNode(Ke,{name:b.data.footer.icon},null,8,["name"]),e.createElementVNode("span",tD,e.toDisplayString(b.data.footer.text||"- -"),1)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-47482baf"]]),nD={key:0,class:"empty-content"},nc=le(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:{},rowBtnsLabel:{},rowBtnsWidth:{},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=(Y,K,U)=>{try{I.value[Y](h,K,U)}catch(v){console.error(v)}},b=e.computed(()=>A.rowBtns?A.rowBtns.map(Y=>({condition:Y.condition,icon:Y.icon&&Y.icon.name?Y.icon.name:"icon-tishi",label:Y.label,onClick:Y.onClick})):[]),D=A.columns.find(Y=>Y.position==="title"),w=A.columns.find(Y=>Y.position==="subTitle"),S=A.columns.find(Y=>Y.position==="footer"),F={key:"__childList"},P=e.computed(()=>{const Y=A.columns.find(K=>K.type==="link");return A.data?A.data.map(K=>{const U={content:[],tag:[],originalData:K};if(D&&Y&&Y.key===D.key&&(U.titleType="link",U.onClick=Y.onClick),D&&(U.title=A.getColText(D,K),U.titleColor=K[D.key+"Color"]),w&&(U.subTitle=A.getColText(w,K),U.subTitleColor=K[w.key+"Color"]),S){const v=A.getColText(S,K);U.footer={icon:S.footerIcon||"icon-tishi",text:`${S.label}: ${v||"- -"}`}}return A.columns.forEach(v=>{v.position==="content"?U.content.push({label:v.label,value:A.getColText(v,K)}):v.position==="moreContent"?(U.content.push({label:v.label,value:A.getColText(v,K),isMore:K[F.key]&&K[F.key].length>0}),U.childList=K[F.key]):v.position==="tag"&&U.tag.push({label:v.label,value:A.getColText(v,K)})}),U}):[]});return(Y,K)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{class:"card-list",style:e.normalizeStyle({"--columns":Y.gridColumns,"--gap":Y.gap+"px"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.value,(U,v)=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item",key:v},[e.createVNode(Hd,{data:U,btns:b.value,index:v,onClickBtn:Q=>o(Q,U.originalData,v)},null,8,["data","btns","index","onClickBtn"])]))),128))],4),!Y.data||Y.data.length===0?(e.openBlock(),e.createElementBlock("div",nD,[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-5455b400"]]),iD={title:"卡片列表",component:"CardList",render:nc,icon:e.h(be,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},oD={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>bx)),icon:e.h(be,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},rD={title:"定制化组件(Progress)",component:"Progress",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>_x)),icon:e.h(be,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},aD={title:"日志列表",component:"LogList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Lx)),icon:e.h(be,{name:"card"}),type:"assist",order:12,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},sD={title:"可拖拽网格容器",icon:e.h(be,{name:"inline"}),type:"layout",component:"DragList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>D8)),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:"选项"}}]}},lD=le(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"}},ic=class extends Error{constructor(A){super(A),this.name="ShikiError"}};function cD(){return 2147483648}function gD(){return typeof performance<"u"?performance.now():Date.now()}const uD=(n,A)=>n+(A-n%A)%A;async function dD(n){let A,t;const i={};function h(Y){t=Y,i.HEAPU8=new Uint8Array(Y),i.HEAPU32=new Uint32Array(Y)}function I(Y,K,U){i.HEAPU8.copyWithin(Y,K,K+U)}function o(Y){try{return A.grow(Y-t.byteLength+65535>>>16),h(A.buffer),1}catch{}}function b(Y){const K=i.HEAPU8.length;Y=Y>>>0;const U=cD();if(Y>U)return!1;for(let v=1;v<=4;v*=2){let Q=K*(1+.2/v);Q=Math.min(Q,Y+100663296);const L=Math.min(U,uD(Math.max(Y,Q),65536));if(o(L))return!0}return!1}const D=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function w(Y,K,U=1024){const v=K+U;let Q=K;for(;Y[Q]&&!(Q>=v);)++Q;if(Q-K>16&&Y.buffer&&D)return D.decode(Y.subarray(K,Q));let L="";for(;K<Q;){let k=Y[K++];if(!(k&128)){L+=String.fromCharCode(k);continue}const y=Y[K++]&63;if((k&224)===192){L+=String.fromCharCode((k&31)<<6|y);continue}const m=Y[K++]&63;if((k&240)===224?k=(k&15)<<12|y<<6|m:k=(k&7)<<18|y<<12|m<<6|Y[K++]&63,k<65536)L+=String.fromCharCode(k);else{const B=k-65536;L+=String.fromCharCode(55296|B>>10,56320|B&1023)}}return L}function S(Y,K){return Y?w(i.HEAPU8,Y,K):""}const F={emscripten_get_now:gD,emscripten_memcpy_big:I,emscripten_resize_heap:b,fd_write:()=>0};async function P(){const K=await n({env:F,wasi_snapshot_preview1:F});A=K.memory,h(A.buffer),Object.assign(i,K),i.UTF8ToString=S}return await P(),i}let Rt=null;function hD(n){throw new ic(n.UTF8ToString(n.getLastOnigError()))}class Na{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=Na._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 F=S,P=!1;if(S>=55296&&S<=56319&&w+1<t){const Y=A.charCodeAt(w+1);Y>=56320&&Y<=57343&&(F=(S-55296<<10)+65536|Y-56320,P=!0)}h&&(I[w]=D,P&&(I[w+1]=D),F<=127?o[D+0]=w:F<=2047?(o[D+0]=w,o[D+1]=w):F<=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)),F<=127?b[D++]=F:F<=2047?(b[D++]=192|(F&1984)>>>6,b[D++]=128|(F&63)>>>0):F<=65535?(b[D++]=224|(F&61440)>>>12,b[D++]=128|(F&4032)>>>6,b[D++]=128|(F&63)>>>0):(b[D++]=240|(F&1835008)>>>18,b[D++]=128|(F&258048)>>>12,b[D++]=128|(F&4032)>>>6,b[D++]=128|(F&63)>>>0),P&&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(!Rt)throw new ic("Must invoke loadWasm first.");this._onigBinding=Rt,this.content=A;const t=new Na(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=Rt.omalloc(1e4)),cn._sharedPtrInUse=!0,Rt.HEAPU8.set(t.utf8Value,cn._sharedPtr),this.ptr=cn._sharedPtr):this.ptr=t.createString(Rt)}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 Ra=cn;class pD{constructor(A){Bt(this,"_onigBinding");Bt(this,"_ptr");if(!Rt)throw new ic("Must invoke loadWasm first.");const t=[],i=[];for(let b=0,D=A.length;b<D;b++){const w=new Na(A[b]);t[b]=w.createString(Rt),i[b]=w.utf8Length}const h=Rt.omalloc(4*A.length);Rt.HEAPU32.set(t,h/4);const I=Rt.omalloc(4*A.length);Rt.HEAPU32.set(i,I/4);const o=Rt.createOnigScanner(h,I,A.length);for(let b=0,D=A.length;b<D;b++)Rt.ofree(t[b]);Rt.ofree(I),Rt.ofree(h),o===0&&hD(Rt),this._onigBinding=Rt,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 Ra(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++],F=[];for(let P=0;P<S;P++){const Y=A.convertUtf8OffsetToUtf16(b[D++]),K=A.convertUtf8OffsetToUtf16(b[D++]);F[P]={start:Y,end:K,length:K-Y}}return{index:w,captureIndices:F}}}function BD(n){return typeof n.instantiator=="function"}function CD(n){return typeof n.default=="function"}function mD(n){return typeof n.data<"u"}function ED(n){return typeof Response<"u"&&n instanceof Response}function QD(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 La;function ID(n){if(La)return La;async function A(){Rt=await dD(async t=>{let i=n;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),BD(i)?i=await i.instantiator(t):CD(i)?i=await i.default(t):(mD(i)&&(i=i.data),ED(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await fD(i)(t):i=await wD(i)(t):QD(i)?i=await oc(i)(t):i instanceof WebAssembly.Module?i=await oc(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await oc(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return La=A(),La}function oc(n){return A=>WebAssembly.instantiate(n,A)}function fD(n){return A=>WebAssembly.instantiateStreaming(n,A)}function wD(n){return async A=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,A)}}let bD;function DD(){return bD}async function yD(n){return n&&await ID(n),{createScanner(A){return new pD(A)},createString(A){return new Ra(A)}}}function vD(n){return rc(n)}function rc(n){return Array.isArray(n)?kD(n):typeof n=="object"?_D(n):n}function kD(n){let A=[];for(let t=0,i=n.length;t<i;t++)A[t]=rc(n[t]);return A}function _D(n){let A={};for(let t in n)A[t]=rc(n[t]);return A}function Kd(n,...A){return A.forEach(t=>{for(let i in t)n[i]=t[i]}),n}function Td(n){const A=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return A===0?n:~A===n.length-1?Td(n.substring(0,n.length-1)):n.substr(~A+1)}var ac=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Ga=class{static hasCaptures(n){return n===null?!1:(ac.lastIndex=0,ac.test(n))}static replaceCaptures(n,A,t){return n.replace(ac,(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 Ud(n,A){return n<A?-1:n>A?1:0}function Yd(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=Ud(n[h],A[h]);if(I!==0)return I}return 0}return t-i}function Od(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 $d(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Jd=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}},Pa=class{constructor(n,A,t){this._colorMap=n,this._defaults=A,this._root=t,this._cachedMatchRoot=new Jd(i=>this._root.match(i))}static createFromRawTheme(n,A){return this.createFromParsedTheme(SD(n),A)}static createFromParsedTheme(n,A){return ND(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=>MD(n.parent,h.parentScopes));return i?new zd(i.fontStyle,i.foreground,i.background):null}},sc=class vl{constructor(A,t){this.parent=A,this.scopeName=t}static push(A,t){for(const i of t)A=new vl(A,i);return A}static from(...A){let t=null;for(let i=0;i<A.length;i++)t=new vl(t,A[i]);return t}push(A){return new vl(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 MD(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&&!xD(n.scopeName,i);){if(h)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function xD(n,A){return A===n||n.startsWith(A)&&n[A.length]==="."}var zd=class{constructor(n,A,t){this.fontStyle=n,this.foregroundId=A,this.backgroundId=t}};function SD(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 F=o.scope;F=F.replace(/^[,]+/,""),F=F.replace(/[,]+$/,""),b=F.split(",")}else Array.isArray(o.scope)?b=o.scope:b=[""];let D=-1;if(typeof o.settings.fontStyle=="string"){D=0;let F=o.settings.fontStyle.split(" ");for(let P=0,Y=F.length;P<Y;P++)switch(F[P]){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"&&Od(o.settings.foreground)&&(w=o.settings.foreground);let S=null;typeof o.settings.background=="string"&&Od(o.settings.background)&&(S=o.settings.background);for(let F=0,P=b.length;F<P;F++){let K=b[F].trim().split(" "),U=K[K.length-1],v=null;K.length>1&&(v=K.slice(0,K.length-1),v.reverse()),t[i++]=new FD(U,v,h,D,w,S)}}return t}var FD=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 ND(n,A){n.sort((D,w)=>{let S=Ud(D.scope,w.scope);return S!==0||(S=Yd(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 RD(A),o=new zd(t,I.getId(i),I.getId(h)),b=new GD(new lc(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 Pa(I,o,b)}var RD=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)}},LD=Object.freeze([]),lc=class Bm{constructor(A,t,i,h,I){this.scopeDepth=A,this.parentScopes=t||LD,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)}},GD=class Qu{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(Qu._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 Qu(this._mainRule.clone(),lc.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(Yd(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 lc(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,F=Un.getFontStyle(A),P=Un.getForeground(A),Y=Un.getBackground(A);return t!==0&&(D=t),i!==8&&(w=i),h!==null&&(S=h?1:0),I!==-1&&(F=I),o!==0&&(P=o),b!==0&&(Y=b),(D<<0|w<<8|S<<10|F<<11|P<<15|Y<<24)>>>0}};function B3(n){return n}function C3(n){return n}function Ha(n,A){const t=[],i=PD(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(F=>F(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(F=>F(S))}}function Zd(n){return!!n&&!!n.match(/[\w\.:]+/)}function PD(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 Wd(n){typeof n.dispose=="function"&&n.dispose()}var Cr=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},HD=class{constructor(n,A){this.scopeName=n,this.ruleName=A}toKey(){return`${this.scopeName}#${this.ruleName}`}},KD=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))}},TD=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 Cr(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const A=new KD;for(const t of n)UD(t,this.initialScopeName,this.repo,A);for(const t of A.references)if(t instanceof Cr){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 UD(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 Cr?Ka({baseGrammar:I,selfGrammar:h},i):cc(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 Cr(b))}function cc(n,A,t){if(A.repository&&A.repository[n]){const i=A.repository[n];Ta([i],A,t)}}function Ka(n,A){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&Ta(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},A),n.selfGrammar.injections&&Ta(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},A)}function Ta(n,A,t){for(const i of n){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const h=i.repository?Kd({},A.repository,i.repository):A.repository;Array.isArray(i.patterns)&&Ta(i.patterns,{...A,repository:h},t);const I=i.include;if(!I)continue;const o=jd(I);switch(o.kind){case 0:Ka({...A,selfGrammar:A.baseGrammar},t);break;case 1:Ka(A,t);break;case 2:cc(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?cc(o.ruleName,D,t):Ka(D,t)}else o.kind===4?t.add(new HD(o.scopeName,o.ruleName)):t.add(new Cr(o.scopeName));break}}}var YD=class{constructor(){this.kind=0}},OD=class{constructor(){this.kind=1}},$D=class{constructor(n){this.ruleName=n,this.kind=2}},JD=class{constructor(n){this.scopeName=n,this.kind=3}},zD=class{constructor(n,A){this.scopeName=n,this.ruleName=A,this.kind=4}};function jd(n){if(n==="$base")return new YD;if(n==="$self")return new OD;const A=n.indexOf("#");if(A===-1)return new JD(n);if(A===0)return new $D(n.substring(1));{const t=n.substring(0,A),i=n.substring(A+1);return new zD(t,i)}}var ZD=/\\(\d+)/,qd=/\\(\d+)/g,WD=-1,Xd=-2;function m3(n){return n}function E3(n){return n}var mr=class{constructor(n,A,t,i){this.$location=n,this.id=A,this._name=t||null,this._nameIsCapturing=Ga.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Ga.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Td(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:Ga.replaceCaptures(this._name,n,A)}getContentName(n,A){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Ga.replaceCaptures(this._contentName,n,A)}},jD=class extends mr{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!")}},qD=class extends mr{constructor(n,A,t,i,h){super(n,A,t,null),this._match=new Er(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 Qr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Vd=class extends mr{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 Qr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},gc=class extends mr{constructor(n,A,t,i,h,I,o,b,D,w){super(n,A,t,i),this._begin=new Er(h,this.id),this.beginCaptures=I,this._end=new Er(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 Qr;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}},Ua=class extends mr{constructor(n,A,t,i,h,I,o,b,D){super(n,A,t,i),this._begin=new Er(h,this.id),this.beginCaptures=I,this.whileCaptures=b,this._while=new Er(o,Xd),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 Qr;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 Qr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,A||""),this._cachedCompiledWhilePatterns}},Ah=class zt{static createCaptureRule(A,t,i,h,I){return A.registerRule(o=>new jD(t,o,i,h,I))}static getCompiledRuleId(A,t,i){return A.id||t.registerRule(h=>{if(A.id=h,A.match)return new qD(A.$vscodeTextmateLocation,A.id,A.name,A.match,zt._compileCaptures(A.captures,t,i));if(typeof A.begin>"u"){A.repository&&(i=Kd({},i,A.repository));let I=A.patterns;return typeof I>"u"&&A.include&&(I=[{include:A.include}]),new Vd(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,zt._compilePatterns(I,t,i))}return A.while?new Ua(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,zt._compileCaptures(A.beginCaptures||A.captures,t,i),A.while,zt._compileCaptures(A.whileCaptures||A.captures,t,i),zt._compilePatterns(A.patterns,t,i)):new gc(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,zt._compileCaptures(A.beginCaptures||A.captures,t,i),A.end,zt._compileCaptures(A.endCaptures||A.captures,t,i),A.applyEndPatternLast,zt._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=zt.getCompiledRuleId(A[o],t,i)),h[b]=zt.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=jd(b.include);switch(w.kind){case 0:case 1:D=zt.getCompiledRuleId(i[b.include],t,i);break;case 2:let S=i[w.ruleName];S&&(D=zt.getCompiledRuleId(S,t,i));break;case 3:case 4:const F=w.scopeName,P=w.kind===4?w.ruleName:null,Y=t.getExternalGrammar(F,i);if(Y)if(P){let K=Y.repository[P];K&&(D=zt.getCompiledRuleId(K,t,Y.repository))}else D=zt.getCompiledRuleId(Y.repository.$self,t,Y.repository);break}}else D=zt.getCompiledRuleId(b,t,i);if(D!==-1){const w=t.getRule(D);let S=!1;if((w instanceof Vd||w instanceof gc||w instanceof Ua)&&w.hasMissingPatterns&&w.patterns.length===0&&(S=!0),S)continue;h.push(D)}}return{patterns:h,hasMissingPatterns:(A?A.length:0)!==h.length}}},Er=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=ZD.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 qd.lastIndex=0,this.source.replace(qd,(h,I)=>$d(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}},Qr=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 eh(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 eh(n,i,this._items.map(h=>h.ruleId))}},eh=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}},uc=class{constructor(n,A){this.languageId=n,this.tokenType=A}},dc=class Iu{constructor(A,t){this._getBasicScopeAttributes=new Jd(i=>{const h=this._scopeToLanguage(i),I=this._toStandardTokenType(i);return new uc(h,I)}),this._defaultAttributes=new uc(A,8),this._embeddedLanguagesMatcher=new VD(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(A){return A===null?Iu._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(A)}_scopeToLanguage(A){return this._embeddedLanguagesMatcher.match(A)||0}_toStandardTokenType(A){const t=A.match(Iu.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!")}};dc._NULL_SCOPE_METADATA=new uc(0,0),dc.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;var XD=dc,VD=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])=>$d(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 th=class{constructor(n,A){this.stack=n,this.stoppedEarly=A}};function nh(n,A,t,i,h,I,o,b){const D=A.content.length;let w=!1,S=-1;if(o){const Y=Ay(n,A,t,i,h,I);h=Y.stack,i=Y.linePos,t=Y.isFirstLine,S=Y.anchorPosition}const F=Date.now();for(;!w;){if(b!==0&&Date.now()-F>b)return new th(h,!0);P()}return new th(h,!1);function P(){const Y=ey(n,A,t,i,h,S);if(!Y){I.produce(h,D),w=!0;return}const K=Y.captureIndices,U=Y.matchedRuleId,v=K&&K.length>0?K[0].end>i:!1;if(U===WD){const Q=h.getRule(n);I.produce(h,K[0].start),h=h.withContentNameScopesList(h.nameScopesList),Ir(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(U);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(U,i,S,K[0].end===D,null,y,y),Q instanceof gc){const m=Q;Ir(n,A,t,h,I,m.beginCaptures,K),I.produce(h,K[0].end),S=K[0].end;const B=m.getContentName(A.content,K),u=y.pushAttributed(B,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 Ua){const m=Q;Ir(n,A,t,h,I,m.beginCaptures,K),I.produce(h,K[0].end),S=K[0].end;const B=m.getContentName(A.content,K),u=y.pushAttributed(B,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(Ir(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 Ay(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 Ua&&b.push({rule:w,stack:D})}for(let D=b.pop();D;D=b.pop()){const{ruleScanner:w,findOptions:S}=iy(D.rule,n,D.stack.endRule,t,i===o),F=w.findNextMatchSync(A,i,S);if(F){if(F.ruleId!==Xd){h=D.stack.pop();break}F.captureIndices&&F.captureIndices.length&&(I.produce(D.stack,F.captureIndices[0].start),Ir(n,A,t,D.stack,I,D.rule.whileCaptures,F.captureIndices),I.produce(D.stack,F.captureIndices[0].end),o=F.captureIndices[0].end,F.captureIndices[0].end>i&&(i=F.captureIndices[0].end,t=!1))}else{h=D.stack.pop();break}}return{stack:h,linePos:i,anchorPosition:o,isFirstLine:t}}function ey(n,A,t,i,h,I){const o=ty(n,A,t,i,h,I),b=n.getInjections();if(b.length===0)return o;const D=ny(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 ty(n,A,t,i,h,I){const o=h.getRule(n),{ruleScanner:b,findOptions:D}=ih(o,n,h.endRule,t,i===I),w=b.findNextMatchSync(A,i,D);return w?{captureIndices:w.captureIndices,matchedRuleId:w.ruleId}:null}function ny(n,A,t,i,h,I,o){let b=Number.MAX_VALUE,D=null,w,S=0;const F=I.contentNameScopesList.getScopeNames();for(let P=0,Y=n.length;P<Y;P++){const K=n[P];if(!K.matcher(F))continue;const U=A.getRule(K.ruleId),{ruleScanner:v,findOptions:Q}=ih(U,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 ih(n,A,t,i,h){return{ruleScanner:n.compileAG(A,t,i,h),findOptions:0}}function iy(n,A,t,i,h){return{ruleScanner:n.compileWhileAG(A,t,i,h),findOptions:0}}function Ir(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 F=0;F<D;F++){const P=I[F];if(P===null)continue;const Y=o[F];if(Y.length===0)continue;if(Y.start>S)break;for(;w.length>0&&w[w.length-1].endPos<=Y.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,Y.start):h.produce(i,Y.start),P.retokenizeCapturedWithRuleId){const U=P.getName(b,o),v=i.contentNameScopesList.pushAttributed(U,n),Q=P.getContentName(b,o),L=v.pushAttributed(Q,n),k=i.push(P.retokenizeCapturedWithRuleId,Y.start,-1,!1,null,v,L),y=n.createOnigString(b.substring(0,Y.end));nh(n,y,t&&Y.start===0,Y.start,k,h,!1,0),Wd(y);continue}const K=P.getName(b,o);if(K!==null){const v=(w.length>0?w[w.length-1].scopes:i.contentNameScopesList).pushAttributed(K,n);w.push(new oy(v,Y.end))}}for(;w.length>0;)h.produceFromScopes(w[w.length-1].scopes,w[w.length-1].endPos),w.pop()}var oy=class{constructor(n,A){this.scopes=n,this.endPos=A}};function ry(n,A,t,i,h,I,o,b){return new sy(n,A,t,i,h,I,o,b)}function oh(n,A,t,i,h){const I=Ha(A,Ya),o=Ah.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 Ya(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(ay(A[h],i))return t=h+1,!0;return!1})}function ay(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 sy=class{constructor(n,A,t,i,h,I,o,b){if(this._rootScopeName=n,this.balancedBracketSelectors=I,this._onigLib=b,this._basicScopeAttributesProvider=new XD(t,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=rh(A,null),this._injections=null,this._tokenTypeMatchers=[],h)for(const D of Object.keys(h)){const w=Ha(D,Ya);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)oh(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&&oh(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]=rh(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=Ah.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let h;if(!A||A===pc.NULL){h=!0;const w=this._basicScopeAttributesProvider.getDefaultAttributes(),S=this.themeProvider.getDefaults(),F=So.set(0,w.languageId,w.tokenType,null,S.fontStyle,S.foregroundId,S.backgroundId),P=this.getRule(this._rootId).getName(null,null);let Y;P?Y=fr.createRootAndLookUpScopeName(P,F,this):Y=fr.createRoot("unknown",F),A=new pc(null,this._rootId,-1,-1,!1,null,Y,Y)}else h=!1,A.reset();n=n+`
|
|
82
82
|
`;const I=this.createOnigString(n),o=I.content.length,b=new cy(t,n,this._tokenTypeMatchers,this.balancedBracketSelectors),D=nh(this,I,h,0,A,b,!0,i);return Wd(I),{lineLength:o,lineTokens:b,ruleStack:D.stack,stoppedEarly:D.stoppedEarly}}};function rh(n,A){return n=vD(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 fr=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=sc.push(h,I.scopeNames),i=new li(i,h,I.encodedTokenAttributes);return i}static createRoot(A,t){return new li(null,new sc(null,A),t)}static createRootAndLookUpScopeName(A,t,i){const h=i.getMetadataForScope(A),I=new sc(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}},hc=class gr{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:gr._equals(this,A)}static _equals(A,t){return A===t?!0:this._structuralEquals(A,t)?fr.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(){gr._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(A,t,i,h,I,o,b){return new gr(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 gr(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=fr.fromExtension((A==null?void 0:A.nameScopesList)??null,t.nameScopesList);return new gr(A,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,i,fr.fromExtension(i,t.contentNameScopesList))}};hc.NULL=new hc(null,0,0,0,!1,null,null,null);var pc=hc,ly=class{constructor(n,A){this.allowAny=!1,this.balancedBracketScopes=n.flatMap(t=>t==="*"?(this.allowAny=!0,[]):Ha(t,Ya).map(i=>i.matcher)),this.unbalancedBracketScopes=A.flatMap(t=>Ha(t,Ya).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}},cy=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}},gy=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,ry(n,I,A,t,i,h,this,this._onigLib))}return this._grammars.get(n)}},uy=class{constructor(A){this._options=A,this._syncRegistry=new gy(Pa.createFromRawTheme(A.theme,A.colorMap),A.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(A,t){this._syncRegistry.setTheme(Pa.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 ly(i.balancedBracketSelectors||[],i.unbalancedBracketSelectors||[]))}loadGrammar(A){return this._loadGrammar(A,0,null,null,null)}_loadGrammar(A,t,i,h,I){const o=new TD(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)}},Bc=pc.NULL;const dy=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class wr{constructor(A,t,i){this.property=A,this.normal=t,i&&(this.space=i)}}wr.prototype.property={},wr.prototype.normal={},wr.prototype.space=null;function ah(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 wr(t,i,A)}function Cc(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 hy=0;const Ue=qi(),vt=qi(),sh=qi(),pe=qi(),dt=qi(),Fo=qi(),Cn=qi();function qi(){return 2**++hy}const mc=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ue,booleanish:vt,commaOrSpaceSeparated:Cn,commaSeparated:Fo,number:pe,overloadedBoolean:sh,spaceSeparated:dt},Symbol.toStringTag,{value:"Module"})),Ec=Object.keys(mc);class Qc extends Mn{constructor(A,t,i,h){let I=-1;if(super(A,t),lh(this,"space",h),typeof i=="number")for(;++I<Ec.length;){const o=Ec[I];lh(this,Ec[I],(i&mc[o])===mc[o])}}}Qc.prototype.defined=!0;function lh(n,A,t){t&&(n[A]=t)}const py={}.hasOwnProperty;function No(n){const A={},t={};let i;for(i in n.properties)if(py.call(n.properties,i)){const h=n.properties[i],I=new Qc(i,n.transform(n.attributes||{},i),h,n.space);n.mustUseProperty&&n.mustUseProperty.includes(i)&&(I.mustUseProperty=!0),A[i]=I,t[Cc(i)]=i,t[Cc(I.attribute)]=i}return new wr(A,t,n.space)}const ch=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}}),gh=No({space:"xml",transform(n,A){return"xml:"+A.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function uh(n,A){return A in n?n[A]:A}function dh(n,A){return uh(n,A.toLowerCase())}const hh=No({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:dh,properties:{xmlns:null,xmlnsXLink:null}}),ph=No({transform(n,A){return A==="role"?A:"aria-"+A.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:vt,ariaAutoComplete:null,ariaBusy:vt,ariaChecked:vt,ariaColCount:pe,ariaColIndex:pe,ariaColSpan:pe,ariaControls:dt,ariaCurrent:null,ariaDescribedBy:dt,ariaDetails:null,ariaDisabled:vt,ariaDropEffect:dt,ariaErrorMessage:null,ariaExpanded:vt,ariaFlowTo:dt,ariaGrabbed:vt,ariaHasPopup:null,ariaHidden:vt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:dt,ariaLevel:pe,ariaLive:null,ariaModal:vt,ariaMultiLine:vt,ariaMultiSelectable:vt,ariaOrientation:null,ariaOwns:dt,ariaPlaceholder:null,ariaPosInSet:pe,ariaPressed:vt,ariaReadOnly:vt,ariaRelevant:null,ariaRequired:vt,ariaRoleDescription:dt,ariaRowCount:pe,ariaRowIndex:pe,ariaRowSpan:pe,ariaSelected:vt,ariaSetSize:pe,ariaSort:null,ariaValueMax:pe,ariaValueMin:pe,ariaValueNow:pe,ariaValueText:null,role:null}}),By=No({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:dh,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Fo,acceptCharset:dt,accessKey:dt,action:null,allow:null,allowFullScreen:Ue,allowPaymentRequest:Ue,allowUserMedia:Ue,alt:null,as:null,async:Ue,autoCapitalize:null,autoComplete:dt,autoFocus:Ue,autoPlay:Ue,blocking:dt,capture:null,charSet:null,checked:Ue,cite:null,className:dt,cols:pe,colSpan:null,content:null,contentEditable:vt,controls:Ue,controlsList:dt,coords:pe|Fo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ue,defer:Ue,dir:null,dirName:null,disabled:Ue,download:sh,draggable:vt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ue,formTarget:null,headers:dt,height:pe,hidden:Ue,high:pe,href:null,hrefLang:null,htmlFor:dt,httpEquiv:dt,id:null,imageSizes:null,imageSrcSet:null,inert:Ue,inputMode:null,integrity:null,is:null,isMap:Ue,itemId:null,itemProp:dt,itemRef:dt,itemScope:Ue,itemType:dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ue,low:pe,manifest:null,max:null,maxLength:pe,media:null,method:null,min:null,minLength:pe,multiple:Ue,muted:Ue,name:null,nonce:null,noModule:Ue,noValidate:Ue,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:Ue,optimum:pe,pattern:null,ping:dt,placeholder:null,playsInline:Ue,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ue,referrerPolicy:null,rel:dt,required:Ue,reversed:Ue,rows:pe,rowSpan:pe,sandbox:dt,scope:null,scoped:Ue,seamless:Ue,selected:Ue,shadowRootClonable:Ue,shadowRootDelegatesFocus:Ue,shadowRootMode:null,shape:null,size:pe,sizes:null,slot:null,span:pe,spellCheck:vt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:pe,step:null,style:null,tabIndex:pe,target:null,title:null,translate:null,type:null,typeMustMatch:Ue,useMap:null,value:vt,width:pe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:dt,axis:null,background:null,bgColor:null,border:pe,borderColor:null,bottomMargin:pe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ue,declare:Ue,event:null,face:null,frame:null,frameBorder:null,hSpace:pe,leftMargin:pe,link:null,longDesc:null,lowSrc:null,marginHeight:pe,marginWidth:pe,noResize:Ue,noHref:Ue,noShade:Ue,noWrap:Ue,object:null,profile:null,prompt:null,rev:null,rightMargin:pe,rules:null,scheme:null,scrolling:vt,standby:null,summary:null,text:null,topMargin:pe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:pe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ue,disableRemotePlayback:Ue,prefix:null,property:null,results:pe,security:null,unselectable:null}}),Cy=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:uh,properties:{about:Cn,accentHeight:pe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:pe,amplitude:pe,arabicForm:null,ascent:pe,attributeName:null,attributeType:null,azimuth:pe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:pe,by:null,calcMode:null,capHeight:pe,className:dt,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:pe,diffuseConstant:pe,direction:null,display:null,dur:null,divisor:pe,dominantBaseline:null,download:Ue,dx:null,dy:null,edgeMode:null,editable:null,elevation:pe,enableBackground:null,end:null,event:null,exponent:pe,externalResourcesRequired:null,fill:null,fillOpacity:pe,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:pe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:pe,horizOriginX:pe,horizOriginY:pe,id:null,ideographic:pe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:pe,k:pe,k1:pe,k2:pe,k3:pe,k4:pe,kernelMatrix:Cn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:pe,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:pe,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:pe,overlineThickness:pe,paintOrder:null,panose1:null,path:null,pathLength:pe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:pe,pointsAtY:pe,pointsAtZ:pe,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:pe,specularExponent:pe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:pe,strikethroughThickness:pe,string:null,stroke:null,strokeDashArray:Cn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:pe,strokeOpacity:pe,strokeWidth:null,style:null,surfaceScale:pe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Cn,tabIndex:pe,tableValues:null,target:null,targetX:pe,targetY:pe,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:pe,underlineThickness:pe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:pe,values:null,vAlphabetic:pe,vMathematical:pe,vectorEffect:null,vHanging:pe,vIdeographic:pe,version:null,vertAdvY:pe,vertOriginX:pe,vertOriginY:pe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:pe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),my=/^data[-\w.:]+$/i,Bh=/-[a-z]/g,Ey=/[A-Z]/g;function Qy(n,A){const t=Cc(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"&&my.test(A)){if(A.charAt(4)==="-"){const I=A.slice(5).replace(Bh,fy);i="data"+I.charAt(0).toUpperCase()+I.slice(1)}else{const I=A.slice(4);if(!Bh.test(I)){let o=I.replace(Ey,Iy);o.charAt(0)!=="-"&&(o="-"+o),A="data"+o}}h=Qc}return new h(i,A)}function Iy(n){return"-"+n.toLowerCase()}function fy(n){return n.charAt(1).toUpperCase()}const wy=ah([gh,ch,hh,ph,By],"html"),Ch=ah([gh,ch,hh,ph,Cy],"svg"),mh={}.hasOwnProperty;function by(n,A){const t=A||{};function i(h,...I){let o=i.invalid;const b=i.handlers;if(h&&mh.call(h,n)){const D=String(h[n]);o=mh.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 Dy=/["&'<>`]/g,yy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vy=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,ky=/[|\\{}()[\]^$+*?.]/g,Eh=new WeakMap;function _y(n,A){if(n=n.replace(A.subset?My(A.subset):Dy,i),A.subset||A.escapeOnly)return n;return n.replace(yy,t).replace(vy,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 My(n){let A=Eh.get(n);return A||(A=xy(n),Eh.set(n,A)),A}function xy(n){const A=[];let t=-1;for(;++t<n.length;)A.push(n[t].replace(ky,"\\$&"));return new RegExp("(?:"+A.join("|")+")","g")}const Sy=/[\dA-Fa-f]/;function Fy(n,A,t){const i="&#x"+n.toString(16).toUpperCase();return t&&A&&!Sy.test(String.fromCharCode(A))?i:i+";"}const Ny=/\d/;function Ry(n,A,t){const i="&#"+String(n);return t&&A&&!Ny.test(String.fromCharCode(A))?i:i+";"}const Ly=["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"],Ic={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:"€"},Gy=["cent","copy","divide","gt","lt","not","para","times"],Qh={}.hasOwnProperty,fc={};let Oa;for(Oa in Ic)Qh.call(Ic,Oa)&&(fc[Ic[Oa]]=Oa);const Py=/[^\dA-Za-z]/;function Hy(n,A,t,i){const h=String.fromCharCode(n);if(Qh.call(fc,h)){const I=fc[h],o="&"+I;return t&&Ly.includes(I)&&!Gy.includes(I)&&(!i||A&&A!==61&&Py.test(String.fromCharCode(A)))?o:o+";"}return""}function Ky(n,A,t){let i=Fy(n,A,t.omitOptionalSemicolons),h;if((t.useNamedReferences||t.useShortestReferences)&&(h=Hy(n,A,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!h)&&t.useShortestReferences){const I=Ry(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 _y(n,Object.assign({format:Ky},A))}const Ty=/^>|^->|<!--|-->|--!>|<!-$/g,Uy=[">"],Yy=["<",">"];function Oy(n,A,t,i){return i.settings.bogusComments?"<?"+Ro(n.value,Object.assign({},i.settings.characterReferences,{subset:Uy}))+">":"<!--"+n.value.replace(Ty,h)+"-->";function h(I){return Ro(I,Object.assign({},i.settings.characterReferences,{subset:Yy}))}}function $y(n,A,t,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}function Ih(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 Jy(n,A){const t=A||{};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}function zy(n){return n.join(" ").trim()}const Zy=/[ \t\n\f\r]/g;function wc(n){return typeof n=="object"?n.type==="text"?fh(n.value):!1:fh(n)}function fh(n){return n.replace(Zy,"")===""}const _t=bh(1),wh=bh(-1),Wy=[];function bh(n){return A;function A(t,i,h){const I=t?t.children:Wy;let o=(i||0)+n,b=I[o];if(!h)for(;b&&wc(b);)o+=n,b=I[o];return b}}const jy={}.hasOwnProperty;function Dh(n){return A;function A(t,i,h){return jy.call(n,t.tagName)&&n[t.tagName](t,i,h)}}const bc=Dh({body:Xy,caption:Dc,colgroup:Dc,dd:tv,dt:ev,head:Dc,html:qy,li:Av,optgroup:nv,option:iv,p:Vy,rp:yh,rt:yh,tbody:rv,td:vh,tfoot:av,th:vh,thead:ov,tr:sv});function Dc(n,A,t){const i=_t(t,A,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&wc(i.value.charAt(0)))}function qy(n,A,t){const i=_t(t,A);return!i||i.type!=="comment"}function Xy(n,A,t){const i=_t(t,A);return!i||i.type!=="comment"}function Vy(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 Av(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&i.tagName==="li"}function ev(n,A,t){const i=_t(t,A);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function tv(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function yh(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function nv(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&i.tagName==="optgroup"}function iv(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function ov(n,A,t){const i=_t(t,A);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function rv(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function av(n,A,t){return!_t(t,A)}function sv(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&i.tagName==="tr"}function vh(n,A,t){const i=_t(t,A);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}const lv=Dh({body:uv,colgroup:dv,head:gv,html:cv,tbody:hv});function cv(n){const A=_t(n,-1);return!A||A.type!=="comment"}function gv(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 uv(n){const A=_t(n,-1,!0);return!A||A.type!=="comment"&&!(A.type==="text"&&wc(A.value.charAt(0)))&&!(A.type==="element"&&(A.tagName==="meta"||A.tagName==="link"||A.tagName==="script"||A.tagName==="style"||A.tagName==="template"))}function dv(n,A,t){const i=wh(t,A),h=_t(n,-1,!0);return t&&i&&i.type==="element"&&i.tagName==="colgroup"&&bc(i,t.children.indexOf(i),t)?!1:!!(h&&h.type==="element"&&h.tagName==="col")}function hv(n,A,t){const i=wh(t,A),h=_t(n,-1);return t&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&bc(i,t.children.indexOf(i),t)?!1:!!(h&&h.type==="element"&&h.tagName==="tr")}const $a={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){R1(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 As(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?As=function(A){return typeof A}:As=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},As(n)}function R1(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 L1(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 G1(n,A){if(n==null)return{};var t=L1(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 P1="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),kr=di(/Edge/i),Wh=di(/firefox/i),_r=di(/safari/i)&&!di(/chrome/i)&&!di(/android/i),jh=di(/iP(ad|od|hone)/i),H1=di(/chrome/i)&&di(/android/i),qh={capture:!1,passive:!1};function it(n,A,t){n.addEventListener(A,t,!hi&&qh)}function et(n,A,t){n.removeEventListener(A,t,!hi&&qh)}function es(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 K1(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&&es(n,A):es(n,A))||i&&n===t)return n;if(n===t)break}while(n=K1(n))}return null}var Xh=/\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(Xh," ").replace(" "+A+" "," ");n.className=(i+(t?" "+A:"")).replace(Xh," ")}}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 Vh(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,F;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,F=I.width):(o=0,b=0,D=window.innerHeight,w=window.innerWidth,S=window.innerHeight,F=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 P=h.getBoundingClientRect();o-=P.top+parseInt(Re(h,"border-top-width")),b-=P.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 Y=Go(h||n),K=Y&&Y.a,U=Y&&Y.d;Y&&(o/=U,b/=K,F/=K,S/=U,D=o+S,w=b+F)}return{top:o,left:b,bottom:D,right:w,width:F,height:S}}}function Ap(n,A,t){for(var i=Fi(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=Fi(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 xc(n,A){for(var t=n.lastElementChild;t&&(t===Le.ghost||Re(t,"display")==="none"||A&&!es(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||es(n,A))&&t++;return t}function ep(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 T1(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 Fi(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 U1(n,A){if(n&&A)for(var t in A)A.hasOwnProperty(t)&&(n[t]=A[t]);return n}function Sc(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 Mr;function tp(n,A){return function(){if(!Mr){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),Mr=setTimeout(function(){Mr=void 0},A)}}}function Y1(){clearTimeout(Mr),Mr=void 0}function np(n,A,t){n.scrollLeft+=A,n.scrollTop+=t}function ip(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 O1(){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(T1(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,F=Mt(w),P=w.prevFromRect,Y=w.prevToRect,K=b.rect,U=Go(w,!0);U&&(F.top-=U.f,F.left-=U.e),w.toRect=F,w.thisAnimationDuration&&Sc(P,F)&&!Sc(S,F)&&(K.top-F.top)/(K.left-F.left)===(S.top-F.top)/(S.left-F.left)&&(D=J1(K,P,Y,h.options)),Sc(F,S)||(w.prevFromRect=S,w.prevToRect=F,D||(D=h.options.animation),h.animate(w,K,F,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),F=(h.top-I.top)/(w||1);i.animatingX=!!S,i.animatingY=!!F,Re(i,"transform","translate3d("+S+"px,"+F+"px,0)"),this.forRepaintDummy=$1(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 $1(n){return n.offsetWidth}function J1(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=[],Fc={initializeByDefault:!0},xr={mount:function(A){for(var t in Fc)Fc.hasOwnProperty(t)&&!(t in A)&&(A[t]=Fc[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 z1(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,F=n.newDraggableIndex,P=n.originalEvent,Y=n.putSortable,K=n.extraEventProperties;if(A=A||t&&t[En],!!A){var U,v=A.options,Q="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!hi&&!kr?U=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(U=document.createEvent("Event"),U.initEvent(i,!0,!0)),U.to=o||t,U.from=b||t,U.item=h||t,U.clone=I,U.oldIndex=D,U.newIndex=w,U.oldDraggableIndex=S,U.newDraggableIndex=F,U.originalEvent=P,U.pullMode=Y?Y.lastPutMode:void 0;var L=qn(qn({},K),xr.getEventProperties(i,A));for(var k in L)U[k]=L[k];t&&t.dispatchEvent(U),v[Q]&&v[Q].call(A,U)}}var Z1=["evt"],ln=function(A,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=i.evt,I=G1(i,Z1);xr.pluginEvent.bind(Le)(A,t,qn({dragEl:me,parentEl:Qt,ghostEl:Ye,rootEl:Ct,nextEl:eo,lastDownEl:ts,cloneEl:It,cloneHidden:Ni,dragStarted:Fr,putSortable:Ht,activeSortable:Le.active,originalEvent:h,oldIndex:Ko,oldDraggableIndex:Sr,newIndex:Qn,newDraggableIndex:Ri,hideGhostForTarget:gp,unhideGhostForTarget:up,cloneNowHidden:function(){Ni=!0},cloneNowShown:function(){Ni=!1},dispatchSortableEvent:function(b){Wt({sortable:t,name:b,originalEvent:h})}},I))};function Wt(n){z1(qn({putSortable:Ht,cloneEl:It,targetEl:me,rootEl:Ct,oldIndex:Ko,oldDraggableIndex:Sr,newIndex:Qn,newDraggableIndex:Ri},n))}var me,Qt,Ye,Ct,eo,ts,It,Ni,Ko,Qn,Sr,Ri,ns,Ht,To=!1,is=!1,os=[],to,Yn,Nc,Rc,op,rp,Fr,Uo,Nr,Rr=!1,rs=!1,as,Ot,Lc=[],Gc=!1,ss=[],ls=typeof document<"u",cs=jh,ap=kr||hi?"cssFloat":"float",W1=ls&&!H1&&!jh&&"draggable"in document.createElement("div"),sp=function(){if(ls){if(hi)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),lp=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 F=b.float==="left"?"left":"right";return o&&(D.clear==="both"||D.clear===F)?"vertical":"horizontal"}return I&&(b.display==="block"||b.display==="flex"||b.display==="table"||b.display==="grid"||w>=h&&i[ap]==="none"||o&&i[ap]==="none"&&w+S>h)?"vertical":"horizontal"},j1=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},q1=function(A,t){var i;return os.some(function(h){var I=h[En].options.emptyInsertThreshold;if(!(!I||xc(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},cp=function(A){function t(I,o){return function(b,D,w,S){var F=b.options.group.name&&D.options.group.name&&b.options.group.name===D.options.group.name;if(I==null&&(o||F))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 P=(o?b:D).options.group.name;return I===!0||typeof I=="string"&&I===P||I.join&&I.indexOf(P)>-1}}var i={},h=A.group;(!h||As(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},gp=function(){!sp&&Ye&&Re(Ye,"display","none")},up=function(){!sp&&Ye&&Re(Ye,"display","")};ls&&document.addEventListener("click",function(n){if(is)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),is=!1,!1},!0);var no=function(A){if(me){A=A.touches?A.touches[0]:A;var t=q1(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)}}},X1=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 lp(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&&!_r,emptyInsertThreshold:5};xr.initializePlugins(this,n,t);for(var i in t)!(i in A)&&(A[i]=t[i]);cp(A);for(var h in this)h.charAt(0)==="_"&&typeof this[h]=="function"&&(this[h]=this[h].bind(this));this.nativeDraggable=A.forceFallback?!1:W1,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)),os.push(this.el),A.store&&A.store.get&&this.sort(A.store.get(this)||[]),ui(this,O1())}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(rk(i),!me&&!(/mousedown|pointerdown/.test(o)&&A.button!==0||h.disabled)&&!w.isContentEditable&&!(!this.nativeDraggable&&_r&&D&&D.tagName.toUpperCase()==="SELECT")&&(D=Xn(D,h.draggable,i,!1),!(D&&D.animated)&&ts!==D)){if(Ko=xn(D),Sr=xn(D,h.draggable),typeof S=="function"){if(S.call(this,A,D,this)){Wt({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(F){if(F=Xn(w,F.trim(),i,!1),F)return Wt({sortable:t,rootEl:F,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,ts=i,ns=o.group,Le.dragged=me,to={target:me,clientX:(t||A).clientX,clientY:(t||A).clientY},op=to.clientX-w.left,rp=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(),!Wh&&h.nativeDraggable&&(me.draggable=!0),h._triggerDragStart(A,t),Wt({sortable:h,name:"choose",originalEvent:A}),mn(me,o.chosenClass,!0)},o.ignore.split(",").forEach(function(S){Vh(me,S.trim(),Pc)}),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),Wh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,me.draggable=!0),ln("delayStart",this,{evt:A}),o.delay&&(!o.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(kr||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&&Pc(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?us(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",X1);var i=this.options;!A&&mn(me,i.dragClass,!1),mn(me,i.ghostClass,!0),Le.active=this,A&&this._appendGhost(),Wt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Yn){this._lastX=Yn.clientX,this._lastY=Yn.clientY,gp();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);up()}},_onTouchMove:function(A){if(to){var t=this.options,i=t.fallbackTolerance,h=t.fallbackOffset,I=A.touches?A.touches[0]:A,o=Ye&&Go(Ye,!0),b=Ye&&o&&o.a,D=Ye&&o&&o.d,w=cs&&Ot&&ep(Ot),S=(I.clientX-to.clientX+h.x)/(b||1)+(w?w[0]-Lc[0]:0)/(b||1),F=(I.clientY-to.clientY+h.y)/(D||1)+(w?w[1]-Lc[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(Ye){o?(o.e+=S-(Nc||0),o.f+=F-(Rc||0)):o={a:1,b:0,c:0,d:1,e:S,f:F};var P="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Re(Ye,"webkitTransform",P),Re(Ye,"mozTransform",P),Re(Ye,"msTransform",P),Re(Ye,"transform",P),Nc=S,Rc=F,Yn=I}A.cancelable&&A.preventDefault()}},_appendGhost:function(){if(!Ye){var A=this.options.fallbackOnBody?document.body:Ct,t=Mt(me,!0,cs,!0,A),i=this.options;if(cs){for(Ot=A;Re(Ot,"position")==="static"&&Re(Ot,"transform")==="none"&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=Vn()),t.top+=Ot.scrollTop,t.left+=Ot.scrollLeft):Ot=Vn(),Lc=ep(Ot)}Ye=me.cloneNode(!0),mn(Ye,i.ghostClass,!1),mn(Ye,i.fallbackClass,!0),mn(Ye,i.dragClass,!0),Re(Ye,"transition",""),Re(Ye,"transform",""),Re(Ye,"box-sizing","border-box"),Re(Ye,"margin",0),Re(Ye,"top",t.top),Re(Ye,"left",t.left),Re(Ye,"width",t.width),Re(Ye,"height",t.height),Re(Ye,"opacity","0.8"),Re(Ye,"position",cs?"absolute":"fixed"),Re(Ye,"zIndex","100000"),Re(Ye,"pointerEvents","none"),Le.ghost=Ye,A.appendChild(Ye),Re(Ye,"transform-origin",op/parseInt(Ye.style.width)*100+"% "+rp/parseInt(Ye.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=ip(me),It.draggable=!1,It.style["will-change"]="",this._hideClone(),mn(It,this.options.chosenClass,!1),Le.clone=It),i.cloneId=us(function(){ln("clone",i),!Le.eventCanceled&&(i.options.removeCloneOnHide||Ct.insertBefore(It,me),i._hideClone(),Wt({sortable:i,name:"clone"}))}),!t&&mn(me,I.dragClass,!0),t?(is=!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=us(i._dragStarted.bind(i,t,A)),it(document,"selectstart",i),Fr=!0,_r&&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=ns===D,F=b.sort,P=Ht||w,Y,K=this,U=!1;if(Gc)return;function v(x,H){ln(x,K,qn({evt:A,isOwner:S,axis:Y?"vertical":"horizontal",revert:o,dragRect:h,targetRect:I,canSort:F,fromSortable:P,target:i,completed:L,onMove:function(J,q){return gs(Ct,t,me,h,J,Mt(J),A,q)},changed:k},H))}function Q(){v("dragOverAnimationCapture"),K.captureAnimationState(),K!==P&&P.captureAnimationState()}function L(x){return v("dragOverCompleted",{insertion:x}),x&&(S?w._hideClone():w._showClone(K),K!==P&&(mn(me,Ht?Ht.options.ghostClass:w.options.ghostClass,!1),mn(me,b.ghostClass,!0)),Ht!==K&&K!==Le.active?Ht=K:K===Le.active&&Ht&&(Ht=null),P===K&&(K._ignoreWhileAnimating=i),K.animateAll(function(){v("dragOverAnimationComplete"),K._ignoreWhileAnimating=null}),K!==P&&(P.animateAll(),P._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(),U=!0}function k(){Qn=xn(me),Ri=xn(me,b.draggable),Wt({sortable:K,name:"change",toEl:t,newIndex:Qn,newDraggableIndex:Ri,originalEvent:A})}if(A.preventDefault!==void 0&&A.cancelable&&A.preventDefault(),i=Xn(i,b.draggable,t,!0),v("dragOver"),Le.eventCanceled)return U;if(me.contains(A.target)||i.animated&&i.animatingX&&i.animatingY||K._ignoreWhileAnimating===i)return L(!1);if(is=!1,w&&!b.disabled&&(S?F||(o=Qt!==Ct):Ht===this||(this.lastPutMode=ns.checkPull(this,w,me,A))&&D.checkPut(this,w,me,A))){if(Y=this._getDirection(A,i)==="vertical",h=Mt(me),v("dragOverValid"),Le.eventCanceled)return U;if(o)return Qt=Ct,Q(),this._hideClone(),v("revert"),Le.eventCanceled||(eo?Ct.insertBefore(me,eo):Ct.appendChild(me)),L(!0);var y=xc(t,b.draggable);if(!y||tk(A,Y,this)&&!y.animated){if(y===me)return L(!1);if(y&&t===A.target&&(i=y),i&&(I=Mt(i)),gs(Ct,t,me,h,i,I,A,!!i)!==!1)return Q(),t.appendChild(me),Qt=t,k(),L(!0)}else if(y&&ek(A,Y,this)){var m=Po(t,0,b,!0);if(m===me)return L(!1);if(i=m,I=Mt(i),gs(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 B=0,u,l=me.parentNode!==t,g=!j1(me.animated&&me.toRect||h,i.animated&&i.toRect||I,Y),s=Y?"top":"left",d=Ap(i,"top","top")||Ap(me,"top","top"),p=d?d.scrollTop:void 0;Uo!==i&&(u=I[s],Rr=!1,rs=!g&&b.invertSwap||l),B=nk(A,i,I,Y,g?1:b.swapThreshold,b.invertedSwapThreshold==null?b.swapThreshold:b.invertedSwapThreshold,rs,Uo===i);var a;if(B!==0){var r=xn(me);do r-=B,a=Qt.children[r];while(a&&(Re(a,"display")==="none"||a===Ye))}if(B===0||a===i)return L(!1);Uo=i,Nr=B;var C=i.nextElementSibling,E=!1;E=B===1;var M=gs(Ct,t,me,h,i,I,A,E);if(M!==!1)return(M===1||M===-1)&&(E=M===1),Gc=!0,setTimeout(Ak,30),Q(),E&&!C?t.appendChild(me):i.parentNode.insertBefore(me,E?C:i),d&&np(d,0,p-d.scrollTop),Qt=me.parentNode,u!==void 0&&!rs&&(as=Math.abs(u-Mt(i)[s])),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),Ri=xn(me,i.draggable),ln("drop",this,{evt:A}),Qt=me&&me.parentNode,Qn=xn(me),Ri=xn(me,i.draggable),Le.eventCanceled){this._nulling();return}To=!1,rs=!1,Rr=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Hc(this.cloneId),Hc(this._dragStartId),this.nativeDraggable&&(et(document,"drop",this),et(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),_r&&Re(document.body,"user-select",""),Re(me,"transform",""),A&&(Fr&&(A.cancelable&&A.preventDefault(),!i.dropBubble&&A.stopPropagation()),Ye&&Ye.parentNode&&Ye.parentNode.removeChild(Ye),(Ct===Qt||Ht&&Ht.lastPutMode!=="clone")&&It&&It.parentNode&&It.parentNode.removeChild(It),me&&(this.nativeDraggable&&et(me,"dragend",this),Pc(me),me.style["will-change"]="",Fr&&!To&&mn(me,Ht?Ht.options.ghostClass:this.options.ghostClass,!1),mn(me,this.options.chosenClass,!1),Wt({sortable:this,name:"unchoose",toEl:Qt,newIndex:null,newDraggableIndex:null,originalEvent:A}),Ct!==Qt?(Qn>=0&&(Wt({rootEl:Qt,name:"add",toEl:Qt,fromEl:Ct,originalEvent:A}),Wt({sortable:this,name:"remove",toEl:Qt,originalEvent:A}),Wt({rootEl:Qt,name:"sort",toEl:Qt,fromEl:Ct,originalEvent:A}),Wt({sortable:this,name:"sort",toEl:Qt,originalEvent:A})),Ht&&Ht.save()):Qn!==Ko&&Qn>=0&&(Wt({sortable:this,name:"update",toEl:Qt,originalEvent:A}),Wt({sortable:this,name:"sort",toEl:Qt,originalEvent:A})),Le.active&&((Qn==null||Qn===-1)&&(Qn=Ko,Ri=Sr),Wt({sortable:this,name:"end",toEl:Qt,originalEvent:A}),this.save()))),this._nulling()},_nulling:function(){ln("nulling",this),Ct=me=Qt=Ye=eo=It=ts=Ni=to=Yn=Fr=Qn=Ri=Ko=Sr=Uo=Nr=Ht=ns=Le.dragged=Le.ghost=Le.clone=Le.active=null,ss.forEach(function(A){A.checked=!0}),ss.length=Nc=Rc=0},handleEvent:function(A){switch(A.type){case"drop":case"dragend":this._onDrop(A);break;case"dragenter":case"dragover":me&&(this._onDragOver(A),V1(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)||ok(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=xr.modifyOption(this,A,t);typeof h<"u"?i[A]=h:i[A]=t,A==="group"&&cp(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(),os.splice(os.indexOf(this.el),1),this.el=A=null},_hideClone:function(){if(!Ni){if(ln("hideClone",this),Le.eventCanceled)return;Re(It,"display","none"),this.options.removeCloneOnHide&&It.parentNode&&It.parentNode.removeChild(It),Ni=!0}},_showClone:function(A){if(A.lastPutMode!=="clone"){this._hideClone();return}if(Ni){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",""),Ni=!1}}};function V1(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function gs(n,A,t,i,h,I,o,b){var D,w=n[En],S=w.options.onMove,F;return window.CustomEvent&&!hi&&!kr?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&&(F=S.call(w,D,o)),F}function Pc(n){n.draggable=!1}function Ak(){Gc=!1}function ek(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 tk(n,A,t){var i=Mt(xc(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 nk(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,F=i?t.bottom:t.right,P=!1;if(!o){if(b&&as<w*h){if(!Rr&&(Nr===1?D>S+w*I/2:D<F-w*I/2)&&(Rr=!0),Rr)P=!0;else if(Nr===1?D<S+as:D>F-as)return-Nr}else if(D>S+w*(1-h)/2&&D<F-w*(1-h)/2)return ik(A)}return P=P||o,P&&(D<S+w*I/2||D>F-w*I/2)?D>S+w/2?1:-1:0}function ik(n){return xn(me)<xn(n)?1:-1}function ok(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 rk(n){ss.length=0;for(var A=n.getElementsByTagName("input"),t=A.length;t--;){var i=A[t];i.checked&&ss.push(i)}}function us(n){return setTimeout(n,0)}function Hc(n){return clearTimeout(n)}ls&&it(document,"touchmove",function(n){(Le.active||To)&&n.cancelable&&n.preventDefault()}),Le.utils={on:it,off:et,css:Re,find:Vh,is:function(A,t){return!!Xn(A,t,A,!1)},extend:U1,throttle:tp,closest:Xn,toggleClass:mn,clone:ip,index:xn,nextTick:us,cancelNextTick:Hc,detectDirection:lp,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)),xr.mount(i)})},Le.create=function(n,A){return new Le(n,A)},Le.version=P1;var kt=[],Lr,Kc,Tc=!1,Uc,Yc,ds,Gr;function ak(){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)),dp(),hs(),Y1()},nulling:function(){ds=Kc=Lr=Tc=Gr=Uc=Yc=null,kt.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(ds=t,i||this.options.forceAutoScrollFallback||kr||hi||_r){Oc(t,this.options,b,i);var D=Fi(b,!0);Tc&&(!Gr||I!==Uc||o!==Yc)&&(Gr&&dp(),Gr=setInterval(function(){var w=Fi(document.elementFromPoint(I,o),!0);w!==D&&(D=w,hs()),Oc(t,h.options,w,i)},10),Uc=I,Yc=o)}else{if(!this.options.bubbleScroll||Fi(b,!0)===Vn()){hs();return}Oc(t,this.options,Fi(b,!1),!1)}}},ui(n,{pluginName:"scroll",initializeByDefault:!0})}function hs(){kt.forEach(function(n){clearInterval(n.pid)}),kt=[]}function dp(){clearInterval(Gr)}var Oc=tp(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;Kc!==t&&(Kc=t,hs(),Lr=A.scroll,S=A.scrollFn,Lr===!0&&(Lr=Fi(t,!0)));var F=0,P=Lr;do{var Y=P,K=Mt(Y),U=K.top,v=K.bottom,Q=K.left,L=K.right,k=K.width,y=K.height,m=void 0,B=void 0,u=Y.scrollWidth,l=Y.scrollHeight,g=Re(Y),s=Y.scrollLeft,d=Y.scrollTop;Y===D?(m=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),B=y<l&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(m=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"),B=y<l&&(g.overflowY==="auto"||g.overflowY==="scroll"));var p=m&&(Math.abs(L-h)<=o&&s+k<u)-(Math.abs(Q-h)<=o&&!!s),a=B&&(Math.abs(v-I)<=o&&d+y<l)-(Math.abs(U-I)<=o&&!!d);if(!kt[F])for(var r=0;r<=F;r++)kt[r]||(kt[r]={});(kt[F].vx!=p||kt[F].vy!=a||kt[F].el!==Y)&&(kt[F].el=Y,kt[F].vx=p,kt[F].vy=a,clearInterval(kt[F].pid),(p!=0||a!=0)&&(w=!0,kt[F].pid=setInterval((function(){i&&this.layer===0&&Le.active._onTouchMove(ds);var C=kt[this.layer].vy?kt[this.layer].vy*b:0,E=kt[this.layer].vx?kt[this.layer].vx*b:0;typeof S=="function"&&S.call(Le.dragged.parentNode[En],E,C,n,ds,kt[this.layer].el)!=="continue"||np(kt[this.layer].el,E,C)}).bind({layer:F}),24))),F++}while(A.bubbleScroll&&P!==D&&(P=Fi(P,!1)));Tc=w}},30),hp=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,F=document.elementFromPoint(S.clientX,S.clientY);D(),w&&!w.el.contains(F)&&(o("spill"),this.onSpill({dragEl:h,putSortable:i}))}};function $c(){}$c.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:hp},ui($c,{pluginName:"revertOnSpill"});function Jc(){}Jc.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:hp},ui(Jc,{pluginName:"removeOnSpill"}),Le.mount(new ak),Le.mount(Jc,$c);var sk=Object.defineProperty,lk=Object.defineProperties,ck=Object.getOwnPropertyDescriptors,pp=Object.getOwnPropertySymbols,gk=Object.prototype.hasOwnProperty,uk=Object.prototype.propertyIsEnumerable,Bp=(n,A,t)=>A in n?sk(n,A,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[A]=t,Li=(n,A)=>{for(var t in A||(A={}))gk.call(A,t)&&Bp(n,t,A[t]);if(pp)for(var t of pp(A))uk.call(A,t)&&Bp(n,t,A[t]);return n},ps=(n,A)=>lk(n,ck(A));function zc(n){n.parentElement!==null&&n.parentElement.removeChild(n)}function Cp(n,A,t){const i=t===0?n.children[0]:n.children[t-1].nextSibling;n.insertBefore(A,i)}function dk(){return typeof window<"u"?window.console:global.console}const hk=dk();function pk(n){const A=Object.create(null);return function(i){return A[i]||(A[i]=n(i))}}const Bk=/-(\w)/g,Ck=pk(n=>n.replace(Bk,(A,t)=>t.toUpperCase())),mp=["Start","Add","Remove","Update","End"],Ep=["Choose","Unchoose","Sort","Filter","Clone"],Qp=["Move"],mk=[Qp,mp,Ep].flatMap(n=>n).map(n=>`on${n}`),Zc={manage:Qp,manageAndEmit:mp,emit:Ep};function Ek(n){return mk.indexOf(n)!==-1}const Qk=["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 Ik(n){return Qk.includes(n)}function fk(n){return["transition-group","TransitionGroup"].includes(n)}function Ip(n){return["id","class","role","style"].includes(n)||n.startsWith("data-")||n.startsWith("aria-")||n.startsWith("on")}function fp(n){return n.reduce((A,[t,i])=>(A[t]=i,A),{})}function wk({$attrs:n,componentData:A={}}){const t=fp(Object.entries(n).filter(([i,h])=>Ip(i)));return Li(Li({},t),A)}function bk({$attrs:n,callBackBuilder:A}){const t=fp(wp(n));Object.entries(A).forEach(([h,I])=>{Zc[h].forEach(o=>{t[`on${o}`]=I(o)})});const i=`[data-draggable]${t.draggable||""}`;return ps(Li({},t),{draggable:i})}function wp(n){return Object.entries(n).filter(([A,t])=>!Ip(A)).map(([A,t])=>[Ck(A),t]).filter(([A,t])=>!Ek(A))}const bp=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||{}},Dk=(n,A)=>n.__draggable_context=A,Dp=n=>n.__draggable_context;class yk{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)=>{Dk(bp(i),{element:t[h],index:h})})}getUnderlyingVm(A){return Dp(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=Dp(o);if(b)return b.index;if(h===0)return 0;const D=bp(i[0]),w=[...I].findIndex(S=>S===D);return A<w?0:h}}function vk(n,A){const t=n[A];return t?t():[]}function kk({$slots:n,realList:A,getKey:t}){const i=A||[],[h,I]=["header","footer"].map(D=>vk(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=ps(Li({},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 _k(n){const A=fk(n),t=!Ik(n)&&!A;return{transition:A,externalComponent:t,tag:t?e.resolveComponent(n):A?e.TransitionGroup:n}}function Mk({$slots:n,tag:A,realList:t,getKey:i}){const h=kk({$slots:n,realList:t,getKey:i}),I=_k(A);return new yk({nodes:h,root:I,realList:t})}function yp(n,A){e.nextTick(()=>this.$emit(n.toLowerCase(),A))}function vp(n){return(A,t)=>{if(this.realList!==null)return this[`onDrag${n}`](A,t)}}function xk(n){const A=vp.call(this,n);return(t,i)=>{A.call(this,t,i),yp.call(this,n,t)}}let Wc=null;const Sk={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}},Fk=["update:modelValue","change",...[...Zc.manageAndEmit,...Zc.emit].map(n=>n.toLowerCase())],kp=e.defineComponent({name:"draggable",inheritAttrs:!1,props:Sk,emits:Fk,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:n,$attrs:A,tag:t,componentData:i,realList:h,getKey:I}=this,o=Mk({$slots:n,tag:t,realList:h,getKey:I});this.componentStructure=o;const b=wk({$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&&hk.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=bk({$attrs:n,callBackBuilder:{manageAndEmit:I=>xk.call(this,I),emit:I=>yp.bind(this,I),manage:I=>vp.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&&wp(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 Li(Li({},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),Wc=n.item},onDragAdd(n){const A=n.item._underlying_vm_;if(A===void 0)return;zc(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(Cp(this.$el,n.item,n.oldIndex),n.pullMode==="clone"){zc(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){zc(n.item),Cp(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(Wc)!==-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=ps(Li({},this.context),{futureIndex:I}),b=ps(Li({},n),{relatedContext:h,draggedContext:o});return t(b,A)},onDragEnd(){Wc=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=yt(),i=$o(),h=e.reactive({visible:!1,title:""}),I=()=>{h.visible=!0,h.title=A.label},o=e.computed({get(){return ma(t.formValues,A.name)},set(Y){const K=vo(t.formValues,A.name,Y);t.updateFormValues(K)}}),b=e.computed(()=>{const{rules:Y,required:K,component:U}=A,v=[];if(K&&v.push({required:!0,trigger:"blur",message:"Required"}),Y){const Q=Y.map(L=>{const{type:k,message:y,trigger:m,customReg:B,templateExp:u}=L,l={message:y,trigger:m};return["email","url"].includes(k)?{...l,type:k}:k==="custom"&&B?{...l,pattern:fm(B)}:Im(k)?{...l,pattern:k}:k==="template"?{...l,validator:()=>u}:{}});return[...v,...Q]}if(U==="VerifyCode"){const Q={trigger:"blur",message:"验证码错误!",validator:()=>t.vCodePass};return[...v,Q]}return v}),D=e.computed(()=>{const Y=i[A.component]||{};return Y.modelName||(Y.modelName="modelValue"),Y}),w=e.computed(()=>{const Y={name:A.name,...A.props};return A.children&&(Y.children=A.children),Y}),S=()=>{if(A.component!=="DragList")return[];const Y=w.value.gridlayout||[],K=w.value.children||[],U=w.value.rowHeight||30;return Y.map((v,Q)=>{var L;return{...v,i:(L=K[Q])==null?void 0:L.name,rowHeight:U}})},F=e.ref(S()),P=Y=>Y==null?void 0:Y.replace(/ /g," ");return e.onBeforeMount(()=>{if(o.value===void 0&&A.initialValue!==void 0&&!t.design){const Y=vo(t.initialValues,A.name,A.initialValue);t.updateInitialValues(Y),o.value=A.initialValue}}),e.watch(o,(Y,K)=>{const U=A.change,v=ut.isEqual(Y,K);if(!U||v)return;let Q=ut.cloneDeep(t.formValues);U.forEach(({target:L,value:k,condition:y})=>{if(y!==!1){if(L.includes(".*.")){const m=L.split(".*."),B=m.pop(),u=m.join("."),l=ma(t.formValues,u);ut.isArray(l)&&(Q=vo(Q,u,l.map(g=>({...g,[B]:k}))));return}Q=vo(Q,L,k)}}),t.updateFormValues(Q)},{immediate:!0}),(Y,K)=>{var k;const U=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||!Y.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:F.value,"onUpdate:gridlayout":K[0]||(K[0]=y=>F.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,`${Y.component}-${Y.name}`,{readMode:((k=A.props)==null?void 0:k.read)||e.unref(t).schema.read}]),style:e.normalizeStyle(Y.style),key:Y.name,prop:Y.name,"label-width":Y.hideLabel?"0":e.unref(t).schema.labelWidth,rules:b.value},e.createSlots({default:e.withCtx(()=>[Y.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(Nt)(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},[Y.hideLabel?void 0:{name:"label",fn:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(je)("form-item-label"),Y.label&&`${Y.name}-label`])},[e.createElementVNode("div",{style:e.normalizeStyle(e.unref(t).schema.labelBold&&"font-weight: bold")},e.toDisplayString(P(Y.label)),5),Y.help?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(je)("form-item-label-ico"))},[e.createVNode(U,{effect:"dark",content:Y.help},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(be),{name:"help"})])]),_:1},8,["content"])],2)):e.createCommentVNode("",!0),Y.labelSuffix?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(je)("form-item-label-suffix"))},[Y.labelSuffix.component==="Popover"?(e.openBlock(),e.createBlock(mB,e.normalizeProps(e.mergeProps({key:0},e.unref(Nt)(Y.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)}}}),Nk={key:0,class:"actions-lt"},Rk={class:"canvas-move",size:"small",type:"primary"},Lk={key:1,class:"hidden-ico"},Gk={key:2,class:"actions-rb"},Pk=["onClick"],Hk={key:3,class:"layout-title"},Kk=e.defineComponent({__name:"CanvasItem",props:{data:{}},setup(n){const A=n,t=Sn(),h=$o()[A.data.component],I=e.computed(()=>{var P;return{[je("canvas-item")]:!0,active:A.data.designKey===((P=t.current)==null?void 0:P.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=P=>{t.updateCurrent(P),t.rightTab="attr"},w=e.ref(!1),S=()=>{w.value=!w.value},F=[{icon:"copy",handle:P=>{const Y=Gd(t.list,P.designKey);t.updateList(Y)}},{icon:"delete",bg:"var(--el-color-danger)",handle:P=>{const Y=wu(t.list,K=>K.designKey!==P.designKey);t.updateList(Y)}}];return(P,Y)=>{var K,U;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(I.value),onClick:Y[0]||(Y[0]=e.withModifiers(v=>D(P.data),["stop"])),onMousemove:e.withModifiers(o,["stop"]),onMouseleave:e.withModifiers(b,["stop"])},[P.data.designKey===((K=e.unref(t).current)==null?void 0:K.designKey)?(e.openBlock(),e.createElementBlock("div",Nk,[e.createElementVNode("div",Rk,[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),P.data.hidden?(e.openBlock(),e.createElementBlock("div",Lk,[e.createVNode(e.unref(be),{name:"hidden"})])):e.createCommentVNode("",!0),P.data.designKey===((U=e.unref(t).current)==null?void 0:U.designKey)?(e.openBlock(),e.createElementBlock("ul",Gk,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(F,({icon:v,handle:Q,bg:L})=>e.createElementVNode("li",{class:"actions-rb-item",onClick:e.withModifiers(k=>Q(P.data),["stop"]),key:v,style:e.normalizeStyle({backgroundColor:L})},[e.createVNode(e.unref(be),{name:v},null,8,["name"])],12,Pk)),64))])):e.createCommentVNode("",!0),e.unref(h).lbTitle?(e.openBlock(),e.createElementBlock("div",Hk,e.toDisplayString(e.unref(h).title),1)):e.createCommentVNode("",!0),e.createVNode(io,e.mergeProps(P.data,{props:P.data.props}),null,16,["props"])],34)}}}),jc=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(ec(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(kp),{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(Kk,{key:0,data:o},null,8,["data"])):e.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),Tk=typeof window<"u";var _p;Tk&&((_p=window==null?void 0:window.navigator)!=null&&_p.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function In(n){return n==null}function Mp(){}const Uk=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(Uk)));function Yk(){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 xp(n,A=16){if(typeof n!="function")return Mp;const t=(...I)=>{n(...I)};if(A<=0)return Sp(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 Ok(n,A=100){if(typeof n!="function")return Mp;const t=(...h)=>{n(...h)};if(A<=0)return Sp(t);let i;return function(...h){clearTimeout(i),i=setTimeout(()=>{t(...h)},A)}}function Sp(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 Pr=new Set,Fp=new WeakMap;function $k(){Pr.forEach(n=>{n(...Fp.get(n))}),Pr.clear()}function jt(n,...A){if(typeof n!="function")return n;Fp.set(n,A),!Pr.has(n)&&(Pr.add(n),Pr.size===1&&Promise.resolve().then($k))}const Np=Symbol("LAYOUT_KEY"),Rp=Symbol("EMITTER_KEY");function Jk(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 qc(n){const A=Array(n.length);for(let t=0,i=n.length;t<i;t++)A[t]=zk(n[t]);return A}function zk(n){return{...n}}function Lp(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=Hp(n),h=Tp(n),I=Array(n.length);for(let o=0,b=h.length;o<b;o++){let D=h[o];D.static||(D=Zk(i,D,A,t),i.push(D)),I[n.findIndex(w=>w.i===D.i)]=D,D.moved=!1}return I}function Zk(n,A,t,i){if(t)for(;A.y>0&&!Hr(n,A);)A.y--;else if(i){const I=i[A.i].y;for(;A.y>I&&!Hr(n,A);)A.y--}let h;for(;h=Hr(n,A);)A.y=h.y+h.h;return A}function Wk(n,A){const t=Hp(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(;Hr(t,I);)I.y++}return n}function Gp(n,A){for(let t=0,i=n.length;t<i;t++)if(n[t].i===A)return n[t]}function Hr(n,A){for(let t=0,i=n.length;t<i;t++)if(Lp(n[t],A))return n[t]}function Pp(n,A){return n.filter(t=>Lp(t,A))}function Hp(n){return n.filter(A=>A.static)}function Xc(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=Tp(n);D&&(w=w.reverse());const S=Pp(w,A);if(I&&S.length)return A.x=o,A.y=b,A.moved=!1,n;for(let F=0,P=S.length;F<P;F++){const Y=S[F];Y.moved||A.y>Y.y&&A.y-Y.y>Y.h/4||(Y.static?n=Kp(n,Y,A,h):n=Kp(n,A,Y,h))}return n}function Kp(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),!Hr(n,h))return Xc(n,t,void 0,h.y,!1)}return Xc(n,t,void 0,t.y+1,!1)}function jk(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 qk(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 Xk(n,A,t,i){return{top:n+"px",left:A+"px",width:t+"px",height:i+"px",position:"absolute"}}function Vk(n,A,t,i){return{top:n+"px",right:A+"px",width:t+"px",height:i+"px",position:"absolute"}}function Tp(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 A_(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 e_(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 Up(n){return t_(n)}function t_(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 Yp(n,A,t,i){return n_(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 n_(n){return typeof n=="number"&&!Number.isNaN(n)}function i_(n,A){const t=$p(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 Op(n,A){if(!A[n])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+n+" is missing!");return A[n]}function o_(n,A,t,i,h,I,o){if(A[i])return qc(A[i]);let b=n;const D=$p(t),w=D.slice(D.indexOf(i));for(let S=0,F=w.length;S<F;S++){const P=w[S];if(A[P]){b=A[P];break}}return b=qc(b||[]),Yo(Wk(b,{cols:I}),o)}function $p(n){return Object.keys(n).sort((A,t)=>n[A]-n[t])}let r_="auto";function a_(){return typeof document<"u"}function Jp(){return a_()?typeof document.dir<"u"?document.dir:document.getElementsByTagName("html")[0].getAttribute("dir"):r_}var Bs={exports:{}};Bs.exports,function(n,A){(function(t,i){n.exports=i()})(yo,function(){function t(R,N){var j=Object.keys(R);if(Object.getOwnPropertySymbols){var nA=Object.getOwnPropertySymbols(R);N&&(nA=nA.filter(function(lA){return Object.getOwnPropertyDescriptor(R,lA).enumerable})),j.push.apply(j,nA)}return j}function i(R){for(var N=1;N<arguments.length;N++){var j=arguments[N]!=null?arguments[N]:{};N%2?t(Object(j),!0).forEach(function(nA){D(R,nA,j[nA])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(j)):t(Object(j)).forEach(function(nA){Object.defineProperty(R,nA,Object.getOwnPropertyDescriptor(j,nA))})}return R}function h(R){return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(N){return typeof N}:function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},h(R)}function I(R,N){if(!(R instanceof N))throw new TypeError("Cannot call a class as a function")}function o(R,N){for(var j=0;j<N.length;j++){var nA=N[j];nA.enumerable=nA.enumerable||!1,nA.configurable=!0,"value"in nA&&(nA.writable=!0),Object.defineProperty(R,U(nA.key),nA)}}function b(R,N,j){return N&&o(R.prototype,N),Object.defineProperty(R,"prototype",{writable:!1}),R}function D(R,N,j){return(N=U(N))in R?Object.defineProperty(R,N,{value:j,enumerable:!0,configurable:!0,writable:!0}):R[N]=j,R}function w(R,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(N&&N.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),N&&F(R,N)}function S(R){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(N){return N.__proto__||Object.getPrototypeOf(N)},S(R)}function F(R,N){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(j,nA){return j.__proto__=nA,j},F(R,N)}function P(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function Y(R){var N=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 j,nA=S(R);if(N){var lA=S(this).constructor;j=Reflect.construct(nA,arguments,lA)}else j=nA.apply(this,arguments);return function(hA,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 P(hA)}(this,j)}}function K(){return K=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(R,N,j){var nA=function(hA,mA){for(;!Object.prototype.hasOwnProperty.call(hA,mA)&&(hA=S(hA))!==null;);return hA}(R,N);if(nA){var lA=Object.getOwnPropertyDescriptor(nA,N);return lA.get?lA.get.call(arguments.length<3?R:j):lA.value}},K.apply(this,arguments)}function U(R){var N=function(j,nA){if(typeof j!="object"||j===null)return j;var lA=j[Symbol.toPrimitive];if(lA!==void 0){var hA=lA.call(j,nA);if(typeof hA!="object")return hA;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(j)}(R,"string");return typeof N=="symbol"?N:N+""}var v=function(R){return!(!R||!R.Window)&&R instanceof R.Window},Q=void 0,L=void 0;function k(R){Q=R;var N=R.document.createTextNode("");N.ownerDocument!==R.document&&typeof R.wrap=="function"&&R.wrap(N)===N&&(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"},B=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:B,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 N=y(R)||L;return/object|function/.test(typeof Element>"u"?"undefined":h(Element))?R instanceof Element||R instanceof N.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&&B(R.splice)}};function l(R){var N=R.interaction;if(N.prepared.name==="drag"){var j=N.prepared.axis;j==="x"?(N.coords.cur.page.y=N.coords.start.page.y,N.coords.cur.client.y=N.coords.start.client.y,N.coords.velocity.client.y=0,N.coords.velocity.page.y=0):j==="y"&&(N.coords.cur.page.x=N.coords.start.page.x,N.coords.cur.client.x=N.coords.start.client.x,N.coords.velocity.client.x=0,N.coords.velocity.page.x=0)}}function g(R){var N=R.iEvent,j=R.interaction;if(j.prepared.name==="drag"){var nA=j.prepared.axis;if(nA==="x"||nA==="y"){var lA=nA==="x"?"y":"x";N.page[lA]=j.coords.start.page[lA],N.client[lA]=j.coords.start.client[lA],N.delta[lA]=0}}}var s={id:"actions/drag",install:function(R){var N=R.actions,j=R.Interactable,nA=R.defaults;j.prototype.draggable=s.draggable,N.map.drag=s,N.methodDict.drag="draggable",nA.actions.drag=s.defaults},listeners:{"interactions:before-action-move":l,"interactions:action-resume":l,"interactions:action-move":g,"auto-start:check":function(R){var N=R.interaction,j=R.interactable,nA=R.buttons,lA=j.options.drag;if(lA&&lA.enabled&&(!N.pointerIsDown||!/mouse|pointer/.test(N.pointerType)||nA&j.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:l,move:g,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(R){return R.search("drag")===0}},d=s,p={init:function(R){var N=R;p.document=N.document,p.DocumentFragment=N.DocumentFragment||a,p.SVGElement=N.SVGElement||a,p.SVGSVGElement=N.SVGSVGElement||a,p.SVGElementInstance=N.SVGElementInstance||a,p.Element=N.Element||a,p.HTMLElement=N.HTMLElement||p.Element,p.Event=N.Event,p.Touch=N.Touch||a,p.PointerEvent=N.PointerEvent||N.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=p,C={init:function(R){var N=r.Element,j=R.navigator||{};C.supportsTouch="ontouchstart"in R||u.func(R.DocumentTouch)&&r.document instanceof R.DocumentTouch,C.supportsPointerEvent=j.pointerEnabled!==!1&&!!r.PointerEvent,C.isIOS=/iP(hone|od|ad)/.test(j.platform),C.isIOS7=/iP(hone|od|ad)/.test(j.platform)&&/OS 7[^\d]/.test(j.appVersion),C.isIe9=/MSIE 9/.test(j.userAgent),C.isOperaMobile=j.appName==="Opera"&&C.supportsTouch&&/Presto/.test(j.userAgent),C.prefixedMatchesSelector="matches"in N.prototype?"matches":"webkitMatchesSelector"in N.prototype?"webkitMatchesSelector":"mozMatchesSelector"in N.prototype?"mozMatchesSelector":"oMatchesSelector"in N.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,N){if(R.contains)return R.contains(N);for(;N;){if(N===R)return!0;N=N.parentNode}return!1}function x(R,N){for(;u.element(R);){if(O(R,N))return R;R=H(R)}return null}function H(R){var N=R.parentNode;if(u.docFrag(N)){for(;(N=N.host)&&u.docFrag(N););return N}return N}function O(R,N){return L!==Q&&(N=N.replace(/\/deep\//g," ")),R[E.prefixedMatchesSelector](N)}var J=function(R){return R.parentNode||R.host};function q(R,N){for(var j,nA=[],lA=R;(j=J(lA))&&lA!==N&&j!==lA.ownerDocument;)nA.unshift(lA),lA=j;return nA}function z(R,N,j){for(;u.element(R);){if(O(R,N))return!0;if((R=H(R))===j)return O(R,N)}return!1}function Z(R){return R.correspondingUseElement||R}function X(R){var N=R instanceof r.SVGElement?R.getBoundingClientRect():R.getClientRects()[0];return N&&{left:N.left,right:N.right,top:N.top,bottom:N.bottom,width:N.width||N.right-N.left,height:N.height||N.bottom-N.top}}function _(R){var N,j=X(R);if(!E.isIOS7&&j){var nA={x:(N=(N=y(R))||L).scrollX||N.document.documentElement.scrollLeft,y:N.scrollY||N.document.documentElement.scrollTop};j.left+=nA.x,j.right+=nA.x,j.top+=nA.y,j.bottom+=nA.y}return j}function AA(R){for(var N=[];R;)N.push(R),R=H(R);return N}function G(R){return!!u.string(R)&&(r.document.querySelector(R),!0)}function eA(R,N){for(var j in N)R[j]=N[j];return R}function aA(R,N,j){return R==="parent"?H(j):R==="self"?N.getRect(j):x(j,R)}function iA(R,N,j,nA){var lA=R;return u.string(lA)?lA=aA(lA,N,j):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 EA(R){return!R||"x"in R&&"y"in R||((R=eA({},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 gA(R,N,j){R.left&&(N.left+=j.x),R.right&&(N.right+=j.x),R.top&&(N.top+=j.y),R.bottom&&(N.bottom+=j.y),N.width=N.right-N.left,N.height=N.bottom-N.top}function uA(R,N,j){var nA=j&&R.options[j];return dA(iA(nA&&nA.origin||R.options.origin,R,N,[R&&N]))||{x:0,y:0}}function W(R,N){var j=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=oA(R)),u.array(R))return R.forEach(function(DA){return W(DA,N,j,nA)}),nA;if(u.object(R)&&(N=R,R=""),u.func(N)&&j(R))nA[R]=nA[R]||[],nA[R].push(N);else if(u.array(N))for(var lA=0,hA=N;lA<hA.length;lA++){var mA=hA[lA];W(R,mA,j,nA)}else if(u.object(N))for(var IA in N)W(oA(IA).map(function(DA){return"".concat(R).concat(DA)}),N[IA],j,nA);return nA}function oA(R){return R.trim().split(/ +/)}var cA=function(R,N){return Math.sqrt(R*R+N*N)},pA=["webkit","moz"];function $(R,N){R.__set||(R.__set={});var j=function(lA){if(pA.some(function(hA){return lA.indexOf(hA)===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]=N[lA]},set:function(hA){R.__set[lA]=hA},configurable:!0})};for(var nA in N)j(nA);return R}function V(R,N){R.page=R.page||{},R.page.x=N.page.x,R.page.y=N.page.y,R.client=R.client||{},R.client.x=N.client.x,R.client.y=N.client.y,R.timeStamp=N.timeStamp}function tA(R){R.page.x=0,R.page.y=0,R.client.x=0,R.client.y=0}function sA(R){return R instanceof r.Event||R instanceof r.Touch}function CA(R,N,j){return R=R||"page",(j=j||{}).x=N[R+"X"],j.y=N[R+"Y"],j}function _A(R,N){return N=N||{x:0,y:0},E.isOperaMobile&&sA(R)?(CA("screen",R,N),N.x+=window.scrollX,N.y+=window.scrollY):CA("page",R,N),N}function YA(R){return u.number(R.pointerId)?R.pointerId:R.identifier}function zA(R,N,j){var nA=N.length>1?ZA(N):N[0];_A(nA,R.page),function(lA,hA){hA=hA||{},E.isOperaMobile&&sA(lA)?CA("screen",lA,hA):CA("client",lA,hA)}(nA,R.client),R.timeStamp=j}function qA(R){var N=[];return u.array(R)?(N[0]=R[0],N[1]=R[1]):R.type==="touchend"?R.touches.length===1?(N[0]=R.touches[0],N[1]=R.changedTouches[0]):R.touches.length===0&&(N[0]=R.changedTouches[0],N[1]=R.changedTouches[1]):(N[0]=R.touches[0],N[1]=R.touches[1]),N}function ZA(R){for(var N={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},j=0;j<R.length;j++){var nA=R[j];for(var lA in N)N[lA]+=nA[lA]}for(var hA in N)N[hA]/=R.length;return N}function ce(R){if(!R.length)return null;var N=qA(R),j=Math.min(N[0].pageX,N[1].pageX),nA=Math.min(N[0].pageY,N[1].pageY),lA=Math.max(N[0].pageX,N[1].pageX),hA=Math.max(N[0].pageY,N[1].pageY);return{x:j,y:nA,left:j,top:nA,right:lA,bottom:hA,width:lA-j,height:hA-nA}}function ae(R,N){var j=N+"X",nA=N+"Y",lA=qA(R),hA=lA[0][j]-lA[1][j],mA=lA[0][nA]-lA[1][nA];return cA(hA,mA)}function LA(R,N){var j=N+"X",nA=N+"Y",lA=qA(R),hA=lA[1][j]-lA[0][j],mA=lA[1][nA]-lA[0][nA];return 180*Math.atan2(mA,hA)/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 WA(R){var N=u.func(R.composedPath)?R.composedPath():R.path;return[Z(N?N[0]:R.target),Z(R.currentTarget)]}var Ce=function(){function R(N){I(this,R),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=N}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,N){for(var j=0;j<N.length;j++){var nA=N[j];R.push(nA)}return R},xe=function(R){return ye([],R)},UA=function(R,N){for(var j=0;j<R.length;j++)if(N(R[j],j,R))return j;return-1},$A=function(R,N){return R[UA(R,N)]},XA=function(R){w(j,R);var N=Y(j);function j(nA,lA,hA){var mA;I(this,j),(mA=N.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=hA==="dragleave"?nA.prev:nA.cur,DA=IA.element,xA=IA.dropzone;return mA.type=hA,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(j,[{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 hA=lA.activeDrops,mA=UA(hA,function(DA){var xA=DA.dropzone,yA=DA.element;return xA===nA.dropzone&&yA===nA.target});lA.activeDrops.splice(mA,1);var IA=new j(lA,this.dragEvent,"dropdeactivate");IA.dropzone=this.dropzone,IA.target=this.target,this.dropzone.fire(IA)}else this.dropzone.fire(new j(lA,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),j}(Ce);function he(R,N){for(var j=0,nA=R.slice();j<nA.length;j++){var lA=nA[j],hA=lA.dropzone,mA=lA.element;N.dropzone=hA,N.target=mA,hA.fire(N),N.propagationStopped=N.immediatePropagationStopped=!1}}function ge(R,N){for(var j=function(hA,mA){for(var IA=[],DA=0,xA=hA.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)&&!O(mA,GA)||u.func(GA)&&!GA({dropzone:yA,draggableElement:mA})))for(var jA=0,se=yA.getAllElements();jA<se.length;jA++){var oe=se[jA];oe!==mA&&IA.push({dropzone:yA,element:oe,rect:yA.getRect(oe)})}}}return IA}(R,N),nA=0;nA<j.length;nA++){var lA=j[nA];lA.rect=lA.dropzone.getRect(lA.element)}return j}function Ee(R,N,j){for(var nA=R.dropState,lA=R.interactable,hA=R.element,mA=[],IA=0,DA=nA.activeDrops;IA<DA.length;IA++){var xA=DA[IA],yA=xA.dropzone,GA=xA.element,jA=xA.rect,se=yA.dropCheck(N,j,lA,hA,GA,jA);mA.push(se?GA:null)}var oe=function(de){for(var De,Qe,vA,TA=[],PA=0;PA<de.length;PA++){var VA=de[PA],Be=de[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 Oe=void 0;if(Be instanceof r.HTMLElement&&VA instanceof r.SVGElement&&!(VA instanceof r.SVGSVGElement)){if(VA===He)continue;Oe=VA.ownerSVGElement}else Oe=VA;for(var on=q(Oe,Be.ownerDocument),Jn=0;on[Jn]&&on[Jn]===TA[Jn];)Jn++;var Tt=[on[Jn-1],on[Jn],TA[Jn]];if(Tt[0])for(var oi=Tt[0].lastChild;oi;){if(oi===Tt[1]){De=PA,TA=on;break}if(oi===Tt[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,N,j){var nA=R.dropState,lA={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return j.type==="dragstart"&&(lA.activate=new XA(nA,j,"dropactivate"),lA.activate.target=null,lA.activate.dropzone=null),j.type==="dragend"&&(lA.deactivate=new XA(nA,j,"dropdeactivate"),lA.deactivate.target=null,lA.deactivate.dropzone=null),nA.rejected||(nA.cur.element!==nA.prev.element&&(nA.prev.dropzone&&(lA.leave=new XA(nA,j,"dragleave"),j.dragLeave=lA.leave.target=nA.prev.element,j.prevDropzone=lA.leave.dropzone=nA.prev.dropzone),nA.cur.dropzone&&(lA.enter=new XA(nA,j,"dragenter"),j.dragEnter=nA.cur.element,j.dropzone=nA.cur.dropzone)),j.type==="dragend"&&nA.cur.dropzone&&(lA.drop=new XA(nA,j,"drop"),j.dropzone=nA.cur.dropzone,j.relatedTarget=nA.cur.element),j.type==="dragmove"&&nA.cur.dropzone&&(lA.move=new XA(nA,j,"dropmove"),j.dropzone=nA.cur.dropzone)),lA}function wA(R,N){var j=R.dropState,nA=j.activeDrops,lA=j.cur,hA=j.prev;N.leave&&hA.dropzone.fire(N.leave),N.enter&&lA.dropzone.fire(N.enter),N.move&&lA.dropzone.fire(N.move),N.drop&&lA.dropzone.fire(N.drop),N.deactivate&&he(nA,N.deactivate),j.prev.dropzone=lA.dropzone,j.prev.element=lA.element}function FA(R,N){var j=R.interaction,nA=R.iEvent,lA=R.event;if(nA.type==="dragmove"||nA.type==="dragend"){var hA=j.dropState;N.dynamicDrop&&(hA.activeDrops=ge(N,j.element));var mA=nA,IA=Ee(j,mA,lA);hA.rejected=hA.rejected&&!!IA&&IA.dropzone===hA.cur.dropzone&&IA.element===hA.cur.element,hA.cur.dropzone=IA&&IA.dropzone,hA.cur.element=IA&&IA.element,hA.events=ke(j,0,mA)}}var HA={id:"actions/drop",install:function(R){var N=R.actions,j=R.interactStatic,nA=R.Interactable,lA=R.defaults;R.usePlugin(d),nA.prototype.dropzone=function(hA){return function(mA,IA){if(u.object(IA)){if(mA.options.drop.enabled=IA.enabled!==!1,IA.listeners){var DA=W(IA.listeners),xA=Object.keys(DA).reduce(function(GA,jA){return GA[/^(enter|leave)/.test(jA)?"drag".concat(jA):/^(activate|deactivate|move)/.test(jA)?"drop".concat(jA):jA]=DA[jA],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,hA)},nA.prototype.dropCheck=function(hA,mA,IA,DA,xA,yA){return function(GA,jA,se,oe,de,De,Qe){var vA=!1;if(!(Qe=Qe||GA.getRect(De)))return!!GA.options.drop.checker&&GA.options.drop.checker(jA,se,vA,GA,De,oe,de);var TA=GA.options.drop.overlap;if(TA==="pointer"){var PA=uA(oe,de,"drag"),VA=_A(jA);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(de);if(He&&TA==="center"){var Oe=He.left+He.width/2,on=He.top+He.height/2;vA=Oe>=Qe.left&&Oe<=Qe.right&&on>=Qe.top&&on<=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(jA,se,vA,GA,De,oe,de)),vA}(this,hA,mA,IA,DA,xA,yA)},j.dynamicDrop=function(hA){return u.bool(hA)?(R.dynamicDrop=hA,j):R.dynamicDrop},eA(N.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),N.methodDict.drop="dropzone",R.dynamicDrop=!1,lA.actions.drop=HA.defaults},listeners:{"interactions:before-action-start":function(R){var N=R.interaction;N.prepared.name==="drag"&&(N.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(R,N){var j=R.interaction,nA=(R.event,R.iEvent);if(j.prepared.name==="drag"){var lA=j.dropState;lA.activeDrops=[],lA.events={},lA.activeDrops=ge(N,j.element),lA.events=ke(j,0,nA),lA.events.activate&&(he(lA.activeDrops,lA.events.activate),N.fire("actions/drop:start",{interaction:j,dragEvent:nA}))}},"interactions:action-move":FA,"interactions:after-action-move":function(R,N){var j=R.interaction,nA=R.iEvent;if(j.prepared.name==="drag"){var lA=j.dropState;wA(j,lA.events),N.fire("actions/drop:move",{interaction:j,dragEvent:nA}),lA.events={}}},"interactions:action-end":function(R,N){if(R.interaction.prepared.name==="drag"){var j=R.interaction,nA=R.iEvent;FA(R,N),wA(j,j.dropState.events),N.fire("actions/drop:end",{interaction:j,dragEvent:nA})}},"interactions:stop":function(R){var N=R.interaction;if(N.prepared.name==="drag"){var j=N.dropState;j&&(j.activeDrops=null,j.events=null,j.cur.dropzone=null,j.cur.element=null,j.prev.dropzone=null,j.prev.element=null,j.rejected=!1)}}},getActiveDrops:ge,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 N=R.interaction,j=R.iEvent,nA=R.phase;if(N.prepared.name==="gesture"){var lA=N.pointers.map(function(xA){return xA.pointer}),hA=nA==="start",mA=nA==="end",IA=N.interactable.options.deltaSource;if(j.touches=[lA[0],lA[1]],hA)j.distance=ae(lA,IA),j.box=ce(lA),j.scale=1,j.ds=0,j.angle=LA(lA,IA),j.da=0,N.gesture.startDistance=j.distance,N.gesture.startAngle=j.angle;else if(mA||N.pointers.length<2){var DA=N.prevEvent;j.distance=DA.distance,j.box=DA.box,j.scale=DA.scale,j.ds=0,j.angle=DA.angle,j.da=0}else j.distance=ae(lA,IA),j.box=ce(lA),j.scale=j.distance/N.gesture.startDistance,j.angle=LA(lA,IA),j.ds=j.scale-N.gesture.scale,j.da=j.angle-N.gesture.angle;N.gesture.distance=j.distance,N.gesture.angle=j.angle,u.number(j.scale)&&j.scale!==1/0&&!isNaN(j.scale)&&(N.gesture.scale=j.scale)}}var ie={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(R){var N=R.actions,j=R.Interactable,nA=R.defaults;j.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},N.map.gesture=ie,N.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 N=R.interactable.options.gesture;if(N&&N.enabled)return R.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(R){return R.search("gesture")===0}},ue=ie;function Me(R,N,j,nA,lA,hA,mA){if(!N)return!1;if(N===!0){var IA=u.number(hA.width)?hA.width:hA.right-hA.left,DA=u.number(hA.height)?hA.height:hA.bottom-hA.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?hA.left:hA.right;return j.x<xA+mA}if(R==="top"){var yA=DA>=0?hA.top:hA.bottom;return j.y<yA+mA}if(R==="right")return j.x>(IA>=0?hA.right:hA.left)-mA;if(R==="bottom")return j.y>(DA>=0?hA.bottom:hA.top)-mA}return!!u.element(nA)&&(u.element(N)?N===nA:z(nA,N,lA))}function tt(R){var N=R.iEvent,j=R.interaction;if(j.prepared.name==="resize"&&j.resizeAxes){var nA=N;j.interactable.options.resize.square?(j.resizeAxes==="y"?nA.delta.x=nA.delta.y:nA.delta.y=nA.delta.x,nA.axes="xy"):(nA.axes=j.resizeAxes,j.resizeAxes==="x"?nA.delta.y=0:j.resizeAxes==="y"&&(nA.delta.x=0))}}var lt,MA,bA={id:"actions/resize",before:["actions/drag"],install:function(R){var N=R.actions,j=R.browser,nA=R.Interactable,lA=R.defaults;bA.cursors=function(hA){return hA.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"}}(j),bA.defaultMargin=j.supportsTouch||j.supportsPointerEvent?20:10,nA.prototype.resizable=function(hA){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,hA,R)},N.map.resize=bA,N.methodDict.resize="resizable",lA.actions.resize=bA.defaults},listeners:{"interactions:new":function(R){R.interaction.resizeAxes="xy"},"interactions:action-start":function(R){(function(N){var j=N.iEvent,nA=N.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var lA=j,hA=nA.rect;nA._rects={start:eA({},hA),corrected:eA({},hA),previous:eA({},hA),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(N){var j=N.iEvent,nA=N.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var lA=j,hA=nA.interactable.options.resize.invert,mA=hA==="reposition"||hA==="negate",IA=nA.rect,DA=nA._rects,xA=DA.start,yA=DA.corrected,GA=DA.delta,jA=DA.previous;if(eA(jA,yA),mA){if(eA(yA,IA),hA==="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 de in yA.width=yA.right-yA.left,yA.height=yA.bottom-yA.top,yA)GA[de]=yA[de]-jA[de];lA.edges=nA.prepared.edges,lA.rect=yA,lA.deltaRect=GA}})(R),tt(R)},"interactions:action-end":function(R){var N=R.iEvent,j=R.interaction;if(j.prepared.name==="resize"&&j.prepared.edges){var nA=N;nA.edges=j.prepared.edges,nA.rect=j._rects.corrected,nA.deltaRect=j._rects.delta}},"auto-start:check":function(R){var N=R.interaction,j=R.interactable,nA=R.element,lA=R.rect,hA=R.buttons;if(lA){var mA=eA({},N.coords.cur.page),IA=j.options.resize;if(IA&&IA.enabled&&(!N.pointerIsDown||!/mouse|pointer/.test(N.pointerType)||hA&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,N._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 N=R.edges,j=R.axis,nA=R.name,lA=bA.cursors,hA=null;if(j)hA=lA[nA+j];else if(N){for(var mA="",IA=0,DA=["top","bottom","left","right"];IA<DA.length;IA++){var xA=DA[IA];N[xA]&&(mA+=xA)}hA=lA[mA]}return hA},filterEventType:function(R){return R.search("resize")===0},defaultMargin:null},RA=bA,JA={id:"actions",install:function(R){R.usePlugin(ue),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 N=["ms","moz","webkit","o"],j=0;j<N.length;j++){var nA=N[j];lt=R["".concat(nA,"RequestAnimationFrame")],MA=R["".concat(nA,"CancelAnimationFrame")]||R["".concat(nA,"CancelRequestAnimationFrame")]}lt=lt&<.bind(R),MA=MA&&MA.bind(R),lt||(lt=function(lA){var hA=Date.now(),mA=Math.max(0,16-(hA-OA)),IA=R.setTimeout(function(){lA(hA+mA)},mA);return OA=hA+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,N=R.interactable,j=R.element,nA=R.prepared.name,lA=N.options[nA].autoScroll,hA=_e(lA.container,N,j),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(hA);u.window(hA)?hA.scrollBy(xA.x,xA.y):hA&&(hA.scrollLeft+=xA.x,hA.scrollTop+=xA.y);var GA=qe(hA),jA={x:GA.x-yA.x,y:GA.y-yA.y};(jA.x||jA.y)&&N.fire({type:"autoscroll",target:j,interactable:N,delta:jA,interaction:R,container:hA})}te.prevTime=mA}te.isScrolling&&(Ie.cancel(te.i),te.i=Ie.request(te.scroll))},check:function(R,N){var j;return(j=R.options[N].autoScroll)==null?void 0:j.enabled},onInteractionMove:function(R){var N=R.interaction,j=R.pointer;if(N.interacting()&&te.check(N.interactable,N.prepared.name))if(N.simulation)te.x=te.y=0;else{var nA,lA,hA,mA,IA=N.interactable,DA=N.element,xA=N.prepared.name,yA=IA.options[xA].autoScroll,GA=_e(yA.container,IA,DA);if(u.window(GA))mA=j.clientX<te.margin,nA=j.clientY<te.margin,lA=j.clientX>GA.innerWidth-te.margin,hA=j.clientY>GA.innerHeight-te.margin;else{var jA=X(GA);mA=j.clientX<jA.left+te.margin,nA=j.clientY<jA.top+te.margin,lA=j.clientX>jA.right-te.margin,hA=j.clientY>jA.bottom-te.margin}te.x=lA?1:mA?-1:0,te.y=hA?1:nA?-1:0,te.isScrolling||(te.margin=yA.margin,te.speed=yA.speed,te.start(N))}}};function _e(R,N,j){return(u.string(R)?aA(R,N,j):R)||y(j)}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 N=R.defaults,j=R.actions;R.autoScroll=te,te.now=function(){return R.now()},j.phaselessTypes.autoscroll=!0,N.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)}}},Je=pt;function At(R,N){var j=!1;return function(){return j||(L.console.warn(N),j=!0),R.apply(this,arguments)}}function gt(R,N){return R.name=N.name,R.axis=N.axis,R.edges=N.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 N=R.Interactable;N.prototype.getAction=function(j,nA,lA,hA){var mA=function(IA,DA,xA,yA,GA){var jA=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:jA,buttons:se};return GA.fire("auto-start:check",oe),oe.action}(this,nA,lA,hA,R);return this.options.actionChecker?this.options.actionChecker(j,nA,mA,this,hA,lA):mA},N.prototype.ignoreFrom=At(function(j){return this._backCompatOption("ignoreFrom",j)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),N.prototype.allowFrom=At(function(j){return this._backCompatOption("allowFrom",j)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),N.prototype.actionChecker=ot,N.prototype.styleCursor=Ge}};function nt(R,N,j,nA,lA){return N.testIgnoreAllow(N.options[R.name],j,nA)&&N.options[R.name].enabled&&gn(N,j,R,lA)?R:null}function Fn(R,N,j,nA,lA,hA,mA){for(var IA=0,DA=nA.length;IA<DA;IA++){var xA=nA[IA],yA=lA[IA],GA=xA.getAction(N,j,R,yA);if(GA){var jA=nt(GA,xA,yA,hA,mA);if(jA)return{action:jA,interactable:xA,element:yA}}}return{action:null,interactable:null,element:null}}function Xt(R,N,j,nA,lA){var hA=[],mA=[],IA=nA;function DA(yA){hA.push(yA),mA.push(IA)}for(;u.element(IA);){hA=[],mA=[],lA.interactables.forEachMatch(IA,DA);var xA=Fn(R,N,j,hA,mA,nA,lA);if(xA.action&&!xA.interactable.options[xA.action.name].manualStart)return xA;IA=H(IA)}return{action:null,interactable:null,element:null}}function Vt(R,N,j){var nA=N.action,lA=N.interactable,hA=N.element;nA=nA||{name:null},R.interactable=lA,R.element=hA,gt(R.prepared,nA),R.rect=lA&&nA.name?lA.getRect(hA):null,An(R,j),j.fire("autoStart:prepared",{interaction:R})}function gn(R,N,j,nA){var lA=R.options,hA=lA[j.name].max,mA=lA[j.name].maxPerElement,IA=nA.autoStart.maxInteractions,DA=0,xA=0,yA=0;if(!(hA&&mA&&IA))return!1;for(var GA=0,jA=nA.interactions.list;GA<jA.length;GA++){var se=jA[GA],oe=se.prepared.name;if(se.interacting()&&(++DA>=IA||se.interactable===R&&((xA+=oe===j.name?1:0)>=hA||se.element===N&&(yA++,oe===j.name&&yA>=mA))))return!1}return IA>0}function wn(R,N){return u.number(R)?(N.autoStart.maxInteractions=R,this):N.autoStart.maxInteractions}function xt(R,N,j){var nA=j.autoStart.cursorElement;nA&&nA!==R&&(nA.style.cursor=""),R.ownerDocument.documentElement.style.cursor=N,R.style.cursor=N,j.autoStart.cursorElement=N?R:null}function An(R,N){var j=R.interactable,nA=R.element,lA=R.prepared;if(R.pointerType==="mouse"&&j&&j.options.styleCursor){var hA="";if(lA.name){var mA=j.options[lA.name].cursorChecker;hA=u.func(mA)?mA(lA,j,nA,R._interacting):N.actions.map[lA.name].getCursor(lA)}xt(R.element,hA||"",N)}else N.autoStart.cursorElement&&xt(N.autoStart.cursorElement,"",N)}var On={id:"auto-start/base",before:["actions"],install:function(R){var N=R.interactStatic,j=R.defaults;R.usePlugin(mt),j.base.actionChecker=null,j.base.styleCursor=!0,eA(j.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),N.maxInteractions=function(nA){return wn(nA,R)},R.autoStart={maxInteractions:1/0,withinInteractionLimit:gn,cursorElement:null}},listeners:{"interactions:down":function(R,N){var j=R.interaction,nA=R.pointer,lA=R.event,hA=R.eventTarget;j.interacting()||Vt(j,Xt(j,nA,lA,hA,N),N)},"interactions:move":function(R,N){(function(j,nA){var lA=j.interaction,hA=j.pointer,mA=j.event,IA=j.eventTarget;lA.pointerType!=="mouse"||lA.pointerIsDown||lA.interacting()||Vt(lA,Xt(lA,hA,mA,IA,nA),nA)})(R,N),function(j,nA){var lA=j.interaction;if(lA.pointerIsDown&&!lA.interacting()&&lA.pointerWasMoved&&lA.prepared.name){nA.fire("autoStart:before-start",j);var hA=lA.interactable,mA=lA.prepared.name;mA&&hA&&(hA.options[mA].manualStart||!gn(hA,lA.element,lA.prepared,nA)?lA.stop():(lA.start(lA.prepared,hA,lA.element),An(lA,nA)))}}(R,N)},"interactions:stop":function(R,N){var j=R.interaction,nA=j.interactable;nA&&nA.options.styleCursor&&xt(j.element,"",N)}},maxInteractions:wn,withinInteractionLimit:gn,validateAction:nt},en=On,pi={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(R,N){var j=R.interaction,nA=R.eventTarget,lA=R.dx,hA=R.dy;if(j.prepared.name==="drag"){var mA=Math.abs(lA),IA=Math.abs(hA),DA=j.interactable.options.drag,xA=DA.startAxis,yA=mA>IA?"x":mA<IA?"y":"xy";if(j.prepared.axis=DA.lockAxis==="start"?yA[0]:DA.lockAxis,yA!=="xy"&&xA!=="xy"&&xA!==yA){j.prepared.name=null;for(var GA=nA,jA=function(oe){if(oe!==j.interactable){var de=j.interactable.options.drag;if(!de.manualStart&&oe.testIgnoreAllow(de,GA,nA)){var De=oe.getAction(j.downPointer,j.downEvent,j,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)&&en.validateAction(De,oe,GA,nA,N))return oe}}};u.element(GA);){var se=N.interactables.forEachMatch(GA,jA);if(se){j.prepared.name="drag",j.interactable=se,j.element=GA;break}GA=H(GA)}}}}}};function Bi(R){var N=R.prepared&&R.prepared.name;if(!N)return null;var j=R.interactable.options;return j[N].hold||j[N].delay}var lo={id:"auto-start/hold",install:function(R){var N=R.defaults;R.usePlugin(en),N.perAction.hold=0,N.perAction.delay=0},listeners:{"interactions:new":function(R){R.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(R){var N=R.interaction,j=Bi(N);j>0&&(N.autoStartHoldTimer=setTimeout(function(){N.start(N.prepared,N.interactable,N.element)},j))},"interactions:move":function(R){var N=R.interaction,j=R.duplicate;N.autoStartHoldTimer&&N.pointerWasMoved&&!j&&(clearTimeout(N.autoStartHoldTimer),N.autoStartHoldTimer=null)},"autoStart:before-start":function(R){var N=R.interaction;Bi(N)>0&&(N.prepared.name=null)}},getHoldDuration:Bi},Ci=lo,ei={id:"auto-start",install:function(R){R.usePlugin(en),R.usePlugin(Ci),R.usePlugin(pi)}},Gi=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 N=R.interaction,j=R.event;N.interactable&&N.interactable.checkAndPreventDefault(j)}var ti={id:"core/interactablePreventDefault",install:function(R){var N=R.Interactable;N.prototype.preventDefault=Gi,N.prototype.checkAndPreventDefault=function(j){return function(nA,lA,hA){var mA=nA.options.preventDefault;if(mA!=="never")if(mA!=="always"){if(lA.events.supportsPassive&&/^touch(start|move)$/.test(hA.type)){var IA=y(hA.target).document,DA=lA.getDocOptions(IA);if(!DA||!DA.events||DA.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(hA.type)||u.element(hA.target)&&O(hA.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||hA.preventDefault()}else hA.preventDefault()}(this,R,j)},R.interactions.docEvents.push({type:"dragstart",listener:function(j){for(var nA=0,lA=R.interactions.list;nA<lA.length;nA++){var hA=lA[nA];if(hA.element&&(hA.element===j.target||M(hA.element,j.target)))return void hA.interactable.checkAndPreventDefault(j)}}})},listeners:["down","move","up","cancel"].reduce(function(R,N){return R["interactions:".concat(N)]=co,R},{})};function bn(R,N){if(N.phaselessTypes[R])return!0;for(var j in N.map)if(R.indexOf(j)===0&&R.substr(j.length)in N.phases)return!0;return!1}function Pi(R){var N={};for(var j in R){var nA=R[j];u.plainObject(nA)?N[j]=Pi(nA):u.array(nA)?N[j]=xe(nA):N[j]=nA}return N}var zo=function(){function R(N){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=N,this.result=go(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return b(R,[{key:"start",value:function(N,j){var nA,lA,hA=N.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(jA){var se=yA[jA];return se&&se.enabled&&{options:se,methods:se._methods}}).filter(function(jA){return!!jA})}(mA);this.prepareStates(IA),this.startEdges=eA({},mA.edges),this.edges=eA({},this.startEdges),this.startOffset=(nA=mA.rect,lA=j,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:hA,pageCoords:j,preEnd:!1});return this.result=go(),this.startAll(DA),this.result=this.setAll(DA)}},{key:"fillArg",value:function(N){var j=this.interaction;return N.interaction=j,N.interactable=j.interactable,N.element=j.element,N.rect||(N.rect=j.rect),N.edges||(N.edges=this.startEdges),N.startOffset=this.startOffset,N}},{key:"startAll",value:function(N){for(var j=0,nA=this.states;j<nA.length;j++){var lA=nA[j];lA.methods.start&&(N.state=lA,lA.methods.start(N))}}},{key:"setAll",value:function(N){var j=N.phase,nA=N.preEnd,lA=N.skipModifiers,hA=N.rect,mA=N.edges;N.coords=eA({},N.pageCoords),N.rect=eA({},hA),N.edges=eA({},mA);for(var IA=lA?this.states.slice(lA):this.states,DA=go(N.coords,N.rect),xA=0;xA<IA.length;xA++){var yA,GA=IA[xA],jA=GA.options,se=eA({},N.coords),oe=null;(yA=GA.methods)!=null&&yA.set&&this.shouldDo(jA,nA,j)&&(N.state=GA,oe=GA.methods.set(N),gA(N.edges,N.rect,{x:N.coords.x-se.x,y:N.coords.y-se.y})),DA.eventProps.push(oe)}eA(this.edges,N.edges),DA.delta.x=N.coords.x-N.pageCoords.x,DA.delta.y=N.coords.y-N.pageCoords.y,DA.rectDelta.left=N.rect.left-hA.left,DA.rectDelta.right=N.rect.right-hA.right,DA.rectDelta.top=N.rect.top-hA.top,DA.rectDelta.bottom=N.rect.bottom-hA.bottom;var de=this.result.coords,De=this.result.rect;if(de&&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||de.x!==DA.coords.x||de.y!==DA.coords.y}return DA}},{key:"applyToInteraction",value:function(N){var j=this.interaction,nA=N.phase,lA=j.coords.cur,hA=j.coords.start,mA=this.result,IA=this.startDelta,DA=mA.delta;nA==="start"&&eA(this.startDelta,mA.delta);for(var xA=0,yA=[[hA,IA],[lA,DA]];xA<yA.length;xA++){var GA=yA[xA],jA=GA[0],se=GA[1];jA.page.x+=se.x,jA.page.y+=se.y,jA.client.x+=se.x,jA.client.y+=se.y}var oe=this.result.rectDelta,de=N.rect||j.rect;de.left+=oe.left,de.right+=oe.right,de.top+=oe.top,de.bottom+=oe.bottom,de.width=de.right-de.left,de.height=de.bottom-de.top}},{key:"setAndApply",value:function(N){var j=this.interaction,nA=N.phase,lA=N.preEnd,hA=N.skipModifiers,mA=this.setAll(this.fillArg({preEnd:lA,phase:nA,pageCoords:N.modifiedCoords||j.coords.cur.page}));if(this.result=mA,!mA.changed&&(!hA||hA<this.states.length)&&j.interacting())return!1;if(N.modifiedCoords){var IA=j.coords.cur.page,DA={x:N.modifiedCoords.x-IA.x,y:N.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(N)}},{key:"beforeEnd",value:function(N){var j=N.interaction,nA=N.event,lA=this.states;if(lA&&lA.length){for(var hA=!1,mA=0;mA<lA.length;mA++){var IA=lA[mA];N.state=IA;var DA=IA.options,xA=IA.methods,yA=xA.beforeEnd&&xA.beforeEnd(N);if(yA)return this.endResult=yA,!1;hA=hA||!hA&&this.shouldDo(DA,!0,N.phase,!0)}hA&&j.move({event:nA,preEnd:!0})}}},{key:"stop",value:function(N){var j=N.interaction;if(this.states&&this.states.length){var nA=eA({states:this.states,interactable:j.interactable,element:j.element,rect:null},N);this.fillArg(nA);for(var lA=0,hA=this.states;lA<hA.length;lA++){var mA=hA[lA];nA.state=mA,mA.methods.stop&&mA.methods.stop(nA)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(N){this.states=[];for(var j=0;j<N.length;j++){var nA=N[j],lA=nA.options,hA=nA.methods,mA=nA.name;this.states.push({options:lA,methods:hA,index:j,name:mA})}return this.states}},{key:"restoreInteractionCoords",value:function(N){var j=N.interaction,nA=j.coords,lA=j.rect,hA=j.modification;if(hA.result){for(var mA=hA.startDelta,IA=hA.result,DA=IA.delta,xA=IA.rectDelta,yA=0,GA=[[nA.start,mA],[nA.cur,DA]];yA<GA.length;yA++){var jA=GA[yA],se=jA[0],oe=jA[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(N,j,nA,lA){return!(!N||N.enabled===!1||lA&&!N.endOnly||N.endOnly&&!j||nA==="start"&&!N.setStart)}},{key:"copyFrom",value:function(N){this.startOffset=N.startOffset,this.startDelta=N.startDelta,this.startEdges=N.startEdges,this.edges=N.edges,this.states=N.states.map(function(j){return Pi(j)}),this.result=go(eA({},N.result.coords),eA({},N.result.rect))}},{key:"destroy",value:function(){for(var N in this)this[N]=null}}]),R}();function go(R,N){return{rect:N,coords:R,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function Nn(R,N){var j=R.defaults,nA={start:R.start,set:R.set,beforeEnd:R.beforeEnd,stop:R.stop},lA=function(hA){var mA=hA||{};for(var IA in mA.enabled=mA.enabled!==!1,j)IA in mA||(mA[IA]=j[IA]);var DA={options:mA,methods:nA,name:N,enable:function(){return mA.enabled=!0,DA},disable:function(){return mA.enabled=!1,DA}};return DA};return N&&typeof N=="string"&&(lA._defaults=j,lA._methods=nA),lA}function uo(R){var N=R.iEvent,j=R.interaction.modification.result;j&&(N.modifiers=j.eventProps)}var ws={id:"modifiers/base",before:["actions"],install:function(R){R.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(R){var N=R.interaction;N.modification=new zo(N)},"interactions:before-action-start":function(R){var N=R.interaction,j=R.interaction.modification;j.start(R,N.coords.start.page),N.edges=j.edges,j.applyToInteraction(R)},"interactions:before-action-move":function(R){var N=R.interaction,j=N.modification,nA=j.setAndApply(R);return N.edges=j.edges,nA},"interactions:before-action-end":function(R){var N=R.interaction,j=N.modification,nA=j.beforeEnd(R);return N.edges=j.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=ws,Wo={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},ni=function(R){w(j,R);var N=Y(j);function j(nA,lA,hA,mA,IA,DA,xA){var yA;I(this,j),(yA=N.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,jA=(GA&&GA.options||Wo).deltaSource,se=uA(GA,IA,hA),oe=mA==="start",de=mA==="end",De=oe?P(yA):nA.prevEvent,Qe=oe?nA.coords.start:de?{page:De.page,client:De.client,timeStamp:nA.coords.cur.timeStamp}:nA.coords.cur;return yA.page=eA({},Qe.page),yA.client=eA({},Qe.client),yA.rect=eA({},nA.rect),yA.timeStamp=Qe.timeStamp,de||(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||hA+(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||de?{x:0,y:0}:{x:yA[jA].x-De[jA].x,y:yA[jA].y-De[jA].y},yA.dt=nA.coords.delta.timeStamp,yA.duration=yA.timeStamp-yA.t0,yA.velocity=eA({},nA.coords.velocity[jA]),yA.speed=cA(yA.velocity.x,yA.velocity.y),yA.swipe=de||mA==="inertiastart"?yA.getSwipe():null,yA}return b(j,[{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 hA=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:hA,right:!hA&&(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}}]),j}(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 bs=b(function R(N,j,nA,lA,hA){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=N,this.pointer=j,this.event=nA,this.downTime=lA,this.downTarget=hA}),Ds=function(R){return R.interactable="",R.element="",R.prepared="",R.pointerIsDown="",R.pointerWasMoved="",R._proxy="",R}({}),ys=function(R){return R.start="",R.move="",R.end="",R.stop="",R.interacting="",R}({}),vs=0,ks=function(){function R(N){var j=this,nA=N.pointerType,lA=N.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=vs++,this._scopeFire=lA,this.pointerType=nA;var hA=this;this._proxy={};var mA=function(yA){Object.defineProperty(j._proxy,yA,{get:function(){return hA[yA]}})};for(var IA in Ds)mA(IA);var DA=function(yA){Object.defineProperty(j._proxy,yA,{value:function(){return hA[yA].apply(hA,arguments)}})};for(var xA in ys)DA(xA);this._scopeFire("interactions:new",{interaction:this})}return b(R,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(N,j,nA){var lA=this.updatePointer(N,j,nA,!0),hA=this.pointers[lA];this._scopeFire("interactions:down",{pointer:N,event:j,eventTarget:nA,pointerIndex:lA,pointerInfo:hA,type:"down",interaction:this})}},{key:"start",value:function(N,j,nA){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(N.name==="gesture"?2:1)||!j.options[N.name].enabled)&&(gt(this.prepared,N),this.interactable=j,this.element=nA,this.rect=j.getRect(nA),this.edges=this.prepared.edges?eA({},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(N,j,nA){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(N,j,nA,!1);var lA,hA,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,hA=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=cA(lA,hA)>this.pointerMoveTolerance);var IA,DA,xA,yA=this.getPointerIndex(N),GA={pointer:N,pointerIndex:yA,pointerInfo:this.pointers[yA],event:j,type:"move",eventTarget:nA,dx:lA,dy:hA,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&&V(this.coords.prev,this.coords.cur))}},{key:"move",value:function(N){N&&N.event||tA(this.coords.delta),(N=eA({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},N||{})).phase="move",this._doPhase(N)}},{key:"pointerUp",value:function(N,j,nA,lA){var hA=this.getPointerIndex(N);hA===-1&&(hA=this.updatePointer(N,j,nA,!1));var mA=/cancel$/i.test(j.type)?"cancel":"up";this._scopeFire("interactions:".concat(mA),{pointer:N,pointerIndex:hA,pointerInfo:this.pointers[hA],event:j,eventTarget:nA,type:mA,curEventTarget:lA,interaction:this}),this.simulation||this.end(j),this.removePointer(N,j)}},{key:"documentBlur",value:function(N){this.end(N),this._scopeFire("interactions:blur",{event:N,type:"blur",interaction:this})}},{key:"end",value:function(N){var j;this._ending=!0,N=N||this._latestPointer.event,this.interacting()&&(j=this._doPhase({event:N,interaction:this,phase:"end"})),this._ending=!1,j===!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(N){var j=YA(N);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:UA(this.pointers,function(nA){return nA.id===j})}},{key:"getPointerInfo",value:function(N){return this.pointers[this.getPointerIndex(N)]}},{key:"updatePointer",value:function(N,j,nA,lA){var hA,mA,IA,DA=YA(N),xA=this.getPointerIndex(N),yA=this.pointers[xA];return lA=lA!==!1&&(lA||/(down|start)$/i.test(j.type)),yA?yA.pointer=N:(yA=new bs(DA,N,j,null,null),xA=this.pointers.length,this.pointers.push(yA)),zA(this.coords.cur,this.pointers.map(function(GA){return GA.pointer}),this._now()),hA=this.coords.delta,mA=this.coords.prev,IA=this.coords.cur,hA.page.x=IA.page.x-mA.page.x,hA.page.y=IA.page.y-mA.page.y,hA.client.x=IA.client.x-mA.client.x,hA.client.y=IA.client.y-mA.client.y,hA.timeStamp=IA.timeStamp-mA.timeStamp,lA&&(this.pointerIsDown=!0,yA.downTime=this.coords.cur.timeStamp,yA.downTarget=nA,$(this.downPointer,N),this.interacting()||(V(this.coords.start,this.coords.cur),V(this.coords.prev,this.coords.cur),this.downEvent=j,this.pointerWasMoved=!1)),this._updateLatestPointer(N,j,nA),this._scopeFire("interactions:update-pointer",{pointer:N,event:j,eventTarget:nA,down:lA,pointerInfo:yA,pointerIndex:xA,interaction:this}),xA}},{key:"removePointer",value:function(N,j){var nA=this.getPointerIndex(N);if(nA!==-1){var lA=this.pointers[nA];this._scopeFire("interactions:remove-pointer",{pointer:N,event:j,eventTarget:null,pointerIndex:nA,pointerInfo:lA,interaction:this}),this.pointers.splice(nA,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(N,j,nA){this._latestPointer.pointer=N,this._latestPointer.event=j,this._latestPointer.eventTarget=nA}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(N,j,nA,lA){return new ni(this,N,this.prepared.name,j,this.element,nA,lA)}},{key:"_fireEvent",value:function(N){var j;(j=this.interactable)==null||j.fire(N),(!this.prevEvent||N.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=N)}},{key:"_doPhase",value:function(N){var j=N.event,nA=N.phase,lA=N.preEnd,hA=N.type,mA=this.rect;if(mA&&nA==="move"&&(gA(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),N)===!1)return!1;var IA=N.iEvent=this._createPreparedEvent(j,nA,lA,hA);return this._scopeFire("interactions:action-".concat(nA),N),nA==="start"&&(this.prevEvent=IA),this._fireEvent(IA),this._scopeFire("interactions:after-action-".concat(nA),N),!0}},{key:"_now",value:function(){return Date.now()}}]),R}();function Or(R){$r(R.interaction)}function $r(R){if(!function(j){return!(!j.offset.pending.x&&!j.offset.pending.y)}(R))return!1;var N=R.offset.pending;return Jr(R.coords.cur,N),Jr(R.coords.delta,N),gA(R.edges,R.rect,N),N.x=0,N.y=0,!0}function sg(R){var N=R.x,j=R.y;this.offset.pending.x+=N,this.offset.pending.y+=j,this.offset.total.x+=N,this.offset.total.y+=j}function Jr(R,N){var j=R.page,nA=R.client,lA=N.x,hA=N.y;j.x+=lA,j.y+=hA,nA.x+=lA,nA.y+=hA}ys.offsetBy="";var lg={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(R){R.Interaction.prototype.offsetBy=sg},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(N){N.pointerIsDown&&(Jr(N.coords.cur,N.offset.total),N.offset.pending.x=0,N.offset.pending.y=0)}(R.interaction)},"interactions:before-action-start":Or,"interactions:before-action-move":Or,"interactions:before-action-end":function(R){var N=R.interaction;if($r(N))return N.move({offset:!0}),N.end(),!1},"interactions:stop":function(R){var N=R.interaction;N.offset.total.x=0,N.offset.total.y=0,N.offset.pending.x=0,N.offset.pending.y=0}}},zr=lg,cg=function(){function R(N){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=N}return b(R,[{key:"start",value:function(N){var j=this.interaction,nA=jo(j);if(!nA||!nA.enabled)return!1;var lA=j.coords.velocity.client,hA=cA(lA.x,lA.y),mA=this.modification||(this.modification=new zo(j));if(mA.copyFrom(j.modification),this.t0=j._now(),this.allowResume=nA.allowResume,this.v0=hA,this.currentOffset={x:0,y:0},this.startCoords=j.coords.cur.page,this.modifierArg=mA.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-j.coords.cur.timeStamp<50&&hA>nA.minSpeed&&hA>nA.endSpeed)this.startInertia();else{if(mA.result=mA.setAll(this.modifierArg),!mA.result.changed)return!1;this.startSmoothEnd()}return j.modification.result.rect=null,j.offsetBy(this.targetOffset),j._doPhase({interaction:j,event:N,phase:"inertiastart"}),j.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),j.modification.result.rect=null,this.active=!0,j.simulation=this,!0}},{key:"startInertia",value:function(){var N=this,j=this.interaction.coords.velocity.client,nA=jo(this.interaction),lA=nA.resistance,hA=-Math.log(nA.endSpeed/this.v0)/lA;this.targetOffset={x:(j.x-hA)/lA,y:(j.y-hA)/lA},this.te=hA,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 N.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var N=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 N.smoothEndTick()})}},{key:"onNextFrame",value:function(N){var j=this;this.timeout=Ie.request(function(){j.active&&N()})}},{key:"inertiaTick",value:function(){var N,j,nA,lA,hA,mA,IA,DA=this,xA=this.interaction,yA=jo(xA).resistance,GA=(xA._now()-this.t0)/1e3;if(GA<this.te){var jA,se=1-(Math.exp(-yA*GA)-this.lambda_v0)/this.one_ve_v0;this.isModified?(N=0,j=0,nA=this.targetOffset.x,lA=this.targetOffset.y,hA=this.modifiedOffset.x,mA=this.modifiedOffset.y,jA={x:_s(IA=se,N,nA,hA),y:_s(IA,j,lA,mA)}):jA={x:this.targetOffset.x*se,y:this.targetOffset.y*se};var oe={x:jA.x-this.currentOffset.x,y:jA.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 N=this,j=this.interaction,nA=j._now()-this.t0,lA=jo(j).smoothEndDuration;if(nA<lA){var hA={x:qo(nA,0,this.targetOffset.x,lA),y:qo(nA,0,this.targetOffset.y,lA)},mA={x:hA.x-this.currentOffset.x,y:hA.y-this.currentOffset.y};this.currentOffset.x+=mA.x,this.currentOffset.y+=mA.y,j.offsetBy(mA),j.move({skipModifiers:this.modifierCount}),this.onNextFrame(function(){return N.smoothEndTick()})}else j.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(N){var j=N.pointer,nA=N.event,lA=N.eventTarget,hA=this.interaction;hA.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),hA.updatePointer(j,nA,lA,!0),hA._doPhase({interaction:hA,event:nA,phase:"resume"}),V(hA.coords.prev,hA.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 jo(R){var N=R.interactable,j=R.prepared;return N&&N.options&&j.name&&N.options[j.name].inertia}var gg={id:"inertia",before:["modifiers","actions"],install:function(R){var N=R.defaults;R.usePlugin(zr),R.usePlugin(Zo),R.actions.phases.inertiastart=!0,R.actions.phases.resume=!0,N.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(R){var N=R.interaction;N.inertia=new cg(N)},"interactions:before-action-end":function(R){var N=R.interaction,j=R.event;return(!N._interacting||N.simulation||!N.inertia.start(j))&&null},"interactions:down":function(R){var N=R.interaction,j=R.eventTarget,nA=N.inertia;if(nA.active)for(var lA=j;u.element(lA);){if(lA===N.element){nA.resume(R);break}lA=H(lA)}},"interactions:stop":function(R){var N=R.interaction.inertia;N.active&&N.stop()},"interactions:before-action-resume":function(R){var N=R.interaction.modification;N.stop(R),N.start(R,R.interaction.coords.cur.page),N.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 _s(R,N,j,nA){var lA=1-R;return lA*lA*N+2*lA*R*j+R*R*nA}function qo(R,N,j,nA){return-j*(R/=nA)*(R-2)+N}var ug=gg;function Ms(R,N){for(var j=0;j<N.length;j++){var nA=N[j];if(R.immediatePropagationStopped)break;nA(R)}}var xs=function(){function R(N){I(this,R),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=eA({},N||{})}return b(R,[{key:"fire",value:function(N){var j,nA=this.global;(j=this.types[N.type])&&Ms(N,j),!N.propagationStopped&&nA&&(j=nA[N.type])&&Ms(N,j)}},{key:"on",value:function(N,j){var nA=W(N,j);for(N in nA)this.types[N]=ye(this.types[N]||[],nA[N])}},{key:"off",value:function(N,j){var nA=W(N,j);for(N in nA){var lA=this.types[N];if(lA&&lA.length)for(var hA=0,mA=nA[N];hA<mA.length;hA++){var IA=mA[hA],DA=lA.indexOf(IA);DA!==-1&&lA.splice(DA,1)}}}},{key:"getRect",value:function(N){return null}}]),R}(),dg=function(){function R(N){I(this,R),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=N,$(this,N)}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,N){return R===N||(typeof R=="boolean"?!!N.capture===R&&!N.passive:!!R.capture==!!N.capture&&!!R.passive==!!N.passive)}var ct={id:"events",install:function(R){var N,j=[],nA={},lA=[],hA={add:mA,remove:IA,addDelegate:function(yA,GA,jA,se,oe){var de=ho(oe);if(!nA[jA]){nA[jA]=[];for(var De=0;De<lA.length;De++){var Qe=lA[De];mA(Qe,jA,DA),mA(Qe,jA,xA,!0)}}var vA=nA[jA],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:de})},removeDelegate:function(yA,GA,jA,se,oe){var de,De=ho(oe),Qe=nA[jA],vA=!1;if(Qe)for(de=Qe.length-1;de>=0;de--){var TA=Qe[de];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(de,1),IA(GA,jA,DA),IA(GA,jA,xA,!0)),vA=!0;break}}if(vA)break}}},delegateListener:DA,delegateUseCapture:xA,delegatedEvents:nA,documents:lA,targets:j,supportsOptions:!1,supportsPassive:!1};function mA(yA,GA,jA,se){if(yA.addEventListener){var oe=ho(se),de=$A(j,function(De){return De.eventTarget===yA});de||(de={eventTarget:yA,events:{}},j.push(de)),de.events[GA]||(de.events[GA]=[]),$A(de.events[GA],function(De){return De.func===jA&&rt(De.options,oe)})||(yA.addEventListener(GA,jA,hA.supportsOptions?oe:oe.capture),de.events[GA].push({func:jA,options:oe}))}}function IA(yA,GA,jA,se){if(yA.addEventListener&&yA.removeEventListener){var oe=UA(j,function(Pe){return Pe.eventTarget===yA}),de=j[oe];if(de&&de.events)if(GA!=="all"){var De=!1,Qe=de.events[GA];if(Qe){if(jA==="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===jA&&rt(Be.options,PA)){yA.removeEventListener(GA,jA,hA.supportsOptions?PA:PA.capture),Qe.splice(VA,1),Qe.length===0&&(delete de.events[GA],De=!0);break}}}De&&!Object.keys(de.events).length&&j.splice(oe,1)}else for(GA in de.events)de.events.hasOwnProperty(GA)&&IA(yA,GA,"all")}}function DA(yA,GA){for(var jA=ho(GA),se=new dg(yA),oe=nA[yA.type],de=WA(yA)[0],De=de;u.element(De);){for(var Qe=0;Qe<oe.length;Qe++){var vA=oe[Qe],TA=vA.selector,PA=vA.context;if(O(De,TA)&&M(PA,de)&&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,jA)&&Pe.func(se)}}}De=H(De)}}function xA(yA){return DA(yA,!0)}return(N=R.document)==null||N.createElement("div").addEventListener("test",null,{get capture(){return hA.supportsOptions=!0},get passive(){return hA.supportsPassive=!0}}),R.events=hA,hA}},Zr={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(R){for(var N=0,j=Zr.methodOrder;N<j.length;N++){var nA=j[N],lA=Zr[nA](R);if(lA)return lA}return null},simulationResume:function(R){var N=R.pointerType,j=R.eventType,nA=R.eventTarget,lA=R.scope;if(!/down|start/i.test(j))return null;for(var hA=0,mA=lA.interactions.list;hA<mA.length;hA++){var IA=mA[hA],DA=nA;if(IA.simulation&&IA.simulation.allowResume&&IA.pointerType===N)for(;DA;){if(DA===IA.element)return IA;DA=H(DA)}}return null},mouseOrPen:function(R){var N,j=R.pointerId,nA=R.pointerType,lA=R.eventType,hA=R.scope;if(nA!=="mouse"&&nA!=="pen")return null;for(var mA=0,IA=hA.interactions.list;mA<IA.length;mA++){var DA=IA[mA];if(DA.pointerType===nA){if(DA.simulation&&!Ss(DA,j))continue;if(DA.interacting())return DA;N||(N=DA)}}if(N)return N;for(var xA=0,yA=hA.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 N=R.pointerId,j=0,nA=R.scope.interactions.list;j<nA.length;j++){var lA=nA[j];if(Ss(lA,N))return lA}return null},idle:function(R){for(var N=R.pointerType,j=0,nA=R.scope.interactions.list;j<nA.length;j++){var lA=nA[j];if(lA.pointers.length===1){var hA=lA.interactable;if(hA&&(!hA.options.gesture||!hA.options.gesture.enabled))continue}else if(lA.pointers.length>=2)continue;if(!lA.interacting()&&N===lA.pointerType)return lA}return null}};function Ss(R,N){return R.pointers.some(function(j){return j.id===N})}var hg=Zr,Wr=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Fs(R,N){return function(j){var nA=N.interactions.list,lA=SA(j),hA=WA(j),mA=hA[0],IA=hA[1],DA=[];if(/^touch/.test(j.type)){N.prevTouchTime=N.now();for(var xA=0,yA=j.changedTouches;xA<yA.length;xA++){var GA=yA[xA],jA={pointer:GA,pointerId:YA(GA),pointerType:lA,eventType:j.type,eventTarget:mA,curEventTarget:IA,scope:N},se=Ns(jA);DA.push([jA.pointer,jA.eventTarget,jA.curEventTarget,se])}}else{var oe=!1;if(!E.supportsPointerEvent&&/mouse/.test(j.type)){for(var de=0;de<nA.length&&!oe;de++)oe=nA[de].pointerType!=="mouse"&&nA[de].pointerIsDown;oe=oe||N.now()-N.prevTouchTime<500||j.timeStamp===0}if(!oe){var De={pointer:j,pointerId:YA(j),pointerType:lA,eventType:j.type,curEventTarget:IA,eventTarget:mA,scope:N},Qe=Ns(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,j,VA,Be)}}}function Ns(R){var N=R.pointerType,j=R.scope,nA={interaction:hg.search(R),searchDetails:R};return j.fire("interactions:find",nA),nA.interaction||j.interactions.new({pointerType:N})}function Xo(R,N){var j=R.doc,nA=R.scope,lA=R.options,hA=nA.interactions.docEvents,mA=nA.events,IA=mA[N];for(var DA in nA.browser.isIOS&&!lA.events&&(lA.events={passive:!1}),mA.delegatedEvents)IA(j,DA,mA.delegateListener),IA(j,DA,mA.delegateUseCapture,!0);for(var xA=lA&&lA.events,yA=0;yA<hA.length;yA++){var GA=hA[yA];IA(j,GA.type,GA.listener,xA)}}var pg={id:"core/interactions",install:function(R){for(var N={},j=0;j<Wr.length;j++){var nA=Wr[j];N[nA]=Fs(nA,R)}var lA,hA=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=jA[GA];R.documents.some(function(oe){return M(oe.doc,se.downTarget)})||xA.removePointer(se.pointer,se.event)},GA=0,jA=xA.pointers;GA<jA.length;GA++)yA()}}(lA=r.PointerEvent?[{type:hA.down,listener:mA},{type:hA.down,listener:N.pointerDown},{type:hA.move,listener:N.pointerMove},{type:hA.up,listener:N.pointerUp},{type:hA.cancel,listener:N.pointerUp}]:[{type:"mousedown",listener:N.pointerDown},{type:"mousemove",listener:N.pointerMove},{type:"mouseup",listener:N.pointerUp},{type:"touchstart",listener:mA},{type:"touchstart",listener:N.pointerDown},{type:"touchmove",listener:N.pointerMove},{type:"touchend",listener:N.pointerUp},{type:"touchcancel",listener:N.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=Y(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}(ks),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:N,docEvents:lA,pointerMoveTolerance:1},R.usePlugin(ti)},listeners:{"scope:add-document":function(R){return Xo(R,"add")},"scope:remove-document":function(R){return Xo(R,"remove")},"interactable:unset":function(R,N){for(var j=R.interactable,nA=N.interactions.list.length-1;nA>=0;nA--){var lA=N.interactions.list[nA];lA.interactable===j&&(lA.stop(),N.fire("interactions:destroy",{interaction:lA}),lA.destroy(),N.interactions.list.length>2&&N.interactions.list.splice(nA,1))}}},onDocSignal:Xo,doOnInteractions:Fs,methodNames:Wr},St=pg,Rn=function(R){return R[R.On=0]="On",R[R.Off=1]="Off",R}(Rn||{}),mi=function(){function R(N,j,nA,lA){I(this,R),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new xs,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=j.actions,this.target=N,this._context=j.context||nA,this._win=y(G(N)?this._context:N),this._doc=this._win.document,this._scopeEvents=lA,this.set(j)}return b(R,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(N,j){return u.func(j.onstart)&&this.on("".concat(N,"start"),j.onstart),u.func(j.onmove)&&this.on("".concat(N,"move"),j.onmove),u.func(j.onend)&&this.on("".concat(N,"end"),j.onend),u.func(j.oninertiastart)&&this.on("".concat(N,"inertiastart"),j.oninertiastart),this}},{key:"updatePerActionListeners",value:function(N,j,nA){var lA,hA=this,mA=(lA=this._actions.map[N])==null?void 0:lA.filterEventType,IA=function(DA){return(mA==null||mA(DA))&&bn(DA,hA._actions)};(u.array(j)||u.object(j))&&this._onOff(Rn.Off,N,j,void 0,IA),(u.array(nA)||u.object(nA))&&this._onOff(Rn.On,N,nA,void 0,IA)}},{key:"setPerAction",value:function(N,j){var nA=this._defaults;for(var lA in j){var hA=lA,mA=this.options[N],IA=j[hA];hA==="listeners"&&this.updatePerActionListeners(N,mA.listeners,IA),u.array(IA)?mA[hA]=xe(IA):u.plainObject(IA)?(mA[hA]=eA(mA[hA]||{},Pi(IA)),u.object(nA.perAction[hA])&&"enabled"in nA.perAction[hA]&&(mA[hA].enabled=IA.enabled!==!1)):u.bool(IA)&&u.object(nA.perAction[hA])?mA[hA].enabled=IA:mA[hA]=IA}}},{key:"getRect",value:function(N){return N=N||(u.element(this.target)?this.target:null),u.string(this.target)&&(N=N||this._context.querySelector(this.target)),_(N)}},{key:"rectChecker",value:function(N){var j=this;return u.func(N)?(this.getRect=function(nA){var lA=eA({},N.apply(j,nA));return"width"in lA||(lA.width=lA.right-lA.left,lA.height=lA.bottom-lA.top),lA},this):N===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(N,j){if(G(j)||u.object(j)){for(var nA in this.options[N]=j,this._actions.map)this.options[nA][N]=j;return this}return this.options[N]}},{key:"origin",value:function(N){return this._backCompatOption("origin",N)}},{key:"deltaSource",value:function(N){return N==="page"||N==="client"?(this.options.deltaSource=N,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var N=this.target;return u.string(N)?Array.from(this._context.querySelectorAll(N)):u.func(N)&&N.getAllElements?N.getAllElements():u.element(N)?[N]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(N){return this._context===N.ownerDocument||M(this._context,N)}},{key:"testIgnoreAllow",value:function(N,j,nA){return!this.testIgnore(N.ignoreFrom,j,nA)&&this.testAllow(N.allowFrom,j,nA)}},{key:"testAllow",value:function(N,j,nA){return!N||!!u.element(nA)&&(u.string(N)?z(nA,N,j):!!u.element(N)&&M(N,nA))}},{key:"testIgnore",value:function(N,j,nA){return!(!N||!u.element(nA))&&(u.string(N)?z(nA,N,j):!!u.element(N)&&M(N,nA))}},{key:"fire",value:function(N){return this.events.fire(N),this}},{key:"_onOff",value:function(N,j,nA,lA,hA){u.object(j)&&!u.array(j)&&(lA=nA,nA=null);var mA=W(j,nA,hA);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[N===Rn.On?"on":"off"](IA,yA):u.string(this.target)?this._scopeEvents[N===Rn.On?"addDelegate":"removeDelegate"](this.target,this._context,IA,yA,lA):this._scopeEvents[N===Rn.On?"add":"remove"](this.target,IA,yA,lA)}}return this}},{key:"on",value:function(N,j,nA){return this._onOff(Rn.On,N,j,nA)}},{key:"off",value:function(N,j,nA){return this._onOff(Rn.Off,N,j,nA)}},{key:"set",value:function(N){var j=this._defaults;for(var nA in u.object(N)||(N={}),this.options=Pi(j.base),this._actions.methodDict){var lA=nA,hA=this._actions.methodDict[lA];this.options[lA]={},this.setPerAction(lA,eA(eA({},j.perAction),j.actions[lA])),this[hA](N[lA])}for(var mA in N)mA!=="getRect"?u.func(this[mA])&&this[mA](N[mA]):this.rectChecker(N.getRect);return this}},{key:"unset",value:function(){if(u.string(this.target))for(var N in this._scopeEvents.delegatedEvents)for(var j=this._scopeEvents.delegatedEvents[N],nA=j.length-1;nA>=0;nA--){var lA=j[nA],hA=lA.selector,mA=lA.context,IA=lA.listeners;hA===this.target&&mA===this._context&&j.splice(nA,1);for(var DA=IA.length-1;DA>=0;DA--)this._scopeEvents.removeDelegate(this.target,this._context,N,IA[DA][0],IA[DA][1])}else this._scopeEvents.remove(this.target,"all")}}]),R}(),Rs=function(){function R(N){var j=this;I(this,R),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=N,N.addListeners({"interactable:unset":function(nA){var lA=nA.interactable,hA=lA.target,mA=u.string(hA)?j.selectorMap[hA]:hA[j.scope.id],IA=UA(mA,function(DA){return DA===lA});mA.splice(IA,1)}})}return b(R,[{key:"new",value:function(N,j){j=eA(j||{},{actions:this.scope.actions});var nA=new this.scope.Interactable(N,j,this.scope.document,this.scope.events);return this.scope.addDocument(nA._doc),this.list.push(nA),u.string(N)?(this.selectorMap[N]||(this.selectorMap[N]=[]),this.selectorMap[N].push(nA)):(nA.target[this.scope.id]||Object.defineProperty(N,this.scope.id,{value:[],configurable:!0}),N[this.scope.id].push(nA)),this.scope.fire("interactable:new",{target:N,options:j,interactable:nA,win:this.scope._win}),nA}},{key:"getExisting",value:function(N,j){var nA=j&&j.context||this.scope.document,lA=u.string(N),hA=lA?this.selectorMap[N]:N[this.scope.id];if(hA)return $A(hA,function(mA){return mA._context===nA&&(lA||mA.inContext(N))})}},{key:"forEachMatch",value:function(N,j){for(var nA=0,lA=this.list;nA<lA.length;nA++){var hA=lA[nA],mA=void 0;if((u.string(hA.target)?u.element(N)&&O(N,hA.target):N===hA.target)&&hA.inContext(N)&&(mA=j(hA)),mA!==void 0)return mA}}}]),R}(),jr=function(){function R(){var N=this;I(this,R),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=E,this.defaults=Pi(Wo),this.Eventable=xs,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=function(nA){var lA=function hA(mA,IA){var DA=nA.interactables.getExisting(mA,IA);return DA||((DA=nA.interactables.new(mA,IA)).events.global=hA.globalEvents),DA};return lA.getPointerAverage=ZA,lA.getTouchBBox=ce,lA.getTouchDistance=ae,lA.getTouchAngle=LA,lA.getElementRect=_,lA.getElementClientRect=X,lA.matchesSelector=O,lA.closest=x,lA.globalEvents={},lA.version="1.10.27",lA.scope=nA,lA.use=function(hA,mA){return this.scope.usePlugin(hA,mA),this},lA.isSet=function(hA,mA){return!!this.scope.interactables.get(hA,mA&&mA.context)},lA.on=At(function(hA,mA,IA){if(u.string(hA)&&hA.search(" ")!==-1&&(hA=hA.trim().split(/ +/)),u.array(hA)){for(var DA=0,xA=hA;DA<xA.length;DA++){var yA=xA[DA];this.on(yA,mA,IA)}return this}if(u.object(hA)){for(var GA in hA)this.on(GA,hA[GA],mA);return this}return bn(hA,this.scope.actions)?this.globalEvents[hA]?this.globalEvents[hA].push(mA):this.globalEvents[hA]=[mA]:this.scope.events.add(this.scope.document,hA,mA,{options:IA}),this},"The interact.on() method is being deprecated"),lA.off=At(function(hA,mA,IA){if(u.string(hA)&&hA.search(" ")!==-1&&(hA=hA.trim().split(/ +/)),u.array(hA)){for(var DA=0,xA=hA;DA<xA.length;DA++){var yA=xA[DA];this.off(yA,mA,IA)}return this}if(u.object(hA)){for(var GA in hA)this.off(GA,hA[GA],mA);return this}var jA;return bn(hA,this.scope.actions)?hA in this.globalEvents&&(jA=this.globalEvents[hA].indexOf(mA))!==-1&&this.globalEvents[hA].splice(jA,1):this.scope.events.remove(this.scope.document,hA,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 hA=0,mA=this.scope.interactions.list;hA<mA.length;hA++)mA[hA].stop();return this},lA.pointerMoveTolerance=function(hA){return u.number(hA)?(this.scope.interactions.pointerMoveTolerance=hA,this):this.scope.interactions.pointerMoveTolerance},lA.addDocument=function(hA,mA){this.scope.addDocument(hA,mA)},lA.removeDocument=function(hA){this.scope.removeDocument(hA)},lA}(this),this.InteractEvent=ni,this.Interactable=void 0,this.interactables=new Rs(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(nA){return N.removeDocument(nA.target)};var j=this;this.Interactable=function(nA){w(hA,nA);var lA=Y(hA);function hA(){return I(this,hA),lA.apply(this,arguments)}return b(hA,[{key:"_defaults",get:function(){return j.defaults}},{key:"set",value:function(mA){return K(S(hA.prototype),"set",this).call(this,mA),j.fire("interactable:set",{options:mA,interactable:this}),this}},{key:"unset",value:function(){K(S(hA.prototype),"unset",this).call(this);var mA=j.interactables.list.indexOf(this);mA<0||(j.interactables.list.splice(mA,1),j.fire("interactable:unset",{interactable:this}))}}]),hA}(mi)}return b(R,[{key:"addListeners",value:function(N,j){this.listenerMaps.push({id:j,map:N})}},{key:"fire",value:function(N,j){for(var nA=0,lA=this.listenerMaps;nA<lA.length;nA++){var hA=lA[nA].map[N];if(hA&&hA(j,this,N)===!1)return!1}}},{key:"init",value:function(N){return this.isInitialized?this:function(j,nA){return j.isInitialized=!0,u.window(nA)&&k(nA),r.init(nA),E.init(nA),Ie.init(nA),j.window=nA,j.document=nA.document,j.usePlugin(St),j.usePlugin(ct),j}(this,N)}},{key:"pluginIsInstalled",value:function(N){var j=N.id;return j?!!this._plugins.map[j]:this._plugins.list.indexOf(N)!==-1}},{key:"usePlugin",value:function(N,j){if(!this.isInitialized)return this;if(this.pluginIsInstalled(N))return this;if(N.id&&(this._plugins.map[N.id]=N),this._plugins.list.push(N),N.install&&N.install(this,j),N.listeners&&N.before){for(var nA=0,lA=this.listenerMaps.length,hA=N.before.reduce(function(IA,DA){return IA[DA]=!0,IA[tn(DA)]=!0,IA},{});nA<lA;nA++){var mA=this.listenerMaps[nA].id;if(mA&&(hA[mA]||hA[tn(mA)]))break}this.listenerMaps.splice(nA,0,{id:N.id,map:N.listeners})}else N.listeners&&this.listenerMaps.push({id:N.id,map:N.listeners});return this}},{key:"addDocument",value:function(N,j){if(this.getDocIndex(N)!==-1)return!1;var nA=y(N);j=j?eA({},j):{},this.documents.push({doc:N,options:j}),this.events.documents.push(N),N!==this.document&&this.events.add(nA,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:N,window:nA,scope:this,options:j})}},{key:"removeDocument",value:function(N){var j=this.getDocIndex(N),nA=y(N),lA=this.documents[j].options;this.events.remove(nA,"unload",this.onWindowUnload),this.documents.splice(j,1),this.events.documents.splice(j,1),this.fire("scope:remove-document",{doc:N,window:nA,scope:this,options:lA})}},{key:"getDocIndex",value:function(N){for(var j=0;j<this.documents.length;j++)if(this.documents[j].doc===N)return j;return-1}},{key:"getDocOptions",value:function(N){var j=this.getDocIndex(N);return j===-1?null:this.documents[j].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),R}();function tn(R){return R&&R.replace(/\/.*$/,"")}var qr=new jr,Gt=qr.interactStatic,Ls=typeof globalThis<"u"?globalThis:window;qr.init(Ls);var Gs=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(R){var N=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(nA){var lA=nA[0],hA=nA[1];return lA in R||hA in R}),j=function(nA,lA){for(var hA=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:hA,grid:R,x:null,y:null},GA=0;GA<N.length;GA++){var jA=N[GA],se=jA[0],oe=jA[1],de=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,de*R[se]+xA.x)),yA[oe]=Math.max(IA.top,Math.min(IA.bottom,De*R[oe]+xA.y))}return yA};return j.grid=R,j.coordFields=N,j}}),Ps={id:"snappers",install:function(R){var N=R.interactStatic;N.snappers=eA(N.snappers||{},Gs),N.createSnapGrid=N.snappers.grid}},Hs=Ps,nn={start:function(R){var N=R.state,j=R.rect,nA=R.edges,lA=R.pageCoords,hA=N.options,mA=hA.ratio,IA=hA.enabled,DA=N.options,xA=DA.equalDelta,yA=DA.modifiers;mA==="preserve"&&(mA=j.width/j.height),N.startCoords=eA({},lA),N.startRect=eA({},j),N.ratio=mA,N.equalDelta=xA;var GA=N.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(N.xIsPrimaryAxis=!(!nA.left&&!nA.right),N.equalDelta){var jA=(GA.left?1:-1)*(GA.top?1:-1);N.edgeSign={x:jA,y:jA}}else N.edgeSign={x:GA.left?-1:1,y:GA.top?-1:1};if(IA!==!1&&eA(nA,GA),yA!=null&&yA.length){var se=new zo(R.interaction);se.copyFrom(R.interaction.modification),se.prepareStates(yA),N.subModification=se,se.startAll(i({},R))}},set:function(R){var N=R.state,j=R.rect,nA=R.coords,lA=N.linkedEdges,hA=eA({},nA),mA=N.equalDelta?Bg:un;if(eA(R.edges,lA),mA(N,N.xIsPrimaryAxis,nA,j),!N.subModification)return null;var IA=eA({},j);gA(lA,IA,{x:nA.x-hA.x,y:nA.y-hA.y});var DA=N.subModification.setAll(i(i({},R),{},{rect:IA,edges:lA,pageCoords:nA,prevCoords:nA,prevRect:IA})),xA=DA.delta;return DA.changed&&(mA(N,Math.abs(xA.x)>Math.abs(xA.y),DA.coords,DA.rect),eA(nA,DA.coords)),DA.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function Bg(R,N,j){var nA=R.startCoords,lA=R.edgeSign;N?j.y=nA.y+(j.x-nA.x)*lA.y:j.x=nA.x+(j.y-nA.y)*lA.x}function un(R,N,j,nA){var lA=R.startRect,hA=R.startCoords,mA=R.ratio,IA=R.edgeSign;if(N){var DA=nA.width/mA;j.y=hA.y+(DA-lA.height)*IA.y}else{var xA=nA.height*mA;j.x=hA.x+(xA-lA.width)*IA.x}}var Cg=Nn(nn,"aspectRatio"),Xr=function(){};Xr._defaults={};var Dn=Xr;function Ln(R,N,j){return u.func(R)?iA(R,N.interactable,N.element,[j.x,j.y,N]):iA(R,N.interactable,N.element)}var Hi={start:function(R){var N=R.rect,j=R.startOffset,nA=R.state,lA=R.interaction,hA=R.pageCoords,mA=nA.options,IA=mA.elementRect,DA=eA({left:0,top:0,right:0,bottom:0},mA.offset||{});if(N&&IA){var xA=Ln(mA.restriction,lA,hA);if(xA){var yA=xA.right-xA.left-N.width,GA=xA.bottom-xA.top-N.height;yA<0&&(DA.left+=yA,DA.right+=yA),GA<0&&(DA.top+=GA,DA.bottom+=GA)}DA.left+=j.left-N.width*IA.left,DA.top+=j.top-N.height*IA.top,DA.right+=j.right-N.width*(1-IA.right),DA.bottom+=j.bottom-N.height*(1-IA.bottom)}nA.offset=DA},set:function(R){var N=R.coords,j=R.interaction,nA=R.state,lA=nA.options,hA=nA.offset,mA=Ln(lA.restriction,j,N);if(mA){var IA=function(DA){return!DA||"left"in DA&&"top"in DA||((DA=eA({},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);N.x=Math.max(Math.min(IA.right-hA.right,N.x),IA.left+hA.left),N.y=Math.max(Math.min(IA.bottom-hA.bottom,N.y),IA.top+hA.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},ht=Nn(Hi,"restrict"),$n={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Vo={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Ks(R,N){for(var j=0,nA=["top","left","bottom","right"];j<nA.length;j++){var lA=nA[j];lA in R||(R[lA]=N[lA])}return R}var Ei={noInner:$n,noOuter:Vo,start:function(R){var N,j=R.interaction,nA=R.startOffset,lA=R.state,hA=lA.options;hA&&(N=dA(Ln(hA.offset,j,j.coords.start.page))),N=N||{x:0,y:0},lA.offset={top:N.y+nA.top,left:N.x+nA.left,bottom:N.y-nA.bottom,right:N.x-nA.right}},set:function(R){var N=R.coords,j=R.edges,nA=R.interaction,lA=R.state,hA=lA.offset,mA=lA.options;if(j){var IA=eA({},N),DA=Ln(mA.inner,nA,IA)||{},xA=Ln(mA.outer,nA,IA)||{};Ks(DA,$n),Ks(xA,Vo),j.top?N.y=Math.min(Math.max(xA.top+hA.top,IA.y),DA.top+hA.top):j.bottom&&(N.y=Math.max(Math.min(xA.bottom+hA.bottom,IA.y),DA.bottom+hA.bottom)),j.left?N.x=Math.min(Math.max(xA.left+hA.left,IA.x),DA.left+hA.left):j.right&&(N.x=Math.max(Math.min(xA.right+hA.right,IA.x),DA.right+hA.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},mg=Nn(Ei,"restrictEdges"),Eg=eA({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(R){}},Hi.defaults),Qg=Nn({start:Hi.start,set:Hi.set,defaults:Eg},"restrictRect"),Ts={width:-1/0,height:-1/0},Ar={width:1/0,height:1/0},Ki=Nn({start:function(R){return Ei.start(R)},set:function(R){var N=R.interaction,j=R.state,nA=R.rect,lA=R.edges,hA=j.options;if(lA){var mA=EA(Ln(hA.min,N,R.coords))||Ts,IA=EA(Ln(hA.max,N,R.coords))||Ar;j.options={endOnly:hA.endOnly,inner:eA({},Ei.noInner),outer:eA({},Ei.noOuter)},lA.top?(j.options.inner.top=nA.bottom-mA.height,j.options.outer.top=nA.bottom-IA.height):lA.bottom&&(j.options.inner.bottom=nA.top+mA.height,j.options.outer.bottom=nA.top+IA.height),lA.left?(j.options.inner.left=nA.right-mA.width,j.options.outer.left=nA.right-IA.width):lA.right&&(j.options.inner.right=nA.left+mA.width,j.options.outer.right=nA.left+IA.width),Ei.set(R),j.options=hA}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),Vr={start:function(R){var N,j=R.interaction,nA=R.interactable,lA=R.element,hA=R.rect,mA=R.state,IA=R.startOffset,DA=mA.options,xA=DA.offsetWithOrigin?function(jA){var se=jA.interaction.element,oe=dA(iA(jA.state.options.origin,null,null,[se])),de=oe||uA(jA.interactable,se,jA.interaction.prepared.name);return de}(R):{x:0,y:0};if(DA.offset==="startCoords")N={x:j.coords.start.page.x,y:j.coords.start.page.y};else{var yA=iA(DA.offset,nA,lA,[j]);(N=dA(yA)||{x:0,y:0}).x+=xA.x,N.y+=xA.y}var GA=DA.relativePoints;mA.offsets=hA&&GA&&GA.length?GA.map(function(jA,se){return{index:se,relativePoint:jA,x:IA.left-hA.width*jA.x+N.x,y:IA.top-hA.height*jA.y+N.y}}):[{index:0,relativePoint:null,x:N.x,y:N.y}]},set:function(R){var N=R.interaction,j=R.coords,nA=R.state,lA=nA.options,hA=nA.offsets,mA=uA(N.interactable,N.element,N.prepared.name),IA=eA({},j),DA=[];lA.offsetWithOrigin||(IA.x-=mA.x,IA.y-=mA.y);for(var xA=0,yA=hA;xA<yA.length;xA++)for(var GA=yA[xA],jA=IA.x-GA.x,se=IA.y-GA.y,oe=0,de=lA.targets.length;oe<de;oe++){var De=lA.targets[oe],Qe=void 0;(Qe=u.func(De)?De(jA,se,N._proxy,GA,oe):De)&&DA.push({x:(u.number(Qe.x)?Qe.x:jA)+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=cA(Be,Pe),Oe=He<=VA;VA===1/0&&vA.inRange&&vA.range!==1/0&&(Oe=!1),vA.target&&!(Oe?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=Oe,vA.delta.x=Be,vA.delta.y=Pe)}return vA.inRange&&(j.x=vA.target.x,j.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}},Us=Nn(Vr,"snap"),po={start:function(R){var N=R.state,j=R.edges,nA=N.options;if(!j)return null;R.state={options:{targets:null,relativePoints:[{x:j.left?0:1,y:j.top?0:1}],offset:nA.offset||"self",origin:{x:0,y:0},range:nA.range}},N.targetFields=N.targetFields||[["width","height"],["x","y"]],Vr.start(R),N.offsets=R.state.offsets,R.state=N},set:function(R){var N=R.interaction,j=R.state,nA=R.coords,lA=j.options,hA=j.offsets,mA={x:nA.x-hA[0].x,y:nA.y-hA[0].y};j.options=eA({},lA),j.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,N):xA){for(var GA=0,jA=j.targetFields;GA<jA.length;GA++){var se=jA[GA],oe=se[0],de=se[1];if(oe in yA||de in yA){yA.x=yA[oe],yA.y=yA[de];break}}j.options.targets.push(yA)}}var De=Vr.set(R);return j.options=lA,De},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},Aa=Nn(po,"snapSize"),Bo={aspectRatio:Cg,restrictEdges:mg,restrict:ht,restrictRect:Qg,restrictSize:Ki,snapEdges:Nn({start:function(R){var N=R.edges;return N?(R.state.targetFields=R.state.targetFields||[[N.left?"left":"right",N.top?"top":"bottom"]],po.start(R)):null},set:po.set,defaults:eA(Pi(po.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:Us,snapSize:Aa,spring:Dn,avoid:Dn,transform:Dn,rubberband:Dn},Ys={id:"modifiers",install:function(R){var N=R.interactStatic;for(var j in R.usePlugin(Zo),R.usePlugin(Hs),N.modifiers=Bo,Bo){var nA=Bo[j],lA=nA._defaults,hA=nA._methods;lA._methods=hA,R.defaults.perAction[j]=lA}}},Ig=Ys,er=function(R){w(j,R);var N=Y(j);function j(nA,lA,hA,mA,IA,DA){var xA;if(I(this,j),$(P(xA=N.call(this,IA)),hA),hA!==lA&&$(P(xA),lA),xA.timeStamp=DA,xA.originalEvent=hA,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(j,[{key:"_subtractOrigin",value:function(nA){var lA=nA.x,hA=nA.y;return this.pageX-=lA,this.pageY-=hA,this.clientX-=lA,this.clientY-=hA,this}},{key:"_addOrigin",value:function(nA){var lA=nA.x,hA=nA.y;return this.pageX+=lA,this.pageY+=hA,this.clientX+=lA,this.clientY+=hA,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),j}(Ce),Qi={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(R){R.pointerEvents=Qi,R.defaults.actions.pointerEvents=Qi.defaults,eA(R.actions.phaselessTypes,Qi.types)},listeners:{"interactions:new":function(R){var N=R.interaction;N.prevTap=null,N.tapTime=0},"interactions:update-pointer":function(R){var N=R.down,j=R.pointerInfo;!N&&j.hold||(j.hold={duration:1/0,timeout:null})},"interactions:move":function(R,N){var j=R.interaction,nA=R.pointer,lA=R.event,hA=R.eventTarget;R.duplicate||j.pointerIsDown&&!j.pointerWasMoved||(j.pointerIsDown&&Kt(R),ii({interaction:j,pointer:nA,event:lA,eventTarget:hA,type:"move"},N))},"interactions:down":function(R,N){(function(j,nA){for(var lA=j.interaction,hA=j.pointer,mA=j.event,IA=j.eventTarget,DA=j.pointerIndex,xA=lA.pointers[DA].hold,yA=AA(IA),GA={interaction:lA,pointer:hA,event:mA,eventTarget:IA,type:"hold",targets:[],path:yA,node:null},jA=0;jA<yA.length;jA++){var se=yA[jA];GA.node=se,nA.fire("pointerEvents:collect-targets",GA)}if(GA.targets.length){for(var oe=1/0,de=0,De=GA.targets;de<De.length;de++){var Qe=De[de].eventable.options.holdDuration;Qe<oe&&(oe=Qe)}xA.duration=oe,xA.timeout=setTimeout(function(){ii({interaction:lA,eventTarget:IA,pointer:hA,event:mA,type:"hold"},nA)},oe)}})(R,N),ii(R,N)},"interactions:up":function(R,N){Kt(R),ii(R,N),function(j,nA){var lA=j.interaction,hA=j.pointer,mA=j.event,IA=j.eventTarget;lA.pointerWasMoved||ii({interaction:lA,eventTarget:IA,pointer:hA,event:mA,type:"tap"},nA)}(R,N)},"interactions:cancel":function(R,N){Kt(R),ii(R,N)}},PointerEvent:er,fire:ii,collectEventTargets:ea,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,N){var j=R.interaction,nA=R.pointer,lA=R.event,hA=R.eventTarget,mA=R.type,IA=R.targets,DA=IA===void 0?ea(R,N):IA,xA=new er(mA,nA,lA,hA,j,N.now());N.fire("pointerEvents:new",{pointerEvent:xA});for(var yA={interaction:j,pointer:nA,event:lA,eventTarget:hA,targets:DA,type:mA,pointerEvent:xA},GA=0;GA<DA.length;GA++){var jA=DA[GA];for(var se in jA.props||{})xA[se]=jA.props[se];var oe=uA(jA.eventable,jA.node);if(xA._subtractOrigin(oe),xA.eventable=jA.eventable,xA.currentTarget=jA.node,jA.eventable.fire(xA),xA._addOrigin(oe),xA.immediatePropagationStopped||xA.propagationStopped&&GA+1<DA.length&&DA[GA+1].node!==xA.currentTarget)break}if(N.fire("pointerEvents:fired",yA),mA==="tap"){var de=xA.double?ii({interaction:j,pointer:nA,event:lA,eventTarget:hA,type:"doubletap"},N):xA;j.prevTap=de,j.tapTime=de.timeStamp}return xA}function ea(R,N){var j=R.interaction,nA=R.pointer,lA=R.event,hA=R.eventTarget,mA=R.type,IA=j.getPointerIndex(nA),DA=j.pointers[IA];if(mA==="tap"&&(j.pointerWasMoved||!DA||DA.downTarget!==hA))return[];for(var xA=AA(hA),yA={interaction:j,pointer:nA,event:lA,eventTarget:hA,type:mA,path:xA,targets:[],node:null},GA=0;GA<xA.length;GA++){var jA=xA[GA];yA.node=jA,N.fire("pointerEvents:collect-targets",yA)}return mA==="hold"&&(yA.targets=yA.targets.filter(function(se){var oe,de;return se.eventable.options.holdDuration===((oe=j.pointers[IA])==null||(de=oe.hold)==null?void 0:de.duration)})),yA.targets}function Kt(R){var N=R.interaction,j=R.pointerIndex,nA=N.pointers[j].hold;nA&&nA.timeout&&(clearTimeout(nA.timeout),nA.timeout=null)}var ta=Object.freeze({__proto__:null,default:Qi});function Co(R){var N=R.interaction;N.holdIntervalHandle&&(clearInterval(N.holdIntervalHandle),N.holdIntervalHandle=null)}var Os={id:"pointer-events/holdRepeat",install:function(R){R.usePlugin(Qi);var N=R.pointerEvents;N.defaults.holdRepeatInterval=0,N.types.holdrepeat=R.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce(function(R,N){return R["pointerEvents:".concat(N)]=Co,R},{"pointerEvents:new":function(R){var N=R.pointerEvent;N.type==="hold"&&(N.count=(N.count||0)+1)},"pointerEvents:fired":function(R,N){var j=R.interaction,nA=R.pointerEvent,lA=R.eventTarget,hA=R.targets;if(nA.type==="hold"&&hA.length){var mA=hA[0].eventable.options.holdRepeatInterval;mA<=0||(j.holdIntervalHandle=setTimeout(function(){N.pointerEvents.fire({interaction:j,eventTarget:lA,type:"hold",pointer:nA,event:nA},N)},mA))}}})},$s=Os,fg={id:"pointer-events/interactableTargets",install:function(R){var N=R.Interactable;N.prototype.pointerEvents=function(nA){return eA(this.events.options,nA),this};var j=N.prototype._backCompatOption;N.prototype._backCompatOption=function(nA,lA){var hA=j.call(this,nA,lA);return hA===this&&(this.events.options[nA]=lA),hA}},listeners:{"pointerEvents:collect-targets":function(R,N){var j=R.targets,nA=R.node,lA=R.type,hA=R.eventTarget;N.interactables.forEachMatch(nA,function(mA){var IA=mA.events,DA=IA.options;IA.types[lA]&&IA.types[lA].length&&mA.testIgnoreAllow(DA,nA,hA)&&j.push({node:nA,eventable:IA,props:{interactable:mA}})})},"interactable:new":function(R){var N=R.interactable;N.events.getRect=function(j){return N.getRect(j)}},"interactable:set":function(R,N){var j=R.interactable,nA=R.options;eA(j.events.options,N.pointerEvents.defaults),eA(j.events.options,nA.pointerEvents||{})}}},wg=fg,bg={id:"pointer-events",install:function(R){R.usePlugin(ta),R.usePlugin($s),R.usePlugin(wg)}},Dg=bg,yg={id:"reflow",install:function(R){var N=R.Interactable;R.actions.phases.reflow=!0,N.prototype.reflow=function(j){return function(nA,lA,hA){for(var mA=nA.getAllElements(),IA=hA.window.Promise,DA=IA?[]:null,xA=function(){var GA=mA[yA],jA=nA.getRect(GA);if(!jA)return 1;var se,oe=$A(hA.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 de=EA(jA),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:de.x,y:de.y},client:{x:de.x,y:de.y},timeStamp:hA.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,Oe=He.Promise,on=Oe?new Oe(function(Jn){Be._reflowResolve=Jn}):void 0;return Be._reflowPromise=on,Be.start(PA,vA,TA),Be._interacting?(Be.move(Pe),Be.end(VA)):(Be.stop(),Be._reflowResolve()),Be.removePointer(VA,VA),on}(hA,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,j,R)}},listeners:{"interactions:stop":function(R,N){var j=R.interaction;j.pointerType==="reflow"&&(j._reflowResolve&&j._reflowResolve(),function(nA,lA){nA.splice(nA.indexOf(lA),1)}(N.interactions.list,j))}}},Ti=yg;if(Gt.use(ti),Gt.use(zr),Gt.use(Dg),Gt.use(ug),Gt.use(Ig),Gt.use(ei),Gt.use(JA),Gt.use(Je),Gt.use(Ti),Gt.default=Gt,h(n)==="object"&&n)try{n.exports=Gt}catch{}return Gt.default=Gt,Gt})}(Bs,Bs.exports);var s_=Bs.exports;const zp=fu(s_),Vc=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(Np),o=e.inject(Rp);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,F=NaN,P=NaN,Y=NaN,K=NaN,U=-1,v=-1,Q=-1,L=-1,k=i.x,y=i.y,m=i.w,B=i.h;const u=e.ref(),l=e.reactive({i:e.toRef(i,"i"),state:D,wrapper:u,calcXY:iA});function g(sA){W(sA)}function s(){oA()}function d(sA){In(i.isDraggable)&&(D.draggable=sA)}function p(sA){In(i.isResizable)&&(D.resizable=sA)}function a(sA){In(i.isBounded)&&(D.bounded=sA)}function r(sA){D.transformScale=sA}function C(sA){D.rowHeight=sA}function E(sA){D.maxRows=sA}function M(){D.rtl=Jp()==="rtl",oA()}function x(sA){D.cols=Math.floor(sA)}I.increaseItem(l),e.onBeforeMount(()=>{D.rtl=Jp()==="rtl"}),e.onMounted(()=>{I.responsive&&I.lastBreakpoint?D.cols=Op(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,B=i.h,m=i.w,jt(_)}),o.on("updateWidth",g),o.on("compact",s),o.on("setDraggable",d),o.on("setResizable",p),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",s),o.off("setDraggable",d),o.off("setResizable",p),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(l)}),A({state:D,wrapper:u});const H=typeof navigator<"u"?navigator.userAgent.toLowerCase().includes("android"):!1,O=e.computed(()=>D.resizable&&!i.static),J=e.computed(()=>I.isMirrored?!D.rtl:D.rtl),q=e.computed(()=>(D.draggable||D.resizable)&&!i.static),z=e_("item"),Z=e.computed(()=>({[z.b()]:!0,[z.bm("resizable")]:O.value,[z.bm("static")]:i.static,[z.bm("resizing")]:D.isResizing,[z.bm("dragging")]:D.isDragging,[z.bm("transform")]:D.useCssTransforms,[z.bm("rtl")]:J.value,[z.bm("no-touch")]:H&&q.value})),X=e.computed(()=>[z.be("resizer"),J.value&&z.bem("resizer","rtl")].filter(Boolean));e.watch(()=>i.isDraggable,sA=>{D.draggable=sA}),e.watch(()=>i.static,()=>{jt($),jt(tA)}),e.watch(()=>D.draggable,()=>{jt($)}),e.watch(()=>i.isResizable,sA=>{D.resizable=sA}),e.watch(()=>i.isBounded,sA=>{D.bounded=sA}),e.watch(()=>D.resizable,()=>{jt(tA)}),e.watch(()=>D.rowHeight,()=>{jt(_),jt(AA)}),e.watch([()=>D.cols,()=>D.containerWidth],()=>{jt(tA),jt(_),jt(AA)}),e.watch([()=>i.minH,()=>i.maxH,()=>i.minW,()=>i.maxW],()=>{jt(tA)}),e.watch(J,()=>{jt(tA),jt(_)}),e.watch([()=>I.margin,()=>I.margin[0],()=>I.margin[1]],()=>{const sA=I.margin;!sA||sA[0]===D.margin[0]&&sA[1]===D.margin[1]||(D.margin=sA.map(Number),jt(_),jt(AA))});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 sA=aA(k,y,m,B);D.isDragging&&(sA.top=D.dragging.top,J.value?sA.right=D.dragging.left:sA.left=D.dragging.left),D.isResizing&&(sA.width=D.resizing.width,sA.height=D.resizing.height);let CA;D.useCssTransforms?J.value?CA=qk(sA.top,sA.right,sA.width,sA.height):CA=jk(sA.top,sA.left,sA.width,sA.height):J.value?CA=Vk(sA.top,sA.right,sA.width,sA.height):CA=Xk(sA.top,sA.left,sA.width,sA.height),D.style=CA}function AA(){const sA={};for(const CA of["width","height"]){const _A=D.style[CA].match(/^(\d+)px$/);if(!_A)return;sA[CA]=_A[1]}h("container-resized",i.i,i.h,i.w,sA.height,sA.width)}function G(sA){if(i.static)return;const CA=sA.type;if(CA==="resizestart"&&D.isResizing||CA!=="resizestart"&&!D.isResizing)return;const _A=Up(sA);if(In(_A))return;const{x:YA,y:zA}=_A,qA={width:0,height:0};let ZA;switch(CA){case"resizestart":{tA(),U=m,v=B,ZA=aA(k,y,m,B),qA.width=ZA.width,qA.height=ZA.height,D.resizing=qA,D.isResizing=!0;break}case"resizemove":{!sA.edges.right&&!sA.edges.left&&(Y=YA),!sA.edges.top&&!sA.edges.bottom&&(K=zA);const ce=Yp(Y,K,YA,zA);J.value?qA.width=D.resizing.width-ce.deltaX/D.transformScale:qA.width=D.resizing.width+ce.deltaX/D.transformScale,qA.height=D.resizing.height+ce.deltaY/D.transformScale,D.resizing=qA;break}case"resizeend":{ZA=aA(k,y,m,B),qA.width=ZA.width,qA.height=ZA.height,D.resizing={width:-1,height:-1},D.isResizing=!1;break}}ZA=uA(qA.height,qA.width),ZA.w<i.minW&&(ZA.w=i.minW),ZA.w>i.maxW&&(ZA.w=i.maxW),ZA.h<i.minH&&(ZA.h=i.minH),ZA.h>i.maxH&&(ZA.h=i.maxH),ZA.h<1&&(ZA.h=1),ZA.w<1&&(ZA.w=1),Y=YA,K=zA,(m!==ZA.w||B!==ZA.h)&&h("resize",i.i,ZA.h,ZA.w,qA.height,qA.width),sA.type==="resizeend"&&(U!==m||v!==B)&&h("resized",i.i,ZA.h,ZA.w,qA.height,qA.width),o.emit("resizeEvent",sA.type,i.i,k,y,ZA.h,ZA.w)}function eA(sA){if(i.static||D.isResizing)return;const CA=sA.type;if(CA==="dragstart"&&D.isDragging||CA!=="dragstart"&&!D.isDragging)return;const _A=Up(sA);if(In(_A))return;const{x:YA,y:zA}=_A,qA=sA.target;if(!qA.offsetParent)return;const ZA={top:0,left:0};switch(CA){case"dragstart":{Q=k,L=y;const ae=qA.offsetParent.getBoundingClientRect(),LA=qA.getBoundingClientRect(),SA=LA.left/D.transformScale,WA=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?ZA.left=(Ce-ye)*-1:ZA.left=SA-WA,ZA.top=xe-UA,D.dragging=ZA,D.isDragging=!0;break}case"dragmove":{const ae=Yp(F,P,YA,zA);if(J.value?ZA.left=D.dragging.left-ae.deltaX/D.transformScale:ZA.left=D.dragging.left+ae.deltaX/D.transformScale,ZA.top=D.dragging.top+ae.deltaY/D.transformScale,D.bounded){const LA=qA.offsetParent.clientHeight-EA(i.h,D.rowHeight,D.margin[1]);ZA.top=gA(ZA.top,0,LA);const SA=dA(),WA=D.containerWidth-EA(i.w,SA,D.margin[0]);ZA.left=gA(ZA.left,0,WA)}D.dragging=ZA;break}case"dragend":{const ae=qA.offsetParent.getBoundingClientRect(),LA=qA.getBoundingClientRect(),SA=LA.left/D.transformScale,WA=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?ZA.left=(Ce-ye)*-1:ZA.left=SA-WA,ZA.top=xe-UA,D.dragging={top:-1,left:-1},D.isDragging=!1;break}}let ce;J.value,ce=iA(ZA.top,ZA.left),F=YA,P=zA,(k!==ce.x||y!==ce.y)&&h("move",i.i,ce.x,ce.y),sA.type==="dragend"&&(Q!==k||L!==y)&&h("moved",i.i,ce.x,ce.y),o.emit("dragEvent",sA.type,i.i,ce.x,ce.y,B,m)}function aA(sA,CA,_A,YA){const zA=dA();let qA;return J.value?qA={right:Math.round(zA*sA+(sA+1)*D.margin[0]),top:Math.round(D.rowHeight*CA+(CA+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])}:qA={left:Math.round(zA*sA+(sA+1)*D.margin[0]),top:Math.round(D.rowHeight*CA+(CA+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])},qA}function iA(sA,CA){const _A=dA();let YA=Math.round((CA-D.margin[0])/(_A+D.margin[0])),zA=Math.round((sA-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-B),0),{x:YA,y:zA}}function dA(){return(D.containerWidth-D.margin[0]*(D.cols+1))/D.cols}function EA(sA,CA,_A){return Number.isFinite(sA)?Math.round(CA*sA+Math.max(0,sA-1)*_A):sA}function gA(sA,CA,_A){return Math.max(Math.min(sA,_A),CA)}function uA(sA,CA,_A=!1){const YA=dA();let zA=Math.round((CA+D.margin[0])/(YA+D.margin[0])),qA=0;return _A?qA=Math.ceil((sA+D.margin[1])/(D.rowHeight+D.margin[1])):qA=Math.round((sA+D.margin[1])/(D.rowHeight+D.margin[1])),zA=Math.max(Math.min(zA,D.cols-k),0),qA=Math.max(Math.min(qA,D.maxRows-y),0),{w:zA,h:qA}}function W(sA,CA){D.containerWidth=sA}function oA(){_()}function cA(){!b.value&&u.value&&(b.value=zp(u.value),D.useStyleCursor||b.value.styleCursor(!1))}const pA=xp(eA);function $(){if(cA(),!!b.value)if(D.draggable&&!i.static){const sA={ignoreFrom:i.dragIgnoreFrom,allowFrom:i.dragAllowFrom,...i.dragOption};b.value.draggable(sA),w||(w=!0,b.value.on("dragstart dragmove dragend",CA=>{CA.type==="dragmove"?pA(CA):eA(CA)}))}else b.value.draggable({enabled:!1})}const V=xp(G);function tA(){if(cA(),!!b.value)if(D.resizable&&!i.static){const sA=aA(0,0,i.maxW,i.maxH),CA=aA(0,0,i.minW,i.minH),_A={edges:{left:J.value?`.${X.value[0]}`:!1,right:J.value?!1:`.${X.value[0]}`,bottom:`.${X.value[0]}`,top:!1},ignoreFrom:i.resizeIgnoreFrom,restrictSize:{min:{height:CA.height*D.transformScale,width:CA.width*D.transformScale},max:{height:sA.height*D.transformScale,width:sA.width*D.transformScale}},...i.resizeOption};i.preserveAspectRatio&&(_A.modifiers=[zp.modifiers.aspectRatio({ratio:"preserve"})]),b.value.resizable(_A),S||(S=!0,b.value.on("resizestart resizemove resizeend",YA=>{YA.type==="resizemove"?V(YA):G(YA)}))}else b.value.resizable({enabled:!1})}return(sA,CA)=>(e.openBlock(),e.createElementBlock("section",{ref_key:"wrapper",ref:u,class:e.normalizeClass(Z.value),style:e.normalizeStyle(D.style)},[e.renderSlot(sA.$slots,"default"),O.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(X.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 Wp(n){return n!=null}function Kr(){}const l_=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(l_)));const c_=oo&&("ontouchstart"in window||u_()>0),g_=c_?"pointerdown":"click";function u_(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function d_(n,A,t=window.Event){const{type:i,bubbles:h=!1,cancelable:I=!1,...o}=A;if(!Wp(i)||i==="")return!1;let b;return Wp(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 h_="clickoutside",p_=new Set;oo&&document.addEventListener(g_,n=>{const A=n.target,t=n.composedPath&&n.composedPath();p_.forEach(i=>{i!==A&&(t?!t.includes(i):!i.contains(A))&&(!i.__transferElement||i.__transferElement!==A&&!i.__transferElement.contains(A))&&d_(i,{type:h_})})},!0);const B_=[["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 Tr;if(oo){for(const n of B_)if(n[1]in document){Tr=n;break}}const C_=!!Tr;e.computed(()=>!1);const m_=new Set,E_=new WeakMap;if(oo&&Tr){const n=Tr[2],A=Tr[4];document.addEventListener(A,()=>{if(m_.forEach(t=>{t.value=!1}),document[n]){const t=E_.get(document[n]);t&&(t.value=!0)}},!1)}const jp=new Map;jp.set("x",0),jp.set("y",0);var ro=[],Q_=function(){return ro.some(function(n){return n.activeTargets.length>0})},I_=function(){return ro.some(function(n){return n.skippedTargets.length>0})},qp="ResizeObserver loop completed with undelivered notifications.",f_=function(){var n;typeof ErrorEvent=="function"?n=new ErrorEvent("error",{message:qp}):(n=document.createEvent("Event"),n.initEvent("error",!1,!1),n.message=qp),window.dispatchEvent(n)},Ur;(function(n){n.BORDER_BOX="border-box",n.CONTENT_BOX="content-box",n.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Ur||(Ur={}));var ao=function(n){return Object.freeze(n)},w_=function(){function n(A,t){this.inlineSize=A,this.blockSize=t,ao(this)}return n}(),Xp=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}(),Ag=function(n){return n instanceof SVGElement&&"getBBox"in n},Vp=function(n){if(Ag(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)},AB=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)},b_=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},Yr=typeof window<"u"?window:{},Cs=new WeakMap,eB=/auto|scroll/,D_=/^tb|vertical/,y_=/msie|trident/i.test(Yr.navigator&&Yr.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 w_((t?A:n)||0,(t?n:A)||0)},tB=ao({devicePixelContentBoxSize:Oo(),borderBoxSize:Oo(),contentBoxSize:Oo(),contentRect:new Xp(0,0,0,0)}),nB=function(n,A){if(A===void 0&&(A=!1),Cs.has(n)&&!A)return Cs.get(n);if(Vp(n))return Cs.set(n,tB),tB;var t=getComputedStyle(n),i=Ag(n)&&n.ownerSVGElement&&n.getBBox(),h=!y_&&t.boxSizing==="border-box",I=D_.test(t.writingMode||""),o=!i&&eB.test(t.overflowY||""),b=!i&&eB.test(t.overflowX||""),D=i?0:Ai(t.paddingTop),w=i?0:Ai(t.paddingRight),S=i?0:Ai(t.paddingBottom),F=i?0:Ai(t.paddingLeft),P=i?0:Ai(t.borderTopWidth),Y=i?0:Ai(t.borderRightWidth),K=i?0:Ai(t.borderBottomWidth),U=i?0:Ai(t.borderLeftWidth),v=F+w,Q=D+S,L=U+Y,k=P+K,y=b?n.offsetHeight-k-n.clientHeight:0,m=o?n.offsetWidth-L-n.clientWidth:0,B=h?v+L:0,u=h?Q+k:0,l=i?i.width:Ai(t.width)-B-m,g=i?i.height:Ai(t.height)-u-y,s=l+v+m+L,d=g+Q+y+k,p=ao({devicePixelContentBoxSize:Oo(Math.round(l*devicePixelRatio),Math.round(g*devicePixelRatio),I),borderBoxSize:Oo(s,d,I),contentBoxSize:Oo(l,g,I),contentRect:new Xp(F,D,l,g)});return Cs.set(n,p),p},iB=function(n,A,t){var i=nB(n,t),h=i.borderBoxSize,I=i.contentBoxSize,o=i.devicePixelContentBoxSize;switch(A){case Ur.DEVICE_PIXEL_CONTENT_BOX:return o;case Ur.BORDER_BOX:return h;default:return I}},v_=function(){function n(A){var t=nB(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}(),oB=function(n){if(Vp(n))return 1/0;for(var A=0,t=n.parentNode;t;)A+=1,t=t.parentNode;return A},k_=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 v_(b.target),w=oB(b.target);o.push(D),b.lastReportedSize=iB(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},rB=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()&&(oB(t.target)>n?A.activeTargets.push(t):A.skippedTargets.push(t))})})},__=function(){var n=0;for(rB(n);Q_();)n=k_(),rB(n);return I_()&&f_(),n>0},eg,aB=[],M_=function(){return aB.splice(0).forEach(function(n){return n()})},x_=function(n){if(!eg){var A=0,t=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return M_()}).observe(t,i),eg=function(){t.textContent="".concat(A?A--:A++)}}aB.push(n),eg()},S_=function(n){x_(function(){requestAnimationFrame(n)})},ms=0,F_=function(){return!!ms},N_=250,R_={attributes:!0,characterData:!0,childList:!0,subtree:!0},sB=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],lB=function(n){return n===void 0&&(n=0),Date.now()+n},tg=!1,L_=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=N_),!tg){tg=!0;var i=lB(A);S_(function(){var h=!1;try{h=__()}finally{if(tg=!1,A=i-lB(),!F_())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,R_)};document.body?t():Yr.addEventListener("DOMContentLoaded",t)},n.prototype.start=function(){var A=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),sB.forEach(function(t){return Yr.addEventListener(t,A.listener,!0)}))},n.prototype.stop=function(){var A=this;this.stopped||(this.observer&&this.observer.disconnect(),sB.forEach(function(t){return Yr.removeEventListener(t,A.listener,!0)}),this.stopped=!0)},n}(),ng=new L_,cB=function(n){!ms&&n>0&&ng.start(),ms+=n,!ms&&ng.stop()},G_=function(n){return!Ag(n)&&!b_(n)&&getComputedStyle(n).display==="inline"},P_=function(){function n(A,t){this.target=A,this.observedBox=t||Ur.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return n.prototype.isActive=function(){var A=iB(this.target,this.observedBox,!0);return G_(this.target)&&(this.lastReportedSize=A),this.lastReportedSize.inlineSize!==A.inlineSize||this.lastReportedSize.blockSize!==A.blockSize},n}(),H_=function(){function n(A,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=A,this.callback=t}return n}(),Es=new WeakMap,gB=function(n,A){for(var t=0;t<n.length;t+=1)if(n[t].target===A)return t;return-1},Qs=function(){function n(){}return n.connect=function(A,t){var i=new H_(A,t);Es.set(A,i)},n.observe=function(A,t,i){var h=Es.get(A),I=h.observationTargets.length===0;gB(h.observationTargets,t)<0&&(I&&ro.push(h),h.observationTargets.push(new P_(t,i&&i.box)),cB(1),ng.schedule())},n.unobserve=function(A,t){var i=Es.get(A),h=gB(i.observationTargets,t),I=i.observationTargets.length===1;h>=0&&(I&&ro.splice(ro.indexOf(i),1),i.observationTargets.splice(h,1),cB(-1))},n.disconnect=function(A){var t=this,i=Es.get(A);i.observationTargets.slice().forEach(function(h){return t.unobserve(A,h.target)}),i.activeTargets.splice(0,i.activeTargets.length)},n}(),K_=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.");Qs.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(!AB(A))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Qs.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(!AB(A))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Qs.unobserve(this,A)},n.prototype.disconnect=function(){Qs.disconnect(this)},n.toString=function(){return"function ResizeObserver () { [polyfill code] }"},n}();const Is=new WeakMap;function T_(n){var A;for(let t=0,i=n.length;t<i;++t){const h=n[t],I=Is.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 uB=new(oo&&window.ResizeObserver||K_)(T_);function dB(n,A){Is.set(n,A),uB.observe(n)}function hB(n){Is.has(n)&&(uB.unobserve(n),Is.delete(n))}function U_(n={}){let A=Kr;const t=e.watch(()=>e.unref(n.target),h=>{A(),!(!h||typeof n.onResize!="function")&&(dB(h,n.onResize),A=()=>{hB(h),A=Kr})},{immediate:!0}),i=()=>{t(),A()};return e.getCurrentScope()&&e.onScopeDispose(i),{observeResize:dB,unobserveResize:hB,unobserve:i}}const Y_=e.ref(!1);e.computed(()=>Y_.value);const pB="__theme_style__",ig="__theme_observer__",BB=e.reactive(new Map),CB=new Map;e.watch(BB,()=>{if(!oo)return;CB.clear();const n=document.head.querySelector(`#${pB}`);n&&document.head.removeChild(n);const A=document.createElement("style");let t=`.${ig} { width: 1px }`,i=1;for(const[h,[I,o]]of BB.entries())t+=` html.${I} .${ig}, .${o} .${ig} { width: ${++i}px }`,CB.set(i,h);A.textContent=t,A.id=pB,document.head.appendChild(A)});const O_=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}=U_(),F=Yk();F.on("resizeEvent",P),F.on("dragEvent",Y),e.onBeforeMount(()=>{h("layout-before-mount",b.value)}),e.onMounted(()=>{h("layout-mounted",b.value),e.nextTick(()=>{A_(b.value),I.originalLayout=b.value,e.nextTick(()=>{g(),D.value&&w(D.value,Ok(k,16)),Yo(b.value,i.verticalCompact),h("layout-updated",b.value),L(),k()})})}),e.onBeforeUnmount(()=>{F.clearAll(),D.value&&S(D.value)});function P(d,p,a,r,C,E){u(d,p,a,r,C,E)}function Y(d,p,a,r,C,E){B(d,p,a,r,C,E)}e.watch(()=>I.width,(d,p)=>{e.nextTick(()=>{F.emit("updateWidth",d),p===-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=>{F.emit("setColNum",d)}),e.watch(()=>i.rowHeight,d=>{F.emit("setRowHeight",d)}),e.watch(()=>i.isDraggable,d=>{F.emit("setDraggable",d)}),e.watch(()=>i.isResizable,d=>{F.emit("setResizable",d)}),e.watch(()=>i.isBounded,d=>{F.emit("setBounded",d)}),e.watch(()=>i.transformScale,d=>{F.emit("setTransformScale",d)}),e.watch(()=>i.responsive,d=>{d||(h("update:layout",I.originalLayout),F.emit("setColNum",i.colNum)),k()}),e.watch(()=>i.maxRows,d=>{F.emit("setMaxRows",d)}),e.watch([()=>i.margin,()=>i.margin[1]],L),e.provide(Np,e.reactive({...e.toRefs(i),...e.toRefs(I),increaseItem:K,decreaseItem:U})),e.provide(Rp,F),A({state:I,getItem:v,resizeEvent:u,dragEvent:B,layoutUpdate:Q});function K(d){o.set(d.i,d)}function U(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=s(b.value,I.originalLayout);if(d.length>0)if(b.value.length>I.originalLayout.length)I.originalLayout=I.originalLayout.concat(d);else{const p=new Set(d.map(a=>a.i));I.originalLayout=I.originalLayout.filter(a=>!p.has(a.i))}I.lastLayoutLength=b.value.length,g()}Yo(b.value,i.verticalCompact),F.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),F.emit("resizeEvent")}function y(){if(!i.autoSize)return;const d=parseFloat(i.margin[1]);return Jk(b.value)*(i.rowHeight+d)+d+"px"}let m;function B(d,p,a,r,C,E){let M=Gp(b.value,p);In(M)&&(M={h:0,w:0,x:0,y:0,i:""}),d==="dragstart"&&!i.verticalCompact&&(m=b.value.reduce((x,{i:H,x:O,y:J})=>({...x,[H]:{x:O,y:J}}),{})),d==="dragmove"||d==="dragstart"?(I.placeholder.i=p,I.placeholder.x=M.x,I.placeholder.y=M.y,I.placeholder.w=E,I.placeholder.h=C,e.nextTick(()=>{I.isDragging=!0}),F.emit("updateWidth",I.width)):e.nextTick(()=>{I.isDragging=!1}),b.value=Xc(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),F.emit("compact"),L(),d==="dragend"&&(m=void 0,h("layout-updated",b.value))}function u(d,p,a,r,C,E){let M=Gp(b.value,p);In(M)&&(M={h:0,w:0,x:0,y:0,i:""});let x;if(i.preventCollision){const H=Pp(b.value,{...M,w:E,h:C}).filter(O=>O.i!==M.i);if(x=H.length>0,x){let O=1/0,J=1/0;H.forEach(q=>{q.x>M.x&&(O=Math.min(O,q.x)),q.y>M.y&&(J=Math.min(J,q.y))}),Number.isFinite(O)&&(M.w=O-M.x),Number.isFinite(J)&&(M.h=J-M.y)}}x||(M.w=E,M.h=C),d==="resizestart"||d==="resizemove"?(I.placeholder.i=p,I.placeholder.x=a,I.placeholder.y=r,I.placeholder.w=M.w,I.placeholder.h=M.h,e.nextTick(()=>{I.isDragging=!0}),F.emit("updateWidth",I.width)):d&&e.nextTick(()=>{I.isDragging=!1}),i.responsive&&l(),Yo(b.value,i.verticalCompact),F.emit("compact"),L(),d==="resizeend"&&h("layout-updated",b.value)}function l(){const d=i_(i.breakpoints,I.width);if(d===I.lastBreakpoint)return;const p=Op(d,i.cols);!In(I.lastBreakpoint)&&!I.layouts[I.lastBreakpoint]&&(I.layouts[I.lastBreakpoint]=qc(b.value));const a=o_(I.originalLayout,I.layouts,i.breakpoints,d,I.lastBreakpoint,p,i.verticalCompact);I.layouts[d]=a,I.lastBreakpoint!==d&&h("breakpoint-changed",d,a),b.value=a,h("update:layout",a),I.lastBreakpoint=d,F.emit("setColNum",p)}function g(){I.layouts=Object.assign({},i.responsiveLayouts)}function s(d,p){const a=new Set(p.map(M=>M.i)),r=new Set(d.map(M=>M.i)),C=d.filter(M=>!a.has(M.i)),E=p.filter(M=>!r.has(M.i));return C.concat(E)}return(d,p)=>(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(Vc,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(Vc,{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 Lt=e.defineComponent({__name:"FormItemGroup",props:e.mergeModels({list:{}},{gridData:{},gridDataModifiers:{}}),emits:e.mergeModels(["gridItemMoved"],["update:gridData"]),setup(n,{emit:A}){const t=e.useModel(n,"gridData"),i=ci(),h=yt(),I=e.ref({});function o(F,P){F&&(I.value[P]=F)}let b=[];const D=()=>{if(!t.value)return;const F=new Map;for(const P of t.value)F.has(P.x)||F.set(P.x,[]),F.get(P.x).push(P);for(const P of F.values()){P.sort((K,U)=>K.y-U.y);let Y=0;for(const K of P)K.y=Y,Y+=K.h}t.value=[...t.value]},w=A,S=()=>{w("gridItemMoved")};return e.onMounted(()=>{Object.keys(I.value).forEach(F=>{const P=I.value[F];if(!P)return;const Y=new ResizeObserver(K=>{for(let U of K){const v=U.contentRect.height+28;if(t.value){const Q=t.value[0].rowHeight||30;t.value.find(L=>L.i===F).h=Math.ceil((v+8)/(Q+8))}}D()});Y.observe(P),b.push(Y)})}),e.onBeforeUnmount(()=>{b.forEach(F=>F.disconnect()),b=[]}),(F,P)=>e.unref(h).design?(e.openBlock(),e.createBlock(jc,{key:0,list:F.list,"empty-text":e.unref(i).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"])):t.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.value,(Y,K)=>(e.openBlock(),e.createBlock(e.unref(Vc),{onMoved:S,key:Y.i,x:Y.x,y:Y.y,w:Y.w,h:Y.h,i:Y.i},{default:e.withCtx(()=>[e.createElementVNode("div",{ref_for:!0,ref:U=>o(U,Y.i)},[e.createVNode(io,e.mergeProps({ref_for:!0},F.list[K]),null,16)],512)]),_:2},1032,["x","y","w","h","i"]))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(F.list,Y=>(e.openBlock(),e.createBlock(io,e.mergeProps({key:Y.name,ref_for:!0},Y),null,16))),128))}}),$_={key:0,class:"btn-render-wrapper"},so=le(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,o)}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",$_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.btns,F=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:F.key},[F.component==="Popover"?(e.openBlock(),e.createBlock(Lt,{key:0,list:[I(F)]},null,8,["list"])):F.component==="BtnGroup"?(e.openBlock(),e.createBlock(S,{key:1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(F.children,P=>(e.openBlock(),e.createBlock(w,{key:P.key,disabled:!P.tooltip,content:P.tooltip,placement:"top"},{default:e.withCtx(()=>[P.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(D,{key:P.key,onClick:Y=>h(P),disabled:P.disabled,type:P.type,text:P.isTextBtn,link:P.isLinkBtn,plain:P.isPlainBtn||P.type!=="primary"&&!P.orange,color:P.orange?"#FAA21E":P.color,loading:i.value[P.key],class:e.normalizeClass({orangeBtn:P.orange})},{default:e.withCtx(()=>[P.icon?(e.openBlock(),e.createBlock(Ke,{key:0,name:P.icon.name,color:P.icon.color,class:e.normalizeClass({"btn-icon":P.text||P.label})},null,8,["name","color","class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(P.text||P.label),1)]),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","class"]))]),_:2},1032,["disabled","content"]))),128))]),_:2},1024)):F.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(D,{key:2,onClick:P=>h(F),disabled:F.disabled,type:F.type,text:F.isTextBtn,link:F.isLinkBtn,plain:F.isPlainBtn||F.type!=="primary"&&!F.orange,color:F.orange?"#FAA21E":F.color,loading:i.value[F.key],size:F.size,style:e.normalizeStyle(F.style),class:e.normalizeClass({orangeBtn:F.orange})},{default:e.withCtx(()=>{var P;return[e.createElementVNode("div",{class:e.normalizeClass(["flex items-center gap-2 direction",{"flex-row-reverse":F.isReverse}])},[F.icon?(e.openBlock(),e.createBlock(Ke,{key:0,name:F.icon.name,color:F.icon.color,size:((P=F==null?void 0:F.icon)==null?void 0:P.size)||"small",class:e.normalizeClass({"btn-icon":F.text||F.label})},null,8,["name","color","size","class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(F.text||F.label),1)],2)]}),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","size","style","class"]))],64))),128))])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-2c4f488e"]]),J_={key:0,class:"dropdown-render-wrapper"},z_=le(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",J_,[(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,F=>(e.openBlock(),e.createBlock(b,{key:F.value,command:F.value,onClick:P=>i(F,S)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(F.label),1)]),_:2},1032,["command","onClick"]))),128))]),_:2},1024)]),default:e.withCtx(()=>[e.createVNode(o,{plain:"",color:S.color},{default:e.withCtx(()=>{var F,P;return[S.icon?(e.openBlock(),e.createBlock(Ke,{key:0,name:(F=S.icon)==null?void 0:F.name,class:"left-icon",color:(P=S.icon)==null?void 0:P.color},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(S.text),1),e.createVNode(Ke,{name:"icon-gongnengjixiajiantou",class:"right-icon"})]}),_:2},1032,["color"])]),_:2},1032,["disabled"]))],64))),128))])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-154dedea"]]),mB=le(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]=F=>A.value=!0),onMouseleave:h[1]||(h[1]=F=>A.value=!1)},[((o=t.reference)==null?void 0:o.component)==="Icon"?(e.openBlock(),e.createBlock(Ke,{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(Lt),{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(Lt),{key:0,list:i.children},null,8,["list"])):e.createCommentVNode("",!0)])]),_:1},8,["trigger","width","popper-class","title","placement"])}}}),[["__scopeId","data-v-15f1d1a8"]]),Z_={title:"气泡框",component:"Popover",render:mB,icon:e.h(be,{name:"password"}),type:"layout",order:9},W_=["innerHTML"],j_=e.defineComponent({__name:"HtmlRender",props:{data:{}},setup(n){return(A,t)=>(e.openBlock(),e.createElementBlock("div",{innerHTML:A.data},null,8,W_))}}),q_={title:"HTML",component:"HtmlRender",icon:e.h(be,{name:"button"}),type:"assist",order:19,render:j_},X_={title:"分页",component:"Pagination",icon:e.h(be,{name:"library"}),type:"assist",order:10,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>y8))},V_=Object.freeze(Object.defineProperty({__proto__:null,Alert:f0,Button:Fb,Card:w0,CardList:iD,Cascader:D0,Checkbox:_0,Collapse:Bb,ColorInput:F0,ColorPicker:x0,CurdCard:Pb,Custom:R0,DatePicker:G0,Divider:H0,DragList:sD,Esign:T0,FormList:$0,Grid:J0,HtmlRender:q_,Inline:z0,Input:h0,InputNumber:W0,JsonEdit:v0,LogList:aD,ObjGroup:mb,OfferDetails:oD,OrderProgress:rD,Pagination:X_,Password:X0,Popover:Z_,Radio:Y0,Rate:tb,SearchInput:kb,SearchSelect:Mb,Select:Ab,SelectInput:ib,Slider:ob,Switch:ab,Table:Gb,Tabs:Cb,Tag:sb,Text:cb,TextArea:B0,Title:gb,Transfer:Db,Tree:Rb,Upload:db,VerifyCode:pb,Wrapper:Hb},Symbol.toStringTag,{value:"Module"})),$o=()=>{const n=e.inject(jn),A={...V_};return n!=null&&n.extendElements&&Object.assign(A,n.extendElements),A},Sn=()=>e.inject(Fd),Jo=()=>{const n=e.inject("ruleModule",void 0),A=e.inject("pageMethodMap",{});return{ruleModule:n,pageMethodMap:A}},A2=e.defineComponent({__name:"Footer",setup(n){const A=yt(),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)}}}),EB=n=>{let A=[];for(const t of n)(t.component==="Table"||t.component==="DragList"||t.component==="Pagination")&&t.name&&!t.hidden&&A.push(t.name),t.children&&Array.isArray(t.children)&&(A=A.concat(EB(t.children)));return A},QB=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(EB(i.schema.items)));return A},IB=Symbol("RefManager"),e2=()=>{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}}},t2=()=>{const n=e2();return e.provide(IB,n),n},fB=()=>{const n=e.inject(IB);if(!n)throw new Error("RefManager not provided. Make sure to call provideRefManager first.");return n},og=(n,A)=>{const t=fB();return t.register(n,A),()=>{t.unregister(n)}},n2=["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"),F=(J,q,z)=>{z===void 0?w.value[J]=q:(S.value[J]=q,w.value[J]=z)},P=J=>w.value[J],Y=(J,q)=>{let z=C(U.value.items,J);z&&z.props&&(z.props.disabled=!q)},K=(J,q)=>{let z=C(U.value.items,J);z&&(z.hidden=!q)},U=e.useModel(n,"schema");if(U.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,z)=>{const Z=JSON.parse(q),X=JSON.parse(z),_=Object.keys(Z).filter(AA=>JSON.stringify(Z[AA])!==JSON.stringify(X[AA]));if(!(!o.value||!U.value.onValuesChange))try{h[o.value][U.value.onValuesChange](I,_,X,Z)}catch(AA){console.error(AA)}})}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=fB();e.onMounted(async()=>{var z,Z;if((z=i.schema)!=null&&z.initialValues){const X=(Z=i.schema)==null?void 0:Z.initialValues;p(X),w.value=ut.mergeWith(X,w.value,(_,AA)=>{if(Array.isArray(_))return AA})}await e.nextTick();const J=QB({content:[{type:"form",schema:U.value}]});if(await m.waitForKeys(J),!U.value||!U.value.onMounted||!o.value)return;const q=U.value.onMounted;try{h[o.value][q](I)}catch(X){console.error(X)}}),e.onActivated(()=>{if(!U.value||!U.value.onActivated||!o.value)return;const J=U.value.onActivated;try{h[o.value][J](I)}catch(q){console.error(q)}});const B=()=>{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"],z=Z=>{Z.forEach(X=>{q.includes(X.component)?X.props&&(X.props.disabled=J):X.children&&z(X.children)})};z(U.value.items)},l=()=>{var J;(J=B())==null||J.then(()=>{b("finish",w.value)}).catch(q=>{b("failed",q)})},g=J=>{if(b("reset"),J){let q=ut.cloneDeep(w.value);J.forEach(z=>{q=vo(q,z,ma(Q.value,z))}),w.value=q}else w.value=ut.cloneDeep(e.toRaw(Q.value))},s=(J,q=!0)=>{q?Object.assign(w.value,J):w.value=J},d=(J,q)=>{v[J]=q},p=J=>{Q.value={...J}},a=()=>Q.value,r=J=>{L.value=J},C=(J,q)=>{for(const z of J){if(z.name===q)return z;if(z.children&&z.children.length>0){const Z=C(z.children,q);if(Z)return Z}}return null},E=J=>{const q=C(U.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=>{U.value.hidden=J},H=e.useTemplateRef("rootRef"),O=e.reactive({...e.toRefs(i),formValues:w,formRealValues:S,selectData:v,initialValues:Q,context:y,vCodePass:L,updateFormValues:s,updateSelectData:d,updateInitialValues:p,getInitialValues:a,updateVCodePass:r,validate:B,resetFields:g,submit:l,setDisabled:u,findItemByName:C,setFieldEditSts:Y,setFieldVisibleSts:K,setFieldValue:F,getFieldValue:P,refreshDynamicListBox:E,setHidden:x,clearValidate:M,rootRef:H,type:"form"});return e.provide(Sd,O),A(O),(J,q)=>{const z=e.resolveComponent("el-form");return e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:H,id:U.value.key},[U.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(z,e.mergeProps({key:0,model:w.value,"label-position":U.value.labelPosition,size:U.value.size,"hide-required-asterisk":U.value.hideRequiredAsterisk,"scroll-to-error":U.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(Lt),{list:U.value.items},null,8,["list"]),e.createVNode(A2)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))],8,n2)}}}),i2=({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=Nd[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")}]},o2=e.defineComponent({__name:"index",setup(n){var S;const A=e.ref(!1),t=Sn(),i=$o(),h=ci(),I=tc(),o=(S=t.templates)!=null&&S.length?t.templates:PE,b=e.computed(()=>i2({elements:i,omits:t.omitMenus||[],lang:I.value})),D=F=>{t.updateSchema(F)},w=F=>{const P={component:F.component,designKey:`design-${Mi(4)}`,name:`form-${Mi(4)}`};return F.type==="layout"&&(P.children=[]),P};return(F,P)=>{const Y=e.resolveComponent("el-button"),K=e.resolveComponent("el-space"),U=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(Y,{class:e.normalizeClass(e.unref(je)("template-button")),size:"small",onClick:P[0]||(P[0]=v=>A.value=!0)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(h).menus.useTemplateBtn),1)]),_:1},8,["class"]),e.createVNode(U,{modelValue:A.value,"onUpdate:modelValue":P[1]||(P[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(Y,{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(kp),{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)}}}),r2=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){R1(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 As(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?As=function(A){return typeof A}:As=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},As(n)}function R1(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 L1(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 G1(n,A){if(n==null)return{};var t=L1(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 P1="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),kr=di(/Edge/i),Wh=di(/firefox/i),_r=di(/safari/i)&&!di(/chrome/i)&&!di(/android/i),jh=di(/iP(ad|od|hone)/i),H1=di(/chrome/i)&&di(/android/i),qh={capture:!1,passive:!1};function it(n,A,t){n.addEventListener(A,t,!hi&&qh)}function et(n,A,t){n.removeEventListener(A,t,!hi&&qh)}function es(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 K1(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&&es(n,A):es(n,A))||i&&n===t)return n;if(n===t)break}while(n=K1(n))}return null}var Xh=/\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(Xh," ").replace(" "+A+" "," ");n.className=(i+(t?" "+A:"")).replace(Xh," ")}}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 Vh(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,F;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,F=I.width):(o=0,b=0,D=window.innerHeight,w=window.innerWidth,S=window.innerHeight,F=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 P=h.getBoundingClientRect();o-=P.top+parseInt(Re(h,"border-top-width")),b-=P.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 Y=Go(h||n),K=Y&&Y.a,U=Y&&Y.d;Y&&(o/=U,b/=K,F/=K,S/=U,D=o+S,w=b+F)}return{top:o,left:b,bottom:D,right:w,width:F,height:S}}}function Ap(n,A,t){for(var i=Fi(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=Fi(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 xc(n,A){for(var t=n.lastElementChild;t&&(t===Le.ghost||Re(t,"display")==="none"||A&&!es(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||es(n,A))&&t++;return t}function ep(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 T1(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 Fi(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 U1(n,A){if(n&&A)for(var t in A)A.hasOwnProperty(t)&&(n[t]=A[t]);return n}function Sc(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 Mr;function tp(n,A){return function(){if(!Mr){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),Mr=setTimeout(function(){Mr=void 0},A)}}}function Y1(){clearTimeout(Mr),Mr=void 0}function np(n,A,t){n.scrollLeft+=A,n.scrollTop+=t}function ip(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 O1(){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(T1(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,F=Mt(w),P=w.prevFromRect,Y=w.prevToRect,K=b.rect,U=Go(w,!0);U&&(F.top-=U.f,F.left-=U.e),w.toRect=F,w.thisAnimationDuration&&Sc(P,F)&&!Sc(S,F)&&(K.top-F.top)/(K.left-F.left)===(S.top-F.top)/(S.left-F.left)&&(D=J1(K,P,Y,h.options)),Sc(F,S)||(w.prevFromRect=S,w.prevToRect=F,D||(D=h.options.animation),h.animate(w,K,F,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),F=(h.top-I.top)/(w||1);i.animatingX=!!S,i.animatingY=!!F,Re(i,"transform","translate3d("+S+"px,"+F+"px,0)"),this.forRepaintDummy=$1(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 $1(n){return n.offsetWidth}function J1(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=[],Fc={initializeByDefault:!0},xr={mount:function(A){for(var t in Fc)Fc.hasOwnProperty(t)&&!(t in A)&&(A[t]=Fc[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 z1(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,F=n.newDraggableIndex,P=n.originalEvent,Y=n.putSortable,K=n.extraEventProperties;if(A=A||t&&t[En],!!A){var U,v=A.options,Q="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!hi&&!kr?U=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(U=document.createEvent("Event"),U.initEvent(i,!0,!0)),U.to=o||t,U.from=b||t,U.item=h||t,U.clone=I,U.oldIndex=D,U.newIndex=w,U.oldDraggableIndex=S,U.newDraggableIndex=F,U.originalEvent=P,U.pullMode=Y?Y.lastPutMode:void 0;var L=qn(qn({},K),xr.getEventProperties(i,A));for(var k in L)U[k]=L[k];t&&t.dispatchEvent(U),v[Q]&&v[Q].call(A,U)}}var Z1=["evt"],ln=function(A,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=i.evt,I=G1(i,Z1);xr.pluginEvent.bind(Le)(A,t,qn({dragEl:me,parentEl:Qt,ghostEl:Ye,rootEl:Ct,nextEl:eo,lastDownEl:ts,cloneEl:It,cloneHidden:Ni,dragStarted:Fr,putSortable:Ht,activeSortable:Le.active,originalEvent:h,oldIndex:Ko,oldDraggableIndex:Sr,newIndex:Qn,newDraggableIndex:Ri,hideGhostForTarget:gp,unhideGhostForTarget:up,cloneNowHidden:function(){Ni=!0},cloneNowShown:function(){Ni=!1},dispatchSortableEvent:function(b){Wt({sortable:t,name:b,originalEvent:h})}},I))};function Wt(n){z1(qn({putSortable:Ht,cloneEl:It,targetEl:me,rootEl:Ct,oldIndex:Ko,oldDraggableIndex:Sr,newIndex:Qn,newDraggableIndex:Ri},n))}var me,Qt,Ye,Ct,eo,ts,It,Ni,Ko,Qn,Sr,Ri,ns,Ht,To=!1,is=!1,os=[],to,Yn,Nc,Rc,op,rp,Fr,Uo,Nr,Rr=!1,rs=!1,as,Ot,Lc=[],Gc=!1,ss=[],ls=typeof document<"u",cs=jh,ap=kr||hi?"cssFloat":"float",W1=ls&&!H1&&!jh&&"draggable"in document.createElement("div"),sp=function(){if(ls){if(hi)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),lp=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 F=b.float==="left"?"left":"right";return o&&(D.clear==="both"||D.clear===F)?"vertical":"horizontal"}return I&&(b.display==="block"||b.display==="flex"||b.display==="table"||b.display==="grid"||w>=h&&i[ap]==="none"||o&&i[ap]==="none"&&w+S>h)?"vertical":"horizontal"},j1=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},q1=function(A,t){var i;return os.some(function(h){var I=h[En].options.emptyInsertThreshold;if(!(!I||xc(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},cp=function(A){function t(I,o){return function(b,D,w,S){var F=b.options.group.name&&D.options.group.name&&b.options.group.name===D.options.group.name;if(I==null&&(o||F))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 P=(o?b:D).options.group.name;return I===!0||typeof I=="string"&&I===P||I.join&&I.indexOf(P)>-1}}var i={},h=A.group;(!h||As(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},gp=function(){!sp&&Ye&&Re(Ye,"display","none")},up=function(){!sp&&Ye&&Re(Ye,"display","")};ls&&document.addEventListener("click",function(n){if(is)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),is=!1,!1},!0);var no=function(A){if(me){A=A.touches?A.touches[0]:A;var t=q1(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)}}},X1=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 lp(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&&!_r,emptyInsertThreshold:5};xr.initializePlugins(this,n,t);for(var i in t)!(i in A)&&(A[i]=t[i]);cp(A);for(var h in this)h.charAt(0)==="_"&&typeof this[h]=="function"&&(this[h]=this[h].bind(this));this.nativeDraggable=A.forceFallback?!1:W1,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)),os.push(this.el),A.store&&A.store.get&&this.sort(A.store.get(this)||[]),ui(this,O1())}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(rk(i),!me&&!(/mousedown|pointerdown/.test(o)&&A.button!==0||h.disabled)&&!w.isContentEditable&&!(!this.nativeDraggable&&_r&&D&&D.tagName.toUpperCase()==="SELECT")&&(D=Xn(D,h.draggable,i,!1),!(D&&D.animated)&&ts!==D)){if(Ko=xn(D),Sr=xn(D,h.draggable),typeof S=="function"){if(S.call(this,A,D,this)){Wt({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(F){if(F=Xn(w,F.trim(),i,!1),F)return Wt({sortable:t,rootEl:F,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,ts=i,ns=o.group,Le.dragged=me,to={target:me,clientX:(t||A).clientX,clientY:(t||A).clientY},op=to.clientX-w.left,rp=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(),!Wh&&h.nativeDraggable&&(me.draggable=!0),h._triggerDragStart(A,t),Wt({sortable:h,name:"choose",originalEvent:A}),mn(me,o.chosenClass,!0)},o.ignore.split(",").forEach(function(S){Vh(me,S.trim(),Pc)}),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),Wh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,me.draggable=!0),ln("delayStart",this,{evt:A}),o.delay&&(!o.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(kr||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&&Pc(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?us(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",X1);var i=this.options;!A&&mn(me,i.dragClass,!1),mn(me,i.ghostClass,!0),Le.active=this,A&&this._appendGhost(),Wt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Yn){this._lastX=Yn.clientX,this._lastY=Yn.clientY,gp();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);up()}},_onTouchMove:function(A){if(to){var t=this.options,i=t.fallbackTolerance,h=t.fallbackOffset,I=A.touches?A.touches[0]:A,o=Ye&&Go(Ye,!0),b=Ye&&o&&o.a,D=Ye&&o&&o.d,w=cs&&Ot&&ep(Ot),S=(I.clientX-to.clientX+h.x)/(b||1)+(w?w[0]-Lc[0]:0)/(b||1),F=(I.clientY-to.clientY+h.y)/(D||1)+(w?w[1]-Lc[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(Ye){o?(o.e+=S-(Nc||0),o.f+=F-(Rc||0)):o={a:1,b:0,c:0,d:1,e:S,f:F};var P="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Re(Ye,"webkitTransform",P),Re(Ye,"mozTransform",P),Re(Ye,"msTransform",P),Re(Ye,"transform",P),Nc=S,Rc=F,Yn=I}A.cancelable&&A.preventDefault()}},_appendGhost:function(){if(!Ye){var A=this.options.fallbackOnBody?document.body:Ct,t=Mt(me,!0,cs,!0,A),i=this.options;if(cs){for(Ot=A;Re(Ot,"position")==="static"&&Re(Ot,"transform")==="none"&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=Vn()),t.top+=Ot.scrollTop,t.left+=Ot.scrollLeft):Ot=Vn(),Lc=ep(Ot)}Ye=me.cloneNode(!0),mn(Ye,i.ghostClass,!1),mn(Ye,i.fallbackClass,!0),mn(Ye,i.dragClass,!0),Re(Ye,"transition",""),Re(Ye,"transform",""),Re(Ye,"box-sizing","border-box"),Re(Ye,"margin",0),Re(Ye,"top",t.top),Re(Ye,"left",t.left),Re(Ye,"width",t.width),Re(Ye,"height",t.height),Re(Ye,"opacity","0.8"),Re(Ye,"position",cs?"absolute":"fixed"),Re(Ye,"zIndex","100000"),Re(Ye,"pointerEvents","none"),Le.ghost=Ye,A.appendChild(Ye),Re(Ye,"transform-origin",op/parseInt(Ye.style.width)*100+"% "+rp/parseInt(Ye.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=ip(me),It.draggable=!1,It.style["will-change"]="",this._hideClone(),mn(It,this.options.chosenClass,!1),Le.clone=It),i.cloneId=us(function(){ln("clone",i),!Le.eventCanceled&&(i.options.removeCloneOnHide||Ct.insertBefore(It,me),i._hideClone(),Wt({sortable:i,name:"clone"}))}),!t&&mn(me,I.dragClass,!0),t?(is=!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=us(i._dragStarted.bind(i,t,A)),it(document,"selectstart",i),Fr=!0,_r&&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=ns===D,F=b.sort,P=Ht||w,Y,K=this,U=!1;if(Gc)return;function v(x,H){ln(x,K,qn({evt:A,isOwner:S,axis:Y?"vertical":"horizontal",revert:o,dragRect:h,targetRect:I,canSort:F,fromSortable:P,target:i,completed:L,onMove:function(J,q){return gs(Ct,t,me,h,J,Mt(J),A,q)},changed:k},H))}function Q(){v("dragOverAnimationCapture"),K.captureAnimationState(),K!==P&&P.captureAnimationState()}function L(x){return v("dragOverCompleted",{insertion:x}),x&&(S?w._hideClone():w._showClone(K),K!==P&&(mn(me,Ht?Ht.options.ghostClass:w.options.ghostClass,!1),mn(me,b.ghostClass,!0)),Ht!==K&&K!==Le.active?Ht=K:K===Le.active&&Ht&&(Ht=null),P===K&&(K._ignoreWhileAnimating=i),K.animateAll(function(){v("dragOverAnimationComplete"),K._ignoreWhileAnimating=null}),K!==P&&(P.animateAll(),P._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(),U=!0}function k(){Qn=xn(me),Ri=xn(me,b.draggable),Wt({sortable:K,name:"change",toEl:t,newIndex:Qn,newDraggableIndex:Ri,originalEvent:A})}if(A.preventDefault!==void 0&&A.cancelable&&A.preventDefault(),i=Xn(i,b.draggable,t,!0),v("dragOver"),Le.eventCanceled)return U;if(me.contains(A.target)||i.animated&&i.animatingX&&i.animatingY||K._ignoreWhileAnimating===i)return L(!1);if(is=!1,w&&!b.disabled&&(S?F||(o=Qt!==Ct):Ht===this||(this.lastPutMode=ns.checkPull(this,w,me,A))&&D.checkPut(this,w,me,A))){if(Y=this._getDirection(A,i)==="vertical",h=Mt(me),v("dragOverValid"),Le.eventCanceled)return U;if(o)return Qt=Ct,Q(),this._hideClone(),v("revert"),Le.eventCanceled||(eo?Ct.insertBefore(me,eo):Ct.appendChild(me)),L(!0);var y=xc(t,b.draggable);if(!y||tk(A,Y,this)&&!y.animated){if(y===me)return L(!1);if(y&&t===A.target&&(i=y),i&&(I=Mt(i)),gs(Ct,t,me,h,i,I,A,!!i)!==!1)return Q(),t.appendChild(me),Qt=t,k(),L(!0)}else if(y&&ek(A,Y,this)){var m=Po(t,0,b,!0);if(m===me)return L(!1);if(i=m,I=Mt(i),gs(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 B=0,u,l=me.parentNode!==t,g=!j1(me.animated&&me.toRect||h,i.animated&&i.toRect||I,Y),s=Y?"top":"left",d=Ap(i,"top","top")||Ap(me,"top","top"),p=d?d.scrollTop:void 0;Uo!==i&&(u=I[s],Rr=!1,rs=!g&&b.invertSwap||l),B=nk(A,i,I,Y,g?1:b.swapThreshold,b.invertedSwapThreshold==null?b.swapThreshold:b.invertedSwapThreshold,rs,Uo===i);var a;if(B!==0){var r=xn(me);do r-=B,a=Qt.children[r];while(a&&(Re(a,"display")==="none"||a===Ye))}if(B===0||a===i)return L(!1);Uo=i,Nr=B;var C=i.nextElementSibling,E=!1;E=B===1;var M=gs(Ct,t,me,h,i,I,A,E);if(M!==!1)return(M===1||M===-1)&&(E=M===1),Gc=!0,setTimeout(Ak,30),Q(),E&&!C?t.appendChild(me):i.parentNode.insertBefore(me,E?C:i),d&&np(d,0,p-d.scrollTop),Qt=me.parentNode,u!==void 0&&!rs&&(as=Math.abs(u-Mt(i)[s])),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),Ri=xn(me,i.draggable),ln("drop",this,{evt:A}),Qt=me&&me.parentNode,Qn=xn(me),Ri=xn(me,i.draggable),Le.eventCanceled){this._nulling();return}To=!1,rs=!1,Rr=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Hc(this.cloneId),Hc(this._dragStartId),this.nativeDraggable&&(et(document,"drop",this),et(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),_r&&Re(document.body,"user-select",""),Re(me,"transform",""),A&&(Fr&&(A.cancelable&&A.preventDefault(),!i.dropBubble&&A.stopPropagation()),Ye&&Ye.parentNode&&Ye.parentNode.removeChild(Ye),(Ct===Qt||Ht&&Ht.lastPutMode!=="clone")&&It&&It.parentNode&&It.parentNode.removeChild(It),me&&(this.nativeDraggable&&et(me,"dragend",this),Pc(me),me.style["will-change"]="",Fr&&!To&&mn(me,Ht?Ht.options.ghostClass:this.options.ghostClass,!1),mn(me,this.options.chosenClass,!1),Wt({sortable:this,name:"unchoose",toEl:Qt,newIndex:null,newDraggableIndex:null,originalEvent:A}),Ct!==Qt?(Qn>=0&&(Wt({rootEl:Qt,name:"add",toEl:Qt,fromEl:Ct,originalEvent:A}),Wt({sortable:this,name:"remove",toEl:Qt,originalEvent:A}),Wt({rootEl:Qt,name:"sort",toEl:Qt,fromEl:Ct,originalEvent:A}),Wt({sortable:this,name:"sort",toEl:Qt,originalEvent:A})),Ht&&Ht.save()):Qn!==Ko&&Qn>=0&&(Wt({sortable:this,name:"update",toEl:Qt,originalEvent:A}),Wt({sortable:this,name:"sort",toEl:Qt,originalEvent:A})),Le.active&&((Qn==null||Qn===-1)&&(Qn=Ko,Ri=Sr),Wt({sortable:this,name:"end",toEl:Qt,originalEvent:A}),this.save()))),this._nulling()},_nulling:function(){ln("nulling",this),Ct=me=Qt=Ye=eo=It=ts=Ni=to=Yn=Fr=Qn=Ri=Ko=Sr=Uo=Nr=Ht=ns=Le.dragged=Le.ghost=Le.clone=Le.active=null,ss.forEach(function(A){A.checked=!0}),ss.length=Nc=Rc=0},handleEvent:function(A){switch(A.type){case"drop":case"dragend":this._onDrop(A);break;case"dragenter":case"dragover":me&&(this._onDragOver(A),V1(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)||ok(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=xr.modifyOption(this,A,t);typeof h<"u"?i[A]=h:i[A]=t,A==="group"&&cp(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(),os.splice(os.indexOf(this.el),1),this.el=A=null},_hideClone:function(){if(!Ni){if(ln("hideClone",this),Le.eventCanceled)return;Re(It,"display","none"),this.options.removeCloneOnHide&&It.parentNode&&It.parentNode.removeChild(It),Ni=!0}},_showClone:function(A){if(A.lastPutMode!=="clone"){this._hideClone();return}if(Ni){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",""),Ni=!1}}};function V1(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function gs(n,A,t,i,h,I,o,b){var D,w=n[En],S=w.options.onMove,F;return window.CustomEvent&&!hi&&!kr?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&&(F=S.call(w,D,o)),F}function Pc(n){n.draggable=!1}function Ak(){Gc=!1}function ek(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 tk(n,A,t){var i=Mt(xc(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 nk(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,F=i?t.bottom:t.right,P=!1;if(!o){if(b&&as<w*h){if(!Rr&&(Nr===1?D>S+w*I/2:D<F-w*I/2)&&(Rr=!0),Rr)P=!0;else if(Nr===1?D<S+as:D>F-as)return-Nr}else if(D>S+w*(1-h)/2&&D<F-w*(1-h)/2)return ik(A)}return P=P||o,P&&(D<S+w*I/2||D>F-w*I/2)?D>S+w/2?1:-1:0}function ik(n){return xn(me)<xn(n)?1:-1}function ok(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 rk(n){ss.length=0;for(var A=n.getElementsByTagName("input"),t=A.length;t--;){var i=A[t];i.checked&&ss.push(i)}}function us(n){return setTimeout(n,0)}function Hc(n){return clearTimeout(n)}ls&&it(document,"touchmove",function(n){(Le.active||To)&&n.cancelable&&n.preventDefault()}),Le.utils={on:it,off:et,css:Re,find:Vh,is:function(A,t){return!!Xn(A,t,A,!1)},extend:U1,throttle:tp,closest:Xn,toggleClass:mn,clone:ip,index:xn,nextTick:us,cancelNextTick:Hc,detectDirection:lp,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)),xr.mount(i)})},Le.create=function(n,A){return new Le(n,A)},Le.version=P1;var kt=[],Lr,Kc,Tc=!1,Uc,Yc,ds,Gr;function ak(){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)),dp(),hs(),Y1()},nulling:function(){ds=Kc=Lr=Tc=Gr=Uc=Yc=null,kt.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(ds=t,i||this.options.forceAutoScrollFallback||kr||hi||_r){Oc(t,this.options,b,i);var D=Fi(b,!0);Tc&&(!Gr||I!==Uc||o!==Yc)&&(Gr&&dp(),Gr=setInterval(function(){var w=Fi(document.elementFromPoint(I,o),!0);w!==D&&(D=w,hs()),Oc(t,h.options,w,i)},10),Uc=I,Yc=o)}else{if(!this.options.bubbleScroll||Fi(b,!0)===Vn()){hs();return}Oc(t,this.options,Fi(b,!1),!1)}}},ui(n,{pluginName:"scroll",initializeByDefault:!0})}function hs(){kt.forEach(function(n){clearInterval(n.pid)}),kt=[]}function dp(){clearInterval(Gr)}var Oc=tp(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;Kc!==t&&(Kc=t,hs(),Lr=A.scroll,S=A.scrollFn,Lr===!0&&(Lr=Fi(t,!0)));var F=0,P=Lr;do{var Y=P,K=Mt(Y),U=K.top,v=K.bottom,Q=K.left,L=K.right,k=K.width,y=K.height,m=void 0,B=void 0,u=Y.scrollWidth,l=Y.scrollHeight,g=Re(Y),s=Y.scrollLeft,d=Y.scrollTop;Y===D?(m=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),B=y<l&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(m=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"),B=y<l&&(g.overflowY==="auto"||g.overflowY==="scroll"));var p=m&&(Math.abs(L-h)<=o&&s+k<u)-(Math.abs(Q-h)<=o&&!!s),a=B&&(Math.abs(v-I)<=o&&d+y<l)-(Math.abs(U-I)<=o&&!!d);if(!kt[F])for(var r=0;r<=F;r++)kt[r]||(kt[r]={});(kt[F].vx!=p||kt[F].vy!=a||kt[F].el!==Y)&&(kt[F].el=Y,kt[F].vx=p,kt[F].vy=a,clearInterval(kt[F].pid),(p!=0||a!=0)&&(w=!0,kt[F].pid=setInterval((function(){i&&this.layer===0&&Le.active._onTouchMove(ds);var C=kt[this.layer].vy?kt[this.layer].vy*b:0,E=kt[this.layer].vx?kt[this.layer].vx*b:0;typeof S=="function"&&S.call(Le.dragged.parentNode[En],E,C,n,ds,kt[this.layer].el)!=="continue"||np(kt[this.layer].el,E,C)}).bind({layer:F}),24))),F++}while(A.bubbleScroll&&P!==D&&(P=Fi(P,!1)));Tc=w}},30),hp=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,F=document.elementFromPoint(S.clientX,S.clientY);D(),w&&!w.el.contains(F)&&(o("spill"),this.onSpill({dragEl:h,putSortable:i}))}};function $c(){}$c.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:hp},ui($c,{pluginName:"revertOnSpill"});function Jc(){}Jc.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:hp},ui(Jc,{pluginName:"removeOnSpill"}),Le.mount(new ak),Le.mount(Jc,$c);var sk=Object.defineProperty,lk=Object.defineProperties,ck=Object.getOwnPropertyDescriptors,pp=Object.getOwnPropertySymbols,gk=Object.prototype.hasOwnProperty,uk=Object.prototype.propertyIsEnumerable,Bp=(n,A,t)=>A in n?sk(n,A,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[A]=t,Li=(n,A)=>{for(var t in A||(A={}))gk.call(A,t)&&Bp(n,t,A[t]);if(pp)for(var t of pp(A))uk.call(A,t)&&Bp(n,t,A[t]);return n},ps=(n,A)=>lk(n,ck(A));function zc(n){n.parentElement!==null&&n.parentElement.removeChild(n)}function Cp(n,A,t){const i=t===0?n.children[0]:n.children[t-1].nextSibling;n.insertBefore(A,i)}function dk(){return typeof window<"u"?window.console:global.console}const hk=dk();function pk(n){const A=Object.create(null);return function(i){return A[i]||(A[i]=n(i))}}const Bk=/-(\w)/g,Ck=pk(n=>n.replace(Bk,(A,t)=>t.toUpperCase())),mp=["Start","Add","Remove","Update","End"],Ep=["Choose","Unchoose","Sort","Filter","Clone"],Qp=["Move"],mk=[Qp,mp,Ep].flatMap(n=>n).map(n=>`on${n}`),Zc={manage:Qp,manageAndEmit:mp,emit:Ep};function Ek(n){return mk.indexOf(n)!==-1}const Qk=["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 Ik(n){return Qk.includes(n)}function fk(n){return["transition-group","TransitionGroup"].includes(n)}function Ip(n){return["id","class","role","style"].includes(n)||n.startsWith("data-")||n.startsWith("aria-")||n.startsWith("on")}function fp(n){return n.reduce((A,[t,i])=>(A[t]=i,A),{})}function wk({$attrs:n,componentData:A={}}){const t=fp(Object.entries(n).filter(([i,h])=>Ip(i)));return Li(Li({},t),A)}function bk({$attrs:n,callBackBuilder:A}){const t=fp(wp(n));Object.entries(A).forEach(([h,I])=>{Zc[h].forEach(o=>{t[`on${o}`]=I(o)})});const i=`[data-draggable]${t.draggable||""}`;return ps(Li({},t),{draggable:i})}function wp(n){return Object.entries(n).filter(([A,t])=>!Ip(A)).map(([A,t])=>[Ck(A),t]).filter(([A,t])=>!Ek(A))}const bp=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||{}},Dk=(n,A)=>n.__draggable_context=A,Dp=n=>n.__draggable_context;class yk{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)=>{Dk(bp(i),{element:t[h],index:h})})}getUnderlyingVm(A){return Dp(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=Dp(o);if(b)return b.index;if(h===0)return 0;const D=bp(i[0]),w=[...I].findIndex(S=>S===D);return A<w?0:h}}function vk(n,A){const t=n[A];return t?t():[]}function kk({$slots:n,realList:A,getKey:t}){const i=A||[],[h,I]=["header","footer"].map(D=>vk(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=ps(Li({},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 _k(n){const A=fk(n),t=!Ik(n)&&!A;return{transition:A,externalComponent:t,tag:t?e.resolveComponent(n):A?e.TransitionGroup:n}}function Mk({$slots:n,tag:A,realList:t,getKey:i}){const h=kk({$slots:n,realList:t,getKey:i}),I=_k(A);return new yk({nodes:h,root:I,realList:t})}function yp(n,A){e.nextTick(()=>this.$emit(n.toLowerCase(),A))}function vp(n){return(A,t)=>{if(this.realList!==null)return this[`onDrag${n}`](A,t)}}function xk(n){const A=vp.call(this,n);return(t,i)=>{A.call(this,t,i),yp.call(this,n,t)}}let Wc=null;const Sk={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}},Fk=["update:modelValue","change",...[...Zc.manageAndEmit,...Zc.emit].map(n=>n.toLowerCase())],kp=e.defineComponent({name:"draggable",inheritAttrs:!1,props:Sk,emits:Fk,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:n,$attrs:A,tag:t,componentData:i,realList:h,getKey:I}=this,o=Mk({$slots:n,tag:t,realList:h,getKey:I});this.componentStructure=o;const b=wk({$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&&hk.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=bk({$attrs:n,callBackBuilder:{manageAndEmit:I=>xk.call(this,I),emit:I=>yp.bind(this,I),manage:I=>vp.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&&wp(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 Li(Li({},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),Wc=n.item},onDragAdd(n){const A=n.item._underlying_vm_;if(A===void 0)return;zc(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(Cp(this.$el,n.item,n.oldIndex),n.pullMode==="clone"){zc(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){zc(n.item),Cp(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(Wc)!==-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=ps(Li({},this.context),{futureIndex:I}),b=ps(Li({},n),{relatedContext:h,draggedContext:o});return t(b,A)},onDragEnd(){Wc=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=yt(),i=$o(),h=e.reactive({visible:!1,title:""}),I=()=>{h.visible=!0,h.title=A.label},o=e.computed({get(){return ma(t.formValues,A.name)},set(Y){const K=vo(t.formValues,A.name,Y);t.updateFormValues(K)}}),b=e.computed(()=>{const{rules:Y,required:K,component:U}=A,v=[];if(K&&v.push({required:!0,trigger:"blur",message:"Required"}),Y){const Q=Y.map(L=>{const{type:k,message:y,trigger:m,customReg:B,templateExp:u}=L,l={message:y,trigger:m};return["email","url"].includes(k)?{...l,type:k}:k==="custom"&&B?{...l,pattern:fm(B)}:Im(k)?{...l,pattern:k}:k==="template"?{...l,validator:()=>u}:{}});return[...v,...Q]}if(U==="VerifyCode"){const Q={trigger:"blur",message:"验证码错误!",validator:()=>t.vCodePass};return[...v,Q]}return v}),D=e.computed(()=>{const Y=i[A.component]||{};return Y.modelName||(Y.modelName="modelValue"),Y}),w=e.computed(()=>{const Y={name:A.name,...A.props};return A.children&&(Y.children=A.children),Y}),S=()=>{if(A.component!=="DragList")return[];const Y=w.value.gridlayout||[],K=w.value.children||[],U=w.value.rowHeight||30;return Y.map((v,Q)=>{var L;return{...v,i:(L=K[Q])==null?void 0:L.name,rowHeight:U}})},F=e.ref(S()),P=Y=>Y==null?void 0:Y.replace(/ /g," ");return e.onBeforeMount(()=>{if(o.value===void 0&&A.initialValue!==void 0&&!t.design){const Y=vo(t.initialValues,A.name,A.initialValue);t.updateInitialValues(Y),o.value=A.initialValue}}),e.watch(o,(Y,K)=>{const U=A.change,v=ut.isEqual(Y,K);if(!U||v)return;let Q=ut.cloneDeep(t.formValues);U.forEach(({target:L,value:k,condition:y})=>{if(y!==!1){if(L.includes(".*.")){const m=L.split(".*."),B=m.pop(),u=m.join("."),l=ma(t.formValues,u);ut.isArray(l)&&(Q=vo(Q,u,l.map(g=>({...g,[B]:k}))));return}Q=vo(Q,L,k)}}),t.updateFormValues(Q)},{immediate:!0}),(Y,K)=>{var k;const U=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||!Y.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:F.value,"onUpdate:gridlayout":K[0]||(K[0]=y=>F.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,`${Y.component}-${Y.name}`,{readMode:((k=A.props)==null?void 0:k.read)||e.unref(t).schema.read}]),style:e.normalizeStyle(Y.style),key:Y.name,prop:Y.name,"label-width":Y.hideLabel?"0":e.unref(t).schema.labelWidth,rules:b.value},e.createSlots({default:e.withCtx(()=>[Y.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(Nt)(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},[Y.hideLabel?void 0:{name:"label",fn:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(je)("form-item-label"),Y.label&&`${Y.name}-label`])},[e.createElementVNode("div",{style:e.normalizeStyle(e.unref(t).schema.labelBold&&"font-weight: bold")},e.toDisplayString(P(Y.label)),5),Y.help?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(je)("form-item-label-ico"))},[e.createVNode(U,{effect:"dark",content:Y.help},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(be),{name:"help"})])]),_:1},8,["content"])],2)):e.createCommentVNode("",!0),Y.labelSuffix?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(je)("form-item-label-suffix"))},[Y.labelSuffix.component==="Popover"?(e.openBlock(),e.createBlock(mB,e.normalizeProps(e.mergeProps({key:0},e.unref(Nt)(Y.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)}}}),Nk={key:0,class:"actions-lt"},Rk={class:"canvas-move",size:"small",type:"primary"},Lk={key:1,class:"hidden-ico"},Gk={key:2,class:"actions-rb"},Pk=["onClick"],Hk={key:3,class:"layout-title"},Kk=e.defineComponent({__name:"CanvasItem",props:{data:{}},setup(n){const A=n,t=Sn(),h=$o()[A.data.component],I=e.computed(()=>{var P;return{[je("canvas-item")]:!0,active:A.data.designKey===((P=t.current)==null?void 0:P.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=P=>{t.updateCurrent(P),t.rightTab="attr"},w=e.ref(!1),S=()=>{w.value=!w.value},F=[{icon:"copy",handle:P=>{const Y=Gd(t.list,P.designKey);t.updateList(Y)}},{icon:"delete",bg:"var(--el-color-danger)",handle:P=>{const Y=wu(t.list,K=>K.designKey!==P.designKey);t.updateList(Y)}}];return(P,Y)=>{var K,U;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(I.value),onClick:Y[0]||(Y[0]=e.withModifiers(v=>D(P.data),["stop"])),onMousemove:e.withModifiers(o,["stop"]),onMouseleave:e.withModifiers(b,["stop"])},[P.data.designKey===((K=e.unref(t).current)==null?void 0:K.designKey)?(e.openBlock(),e.createElementBlock("div",Nk,[e.createElementVNode("div",Rk,[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),P.data.hidden?(e.openBlock(),e.createElementBlock("div",Lk,[e.createVNode(e.unref(be),{name:"hidden"})])):e.createCommentVNode("",!0),P.data.designKey===((U=e.unref(t).current)==null?void 0:U.designKey)?(e.openBlock(),e.createElementBlock("ul",Gk,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(F,({icon:v,handle:Q,bg:L})=>e.createElementVNode("li",{class:"actions-rb-item",onClick:e.withModifiers(k=>Q(P.data),["stop"]),key:v,style:e.normalizeStyle({backgroundColor:L})},[e.createVNode(e.unref(be),{name:v},null,8,["name"])],12,Pk)),64))])):e.createCommentVNode("",!0),e.unref(h).lbTitle?(e.openBlock(),e.createElementBlock("div",Hk,e.toDisplayString(e.unref(h).title),1)):e.createCommentVNode("",!0),e.createVNode(io,e.mergeProps(P.data,{props:P.data.props}),null,16,["props"])],34)}}}),jc=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(ec(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(kp),{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(Kk,{key:0,data:o},null,8,["data"])):e.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),Tk=typeof window<"u";var _p;Tk&&((_p=window==null?void 0:window.navigator)!=null&&_p.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function In(n){return n==null}function Mp(){}const Uk=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(Uk)));function Yk(){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 xp(n,A=16){if(typeof n!="function")return Mp;const t=(...I)=>{n(...I)};if(A<=0)return Sp(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 Ok(n,A=100){if(typeof n!="function")return Mp;const t=(...h)=>{n(...h)};if(A<=0)return Sp(t);let i;return function(...h){clearTimeout(i),i=setTimeout(()=>{t(...h)},A)}}function Sp(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 Pr=new Set,Fp=new WeakMap;function $k(){Pr.forEach(n=>{n(...Fp.get(n))}),Pr.clear()}function jt(n,...A){if(typeof n!="function")return n;Fp.set(n,A),!Pr.has(n)&&(Pr.add(n),Pr.size===1&&Promise.resolve().then($k))}const Np=Symbol("LAYOUT_KEY"),Rp=Symbol("EMITTER_KEY");function Jk(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 qc(n){const A=Array(n.length);for(let t=0,i=n.length;t<i;t++)A[t]=zk(n[t]);return A}function zk(n){return{...n}}function Lp(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=Hp(n),h=Tp(n),I=Array(n.length);for(let o=0,b=h.length;o<b;o++){let D=h[o];D.static||(D=Zk(i,D,A,t),i.push(D)),I[n.findIndex(w=>w.i===D.i)]=D,D.moved=!1}return I}function Zk(n,A,t,i){if(t)for(;A.y>0&&!Hr(n,A);)A.y--;else if(i){const I=i[A.i].y;for(;A.y>I&&!Hr(n,A);)A.y--}let h;for(;h=Hr(n,A);)A.y=h.y+h.h;return A}function Wk(n,A){const t=Hp(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(;Hr(t,I);)I.y++}return n}function Gp(n,A){for(let t=0,i=n.length;t<i;t++)if(n[t].i===A)return n[t]}function Hr(n,A){for(let t=0,i=n.length;t<i;t++)if(Lp(n[t],A))return n[t]}function Pp(n,A){return n.filter(t=>Lp(t,A))}function Hp(n){return n.filter(A=>A.static)}function Xc(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=Tp(n);D&&(w=w.reverse());const S=Pp(w,A);if(I&&S.length)return A.x=o,A.y=b,A.moved=!1,n;for(let F=0,P=S.length;F<P;F++){const Y=S[F];Y.moved||A.y>Y.y&&A.y-Y.y>Y.h/4||(Y.static?n=Kp(n,Y,A,h):n=Kp(n,A,Y,h))}return n}function Kp(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),!Hr(n,h))return Xc(n,t,void 0,h.y,!1)}return Xc(n,t,void 0,t.y+1,!1)}function jk(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 qk(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 Xk(n,A,t,i){return{top:n+"px",left:A+"px",width:t+"px",height:i+"px",position:"absolute"}}function Vk(n,A,t,i){return{top:n+"px",right:A+"px",width:t+"px",height:i+"px",position:"absolute"}}function Tp(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 A_(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 e_(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 Up(n){return t_(n)}function t_(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 Yp(n,A,t,i){return n_(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 n_(n){return typeof n=="number"&&!Number.isNaN(n)}function i_(n,A){const t=$p(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 Op(n,A){if(!A[n])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+n+" is missing!");return A[n]}function o_(n,A,t,i,h,I,o){if(A[i])return qc(A[i]);let b=n;const D=$p(t),w=D.slice(D.indexOf(i));for(let S=0,F=w.length;S<F;S++){const P=w[S];if(A[P]){b=A[P];break}}return b=qc(b||[]),Yo(Wk(b,{cols:I}),o)}function $p(n){return Object.keys(n).sort((A,t)=>n[A]-n[t])}let r_="auto";function a_(){return typeof document<"u"}function Jp(){return a_()?typeof document.dir<"u"?document.dir:document.getElementsByTagName("html")[0].getAttribute("dir"):r_}var Bs={exports:{}};Bs.exports,function(n,A){(function(t,i){n.exports=i()})(yo,function(){function t(R,N){var j=Object.keys(R);if(Object.getOwnPropertySymbols){var nA=Object.getOwnPropertySymbols(R);N&&(nA=nA.filter(function(lA){return Object.getOwnPropertyDescriptor(R,lA).enumerable})),j.push.apply(j,nA)}return j}function i(R){for(var N=1;N<arguments.length;N++){var j=arguments[N]!=null?arguments[N]:{};N%2?t(Object(j),!0).forEach(function(nA){D(R,nA,j[nA])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(j)):t(Object(j)).forEach(function(nA){Object.defineProperty(R,nA,Object.getOwnPropertyDescriptor(j,nA))})}return R}function h(R){return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(N){return typeof N}:function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},h(R)}function I(R,N){if(!(R instanceof N))throw new TypeError("Cannot call a class as a function")}function o(R,N){for(var j=0;j<N.length;j++){var nA=N[j];nA.enumerable=nA.enumerable||!1,nA.configurable=!0,"value"in nA&&(nA.writable=!0),Object.defineProperty(R,U(nA.key),nA)}}function b(R,N,j){return N&&o(R.prototype,N),Object.defineProperty(R,"prototype",{writable:!1}),R}function D(R,N,j){return(N=U(N))in R?Object.defineProperty(R,N,{value:j,enumerable:!0,configurable:!0,writable:!0}):R[N]=j,R}function w(R,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(N&&N.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),N&&F(R,N)}function S(R){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(N){return N.__proto__||Object.getPrototypeOf(N)},S(R)}function F(R,N){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(j,nA){return j.__proto__=nA,j},F(R,N)}function P(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function Y(R){var N=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 j,nA=S(R);if(N){var lA=S(this).constructor;j=Reflect.construct(nA,arguments,lA)}else j=nA.apply(this,arguments);return function(hA,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 P(hA)}(this,j)}}function K(){return K=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(R,N,j){var nA=function(hA,mA){for(;!Object.prototype.hasOwnProperty.call(hA,mA)&&(hA=S(hA))!==null;);return hA}(R,N);if(nA){var lA=Object.getOwnPropertyDescriptor(nA,N);return lA.get?lA.get.call(arguments.length<3?R:j):lA.value}},K.apply(this,arguments)}function U(R){var N=function(j,nA){if(typeof j!="object"||j===null)return j;var lA=j[Symbol.toPrimitive];if(lA!==void 0){var hA=lA.call(j,nA);if(typeof hA!="object")return hA;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(j)}(R,"string");return typeof N=="symbol"?N:N+""}var v=function(R){return!(!R||!R.Window)&&R instanceof R.Window},Q=void 0,L=void 0;function k(R){Q=R;var N=R.document.createTextNode("");N.ownerDocument!==R.document&&typeof R.wrap=="function"&&R.wrap(N)===N&&(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"},B=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:B,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 N=y(R)||L;return/object|function/.test(typeof Element>"u"?"undefined":h(Element))?R instanceof Element||R instanceof N.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&&B(R.splice)}};function l(R){var N=R.interaction;if(N.prepared.name==="drag"){var j=N.prepared.axis;j==="x"?(N.coords.cur.page.y=N.coords.start.page.y,N.coords.cur.client.y=N.coords.start.client.y,N.coords.velocity.client.y=0,N.coords.velocity.page.y=0):j==="y"&&(N.coords.cur.page.x=N.coords.start.page.x,N.coords.cur.client.x=N.coords.start.client.x,N.coords.velocity.client.x=0,N.coords.velocity.page.x=0)}}function g(R){var N=R.iEvent,j=R.interaction;if(j.prepared.name==="drag"){var nA=j.prepared.axis;if(nA==="x"||nA==="y"){var lA=nA==="x"?"y":"x";N.page[lA]=j.coords.start.page[lA],N.client[lA]=j.coords.start.client[lA],N.delta[lA]=0}}}var s={id:"actions/drag",install:function(R){var N=R.actions,j=R.Interactable,nA=R.defaults;j.prototype.draggable=s.draggable,N.map.drag=s,N.methodDict.drag="draggable",nA.actions.drag=s.defaults},listeners:{"interactions:before-action-move":l,"interactions:action-resume":l,"interactions:action-move":g,"auto-start:check":function(R){var N=R.interaction,j=R.interactable,nA=R.buttons,lA=j.options.drag;if(lA&&lA.enabled&&(!N.pointerIsDown||!/mouse|pointer/.test(N.pointerType)||nA&j.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:l,move:g,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(R){return R.search("drag")===0}},d=s,p={init:function(R){var N=R;p.document=N.document,p.DocumentFragment=N.DocumentFragment||a,p.SVGElement=N.SVGElement||a,p.SVGSVGElement=N.SVGSVGElement||a,p.SVGElementInstance=N.SVGElementInstance||a,p.Element=N.Element||a,p.HTMLElement=N.HTMLElement||p.Element,p.Event=N.Event,p.Touch=N.Touch||a,p.PointerEvent=N.PointerEvent||N.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=p,C={init:function(R){var N=r.Element,j=R.navigator||{};C.supportsTouch="ontouchstart"in R||u.func(R.DocumentTouch)&&r.document instanceof R.DocumentTouch,C.supportsPointerEvent=j.pointerEnabled!==!1&&!!r.PointerEvent,C.isIOS=/iP(hone|od|ad)/.test(j.platform),C.isIOS7=/iP(hone|od|ad)/.test(j.platform)&&/OS 7[^\d]/.test(j.appVersion),C.isIe9=/MSIE 9/.test(j.userAgent),C.isOperaMobile=j.appName==="Opera"&&C.supportsTouch&&/Presto/.test(j.userAgent),C.prefixedMatchesSelector="matches"in N.prototype?"matches":"webkitMatchesSelector"in N.prototype?"webkitMatchesSelector":"mozMatchesSelector"in N.prototype?"mozMatchesSelector":"oMatchesSelector"in N.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,N){if(R.contains)return R.contains(N);for(;N;){if(N===R)return!0;N=N.parentNode}return!1}function x(R,N){for(;u.element(R);){if(O(R,N))return R;R=H(R)}return null}function H(R){var N=R.parentNode;if(u.docFrag(N)){for(;(N=N.host)&&u.docFrag(N););return N}return N}function O(R,N){return L!==Q&&(N=N.replace(/\/deep\//g," ")),R[E.prefixedMatchesSelector](N)}var J=function(R){return R.parentNode||R.host};function q(R,N){for(var j,nA=[],lA=R;(j=J(lA))&&lA!==N&&j!==lA.ownerDocument;)nA.unshift(lA),lA=j;return nA}function z(R,N,j){for(;u.element(R);){if(O(R,N))return!0;if((R=H(R))===j)return O(R,N)}return!1}function Z(R){return R.correspondingUseElement||R}function X(R){var N=R instanceof r.SVGElement?R.getBoundingClientRect():R.getClientRects()[0];return N&&{left:N.left,right:N.right,top:N.top,bottom:N.bottom,width:N.width||N.right-N.left,height:N.height||N.bottom-N.top}}function _(R){var N,j=X(R);if(!E.isIOS7&&j){var nA={x:(N=(N=y(R))||L).scrollX||N.document.documentElement.scrollLeft,y:N.scrollY||N.document.documentElement.scrollTop};j.left+=nA.x,j.right+=nA.x,j.top+=nA.y,j.bottom+=nA.y}return j}function AA(R){for(var N=[];R;)N.push(R),R=H(R);return N}function G(R){return!!u.string(R)&&(r.document.querySelector(R),!0)}function eA(R,N){for(var j in N)R[j]=N[j];return R}function aA(R,N,j){return R==="parent"?H(j):R==="self"?N.getRect(j):x(j,R)}function iA(R,N,j,nA){var lA=R;return u.string(lA)?lA=aA(lA,N,j):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 EA(R){return!R||"x"in R&&"y"in R||((R=eA({},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 gA(R,N,j){R.left&&(N.left+=j.x),R.right&&(N.right+=j.x),R.top&&(N.top+=j.y),R.bottom&&(N.bottom+=j.y),N.width=N.right-N.left,N.height=N.bottom-N.top}function uA(R,N,j){var nA=j&&R.options[j];return dA(iA(nA&&nA.origin||R.options.origin,R,N,[R&&N]))||{x:0,y:0}}function W(R,N){var j=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=oA(R)),u.array(R))return R.forEach(function(DA){return W(DA,N,j,nA)}),nA;if(u.object(R)&&(N=R,R=""),u.func(N)&&j(R))nA[R]=nA[R]||[],nA[R].push(N);else if(u.array(N))for(var lA=0,hA=N;lA<hA.length;lA++){var mA=hA[lA];W(R,mA,j,nA)}else if(u.object(N))for(var IA in N)W(oA(IA).map(function(DA){return"".concat(R).concat(DA)}),N[IA],j,nA);return nA}function oA(R){return R.trim().split(/ +/)}var cA=function(R,N){return Math.sqrt(R*R+N*N)},pA=["webkit","moz"];function $(R,N){R.__set||(R.__set={});var j=function(lA){if(pA.some(function(hA){return lA.indexOf(hA)===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]=N[lA]},set:function(hA){R.__set[lA]=hA},configurable:!0})};for(var nA in N)j(nA);return R}function V(R,N){R.page=R.page||{},R.page.x=N.page.x,R.page.y=N.page.y,R.client=R.client||{},R.client.x=N.client.x,R.client.y=N.client.y,R.timeStamp=N.timeStamp}function tA(R){R.page.x=0,R.page.y=0,R.client.x=0,R.client.y=0}function sA(R){return R instanceof r.Event||R instanceof r.Touch}function CA(R,N,j){return R=R||"page",(j=j||{}).x=N[R+"X"],j.y=N[R+"Y"],j}function _A(R,N){return N=N||{x:0,y:0},E.isOperaMobile&&sA(R)?(CA("screen",R,N),N.x+=window.scrollX,N.y+=window.scrollY):CA("page",R,N),N}function YA(R){return u.number(R.pointerId)?R.pointerId:R.identifier}function zA(R,N,j){var nA=N.length>1?ZA(N):N[0];_A(nA,R.page),function(lA,hA){hA=hA||{},E.isOperaMobile&&sA(lA)?CA("screen",lA,hA):CA("client",lA,hA)}(nA,R.client),R.timeStamp=j}function qA(R){var N=[];return u.array(R)?(N[0]=R[0],N[1]=R[1]):R.type==="touchend"?R.touches.length===1?(N[0]=R.touches[0],N[1]=R.changedTouches[0]):R.touches.length===0&&(N[0]=R.changedTouches[0],N[1]=R.changedTouches[1]):(N[0]=R.touches[0],N[1]=R.touches[1]),N}function ZA(R){for(var N={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},j=0;j<R.length;j++){var nA=R[j];for(var lA in N)N[lA]+=nA[lA]}for(var hA in N)N[hA]/=R.length;return N}function ce(R){if(!R.length)return null;var N=qA(R),j=Math.min(N[0].pageX,N[1].pageX),nA=Math.min(N[0].pageY,N[1].pageY),lA=Math.max(N[0].pageX,N[1].pageX),hA=Math.max(N[0].pageY,N[1].pageY);return{x:j,y:nA,left:j,top:nA,right:lA,bottom:hA,width:lA-j,height:hA-nA}}function ae(R,N){var j=N+"X",nA=N+"Y",lA=qA(R),hA=lA[0][j]-lA[1][j],mA=lA[0][nA]-lA[1][nA];return cA(hA,mA)}function LA(R,N){var j=N+"X",nA=N+"Y",lA=qA(R),hA=lA[1][j]-lA[0][j],mA=lA[1][nA]-lA[0][nA];return 180*Math.atan2(mA,hA)/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 WA(R){var N=u.func(R.composedPath)?R.composedPath():R.path;return[Z(N?N[0]:R.target),Z(R.currentTarget)]}var Ce=function(){function R(N){I(this,R),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=N}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,N){for(var j=0;j<N.length;j++){var nA=N[j];R.push(nA)}return R},xe=function(R){return ye([],R)},UA=function(R,N){for(var j=0;j<R.length;j++)if(N(R[j],j,R))return j;return-1},$A=function(R,N){return R[UA(R,N)]},XA=function(R){w(j,R);var N=Y(j);function j(nA,lA,hA){var mA;I(this,j),(mA=N.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=hA==="dragleave"?nA.prev:nA.cur,DA=IA.element,xA=IA.dropzone;return mA.type=hA,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(j,[{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 hA=lA.activeDrops,mA=UA(hA,function(DA){var xA=DA.dropzone,yA=DA.element;return xA===nA.dropzone&&yA===nA.target});lA.activeDrops.splice(mA,1);var IA=new j(lA,this.dragEvent,"dropdeactivate");IA.dropzone=this.dropzone,IA.target=this.target,this.dropzone.fire(IA)}else this.dropzone.fire(new j(lA,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),j}(Ce);function he(R,N){for(var j=0,nA=R.slice();j<nA.length;j++){var lA=nA[j],hA=lA.dropzone,mA=lA.element;N.dropzone=hA,N.target=mA,hA.fire(N),N.propagationStopped=N.immediatePropagationStopped=!1}}function ge(R,N){for(var j=function(hA,mA){for(var IA=[],DA=0,xA=hA.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)&&!O(mA,GA)||u.func(GA)&&!GA({dropzone:yA,draggableElement:mA})))for(var jA=0,se=yA.getAllElements();jA<se.length;jA++){var oe=se[jA];oe!==mA&&IA.push({dropzone:yA,element:oe,rect:yA.getRect(oe)})}}}return IA}(R,N),nA=0;nA<j.length;nA++){var lA=j[nA];lA.rect=lA.dropzone.getRect(lA.element)}return j}function Ee(R,N,j){for(var nA=R.dropState,lA=R.interactable,hA=R.element,mA=[],IA=0,DA=nA.activeDrops;IA<DA.length;IA++){var xA=DA[IA],yA=xA.dropzone,GA=xA.element,jA=xA.rect,se=yA.dropCheck(N,j,lA,hA,GA,jA);mA.push(se?GA:null)}var oe=function(de){for(var De,Qe,vA,TA=[],PA=0;PA<de.length;PA++){var VA=de[PA],Be=de[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 Oe=void 0;if(Be instanceof r.HTMLElement&&VA instanceof r.SVGElement&&!(VA instanceof r.SVGSVGElement)){if(VA===He)continue;Oe=VA.ownerSVGElement}else Oe=VA;for(var on=q(Oe,Be.ownerDocument),Jn=0;on[Jn]&&on[Jn]===TA[Jn];)Jn++;var Tt=[on[Jn-1],on[Jn],TA[Jn]];if(Tt[0])for(var oi=Tt[0].lastChild;oi;){if(oi===Tt[1]){De=PA,TA=on;break}if(oi===Tt[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,N,j){var nA=R.dropState,lA={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return j.type==="dragstart"&&(lA.activate=new XA(nA,j,"dropactivate"),lA.activate.target=null,lA.activate.dropzone=null),j.type==="dragend"&&(lA.deactivate=new XA(nA,j,"dropdeactivate"),lA.deactivate.target=null,lA.deactivate.dropzone=null),nA.rejected||(nA.cur.element!==nA.prev.element&&(nA.prev.dropzone&&(lA.leave=new XA(nA,j,"dragleave"),j.dragLeave=lA.leave.target=nA.prev.element,j.prevDropzone=lA.leave.dropzone=nA.prev.dropzone),nA.cur.dropzone&&(lA.enter=new XA(nA,j,"dragenter"),j.dragEnter=nA.cur.element,j.dropzone=nA.cur.dropzone)),j.type==="dragend"&&nA.cur.dropzone&&(lA.drop=new XA(nA,j,"drop"),j.dropzone=nA.cur.dropzone,j.relatedTarget=nA.cur.element),j.type==="dragmove"&&nA.cur.dropzone&&(lA.move=new XA(nA,j,"dropmove"),j.dropzone=nA.cur.dropzone)),lA}function wA(R,N){var j=R.dropState,nA=j.activeDrops,lA=j.cur,hA=j.prev;N.leave&&hA.dropzone.fire(N.leave),N.enter&&lA.dropzone.fire(N.enter),N.move&&lA.dropzone.fire(N.move),N.drop&&lA.dropzone.fire(N.drop),N.deactivate&&he(nA,N.deactivate),j.prev.dropzone=lA.dropzone,j.prev.element=lA.element}function FA(R,N){var j=R.interaction,nA=R.iEvent,lA=R.event;if(nA.type==="dragmove"||nA.type==="dragend"){var hA=j.dropState;N.dynamicDrop&&(hA.activeDrops=ge(N,j.element));var mA=nA,IA=Ee(j,mA,lA);hA.rejected=hA.rejected&&!!IA&&IA.dropzone===hA.cur.dropzone&&IA.element===hA.cur.element,hA.cur.dropzone=IA&&IA.dropzone,hA.cur.element=IA&&IA.element,hA.events=ke(j,0,mA)}}var HA={id:"actions/drop",install:function(R){var N=R.actions,j=R.interactStatic,nA=R.Interactable,lA=R.defaults;R.usePlugin(d),nA.prototype.dropzone=function(hA){return function(mA,IA){if(u.object(IA)){if(mA.options.drop.enabled=IA.enabled!==!1,IA.listeners){var DA=W(IA.listeners),xA=Object.keys(DA).reduce(function(GA,jA){return GA[/^(enter|leave)/.test(jA)?"drag".concat(jA):/^(activate|deactivate|move)/.test(jA)?"drop".concat(jA):jA]=DA[jA],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,hA)},nA.prototype.dropCheck=function(hA,mA,IA,DA,xA,yA){return function(GA,jA,se,oe,de,De,Qe){var vA=!1;if(!(Qe=Qe||GA.getRect(De)))return!!GA.options.drop.checker&&GA.options.drop.checker(jA,se,vA,GA,De,oe,de);var TA=GA.options.drop.overlap;if(TA==="pointer"){var PA=uA(oe,de,"drag"),VA=_A(jA);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(de);if(He&&TA==="center"){var Oe=He.left+He.width/2,on=He.top+He.height/2;vA=Oe>=Qe.left&&Oe<=Qe.right&&on>=Qe.top&&on<=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(jA,se,vA,GA,De,oe,de)),vA}(this,hA,mA,IA,DA,xA,yA)},j.dynamicDrop=function(hA){return u.bool(hA)?(R.dynamicDrop=hA,j):R.dynamicDrop},eA(N.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),N.methodDict.drop="dropzone",R.dynamicDrop=!1,lA.actions.drop=HA.defaults},listeners:{"interactions:before-action-start":function(R){var N=R.interaction;N.prepared.name==="drag"&&(N.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(R,N){var j=R.interaction,nA=(R.event,R.iEvent);if(j.prepared.name==="drag"){var lA=j.dropState;lA.activeDrops=[],lA.events={},lA.activeDrops=ge(N,j.element),lA.events=ke(j,0,nA),lA.events.activate&&(he(lA.activeDrops,lA.events.activate),N.fire("actions/drop:start",{interaction:j,dragEvent:nA}))}},"interactions:action-move":FA,"interactions:after-action-move":function(R,N){var j=R.interaction,nA=R.iEvent;if(j.prepared.name==="drag"){var lA=j.dropState;wA(j,lA.events),N.fire("actions/drop:move",{interaction:j,dragEvent:nA}),lA.events={}}},"interactions:action-end":function(R,N){if(R.interaction.prepared.name==="drag"){var j=R.interaction,nA=R.iEvent;FA(R,N),wA(j,j.dropState.events),N.fire("actions/drop:end",{interaction:j,dragEvent:nA})}},"interactions:stop":function(R){var N=R.interaction;if(N.prepared.name==="drag"){var j=N.dropState;j&&(j.activeDrops=null,j.events=null,j.cur.dropzone=null,j.cur.element=null,j.prev.dropzone=null,j.prev.element=null,j.rejected=!1)}}},getActiveDrops:ge,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 N=R.interaction,j=R.iEvent,nA=R.phase;if(N.prepared.name==="gesture"){var lA=N.pointers.map(function(xA){return xA.pointer}),hA=nA==="start",mA=nA==="end",IA=N.interactable.options.deltaSource;if(j.touches=[lA[0],lA[1]],hA)j.distance=ae(lA,IA),j.box=ce(lA),j.scale=1,j.ds=0,j.angle=LA(lA,IA),j.da=0,N.gesture.startDistance=j.distance,N.gesture.startAngle=j.angle;else if(mA||N.pointers.length<2){var DA=N.prevEvent;j.distance=DA.distance,j.box=DA.box,j.scale=DA.scale,j.ds=0,j.angle=DA.angle,j.da=0}else j.distance=ae(lA,IA),j.box=ce(lA),j.scale=j.distance/N.gesture.startDistance,j.angle=LA(lA,IA),j.ds=j.scale-N.gesture.scale,j.da=j.angle-N.gesture.angle;N.gesture.distance=j.distance,N.gesture.angle=j.angle,u.number(j.scale)&&j.scale!==1/0&&!isNaN(j.scale)&&(N.gesture.scale=j.scale)}}var ie={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(R){var N=R.actions,j=R.Interactable,nA=R.defaults;j.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},N.map.gesture=ie,N.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 N=R.interactable.options.gesture;if(N&&N.enabled)return R.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(R){return R.search("gesture")===0}},ue=ie;function Me(R,N,j,nA,lA,hA,mA){if(!N)return!1;if(N===!0){var IA=u.number(hA.width)?hA.width:hA.right-hA.left,DA=u.number(hA.height)?hA.height:hA.bottom-hA.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?hA.left:hA.right;return j.x<xA+mA}if(R==="top"){var yA=DA>=0?hA.top:hA.bottom;return j.y<yA+mA}if(R==="right")return j.x>(IA>=0?hA.right:hA.left)-mA;if(R==="bottom")return j.y>(DA>=0?hA.bottom:hA.top)-mA}return!!u.element(nA)&&(u.element(N)?N===nA:z(nA,N,lA))}function tt(R){var N=R.iEvent,j=R.interaction;if(j.prepared.name==="resize"&&j.resizeAxes){var nA=N;j.interactable.options.resize.square?(j.resizeAxes==="y"?nA.delta.x=nA.delta.y:nA.delta.y=nA.delta.x,nA.axes="xy"):(nA.axes=j.resizeAxes,j.resizeAxes==="x"?nA.delta.y=0:j.resizeAxes==="y"&&(nA.delta.x=0))}}var lt,MA,bA={id:"actions/resize",before:["actions/drag"],install:function(R){var N=R.actions,j=R.browser,nA=R.Interactable,lA=R.defaults;bA.cursors=function(hA){return hA.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"}}(j),bA.defaultMargin=j.supportsTouch||j.supportsPointerEvent?20:10,nA.prototype.resizable=function(hA){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,hA,R)},N.map.resize=bA,N.methodDict.resize="resizable",lA.actions.resize=bA.defaults},listeners:{"interactions:new":function(R){R.interaction.resizeAxes="xy"},"interactions:action-start":function(R){(function(N){var j=N.iEvent,nA=N.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var lA=j,hA=nA.rect;nA._rects={start:eA({},hA),corrected:eA({},hA),previous:eA({},hA),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(N){var j=N.iEvent,nA=N.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var lA=j,hA=nA.interactable.options.resize.invert,mA=hA==="reposition"||hA==="negate",IA=nA.rect,DA=nA._rects,xA=DA.start,yA=DA.corrected,GA=DA.delta,jA=DA.previous;if(eA(jA,yA),mA){if(eA(yA,IA),hA==="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 de in yA.width=yA.right-yA.left,yA.height=yA.bottom-yA.top,yA)GA[de]=yA[de]-jA[de];lA.edges=nA.prepared.edges,lA.rect=yA,lA.deltaRect=GA}})(R),tt(R)},"interactions:action-end":function(R){var N=R.iEvent,j=R.interaction;if(j.prepared.name==="resize"&&j.prepared.edges){var nA=N;nA.edges=j.prepared.edges,nA.rect=j._rects.corrected,nA.deltaRect=j._rects.delta}},"auto-start:check":function(R){var N=R.interaction,j=R.interactable,nA=R.element,lA=R.rect,hA=R.buttons;if(lA){var mA=eA({},N.coords.cur.page),IA=j.options.resize;if(IA&&IA.enabled&&(!N.pointerIsDown||!/mouse|pointer/.test(N.pointerType)||hA&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,N._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 N=R.edges,j=R.axis,nA=R.name,lA=bA.cursors,hA=null;if(j)hA=lA[nA+j];else if(N){for(var mA="",IA=0,DA=["top","bottom","left","right"];IA<DA.length;IA++){var xA=DA[IA];N[xA]&&(mA+=xA)}hA=lA[mA]}return hA},filterEventType:function(R){return R.search("resize")===0},defaultMargin:null},RA=bA,JA={id:"actions",install:function(R){R.usePlugin(ue),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 N=["ms","moz","webkit","o"],j=0;j<N.length;j++){var nA=N[j];lt=R["".concat(nA,"RequestAnimationFrame")],MA=R["".concat(nA,"CancelAnimationFrame")]||R["".concat(nA,"CancelRequestAnimationFrame")]}lt=lt&<.bind(R),MA=MA&&MA.bind(R),lt||(lt=function(lA){var hA=Date.now(),mA=Math.max(0,16-(hA-OA)),IA=R.setTimeout(function(){lA(hA+mA)},mA);return OA=hA+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,N=R.interactable,j=R.element,nA=R.prepared.name,lA=N.options[nA].autoScroll,hA=_e(lA.container,N,j),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(hA);u.window(hA)?hA.scrollBy(xA.x,xA.y):hA&&(hA.scrollLeft+=xA.x,hA.scrollTop+=xA.y);var GA=qe(hA),jA={x:GA.x-yA.x,y:GA.y-yA.y};(jA.x||jA.y)&&N.fire({type:"autoscroll",target:j,interactable:N,delta:jA,interaction:R,container:hA})}te.prevTime=mA}te.isScrolling&&(Ie.cancel(te.i),te.i=Ie.request(te.scroll))},check:function(R,N){var j;return(j=R.options[N].autoScroll)==null?void 0:j.enabled},onInteractionMove:function(R){var N=R.interaction,j=R.pointer;if(N.interacting()&&te.check(N.interactable,N.prepared.name))if(N.simulation)te.x=te.y=0;else{var nA,lA,hA,mA,IA=N.interactable,DA=N.element,xA=N.prepared.name,yA=IA.options[xA].autoScroll,GA=_e(yA.container,IA,DA);if(u.window(GA))mA=j.clientX<te.margin,nA=j.clientY<te.margin,lA=j.clientX>GA.innerWidth-te.margin,hA=j.clientY>GA.innerHeight-te.margin;else{var jA=X(GA);mA=j.clientX<jA.left+te.margin,nA=j.clientY<jA.top+te.margin,lA=j.clientX>jA.right-te.margin,hA=j.clientY>jA.bottom-te.margin}te.x=lA?1:mA?-1:0,te.y=hA?1:nA?-1:0,te.isScrolling||(te.margin=yA.margin,te.speed=yA.speed,te.start(N))}}};function _e(R,N,j){return(u.string(R)?aA(R,N,j):R)||y(j)}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 N=R.defaults,j=R.actions;R.autoScroll=te,te.now=function(){return R.now()},j.phaselessTypes.autoscroll=!0,N.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)}}},Je=pt;function At(R,N){var j=!1;return function(){return j||(L.console.warn(N),j=!0),R.apply(this,arguments)}}function gt(R,N){return R.name=N.name,R.axis=N.axis,R.edges=N.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 N=R.Interactable;N.prototype.getAction=function(j,nA,lA,hA){var mA=function(IA,DA,xA,yA,GA){var jA=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:jA,buttons:se};return GA.fire("auto-start:check",oe),oe.action}(this,nA,lA,hA,R);return this.options.actionChecker?this.options.actionChecker(j,nA,mA,this,hA,lA):mA},N.prototype.ignoreFrom=At(function(j){return this._backCompatOption("ignoreFrom",j)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),N.prototype.allowFrom=At(function(j){return this._backCompatOption("allowFrom",j)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),N.prototype.actionChecker=ot,N.prototype.styleCursor=Ge}};function nt(R,N,j,nA,lA){return N.testIgnoreAllow(N.options[R.name],j,nA)&&N.options[R.name].enabled&&gn(N,j,R,lA)?R:null}function Fn(R,N,j,nA,lA,hA,mA){for(var IA=0,DA=nA.length;IA<DA;IA++){var xA=nA[IA],yA=lA[IA],GA=xA.getAction(N,j,R,yA);if(GA){var jA=nt(GA,xA,yA,hA,mA);if(jA)return{action:jA,interactable:xA,element:yA}}}return{action:null,interactable:null,element:null}}function Xt(R,N,j,nA,lA){var hA=[],mA=[],IA=nA;function DA(yA){hA.push(yA),mA.push(IA)}for(;u.element(IA);){hA=[],mA=[],lA.interactables.forEachMatch(IA,DA);var xA=Fn(R,N,j,hA,mA,nA,lA);if(xA.action&&!xA.interactable.options[xA.action.name].manualStart)return xA;IA=H(IA)}return{action:null,interactable:null,element:null}}function Vt(R,N,j){var nA=N.action,lA=N.interactable,hA=N.element;nA=nA||{name:null},R.interactable=lA,R.element=hA,gt(R.prepared,nA),R.rect=lA&&nA.name?lA.getRect(hA):null,An(R,j),j.fire("autoStart:prepared",{interaction:R})}function gn(R,N,j,nA){var lA=R.options,hA=lA[j.name].max,mA=lA[j.name].maxPerElement,IA=nA.autoStart.maxInteractions,DA=0,xA=0,yA=0;if(!(hA&&mA&&IA))return!1;for(var GA=0,jA=nA.interactions.list;GA<jA.length;GA++){var se=jA[GA],oe=se.prepared.name;if(se.interacting()&&(++DA>=IA||se.interactable===R&&((xA+=oe===j.name?1:0)>=hA||se.element===N&&(yA++,oe===j.name&&yA>=mA))))return!1}return IA>0}function wn(R,N){return u.number(R)?(N.autoStart.maxInteractions=R,this):N.autoStart.maxInteractions}function xt(R,N,j){var nA=j.autoStart.cursorElement;nA&&nA!==R&&(nA.style.cursor=""),R.ownerDocument.documentElement.style.cursor=N,R.style.cursor=N,j.autoStart.cursorElement=N?R:null}function An(R,N){var j=R.interactable,nA=R.element,lA=R.prepared;if(R.pointerType==="mouse"&&j&&j.options.styleCursor){var hA="";if(lA.name){var mA=j.options[lA.name].cursorChecker;hA=u.func(mA)?mA(lA,j,nA,R._interacting):N.actions.map[lA.name].getCursor(lA)}xt(R.element,hA||"",N)}else N.autoStart.cursorElement&&xt(N.autoStart.cursorElement,"",N)}var On={id:"auto-start/base",before:["actions"],install:function(R){var N=R.interactStatic,j=R.defaults;R.usePlugin(mt),j.base.actionChecker=null,j.base.styleCursor=!0,eA(j.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),N.maxInteractions=function(nA){return wn(nA,R)},R.autoStart={maxInteractions:1/0,withinInteractionLimit:gn,cursorElement:null}},listeners:{"interactions:down":function(R,N){var j=R.interaction,nA=R.pointer,lA=R.event,hA=R.eventTarget;j.interacting()||Vt(j,Xt(j,nA,lA,hA,N),N)},"interactions:move":function(R,N){(function(j,nA){var lA=j.interaction,hA=j.pointer,mA=j.event,IA=j.eventTarget;lA.pointerType!=="mouse"||lA.pointerIsDown||lA.interacting()||Vt(lA,Xt(lA,hA,mA,IA,nA),nA)})(R,N),function(j,nA){var lA=j.interaction;if(lA.pointerIsDown&&!lA.interacting()&&lA.pointerWasMoved&&lA.prepared.name){nA.fire("autoStart:before-start",j);var hA=lA.interactable,mA=lA.prepared.name;mA&&hA&&(hA.options[mA].manualStart||!gn(hA,lA.element,lA.prepared,nA)?lA.stop():(lA.start(lA.prepared,hA,lA.element),An(lA,nA)))}}(R,N)},"interactions:stop":function(R,N){var j=R.interaction,nA=j.interactable;nA&&nA.options.styleCursor&&xt(j.element,"",N)}},maxInteractions:wn,withinInteractionLimit:gn,validateAction:nt},en=On,pi={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(R,N){var j=R.interaction,nA=R.eventTarget,lA=R.dx,hA=R.dy;if(j.prepared.name==="drag"){var mA=Math.abs(lA),IA=Math.abs(hA),DA=j.interactable.options.drag,xA=DA.startAxis,yA=mA>IA?"x":mA<IA?"y":"xy";if(j.prepared.axis=DA.lockAxis==="start"?yA[0]:DA.lockAxis,yA!=="xy"&&xA!=="xy"&&xA!==yA){j.prepared.name=null;for(var GA=nA,jA=function(oe){if(oe!==j.interactable){var de=j.interactable.options.drag;if(!de.manualStart&&oe.testIgnoreAllow(de,GA,nA)){var De=oe.getAction(j.downPointer,j.downEvent,j,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)&&en.validateAction(De,oe,GA,nA,N))return oe}}};u.element(GA);){var se=N.interactables.forEachMatch(GA,jA);if(se){j.prepared.name="drag",j.interactable=se,j.element=GA;break}GA=H(GA)}}}}}};function Bi(R){var N=R.prepared&&R.prepared.name;if(!N)return null;var j=R.interactable.options;return j[N].hold||j[N].delay}var lo={id:"auto-start/hold",install:function(R){var N=R.defaults;R.usePlugin(en),N.perAction.hold=0,N.perAction.delay=0},listeners:{"interactions:new":function(R){R.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(R){var N=R.interaction,j=Bi(N);j>0&&(N.autoStartHoldTimer=setTimeout(function(){N.start(N.prepared,N.interactable,N.element)},j))},"interactions:move":function(R){var N=R.interaction,j=R.duplicate;N.autoStartHoldTimer&&N.pointerWasMoved&&!j&&(clearTimeout(N.autoStartHoldTimer),N.autoStartHoldTimer=null)},"autoStart:before-start":function(R){var N=R.interaction;Bi(N)>0&&(N.prepared.name=null)}},getHoldDuration:Bi},Ci=lo,ei={id:"auto-start",install:function(R){R.usePlugin(en),R.usePlugin(Ci),R.usePlugin(pi)}},Gi=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 N=R.interaction,j=R.event;N.interactable&&N.interactable.checkAndPreventDefault(j)}var ti={id:"core/interactablePreventDefault",install:function(R){var N=R.Interactable;N.prototype.preventDefault=Gi,N.prototype.checkAndPreventDefault=function(j){return function(nA,lA,hA){var mA=nA.options.preventDefault;if(mA!=="never")if(mA!=="always"){if(lA.events.supportsPassive&&/^touch(start|move)$/.test(hA.type)){var IA=y(hA.target).document,DA=lA.getDocOptions(IA);if(!DA||!DA.events||DA.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(hA.type)||u.element(hA.target)&&O(hA.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||hA.preventDefault()}else hA.preventDefault()}(this,R,j)},R.interactions.docEvents.push({type:"dragstart",listener:function(j){for(var nA=0,lA=R.interactions.list;nA<lA.length;nA++){var hA=lA[nA];if(hA.element&&(hA.element===j.target||M(hA.element,j.target)))return void hA.interactable.checkAndPreventDefault(j)}}})},listeners:["down","move","up","cancel"].reduce(function(R,N){return R["interactions:".concat(N)]=co,R},{})};function bn(R,N){if(N.phaselessTypes[R])return!0;for(var j in N.map)if(R.indexOf(j)===0&&R.substr(j.length)in N.phases)return!0;return!1}function Pi(R){var N={};for(var j in R){var nA=R[j];u.plainObject(nA)?N[j]=Pi(nA):u.array(nA)?N[j]=xe(nA):N[j]=nA}return N}var zo=function(){function R(N){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=N,this.result=go(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return b(R,[{key:"start",value:function(N,j){var nA,lA,hA=N.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(jA){var se=yA[jA];return se&&se.enabled&&{options:se,methods:se._methods}}).filter(function(jA){return!!jA})}(mA);this.prepareStates(IA),this.startEdges=eA({},mA.edges),this.edges=eA({},this.startEdges),this.startOffset=(nA=mA.rect,lA=j,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:hA,pageCoords:j,preEnd:!1});return this.result=go(),this.startAll(DA),this.result=this.setAll(DA)}},{key:"fillArg",value:function(N){var j=this.interaction;return N.interaction=j,N.interactable=j.interactable,N.element=j.element,N.rect||(N.rect=j.rect),N.edges||(N.edges=this.startEdges),N.startOffset=this.startOffset,N}},{key:"startAll",value:function(N){for(var j=0,nA=this.states;j<nA.length;j++){var lA=nA[j];lA.methods.start&&(N.state=lA,lA.methods.start(N))}}},{key:"setAll",value:function(N){var j=N.phase,nA=N.preEnd,lA=N.skipModifiers,hA=N.rect,mA=N.edges;N.coords=eA({},N.pageCoords),N.rect=eA({},hA),N.edges=eA({},mA);for(var IA=lA?this.states.slice(lA):this.states,DA=go(N.coords,N.rect),xA=0;xA<IA.length;xA++){var yA,GA=IA[xA],jA=GA.options,se=eA({},N.coords),oe=null;(yA=GA.methods)!=null&&yA.set&&this.shouldDo(jA,nA,j)&&(N.state=GA,oe=GA.methods.set(N),gA(N.edges,N.rect,{x:N.coords.x-se.x,y:N.coords.y-se.y})),DA.eventProps.push(oe)}eA(this.edges,N.edges),DA.delta.x=N.coords.x-N.pageCoords.x,DA.delta.y=N.coords.y-N.pageCoords.y,DA.rectDelta.left=N.rect.left-hA.left,DA.rectDelta.right=N.rect.right-hA.right,DA.rectDelta.top=N.rect.top-hA.top,DA.rectDelta.bottom=N.rect.bottom-hA.bottom;var de=this.result.coords,De=this.result.rect;if(de&&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||de.x!==DA.coords.x||de.y!==DA.coords.y}return DA}},{key:"applyToInteraction",value:function(N){var j=this.interaction,nA=N.phase,lA=j.coords.cur,hA=j.coords.start,mA=this.result,IA=this.startDelta,DA=mA.delta;nA==="start"&&eA(this.startDelta,mA.delta);for(var xA=0,yA=[[hA,IA],[lA,DA]];xA<yA.length;xA++){var GA=yA[xA],jA=GA[0],se=GA[1];jA.page.x+=se.x,jA.page.y+=se.y,jA.client.x+=se.x,jA.client.y+=se.y}var oe=this.result.rectDelta,de=N.rect||j.rect;de.left+=oe.left,de.right+=oe.right,de.top+=oe.top,de.bottom+=oe.bottom,de.width=de.right-de.left,de.height=de.bottom-de.top}},{key:"setAndApply",value:function(N){var j=this.interaction,nA=N.phase,lA=N.preEnd,hA=N.skipModifiers,mA=this.setAll(this.fillArg({preEnd:lA,phase:nA,pageCoords:N.modifiedCoords||j.coords.cur.page}));if(this.result=mA,!mA.changed&&(!hA||hA<this.states.length)&&j.interacting())return!1;if(N.modifiedCoords){var IA=j.coords.cur.page,DA={x:N.modifiedCoords.x-IA.x,y:N.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(N)}},{key:"beforeEnd",value:function(N){var j=N.interaction,nA=N.event,lA=this.states;if(lA&&lA.length){for(var hA=!1,mA=0;mA<lA.length;mA++){var IA=lA[mA];N.state=IA;var DA=IA.options,xA=IA.methods,yA=xA.beforeEnd&&xA.beforeEnd(N);if(yA)return this.endResult=yA,!1;hA=hA||!hA&&this.shouldDo(DA,!0,N.phase,!0)}hA&&j.move({event:nA,preEnd:!0})}}},{key:"stop",value:function(N){var j=N.interaction;if(this.states&&this.states.length){var nA=eA({states:this.states,interactable:j.interactable,element:j.element,rect:null},N);this.fillArg(nA);for(var lA=0,hA=this.states;lA<hA.length;lA++){var mA=hA[lA];nA.state=mA,mA.methods.stop&&mA.methods.stop(nA)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(N){this.states=[];for(var j=0;j<N.length;j++){var nA=N[j],lA=nA.options,hA=nA.methods,mA=nA.name;this.states.push({options:lA,methods:hA,index:j,name:mA})}return this.states}},{key:"restoreInteractionCoords",value:function(N){var j=N.interaction,nA=j.coords,lA=j.rect,hA=j.modification;if(hA.result){for(var mA=hA.startDelta,IA=hA.result,DA=IA.delta,xA=IA.rectDelta,yA=0,GA=[[nA.start,mA],[nA.cur,DA]];yA<GA.length;yA++){var jA=GA[yA],se=jA[0],oe=jA[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(N,j,nA,lA){return!(!N||N.enabled===!1||lA&&!N.endOnly||N.endOnly&&!j||nA==="start"&&!N.setStart)}},{key:"copyFrom",value:function(N){this.startOffset=N.startOffset,this.startDelta=N.startDelta,this.startEdges=N.startEdges,this.edges=N.edges,this.states=N.states.map(function(j){return Pi(j)}),this.result=go(eA({},N.result.coords),eA({},N.result.rect))}},{key:"destroy",value:function(){for(var N in this)this[N]=null}}]),R}();function go(R,N){return{rect:N,coords:R,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function Nn(R,N){var j=R.defaults,nA={start:R.start,set:R.set,beforeEnd:R.beforeEnd,stop:R.stop},lA=function(hA){var mA=hA||{};for(var IA in mA.enabled=mA.enabled!==!1,j)IA in mA||(mA[IA]=j[IA]);var DA={options:mA,methods:nA,name:N,enable:function(){return mA.enabled=!0,DA},disable:function(){return mA.enabled=!1,DA}};return DA};return N&&typeof N=="string"&&(lA._defaults=j,lA._methods=nA),lA}function uo(R){var N=R.iEvent,j=R.interaction.modification.result;j&&(N.modifiers=j.eventProps)}var ws={id:"modifiers/base",before:["actions"],install:function(R){R.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(R){var N=R.interaction;N.modification=new zo(N)},"interactions:before-action-start":function(R){var N=R.interaction,j=R.interaction.modification;j.start(R,N.coords.start.page),N.edges=j.edges,j.applyToInteraction(R)},"interactions:before-action-move":function(R){var N=R.interaction,j=N.modification,nA=j.setAndApply(R);return N.edges=j.edges,nA},"interactions:before-action-end":function(R){var N=R.interaction,j=N.modification,nA=j.beforeEnd(R);return N.edges=j.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=ws,Wo={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},ni=function(R){w(j,R);var N=Y(j);function j(nA,lA,hA,mA,IA,DA,xA){var yA;I(this,j),(yA=N.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,jA=(GA&&GA.options||Wo).deltaSource,se=uA(GA,IA,hA),oe=mA==="start",de=mA==="end",De=oe?P(yA):nA.prevEvent,Qe=oe?nA.coords.start:de?{page:De.page,client:De.client,timeStamp:nA.coords.cur.timeStamp}:nA.coords.cur;return yA.page=eA({},Qe.page),yA.client=eA({},Qe.client),yA.rect=eA({},nA.rect),yA.timeStamp=Qe.timeStamp,de||(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||hA+(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||de?{x:0,y:0}:{x:yA[jA].x-De[jA].x,y:yA[jA].y-De[jA].y},yA.dt=nA.coords.delta.timeStamp,yA.duration=yA.timeStamp-yA.t0,yA.velocity=eA({},nA.coords.velocity[jA]),yA.speed=cA(yA.velocity.x,yA.velocity.y),yA.swipe=de||mA==="inertiastart"?yA.getSwipe():null,yA}return b(j,[{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 hA=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:hA,right:!hA&&(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}}]),j}(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 bs=b(function R(N,j,nA,lA,hA){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=N,this.pointer=j,this.event=nA,this.downTime=lA,this.downTarget=hA}),Ds=function(R){return R.interactable="",R.element="",R.prepared="",R.pointerIsDown="",R.pointerWasMoved="",R._proxy="",R}({}),ys=function(R){return R.start="",R.move="",R.end="",R.stop="",R.interacting="",R}({}),vs=0,ks=function(){function R(N){var j=this,nA=N.pointerType,lA=N.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=vs++,this._scopeFire=lA,this.pointerType=nA;var hA=this;this._proxy={};var mA=function(yA){Object.defineProperty(j._proxy,yA,{get:function(){return hA[yA]}})};for(var IA in Ds)mA(IA);var DA=function(yA){Object.defineProperty(j._proxy,yA,{value:function(){return hA[yA].apply(hA,arguments)}})};for(var xA in ys)DA(xA);this._scopeFire("interactions:new",{interaction:this})}return b(R,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(N,j,nA){var lA=this.updatePointer(N,j,nA,!0),hA=this.pointers[lA];this._scopeFire("interactions:down",{pointer:N,event:j,eventTarget:nA,pointerIndex:lA,pointerInfo:hA,type:"down",interaction:this})}},{key:"start",value:function(N,j,nA){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(N.name==="gesture"?2:1)||!j.options[N.name].enabled)&&(gt(this.prepared,N),this.interactable=j,this.element=nA,this.rect=j.getRect(nA),this.edges=this.prepared.edges?eA({},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(N,j,nA){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(N,j,nA,!1);var lA,hA,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,hA=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=cA(lA,hA)>this.pointerMoveTolerance);var IA,DA,xA,yA=this.getPointerIndex(N),GA={pointer:N,pointerIndex:yA,pointerInfo:this.pointers[yA],event:j,type:"move",eventTarget:nA,dx:lA,dy:hA,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&&V(this.coords.prev,this.coords.cur))}},{key:"move",value:function(N){N&&N.event||tA(this.coords.delta),(N=eA({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},N||{})).phase="move",this._doPhase(N)}},{key:"pointerUp",value:function(N,j,nA,lA){var hA=this.getPointerIndex(N);hA===-1&&(hA=this.updatePointer(N,j,nA,!1));var mA=/cancel$/i.test(j.type)?"cancel":"up";this._scopeFire("interactions:".concat(mA),{pointer:N,pointerIndex:hA,pointerInfo:this.pointers[hA],event:j,eventTarget:nA,type:mA,curEventTarget:lA,interaction:this}),this.simulation||this.end(j),this.removePointer(N,j)}},{key:"documentBlur",value:function(N){this.end(N),this._scopeFire("interactions:blur",{event:N,type:"blur",interaction:this})}},{key:"end",value:function(N){var j;this._ending=!0,N=N||this._latestPointer.event,this.interacting()&&(j=this._doPhase({event:N,interaction:this,phase:"end"})),this._ending=!1,j===!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(N){var j=YA(N);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:UA(this.pointers,function(nA){return nA.id===j})}},{key:"getPointerInfo",value:function(N){return this.pointers[this.getPointerIndex(N)]}},{key:"updatePointer",value:function(N,j,nA,lA){var hA,mA,IA,DA=YA(N),xA=this.getPointerIndex(N),yA=this.pointers[xA];return lA=lA!==!1&&(lA||/(down|start)$/i.test(j.type)),yA?yA.pointer=N:(yA=new bs(DA,N,j,null,null),xA=this.pointers.length,this.pointers.push(yA)),zA(this.coords.cur,this.pointers.map(function(GA){return GA.pointer}),this._now()),hA=this.coords.delta,mA=this.coords.prev,IA=this.coords.cur,hA.page.x=IA.page.x-mA.page.x,hA.page.y=IA.page.y-mA.page.y,hA.client.x=IA.client.x-mA.client.x,hA.client.y=IA.client.y-mA.client.y,hA.timeStamp=IA.timeStamp-mA.timeStamp,lA&&(this.pointerIsDown=!0,yA.downTime=this.coords.cur.timeStamp,yA.downTarget=nA,$(this.downPointer,N),this.interacting()||(V(this.coords.start,this.coords.cur),V(this.coords.prev,this.coords.cur),this.downEvent=j,this.pointerWasMoved=!1)),this._updateLatestPointer(N,j,nA),this._scopeFire("interactions:update-pointer",{pointer:N,event:j,eventTarget:nA,down:lA,pointerInfo:yA,pointerIndex:xA,interaction:this}),xA}},{key:"removePointer",value:function(N,j){var nA=this.getPointerIndex(N);if(nA!==-1){var lA=this.pointers[nA];this._scopeFire("interactions:remove-pointer",{pointer:N,event:j,eventTarget:null,pointerIndex:nA,pointerInfo:lA,interaction:this}),this.pointers.splice(nA,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(N,j,nA){this._latestPointer.pointer=N,this._latestPointer.event=j,this._latestPointer.eventTarget=nA}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(N,j,nA,lA){return new ni(this,N,this.prepared.name,j,this.element,nA,lA)}},{key:"_fireEvent",value:function(N){var j;(j=this.interactable)==null||j.fire(N),(!this.prevEvent||N.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=N)}},{key:"_doPhase",value:function(N){var j=N.event,nA=N.phase,lA=N.preEnd,hA=N.type,mA=this.rect;if(mA&&nA==="move"&&(gA(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),N)===!1)return!1;var IA=N.iEvent=this._createPreparedEvent(j,nA,lA,hA);return this._scopeFire("interactions:action-".concat(nA),N),nA==="start"&&(this.prevEvent=IA),this._fireEvent(IA),this._scopeFire("interactions:after-action-".concat(nA),N),!0}},{key:"_now",value:function(){return Date.now()}}]),R}();function Or(R){$r(R.interaction)}function $r(R){if(!function(j){return!(!j.offset.pending.x&&!j.offset.pending.y)}(R))return!1;var N=R.offset.pending;return Jr(R.coords.cur,N),Jr(R.coords.delta,N),gA(R.edges,R.rect,N),N.x=0,N.y=0,!0}function sg(R){var N=R.x,j=R.y;this.offset.pending.x+=N,this.offset.pending.y+=j,this.offset.total.x+=N,this.offset.total.y+=j}function Jr(R,N){var j=R.page,nA=R.client,lA=N.x,hA=N.y;j.x+=lA,j.y+=hA,nA.x+=lA,nA.y+=hA}ys.offsetBy="";var lg={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(R){R.Interaction.prototype.offsetBy=sg},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(N){N.pointerIsDown&&(Jr(N.coords.cur,N.offset.total),N.offset.pending.x=0,N.offset.pending.y=0)}(R.interaction)},"interactions:before-action-start":Or,"interactions:before-action-move":Or,"interactions:before-action-end":function(R){var N=R.interaction;if($r(N))return N.move({offset:!0}),N.end(),!1},"interactions:stop":function(R){var N=R.interaction;N.offset.total.x=0,N.offset.total.y=0,N.offset.pending.x=0,N.offset.pending.y=0}}},zr=lg,cg=function(){function R(N){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=N}return b(R,[{key:"start",value:function(N){var j=this.interaction,nA=jo(j);if(!nA||!nA.enabled)return!1;var lA=j.coords.velocity.client,hA=cA(lA.x,lA.y),mA=this.modification||(this.modification=new zo(j));if(mA.copyFrom(j.modification),this.t0=j._now(),this.allowResume=nA.allowResume,this.v0=hA,this.currentOffset={x:0,y:0},this.startCoords=j.coords.cur.page,this.modifierArg=mA.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-j.coords.cur.timeStamp<50&&hA>nA.minSpeed&&hA>nA.endSpeed)this.startInertia();else{if(mA.result=mA.setAll(this.modifierArg),!mA.result.changed)return!1;this.startSmoothEnd()}return j.modification.result.rect=null,j.offsetBy(this.targetOffset),j._doPhase({interaction:j,event:N,phase:"inertiastart"}),j.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),j.modification.result.rect=null,this.active=!0,j.simulation=this,!0}},{key:"startInertia",value:function(){var N=this,j=this.interaction.coords.velocity.client,nA=jo(this.interaction),lA=nA.resistance,hA=-Math.log(nA.endSpeed/this.v0)/lA;this.targetOffset={x:(j.x-hA)/lA,y:(j.y-hA)/lA},this.te=hA,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 N.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var N=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 N.smoothEndTick()})}},{key:"onNextFrame",value:function(N){var j=this;this.timeout=Ie.request(function(){j.active&&N()})}},{key:"inertiaTick",value:function(){var N,j,nA,lA,hA,mA,IA,DA=this,xA=this.interaction,yA=jo(xA).resistance,GA=(xA._now()-this.t0)/1e3;if(GA<this.te){var jA,se=1-(Math.exp(-yA*GA)-this.lambda_v0)/this.one_ve_v0;this.isModified?(N=0,j=0,nA=this.targetOffset.x,lA=this.targetOffset.y,hA=this.modifiedOffset.x,mA=this.modifiedOffset.y,jA={x:_s(IA=se,N,nA,hA),y:_s(IA,j,lA,mA)}):jA={x:this.targetOffset.x*se,y:this.targetOffset.y*se};var oe={x:jA.x-this.currentOffset.x,y:jA.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 N=this,j=this.interaction,nA=j._now()-this.t0,lA=jo(j).smoothEndDuration;if(nA<lA){var hA={x:qo(nA,0,this.targetOffset.x,lA),y:qo(nA,0,this.targetOffset.y,lA)},mA={x:hA.x-this.currentOffset.x,y:hA.y-this.currentOffset.y};this.currentOffset.x+=mA.x,this.currentOffset.y+=mA.y,j.offsetBy(mA),j.move({skipModifiers:this.modifierCount}),this.onNextFrame(function(){return N.smoothEndTick()})}else j.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(N){var j=N.pointer,nA=N.event,lA=N.eventTarget,hA=this.interaction;hA.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),hA.updatePointer(j,nA,lA,!0),hA._doPhase({interaction:hA,event:nA,phase:"resume"}),V(hA.coords.prev,hA.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 jo(R){var N=R.interactable,j=R.prepared;return N&&N.options&&j.name&&N.options[j.name].inertia}var gg={id:"inertia",before:["modifiers","actions"],install:function(R){var N=R.defaults;R.usePlugin(zr),R.usePlugin(Zo),R.actions.phases.inertiastart=!0,R.actions.phases.resume=!0,N.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(R){var N=R.interaction;N.inertia=new cg(N)},"interactions:before-action-end":function(R){var N=R.interaction,j=R.event;return(!N._interacting||N.simulation||!N.inertia.start(j))&&null},"interactions:down":function(R){var N=R.interaction,j=R.eventTarget,nA=N.inertia;if(nA.active)for(var lA=j;u.element(lA);){if(lA===N.element){nA.resume(R);break}lA=H(lA)}},"interactions:stop":function(R){var N=R.interaction.inertia;N.active&&N.stop()},"interactions:before-action-resume":function(R){var N=R.interaction.modification;N.stop(R),N.start(R,R.interaction.coords.cur.page),N.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 _s(R,N,j,nA){var lA=1-R;return lA*lA*N+2*lA*R*j+R*R*nA}function qo(R,N,j,nA){return-j*(R/=nA)*(R-2)+N}var ug=gg;function Ms(R,N){for(var j=0;j<N.length;j++){var nA=N[j];if(R.immediatePropagationStopped)break;nA(R)}}var xs=function(){function R(N){I(this,R),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=eA({},N||{})}return b(R,[{key:"fire",value:function(N){var j,nA=this.global;(j=this.types[N.type])&&Ms(N,j),!N.propagationStopped&&nA&&(j=nA[N.type])&&Ms(N,j)}},{key:"on",value:function(N,j){var nA=W(N,j);for(N in nA)this.types[N]=ye(this.types[N]||[],nA[N])}},{key:"off",value:function(N,j){var nA=W(N,j);for(N in nA){var lA=this.types[N];if(lA&&lA.length)for(var hA=0,mA=nA[N];hA<mA.length;hA++){var IA=mA[hA],DA=lA.indexOf(IA);DA!==-1&&lA.splice(DA,1)}}}},{key:"getRect",value:function(N){return null}}]),R}(),dg=function(){function R(N){I(this,R),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=N,$(this,N)}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,N){return R===N||(typeof R=="boolean"?!!N.capture===R&&!N.passive:!!R.capture==!!N.capture&&!!R.passive==!!N.passive)}var ct={id:"events",install:function(R){var N,j=[],nA={},lA=[],hA={add:mA,remove:IA,addDelegate:function(yA,GA,jA,se,oe){var de=ho(oe);if(!nA[jA]){nA[jA]=[];for(var De=0;De<lA.length;De++){var Qe=lA[De];mA(Qe,jA,DA),mA(Qe,jA,xA,!0)}}var vA=nA[jA],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:de})},removeDelegate:function(yA,GA,jA,se,oe){var de,De=ho(oe),Qe=nA[jA],vA=!1;if(Qe)for(de=Qe.length-1;de>=0;de--){var TA=Qe[de];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(de,1),IA(GA,jA,DA),IA(GA,jA,xA,!0)),vA=!0;break}}if(vA)break}}},delegateListener:DA,delegateUseCapture:xA,delegatedEvents:nA,documents:lA,targets:j,supportsOptions:!1,supportsPassive:!1};function mA(yA,GA,jA,se){if(yA.addEventListener){var oe=ho(se),de=$A(j,function(De){return De.eventTarget===yA});de||(de={eventTarget:yA,events:{}},j.push(de)),de.events[GA]||(de.events[GA]=[]),$A(de.events[GA],function(De){return De.func===jA&&rt(De.options,oe)})||(yA.addEventListener(GA,jA,hA.supportsOptions?oe:oe.capture),de.events[GA].push({func:jA,options:oe}))}}function IA(yA,GA,jA,se){if(yA.addEventListener&&yA.removeEventListener){var oe=UA(j,function(Pe){return Pe.eventTarget===yA}),de=j[oe];if(de&&de.events)if(GA!=="all"){var De=!1,Qe=de.events[GA];if(Qe){if(jA==="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===jA&&rt(Be.options,PA)){yA.removeEventListener(GA,jA,hA.supportsOptions?PA:PA.capture),Qe.splice(VA,1),Qe.length===0&&(delete de.events[GA],De=!0);break}}}De&&!Object.keys(de.events).length&&j.splice(oe,1)}else for(GA in de.events)de.events.hasOwnProperty(GA)&&IA(yA,GA,"all")}}function DA(yA,GA){for(var jA=ho(GA),se=new dg(yA),oe=nA[yA.type],de=WA(yA)[0],De=de;u.element(De);){for(var Qe=0;Qe<oe.length;Qe++){var vA=oe[Qe],TA=vA.selector,PA=vA.context;if(O(De,TA)&&M(PA,de)&&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,jA)&&Pe.func(se)}}}De=H(De)}}function xA(yA){return DA(yA,!0)}return(N=R.document)==null||N.createElement("div").addEventListener("test",null,{get capture(){return hA.supportsOptions=!0},get passive(){return hA.supportsPassive=!0}}),R.events=hA,hA}},Zr={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(R){for(var N=0,j=Zr.methodOrder;N<j.length;N++){var nA=j[N],lA=Zr[nA](R);if(lA)return lA}return null},simulationResume:function(R){var N=R.pointerType,j=R.eventType,nA=R.eventTarget,lA=R.scope;if(!/down|start/i.test(j))return null;for(var hA=0,mA=lA.interactions.list;hA<mA.length;hA++){var IA=mA[hA],DA=nA;if(IA.simulation&&IA.simulation.allowResume&&IA.pointerType===N)for(;DA;){if(DA===IA.element)return IA;DA=H(DA)}}return null},mouseOrPen:function(R){var N,j=R.pointerId,nA=R.pointerType,lA=R.eventType,hA=R.scope;if(nA!=="mouse"&&nA!=="pen")return null;for(var mA=0,IA=hA.interactions.list;mA<IA.length;mA++){var DA=IA[mA];if(DA.pointerType===nA){if(DA.simulation&&!Ss(DA,j))continue;if(DA.interacting())return DA;N||(N=DA)}}if(N)return N;for(var xA=0,yA=hA.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 N=R.pointerId,j=0,nA=R.scope.interactions.list;j<nA.length;j++){var lA=nA[j];if(Ss(lA,N))return lA}return null},idle:function(R){for(var N=R.pointerType,j=0,nA=R.scope.interactions.list;j<nA.length;j++){var lA=nA[j];if(lA.pointers.length===1){var hA=lA.interactable;if(hA&&(!hA.options.gesture||!hA.options.gesture.enabled))continue}else if(lA.pointers.length>=2)continue;if(!lA.interacting()&&N===lA.pointerType)return lA}return null}};function Ss(R,N){return R.pointers.some(function(j){return j.id===N})}var hg=Zr,Wr=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Fs(R,N){return function(j){var nA=N.interactions.list,lA=SA(j),hA=WA(j),mA=hA[0],IA=hA[1],DA=[];if(/^touch/.test(j.type)){N.prevTouchTime=N.now();for(var xA=0,yA=j.changedTouches;xA<yA.length;xA++){var GA=yA[xA],jA={pointer:GA,pointerId:YA(GA),pointerType:lA,eventType:j.type,eventTarget:mA,curEventTarget:IA,scope:N},se=Ns(jA);DA.push([jA.pointer,jA.eventTarget,jA.curEventTarget,se])}}else{var oe=!1;if(!E.supportsPointerEvent&&/mouse/.test(j.type)){for(var de=0;de<nA.length&&!oe;de++)oe=nA[de].pointerType!=="mouse"&&nA[de].pointerIsDown;oe=oe||N.now()-N.prevTouchTime<500||j.timeStamp===0}if(!oe){var De={pointer:j,pointerId:YA(j),pointerType:lA,eventType:j.type,curEventTarget:IA,eventTarget:mA,scope:N},Qe=Ns(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,j,VA,Be)}}}function Ns(R){var N=R.pointerType,j=R.scope,nA={interaction:hg.search(R),searchDetails:R};return j.fire("interactions:find",nA),nA.interaction||j.interactions.new({pointerType:N})}function Xo(R,N){var j=R.doc,nA=R.scope,lA=R.options,hA=nA.interactions.docEvents,mA=nA.events,IA=mA[N];for(var DA in nA.browser.isIOS&&!lA.events&&(lA.events={passive:!1}),mA.delegatedEvents)IA(j,DA,mA.delegateListener),IA(j,DA,mA.delegateUseCapture,!0);for(var xA=lA&&lA.events,yA=0;yA<hA.length;yA++){var GA=hA[yA];IA(j,GA.type,GA.listener,xA)}}var pg={id:"core/interactions",install:function(R){for(var N={},j=0;j<Wr.length;j++){var nA=Wr[j];N[nA]=Fs(nA,R)}var lA,hA=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=jA[GA];R.documents.some(function(oe){return M(oe.doc,se.downTarget)})||xA.removePointer(se.pointer,se.event)},GA=0,jA=xA.pointers;GA<jA.length;GA++)yA()}}(lA=r.PointerEvent?[{type:hA.down,listener:mA},{type:hA.down,listener:N.pointerDown},{type:hA.move,listener:N.pointerMove},{type:hA.up,listener:N.pointerUp},{type:hA.cancel,listener:N.pointerUp}]:[{type:"mousedown",listener:N.pointerDown},{type:"mousemove",listener:N.pointerMove},{type:"mouseup",listener:N.pointerUp},{type:"touchstart",listener:mA},{type:"touchstart",listener:N.pointerDown},{type:"touchmove",listener:N.pointerMove},{type:"touchend",listener:N.pointerUp},{type:"touchcancel",listener:N.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=Y(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}(ks),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:N,docEvents:lA,pointerMoveTolerance:1},R.usePlugin(ti)},listeners:{"scope:add-document":function(R){return Xo(R,"add")},"scope:remove-document":function(R){return Xo(R,"remove")},"interactable:unset":function(R,N){for(var j=R.interactable,nA=N.interactions.list.length-1;nA>=0;nA--){var lA=N.interactions.list[nA];lA.interactable===j&&(lA.stop(),N.fire("interactions:destroy",{interaction:lA}),lA.destroy(),N.interactions.list.length>2&&N.interactions.list.splice(nA,1))}}},onDocSignal:Xo,doOnInteractions:Fs,methodNames:Wr},St=pg,Rn=function(R){return R[R.On=0]="On",R[R.Off=1]="Off",R}(Rn||{}),mi=function(){function R(N,j,nA,lA){I(this,R),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new xs,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=j.actions,this.target=N,this._context=j.context||nA,this._win=y(G(N)?this._context:N),this._doc=this._win.document,this._scopeEvents=lA,this.set(j)}return b(R,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(N,j){return u.func(j.onstart)&&this.on("".concat(N,"start"),j.onstart),u.func(j.onmove)&&this.on("".concat(N,"move"),j.onmove),u.func(j.onend)&&this.on("".concat(N,"end"),j.onend),u.func(j.oninertiastart)&&this.on("".concat(N,"inertiastart"),j.oninertiastart),this}},{key:"updatePerActionListeners",value:function(N,j,nA){var lA,hA=this,mA=(lA=this._actions.map[N])==null?void 0:lA.filterEventType,IA=function(DA){return(mA==null||mA(DA))&&bn(DA,hA._actions)};(u.array(j)||u.object(j))&&this._onOff(Rn.Off,N,j,void 0,IA),(u.array(nA)||u.object(nA))&&this._onOff(Rn.On,N,nA,void 0,IA)}},{key:"setPerAction",value:function(N,j){var nA=this._defaults;for(var lA in j){var hA=lA,mA=this.options[N],IA=j[hA];hA==="listeners"&&this.updatePerActionListeners(N,mA.listeners,IA),u.array(IA)?mA[hA]=xe(IA):u.plainObject(IA)?(mA[hA]=eA(mA[hA]||{},Pi(IA)),u.object(nA.perAction[hA])&&"enabled"in nA.perAction[hA]&&(mA[hA].enabled=IA.enabled!==!1)):u.bool(IA)&&u.object(nA.perAction[hA])?mA[hA].enabled=IA:mA[hA]=IA}}},{key:"getRect",value:function(N){return N=N||(u.element(this.target)?this.target:null),u.string(this.target)&&(N=N||this._context.querySelector(this.target)),_(N)}},{key:"rectChecker",value:function(N){var j=this;return u.func(N)?(this.getRect=function(nA){var lA=eA({},N.apply(j,nA));return"width"in lA||(lA.width=lA.right-lA.left,lA.height=lA.bottom-lA.top),lA},this):N===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(N,j){if(G(j)||u.object(j)){for(var nA in this.options[N]=j,this._actions.map)this.options[nA][N]=j;return this}return this.options[N]}},{key:"origin",value:function(N){return this._backCompatOption("origin",N)}},{key:"deltaSource",value:function(N){return N==="page"||N==="client"?(this.options.deltaSource=N,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var N=this.target;return u.string(N)?Array.from(this._context.querySelectorAll(N)):u.func(N)&&N.getAllElements?N.getAllElements():u.element(N)?[N]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(N){return this._context===N.ownerDocument||M(this._context,N)}},{key:"testIgnoreAllow",value:function(N,j,nA){return!this.testIgnore(N.ignoreFrom,j,nA)&&this.testAllow(N.allowFrom,j,nA)}},{key:"testAllow",value:function(N,j,nA){return!N||!!u.element(nA)&&(u.string(N)?z(nA,N,j):!!u.element(N)&&M(N,nA))}},{key:"testIgnore",value:function(N,j,nA){return!(!N||!u.element(nA))&&(u.string(N)?z(nA,N,j):!!u.element(N)&&M(N,nA))}},{key:"fire",value:function(N){return this.events.fire(N),this}},{key:"_onOff",value:function(N,j,nA,lA,hA){u.object(j)&&!u.array(j)&&(lA=nA,nA=null);var mA=W(j,nA,hA);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[N===Rn.On?"on":"off"](IA,yA):u.string(this.target)?this._scopeEvents[N===Rn.On?"addDelegate":"removeDelegate"](this.target,this._context,IA,yA,lA):this._scopeEvents[N===Rn.On?"add":"remove"](this.target,IA,yA,lA)}}return this}},{key:"on",value:function(N,j,nA){return this._onOff(Rn.On,N,j,nA)}},{key:"off",value:function(N,j,nA){return this._onOff(Rn.Off,N,j,nA)}},{key:"set",value:function(N){var j=this._defaults;for(var nA in u.object(N)||(N={}),this.options=Pi(j.base),this._actions.methodDict){var lA=nA,hA=this._actions.methodDict[lA];this.options[lA]={},this.setPerAction(lA,eA(eA({},j.perAction),j.actions[lA])),this[hA](N[lA])}for(var mA in N)mA!=="getRect"?u.func(this[mA])&&this[mA](N[mA]):this.rectChecker(N.getRect);return this}},{key:"unset",value:function(){if(u.string(this.target))for(var N in this._scopeEvents.delegatedEvents)for(var j=this._scopeEvents.delegatedEvents[N],nA=j.length-1;nA>=0;nA--){var lA=j[nA],hA=lA.selector,mA=lA.context,IA=lA.listeners;hA===this.target&&mA===this._context&&j.splice(nA,1);for(var DA=IA.length-1;DA>=0;DA--)this._scopeEvents.removeDelegate(this.target,this._context,N,IA[DA][0],IA[DA][1])}else this._scopeEvents.remove(this.target,"all")}}]),R}(),Rs=function(){function R(N){var j=this;I(this,R),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=N,N.addListeners({"interactable:unset":function(nA){var lA=nA.interactable,hA=lA.target,mA=u.string(hA)?j.selectorMap[hA]:hA[j.scope.id],IA=UA(mA,function(DA){return DA===lA});mA.splice(IA,1)}})}return b(R,[{key:"new",value:function(N,j){j=eA(j||{},{actions:this.scope.actions});var nA=new this.scope.Interactable(N,j,this.scope.document,this.scope.events);return this.scope.addDocument(nA._doc),this.list.push(nA),u.string(N)?(this.selectorMap[N]||(this.selectorMap[N]=[]),this.selectorMap[N].push(nA)):(nA.target[this.scope.id]||Object.defineProperty(N,this.scope.id,{value:[],configurable:!0}),N[this.scope.id].push(nA)),this.scope.fire("interactable:new",{target:N,options:j,interactable:nA,win:this.scope._win}),nA}},{key:"getExisting",value:function(N,j){var nA=j&&j.context||this.scope.document,lA=u.string(N),hA=lA?this.selectorMap[N]:N[this.scope.id];if(hA)return $A(hA,function(mA){return mA._context===nA&&(lA||mA.inContext(N))})}},{key:"forEachMatch",value:function(N,j){for(var nA=0,lA=this.list;nA<lA.length;nA++){var hA=lA[nA],mA=void 0;if((u.string(hA.target)?u.element(N)&&O(N,hA.target):N===hA.target)&&hA.inContext(N)&&(mA=j(hA)),mA!==void 0)return mA}}}]),R}(),jr=function(){function R(){var N=this;I(this,R),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=E,this.defaults=Pi(Wo),this.Eventable=xs,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=function(nA){var lA=function hA(mA,IA){var DA=nA.interactables.getExisting(mA,IA);return DA||((DA=nA.interactables.new(mA,IA)).events.global=hA.globalEvents),DA};return lA.getPointerAverage=ZA,lA.getTouchBBox=ce,lA.getTouchDistance=ae,lA.getTouchAngle=LA,lA.getElementRect=_,lA.getElementClientRect=X,lA.matchesSelector=O,lA.closest=x,lA.globalEvents={},lA.version="1.10.27",lA.scope=nA,lA.use=function(hA,mA){return this.scope.usePlugin(hA,mA),this},lA.isSet=function(hA,mA){return!!this.scope.interactables.get(hA,mA&&mA.context)},lA.on=At(function(hA,mA,IA){if(u.string(hA)&&hA.search(" ")!==-1&&(hA=hA.trim().split(/ +/)),u.array(hA)){for(var DA=0,xA=hA;DA<xA.length;DA++){var yA=xA[DA];this.on(yA,mA,IA)}return this}if(u.object(hA)){for(var GA in hA)this.on(GA,hA[GA],mA);return this}return bn(hA,this.scope.actions)?this.globalEvents[hA]?this.globalEvents[hA].push(mA):this.globalEvents[hA]=[mA]:this.scope.events.add(this.scope.document,hA,mA,{options:IA}),this},"The interact.on() method is being deprecated"),lA.off=At(function(hA,mA,IA){if(u.string(hA)&&hA.search(" ")!==-1&&(hA=hA.trim().split(/ +/)),u.array(hA)){for(var DA=0,xA=hA;DA<xA.length;DA++){var yA=xA[DA];this.off(yA,mA,IA)}return this}if(u.object(hA)){for(var GA in hA)this.off(GA,hA[GA],mA);return this}var jA;return bn(hA,this.scope.actions)?hA in this.globalEvents&&(jA=this.globalEvents[hA].indexOf(mA))!==-1&&this.globalEvents[hA].splice(jA,1):this.scope.events.remove(this.scope.document,hA,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 hA=0,mA=this.scope.interactions.list;hA<mA.length;hA++)mA[hA].stop();return this},lA.pointerMoveTolerance=function(hA){return u.number(hA)?(this.scope.interactions.pointerMoveTolerance=hA,this):this.scope.interactions.pointerMoveTolerance},lA.addDocument=function(hA,mA){this.scope.addDocument(hA,mA)},lA.removeDocument=function(hA){this.scope.removeDocument(hA)},lA}(this),this.InteractEvent=ni,this.Interactable=void 0,this.interactables=new Rs(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(nA){return N.removeDocument(nA.target)};var j=this;this.Interactable=function(nA){w(hA,nA);var lA=Y(hA);function hA(){return I(this,hA),lA.apply(this,arguments)}return b(hA,[{key:"_defaults",get:function(){return j.defaults}},{key:"set",value:function(mA){return K(S(hA.prototype),"set",this).call(this,mA),j.fire("interactable:set",{options:mA,interactable:this}),this}},{key:"unset",value:function(){K(S(hA.prototype),"unset",this).call(this);var mA=j.interactables.list.indexOf(this);mA<0||(j.interactables.list.splice(mA,1),j.fire("interactable:unset",{interactable:this}))}}]),hA}(mi)}return b(R,[{key:"addListeners",value:function(N,j){this.listenerMaps.push({id:j,map:N})}},{key:"fire",value:function(N,j){for(var nA=0,lA=this.listenerMaps;nA<lA.length;nA++){var hA=lA[nA].map[N];if(hA&&hA(j,this,N)===!1)return!1}}},{key:"init",value:function(N){return this.isInitialized?this:function(j,nA){return j.isInitialized=!0,u.window(nA)&&k(nA),r.init(nA),E.init(nA),Ie.init(nA),j.window=nA,j.document=nA.document,j.usePlugin(St),j.usePlugin(ct),j}(this,N)}},{key:"pluginIsInstalled",value:function(N){var j=N.id;return j?!!this._plugins.map[j]:this._plugins.list.indexOf(N)!==-1}},{key:"usePlugin",value:function(N,j){if(!this.isInitialized)return this;if(this.pluginIsInstalled(N))return this;if(N.id&&(this._plugins.map[N.id]=N),this._plugins.list.push(N),N.install&&N.install(this,j),N.listeners&&N.before){for(var nA=0,lA=this.listenerMaps.length,hA=N.before.reduce(function(IA,DA){return IA[DA]=!0,IA[tn(DA)]=!0,IA},{});nA<lA;nA++){var mA=this.listenerMaps[nA].id;if(mA&&(hA[mA]||hA[tn(mA)]))break}this.listenerMaps.splice(nA,0,{id:N.id,map:N.listeners})}else N.listeners&&this.listenerMaps.push({id:N.id,map:N.listeners});return this}},{key:"addDocument",value:function(N,j){if(this.getDocIndex(N)!==-1)return!1;var nA=y(N);j=j?eA({},j):{},this.documents.push({doc:N,options:j}),this.events.documents.push(N),N!==this.document&&this.events.add(nA,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:N,window:nA,scope:this,options:j})}},{key:"removeDocument",value:function(N){var j=this.getDocIndex(N),nA=y(N),lA=this.documents[j].options;this.events.remove(nA,"unload",this.onWindowUnload),this.documents.splice(j,1),this.events.documents.splice(j,1),this.fire("scope:remove-document",{doc:N,window:nA,scope:this,options:lA})}},{key:"getDocIndex",value:function(N){for(var j=0;j<this.documents.length;j++)if(this.documents[j].doc===N)return j;return-1}},{key:"getDocOptions",value:function(N){var j=this.getDocIndex(N);return j===-1?null:this.documents[j].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),R}();function tn(R){return R&&R.replace(/\/.*$/,"")}var qr=new jr,Gt=qr.interactStatic,Ls=typeof globalThis<"u"?globalThis:window;qr.init(Ls);var Gs=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(R){var N=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(nA){var lA=nA[0],hA=nA[1];return lA in R||hA in R}),j=function(nA,lA){for(var hA=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:hA,grid:R,x:null,y:null},GA=0;GA<N.length;GA++){var jA=N[GA],se=jA[0],oe=jA[1],de=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,de*R[se]+xA.x)),yA[oe]=Math.max(IA.top,Math.min(IA.bottom,De*R[oe]+xA.y))}return yA};return j.grid=R,j.coordFields=N,j}}),Ps={id:"snappers",install:function(R){var N=R.interactStatic;N.snappers=eA(N.snappers||{},Gs),N.createSnapGrid=N.snappers.grid}},Hs=Ps,nn={start:function(R){var N=R.state,j=R.rect,nA=R.edges,lA=R.pageCoords,hA=N.options,mA=hA.ratio,IA=hA.enabled,DA=N.options,xA=DA.equalDelta,yA=DA.modifiers;mA==="preserve"&&(mA=j.width/j.height),N.startCoords=eA({},lA),N.startRect=eA({},j),N.ratio=mA,N.equalDelta=xA;var GA=N.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(N.xIsPrimaryAxis=!(!nA.left&&!nA.right),N.equalDelta){var jA=(GA.left?1:-1)*(GA.top?1:-1);N.edgeSign={x:jA,y:jA}}else N.edgeSign={x:GA.left?-1:1,y:GA.top?-1:1};if(IA!==!1&&eA(nA,GA),yA!=null&&yA.length){var se=new zo(R.interaction);se.copyFrom(R.interaction.modification),se.prepareStates(yA),N.subModification=se,se.startAll(i({},R))}},set:function(R){var N=R.state,j=R.rect,nA=R.coords,lA=N.linkedEdges,hA=eA({},nA),mA=N.equalDelta?Bg:un;if(eA(R.edges,lA),mA(N,N.xIsPrimaryAxis,nA,j),!N.subModification)return null;var IA=eA({},j);gA(lA,IA,{x:nA.x-hA.x,y:nA.y-hA.y});var DA=N.subModification.setAll(i(i({},R),{},{rect:IA,edges:lA,pageCoords:nA,prevCoords:nA,prevRect:IA})),xA=DA.delta;return DA.changed&&(mA(N,Math.abs(xA.x)>Math.abs(xA.y),DA.coords,DA.rect),eA(nA,DA.coords)),DA.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function Bg(R,N,j){var nA=R.startCoords,lA=R.edgeSign;N?j.y=nA.y+(j.x-nA.x)*lA.y:j.x=nA.x+(j.y-nA.y)*lA.x}function un(R,N,j,nA){var lA=R.startRect,hA=R.startCoords,mA=R.ratio,IA=R.edgeSign;if(N){var DA=nA.width/mA;j.y=hA.y+(DA-lA.height)*IA.y}else{var xA=nA.height*mA;j.x=hA.x+(xA-lA.width)*IA.x}}var Cg=Nn(nn,"aspectRatio"),Xr=function(){};Xr._defaults={};var Dn=Xr;function Ln(R,N,j){return u.func(R)?iA(R,N.interactable,N.element,[j.x,j.y,N]):iA(R,N.interactable,N.element)}var Hi={start:function(R){var N=R.rect,j=R.startOffset,nA=R.state,lA=R.interaction,hA=R.pageCoords,mA=nA.options,IA=mA.elementRect,DA=eA({left:0,top:0,right:0,bottom:0},mA.offset||{});if(N&&IA){var xA=Ln(mA.restriction,lA,hA);if(xA){var yA=xA.right-xA.left-N.width,GA=xA.bottom-xA.top-N.height;yA<0&&(DA.left+=yA,DA.right+=yA),GA<0&&(DA.top+=GA,DA.bottom+=GA)}DA.left+=j.left-N.width*IA.left,DA.top+=j.top-N.height*IA.top,DA.right+=j.right-N.width*(1-IA.right),DA.bottom+=j.bottom-N.height*(1-IA.bottom)}nA.offset=DA},set:function(R){var N=R.coords,j=R.interaction,nA=R.state,lA=nA.options,hA=nA.offset,mA=Ln(lA.restriction,j,N);if(mA){var IA=function(DA){return!DA||"left"in DA&&"top"in DA||((DA=eA({},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);N.x=Math.max(Math.min(IA.right-hA.right,N.x),IA.left+hA.left),N.y=Math.max(Math.min(IA.bottom-hA.bottom,N.y),IA.top+hA.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},ht=Nn(Hi,"restrict"),$n={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Vo={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Ks(R,N){for(var j=0,nA=["top","left","bottom","right"];j<nA.length;j++){var lA=nA[j];lA in R||(R[lA]=N[lA])}return R}var Ei={noInner:$n,noOuter:Vo,start:function(R){var N,j=R.interaction,nA=R.startOffset,lA=R.state,hA=lA.options;hA&&(N=dA(Ln(hA.offset,j,j.coords.start.page))),N=N||{x:0,y:0},lA.offset={top:N.y+nA.top,left:N.x+nA.left,bottom:N.y-nA.bottom,right:N.x-nA.right}},set:function(R){var N=R.coords,j=R.edges,nA=R.interaction,lA=R.state,hA=lA.offset,mA=lA.options;if(j){var IA=eA({},N),DA=Ln(mA.inner,nA,IA)||{},xA=Ln(mA.outer,nA,IA)||{};Ks(DA,$n),Ks(xA,Vo),j.top?N.y=Math.min(Math.max(xA.top+hA.top,IA.y),DA.top+hA.top):j.bottom&&(N.y=Math.max(Math.min(xA.bottom+hA.bottom,IA.y),DA.bottom+hA.bottom)),j.left?N.x=Math.min(Math.max(xA.left+hA.left,IA.x),DA.left+hA.left):j.right&&(N.x=Math.max(Math.min(xA.right+hA.right,IA.x),DA.right+hA.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},mg=Nn(Ei,"restrictEdges"),Eg=eA({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(R){}},Hi.defaults),Qg=Nn({start:Hi.start,set:Hi.set,defaults:Eg},"restrictRect"),Ts={width:-1/0,height:-1/0},Ar={width:1/0,height:1/0},Ki=Nn({start:function(R){return Ei.start(R)},set:function(R){var N=R.interaction,j=R.state,nA=R.rect,lA=R.edges,hA=j.options;if(lA){var mA=EA(Ln(hA.min,N,R.coords))||Ts,IA=EA(Ln(hA.max,N,R.coords))||Ar;j.options={endOnly:hA.endOnly,inner:eA({},Ei.noInner),outer:eA({},Ei.noOuter)},lA.top?(j.options.inner.top=nA.bottom-mA.height,j.options.outer.top=nA.bottom-IA.height):lA.bottom&&(j.options.inner.bottom=nA.top+mA.height,j.options.outer.bottom=nA.top+IA.height),lA.left?(j.options.inner.left=nA.right-mA.width,j.options.outer.left=nA.right-IA.width):lA.right&&(j.options.inner.right=nA.left+mA.width,j.options.outer.right=nA.left+IA.width),Ei.set(R),j.options=hA}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),Vr={start:function(R){var N,j=R.interaction,nA=R.interactable,lA=R.element,hA=R.rect,mA=R.state,IA=R.startOffset,DA=mA.options,xA=DA.offsetWithOrigin?function(jA){var se=jA.interaction.element,oe=dA(iA(jA.state.options.origin,null,null,[se])),de=oe||uA(jA.interactable,se,jA.interaction.prepared.name);return de}(R):{x:0,y:0};if(DA.offset==="startCoords")N={x:j.coords.start.page.x,y:j.coords.start.page.y};else{var yA=iA(DA.offset,nA,lA,[j]);(N=dA(yA)||{x:0,y:0}).x+=xA.x,N.y+=xA.y}var GA=DA.relativePoints;mA.offsets=hA&&GA&&GA.length?GA.map(function(jA,se){return{index:se,relativePoint:jA,x:IA.left-hA.width*jA.x+N.x,y:IA.top-hA.height*jA.y+N.y}}):[{index:0,relativePoint:null,x:N.x,y:N.y}]},set:function(R){var N=R.interaction,j=R.coords,nA=R.state,lA=nA.options,hA=nA.offsets,mA=uA(N.interactable,N.element,N.prepared.name),IA=eA({},j),DA=[];lA.offsetWithOrigin||(IA.x-=mA.x,IA.y-=mA.y);for(var xA=0,yA=hA;xA<yA.length;xA++)for(var GA=yA[xA],jA=IA.x-GA.x,se=IA.y-GA.y,oe=0,de=lA.targets.length;oe<de;oe++){var De=lA.targets[oe],Qe=void 0;(Qe=u.func(De)?De(jA,se,N._proxy,GA,oe):De)&&DA.push({x:(u.number(Qe.x)?Qe.x:jA)+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=cA(Be,Pe),Oe=He<=VA;VA===1/0&&vA.inRange&&vA.range!==1/0&&(Oe=!1),vA.target&&!(Oe?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=Oe,vA.delta.x=Be,vA.delta.y=Pe)}return vA.inRange&&(j.x=vA.target.x,j.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}},Us=Nn(Vr,"snap"),po={start:function(R){var N=R.state,j=R.edges,nA=N.options;if(!j)return null;R.state={options:{targets:null,relativePoints:[{x:j.left?0:1,y:j.top?0:1}],offset:nA.offset||"self",origin:{x:0,y:0},range:nA.range}},N.targetFields=N.targetFields||[["width","height"],["x","y"]],Vr.start(R),N.offsets=R.state.offsets,R.state=N},set:function(R){var N=R.interaction,j=R.state,nA=R.coords,lA=j.options,hA=j.offsets,mA={x:nA.x-hA[0].x,y:nA.y-hA[0].y};j.options=eA({},lA),j.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,N):xA){for(var GA=0,jA=j.targetFields;GA<jA.length;GA++){var se=jA[GA],oe=se[0],de=se[1];if(oe in yA||de in yA){yA.x=yA[oe],yA.y=yA[de];break}}j.options.targets.push(yA)}}var De=Vr.set(R);return j.options=lA,De},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},Aa=Nn(po,"snapSize"),Bo={aspectRatio:Cg,restrictEdges:mg,restrict:ht,restrictRect:Qg,restrictSize:Ki,snapEdges:Nn({start:function(R){var N=R.edges;return N?(R.state.targetFields=R.state.targetFields||[[N.left?"left":"right",N.top?"top":"bottom"]],po.start(R)):null},set:po.set,defaults:eA(Pi(po.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:Us,snapSize:Aa,spring:Dn,avoid:Dn,transform:Dn,rubberband:Dn},Ys={id:"modifiers",install:function(R){var N=R.interactStatic;for(var j in R.usePlugin(Zo),R.usePlugin(Hs),N.modifiers=Bo,Bo){var nA=Bo[j],lA=nA._defaults,hA=nA._methods;lA._methods=hA,R.defaults.perAction[j]=lA}}},Ig=Ys,er=function(R){w(j,R);var N=Y(j);function j(nA,lA,hA,mA,IA,DA){var xA;if(I(this,j),$(P(xA=N.call(this,IA)),hA),hA!==lA&&$(P(xA),lA),xA.timeStamp=DA,xA.originalEvent=hA,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(j,[{key:"_subtractOrigin",value:function(nA){var lA=nA.x,hA=nA.y;return this.pageX-=lA,this.pageY-=hA,this.clientX-=lA,this.clientY-=hA,this}},{key:"_addOrigin",value:function(nA){var lA=nA.x,hA=nA.y;return this.pageX+=lA,this.pageY+=hA,this.clientX+=lA,this.clientY+=hA,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),j}(Ce),Qi={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(R){R.pointerEvents=Qi,R.defaults.actions.pointerEvents=Qi.defaults,eA(R.actions.phaselessTypes,Qi.types)},listeners:{"interactions:new":function(R){var N=R.interaction;N.prevTap=null,N.tapTime=0},"interactions:update-pointer":function(R){var N=R.down,j=R.pointerInfo;!N&&j.hold||(j.hold={duration:1/0,timeout:null})},"interactions:move":function(R,N){var j=R.interaction,nA=R.pointer,lA=R.event,hA=R.eventTarget;R.duplicate||j.pointerIsDown&&!j.pointerWasMoved||(j.pointerIsDown&&Kt(R),ii({interaction:j,pointer:nA,event:lA,eventTarget:hA,type:"move"},N))},"interactions:down":function(R,N){(function(j,nA){for(var lA=j.interaction,hA=j.pointer,mA=j.event,IA=j.eventTarget,DA=j.pointerIndex,xA=lA.pointers[DA].hold,yA=AA(IA),GA={interaction:lA,pointer:hA,event:mA,eventTarget:IA,type:"hold",targets:[],path:yA,node:null},jA=0;jA<yA.length;jA++){var se=yA[jA];GA.node=se,nA.fire("pointerEvents:collect-targets",GA)}if(GA.targets.length){for(var oe=1/0,de=0,De=GA.targets;de<De.length;de++){var Qe=De[de].eventable.options.holdDuration;Qe<oe&&(oe=Qe)}xA.duration=oe,xA.timeout=setTimeout(function(){ii({interaction:lA,eventTarget:IA,pointer:hA,event:mA,type:"hold"},nA)},oe)}})(R,N),ii(R,N)},"interactions:up":function(R,N){Kt(R),ii(R,N),function(j,nA){var lA=j.interaction,hA=j.pointer,mA=j.event,IA=j.eventTarget;lA.pointerWasMoved||ii({interaction:lA,eventTarget:IA,pointer:hA,event:mA,type:"tap"},nA)}(R,N)},"interactions:cancel":function(R,N){Kt(R),ii(R,N)}},PointerEvent:er,fire:ii,collectEventTargets:ea,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,N){var j=R.interaction,nA=R.pointer,lA=R.event,hA=R.eventTarget,mA=R.type,IA=R.targets,DA=IA===void 0?ea(R,N):IA,xA=new er(mA,nA,lA,hA,j,N.now());N.fire("pointerEvents:new",{pointerEvent:xA});for(var yA={interaction:j,pointer:nA,event:lA,eventTarget:hA,targets:DA,type:mA,pointerEvent:xA},GA=0;GA<DA.length;GA++){var jA=DA[GA];for(var se in jA.props||{})xA[se]=jA.props[se];var oe=uA(jA.eventable,jA.node);if(xA._subtractOrigin(oe),xA.eventable=jA.eventable,xA.currentTarget=jA.node,jA.eventable.fire(xA),xA._addOrigin(oe),xA.immediatePropagationStopped||xA.propagationStopped&&GA+1<DA.length&&DA[GA+1].node!==xA.currentTarget)break}if(N.fire("pointerEvents:fired",yA),mA==="tap"){var de=xA.double?ii({interaction:j,pointer:nA,event:lA,eventTarget:hA,type:"doubletap"},N):xA;j.prevTap=de,j.tapTime=de.timeStamp}return xA}function ea(R,N){var j=R.interaction,nA=R.pointer,lA=R.event,hA=R.eventTarget,mA=R.type,IA=j.getPointerIndex(nA),DA=j.pointers[IA];if(mA==="tap"&&(j.pointerWasMoved||!DA||DA.downTarget!==hA))return[];for(var xA=AA(hA),yA={interaction:j,pointer:nA,event:lA,eventTarget:hA,type:mA,path:xA,targets:[],node:null},GA=0;GA<xA.length;GA++){var jA=xA[GA];yA.node=jA,N.fire("pointerEvents:collect-targets",yA)}return mA==="hold"&&(yA.targets=yA.targets.filter(function(se){var oe,de;return se.eventable.options.holdDuration===((oe=j.pointers[IA])==null||(de=oe.hold)==null?void 0:de.duration)})),yA.targets}function Kt(R){var N=R.interaction,j=R.pointerIndex,nA=N.pointers[j].hold;nA&&nA.timeout&&(clearTimeout(nA.timeout),nA.timeout=null)}var ta=Object.freeze({__proto__:null,default:Qi});function Co(R){var N=R.interaction;N.holdIntervalHandle&&(clearInterval(N.holdIntervalHandle),N.holdIntervalHandle=null)}var Os={id:"pointer-events/holdRepeat",install:function(R){R.usePlugin(Qi);var N=R.pointerEvents;N.defaults.holdRepeatInterval=0,N.types.holdrepeat=R.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce(function(R,N){return R["pointerEvents:".concat(N)]=Co,R},{"pointerEvents:new":function(R){var N=R.pointerEvent;N.type==="hold"&&(N.count=(N.count||0)+1)},"pointerEvents:fired":function(R,N){var j=R.interaction,nA=R.pointerEvent,lA=R.eventTarget,hA=R.targets;if(nA.type==="hold"&&hA.length){var mA=hA[0].eventable.options.holdRepeatInterval;mA<=0||(j.holdIntervalHandle=setTimeout(function(){N.pointerEvents.fire({interaction:j,eventTarget:lA,type:"hold",pointer:nA,event:nA},N)},mA))}}})},$s=Os,fg={id:"pointer-events/interactableTargets",install:function(R){var N=R.Interactable;N.prototype.pointerEvents=function(nA){return eA(this.events.options,nA),this};var j=N.prototype._backCompatOption;N.prototype._backCompatOption=function(nA,lA){var hA=j.call(this,nA,lA);return hA===this&&(this.events.options[nA]=lA),hA}},listeners:{"pointerEvents:collect-targets":function(R,N){var j=R.targets,nA=R.node,lA=R.type,hA=R.eventTarget;N.interactables.forEachMatch(nA,function(mA){var IA=mA.events,DA=IA.options;IA.types[lA]&&IA.types[lA].length&&mA.testIgnoreAllow(DA,nA,hA)&&j.push({node:nA,eventable:IA,props:{interactable:mA}})})},"interactable:new":function(R){var N=R.interactable;N.events.getRect=function(j){return N.getRect(j)}},"interactable:set":function(R,N){var j=R.interactable,nA=R.options;eA(j.events.options,N.pointerEvents.defaults),eA(j.events.options,nA.pointerEvents||{})}}},wg=fg,bg={id:"pointer-events",install:function(R){R.usePlugin(ta),R.usePlugin($s),R.usePlugin(wg)}},Dg=bg,yg={id:"reflow",install:function(R){var N=R.Interactable;R.actions.phases.reflow=!0,N.prototype.reflow=function(j){return function(nA,lA,hA){for(var mA=nA.getAllElements(),IA=hA.window.Promise,DA=IA?[]:null,xA=function(){var GA=mA[yA],jA=nA.getRect(GA);if(!jA)return 1;var se,oe=$A(hA.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 de=EA(jA),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:de.x,y:de.y},client:{x:de.x,y:de.y},timeStamp:hA.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,Oe=He.Promise,on=Oe?new Oe(function(Jn){Be._reflowResolve=Jn}):void 0;return Be._reflowPromise=on,Be.start(PA,vA,TA),Be._interacting?(Be.move(Pe),Be.end(VA)):(Be.stop(),Be._reflowResolve()),Be.removePointer(VA,VA),on}(hA,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,j,R)}},listeners:{"interactions:stop":function(R,N){var j=R.interaction;j.pointerType==="reflow"&&(j._reflowResolve&&j._reflowResolve(),function(nA,lA){nA.splice(nA.indexOf(lA),1)}(N.interactions.list,j))}}},Ti=yg;if(Gt.use(ti),Gt.use(zr),Gt.use(Dg),Gt.use(ug),Gt.use(Ig),Gt.use(ei),Gt.use(JA),Gt.use(Je),Gt.use(Ti),Gt.default=Gt,h(n)==="object"&&n)try{n.exports=Gt}catch{}return Gt.default=Gt,Gt})}(Bs,Bs.exports);var s_=Bs.exports;const zp=fu(s_),Vc=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(Np),o=e.inject(Rp);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,F=NaN,P=NaN,Y=NaN,K=NaN,U=-1,v=-1,Q=-1,L=-1,k=i.x,y=i.y,m=i.w,B=i.h;const u=e.ref(),l=e.reactive({i:e.toRef(i,"i"),state:D,wrapper:u,calcXY:iA});function g(sA){W(sA)}function s(){oA()}function d(sA){In(i.isDraggable)&&(D.draggable=sA)}function p(sA){In(i.isResizable)&&(D.resizable=sA)}function a(sA){In(i.isBounded)&&(D.bounded=sA)}function r(sA){D.transformScale=sA}function C(sA){D.rowHeight=sA}function E(sA){D.maxRows=sA}function M(){D.rtl=Jp()==="rtl",oA()}function x(sA){D.cols=Math.floor(sA)}I.increaseItem(l),e.onBeforeMount(()=>{D.rtl=Jp()==="rtl"}),e.onMounted(()=>{I.responsive&&I.lastBreakpoint?D.cols=Op(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,B=i.h,m=i.w,jt(_)}),o.on("updateWidth",g),o.on("compact",s),o.on("setDraggable",d),o.on("setResizable",p),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",s),o.off("setDraggable",d),o.off("setResizable",p),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(l)}),A({state:D,wrapper:u});const H=typeof navigator<"u"?navigator.userAgent.toLowerCase().includes("android"):!1,O=e.computed(()=>D.resizable&&!i.static),J=e.computed(()=>I.isMirrored?!D.rtl:D.rtl),q=e.computed(()=>(D.draggable||D.resizable)&&!i.static),z=e_("item"),Z=e.computed(()=>({[z.b()]:!0,[z.bm("resizable")]:O.value,[z.bm("static")]:i.static,[z.bm("resizing")]:D.isResizing,[z.bm("dragging")]:D.isDragging,[z.bm("transform")]:D.useCssTransforms,[z.bm("rtl")]:J.value,[z.bm("no-touch")]:H&&q.value})),X=e.computed(()=>[z.be("resizer"),J.value&&z.bem("resizer","rtl")].filter(Boolean));e.watch(()=>i.isDraggable,sA=>{D.draggable=sA}),e.watch(()=>i.static,()=>{jt($),jt(tA)}),e.watch(()=>D.draggable,()=>{jt($)}),e.watch(()=>i.isResizable,sA=>{D.resizable=sA}),e.watch(()=>i.isBounded,sA=>{D.bounded=sA}),e.watch(()=>D.resizable,()=>{jt(tA)}),e.watch(()=>D.rowHeight,()=>{jt(_),jt(AA)}),e.watch([()=>D.cols,()=>D.containerWidth],()=>{jt(tA),jt(_),jt(AA)}),e.watch([()=>i.minH,()=>i.maxH,()=>i.minW,()=>i.maxW],()=>{jt(tA)}),e.watch(J,()=>{jt(tA),jt(_)}),e.watch([()=>I.margin,()=>I.margin[0],()=>I.margin[1]],()=>{const sA=I.margin;!sA||sA[0]===D.margin[0]&&sA[1]===D.margin[1]||(D.margin=sA.map(Number),jt(_),jt(AA))});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 sA=aA(k,y,m,B);D.isDragging&&(sA.top=D.dragging.top,J.value?sA.right=D.dragging.left:sA.left=D.dragging.left),D.isResizing&&(sA.width=D.resizing.width,sA.height=D.resizing.height);let CA;D.useCssTransforms?J.value?CA=qk(sA.top,sA.right,sA.width,sA.height):CA=jk(sA.top,sA.left,sA.width,sA.height):J.value?CA=Vk(sA.top,sA.right,sA.width,sA.height):CA=Xk(sA.top,sA.left,sA.width,sA.height),D.style=CA}function AA(){const sA={};for(const CA of["width","height"]){const _A=D.style[CA].match(/^(\d+)px$/);if(!_A)return;sA[CA]=_A[1]}h("container-resized",i.i,i.h,i.w,sA.height,sA.width)}function G(sA){if(i.static)return;const CA=sA.type;if(CA==="resizestart"&&D.isResizing||CA!=="resizestart"&&!D.isResizing)return;const _A=Up(sA);if(In(_A))return;const{x:YA,y:zA}=_A,qA={width:0,height:0};let ZA;switch(CA){case"resizestart":{tA(),U=m,v=B,ZA=aA(k,y,m,B),qA.width=ZA.width,qA.height=ZA.height,D.resizing=qA,D.isResizing=!0;break}case"resizemove":{!sA.edges.right&&!sA.edges.left&&(Y=YA),!sA.edges.top&&!sA.edges.bottom&&(K=zA);const ce=Yp(Y,K,YA,zA);J.value?qA.width=D.resizing.width-ce.deltaX/D.transformScale:qA.width=D.resizing.width+ce.deltaX/D.transformScale,qA.height=D.resizing.height+ce.deltaY/D.transformScale,D.resizing=qA;break}case"resizeend":{ZA=aA(k,y,m,B),qA.width=ZA.width,qA.height=ZA.height,D.resizing={width:-1,height:-1},D.isResizing=!1;break}}ZA=uA(qA.height,qA.width),ZA.w<i.minW&&(ZA.w=i.minW),ZA.w>i.maxW&&(ZA.w=i.maxW),ZA.h<i.minH&&(ZA.h=i.minH),ZA.h>i.maxH&&(ZA.h=i.maxH),ZA.h<1&&(ZA.h=1),ZA.w<1&&(ZA.w=1),Y=YA,K=zA,(m!==ZA.w||B!==ZA.h)&&h("resize",i.i,ZA.h,ZA.w,qA.height,qA.width),sA.type==="resizeend"&&(U!==m||v!==B)&&h("resized",i.i,ZA.h,ZA.w,qA.height,qA.width),o.emit("resizeEvent",sA.type,i.i,k,y,ZA.h,ZA.w)}function eA(sA){if(i.static||D.isResizing)return;const CA=sA.type;if(CA==="dragstart"&&D.isDragging||CA!=="dragstart"&&!D.isDragging)return;const _A=Up(sA);if(In(_A))return;const{x:YA,y:zA}=_A,qA=sA.target;if(!qA.offsetParent)return;const ZA={top:0,left:0};switch(CA){case"dragstart":{Q=k,L=y;const ae=qA.offsetParent.getBoundingClientRect(),LA=qA.getBoundingClientRect(),SA=LA.left/D.transformScale,WA=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?ZA.left=(Ce-ye)*-1:ZA.left=SA-WA,ZA.top=xe-UA,D.dragging=ZA,D.isDragging=!0;break}case"dragmove":{const ae=Yp(F,P,YA,zA);if(J.value?ZA.left=D.dragging.left-ae.deltaX/D.transformScale:ZA.left=D.dragging.left+ae.deltaX/D.transformScale,ZA.top=D.dragging.top+ae.deltaY/D.transformScale,D.bounded){const LA=qA.offsetParent.clientHeight-EA(i.h,D.rowHeight,D.margin[1]);ZA.top=gA(ZA.top,0,LA);const SA=dA(),WA=D.containerWidth-EA(i.w,SA,D.margin[0]);ZA.left=gA(ZA.left,0,WA)}D.dragging=ZA;break}case"dragend":{const ae=qA.offsetParent.getBoundingClientRect(),LA=qA.getBoundingClientRect(),SA=LA.left/D.transformScale,WA=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?ZA.left=(Ce-ye)*-1:ZA.left=SA-WA,ZA.top=xe-UA,D.dragging={top:-1,left:-1},D.isDragging=!1;break}}let ce;J.value,ce=iA(ZA.top,ZA.left),F=YA,P=zA,(k!==ce.x||y!==ce.y)&&h("move",i.i,ce.x,ce.y),sA.type==="dragend"&&(Q!==k||L!==y)&&h("moved",i.i,ce.x,ce.y),o.emit("dragEvent",sA.type,i.i,ce.x,ce.y,B,m)}function aA(sA,CA,_A,YA){const zA=dA();let qA;return J.value?qA={right:Math.round(zA*sA+(sA+1)*D.margin[0]),top:Math.round(D.rowHeight*CA+(CA+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])}:qA={left:Math.round(zA*sA+(sA+1)*D.margin[0]),top:Math.round(D.rowHeight*CA+(CA+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])},qA}function iA(sA,CA){const _A=dA();let YA=Math.round((CA-D.margin[0])/(_A+D.margin[0])),zA=Math.round((sA-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-B),0),{x:YA,y:zA}}function dA(){return(D.containerWidth-D.margin[0]*(D.cols+1))/D.cols}function EA(sA,CA,_A){return Number.isFinite(sA)?Math.round(CA*sA+Math.max(0,sA-1)*_A):sA}function gA(sA,CA,_A){return Math.max(Math.min(sA,_A),CA)}function uA(sA,CA,_A=!1){const YA=dA();let zA=Math.round((CA+D.margin[0])/(YA+D.margin[0])),qA=0;return _A?qA=Math.ceil((sA+D.margin[1])/(D.rowHeight+D.margin[1])):qA=Math.round((sA+D.margin[1])/(D.rowHeight+D.margin[1])),zA=Math.max(Math.min(zA,D.cols-k),0),qA=Math.max(Math.min(qA,D.maxRows-y),0),{w:zA,h:qA}}function W(sA,CA){D.containerWidth=sA}function oA(){_()}function cA(){!b.value&&u.value&&(b.value=zp(u.value),D.useStyleCursor||b.value.styleCursor(!1))}const pA=xp(eA);function $(){if(cA(),!!b.value)if(D.draggable&&!i.static){const sA={ignoreFrom:i.dragIgnoreFrom,allowFrom:i.dragAllowFrom,...i.dragOption};b.value.draggable(sA),w||(w=!0,b.value.on("dragstart dragmove dragend",CA=>{CA.type==="dragmove"?pA(CA):eA(CA)}))}else b.value.draggable({enabled:!1})}const V=xp(G);function tA(){if(cA(),!!b.value)if(D.resizable&&!i.static){const sA=aA(0,0,i.maxW,i.maxH),CA=aA(0,0,i.minW,i.minH),_A={edges:{left:J.value?`.${X.value[0]}`:!1,right:J.value?!1:`.${X.value[0]}`,bottom:`.${X.value[0]}`,top:!1},ignoreFrom:i.resizeIgnoreFrom,restrictSize:{min:{height:CA.height*D.transformScale,width:CA.width*D.transformScale},max:{height:sA.height*D.transformScale,width:sA.width*D.transformScale}},...i.resizeOption};i.preserveAspectRatio&&(_A.modifiers=[zp.modifiers.aspectRatio({ratio:"preserve"})]),b.value.resizable(_A),S||(S=!0,b.value.on("resizestart resizemove resizeend",YA=>{YA.type==="resizemove"?V(YA):G(YA)}))}else b.value.resizable({enabled:!1})}return(sA,CA)=>(e.openBlock(),e.createElementBlock("section",{ref_key:"wrapper",ref:u,class:e.normalizeClass(Z.value),style:e.normalizeStyle(D.style)},[e.renderSlot(sA.$slots,"default"),O.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(X.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 Wp(n){return n!=null}function Kr(){}const l_=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(l_)));const c_=oo&&("ontouchstart"in window||u_()>0),g_=c_?"pointerdown":"click";function u_(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function d_(n,A,t=window.Event){const{type:i,bubbles:h=!1,cancelable:I=!1,...o}=A;if(!Wp(i)||i==="")return!1;let b;return Wp(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 h_="clickoutside",p_=new Set;oo&&document.addEventListener(g_,n=>{const A=n.target,t=n.composedPath&&n.composedPath();p_.forEach(i=>{i!==A&&(t?!t.includes(i):!i.contains(A))&&(!i.__transferElement||i.__transferElement!==A&&!i.__transferElement.contains(A))&&d_(i,{type:h_})})},!0);const B_=[["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 Tr;if(oo){for(const n of B_)if(n[1]in document){Tr=n;break}}const C_=!!Tr;e.computed(()=>!1);const m_=new Set,E_=new WeakMap;if(oo&&Tr){const n=Tr[2],A=Tr[4];document.addEventListener(A,()=>{if(m_.forEach(t=>{t.value=!1}),document[n]){const t=E_.get(document[n]);t&&(t.value=!0)}},!1)}const jp=new Map;jp.set("x",0),jp.set("y",0);var ro=[],Q_=function(){return ro.some(function(n){return n.activeTargets.length>0})},I_=function(){return ro.some(function(n){return n.skippedTargets.length>0})},qp="ResizeObserver loop completed with undelivered notifications.",f_=function(){var n;typeof ErrorEvent=="function"?n=new ErrorEvent("error",{message:qp}):(n=document.createEvent("Event"),n.initEvent("error",!1,!1),n.message=qp),window.dispatchEvent(n)},Ur;(function(n){n.BORDER_BOX="border-box",n.CONTENT_BOX="content-box",n.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Ur||(Ur={}));var ao=function(n){return Object.freeze(n)},w_=function(){function n(A,t){this.inlineSize=A,this.blockSize=t,ao(this)}return n}(),Xp=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}(),Ag=function(n){return n instanceof SVGElement&&"getBBox"in n},Vp=function(n){if(Ag(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)},AB=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)},b_=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},Yr=typeof window<"u"?window:{},Cs=new WeakMap,eB=/auto|scroll/,D_=/^tb|vertical/,y_=/msie|trident/i.test(Yr.navigator&&Yr.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 w_((t?A:n)||0,(t?n:A)||0)},tB=ao({devicePixelContentBoxSize:Oo(),borderBoxSize:Oo(),contentBoxSize:Oo(),contentRect:new Xp(0,0,0,0)}),nB=function(n,A){if(A===void 0&&(A=!1),Cs.has(n)&&!A)return Cs.get(n);if(Vp(n))return Cs.set(n,tB),tB;var t=getComputedStyle(n),i=Ag(n)&&n.ownerSVGElement&&n.getBBox(),h=!y_&&t.boxSizing==="border-box",I=D_.test(t.writingMode||""),o=!i&&eB.test(t.overflowY||""),b=!i&&eB.test(t.overflowX||""),D=i?0:Ai(t.paddingTop),w=i?0:Ai(t.paddingRight),S=i?0:Ai(t.paddingBottom),F=i?0:Ai(t.paddingLeft),P=i?0:Ai(t.borderTopWidth),Y=i?0:Ai(t.borderRightWidth),K=i?0:Ai(t.borderBottomWidth),U=i?0:Ai(t.borderLeftWidth),v=F+w,Q=D+S,L=U+Y,k=P+K,y=b?n.offsetHeight-k-n.clientHeight:0,m=o?n.offsetWidth-L-n.clientWidth:0,B=h?v+L:0,u=h?Q+k:0,l=i?i.width:Ai(t.width)-B-m,g=i?i.height:Ai(t.height)-u-y,s=l+v+m+L,d=g+Q+y+k,p=ao({devicePixelContentBoxSize:Oo(Math.round(l*devicePixelRatio),Math.round(g*devicePixelRatio),I),borderBoxSize:Oo(s,d,I),contentBoxSize:Oo(l,g,I),contentRect:new Xp(F,D,l,g)});return Cs.set(n,p),p},iB=function(n,A,t){var i=nB(n,t),h=i.borderBoxSize,I=i.contentBoxSize,o=i.devicePixelContentBoxSize;switch(A){case Ur.DEVICE_PIXEL_CONTENT_BOX:return o;case Ur.BORDER_BOX:return h;default:return I}},v_=function(){function n(A){var t=nB(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}(),oB=function(n){if(Vp(n))return 1/0;for(var A=0,t=n.parentNode;t;)A+=1,t=t.parentNode;return A},k_=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 v_(b.target),w=oB(b.target);o.push(D),b.lastReportedSize=iB(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},rB=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()&&(oB(t.target)>n?A.activeTargets.push(t):A.skippedTargets.push(t))})})},__=function(){var n=0;for(rB(n);Q_();)n=k_(),rB(n);return I_()&&f_(),n>0},eg,aB=[],M_=function(){return aB.splice(0).forEach(function(n){return n()})},x_=function(n){if(!eg){var A=0,t=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return M_()}).observe(t,i),eg=function(){t.textContent="".concat(A?A--:A++)}}aB.push(n),eg()},S_=function(n){x_(function(){requestAnimationFrame(n)})},ms=0,F_=function(){return!!ms},N_=250,R_={attributes:!0,characterData:!0,childList:!0,subtree:!0},sB=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],lB=function(n){return n===void 0&&(n=0),Date.now()+n},tg=!1,L_=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=N_),!tg){tg=!0;var i=lB(A);S_(function(){var h=!1;try{h=__()}finally{if(tg=!1,A=i-lB(),!F_())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,R_)};document.body?t():Yr.addEventListener("DOMContentLoaded",t)},n.prototype.start=function(){var A=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),sB.forEach(function(t){return Yr.addEventListener(t,A.listener,!0)}))},n.prototype.stop=function(){var A=this;this.stopped||(this.observer&&this.observer.disconnect(),sB.forEach(function(t){return Yr.removeEventListener(t,A.listener,!0)}),this.stopped=!0)},n}(),ng=new L_,cB=function(n){!ms&&n>0&&ng.start(),ms+=n,!ms&&ng.stop()},G_=function(n){return!Ag(n)&&!b_(n)&&getComputedStyle(n).display==="inline"},P_=function(){function n(A,t){this.target=A,this.observedBox=t||Ur.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return n.prototype.isActive=function(){var A=iB(this.target,this.observedBox,!0);return G_(this.target)&&(this.lastReportedSize=A),this.lastReportedSize.inlineSize!==A.inlineSize||this.lastReportedSize.blockSize!==A.blockSize},n}(),H_=function(){function n(A,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=A,this.callback=t}return n}(),Es=new WeakMap,gB=function(n,A){for(var t=0;t<n.length;t+=1)if(n[t].target===A)return t;return-1},Qs=function(){function n(){}return n.connect=function(A,t){var i=new H_(A,t);Es.set(A,i)},n.observe=function(A,t,i){var h=Es.get(A),I=h.observationTargets.length===0;gB(h.observationTargets,t)<0&&(I&&ro.push(h),h.observationTargets.push(new P_(t,i&&i.box)),cB(1),ng.schedule())},n.unobserve=function(A,t){var i=Es.get(A),h=gB(i.observationTargets,t),I=i.observationTargets.length===1;h>=0&&(I&&ro.splice(ro.indexOf(i),1),i.observationTargets.splice(h,1),cB(-1))},n.disconnect=function(A){var t=this,i=Es.get(A);i.observationTargets.slice().forEach(function(h){return t.unobserve(A,h.target)}),i.activeTargets.splice(0,i.activeTargets.length)},n}(),K_=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.");Qs.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(!AB(A))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Qs.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(!AB(A))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Qs.unobserve(this,A)},n.prototype.disconnect=function(){Qs.disconnect(this)},n.toString=function(){return"function ResizeObserver () { [polyfill code] }"},n}();const Is=new WeakMap;function T_(n){var A;for(let t=0,i=n.length;t<i;++t){const h=n[t],I=Is.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 uB=new(oo&&window.ResizeObserver||K_)(T_);function dB(n,A){Is.set(n,A),uB.observe(n)}function hB(n){Is.has(n)&&(uB.unobserve(n),Is.delete(n))}function U_(n={}){let A=Kr;const t=e.watch(()=>e.unref(n.target),h=>{A(),!(!h||typeof n.onResize!="function")&&(dB(h,n.onResize),A=()=>{hB(h),A=Kr})},{immediate:!0}),i=()=>{t(),A()};return e.getCurrentScope()&&e.onScopeDispose(i),{observeResize:dB,unobserveResize:hB,unobserve:i}}const Y_=e.ref(!1);e.computed(()=>Y_.value);const pB="__theme_style__",ig="__theme_observer__",BB=e.reactive(new Map),CB=new Map;e.watch(BB,()=>{if(!oo)return;CB.clear();const n=document.head.querySelector(`#${pB}`);n&&document.head.removeChild(n);const A=document.createElement("style");let t=`.${ig} { width: 1px }`,i=1;for(const[h,[I,o]]of BB.entries())t+=` html.${I} .${ig}, .${o} .${ig} { width: ${++i}px }`,CB.set(i,h);A.textContent=t,A.id=pB,document.head.appendChild(A)});const O_=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}=U_(),F=Yk();F.on("resizeEvent",P),F.on("dragEvent",Y),e.onBeforeMount(()=>{h("layout-before-mount",b.value)}),e.onMounted(()=>{h("layout-mounted",b.value),e.nextTick(()=>{A_(b.value),I.originalLayout=b.value,e.nextTick(()=>{g(),D.value&&w(D.value,Ok(k,16)),Yo(b.value,i.verticalCompact),h("layout-updated",b.value),L(),k()})})}),e.onBeforeUnmount(()=>{F.clearAll(),D.value&&S(D.value)});function P(d,p,a,r,C,E){u(d,p,a,r,C,E)}function Y(d,p,a,r,C,E){B(d,p,a,r,C,E)}e.watch(()=>I.width,(d,p)=>{e.nextTick(()=>{F.emit("updateWidth",d),p===-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=>{F.emit("setColNum",d)}),e.watch(()=>i.rowHeight,d=>{F.emit("setRowHeight",d)}),e.watch(()=>i.isDraggable,d=>{F.emit("setDraggable",d)}),e.watch(()=>i.isResizable,d=>{F.emit("setResizable",d)}),e.watch(()=>i.isBounded,d=>{F.emit("setBounded",d)}),e.watch(()=>i.transformScale,d=>{F.emit("setTransformScale",d)}),e.watch(()=>i.responsive,d=>{d||(h("update:layout",I.originalLayout),F.emit("setColNum",i.colNum)),k()}),e.watch(()=>i.maxRows,d=>{F.emit("setMaxRows",d)}),e.watch([()=>i.margin,()=>i.margin[1]],L),e.provide(Np,e.reactive({...e.toRefs(i),...e.toRefs(I),increaseItem:K,decreaseItem:U})),e.provide(Rp,F),A({state:I,getItem:v,resizeEvent:u,dragEvent:B,layoutUpdate:Q});function K(d){o.set(d.i,d)}function U(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=s(b.value,I.originalLayout);if(d.length>0)if(b.value.length>I.originalLayout.length)I.originalLayout=I.originalLayout.concat(d);else{const p=new Set(d.map(a=>a.i));I.originalLayout=I.originalLayout.filter(a=>!p.has(a.i))}I.lastLayoutLength=b.value.length,g()}Yo(b.value,i.verticalCompact),F.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),F.emit("resizeEvent")}function y(){if(!i.autoSize)return;const d=parseFloat(i.margin[1]);return Jk(b.value)*(i.rowHeight+d)+d+"px"}let m;function B(d,p,a,r,C,E){let M=Gp(b.value,p);In(M)&&(M={h:0,w:0,x:0,y:0,i:""}),d==="dragstart"&&!i.verticalCompact&&(m=b.value.reduce((x,{i:H,x:O,y:J})=>({...x,[H]:{x:O,y:J}}),{})),d==="dragmove"||d==="dragstart"?(I.placeholder.i=p,I.placeholder.x=M.x,I.placeholder.y=M.y,I.placeholder.w=E,I.placeholder.h=C,e.nextTick(()=>{I.isDragging=!0}),F.emit("updateWidth",I.width)):e.nextTick(()=>{I.isDragging=!1}),b.value=Xc(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),F.emit("compact"),L(),d==="dragend"&&(m=void 0,h("layout-updated",b.value))}function u(d,p,a,r,C,E){let M=Gp(b.value,p);In(M)&&(M={h:0,w:0,x:0,y:0,i:""});let x;if(i.preventCollision){const H=Pp(b.value,{...M,w:E,h:C}).filter(O=>O.i!==M.i);if(x=H.length>0,x){let O=1/0,J=1/0;H.forEach(q=>{q.x>M.x&&(O=Math.min(O,q.x)),q.y>M.y&&(J=Math.min(J,q.y))}),Number.isFinite(O)&&(M.w=O-M.x),Number.isFinite(J)&&(M.h=J-M.y)}}x||(M.w=E,M.h=C),d==="resizestart"||d==="resizemove"?(I.placeholder.i=p,I.placeholder.x=a,I.placeholder.y=r,I.placeholder.w=M.w,I.placeholder.h=M.h,e.nextTick(()=>{I.isDragging=!0}),F.emit("updateWidth",I.width)):d&&e.nextTick(()=>{I.isDragging=!1}),i.responsive&&l(),Yo(b.value,i.verticalCompact),F.emit("compact"),L(),d==="resizeend"&&h("layout-updated",b.value)}function l(){const d=i_(i.breakpoints,I.width);if(d===I.lastBreakpoint)return;const p=Op(d,i.cols);!In(I.lastBreakpoint)&&!I.layouts[I.lastBreakpoint]&&(I.layouts[I.lastBreakpoint]=qc(b.value));const a=o_(I.originalLayout,I.layouts,i.breakpoints,d,I.lastBreakpoint,p,i.verticalCompact);I.layouts[d]=a,I.lastBreakpoint!==d&&h("breakpoint-changed",d,a),b.value=a,h("update:layout",a),I.lastBreakpoint=d,F.emit("setColNum",p)}function g(){I.layouts=Object.assign({},i.responsiveLayouts)}function s(d,p){const a=new Set(p.map(M=>M.i)),r=new Set(d.map(M=>M.i)),C=d.filter(M=>!a.has(M.i)),E=p.filter(M=>!r.has(M.i));return C.concat(E)}return(d,p)=>(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(Vc,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(Vc,{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 Lt=e.defineComponent({__name:"FormItemGroup",props:e.mergeModels({list:{}},{gridData:{},gridDataModifiers:{}}),emits:e.mergeModels(["gridItemMoved"],["update:gridData"]),setup(n,{emit:A}){const t=e.useModel(n,"gridData"),i=ci(),h=yt(),I=e.ref({});function o(F,P){F&&(I.value[P]=F)}let b=[];const D=()=>{if(!t.value)return;const F=new Map;for(const P of t.value)F.has(P.x)||F.set(P.x,[]),F.get(P.x).push(P);for(const P of F.values()){P.sort((K,U)=>K.y-U.y);let Y=0;for(const K of P)K.y=Y,Y+=K.h}t.value=[...t.value]},w=A,S=()=>{w("gridItemMoved")};return e.onMounted(()=>{Object.keys(I.value).forEach(F=>{const P=I.value[F];if(!P)return;const Y=new ResizeObserver(K=>{for(let U of K){const v=U.contentRect.height+28;if(t.value){const Q=t.value[0].rowHeight||30;t.value.find(L=>L.i===F).h=Math.ceil((v+8)/(Q+8))}}D()});Y.observe(P),b.push(Y)})}),e.onBeforeUnmount(()=>{b.forEach(F=>F.disconnect()),b=[]}),(F,P)=>e.unref(h).design?(e.openBlock(),e.createBlock(jc,{key:0,list:F.list,"empty-text":e.unref(i).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"])):t.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.value,(Y,K)=>(e.openBlock(),e.createBlock(e.unref(Vc),{onMoved:S,key:Y.i,x:Y.x,y:Y.y,w:Y.w,h:Y.h,i:Y.i},{default:e.withCtx(()=>[e.createElementVNode("div",{ref_for:!0,ref:U=>o(U,Y.i)},[e.createVNode(io,e.mergeProps({ref_for:!0},F.list[K]),null,16)],512)]),_:2},1032,["x","y","w","h","i"]))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(F.list,Y=>(e.openBlock(),e.createBlock(io,e.mergeProps({key:Y.name,ref_for:!0},Y),null,16))),128))}}),$_={key:0,class:"btn-render-wrapper"},so=le(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,o)}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",$_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.btns,F=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:F.key},[F.component==="Popover"?(e.openBlock(),e.createBlock(Lt,{key:0,list:[I(F)]},null,8,["list"])):F.component==="BtnGroup"?(e.openBlock(),e.createBlock(S,{key:1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(F.children,P=>(e.openBlock(),e.createBlock(w,{key:P.key,disabled:!P.tooltip,content:P.tooltip,placement:"top"},{default:e.withCtx(()=>[P.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(D,{key:P.key,onClick:Y=>h(P),disabled:P.disabled,type:P.type,text:P.isTextBtn,link:P.isLinkBtn,plain:P.isPlainBtn||P.type!=="primary"&&!P.orange,color:P.orange?"#FAA21E":P.color,loading:i.value[P.key],class:e.normalizeClass({orangeBtn:P.orange})},{default:e.withCtx(()=>[P.icon?(e.openBlock(),e.createBlock(Ke,{key:0,name:P.icon.name,color:P.icon.color,class:e.normalizeClass({"btn-icon":P.text||P.label})},null,8,["name","color","class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(P.text||P.label),1)]),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","class"]))]),_:2},1032,["disabled","content"]))),128))]),_:2},1024)):F.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(D,{key:2,onClick:P=>h(F),disabled:F.disabled,type:F.type,text:F.isTextBtn,link:F.isLinkBtn,plain:F.isPlainBtn||F.type!=="primary"&&!F.orange,color:F.orange?"#FAA21E":F.color,loading:i.value[F.key],size:F.size,style:e.normalizeStyle(F.style),class:e.normalizeClass({orangeBtn:F.orange})},{default:e.withCtx(()=>{var P;return[e.createElementVNode("div",{class:e.normalizeClass(["flex items-center gap-2 direction",{"flex-row-reverse":F.isReverse}])},[F.icon?(e.openBlock(),e.createBlock(Ke,{key:0,name:F.icon.name,color:F.icon.color,size:((P=F==null?void 0:F.icon)==null?void 0:P.size)||"small",class:e.normalizeClass({"btn-icon":F.text||F.label})},null,8,["name","color","size","class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(F.text||F.label),1)],2)]}),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","size","style","class"]))],64))),128))])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-0a7cdffc"]]),J_={key:0,class:"dropdown-render-wrapper"},z_=le(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",J_,[(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,F=>(e.openBlock(),e.createBlock(b,{key:F.value,command:F.value,onClick:P=>i(F,S)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(F.label),1)]),_:2},1032,["command","onClick"]))),128))]),_:2},1024)]),default:e.withCtx(()=>[e.createVNode(o,{plain:"",color:S.color},{default:e.withCtx(()=>{var F,P;return[S.icon?(e.openBlock(),e.createBlock(Ke,{key:0,name:(F=S.icon)==null?void 0:F.name,class:"left-icon",color:(P=S.icon)==null?void 0:P.color},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(S.text),1),e.createVNode(Ke,{name:"icon-gongnengjixiajiantou",class:"right-icon"})]}),_:2},1032,["color"])]),_:2},1032,["disabled"]))],64))),128))])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-59020bb8"]]),mB=le(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]=F=>A.value=!0),onMouseleave:h[1]||(h[1]=F=>A.value=!1)},[((o=t.reference)==null?void 0:o.component)==="Icon"?(e.openBlock(),e.createBlock(Ke,{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(Lt),{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(Lt),{key:0,list:i.children},null,8,["list"])):e.createCommentVNode("",!0)])]),_:1},8,["trigger","width","popper-class","title","placement"])}}}),[["__scopeId","data-v-5ba0cc6e"]]),Z_={title:"气泡框",component:"Popover",render:mB,icon:e.h(be,{name:"password"}),type:"layout",order:9},W_=["innerHTML"],j_=e.defineComponent({__name:"HtmlRender",props:{data:{}},setup(n){return(A,t)=>(e.openBlock(),e.createElementBlock("div",{innerHTML:A.data,class:"html-render"},null,8,W_))}}),q_={title:"HTML",component:"HtmlRender",icon:e.h(be,{name:"button"}),type:"assist",order:19,render:j_},X_={title:"分页",component:"Pagination",icon:e.h(be,{name:"library"}),type:"assist",order:10,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>y8))},V_=Object.freeze(Object.defineProperty({__proto__:null,Alert:f0,Button:Fb,Card:w0,CardList:iD,Cascader:D0,Checkbox:_0,Collapse:Bb,ColorInput:F0,ColorPicker:x0,CurdCard:Pb,Custom:R0,DatePicker:G0,Divider:H0,DragList:sD,Esign:T0,FormList:$0,Grid:J0,HtmlRender:q_,Inline:z0,Input:h0,InputNumber:W0,JsonEdit:v0,LogList:aD,ObjGroup:mb,OfferDetails:oD,OrderProgress:rD,Pagination:X_,Password:X0,Popover:Z_,Radio:Y0,Rate:tb,SearchInput:kb,SearchSelect:Mb,Select:Ab,SelectInput:ib,Slider:ob,Switch:ab,Table:Gb,Tabs:Cb,Tag:sb,Text:cb,TextArea:B0,Title:gb,Transfer:Db,Tree:Rb,Upload:db,VerifyCode:pb,Wrapper:Hb},Symbol.toStringTag,{value:"Module"})),$o=()=>{const n=e.inject(jn),A={...V_};return n!=null&&n.extendElements&&Object.assign(A,n.extendElements),A},Sn=()=>e.inject(Fd),Jo=()=>{const n=e.inject("ruleModule",void 0),A=e.inject("pageMethodMap",{});return{ruleModule:n,pageMethodMap:A}},A2=e.defineComponent({__name:"Footer",setup(n){const A=yt(),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)}}}),EB=n=>{let A=[];for(const t of n)(t.component==="Table"||t.component==="DragList"||t.component==="Pagination")&&t.name&&!t.hidden&&A.push(t.name),t.children&&Array.isArray(t.children)&&(A=A.concat(EB(t.children)));return A},QB=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(EB(i.schema.items)));return A},IB=Symbol("RefManager"),e2=()=>{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}}},t2=()=>{const n=e2();return e.provide(IB,n),n},fB=()=>{const n=e.inject(IB);if(!n)throw new Error("RefManager not provided. Make sure to call provideRefManager first.");return n},og=(n,A)=>{const t=fB();return t.register(n,A),()=>{t.unregister(n)}},n2=["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"),F=(J,q,z)=>{z===void 0?w.value[J]=q:(S.value[J]=q,w.value[J]=z)},P=J=>w.value[J],Y=(J,q)=>{let z=C(U.value.items,J);z&&z.props&&(z.props.disabled=!q)},K=(J,q)=>{let z=C(U.value.items,J);z&&(z.hidden=!q)},U=e.useModel(n,"schema");if(U.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,z)=>{const Z=JSON.parse(q),X=JSON.parse(z),_=Object.keys(Z).filter(AA=>JSON.stringify(Z[AA])!==JSON.stringify(X[AA]));if(!(!o.value||!U.value.onValuesChange))try{h[o.value][U.value.onValuesChange](I,_,X,Z)}catch(AA){console.error(AA)}})}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=fB();e.onMounted(async()=>{var z,Z;if((z=i.schema)!=null&&z.initialValues){const X=(Z=i.schema)==null?void 0:Z.initialValues;p(X),w.value=ut.mergeWith(X,w.value,(_,AA)=>{if(Array.isArray(_))return AA})}await e.nextTick();const J=QB({content:[{type:"form",schema:U.value}]});if(await m.waitForKeys(J),!U.value||!U.value.onMounted||!o.value)return;const q=U.value.onMounted;try{h[o.value][q](I)}catch(X){console.error(X)}}),e.onActivated(()=>{if(!U.value||!U.value.onActivated||!o.value)return;const J=U.value.onActivated;try{h[o.value][J](I)}catch(q){console.error(q)}});const B=()=>{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"],z=Z=>{Z.forEach(X=>{q.includes(X.component)?X.props&&(X.props.disabled=J):X.children&&z(X.children)})};z(U.value.items)},l=()=>{var J;(J=B())==null||J.then(()=>{b("finish",w.value)}).catch(q=>{b("failed",q)})},g=J=>{if(b("reset"),J){let q=ut.cloneDeep(w.value);J.forEach(z=>{q=vo(q,z,ma(Q.value,z))}),w.value=q}else w.value=ut.cloneDeep(e.toRaw(Q.value))},s=(J,q=!0)=>{q?Object.assign(w.value,J):w.value=J},d=(J,q)=>{v[J]=q},p=J=>{Q.value={...J}},a=()=>Q.value,r=J=>{L.value=J},C=(J,q)=>{for(const z of J){if(z.name===q)return z;if(z.children&&z.children.length>0){const Z=C(z.children,q);if(Z)return Z}}return null},E=J=>{const q=C(U.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=>{U.value.hidden=J},H=e.useTemplateRef("rootRef"),O=e.reactive({...e.toRefs(i),formValues:w,formRealValues:S,selectData:v,initialValues:Q,context:y,vCodePass:L,updateFormValues:s,updateSelectData:d,updateInitialValues:p,getInitialValues:a,updateVCodePass:r,validate:B,resetFields:g,submit:l,setDisabled:u,findItemByName:C,setFieldEditSts:Y,setFieldVisibleSts:K,setFieldValue:F,getFieldValue:P,refreshDynamicListBox:E,setHidden:x,clearValidate:M,rootRef:H,type:"form"});return e.provide(Sd,O),A(O),(J,q)=>{const z=e.resolveComponent("el-form");return e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:H,id:U.value.key},[U.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(z,e.mergeProps({key:0,model:w.value,"label-position":U.value.labelPosition,size:U.value.size,"hide-required-asterisk":U.value.hideRequiredAsterisk,"scroll-to-error":U.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(Lt),{list:U.value.items},null,8,["list"]),e.createVNode(A2)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))],8,n2)}}}),i2=({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=Nd[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")}]},o2=e.defineComponent({__name:"index",setup(n){var S;const A=e.ref(!1),t=Sn(),i=$o(),h=ci(),I=tc(),o=(S=t.templates)!=null&&S.length?t.templates:PE,b=e.computed(()=>i2({elements:i,omits:t.omitMenus||[],lang:I.value})),D=F=>{t.updateSchema(F)},w=F=>{const P={component:F.component,designKey:`design-${Mi(4)}`,name:`form-${Mi(4)}`};return F.type==="layout"&&(P.children=[]),P};return(F,P)=>{const Y=e.resolveComponent("el-button"),K=e.resolveComponent("el-space"),U=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(Y,{class:e.normalizeClass(e.unref(je)("template-button")),size:"small",onClick:P[0]||(P[0]=v=>A.value=!0)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(h).menus.useTemplateBtn),1)]),_:1},8,["class"]),e.createVNode(U,{modelValue:A.value,"onUpdate:modelValue":P[1]||(P[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(Y,{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(kp),{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)}}}),r2=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
|
}`,l2=n=>`import type { FormSchema } from "asiaint-lowcode";
|
|
179
179
|
|
|
180
|
-
export default ${JSON.stringify(n,null,2)} satisfies FormSchema`,c2=n=>`export default ${JSON.stringify(n,null,2)}`,g2=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:Pd(A.schema.items)}),S.repair()};return(S,F)=>{const P=e.resolveComponent("el-tab-pane"),Y=e.resolveComponent("el-tabs"),K=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(K,{modelValue:b.value,"onUpdate:modelValue":F[1]||(F[1]=U=>b.value=U),title:e.unref(t).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:F[2]||(F[2]=U=>o.value={})},{default:e.withCtx(()=>[e.createVNode(Y,{"model-value":"edit",class:"demo-tabs"},{default:e.withCtx(()=>[e.createVNode(P,{label:"在线编辑",name:"edit"},{default:e.withCtx(()=>[e.createVNode(e.unref(h),{modelValue:I.value,"onUpdate:modelValue":F[0]||(F[0]=U=>I.value=U),style:{height:"70vh"},onBlur:D},null,8,["modelValue"])]),_:1}),e.createVNode(P,{label:"生成ts文件",name:"ts"},{default:e.withCtx(()=>[e.createVNode(e.unref(vr),{style:{height:"70vh"},language:"ts",code:e.unref(l2)(I.value)},null,8,["code"])]),_:1}),e.createVNode(P,{label:"生成js文件",name:"js"},{default:e.withCtx(()=>[e.createVNode(e.unref(vr),{style:{height:"70vh"},language:"js",code:e.unref(c2)(I.value)},null,8,["code"])]),_:1}),e.createVNode(P,{label:"帮助",name:"help"},{default:e.withCtx(()=>[e.createVNode(e.unref(vr),{style:{height:"70vh"},language:"json",code:e.unref(s2)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),u2=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(vr),{style:{height:"70vh"},code:e.unref(r2)(e.unref(A).schema),language:"vue"},null,8,["code"])]),_:1}),e.createVNode(o,{label:"Javascript",name:"js"},{default:e.withCtx(()=>[e.createVNode(e.unref(vr),{style:{height:"70vh"},code:e.unref(a2)(e.unref(A).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),d2=le(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 F=e.resolveComponent("el-tab-pane"),P=e.resolveComponent("el-tabs"),Y=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(Y,{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(P,{modelValue:i.value,"onUpdate:modelValue":S[3]||(S[3]=K=>i.value=K)},{default:e.withCtx(()=>[e.createVNode(F,{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(F,{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(F,{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"]]),h2=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"])}}}),p2=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 Yt.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,F=>(e.openBlock(),e.createBlock(S,{key:F.label,type:F.btnType,size:"small",onClick:F.onClick},e.createSlots({default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(F.label),1)]),_:2},[F.icon?{name:"icon",fn:e.withCtx(()=>[e.createVNode(e.unref(be),{name:F.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),e.createVNode(h2,{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:F,btnType:P,icon:Y,onClick:K})=>(e.openBlock(),e.createBlock(S,{key:F,type:P,size:"small",onClick:K},e.createSlots({default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(F),1)]),_:2},[Y?{name:"icon",fn:e.withCtx(()=>[e.createVNode(e.unref(be),{name:Y},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),e.createVNode(g2,{modelValue:i.value,"onUpdate:modelValue":w[0]||(w[0]=F=>i.value=F)},null,8,["modelValue"]),e.createVNode(u2,{modelValue:h.value,"onUpdate:modelValue":w[1]||(w[1]=F=>h.value=F)},null,8,["modelValue"]),e.createVNode(d2,{modelValue:I.value,"onUpdate:modelValue":w[2]||(w[2]=F=>I.value=F),"schema-context":e.unref(A).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),B2=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(p2),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))}}),C2=()=>({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:"联动字段"}}]}),m2=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(C2)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),E2={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},Q2={class:"config-linkages"},I2=le(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",Q2,[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(E2),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-1f9620a4"]]),f2=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(I2,{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=w=>t.value=w)},null,8,["modelValue"]),e.createVNode(m2,{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=w=>i.value=w)},null,8,["modelValue"])],2)}}}),w2={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"}]},b2={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"}]},D2={class:"more"},y2=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(w2),ref:"formRef"},null,8,["modelValue","schema"]),e.createElementVNode("div",D2,[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(b2),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),v2=e.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=$o(),t=tc(),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 F=ma(i.value,S.name),P=ut.isString(F)&&/^{{\s*(.*?)\s*}}$/.test(F);return{...S,label:t.value==="zh"?S.label:S.name.split(".").pop(),component:P?"Input":S.component,dialog:P||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(y2,{key:i.value.designKey,modelValue:I.value,"onUpdate:modelValue":b[1]||(b[1]=D=>I.value=D)},null,8,["modelValue"])),e.createVNode(f2,{modelValue:i.value,"onUpdate:modelValue":b[2]||(b[2]=D=>i.value=D)},null,8,["modelValue"])],2))}}),k2={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"}]},_2=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(k2)},null,8,["modelValue","schema"]))}}),M2=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(v2,{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(_2)]),_: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 ec(o.value,h.value)},set(w){h.value=w.designKey,o.value=Rd(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(Fd,D),(w,S)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(je)("form-design")},w.$attrs),[e.createVNode(o2),e.createVNode(B2),e.createVNode(M2)],16))}}),x2={class:"card-header"},S2={class:"card-btns"},F2={key:0,class:"switch-panel"},N2=le(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",x2,[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",S2,[h.typeSwitch?(e.openBlock(),e.createElementBlock("div",F2,[e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:h.tableType==="card"}]),onClick:I[1]||(I[1]=D=>h.switchTableType("card"))},[e.createVNode(Ke,{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(Ke,{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"]]),R2={class:"empty-content"},L2=["title"],G2=["title","onClick"],P2={key:1,class:"icon-text-wrapper"},H2=["title"],K2=["title"],T2={class:"row-btn-wrapper"},bB=le(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"),F=e.resolveComponent("el-table"),P=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(F,{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",R2,[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 Y;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,L2)]),default:e.withCtx(({row:U,$index:v})=>{var Q,L,k,y;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,U),onClick:m=>h.handleClick(K,U,v,m)},e.toDisplayString(h.getColText(K,U)),11,G2)):K.type==="iconText"?(e.openBlock(),e.createElementBlock("div",P2,[K.iconPosition==="left"?(e.openBlock(),e.createBlock(Ke,{key:0,name:(Q=h.getIconInfo(K,U))==null?void 0:Q.name,color:(L=h.getIconInfo(K,U))==null?void 0:L.color},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:"text-ellipsis",title:h.getColText(K,U)},e.toDisplayString(h.getColText(K,U)),9,H2),K.iconPosition==="right"?(e.openBlock(),e.createBlock(Ke,{key:1,name:(k=h.getIconInfo(K,U))==null?void 0:k.name,color:(y=h.getIconInfo(K,U))==null?void 0:y.color},null,8,["name","color"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:2,class:"text-ellipsis",title:h.getColText(K,U)},e.toDisplayString(h.getColText(K,U)),9,K2))]}),_:2},1032,["prop","min-width","fixed"]))],64))),128)),h.hasVisibleRowBtn&&((Y=h.schema.rowBtns)!=null&&Y.length)?(e.openBlock(),e.createBlock(o,{key:1,label:h.schema.rowBtnsLabel||"Action",fixed:"right",align:"left",width:h.schema.rowBtnsWidth||(h.schema.rowBtns.length*34+12>100?h.schema.rowBtns.length*34+12:100)},{default:e.withCtx(({row:K,$index:U})=>[e.createElementVNode("div",T2,[(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(Nt)(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,U,Q)},{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(Ke,{key:0,name:v.icon.name,color:v.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"]),v.buttonText?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({color:v.buttonText.color,fontSize:"14px"})},e.toDisplayString(e.unref(Nt)(v.buttonText.text,{$row:K,$globalParams:h.getGlobalParams()})),5)):e.createCommentVNode("",!0)]),_: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(Nt)(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,U,Q)},{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(Ke,{key:0,name:v.icon.name,color:v.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"]),v.buttonText?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({color:v.buttonText.color,fontSize:"14px"})},e.toDisplayString(e.unref(Nt)(v.buttonText.text,{$row:K,$globalParams:h.getGlobalParams()})),5)):e.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)],64))],64))),128))])]),_:1},8,["label","width"])):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(nc,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(P,{layout:h.schema.paginationLayout||"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]=Y=>t.value.pageNum=Y),"page-size":t.value.pageSize,"onUpdate:pageSize":I[1]||(I[1]=Y=>t.value.pageSize=Y),"pager-count":h.schema.pagerCount,onSizeChange:h.handleSizeChange,onCurrentChange:h.handlePageChange},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)],2)}}}),[["__scopeId","data-v-1a5e5c46"]]),U2=["id"],rg=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"),F=e.useModel(n,"modelValue"),P=(gA,uA)=>{const W=i.value.columns.find(oA=>oA.key===gA);W&&(W.hidden=!uA)},Y=(gA,uA,W,oA)=>{if(h.value)try{I[h.value][gA.onClick](o,uA,W),oA==null||oA.stopPropagation()}catch(cA){console.error(cA)}},K=gA=>{if(!(!i.value.rowClick||!h.value))try{I[h.value][i.value.rowClick](o,gA)}catch(uA){console.error(uA)}},U=gA=>{if(!(!i.value.rowDbClick||!h.value))try{I[h.value][i.value.rowDbClick](o,gA)}catch(uA){console.error(uA)}},v=e.ref([]),Q=gA=>{v.value=gA},L=(gA,uA)=>{if(!i.value.selectable||!h.value)return!0;try{return I[h.value][i.value.selectable](o,gA,uA)}catch(W){console.error(W)}return!0},k=(gA,uA,W)=>{F.value[gA]&&(F.value[gA][uA]=W)},y=()=>{var gA,uA;(uA=(gA=S.value)==null?void 0:gA.tableRef)==null||uA.clearSelection()},m=()=>F.value,B=e.ref(),u=gA=>{if(B.value=gA,!(!i.value.handleCurrentChange||!h.value))try{I[h.value][i.value.handleCurrentChange](o,gA)}catch(uA){console.error(uA)}},l=()=>B.value,g=()=>{var gA,uA;return(uA=(gA=S.value)==null?void 0:gA.tableRef)==null?void 0:uA.getSelectionRows()},s=(gA={})=>{F.value.push(gA)},d=gA=>{gA>=0&&gA<F.value.length&&F.value.splice(gA,1)},p=async()=>{F.value=[...F.value]},a=async()=>!0,r=gA=>{F.value=gA},C=(gA,uA)=>{var oA;const W=(oA=i.value.topBtns)==null?void 0:oA.find(cA=>cA.key===gA);W&&(W.hidden=uA)},E=(gA,uA)=>{var oA;const W=(oA=i.value.rowBtns)==null?void 0:oA.find(cA=>cA.key===gA);W&&(W.condition=!uA)},M=e.computed(()=>!i.value.rowBtns||i.value.rowBtns.length===0||!F.value||F.value.length===0?!1:F.value.some(gA=>{var uA;return(uA=i.value.rowBtns)==null?void 0:uA.some(W=>W.condition===void 0||W.condition===null?!0:Nt(W.condition,{$row:gA,$globalParams:b()}))})),x=e.ref(0),H=gA=>{x.value=gA},O=e.ref({pageNum:1,pageSize:i.value.defaultPageSize||5}),J=()=>O.value,q=gA=>{let uA=!1;return gA.pageNum!==void 0&&gA.pageNum>-1&&(O.value.pageNum!==gA.pageNum&&(uA=!0),O.value.pageNum=gA.pageNum),gA.pageSize!==void 0&&gA.pageSize>-1&&(O.value.pageSize!==gA.pageSize&&(uA=!0),O.value.pageSize=gA.pageSize),{pagination:O.value,isChange:uA}},z=async gA=>{if(O.value.pageNum=1,O.value.pageSize=gA,!i.value.sizeChange||!h.value)return;const uA=Yt.ElLoading.service({target:`#${i.value.key}`,text:"Loading..."});try{await I[h.value][i.value.sizeChange](o,O.value)}catch(W){console.error(W)}finally{uA.close()}},Z=async gA=>{if(O.value.pageNum=gA,!i.value.pageChange||!h.value)return;const uA=Yt.ElLoading.service({target:`#${i.value.key}`,text:"Loading..."});try{await I[h.value][i.value.pageChange](o,O.value)}catch(W){console.error(W)}finally{uA.close()}},X=gA=>{var uA,W;(W=(uA=S.value)==null?void 0:uA.tableRef)==null||W.setCurrentRow(gA)},_=gA=>{var uA,W;(W=(uA=S.value)==null?void 0:uA.tableRef)==null||W.setCurrentRow(F.value[gA])},AA=(gA,uA,W)=>{i.value.columns.forEach(oA=>{oA.key===gA&&oA[uA]&&(oA[uA]=W)})},G=gA=>{i.value.displayType=gA},eA=gA=>{i.value.shadowless=gA},aA=(gA,uA)=>{const W=w?w(gA.key,uA):uA[gA.key];if(!Nt(gA.encrypted,{$row:uA,$col:gA})||!W)return W;const cA=`${W}`;return cA.length<=4?"*".repeat(cA.length):cA.slice(0,-4)+"****"},iA=(gA,uA)=>{if(!(!gA.getIconInfo||!h.value))try{return I[h.value][gA.getIconInfo](o,uA,gA)}catch(W){console.error(W)}},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 gA=i.value.onMounted;try{I[h.value][gA](o)}catch(uA){console.error(uA)}}),e.onActivated(()=>{if(!i.value||!i.value.onActivated||!h.value)return;const gA=i.value.onActivated;try{I[h.value][gA](o)}catch(uA){console.error(uA)}});const EA=e.readonly({...e.toRefs(t),setCellData:k,clearSelection:y,getData:m,getCurrentRow:l,getSelectedRows:g,addRow:s,deleteRow:d,refresh:p,validate:a,setData:r,selectRow:X,selectRowNum:_,setTotal:H,getPagination:J,setPagination:q,setTopBtnHidden:C,setColVisible:P,setColumn:AA,setRowsBtnHidden:E,setShadowless:eA,rootRef:dA,type:"table"});return A(EA),(gA,uA)=>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:F.value,total:x.value,hasVisibleRowBtn:M.value,handleSizeChange:z,handlePageChange:Z,handleRowClick:K,handleRowDblclick:U,handleSelectionChange:Q,handleCurrentChange:u,getColText:aA,getGlobalParams:e.unref(b),handleClick:Y,selectable:L,schema:i.value,getIconInfo:iA,pagination:O.value,"onUpdate:pagination":uA[1]||(uA[1]=W=>O.value=W)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])):(e.openBlock(),e.createBlock(N2,{key:0,header:i.value.title,btns:i.value.topBtns,collapsible:i.value.collapsible!==!1,switchTableType:G,tableType:i.value.displayType,typeSwitch:i.value.typeSwitch,shadowless:i.value.shadowless},{default:e.withCtx(()=>[e.createVNode(bB,{ref_key:"tableContentRef",ref:S,tableData:F.value,total:x.value,hasVisibleRowBtn:M.value,handleSizeChange:z,handlePageChange:Z,handleRowClick:K,handleRowDblclick:U,handleSelectionChange:Q,handleCurrentChange:u,getColText:aA,getGlobalParams:e.unref(b),handleClick:Y,selectable:L,schema:i.value,getIconInfo:iA,pagination:O.value,"onUpdate:pagination":uA[0]||(uA[0]=W=>O.value=W)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],8,U2))}}),Y2=["id"],O2={class:"tab-label"},$2={class:"tab-label-text"},J2={key:0,class:"divider"},z2=le(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=L=>k=>{k?o.value[L]=k:delete o.value[L]},D=e.computed(()=>{var L;return(L=i.value.content.find(k=>k.url===F.value))==null?void 0:L.mixMode}),w=L=>{i.value.content=L},S=L=>{Array.isArray(L)?i.value.content.push(...L):i.value.content.push(L)},F=e.ref(i.value.content[0].url),P=L=>{h.value[L]=!0,e.nextTick(()=>{h.value[L]=!1})},Y=e.useTemplateRef("rootRef"),K=L=>o.value[L],U=(L,k)=>{console.log("changeActiveTab",L,k),k&&I("addPageParams",k),e.nextTick(()=>{F.value=L,Q(L)})},v=(L,k)=>{const y=i.value.content.find(m=>m.url===L);y&&(y.mixMode=k)},Q=L=>{o.value[L]&&o.value[L].activate()};return A(e.readonly({setTabContent:w,addTabContent:S,schema:i,rootRef:Y,findRef:K,changeActiveTab:U,type:"tabs"})),(L,k)=>{var u,l,g;const y=e.resolveComponent("el-skeleton"),m=e.resolveComponent("el-tab-pane"),B=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:Y,id:i.value.key},[i.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(B,e.mergeProps({key:0},i.value.tabProps,{modelValue:F.value,"onUpdate:modelValue":k[0]||(k[0]=s=>F.value=s),class:["crm-tabs",{mixmode:D.value}],style:{"--top":(u=i.value)!=null&&u.stickyTop?`${(l=i.value)==null?void 0:l.stickyTop}px`:"110px","--is-sticky":(g=i.value)!=null&&g.isSticky?"sticky":"static"},onTabChange:Q}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.content,(s,d)=>(e.openBlock(),e.createBlock(m,{name:s.url,key:s.url,lazy:d!==0},{label:e.withCtx(()=>[e.createElementVNode("div",O2,[e.createElementVNode("span",$2,e.toDisplayString(s.label),1),d!==i.value.content.length-1?(e.openBlock(),e.createElementBlock("span",J2)):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[h.value[d]?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ag,{key:0,pageUrl:s.url,"rule-map":L.ruleMap,"page-params":L.pageParams,ref_for:!0,ref:b(s.url),onRefresh:p=>P(d),onChangeTab:U,onChangeMixMode:v},{loading:e.withCtx(()=>[e.createVNode(y,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","onRefresh"]))]),_:2},1032,["name","lazy"]))),128))]),_:1},16,["modelValue","style","class"]))],8,Y2)}}}),[["__scopeId","data-v-86252650"]]),Z2=["id"],W2={class:"info-card-header"},j2={class:"left-part"},q2={class:"title-part"},X2={class:"sub-title-container"},V2={class:"right-part"},A8={class:"info"},e8={class:"info-label"},t8={class:"ml-2"},n8={class:"info-card-detail"},i8={class:"info-card-detail-left"},o8={class:"label"},r8={key:0,class:"divider"},a8={key:0,class:"info-card-detail-right"},s8={class:"detail-right-label"},l8={class:"detail-right-value"},c8=le(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=F=>{const P=document.createElement("textarea");P.value=F??"",P.style.position="absolute",P.style.opacity="0",document.body.appendChild(P),P.select(),document.execCommand("copy"),P.remove()},D=async()=>{try{await navigator.clipboard.writeText(t.value.header.subTitle)}catch(F){console.error("Clipboard API error:",F),b(t.value.header.subTitle)}Yt.ElMessage.success("Copy Successful")},w=F=>{var P;if(I.value[F||"clickTitleIcon"])try{I.value[F||"clickTitleIcon"](o,(P=t.value.header)==null?void 0:P.titleIcon)}catch(Y){console.error(Y)}},S=F=>{if(!(!F||!I.value[F]))try{I.value[F](o)}catch(P){console.error(P)}};return e.onMounted(async()=>{if(!t.value||!t.value.rulePath||!t.value.onMounted)return;const F=t.value.onMounted;try{I.value[F](o)}catch(P){console.error(P)}}),e.onActivated(()=>{if(!t.value||!t.value.rulePath||!t.value.onActivated)return;const F=t.value.onActivated;try{I.value[F](o)}catch(P){console.error(P)}}),A({type:"infocard",schema:t}),(F,P)=>{const Y=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(Y,{class:"info-card",always:""},{default:e.withCtx(()=>{var K,U,v,Q,L,k,y,m,B,u,l;return[e.createElementVNode("div",W2,[e.createElementVNode("div",j2,[e.createElementVNode("div",{class:"avatar",style:e.normalizeStyle(t.value.header.avatarBgColor?{backgroundColor:t.value.header.avatarBgColor}:{})},[e.createVNode(Ke,{name:(K=t.value.header)==null?void 0:K.avatar,color:(U=t.value.header)==null?void 0:U.avatarIconColor},null,8,["name","color"])],4),e.createElementVNode("div",q2,[e.createElementVNode("div",{class:e.normalizeClass(["title",(v=t.value.header)!=null&&v.titleClick?"is-click":""]),style:e.normalizeStyle(t.value.header.titleColor?{color:t.value.header.titleColor}:{})},[e.createElementVNode("span",{class:e.normalizeClass((Q=t.value.header)!=null&&Q.titleClick?"cursor-pointer":""),onClick:P[0]||(P[0]=g=>{var s;return w((s=t.value.header)==null?void 0:s.titleClick)})},e.toDisplayString((L=t.value.header)==null?void 0:L.title),3),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((k=t.value.header)==null?void 0:k.titleIcons,(g,s)=>(e.openBlock(),e.createBlock(Ke,{key:s,name:g.icon,class:"title-icon",size:"large",onClick:d=>w(g.onClick)},null,8,["name","onClick"]))),128)),e.createVNode(e.unref(so),{class:"title-icon",btns:(y=t.value.header)==null?void 0:y.btns},null,8,["btns"])],6),e.createElementVNode("div",X2,[e.createElementVNode("span",{class:e.normalizeClass(["sub-title",{clickStyle:(m=t.value.header)==null?void 0:m.subTitleClick}]),onClick:P[1]||(P[1]=g=>{var s;return S((s=t.value.header)==null?void 0:s.subTitleClick)})},e.toDisplayString((B=t.value.header)==null?void 0:B.subTitlePrefix)+e.toDisplayString((u=t.value.header)==null?void 0:u.subTitle),3),e.createVNode(Ke,{name:"icon-fuzhi",class:"copy-icon",onClick:D}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=t.value.header)==null?void 0:l.subTitleIcons,(g,s)=>{var d,p;return e.openBlock(),e.createBlock(Ke,{key:s,name:(d=g.icon)==null?void 0:d.name,color:(p=g.icon)==null?void 0:p.color,class:"title-icon ml-2 cursor-pointer",onClick:a=>w(g.onClick)},null,8,["name","color","onClick"])}),128))])])]),e.createElementVNode("div",V2,[e.createElementVNode("div",A8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.infos,g=>(e.openBlock(),e.createElementBlock("div",{key:g.key,class:"info-item"},[e.createElementVNode("span",e8,e.toDisplayString(g.label)+": ",1),e.createElementVNode("span",{class:e.normalizeClass(["info-value",g.type])},e.toDisplayString(g.value||"-"),3),e.createElementVNode("div",t8,[g.expendComponents?(e.openBlock(),e.createBlock(e.unref(Lt),{key:0,class:"expend-components",list:g.expendComponents},null,8,["list"])):e.createCommentVNode("",!0)])]))),128))]),e.createVNode(e.unref(so),{btns:t.value.btns},null,8,["btns"]),e.createVNode(e.unref(z_),{dropdowns:t.value.dropdowns},null,8,["dropdowns"])])]),e.createElementVNode("div",n8,[e.createElementVNode("div",i8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.detail,(g,s)=>(e.openBlock(),e.createElementBlock("div",{key:g.label,class:"detail-item"},[e.createElementVNode("div",null,[e.createElementVNode("div",o8,e.toDisplayString(g.label),1),e.createElementVNode("div",{class:"value",style:e.normalizeStyle(g.color?{color:g.color}:{})},e.toDisplayString(g.value||"- -"),5)]),s!==t.value.detail.length-1?(e.openBlock(),e.createElementBlock("div",r8)):e.createCommentVNode("",!0)]))),128))]),t.value.bottomRightDetail?(e.openBlock(),e.createElementBlock("div",a8,[e.createElementVNode("div",s8,e.toDisplayString(t.value.bottomRightDetail.label),1),e.createElementVNode("div",l8,e.toDisplayString(t.value.bottomRightDetail.value),1)])):e.createCommentVNode("",!0)])]}),_:1})],8,Z2))}}}),[["__scopeId","data-v-576736da"]]),g8=["id"],u8={class:"left-part"},d8={class:"nav-title"},h8=["onClick"],p8={class:"nav-footer"},B8={class:"left-actions"},C8=["onClick"],m8={class:"footer-text"},E8={key:1,class:"divider"},Q8={class:"right-actions"},I8=le(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(P=>!P.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=P=>{if(P&&b.value)try{b.value[P](I)}catch(Y){console.error(Y)}},w=e.inject(jn),S=()=>{w&&w.navigateFn&&w.navigateFn(-1)},F=P=>{const Y=o.findRef(P);if(Y&&Y.rootRef)Y.rootRef.scrollIntoView({behavior:"smooth",block:"center"});else{const K=document.getElementById(P);K&&K.scrollIntoView({behavior:"smooth",block:"center"})}};return A({type:"navbar",schema:t}),(P,Y)=>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",u8,[t.value.back?(e.openBlock(),e.createBlock(Ke,{key:0,name:"icon-back",class:"back-icon",onClick:S})):e.createCommentVNode("",!0),e.createElementVNode("div",d8,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,U)=>(e.openBlock(),e.createElementBlock("div",{key:U,class:e.normalizeClass(["hexagon",{"first-item":U===0,"middle-item":U>0&&U<t.value.content.length-1,"last-item":U===t.value.content.length-1}]),onClick:v=>F(K.ref)},[e.createElementVNode("span",null,e.toDisplayString(K.text),1)],10,h8))),128))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",p8,[e.createElementVNode("div",B8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(K,U)=>(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(Ke,{key:0,name:K.icon.name,color:K.icon.color,class:"footer-icon"},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",m8,e.toDisplayString(K.text),1),U!==i.value.length-1?(e.openBlock(),e.createElementBlock("div",E8)):e.createCommentVNode("",!0)],8,C8))],64))),128))]),e.createElementVNode("div",Q8,[e.createVNode(e.unref(so),{btns:t.value.footerBtns||[]},null,8,["btns"])])])],14,g8))}}),[["__scopeId","data-v-0aae99cd"]]),f8=["onClick"],w8={key:1},b8=le(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=(F,P)=>{try{o.value[F](h,P)}catch(Y){console.error(Y)}},D=()=>{if(I.pageEmit("changeMixMode",I.pageUrl,!1),!!t.value.onClose)try{o.value[t.value.onClose](h)}catch(F){console.error(F)}},w=e.computed(()=>{const F=/\{(\d+)\}/g,P=[];let Y=0,K;for(;(K=F.exec(t.value.description))!==null;)K.index>Y&&P.push({type:"text",value:t.value.description.slice(Y,K.index)}),P.push({type:"value",index:Number(K[1])}),Y=F.lastIndex;return Y<t.value.description.length&&P.push({type:"text",value:t.value.description.slice(Y)}),P}),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}),(F,P)=>{const Y=e.resolveComponent("el-alert");return t.value.description?(e.openBlock(),e.createBlock(Y,{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(Ke,{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,U)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:U},[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,f8)):(e.openBlock(),e.createElementBlock("span",w8,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-e57787b6"]]),D8=Object.freeze(Object.defineProperty({__proto__:null,default:le(e.defineComponent({__name:"DragList",props:e.mergeModels({children:{},rowHeight:{},colNum:{},maxRows:{},isDraggable:{type:Boolean},name:{},onMoved:{}},{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:(F,P)=>{i.value[F].x=P},setItemY:(F,P)=>{i.value[F].y=P},type:"draglist"},{ruleModule:D,pageMethodMap:w}=Jo(),S=()=>{if(t.onMoved&&D)try{D[t.onMoved](w,e.readonly(i.value))}catch(F){console.error(F)}};if(A(b),t.name){const F=og(t.name,b);e.onUnmounted(()=>{F()})}return(F,P)=>(e.openBlock(),e.createBlock(e.unref(O_),{layout:i.value,"onUpdate:layout":P[1]||(P[1]=Y=>i.value=Y),"col-num":F.colNum||12,"row-height":F.rowHeight||30,"max-rows":F.maxRows,margin:[8,8],"is-draggable":F.isDraggable,"is-bounded":"","is-resizable":!1,"vertical-compact":"","use-css-transforms":""},{default:e.withCtx(()=>[e.createVNode(e.unref(Lt),{list:F.children,gridData:i.value,"onUpdate:gridData":P[0]||(P[0]=Y=>i.value=Y),onGridItemMoved:S},null,8,["list","gridData"])]),_:1},8,["layout","col-num","row-height","max-rows","is-draggable"]))}}),[["__scopeId","data-v-e86a2f5c"]])},Symbol.toStringTag,{value:"Module"})),y8=Object.freeze(Object.defineProperty({__proto__:null,default:le(e.defineComponent({__name:"Pagination",props:{pageSizes:{},defaultPageSize:{},paginationLayout:{},hiddenPagination:{type:Boolean},pagerCount:{},style:{type:[Boolean,null,String,Object,Array]},sizeChange:{},pageChange:{},name:{}},setup(n,{expose:A}){const t=n,{ruleModule:i,pageMethodMap:h}=Jo(),I=e.ref(0),o=P=>{I.value=P},b=e.ref({pageNum:1,pageSize:t.defaultPageSize||5}),D=()=>b.value,w=async P=>{if(b.value.pageNum=1,b.value.pageSize=P,!!t.sizeChange)try{await i[t.sizeChange](h,b.value)}catch(Y){console.error(Y)}},S=async P=>{if(b.value.pageNum=P,!!t.pageChange)try{await i[t.pageChange](h,b.value)}catch(Y){console.error(Y)}},F=e.readonly({getPagination:D,setTotal:o,type:"pagination"});if(t.name){const P=og(t.name,F);e.onUnmounted(()=>{P()})}return A(F),(P,Y)=>{const K=e.resolveComponent("el-pagination");return e.openBlock(),e.createElementBlock("div",{class:"pagination-wrapper",style:e.normalizeStyle(P.style)},[e.createVNode(K,{layout:P.paginationLayout||"total,sizes, prev, pager, next,jumper",total:I.value,"page-sizes":P.pageSizes||[5,10,20,30,40],"default-page-size":P.defaultPageSize,"current-page":b.value.pageNum,"onUpdate:currentPage":Y[0]||(Y[0]=U=>b.value.pageNum=U),"page-size":b.value.pageSize,"onUpdate:pageSize":Y[1]||(Y[1]=U=>b.value.pageSize=U),"pager-count":Number(P.pagerCount)||5,onSizeChange:w,onCurrentChange:S},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],4)}}}),[["__scopeId","data-v-d4956ca2"]])},Symbol.toStringTag,{value:"Module"})),v8=["id"],ag=le(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:rg,tabs:z2,infocard:c8,navbar:I8,alert:b8},I=n,o=e.ref(I.pageParams),b=e.ref({}),D=e.ref(),w=e.ref({});e.watch(()=>I.pageParams,()=>{console.log("props.pageParamsChange",I.pageParams),o.value=ut.cloneDeep(I.pageParams)});const S=J=>{if(D.value){if(J.type==="tabs")return{...J.schema.tabProps,schema:J.schema,"onUpdate:schema":q=>{J.schema=q},ruleMap:I.ruleMap,pageParams:o.value};if(J.type==="form")return{modelValue:J.model,"onUpdate:modelValue":q=>{J.model=q},realValues:J.realValues,"onUpdate:realValues":q=>{J.realValues=q},schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:D.value.rulePath||""};if(J.type==="table")return{modelValue:J.model,"onUpdate:modelValue":q=>{J.model=q},schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:D.value.rulePath||""};if(J.type==="infocard")return{schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:D.value.rulePath||""};if(J.type==="navbar")return{schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:D.value.rulePath||"",findRef:Y};if(J.type==="alert")return{schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:D.value.rulePath||"",pageUrl:I.pageUrl,pageEmit:i}}},F=e.ref([]),P=t2(),Y=J=>{var z;const q=(z=F.value)==null?void 0:z.find(Z=>Z.schema.key===J);return q||P.findRef(J)},K=J=>{var z;return(z=F.value)==null?void 0:z.filter(Z=>Z.schema.key&&J.includes(Z.schema.key))},U=(J,q)=>{var _;const z=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],Z=AA=>{AA.forEach(G=>{z.includes(G.component)?G.props&&(G.props.disabled=q):G.children&&Z(G.children)})},X=(_=D.value)==null?void 0:_.content.find(AA=>AA.schema.key===J);X&&X.type==="form"&&Z(X.schema.items)},v=(J,q)=>{var _;const z=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],Z=AA=>{AA.forEach(G=>{z.includes(G.component)?G.props&&(G.props.read=q):G.children&&Z(G.children)})},X=(_=D.value)==null?void 0:_.content.find(AA=>AA.schema.key===J);X&&X.type==="form"&&Z(X.schema.items)},Q=async J=>{if(Array.isArray(J)){const q=K(J);for(const z of q||[])z.type==="form"&&await z.validate()}else{const q=Y(J);return q?await q.validate():!1}},L=J=>{if(D.value){if(!J){const q={};for(const z of D.value.content)z.schema.key&&(z.type==="form"?q[z.schema.key]=ut.cloneDeep(e.toRaw({...z.model,...z.realValues})):z.type==="table"&&(q[z.schema.key]=ut.cloneDeep(e.toRaw(z.model))));return q}if(Array.isArray(J)){const q={};for(const z of D.value.content)z.schema.key&&J.includes(z.schema.key)&&(z.type==="form"?q[z.schema.key]=ut.cloneDeep(e.toRaw({...z.model,...z.realValues})):z.type==="table"&&(q[z.schema.key]=ut.cloneDeep(e.toRaw(z.model))));return q}else{const q=D.value.content.find(z=>z.schema.key===J);if(q){if(q.type==="form")return ut.cloneDeep(e.toRaw({...q.model,...q.realValues}));if(q.type==="table")return ut.cloneDeep(e.toRaw(q.model))}}}},k=(J,q,z=!1)=>{if(!D.value)return;const Z=D.value.content.find(X=>X.schema.key===J);if(Z)if(Z.type==="form")if(z)Object.assign(Z.model,q);else{for(let X in Z.model)delete Z.model[X];Object.assign(Z.model,q)}else Z.type==="table"&&(Z.model=q)},y=J=>{if(J)if(Array.isArray(J)){const q=K(J);for(const z of q||[])z.type==="form"&&z.resetFields()}else{const q=Y(J);if(!q)return;q.type==="form"&&q.resetFields()}},m=(J,q)=>{const z=Y(J);z&&z.type==="form"&&z.clearValidate(q)},B=(J,q)=>{var Z;const z=(Z=D.value)==null?void 0:Z.content.find(X=>X.schema.key===J);if(z&&z.type==="form")return xi(z.schema.items,q)},u=()=>o.value,l=J=>{o.value=J},g=J=>{o.value={...o.value,...J}},s=(J,q)=>{if(!D.value)return;const z=D.value.content.find(Z=>Z.schema.key===J);z&&(z.schema.hidden=q)},d=(J,q)=>{if(!D.value)return;const z=D.value.btns.find(Z=>Z.key===J);z&&(z.hidden=q)},p=(J,q,z)=>{var Z;if(D.value){if(J.type==="form"){const X=B(J.formKey,J.btnKey);X&&(q==="disabled"?X.props[q]=z:X[q]=z)}else if(J.type==="page"){const X=D.value.btns.find(_=>_.key===J.btnKey);X&&(X[q]=z)}else if(J.type==="table"){const X=(Z=D.value)==null?void 0:Z.content.find(_=>_.schema.key===J.tableKey);if(!X||X.type!=="table")return;J.btnPosition==="top"?X.schema.topBtns.find(_=>_.key===J.btnKey)[q]=z:J.btnPosition==="row"&&(q==="hidden"?X.schema.rowBtns.find(_=>_.key===J.btnKey).condition=!z:X.schema.rowBtns.find(_=>_.key===J.btnKey)[q]=z)}else if(J.type==="card"){const X=B(J.formKey,J.cardKey);X&&(X.props.btns.find(_=>_.key===J.btnKey)[q]=z)}}},a=(J,q,z)=>{var X,_,AA,G,eA;if(!D.value)return;const Z=(q==="disabled"||q==="hidden")&&typeof z=="boolean";if(D.value.btns){const aA=D.value.btns.find(iA=>iA.key===J);if(aA&&Z){aA[q]=z;return}}for(const aA of D.value.content){if(aA.type==="infocard"){const iA=aA.schema.btns.find(dA=>dA.key===J);if(iA&&Z){iA[q]=z;return}}if(aA.type==="navbar"){const iA=(X=aA.schema.btns)==null?void 0:X.find(gA=>gA.key===J);if(iA&&Z){iA[q]=z;return}const dA=(_=aA.schema.footerBtns)==null?void 0:_.find(gA=>gA.key===J);if(dA&&Z){dA[q]=z;return}const EA=(AA=aA.schema.leftActions)==null?void 0:AA.find(gA=>gA.key===J);if(EA&&Z&&q==="hidden"){EA[q]=z;return}}if(aA.type==="table"){const iA=(G=aA.schema.topBtns)==null?void 0:G.find(EA=>EA.key===J);if(iA&&Z){iA[q]=z;return}const dA=(eA=aA.schema.rowBtns)==null?void 0:eA.find(EA=>EA.key===J);if(dA){q==="hidden"?dA.condition=!z:q==="condition"&&typeof z=="string"?dA.condition=z:Z&&(dA[q]=z);return}}if(aA.type==="form"){const iA=dA=>{var EA,gA;for(const uA of dA){if(uA.component==="Button"&&uA.name===J)return uA.props&&(uA.props[q]=z),!0;if((uA.component==="Card"||uA.component==="CurdCard")&&uA.props&&Array.isArray(uA.props.btns)){const W=uA.props.btns.find(oA=>oA.key===J);if(W)return W[q]=z,!0}if(uA.component==="Table"&&uA.props){const W=(EA=uA.props.topBtns)==null?void 0:EA.find(cA=>cA.key===J);if(W)return W[q]=z,!0;const oA=(gA=uA.props.rowBtns)==null?void 0:gA.find(cA=>cA.key===J);if(oA)return q==="hidden"?oA.condition=!z:q==="condition"&&typeof z=="string"?oA.condition=z:Z&&(oA[q]=z),!0}if(uA.children&&Array.isArray(uA.children)&&iA(uA.children))return!0}return!1};if(iA(aA.schema.items))return}}},r=(J,q)=>{if(!D.value)return;const z=D.value.btns.find(Z=>Z.key===J);z&&(z.disabled=q)},C=J=>{Object.assign(b.value,J)},E=()=>b.value,M={findRef:Y,setFormDisabled:U,clearValidate:m,validate:Q,getData:L,resetFields:y,emit:i,setData:k,getItemByName:B,getPageParams:u,setHidden:s,setBtnHidden:d,setBtnStateByKey:a,setBtnDisabled:r,addPageParams:g,setPageParams:l,setGlobalParams:C,getGlobalParams:E,setBtnState:p,setReadMode:v},x=async J=>{if(!(!D.value||!D.value.rulePath)){try{w.value[J.key]=!0,await I.ruleMap[D.value.rulePath][J.onClick](M)}catch(q){console.error(q)}w.value[J.key]=!1}};e.provide("pageMethodMap",M),e.provide("ruleMap",I.ruleMap),e.provide("getGlobalParams",E);const H=e.inject(jn);e.onMounted(async()=>{if(H&&H.fetchSchemaFn&&I.pageUrl){const J=await H.fetchSchemaFn(I.pageUrl);if(J&&J.rulePath&&J.onBeforeMount){const Z=J.onBeforeMount;try{I.ruleMap[J.rulePath][Z](J)}catch(X){console.error(X)}}D.value={...J,content:J.content.map(Z=>Z.type==="form"?{...Z,schema:Z.schema,model:{},realValues:{}}:Z.type==="table"?{...Z,schema:Z.schema,model:[]}:Z)},await e.nextTick();const q=QB(D.value);if(await P.waitForKeys(q),!D.value||!D.value.rulePath||!D.value.onMounted)return;const z=D.value.onMounted;try{I.ruleMap[D.value.rulePath][z](M)}catch(Z){console.error(Z)}}});function O(){if(!D.value||!D.value.rulePath||!D.value.onActivated)return;const J=D.value.onActivated;try{I.ruleMap[D.value.rulePath][J](M)}catch(q){console.error(q)}}return e.onActivated(()=>{O()}),A({...M,activate:O}),(J,q)=>{const z=e.resolveComponent("el-button"),Z=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,X=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(h[X.type]),e.mergeProps({key:X.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:F,onAddPageParams:g},S(X)),null,16))),128)),D.value.btns&&D.value.btns.length>0?(e.openBlock(),e.createBlock(Z,{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,X=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:X.key},[X.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(z,{key:0,type:X.type,loading:w.value[X.key],onClick:_=>x(X),disabled:X.disabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(X.text),1)]),_:2},1032,["type","loading","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):e.createCommentVNode("",!0)],8,v8)):e.renderSlot(J.$slots,"loading",{key:1},void 0,!0)])}}}),[["__scopeId","data-v-84e11db3"]]),k8={install:(n,A={})=>{n.provide(jn,A),n.component("FormRender",fn),n.component("FormDesign",wB),n.component("TableRender",rg),n.component("PageRender",ag)}},_8={key:0},M8=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",_8,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"})),x8={class:"card-header"},S8={class:"card-btns"},F8={class:"card-sub-header"},N8=Object.freeze(Object.defineProperty({__proto__:null,default:le(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",x8,[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(Ke,{class:"extra-icon",name:S.name,color:S.color,size:S.size||"small",onClick:F=>h(S.onClick)},null,8,["name","color","size","onClick"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock(Ke,{key:1,class:"extra-icon",name:S.name,color:S.color,size:S.size||"small",onClick:F=>h(S.onClick)},null,8,["name","color","size","onClick"]))],64))),128)),e.createElementVNode("div",S8,[e.createVNode(e.unref(so),{btns:I.btns||[]},null,8,["btns"])]),e.createElementVNode("div",F8,[(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(Lt),{list:I.children},null,8,["list"])],512),[[e.vShow,!A.value]])]),_:1})]),_:1},16,["class"])}}}),[["__scopeId","data-v-f8533825"]])},Symbol.toStringTag,{value:"Module"})),R8=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},readTextColor:{},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}=Br(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]=F=>t.value=F),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`,c2=n=>`export default ${JSON.stringify(n,null,2)}`,g2=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:Pd(A.schema.items)}),S.repair()};return(S,F)=>{const P=e.resolveComponent("el-tab-pane"),Y=e.resolveComponent("el-tabs"),K=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(K,{modelValue:b.value,"onUpdate:modelValue":F[1]||(F[1]=U=>b.value=U),title:e.unref(t).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:F[2]||(F[2]=U=>o.value={})},{default:e.withCtx(()=>[e.createVNode(Y,{"model-value":"edit",class:"demo-tabs"},{default:e.withCtx(()=>[e.createVNode(P,{label:"在线编辑",name:"edit"},{default:e.withCtx(()=>[e.createVNode(e.unref(h),{modelValue:I.value,"onUpdate:modelValue":F[0]||(F[0]=U=>I.value=U),style:{height:"70vh"},onBlur:D},null,8,["modelValue"])]),_:1}),e.createVNode(P,{label:"生成ts文件",name:"ts"},{default:e.withCtx(()=>[e.createVNode(e.unref(vr),{style:{height:"70vh"},language:"ts",code:e.unref(l2)(I.value)},null,8,["code"])]),_:1}),e.createVNode(P,{label:"生成js文件",name:"js"},{default:e.withCtx(()=>[e.createVNode(e.unref(vr),{style:{height:"70vh"},language:"js",code:e.unref(c2)(I.value)},null,8,["code"])]),_:1}),e.createVNode(P,{label:"帮助",name:"help"},{default:e.withCtx(()=>[e.createVNode(e.unref(vr),{style:{height:"70vh"},language:"json",code:e.unref(s2)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),u2=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(vr),{style:{height:"70vh"},code:e.unref(r2)(e.unref(A).schema),language:"vue"},null,8,["code"])]),_:1}),e.createVNode(o,{label:"Javascript",name:"js"},{default:e.withCtx(()=>[e.createVNode(e.unref(vr),{style:{height:"70vh"},code:e.unref(a2)(e.unref(A).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),d2=le(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 F=e.resolveComponent("el-tab-pane"),P=e.resolveComponent("el-tabs"),Y=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(Y,{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(P,{modelValue:i.value,"onUpdate:modelValue":S[3]||(S[3]=K=>i.value=K)},{default:e.withCtx(()=>[e.createVNode(F,{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(F,{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(F,{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"]]),h2=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"])}}}),p2=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 Yt.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,F=>(e.openBlock(),e.createBlock(S,{key:F.label,type:F.btnType,size:"small",onClick:F.onClick},e.createSlots({default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(F.label),1)]),_:2},[F.icon?{name:"icon",fn:e.withCtx(()=>[e.createVNode(e.unref(be),{name:F.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),e.createVNode(h2,{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:F,btnType:P,icon:Y,onClick:K})=>(e.openBlock(),e.createBlock(S,{key:F,type:P,size:"small",onClick:K},e.createSlots({default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(F),1)]),_:2},[Y?{name:"icon",fn:e.withCtx(()=>[e.createVNode(e.unref(be),{name:Y},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),e.createVNode(g2,{modelValue:i.value,"onUpdate:modelValue":w[0]||(w[0]=F=>i.value=F)},null,8,["modelValue"]),e.createVNode(u2,{modelValue:h.value,"onUpdate:modelValue":w[1]||(w[1]=F=>h.value=F)},null,8,["modelValue"]),e.createVNode(d2,{modelValue:I.value,"onUpdate:modelValue":w[2]||(w[2]=F=>I.value=F),"schema-context":e.unref(A).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),B2=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(p2),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))}}),C2=()=>({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:"联动字段"}}]}),m2=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(C2)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),E2={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},Q2={class:"config-linkages"},I2=le(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",Q2,[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(E2),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-e4ab3ef4"]]),f2=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(I2,{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=w=>t.value=w)},null,8,["modelValue"]),e.createVNode(m2,{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=w=>i.value=w)},null,8,["modelValue"])],2)}}}),w2={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"}]},b2={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"}]},D2={class:"more"},y2=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(w2),ref:"formRef"},null,8,["modelValue","schema"]),e.createElementVNode("div",D2,[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(b2),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),v2=e.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=$o(),t=tc(),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 F=ma(i.value,S.name),P=ut.isString(F)&&/^{{\s*(.*?)\s*}}$/.test(F);return{...S,label:t.value==="zh"?S.label:S.name.split(".").pop(),component:P?"Input":S.component,dialog:P||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(y2,{key:i.value.designKey,modelValue:I.value,"onUpdate:modelValue":b[1]||(b[1]=D=>I.value=D)},null,8,["modelValue"])),e.createVNode(f2,{modelValue:i.value,"onUpdate:modelValue":b[2]||(b[2]=D=>i.value=D)},null,8,["modelValue"])],2))}}),k2={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"}]},_2=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(k2)},null,8,["modelValue","schema"]))}}),M2=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(v2,{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(_2)]),_: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 ec(o.value,h.value)},set(w){h.value=w.designKey,o.value=Rd(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(Fd,D),(w,S)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(je)("form-design")},w.$attrs),[e.createVNode(o2),e.createVNode(B2),e.createVNode(M2)],16))}}),x2={class:"card-header"},S2={class:"card-btns"},F2={key:0,class:"switch-panel"},N2=le(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",x2,[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",S2,[h.typeSwitch?(e.openBlock(),e.createElementBlock("div",F2,[e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:h.tableType==="card"}]),onClick:I[1]||(I[1]=D=>h.switchTableType("card"))},[e.createVNode(Ke,{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(Ke,{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-d8e65e0c"]]),R2={class:"empty-content"},L2=["title"],G2=["title","onClick"],P2={key:1,class:"icon-text-wrapper"},H2=["title"],K2=["title"],T2={class:"row-btn-wrapper"},bB=le(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"),F=e.resolveComponent("el-table"),P=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(F,{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",R2,[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 Y;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,L2)]),default:e.withCtx(({row:U,$index:v})=>{var Q,L,k,y;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,U),onClick:m=>h.handleClick(K,U,v,m)},e.toDisplayString(h.getColText(K,U)),11,G2)):K.type==="iconText"?(e.openBlock(),e.createElementBlock("div",P2,[K.iconPosition==="left"?(e.openBlock(),e.createBlock(Ke,{key:0,name:(Q=h.getIconInfo(K,U))==null?void 0:Q.name,color:(L=h.getIconInfo(K,U))==null?void 0:L.color},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:"text-ellipsis",title:h.getColText(K,U)},e.toDisplayString(h.getColText(K,U)),9,H2),K.iconPosition==="right"?(e.openBlock(),e.createBlock(Ke,{key:1,name:(k=h.getIconInfo(K,U))==null?void 0:k.name,color:(y=h.getIconInfo(K,U))==null?void 0:y.color},null,8,["name","color"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:2,class:"text-ellipsis",title:h.getColText(K,U)},e.toDisplayString(h.getColText(K,U)),9,K2))]}),_:2},1032,["prop","min-width","fixed"]))],64))),128)),h.hasVisibleRowBtn&&((Y=h.schema.rowBtns)!=null&&Y.length)?(e.openBlock(),e.createBlock(o,{key:1,label:h.schema.rowBtnsLabel||"Action",fixed:"right",align:"left",width:h.schema.rowBtnsWidth||(h.schema.rowBtns.length*34+12>100?h.schema.rowBtns.length*34+12:100)},{default:e.withCtx(({row:K,$index:U})=>[e.createElementVNode("div",T2,[(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(Nt)(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,U,Q)},{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(Ke,{key:0,name:v.icon.name,color:v.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"]),v.buttonText?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({color:v.buttonText.color,fontSize:"14px"})},e.toDisplayString(e.unref(Nt)(v.buttonText.text,{$row:K,$globalParams:h.getGlobalParams()})),5)):e.createCommentVNode("",!0)]),_: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(Nt)(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,U,Q)},{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(Ke,{key:0,name:v.icon.name,color:v.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"]),v.buttonText?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({color:v.buttonText.color,fontSize:"14px"})},e.toDisplayString(e.unref(Nt)(v.buttonText.text,{$row:K,$globalParams:h.getGlobalParams()})),5)):e.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)],64))],64))),128))])]),_:1},8,["label","width"])):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(nc,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(P,{layout:h.schema.paginationLayout||"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]=Y=>t.value.pageNum=Y),"page-size":t.value.pageSize,"onUpdate:pageSize":I[1]||(I[1]=Y=>t.value.pageSize=Y),"pager-count":h.schema.pagerCount,onSizeChange:h.handleSizeChange,onCurrentChange:h.handlePageChange},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)],2)}}}),[["__scopeId","data-v-72b308db"]]),U2=["id"],rg=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"),F=e.useModel(n,"modelValue"),P=(gA,uA)=>{const W=i.value.columns.find(oA=>oA.key===gA);W&&(W.hidden=!uA)},Y=(gA,uA,W,oA)=>{if(h.value)try{I[h.value][gA.onClick](o,uA,W),oA==null||oA.stopPropagation()}catch(cA){console.error(cA)}},K=gA=>{if(!(!i.value.rowClick||!h.value))try{I[h.value][i.value.rowClick](o,gA)}catch(uA){console.error(uA)}},U=gA=>{if(!(!i.value.rowDbClick||!h.value))try{I[h.value][i.value.rowDbClick](o,gA)}catch(uA){console.error(uA)}},v=e.ref([]),Q=gA=>{v.value=gA},L=(gA,uA)=>{if(!i.value.selectable||!h.value)return!0;try{return I[h.value][i.value.selectable](o,gA,uA)}catch(W){console.error(W)}return!0},k=(gA,uA,W)=>{F.value[gA]&&(F.value[gA][uA]=W)},y=()=>{var gA,uA;(uA=(gA=S.value)==null?void 0:gA.tableRef)==null||uA.clearSelection()},m=()=>F.value,B=e.ref(),u=gA=>{if(B.value=gA,!(!i.value.handleCurrentChange||!h.value))try{I[h.value][i.value.handleCurrentChange](o,gA)}catch(uA){console.error(uA)}},l=()=>B.value,g=()=>{var gA,uA;return(uA=(gA=S.value)==null?void 0:gA.tableRef)==null?void 0:uA.getSelectionRows()},s=(gA={})=>{F.value.push(gA)},d=gA=>{gA>=0&&gA<F.value.length&&F.value.splice(gA,1)},p=async()=>{F.value=[...F.value]},a=async()=>!0,r=gA=>{F.value=gA},C=(gA,uA)=>{var oA;const W=(oA=i.value.topBtns)==null?void 0:oA.find(cA=>cA.key===gA);W&&(W.hidden=uA)},E=(gA,uA)=>{var oA;const W=(oA=i.value.rowBtns)==null?void 0:oA.find(cA=>cA.key===gA);W&&(W.condition=!uA)},M=e.computed(()=>!i.value.rowBtns||i.value.rowBtns.length===0||!F.value||F.value.length===0?!1:F.value.some(gA=>{var uA;return(uA=i.value.rowBtns)==null?void 0:uA.some(W=>W.condition===void 0||W.condition===null?!0:Nt(W.condition,{$row:gA,$globalParams:b()}))})),x=e.ref(0),H=gA=>{x.value=gA},O=e.ref({pageNum:1,pageSize:i.value.defaultPageSize||5}),J=()=>O.value,q=gA=>{let uA=!1;return gA.pageNum!==void 0&&gA.pageNum>-1&&(O.value.pageNum!==gA.pageNum&&(uA=!0),O.value.pageNum=gA.pageNum),gA.pageSize!==void 0&&gA.pageSize>-1&&(O.value.pageSize!==gA.pageSize&&(uA=!0),O.value.pageSize=gA.pageSize),{pagination:O.value,isChange:uA}},z=async gA=>{if(O.value.pageNum=1,O.value.pageSize=gA,!i.value.sizeChange||!h.value)return;const uA=Yt.ElLoading.service({target:`#${i.value.key}`,text:"Loading..."});try{await I[h.value][i.value.sizeChange](o,O.value)}catch(W){console.error(W)}finally{uA.close()}},Z=async gA=>{if(O.value.pageNum=gA,!i.value.pageChange||!h.value)return;const uA=Yt.ElLoading.service({target:`#${i.value.key}`,text:"Loading..."});try{await I[h.value][i.value.pageChange](o,O.value)}catch(W){console.error(W)}finally{uA.close()}},X=gA=>{var uA,W;(W=(uA=S.value)==null?void 0:uA.tableRef)==null||W.setCurrentRow(gA)},_=gA=>{var uA,W;(W=(uA=S.value)==null?void 0:uA.tableRef)==null||W.setCurrentRow(F.value[gA])},AA=(gA,uA,W)=>{i.value.columns.forEach(oA=>{oA.key===gA&&oA[uA]&&(oA[uA]=W)})},G=gA=>{i.value.displayType=gA},eA=gA=>{i.value.shadowless=gA},aA=(gA,uA)=>{const W=w?w(gA.key,uA):uA[gA.key];if(!Nt(gA.encrypted,{$row:uA,$col:gA})||!W)return W;const cA=`${W}`;return cA.length<=4?"*".repeat(cA.length):cA.slice(0,-4)+"****"},iA=(gA,uA)=>{if(!(!gA.getIconInfo||!h.value))try{return I[h.value][gA.getIconInfo](o,uA,gA)}catch(W){console.error(W)}},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 gA=i.value.onMounted;try{I[h.value][gA](o)}catch(uA){console.error(uA)}}),e.onActivated(()=>{if(!i.value||!i.value.onActivated||!h.value)return;const gA=i.value.onActivated;try{I[h.value][gA](o)}catch(uA){console.error(uA)}});const EA=e.readonly({...e.toRefs(t),setCellData:k,clearSelection:y,getData:m,getCurrentRow:l,getSelectedRows:g,addRow:s,deleteRow:d,refresh:p,validate:a,setData:r,selectRow:X,selectRowNum:_,setTotal:H,getPagination:J,setPagination:q,setTopBtnHidden:C,setColVisible:P,setColumn:AA,setRowsBtnHidden:E,setShadowless:eA,rootRef:dA,type:"table"});return A(EA),(gA,uA)=>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:F.value,total:x.value,hasVisibleRowBtn:M.value,handleSizeChange:z,handlePageChange:Z,handleRowClick:K,handleRowDblclick:U,handleSelectionChange:Q,handleCurrentChange:u,getColText:aA,getGlobalParams:e.unref(b),handleClick:Y,selectable:L,schema:i.value,getIconInfo:iA,pagination:O.value,"onUpdate:pagination":uA[1]||(uA[1]=W=>O.value=W)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])):(e.openBlock(),e.createBlock(N2,{key:0,header:i.value.title,btns:i.value.topBtns,collapsible:i.value.collapsible!==!1,switchTableType:G,tableType:i.value.displayType,typeSwitch:i.value.typeSwitch,shadowless:i.value.shadowless},{default:e.withCtx(()=>[e.createVNode(bB,{ref_key:"tableContentRef",ref:S,tableData:F.value,total:x.value,hasVisibleRowBtn:M.value,handleSizeChange:z,handlePageChange:Z,handleRowClick:K,handleRowDblclick:U,handleSelectionChange:Q,handleCurrentChange:u,getColText:aA,getGlobalParams:e.unref(b),handleClick:Y,selectable:L,schema:i.value,getIconInfo:iA,pagination:O.value,"onUpdate:pagination":uA[0]||(uA[0]=W=>O.value=W)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],8,U2))}}),Y2=["id"],O2={class:"tab-label"},$2={class:"tab-label-text"},J2={key:0,class:"divider"},z2=le(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=L=>k=>{k?o.value[L]=k:delete o.value[L]},D=e.computed(()=>{var L;return(L=i.value.content.find(k=>k.url===F.value))==null?void 0:L.mixMode}),w=L=>{i.value.content=L},S=L=>{Array.isArray(L)?i.value.content.push(...L):i.value.content.push(L)},F=e.ref(i.value.content[0].url),P=L=>{h.value[L]=!0,e.nextTick(()=>{h.value[L]=!1})},Y=e.useTemplateRef("rootRef"),K=L=>o.value[L],U=(L,k)=>{console.log("changeActiveTab",L,k),k&&I("addPageParams",k),e.nextTick(()=>{F.value=L,Q(L)})},v=(L,k)=>{const y=i.value.content.find(m=>m.url===L);y&&(y.mixMode=k)},Q=L=>{o.value[L]&&o.value[L].activate()};return A(e.readonly({setTabContent:w,addTabContent:S,schema:i,rootRef:Y,findRef:K,changeActiveTab:U,type:"tabs"})),(L,k)=>{var u,l,g;const y=e.resolveComponent("el-skeleton"),m=e.resolveComponent("el-tab-pane"),B=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:Y,id:i.value.key},[i.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(B,e.mergeProps({key:0},i.value.tabProps,{modelValue:F.value,"onUpdate:modelValue":k[0]||(k[0]=s=>F.value=s),class:["crm-tabs",{mixmode:D.value}],style:{"--top":(u=i.value)!=null&&u.stickyTop?`${(l=i.value)==null?void 0:l.stickyTop}px`:"110px","--is-sticky":(g=i.value)!=null&&g.isSticky?"sticky":"static"},onTabChange:Q}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.content,(s,d)=>(e.openBlock(),e.createBlock(m,{name:s.url,key:s.url,lazy:d!==0},{label:e.withCtx(()=>[e.createElementVNode("div",O2,[e.createElementVNode("span",$2,e.toDisplayString(s.label),1),d!==i.value.content.length-1?(e.openBlock(),e.createElementBlock("span",J2)):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[h.value[d]?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ag,{key:0,pageUrl:s.url,"rule-map":L.ruleMap,"page-params":L.pageParams,ref_for:!0,ref:b(s.url),onRefresh:p=>P(d),onChangeTab:U,onChangeMixMode:v},{loading:e.withCtx(()=>[e.createVNode(y,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","onRefresh"]))]),_:2},1032,["name","lazy"]))),128))]),_:1},16,["modelValue","style","class"]))],8,Y2)}}}),[["__scopeId","data-v-d712aab2"]]),Z2=["id"],W2={class:"info-card-header"},j2={class:"left-part"},q2={class:"title-part"},X2={class:"sub-title-container"},V2={class:"right-part"},A8={class:"info"},e8={class:"info-label"},t8={class:"ml-2"},n8={class:"info-card-detail"},i8={class:"info-card-detail-left"},o8={class:"label"},r8={key:0,class:"divider"},a8={key:0,class:"info-card-detail-right"},s8={class:"detail-right-label"},l8={class:"detail-right-value"},c8=le(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=F=>{const P=document.createElement("textarea");P.value=F??"",P.style.position="absolute",P.style.opacity="0",document.body.appendChild(P),P.select(),document.execCommand("copy"),P.remove()},D=async()=>{try{await navigator.clipboard.writeText(t.value.header.subTitle)}catch(F){console.error("Clipboard API error:",F),b(t.value.header.subTitle)}Yt.ElMessage.success("Copy Successful")},w=F=>{var P;if(I.value[F||"clickTitleIcon"])try{I.value[F||"clickTitleIcon"](o,(P=t.value.header)==null?void 0:P.titleIcon)}catch(Y){console.error(Y)}},S=F=>{if(!(!F||!I.value[F]))try{I.value[F](o)}catch(P){console.error(P)}};return e.onMounted(async()=>{if(!t.value||!t.value.rulePath||!t.value.onMounted)return;const F=t.value.onMounted;try{I.value[F](o)}catch(P){console.error(P)}}),e.onActivated(()=>{if(!t.value||!t.value.rulePath||!t.value.onActivated)return;const F=t.value.onActivated;try{I.value[F](o)}catch(P){console.error(P)}}),A({type:"infocard",schema:t}),(F,P)=>{const Y=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(Y,{class:"info-card",always:""},{default:e.withCtx(()=>{var K,U,v,Q,L,k,y,m,B,u,l;return[e.createElementVNode("div",W2,[e.createElementVNode("div",j2,[e.createElementVNode("div",{class:"avatar",style:e.normalizeStyle(t.value.header.avatarBgColor?{backgroundColor:t.value.header.avatarBgColor}:{})},[e.createVNode(Ke,{name:(K=t.value.header)==null?void 0:K.avatar,color:(U=t.value.header)==null?void 0:U.avatarIconColor},null,8,["name","color"])],4),e.createElementVNode("div",q2,[e.createElementVNode("div",{class:e.normalizeClass(["title",(v=t.value.header)!=null&&v.titleClick?"is-click":""]),style:e.normalizeStyle(t.value.header.titleColor?{color:t.value.header.titleColor}:{})},[e.createElementVNode("span",{class:e.normalizeClass((Q=t.value.header)!=null&&Q.titleClick?"cursor-pointer":""),onClick:P[0]||(P[0]=g=>{var s;return w((s=t.value.header)==null?void 0:s.titleClick)})},e.toDisplayString((L=t.value.header)==null?void 0:L.title),3),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((k=t.value.header)==null?void 0:k.titleIcons,(g,s)=>(e.openBlock(),e.createBlock(Ke,{key:s,name:g.icon,class:"title-icon",size:"large",onClick:d=>w(g.onClick)},null,8,["name","onClick"]))),128)),e.createVNode(e.unref(so),{class:"title-icon",btns:(y=t.value.header)==null?void 0:y.btns},null,8,["btns"])],6),e.createElementVNode("div",X2,[e.createElementVNode("span",{class:e.normalizeClass(["sub-title",{clickStyle:(m=t.value.header)==null?void 0:m.subTitleClick}]),onClick:P[1]||(P[1]=g=>{var s;return S((s=t.value.header)==null?void 0:s.subTitleClick)})},e.toDisplayString((B=t.value.header)==null?void 0:B.subTitlePrefix)+e.toDisplayString((u=t.value.header)==null?void 0:u.subTitle),3),e.createVNode(Ke,{name:"icon-fuzhi",class:"copy-icon",onClick:D}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=t.value.header)==null?void 0:l.subTitleIcons,(g,s)=>{var d,p;return e.openBlock(),e.createBlock(Ke,{key:s,name:(d=g.icon)==null?void 0:d.name,color:(p=g.icon)==null?void 0:p.color,class:"title-icon ml-2 cursor-pointer",onClick:a=>w(g.onClick)},null,8,["name","color","onClick"])}),128))])])]),e.createElementVNode("div",V2,[e.createElementVNode("div",A8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.infos,g=>(e.openBlock(),e.createElementBlock("div",{key:g.key,class:"info-item"},[e.createElementVNode("span",e8,e.toDisplayString(g.label)+": ",1),e.createElementVNode("span",{class:e.normalizeClass(["info-value",g.type])},e.toDisplayString(g.value||"-"),3),e.createElementVNode("div",t8,[g.expendComponents?(e.openBlock(),e.createBlock(e.unref(Lt),{key:0,class:"expend-components",list:g.expendComponents},null,8,["list"])):e.createCommentVNode("",!0)])]))),128))]),e.createVNode(e.unref(so),{btns:t.value.btns},null,8,["btns"]),e.createVNode(e.unref(z_),{dropdowns:t.value.dropdowns},null,8,["dropdowns"])])]),e.createElementVNode("div",n8,[e.createElementVNode("div",i8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.detail,(g,s)=>(e.openBlock(),e.createElementBlock("div",{key:g.label,class:"detail-item"},[e.createElementVNode("div",null,[e.createElementVNode("div",o8,e.toDisplayString(g.label),1),e.createElementVNode("div",{class:"value",style:e.normalizeStyle(g.color?{color:g.color}:{})},e.toDisplayString(g.value||"- -"),5)]),s!==t.value.detail.length-1?(e.openBlock(),e.createElementBlock("div",r8)):e.createCommentVNode("",!0)]))),128))]),t.value.bottomRightDetail?(e.openBlock(),e.createElementBlock("div",a8,[e.createElementVNode("div",s8,e.toDisplayString(t.value.bottomRightDetail.label),1),e.createElementVNode("div",l8,e.toDisplayString(t.value.bottomRightDetail.value),1)])):e.createCommentVNode("",!0)])]}),_:1})],8,Z2))}}}),[["__scopeId","data-v-e34113a4"]]),g8=["id"],u8={class:"left-part"},d8={class:"nav-title"},h8=["onClick"],p8={class:"nav-footer"},B8={class:"left-actions"},C8=["onClick"],m8={class:"footer-text"},E8={key:1,class:"divider"},Q8={class:"right-actions"},I8=le(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(P=>!P.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=P=>{if(P&&b.value)try{b.value[P](I)}catch(Y){console.error(Y)}},w=e.inject(jn),S=()=>{w&&w.navigateFn&&w.navigateFn(-1)},F=P=>{const Y=o.findRef(P);if(Y&&Y.rootRef)Y.rootRef.scrollIntoView({behavior:"smooth",block:"center"});else{const K=document.getElementById(P);K&&K.scrollIntoView({behavior:"smooth",block:"center"})}};return A({type:"navbar",schema:t}),(P,Y)=>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",u8,[t.value.back?(e.openBlock(),e.createBlock(Ke,{key:0,name:"icon-back",class:"back-icon",onClick:S})):e.createCommentVNode("",!0),e.createElementVNode("div",d8,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,U)=>(e.openBlock(),e.createElementBlock("div",{key:U,class:e.normalizeClass(["hexagon",{"first-item":U===0,"middle-item":U>0&&U<t.value.content.length-1,"last-item":U===t.value.content.length-1}]),onClick:v=>F(K.ref)},[e.createElementVNode("span",null,e.toDisplayString(K.text),1)],10,h8))),128))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",p8,[e.createElementVNode("div",B8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(K,U)=>(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(Ke,{key:0,name:K.icon.name,color:K.icon.color,class:"footer-icon"},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",m8,e.toDisplayString(K.text),1),U!==i.value.length-1?(e.openBlock(),e.createElementBlock("div",E8)):e.createCommentVNode("",!0)],8,C8))],64))),128))]),e.createElementVNode("div",Q8,[e.createVNode(e.unref(so),{btns:t.value.footerBtns||[]},null,8,["btns"])])])],14,g8))}}),[["__scopeId","data-v-d89ed427"]]),f8=["onClick"],w8={key:1},b8=le(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=(F,P)=>{try{o.value[F](h,P)}catch(Y){console.error(Y)}},D=()=>{if(I.pageEmit("changeMixMode",I.pageUrl,!1),!!t.value.onClose)try{o.value[t.value.onClose](h)}catch(F){console.error(F)}},w=e.computed(()=>{const F=/\{(\d+)\}/g,P=[];let Y=0,K;for(;(K=F.exec(t.value.description))!==null;)K.index>Y&&P.push({type:"text",value:t.value.description.slice(Y,K.index)}),P.push({type:"value",index:Number(K[1])}),Y=F.lastIndex;return Y<t.value.description.length&&P.push({type:"text",value:t.value.description.slice(Y)}),P}),S=e.computed(()=>t.value.type?{primary:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},success:{name:"icon-successtubiao",color:"var(--el-color-primary)"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[t.value.type]:{name:"icon-tishitubiao",color:"var(--el-color-primary)"});return A({type:"alert",schema:t}),(F,P)=>{const Y=e.resolveComponent("el-alert");return t.value.description?(e.openBlock(),e.createBlock(Y,{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(Ke,{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,U)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:U},[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,f8)):(e.openBlock(),e.createElementBlock("span",w8,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-2e07ad77"]]),D8=Object.freeze(Object.defineProperty({__proto__:null,default:le(e.defineComponent({__name:"DragList",props:e.mergeModels({children:{},rowHeight:{},colNum:{},maxRows:{},isDraggable:{type:Boolean},name:{},onMoved:{}},{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:(F,P)=>{i.value[F].x=P},setItemY:(F,P)=>{i.value[F].y=P},type:"draglist"},{ruleModule:D,pageMethodMap:w}=Jo(),S=()=>{if(t.onMoved&&D)try{D[t.onMoved](w,e.readonly(i.value))}catch(F){console.error(F)}};if(A(b),t.name){const F=og(t.name,b);e.onUnmounted(()=>{F()})}return(F,P)=>(e.openBlock(),e.createBlock(e.unref(O_),{layout:i.value,"onUpdate:layout":P[1]||(P[1]=Y=>i.value=Y),"col-num":F.colNum||12,"row-height":F.rowHeight||30,"max-rows":F.maxRows,margin:[8,8],"is-draggable":F.isDraggable,"is-bounded":"","is-resizable":!1,"vertical-compact":"","use-css-transforms":""},{default:e.withCtx(()=>[e.createVNode(e.unref(Lt),{list:F.children,gridData:i.value,"onUpdate:gridData":P[0]||(P[0]=Y=>i.value=Y),onGridItemMoved:S},null,8,["list","gridData"])]),_:1},8,["layout","col-num","row-height","max-rows","is-draggable"]))}}),[["__scopeId","data-v-a6894bc6"]])},Symbol.toStringTag,{value:"Module"})),y8=Object.freeze(Object.defineProperty({__proto__:null,default:le(e.defineComponent({__name:"Pagination",props:{pageSizes:{},defaultPageSize:{},paginationLayout:{},hiddenPagination:{type:Boolean},pagerCount:{},style:{type:[Boolean,null,String,Object,Array]},sizeChange:{},pageChange:{},name:{}},setup(n,{expose:A}){const t=n,{ruleModule:i,pageMethodMap:h}=Jo(),I=e.ref(0),o=P=>{I.value=P},b=e.ref({pageNum:1,pageSize:t.defaultPageSize||5}),D=()=>b.value,w=async P=>{if(b.value.pageNum=1,b.value.pageSize=P,!!t.sizeChange)try{await i[t.sizeChange](h,b.value)}catch(Y){console.error(Y)}},S=async P=>{if(b.value.pageNum=P,!!t.pageChange)try{await i[t.pageChange](h,b.value)}catch(Y){console.error(Y)}},F=e.readonly({getPagination:D,setTotal:o,type:"pagination"});if(t.name){const P=og(t.name,F);e.onUnmounted(()=>{P()})}return A(F),(P,Y)=>{const K=e.resolveComponent("el-pagination");return e.openBlock(),e.createElementBlock("div",{class:"pagination-wrapper",style:e.normalizeStyle(P.style)},[e.createVNode(K,{layout:P.paginationLayout||"total,sizes, prev, pager, next,jumper",total:I.value,"page-sizes":P.pageSizes||[5,10,20,30,40],"default-page-size":P.defaultPageSize,"current-page":b.value.pageNum,"onUpdate:currentPage":Y[0]||(Y[0]=U=>b.value.pageNum=U),"page-size":b.value.pageSize,"onUpdate:pageSize":Y[1]||(Y[1]=U=>b.value.pageSize=U),"pager-count":Number(P.pagerCount)||5,onSizeChange:w,onCurrentChange:S},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],4)}}}),[["__scopeId","data-v-f199e192"]])},Symbol.toStringTag,{value:"Module"})),v8=["id"],ag=le(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:rg,tabs:z2,infocard:c8,navbar:I8,alert:b8},I=n,o=e.ref(I.pageParams),b=e.ref({}),D=e.ref(),w=e.ref({});e.watch(()=>I.pageParams,()=>{console.log("props.pageParamsChange",I.pageParams),o.value=ut.cloneDeep(I.pageParams)});const S=J=>{if(D.value){if(J.type==="tabs")return{...J.schema.tabProps,schema:J.schema,"onUpdate:schema":q=>{J.schema=q},ruleMap:I.ruleMap,pageParams:o.value};if(J.type==="form")return{modelValue:J.model,"onUpdate:modelValue":q=>{J.model=q},realValues:J.realValues,"onUpdate:realValues":q=>{J.realValues=q},schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:D.value.rulePath||""};if(J.type==="table")return{modelValue:J.model,"onUpdate:modelValue":q=>{J.model=q},schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:D.value.rulePath||""};if(J.type==="infocard")return{schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:D.value.rulePath||""};if(J.type==="navbar")return{schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:D.value.rulePath||"",findRef:Y};if(J.type==="alert")return{schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:D.value.rulePath||"",pageUrl:I.pageUrl,pageEmit:i}}},F=e.ref([]),P=t2(),Y=J=>{var z;const q=(z=F.value)==null?void 0:z.find(Z=>Z.schema.key===J);return q||P.findRef(J)},K=J=>{var z;return(z=F.value)==null?void 0:z.filter(Z=>Z.schema.key&&J.includes(Z.schema.key))},U=(J,q)=>{var _;const z=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],Z=AA=>{AA.forEach(G=>{z.includes(G.component)?G.props&&(G.props.disabled=q):G.children&&Z(G.children)})},X=(_=D.value)==null?void 0:_.content.find(AA=>AA.schema.key===J);X&&X.type==="form"&&Z(X.schema.items)},v=(J,q)=>{var _;const z=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],Z=AA=>{AA.forEach(G=>{z.includes(G.component)?G.props&&(G.props.read=q):G.children&&Z(G.children)})},X=(_=D.value)==null?void 0:_.content.find(AA=>AA.schema.key===J);X&&X.type==="form"&&Z(X.schema.items)},Q=async J=>{if(Array.isArray(J)){const q=K(J);for(const z of q||[])z.type==="form"&&await z.validate()}else{const q=Y(J);return q?await q.validate():!1}},L=J=>{if(D.value){if(!J){const q={};for(const z of D.value.content)z.schema.key&&(z.type==="form"?q[z.schema.key]=ut.cloneDeep(e.toRaw({...z.model,...z.realValues})):z.type==="table"&&(q[z.schema.key]=ut.cloneDeep(e.toRaw(z.model))));return q}if(Array.isArray(J)){const q={};for(const z of D.value.content)z.schema.key&&J.includes(z.schema.key)&&(z.type==="form"?q[z.schema.key]=ut.cloneDeep(e.toRaw({...z.model,...z.realValues})):z.type==="table"&&(q[z.schema.key]=ut.cloneDeep(e.toRaw(z.model))));return q}else{const q=D.value.content.find(z=>z.schema.key===J);if(q){if(q.type==="form")return ut.cloneDeep(e.toRaw({...q.model,...q.realValues}));if(q.type==="table")return ut.cloneDeep(e.toRaw(q.model))}}}},k=(J,q,z=!1)=>{if(!D.value)return;const Z=D.value.content.find(X=>X.schema.key===J);if(Z)if(Z.type==="form")if(z)Object.assign(Z.model,q);else{for(let X in Z.model)delete Z.model[X];Object.assign(Z.model,q)}else Z.type==="table"&&(Z.model=q)},y=J=>{if(J)if(Array.isArray(J)){const q=K(J);for(const z of q||[])z.type==="form"&&z.resetFields()}else{const q=Y(J);if(!q)return;q.type==="form"&&q.resetFields()}},m=(J,q)=>{const z=Y(J);z&&z.type==="form"&&z.clearValidate(q)},B=(J,q)=>{var Z;const z=(Z=D.value)==null?void 0:Z.content.find(X=>X.schema.key===J);if(z&&z.type==="form")return xi(z.schema.items,q)},u=()=>o.value,l=J=>{o.value=J},g=J=>{o.value={...o.value,...J}},s=(J,q)=>{if(!D.value)return;const z=D.value.content.find(Z=>Z.schema.key===J);z&&(z.schema.hidden=q)},d=(J,q)=>{if(!D.value)return;const z=D.value.btns.find(Z=>Z.key===J);z&&(z.hidden=q)},p=(J,q,z)=>{var Z;if(D.value){if(J.type==="form"){const X=B(J.formKey,J.btnKey);X&&(q==="disabled"?X.props[q]=z:X[q]=z)}else if(J.type==="page"){const X=D.value.btns.find(_=>_.key===J.btnKey);X&&(X[q]=z)}else if(J.type==="table"){const X=(Z=D.value)==null?void 0:Z.content.find(_=>_.schema.key===J.tableKey);if(!X||X.type!=="table")return;J.btnPosition==="top"?X.schema.topBtns.find(_=>_.key===J.btnKey)[q]=z:J.btnPosition==="row"&&(q==="hidden"?X.schema.rowBtns.find(_=>_.key===J.btnKey).condition=!z:X.schema.rowBtns.find(_=>_.key===J.btnKey)[q]=z)}else if(J.type==="card"){const X=B(J.formKey,J.cardKey);X&&(X.props.btns.find(_=>_.key===J.btnKey)[q]=z)}}},a=(J,q,z)=>{var X,_,AA,G,eA;if(!D.value)return;const Z=(q==="disabled"||q==="hidden")&&typeof z=="boolean";if(D.value.btns){const aA=D.value.btns.find(iA=>iA.key===J);if(aA&&Z){aA[q]=z;return}}for(const aA of D.value.content){if(aA.type==="infocard"){const iA=aA.schema.btns.find(dA=>dA.key===J);if(iA&&Z){iA[q]=z;return}}if(aA.type==="navbar"){const iA=(X=aA.schema.btns)==null?void 0:X.find(gA=>gA.key===J);if(iA&&Z){iA[q]=z;return}const dA=(_=aA.schema.footerBtns)==null?void 0:_.find(gA=>gA.key===J);if(dA&&Z){dA[q]=z;return}const EA=(AA=aA.schema.leftActions)==null?void 0:AA.find(gA=>gA.key===J);if(EA&&Z&&q==="hidden"){EA[q]=z;return}}if(aA.type==="table"){const iA=(G=aA.schema.topBtns)==null?void 0:G.find(EA=>EA.key===J);if(iA&&Z){iA[q]=z;return}const dA=(eA=aA.schema.rowBtns)==null?void 0:eA.find(EA=>EA.key===J);if(dA){q==="hidden"?dA.condition=!z:q==="condition"&&typeof z=="string"?dA.condition=z:Z&&(dA[q]=z);return}}if(aA.type==="form"){const iA=dA=>{var EA,gA;for(const uA of dA){if(uA.component==="Button"&&uA.name===J)return uA.props&&(uA.props[q]=z),!0;if((uA.component==="Card"||uA.component==="CurdCard")&&uA.props&&Array.isArray(uA.props.btns)){const W=uA.props.btns.find(oA=>oA.key===J);if(W)return W[q]=z,!0}if(uA.component==="Table"&&uA.props){const W=(EA=uA.props.topBtns)==null?void 0:EA.find(cA=>cA.key===J);if(W)return W[q]=z,!0;const oA=(gA=uA.props.rowBtns)==null?void 0:gA.find(cA=>cA.key===J);if(oA)return q==="hidden"?oA.condition=!z:q==="condition"&&typeof z=="string"?oA.condition=z:Z&&(oA[q]=z),!0}if(uA.children&&Array.isArray(uA.children)&&iA(uA.children))return!0}return!1};if(iA(aA.schema.items))return}}},r=(J,q)=>{if(!D.value)return;const z=D.value.btns.find(Z=>Z.key===J);z&&(z.disabled=q)},C=J=>{Object.assign(b.value,J)},E=()=>b.value,M={findRef:Y,setFormDisabled:U,clearValidate:m,validate:Q,getData:L,resetFields:y,emit:i,setData:k,getItemByName:B,getPageParams:u,setHidden:s,setBtnHidden:d,setBtnStateByKey:a,setBtnDisabled:r,addPageParams:g,setPageParams:l,setGlobalParams:C,getGlobalParams:E,setBtnState:p,setReadMode:v},x=async J=>{if(!(!D.value||!D.value.rulePath)){try{w.value[J.key]=!0,await I.ruleMap[D.value.rulePath][J.onClick](M)}catch(q){console.error(q)}w.value[J.key]=!1}};e.provide("pageMethodMap",M),e.provide("ruleMap",I.ruleMap),e.provide("getGlobalParams",E);const H=e.inject(jn);e.onMounted(async()=>{if(H&&H.fetchSchemaFn&&I.pageUrl){const J=await H.fetchSchemaFn(I.pageUrl);if(J&&J.rulePath&&J.onBeforeMount){const Z=J.onBeforeMount;try{I.ruleMap[J.rulePath][Z](J)}catch(X){console.error(X)}}D.value={...J,content:J.content.map(Z=>Z.type==="form"?{...Z,schema:Z.schema,model:{},realValues:{}}:Z.type==="table"?{...Z,schema:Z.schema,model:[]}:Z)},await e.nextTick();const q=QB(D.value);if(await P.waitForKeys(q),!D.value||!D.value.rulePath||!D.value.onMounted)return;const z=D.value.onMounted;try{I.ruleMap[D.value.rulePath][z](M)}catch(Z){console.error(Z)}}});function O(){if(!D.value||!D.value.rulePath||!D.value.onActivated)return;const J=D.value.onActivated;try{I.ruleMap[D.value.rulePath][J](M)}catch(q){console.error(q)}}return e.onActivated(()=>{O()}),A({...M,activate:O}),(J,q)=>{const z=e.resolveComponent("el-button"),Z=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,X=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(h[X.type]),e.mergeProps({key:X.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:F,onAddPageParams:g},S(X)),null,16))),128)),D.value.btns&&D.value.btns.length>0?(e.openBlock(),e.createBlock(Z,{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,X=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:X.key},[X.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(z,{key:0,type:X.type,loading:w.value[X.key],onClick:_=>x(X),disabled:X.disabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(X.text),1)]),_:2},1032,["type","loading","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):e.createCommentVNode("",!0)],8,v8)):e.renderSlot(J.$slots,"loading",{key:1},void 0,!0)])}}}),[["__scopeId","data-v-a877fdfd"]]),k8={install:(n,A={})=>{n.provide(jn,A),n.component("FormRender",fn),n.component("FormDesign",wB),n.component("TableRender",rg),n.component("PageRender",ag)}},_8={key:0},M8=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",_8,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"})),x8={class:"card-header"},S8={class:"card-btns"},F8={class:"card-sub-header"},N8=Object.freeze(Object.defineProperty({__proto__:null,default:le(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",x8,[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(Ke,{class:"extra-icon",name:S.name,color:S.color,size:S.size||"small",onClick:F=>h(S.onClick)},null,8,["name","color","size","onClick"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock(Ke,{key:1,class:"extra-icon",name:S.name,color:S.color,size:S.size||"small",onClick:F=>h(S.onClick)},null,8,["name","color","size","onClick"]))],64))),128)),e.createElementVNode("div",S8,[e.createVNode(e.unref(so),{btns:I.btns||[]},null,8,["btns"])]),e.createElementVNode("div",F8,[(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(Lt),{list:I.children},null,8,["list"])],512),[[e.vShow,!A.value]])]),_:1})]),_:1},16,["class"])}}}),[["__scopeId","data-v-37d0cc4b"]])},Symbol.toStringTag,{value:"Module"})),R8=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},readTextColor:{},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}=Br(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]=F=>t.value=F),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,s){return(s||document).querySelector(g)}function m(g){g.preventDefault(),g.stopPropagation()}function B(g,s,d,p,a){g.add(s,Q,function(r){d.indexOf(r.key)>=0&&p(r)})}var u=function(){function g(s){o(this,g),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex",cancelButton:!1,defaultColor:"#0cf"},this._events=new P,this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(s)}return b(g,[{key:"setOptions",value:function(d){var p=this;if(!d)return;var a=this.settings;function r(x,H,O){for(var J in x)H[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(H){return p.openHandler(H)};this._events.add(E,"click",M),B(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 p=d&&d.type===Q?this._domEdit:this.domElement;setTimeout(function(){return p.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(d){var p=d&&d.type,a=!1;if(!d)a=!0;else if(p===L||p===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="",p!==L&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(d,p){this.closeHandler(),this.setOptions(d),p&&this.openHandler()}},{key:"setColor",value:function(d,p){this._setColor(d,{silent:p})}},{key:"_setColor",value:function(d,p){if(typeof d=="string"&&(d=d.trim()),!!d){p=p||{};var a=void 0;try{a=new F(d)}catch(C){if(p.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,p)}}},{key:"setColour",value:function(d,p){this.setColor(d,p)}},{key:"show",value:function(){var d=this.settings.parent;if(!d)return!1;if(this.domElement){var p=this._toggleDOM(!0);return this._setPosition(),p}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=Y(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,p=this,a=this.domElement,r=this._events;function C(x,H,O){r.add(x,H,O)}C(a,"click",function(x){return x.preventDefault()}),K(r,this._domH,function(x,H){return p._setHSLA(x)}),K(r,this._domSL,function(x,H){return p._setHSLA(null,x,1-H)}),this.settings.alpha&&K(r,this._domA,function(x,H){return p._setHSLA(null,null,null,1-H)});var E=this._domEdit;C(E,"input",function(x){p._setColor(this.value,{fromEditor:!0,failSilently:!0})}),C(E,"focus",function(x){var H=this;H.selectionStart===H.selectionEnd&&H.select()}),this._ifPopup(function(){var x=function(J){return d.closeHandler(J)};C(window,L,x),C(window,k,x),B(r,a,["Esc","Escape"],x);var H=function(J){d.__containedEvent=J.timeStamp};C(a,L,H),C(a,k,H),C(d._domCancel,"click",x)});var M=function(H){d._ifPopup(function(){return d.closeHandler(H)}),d.onDone&&d.onDone(d.colour)};C(this._domOkay,"click",M),B(r,a,["Enter"],M)}},{key:"_setPosition",value:function(){var d=this.settings.parent,p=this.domElement;d!==p.parentNode&&d.appendChild(p),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?p.classList.add(C):p.classList.remove(C)}),p.classList.add(r)})}},{key:"_setHSLA",value:function(d,p,a,r,C){C=C||{};var E=this.colour,M=E.hsla;[d,p,a,r].forEach(function(x,H){(x||x===0)&&(M[H]=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 p=this.colour,a=p.hsla,r="hsl("+a[0]*v+", 100%, 50%)",C=p.hslString,E=p.hslaString,M=this._domH,x=this._domSL,H=this._domA,O=y(".picker_selector",M),J=y(".picker_selector",x),q=y(".picker_selector",H);function z(iA,dA,EA){dA.style.left=EA*100+"%"}function Z(iA,dA,EA){dA.style.top=EA*100+"%"}z(M,O,a[0]),this._domSL.style.backgroundColor=this._domH.style.color=r,z(x,J,a[1]),Z(x,J,1-a[2]),x.style.color=C,Z(H,q,1-a[3]);var X=C,_=X.replace("hsl","hsla").replace(")",", 0)"),AA="linear-gradient("+[X,_]+")";if(this._domA.style.background=AA+", "+U,!d.fromEditor){var G=this.settings.editorFormat,eA=this.settings.alpha,aA=void 0;switch(G){case"rgb":aA=p.printRGB(eA);break;case"hsl":aA=p.printHSL(eA);break;default:aA=p.printHex(eA)}this._domEdit.value=aA}this._domSample.style.color=E}},{key:"_ifPopup",value:function(d,p){this.settings.parent&&this.settings.popup?d&&d(this.settings.popup):p&&p()}},{key:"_toggleDOM",value:function(d){var p=this.domElement;if(!p)return!1;var a=d?"":"none",r=p.style.display!==a;return r&&(p.style.display=a),r}}]),g}(),l=document.createElement("style");return l.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(l),u.StyleElement=l,u}()},9857:function(I,o,b){b.d(o,{m:function(){return ae}});class D extends Error{constructor(SA,WA){super(SA+" at position "+WA),this.position=WA}}let w=92,S=47,F=42,P=123,Y=125,K=91,U=93,v=40,Q=41,L=32,k=10,y=9,m=13,B=8,u=12,l=34,g=43,s=45,d=39,p=48,a=57,r=44,C=46,E=58,M=59,x=65,H=97,O=69,J=101,q=70,z=102,Z=160,X=8192,_=8202,AA=8239,G=8287,eA=12288,aA=8220,iA=8221,dA=8216,EA=8217,gA=96,uA=180;function W(LA){return LA>=p&&LA<=a}function oA(LA){return cA.test(LA)}let cA=/^[,:[\]/{}()\n+]$/;function pA(LA){return $.test(LA)||LA&&tA(LA.charCodeAt(0))}let $=/^[[{\w-]$/;function V(LA){return LA===L||LA===k||LA===y||LA===m}function tA(LA){return sA(LA)||_A(LA)}function sA(LA){return LA===l||LA===aA||LA===iA}function CA(LA){return LA===l}function _A(LA){return LA===d||LA===dA||LA===EA||LA===gA||LA===uA}function YA(LA){return LA===d}function zA(LA,SA,WA){return WA=2<arguments.length&&WA!==void 0&&WA,SA=LA.lastIndexOf(SA),SA!==-1?LA.substring(0,SA)+(WA?"":LA.substring(SA+1)):LA}function qA(LA,SA){let WA=LA.length;if(!V(LA.charCodeAt(WA-1)))return LA+SA;for(;V(LA.charCodeAt(WA-1));)WA--;return LA.substring(0,WA)+SA+LA.substring(WA)}let ZA={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},ce={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
|
|
1577
1577
|
`,r:"\r",t:" "};function ae(LA){let SA=0,WA="";if(!ye())throw new D("Unexpected end of json string",LA.length);var Ce=$A(r);if(Ce&&xe(),pA(LA[SA])&&/[,\n][ \t\r]*$/.test(WA)){Ce||(WA=qA(WA,","));{let ie=!0,ue=!0;for(;ue;)ie?ie=!1:$A(r)||(WA=qA(WA,",")),ue=ye();ue||(WA=zA(WA,",")),WA=`[
|
|
1578
1578
|
`.concat(WA,`
|
|
1579
|
-
]`)}}else Ce&&(WA=zA(WA,","));for(;LA.charCodeAt(SA)===Y||LA.charCodeAt(SA)===U;)SA++,xe();if(SA>=LA.length)return WA;throw new D("Unexpected character "+JSON.stringify(LA[SA]),SA);function ye(){xe();var ie=function(){if(LA.charCodeAt(SA)!==P)return!1;{WA+="{",SA++,xe(),XA(r)&&xe();let lt=!0;for(;SA<LA.length&&LA.charCodeAt(SA)!==Y;){if(lt?lt=!1:($A(r)||(WA=qA(WA,",")),xe()),he(),!(ge()||wA())){LA.charCodeAt(SA)===Y||LA.charCodeAt(SA)===P||LA.charCodeAt(SA)===U||LA.charCodeAt(SA)===K||LA[SA]===void 0?WA=zA(WA,","):function(){throw new D("Object key expected",SA)}();break}xe();var ue=$A(E),Me=SA>=LA.length,tt=(ue||(pA(LA[SA])||Me?WA=qA(WA,":"):we()),ye());tt||(ue||Me?WA+="null":we())}return LA.charCodeAt(SA)===Y?(WA+="}",SA++):WA=qA(WA,"}"),!0}}()||function(){if(LA.charCodeAt(SA)!==K)return!1;{WA+="[",SA++,xe(),XA(r)&&xe();let Me=!0;for(;SA<LA.length&&LA.charCodeAt(SA)!==U;){Me?Me=!1:$A(r)||(WA=qA(WA,",")),he();var ue=ye();if(!ue){WA=zA(WA,",");break}}return LA.charCodeAt(SA)===U?(WA+="]",SA++):WA=qA(WA,"]"),!0}}()||ge()||function(){var ue=SA;if(LA.charCodeAt(SA)===s){if(SA++,HA())return ne(ue),!0;if(!W(LA.charCodeAt(SA)))return SA=ue,!1}for(;W(LA.charCodeAt(SA));)SA++;if(LA.charCodeAt(SA)===C){if(SA++,HA())return ne(ue),!0;if(!W(LA.charCodeAt(SA)))return SA=ue,!1;for(;W(LA.charCodeAt(SA));)SA++}if(LA.charCodeAt(SA)===J||LA.charCodeAt(SA)===O){if(SA++,LA.charCodeAt(SA)!==s&&LA.charCodeAt(SA)!==g||SA++,HA())return ne(ue),!0;if(!W(LA.charCodeAt(SA)))return SA=ue,!1;for(;W(LA.charCodeAt(SA));)SA++}var Me,tt;if(HA()){if(SA>ue)return Me=LA.slice(ue,SA),tt=/^0\d/.test(Me),WA+=tt?'"'.concat(Me,'"'):Me,!0}else SA=ue;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)===F){for(;SA<LA.length&&!function(ie,ue){return ie[ue]==="*"&&ie[ue+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 ue,Me;(ue=V(LA.charCodeAt(SA)))||(Me=LA.charCodeAt(SA))===Z||Me>=X&&Me<=_||Me===AA||Me===G||Me===eA;)ie+=ue?LA[SA]:" ",SA++;return 0<ie.length&&(WA+=ie,!0)}function $A(ie){return LA.charCodeAt(SA)===ie&&(WA+=LA[SA],SA++,!0)}function XA(ie){return LA.charCodeAt(SA)===ie&&(SA++,!0)}function he(){xe(),LA.charCodeAt(SA)===C&&LA.charCodeAt(SA+1)===C&&LA.charCodeAt(SA+2)===C&&(SA+=3,xe(),XA(r))}function ge(ie){var ue,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=CA(LA.charCodeAt(SA))?CA:YA(LA.charCodeAt(SA))?YA:_A(LA.charCodeAt(SA))?_A:sA,bA=SA,RA=WA.length;let _e='"';for(SA++;;){if(SA>=LA.length)return JA=FA(SA-1),!tt&&oA(LA.charAt(JA))?(SA=bA,WA=WA.substring(0,RA),ge(!0)):(_e=qA(_e,'"'),WA+=_e,!0);if(MA(LA.charCodeAt(SA))){var JA=SA,OA=_e.length;if(_e+='"',SA++,WA+=_e,xe(),tt||SA>=LA.length||oA(LA.charAt(SA))||tA(LA.charCodeAt(SA))||W(LA.charCodeAt(SA)))return Ee(),!0;if(oA(LA.charAt(FA(JA-1))))return SA=bA,WA=WA.substring(0,RA),ge(!0);WA=WA.substring(0,RA),SA=JA+1,_e=_e.substring(0,OA)+"\\"+_e.substring(OA)}else{if(tt&&oA(LA[SA]))return _e=qA(_e,'"'),WA+=_e,Ee(),!0;if(LA.charCodeAt(SA)===w)if(OA=LA.charAt(SA+1),ce[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))>=p&&Me<=a||Me>=x&&Me<=q||Me>=H&&Me<=z);)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===l&&LA.charCodeAt(SA-1)!==w)_e+="\\"+Ie;else if((ue=te)===k||ue===m||ue===y||ue===B||ue===u)_e+=ZA[Ie];else{if(!(32<=(ue=te)&&ue<=1114111))throw te=void 0,te=Ie,new D("Invalid character "+JSON.stringify(te),SA);_e+=Ie}SA++}}lt&&XA(w)}}return!1}function Ee(){for(xe();LA.charCodeAt(SA)===g;){SA++,xe();var ie=(WA=zA(WA,'"',!0)).length,ue=ge();WA=ue?(ue=WA,ie=ie,Me=1,ue.substring(0,ie)+ue.substring(ie+Me)):qA(WA,'"')}var Me}function ke(ie,ue){return LA.slice(SA,SA+ie.length)===ie&&(WA+=ue,SA+=ie.length,!0)}function wA(){for(var ie,ue=SA;SA<LA.length&&(!oA(ie=LA[SA])||ie==="/")&&!tA(LA.charCodeAt(SA));)SA++;if(SA>ue){if(LA.charCodeAt(SA)===v&&/^\w+$/.test(LA.slice(ue,SA).trim()))SA++,ye(),LA.charCodeAt(SA)===Q&&(SA++,LA.charCodeAt(SA)===M)&&SA++;else{for(;V(LA.charCodeAt(SA-1))&&0<SA;)SA--;ue=LA.slice(ue,SA),WA+=ue==="undefined"?"null":JSON.stringify(ue),LA.charCodeAt(SA)===l&&SA++}return!0}}function FA(ie){let ue=ie;for(;0<ue&&V(LA.charCodeAt(ue));)ue--;return ue}function HA(){return SA>=LA.length||oA(LA[SA])||V(LA.charCodeAt(SA))}function ne(ie){WA+=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 L8=DB.exports;const G8=fu(L8),P8={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 P=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()){P("");return}try{const K=this.editor.get();P(K)}catch{}},h=()=>{this.expandAll()},I=(P,Y,K)=>{this.$emit("textSelectionChange",this.editor,P,Y,K)},o=(P,Y)=>{this.$emit("selectionChange",this.editor,P,Y)},b=(P,Y,K)=>{this.$emit("colorPicker",this.editor,P,Y,K)},D=({target:P})=>{this.$emit("focus",this.editor,P)},w=({target:P})=>{this.$emit("blur",this.editor,P)},S=P=>{this.$emit("validationError",this.editor,P)},F={...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 G8(this.$refs.jsonEditorVue,F,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)}}},H8={ref:"jsonEditorVue",class:"json-editor-vue"};function K8(n,A,t,i,h,I){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["container",{"full-screen-container":h.isFullScreen}])},[e.createElementVNode("div",H8,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 T8=le(P8,[["render",K8],["__scopeId","data-v-c3373674"]]),U8=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(lD),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:e.withCtx(()=>[e.createVNode(T8,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"})),Y8={key:0},O8=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},readTextColor:{},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=yt(),{currentOptions:h,selectChange:I,loading:o}=Br(A),{ruleModule:b,pageMethodMap:D}=Jo(),w=S=>{if(I(S),A.onChange&&b)try{b[A.onChange](D,S)}catch(F){console.error(F)}};return e.watch(t,I),(S,F)=>{var Q;const P=e.resolveComponent("el-checkbox"),Y=e.resolveComponent("el-checkbox-button"),K=e.resolveComponent("el-space"),U=e.resolveComponent("el-checkbox-group"),v=e.resolveDirective("loading");return e.unref(i).schema.read?(e.openBlock(),e.createElementBlock("div",Y8,e.toDisplayString((Q=t.value)==null?void 0:Q.map(L=>{var k;return(k=e.unref(h).find(y=>y[S.valueKey]===L))==null?void 0:k[S.labelKey]}).join("、")),1)):e.withDirectives((e.openBlock(),e.createBlock(U,e.mergeProps({key:1},S.$attrs,{modelValue:t.value,"onUpdate:modelValue":F[0]||(F[0]=L=>t.value=L),onChange:w}),{default:e.withCtx(()=>[S.optionType==="circle"||S.optionType==="border"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(h),L=>(e.openBlock(),e.createBlock(P,{key:L[S.valueKey],label:L[S.labelKey],value:L[S.valueKey],border:S.optionType==="border"},null,8,["label","value","border"]))),128)):e.createCommentVNode("",!0),S.optionType==="button"?(e.openBlock(),e.createBlock(K,{key:1,wrap:"",size:[S.space,S.space]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(h),L=>(e.openBlock(),e.createBlock(Y,{key:L[S.valueKey],label:L[S.labelKey],value:L[S.valueKey],size:"large"},null,8,["label","value"]))),128))]),_:1},8,["size"])):e.createCommentVNode("",!0)]),_:1},16,["modelValue"])),[[v,e.unref(o)]])}}})},Symbol.toStringTag,{value:"Module"})),$8={class:"vfc-color-input"},J8=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",$8,[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"},Z8=Object.freeze(Object.defineProperty({__proto__:null,default:le(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"})),W8={key:0},j8=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=yt(),h=e.computed(()=>i.schema.read),I=e.computed(()=>A.value?t.valueFormat?Yt.dayjs(A.value).format(t.valueFormat):A.value:"--"),o=[{text:"Today",value:new Date}];return(b,D)=>{const w=e.resolveComponent("el-date-picker");return b.read||h.value?(e.openBlock(),e.createElementBlock("span",W8,e.toDisplayString(I.value),1)):(e.openBlock(),e.createBlock(w,e.mergeProps({key:1},b.$attrs,{modelValue:A.value,"onUpdate:modelValue":D[0]||(D[0]=S=>A.value=S),style:{width:"100%"},shortcuts:o}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),q8=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"})),X8=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),F=e.computed(()=>n.bgColor?n.bgColor:"rgba(255, 255, 255, 0)");e.watch(F,k=>{w.value&&(w.value.style.background=k)});const P=()=>{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=F.value,P(),document.onmouseup=()=>{b.value=!1}),window.addEventListener("resize",P)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",P)});const Y=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))},U=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((B,u)=>{if(!A.value){u("Warning: Not Signed!");return}if(h.value){const l=h.value.getImageData(0,0,w.value.width,w.value.height);h.value.globalCompositeOperation="destination-over",h.value.fillStyle=F.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(l,0,0),h.value.globalCompositeOperation="source-over",n.isCrop){const s=L(l.data),d=document.createElement("canvas"),p=d.getContext("2d");if(p){d.width=s[2]-s[0],d.height=s[3]-s[1];const a=h.value.getImageData(s[0],s[1],s[2],s[3]);p.globalCompositeOperation="destination-over",p.putImageData(a,0,0),p.fillStyle=F.value,p.fillRect(0,0,d.width,d.height),g=d.toDataURL(y,m)}}B(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,B=w.value.height,u=0;for(let l=0;l<w.value.width;l++)for(let g=0;g<w.value.height;g++){const s=(l+w.value.width*g)*4;(k[s]>0||k[s+1]>0||k[s+2]>0||k[s+3]>0)&&(u=Math.max(g,u),m=Math.max(l,m),B=Math.min(g,B),y=Math.min(l,y))}return[y+1,B+1,m+1,u+1]};return{canvas:w,myBg:F,drawStart:Y,drawMove:K,drawEnd:U,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(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};U(y)}},mouseDown:k=>{k.preventDefault(),b.value=!0,A.value=!0;const y={x:k.offsetX,y:k.offsetY};Y(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};U(y),b.value=!1}}}});function V8(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 AM=le(X8,[["render",V8],["__scopeId","data-v-0e272b28"]]),eM={key:0},tM={class:"vfc-esign-preview"},nM=["src"],iM={key:1,class:"vfc-esign"},oM=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=yt(),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(F=>{h.value=F}).catch(F=>{alert(F)})},w=e.ref(""),S=()=>{w.value=h.value,h.value=""};return e.onMounted(()=>{Object.assign(o.value,A)}),(F,P)=>{const Y=e.resolveComponent("el-button");return e.unref(i).read||h.value?(e.openBlock(),e.createElementBlock("div",eM,[e.createElementVNode("div",tM,[e.createElementVNode("img",{src:h.value,alt:"未签名"},null,8,nM)]),e.unref(i).read?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Y,{key:0,disabled:F.disabled,onClick:S,type:"primary"},{default:e.withCtx(()=>P[2]||(P[2]=[e.createTextVNode("重写")])),_:1},8,["disabled"]))])):(e.openBlock(),e.createElementBlock("div",iM,[e.createVNode(e.unref(fn),{modelValue:o.value,"onUpdate:modelValue":P[0]||(P[0]=K=>o.value=K),schema:I,class:"vfc-esign-actions"},null,8,["modelValue"]),e.createVNode(AM,{class:"vfc-esign-canvas",ref_key:"esign",ref:t,width:F.width,height:F.height,isCrop:F.isCrop,lineWidth:o.value.lineWidth,lineColor:o.value.lineColor,bgColor:o.value.bgColor,format:F.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),e.createElementVNode("div",null,[w.value?(e.openBlock(),e.createBlock(Y,{key:0,disabled:F.disabled,onClick:P[1]||(P[1]=K=>h.value=w.value),plain:"",type:"primary"},{default:e.withCtx(()=>P[3]||(P[3]=[e.createTextVNode("取消")])),_:1},8,["disabled"])):e.createCommentVNode("",!0),e.createVNode(Y,{disabled:F.disabled,onClick:b,plain:"",type:"primary"},{default:e.withCtx(()=>P[4]||(P[4]=[e.createTextVNode("清空")])),_:1},8,["disabled"]),e.createVNode(Y,{disabled:F.disabled,onClick:D,type:"primary"},{default:e.withCtx(()=>P[5]||(P[5]=[e.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),rM={key:0},aM=Object.freeze(Object.defineProperty({__proto__:null,default:le(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},readTextColor:{},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=yt(),h=e.inject("ruleModule",void 0),I=e.inject("pageMethodMap",{}),o=w=>{const{valueKey:S="value",name:F}=A;let P={};if(P=b.value.find(Y=>Y[S]===w)||{},i.selectData&&F&&i.updateSelectData(F,P),A.onChange&&h)try{h[A.onChange](I,w,P)}catch(Y){console.error(Y)}},{currentOptions:b,loading:D}=Br(A);return(w,S)=>{var v;const F=e.resolveComponent("el-radio"),P=e.resolveComponent("el-radio-button"),Y=e.resolveComponent("el-space"),K=e.resolveComponent("el-radio-group"),U=e.resolveDirective("loading");return w.read?(e.openBlock(),e.createElementBlock("div",rM,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(Y,{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(F,{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(P,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"])),[[U,e.unref(D)]])}}}),[["__scopeId","data-v-1315a0b2"]])},Symbol.toStringTag,{value:"Module"})),sM={class:"vfc-formList"},lM={key:1},cM={class:"list-item-content"},gM={class:"card-header"},uM={style:{"margin-top":"5px"}},dM=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=yt(),I=F=>Nt(A.children,{$item:t.value[F],$index:F}),o=e.computed(()=>t.value.length>=A.maxLines),b=e.computed(()=>t.value.length<=A.minLines),D=()=>{o.value||(t.value=[...t.value,{}])},w=F=>{const P=t.value.filter((Y,K)=>K!==F);t.value=P},S=(F,P,Y,K)=>{const U=P.no,v=I(K)[U];return e.h(io,{...v,hideLabel:!0,style:{marginBottom:0},name:`${A.name}.${K}.${v.name}`})};return e.watch(t,(F,P)=>{const Y=F.reduce((Q,L,k)=>(ut.isEqual(L,P[k])||(Q=k),Q),0);if(i.value=Y,!A.children.some(Q=>Q.change))return;const K=I(Y),U=F[Y]||{},v=P[Y]||{};K.forEach(Q=>{Q.change&&v&&!ut.isEqual(U[Q.name],v[Q.name])&&Q.change.forEach(L=>{if(L.condition!==!1){if(ut.isString(L.condition)&&/^{{\s*(.*?)\s*}}$/.test(L.condition))return;const k=L.target.split(".").pop();t.value[Y][k]=L.value}})})}),e.onMounted(()=>{var F;A.minLines&&!((F=t.value)!=null&&F.length)&&(t.value=Array.from({length:A.minLines},()=>({})))}),e.provide("$objGroupBase",e.computed(()=>`${A.name}.${i.value}`)),(F,P)=>{const Y=e.resolveComponent("el-space"),K=e.resolveComponent("el-button"),U=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",sM,[e.unref(h).design?(e.openBlock(),e.createBlock(e.unref(jc),{key:0,list:F.children,class:"layoutRender"},null,8,["list"])):(e.openBlock(),e.createElementBlock("div",lM,[F.mode==="inline"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.value,(k,y)=>(e.openBlock(),e.createBlock(U,{key:k.key,class:"list-item"},{default:e.withCtx(()=>[e.createElementVNode("div",cM,[e.createVNode(Y,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:`${F.name}.${y}.${m.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),F.allowReduce&&!b.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:m=>w(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:F.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),F.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",gM,[e.createElementVNode("span",null,e.toDisplayString(F.title+(y+1)),1),F.allowReduce&&!b.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:m=>w(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:F.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:`${F.name}.${y}.${m.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):e.createCommentVNode("",!0),F.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(F.children,k=>(e.openBlock(),e.createBlock(Q,e.mergeProps({prop:k.name,label:k.label,key:k.name,ref_for:!0},e.unref(ut.pickBy)(k,Boolean),{formatter:S}),null,16,["prop","label"]))),128)),e.createVNode(Q,{fixed:"right","min-width":"60"},{default:e.withCtx(k=>[F.allowReduce&&!b.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:y=>w(k.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:F.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",uM,[F.allowAdd&&!o.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:D,type:"primary",class:"list-btn addBtn",disabled:F.disabled,size:"small",plain:""},{icon:e.withCtx(()=>[e.createVNode(e.unref(be),{name:"add"})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(F.title),1)]),_:1},8,["disabled"])):e.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),hM=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(Lt),{list:i.children},null,8,["list"])],4))}})},Symbol.toStringTag,{value:"Module"})),pM=Object.freeze(Object.defineProperty({__proto__:null,default:le(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:`${isNaN(A.gap)?12:A.gap}px`,...A.style||{}}));return(i,h)=>(e.openBlock(),e.createElementBlock("div",{class:"form-item-inline",style:e.normalizeStyle(t.value)},[e.createVNode(e.unref(Lt),{list:i.children},null,8,["list"])],4))}}),[["__scopeId","data-v-50b97afb"]])},Symbol.toStringTag,{value:"Module"})),BM={key:0},CM=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"),t=yt(),i=e.computed(()=>t.schema.read),h=I=>{["E","e","+","-"].includes(I.key)&&I.preventDefault()};return(I,o)=>{const b=e.resolveComponent("el-input-number");return I.read||i.value?(e.openBlock(),e.createElementBlock("span",BM,e.toDisplayString(typeof A.value=="number"?A.value.toFixed(I.precision||0).replace(".",","):"--"),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%"},min:I.min||0,onKeydown:h}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),mM={style:{"min-height":"32px"}},EM=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},readTextColor:{},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=yt(),I=e.computed(()=>h.schema.read),o=e.inject("ruleModule",void 0),b=e.inject("pageMethodMap",{}),D=P=>{const{valueKey:Y="value",multiple:K,name:U}=A;let v={};if(K&&Array.isArray(P)?v=w.value.filter(Q=>P.includes(Q[Y])):v=w.value.find(Q=>Q[Y]===P)||{},h.selectData&&U&&h.updateSelectData(U,v),A.onChange&&o)try{o[A.onChange](b,P,v)}catch(Q){console.error(Q)}},{currentOptions:w,loading:S}=Br(A),F=e.computed(()=>{var Y;if(A.multiple)return w.value.filter(U=>i.value.includes(U[A.valueKey])).map(U=>U[A.labelKey]).join(",");const P=(Y=w.value.find(K=>K[A.valueKey]===i.value))==null?void 0:Y[A.labelKey];return!P||`${P}`.trim().length===0?"--":P});return(P,Y)=>{const K=e.resolveComponent("el-option"),U=e.resolveComponent("el-select");return P.read||I.value?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({color:P.readTextColor})},e.toDisplayString(F.value),5)):(e.openBlock(),e.createBlock(U,e.mergeProps({key:1,modelValue:i.value,"onUpdate:modelValue":Y[0]||(Y[0]=v=>i.value=v)},P.$attrs,{onChange:D,multiple:P.multiple,clearable:t.value,filterable:"","fallback-placements":["bottom"],loading:e.unref(S)}),{loading:e.withCtx(()=>Y[1]||(Y[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",mM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(w),v=>(e.openBlock(),e.createBlock(K,{key:v[P.valueKey],label:v[P.labelKey],value:v[P.valueKey],disabled:v[P.disabledKey]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v[P.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))])]),_:1},16,["modelValue","multiple","clearable","loading"]))}}})},Symbol.toStringTag,{value:"Module"})),QM={key:0},IM=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",QM,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"})),fM=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=yt(),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"})),wM=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"})),bM=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"]))}}),DM=Object.freeze(Object.defineProperty({__proto__:null,default:yB},Symbol.toStringTag,{value:"Module"})),yM={key:0,style:{"min-width":"300px"}},vM={class:"el-upload__tip"},kM=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)=>{Yt.ElMessage.warning(`The limit is 3, you selected ${o.length} files this time, add up to ${o.length+b.length} totally`)},I=(o,b)=>Yt.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",yM,[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",vM,e.toDisplayString(o.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType"])}}})},Symbol.toStringTag,{value:"Module"}));function _M(){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 qt(n,A){return Math.floor(Math.random()*(A-n)+n)}function fs(n,A){const t=qt(n,A),i=qt(n,A),h=qt(n,A);return`rgb(${t},${i},${h})`}class MM{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=fs(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[qt(0,i.length)];this.options.code+=I,t.font=`${qt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,t.fillStyle=fs(50,160),t.shadowOffsetX=qt(-3,3),t.shadowOffsetY=qt(-3,3),t.shadowBlur=qt(-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=qt(-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=fs(40,180),t.beginPath(),t.moveTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.lineTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.stroke();for(let h=0;h<parseInt(this.options.width)/4;h++)t.fillStyle=fs(0,255),t.beginPath(),t.arc(qt(0,parseInt(this.options.width)),qt(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:_M(),...t},A&&(this.options.element=A,this._init(),this.refresh())}}const xM={class:"vfc-verify-code"},SM=Object.freeze(Object.defineProperty({__proto__:null,default:le(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=yt(),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 MM(t.value)}),(o,b)=>{const D=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",xM,[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"})),FM=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(Lt),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),NM=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(Lt),{list:b.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),RM={class:"vfc-ObjGroup"},LM={key:1,class:"vfc-ObjGroup-render"},GM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const A=n,t=yt(),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",RM,[e.unref(t).design?(e.openBlock(),e.createBlock(e.unref(jc),{key:0,list:I.children},null,8,["list"])):(e.openBlock(),e.createElementBlock("div",LM,[(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"})),PM={key:0},HM={key:0},KM={key:1},TM={key:1,class:"search-select-wrapper"},UM=Object.freeze(Object.defineProperty({__proto__:null,default:le(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:{},readTextColor:{},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=yt(),h=e.inject("ruleModule",void 0),I=e.inject("pageMethodMap",{}),o=S=>{const{valueKey:F="value",multiple:P,name:Y}=A;let K={};if(P&&Array.isArray(S)?K=D.value.filter(U=>S.includes(U[F])):K=D.value.find(U=>U[F]===S)||{},i.selectData&&Y&&i.updateSelectData(Y,K),A.onChange&&h)try{h[A.onChange](I,S,K)}catch(U){console.error(U)}},b=()=>{if(A.onSearch&&h)try{h[A.onSearch](I)}catch(S){console.error(S)}},{currentOptions:D,loading:w}=Br(A);return(S,F)=>{var v;const P=e.resolveComponent("el-option"),Y=e.resolveComponent("el-select"),K=e.resolveComponent("el-button"),U=e.resolveDirective("loading");return S.read?(e.openBlock(),e.createElementBlock("div",PM,[S.multiple?(e.openBlock(),e.createElementBlock("div",HM,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",KM,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",TM,[e.withDirectives((e.openBlock(),e.createBlock(Y,e.mergeProps({modelValue:t.value,"onUpdate:modelValue":F[0]||(F[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(P,{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"])),[[U,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"})),YM={class:"custom-tree-node"},OM={class:"tree-node-text"},$M={class:"tree-node-label"},JM={key:0,class:"tree-node-present"},zM=Object.freeze(Object.defineProperty({__proto__:null,default:le(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,F)=>{h.value=S[A.nodeKey]},o=(S,F,P)=>{if(S&&t)try{t[S](i,{node:F,data:P})}catch(Y){console.error(Y)}},b=(S,F)=>{if(A.onNodeClick&&t)try{t[A.onNodeClick](i,{node:S,data:F})}catch(P){console.error(P)}},D=(S,F,P)=>{if(A.onLoad&&t)try{t[A.onLoad](i,{node:S,resolve:F,reject:P})}catch(Y){console.error(Y)}},w=e.ref([]);return e.watch(()=>A.data,()=>{if(!A.data||!Array.isArray(A.data)||A.data.length===0)return;const F=[A.data[0][A.nodeKey]];w.value=F},{immediate:!0}),(S,F)=>{const P=e.resolveComponent("el-tooltip"),Y=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:U,data:v})=>[e.createElementVNode("div",YM,[e.createElementVNode("div",OM,[e.createElementVNode("span",$M,e.toDisplayString(U.label),1),v[S.nodeKey]===h.value?(e.openBlock(),e.createElementBlock("div",JM,"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(Nt)(Q.hidden,{$node:U,$data:v})?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Y,{key:0,link:"",onClick:e.withModifiers(L=>o(Q.onClick||"",U,v),["stop"]),disabled:Q.disabled,type:Q.type},{default:e.withCtx(()=>[e.createVNode(P,{class:"box-item",effect:"dark",content:Q.text,placement:"top","popper-class":"low-tsp"},{default:e.withCtx(()=>[Q.icon?(e.openBlock(),e.createBlock(Ke,{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"})),ZM=["id"],WM={class:"empty-content"},jM=["title"],qM=["title","onClick"],XM={key:1,class:"icon-text-wrapper"},VM=["title"],Ax=["title"],ex={class:"row-btn-wrapper"},tx=Object.freeze(Object.defineProperty({__proto__:null,default:le(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:{},rowBtnsLabel:{},rowBtnsWidth:{},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,F=e.ref(),P=(uA,W,oA)=>{z.value[uA]&&(z.value[uA][W]=oA)},Y=(uA,W)=>{const oA=t.columns.find(cA=>cA.key===uA);oA&&(oA.hidden=!W)},K=(uA,W,oA,cA)=>{try{o.value[uA.onClick](b,W,oA,cA),cA==null||cA.stopPropagation()}catch(pA){console.error(pA)}},U=uA=>{if(t.rowClick)try{o.value[t.rowClick](b,uA)}catch(W){console.error(W)}},v=uA=>{if(t.rowDbClick)try{o.value[t.rowDbClick](b,uA)}catch(W){console.error(W)}},Q=e.ref([]),L=uA=>{Q.value=uA},k=(uA,W)=>{if(!t.selectable)return!0;try{return o.value[t.selectable](b,uA,W)}catch(oA){console.error(oA)}return!0},y=()=>{var uA;(uA=F.value)==null||uA.clearSelection()},m=()=>z.value,B=e.ref(),u=uA=>{if(B.value=uA,!!t.handleCurrentChange)try{o.value[t.handleCurrentChange](b,uA)}catch(W){console.error(W)}},l=()=>B.value,g=()=>{var uA;return(uA=F.value)==null?void 0:uA.getSelectionRows()},s=async()=>!0,d=(uA,W)=>{var cA;const oA=(cA=t.topBtns)==null?void 0:cA.find(pA=>pA.key===uA);oA&&(oA.hidden=W)},p=(uA,W)=>{var cA;const oA=(cA=t.rowBtns)==null?void 0:cA.find(pA=>pA.key===uA);oA&&(oA.condition=!W)},a=e.ref(0),r=uA=>{a.value=uA},C=e.ref({pageNum:1,pageSize:t.defaultPageSize||5}),E=()=>C.value,M=uA=>{let W=!1;return uA.pageNum!==void 0&&uA.pageNum>-1&&(C.value.pageNum!==uA.pageNum&&(W=!0),C.value.pageNum=uA.pageNum),uA.pageSize!==void 0&&uA.pageSize>-1&&(C.value.pageSize!==uA.pageSize&&(W=!0),C.value.pageSize=uA.pageSize),{pagination:C.value,isChange:W}},x=async uA=>{if(C.value.pageNum=1,C.value.pageSize=uA,!t.sizeChange)return;const W=Yt.ElLoading.service({target:`#${t.name}`,text:"Loading...",body:!0});try{await o.value[t.sizeChange](b,C.value)}catch(oA){console.error(oA)}finally{W.close()}},H=async uA=>{if(C.value.pageNum=uA,!t.pageChange)return;const W=Yt.ElLoading.service({target:`#${t.name}`,text:"Loading...",body:!0});try{await o.value[t.pageChange](b,C.value)}catch(oA){console.error(oA)}finally{W.close()}},O=uA=>{var W;(W=F.value)==null||W.setCurrentRow(uA)},J=uA=>{var W;(W=F.value)==null||W.setCurrentRow(z.value[uA])},q=(uA,W,oA)=>{t.columns.forEach(cA=>{cA.key===uA&&cA[W]&&(cA[W]=oA)})},z=e.ref([]),Z=uA=>{z.value=uA},X=(uA={})=>{z.value.push(uA)},_=uA=>{uA>=0&&uA<z.value.length&&z.value.splice(uA,1)},AA=async()=>{z.value=[...z.value]},G=e.useTemplateRef("rootRef"),eA=e.readonly({...e.toRefs(t),setCellData:P,clearSelection:y,getData:m,getCurrentRow:l,getSelectedRows:g,addRow:X,deleteRow:_,refresh:AA,validate:s,setData:Z,selectRow:O,selectRowNum:J,setTotal:r,getPagination:E,setPagination:M,setTopBtnHidden:d,setColVisible:Y,setColumn:q,setRowsBtnHidden:p,rootRef:G,type:"table"}),aA=(uA,W)=>{const oA=S?S(uA.key,W):W[uA.key];if(!uA.encrypted||!oA)return oA;const cA=`${oA}`;return cA.length<=4?"*".repeat(cA.length):cA.slice(0,-4)+"****"},iA=(uA,W)=>{if(!uA.getTextStyle||!o.value)return{};try{return o.value[uA.getTextStyle](b,W,uA)}catch(oA){console.error(oA)}},dA=(uA,W)=>{if(!(!uA.getIconInfo||!o.value))try{return o.value[uA.getIconInfo](b,W,uA)}catch(oA){console.error(oA)}},EA=(uA,W)=>{if(!(!uA.getIconPopoverContent||!o.value))try{return o.value[uA.getIconPopoverContent](b,W,uA)}catch(oA){console.error(oA)}},gA=e.computed(()=>!t.rowBtns||t.rowBtns.length===0||!z.value||z.value.length===0?!1:z.value.some(uA=>{var W;return(W=t.rowBtns)==null?void 0:W.some(oA=>oA.condition===void 0||oA.condition===null?!0:Nt(oA.condition,{$row:uA,$globalParams:D()}))}));if(e.onMounted(async()=>{if(!t.onMounted||!o.value)return;await e.nextTick();const uA=t.onMounted;try{o.value[uA](b)}catch(W){console.error(W)}}),e.onActivated(()=>{if(!t.onActivated||!o.value)return;const uA=t.onActivated;try{o.value[uA](b)}catch(W){console.error(W)}}),t.name){const uA=og(t.name,eA);e.onUnmounted(()=>{uA()})}return A(eA),(uA,W)=>{const oA=e.resolveComponent("el-table-column"),cA=e.resolveComponent("el-popover"),pA=e.resolveComponent("el-tooltip"),$=e.resolveComponent("el-button"),V=e.resolveComponent("el-pagination");return uA.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["table-render",{tableBorder:i.value==="table"}]),ref_key:"rootRef",ref:G,id:uA.name},[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Yt.ElTable),{ref_key:"tableRef",ref:F,data:z.value,"highlight-current-row":"","row-key":uA.rowKey,stripe:uA.stripe,onRowClick:U,onRowDblclick:v,onSelectionChange:L,onCurrentChange:u,height:uA.height},{empty:e.withCtx(()=>[e.createElementVNode("div",WM,[e.createVNode(e.unref(be),{name:"tableEmpty",style:{width:56,height:56}}),W[2]||(W[2]=e.createElementVNode("div",null,"No data available,please check",-1))])]),default:e.withCtx(()=>[uA.multipleSelection?(e.openBlock(),e.createBlock(oA,{key:0,type:"selection",width:"55",selectable:k})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(uA.columns,tA=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:tA.key},[tA.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(oA,{key:0,prop:tA.key,"min-width":tA.minWidth,fixed:tA.fixed||!1},{header:e.withCtx(()=>[e.createElementVNode("div",{class:"text-ellipsis",title:tA.label},e.toDisplayString(tA.label),9,jM)]),default:e.withCtx(({row:sA,$index:CA})=>{var _A,YA,zA,qA;return[tA.type==="link"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["text-ellipsis link-style",{"click-style":tA.onClick}]),title:aA(tA,sA),onClick:ZA=>K(tA,sA,CA,ZA)},e.toDisplayString(aA(tA,sA)),11,qM)):tA.type==="iconText"?(e.openBlock(),e.createElementBlock("div",XM,[tA.iconPosition==="left"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[tA.iconPopover&&Array.isArray(EA(tA,sA))?(e.openBlock(),e.createBlock(cA,{key:0},{reference:e.withCtx(()=>{var ZA,ce;return[e.createVNode(Ke,{name:(ZA=dA(tA,sA))==null?void 0:ZA.name,color:(ce=dA(tA,sA))==null?void 0:ce.color},null,8,["name","color"])]}),default:e.withCtx(()=>[e.createVNode(e.unref(Lt),{list:EA(tA,sA)||[]},null,8,["list"])]),_:2},1024)):(e.openBlock(),e.createBlock(Ke,{key:1,name:(_A=dA(tA,sA))==null?void 0:_A.name,color:(YA=dA(tA,sA))==null?void 0:YA.color},null,8,["name","color"]))],64)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:"text-ellipsis",title:aA(tA,sA)},e.toDisplayString(aA(tA,sA)),9,VM),tA.iconPosition==="right"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[tA.iconPopover&&Array.isArray(EA(tA,sA))?(e.openBlock(),e.createBlock(cA,{key:0},{reference:e.withCtx(()=>{var ZA,ce;return[e.createVNode(Ke,{name:(ZA=dA(tA,sA))==null?void 0:ZA.name,color:(ce=dA(tA,sA))==null?void 0:ce.color},null,8,["name","color"])]}),default:e.withCtx(()=>[e.createVNode(e.unref(Lt),{list:EA(tA,sA)||[]},null,8,["list"])]),_:2},1024)):(e.openBlock(),e.createBlock(Ke,{key:1,name:(zA=dA(tA,sA))==null?void 0:zA.name,color:(qA=dA(tA,sA))==null?void 0:qA.color},null,8,["name","color"]))],64)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:2,class:"text-ellipsis",title:aA(tA,sA),style:e.normalizeStyle(iA(tA,sA))},e.toDisplayString(aA(tA,sA)),13,Ax))]}),_:2},1032,["prop","min-width","fixed"]))],64))),128)),gA.value&&uA.rowBtns&&uA.rowBtns.length>0?(e.openBlock(),e.createBlock(oA,{key:1,label:uA.rowBtnsLabel||"Action",fixed:"right",align:"left",width:uA.rowBtnsWidth||(uA.rowBtns.length*34+12>100?uA.rowBtns.length*34+12:100)},{default:e.withCtx(({row:tA,$index:sA})=>[e.createElementVNode("div",ex,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(uA.rowBtns,CA=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:CA.key},[CA.component==="Popover"?(e.openBlock(),e.createBlock(cA,{key:0,title:CA.label,trigger:"click","popper-class":"btn-popover",width:"400"},{reference:e.withCtx(()=>[CA.condition===void 0||CA.condition===null||e.unref(Nt)(CA.condition,{$row:tA,$globalParams:e.unref(D)()})?(e.openBlock(),e.createBlock($,{key:0,disabled:CA.disabled,link:"",size:"small",type:CA.type,onClick:e.withModifiers(_A=>K(CA,tA,sA,_A),["stop"])},{default:e.withCtx(()=>[e.createVNode(pA,{class:"box-item",effect:"dark",content:CA.label,placement:"top","popper-class":"low-tsp"},{default:e.withCtx(()=>[CA.icon?(e.openBlock(),e.createBlock(Ke,{key:0,name:CA.icon.name,color:CA.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"]),CA.buttonText?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({color:CA.buttonText.color,fontSize:"14px"})},e.toDisplayString(e.unref(Nt)(CA.buttonText.text,{$row:tA,$globalParams:e.unref(D)()})),5)):e.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(Lt),{list:CA.children},null,8,["list"])])]),_:2},1032,["title"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[CA.condition===void 0||CA.condition===null||e.unref(Nt)(CA.condition,{$row:tA,$globalParams:e.unref(D)()})?(e.openBlock(),e.createBlock($,{key:0,disabled:CA.disabled,link:"",size:"small",type:CA.type,onClick:e.withModifiers(_A=>K(CA,tA,sA,_A),["stop"])},{default:e.withCtx(()=>[e.createVNode(pA,{class:"box-item",effect:"dark",content:CA.label,placement:"top","popper-class":"low-tsp"},{default:e.withCtx(()=>[CA.icon?(e.openBlock(),e.createBlock(Ke,{key:0,name:CA.icon.name,color:CA.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"]),CA.buttonText?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({color:CA.buttonText.color,fontSize:"14px"})},e.toDisplayString(e.unref(Nt)(CA.buttonText.text,{$row:tA,$globalParams:e.unref(D)()})),5)):e.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)],64))],64))),128))])]),_:1},8,["label","width"])):e.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[e.vShow,i.value==="table"]]),e.withDirectives(e.createVNode(nc,e.mergeProps({data:z.value},t,{getColText:aA}),null,16,["data"]),[[e.vShow,i.value==="card"]]),e.createElementVNode("div",{class:e.normalizeClass(["pagination-wrapper",{hidePagination:(uA.hiddenPagination||z.value.length===0)&&!uA.height,transparentPagination:(uA.hiddenPagination||z.value.length===0)&&uA.height,cardlistPadding:i.value==="card"}])},[e.createVNode(V,{layout:uA.paginationLayout||"total,sizes, prev, pager, next,jumper",total:a.value,"page-sizes":uA.pageSizes||[5,10,20,30,40],"default-page-size":uA.defaultPageSize,"current-page":C.value.pageNum,"onUpdate:currentPage":W[0]||(W[0]=tA=>C.value.pageNum=tA),"page-size":C.value.pageSize,"onUpdate:pageSize":W[1]||(W[1]=tA=>C.value.pageSize=tA),"pager-count":Number(uA.pagerCount)||5,onSizeChange:x,onCurrentChange:H},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],10,ZM))}}}),[["__scopeId","data-v-f15796b1"]])},Symbol.toStringTag,{value:"Module"})),nx=["id"],ix={class:"left-part"},ox={class:"title"},rx={class:"right-part"},ax={key:0},sx={key:1,class:"switch-panel"},lx={key:3},cx=Object.freeze(Object.defineProperty({__proto__:null,default:le(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:{},formSlots:{},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=P=>{if(P&&A)try{A[P](t)}catch(Y){console.error(Y)}},o=P=>{i.onRadioChange&&A&&A[i.onRadioChange](t,P)},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=yt(),F=P=>{w.value=P;const Y=xi(S.schema.items,i.name),K=U=>{U.forEach(v=>{v.component==="Table"&&v.props&&(v.props.displayType=P),v.children&&v.children.length>0&&K(v.children)})};Y&&Y.children&&K(Y.children)};return F(w.value),(P,Y)=>{const K=e.resolveComponent("el-radio"),U=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:P.type==="gridItem"}]),style:e.normalizeStyle(P.style),id:P.name},[e.createElementVNode("div",{class:e.normalizeClass(["card-header",{inline:P.type==="inline",mix:P.type==="mix",default:P.type==="default",gridItem:P.type==="gridItem",collapsedPadding:D.value&&P.onCollapsed}])},[e.createElementVNode("div",ix,[P.mainIcon?(e.openBlock(),e.createBlock(Ke,{key:0,class:"title-icon",size:"large",name:P.mainIcon.name,color:P.mainIcon.color},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",ox,e.toDisplayString(P.title),1),P.radioList?(e.openBlock(),e.createBlock(U,{key:1,class:"ml-9",modelValue:h.value,"onUpdate:modelValue":Y[0]||(Y[0]=L=>h.value=L),onChange:Y[1]||(Y[1]=L=>o(h.value))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.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(P.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(Ke,{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(Ke,{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",rx,[P.formSlots?(e.openBlock(),e.createElementBlock("div",ax,[e.createVNode(e.unref(Lt),{list:P.formSlots},null,8,["list"])])):e.createCommentVNode("",!0),P.typeSwitch?(e.openBlock(),e.createElementBlock("div",sx,[e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:w.value==="card"}]),onClick:Y[2]||(Y[2]=L=>F("card"))},[e.createVNode(Ke,{name:"icon-kapian"})],2),e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:w.value==="table"}]),onClick:Y[3]||(Y[3]=L=>F("table"))},[e.createVNode(Ke,{name:"icon-biaoge"})],2)])):e.createCommentVNode("",!0),P.collapsible?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["collapse-icon-wrapper",{collapsed:D.value}]),onClick:b},[e.createVNode(Ke,{name:"icon-shaixuan"})],2)):e.createCommentVNode("",!0),P.btns&&P.btns.length>0?(e.openBlock(),e.createElementBlock("div",lx,[e.createVNode(e.unref(so),{btns:P.btns||[]},null,8,["btns"])])):e.createCommentVNode("",!0)])],2),P.onCollapsed?(e.openBlock(),e.createBlock(e.unref(Lt),{key:1,list:P.children},null,8,["list"])):(e.openBlock(),e.createBlock(Q,{key:0},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Lt),{list:P.children},null,8,["list"])],512),[[e.vShow,!D.value]])]),_:1}))],14,nx)}}}),[["__scopeId","data-v-b2c9748c"]])},Symbol.toStringTag,{value:"Module"})),gx={key:0,class:"dropdown-icon-wrapper"},ux={key:1,class:"expansion-icon-wrapper"},dx=Object.freeze(Object.defineProperty({__proto__:null,default:le(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}=Jo(),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(Lt),{list:D.children},null,8,["list"]),D.dropdown?(e.openBlock(),e.createElementBlock("div",gx,[e.createVNode(Ke,{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",ux,[e.createVNode(Ke,{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-e8750325"]])},Symbol.toStringTag,{value:"Module"})),hx={class:"content"},px={class:"product-list"},Bx={class:"attribute-list"},Cx={key:0,class:"attribute-list-item"},mx={class:"product-title attribute-title"},Ex={class:"attribute-item-list"},Qx={class:"attribute-label"},Ix={class:"attribute-value"},fx=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(Hd,{data:A.data,btns:A.btns,index:A.index},null,8,["data","btns","index"])]),default:e.withCtx(()=>[e.createElementVNode("div",hx,[t[0]||(t[0]=e.createElementVNode("div",{class:"product-title"},"Product",-1)),e.createElementVNode("div",px,[(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",Bx,[(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",Cx,[e.createElementVNode("div",mx,e.toDisplayString(h.label),1),e.createElementVNode("div",Ex,[(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",Qx,e.toDisplayString(I.label),1),e.createElementVNode("div",Ix,e.toDisplayString(I.value||"--"),1)]))),128))])])):e.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),wx={key:0,class:"empty-content"},bx=Object.freeze(Object.defineProperty({__proto__:null,default:le(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:{},rowBtnsLabel:{},rowBtnsWidth:{},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 F,P;const A=n,t=e.ref(),i=e.ref([]),h=(F=A.columns.find(Y=>Y.position==="title"))==null?void 0:F.key,I=(P=A.columns.find(Y=>Y.position==="subTitle"))==null?void 0:P.key,o=A.columns.find(Y=>Y.position==="footer"),b=Y=>{const K=[];return Y.children&&Y.children.length>0&&Y.children.forEach(U=>{const v={label:U.PRODUCT_ITEM_NAME,children:[]};U.children&&U.children.length>0&&U.children.forEach(Q=>{v.children.push({label:Q.PRODUCT_ITEM_NAME,value:Q.ACTION})}),K.push(v)}),K};function D(Y){const K={},U=[];return Y.forEach(v=>{K[v.PRODUCT_ITEM_ID]={...v,children:[]}}),Y.forEach(v=>{const Q=K[v.PRODUCT_ITEM_ID],L=v.PARENT_PRODUCT_ITEM_ID;L===0||!K[L]?U.push(Q):K[L].children.push(Q)}),U}const w=e.inject(jn),S=w?w.translateFn:null;return e.watchEffect(()=>{if(A.data){const Y=D(A.data);t.value=Y.map(K=>{const U={content:[]};return h&&(U.title=S?S(h,K):K[h],U.titleColor="#18AAF8"),I&&(U.subTitle=S?S(I,K):K[I]),o&&(U.footer={icon:o.footerIcon||"icon-tishi",text:`${o.label}: ${S?S(o.key,K):K[o.key]}`}),K.children&&(U.product=b(K)),A.columns.forEach(v=>{v.position==="content"&&U.content.push({label:v.label,value:S?S(v.key,K):K[v.key]})}),U})}}),e.onMounted(()=>{var Y;i.value=(Y=A.rowBtns)==null?void 0:Y.map(K=>({icon:K.icon&&K.icon.name?K.icon.name:"icon-tishi",label:K.label,onClick:K.onClick}))}),(Y,K)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"card-list",style:e.normalizeStyle({"--columns":Y.gridColumns,"--gap":Y.gap+"px"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,(U,v)=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item",key:v},[e.createVNode(fx,{data:U,btns:i.value,index:v},null,8,["data","btns","index"])]))),128))],4),!Y.data||Y.data.length===0?(e.openBlock(),e.createElementBlock("div",wx,[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"})),Dx={class:"progress"},yx={class:"timeline-content"},vx={class:"timeline-content__title"},kx={key:0,class:"empty-content"},_x=Object.freeze(Object.defineProperty({__proto__:null,default:le(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",Dx,[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(Ke,{name:I.iconName,size:"large"},null,8,["name"])]),default:e.withCtx(()=>[e.createElementVNode("div",yx,[e.createElementVNode("div",vx,[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",kx,[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"})),Mx={class:"log-list"},xx={class:"title-part"},Sx={class:"title"},Fx={class:"sub-title"},Nx={class:"content"},Rx={key:0},Lx=Object.freeze(Object.defineProperty({__proto__:null,default:le(e.defineComponent({__name:"LogList",props:{content:{}},setup(n){return(A,t)=>(e.openBlock(),e.createElementBlock("div",Mx,[(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",xx,[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",Sx,e.toDisplayString(i.title),1),e.createElementVNode("div",Fx,e.toDisplayString(i.subTitle),1)]),e.createElementVNode("div",Nx,[(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",Rx," ")):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=ag,wt.TableRender=rg,wt.default=k8,wt.useFormInstance=yt,wt.useRuleContext=Jo,Object.defineProperties(wt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1579
|
+
]`)}}else Ce&&(WA=zA(WA,","));for(;LA.charCodeAt(SA)===Y||LA.charCodeAt(SA)===U;)SA++,xe();if(SA>=LA.length)return WA;throw new D("Unexpected character "+JSON.stringify(LA[SA]),SA);function ye(){xe();var ie=function(){if(LA.charCodeAt(SA)!==P)return!1;{WA+="{",SA++,xe(),XA(r)&&xe();let lt=!0;for(;SA<LA.length&&LA.charCodeAt(SA)!==Y;){if(lt?lt=!1:($A(r)||(WA=qA(WA,",")),xe()),he(),!(ge()||wA())){LA.charCodeAt(SA)===Y||LA.charCodeAt(SA)===P||LA.charCodeAt(SA)===U||LA.charCodeAt(SA)===K||LA[SA]===void 0?WA=zA(WA,","):function(){throw new D("Object key expected",SA)}();break}xe();var ue=$A(E),Me=SA>=LA.length,tt=(ue||(pA(LA[SA])||Me?WA=qA(WA,":"):we()),ye());tt||(ue||Me?WA+="null":we())}return LA.charCodeAt(SA)===Y?(WA+="}",SA++):WA=qA(WA,"}"),!0}}()||function(){if(LA.charCodeAt(SA)!==K)return!1;{WA+="[",SA++,xe(),XA(r)&&xe();let Me=!0;for(;SA<LA.length&&LA.charCodeAt(SA)!==U;){Me?Me=!1:$A(r)||(WA=qA(WA,",")),he();var ue=ye();if(!ue){WA=zA(WA,",");break}}return LA.charCodeAt(SA)===U?(WA+="]",SA++):WA=qA(WA,"]"),!0}}()||ge()||function(){var ue=SA;if(LA.charCodeAt(SA)===s){if(SA++,HA())return ne(ue),!0;if(!W(LA.charCodeAt(SA)))return SA=ue,!1}for(;W(LA.charCodeAt(SA));)SA++;if(LA.charCodeAt(SA)===C){if(SA++,HA())return ne(ue),!0;if(!W(LA.charCodeAt(SA)))return SA=ue,!1;for(;W(LA.charCodeAt(SA));)SA++}if(LA.charCodeAt(SA)===J||LA.charCodeAt(SA)===O){if(SA++,LA.charCodeAt(SA)!==s&&LA.charCodeAt(SA)!==g||SA++,HA())return ne(ue),!0;if(!W(LA.charCodeAt(SA)))return SA=ue,!1;for(;W(LA.charCodeAt(SA));)SA++}var Me,tt;if(HA()){if(SA>ue)return Me=LA.slice(ue,SA),tt=/^0\d/.test(Me),WA+=tt?'"'.concat(Me,'"'):Me,!0}else SA=ue;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)===F){for(;SA<LA.length&&!function(ie,ue){return ie[ue]==="*"&&ie[ue+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 ue,Me;(ue=V(LA.charCodeAt(SA)))||(Me=LA.charCodeAt(SA))===Z||Me>=X&&Me<=_||Me===AA||Me===G||Me===eA;)ie+=ue?LA[SA]:" ",SA++;return 0<ie.length&&(WA+=ie,!0)}function $A(ie){return LA.charCodeAt(SA)===ie&&(WA+=LA[SA],SA++,!0)}function XA(ie){return LA.charCodeAt(SA)===ie&&(SA++,!0)}function he(){xe(),LA.charCodeAt(SA)===C&&LA.charCodeAt(SA+1)===C&&LA.charCodeAt(SA+2)===C&&(SA+=3,xe(),XA(r))}function ge(ie){var ue,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=CA(LA.charCodeAt(SA))?CA:YA(LA.charCodeAt(SA))?YA:_A(LA.charCodeAt(SA))?_A:sA,bA=SA,RA=WA.length;let _e='"';for(SA++;;){if(SA>=LA.length)return JA=FA(SA-1),!tt&&oA(LA.charAt(JA))?(SA=bA,WA=WA.substring(0,RA),ge(!0)):(_e=qA(_e,'"'),WA+=_e,!0);if(MA(LA.charCodeAt(SA))){var JA=SA,OA=_e.length;if(_e+='"',SA++,WA+=_e,xe(),tt||SA>=LA.length||oA(LA.charAt(SA))||tA(LA.charCodeAt(SA))||W(LA.charCodeAt(SA)))return Ee(),!0;if(oA(LA.charAt(FA(JA-1))))return SA=bA,WA=WA.substring(0,RA),ge(!0);WA=WA.substring(0,RA),SA=JA+1,_e=_e.substring(0,OA)+"\\"+_e.substring(OA)}else{if(tt&&oA(LA[SA]))return _e=qA(_e,'"'),WA+=_e,Ee(),!0;if(LA.charCodeAt(SA)===w)if(OA=LA.charAt(SA+1),ce[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))>=p&&Me<=a||Me>=x&&Me<=q||Me>=H&&Me<=z);)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===l&&LA.charCodeAt(SA-1)!==w)_e+="\\"+Ie;else if((ue=te)===k||ue===m||ue===y||ue===B||ue===u)_e+=ZA[Ie];else{if(!(32<=(ue=te)&&ue<=1114111))throw te=void 0,te=Ie,new D("Invalid character "+JSON.stringify(te),SA);_e+=Ie}SA++}}lt&&XA(w)}}return!1}function Ee(){for(xe();LA.charCodeAt(SA)===g;){SA++,xe();var ie=(WA=zA(WA,'"',!0)).length,ue=ge();WA=ue?(ue=WA,ie=ie,Me=1,ue.substring(0,ie)+ue.substring(ie+Me)):qA(WA,'"')}var Me}function ke(ie,ue){return LA.slice(SA,SA+ie.length)===ie&&(WA+=ue,SA+=ie.length,!0)}function wA(){for(var ie,ue=SA;SA<LA.length&&(!oA(ie=LA[SA])||ie==="/")&&!tA(LA.charCodeAt(SA));)SA++;if(SA>ue){if(LA.charCodeAt(SA)===v&&/^\w+$/.test(LA.slice(ue,SA).trim()))SA++,ye(),LA.charCodeAt(SA)===Q&&(SA++,LA.charCodeAt(SA)===M)&&SA++;else{for(;V(LA.charCodeAt(SA-1))&&0<SA;)SA--;ue=LA.slice(ue,SA),WA+=ue==="undefined"?"null":JSON.stringify(ue),LA.charCodeAt(SA)===l&&SA++}return!0}}function FA(ie){let ue=ie;for(;0<ue&&V(LA.charCodeAt(ue));)ue--;return ue}function HA(){return SA>=LA.length||oA(LA[SA])||V(LA.charCodeAt(SA))}function ne(ie){WA+=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 L8=DB.exports;const G8=fu(L8),P8={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 P=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()){P("");return}try{const K=this.editor.get();P(K)}catch{}},h=()=>{this.expandAll()},I=(P,Y,K)=>{this.$emit("textSelectionChange",this.editor,P,Y,K)},o=(P,Y)=>{this.$emit("selectionChange",this.editor,P,Y)},b=(P,Y,K)=>{this.$emit("colorPicker",this.editor,P,Y,K)},D=({target:P})=>{this.$emit("focus",this.editor,P)},w=({target:P})=>{this.$emit("blur",this.editor,P)},S=P=>{this.$emit("validationError",this.editor,P)},F={...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 G8(this.$refs.jsonEditorVue,F,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)}}},H8={ref:"jsonEditorVue",class:"json-editor-vue"};function K8(n,A,t,i,h,I){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["container",{"full-screen-container":h.isFullScreen}])},[e.createElementVNode("div",H8,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 T8=le(P8,[["render",K8],["__scopeId","data-v-c53d52f1"]]),U8=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(lD),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:e.withCtx(()=>[e.createVNode(T8,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"})),Y8={key:0},O8=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},readTextColor:{},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=yt(),{currentOptions:h,selectChange:I,loading:o}=Br(A),{ruleModule:b,pageMethodMap:D}=Jo(),w=S=>{if(I(S),A.onChange&&b)try{b[A.onChange](D,S)}catch(F){console.error(F)}};return e.watch(t,I),(S,F)=>{var Q;const P=e.resolveComponent("el-checkbox"),Y=e.resolveComponent("el-checkbox-button"),K=e.resolveComponent("el-space"),U=e.resolveComponent("el-checkbox-group"),v=e.resolveDirective("loading");return e.unref(i).schema.read?(e.openBlock(),e.createElementBlock("div",Y8,e.toDisplayString((Q=t.value)==null?void 0:Q.map(L=>{var k;return(k=e.unref(h).find(y=>y[S.valueKey]===L))==null?void 0:k[S.labelKey]}).join("、")),1)):e.withDirectives((e.openBlock(),e.createBlock(U,e.mergeProps({key:1},S.$attrs,{modelValue:t.value,"onUpdate:modelValue":F[0]||(F[0]=L=>t.value=L),onChange:w}),{default:e.withCtx(()=>[S.optionType==="circle"||S.optionType==="border"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(h),L=>(e.openBlock(),e.createBlock(P,{key:L[S.valueKey],label:L[S.labelKey],value:L[S.valueKey],border:S.optionType==="border"},null,8,["label","value","border"]))),128)):e.createCommentVNode("",!0),S.optionType==="button"?(e.openBlock(),e.createBlock(K,{key:1,wrap:"",size:[S.space,S.space]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(h),L=>(e.openBlock(),e.createBlock(Y,{key:L[S.valueKey],label:L[S.labelKey],value:L[S.valueKey],size:"large"},null,8,["label","value"]))),128))]),_:1},8,["size"])):e.createCommentVNode("",!0)]),_:1},16,["modelValue"])),[[v,e.unref(o)]])}}})},Symbol.toStringTag,{value:"Module"})),$8={class:"vfc-color-input"},J8=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",$8,[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"},Z8=Object.freeze(Object.defineProperty({__proto__:null,default:le(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"})),W8={key:0},j8=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=yt(),h=e.computed(()=>i.schema.read),I=e.computed(()=>A.value?t.valueFormat?Yt.dayjs(A.value).format(t.valueFormat):A.value:"--"),o=[{text:"Today",value:new Date}];return(b,D)=>{const w=e.resolveComponent("el-date-picker");return b.read||h.value?(e.openBlock(),e.createElementBlock("span",W8,e.toDisplayString(I.value),1)):(e.openBlock(),e.createBlock(w,e.mergeProps({key:1},b.$attrs,{modelValue:A.value,"onUpdate:modelValue":D[0]||(D[0]=S=>A.value=S),style:{width:"100%"},shortcuts:o}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),q8=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"})),X8=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),F=e.computed(()=>n.bgColor?n.bgColor:"rgba(255, 255, 255, 0)");e.watch(F,k=>{w.value&&(w.value.style.background=k)});const P=()=>{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=F.value,P(),document.onmouseup=()=>{b.value=!1}),window.addEventListener("resize",P)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",P)});const Y=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))},U=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((B,u)=>{if(!A.value){u("Warning: Not Signed!");return}if(h.value){const l=h.value.getImageData(0,0,w.value.width,w.value.height);h.value.globalCompositeOperation="destination-over",h.value.fillStyle=F.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(l,0,0),h.value.globalCompositeOperation="source-over",n.isCrop){const s=L(l.data),d=document.createElement("canvas"),p=d.getContext("2d");if(p){d.width=s[2]-s[0],d.height=s[3]-s[1];const a=h.value.getImageData(s[0],s[1],s[2],s[3]);p.globalCompositeOperation="destination-over",p.putImageData(a,0,0),p.fillStyle=F.value,p.fillRect(0,0,d.width,d.height),g=d.toDataURL(y,m)}}B(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,B=w.value.height,u=0;for(let l=0;l<w.value.width;l++)for(let g=0;g<w.value.height;g++){const s=(l+w.value.width*g)*4;(k[s]>0||k[s+1]>0||k[s+2]>0||k[s+3]>0)&&(u=Math.max(g,u),m=Math.max(l,m),B=Math.min(g,B),y=Math.min(l,y))}return[y+1,B+1,m+1,u+1]};return{canvas:w,myBg:F,drawStart:Y,drawMove:K,drawEnd:U,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(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};U(y)}},mouseDown:k=>{k.preventDefault(),b.value=!0,A.value=!0;const y={x:k.offsetX,y:k.offsetY};Y(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};U(y),b.value=!1}}}});function V8(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 AM=le(X8,[["render",V8],["__scopeId","data-v-5f3bfcf7"]]),eM={key:0},tM={class:"vfc-esign-preview"},nM=["src"],iM={key:1,class:"vfc-esign"},oM=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=yt(),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(F=>{h.value=F}).catch(F=>{alert(F)})},w=e.ref(""),S=()=>{w.value=h.value,h.value=""};return e.onMounted(()=>{Object.assign(o.value,A)}),(F,P)=>{const Y=e.resolveComponent("el-button");return e.unref(i).read||h.value?(e.openBlock(),e.createElementBlock("div",eM,[e.createElementVNode("div",tM,[e.createElementVNode("img",{src:h.value,alt:"未签名"},null,8,nM)]),e.unref(i).read?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Y,{key:0,disabled:F.disabled,onClick:S,type:"primary"},{default:e.withCtx(()=>P[2]||(P[2]=[e.createTextVNode("重写")])),_:1},8,["disabled"]))])):(e.openBlock(),e.createElementBlock("div",iM,[e.createVNode(e.unref(fn),{modelValue:o.value,"onUpdate:modelValue":P[0]||(P[0]=K=>o.value=K),schema:I,class:"vfc-esign-actions"},null,8,["modelValue"]),e.createVNode(AM,{class:"vfc-esign-canvas",ref_key:"esign",ref:t,width:F.width,height:F.height,isCrop:F.isCrop,lineWidth:o.value.lineWidth,lineColor:o.value.lineColor,bgColor:o.value.bgColor,format:F.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),e.createElementVNode("div",null,[w.value?(e.openBlock(),e.createBlock(Y,{key:0,disabled:F.disabled,onClick:P[1]||(P[1]=K=>h.value=w.value),plain:"",type:"primary"},{default:e.withCtx(()=>P[3]||(P[3]=[e.createTextVNode("取消")])),_:1},8,["disabled"])):e.createCommentVNode("",!0),e.createVNode(Y,{disabled:F.disabled,onClick:b,plain:"",type:"primary"},{default:e.withCtx(()=>P[4]||(P[4]=[e.createTextVNode("清空")])),_:1},8,["disabled"]),e.createVNode(Y,{disabled:F.disabled,onClick:D,type:"primary"},{default:e.withCtx(()=>P[5]||(P[5]=[e.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),rM={key:0},aM=Object.freeze(Object.defineProperty({__proto__:null,default:le(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},readTextColor:{},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=yt(),h=e.inject("ruleModule",void 0),I=e.inject("pageMethodMap",{}),o=w=>{const{valueKey:S="value",name:F}=A;let P={};if(P=b.value.find(Y=>Y[S]===w)||{},i.selectData&&F&&i.updateSelectData(F,P),A.onChange&&h)try{h[A.onChange](I,w,P)}catch(Y){console.error(Y)}},{currentOptions:b,loading:D}=Br(A);return(w,S)=>{var v;const F=e.resolveComponent("el-radio"),P=e.resolveComponent("el-radio-button"),Y=e.resolveComponent("el-space"),K=e.resolveComponent("el-radio-group"),U=e.resolveDirective("loading");return w.read?(e.openBlock(),e.createElementBlock("div",rM,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(Y,{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(F,{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(P,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"])),[[U,e.unref(D)]])}}}),[["__scopeId","data-v-3a3fdad0"]])},Symbol.toStringTag,{value:"Module"})),sM={class:"vfc-formList"},lM={key:1},cM={class:"list-item-content"},gM={class:"card-header"},uM={style:{"margin-top":"5px"}},dM=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=yt(),I=F=>Nt(A.children,{$item:t.value[F],$index:F}),o=e.computed(()=>t.value.length>=A.maxLines),b=e.computed(()=>t.value.length<=A.minLines),D=()=>{o.value||(t.value=[...t.value,{}])},w=F=>{const P=t.value.filter((Y,K)=>K!==F);t.value=P},S=(F,P,Y,K)=>{const U=P.no,v=I(K)[U];return e.h(io,{...v,hideLabel:!0,style:{marginBottom:0},name:`${A.name}.${K}.${v.name}`})};return e.watch(t,(F,P)=>{const Y=F.reduce((Q,L,k)=>(ut.isEqual(L,P[k])||(Q=k),Q),0);if(i.value=Y,!A.children.some(Q=>Q.change))return;const K=I(Y),U=F[Y]||{},v=P[Y]||{};K.forEach(Q=>{Q.change&&v&&!ut.isEqual(U[Q.name],v[Q.name])&&Q.change.forEach(L=>{if(L.condition!==!1){if(ut.isString(L.condition)&&/^{{\s*(.*?)\s*}}$/.test(L.condition))return;const k=L.target.split(".").pop();t.value[Y][k]=L.value}})})}),e.onMounted(()=>{var F;A.minLines&&!((F=t.value)!=null&&F.length)&&(t.value=Array.from({length:A.minLines},()=>({})))}),e.provide("$objGroupBase",e.computed(()=>`${A.name}.${i.value}`)),(F,P)=>{const Y=e.resolveComponent("el-space"),K=e.resolveComponent("el-button"),U=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",sM,[e.unref(h).design?(e.openBlock(),e.createBlock(e.unref(jc),{key:0,list:F.children,class:"layoutRender"},null,8,["list"])):(e.openBlock(),e.createElementBlock("div",lM,[F.mode==="inline"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.value,(k,y)=>(e.openBlock(),e.createBlock(U,{key:k.key,class:"list-item"},{default:e.withCtx(()=>[e.createElementVNode("div",cM,[e.createVNode(Y,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:`${F.name}.${y}.${m.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),F.allowReduce&&!b.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:m=>w(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:F.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),F.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",gM,[e.createElementVNode("span",null,e.toDisplayString(F.title+(y+1)),1),F.allowReduce&&!b.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:m=>w(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:F.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:`${F.name}.${y}.${m.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):e.createCommentVNode("",!0),F.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(F.children,k=>(e.openBlock(),e.createBlock(Q,e.mergeProps({prop:k.name,label:k.label,key:k.name,ref_for:!0},e.unref(ut.pickBy)(k,Boolean),{formatter:S}),null,16,["prop","label"]))),128)),e.createVNode(Q,{fixed:"right","min-width":"60"},{default:e.withCtx(k=>[F.allowReduce&&!b.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:y=>w(k.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:F.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",uM,[F.allowAdd&&!o.value?(e.openBlock(),e.createBlock(K,{key:0,onClick:D,type:"primary",class:"list-btn addBtn",disabled:F.disabled,size:"small",plain:""},{icon:e.withCtx(()=>[e.createVNode(e.unref(be),{name:"add"})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(F.title),1)]),_:1},8,["disabled"])):e.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),hM=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(Lt),{list:i.children},null,8,["list"])],4))}})},Symbol.toStringTag,{value:"Module"})),pM=Object.freeze(Object.defineProperty({__proto__:null,default:le(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:`${isNaN(A.gap)?12:A.gap}px`,...A.style||{}}));return(i,h)=>(e.openBlock(),e.createElementBlock("div",{class:"form-item-inline",style:e.normalizeStyle(t.value)},[e.createVNode(e.unref(Lt),{list:i.children},null,8,["list"])],4))}}),[["__scopeId","data-v-8ba696e7"]])},Symbol.toStringTag,{value:"Module"})),BM={key:0},CM=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"),t=yt(),i=e.computed(()=>t.schema.read),h=I=>{["E","e","+","-"].includes(I.key)&&I.preventDefault()};return(I,o)=>{const b=e.resolveComponent("el-input-number");return I.read||i.value?(e.openBlock(),e.createElementBlock("span",BM,e.toDisplayString(typeof A.value=="number"?A.value.toFixed(I.precision||0).replace(".",","):"--"),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%"},min:I.min||0,onKeydown:h}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),mM={style:{"min-height":"32px"}},EM=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},readTextColor:{},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=yt(),I=e.computed(()=>h.schema.read),o=e.inject("ruleModule",void 0),b=e.inject("pageMethodMap",{}),D=P=>{const{valueKey:Y="value",multiple:K,name:U}=A;let v={};if(K&&Array.isArray(P)?v=w.value.filter(Q=>P.includes(Q[Y])):v=w.value.find(Q=>Q[Y]===P)||{},h.selectData&&U&&h.updateSelectData(U,v),A.onChange&&o)try{o[A.onChange](b,P,v)}catch(Q){console.error(Q)}},{currentOptions:w,loading:S}=Br(A),F=e.computed(()=>{var Y;if(A.multiple)return w.value.filter(U=>i.value.includes(U[A.valueKey])).map(U=>U[A.labelKey]).join(",");const P=(Y=w.value.find(K=>K[A.valueKey]===i.value))==null?void 0:Y[A.labelKey];return!P||`${P}`.trim().length===0?"--":P});return(P,Y)=>{const K=e.resolveComponent("el-option"),U=e.resolveComponent("el-select");return P.read||I.value?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({color:P.readTextColor})},e.toDisplayString(F.value),5)):(e.openBlock(),e.createBlock(U,e.mergeProps({key:1,modelValue:i.value,"onUpdate:modelValue":Y[0]||(Y[0]=v=>i.value=v)},P.$attrs,{onChange:D,multiple:P.multiple,clearable:t.value,filterable:"","fallback-placements":["bottom"],loading:e.unref(S)}),{loading:e.withCtx(()=>Y[1]||(Y[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",mM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(w),v=>(e.openBlock(),e.createBlock(K,{key:v[P.valueKey],label:v[P.labelKey],value:v[P.valueKey],disabled:v[P.disabledKey]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v[P.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))])]),_:1},16,["modelValue","multiple","clearable","loading"]))}}})},Symbol.toStringTag,{value:"Module"})),QM={key:0},IM=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",QM,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"})),fM=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=yt(),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"})),wM=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"})),bM=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"]))}}),DM=Object.freeze(Object.defineProperty({__proto__:null,default:yB},Symbol.toStringTag,{value:"Module"})),yM={key:0,style:{"min-width":"300px"}},vM={class:"el-upload__tip"},kM=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)=>{Yt.ElMessage.warning(`The limit is 3, you selected ${o.length} files this time, add up to ${o.length+b.length} totally`)},I=(o,b)=>Yt.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",yM,[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",vM,e.toDisplayString(o.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType"])}}})},Symbol.toStringTag,{value:"Module"}));function _M(){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 qt(n,A){return Math.floor(Math.random()*(A-n)+n)}function fs(n,A){const t=qt(n,A),i=qt(n,A),h=qt(n,A);return`rgb(${t},${i},${h})`}class MM{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=fs(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[qt(0,i.length)];this.options.code+=I,t.font=`${qt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,t.fillStyle=fs(50,160),t.shadowOffsetX=qt(-3,3),t.shadowOffsetY=qt(-3,3),t.shadowBlur=qt(-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=qt(-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=fs(40,180),t.beginPath(),t.moveTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.lineTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.stroke();for(let h=0;h<parseInt(this.options.width)/4;h++)t.fillStyle=fs(0,255),t.beginPath(),t.arc(qt(0,parseInt(this.options.width)),qt(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:_M(),...t},A&&(this.options.element=A,this._init(),this.refresh())}}const xM={class:"vfc-verify-code"},SM=Object.freeze(Object.defineProperty({__proto__:null,default:le(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=yt(),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 MM(t.value)}),(o,b)=>{const D=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",xM,[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"})),FM=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(Lt),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),NM=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(Lt),{list:b.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),RM={class:"vfc-ObjGroup"},LM={key:1,class:"vfc-ObjGroup-render"},GM=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const A=n,t=yt(),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",RM,[e.unref(t).design?(e.openBlock(),e.createBlock(e.unref(jc),{key:0,list:I.children},null,8,["list"])):(e.openBlock(),e.createElementBlock("div",LM,[(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"})),PM={key:0},HM={key:0},KM={key:1},TM={key:1,class:"search-select-wrapper"},UM=Object.freeze(Object.defineProperty({__proto__:null,default:le(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:{},readTextColor:{},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=yt(),h=e.inject("ruleModule",void 0),I=e.inject("pageMethodMap",{}),o=S=>{const{valueKey:F="value",multiple:P,name:Y}=A;let K={};if(P&&Array.isArray(S)?K=D.value.filter(U=>S.includes(U[F])):K=D.value.find(U=>U[F]===S)||{},i.selectData&&Y&&i.updateSelectData(Y,K),A.onChange&&h)try{h[A.onChange](I,S,K)}catch(U){console.error(U)}},b=()=>{if(A.onSearch&&h)try{h[A.onSearch](I)}catch(S){console.error(S)}},{currentOptions:D,loading:w}=Br(A);return(S,F)=>{var v;const P=e.resolveComponent("el-option"),Y=e.resolveComponent("el-select"),K=e.resolveComponent("el-button"),U=e.resolveDirective("loading");return S.read?(e.openBlock(),e.createElementBlock("div",PM,[S.multiple?(e.openBlock(),e.createElementBlock("div",HM,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",KM,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",TM,[e.withDirectives((e.openBlock(),e.createBlock(Y,e.mergeProps({modelValue:t.value,"onUpdate:modelValue":F[0]||(F[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(P,{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"])),[[U,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"})),YM={class:"custom-tree-node"},OM={class:"tree-node-text"},$M={class:"tree-node-label"},JM={key:0,class:"tree-node-present"},zM=Object.freeze(Object.defineProperty({__proto__:null,default:le(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,F)=>{h.value=S[A.nodeKey]},o=(S,F,P)=>{if(S&&t)try{t[S](i,{node:F,data:P})}catch(Y){console.error(Y)}},b=(S,F)=>{if(A.onNodeClick&&t)try{t[A.onNodeClick](i,{node:S,data:F})}catch(P){console.error(P)}},D=(S,F,P)=>{if(A.onLoad&&t)try{t[A.onLoad](i,{node:S,resolve:F,reject:P})}catch(Y){console.error(Y)}},w=e.ref([]);return e.watch(()=>A.data,()=>{if(!A.data||!Array.isArray(A.data)||A.data.length===0)return;const F=[A.data[0][A.nodeKey]];w.value=F},{immediate:!0}),(S,F)=>{const P=e.resolveComponent("el-tooltip"),Y=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:U,data:v})=>[e.createElementVNode("div",YM,[e.createElementVNode("div",OM,[e.createElementVNode("span",$M,e.toDisplayString(U.label),1),v[S.nodeKey]===h.value?(e.openBlock(),e.createElementBlock("div",JM,"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(Nt)(Q.hidden,{$node:U,$data:v})?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Y,{key:0,link:"",onClick:e.withModifiers(L=>o(Q.onClick||"",U,v),["stop"]),disabled:Q.disabled,type:Q.type},{default:e.withCtx(()=>[e.createVNode(P,{class:"box-item",effect:"dark",content:Q.text,placement:"top","popper-class":"low-tsp"},{default:e.withCtx(()=>[Q.icon?(e.openBlock(),e.createBlock(Ke,{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-9e90e1aa"]])},Symbol.toStringTag,{value:"Module"})),ZM=["id"],WM={class:"empty-content"},jM=["title"],qM=["title","onClick"],XM={key:1,class:"icon-text-wrapper"},VM=["title"],Ax=["title"],ex={class:"row-btn-wrapper"},tx=Object.freeze(Object.defineProperty({__proto__:null,default:le(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:{},rowBtnsLabel:{},rowBtnsWidth:{},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,F=e.ref(),P=(uA,W,oA)=>{z.value[uA]&&(z.value[uA][W]=oA)},Y=(uA,W)=>{const oA=t.columns.find(cA=>cA.key===uA);oA&&(oA.hidden=!W)},K=(uA,W,oA,cA)=>{try{o.value[uA.onClick](b,W,oA,cA),cA==null||cA.stopPropagation()}catch(pA){console.error(pA)}},U=uA=>{if(t.rowClick)try{o.value[t.rowClick](b,uA)}catch(W){console.error(W)}},v=uA=>{if(t.rowDbClick)try{o.value[t.rowDbClick](b,uA)}catch(W){console.error(W)}},Q=e.ref([]),L=uA=>{Q.value=uA},k=(uA,W)=>{if(!t.selectable)return!0;try{return o.value[t.selectable](b,uA,W)}catch(oA){console.error(oA)}return!0},y=()=>{var uA;(uA=F.value)==null||uA.clearSelection()},m=()=>z.value,B=e.ref(),u=uA=>{if(B.value=uA,!!t.handleCurrentChange)try{o.value[t.handleCurrentChange](b,uA)}catch(W){console.error(W)}},l=()=>B.value,g=()=>{var uA;return(uA=F.value)==null?void 0:uA.getSelectionRows()},s=async()=>!0,d=(uA,W)=>{var cA;const oA=(cA=t.topBtns)==null?void 0:cA.find(pA=>pA.key===uA);oA&&(oA.hidden=W)},p=(uA,W)=>{var cA;const oA=(cA=t.rowBtns)==null?void 0:cA.find(pA=>pA.key===uA);oA&&(oA.condition=!W)},a=e.ref(0),r=uA=>{a.value=uA},C=e.ref({pageNum:1,pageSize:t.defaultPageSize||5}),E=()=>C.value,M=uA=>{let W=!1;return uA.pageNum!==void 0&&uA.pageNum>-1&&(C.value.pageNum!==uA.pageNum&&(W=!0),C.value.pageNum=uA.pageNum),uA.pageSize!==void 0&&uA.pageSize>-1&&(C.value.pageSize!==uA.pageSize&&(W=!0),C.value.pageSize=uA.pageSize),{pagination:C.value,isChange:W}},x=async uA=>{if(C.value.pageNum=1,C.value.pageSize=uA,!t.sizeChange)return;const W=Yt.ElLoading.service({target:`#${t.name}`,text:"Loading...",body:!0});try{await o.value[t.sizeChange](b,C.value)}catch(oA){console.error(oA)}finally{W.close()}},H=async uA=>{if(C.value.pageNum=uA,!t.pageChange)return;const W=Yt.ElLoading.service({target:`#${t.name}`,text:"Loading...",body:!0});try{await o.value[t.pageChange](b,C.value)}catch(oA){console.error(oA)}finally{W.close()}},O=uA=>{var W;(W=F.value)==null||W.setCurrentRow(uA)},J=uA=>{var W;(W=F.value)==null||W.setCurrentRow(z.value[uA])},q=(uA,W,oA)=>{t.columns.forEach(cA=>{cA.key===uA&&cA[W]&&(cA[W]=oA)})},z=e.ref([]),Z=uA=>{z.value=uA},X=(uA={})=>{z.value.push(uA)},_=uA=>{uA>=0&&uA<z.value.length&&z.value.splice(uA,1)},AA=async()=>{z.value=[...z.value]},G=e.useTemplateRef("rootRef"),eA=e.readonly({...e.toRefs(t),setCellData:P,clearSelection:y,getData:m,getCurrentRow:l,getSelectedRows:g,addRow:X,deleteRow:_,refresh:AA,validate:s,setData:Z,selectRow:O,selectRowNum:J,setTotal:r,getPagination:E,setPagination:M,setTopBtnHidden:d,setColVisible:Y,setColumn:q,setRowsBtnHidden:p,rootRef:G,type:"table"}),aA=(uA,W)=>{const oA=S?S(uA.key,W):W[uA.key];if(!uA.encrypted||!oA)return oA;const cA=`${oA}`;return cA.length<=4?"*".repeat(cA.length):cA.slice(0,-4)+"****"},iA=(uA,W)=>{if(!uA.getTextStyle||!o.value)return{};try{return o.value[uA.getTextStyle](b,W,uA)}catch(oA){console.error(oA)}},dA=(uA,W)=>{if(!(!uA.getIconInfo||!o.value))try{return o.value[uA.getIconInfo](b,W,uA)}catch(oA){console.error(oA)}},EA=(uA,W)=>{if(!(!uA.getIconPopoverContent||!o.value))try{return o.value[uA.getIconPopoverContent](b,W,uA)}catch(oA){console.error(oA)}},gA=e.computed(()=>!t.rowBtns||t.rowBtns.length===0||!z.value||z.value.length===0?!1:z.value.some(uA=>{var W;return(W=t.rowBtns)==null?void 0:W.some(oA=>oA.condition===void 0||oA.condition===null?!0:Nt(oA.condition,{$row:uA,$globalParams:D()}))}));if(e.onMounted(async()=>{if(!t.onMounted||!o.value)return;await e.nextTick();const uA=t.onMounted;try{o.value[uA](b)}catch(W){console.error(W)}}),e.onActivated(()=>{if(!t.onActivated||!o.value)return;const uA=t.onActivated;try{o.value[uA](b)}catch(W){console.error(W)}}),t.name){const uA=og(t.name,eA);e.onUnmounted(()=>{uA()})}return A(eA),(uA,W)=>{const oA=e.resolveComponent("el-table-column"),cA=e.resolveComponent("el-popover"),pA=e.resolveComponent("el-tooltip"),$=e.resolveComponent("el-button"),V=e.resolveComponent("el-pagination");return uA.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["table-render",{tableBorder:i.value==="table"}]),ref_key:"rootRef",ref:G,id:uA.name},[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Yt.ElTable),{ref_key:"tableRef",ref:F,data:z.value,"highlight-current-row":"","row-key":uA.rowKey,stripe:uA.stripe,onRowClick:U,onRowDblclick:v,onSelectionChange:L,onCurrentChange:u,height:uA.height},{empty:e.withCtx(()=>[e.createElementVNode("div",WM,[e.createVNode(e.unref(be),{name:"tableEmpty",style:{width:56,height:56}}),W[2]||(W[2]=e.createElementVNode("div",null,"No data available,please check",-1))])]),default:e.withCtx(()=>[uA.multipleSelection?(e.openBlock(),e.createBlock(oA,{key:0,type:"selection",width:"55",selectable:k})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(uA.columns,tA=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:tA.key},[tA.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(oA,{key:0,prop:tA.key,"min-width":tA.minWidth,fixed:tA.fixed||!1},{header:e.withCtx(()=>[e.createElementVNode("div",{class:"text-ellipsis",title:tA.label},e.toDisplayString(tA.label),9,jM)]),default:e.withCtx(({row:sA,$index:CA})=>{var _A,YA,zA,qA;return[tA.type==="link"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["text-ellipsis link-style",{"click-style":tA.onClick}]),title:aA(tA,sA),onClick:ZA=>K(tA,sA,CA,ZA)},e.toDisplayString(aA(tA,sA)),11,qM)):tA.type==="iconText"?(e.openBlock(),e.createElementBlock("div",XM,[tA.iconPosition==="left"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[tA.iconPopover&&Array.isArray(EA(tA,sA))?(e.openBlock(),e.createBlock(cA,{key:0},{reference:e.withCtx(()=>{var ZA,ce;return[e.createVNode(Ke,{name:(ZA=dA(tA,sA))==null?void 0:ZA.name,color:(ce=dA(tA,sA))==null?void 0:ce.color},null,8,["name","color"])]}),default:e.withCtx(()=>[e.createVNode(e.unref(Lt),{list:EA(tA,sA)||[]},null,8,["list"])]),_:2},1024)):(e.openBlock(),e.createBlock(Ke,{key:1,name:(_A=dA(tA,sA))==null?void 0:_A.name,color:(YA=dA(tA,sA))==null?void 0:YA.color},null,8,["name","color"]))],64)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:"text-ellipsis",title:aA(tA,sA)},e.toDisplayString(aA(tA,sA)),9,VM),tA.iconPosition==="right"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[tA.iconPopover&&Array.isArray(EA(tA,sA))?(e.openBlock(),e.createBlock(cA,{key:0},{reference:e.withCtx(()=>{var ZA,ce;return[e.createVNode(Ke,{name:(ZA=dA(tA,sA))==null?void 0:ZA.name,color:(ce=dA(tA,sA))==null?void 0:ce.color},null,8,["name","color"])]}),default:e.withCtx(()=>[e.createVNode(e.unref(Lt),{list:EA(tA,sA)||[]},null,8,["list"])]),_:2},1024)):(e.openBlock(),e.createBlock(Ke,{key:1,name:(zA=dA(tA,sA))==null?void 0:zA.name,color:(qA=dA(tA,sA))==null?void 0:qA.color},null,8,["name","color"]))],64)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:2,class:"text-ellipsis",title:aA(tA,sA),style:e.normalizeStyle(iA(tA,sA))},e.toDisplayString(aA(tA,sA)),13,Ax))]}),_:2},1032,["prop","min-width","fixed"]))],64))),128)),gA.value&&uA.rowBtns&&uA.rowBtns.length>0?(e.openBlock(),e.createBlock(oA,{key:1,label:uA.rowBtnsLabel||"Action",fixed:"right",align:"left",width:uA.rowBtnsWidth||(uA.rowBtns.length*34+12>100?uA.rowBtns.length*34+12:100)},{default:e.withCtx(({row:tA,$index:sA})=>[e.createElementVNode("div",ex,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(uA.rowBtns,CA=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:CA.key},[CA.component==="Popover"?(e.openBlock(),e.createBlock(cA,{key:0,title:CA.label,trigger:"click","popper-class":"btn-popover",width:"400"},{reference:e.withCtx(()=>[CA.condition===void 0||CA.condition===null||e.unref(Nt)(CA.condition,{$row:tA,$globalParams:e.unref(D)()})?(e.openBlock(),e.createBlock($,{key:0,disabled:CA.disabled,link:"",size:"small",type:CA.type,onClick:e.withModifiers(_A=>K(CA,tA,sA,_A),["stop"])},{default:e.withCtx(()=>[e.createVNode(pA,{class:"box-item",effect:"dark",content:CA.label,placement:"top","popper-class":"low-tsp"},{default:e.withCtx(()=>[CA.icon?(e.openBlock(),e.createBlock(Ke,{key:0,name:CA.icon.name,color:CA.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"]),CA.buttonText?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({color:CA.buttonText.color,fontSize:"14px"})},e.toDisplayString(e.unref(Nt)(CA.buttonText.text,{$row:tA,$globalParams:e.unref(D)()})),5)):e.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(Lt),{list:CA.children},null,8,["list"])])]),_:2},1032,["title"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[CA.condition===void 0||CA.condition===null||e.unref(Nt)(CA.condition,{$row:tA,$globalParams:e.unref(D)()})?(e.openBlock(),e.createBlock($,{key:0,disabled:CA.disabled,link:"",size:"small",type:CA.type,onClick:e.withModifiers(_A=>K(CA,tA,sA,_A),["stop"])},{default:e.withCtx(()=>[e.createVNode(pA,{class:"box-item",effect:"dark",content:CA.label,placement:"top","popper-class":"low-tsp"},{default:e.withCtx(()=>[CA.icon?(e.openBlock(),e.createBlock(Ke,{key:0,name:CA.icon.name,color:CA.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"]),CA.buttonText?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({color:CA.buttonText.color,fontSize:"14px"})},e.toDisplayString(e.unref(Nt)(CA.buttonText.text,{$row:tA,$globalParams:e.unref(D)()})),5)):e.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)],64))],64))),128))])]),_:1},8,["label","width"])):e.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[e.vShow,i.value==="table"]]),e.withDirectives(e.createVNode(nc,e.mergeProps({data:z.value},t,{getColText:aA}),null,16,["data"]),[[e.vShow,i.value==="card"]]),e.createElementVNode("div",{class:e.normalizeClass(["pagination-wrapper",{hidePagination:(uA.hiddenPagination||z.value.length===0)&&!uA.height,transparentPagination:(uA.hiddenPagination||z.value.length===0)&&uA.height,cardlistPadding:i.value==="card"}])},[e.createVNode(V,{layout:uA.paginationLayout||"total,sizes, prev, pager, next,jumper",total:a.value,"page-sizes":uA.pageSizes||[5,10,20,30,40],"default-page-size":uA.defaultPageSize,"current-page":C.value.pageNum,"onUpdate:currentPage":W[0]||(W[0]=tA=>C.value.pageNum=tA),"page-size":C.value.pageSize,"onUpdate:pageSize":W[1]||(W[1]=tA=>C.value.pageSize=tA),"pager-count":Number(uA.pagerCount)||5,onSizeChange:x,onCurrentChange:H},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],10,ZM))}}}),[["__scopeId","data-v-75401624"]])},Symbol.toStringTag,{value:"Module"})),nx=["id"],ix={class:"left-part"},ox={class:"title"},rx={class:"right-part"},ax={key:0},sx={key:1,class:"switch-panel"},lx={key:3},cx=Object.freeze(Object.defineProperty({__proto__:null,default:le(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:{},formSlots:{},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=P=>{if(P&&A)try{A[P](t)}catch(Y){console.error(Y)}},o=P=>{i.onRadioChange&&A&&A[i.onRadioChange](t,P)},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=yt(),F=P=>{w.value=P;const Y=xi(S.schema.items,i.name),K=U=>{U.forEach(v=>{v.component==="Table"&&v.props&&(v.props.displayType=P),v.children&&v.children.length>0&&K(v.children)})};Y&&Y.children&&K(Y.children)};return F(w.value),(P,Y)=>{const K=e.resolveComponent("el-radio"),U=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:P.type==="gridItem"}]),style:e.normalizeStyle(P.style),id:P.name},[e.createElementVNode("div",{class:e.normalizeClass(["card-header",{inline:P.type==="inline",mix:P.type==="mix",default:P.type==="default",gridItem:P.type==="gridItem",collapsedPadding:D.value&&P.onCollapsed}])},[e.createElementVNode("div",ix,[P.mainIcon?(e.openBlock(),e.createBlock(Ke,{key:0,class:"title-icon",size:"large",name:P.mainIcon.name,color:P.mainIcon.color},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",ox,e.toDisplayString(P.title),1),P.radioList?(e.openBlock(),e.createBlock(U,{key:1,class:"ml-9",modelValue:h.value,"onUpdate:modelValue":Y[0]||(Y[0]=L=>h.value=L),onChange:Y[1]||(Y[1]=L=>o(h.value))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.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(P.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(Ke,{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(Ke,{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",rx,[P.formSlots?(e.openBlock(),e.createElementBlock("div",ax,[e.createVNode(e.unref(Lt),{list:P.formSlots},null,8,["list"])])):e.createCommentVNode("",!0),P.typeSwitch?(e.openBlock(),e.createElementBlock("div",sx,[e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:w.value==="card"}]),onClick:Y[2]||(Y[2]=L=>F("card"))},[e.createVNode(Ke,{name:"icon-kapian"})],2),e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:w.value==="table"}]),onClick:Y[3]||(Y[3]=L=>F("table"))},[e.createVNode(Ke,{name:"icon-biaoge"})],2)])):e.createCommentVNode("",!0),P.collapsible?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["collapse-icon-wrapper",{collapsed:D.value}]),onClick:b},[e.createVNode(Ke,{name:"icon-shaixuan"})],2)):e.createCommentVNode("",!0),P.btns&&P.btns.length>0?(e.openBlock(),e.createElementBlock("div",lx,[e.createVNode(e.unref(so),{btns:P.btns||[]},null,8,["btns"])])):e.createCommentVNode("",!0)])],2),P.onCollapsed?(e.openBlock(),e.createBlock(e.unref(Lt),{key:1,list:P.children},null,8,["list"])):(e.openBlock(),e.createBlock(Q,{key:0},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Lt),{list:P.children},null,8,["list"])],512),[[e.vShow,!D.value]])]),_:1}))],14,nx)}}}),[["__scopeId","data-v-46f74023"]])},Symbol.toStringTag,{value:"Module"})),gx={key:0,class:"dropdown-icon-wrapper"},ux={key:1,class:"expansion-icon-wrapper"},dx=Object.freeze(Object.defineProperty({__proto__:null,default:le(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}=Jo(),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(Lt),{list:D.children},null,8,["list"]),D.dropdown?(e.openBlock(),e.createElementBlock("div",gx,[e.createVNode(Ke,{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",ux,[e.createVNode(Ke,{name:"icon-shuangxiangjiantou",color:o.value?"var(--el-color-primary)":"#666666",onClick:b},null,8,["color"])])):e.createCommentVNode("",!0)],6),[[e.vShow,!D.collapse]])]),_:1})],4)}}}),[["__scopeId","data-v-6e82cda4"]])},Symbol.toStringTag,{value:"Module"})),hx={class:"content"},px={class:"product-list"},Bx={class:"attribute-list"},Cx={key:0,class:"attribute-list-item"},mx={class:"product-title attribute-title"},Ex={class:"attribute-item-list"},Qx={class:"attribute-label"},Ix={class:"attribute-value"},fx=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(Hd,{data:A.data,btns:A.btns,index:A.index},null,8,["data","btns","index"])]),default:e.withCtx(()=>[e.createElementVNode("div",hx,[t[0]||(t[0]=e.createElementVNode("div",{class:"product-title"},"Product",-1)),e.createElementVNode("div",px,[(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",Bx,[(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",Cx,[e.createElementVNode("div",mx,e.toDisplayString(h.label),1),e.createElementVNode("div",Ex,[(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",Qx,e.toDisplayString(I.label),1),e.createElementVNode("div",Ix,e.toDisplayString(I.value||"--"),1)]))),128))])])):e.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),wx={key:0,class:"empty-content"},bx=Object.freeze(Object.defineProperty({__proto__:null,default:le(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:{},rowBtnsLabel:{},rowBtnsWidth:{},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 F,P;const A=n,t=e.ref(),i=e.ref([]),h=(F=A.columns.find(Y=>Y.position==="title"))==null?void 0:F.key,I=(P=A.columns.find(Y=>Y.position==="subTitle"))==null?void 0:P.key,o=A.columns.find(Y=>Y.position==="footer"),b=Y=>{const K=[];return Y.children&&Y.children.length>0&&Y.children.forEach(U=>{const v={label:U.PRODUCT_ITEM_NAME,children:[]};U.children&&U.children.length>0&&U.children.forEach(Q=>{v.children.push({label:Q.PRODUCT_ITEM_NAME,value:Q.ACTION})}),K.push(v)}),K};function D(Y){const K={},U=[];return Y.forEach(v=>{K[v.PRODUCT_ITEM_ID]={...v,children:[]}}),Y.forEach(v=>{const Q=K[v.PRODUCT_ITEM_ID],L=v.PARENT_PRODUCT_ITEM_ID;L===0||!K[L]?U.push(Q):K[L].children.push(Q)}),U}const w=e.inject(jn),S=w?w.translateFn:null;return e.watchEffect(()=>{if(A.data){const Y=D(A.data);t.value=Y.map(K=>{const U={content:[]};return h&&(U.title=S?S(h,K):K[h],U.titleColor="var(--el-color-primary)"),I&&(U.subTitle=S?S(I,K):K[I]),o&&(U.footer={icon:o.footerIcon||"icon-tishi",text:`${o.label}: ${S?S(o.key,K):K[o.key]}`}),K.children&&(U.product=b(K)),A.columns.forEach(v=>{v.position==="content"&&U.content.push({label:v.label,value:S?S(v.key,K):K[v.key]})}),U})}}),e.onMounted(()=>{var Y;i.value=(Y=A.rowBtns)==null?void 0:Y.map(K=>({icon:K.icon&&K.icon.name?K.icon.name:"icon-tishi",label:K.label,onClick:K.onClick}))}),(Y,K)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"card-list",style:e.normalizeStyle({"--columns":Y.gridColumns,"--gap":Y.gap+"px"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,(U,v)=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item",key:v},[e.createVNode(fx,{data:U,btns:i.value,index:v},null,8,["data","btns","index"])]))),128))],4),!Y.data||Y.data.length===0?(e.openBlock(),e.createElementBlock("div",wx,[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-43ded0ba"]])},Symbol.toStringTag,{value:"Module"})),Dx={class:"progress"},yx={class:"timeline-content"},vx={class:"timeline-content__title"},kx={key:0,class:"empty-content"},_x=Object.freeze(Object.defineProperty({__proto__:null,default:le(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",Dx,[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(Ke,{name:I.iconName,size:"large"},null,8,["name"])]),default:e.withCtx(()=>[e.createElementVNode("div",yx,[e.createElementVNode("div",vx,[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",kx,[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"})),Mx={class:"log-list"},xx={class:"title-part"},Sx={class:"title"},Fx={class:"sub-title"},Nx={class:"content"},Rx={key:0},Lx=Object.freeze(Object.defineProperty({__proto__:null,default:le(e.defineComponent({__name:"LogList",props:{content:{}},setup(n){return(A,t)=>(e.openBlock(),e.createElementBlock("div",Mx,[(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",xx,[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",Sx,e.toDisplayString(i.title),1),e.createElementVNode("div",Fx,e.toDisplayString(i.subTitle),1)]),e.createElementVNode("div",Nx,[(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",Rx," ")):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=ag,wt.TableRender=rg,wt.default=k8,wt.useFormInstance=yt,wt.useRuleContext=Jo,Object.defineProperties(wt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|